openatc-components 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +18 -18
- package/.editorconfig +9 -9
- package/.eslintignore +5 -5
- package/.eslintrc.js +29 -29
- package/.postcssrc.js +10 -10
- package/README.md +30 -30
- package/build/build.js +41 -41
- package/build/check-versions.js +54 -54
- package/build/package.config.js +58 -58
- package/build/package.dev.config.js +25 -25
- package/build/package.prod.config.js +60 -60
- package/build/utils.js +101 -101
- package/build/vue-loader.conf.js +22 -22
- package/build/webpack.base.conf.js +109 -109
- package/build/webpack.dev.conf.js +95 -95
- package/build/webpack.prod.conf.js +149 -149
- package/config/dev.env.js +7 -7
- package/config/index.js +76 -76
- package/config/prod.env.js +4 -4
- package/config/test.env.js +7 -7
- package/index.html +12 -12
- package/package/kisscomps/components/CircleMenu/KissCircleMenu.vue +398 -398
- package/package/kisscomps/components/CircleMenu/index.js +2 -2
- package/package/kisscomps/components/DashBoard/MakeGradientColor.js +84 -84
- package/package/kisscomps/components/DashBoard/dashboard.js +471 -471
- package/package/kisscomps/components/DashBoard/dashboard.vue +57 -57
- package/package/kisscomps/components/DashBoard/index.js +2 -2
- package/package/kisscomps/components/Horizontal/KissHorizontal.vue +146 -146
- package/package/kisscomps/components/Horizontal/index.js +2 -2
- package/package/kisscomps/components/HorizontalChildren/KissHorizontalChildren.vue +196 -196
- package/package/kisscomps/components/HorizontalChildren/index.js +2 -2
- package/package/kisscomps/components/KissCircleMenu/CircleMenu.vue +113 -113
- package/package/kisscomps/components/KissCircleMenu/index.js +2 -2
- package/package/kisscomps/components/KissCircleMenu/style/index.less +1 -1
- package/package/kisscomps/components/KissCircleMenu/style/main/core.less +161 -161
- package/package/kisscomps/components/KissCircleMenu/style/main/other.less +94 -94
- package/package/kisscomps/components/KissCircleMenu/style/mixin/mixin.less +36 -36
- package/package/kisscomps/components/KissCircleMenu/style/var/var.less +21 -21
- package/package/kisscomps/components/KissCircleMenu/utils/colorRE.js +5 -5
- package/package/kisscomps/components/KissMessageBox/KissMessageBox.vue +108 -108
- package/package/kisscomps/components/KissMessageBox/index.js +2 -2
- package/package/kisscomps/components/KissSearchInput/index.js +2 -2
- package/package/kisscomps/components/KissSearchInput/kisssearchinput.vue +77 -77
- package/package/kisscomps/components/KissSimulationProgress/KissSimulationProgress.vue +294 -294
- package/package/kisscomps/components/KissSimulationProgress/index.js +2 -2
- package/package/kisscomps/components/StatusBar/StatusBar.vue +222 -222
- package/package/kisscomps/components/StatusBar/index.js +2 -2
- package/package/kisscomps/components/TragResize/index.js +2 -2
- package/package/kisscomps/components/TragResize/kissdragresize.vue +536 -536
- package/package/kisscomps/components/TragResize/util/dom.js +23 -23
- package/package/kisscomps/components/TragResize/util/fns.js +3 -3
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.1.vue +320 -320
- package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +345 -345
- package/package/kisscomps/components/XRDDirSelector/index.js +2 -2
- package/package/kisscomps/components/button/index.js +2 -2
- package/package/kisscomps/components/button/kissbutton.vue +168 -168
- package/package/kisscomps/components/compass3D/compass.vue +180 -180
- package/package/kisscomps/components/compass3D/index.js +2 -2
- package/package/kisscomps/components/header/index.js +2 -2
- package/package/kisscomps/components/header/kissHead.vue +83 -83
- package/package/kisscomps/components/horizontalMenu/index.js +2 -2
- package/package/kisscomps/components/horizontalMenu/kissHorizontalMenu.vue +254 -254
- package/package/kisscomps/components/input/index.js +2 -2
- package/package/kisscomps/components/input/kissinput.vue +57 -57
- package/package/kisscomps/components/menu/index.js +2 -2
- package/package/kisscomps/components/menu/kissmenu.vue +324 -324
- package/package/kisscomps/components/mutipletips/Tdrag.js +585 -585
- package/package/kisscomps/components/mutipletips/index.js +2 -2
- package/package/kisscomps/components/mutipletips/kissmutipletips.vue +192 -192
- package/package/kisscomps/components/panel/index.js +2 -2
- package/package/kisscomps/components/panel/kissPanel.vue +151 -151
- package/package/kisscomps/components/select/chosen.jquery.min.js +3 -3
- package/package/kisscomps/components/select/index.js +2 -2
- package/package/kisscomps/components/select/kissselect.vue +527 -527
- package/package/kisscomps/components/tablebutton/index.js +2 -2
- package/package/kisscomps/components/tablebutton/tablebutton.vue +97 -97
- package/package/kisscomps/components/timectrl/KissTimeCtrl.vue +67 -67
- package/package/kisscomps/components/timectrl/index.js +2 -2
- package/package/kisscomps/components/timectrl/timectrl.css +851 -851
- package/package/kisscomps/components/tip/Tdrag.js +585 -585
- package/package/kisscomps/components/tip/index.js +2 -2
- package/package/kisscomps/components/tip/kisstips.1.vue +154 -154
- package/package/kisscomps/components/tip/kisstips.vue +154 -154
- package/package/kisscomps/components/tip/kisstips.vue.bak +211 -211
- package/package/kisscomps/index.js +71 -71
- package/package/kissui.js +203 -203
- package/package/kissui.min.js +203 -203
- package/package.json +1 -1
- package/src/App.vue +25 -25
- package/src/kisscomps/components/CircleMenu/KissCircleMenu.vue +398 -398
- package/src/kisscomps/components/CircleMenu/index.js +2 -2
- package/src/kisscomps/components/DashBoard/MakeGradientColor.js +84 -84
- package/src/kisscomps/components/DashBoard/dashboard.js +471 -471
- package/src/kisscomps/components/DashBoard/dashboard.vue +57 -57
- package/src/kisscomps/components/DashBoard/index.js +2 -2
- package/src/kisscomps/components/KissCircleMenu/CircleMenu.vue +113 -113
- package/src/kisscomps/components/KissCircleMenu/index.js +2 -2
- package/src/kisscomps/components/KissCircleMenu/style/index.less +1 -1
- package/src/kisscomps/components/KissCircleMenu/style/main/core.less +161 -161
- package/src/kisscomps/components/KissCircleMenu/style/main/other.less +94 -94
- package/src/kisscomps/components/KissCircleMenu/style/mixin/mixin.less +36 -36
- package/src/kisscomps/components/KissCircleMenu/style/var/var.less +21 -21
- package/src/kisscomps/components/KissCircleMenu/utils/colorRE.js +5 -5
- package/src/kisscomps/components/KissSearchInput/index.js +2 -2
- package/src/kisscomps/components/KissSearchInput/kisssearchinput.vue +77 -77
- package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +193 -0
- package/src/kisscomps/components/SchemeConfig/index.js +2 -0
- package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +214 -0
- package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +176 -0
- package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +294 -0
- package/src/kisscomps/components/SchemeConfig/schemeconfig.vue +711 -0
- package/src/kisscomps/components/StatusBar/StatusBar.vue +222 -222
- package/src/kisscomps/components/StatusBar/index.js +2 -2
- package/src/kisscomps/components/TragResize/index.js +2 -2
- package/src/kisscomps/components/TragResize/kissdragresize.vue +536 -536
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.1.vue +320 -320
- package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +345 -345
- package/src/kisscomps/components/XRDDirSelector/index.js +2 -2
- package/src/kisscomps/components/button/index.js +2 -2
- package/src/kisscomps/components/button/kissbutton.vue +168 -168
- package/src/kisscomps/components/compass3D/compass.vue +180 -180
- package/src/kisscomps/components/compass3D/index.js +2 -2
- package/src/kisscomps/components/horizontalMenu/index.js +2 -2
- package/src/kisscomps/components/horizontalMenu/kissHorizontalMenu.vue +254 -254
- package/src/kisscomps/components/input/index.js +2 -2
- package/src/kisscomps/components/input/kissinput.vue +57 -57
- package/src/kisscomps/components/menu/index.js +2 -2
- package/src/kisscomps/components/menu/kissmenu.vue +324 -324
- package/src/kisscomps/components/mutipletips/Tdrag.js +585 -585
- package/src/kisscomps/components/mutipletips/index.js +2 -2
- package/src/kisscomps/components/mutipletips/kissmutipletips.vue +192 -192
- package/src/kisscomps/components/select/chosen.jquery.min.js +3 -3
- package/src/kisscomps/components/select/index.js +2 -2
- package/src/kisscomps/components/select/kissselect.vue +527 -527
- package/src/kisscomps/components/timectrl/KissTimeCtrl.vue +67 -67
- package/src/kisscomps/components/timectrl/index.js +2 -2
- package/src/kisscomps/components/tip/Tdrag.js +585 -585
- package/src/kisscomps/components/tip/index.js +2 -2
- package/src/kisscomps/components/tip/kisstips.1.vue +154 -154
- package/src/kisscomps/components/tip/kisstips.vue +154 -154
- package/src/kisscomps/components/tip/kisstips.vue.bak +211 -211
- package/src/kisscomps/index.js +73 -71
- package/src/main.js +23 -23
- package/src/router/index.js +15 -15
- package/src/views/home.1.vue +479 -479
- package/src/views/home.vue +196 -196
- package/test/e2e/custom-assertions/elementCount.js +27 -27
- package/test/e2e/nightwatch.conf.js +46 -46
- package/test/e2e/runner.js +48 -48
- package/test/e2e/specs/test.js +19 -19
- package/test/unit/.eslintrc +7 -7
- package/test/unit/jest.conf.js +30 -30
- package/test/unit/setup.js +3 -3
- package/test/unit/specs/HelloWorld.spec.js +11 -11
package/package/kissui.js
CHANGED
|
@@ -6651,55 +6651,55 @@ exports.RETURN = RETURN;
|
|
|
6651
6651
|
/* 26 */
|
|
6652
6652
|
/***/ (function(module, exports) {
|
|
6653
6653
|
|
|
6654
|
-
module.exports = function(module) {
|
|
6655
|
-
if(!module.webpackPolyfill) {
|
|
6656
|
-
module.deprecate = function() {};
|
|
6657
|
-
module.paths = [];
|
|
6658
|
-
// module.parent = undefined by default
|
|
6659
|
-
if(!module.children) module.children = [];
|
|
6660
|
-
Object.defineProperty(module, "loaded", {
|
|
6661
|
-
enumerable: true,
|
|
6662
|
-
get: function() {
|
|
6663
|
-
return module.l;
|
|
6664
|
-
}
|
|
6665
|
-
});
|
|
6666
|
-
Object.defineProperty(module, "id", {
|
|
6667
|
-
enumerable: true,
|
|
6668
|
-
get: function() {
|
|
6669
|
-
return module.i;
|
|
6670
|
-
}
|
|
6671
|
-
});
|
|
6672
|
-
module.webpackPolyfill = 1;
|
|
6673
|
-
}
|
|
6674
|
-
return module;
|
|
6675
|
-
};
|
|
6654
|
+
module.exports = function(module) {
|
|
6655
|
+
if(!module.webpackPolyfill) {
|
|
6656
|
+
module.deprecate = function() {};
|
|
6657
|
+
module.paths = [];
|
|
6658
|
+
// module.parent = undefined by default
|
|
6659
|
+
if(!module.children) module.children = [];
|
|
6660
|
+
Object.defineProperty(module, "loaded", {
|
|
6661
|
+
enumerable: true,
|
|
6662
|
+
get: function() {
|
|
6663
|
+
return module.l;
|
|
6664
|
+
}
|
|
6665
|
+
});
|
|
6666
|
+
Object.defineProperty(module, "id", {
|
|
6667
|
+
enumerable: true,
|
|
6668
|
+
get: function() {
|
|
6669
|
+
return module.i;
|
|
6670
|
+
}
|
|
6671
|
+
});
|
|
6672
|
+
module.webpackPolyfill = 1;
|
|
6673
|
+
}
|
|
6674
|
+
return module;
|
|
6675
|
+
};
|
|
6676
6676
|
|
|
6677
6677
|
|
|
6678
6678
|
/***/ }),
|
|
6679
6679
|
/* 27 */
|
|
6680
6680
|
/***/ (function(module, exports) {
|
|
6681
6681
|
|
|
6682
|
-
var g;
|
|
6683
|
-
|
|
6684
|
-
// This works in non-strict mode
|
|
6685
|
-
g = (function() {
|
|
6686
|
-
return this;
|
|
6687
|
-
})();
|
|
6688
|
-
|
|
6689
|
-
try {
|
|
6690
|
-
// This works if eval is allowed (see CSP)
|
|
6691
|
-
g = g || Function("return this")() || (1,eval)("this");
|
|
6692
|
-
} catch(e) {
|
|
6693
|
-
// This works if the window reference is available
|
|
6694
|
-
if(typeof window === "object")
|
|
6695
|
-
g = window;
|
|
6696
|
-
}
|
|
6697
|
-
|
|
6698
|
-
// g can still be undefined, but nothing to do about it...
|
|
6699
|
-
// We return undefined, instead of nothing here, so it's
|
|
6700
|
-
// easier to handle this case. if(!global) { ...}
|
|
6701
|
-
|
|
6702
|
-
module.exports = g;
|
|
6682
|
+
var g;
|
|
6683
|
+
|
|
6684
|
+
// This works in non-strict mode
|
|
6685
|
+
g = (function() {
|
|
6686
|
+
return this;
|
|
6687
|
+
})();
|
|
6688
|
+
|
|
6689
|
+
try {
|
|
6690
|
+
// This works if eval is allowed (see CSP)
|
|
6691
|
+
g = g || Function("return this")() || (1,eval)("this");
|
|
6692
|
+
} catch(e) {
|
|
6693
|
+
// This works if the window reference is available
|
|
6694
|
+
if(typeof window === "object")
|
|
6695
|
+
g = window;
|
|
6696
|
+
}
|
|
6697
|
+
|
|
6698
|
+
// g can still be undefined, but nothing to do about it...
|
|
6699
|
+
// We return undefined, instead of nothing here, so it's
|
|
6700
|
+
// easier to handle this case. if(!global) { ...}
|
|
6701
|
+
|
|
6702
|
+
module.exports = g;
|
|
6703
6703
|
|
|
6704
6704
|
|
|
6705
6705
|
/***/ }),
|
|
@@ -39365,15 +39365,15 @@ if (false) {(function () {
|
|
|
39365
39365
|
type: Number,
|
|
39366
39366
|
default: 100
|
|
39367
39367
|
},
|
|
39368
|
-
/**
|
|
39369
|
-
* 说明:等分模式: 只需要传入五个等级的总数,和每个等级的颜色
|
|
39370
|
-
* 自定义模式:不需要传入总数值,但是需要在LevelsInfo的对象中指出范围例如
|
|
39371
|
-
* [{
|
|
39372
|
-
* level: 1,
|
|
39373
|
-
* levelname: '',
|
|
39374
|
-
* Upperlimit: Number,
|
|
39375
|
-
* Lowerlimit: Number,
|
|
39376
|
-
* }]
|
|
39368
|
+
/**
|
|
39369
|
+
* 说明:等分模式: 只需要传入五个等级的总数,和每个等级的颜色
|
|
39370
|
+
* 自定义模式:不需要传入总数值,但是需要在LevelsInfo的对象中指出范围例如
|
|
39371
|
+
* [{
|
|
39372
|
+
* level: 1,
|
|
39373
|
+
* levelname: '',
|
|
39374
|
+
* Upperlimit: Number,
|
|
39375
|
+
* Lowerlimit: Number,
|
|
39376
|
+
* }]
|
|
39377
39377
|
*/
|
|
39378
39378
|
Model: {
|
|
39379
39379
|
type: String,
|
|
@@ -39738,11 +39738,11 @@ function colorHex(rgb) {
|
|
|
39738
39738
|
|
|
39739
39739
|
|
|
39740
39740
|
|
|
39741
|
-
/**
|
|
39742
|
-
* @Description: 这个类封装了仪表盘
|
|
39743
|
-
* @Author: chengcheng
|
|
39744
|
-
* @Date: Create in 10:26 2019/04/03
|
|
39745
|
-
* @Modified By:
|
|
39741
|
+
/**
|
|
39742
|
+
* @Description: 这个类封装了仪表盘
|
|
39743
|
+
* @Author: chengcheng
|
|
39744
|
+
* @Date: Create in 10:26 2019/04/03
|
|
39745
|
+
* @Modified By:
|
|
39746
39746
|
*/
|
|
39747
39747
|
|
|
39748
39748
|
var PIDEG = Math.PI / 180;
|
|
@@ -39837,8 +39837,8 @@ var dashboard_DashBoard = function () {
|
|
|
39837
39837
|
this.InitCanvas();
|
|
39838
39838
|
}
|
|
39839
39839
|
|
|
39840
|
-
/**
|
|
39841
|
-
* 初始化绘图环境
|
|
39840
|
+
/**
|
|
39841
|
+
* 初始化绘图环境
|
|
39842
39842
|
*/
|
|
39843
39843
|
|
|
39844
39844
|
|
|
@@ -39874,8 +39874,8 @@ var dashboard_DashBoard = function () {
|
|
|
39874
39874
|
value: function getRotationDeg() {
|
|
39875
39875
|
return this.m_default_option.total_degrees / (this.m_default_option.total_tick - 1) * PIDEG;
|
|
39876
39876
|
}
|
|
39877
|
-
/**
|
|
39878
|
-
* 准备舞台, 绘制背景和中间数值
|
|
39877
|
+
/**
|
|
39878
|
+
* 准备舞台, 绘制背景和中间数值
|
|
39879
39879
|
*/
|
|
39880
39880
|
|
|
39881
39881
|
}, {
|
|
@@ -39895,13 +39895,13 @@ var dashboard_DashBoard = function () {
|
|
|
39895
39895
|
this.drawContent();
|
|
39896
39896
|
}
|
|
39897
39897
|
|
|
39898
|
-
/**
|
|
39899
|
-
* 绘制弧度
|
|
39900
|
-
* @param {*} r 半径
|
|
39901
|
-
* @param {*} start 开始角度
|
|
39902
|
-
* @param {*} end 结束角度
|
|
39903
|
-
* @param {*} w 弧宽度
|
|
39904
|
-
* @param {*} colorStyle 圆环颜色 支持渐变
|
|
39898
|
+
/**
|
|
39899
|
+
* 绘制弧度
|
|
39900
|
+
* @param {*} r 半径
|
|
39901
|
+
* @param {*} start 开始角度
|
|
39902
|
+
* @param {*} end 结束角度
|
|
39903
|
+
* @param {*} w 弧宽度
|
|
39904
|
+
* @param {*} colorStyle 圆环颜色 支持渐变
|
|
39905
39905
|
*/
|
|
39906
39906
|
|
|
39907
39907
|
}, {
|
|
@@ -39983,10 +39983,10 @@ var dashboard_DashBoard = function () {
|
|
|
39983
39983
|
}
|
|
39984
39984
|
saveContext.restore();
|
|
39985
39985
|
}
|
|
39986
|
-
/**
|
|
39987
|
-
* 绘制刻度帧数, 刻度长度 和 第几个数字
|
|
39988
|
-
* @param {*} tickLength
|
|
39989
|
-
* @param {*} tickIndex
|
|
39986
|
+
/**
|
|
39987
|
+
* 绘制刻度帧数, 刻度长度 和 第几个数字
|
|
39988
|
+
* @param {*} tickLength
|
|
39989
|
+
* @param {*} tickIndex
|
|
39990
39990
|
*/
|
|
39991
39991
|
|
|
39992
39992
|
}, {
|
|
@@ -40004,8 +40004,8 @@ var dashboard_DashBoard = function () {
|
|
|
40004
40004
|
saveContext.fillText(text, 0, this.m_default_option.tickmask_offset);
|
|
40005
40005
|
saveContext.restore();
|
|
40006
40006
|
}
|
|
40007
|
-
/**
|
|
40008
|
-
* 应用背景
|
|
40007
|
+
/**
|
|
40008
|
+
* 应用背景
|
|
40009
40009
|
*/
|
|
40010
40010
|
|
|
40011
40011
|
}, {
|
|
@@ -40018,10 +40018,10 @@ var dashboard_DashBoard = function () {
|
|
|
40018
40018
|
saveContext.fillRect(0, 0, saveCanvas.width, saveCanvas.height); // 绘制“被填充”的矩形
|
|
40019
40019
|
saveContext.restore(); // 返回之前保存过的路径状态和属性
|
|
40020
40020
|
}
|
|
40021
|
-
/**
|
|
40022
|
-
* 绘制提示圆点
|
|
40023
|
-
* @param {*} beginX
|
|
40024
|
-
* @param {*} beginY
|
|
40021
|
+
/**
|
|
40022
|
+
* 绘制提示圆点
|
|
40023
|
+
* @param {*} beginX
|
|
40024
|
+
* @param {*} beginY
|
|
40025
40025
|
*/
|
|
40026
40026
|
|
|
40027
40027
|
}, {
|
|
@@ -40032,22 +40032,22 @@ var dashboard_DashBoard = function () {
|
|
|
40032
40032
|
saveContext.fillStyle = this.m_percent > 0.01 ? this.m_default_option.cur_score_circle_color : this.m_default_option.tick_color;
|
|
40033
40033
|
saveContext.rotate(this.m_percent * this.m_default_option.total_degrees / 100 * PIDEG);
|
|
40034
40034
|
saveContext.beginPath();
|
|
40035
|
-
/**
|
|
40036
|
-
* arc方法用来绘制圆
|
|
40037
|
-
* 参数1 圆心的x坐标
|
|
40038
|
-
* 参数2 圆心的y坐标
|
|
40039
|
-
* 参数3 圆的半径
|
|
40040
|
-
* 参数4 起始角 弧度单位
|
|
40041
|
-
* 参数5 结束角 弧度
|
|
40042
|
-
* 参数6 False = 顺时针 True = 逆时针
|
|
40035
|
+
/**
|
|
40036
|
+
* arc方法用来绘制圆
|
|
40037
|
+
* 参数1 圆心的x坐标
|
|
40038
|
+
* 参数2 圆心的y坐标
|
|
40039
|
+
* 参数3 圆的半径
|
|
40040
|
+
* 参数4 起始角 弧度单位
|
|
40041
|
+
* 参数5 结束角 弧度
|
|
40042
|
+
* 参数6 False = 顺时针 True = 逆时针
|
|
40043
40043
|
*/
|
|
40044
40044
|
saveContext.arc(-beginX, -beginY, this.m_default_option.circle_radius, 0, Math.PI * 2, true);
|
|
40045
40045
|
saveContext.closePath();
|
|
40046
40046
|
saveContext.fill();
|
|
40047
40047
|
saveContext.restore();
|
|
40048
40048
|
}
|
|
40049
|
-
/**
|
|
40050
|
-
* 样式一 bar样式
|
|
40049
|
+
/**
|
|
40050
|
+
* 样式一 bar样式
|
|
40051
40051
|
*/
|
|
40052
40052
|
|
|
40053
40053
|
}, {
|
|
@@ -40074,8 +40074,8 @@ var dashboard_DashBoard = function () {
|
|
|
40074
40074
|
this.drawDonuts(this.m_default_option.bar_radius, startAngle, curendAngle, this.m_default_option.bar_w, ring);
|
|
40075
40075
|
}
|
|
40076
40076
|
|
|
40077
|
-
/**
|
|
40078
|
-
* 绘制刻度盘的样式
|
|
40077
|
+
/**
|
|
40078
|
+
* 绘制刻度盘的样式
|
|
40079
40079
|
*/
|
|
40080
40080
|
|
|
40081
40081
|
}, {
|
|
@@ -40113,9 +40113,9 @@ var dashboard_DashBoard = function () {
|
|
|
40113
40113
|
}
|
|
40114
40114
|
}
|
|
40115
40115
|
|
|
40116
|
-
/**
|
|
40117
|
-
* @param {*} currentNum
|
|
40118
|
-
* 判断当前最大刻度
|
|
40116
|
+
/**
|
|
40117
|
+
* @param {*} currentNum
|
|
40118
|
+
* 判断当前最大刻度
|
|
40119
40119
|
*/
|
|
40120
40120
|
|
|
40121
40121
|
}, {
|
|
@@ -40127,10 +40127,10 @@ var dashboard_DashBoard = function () {
|
|
|
40127
40127
|
key: 'getTickColor',
|
|
40128
40128
|
|
|
40129
40129
|
|
|
40130
|
-
/**
|
|
40131
|
-
* 获取刻度颜色
|
|
40132
|
-
* @param {*} isOn
|
|
40133
|
-
* @param {*} index
|
|
40130
|
+
/**
|
|
40131
|
+
* 获取刻度颜色
|
|
40132
|
+
* @param {*} isOn
|
|
40133
|
+
* @param {*} index
|
|
40134
40134
|
*/
|
|
40135
40135
|
value: function getTickColor(isOn, index) {
|
|
40136
40136
|
var indexTemp = index < 1 ? 1 : index;
|
|
@@ -40144,9 +40144,9 @@ var dashboard_DashBoard = function () {
|
|
|
40144
40144
|
return this.m_default_option.tick_color;
|
|
40145
40145
|
}
|
|
40146
40146
|
}
|
|
40147
|
-
/**
|
|
40148
|
-
* 进行渲染绘制
|
|
40149
|
-
* @param percent
|
|
40147
|
+
/**
|
|
40148
|
+
* 进行渲染绘制
|
|
40149
|
+
* @param percent
|
|
40150
40150
|
*/
|
|
40151
40151
|
|
|
40152
40152
|
}, {
|
|
@@ -40175,8 +40175,8 @@ var dashboard_DashBoard = function () {
|
|
|
40175
40175
|
saveContext.restore();
|
|
40176
40176
|
}
|
|
40177
40177
|
|
|
40178
|
-
/**
|
|
40179
|
-
* 更新百分比以及实时显示信息
|
|
40178
|
+
/**
|
|
40179
|
+
* 更新百分比以及实时显示信息
|
|
40180
40180
|
*/
|
|
40181
40181
|
|
|
40182
40182
|
}, {
|
|
@@ -43097,10 +43097,10 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAH
|
|
|
43097
43097
|
/***/ (function(module, exports) {
|
|
43098
43098
|
|
|
43099
43099
|
/*! Tdrag 0.0.1 */
|
|
43100
|
-
/**
|
|
43101
|
-
* Created by Tezml on 2016/5/26
|
|
43102
|
-
* You can modify my source code, if you have a good idea or a problem can be encountered by e-mail: tezml@tezml.com to find me.
|
|
43103
|
-
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
43100
|
+
/**
|
|
43101
|
+
* Created by Tezml on 2016/5/26
|
|
43102
|
+
* You can modify my source code, if you have a good idea or a problem can be encountered by e-mail: tezml@tezml.com to find me.
|
|
43103
|
+
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
43104
43104
|
*/
|
|
43105
43105
|
/* eslint-disable */
|
|
43106
43106
|
;(function ($, window, document, undefined) {
|
|
@@ -43291,14 +43291,14 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAH
|
|
|
43291
43291
|
} else if (self.options.axis == "x") {
|
|
43292
43292
|
obj.style.left = self.grid(obj, l, t).left + 'px';
|
|
43293
43293
|
}
|
|
43294
|
-
/* if(self.options.changeWhen=="move") {
|
|
43295
|
-
if (self.options.changeMode == "sort") {
|
|
43296
|
-
self.sortDrag(obj);
|
|
43297
|
-
} else if (self.options.changeMode == "point") {
|
|
43298
|
-
self.pointmoveDrag(obj);
|
|
43299
|
-
}
|
|
43300
|
-
}else{
|
|
43301
|
-
self.moveAddClass(obj);
|
|
43294
|
+
/* if(self.options.changeWhen=="move") {
|
|
43295
|
+
if (self.options.changeMode == "sort") {
|
|
43296
|
+
self.sortDrag(obj);
|
|
43297
|
+
} else if (self.options.changeMode == "point") {
|
|
43298
|
+
self.pointmoveDrag(obj);
|
|
43299
|
+
}
|
|
43300
|
+
}else{
|
|
43301
|
+
self.moveAddClass(obj);
|
|
43302
43302
|
}*/
|
|
43303
43303
|
if (self.options.pos == true) {
|
|
43304
43304
|
self.moveAddClass(obj);
|
|
@@ -43571,8 +43571,8 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAH
|
|
|
43571
43571
|
animation: function animation(obj, json) {
|
|
43572
43572
|
var self = this;
|
|
43573
43573
|
//考虑默认值
|
|
43574
|
-
var options = self.options.animation_options; /*|| {};
|
|
43575
|
-
options.duration=self.options.animation_options.duration || 800;
|
|
43574
|
+
var options = self.options.animation_options; /*|| {};
|
|
43575
|
+
options.duration=self.options.animation_options.duration || 800;
|
|
43576
43576
|
options.easing=options.easing.duration.easing || 'ease-out';*/
|
|
43577
43577
|
var self = this;
|
|
43578
43578
|
var count = Math.round(options.duration / 30);
|
|
@@ -43732,10 +43732,10 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAPcCAYAAAAU
|
|
|
43732
43732
|
/***/ (function(module, exports) {
|
|
43733
43733
|
|
|
43734
43734
|
/*! Tdrag 0.0.1 */
|
|
43735
|
-
/**
|
|
43736
|
-
* Created by Tezml on 2016/5/26
|
|
43737
|
-
* You can modify my source code, if you have a good idea or a problem can be encountered by e-mail: tezml@tezml.com to find me.
|
|
43738
|
-
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
43735
|
+
/**
|
|
43736
|
+
* Created by Tezml on 2016/5/26
|
|
43737
|
+
* You can modify my source code, if you have a good idea or a problem can be encountered by e-mail: tezml@tezml.com to find me.
|
|
43738
|
+
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
43739
43739
|
*/
|
|
43740
43740
|
/* eslint-disable */
|
|
43741
43741
|
;(function ($, window, document, undefined) {
|
|
@@ -43926,14 +43926,14 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAPcCAYAAAAU
|
|
|
43926
43926
|
} else if (self.options.axis == "x") {
|
|
43927
43927
|
obj.style.left = self.grid(obj, l, t).left + 'px';
|
|
43928
43928
|
}
|
|
43929
|
-
/* if(self.options.changeWhen=="move") {
|
|
43930
|
-
if (self.options.changeMode == "sort") {
|
|
43931
|
-
self.sortDrag(obj);
|
|
43932
|
-
} else if (self.options.changeMode == "point") {
|
|
43933
|
-
self.pointmoveDrag(obj);
|
|
43934
|
-
}
|
|
43935
|
-
}else{
|
|
43936
|
-
self.moveAddClass(obj);
|
|
43929
|
+
/* if(self.options.changeWhen=="move") {
|
|
43930
|
+
if (self.options.changeMode == "sort") {
|
|
43931
|
+
self.sortDrag(obj);
|
|
43932
|
+
} else if (self.options.changeMode == "point") {
|
|
43933
|
+
self.pointmoveDrag(obj);
|
|
43934
|
+
}
|
|
43935
|
+
}else{
|
|
43936
|
+
self.moveAddClass(obj);
|
|
43937
43937
|
}*/
|
|
43938
43938
|
if (self.options.pos == true) {
|
|
43939
43939
|
self.moveAddClass(obj);
|
|
@@ -44206,8 +44206,8 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAPcCAYAAAAU
|
|
|
44206
44206
|
animation: function animation(obj, json) {
|
|
44207
44207
|
var self = this;
|
|
44208
44208
|
//考虑默认值
|
|
44209
|
-
var options = self.options.animation_options; /*|| {};
|
|
44210
|
-
options.duration=self.options.animation_options.duration || 800;
|
|
44209
|
+
var options = self.options.animation_options; /*|| {};
|
|
44210
|
+
options.duration=self.options.animation_options.duration || 800;
|
|
44211
44211
|
options.easing=options.easing.duration.easing || 'ease-out';*/
|
|
44212
44212
|
var self = this;
|
|
44213
44213
|
var count = Math.round(options.duration / 30);
|
|
@@ -47631,79 +47631,79 @@ function handleGlobalClose(event) {
|
|
|
47631
47631
|
}
|
|
47632
47632
|
}
|
|
47633
47633
|
|
|
47634
|
-
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
47635
|
-
if (typeof shadowMode !== 'boolean') {
|
|
47636
|
-
createInjectorSSR = createInjector;
|
|
47637
|
-
createInjector = shadowMode;
|
|
47638
|
-
shadowMode = false;
|
|
47639
|
-
}
|
|
47640
|
-
// Vue.extend constructor export interop.
|
|
47641
|
-
const options = typeof script === 'function' ? script.options : script;
|
|
47642
|
-
// render functions
|
|
47643
|
-
if (template && template.render) {
|
|
47644
|
-
options.render = template.render;
|
|
47645
|
-
options.staticRenderFns = template.staticRenderFns;
|
|
47646
|
-
options._compiled = true;
|
|
47647
|
-
// functional template
|
|
47648
|
-
if (isFunctionalTemplate) {
|
|
47649
|
-
options.functional = true;
|
|
47650
|
-
}
|
|
47651
|
-
}
|
|
47652
|
-
// scopedId
|
|
47653
|
-
if (scopeId) {
|
|
47654
|
-
options._scopeId = scopeId;
|
|
47655
|
-
}
|
|
47656
|
-
let hook;
|
|
47657
|
-
if (moduleIdentifier) {
|
|
47658
|
-
// server build
|
|
47659
|
-
hook = function (context) {
|
|
47660
|
-
// 2.3 injection
|
|
47661
|
-
context =
|
|
47662
|
-
context || // cached call
|
|
47663
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
47664
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
|
47665
|
-
// 2.2 with runInNewContext: true
|
|
47666
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
47667
|
-
context = __VUE_SSR_CONTEXT__;
|
|
47668
|
-
}
|
|
47669
|
-
// inject component styles
|
|
47670
|
-
if (style) {
|
|
47671
|
-
style.call(this, createInjectorSSR(context));
|
|
47672
|
-
}
|
|
47673
|
-
// register component module identifier for async chunk inference
|
|
47674
|
-
if (context && context._registeredComponents) {
|
|
47675
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
47676
|
-
}
|
|
47677
|
-
};
|
|
47678
|
-
// used by ssr in case component is cached and beforeCreate
|
|
47679
|
-
// never gets called
|
|
47680
|
-
options._ssrRegister = hook;
|
|
47681
|
-
}
|
|
47682
|
-
else if (style) {
|
|
47683
|
-
hook = shadowMode
|
|
47684
|
-
? function (context) {
|
|
47685
|
-
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
|
47686
|
-
}
|
|
47687
|
-
: function (context) {
|
|
47688
|
-
style.call(this, createInjector(context));
|
|
47689
|
-
};
|
|
47690
|
-
}
|
|
47691
|
-
if (hook) {
|
|
47692
|
-
if (options.functional) {
|
|
47693
|
-
// register for functional component in vue file
|
|
47694
|
-
const originalRender = options.render;
|
|
47695
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
47696
|
-
hook.call(context);
|
|
47697
|
-
return originalRender(h, context);
|
|
47698
|
-
};
|
|
47699
|
-
}
|
|
47700
|
-
else {
|
|
47701
|
-
// inject component registration as beforeCreate hook
|
|
47702
|
-
const existing = options.beforeCreate;
|
|
47703
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
47704
|
-
}
|
|
47705
|
-
}
|
|
47706
|
-
return script;
|
|
47634
|
+
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
47635
|
+
if (typeof shadowMode !== 'boolean') {
|
|
47636
|
+
createInjectorSSR = createInjector;
|
|
47637
|
+
createInjector = shadowMode;
|
|
47638
|
+
shadowMode = false;
|
|
47639
|
+
}
|
|
47640
|
+
// Vue.extend constructor export interop.
|
|
47641
|
+
const options = typeof script === 'function' ? script.options : script;
|
|
47642
|
+
// render functions
|
|
47643
|
+
if (template && template.render) {
|
|
47644
|
+
options.render = template.render;
|
|
47645
|
+
options.staticRenderFns = template.staticRenderFns;
|
|
47646
|
+
options._compiled = true;
|
|
47647
|
+
// functional template
|
|
47648
|
+
if (isFunctionalTemplate) {
|
|
47649
|
+
options.functional = true;
|
|
47650
|
+
}
|
|
47651
|
+
}
|
|
47652
|
+
// scopedId
|
|
47653
|
+
if (scopeId) {
|
|
47654
|
+
options._scopeId = scopeId;
|
|
47655
|
+
}
|
|
47656
|
+
let hook;
|
|
47657
|
+
if (moduleIdentifier) {
|
|
47658
|
+
// server build
|
|
47659
|
+
hook = function (context) {
|
|
47660
|
+
// 2.3 injection
|
|
47661
|
+
context =
|
|
47662
|
+
context || // cached call
|
|
47663
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
47664
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
|
47665
|
+
// 2.2 with runInNewContext: true
|
|
47666
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
47667
|
+
context = __VUE_SSR_CONTEXT__;
|
|
47668
|
+
}
|
|
47669
|
+
// inject component styles
|
|
47670
|
+
if (style) {
|
|
47671
|
+
style.call(this, createInjectorSSR(context));
|
|
47672
|
+
}
|
|
47673
|
+
// register component module identifier for async chunk inference
|
|
47674
|
+
if (context && context._registeredComponents) {
|
|
47675
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
47676
|
+
}
|
|
47677
|
+
};
|
|
47678
|
+
// used by ssr in case component is cached and beforeCreate
|
|
47679
|
+
// never gets called
|
|
47680
|
+
options._ssrRegister = hook;
|
|
47681
|
+
}
|
|
47682
|
+
else if (style) {
|
|
47683
|
+
hook = shadowMode
|
|
47684
|
+
? function (context) {
|
|
47685
|
+
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
|
47686
|
+
}
|
|
47687
|
+
: function (context) {
|
|
47688
|
+
style.call(this, createInjector(context));
|
|
47689
|
+
};
|
|
47690
|
+
}
|
|
47691
|
+
if (hook) {
|
|
47692
|
+
if (options.functional) {
|
|
47693
|
+
// register for functional component in vue file
|
|
47694
|
+
const originalRender = options.render;
|
|
47695
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
47696
|
+
hook.call(context);
|
|
47697
|
+
return originalRender(h, context);
|
|
47698
|
+
};
|
|
47699
|
+
}
|
|
47700
|
+
else {
|
|
47701
|
+
// inject component registration as beforeCreate hook
|
|
47702
|
+
const existing = options.beforeCreate;
|
|
47703
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
47704
|
+
}
|
|
47705
|
+
}
|
|
47706
|
+
return script;
|
|
47707
47707
|
}
|
|
47708
47708
|
|
|
47709
47709
|
/* script */
|