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.
Files changed (154) hide show
  1. package/.babelrc +18 -18
  2. package/.editorconfig +9 -9
  3. package/.eslintignore +5 -5
  4. package/.eslintrc.js +29 -29
  5. package/.postcssrc.js +10 -10
  6. package/README.md +30 -30
  7. package/build/build.js +41 -41
  8. package/build/check-versions.js +54 -54
  9. package/build/package.config.js +58 -58
  10. package/build/package.dev.config.js +25 -25
  11. package/build/package.prod.config.js +60 -60
  12. package/build/utils.js +101 -101
  13. package/build/vue-loader.conf.js +22 -22
  14. package/build/webpack.base.conf.js +109 -109
  15. package/build/webpack.dev.conf.js +95 -95
  16. package/build/webpack.prod.conf.js +149 -149
  17. package/config/dev.env.js +7 -7
  18. package/config/index.js +76 -76
  19. package/config/prod.env.js +4 -4
  20. package/config/test.env.js +7 -7
  21. package/index.html +12 -12
  22. package/package/kisscomps/components/CircleMenu/KissCircleMenu.vue +398 -398
  23. package/package/kisscomps/components/CircleMenu/index.js +2 -2
  24. package/package/kisscomps/components/DashBoard/MakeGradientColor.js +84 -84
  25. package/package/kisscomps/components/DashBoard/dashboard.js +471 -471
  26. package/package/kisscomps/components/DashBoard/dashboard.vue +57 -57
  27. package/package/kisscomps/components/DashBoard/index.js +2 -2
  28. package/package/kisscomps/components/Horizontal/KissHorizontal.vue +146 -146
  29. package/package/kisscomps/components/Horizontal/index.js +2 -2
  30. package/package/kisscomps/components/HorizontalChildren/KissHorizontalChildren.vue +196 -196
  31. package/package/kisscomps/components/HorizontalChildren/index.js +2 -2
  32. package/package/kisscomps/components/KissCircleMenu/CircleMenu.vue +113 -113
  33. package/package/kisscomps/components/KissCircleMenu/index.js +2 -2
  34. package/package/kisscomps/components/KissCircleMenu/style/index.less +1 -1
  35. package/package/kisscomps/components/KissCircleMenu/style/main/core.less +161 -161
  36. package/package/kisscomps/components/KissCircleMenu/style/main/other.less +94 -94
  37. package/package/kisscomps/components/KissCircleMenu/style/mixin/mixin.less +36 -36
  38. package/package/kisscomps/components/KissCircleMenu/style/var/var.less +21 -21
  39. package/package/kisscomps/components/KissCircleMenu/utils/colorRE.js +5 -5
  40. package/package/kisscomps/components/KissMessageBox/KissMessageBox.vue +108 -108
  41. package/package/kisscomps/components/KissMessageBox/index.js +2 -2
  42. package/package/kisscomps/components/KissSearchInput/index.js +2 -2
  43. package/package/kisscomps/components/KissSearchInput/kisssearchinput.vue +77 -77
  44. package/package/kisscomps/components/KissSimulationProgress/KissSimulationProgress.vue +294 -294
  45. package/package/kisscomps/components/KissSimulationProgress/index.js +2 -2
  46. package/package/kisscomps/components/StatusBar/StatusBar.vue +222 -222
  47. package/package/kisscomps/components/StatusBar/index.js +2 -2
  48. package/package/kisscomps/components/TragResize/index.js +2 -2
  49. package/package/kisscomps/components/TragResize/kissdragresize.vue +536 -536
  50. package/package/kisscomps/components/TragResize/util/dom.js +23 -23
  51. package/package/kisscomps/components/TragResize/util/fns.js +3 -3
  52. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.1.vue +320 -320
  53. package/package/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +345 -345
  54. package/package/kisscomps/components/XRDDirSelector/index.js +2 -2
  55. package/package/kisscomps/components/button/index.js +2 -2
  56. package/package/kisscomps/components/button/kissbutton.vue +168 -168
  57. package/package/kisscomps/components/compass3D/compass.vue +180 -180
  58. package/package/kisscomps/components/compass3D/index.js +2 -2
  59. package/package/kisscomps/components/header/index.js +2 -2
  60. package/package/kisscomps/components/header/kissHead.vue +83 -83
  61. package/package/kisscomps/components/horizontalMenu/index.js +2 -2
  62. package/package/kisscomps/components/horizontalMenu/kissHorizontalMenu.vue +254 -254
  63. package/package/kisscomps/components/input/index.js +2 -2
  64. package/package/kisscomps/components/input/kissinput.vue +57 -57
  65. package/package/kisscomps/components/menu/index.js +2 -2
  66. package/package/kisscomps/components/menu/kissmenu.vue +324 -324
  67. package/package/kisscomps/components/mutipletips/Tdrag.js +585 -585
  68. package/package/kisscomps/components/mutipletips/index.js +2 -2
  69. package/package/kisscomps/components/mutipletips/kissmutipletips.vue +192 -192
  70. package/package/kisscomps/components/panel/index.js +2 -2
  71. package/package/kisscomps/components/panel/kissPanel.vue +151 -151
  72. package/package/kisscomps/components/select/chosen.jquery.min.js +3 -3
  73. package/package/kisscomps/components/select/index.js +2 -2
  74. package/package/kisscomps/components/select/kissselect.vue +527 -527
  75. package/package/kisscomps/components/tablebutton/index.js +2 -2
  76. package/package/kisscomps/components/tablebutton/tablebutton.vue +97 -97
  77. package/package/kisscomps/components/timectrl/KissTimeCtrl.vue +67 -67
  78. package/package/kisscomps/components/timectrl/index.js +2 -2
  79. package/package/kisscomps/components/timectrl/timectrl.css +851 -851
  80. package/package/kisscomps/components/tip/Tdrag.js +585 -585
  81. package/package/kisscomps/components/tip/index.js +2 -2
  82. package/package/kisscomps/components/tip/kisstips.1.vue +154 -154
  83. package/package/kisscomps/components/tip/kisstips.vue +154 -154
  84. package/package/kisscomps/components/tip/kisstips.vue.bak +211 -211
  85. package/package/kisscomps/index.js +71 -71
  86. package/package/kissui.js +203 -203
  87. package/package/kissui.min.js +203 -203
  88. package/package.json +1 -1
  89. package/src/App.vue +25 -25
  90. package/src/kisscomps/components/CircleMenu/KissCircleMenu.vue +398 -398
  91. package/src/kisscomps/components/CircleMenu/index.js +2 -2
  92. package/src/kisscomps/components/DashBoard/MakeGradientColor.js +84 -84
  93. package/src/kisscomps/components/DashBoard/dashboard.js +471 -471
  94. package/src/kisscomps/components/DashBoard/dashboard.vue +57 -57
  95. package/src/kisscomps/components/DashBoard/index.js +2 -2
  96. package/src/kisscomps/components/KissCircleMenu/CircleMenu.vue +113 -113
  97. package/src/kisscomps/components/KissCircleMenu/index.js +2 -2
  98. package/src/kisscomps/components/KissCircleMenu/style/index.less +1 -1
  99. package/src/kisscomps/components/KissCircleMenu/style/main/core.less +161 -161
  100. package/src/kisscomps/components/KissCircleMenu/style/main/other.less +94 -94
  101. package/src/kisscomps/components/KissCircleMenu/style/mixin/mixin.less +36 -36
  102. package/src/kisscomps/components/KissCircleMenu/style/var/var.less +21 -21
  103. package/src/kisscomps/components/KissCircleMenu/utils/colorRE.js +5 -5
  104. package/src/kisscomps/components/KissSearchInput/index.js +2 -2
  105. package/src/kisscomps/components/KissSearchInput/kisssearchinput.vue +77 -77
  106. package/src/kisscomps/components/SchemeConfig/closePhaselControlModal/index.vue +193 -0
  107. package/src/kisscomps/components/SchemeConfig/index.js +2 -0
  108. package/src/kisscomps/components/SchemeConfig/lockingPhaselControlModal/index.vue +214 -0
  109. package/src/kisscomps/components/SchemeConfig/manualControlModal/index.vue +176 -0
  110. package/src/kisscomps/components/SchemeConfig/realtimeStatusModal/index.vue +294 -0
  111. package/src/kisscomps/components/SchemeConfig/schemeconfig.vue +711 -0
  112. package/src/kisscomps/components/StatusBar/StatusBar.vue +222 -222
  113. package/src/kisscomps/components/StatusBar/index.js +2 -2
  114. package/src/kisscomps/components/TragResize/index.js +2 -2
  115. package/src/kisscomps/components/TragResize/kissdragresize.vue +536 -536
  116. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.1.vue +320 -320
  117. package/src/kisscomps/components/XRDDirSelector/XRDDirSelector.vue +345 -345
  118. package/src/kisscomps/components/XRDDirSelector/index.js +2 -2
  119. package/src/kisscomps/components/button/index.js +2 -2
  120. package/src/kisscomps/components/button/kissbutton.vue +168 -168
  121. package/src/kisscomps/components/compass3D/compass.vue +180 -180
  122. package/src/kisscomps/components/compass3D/index.js +2 -2
  123. package/src/kisscomps/components/horizontalMenu/index.js +2 -2
  124. package/src/kisscomps/components/horizontalMenu/kissHorizontalMenu.vue +254 -254
  125. package/src/kisscomps/components/input/index.js +2 -2
  126. package/src/kisscomps/components/input/kissinput.vue +57 -57
  127. package/src/kisscomps/components/menu/index.js +2 -2
  128. package/src/kisscomps/components/menu/kissmenu.vue +324 -324
  129. package/src/kisscomps/components/mutipletips/Tdrag.js +585 -585
  130. package/src/kisscomps/components/mutipletips/index.js +2 -2
  131. package/src/kisscomps/components/mutipletips/kissmutipletips.vue +192 -192
  132. package/src/kisscomps/components/select/chosen.jquery.min.js +3 -3
  133. package/src/kisscomps/components/select/index.js +2 -2
  134. package/src/kisscomps/components/select/kissselect.vue +527 -527
  135. package/src/kisscomps/components/timectrl/KissTimeCtrl.vue +67 -67
  136. package/src/kisscomps/components/timectrl/index.js +2 -2
  137. package/src/kisscomps/components/tip/Tdrag.js +585 -585
  138. package/src/kisscomps/components/tip/index.js +2 -2
  139. package/src/kisscomps/components/tip/kisstips.1.vue +154 -154
  140. package/src/kisscomps/components/tip/kisstips.vue +154 -154
  141. package/src/kisscomps/components/tip/kisstips.vue.bak +211 -211
  142. package/src/kisscomps/index.js +73 -71
  143. package/src/main.js +23 -23
  144. package/src/router/index.js +15 -15
  145. package/src/views/home.1.vue +479 -479
  146. package/src/views/home.vue +196 -196
  147. package/test/e2e/custom-assertions/elementCount.js +27 -27
  148. package/test/e2e/nightwatch.conf.js +46 -46
  149. package/test/e2e/runner.js +48 -48
  150. package/test/e2e/specs/test.js +19 -19
  151. package/test/unit/.eslintrc +7 -7
  152. package/test/unit/jest.conf.js +30 -30
  153. package/test/unit/setup.js +3 -3
  154. package/test/unit/specs/HelloWorld.spec.js +11 -11
