bkui-vue 0.0.1-beta.208 → 0.0.1-beta.209

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 (43) hide show
  1. package/dist/index.cjs.js +31 -31
  2. package/dist/index.esm.js +108 -80
  3. package/dist/index.umd.js +30 -30
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/button/button.d.ts +1 -1
  7. package/lib/button/index.d.ts +4 -4
  8. package/lib/cascader/cascader.d.ts +1 -1
  9. package/lib/cascader/index.d.ts +4 -4
  10. package/lib/color-picker/color-picker.d.ts +1 -1
  11. package/lib/color-picker/index.d.ts +4 -4
  12. package/lib/directives/index.js +1 -1
  13. package/lib/dropdown/dropdown.d.ts +1 -1
  14. package/lib/dropdown/index.d.ts +4 -4
  15. package/lib/link/index.d.ts +4 -4
  16. package/lib/link/link.d.ts +1 -1
  17. package/lib/modal/index.d.ts +4 -0
  18. package/lib/modal/index.js +1 -1
  19. package/lib/modal/modal.d.ts +1 -0
  20. package/lib/popover/index.d.ts +4 -4
  21. package/lib/popover/popover.d.ts +1 -1
  22. package/lib/popover2/index.d.ts +4 -4
  23. package/lib/popover2/popover2.d.ts +1 -1
  24. package/lib/resize-layout/index.d.ts +4 -4
  25. package/lib/resize-layout/resize-layout.d.ts +1 -1
  26. package/lib/select/index.d.ts +4 -4
  27. package/lib/select/select.d.ts +1 -1
  28. package/lib/shared/index.js +1 -1
  29. package/lib/shared/pop-manager.d.ts +1 -2
  30. package/lib/switcher/index.d.ts +4 -4
  31. package/lib/switcher/switcher.d.ts +1 -1
  32. package/lib/table/const.d.ts +4 -1
  33. package/lib/table/index.js +1 -1
  34. package/lib/table/plugins/use-fixed-column.d.ts +2 -5
  35. package/lib/table/table.css +4 -0
  36. package/lib/table/table.less +5 -0
  37. package/lib/table/table.variable.css +4 -0
  38. package/lib/table/utils.d.ts +1 -0
  39. package/lib/upload/index.d.ts +4 -4
  40. package/lib/upload/upload-list.d.ts +1 -1
  41. package/lib/upload/upload-trigger.d.ts +1 -1
  42. package/lib/upload/upload.d.ts +1 -1
  43. package/package.json +1 -1
