chore: change EOAPI to Eoapi

This commit is contained in:
秦圆圆 2022-03-10 13:08:25 +08:00
parent 266022177f
commit 603be843f9
20 changed files with 666 additions and 675 deletions

View File

@ -88,4 +88,4 @@ npm install -g @angular/cli
# 联系我们
如果你想联系我们,可以通过创建一个 [Github issue](https://github.com/eolinker/eoapi/issues) 向我们反馈 Bug、提供产品意见,十分感谢!
如果想要反馈 Bug、提供产品意见可以创建一个 [Github issue](https://github.com/eolinker/eoapi/issues) 联系我们,十分感谢!

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "eoapi",
"version": "0.0.3-beta",
"version": "0.0.1-beta",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "eoapi",
"version": "0.0.3-beta",
"version": "0.0.1-beta",
"main": "main.js",
"private": true,
"scripts": {

View File

@ -1,6 +1,6 @@
/**
* @name 返回通用方法
* @author EOAPI
* @author Eoapi
*/
let _LIB_WORKER_THREAD = require('./exec_worker_thread');
let CryptoJS = require('crypto-js');

View File

@ -2,7 +2,7 @@
'use strict';
/**
* @name 信息构造器类
* @author EOAPI
* @author Eoapi
*/
class main {
constructor() {

View File

@ -801,7 +801,7 @@ BufferMock.allocUnsafeSlow = function allocUnsafeSlow(size) {
};
/**
* start
* @author EOAPI
* @author Eoapi
* @desc Buffer默认取原始的Buffer不做安全过滤不能随意更改会导致脚本步骤crypto执行错误
*/
const LocalBuffer = global.Buffer = Contextify.readonly(host.Buffer, BufferMock);

View File

@ -1,6 +1,5 @@
{
"asar": true,
"artifactName":"${productName}.${ext}",
"directories": {
"output": "release/"
},

1278
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8" />
<title>EOAPI</title>
<title>Eoapi</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="assets/icons/icon.ico" />

View File

@ -5,7 +5,7 @@
* 3能够通过上下箭头控制下拉菜单选中项
*/
/**
* @author EOAPI
* @author Eoapi
* @description 自动补全控件
* @extends {string} placeholder 内置输入框placeholder内容[optional]
* @extends {array} array 预设列表

View File

@ -1,5 +1,5 @@
/**
* @author EOAPI
* @author Eoapi
* @description 默认列表组件
* @extend {object} authorityObject 权限类{operate}
* @extend {object} mainObject 主类{setting:{colspan,warning},item:{default,fun}}

View File

@ -1,5 +1,5 @@
/**
* @author EOAPI
* @author Eoapi
* @description 默认下拉菜单
*/

View File

@ -1,5 +1,5 @@
/**
* @author EOAPI
* @author Eoapi
* @description 排序和筛选
*/
angular.module('eolinker').component('sortAndFilterListDefaultComponent', {

View File

@ -1,6 +1,6 @@
/**
* @description 手动控制按钮focus状态使用与mac os 非chrome浏览器
* @author EOAPI
* @author Eoapi
*/
angular
.module('eolinker.directive')

View File

@ -1,5 +1,5 @@
/*
* authorEOAPI
* authorEoapi
* 注入HTML指令js
* @require {string} html 所需注入的代码
* @param {string} status 注入代码类型默认绑定angular元素若关闭状态为unbind-angular

View File

@ -1,6 +1,6 @@
'use strict';
/* 参考文档https://github.com/kamilkp/angular-sortable-view
*改进者EOAPI
*改进者Eoapi
*/
const $watch = [];
angular

View File

@ -10673,7 +10673,7 @@ date-picker-common-component .uib-datepicker {
/**
* @name 侧边栏
* @author EOAPI
* @author Eoapi
*/
sidebar-common-component .circle_tip_scc {
left: 30px;

View File

@ -98,7 +98,7 @@
*/
/**
* @description 解析语言HTML
* @author EOAPI
* @author Eoapi
* @param {string} inputHtml 待解析数据
* @return {string} 语言解析后内容
*/
@ -126,7 +126,7 @@
function minErr(module, ErrorConstructor) {
ErrorConstructor = ErrorConstructor || Error;
var url="https://www.eolinker.com"; //EOAPI 源码var url = 'https://errors.angularjs.org/1.8.2/';
var url="https://www.eolinker.com"; //Eoapi 源码var url = 'https://errors.angularjs.org/1.8.2/';
var regex = url.replace('.', '\\.') + '[\\s\\S]*';
var errRegExp = new RegExp(regex, 'g');
@ -668,7 +668,7 @@
}
function hasCustomToString(obj) {
//EOAPI,处理 object 没有正常转换 bug
//Eoapi,处理 object 没有正常转换 bug
return isFunction(obj.toString) && obj.toString !== toString&&obj.toString()!=="[object Object]";//自定义
//源码return isFunction(obj.toString) && obj.toString !== toString;
//end
@ -3059,7 +3059,7 @@
}
])
.info({
//EOAPI 源码angularVersion: '1.8.2';
//Eoapi 源码angularVersion: '1.8.2';
});
}
@ -7231,7 +7231,7 @@
refresh(lruEntry);
}
return eoFnParseConf(data[key]); //EOAPI将return data[key]改为return eoFnParseConf(data[key])
return eoFnParseConf(data[key]); //Eoapi将return data[key]改为return eoFnParseConf(data[key])
},
@ -9106,7 +9106,7 @@
var template = (!options.template && !options.templateUrl ? '' : options.template);
/**
* @description 占位待处理语言html数据template
* @author EOAPI
* @author Eoapi
*/
var ddo = {
controller: controller,
@ -9950,7 +9950,7 @@
}
/**
* @desc 加入默认class便于后续删除
* @author EOAPI
* @author Eoapi
*/
// if(!$linkNode.hasClass("eoui_view"))$linkNode.addClass("eoscope_"+scope.$id)
/**--end-- */
@ -11138,7 +11138,7 @@
var compileNode, tempTemplateAttrs, $template, childBoundTranscludeFn;
/**
* @description 占位待处理语言html数据templateUrl
* @author EOAPI
* @author Eoapi
*/
if (window.eoLang) {
content = denormalizeTemplate(eoFunParseLang(content));
@ -18995,7 +18995,7 @@
}
/**
* @desc 自动自循环去清理节点
* @author EOAPI
* @author Eoapi
*/
function cleanUpScope($scope) {
// Support: IE 9 only
@ -19012,7 +19012,7 @@
// }
$scope = $scope.$parent = $scope.$$nextSibling = $scope.$$prevSibling = $scope.$$childHead = $scope.$$childTail = $scope.$root = $scope.$$watchers = null;
}
/**--start old--- EOAPI
/**--start old--- Eoapi
* function cleanUpScope($scope) {
*
* // Support: IE 9 only
@ -19040,7 +19040,7 @@
* $scope.$parent = $scope.$$nextSibling = $scope.$$prevSibling = $scope.$$childHead =
* $scope.$$childTail = $scope.$root = $scope.$$watchers = null;
*}
*---end EOAPI
*---end Eoapi
*/
/**
@ -23672,7 +23672,7 @@
fn, match;
format = format || 'mediumDate';
//EOAPI--start
//Eoapi--start
var tmpLangTarget = {
en: "DATETIME_FORMATS",
cn: "DATETIME_FORMATS_CN"
@ -33080,7 +33080,7 @@
// if object, extract keys, in enumeration order, unsorted
optionValuesKeys = [];
for (var itemKey in optionValues) {
//@desc EOAPI,去除&& itemKey.charAt(0) !== '$'判断
//@desc Eoapi,去除&& itemKey.charAt(0) !== '$'判断
if (optionValues.hasOwnProperty(itemKey)) {
optionValuesKeys.push(itemKey);
}
@ -34573,7 +34573,7 @@
// if object, extract keys, in enumeration order, unsorted
collectionKeys = [];
for (var itemKey in collection) {
//@desc EOAPI,去除&& itemKey.charAt(0) !== '$'判断
//@desc Eoapi,去除&& itemKey.charAt(0) !== '$'判断
if (hasOwnProperty.call(collection, itemKey)) {
collectionKeys.push(itemKey);
}

View File

@ -1,5 +1,5 @@
/*
* authorEOAPI
* authorEoapi
* 分组相关服务js
*/
angular.module('eolinker')

View File

@ -1,5 +1,5 @@
/**
* @author EOAPI
* @author Eoapi
* @description 分组操作服务
* @required Group_MultistageService
*/