bkui-vue 0.0.1-beta.366 → 0.0.1-beta.368

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 (52) hide show
  1. package/dist/index.cjs.js +51 -51
  2. package/dist/index.esm.js +136 -153
  3. package/dist/index.umd.js +50 -50
  4. package/lib/breadcrumb/breadcrumb.css +1 -1
  5. package/lib/breadcrumb/breadcrumb.variable.css +6 -6
  6. package/lib/card/card.css +1 -1
  7. package/lib/card/card.variable.css +5 -5
  8. package/lib/color-picker/index.js +1 -1
  9. package/lib/container/container.css +1 -1
  10. package/lib/container/container.variable.css +1 -1
  11. package/lib/date-picker/base/date-table.d.ts +1 -7
  12. package/lib/date-picker/base/time-spinner.d.ts +1 -3
  13. package/lib/date-picker/date-picker.less +75 -75
  14. package/lib/date-picker/index.js +1 -1
  15. package/lib/dialog/dialog.less +19 -20
  16. package/lib/dialog/dialog.variable.css +120 -0
  17. package/lib/dialog/index.js +1 -1
  18. package/lib/directives/index.js +1 -1
  19. package/lib/info-box/index.js +1 -1
  20. package/lib/info-box/info-box.less +10 -9
  21. package/lib/info-box/info-box.variable.css +120 -0
  22. package/lib/input/index.js +1 -1
  23. package/lib/input/input.css +1 -1
  24. package/lib/input/input.variable.css +60 -61
  25. package/lib/loading/loading.css +1 -1
  26. package/lib/loading/loading.variable.css +17 -17
  27. package/lib/menu/menu.css +1 -1
  28. package/lib/menu/menu.variable.css +19 -19
  29. package/lib/modal/index.js +1 -1
  30. package/lib/modal/modal.less +4 -3
  31. package/lib/modal/modal.variable.css +120 -0
  32. package/lib/progress/progress.css +1 -1
  33. package/lib/progress/progress.variable.css +5 -5
  34. package/lib/search-select/search-select.css +1 -1
  35. package/lib/search-select/search-select.variable.css +35 -35
  36. package/lib/select/index.js +1 -1
  37. package/lib/select/select.css +1 -2
  38. package/lib/select/select.less +34 -35
  39. package/lib/select/select.variable.css +1 -2
  40. package/lib/shared/helper.d.ts +9 -0
  41. package/lib/shared/index.js +1 -1
  42. package/lib/styles/mixins/mixins.css +1 -1
  43. package/lib/styles/mixins/mixins.variable.css +1 -1
  44. package/lib/styles/mixins/popper.css +1 -1
  45. package/lib/styles/mixins/popper.less +12 -11
  46. package/lib/styles/mixins/popper.variable.css +121 -1
  47. package/lib/switcher/switcher.css +1 -1
  48. package/lib/switcher/switcher.variable.css +18 -18
  49. package/lib/table/index.js +1 -1
  50. package/lib/upload/upload.css +1 -1
  51. package/lib/upload/upload.variable.css +28 -28
  52. package/package.json +1 -2
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  .@{bk-prefix}-select {
45
- .bk-select-icon(@fontSize: 20px, @color: #979ba5) {
45
+ .select-icon(@fontSize: 20px, @color: #979ba5) {
46
46
  display: flex;
47
47
  align-items: center;
48
48
  justify-content: center;
@@ -72,7 +72,7 @@
72
72
  .active(@color: @primary-color) {
73
73
  border-color: @primary-color;
74
74
  outline: 0;
75
- box-shadow: 0px 0px 3px 0px @input-shadow-color;
75
+ box-shadow: 0 0 3px 0 @input-shadow-color;
76
76
  }
77
77
 
78
78
  .mr5 {
@@ -91,23 +91,23 @@
91
91
  }
92
92
 
93
93
  &.large {
94
- .bk-select-content-wrapper {
94
+ .@{bk-prefix}-select-content-wrapper {
95
95
  font-size: 14px;
96
96
  }
97
97
  }
98
98
 
99
99
  &.is-focus.normal {
100
- .bk-select-trigger .bk-select-tag.bk-select-tag--default {
100
+ .@{bk-prefix}-select-trigger .@{bk-prefix}-select-tag.@{bk-prefix}-select-tag--default {
101
101
  border-color: @primary-color;
102
102
  box-shadow: 0px 0px 3px 0px #a3c5fd;
103
103
  }
104
104
  }
105
105
 
106
- &.is-focus .bk-input--default {
106
+ &.is-focus .@{bk-prefix}-input--default {
107
107
  border-color: @primary-color;
108
108
  outline: 0;
109
109
  box-shadow: 0px 0px 3px 0px @input-shadow-color;
110
-
110
+
111
111
  &.is-simplicity {
112
112
  border-color: transparent;
113
113
  border-bottom-color: @primary-color;
@@ -119,19 +119,19 @@
119
119
  }
120
120
 
121
121
  &.popover-show {
122
- .bk-select-trigger .angle-up {
122
+ .@{bk-prefix}-select-trigger .angle-up {
123
123
  transform: rotate(0);
124
124
  }
125
125
  }
126
126
 
127
127
  &.is-disabled {
128
- .bk-input--text {
128
+ .@{bk-prefix}-input--text {
129
129
  cursor: not-allowed;
130
130
  background-color: #fafbfd;
131
131
  }
132
132
  }
133
133
 
134
- .bk-input {
134
+ .@{bk-prefix}-input {
135
135
  &.is-focused {
136
136
  .active();
137
137
 
@@ -143,27 +143,27 @@
143
143
  }
144
144
  }
145
145
 
146
- .bk-input--text {
146
+ .@{bk-prefix}-input--text {
147
147
  .ellipsis();
148
148
  padding-right: 24px;
149
149
  cursor: pointer;
150
- background-color: @white-color;
150
+ background-color: @white-color;
151
151
  }
152
152
 
153
- .bk-select-trigger {
153
+ .@{bk-prefix}-select-trigger {
154
154
  position: relative;
155
155
 
156
- .bk-tag-input .bk-tag-input-trigger .clear-icon {
156
+ .@{bk-prefix}-tag-input .@{bk-prefix}-tag-input-trigger .clear-icon {
157
157
  margin-right: 0;
158
158
  }
159
159
 
160
- .bk-select-tag {
160
+ .@{bk-prefix}-select-tag {
161
161
  .input();
162
162
  display: flex;
163
163
  width: auto;
164
164
  align-items: center;
165
165
 
166
- &.collapse-tag .bk-select-tag-wrapper {
166
+ &.collapse-tag .@{bk-prefix}-select-tag-wrapper {
167
167
  height: 30px;
168
168
  }
169
169
 
@@ -196,14 +196,14 @@
196
196
  cursor: not-allowed;
197
197
  }
198
198
 
199
- .bk-tag {
199
+ .@{bk-prefix}-tag {
200
200
  cursor: not-allowed;
201
201
 
202
202
  &:hover {
203
203
  background-color: #f0f1f5;
204
204
  }
205
205
 
206
- .bk-tag-close {
206
+ .@{bk-prefix}-tag-close {
207
207
  cursor: not-allowed;
208
208
  }
209
209
  }
@@ -221,7 +221,7 @@
221
221
  flex-grow: 1;
222
222
  }
223
223
 
224
- .bk-tag {
224
+ .@{bk-prefix}-tag {
225
225
  max-width: 190px;
226
226
  padding: 0 4px;
227
227
  }
@@ -231,7 +231,7 @@
231
231
  right: 4px;
232
232
  transform: rotate(180deg);
233
233
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
234
- .bk-select-icon();
234
+ .select-icon();
235
235
  .fix-icon();
236
236
  }
237
237
 
@@ -239,7 +239,7 @@
239
239
  right: 4px;
240
240
  cursor: pointer;
241
241
  transition: all .1s;
242
- .bk-select-icon(14px, #c4c6cc);
242
+ .select-icon(14px, #c4c6cc);
243
243
  .fix-icon();
244
244
 
245
245
  &:hover {
@@ -256,14 +256,14 @@
256
256
 
257
257
  .@{bk-prefix}-popover {
258
258
  &.@{bk-prefix}-pop2-content {
259
- &.bk-select-popover {
259
+ &.@{bk-prefix}-select-popover {
260
260
  padding: 0;
261
261
  border: 1px solid @disable-color;
262
262
  border-radius: 2px;
263
263
  box-shadow: 0 2px 6px 0 rgba(0,0,0,.10);
264
264
 
265
- .bk-select-content-wrapper {
266
- .bk-select-empty {
265
+ .@{bk-prefix}-select-content-wrapper {
266
+ .@{bk-prefix}-select-empty {
267
267
  .flex-center();
268
268
  height: 56px;
269
269
  color: #63656e;
@@ -284,11 +284,11 @@
284
284
  }
285
285
  }
286
286
 
287
- .bk-select-dropdown {
287
+ .@{bk-prefix}-select-dropdown {
288
288
  overflow: auto;
289
289
  }
290
290
 
291
- .bk-select-extension {
291
+ .@{bk-prefix}-select-extension {
292
292
  display: flex;
293
293
  height: 40px;
294
294
  background-color: #fafbfd;
@@ -297,11 +297,11 @@
297
297
  border-radius: 0 0 2px 2px;
298
298
  }
299
299
 
300
- .bk-select-options {
300
+ .@{bk-prefix}-select-options {
301
301
  padding: 4px 0;
302
302
  }
303
303
 
304
- .bk-select-option {
304
+ .@{bk-prefix}-select-option {
305
305
  position: relative;
306
306
  height: 32px;
307
307
  padding: 0 12px;
@@ -313,7 +313,7 @@
313
313
 
314
314
  .ellipsis();
315
315
 
316
- .bk-select-selected-icon {
316
+ .@{bk-prefix}-select-selected-icon {
317
317
  position: absolute;
318
318
  right: 10px;
319
319
  }
@@ -360,7 +360,7 @@
360
360
  }
361
361
  }
362
362
 
363
- .bk-select-options-loading {
363
+ .@{bk-prefix}-select-options-loading {
364
364
  .flex-center();
365
365
 
366
366
  span {
@@ -368,7 +368,7 @@
368
368
  }
369
369
  }
370
370
 
371
- .bk-option-group {
371
+ .@{bk-prefix}-option-group {
372
372
  &-label {
373
373
  height: 32px;
374
374
  padding: 0 8px;
@@ -382,7 +382,7 @@
382
382
  }
383
383
 
384
384
  &.collapsible {
385
- .bk-select-option {
385
+ .@{bk-prefix}-select-option {
386
386
  padding-left: 40px;
387
387
  }
388
388
  }
@@ -414,15 +414,14 @@
414
414
  }
415
415
  }
416
416
 
417
- .bk-select-option {
417
+ .@{bk-prefix}-select-option {
418
418
  padding-left: 24px;
419
419
  }
420
420
  }
421
421
 
422
- .bk-select-search-wrapper {
422
+ .@{bk-prefix}-select-search-wrapper {
423
423
  display: flex;
424
424
  margin: 4px 8px 0 8px;
425
- margin-top: 4px;
426
425
  border-bottom: 1px solid @input-block-hover-color;
427
426
  align-items: center;
428
427
 
@@ -431,7 +430,7 @@
431
430
  color: @gray-color;
432
431
  }
433
432
 
434
- .bk-select-search-input {
433
+ .@{bk-prefix}-select-search-input {
435
434
  .input();
436
435
  padding: 0 8px;
437
436
  cursor: text;
@@ -181,7 +181,7 @@
181
181
  .bk-select .bk-input.is-focused {
182
182
  border-color: var(--primary-color);
183
183
  outline: 0;
184
- box-shadow: 0px 0px 3px 0px var(--input-shadow-color);
184
+ box-shadow: 0 0 3px 0 var(--input-shadow-color);
185
185
  }
186
186
  .bk-select .bk-input.is-focused.is-simplicity {
187
187
  border-color: transparent;
@@ -484,7 +484,6 @@
484
484
  .bk-popover.bk-pop2-content.bk-select-popover .bk-select-content-wrapper .bk-select-search-wrapper {
485
485
  display: flex;
486
486
  margin: 4px 8px 0 8px;
487
- margin-top: 4px;
488
487
  border-bottom: 1px solid var(--input-block-hover-color);
489
488
  align-items: center;
490
489
  }
@@ -90,3 +90,12 @@ export declare function mergerIfFn(key: string, target: any, source: any): void;
90
90
  * @returns
91
91
  */
92
92
  export declare function isElement(obj: any): boolean;
93
+ /**
94
+ * Whether the text content is clipped due to CSS overflow, as in showing `...`.
95
+ */
96
+ export declare function hasOverflowEllipsis(element: HTMLElement): boolean;
97
+ /**
98
+ * Sets the `title` attribute in the event's element target, when the text
99
+ * content is clipped due to CSS overflow, as in showing `...`.
100
+ */
101
+ export declare function maybeShowTooltip(target: HTMLElement, title: string): void;
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@popperjs/core"),require("lodash"),require("vue-types"),require("vue"));else if("function"==typeof define&&define.amd)define(["@popperjs/core","lodash","vue-types","vue"],t);else{var n="object"==typeof exports?t(require("@popperjs/core"),require("lodash"),require("vue-types"),require("vue")):t(e["@popperjs/core"],e.lodash,e["vue-types"],e.vue);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r)=>(()=>{var i={8022:(e,t,n)=>{var r=n(4481),i=n(6426),o=i;o.v1=r,o.v4=i,e.exports=o},8725:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},9157:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},4481:(e,t,n)=>{var r,i,o=n(9157),a=n(8725),s=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,l=t||[],p=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:i;if(null==p||null==f){var d=o();null==p&&(p=r=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=i=16383&(d[6]<<8|d[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:u+1,y=h-s+(v-u)/1e4;if(y<0&&void 0===e.clockseq&&(f=f+1&16383),(y<0||h>s)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,u=v,i=f;var g=(1e4*(268435455&(h+=122192928e5))+v)%4294967296;l[c++]=g>>>24&255,l[c++]=g>>>16&255,l[c++]=g>>>8&255,l[c++]=255&g;var m=h/4294967296*1e4&268435455;l[c++]=m>>>8&255,l[c++]=255&m,l[c++]=m>>>24&15|16,l[c++]=m>>>16&255,l[c++]=f>>>8|128,l[c++]=255&f;for(var b=0;b<6;++b)l[c+b]=p[b];return t||a(l)}},6426:(e,t,n)=>{var r=n(9157),i=n(8725);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},5798:t=>{"use strict";t.exports=e},467:e=>{"use strict";e.exports=t},748:e=>{"use strict";e.exports=r},210:e=>{"use strict";e.exports=n}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i,o;a.r(s),a.d(s,{AlignEnum:()=>J,BKLAYERD_INDEX_EFAULT_VALUE:()=>u,BKLAYERTYPE:()=>o,BKPopIndexManager:()=>B,BKPopover:()=>M,BkMaskManager:()=>_,DialogTypeEnum:()=>te,DirectionEnum:()=>ne,EMPTY_OBJ:()=>Me,InputBehaviorEnum:()=>oe,InputBehaviorType:()=>ge,LineStyleEnum:()=>re,PlacementEnum:()=>X,Placements:()=>Y,PropTypes:()=>be,RenderDirectiveEnum:()=>Z,RenderType:()=>ee,SizeEnum:()=>K,TagThemeEnum:()=>ie,TagThemeType:()=>ye,ThemeEnum:()=>$,TriggerEnum:()=>Q,alignType:()=>ce,arrayEqual:()=>_e,bKMaskManager:()=>V,bkPopIndexManager:()=>H,bkZIndexManager:()=>c,capitalize:()=>U,checkOverflow:()=>F,classes:()=>Le,clone:()=>I,debounce:()=>Ue,dialogTypeUnion:()=>de,directionType:()=>he,elementsEqual:()=>O,filterProperty:()=>Fe,finiteOrDefault:()=>k,formItemKey:()=>Oe,formKey:()=>Te,getPopContainerId:()=>j,isArray:()=>g,isElement:()=>L,isEmpty:()=>y,isEmptyObj:()=>Pe,isFinite:()=>b,isNullOrUndef:()=>v,isObject:()=>m,lineStyleType:()=>ve,merge:()=>w,mergeIf:()=>x,mergerFn:()=>S,mergerIfFn:()=>A,noop:()=>Re,observerResize:()=>D,off:()=>xe,on:()=>we,placementType:()=>le,random:()=>C,renderDirectiveType:()=>ue,renderEmptyVNode:()=>je,renderType:()=>fe,resolveClassName:()=>De,scrollTop:()=>Ae,scrollbarWidth:()=>ke,stringEnum:()=>se,triggerType:()=>pe,useForm:()=>Ee,useFormItem:()=>Se,valueOrDefault:()=>T,withInstall:()=>Ne,withInstallProps:()=>Ce}),function(e){e.BOTTOM="bottom",e.CONTENT="content",e.NAVI="navi",e.FULLSCREEN="fullScreen",e.PLUGINS="plugins",e.MODAL="modal",e.MESSAGE="message",e.POPPER="popper"}(o||(o={}));var u=(r(i={},o.BOTTOM,0),r(i,o.CONTENT,1),r(i,o.NAVI,100),r(i,o.FULLSCREEN,1e3),r(i,o.MODAL,3e3),r(i,o.PLUGINS,8e3),r(i,o.MESSAGE,1e4),r(i,o.POPPER,99999),i),c=new(function(){function t(){e(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return n(t,[{key:"getNextIndex",value:function(e){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e)?(this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e]):(this.storageLayerIndexValue[o.MODAL]=this.storageLayerIndexValue[o.MODAL]+1,this.storageLayerIndexValue[o.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(o.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(o.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(o.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(o.NAVI)}},{key:"getPopperIndex",value:function(){return u.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,r({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,r({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(u).reduce((function(e,t){return Object.assign(e,r({},t,{value:u[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(u,e)}}]),t}());function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=a(8022),h=a(5798);function v(e){return null==e}function y(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&v(e)}function g(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function m(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var b=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function k(e,t){return b(e)?e:t}function T(e,t){return void 0===e?t:e}function O(e,t){var n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function I(e){if(g(e))return e.map(I);if(m(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=I(e[n[i]]);return t}return e}function E(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function S(e,t,n,r){if(E(e)){var i=t[e],o=n[e];m(i)&&m(o)?w(i,o,r):t[e]=I(o)}}function w(e,t,n){var r=g(t)?t:[t],i=r.length;if(!m(e))return e;for(var o=(n=n||{}).merger||S,a=0;a<i;++a)if(m(t=r[a]))for(var s=Object.keys(t),u=0,c=s.length;u<c;++u)o(s[u],e,t,n);return e}function x(e,t){return w(e,t,{merger:A})}function A(e,t,n){if(E(e)){var r=t[e],i=n[e];m(r)&&m(i)?x(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=I(i))}}function L(e){try{return e instanceof HTMLElement}catch(t){return"object"===l(e)&&1===e.nodeType&&"object"===l(e.style)&&"object"===l(e.ownerDocument)}}var M=function(){function t(n,r,i){var o,a;e(this,t),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.always=!1,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.afterShow=null,this.afterHidden=null,this.appendTo="parent",this.container=null,this.fixOnBoundary=!1,this.instanceOptions=this.initDefaultOptions(i),this.reference=this.resolveInputSelectorToHtmlElement(n),this.popperRefer=this.resolveInputSelectorToHtmlElement(r),this.referenceTarget=this.getTargetReferenceElement(),this.container=null===(o=this.popperRefer)||void 0===o?void 0:o.parentElement,this.isShow=!!(null===(a=this.instanceOptions)||void 0===a?void 0:a.isShow),this.always=this.instanceOptions.always,this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.appendTo=this.instanceOptions.appendTo,this.afterHidden="function"==typeof i.afterHidden?i.afterHidden:function(){},this.afterShow="function"==typeof i.afterShow?i.afterShow:function(){},this.fixOnBoundary=this.instanceOptions.fixOnBoundary,this.initInstance(),this.registerEvents(),(this.isShow||this.always)&&this.show(null)}return n(t,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"updateOptions",value:function(e){var t;this.instanceOptions=this.initDefaultOptions(e),this.isShow=!!(null===(t=this.instanceOptions)||void 0===t?void 0:t.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.setOptions(this.instanceOptions)}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide()}},{key:"show",value:function(e){var t;this.disabled||(null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(f(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0,this.afterShow(),this.fixOnBoundary||this.appendToTarget())}},{key:"hide",value:function(){var e;this.always||(null===(e=this.popperRefer)||void 0===e||e.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(f(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1,this.afterHidden(),this.fixOnBoundary||this.restorePopContent())}},{key:"restorePopContent",value:function(){var e=this.getAppendToTarget();L(e)&&e.contains(this.popperRefer)&&this.container&&!this.container.contains(this.popperRefer)&&this.container.append(this.popperRefer)}},{key:"appendToTarget",value:function(){var e=this.getAppendToTarget();L(e)&&e.contains(this.popperRefer)&&e.append(this.popperRefer)}},{key:"getAppendToTarget",value:function(){var e=this.appendTo,t=e;return"parent"!==e&&"string"==typeof e&&(t=document.querySelector(e)),t}},{key:"initDefaultOptions",value:function(e){var t=this,n=w({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{}),r=n.onFirstUpdate;return n.onFirstUpdate=function(e){"function"==typeof r&&(r.call(t,e),t.handleFirstUpdate())},n}},{key:"handleFirstUpdate",value:function(){this.fixOnBoundary&&this.appendToTarget()}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=(0,h.createPopper)(this.referenceTarget,this.popperRefer,this.instanceOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.instanceOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===l(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){return L(e)}},{key:"registerEvents",value:function(){var e=this;this.isElement(this.referenceTarget)&&"hover"===this.trigger&&(["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide()}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide()}))}))),"click"===this.trigger&&["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):!e.isShow||e.isSameElement(t.target,e.popperRefer)||e.popperRefer.contains(t.target)||e.hide()}))}))}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),t}(),R=null,j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#";if(null===R){R="id_".concat((0,d.v4)());var t=document.createElement("div");t.setAttribute("id",R),t.setAttribute("data-popper-id",R),document.body.append(t)}return"".concat(e).concat(R)},P=a(467),N="abcdefghijklmnopqrstuvwxyz0123456789",C=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N,n="",r=0;r<e;r++)n+=t[parseInt((Math.random()*t.length).toString(),10)];return n},D=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=(0,P.throttle)((function(){"function"==typeof t&&t()}),n),o=new ResizeObserver((function(){i()}));return r&&"function"==typeof t&&t(),{start:function(){o.observe(e)},stop:function(){o.disconnect(),o.unobserve(e)}}},U=function(e){return e[0].toUpperCase()+e.slice(1)};function F(e){if(!e)return!1;var t=!1;try{var n=window.getComputedStyle(e,null);if("none"!==n.webkitLineClamp){var r=parseFloat(n.height),i=function(e,t){var n=document.createElement("div"),r=parseFloat(t.width)?"".concat(Math.ceil(parseFloat(t.width)),"px"):t.width;return n.style.cssText="\n width: ".concat(r,";\n line-height: ").concat(t["line-height"],";\n font-size: ").concat(t["font-size"],";\n word-break: ").concat(t["word-break"],";\n padding: ").concat(t.padding,";\n "),n.textContent=e.textContent,n}(e,n);document.body.appendChild(i);var o=window.getComputedStyle(i,null).height;document.body.removeChild(i),t=r<parseFloat(o)}else t=e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight}catch(e){console.warn("There is an error when check element overflow state: ",e)}return t}var _=function(){function t(n){e(this,t),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.zIndexStore=new Map,this.lastUUID=null,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var r=n||{},i=r.multiInstance,o=void 0!==i&&i,a=r.maskAttrTag,s=void 0===a?"auto":a,u=r.parentNode,c=void 0===u?document.body:u,l=r.maskStyle,p=void 0===l?{}:l,f=r.onClick,d=void 0===f?null:f;this.onClick=d,this.activeInstance=void 0,this.multiInstance=o,this.uniqueMaskAttrTag=this.getMaskAttrTag(s),this.parentNode=c||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle(Object.assign({},this.maskStyle,p))}return n(t,[{key:"setOption",value:function(e){var t=e||{},n=t.parentNode,r=void 0===n?document.body:n,i=t.maskStyle,o=void 0===i?{}:i,a=t.onClick,s=void 0===a?null:a;this.onClick=s,this.parentNode=r||document,this.setMaskStyle(Object.assign({},this.maskStyle,o))}},{key:"show",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=null!=i?i:C(16),s=/-?\d+/.test("".concat(t))?t:c.getModalNextIndex(),u=Object.assign({},this.maskStyle,r||{});if(!n&&this.lastUUID){var l=this.zIndexStore.get(this.lastUUID);u=l.style}this.storeMaskInsCfg({zIndex:s,style:Object.assign({},u),uuid:a,preUID:this.lastUUID}),this.setMaskStyle(u),this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(s)),this.backupMask.style.setProperty("z-index","".concat(s-1)),e&&(o&&e.style.setProperty("z-index","".concat(s+1)),this.activeInstance=e,o||this.appendContentToMask(e))}},{key:"hide",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=null!=r?r:this.lastUUID;this.mask.style.setProperty("display","none"),t||(null==n||n.remove(),null===(e=this.activeInstance)||void 0===e||e.remove()),this.activeInstance=void 0,this.popIndexStore(i)}},{key:"storeMaskInsCfg",value:function(e){return this.zIndexStore.set(e.uuid,e),this.lastUUID=e.uuid,this.zIndexStore.get(e.uuid)}},{key:"popIndexStore",value:function(e){if(this.zIndexStore.has(e)){var t=this.zIndexStore.get(e);return this.lastUUID=t.preUID,this.zIndexStore.delete(e)}return this.lastUUID=null,!1}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){var e=this;if(this.multiInstance)return this.createMask();var t=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return t||(t=this.createMask()).addEventListener("click",(function(n){n.target===t&&"function"==typeof e.onClick&&Reflect.apply(e.onClick,e,[n])}),!0),t}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.mask&&Object.entries(t).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat(C(16)):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),t}(),V=new _({}),B=function(){function t(){var n=this;e(this,t),this.getActiveClickFnIndex=function(e){return n.clickFn.findIndex((function(t){return r=t.target,"string"==typeof e?r.getAttribute(n.uuidAttrName)===e:r===e;var r}))},this.getActiveClickFn=function(e){var t;return null===(t=n.clickFn[n.getActiveClickFnIndex(e)])||void 0===t?void 0:t.fn},this.popInstanceList=[],this.clickFn=[],this.uuidAttrName="data-bk-pop-uuid",this.activePopId=null,V.setOption({onClick:this.onMaskClickFn.bind(this)})}return n(t,[{key:"onMaskClick",value:function(e,t){this.clickFn.push({fn:e,target:t})}},{key:"show",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;if(e){var o="number"==typeof i?i:c.getModalNextIndex(),a=C(16);e.setAttribute(this.uuidAttrName,a),this.popInstanceList.push({uuid:a,zIndex:o,content:e,showMask:t,appendStyle:n}),t&&V.backupActiveInstance(),V.show(e,o,t,n,a,r),this.activePopId=a}else console.warn("pop show error: content is null or undefined")}},{key:"destroy",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getActiveClickFnIndex(e);r>=0&&(null===(t=this.clickFn)||void 0===t||t.splice(r,1)),this.hide(e,n)}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();V.popIndexStore(t.uuid),t.remove(),this.activePopId=null}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0],r=n.zIndex,i=n.content,o=n.showMask,a=n.appendStyle,s=n.uuid;V.show(i,r,o,a,s),this.activePopId=s}else V.hide(),this.activePopId=null,this.clickFn.length=0}}},{key:"hide",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null==e?void 0:e.getAttribute(this.uuidAttrName);if(n){var r=this.popInstanceList.findIndex((function(e){return e.uuid===n}));r>=0&&(t||this.popInstanceList[r].content.remove(),this.popInstanceList.splice(r,1),V.popIndexStore(n),this.popInstanceList.length?this.popHide(!1):(V.hide(t),this.activePopId=null,this.clickFn.length=0))}else null==e||e.remove()}},{key:"onMaskClickFn",value:function(e){var t=this.getActiveClickFn(this.activePopId);t&&Reflect.apply(t,this,[e])}}]),t}(),H=new B;function z(e,t){return z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},z(e,t)}function q(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function G(e){return G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},G(e)}var W=a(210);var K,Y,Z,J,$,X,Q,ee,te,ne,re,ie,oe,ae=(0,W.createTypes)({});function se(e){return e.reduce((function(e,t){return e[t]=t,e}),Object.create(null))}function ue(){return(0,W.toType)("renderDirective",{default:Z.SHOW})}function ce(){return(0,W.toType)("align",{default:J.LEFT}).def(J.LEFT)}function le(){return(0,W.toType)("placement",{}).def(X.BOTTOM)}function pe(){return(0,W.toType)("trigger",{}).def(Q.HOVER)}function fe(){return(0,W.toType)("trigger",{}).def(ee.AUTO)}function de(){return(0,W.toType)("dialogType",{default:te.OPERATION})}function he(){return(0,W.toType)("direction",{}).def(ne.HORIZONTAL)}function ve(){return(0,W.toType)("lineType",{}).def(re.DASHED)}function ye(){return(0,W.toType)("tagTheme",{}).def()}function ge(){return(0,W.toType)("behavior",{}).def(oe.NORMAL)}!function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(K||(K={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(Y||(Y={})),function(e){e.IF="if",e.SHOW="show"}(Z||(Z={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(J||(J={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}($||($={})),function(e){e.AUTO="auto",e.AUTO_START="auto-start",e.AUTO_END="auto-end",e.TOP="top",e.RIGHT="right",e.BOTTOM="bottom",e.LEFT="left",e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end",e.RIGHT_START="right-start",e.RIGHT_END="right-end",e.LEFT_START="left-start",e.LEFT_END="left-end"}(X||(X={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(Q||(Q={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(ee||(ee={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(te||(te={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(ne||(ne={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(re||(re={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(ie||(ie={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(oe||(oe={}));var me,be=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}(a,t);var r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=G(r);if(i){var n=G(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return q(this,e)});function a(){return e(this,a),o.apply(this,arguments)}return n(a,null,[{key:"size",value:function(){var e=["small","default","large"];return(0,W.toType)("Size",{validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),1))},default:"default"})}},{key:"theme",value:function(){var e=["primary","warning","success","danger"];return(0,W.toType)("Theme",{validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),1))}})}},{key:"placement",value:function(){var e=["top","left","right","bottom"];return(0,W.toType)("Placements",{validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),1))},default:"top"})}},{key:"style",value:function(){return(0,W.toType)("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return(0,W.toType)("positions",{type:String,validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),1))},default:"top-center"})}}]),a}(ae);function ke(){if(void 0!==me)return me;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),me=t-r}var Te=Symbol("form"),Oe=Symbol("formItem"),Ie=a(748),Ee=function(){return(0,Ie.inject)(Te)},Se=function(){return(0,Ie.inject)(Oe,void 0)},we=document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!0)}:function(e,t,n){e&&t&&n&&e.attachEvent("on".concat(t),n)},xe=document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!0)}:function(e,t,n){e&&t&&e.detachEvent("on".concat(t),n)};function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,i=arguments.length>4?arguments[4]:void 0,o=Math.abs(t-n),a=Math.ceil(o/r*50);function s(t,n,r){if(t!==n){var o=t+r>n?n:t+r;t>n&&(o=t-r<n?n:t-r),e===window?window.scrollTo(o,o):e.scrollTop=o,window.requestAnimationFrame((function(){return s(o,n,r)}))}else null==i||i()}s(t,n,a)}function Le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")}var Me=Object.create({}),Re=function(){},je=function(){return null},Pe=function(e){return Object.keys(e).length<1},Ne=function(e){return e.install=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.prefix,i=t.config.globalProperties.bkUIPrefix||r||"Bk";t.component(i+e.name,e)},e},Ce=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.prefix,a=r.config.globalProperties.bkUIPrefix||o||"Bk";r.component(a+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(a+e.name,e)}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e};function De(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)}function Ue(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=function(){var o=this,a=arguments;if(e&&clearTimeout(e),i){var s=!e;e=setTimeout((function(){e=null}),n),s&&(t=r.apply(o,a))}else e=setTimeout((function(){r.apply(o,a)}),n);return t};return o.cancel=function(){clearTimeout(e),e=null},o}function Fe(e,t){return JSON.parse(JSON.stringify(e,(function(e,n){if(!t.includes(e))return n})))}function _e(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){if(Array.isArray(e[n]))return _e(e[n],t[n]);if(e[n]!==t[n])return!1}return!0}})(),s})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@popperjs/core"),require("lodash"),require("vue-types"),require("vue"));else if("function"==typeof define&&define.amd)define(["@popperjs/core","lodash","vue-types","vue"],t);else{var n="object"==typeof exports?t(require("@popperjs/core"),require("lodash"),require("vue-types"),require("vue")):t(e["@popperjs/core"],e.lodash,e["vue-types"],e.vue);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r)=>(()=>{var i={8022:(e,t,n)=>{var r=n(4481),i=n(6426),o=i;o.v1=r,o.v4=i,e.exports=o},8725:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},9157:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},4481:(e,t,n)=>{var r,i,o=n(9157),a=n(8725),s=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,l=t||[],p=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:i;if(null==p||null==f){var d=o();null==p&&(p=r=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=i=16383&(d[6]<<8|d[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:u+1,y=h-s+(v-u)/1e4;if(y<0&&void 0===e.clockseq&&(f=f+1&16383),(y<0||h>s)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,u=v,i=f;var g=(1e4*(268435455&(h+=122192928e5))+v)%4294967296;l[c++]=g>>>24&255,l[c++]=g>>>16&255,l[c++]=g>>>8&255,l[c++]=255&g;var m=h/4294967296*1e4&268435455;l[c++]=m>>>8&255,l[c++]=255&m,l[c++]=m>>>24&15|16,l[c++]=m>>>16&255,l[c++]=f>>>8|128,l[c++]=255&f;for(var b=0;b<6;++b)l[c+b]=p[b];return t||a(l)}},6426:(e,t,n)=>{var r=n(9157),i=n(8725);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},5798:t=>{"use strict";t.exports=e},467:e=>{"use strict";e.exports=t},748:e=>{"use strict";e.exports=r},210:e=>{"use strict";e.exports=n}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function n(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i,o;a.r(s),a.d(s,{AlignEnum:()=>X,BKLAYERD_INDEX_EFAULT_VALUE:()=>u,BKLAYERTYPE:()=>o,BKPopIndexManager:()=>z,BKPopover:()=>j,BkMaskManager:()=>V,DialogTypeEnum:()=>re,DirectionEnum:()=>ie,EMPTY_OBJ:()=>je,InputBehaviorEnum:()=>se,InputBehaviorType:()=>be,LineStyleEnum:()=>oe,PlacementEnum:()=>ee,Placements:()=>J,PropTypes:()=>Te,RenderDirectiveEnum:()=>$,RenderType:()=>ne,SizeEnum:()=>Z,TagThemeEnum:()=>ae,TagThemeType:()=>me,ThemeEnum:()=>Q,TriggerEnum:()=>te,alignType:()=>pe,arrayEqual:()=>Ve,bKMaskManager:()=>B,bkPopIndexManager:()=>q,bkZIndexManager:()=>c,capitalize:()=>_,checkOverflow:()=>H,classes:()=>Re,clone:()=>I,debounce:()=>_e,dialogTypeUnion:()=>ve,directionType:()=>ye,elementsEqual:()=>O,filterProperty:()=>He,finiteOrDefault:()=>k,formItemKey:()=>Ee,formKey:()=>Ie,getPopContainerId:()=>N,hasOverflowEllipsis:()=>M,isArray:()=>g,isElement:()=>L,isEmpty:()=>y,isEmptyObj:()=>Ce,isFinite:()=>b,isNullOrUndef:()=>v,isObject:()=>m,lineStyleType:()=>ge,maybeShowTooltip:()=>R,merge:()=>w,mergeIf:()=>x,mergerFn:()=>S,mergerIfFn:()=>A,noop:()=>Pe,observerResize:()=>F,off:()=>Le,on:()=>Ae,placementType:()=>fe,random:()=>U,renderDirectiveType:()=>le,renderEmptyVNode:()=>Ne,renderType:()=>he,resolveClassName:()=>Fe,scrollTop:()=>Me,scrollbarWidth:()=>Oe,stringEnum:()=>ce,triggerType:()=>de,useForm:()=>we,useFormItem:()=>xe,valueOrDefault:()=>T,withInstall:()=>De,withInstallProps:()=>Ue}),function(e){e.BOTTOM="bottom",e.CONTENT="content",e.NAVI="navi",e.FULLSCREEN="fullScreen",e.PLUGINS="plugins",e.MODAL="modal",e.MESSAGE="message",e.POPPER="popper"}(o||(o={}));var u=(r(i={},o.BOTTOM,0),r(i,o.CONTENT,1),r(i,o.NAVI,100),r(i,o.FULLSCREEN,1e3),r(i,o.MODAL,3e3),r(i,o.PLUGINS,8e3),r(i,o.MESSAGE,1e4),r(i,o.POPPER,99999),i),c=new(function(){function t(){e(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return n(t,[{key:"getNextIndex",value:function(e){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,e)?(this.storageLayerIndexValue[e]=this.storageLayerIndexValue[e]+1,this.storageLayerIndexValue[e]):(this.storageLayerIndexValue[o.MODAL]=this.storageLayerIndexValue[o.MODAL]+1,this.storageLayerIndexValue[o.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(o.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(o.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(o.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(o.NAVI)}},{key:"getPopperIndex",value:function(){return u.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,r({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,r({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(u).reduce((function(e,t){return Object.assign(e,r({},t,{value:u[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(u,e)}}]),t}());function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=a(8022),h=a(5798);function v(e){return null==e}function y(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&v(e)}function g(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function m(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var b=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function k(e,t){return b(e)?e:t}function T(e,t){return void 0===e?t:e}function O(e,t){var n,r,i,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],o=t[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function I(e){if(g(e))return e.map(I);if(m(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=I(e[n[i]]);return t}return e}function E(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function S(e,t,n,r){if(E(e)){var i=t[e],o=n[e];m(i)&&m(o)?w(i,o,r):t[e]=I(o)}}function w(e,t,n){var r=g(t)?t:[t],i=r.length;if(!m(e))return e;for(var o=(n=n||{}).merger||S,a=0;a<i;++a)if(m(t=r[a]))for(var s=Object.keys(t),u=0,c=s.length;u<c;++u)o(s[u],e,t,n);return e}function x(e,t){return w(e,t,{merger:A})}function A(e,t,n){if(E(e)){var r=t[e],i=n[e];m(r)&&m(i)?x(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=I(i))}}function L(e){try{return e instanceof HTMLElement}catch(t){return"object"===l(e)&&1===e.nodeType&&"object"===l(e.style)&&"object"===l(e.ownerDocument)}}function M(e){return e.offsetWidth<e.scrollWidth||e.offsetHeight<e.scrollHeight}function R(e,t){M(e)?e.setAttribute("title",t):e.removeAttribute("title")}var j=function(){function t(n,r,i){var o,a;e(this,t),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.always=!1,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.afterShow=null,this.afterHidden=null,this.appendTo="parent",this.container=null,this.fixOnBoundary=!1,this.instanceOptions=this.initDefaultOptions(i),this.reference=this.resolveInputSelectorToHtmlElement(n),this.popperRefer=this.resolveInputSelectorToHtmlElement(r),this.referenceTarget=this.getTargetReferenceElement(),this.container=null===(o=this.popperRefer)||void 0===o?void 0:o.parentElement,this.isShow=!!(null===(a=this.instanceOptions)||void 0===a?void 0:a.isShow),this.always=this.instanceOptions.always,this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.appendTo=this.instanceOptions.appendTo,this.afterHidden="function"==typeof i.afterHidden?i.afterHidden:function(){},this.afterShow="function"==typeof i.afterShow?i.afterShow:function(){},this.fixOnBoundary=this.instanceOptions.fixOnBoundary,this.initInstance(),this.registerEvents(),(this.isShow||this.always)&&this.show(null)}return n(t,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"updateOptions",value:function(e){var t;this.instanceOptions=this.initDefaultOptions(e),this.isShow=!!(null===(t=this.instanceOptions)||void 0===t?void 0:t.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.setOptions(this.instanceOptions)}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide()}},{key:"show",value:function(e){var t;this.disabled||(null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(f(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0,this.afterShow(),this.fixOnBoundary||this.appendToTarget())}},{key:"hide",value:function(){var e;this.always||(null===(e=this.popperRefer)||void 0===e||e.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(f(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1,this.afterHidden(),this.fixOnBoundary||this.restorePopContent())}},{key:"restorePopContent",value:function(){var e=this.getAppendToTarget();L(e)&&e.contains(this.popperRefer)&&this.container&&!this.container.contains(this.popperRefer)&&this.container.append(this.popperRefer)}},{key:"appendToTarget",value:function(){var e=this.getAppendToTarget();L(e)&&e.contains(this.popperRefer)&&e.append(this.popperRefer)}},{key:"getAppendToTarget",value:function(){var e=this.appendTo,t=e;return"parent"!==e&&"string"==typeof e&&(t=document.querySelector(e)),t}},{key:"initDefaultOptions",value:function(e){var t=this,n=w({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{}),r=n.onFirstUpdate;return n.onFirstUpdate=function(e){"function"==typeof r&&(r.call(t,e),t.handleFirstUpdate())},n}},{key:"handleFirstUpdate",value:function(){this.fixOnBoundary&&this.appendToTarget()}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=(0,h.createPopper)(this.referenceTarget,this.popperRefer,this.instanceOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.instanceOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===l(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){return L(e)}},{key:"registerEvents",value:function(){var e=this;this.isElement(this.referenceTarget)&&"hover"===this.trigger&&(["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide()}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide()}))}))),"click"===this.trigger&&["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):!e.isShow||e.isSameElement(t.target,e.popperRefer)||e.popperRefer.contains(t.target)||e.hide()}))}))}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),t}(),P=null,N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#";if(null===P){P="id_".concat((0,d.v4)());var t=document.createElement("div");t.setAttribute("id",P),t.setAttribute("data-popper-id",P),document.body.append(t)}return"".concat(e).concat(P)},C=a(467),D="abcdefghijklmnopqrstuvwxyz0123456789",U=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D,n="",r=0;r<e;r++)n+=t[parseInt((Math.random()*t.length).toString(),10)];return n},F=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=(0,C.throttle)((function(){"function"==typeof t&&t()}),n),o=new ResizeObserver((function(){i()}));return r&&"function"==typeof t&&t(),{start:function(){o.observe(e)},stop:function(){o.disconnect(),o.unobserve(e)}}},_=function(e){return e[0].toUpperCase()+e.slice(1)};function H(e){if(!e)return!1;var t=!1;try{var n=window.getComputedStyle(e,null);if("none"!==n.webkitLineClamp){var r=parseFloat(n.height),i=function(e,t){var n=document.createElement("div"),r=parseFloat(t.width)?"".concat(Math.ceil(parseFloat(t.width)),"px"):t.width;return n.style.cssText="\n width: ".concat(r,";\n line-height: ").concat(t["line-height"],";\n font-size: ").concat(t["font-size"],";\n word-break: ").concat(t["word-break"],";\n padding: ").concat(t.padding,";\n "),n.textContent=e.textContent,n}(e,n);document.body.appendChild(i);var o=window.getComputedStyle(i,null).height;document.body.removeChild(i),t=r<parseFloat(o)}else t=e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight}catch(e){console.warn("There is an error when check element overflow state: ",e)}return t}var V=function(){function t(n){e(this,t),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.zIndexStore=new Map,this.lastUUID=null,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var r=n||{},i=r.multiInstance,o=void 0!==i&&i,a=r.maskAttrTag,s=void 0===a?"auto":a,u=r.parentNode,c=void 0===u?document.body:u,l=r.maskStyle,p=void 0===l?{}:l,f=r.onClick,d=void 0===f?null:f;this.onClick=d,this.activeInstance=void 0,this.multiInstance=o,this.uniqueMaskAttrTag=this.getMaskAttrTag(s),this.parentNode=c||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle(Object.assign({},this.maskStyle,p))}return n(t,[{key:"setOption",value:function(e){var t=e||{},n=t.parentNode,r=void 0===n?document.body:n,i=t.maskStyle,o=void 0===i?{}:i,a=t.onClick,s=void 0===a?null:a;this.onClick=s,this.parentNode=r||document,this.setMaskStyle(Object.assign({},this.maskStyle,o))}},{key:"show",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=null!=i?i:U(16),s=/-?\d+/.test("".concat(t))?t:c.getModalNextIndex(),u=Object.assign({},this.maskStyle,r||{});if(!n&&this.lastUUID){var l=this.zIndexStore.get(this.lastUUID);u=l.style}this.storeMaskInsCfg({zIndex:s,style:Object.assign({},u),uuid:a,preUID:this.lastUUID}),this.setMaskStyle(u),this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(s)),this.backupMask.style.setProperty("z-index","".concat(s-1)),e&&(o&&e.style.setProperty("z-index","".concat(s+1)),this.activeInstance=e,o||this.appendContentToMask(e))}},{key:"hide",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=null!=r?r:this.lastUUID;this.mask.style.setProperty("display","none"),t||(null==n||n.remove(),null===(e=this.activeInstance)||void 0===e||e.remove()),this.activeInstance=void 0,this.popIndexStore(i)}},{key:"storeMaskInsCfg",value:function(e){return this.zIndexStore.set(e.uuid,e),this.lastUUID=e.uuid,this.zIndexStore.get(e.uuid)}},{key:"popIndexStore",value:function(e){if(this.zIndexStore.has(e)){var t=this.zIndexStore.get(e);return this.lastUUID=t.preUID,this.zIndexStore.delete(e)}return this.lastUUID=null,!1}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){var e=this;if(this.multiInstance)return this.createMask();var t=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return t||(t=this.createMask()).addEventListener("click",(function(n){n.target===t&&"function"==typeof e.onClick&&Reflect.apply(e.onClick,e,[n])}),!0),t}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.mask&&Object.entries(t).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat(U(16)):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),t}(),B=new V({}),z=function(){function t(){var n=this;e(this,t),this.getActiveClickFnIndex=function(e){return n.clickFn.findIndex((function(t){return r=t.target,"string"==typeof e?r.getAttribute(n.uuidAttrName)===e:r===e;var r}))},this.getActiveClickFn=function(e){var t;return null===(t=n.clickFn[n.getActiveClickFnIndex(e)])||void 0===t?void 0:t.fn},this.popInstanceList=[],this.clickFn=[],this.uuidAttrName="data-bk-pop-uuid",this.activePopId=null,B.setOption({onClick:this.onMaskClickFn.bind(this)})}return n(t,[{key:"onMaskClick",value:function(e,t){this.clickFn.push({fn:e,target:t})}},{key:"show",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;if(e){var o="number"==typeof i?i:c.getModalNextIndex(),a=U(16);e.setAttribute(this.uuidAttrName,a),this.popInstanceList.push({uuid:a,zIndex:o,content:e,showMask:t,appendStyle:n}),t&&B.backupActiveInstance(),B.show(e,o,t,n,a,r),this.activePopId=a}else console.warn("pop show error: content is null or undefined")}},{key:"destroy",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getActiveClickFnIndex(e);r>=0&&(null===(t=this.clickFn)||void 0===t||t.splice(r,1)),this.hide(e,n)}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();B.popIndexStore(t.uuid),t.remove(),this.activePopId=null}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0],r=n.zIndex,i=n.content,o=n.showMask,a=n.appendStyle,s=n.uuid;B.show(i,r,o,a,s),this.activePopId=s}else B.hide(),this.activePopId=null,this.clickFn.length=0}}},{key:"hide",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=null==e?void 0:e.getAttribute(this.uuidAttrName);if(n){var r=this.popInstanceList.findIndex((function(e){return e.uuid===n}));r>=0&&(t||this.popInstanceList[r].content.remove(),this.popInstanceList.splice(r,1),B.popIndexStore(n),this.popInstanceList.length?this.popHide(!1):(B.hide(t),this.activePopId=null,this.clickFn.length=0))}else null==e||e.remove()}},{key:"onMaskClickFn",value:function(e){var t=this.getActiveClickFn(this.activePopId);t&&Reflect.apply(t,this,[e])}}]),t}(),q=new z;function G(e,t){return G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},G(e,t)}function W(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function K(e){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(e)}var Y=a(210);var Z,J,$,X,Q,ee,te,ne,re,ie,oe,ae,se,ue=(0,Y.createTypes)({});function ce(e){return e.reduce((function(e,t){return e[t]=t,e}),Object.create(null))}function le(){return(0,Y.toType)("renderDirective",{default:$.SHOW})}function pe(){return(0,Y.toType)("align",{default:X.LEFT}).def(X.LEFT)}function fe(){return(0,Y.toType)("placement",{}).def(ee.BOTTOM)}function de(){return(0,Y.toType)("trigger",{}).def(te.HOVER)}function he(){return(0,Y.toType)("trigger",{}).def(ne.AUTO)}function ve(){return(0,Y.toType)("dialogType",{default:re.OPERATION})}function ye(){return(0,Y.toType)("direction",{}).def(ie.HORIZONTAL)}function ge(){return(0,Y.toType)("lineType",{}).def(oe.DASHED)}function me(){return(0,Y.toType)("tagTheme",{}).def()}function be(){return(0,Y.toType)("behavior",{}).def(se.NORMAL)}!function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(Z||(Z={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(J||(J={})),function(e){e.IF="if",e.SHOW="show"}($||($={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(X||(X={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}(Q||(Q={})),function(e){e.AUTO="auto",e.AUTO_START="auto-start",e.AUTO_END="auto-end",e.TOP="top",e.RIGHT="right",e.BOTTOM="bottom",e.LEFT="left",e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end",e.RIGHT_START="right-start",e.RIGHT_END="right-end",e.LEFT_START="left-start",e.LEFT_END="left-end"}(ee||(ee={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(te||(te={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(ne||(ne={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(re||(re={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(ie||(ie={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(oe||(oe={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(ae||(ae={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(se||(se={}));var ke,Te=function(t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&G(e,t)}(a,t);var r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=K(r);if(i){var n=K(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return W(this,e)});function a(){return e(this,a),o.apply(this,arguments)}return n(a,null,[{key:"size",value:function(){var e=["small","default","large"];return(0,Y.toType)("Size",{validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),1))},default:"default"})}},{key:"theme",value:function(){var e=["primary","warning","success","danger"];return(0,Y.toType)("Theme",{validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),1))}})}},{key:"placement",value:function(){var e=["top","left","right","bottom"];return(0,Y.toType)("Placements",{validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),1))},default:"top"})}},{key:"style",value:function(){return(0,Y.toType)("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return(0,Y.toType)("positions",{type:String,validator:function(t){return!(t&&!e.includes(t)&&(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),1))},default:"top-center"})}}]),a}(ue);function Oe(){if(void 0!==ke)return ke;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),ke=t-r}var Ie=Symbol("form"),Ee=Symbol("formItem"),Se=a(748),we=function(){return(0,Se.inject)(Ie)},xe=function(){return(0,Se.inject)(Ee,void 0)},Ae=document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!0)}:function(e,t,n){e&&t&&n&&e.attachEvent("on".concat(t),n)},Le=document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!0)}:function(e,t,n){e&&t&&e.detachEvent("on".concat(t),n)};function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,i=arguments.length>4?arguments[4]:void 0,o=Math.abs(t-n),a=Math.ceil(o/r*50);function s(t,n,r){if(t!==n){var o=t+r>n?n:t+r;t>n&&(o=t-r<n?n:t-r),e===window?window.scrollTo(o,o):e.scrollTop=o,window.requestAnimationFrame((function(){return s(o,n,r)}))}else null==i||i()}s(t,n,a)}function Re(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")}var je=Object.create({}),Pe=function(){},Ne=function(){return null},Ce=function(e){return Object.keys(e).length<1},De=function(e){return e.install=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.prefix,i=t.config.globalProperties.bkUIPrefix||r||"Bk";t.component(i+e.name,e)},e},Ue=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.prefix,a=r.config.globalProperties.bkUIPrefix||o||"Bk";r.component(a+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(a+e.name,e)}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e};function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)}function _e(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,r=arguments.length>1?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=function(){var o=this,a=arguments;if(e&&clearTimeout(e),i){var s=!e;e=setTimeout((function(){e=null}),n),s&&(t=r.apply(o,a))}else e=setTimeout((function(){r.apply(o,a)}),n);return t};return o.cancel=function(){clearTimeout(e),e=null},o}function He(e,t){return JSON.parse(JSON.stringify(e,(function(e,n){if(!t.includes(e))return n})))}function Ve(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){if(Array.isArray(e[n]))return Ve(e[n],t[n]);if(e[n]!==t[n])return!1}return!0}})(),s})()));
@@ -38,7 +38,7 @@
38
38
  .bk-popper.light {
39
39
  color: #63656e;
40
40
  background: #fff;
41
- box-shadow: #dcdee5 0px 0px 6px 0px;
41
+ box-shadow: #dcdee5 0 0 6px 0;
42
42
  }
43
43
  .bk-popper .bk-popper-arrow,
44
44
  .bk-popper .bk-popper-arrow::before {
@@ -38,7 +38,7 @@
38
38
  .bk-popper.light {
39
39
  color: #63656e;
40
40
  background: #fff;
41
- box-shadow: #dcdee5 0px 0px 6px 0px;
41
+ box-shadow: #dcdee5 0 0 6px 0;
42
42
  }
43
43
  .bk-popper .bk-popper-arrow,
44
44
  .bk-popper .bk-popper-arrow::before {
@@ -9,7 +9,7 @@
9
9
  .bk-popper.light {
10
10
  color: #63656e;
11
11
  background: #fff;
12
- box-shadow: #dcdee5 0px 0px 6px 0px;
12
+ box-shadow: #dcdee5 0 0 6px 0;
13
13
  }
14
14
  .bk-popper .bk-popper-arrow,
15
15
  .bk-popper .bk-popper-arrow::before {
@@ -1,4 +1,5 @@
1
- .bk-popper {
1
+ @import '../../styles/themes/themes.less';
2
+ .@{bk-prefix}-popper {
2
3
  display: none;
3
4
  padding: 7px 14px;
4
5
  font-size: 12px;
@@ -9,22 +10,22 @@
9
10
  &.light {
10
11
  color: #63656e;
11
12
  background: #fff;
12
- box-shadow: rgb(220, 222, 229) 0px 0px 6px 0px;
13
+ box-shadow: rgb(220, 222, 229) 0 0 6px 0;
13
14
  }
14
15
 
15
- .bk-popper-arrow,
16
- .bk-popper-arrow::before {
16
+ .@{bk-prefix}-popper-arrow,
17
+ .@{bk-prefix}-popper-arrow::before {
17
18
  position: absolute;
18
19
  width: 8px;
19
20
  height: 8px;
20
21
  background: inherit;
21
22
  }
22
23
 
23
- .bk-popper-arrow {
24
+ .@{bk-prefix}-popper-arrow {
24
25
  visibility: hidden;
25
26
  }
26
27
 
27
- .bk-popper-arrow::before {
28
+ .@{bk-prefix}-popper-arrow::before {
28
29
  content: '';
29
30
  visibility: visible;
30
31
  transform: rotate(45deg);
@@ -35,18 +36,18 @@
35
36
  }
36
37
  }
37
38
 
38
- .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
39
+ .@{bk-prefix}-popper[data-popper-placement^='top'] > .@{bk-prefix}-popper-arrow {
39
40
  bottom: -4px;
40
41
  }
41
42
 
42
- .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
43
+ .@{bk-prefix}-popper[data-popper-placement^='bottom'] > .@{bk-prefix}-popper-arrow {
43
44
  top: -4px;
44
45
  }
45
46
 
46
- .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
47
+ .@{bk-prefix}-popper[data-popper-placement^='left'] > .@{bk-prefix}-popper-arrow {
47
48
  right: -4px;
48
49
  }
49
50
 
50
- .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
51
+ .@{bk-prefix}-popper[data-popper-placement^='right'] > .@{bk-prefix}-popper-arrow {
51
52
  left: -4px;
52
- }
53
+ }
@@ -1,3 +1,123 @@
1
+ :root {
2
+ --bk-prefix: bk;
3
+ --popover-max-height: 216px;
4
+ --primary-color: #3a84ff;
5
+ --success-color: #2dcb56;
6
+ --warning-color: #ff9c01;
7
+ --danger-color: #ea3636;
8
+ --default-color: #63656e;
9
+ --gray-color: #979ba5;
10
+ --light-gray: #c4c6cc;
11
+ --white-color: white;
12
+ --whitesmoke-color: #fafbfd;
13
+ --disable-color: #dcdee5;
14
+ --font-size-base: 12px;
15
+ --font-size-medium: 14px;
16
+ --font-size-large: 16px;
17
+ --line-height-base: 16px;
18
+ --line-height-medium: 16px;
19
+ --line-height-large: 18px;
20
+ --component-size-small: 26px;
21
+ --component-size-base: 32px;
22
+ --component-size-large: 40px;
23
+ --border-width-base: 1px;
24
+ --border-style-base: solid;
25
+ --border-radius-base: 2px;
26
+ --border-style-color: var(--light-gray);
27
+ --input-disabled-bg: #fafbfd;
28
+ --input-disabled-border: var(--disable-color);
29
+ --input-height-base: var(--component-size-base);
30
+ --input-color: var(--default-color);
31
+ --input-bg: white;
32
+ --input-border-color: var(--light-gray);
33
+ --input-broder-radius: 3px;
34
+ --input-shadow-color: #a3c5fd;
35
+ --input-horizontal-padding: 10px;
36
+ --input-block-color: #f5f7fa;
37
+ --input-block-hover-color: #eaebf0;
38
+ --input-icon-size: var(--font-size-medium);
39
+ --input-maxlength-color: #979ba5;
40
+ --button-primary-hover-color: #5594fa;
41
+ --button-danger-hover-color: #ff5656;
42
+ --button-success-hover-color: #45e35f;
43
+ --button-warning-hover-color: #ffb848;
44
+ --button-default-hover-border-color: #979ba5;
45
+ --button-primary-active-color: #2c77f4;
46
+ --button-danger-active-color: #db2626;
47
+ --button-success-active-color: #1ab943;
48
+ --button-warning-active-color: #eb9000;
49
+ --button-selected-bg-color: #e1ecff;
50
+ --button-disabled-selected-bg-color: #f0f1f5;
51
+ --radio-font-color: #63656e;
52
+ --radio-active-color: #5594fa;
53
+ --radio-hover-border-color: #979ba5;
54
+ --radio-disabled-border: #dcdee5;
55
+ --radio-disabled-font-color: #c4c6cc;
56
+ --radio-distable-checked-bg: #fafbfd;
57
+ --radio-button-checked-bg: #e1ecff;
58
+ --fixed-navbar-background: #fff;
59
+ --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
60
+ --switch-default-color: #fff;
61
+ --switch-grey-color: #c4c6cc;
62
+ --breadcrumb-black-color: #979ba5;
63
+ --breadcrumb-primary-hover-color: #0082ff;
64
+ --breadcrumb-fn-main-color: #63656e;
65
+ --link-default-hover-color: #979ba5;
66
+ --link-primary-hover-color: #699df4;
67
+ --link-success-hover-color: #45e35f;
68
+ --link-warning-hover-color: #ffb848;
69
+ --link-danger-hover-color: #ff5656;
70
+ --link-default-disabled-color: #dcdee5;
71
+ --link-primary-disabled-color: #a3c5fd;
72
+ --link-success-disabled-color: #94f5a4;
73
+ --link-warning-disabled-color: #ffd695;
74
+ --link-danger-disabled-color: #fd9c9c;
75
+ --message-color: var(--default-color);
76
+ --message-primary-bg-color: #f0f8ff;
77
+ --message-primary-border-color: #e1ecff;
78
+ --message-primary-shadow-color: #e1e8f4;
79
+ --message-warning-bg-color: #fff4e2;
80
+ --message-warning-border-color: #ffe8c3;
81
+ --message-warning-shadow-color: #ede6db;
82
+ --message-success-bg-color: #f2fff4;
83
+ --message-success-border-color: #dcffe2;
84
+ --message-success-shadow-color: #cef0d7;
85
+ --message-danger-bg-color: #ffeded;
86
+ --message-danger-border-color: #ffdddd;
87
+ --message-danger-shadow-color: #f6dada;
88
+ --slider-default-bg: #dcdee5;
89
+ --slider-disable-bar-bg: #979ba5;
90
+ --menu-bg-color: #182132;
91
+ --submenu-bg-color: #151d2c;
92
+ --menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
93
+ --menu-color: #96a2b9;
94
+ --menu-group-color: var(--default-color);
95
+ --menu-width: 260px;
96
+ --menu-collapse-width: 60px;
97
+ --menu-active-color: white;
98
+ --nav-header-bg-color: #182132;
99
+ --nav-bg-color: #182132;
100
+ --date-picker-disabled-bg: #fafbfd;
101
+ --date-picker-dropdown-mb: 4px;
102
+ --date-picker-dropdown-bg: #fff;
103
+ --table-bg-color: var(--white-color);
104
+ --table-border-color: #dcdee5;
105
+ --table-head-bg-color: #fafbfd;
106
+ --table-head-font-color: #313238;
107
+ --table-body-font-color: #575961;
108
+ --table-row-hover-bg-color: #f5f7fa;
109
+ --table-row-active-bg-color: #f0f1f5;
110
+ --cascader-panel-border-color: #dcdee5;
111
+ --cascader-panel-hover: #f5f7fa;
112
+ --cascader-panel-active: #e1ecff;
113
+ --cascader-panel-disabled-bg: #fff;
114
+ --search-select-focus-border-color: var(--primary-color);
115
+ --search-select-focus-color: #3c96ff;
116
+ --search-select-font-color: var(--default-color);
117
+ --search-select-placeholder-color: var(--light-gray);
118
+ --search-select-message-color: var(--danger-color);
119
+ --search-select-menu-border-color: var(--disable-color);
120
+ }
1
121
  .bk-popper {
2
122
  display: none;
3
123
  padding: 7px 14px;
@@ -9,7 +129,7 @@
9
129
  .bk-popper.light {
10
130
  color: #63656e;
11
131
  background: #fff;
12
- box-shadow: #dcdee5 0px 0px 6px 0px;
132
+ box-shadow: #dcdee5 0 0 6px 0;
13
133
  }
14
134
  .bk-popper .bk-popper-arrow,
15
135
  .bk-popper .bk-popper-arrow::before {