@@ -150,8 +150,8 @@ declare const _default: import("vue").DefineComponent<{
150
150
  }, {
151
151
  title: string;
152
152
  text: boolean;
153
- disabled: boolean;
154
153
  theme: string;
154
+ disabled: boolean;
155
155
  size: string;
156
156
  icon: string;
157
157
  outline: boolean;
@@ -6,8 +6,8 @@ declare const BkButton: {
6
6
  $props: Partial<{
7
7
  title: string;
8
8
  text: boolean;
9
- disabled: boolean;
10
9
  theme: string;
10
+ disabled: boolean;
11
11
  size: string;
12
12
  icon: string;
13
13
  outline: boolean;
@@ -58,7 +58,7 @@ declare const BkButton: {
58
58
  }>> & {
59
59
  onClick?: (...args: any[]) => any;
60
60
  onMouseover?: (...args: any[]) => any;
61
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "text" | "disabled" | "theme" | "size" | "icon" | "outline" | "loading" | "hoverTheme" | "iconRight" | "selected" | "nativeType">;
61
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "text" | "theme" | "disabled" | "size" | "icon" | "outline" | "loading" | "hoverTheme" | "iconRight" | "selected" | "nativeType">;
62
62
  $attrs: {
63
63
  [x: string]: unknown;
64
64
  };
@@ -117,8 +117,8 @@ declare const BkButton: {
117
117
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], string, {
118
118
  title: string;
119
119
  text: boolean;
120
- disabled: boolean;
121
120
  theme: string;
121
+ disabled: boolean;
122
122
  size: string;
123
123
  icon: string;
124
124
  outline: boolean;
@@ -238,8 +238,8 @@ declare const BkButton: {
238
238
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], "click" | "mouseover", {
239
239
  title: string;
240
240
  text: boolean;
241
- disabled: boolean;
242
241
  theme: string;
242
+ disabled: boolean;
243
243
  size: string;
244
244
  icon: string;
245
245
  outline: boolean;
@@ -280,9 +280,9 @@ declare const _default: import("vue").DefineComponent<{
280
280
  onClear?: (...args: any[]) => any;
281
281
  onToggle?: (...args: any[]) => any;
282
282
  }, {
283
+ extCls: string;
283
284
  disabled: boolean;
284
285
  trigger: string;
285
- extCls: string;
286
286
  placeholder: string;
287
287
  list: unknown[];
288
288
  separator: string;
@@ -4,9 +4,9 @@ declare const BkCascader: {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
+ extCls: string;
7
8
  disabled: boolean;
8
9
  trigger: string;
9
- extCls: string;
10
10
  placeholder: string;
11
11
  list: unknown[];
12
12
  separator: string;
@@ -119,7 +119,7 @@ declare const BkCascader: {
119
119
  "onUpdate:modelValue"?: (...args: any[]) => any;
120
120
  onClear?: (...args: any[]) => any;
121
121
  onToggle?: (...args: any[]) => any;
122
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "extCls" | "placeholder" | "list" | "separator" | "multiple" | "clearable" | "checkAnyLevel" | "filterable" | "idKey" | "nameKey" | "childrenKey" | "isRemote" | "remoteMethod" | "showCompleteName" | "limitOneLine" | "scrollHeight" | "scrollWidth">;
122
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "disabled" | "trigger" | "placeholder" | "list" | "separator" | "multiple" | "clearable" | "checkAnyLevel" | "filterable" | "idKey" | "nameKey" | "childrenKey" | "isRemote" | "remoteMethod" | "showCompleteName" | "limitOneLine" | "scrollHeight" | "scrollWidth">;
123
123
  $attrs: {
124
124
  [x: string]: unknown;
125
125
  };
@@ -323,9 +323,9 @@ declare const BkCascader: {
323
323
  cancel(): void;
324
324
  };
325
325
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue")[], string, {
326
+ extCls: string;
326
327
  disabled: boolean;
327
328
  trigger: string;
328
- extCls: string;
329
329
  placeholder: string;
330
330
  list: unknown[];
331
331
  separator: string;
@@ -745,9 +745,9 @@ declare const BkCascader: {
745
745
  cancel(): void;
746
746
  };
747
747
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "toggle" | "clear" | "update:modelValue")[], "change" | "toggle" | "clear" | "update:modelValue", {
748
+ extCls: string;
748
749
  disabled: boolean;
749
750
  trigger: string;
750
- extCls: string;
751
751
  placeholder: string;
752
752
  list: unknown[];
753
753
  separator: string;
@@ -131,8 +131,8 @@ declare const _default: import("vue").DefineComponent<{
131
131
  onChange?: (...args: any[]) => any;
132
132
  "onUpdate:modelValue"?: (...args: any[]) => any;
133
133
  }, {
134
- disabled: boolean;
135
134
  extCls: string;
135
+ disabled: boolean;
136
136
  size: string;
137
137
  readonly: boolean;
138
138
  modelValue: string;
@@ -3,8 +3,8 @@ declare const BkColorPicker: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- disabled: boolean;
7
6
  extCls: string;
7
+ disabled: boolean;
8
8
  size: string;
9
9
  readonly: boolean;
10
10
  modelValue: string;
@@ -57,7 +57,7 @@ declare const BkColorPicker: {
57
57
  }>> & {
58
58
  onChange?: (...args: any[]) => any;
59
59
  "onUpdate:modelValue"?: (...args: any[]) => any;
60
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "extCls" | "size" | "readonly" | "modelValue" | "withValidate" | "transfer" | "recommend" | "showValue">;
60
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "disabled" | "size" | "readonly" | "modelValue" | "withValidate" | "transfer" | "recommend" | "showValue">;
61
61
  $attrs: {
62
62
  [x: string]: unknown;
63
63
  };
@@ -117,8 +117,8 @@ declare const BkColorPicker: {
117
117
  onChange?: (...args: any[]) => any;
118
118
  "onUpdate:modelValue"?: (...args: any[]) => any;
119
119
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
120
- disabled: boolean;
121
120
  extCls: string;
121
+ disabled: boolean;
122
122
  size: string;
123
123
  readonly: boolean;
124
124
  modelValue: string;
@@ -241,8 +241,8 @@ declare const BkColorPicker: {
241
241
  onChange?: (...args: any[]) => any;
242
242
  "onUpdate:modelValue"?: (...args: any[]) => any;
243
243
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
244
- disabled: boolean;
245
244
  extCls: string;
245
+ disabled: boolean;
246
246
  size: string;
247
247
  readonly: boolean;
248
248
  modelValue: string;
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("vue"),require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["vue","../shared","@popperjs/core","../plugin-popover"],n);else{var t="object"==typeof exports?n(require("vue"),require("../shared"),require("@popperjs/core"),require("../plugin-popover")):n(e.vue,e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,n,t,r)=>(()=>{var o={2439:(e,n,t)=>{e.exports=t(2527)},7430:e=>{"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),t={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=t},6377:e=>{var n,t,r,o,i,a,u,c,s,l,d,f,p,v,m,b=!1;function h(){if(!b){b=!0;var e=navigator.userAgent,h=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),h){(n=h[1]?parseFloat(h[1]):h[5]?parseFloat(h[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);a=g?parseFloat(g[1])+4:n,t=h[2]?parseFloat(h[2]):NaN,r=h[3]?parseFloat(h[3]):NaN,(o=h[4]?parseFloat(h[4]):NaN)?(h=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=h&&h[1]?parseFloat(h[1]):NaN):i=NaN}else n=t=r=i=o=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!w||parseFloat(w[1].replace("_","."))}else u=!1;c=!!y[2],s=!!y[3]}else u=c=s=!1}}var y={ie:function(){return h()||n},ieCompatibilityMode:function(){return h()||a>n},ie64:function(){return y.ie()&&d},firefox:function(){return h()||t},opera:function(){return h()||r},webkit:function(){return h()||o},safari:function(){return y.webkit()},chrome:function(){return h()||i},windows:function(){return h()||c},osx:function(){return h()||u},linux:function(){return h()||s},iphone:function(){return h()||f},mobile:function(){return h()||f||p||l||m},nativeApp:function(){return h()||v},android:function(){return h()||l},ipad:function(){return h()||p}};e.exports=y},3541:(e,n,t)=>{"use strict";var r,o=t(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,n){if(!o.canUseDOM||n&&!("addEventListener"in document))return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i="function"==typeof a[t]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,n,t)=>{"use strict";var r=t(6377),o=t(3541);function i(e){var n=0,t=0,r=0,o=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),r=10*n,o=10*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!n&&(n=r<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},9706:e=>{"use strict";e.exports=r},4212:e=>{"use strict";e.exports=n},5798:e=>{"use strict";e.exports=t},748:n=>{"use strict";n.exports=e}},i={};function a(e){var n=i[e];if(void 0!==n)return n.exports;var t=i[e]={exports:{}};return o[e](t,t.exports,a),t.exports}a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var t in n)a.o(n,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{"use strict";a.r(u),a.d(u,{bkEllipsis:()=>j,bkEllipsisInstance:()=>L,bkTooltips:()=>M,clickoutside:()=>f,mousewheel:()=>r});var e=a(2439),n=a.n(e),t="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,r){var o,i;console.error(e,r),o=e,i=r.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(t?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==t.return||t.return()}finally{if(c)throw a}}}}function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var c,s=new Map;function l(e,n){var t,r=[];return Array.isArray(n.arg)?r=n.arg:(t=n.arg,"undefined"!=typeof Element&&t instanceof Element&&r.push(n.arg)),function(t,o){var i=n.instance.popperRef,a=t.target,u=null==o?void 0:o.target,c=!n||!n.instance,s=!a||!u,l=e.contains(a)||e.contains(u),d=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));c||s||l||d||f||p||n.value(t,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var n,t=o(s.values());try{for(t.s();!(n=t.n()).done;){var r,i=o(n.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){i.e(e)}finally{i.f()}}}catch(e){t.e(e)}finally{t.f()}}));var d={beforeMount:function(e,n){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,n),bindingFn:n.value})},updated:function(e,n){s.has(e)||s.set(e,[]);var t=s.get(e),r=t.findIndex((function(e){return e.bindingFn===n.oldValue})),o={documentHandler:l(e,n),bindingFn:n.value};r>=0?t.splice(r,1,o):t.push(o)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",d)}};const f=d;function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function v(e){return v="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},v(e)}var m=a(748),b=a(4212),h=a(5798),y=new Map;function g(e){var n=(0,m.ref)({arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",onShow:function(){},onHide:function(){}});return"object"===v(e.value)?Object.assign(n.value,e.value):n.value.content=e.value,n}function w(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}function x(e){var n=y.get(e),t=n.popper,r=g(n.binding).value,o=r.disabled,i=r.content,a=r.arrow,u=r.onShow;if(!o){if(t.innerText=i,a){var c=w();t.appendChild(c)}document.body.appendChild(t);var s=function(e,n){var t=g(y.get(e).binding).value,r=t.placement,o=t.distance,i=t.showOnInit,a=(0,h.createPopper)(e,n,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&x(e),a}(e,t);u(),t.setAttribute("data-show",""),s.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((n=e.modifiers,function(e){if(Array.isArray(e))return p(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,n):void 0}}(n)||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.")}()),[{name:"eventListeners",enabled:!0}])});var n})),s.forceUpdate(),y.get(e).popperInstance=s}}function E(e){if(y.get(e)){var n=y.get(e),t=n.popper,r=n.popperInstance,o=g(n.binding).value.onHide;t&&document.body.contains(t)&&(t.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(t),o())}}const M={beforeMount:function(e,n){var t=g(n),r=t.value.trigger,o=function(e){var n=e.value,t=n.content,r=n.arrow,o=n.theme,i=n.extCls,a="light"===o,u=b.bkZIndexManager.getPopperIndex(),c=document.createElement("div");if(c.className="bk-popper ".concat(a?"light":"dark"," ").concat(i),c.innerText=t,c.style.zIndex=String(u),r){var s=w();c.appendChild(s)}return c}(t);if("hover"===r){var i=null;e.addEventListener("mouseenter",(function(){x(e),clearTimeout(i)})),o.addEventListener("mouseenter",(function(){clearTimeout(i)})),e.addEventListener("mouseleave",(function(){i=setTimeout((function(){E(e)}),100)})),e.addEventListener("click",(function(){E(e)})),o.addEventListener("mouseleave",(function(){i=setTimeout((function(){E(e)}),100)}))}else"click"===r&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!o.hasAttribute("data-show")?x(e):o.hasAttribute("data-show")&&E(e)}));y.set(e,{binding:n,popper:o,popperInstance:null})},unmounted:function(e){E(e),y.delete(e)}};var A=a(9706),S=a.n(A),O=function(e,n){var t={content:"",target:e};return"object"===v(n.value)?Object.assign(t,n.value):t.content=n.value,t},L=function(e,n){var t=null,r=null;if(!O(e,n).disabled&&!t){var o=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=O(e,n);r.content=r.content||e.innerHTML,t=S()(r),setTimeout((function(){t.show()}))}),100)},i=function(){r&&clearTimeout(r),null==t||t.hide(),null==t||t.close(),t=null};return e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",i),Object.assign(n,{__cached:{handleMouseEnter:o,handleMouseLeave:i}}),{destroyInstance:function(n){var t,r;i(),null===(t=null!=n?n:e)||void 0===t||t.removeEventListener("mouseenter",o),null===(r=null!=n?n:e)||void 0===r||r.removeEventListener("mouseleave",i)},instance:t}}};const j={mounted:function(e,n){L(e,n)},beforeUnmount:function(e,n){if(n.__cached){var t=n.__cached,r=t.handleMouseEnter,o=t.handleMouseLeave;e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),n.__cached=null}}}})(),u})()));
2
+ !function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core","../plugin-popover"],n);else{var t="object"==typeof exports?n(require("../shared"),require("@popperjs/core"),require("../plugin-popover")):n(e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,n,t)=>(()=>{var r={2439:(e,n,t)=>{e.exports=t(2527)},7430:e=>{"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),t={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=t},6377:e=>{var n,t,r,o,i,a,u,c,s,l,d,f,p,v,m,b=!1;function h(){if(!b){b=!0;var e=navigator.userAgent,h=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),h){(n=h[1]?parseFloat(h[1]):h[5]?parseFloat(h[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);a=g?parseFloat(g[1])+4:n,t=h[2]?parseFloat(h[2]):NaN,r=h[3]?parseFloat(h[3]):NaN,(o=h[4]?parseFloat(h[4]):NaN)?(h=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=h&&h[1]?parseFloat(h[1]):NaN):i=NaN}else n=t=r=i=o=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!w||parseFloat(w[1].replace("_","."))}else u=!1;c=!!y[2],s=!!y[3]}else u=c=s=!1}}var y={ie:function(){return h()||n},ieCompatibilityMode:function(){return h()||a>n},ie64:function(){return y.ie()&&d},firefox:function(){return h()||t},opera:function(){return h()||r},webkit:function(){return h()||o},safari:function(){return y.webkit()},chrome:function(){return h()||i},windows:function(){return h()||c},osx:function(){return h()||u},linux:function(){return h()||s},iphone:function(){return h()||f},mobile:function(){return h()||f||p||l||m},nativeApp:function(){return h()||v},android:function(){return h()||l},ipad:function(){return h()||p}};e.exports=y},3541:(e,n,t)=>{"use strict";var r,o=t(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,n){if(!o.canUseDOM||n&&!("addEventListener"in document))return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i="function"==typeof a[t]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,n,t)=>{"use strict";var r=t(6377),o=t(3541);function i(e){var n=0,t=0,r=0,o=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),r=10*n,o=10*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!n&&(n=r<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},9706:e=>{"use strict";e.exports=t},4212:n=>{"use strict";n.exports=e},5798:e=>{"use strict";e.exports=n}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var t=o[e]={exports:{}};return r[e](t,t.exports,i),t.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.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";i.r(a),i.d(a,{bkEllipsis:()=>L,bkEllipsisInstance:()=>O,bkTooltips:()=>E,clickoutside:()=>f,mousewheel:()=>r});var e=i(2439),n=i.n(e),t="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,r){var o,i;console.error(e,r),o=e,i=r.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(t?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return u(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(c)throw i}}}}function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var c,s=new Map;function l(e,n){var t,r=[];return Array.isArray(n.arg)?r=n.arg:(t=n.arg,"undefined"!=typeof Element&&t instanceof Element&&r.push(n.arg)),function(t,o){var i=n.instance.popperRef,a=t.target,u=null==o?void 0:o.target,c=!n||!n.instance,s=!a||!u,l=e.contains(a)||e.contains(u),d=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));c||s||l||d||f||p||n.value(t,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var n,t=o(s.values());try{for(t.s();!(n=t.n()).done;){var r,i=o(n.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){i.e(e)}finally{i.f()}}}catch(e){t.e(e)}finally{t.f()}}));var d={beforeMount:function(e,n){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,n),bindingFn:n.value})},updated:function(e,n){s.has(e)||s.set(e,[]);var t=s.get(e),r=t.findIndex((function(e){return e.bindingFn===n.oldValue})),o={documentHandler:l(e,n),bindingFn:n.value};r>=0?t.splice(r,1,o):t.push(o)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",d)}};const f=d;function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function v(e){return v="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},v(e)}var m=i(4212),b=i(5798),h=new Map;function y(e){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",onShow:function(){},onHide:function(){}};return"object"===v(e.value)?Object.assign(n,e.value):n.content=e.value,n}function g(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}function w(e){var n=h.get(e),t=n.popper,r=n.opts,o=r.disabled,i=r.content,a=r.arrow,u=r.onShow;if(!o){if(t.innerText=i,a){var c=g();t.appendChild(c)}document.body.appendChild(t);var s=function(e,n){var t=h.get(e).opts,r=t.placement,o=t.distance,i=t.showOnInit,a=(0,b.createPopper)(e,n,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&w(e),a}(e,t);u(),t.setAttribute("data-show",""),s.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((n=e.modifiers,function(e){if(Array.isArray(e))return p(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,n):void 0}}(n)||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.")}()),[{name:"eventListeners",enabled:!0}])});var n})),s.forceUpdate(),h.get(e).popperInstance=s}}function x(e){if(h.get(e)){var n=h.get(e),t=n.popper,r=n.popperInstance,o=n.opts.onHide;t&&document.body.contains(t)&&(t.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(t),o())}}const E={beforeMount:function(e,n){var t=y(n),r=t.trigger,o=function(e){var n=e.content,t=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=m.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="bk-popper ".concat(i?"light":"dark"," ").concat(o),u.innerText=n,u.style.zIndex=String(a),t){var c=g();u.appendChild(c)}return u}(t);if("hover"===r){var i=null;e.addEventListener("mouseenter",(function(){w(e),clearTimeout(i)})),o.addEventListener("mouseenter",(function(){clearTimeout(i)})),e.addEventListener("mouseleave",(function(){i=setTimeout((function(){x(e)}),100)})),e.addEventListener("click",(function(){x(e)})),o.addEventListener("mouseleave",(function(){i=setTimeout((function(){x(e)}),100)}))}else"click"===r&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!o.hasAttribute("data-show")?w(e):o.hasAttribute("data-show")&&x(e)}));h.set(e,{opts:t,popper:o,popperInstance:null})},updated:function(e,n){h.get(e).opts=y(n)},unmounted:function(e){x(e),h.delete(e)}};var M=i(9706),A=i.n(M),S=function(e,n){var t={content:"",target:e};return"object"===v(n.value)?Object.assign(t,n.value):t.content=n.value,t},O=function(e,n){var t=null,r=null;if(!S(e,n).disabled&&!t){var o=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=S(e,n);r.content=r.content||e.innerHTML,t=A()(r),setTimeout((function(){t.show()}))}),100)},i=function(){r&&clearTimeout(r),null==t||t.hide(),null==t||t.close(),t=null};return e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",i),Object.assign(n,{__cached:{handleMouseEnter:o,handleMouseLeave:i}}),{destroyInstance:function(n){var t,r;i(),null===(t=null!=n?n:e)||void 0===t||t.removeEventListener("mouseenter",o),null===(r=null!=n?n:e)||void 0===r||r.removeEventListener("mouseleave",i)},instance:t}}};const L={mounted:function(e,n){O(e,n)},beforeUnmount:function(e,n){if(n.__cached){var t=n.__cached,r=t.handleMouseEnter,o=t.handleMouseLeave;e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),n.__cached=null}}}})(),a})()));
@@ -81,9 +81,9 @@ declare const _default: import("vue").DefineComponent<{
81
81
  onShowChange?: (...args: any[]) => any;
82
82
  }, {
83
83
  placement: string;
84
+ extCls: string;
84
85
  disabled: boolean;
85
86
  trigger: string;
86
- extCls: string;
87
87
  isShow: boolean;
88
88
  popoverOptions: {
89
89
  [key: string]: any;
@@ -6,9 +6,9 @@ declare const BkDropdown: {
6
6
  $data: {};
7
7
  $props: Partial<{
8
8
  placement: string;
9
+ extCls: string;
9
10
  disabled: boolean;
10
11
  trigger: string;
11
- extCls: string;
12
12
  isShow: boolean;
13
13
  popoverOptions: {
14
14
  [key: string]: any;
@@ -48,7 +48,7 @@ declare const BkDropdown: {
48
48
  onShow?: (...args: any[]) => any;
49
49
  onHide?: (...args: any[]) => any;
50
50
  onShowChange?: (...args: any[]) => any;
51
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "trigger" | "extCls" | "isShow" | "popoverOptions">;
51
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "extCls" | "disabled" | "trigger" | "isShow" | "popoverOptions">;
52
52
  $attrs: {
53
53
  [x: string]: unknown;
54
54
  };
@@ -102,9 +102,9 @@ declare const BkDropdown: {
102
102
  afterHidden: () => void;
103
103
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "showChange")[], string, {
104
104
  placement: string;
105
+ extCls: string;
105
106
  disabled: boolean;
106
107
  trigger: string;
107
- extCls: string;
108
108
  isShow: boolean;
109
109
  popoverOptions: {
110
110
  [key: string]: any;
@@ -211,9 +211,9 @@ declare const BkDropdown: {
211
211
  afterHidden: () => void;
212
212
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "show" | "showChange")[], "hide" | "show" | "showChange", {
213
213
  placement: string;
214
+ extCls: string;
214
215
  disabled: boolean;
215
216
  trigger: string;
216
- extCls: string;
217
217
  isShow: boolean;
218
218
  popoverOptions: {
219
219
  [key: string]: any;
@@ -3,8 +3,8 @@ declare const BkLink: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- disabled: boolean;
7
6
  theme: string;
7
+ disabled: boolean;
8
8
  target: string;
9
9
  underline: boolean;
10
10
  href: string;
@@ -32,7 +32,7 @@ declare const BkLink: {
32
32
  } & {
33
33
  default: string;
34
34
  };
35
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "theme" | "target" | "underline" | "href">;
35
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "target" | "underline" | "href">;
36
36
  $attrs: {
37
37
  [x: string]: unknown;
38
38
  };
@@ -73,8 +73,8 @@ declare const BkLink: {
73
73
  }>>, {
74
74
  handleClick: (event: Event) => boolean;
75
75
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
76
- disabled: boolean;
77
76
  theme: string;
77
+ disabled: boolean;
78
78
  target: string;
79
79
  underline: boolean;
80
80
  href: string;
@@ -155,8 +155,8 @@ declare const BkLink: {
155
155
  }>>, {
156
156
  handleClick: (event: Event) => boolean;
157
157
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
158
- disabled: boolean;
159
158
  theme: string;
159
+ disabled: boolean;
160
160
  target: string;
161
161
  underline: boolean;
162
162
  href: string;
@@ -49,8 +49,8 @@ declare const _default: import("vue").DefineComponent<{
49
49
  default: string;
50
50
  };
51
51
  }>>, {
52
- disabled: boolean;
53
52
  theme: string;
53
+ disabled: boolean;
54
54
  target: string;
55
55
  underline: boolean;
56
56
  href: string;
@@ -4,6 +4,7 @@ declare const BkModal: {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {
6
6
  visible: boolean;
7
+ bkPopIndexManager: any;
7
8
  };
8
9
  $props: Partial<{
9
10
  title: string;
@@ -244,6 +245,7 @@ declare const BkModal: {
244
245
  onShown?: (...args: any[]) => any;
245
246
  }, unknown, {
246
247
  visible: boolean;
248
+ bkPopIndexManager: any;
247
249
  }, {
248
250
  dialogWidth(): String | Number;
249
251
  dialogHeight(): String | Number;
@@ -396,6 +398,7 @@ declare const BkModal: {
396
398
  onShown?: (...args: any[]) => any;
397
399
  } & import("vue").ShallowUnwrapRef<{}> & {
398
400
  visible: boolean;
401
+ bkPopIndexManager: any;
399
402
  } & {
400
403
  dialogWidth: String | Number;
401
404
  dialogHeight: String | Number;
@@ -509,6 +512,7 @@ declare const BkModal: {
509
512
  onShown?: (...args: any[]) => any;
510
513
  }, unknown, {
511
514
  visible: boolean;
515
+ bkPopIndexManager: any;
512
516
  }, {
513
517
  dialogWidth(): String | Number;
514
518
  dialogHeight(): String | Number;
@@ -1 +1 @@
1
- !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},i={};function s(e){var o=i[e];if(void 0!==o)return o.exports;var r=i[e]={exports:{}};return t[e](r,r.exports,s),r.exports}s.d=(e,o)=>{for(var t in o)s.o(o,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},s.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{s.r(r),s.d(r,{BkModal:()=>n,default:()=>l,propsMixin:()=>t});var e=s(4212),o=s(748),t={isShow:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([String,Number]).def("50%"),height:e.PropTypes.oneOfType([String,Number]).def("50%"),extCls:e.PropTypes.string||e.PropTypes.array,scrollable:e.PropTypes.bool.def(!0),showMask:e.PropTypes.bool.def(!0),closeIcon:e.PropTypes.bool.def(!0),escClose:e.PropTypes.bool.def(!0),fullscreen:e.PropTypes.bool.def(!1),size:e.PropTypes.commonType(["normal","small","medium","large"],"size").def(),draggable:e.PropTypes.bool.def(!0),quickClose:e.PropTypes.bool.def(!0),transfer:e.PropTypes.bool.def(!1),zIndex:e.PropTypes.number,maxHeight:e.PropTypes.string,direction:e.PropTypes.string,title:e.PropTypes.string.def(""),animateType:e.PropTypes.string.def("slide"),renderDirective:e.PropTypes.commonType(["show","if"],"renderDirective").def("show"),beforeClose:e.PropTypes.custom((function(){return!0})),dialogType:e.PropTypes.commonType(["show","operation","confirm","process"],"dialogType").def("operation"),multiInstance:e.PropTypes.bool.def(!0),infoType:e.PropTypes.commonType(["success","warning","danger","loading"],"infoType").def()};const i=(0,o.defineComponent)({name:"Modal",props:Object.assign({},t),emits:["quick-close","quickClose","hidden","shown","close"],data:function(){return{visible:!1}},computed:{dialogWidth:function(){return/^\d+$/.test("".concat(this.width))?"".concat(this.width,"px"):this.width},dialogHeight:function(){return/^\d+$/.test("".concat(this.height))?"".concat(this.height,"px"):this.height},compStyle:function(){return{width:this.dialogWidth,height:this.dialogHeight,minHeigth:"".concat(200,"px"),display:this.visible?"inherit":"none"}},fullscreenStyle:function(){return{width:"".concat(100,"%"),height:"".concat(100,"%")}}},watch:{isShow:{handler:function(e){var o=this;e?this.visible=e:(this.$emit("hidden"),setTimeout((function(){o.visible=e}),250))},deep:!0},visible:function(o){var t=this;o?this.$nextTick((function(){var o=t.showMask?{}:{"background-color":"rgba(0,0,0,0)"};e.bkPopIndexManager.show(t.$el,t.showMask,o,t.transfer,t.zIndex),t.$emit("shown")})):e.bkPopIndexManager.hide(this.$el,this.transfer)}},created:function(){var o=this;e.bkPopIndexManager.onMaskClick((function(e){o.handleClickOutSide()}))},beforeUnmount:function(){e.bkPopIndexManager.hide(this.$el),e.bkPopIndexManager.destroy()},methods:{handleClickOutSide:function(){this.quickClose&&(this.$emit("close"),this.$emit("quick-close",this.$el),this.$emit("quickClose",this.$el))}},render:function(){var e,t,i,s,r,n,l,d,a,c,p,h,u=this,f=this.maxHeight?{maxHeight:this.maxHeight}:{},y="bk-modal-body ".concat("slide"===this.animateType?this.direction:"");return(0,o.createVNode)("div",{class:["bk-modal-wrapper",this.extCls,this.size],style:[this.compStyle,this.fullscreen?this.fullscreenStyle:""]},[(0,o.createVNode)(o.Transition,{name:this.animateType},{default:function(){return[u.isShow?(0,o.createVNode)("div",{class:y},[(0,o.createVNode)("div",{class:"bk-modal-header"},[null!==(i=null===(t=(e=u.$slots).header)||void 0===t?void 0:t.call(e))&&void 0!==i?i:""]),(0,o.createVNode)("div",{class:"bk-modal-content",style:["show"===u.dialogType?"padding-bottom: 20px":"",Object.assign({},f)]},[null!==(n=null===(r=(s=u.$slots).default)||void 0===r?void 0:r.call(s))&&void 0!==n?n:""]),"show"===u.dialogType?"":(0,o.createVNode)("div",{class:"bk-modal-footer"},[null!==(a=null===(d=(l=u.$slots).footer)||void 0===d?void 0:d.call(l))&&void 0!==a?a:""]),(0,o.createVNode)("div",{class:["bk-modal-close",u.closeIcon?"":"close-icon"]},[null!==(h=null===(p=(c=u.$slots).close)||void 0===p?void 0:p.call(c))&&void 0!==h?h:""])]):""]}})])}});var n=(0,e.withInstallProps)(i,{propsMixin:t},!0);const l=n})(),r})()));
1
+ !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var i in t)("object"==typeof exports?exports:e)[i]=t[i]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},i={};function s(e){var o=i[e];if(void 0!==o)return o.exports;var n=i[e]={exports:{}};return t[e](n,n.exports,s),n.exports}s.d=(e,o)=>{for(var t in o)s.o(o,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},s.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{s.r(n),s.d(n,{BkModal:()=>r,default:()=>l,propsMixin:()=>t});var e=s(4212),o=s(748),t={isShow:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([String,Number]).def("50%"),height:e.PropTypes.oneOfType([String,Number]).def("50%"),extCls:e.PropTypes.string||e.PropTypes.array,scrollable:e.PropTypes.bool.def(!0),showMask:e.PropTypes.bool.def(!0),closeIcon:e.PropTypes.bool.def(!0),escClose:e.PropTypes.bool.def(!0),fullscreen:e.PropTypes.bool.def(!1),size:e.PropTypes.commonType(["normal","small","medium","large"],"size").def(),draggable:e.PropTypes.bool.def(!0),quickClose:e.PropTypes.bool.def(!0),transfer:e.PropTypes.bool.def(!1),zIndex:e.PropTypes.number,maxHeight:e.PropTypes.string,direction:e.PropTypes.string,title:e.PropTypes.string.def(""),animateType:e.PropTypes.string.def("slide"),renderDirective:e.PropTypes.commonType(["show","if"],"renderDirective").def("show"),beforeClose:e.PropTypes.custom((function(){return!0})),dialogType:e.PropTypes.commonType(["show","operation","confirm","process"],"dialogType").def("operation"),multiInstance:e.PropTypes.bool.def(!0),infoType:e.PropTypes.commonType(["success","warning","danger","loading"],"infoType").def()};const i=(0,o.defineComponent)({name:"Modal",props:Object.assign({},t),emits:["quick-close","quickClose","hidden","shown","close"],data:function(){return{visible:!1,bkPopIndexManager:null}},computed:{dialogWidth:function(){return/^\d+$/.test("".concat(this.width))?"".concat(this.width,"px"):this.width},dialogHeight:function(){return/^\d+$/.test("".concat(this.height))?"".concat(this.height,"px"):this.height},compStyle:function(){return{width:this.dialogWidth,height:this.dialogHeight,minHeigth:"".concat(200,"px"),display:this.visible?"inherit":"none"}},fullscreenStyle:function(){return{width:"".concat(100,"%"),height:"".concat(100,"%")}}},watch:{isShow:{handler:function(e){var o=this;e?this.visible=e:(this.$emit("hidden"),setTimeout((function(){o.visible=e}),250))},immediate:!0,deep:!0},visible:function(o){var t,i,s=this;o?(this.bkPopIndexManager=new e.BKPopIndexManager,this.bkPopIndexManager.onMaskClick((function(e){s.handleClickOutSide()})),this.$nextTick((function(){var e=s.showMask?{}:{"background-color":"rgba(0,0,0,0)"};s.bkPopIndexManager.show(s.$el,s.showMask,e,s.transfer,s.zIndex),s.$emit("shown")}))):(null===(t=this.bkPopIndexManager)||void 0===t||t.hide(this.$el,this.transfer),null===(i=this.bkPopIndexManager)||void 0===i||i.destroy())}},beforeUnmount:function(){var e,o;null===(e=this.bkPopIndexManager)||void 0===e||e.hide(this.$el),null===(o=this.bkPopIndexManager)||void 0===o||o.destroy()},methods:{handleClickOutSide:function(){this.quickClose&&(this.$emit("close"),this.$emit("quick-close",this.$el),this.$emit("quickClose",this.$el))}},render:function(){var e,t,i,s,n,r,l,d,a,p,c,h,u=this,f=this.maxHeight?{maxHeight:this.maxHeight}:{},y="bk-modal-body ".concat("slide"===this.animateType?this.direction:"");return(0,o.createVNode)("div",{class:["bk-modal-wrapper",this.extCls,this.size],style:[this.compStyle,this.fullscreen?this.fullscreenStyle:""]},[(0,o.createVNode)(o.Transition,{name:this.animateType},{default:function(){return[u.isShow?(0,o.createVNode)("div",{class:y},[(0,o.createVNode)("div",{class:"bk-modal-header"},[null!==(i=null===(t=(e=u.$slots).header)||void 0===t?void 0:t.call(e))&&void 0!==i?i:""]),(0,o.createVNode)("div",{class:"bk-modal-content",style:["show"===u.dialogType?"padding-bottom: 20px":"",Object.assign({},f)]},[null!==(r=null===(n=(s=u.$slots).default)||void 0===n?void 0:n.call(s))&&void 0!==r?r:""]),"show"===u.dialogType?"":(0,o.createVNode)("div",{class:"bk-modal-footer"},[null!==(a=null===(d=(l=u.$slots).footer)||void 0===d?void 0:d.call(l))&&void 0!==a?a:""]),(0,o.createVNode)("div",{class:["bk-modal-close",u.closeIcon?"":"close-icon"]},[null!==(h=null===(c=(p=u.$slots).close)||void 0===c?void 0:c.call(p))&&void 0!==h?h:""])]):""]}})])}});var r=(0,e.withInstallProps)(i,{propsMixin:t},!0);const l=r})(),n})()));
@@ -94,6 +94,7 @@ declare const _default: import("vue").DefineComponent<{
94
94
  };
95
95
  }, unknown, {
96
96
  visible: boolean;
97
+ bkPopIndexManager: any;
97
98
  }, {
98
99
  dialogWidth(): String | Number;
99
100
  dialogHeight(): String | Number;
@@ -10,8 +10,8 @@ declare const BkPopover: {
10
10
  zIndex: number;
11
11
  content: string | number;
12
12
  arrow: boolean;
13
- disabled: boolean;
14
13
  theme: string;
14
+ disabled: boolean;
15
15
  trigger: string;
16
16
  width: string | number;
17
17
  height: string | number;
@@ -100,7 +100,7 @@ declare const BkPopover: {
100
100
  stopBehaviors: import("vue-types").VueTypeDef<string | string[]> & {
101
101
  default: string | (() => string[]);
102
102
  };
103
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "modifiers" | "zIndex" | "content" | "arrow" | "disabled" | "theme" | "trigger" | "width" | "height" | "isShow" | "always" | "transition" | "stopBehaviors" | "contentCls" | "handleFirstUpdate" | "fixOnBoundary">;
103
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "modifiers" | "zIndex" | "content" | "arrow" | "theme" | "disabled" | "trigger" | "width" | "height" | "isShow" | "always" | "transition" | "stopBehaviors" | "contentCls" | "handleFirstUpdate" | "fixOnBoundary">;
104
104
  $attrs: {
105
105
  [x: string]: unknown;
106
106
  };
@@ -198,8 +198,8 @@ declare const BkPopover: {
198
198
  zIndex: number;
199
199
  content: string | number;
200
200
  arrow: boolean;
201
- disabled: boolean;
202
201
  theme: string;
202
+ disabled: boolean;
203
203
  trigger: string;
204
204
  width: string | number;
205
205
  height: string | number;
@@ -396,8 +396,8 @@ declare const BkPopover: {
396
396
  zIndex: number;
397
397
  content: string | number;
398
398
  arrow: boolean;
399
- disabled: boolean;
400
399
  theme: string;
400
+ disabled: boolean;
401
401
  trigger: string;
402
402
  width: string | number;
403
403
  height: string | number;
@@ -160,8 +160,8 @@ declare const _default: import("vue").DefineComponent<{
160
160
  zIndex: number;
161
161
  content: string | number;
162
162
  arrow: boolean;
163
- disabled: boolean;
164
163
  theme: string;
164
+ disabled: boolean;
165
165
  trigger: string;
166
166
  width: string | number;
167
167
  height: string | number;
@@ -8,8 +8,8 @@ declare const BkPopover2: {
8
8
  zIndex: number;
9
9
  content: string | number;
10
10
  arrow: boolean;
11
- disabled: boolean;
12
11
  theme: string;
12
+ disabled: boolean;
13
13
  trigger: string;
14
14
  width: string | number;
15
15
  height: string | number;
@@ -115,7 +115,7 @@ declare const BkPopover2: {
115
115
  onShow?: (...args: any[]) => any;
116
116
  onHide?: (...args: any[]) => any;
117
117
  onClickoutside?: (...args: any[]) => any;
118
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "arrow" | "disabled" | "theme" | "trigger" | "width" | "height" | "isShow" | "always" | "padding" | "disableTeleport" | "autoPlacement" | "autoVisibility" | "disableOutsideClick" | "disableTransform" | "reference">;
118
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "arrow" | "theme" | "disabled" | "trigger" | "width" | "height" | "isShow" | "always" | "padding" | "disableTeleport" | "autoPlacement" | "autoVisibility" | "disableOutsideClick" | "disableTransform" | "reference">;
119
119
  $attrs: {
120
120
  [x: string]: unknown;
121
121
  };
@@ -245,8 +245,8 @@ declare const BkPopover2: {
245
245
  zIndex: number;
246
246
  content: string | number;
247
247
  arrow: boolean;
248
- disabled: boolean;
249
248
  theme: string;
249
+ disabled: boolean;
250
250
  trigger: string;
251
251
  width: string | number;
252
252
  height: string | number;
@@ -505,8 +505,8 @@ declare const BkPopover2: {
505
505
  zIndex: number;
506
506
  content: string | number;
507
507
  arrow: boolean;
508
- disabled: boolean;
509
508
  theme: string;
509
+ disabled: boolean;
510
510
  trigger: string;
511
511
  width: string | number;
512
512
  height: string | number;
@@ -203,8 +203,8 @@ declare const _default: import("vue").DefineComponent<{
203
203
  zIndex: number;
204
204
  content: string | number;
205
205
  arrow: boolean;
206
- disabled: boolean;
207
206
  theme: string;
207
+ disabled: boolean;
208
208
  trigger: string;
209
209
  width: string | number;
210
210
  height: string | number;
@@ -9,10 +9,10 @@ declare const BkResizeLayout: {
9
9
  min: number;
10
10
  border: boolean;
11
11
  collapsible: boolean;
12
+ immediate: boolean;
12
13
  triggerWidth: number;
13
14
  triggerOffset: number;
14
15
  initialDivide: string | number;
15
- immediate: boolean;
16
16
  autoMinimize: number | boolean;
17
17
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
18
18
  placement: import("vue-types").VueTypeDef<string> & {
@@ -63,7 +63,7 @@ declare const BkResizeLayout: {
63
63
  onResizing?: (...args: any[]) => any;
64
64
  "onAfter-resize"?: (...args: any[]) => any;
65
65
  "onCollapse-change"?: (...args: any[]) => any;
66
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "max" | "min" | "border" | "collapsible" | "triggerWidth" | "triggerOffset" | "initialDivide" | "immediate" | "autoMinimize">;
66
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "disabled" | "max" | "min" | "border" | "collapsible" | "immediate" | "triggerWidth" | "triggerOffset" | "initialDivide" | "autoMinimize">;
67
67
  $attrs: {
68
68
  [x: string]: unknown;
69
69
  };
@@ -153,10 +153,10 @@ declare const BkResizeLayout: {
153
153
  min: number;
154
154
  border: boolean;
155
155
  collapsible: boolean;
156
+ immediate: boolean;
156
157
  triggerWidth: number;
157
158
  triggerOffset: number;
158
159
  initialDivide: string | number;
159
- immediate: boolean;
160
160
  autoMinimize: number | boolean;
161
161
  }> & {
162
162
  beforeCreate?: (() => void) | (() => void)[];
@@ -327,10 +327,10 @@ declare const BkResizeLayout: {
327
327
  min: number;
328
328
  border: boolean;
329
329
  collapsible: boolean;
330
+ immediate: boolean;
330
331
  triggerWidth: number;
331
332
  triggerOffset: number;
332
333
  initialDivide: string | number;
333
- immediate: boolean;
334
334
  autoMinimize: number | boolean;
335
335
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
336
336
  export default BkResizeLayout;
@@ -118,10 +118,10 @@ declare const _default: import("vue").DefineComponent<{
118
118
  min: number;
119
119
  border: boolean;
120
120
  collapsible: boolean;
121
+ immediate: boolean;
121
122
  triggerWidth: number;
122
123
  triggerOffset: number;
123
124
  initialDivide: string | number;
124
- immediate: boolean;
125
125
  autoMinimize: number | boolean;
126
126
  }>;
127
127
  export default _default;
@@ -5,8 +5,8 @@ declare const BkSelect: {
5
5
  $: import("vue").ComponentInternalInstance;
6
6
  $data: {};
7
7
  $props: Partial<{
8
- disabled: boolean;
9
8
  showOnInit: boolean;
9
+ disabled: boolean;
10
10
  placeholder: string;
11
11
  list: unknown[];
12
12
  size: string;
@@ -217,7 +217,7 @@ declare const BkSelect: {
217
217
  onClear?: (...args: any[]) => any;
218
218
  onToggle?: (...args: any[]) => any;
219
219
  "onScroll-end"?: (...args: any[]) => any;
220
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "showOnInit" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags" | "popoverMinWidth" | "idKey" | "remoteMethod" | "scrollHeight" | "popoverOptions" | "showSelectAll" | "multipleMode" | "autoHeight" | "noDataText" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey" | "inputSearch" | "enableVirtualRender" | "allowEmptyValues">;
220
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showOnInit" | "disabled" | "placeholder" | "list" | "size" | "multiple" | "loading" | "clearable" | "behavior" | "withValidate" | "showSelectedIcon" | "tagTheme" | "filterable" | "allowCreate" | "collapseTags" | "popoverMinWidth" | "idKey" | "remoteMethod" | "scrollHeight" | "popoverOptions" | "showSelectAll" | "multipleMode" | "autoHeight" | "noDataText" | "noMatchText" | "loadingText" | "searchPlaceholder" | "selectAllText" | "scrollLoading" | "customContent" | "displayKey" | "inputSearch" | "enableVirtualRender" | "allowEmptyValues">;
221
221
  $attrs: {
222
222
  [x: string]: unknown;
223
223
  };
@@ -733,8 +733,8 @@ declare const BkSelect: {
733
733
  handleKeydown: (e: any) => void;
734
734
  handleSelectedAllOptionMouseEnter: () => void;
735
735
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], string, {
736
- disabled: boolean;
737
736
  showOnInit: boolean;
737
+ disabled: boolean;
738
738
  placeholder: string;
739
739
  list: unknown[];
740
740
  size: string;
@@ -1796,8 +1796,8 @@ declare const BkSelect: {
1796
1796
  handleKeydown: (e: any) => void;
1797
1797
  handleSelectedAllOptionMouseEnter: () => void;
1798
1798
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end")[], "focus" | "blur" | "change" | "toggle" | "clear" | "update:modelValue" | "scroll-end", {
1799
- disabled: boolean;
1800
1799
  showOnInit: boolean;
1800
+ disabled: boolean;
1801
1801
  placeholder: string;
1802
1802
  list: unknown[];
1803
1803
  size: string;
@@ -669,8 +669,8 @@ declare const _default: import("vue").DefineComponent<{
669
669
  onToggle?: (...args: any[]) => any;
670
670
  "onScroll-end"?: (...args: any[]) => any;
671
671
  }, {
672
- disabled: boolean;
673
672
  showOnInit: boolean;
673
+ disabled: boolean;
674
674
  placeholder: string;
675
675
  list: unknown[];
676
676
  size: string;