mirror of
https://gitee.com/eolink_admin/postcat.git
synced 2024-11-30 02:37:57 +08:00
chore: change EOAPI to Eoapi
This commit is contained in:
parent
266022177f
commit
603be843f9
@ -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
2
app/package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eoapi",
|
||||
"version": "0.0.3-beta",
|
||||
"version": "0.0.1-beta",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "eoapi",
|
||||
"version": "0.0.3-beta",
|
||||
"version": "0.0.1-beta",
|
||||
"main": "main.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @name 返回通用方法
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
*/
|
||||
let _LIB_WORKER_THREAD = require('./exec_worker_thread');
|
||||
let CryptoJS = require('crypto-js');
|
||||
|
@ -2,7 +2,7 @@
|
||||
'use strict';
|
||||
/**
|
||||
* @name 信息构造器类
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
*/
|
||||
class main {
|
||||
constructor() {
|
||||
|
@ -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);
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"asar": true,
|
||||
"artifactName":"${productName}.${ext}",
|
||||
"directories": {
|
||||
"output": "release/"
|
||||
},
|
||||
|
1278
package-lock.json
generated
1278
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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" />
|
||||
|
@ -5,7 +5,7 @@
|
||||
* (3)能够通过上下箭头控制下拉菜单选中项
|
||||
*/
|
||||
/**
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
* @description 自动补全控件
|
||||
* @extends {string} placeholder 内置输入框placeholder内容[optional]
|
||||
* @extends {array} array 预设列表
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
* @description 默认列表组件
|
||||
* @extend {object} authorityObject 权限类{operate}
|
||||
* @extend {object} mainObject 主类{setting:{colspan,warning},item:{default,fun}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
* @description 默认下拉菜单
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
* @description 排序和筛选
|
||||
*/
|
||||
angular.module('eolinker').component('sortAndFilterListDefaultComponent', {
|
||||
|
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @description 手动控制按钮focus状态,使用与mac os 非chrome浏览器
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
*/
|
||||
angular
|
||||
.module('eolinker.directive')
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* author:EOAPI
|
||||
* author:Eoapi
|
||||
* 注入HTML指令js
|
||||
* @require {string} html 所需注入的代码
|
||||
* @param {string} status 注入代码类型,默认绑定angular元素,若关闭状态为unbind-angular
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
/* 参考文档:https://github.com/kamilkp/angular-sortable-view
|
||||
*改进者:EOAPI
|
||||
*改进者:Eoapi
|
||||
*/
|
||||
const $watch = [];
|
||||
angular
|
||||
|
@ -10673,7 +10673,7 @@ date-picker-common-component .uib-datepicker {
|
||||
|
||||
/**
|
||||
* @name 侧边栏
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
*/
|
||||
sidebar-common-component .circle_tip_scc {
|
||||
left: 30px;
|
||||
|
28
src/ng1/lib/angular/angular.js
vendored
28
src/ng1/lib/angular/angular.js
vendored
@ -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);
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* author:EOAPI
|
||||
* author:Eoapi
|
||||
* 分组相关服务js
|
||||
*/
|
||||
angular.module('eolinker')
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @author EOAPI
|
||||
* @author Eoapi
|
||||
* @description 分组操作服务
|
||||
* @required Group_MultistageService
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user