bkui-vue 0.0.1-beta.420 → 0.0.1-beta.421

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 (108) hide show
  1. package/dist/index.cjs.js +29 -29
  2. package/dist/index.esm.js +3145 -3066
  3. package/dist/index.umd.js +28 -28
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.d.ts +1 -1
  7. package/lib/affix/index.d.ts +4 -4
  8. package/lib/backtop/backtop.d.ts +2 -2
  9. package/lib/backtop/index.d.ts +7 -7
  10. package/lib/button/button.d.ts +1 -1
  11. package/lib/button/index.d.ts +7 -7
  12. package/lib/cascader/cascader.d.ts +2 -2
  13. package/lib/cascader/index.d.ts +7 -7
  14. package/lib/collapse/collapse-panel.d.ts +1 -1
  15. package/lib/collapse/index.d.ts +1 -1
  16. package/lib/container/col.d.ts +1 -1
  17. package/lib/container/index.d.ts +1 -1
  18. package/lib/date-picker/date-picker.d.ts +7 -7
  19. package/lib/date-picker/index.d.ts +20 -20
  20. package/lib/date-picker/panel/date-range.d.ts +1 -1
  21. package/lib/date-picker/panel/time-range.d.ts +6 -6
  22. package/lib/date-picker/panel/time.d.ts +7 -7
  23. package/lib/date-picker/props.d.ts +1 -1
  24. package/lib/date-picker/time-picker.d.ts +7 -7
  25. package/lib/dialog/dialog.d.ts +19 -19
  26. package/lib/dialog/index.d.ts +44 -44
  27. package/lib/dialog/props.d.ts +6 -6
  28. package/lib/divider/divider.d.ts +6 -6
  29. package/lib/divider/index.d.ts +15 -15
  30. package/lib/divider/props.d.ts +2 -2
  31. package/lib/dropdown/dropdown.d.ts +10 -10
  32. package/lib/dropdown/index.d.ts +23 -23
  33. package/lib/form/form-item.d.ts +1 -1
  34. package/lib/form/index.d.ts +1 -1
  35. package/lib/icon/index.d.ts +79 -79
  36. package/lib/image/image.d.ts +5 -5
  37. package/lib/image/index.d.ts +11 -11
  38. package/lib/image/props.d.ts +2 -2
  39. package/lib/input/index.d.ts +4 -4
  40. package/lib/input/index.js +1 -1
  41. package/lib/input/input.css +4 -1
  42. package/lib/input/input.d.ts +1 -1
  43. package/lib/input/input.less +4 -2
  44. package/lib/input/input.variable.css +4 -1
  45. package/lib/link/index.d.ts +15 -15
  46. package/lib/link/link.d.ts +6 -6
  47. package/lib/loading/directive.d.ts +14 -0
  48. package/lib/loading/index.d.ts +24 -1
  49. package/lib/loading/index.js +1 -1
  50. package/lib/loading/loading.css +8 -1
  51. package/lib/loading/loading.d.ts +16 -0
  52. package/lib/loading/loading.less +7 -1
  53. package/lib/loading/loading.variable.css +8 -1
  54. package/lib/message/messageConstructor.d.ts +2 -2
  55. package/lib/modal/index.d.ts +23 -23
  56. package/lib/modal/modal.d.ts +8 -8
  57. package/lib/modal/props.mixin.d.ts +2 -2
  58. package/lib/navigation/index.d.ts +3 -3
  59. package/lib/navigation/navigation.d.ts +1 -1
  60. package/lib/notify/notifyConstructor.d.ts +1 -1
  61. package/lib/pop-confirm/index.d.ts +50 -18
  62. package/lib/pop-confirm/index.js +1 -1
  63. package/lib/pop-confirm/pop-confirm.d.ts +23 -7
  64. package/lib/pop-confirm/props.d.ts +12 -4
  65. package/lib/popover/index.d.ts +47 -47
  66. package/lib/popover/popover.d.ts +18 -18
  67. package/lib/popover/props.d.ts +4 -4
  68. package/lib/progress/index.d.ts +6 -6
  69. package/lib/progress/progress.d.ts +2 -2
  70. package/lib/radio/radio.css +1 -1
  71. package/lib/radio/radio.less +1 -1
  72. package/lib/radio/radio.variable.css +1 -1
  73. package/lib/resize-layout/index.d.ts +12 -12
  74. package/lib/resize-layout/resize-layout.d.ts +5 -5
  75. package/lib/select/index.d.ts +480 -61
  76. package/lib/select/index.js +1 -1
  77. package/lib/select/select.d.ts +238 -26
  78. package/lib/shared/index.d.ts +14 -11
  79. package/lib/shared/index.js +1 -1
  80. package/lib/shared/vue-types.d.ts +8 -8
  81. package/lib/sideslider/index.d.ts +21 -21
  82. package/lib/sideslider/sideslider.d.ts +8 -8
  83. package/lib/slider/index.d.ts +4 -4
  84. package/lib/slider/slider.d.ts +1 -1
  85. package/lib/steps/index.d.ts +7 -7
  86. package/lib/steps/steps.d.ts +2 -2
  87. package/lib/tab/index.d.ts +13 -13
  88. package/lib/tab/props.d.ts +6 -6
  89. package/lib/tab/tab-nav.d.ts +5 -5
  90. package/lib/tab/tab-panel.d.ts +1 -1
  91. package/lib/tab/tab.d.ts +6 -6
  92. package/lib/table/components/table-column.d.ts +10 -10
  93. package/lib/table/index.d.ts +42 -42
  94. package/lib/table/props.d.ts +6 -6
  95. package/lib/table/table.d.ts +6 -6
  96. package/lib/table/use-common.d.ts +1 -1
  97. package/lib/table-column/index.d.ts +27 -27
  98. package/lib/tag-input/index.d.ts +30 -30
  99. package/lib/tag-input/tag-input.d.ts +14 -14
  100. package/lib/tag-input/tag-props.d.ts +6 -6
  101. package/lib/time-picker/index.d.ts +20 -20
  102. package/lib/tree/index.d.ts +4 -4
  103. package/lib/tree/tree.d.ts +1 -1
  104. package/lib/upload/index.d.ts +7 -7
  105. package/lib/upload/upload.d.ts +2 -2
  106. package/lib/virtual-render/index.d.ts +4 -4
  107. package/lib/virtual-render/virtual-render.d.ts +1 -1
  108. package/package.json +1 -1
