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.min.js
CHANGED
|
@@ -17539,55 +17539,55 @@ exports.RETURN = RETURN;
|
|
|
17539
17539
|
/* 27 */
|
|
17540
17540
|
/***/ (function(module, exports) {
|
|
17541
17541
|
|
|
17542
|
-
module.exports = function(module) {
|
|
17543
|
-
if(!module.webpackPolyfill) {
|
|
17544
|
-
module.deprecate = function() {};
|
|
17545
|
-
module.paths = [];
|
|
17546
|
-
// module.parent = undefined by default
|
|
17547
|
-
if(!module.children) module.children = [];
|
|
17548
|
-
Object.defineProperty(module, "loaded", {
|
|
17549
|
-
enumerable: true,
|
|
17550
|
-
get: function() {
|
|
17551
|
-
return module.l;
|
|
17552
|
-
}
|
|
17553
|
-
});
|
|
17554
|
-
Object.defineProperty(module, "id", {
|
|
17555
|
-
enumerable: true,
|
|
17556
|
-
get: function() {
|
|
17557
|
-
return module.i;
|
|
17558
|
-
}
|
|
17559
|
-
});
|
|
17560
|
-
module.webpackPolyfill = 1;
|
|
17561
|
-
}
|
|
17562
|
-
return module;
|
|
17563
|
-
};
|
|
17542
|
+
module.exports = function(module) {
|
|
17543
|
+
if(!module.webpackPolyfill) {
|
|
17544
|
+
module.deprecate = function() {};
|
|
17545
|
+
module.paths = [];
|
|
17546
|
+
// module.parent = undefined by default
|
|
17547
|
+
if(!module.children) module.children = [];
|
|
17548
|
+
Object.defineProperty(module, "loaded", {
|
|
17549
|
+
enumerable: true,
|
|
17550
|
+
get: function() {
|
|
17551
|
+
return module.l;
|
|
17552
|
+
}
|
|
17553
|
+
});
|
|
17554
|
+
Object.defineProperty(module, "id", {
|
|
17555
|
+
enumerable: true,
|
|
17556
|
+
get: function() {
|
|
17557
|
+
return module.i;
|
|
17558
|
+
}
|
|
17559
|
+
});
|
|
17560
|
+
module.webpackPolyfill = 1;
|
|
17561
|
+
}
|
|
17562
|
+
return module;
|
|
17563
|
+
};
|
|
17564
17564
|
|
|
17565
17565
|
|
|
17566
17566
|
/***/ }),
|
|
17567
17567
|
/* 28 */
|
|
17568
17568
|
/***/ (function(module, exports) {
|
|
17569
17569
|
|
|
17570
|
-
var g;
|
|
17571
|
-
|
|
17572
|
-
// This works in non-strict mode
|
|
17573
|
-
g = (function() {
|
|
17574
|
-
return this;
|
|
17575
|
-
})();
|
|
17576
|
-
|
|
17577
|
-
try {
|
|
17578
|
-
// This works if eval is allowed (see CSP)
|
|
17579
|
-
g = g || Function("return this")() || (1,eval)("this");
|
|
17580
|
-
} catch(e) {
|
|
17581
|
-
// This works if the window reference is available
|
|
17582
|
-
if(typeof window === "object")
|
|
17583
|
-
g = window;
|
|
17584
|
-
}
|
|
17585
|
-
|
|
17586
|
-
// g can still be undefined, but nothing to do about it...
|
|
17587
|
-
// We return undefined, instead of nothing here, so it's
|
|
17588
|
-
// easier to handle this case. if(!global) { ...}
|
|
17589
|
-
|
|
17590
|
-
module.exports = g;
|
|
17570
|
+
var g;
|
|
17571
|
+
|
|
17572
|
+
// This works in non-strict mode
|
|
17573
|
+
g = (function() {
|
|
17574
|
+
return this;
|
|
17575
|
+
})();
|
|
17576
|
+
|
|
17577
|
+
try {
|
|
17578
|
+
// This works if eval is allowed (see CSP)
|
|
17579
|
+
g = g || Function("return this")() || (1,eval)("this");
|
|
17580
|
+
} catch(e) {
|
|
17581
|
+
// This works if the window reference is available
|
|
17582
|
+
if(typeof window === "object")
|
|
17583
|
+
g = window;
|
|
17584
|
+
}
|
|
17585
|
+
|
|
17586
|
+
// g can still be undefined, but nothing to do about it...
|
|
17587
|
+
// We return undefined, instead of nothing here, so it's
|
|
17588
|
+
// easier to handle this case. if(!global) { ...}
|
|
17589
|
+
|
|
17590
|
+
module.exports = g;
|
|
17591
17591
|
|
|
17592
17592
|
|
|
17593
17593
|
/***/ }),
|
|
@@ -37142,15 +37142,15 @@ if (false) {(function () {
|
|
|
37142
37142
|
type: Number,
|
|
37143
37143
|
default: 100
|
|
37144
37144
|
},
|
|
37145
|
-
/**
|
|
37146
|
-
* 说明:等分模式: 只需要传入五个等级的总数,和每个等级的颜色
|
|
37147
|
-
* 自定义模式:不需要传入总数值,但是需要在LevelsInfo的对象中指出范围例如
|
|
37148
|
-
* [{
|
|
37149
|
-
* level: 1,
|
|
37150
|
-
* levelname: '',
|
|
37151
|
-
* Upperlimit: Number,
|
|
37152
|
-
* Lowerlimit: Number,
|
|
37153
|
-
* }]
|
|
37145
|
+
/**
|
|
37146
|
+
* 说明:等分模式: 只需要传入五个等级的总数,和每个等级的颜色
|
|
37147
|
+
* 自定义模式:不需要传入总数值,但是需要在LevelsInfo的对象中指出范围例如
|
|
37148
|
+
* [{
|
|
37149
|
+
* level: 1,
|
|
37150
|
+
* levelname: '',
|
|
37151
|
+
* Upperlimit: Number,
|
|
37152
|
+
* Lowerlimit: Number,
|
|
37153
|
+
* }]
|
|
37154
37154
|
*/
|
|
37155
37155
|
Model: {
|
|
37156
37156
|
type: String,
|
|
@@ -37515,11 +37515,11 @@ function colorHex(rgb) {
|
|
|
37515
37515
|
|
|
37516
37516
|
|
|
37517
37517
|
|
|
37518
|
-
/**
|
|
37519
|
-
* @Description: 这个类封装了仪表盘
|
|
37520
|
-
* @Author: chengcheng
|
|
37521
|
-
* @Date: Create in 10:26 2019/04/03
|
|
37522
|
-
* @Modified By:
|
|
37518
|
+
/**
|
|
37519
|
+
* @Description: 这个类封装了仪表盘
|
|
37520
|
+
* @Author: chengcheng
|
|
37521
|
+
* @Date: Create in 10:26 2019/04/03
|
|
37522
|
+
* @Modified By:
|
|
37523
37523
|
*/
|
|
37524
37524
|
|
|
37525
37525
|
var PIDEG = Math.PI / 180;
|
|
@@ -37614,8 +37614,8 @@ var dashboard_DashBoard = function () {
|
|
|
37614
37614
|
this.InitCanvas();
|
|
37615
37615
|
}
|
|
37616
37616
|
|
|
37617
|
-
/**
|
|
37618
|
-
* 初始化绘图环境
|
|
37617
|
+
/**
|
|
37618
|
+
* 初始化绘图环境
|
|
37619
37619
|
*/
|
|
37620
37620
|
|
|
37621
37621
|
|
|
@@ -37651,8 +37651,8 @@ var dashboard_DashBoard = function () {
|
|
|
37651
37651
|
value: function getRotationDeg() {
|
|
37652
37652
|
return this.m_default_option.total_degrees / (this.m_default_option.total_tick - 1) * PIDEG;
|
|
37653
37653
|
}
|
|
37654
|
-
/**
|
|
37655
|
-
* 准备舞台, 绘制背景和中间数值
|
|
37654
|
+
/**
|
|
37655
|
+
* 准备舞台, 绘制背景和中间数值
|
|
37656
37656
|
*/
|
|
37657
37657
|
|
|
37658
37658
|
}, {
|
|
@@ -37672,13 +37672,13 @@ var dashboard_DashBoard = function () {
|
|
|
37672
37672
|
this.drawContent();
|
|
37673
37673
|
}
|
|
37674
37674
|
|
|
37675
|
-
/**
|
|
37676
|
-
* 绘制弧度
|
|
37677
|
-
* @param {*} r 半径
|
|
37678
|
-
* @param {*} start 开始角度
|
|
37679
|
-
* @param {*} end 结束角度
|
|
37680
|
-
* @param {*} w 弧宽度
|
|
37681
|
-
* @param {*} colorStyle 圆环颜色 支持渐变
|
|
37675
|
+
/**
|
|
37676
|
+
* 绘制弧度
|
|
37677
|
+
* @param {*} r 半径
|
|
37678
|
+
* @param {*} start 开始角度
|
|
37679
|
+
* @param {*} end 结束角度
|
|
37680
|
+
* @param {*} w 弧宽度
|
|
37681
|
+
* @param {*} colorStyle 圆环颜色 支持渐变
|
|
37682
37682
|
*/
|
|
37683
37683
|
|
|
37684
37684
|
}, {
|
|
@@ -37760,10 +37760,10 @@ var dashboard_DashBoard = function () {
|
|
|
37760
37760
|
}
|
|
37761
37761
|
saveContext.restore();
|
|
37762
37762
|
}
|
|
37763
|
-
/**
|
|
37764
|
-
* 绘制刻度帧数, 刻度长度 和 第几个数字
|
|
37765
|
-
* @param {*} tickLength
|
|
37766
|
-
* @param {*} tickIndex
|
|
37763
|
+
/**
|
|
37764
|
+
* 绘制刻度帧数, 刻度长度 和 第几个数字
|
|
37765
|
+
* @param {*} tickLength
|
|
37766
|
+
* @param {*} tickIndex
|
|
37767
37767
|
*/
|
|
37768
37768
|
|
|
37769
37769
|
}, {
|
|
@@ -37781,8 +37781,8 @@ var dashboard_DashBoard = function () {
|
|
|
37781
37781
|
saveContext.fillText(text, 0, this.m_default_option.tickmask_offset);
|
|
37782
37782
|
saveContext.restore();
|
|
37783
37783
|
}
|
|
37784
|
-
/**
|
|
37785
|
-
* 应用背景
|
|
37784
|
+
/**
|
|
37785
|
+
* 应用背景
|
|
37786
37786
|
*/
|
|
37787
37787
|
|
|
37788
37788
|
}, {
|
|
@@ -37795,10 +37795,10 @@ var dashboard_DashBoard = function () {
|
|
|
37795
37795
|
saveContext.fillRect(0, 0, saveCanvas.width, saveCanvas.height); // 绘制“被填充”的矩形
|
|
37796
37796
|
saveContext.restore(); // 返回之前保存过的路径状态和属性
|
|
37797
37797
|
}
|
|
37798
|
-
/**
|
|
37799
|
-
* 绘制提示圆点
|
|
37800
|
-
* @param {*} beginX
|
|
37801
|
-
* @param {*} beginY
|
|
37798
|
+
/**
|
|
37799
|
+
* 绘制提示圆点
|
|
37800
|
+
* @param {*} beginX
|
|
37801
|
+
* @param {*} beginY
|
|
37802
37802
|
*/
|
|
37803
37803
|
|
|
37804
37804
|
}, {
|
|
@@ -37809,22 +37809,22 @@ var dashboard_DashBoard = function () {
|
|
|
37809
37809
|
saveContext.fillStyle = this.m_percent > 0.01 ? this.m_default_option.cur_score_circle_color : this.m_default_option.tick_color;
|
|
37810
37810
|
saveContext.rotate(this.m_percent * this.m_default_option.total_degrees / 100 * PIDEG);
|
|
37811
37811
|
saveContext.beginPath();
|
|
37812
|
-
/**
|
|
37813
|
-
* arc方法用来绘制圆
|
|
37814
|
-
* 参数1 圆心的x坐标
|
|
37815
|
-
* 参数2 圆心的y坐标
|
|
37816
|
-
* 参数3 圆的半径
|
|
37817
|
-
* 参数4 起始角 弧度单位
|
|
37818
|
-
* 参数5 结束角 弧度
|
|
37819
|
-
* 参数6 False = 顺时针 True = 逆时针
|
|
37812
|
+
/**
|
|
37813
|
+
* arc方法用来绘制圆
|
|
37814
|
+
* 参数1 圆心的x坐标
|
|
37815
|
+
* 参数2 圆心的y坐标
|
|
37816
|
+
* 参数3 圆的半径
|
|
37817
|
+
* 参数4 起始角 弧度单位
|
|
37818
|
+
* 参数5 结束角 弧度
|
|
37819
|
+
* 参数6 False = 顺时针 True = 逆时针
|
|
37820
37820
|
*/
|
|
37821
37821
|
saveContext.arc(-beginX, -beginY, this.m_default_option.circle_radius, 0, Math.PI * 2, true);
|
|
37822
37822
|
saveContext.closePath();
|
|
37823
37823
|
saveContext.fill();
|
|
37824
37824
|
saveContext.restore();
|
|
37825
37825
|
}
|
|
37826
|
-
/**
|
|
37827
|
-
* 样式一 bar样式
|
|
37826
|
+
/**
|
|
37827
|
+
* 样式一 bar样式
|
|
37828
37828
|
*/
|
|
37829
37829
|
|
|
37830
37830
|
}, {
|
|
@@ -37851,8 +37851,8 @@ var dashboard_DashBoard = function () {
|
|
|
37851
37851
|
this.drawDonuts(this.m_default_option.bar_radius, startAngle, curendAngle, this.m_default_option.bar_w, ring);
|
|
37852
37852
|
}
|
|
37853
37853
|
|
|
37854
|
-
/**
|
|
37855
|
-
* 绘制刻度盘的样式
|
|
37854
|
+
/**
|
|
37855
|
+
* 绘制刻度盘的样式
|
|
37856
37856
|
*/
|
|
37857
37857
|
|
|
37858
37858
|
}, {
|
|
@@ -37890,9 +37890,9 @@ var dashboard_DashBoard = function () {
|
|
|
37890
37890
|
}
|
|
37891
37891
|
}
|
|
37892
37892
|
|
|
37893
|
-
/**
|
|
37894
|
-
* @param {*} currentNum
|
|
37895
|
-
* 判断当前最大刻度
|
|
37893
|
+
/**
|
|
37894
|
+
* @param {*} currentNum
|
|
37895
|
+
* 判断当前最大刻度
|
|
37896
37896
|
*/
|
|
37897
37897
|
|
|
37898
37898
|
}, {
|
|
@@ -37904,10 +37904,10 @@ var dashboard_DashBoard = function () {
|
|
|
37904
37904
|
key: 'getTickColor',
|
|
37905
37905
|
|
|
37906
37906
|
|
|
37907
|
-
/**
|
|
37908
|
-
* 获取刻度颜色
|
|
37909
|
-
* @param {*} isOn
|
|
37910
|
-
* @param {*} index
|
|
37907
|
+
/**
|
|
37908
|
+
* 获取刻度颜色
|
|
37909
|
+
* @param {*} isOn
|
|
37910
|
+
* @param {*} index
|
|
37911
37911
|
*/
|
|
37912
37912
|
value: function getTickColor(isOn, index) {
|
|
37913
37913
|
var indexTemp = index < 1 ? 1 : index;
|
|
@@ -37921,9 +37921,9 @@ var dashboard_DashBoard = function () {
|
|
|
37921
37921
|
return this.m_default_option.tick_color;
|
|
37922
37922
|
}
|
|
37923
37923
|
}
|
|
37924
|
-
/**
|
|
37925
|
-
* 进行渲染绘制
|
|
37926
|
-
* @param percent
|
|
37924
|
+
/**
|
|
37925
|
+
* 进行渲染绘制
|
|
37926
|
+
* @param percent
|
|
37927
37927
|
*/
|
|
37928
37928
|
|
|
37929
37929
|
}, {
|
|
@@ -37952,8 +37952,8 @@ var dashboard_DashBoard = function () {
|
|
|
37952
37952
|
saveContext.restore();
|
|
37953
37953
|
}
|
|
37954
37954
|
|
|
37955
|
-
/**
|
|
37956
|
-
* 更新百分比以及实时显示信息
|
|
37955
|
+
/**
|
|
37956
|
+
* 更新百分比以及实时显示信息
|
|
37957
37957
|
*/
|
|
37958
37958
|
|
|
37959
37959
|
}, {
|
|
@@ -40875,10 +40875,10 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAH
|
|
|
40875
40875
|
/***/ (function(module, exports, __webpack_require__) {
|
|
40876
40876
|
|
|
40877
40877
|
/* WEBPACK VAR INJECTION */(function(jQuery) {/*! Tdrag 0.0.1 */
|
|
40878
|
-
/**
|
|
40879
|
-
* Created by Tezml on 2016/5/26
|
|
40880
|
-
* 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.
|
|
40881
|
-
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
40878
|
+
/**
|
|
40879
|
+
* Created by Tezml on 2016/5/26
|
|
40880
|
+
* 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.
|
|
40881
|
+
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
40882
40882
|
*/
|
|
40883
40883
|
/* eslint-disable */
|
|
40884
40884
|
;(function ($, window, document, undefined) {
|
|
@@ -41069,14 +41069,14 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAH
|
|
|
41069
41069
|
} else if (self.options.axis == "x") {
|
|
41070
41070
|
obj.style.left = self.grid(obj, l, t).left + 'px';
|
|
41071
41071
|
}
|
|
41072
|
-
/* if(self.options.changeWhen=="move") {
|
|
41073
|
-
if (self.options.changeMode == "sort") {
|
|
41074
|
-
self.sortDrag(obj);
|
|
41075
|
-
} else if (self.options.changeMode == "point") {
|
|
41076
|
-
self.pointmoveDrag(obj);
|
|
41077
|
-
}
|
|
41078
|
-
}else{
|
|
41079
|
-
self.moveAddClass(obj);
|
|
41072
|
+
/* if(self.options.changeWhen=="move") {
|
|
41073
|
+
if (self.options.changeMode == "sort") {
|
|
41074
|
+
self.sortDrag(obj);
|
|
41075
|
+
} else if (self.options.changeMode == "point") {
|
|
41076
|
+
self.pointmoveDrag(obj);
|
|
41077
|
+
}
|
|
41078
|
+
}else{
|
|
41079
|
+
self.moveAddClass(obj);
|
|
41080
41080
|
}*/
|
|
41081
41081
|
if (self.options.pos == true) {
|
|
41082
41082
|
self.moveAddClass(obj);
|
|
@@ -41349,8 +41349,8 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAArCAYAAAAH
|
|
|
41349
41349
|
animation: function animation(obj, json) {
|
|
41350
41350
|
var self = this;
|
|
41351
41351
|
//考虑默认值
|
|
41352
|
-
var options = self.options.animation_options; /*|| {};
|
|
41353
|
-
options.duration=self.options.animation_options.duration || 800;
|
|
41352
|
+
var options = self.options.animation_options; /*|| {};
|
|
41353
|
+
options.duration=self.options.animation_options.duration || 800;
|
|
41354
41354
|
options.easing=options.easing.duration.easing || 'ease-out';*/
|
|
41355
41355
|
var self = this;
|
|
41356
41356
|
var count = Math.round(options.duration / 30);
|
|
@@ -41511,10 +41511,10 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAPcCAYAAAAU
|
|
|
41511
41511
|
/***/ (function(module, exports, __webpack_require__) {
|
|
41512
41512
|
|
|
41513
41513
|
/* WEBPACK VAR INJECTION */(function(jQuery) {/*! Tdrag 0.0.1 */
|
|
41514
|
-
/**
|
|
41515
|
-
* Created by Tezml on 2016/5/26
|
|
41516
|
-
* 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.
|
|
41517
|
-
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
41514
|
+
/**
|
|
41515
|
+
* Created by Tezml on 2016/5/26
|
|
41516
|
+
* 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.
|
|
41517
|
+
* 如果你想在项目中使用该插件,请不要删除该注释。
|
|
41518
41518
|
*/
|
|
41519
41519
|
/* eslint-disable */
|
|
41520
41520
|
;(function ($, window, document, undefined) {
|
|
@@ -41705,14 +41705,14 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAPcCAYAAAAU
|
|
|
41705
41705
|
} else if (self.options.axis == "x") {
|
|
41706
41706
|
obj.style.left = self.grid(obj, l, t).left + 'px';
|
|
41707
41707
|
}
|
|
41708
|
-
/* if(self.options.changeWhen=="move") {
|
|
41709
|
-
if (self.options.changeMode == "sort") {
|
|
41710
|
-
self.sortDrag(obj);
|
|
41711
|
-
} else if (self.options.changeMode == "point") {
|
|
41712
|
-
self.pointmoveDrag(obj);
|
|
41713
|
-
}
|
|
41714
|
-
}else{
|
|
41715
|
-
self.moveAddClass(obj);
|
|
41708
|
+
/* if(self.options.changeWhen=="move") {
|
|
41709
|
+
if (self.options.changeMode == "sort") {
|
|
41710
|
+
self.sortDrag(obj);
|
|
41711
|
+
} else if (self.options.changeMode == "point") {
|
|
41712
|
+
self.pointmoveDrag(obj);
|
|
41713
|
+
}
|
|
41714
|
+
}else{
|
|
41715
|
+
self.moveAddClass(obj);
|
|
41716
41716
|
}*/
|
|
41717
41717
|
if (self.options.pos == true) {
|
|
41718
41718
|
self.moveAddClass(obj);
|
|
@@ -41985,8 +41985,8 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAagAAAPcCAYAAAAU
|
|
|
41985
41985
|
animation: function animation(obj, json) {
|
|
41986
41986
|
var self = this;
|
|
41987
41987
|
//考虑默认值
|
|
41988
|
-
var options = self.options.animation_options; /*|| {};
|
|
41989
|
-
options.duration=self.options.animation_options.duration || 800;
|
|
41988
|
+
var options = self.options.animation_options; /*|| {};
|
|
41989
|
+
options.duration=self.options.animation_options.duration || 800;
|
|
41990
41990
|
options.easing=options.easing.duration.easing || 'ease-out';*/
|
|
41991
41991
|
var self = this;
|
|
41992
41992
|
var count = Math.round(options.duration / 30);
|
|
@@ -47707,79 +47707,79 @@ function handleGlobalClose(event) {
|
|
|
47707
47707
|
}
|
|
47708
47708
|
}
|
|
47709
47709
|
|
|
47710
|
-
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
47711
|
-
if (typeof shadowMode !== 'boolean') {
|
|
47712
|
-
createInjectorSSR = createInjector;
|
|
47713
|
-
createInjector = shadowMode;
|
|
47714
|
-
shadowMode = false;
|
|
47715
|
-
}
|
|
47716
|
-
// Vue.extend constructor export interop.
|
|
47717
|
-
const options = typeof script === 'function' ? script.options : script;
|
|
47718
|
-
// render functions
|
|
47719
|
-
if (template && template.render) {
|
|
47720
|
-
options.render = template.render;
|
|
47721
|
-
options.staticRenderFns = template.staticRenderFns;
|
|
47722
|
-
options._compiled = true;
|
|
47723
|
-
// functional template
|
|
47724
|
-
if (isFunctionalTemplate) {
|
|
47725
|
-
options.functional = true;
|
|
47726
|
-
}
|
|
47727
|
-
}
|
|
47728
|
-
// scopedId
|
|
47729
|
-
if (scopeId) {
|
|
47730
|
-
options._scopeId = scopeId;
|
|
47731
|
-
}
|
|
47732
|
-
let hook;
|
|
47733
|
-
if (moduleIdentifier) {
|
|
47734
|
-
// server build
|
|
47735
|
-
hook = function (context) {
|
|
47736
|
-
// 2.3 injection
|
|
47737
|
-
context =
|
|
47738
|
-
context || // cached call
|
|
47739
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
47740
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
|
47741
|
-
// 2.2 with runInNewContext: true
|
|
47742
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
47743
|
-
context = __VUE_SSR_CONTEXT__;
|
|
47744
|
-
}
|
|
47745
|
-
// inject component styles
|
|
47746
|
-
if (style) {
|
|
47747
|
-
style.call(this, createInjectorSSR(context));
|
|
47748
|
-
}
|
|
47749
|
-
// register component module identifier for async chunk inference
|
|
47750
|
-
if (context && context._registeredComponents) {
|
|
47751
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
47752
|
-
}
|
|
47753
|
-
};
|
|
47754
|
-
// used by ssr in case component is cached and beforeCreate
|
|
47755
|
-
// never gets called
|
|
47756
|
-
options._ssrRegister = hook;
|
|
47757
|
-
}
|
|
47758
|
-
else if (style) {
|
|
47759
|
-
hook = shadowMode
|
|
47760
|
-
? function (context) {
|
|
47761
|
-
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
|
47762
|
-
}
|
|
47763
|
-
: function (context) {
|
|
47764
|
-
style.call(this, createInjector(context));
|
|
47765
|
-
};
|
|
47766
|
-
}
|
|
47767
|
-
if (hook) {
|
|
47768
|
-
if (options.functional) {
|
|
47769
|
-
// register for functional component in vue file
|
|
47770
|
-
const originalRender = options.render;
|
|
47771
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
47772
|
-
hook.call(context);
|
|
47773
|
-
return originalRender(h, context);
|
|
47774
|
-
};
|
|
47775
|
-
}
|
|
47776
|
-
else {
|
|
47777
|
-
// inject component registration as beforeCreate hook
|
|
47778
|
-
const existing = options.beforeCreate;
|
|
47779
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
47780
|
-
}
|
|
47781
|
-
}
|
|
47782
|
-
return script;
|
|
47710
|
+
function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
|
|
47711
|
+
if (typeof shadowMode !== 'boolean') {
|
|
47712
|
+
createInjectorSSR = createInjector;
|
|
47713
|
+
createInjector = shadowMode;
|
|
47714
|
+
shadowMode = false;
|
|
47715
|
+
}
|
|
47716
|
+
// Vue.extend constructor export interop.
|
|
47717
|
+
const options = typeof script === 'function' ? script.options : script;
|
|
47718
|
+
// render functions
|
|
47719
|
+
if (template && template.render) {
|
|
47720
|
+
options.render = template.render;
|
|
47721
|
+
options.staticRenderFns = template.staticRenderFns;
|
|
47722
|
+
options._compiled = true;
|
|
47723
|
+
// functional template
|
|
47724
|
+
if (isFunctionalTemplate) {
|
|
47725
|
+
options.functional = true;
|
|
47726
|
+
}
|
|
47727
|
+
}
|
|
47728
|
+
// scopedId
|
|
47729
|
+
if (scopeId) {
|
|
47730
|
+
options._scopeId = scopeId;
|
|
47731
|
+
}
|
|
47732
|
+
let hook;
|
|
47733
|
+
if (moduleIdentifier) {
|
|
47734
|
+
// server build
|
|
47735
|
+
hook = function (context) {
|
|
47736
|
+
// 2.3 injection
|
|
47737
|
+
context =
|
|
47738
|
+
context || // cached call
|
|
47739
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
47740
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext); // functional
|
|
47741
|
+
// 2.2 with runInNewContext: true
|
|
47742
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
47743
|
+
context = __VUE_SSR_CONTEXT__;
|
|
47744
|
+
}
|
|
47745
|
+
// inject component styles
|
|
47746
|
+
if (style) {
|
|
47747
|
+
style.call(this, createInjectorSSR(context));
|
|
47748
|
+
}
|
|
47749
|
+
// register component module identifier for async chunk inference
|
|
47750
|
+
if (context && context._registeredComponents) {
|
|
47751
|
+
context._registeredComponents.add(moduleIdentifier);
|
|
47752
|
+
}
|
|
47753
|
+
};
|
|
47754
|
+
// used by ssr in case component is cached and beforeCreate
|
|
47755
|
+
// never gets called
|
|
47756
|
+
options._ssrRegister = hook;
|
|
47757
|
+
}
|
|
47758
|
+
else if (style) {
|
|
47759
|
+
hook = shadowMode
|
|
47760
|
+
? function (context) {
|
|
47761
|
+
style.call(this, createInjectorShadow(context, this.$root.$options.shadowRoot));
|
|
47762
|
+
}
|
|
47763
|
+
: function (context) {
|
|
47764
|
+
style.call(this, createInjector(context));
|
|
47765
|
+
};
|
|
47766
|
+
}
|
|
47767
|
+
if (hook) {
|
|
47768
|
+
if (options.functional) {
|
|
47769
|
+
// register for functional component in vue file
|
|
47770
|
+
const originalRender = options.render;
|
|
47771
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
47772
|
+
hook.call(context);
|
|
47773
|
+
return originalRender(h, context);
|
|
47774
|
+
};
|
|
47775
|
+
}
|
|
47776
|
+
else {
|
|
47777
|
+
// inject component registration as beforeCreate hook
|
|
47778
|
+
const existing = options.beforeCreate;
|
|
47779
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
|
|
47780
|
+
}
|
|
47781
|
+
}
|
|
47782
|
+
return script;
|
|
47783
47783
|
}
|
|
47784
47784
|
|
|
47785
47785
|
/* script */
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="app">
|
|
3
|
-
<router-view />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
export default {
|
|
9
|
-
name: 'App'
|
|
10
|
-
}
|
|
11
|
-
</script>
|
|
12
|
-
|
|
13
|
-
<style>
|
|
14
|
-
body {
|
|
15
|
-
margin: 0px;
|
|
16
|
-
padding: 0px;
|
|
17
|
-
}
|
|
18
|
-
#app {
|
|
19
|
-
/* font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
20
|
-
-webkit-font-smoothing: antialiased;
|
|
21
|
-
-moz-osx-font-smoothing: grayscale;
|
|
22
|
-
text-align: center;
|
|
23
|
-
color: #2c3e50; */
|
|
24
|
-
}
|
|
25
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="app">
|
|
3
|
+
<router-view />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
export default {
|
|
9
|
+
name: 'App'
|
|
10
|
+
}
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<style>
|
|
14
|
+
body {
|
|
15
|
+
margin: 0px;
|
|
16
|
+
padding: 0px;
|
|
17
|
+
}
|
|
18
|
+
#app {
|
|
19
|
+
/* font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
|
20
|
+
-webkit-font-smoothing: antialiased;
|
|
21
|
+
-moz-osx-font-smoothing: grayscale;
|
|
22
|
+
text-align: center;
|
|
23
|
+
color: #2c3e50; */
|
|
24
|
+
}
|
|
25
|
+
</style>
|