@@ -1,2 +1,2 @@
1
- import KissMutipleTips from './kissmutipletips.vue'
2
- export default KissMutipleTips
1
+ import KissMutipleTips from './kissmutipletips.vue'
2
+ export default KissMutipleTips
@@ -1,192 +1,192 @@
1
- <template>
2
- <div class="kissmutipletipscontainer">
3
- <button :class="bgclass" @click="handleCliked" :id="btnId" ref="btnbox"></button>
4
- <div ref="showbody" :class="divClass" :style="DiaglogStyleObj" v-if="isShow">
5
- <slot></slot>
6
- </div>
7
- </div>
8
- </template>
9
-
10
- <script>
11
- import $ from 'jquery'
12
- import './Tdrag.js'
13
- export default {
14
- name: 'kiss-mutiple-tips',
15
- props: {
16
- btnType: {
17
- type: String,
18
- default: 'kiss-mutipletips-chart-button-bg'
19
- },
20
- size: {
21
- type: String,
22
- default: 'medium' // large / medium / small
23
- },
24
- btnId: {
25
- type: Number,
26
- required: true
27
- },
28
- defaultShow: {
29
- type: Boolean,
30
- default: false
31
- },
32
- isTrag: {
33
- type: Boolean,
34
- default: true
35
- }
36
- },
37
- data () {
38
- return {
39
- bgclass: this.btnType,
40
- divClass: 'kiss-mutipletip-dialog-bg-large',
41
- clickflag: true,
42
- DiaglogStyleObj: {
43
- 'z-index': '100',
44
- 'position': 'absolute',
45
- 'left': '176px',
46
- 'top': '353px'
47
- // 'display': 'none'
48
- },
49
- isShow: false
50
- }
51
- },
52
- methods: {
53
- handleCliked (event) {
54
- if (this.clickflag) {
55
- this.bgclass = 'kiss-mutipletips-select-button-bg'
56
- this.clickflag = false
57
- let target = event.currentTarget
58
- let seatX = target.offsetLeft + target.offsetWidth - 424 - 11
59
- let seatY = target.offsetTop - 9
60
- this.DiaglogStyleObj.left = seatX + 'px'
61
- this.DiaglogStyleObj.top = seatY + 'px'
62
- this.isShow = true
63
- } else {
64
- this.isShow = false
65
- this.clickflag = true
66
- this.bgclass = this.btnType
67
- }
68
- }
69
- },
70
- mounted () {
71
- this.isShow = this.defaultShow
72
- let target = this.$refs.btnbox
73
- target.style.zIndex = 1000
74
- let seatX = target.offsetLeft + target.offsetWidth - 424
75
- let seatY = target.offsetTop
76
- this.DiaglogStyleObj.left = seatX + 'px'
77
- this.DiaglogStyleObj.top = seatY + 'px'
78
-
79
- var self = this
80
- if (this.isTrag) {
81
- $(function () {
82
- $('.' + self.btnType).Tdrag({})
83
- })
84
- }
85
- }
86
- }
87
- </script>
88
- <style>
89
- .kissmutipletipscontainer{
90
- width: auto;
91
- height: auto;
92
- margin: 0px;
93
- padding: 0px;
94
- }
95
- .kiss-mutipletips-message-button-bg{
96
- background: url("../image/mutipletips/messageshowclose.png") no-repeat;
97
- width: 60px;
98
- height: 60px;
99
- outline: none;
100
- border: none;
101
- }
102
- .kiss-mutipletips-chart-button-bg{
103
- background: url("../image/mutipletips/chartshowclose.png") no-repeat;
104
- width: 60px;
105
- height: 60px;
106
- outline: none;
107
- border: none;
108
- }
109
- .kiss-mutipletips-select-button-bg{
110
- background: url("../image/mutipletips/min.png") no-repeat;
111
- width: 40px;
112
- height: 40px;
113
- outline: none;
114
- border: none;
115
- }
116
- .kiss-mutipletip-dialog-bg-large{
117
- background: url("../image/mutipletips/mutiplebglarge.png") no-repeat;
118
- width: 424px;
119
- height: 988px;
120
- animation: bounceInRight 1.3s ;
121
- }
122
-
123
- .kiss-mutipletip-dialog-bg-medium{
124
- background: url("../image/mutipletips/mutiplebgmid.png") no-repeat;
125
- width: 456px;
126
- height: 633px;
127
- animation: bounceInRight 1.3s ;
128
- }
129
-
130
- .kiss-mutipletip-dialog-bg-small{
131
- background: url("../image/mutipletips/mutiplebgmid.png") no-repeat;
132
- width: 424px;
133
- height: 988px;
134
- animation: bounceInRight 1.3s ;
135
- }
136
-
137
- .kiss-mutipletip-dialog-bg-remove{
138
- animation: bounceInDown 1.3s ;
139
- }
140
- @-webkit-keyframes bounceInDown {
141
- from,
142
- 60%,
143
- 75%,
144
- 90%,
145
- to {
146
- -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
147
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
148
- }
149
-
150
- 0% {
151
- opacity: 0;
152
- -webkit-transform: translate3d(0, -100px, 0);
153
- transform: translate3d(0, -100px, 0);
154
- }
155
- 60% {
156
- opacity: 1;
157
- -webkit-transform: translate3d(0, 25px, 0);
158
- transform: translate3d(0, 25px, 0);
159
- }
160
-
161
- 75% {
162
- -webkit-transform: translate3d(0, -10px, 0);
163
- transform: translate3d(0, -10px, 0);
164
- }
165
-
166
- 90% {
167
- -webkit-transform: translate3d(0, 5px, 0);
168
- transform: translate3d(0, 5px, 0);
169
- }
170
-
171
- to {
172
- -webkit-transform: translate3d(0, 0, 0);
173
- transform: translate3d(0, 0, 0);
174
- }
175
- }
176
- @keyframes bounceInRight {
177
- from,
178
- to {
179
- -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
180
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
181
- }
182
- from {
183
- opacity: 0;
184
- -webkit-transform: translate3d(100px, 0, 0);
185
- transform: translate3d(100px, 0, 0);
186
- }
187
- to {
188
- -webkit-transform: translate3d(0, 0, 0);
189
- transform: translate3d(0, 0, 0);
190
- }
191
- }
192
- </style>
1
+ <template>
2
+ <div class="kissmutipletipscontainer">
3
+ <button :class="bgclass" @click="handleCliked" :id="btnId" ref="btnbox"></button>
4
+ <div ref="showbody" :class="divClass" :style="DiaglogStyleObj" v-if="isShow">
5
+ <slot></slot>
6
+ </div>
7
+ </div>
8
+ </template>
9
+
10
+ <script>
11
+ import $ from 'jquery'
12
+ import './Tdrag.js'
13
+ export default {
14
+ name: 'kiss-mutiple-tips',
15
+ props: {
16
+ btnType: {
17
+ type: String,
18
+ default: 'kiss-mutipletips-chart-button-bg'
19
+ },
20
+ size: {
21
+ type: String,
22
+ default: 'medium' // large / medium / small
23
+ },
24
+ btnId: {
25
+ type: Number,
26
+ required: true
27
+ },
28
+ defaultShow: {
29
+ type: Boolean,
30
+ default: false
31
+ },
32
+ isTrag: {
33
+ type: Boolean,
34
+ default: true
35
+ }
36
+ },
37
+ data () {
38
+ return {
39
+ bgclass: this.btnType,
40
+ divClass: 'kiss-mutipletip-dialog-bg-large',
41
+ clickflag: true,
42
+ DiaglogStyleObj: {
43
+ 'z-index': '100',
44
+ 'position': 'absolute',
45
+ 'left': '176px',
46
+ 'top': '353px'
47
+ // 'display': 'none'
48
+ },
49
+ isShow: false
50
+ }
51
+ },
52
+ methods: {
53
+ handleCliked (event) {
54
+ if (this.clickflag) {
55
+ this.bgclass = 'kiss-mutipletips-select-button-bg'
56
+ this.clickflag = false
57
+ let target = event.currentTarget
58
+ let seatX = target.offsetLeft + target.offsetWidth - 424 - 11
59
+ let seatY = target.offsetTop - 9
60
+ this.DiaglogStyleObj.left = seatX + 'px'
61
+ this.DiaglogStyleObj.top = seatY + 'px'
62
+ this.isShow = true
63
+ } else {
64
+ this.isShow = false
65
+ this.clickflag = true
66
+ this.bgclass = this.btnType
67
+ }
68
+ }
69
+ },
70
+ mounted () {
71
+ this.isShow = this.defaultShow
72
+ let target = this.$refs.btnbox
73
+ target.style.zIndex = 1000
74
+ let seatX = target.offsetLeft + target.offsetWidth - 424
75
+ let seatY = target.offsetTop
76
+ this.DiaglogStyleObj.left = seatX + 'px'
77
+ this.DiaglogStyleObj.top = seatY + 'px'
78
+
79
+ var self = this
80
+ if (this.isTrag) {
81
+ $(function () {
82
+ $('.' + self.btnType).Tdrag({})
83
+ })
84
+ }
85
+ }
86
+ }
87
+ </script>
88
+ <style>
89
+ .kissmutipletipscontainer{
90
+ width: auto;
91
+ height: auto;
92
+ margin: 0px;
93
+ padding: 0px;
94
+ }
95
+ .kiss-mutipletips-message-button-bg{
96
+ background: url("../image/mutipletips/messageshowclose.png") no-repeat;
97
+ width: 60px;
98
+ height: 60px;
99
+ outline: none;
100
+ border: none;
101
+ }
102
+ .kiss-mutipletips-chart-button-bg{
103
+ background: url("../image/mutipletips/chartshowclose.png") no-repeat;
104
+ width: 60px;
105
+ height: 60px;
106
+ outline: none;
107
+ border: none;
108
+ }
109
+ .kiss-mutipletips-select-button-bg{
110
+ background: url("../image/mutipletips/min.png") no-repeat;
111
+ width: 40px;
112
+ height: 40px;
113
+ outline: none;
114
+ border: none;
115
+ }
116
+ .kiss-mutipletip-dialog-bg-large{
117
+ background: url("../image/mutipletips/mutiplebglarge.png") no-repeat;
118
+ width: 424px;
119
+ height: 988px;
120
+ animation: bounceInRight 1.3s ;
121
+ }
122
+
123
+ .kiss-mutipletip-dialog-bg-medium{
124
+ background: url("../image/mutipletips/mutiplebgmid.png") no-repeat;
125
+ width: 456px;
126
+ height: 633px;
127
+ animation: bounceInRight 1.3s ;
128
+ }
129
+
130
+ .kiss-mutipletip-dialog-bg-small{
131
+ background: url("../image/mutipletips/mutiplebgmid.png") no-repeat;
132
+ width: 424px;
133
+ height: 988px;
134
+ animation: bounceInRight 1.3s ;
135
+ }
136
+
137
+ .kiss-mutipletip-dialog-bg-remove{
138
+ animation: bounceInDown 1.3s ;
139
+ }
140
+ @-webkit-keyframes bounceInDown {
141
+ from,
142
+ 60%,
143
+ 75%,
144
+ 90%,
145
+ to {
146
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
147
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
148
+ }
149
+
150
+ 0% {
151
+ opacity: 0;
152
+ -webkit-transform: translate3d(0, -100px, 0);
153
+ transform: translate3d(0, -100px, 0);
154
+ }
155
+ 60% {
156
+ opacity: 1;
157
+ -webkit-transform: translate3d(0, 25px, 0);
158
+ transform: translate3d(0, 25px, 0);
159
+ }
160
+
161
+ 75% {
162
+ -webkit-transform: translate3d(0, -10px, 0);
163
+ transform: translate3d(0, -10px, 0);
164
+ }
165
+
166
+ 90% {
167
+ -webkit-transform: translate3d(0, 5px, 0);
168
+ transform: translate3d(0, 5px, 0);
169
+ }
170
+
171
+ to {
172
+ -webkit-transform: translate3d(0, 0, 0);
173
+ transform: translate3d(0, 0, 0);
174
+ }
175
+ }
176
+ @keyframes bounceInRight {
177
+ from,
178
+ to {
179
+ -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
180
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
181
+ }
182
+ from {
183
+ opacity: 0;
184
+ -webkit-transform: translate3d(100px, 0, 0);
185
+ transform: translate3d(100px, 0, 0);
186
+ }
187
+ to {
188
+ -webkit-transform: translate3d(0, 0, 0);
189
+ transform: translate3d(0, 0, 0);
190
+ }
191
+ }
192
+ </style>
@@ -1,2 +1,2 @@
1
- import KissPanel from './kissPanel.vue'
2
- export default KissPanel
1
+ import KissPanel from './kissPanel.vue'
2
+ export default KissPanel