@@ -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),s=n(8725),a=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-a+(v-u)/1e4;if(y<0&&void 0===e.clockseq&&(f=f+1&16383),(y<0||h>a)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=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||s(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 s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}},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 s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return i[e](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};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;s.r(a),s.d(a,{AlignEnum:()=>X,BKLAYERD_INDEX_EFAULT_VALUE:()=>u,BKLAYERTYPE:()=>o,BKPopIndexManager:()=>z,BKPopover:()=>L,BkMaskManager:()=>V,DialogTypeEnum:()=>re,DirectionEnum:()=>ie,EMPTY_OBJ:()=>Le,InputBehaviorEnum:()=>ae,InputBehaviorType:()=>be,LineStyleEnum:()=>oe,PlacementEnum:()=>ee,Placements:()=>J,PropTypes:()=>Oe,RenderDirectiveEnum:()=>$,RenderType:()=>ne,SizeEnum:()=>Z,TagThemeEnum:()=>se,TagThemeType:()=>me,ThemeEnum:()=>Q,TriggerEnum:()=>te,alignType:()=>pe,arrayEqual:()=>Ve,bKMaskManager:()=>B,bkPopIndexManager:()=>q,bkZIndexManager:()=>c,capitalize:()=>_,checkOverflow:()=>H,classes:()=>Re,clone:()=>T,debounce:()=>_e,dialogTypeUnion:()=>ve,directionType:()=>ye,elementsEqual:()=>I,filterProperty:()=>He,finiteOrDefault:()=>k,formItemKey:()=>Ee,formKey:()=>Te,getPopContainerId:()=>N,hasOverflowEllipsis:()=>M,isArray:()=>g,isElement:()=>P,isEmpty:()=>y,isEmptyObj:()=>Ce,isFinite:()=>b,isNullOrUndef:()=>v,isObject:()=>m,lineStyleType:()=>ge,maybeShowTooltip:()=>R,merge:()=>w,mergeIf:()=>x,mergerFn:()=>S,mergerIfFn:()=>A,noop:()=>je,observerResize:()=>F,off:()=>Pe,on:()=>Ae,placementType:()=>fe,random:()=>U,renderDirectiveType:()=>le,renderEmptyVNode:()=>Ne,renderType:()=>he,resolveClassName:()=>Fe,scrollTop:()=>Me,scrollbarWidth:()=>Ie,stringEnum:()=>ce,triggerType:()=>de,useForm:()=>we,useFormItem:()=>xe,valueOrDefault:()=>O,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=s(8022),h=s(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 O(e,t){return void 0===e?t:e}function I(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 T(e){if(g(e))return e.map(T);if(m(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=T(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]=T(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,s=0;s<i;++s)if(m(t=r[s]))for(var a=Object.keys(t),u=0,c=a.length;u<c;++u)o(a[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]=T(i))}}function P(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 L=function(){function t(n,r,i){var o,s;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===(s=this.instanceOptions)||void 0===s?void 0:s.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();P(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();P(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 P(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}(),j=null,N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#";if(null===j){j="id_".concat((0,d.v4)());var t=document.createElement("div");t.setAttribute("id",j),t.setAttribute("data-popper-id",j),document.body.append(t)}return"".concat(e).concat(j)},C=s(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:"fixed",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,s=r.maskAttrTag,a=void 0===s?"auto":s,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(a),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,s=t.onClick,a=void 0===s?null:s;this.onClick=a,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],s=null!=i?i:U(16),a=/-?\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:a,style:Object.assign({},u),uuid:s,preUID:this.lastUUID}),this.setMaskStyle(u),this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(a)),this.mask.style.setProperty("pointer-events","all"),this.backupMask.style.setProperty("z-index","".concat(a-1)),n||(this.mask.style.setProperty("pointer-events","none"),null==e||e.style.setProperty("pointer-events","all")),e&&(o&&e.style.setProperty("z-index","".concat(a+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(),s=U(16);e.setAttribute(this.uuidAttrName,s),this.popInstanceList.push({uuid:s,zIndex:o,content:e,showMask:t,appendStyle:n}),t&&B.backupActiveInstance(),B.show(e,o,t,n,s,r),this.activePopId=s}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,s=n.appendStyle,a=n.uuid;B.show(i,r,o,s,a),this.activePopId=a}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=s(210);var Z,J,$,X,Q,ee,te,ne,re,ie,oe,se,ae,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.string)().def($.SHOW)}function pe(){return(0,Y.string)().def(X.LEFT)}function fe(){return(0,Y.string)().def(ee.BOTTOM)}function de(){return(0,Y.string)().def(te.HOVER)}function he(){return(0,Y.toType)("popRenderType",{}).def(ne.SHOWN)}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(ae.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"}(se||(se={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(ae||(ae={}));var ke,Oe=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)}(s,t);var r,i,o=(r=s,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 s(){return e(this,s),o.apply(this,arguments)}return n(s,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))},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"})}}]),s}(ue);function Ie(){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 Te=Symbol("form"),Ee=Symbol("formItem"),Se=s(748),we=function(){return(0,Se.inject)(Te)},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)},Pe=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),s=Math.ceil(o/r*50);function a(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 a(o,n,r)}))}else null==i||i()}a(t,n,s)}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 Le=Object.create({}),je=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,s=r.config.globalProperties.bkUIPrefix||o||"Bk";r.component(s+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(s+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,s=arguments;if(e&&clearTimeout(e),i){var a=!e;e=setTimeout((function(){e=null}),n),a&&(t=r.apply(o,s))}else e=setTimeout((function(){r.apply(o,s)}),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}})(),a})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("lodash"),require("@popperjs/core"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["vue","lodash","@popperjs/core","vue-types"],t);else{var n="object"==typeof exports?t(require("vue"),require("lodash"),require("@popperjs/core"),require("vue-types")):t(e.vue,e.lodash,e["@popperjs/core"],e["vue-types"]);for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(self,((e,t,n,i)=>(()=>{var r={8022:(e,t,n)=>{var i=n(4481),r=n(6426),o=r;o.v1=i,o.v4=r,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 i=n||0,r=t;return[r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]]].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 i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},4481:(e,t,n)=>{var i,r,o=n(9157),s=n(8725),a=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,l=t||[],p=(e=e||{}).node||i,f=void 0!==e.clockseq?e.clockseq:r;if(null==p||null==f){var d=o();null==p&&(p=i=[1|d[0],d[1],d[2],d[3],d[4],d[5]]),null==f&&(f=r=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-a+(v-u)/1e4;if(y<0&&void 0===e.clockseq&&(f=f+1&16383),(y<0||h>a)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=h,u=v,r=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||s(l)}},6426:(e,t,n)=>{var i=n(9157),r=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 s=(e=e||{}).random||(e.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||r(s)}},5798:e=>{"use strict";e.exports=n},467:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e},210:e=>{"use strict";e.exports=i}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";s.r(a),s.d(a,{AlignEnum:()=>ue,BKLAYERD_INDEX_EFAULT_VALUE:()=>H,BKLAYERTYPE:()=>L,BKPopIndexManager:()=>q,BKPopover:()=>$,BkMaskManager:()=>B,DialogTypeEnum:()=>de,DirectionEnum:()=>he,EMPTY_OBJ:()=>Le,InputBehaviorEnum:()=>ge,InputBehaviorType:()=>Pe,LineStyleEnum:()=>ve,PlacementEnum:()=>le,Placements:()=>se,PropTypes:()=>Me,RenderDirectiveEnum:()=>ae,RenderType:()=>fe,SizeEnum:()=>oe,TagThemeEnum:()=>ye,TagThemeType:()=>Ae,ThemeEnum:()=>ce,TriggerEnum:()=>pe,alignType:()=>Oe,arrayEqual:()=>Ve,bKMaskManager:()=>z,bkPopIndexManager:()=>G,bkZIndexManager:()=>V,capitalize:()=>U,checkOverflow:()=>F,classes:()=>Re,clone:()=>h,debounce:()=>_e,dialogTypeUnion:()=>Se,directionType:()=>we,elementsEqual:()=>d,filterProperty:()=>He,finiteOrDefault:()=>p,formItemKey:()=>S,formKey:()=>E,getPopContainerId:()=>Q,hasOverflowEllipsis:()=>O,isArray:()=>u,isElement:()=>k,isEmpty:()=>o,isEmptyObj:()=>Ce,isFinite:()=>l,isNullOrUndef:()=>r,isObject:()=>c,lineStyleType:()=>xe,maybeShowTooltip:()=>I,merge:()=>g,mergeIf:()=>m,mergerFn:()=>y,mergerIfFn:()=>b,noop:()=>je,observerResize:()=>D,off:()=>t,on:()=>e,placementType:()=>Ie,random:()=>C,renderDirectiveType:()=>ke,renderEmptyVNode:()=>Ne,renderType:()=>Ee,resolveClassName:()=>Fe,scrollTop:()=>n,scrollbarWidth:()=>ee,stringEnum:()=>be,triggerType:()=>Te,useForm:()=>w,useFormItem:()=>x,valueOrDefault:()=>f,withInstall:()=>De,withInstallProps:()=>Ue});var e=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)},t=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 n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:500,r=arguments.length>4?arguments[4]:void 0,o=Math.abs(t-n),s=Math.ceil(o/i*50);function a(t,n,i){if(t!==n){var o=t+i>n?n:t+i;t>n&&(o=t-i<n?n:t-i),e===window?window.scrollTo(o,o):e.scrollTop=o,window.requestAnimationFrame((function(){return a(o,n,i)}))}else null==r||r()}a(t,n,s)}function i(e){return i="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},i(e)}function r(e){return null==e}function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&r(e)}function u(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 c(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var l=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function p(e,t){return l(e)?e:t}function f(e,t){return void 0===e?t:e}function d(e,t){var n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r.datasetIndex!==o.datasetIndex||r.index!==o.index)return!1;return!0}function h(e){if(u(e))return e.map(h);if(c(e)){for(var t=Object.create(null),n=Object.keys(e),i=n.length,r=0;r<i;++r)t[n[r]]=h(e[n[r]]);return t}return e}function v(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function y(e,t,n,i){if(v(e)){var r=t[e],o=n[e];c(r)&&c(o)?g(r,o,i):t[e]=h(o)}}function g(e,t,n){var i=u(t)?t:[t],r=i.length;if(!c(e))return e;for(var o=(n=n||{}).merger||y,s=0;s<r;++s)if(c(t=i[s]))for(var a=Object.keys(t),l=0,p=a.length;l<p;++l)o(a[l],e,t,n);return e}function m(e,t){return g(e,t,{merger:b})}function b(e,t,n){if(v(e)){var i=t[e],r=n[e];c(i)&&c(r)?m(i,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=h(r))}}function k(e){try{return e instanceof HTMLElement}catch(t){return"object"===i(e)&&1===e.nodeType&&"object"===i(e.style)&&"object"===i(e.ownerDocument)}}function O(e){return e.offsetWidth<e.scrollWidth||e.offsetHeight<e.scrollHeight}function I(e,t){O(e)?e.setAttribute("title",t):e.removeAttribute("title")}var T=s(748),E=Symbol("form"),S=Symbol("formItem"),w=function(){return(0,T.inject)(E)},x=function(){return(0,T.inject)(S,void 0)};function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function M(e,t,n){return t&&P(e.prototype,t),n&&P(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var R,L,j=s(467),N="abcdefghijklmnopqrstuvwxyz0123456789",C=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:N,n="",i=0;i<e;i++)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,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=(0,j.throttle)((function(){"function"==typeof t&&t()}),n),o=new ResizeObserver((function(){r()}));return i&&"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 i=parseFloat(n.height),r=function(e,t){var n=document.createElement("div"),i=parseFloat(t.width)?"".concat(Math.ceil(parseFloat(t.width)),"px"):t.width;return n.style.cssText="\n width: ".concat(i,";\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(r);var o=window.getComputedStyle(r,null).height;document.body.removeChild(r),t=i<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}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!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"}(L||(L={}));var H=(_(R={},L.BOTTOM,0),_(R,L.CONTENT,1),_(R,L.NAVI,100),_(R,L.FULLSCREEN,1e3),_(R,L.MODAL,3e3),_(R,L.PLUGINS,8e3),_(R,L.MESSAGE,1e4),_(R,L.POPPER,99999),R),V=new(function(){function e(){A(this,e),this.storageLayerIndexValue={},this.copyDefaultValue()}return M(e,[{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[L.MODAL]=this.storageLayerIndexValue[L.MODAL]+1,this.storageLayerIndexValue[L.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(L.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(L.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(L.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(L.NAVI)}},{key:"getPopperIndex",value:function(){return H.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__,_({},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,_({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(H).reduce((function(e,t){return Object.assign(e,_({},t,{value:H[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(H,e)}}]),e}()),B=function(){function e(t){A(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.zIndexStore=new Map,this.lastUUID=null,this.maskStyle={position:"fixed",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},i=n.multiInstance,r=void 0!==i&&i,o=n.maskAttrTag,s=void 0===o?"auto":o,a=n.parentNode,u=void 0===a?document.body:a,c=n.maskStyle,l=void 0===c?{}:c,p=n.onClick,f=void 0===p?null:p;this.onClick=f,this.activeInstance=void 0,this.multiInstance=r,this.uniqueMaskAttrTag=this.getMaskAttrTag(s),this.parentNode=u||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle(Object.assign({},this.maskStyle,l))}return M(e,[{key:"setOption",value:function(e){var t=e||{},n=t.parentNode,i=void 0===n?document.body:n,r=t.maskStyle,o=void 0===r?{}:r,s=t.onClick,a=void 0===s?null:s;this.onClick=a,this.parentNode=i||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],i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=null!=r?r:C(16),a=/-?\d+/.test("".concat(t))?t:V.getModalNextIndex(),u=Object.assign({},this.maskStyle,i||{});if(!n&&this.lastUUID){var c=this.zIndexStore.get(this.lastUUID);u=c.style}this.storeMaskInsCfg({zIndex:a,style:Object.assign({},u),uuid:s,preUID:this.lastUUID}),this.setMaskStyle(u),this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(a)),this.mask.style.setProperty("pointer-events","all"),this.backupMask.style.setProperty("z-index","".concat(a-1)),n||(this.mask.style.setProperty("pointer-events","none"),null==e||e.style.setProperty("pointer-events","all")),e&&(o&&e.style.setProperty("z-index","".concat(a+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,i=arguments.length>2?arguments[2]:void 0,r=null!=i?i: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(r)}},{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)}}]),e}(),z=new B({}),q=function(){function e(){var t=this;A(this,e),this.getActiveClickFnIndex=function(e){return t.clickFn.findIndex((function(n){return i=n.target,"string"==typeof e?i.getAttribute(t.uuidAttrName)===e:i===e;var i}))},this.getActiveClickFn=function(e){var n;return null===(n=t.clickFn[t.getActiveClickFnIndex(e)])||void 0===n?void 0:n.fn},this.popInstanceList=[],this.clickFn=[],this.uuidAttrName="data-bk-pop-uuid",this.activePopId=null,z.setOption({onClick:this.onMaskClickFn.bind(this)})}return M(e,[{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]:{},i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0;if(e){var o="number"==typeof r?r:V.getModalNextIndex(),s=C(16);e.setAttribute(this.uuidAttrName,s),this.popInstanceList.push({uuid:s,zIndex:o,content:e,showMask:t,appendStyle:n}),t&&z.backupActiveInstance(),z.show(e,o,t,n,s,i),this.activePopId=s}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],i=this.getActiveClickFnIndex(e);i>=0&&(null===(t=this.clickFn)||void 0===t||t.splice(i,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();z.popIndexStore(t.uuid),t.remove(),this.activePopId=null}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0],i=n.zIndex,r=n.content,o=n.showMask,s=n.appendStyle,a=n.uuid;z.show(r,i,o,s,a),this.activePopId=a}else z.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 i=this.popInstanceList.findIndex((function(e){return e.uuid===n}));i>=0&&(t||this.popInstanceList[i].content.remove(),this.popInstanceList.splice(i,1),z.popIndexStore(n),this.popInstanceList.length?this.popHide(!1):(z.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])}}]),e}(),G=new q;function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function K(e){return function(e){if(Array.isArray(e))return W(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 W(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)?W(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 Y,Z=s(8022),J=s(5798),$=function(){function e(t,n,i){var r,o;A(this,e),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(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.container=null===(r=this.popperRefer)||void 0===r?void 0:r.parentElement,this.isShow=!!(null===(o=this.instanceOptions)||void 0===o?void 0:o.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 M(e,[{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(K(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(K(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();k(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();k(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=g({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{}),i=n.onFirstUpdate;return n.onFirstUpdate=function(e){"function"==typeof i&&(i.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,J.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"===i(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 k(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)}}]),e}(),X=null,Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#";if(null===X){X="id_".concat((0,Z.v4)());var t=document.createElement("div");t.setAttribute("id",X),t.setAttribute("data-popper-id",X),document.body.append(t)}return"".concat(e).concat(X)};function ee(){if(void 0!==Y)return Y;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 i=n.offsetWidth;return e.parentNode.removeChild(e),Y=t-i}function te(e,t){return te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},te(e,t)}function ne(e,t){if(t&&("object"===i(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 ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ie(e)}var re=s(210);var oe,se,ae,ue,ce,le,pe,fe,de,he,ve,ye,ge,me=(0,re.createTypes)({});function be(e){return e.reduce((function(e,t){return e[t]=t,e}),Object.create(null))}function ke(){return(0,re.string)().def(ae.SHOW)}function Oe(){return(0,re.string)().def(ue.LEFT)}function Ie(){return(0,re.string)().def(le.BOTTOM)}function Te(){return(0,re.string)().def(pe.HOVER)}function Ee(){return(0,re.toType)("popRenderType",{}).def(fe.SHOWN)}function Se(){return(0,re.toType)("dialogType",{default:de.OPERATION})}function we(){return(0,re.toType)("direction",{}).def(he.HORIZONTAL)}function xe(){return(0,re.toType)("lineType",{}).def(ve.DASHED)}function Ae(){return(0,re.toType)("tagTheme",{}).def()}function Pe(){return(0,re.toType)("behavior",{}).def(ge.NORMAL)}!function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(oe||(oe={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(se||(se={})),function(e){e.IF="if",e.SHOW="show"}(ae||(ae={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(ue||(ue={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}(ce||(ce={})),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"}(le||(le={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(pe||(pe={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(fe||(fe={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(de||(de={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(he||(he={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(ve||(ve={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(ye||(ye={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(ge||(ge={}));var Me=function(e){!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&&te(e,t)}(r,e);var t,n,i=(t=r,n=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,i=ie(t);if(n){var r=ie(this).constructor;e=Reflect.construct(i,arguments,r)}else e=i.apply(this,arguments);return ne(this,e)});function r(){return A(this,r),i.apply(this,arguments)}return M(r,null,[{key:"size",value:function(){var e=["small","default","large"];return(0,re.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,re.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,re.toType)("Placements",{validator:function(t){return!(t&&!e.includes(t))},default:"top"})}},{key:"style",value:function(){return(0,re.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,re.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"})}}]),r}(me);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 Le=Object.create({}),je=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]:{},i=n.prefix,r=t.config.globalProperties.bkUIPrefix||i||"Bk";t.component(r+e.name,e)},e},Ue=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0;return e.install=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=o.prefix,a=r.config.globalProperties.bkUIPrefix||s||"Bk";i&&r.directive(a+i.name,i.directive),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,i=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=function(){var o=this,s=arguments;if(e&&clearTimeout(e),r){var a=!e;e=setTimeout((function(){e=null}),n),a&&(t=i.apply(o,s))}else e=setTimeout((function(){i.apply(o,s)}),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}})(),a})()));
@@ -121,8 +121,8 @@ export declare enum AlignEnum {
121
121
  CENTER = "center",
122
122
  RIGHT = "right"
123
123
  }
124
- export declare function alignType(): import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
125
- default: "right" | "left" | "center";
124
+ export declare function alignType(): import("vue-types").VueTypeValidableDef<"left" | "center" | "right"> & {
125
+ default: "left" | "center" | "right";
126
126
  };
127
127
  export declare enum ThemeEnum {
128
128
  PRIMARY = "primary",
@@ -148,8 +148,8 @@ export declare enum PlacementEnum {
148
148
  LEFT_START = "left-start",
149
149
  LEFT_END = "left-end"
150
150
  }
151
- export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
152
- default: "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
151
+ export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "left" | "right" | "auto-start" | "auto-end" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
152
+ default: "auto" | "left" | "right" | "auto-start" | "auto-end" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
153
153
  };
154
154
  /** 弹层触发选项 */
155
155
  export declare enum TriggerEnum {
@@ -157,8 +157,8 @@ export declare enum TriggerEnum {
157
157
  CLICK = "click",
158
158
  MANUAL = "manual"
159
159
  }
160
- export declare function triggerType(): import("vue-types").VueTypeValidableDef<"hover" | "click" | "manual"> & {
161
- default: "hover" | "click" | "manual";
160
+ export declare function triggerType(): import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
161
+ default: "click" | "hover" | "manual";
162
162
  };
163
163
  /** 内容渲染类型:目前是在popover内容渲染时使用 */
164
164
  export declare enum RenderType {
@@ -174,7 +174,7 @@ export declare enum DialogTypeEnum {
174
174
  CONFIRM = "confirm",
175
175
  PROCESS = "process"
176
176
  }
177
- export declare function dialogTypeUnion(): VueTypeDef<"show" | "operation" | "confirm" | "process">;
177
+ export declare function dialogTypeUnion(): VueTypeDef<"process" | "show" | "operation" | "confirm">;
178
178
  export declare enum DirectionEnum {
179
179
  HORIZONTAL = "horizontal",
180
180
  VERTICAL = "vertical"
@@ -208,7 +208,7 @@ export declare function InputBehaviorType(): VueTypeDef<"simplicity" | "normal">
208
208
  export declare class PropTypes extends propTypesNS {
209
209
  static size(): VueTypeDef<"small" | "default" | "large">;
210
210
  static theme(): VueTypeDef<"success" | "warning" | "danger" | "primary">;
211
- static placement(): VueTypeDef<"top" | "bottom" | "right" | "left">;
211
+ static placement(): VueTypeDef<"left" | "right" | "top" | "bottom">;
212
212
  static style(): VueTypeDef<CSSProperties>;
213
213
  static position(positions?: string[]): VueTypeDef<string>;
214
214
  }
@@ -4,17 +4,17 @@ declare const BkSideslider: {
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  title: string;
7
- multiInstance: boolean;
8
- zIndex: string | number;
9
- showMask: boolean;
10
- direction: string;
11
7
  transfer: boolean;
12
8
  width: string | number;
13
9
  height: string | number;
14
10
  maxHeight: string;
15
11
  extCls: string | unknown[];
12
+ direction: string;
16
13
  isShow: boolean;
14
+ zIndex: string | number;
17
15
  draggable: boolean;
16
+ multiInstance: boolean;
17
+ showMask: boolean;
18
18
  renderDirective: "if" | "show";
19
19
  quickClose: boolean;
20
20
  scrollable: boolean;
@@ -69,7 +69,7 @@ declare const BkSideslider: {
69
69
  } & {
70
70
  default: boolean;
71
71
  };
72
- size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
72
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
73
73
  draggable: import("vue-types").VueTypeValidableDef<boolean> & {
74
74
  default: boolean;
75
75
  } & {
@@ -105,7 +105,7 @@ declare const BkSideslider: {
105
105
  default: "if" | "show";
106
106
  };
107
107
  beforeClose: import("vue-types").VueTypeDef<unknown>;
108
- dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
108
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
109
109
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
110
110
  default: boolean;
111
111
  } & {
@@ -118,7 +118,7 @@ declare const BkSideslider: {
118
118
  onClosed?: (...args: any[]) => any;
119
119
  "onUpdate:isShow"?: (...args: any[]) => any;
120
120
  "onAnimation-end"?: (...args: any[]) => any;
121
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "transfer" | "width" | "height" | "maxHeight" | "extCls" | "isShow" | "draggable" | "renderDirective" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
121
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "transfer" | "width" | "height" | "maxHeight" | "extCls" | "direction" | "isShow" | "zIndex" | "draggable" | "multiInstance" | "showMask" | "renderDirective" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
122
122
  $attrs: {
123
123
  [x: string]: unknown;
124
124
  };
@@ -179,7 +179,7 @@ declare const BkSideslider: {
179
179
  } & {
180
180
  default: boolean;
181
181
  };
182
- size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
182
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
183
183
  draggable: import("vue-types").VueTypeValidableDef<boolean> & {
184
184
  default: boolean;
185
185
  } & {
@@ -215,7 +215,7 @@ declare const BkSideslider: {
215
215
  default: "if" | "show";
216
216
  };
217
217
  beforeClose: import("vue-types").VueTypeDef<unknown>;
218
- dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
218
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
219
219
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
220
220
  default: boolean;
221
221
  } & {
@@ -230,17 +230,17 @@ declare const BkSideslider: {
230
230
  "onAnimation-end"?: (...args: any[]) => any;
231
231
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], string, {
232
232
  title: string;
233
- multiInstance: boolean;
234
- zIndex: string | number;
235
- showMask: boolean;
236
- direction: string;
237
233
  transfer: boolean;
238
234
  width: string | number;
239
235
  height: string | number;
240
236
  maxHeight: string;
241
237
  extCls: string | unknown[];
238
+ direction: string;
242
239
  isShow: boolean;
240
+ zIndex: string | number;
243
241
  draggable: boolean;
242
+ multiInstance: boolean;
243
+ showMask: boolean;
244
244
  renderDirective: "if" | "show";
245
245
  quickClose: boolean;
246
246
  scrollable: boolean;
@@ -315,7 +315,7 @@ declare const BkSideslider: {
315
315
  } & {
316
316
  default: boolean;
317
317
  };
318
- size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
318
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
319
319
  draggable: import("vue-types").VueTypeValidableDef<boolean> & {
320
320
  default: boolean;
321
321
  } & {
@@ -351,7 +351,7 @@ declare const BkSideslider: {
351
351
  default: "if" | "show";
352
352
  };
353
353
  beforeClose: import("vue-types").VueTypeDef<unknown>;
354
- dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
354
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
355
355
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
356
356
  default: boolean;
357
357
  } & {
@@ -415,7 +415,7 @@ declare const BkSideslider: {
415
415
  } & {
416
416
  default: boolean;
417
417
  };
418
- size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
418
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
419
419
  draggable: import("vue-types").VueTypeValidableDef<boolean> & {
420
420
  default: boolean;
421
421
  } & {
@@ -451,7 +451,7 @@ declare const BkSideslider: {
451
451
  default: "if" | "show";
452
452
  };
453
453
  beforeClose: import("vue-types").VueTypeDef<unknown>;
454
- dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
454
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
455
455
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
456
456
  default: boolean;
457
457
  } & {
@@ -466,17 +466,17 @@ declare const BkSideslider: {
466
466
  "onAnimation-end"?: (...args: any[]) => any;
467
467
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "shown" | "hidden" | "closed" | "update:isShow" | "animation-end", {
468
468
  title: string;
469
- multiInstance: boolean;
470
- zIndex: string | number;
471
- showMask: boolean;
472
- direction: string;
473
469
  transfer: boolean;
474
470
  width: string | number;
475
471
  height: string | number;
476
472
  maxHeight: string;
477
473
  extCls: string | unknown[];
474
+ direction: string;
478
475
  isShow: boolean;
476
+ zIndex: string | number;
479
477
  draggable: boolean;
478
+ multiInstance: boolean;
479
+ showMask: boolean;
480
480
  renderDirective: "if" | "show";
481
481
  quickClose: boolean;
482
482
  scrollable: boolean;
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
45
45
  } & {
46
46
  default: boolean;
47
47
  };
48
- size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
48
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
49
49
  draggable: import("vue-types").VueTypeValidableDef<boolean> & {
50
50
  default: boolean;
51
51
  } & {
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
81
81
  default: "if" | "show";
82
82
  };
83
83
  beforeClose: import("vue-types").VueTypeDef<unknown>;
84
- dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
84
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
85
85
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
86
86
  default: boolean;
87
87
  } & {
@@ -135,7 +135,7 @@ declare const _default: import("vue").DefineComponent<{
135
135
  } & {
136
136
  default: boolean;
137
137
  };
138
- size: import("vue-types").VueTypeDef<"small" | "normal" | "large" | "medium">;
138
+ size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
139
139
  draggable: import("vue-types").VueTypeValidableDef<boolean> & {
140
140
  default: boolean;
141
141
  } & {
@@ -171,7 +171,7 @@ declare const _default: import("vue").DefineComponent<{
171
171
  default: "if" | "show";
172
172
  };
173
173
  beforeClose: import("vue-types").VueTypeDef<unknown>;
174
- dialogType: import("vue-types").VueTypeDef<"show" | "operation" | "confirm" | "process">;
174
+ dialogType: import("vue-types").VueTypeDef<"process" | "show" | "operation" | "confirm">;
175
175
  multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
176
176
  default: boolean;
177
177
  } & {
@@ -186,17 +186,17 @@ declare const _default: import("vue").DefineComponent<{
186
186
  "onAnimation-end"?: (...args: any[]) => any;
187
187
  }, {
188
188
  title: string;
189
- multiInstance: boolean;
190
- zIndex: string | number;
191
- showMask: boolean;
192
- direction: string;
193
189
  transfer: boolean;
194
190
  width: string | number;
195
191
  height: string | number;
196
192
  maxHeight: string;
197
193
  extCls: string | unknown[];
194
+ direction: string;
198
195
  isShow: boolean;
196
+ zIndex: string | number;
199
197
  draggable: boolean;
198
+ multiInstance: boolean;
199
+ showMask: boolean;
200
200
  renderDirective: "if" | "show";
201
201
  quickClose: boolean;
202
202
  scrollable: boolean;
@@ -28,9 +28,9 @@ declare const Slider: {
28
28
  $: import("vue").ComponentInternalInstance;
29
29
  $data: {};
30
30
  $props: Partial<{
31
- vertical: boolean;
32
31
  height: string;
33
32
  extCls: string;
33
+ vertical: boolean;
34
34
  range: boolean;
35
35
  step: number;
36
36
  showInput: boolean;
@@ -123,7 +123,7 @@ declare const Slider: {
123
123
  }>> & {
124
124
  onChange?: (...args: any[]) => any;
125
125
  "onUpdate:modelValue"?: (...args: any[]) => any;
126
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "vertical" | "height" | "extCls" | "range" | "step" | "showInput" | "customContent" | "disable" | "showTip" | "maxValue" | "minValue" | "showInterval" | "showIntervalLabel" | "showButtonLabel" | "showBetweenLabel" | "formatterLabel" | "formatterButtonLabel" | "formatterTipLabel">;
126
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "height" | "extCls" | "vertical" | "range" | "step" | "showInput" | "customContent" | "disable" | "showTip" | "maxValue" | "minValue" | "showInterval" | "showIntervalLabel" | "showButtonLabel" | "showBetweenLabel" | "formatterLabel" | "formatterButtonLabel" | "formatterTipLabel">;
127
127
  $attrs: {
128
128
  [x: string]: unknown;
129
129
  };
@@ -217,9 +217,9 @@ declare const Slider: {
217
217
  }, {
218
218
  renderDom: () => JSX.Element;
219
219
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
220
- vertical: boolean;
221
220
  height: string;
222
221
  extCls: string;
222
+ vertical: boolean;
223
223
  range: boolean;
224
224
  step: number;
225
225
  showInput: boolean;
@@ -418,9 +418,9 @@ declare const Slider: {
418
418
  }, {
419
419
  renderDom: () => JSX.Element;
420
420
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
421
- vertical: boolean;
422
421
  height: string;
423
422
  extCls: string;
423
+ vertical: boolean;
424
424
  range: boolean;
425
425
  step: number;
426
426
  showInput: boolean;
@@ -179,9 +179,9 @@ declare const _default: import("vue").DefineComponent<{
179
179
  onChange?: (...args: any[]) => any;
180
180
  "onUpdate:modelValue"?: (...args: any[]) => any;
181
181
  }, {
182
- vertical: boolean;
183
182
  height: string;
184
183
  extCls: string;
184
+ vertical: boolean;
185
185
  range: boolean;
186
186
  step: number;
187
187
  showInput: boolean;
@@ -3,11 +3,11 @@ declare const BkSteps: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
+ steps: unknown[];
6
7
  text: boolean;
8
+ extCls: string;
7
9
  direction: "horizontal" | "vertical";
8
10
  lineType: "dashed" | "solid";
9
- steps: unknown[];
10
- extCls: string;
11
11
  theme: "success" | "warning" | "danger" | "primary";
12
12
  beforeChange: (...args: any[]) => any;
13
13
  controllable: boolean;
@@ -54,7 +54,7 @@ declare const BkSteps: {
54
54
  }>> & {
55
55
  onClick?: (...args: any[]) => any;
56
56
  "onUpdate:curStep"?: (...args: any[]) => any;
57
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "direction" | "lineType" | "steps" | "extCls" | "theme" | "beforeChange" | "controllable" | "status" | "curStep">;
57
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "steps" | "text" | "extCls" | "direction" | "lineType" | "theme" | "beforeChange" | "controllable" | "status" | "curStep">;
58
58
  $attrs: {
59
59
  [x: string]: unknown;
60
60
  };
@@ -113,11 +113,11 @@ declare const BkSteps: {
113
113
  defaultSteps: import("vue").Ref<any[]>;
114
114
  jumpTo: (index: any) => Promise<void>;
115
115
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curStep")[], string, {
116
+ steps: unknown[];
116
117
  text: boolean;
118
+ extCls: string;
117
119
  direction: "horizontal" | "vertical";
118
120
  lineType: "dashed" | "solid";
119
- steps: unknown[];
120
- extCls: string;
121
121
  theme: "success" | "warning" | "danger" | "primary";
122
122
  beforeChange: (...args: any[]) => any;
123
123
  controllable: boolean;
@@ -236,11 +236,11 @@ declare const BkSteps: {
236
236
  defaultSteps: import("vue").Ref<any[]>;
237
237
  jumpTo: (index: any) => Promise<void>;
238
238
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curStep")[], "click" | "update:curStep", {
239
+ steps: unknown[];
239
240
  text: boolean;
241
+ extCls: string;
240
242
  direction: "horizontal" | "vertical";
241
243
  lineType: "dashed" | "solid";
242
- steps: unknown[];
243
- extCls: string;
244
244
  theme: "success" | "warning" | "danger" | "primary";
245
245
  beforeChange: (...args: any[]) => any;
246
246
  controllable: boolean;
@@ -147,11 +147,11 @@ declare const _default: import("vue").DefineComponent<{
147
147
  onClick?: (...args: any[]) => any;
148
148
  "onUpdate:curStep"?: (...args: any[]) => any;
149
149
  }, {
150
+ steps: unknown[];
150
151
  text: boolean;
152
+ extCls: string;
151
153
  direction: "horizontal" | "vertical";
152
154
  lineType: "dashed" | "solid";
153
- steps: unknown[];
154
- extCls: string;
155
155
  theme: "success" | "warning" | "danger" | "primary";
156
156
  beforeChange: (...args: any[]) => any;
157
157
  controllable: boolean;