bkui-vue 0.0.1-beta.171 → 0.0.1-beta.174
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +32 -32
- package/dist/index.esm.js +508 -179
- package/dist/index.umd.js +34 -34
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.d.ts +1 -1
- package/lib/affix/index.d.ts +4 -4
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/dialog/dialog.d.ts +1 -1
- package/lib/dialog/index.d.ts +4 -4
- package/lib/directives/ellipsis.d.ts +4 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +1 -1
- package/lib/dropdown/dropdown.css +1 -2
- package/lib/dropdown/dropdown.less +1 -2
- package/lib/dropdown/dropdown.variable.css +1 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -1
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/loading.d.ts +1 -1
- package/lib/menu/index.d.ts +4 -4
- package/lib/menu/menu.d.ts +1 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/modal.d.ts +1 -1
- package/lib/notify/notifyConstructor.d.ts +2 -2
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/index.d.ts +4 -4
- package/lib/popover/popover.d.ts +1 -1
- package/lib/popover2/index.d.ts +8 -4
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/plugin-popover.d.ts +7 -2
- package/lib/popover2/popover2.d.ts +2 -1
- package/lib/popover2/utils.d.ts +1 -0
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/tab/index.d.ts +1 -1
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +54 -0
- package/lib/table/table.css +4 -0
- package/lib/table/table.d.ts +2 -6
- package/lib/table/table.less +8 -2
- package/lib/table/table.variable.css +4 -0
- package/lib/table/use-common.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -0
- package/package.json +1 -1
package/lib/affix/affix.d.ts
CHANGED
package/lib/affix/index.d.ts
CHANGED
@@ -4,9 +4,9 @@ declare const BkAffix: {
|
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
6
|
zIndex: number;
|
7
|
+
target: string;
|
7
8
|
offsetTop: number;
|
8
9
|
offsetBottom: number;
|
9
|
-
target: string;
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
11
11
|
offsetTop: import("vue-types").VueTypeValidableDef<number> & {
|
12
12
|
default: number;
|
@@ -28,7 +28,7 @@ declare const BkAffix: {
|
|
28
28
|
};
|
29
29
|
}>> & {
|
30
30
|
onChange?: (...args: any[]) => any;
|
31
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "zIndex" | "
|
31
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "zIndex" | "target" | "offsetTop" | "offsetBottom">;
|
32
32
|
$attrs: {
|
33
33
|
[x: string]: unknown;
|
34
34
|
};
|
@@ -65,9 +65,9 @@ declare const BkAffix: {
|
|
65
65
|
onChange?: (...args: any[]) => any;
|
66
66
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {
|
67
67
|
zIndex: number;
|
68
|
+
target: string;
|
68
69
|
offsetTop: number;
|
69
70
|
offsetBottom: number;
|
70
|
-
target: string;
|
71
71
|
}> & {
|
72
72
|
beforeCreate?: (() => void) | (() => void)[];
|
73
73
|
created?: (() => void) | (() => void)[];
|
@@ -136,8 +136,8 @@ declare const BkAffix: {
|
|
136
136
|
onChange?: (...args: any[]) => any;
|
137
137
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", {
|
138
138
|
zIndex: number;
|
139
|
+
target: string;
|
139
140
|
offsetTop: number;
|
140
141
|
offsetBottom: number;
|
141
|
-
target: string;
|
142
142
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
143
143
|
export default BkAffix;
|
package/lib/badge/badge.d.ts
CHANGED
package/lib/badge/index.d.ts
CHANGED
@@ -5,8 +5,8 @@ declare const BkBadge: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
theme: string;
|
7
7
|
extCls: string;
|
8
|
-
position: string;
|
9
8
|
visible: boolean;
|
9
|
+
position: string;
|
10
10
|
dot: boolean;
|
11
11
|
count: string | number;
|
12
12
|
radius: string;
|
@@ -55,7 +55,7 @@ declare const BkBadge: {
|
|
55
55
|
}>> & {
|
56
56
|
onHover?: (...args: any[]) => any;
|
57
57
|
onLeave?: (...args: any[]) => any;
|
58
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "extCls" | "
|
58
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "extCls" | "visible" | "position" | "dot" | "count" | "radius" | "valLength" | "overflowCount">;
|
59
59
|
$attrs: {
|
60
60
|
[x: string]: unknown;
|
61
61
|
};
|
@@ -122,8 +122,8 @@ declare const BkBadge: {
|
|
122
122
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hover" | "leave")[], string, {
|
123
123
|
theme: string;
|
124
124
|
extCls: string;
|
125
|
-
position: string;
|
126
125
|
visible: boolean;
|
126
|
+
position: string;
|
127
127
|
dot: boolean;
|
128
128
|
count: string | number;
|
129
129
|
radius: string;
|
@@ -256,8 +256,8 @@ declare const BkBadge: {
|
|
256
256
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hover" | "leave")[], "hover" | "leave", {
|
257
257
|
theme: string;
|
258
258
|
extCls: string;
|
259
|
-
position: string;
|
260
259
|
visible: boolean;
|
260
|
+
position: string;
|
261
261
|
dot: boolean;
|
262
262
|
count: string | number;
|
263
263
|
radius: string;
|
package/lib/dialog/dialog.d.ts
CHANGED
@@ -289,11 +289,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
289
289
|
extCls: string | unknown[];
|
290
290
|
width: string | number;
|
291
291
|
height: string | number;
|
292
|
+
isShow: boolean;
|
292
293
|
draggable: boolean;
|
293
294
|
size: string;
|
294
295
|
direction: string;
|
295
296
|
maxHeight: string;
|
296
|
-
isShow: boolean;
|
297
297
|
renderDirective: string;
|
298
298
|
transfer: boolean;
|
299
299
|
dialogType: string;
|
package/lib/dialog/index.d.ts
CHANGED
@@ -10,11 +10,11 @@ declare const BkDialog: {
|
|
10
10
|
extCls: string | unknown[];
|
11
11
|
width: string | number;
|
12
12
|
height: string | number;
|
13
|
+
isShow: boolean;
|
13
14
|
draggable: boolean;
|
14
15
|
size: string;
|
15
16
|
direction: string;
|
16
17
|
maxHeight: string;
|
17
|
-
isShow: boolean;
|
18
18
|
renderDirective: string;
|
19
19
|
transfer: boolean;
|
20
20
|
dialogType: string;
|
@@ -170,7 +170,7 @@ declare const BkDialog: {
|
|
170
170
|
onNext?: (...args: any[]) => any;
|
171
171
|
onClosed?: (...args: any[]) => any;
|
172
172
|
"onValue-change"?: (...args: any[]) => any;
|
173
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "showMask" | "theme" | "extCls" | "width" | "height" | "
|
173
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "showMask" | "theme" | "extCls" | "width" | "height" | "isShow" | "draggable" | "size" | "direction" | "maxHeight" | "renderDirective" | "transfer" | "dialogType" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType" | "headerAlign" | "footerAlign" | "confirmText" | "cancelText" | "prevText" | "nextText" | "current" | "totalStep" | "isLoading">;
|
174
174
|
$attrs: {
|
175
175
|
[x: string]: unknown;
|
176
176
|
};
|
@@ -345,11 +345,11 @@ declare const BkDialog: {
|
|
345
345
|
extCls: string | unknown[];
|
346
346
|
width: string | number;
|
347
347
|
height: string | number;
|
348
|
+
isShow: boolean;
|
348
349
|
draggable: boolean;
|
349
350
|
size: string;
|
350
351
|
direction: string;
|
351
352
|
maxHeight: string;
|
352
|
-
isShow: boolean;
|
353
353
|
renderDirective: string;
|
354
354
|
transfer: boolean;
|
355
355
|
dialogType: string;
|
@@ -706,11 +706,11 @@ declare const BkDialog: {
|
|
706
706
|
extCls: string | unknown[];
|
707
707
|
width: string | number;
|
708
708
|
height: string | number;
|
709
|
+
isShow: boolean;
|
709
710
|
draggable: boolean;
|
710
711
|
size: string;
|
711
712
|
direction: string;
|
712
713
|
maxHeight: string;
|
713
|
-
isShow: boolean;
|
714
714
|
renderDirective: string;
|
715
715
|
transfer: boolean;
|
716
716
|
dialogType: string;
|
package/lib/directives/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
2
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@popperjs/core"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core"],t);else{var n="object"==typeof exports?t(require("../shared"),require("@popperjs/core")):t(e["../shared"],e["@popperjs/core"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t)=>(()=>{var n={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,u,c,s,d,l,f,p,m,v,y=!1;function b(){if(!y){y=!0;var e=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),h=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),l=!!/Win64/.exec(e),b){(t=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=b[2]?parseFloat(b[2]):NaN,r=b[3]?parseFloat(b[3]):NaN,(o=b[4]?parseFloat(b[4]):NaN)?(b=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=b&&b[1]?parseFloat(b[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(h){if(h[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!g||parseFloat(g[1].replace("_","."))}else u=!1;c=!!h[2],s=!!h[3]}else u=c=s=!1}}var h={ie:function(){return b()||t},ieCompatibilityMode:function(){return b()||a>t},ie64:function(){return h.ie()&&l},firefox:function(){return b()||n},opera:function(){return b()||r},webkit:function(){return b()||o},safari:function(){return h.webkit()},chrome:function(){return b()||i},windows:function(){return b()||c},osx:function(){return b()||u},linux:function(){return b()||s},iphone:function(){return b()||f},mobile:function(){return b()||f||p||d||v},nativeApp:function(){return b()||m},android:function(){return b()||d},ipad:function(){return b()||p}};e.exports=h},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"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&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},4212:t=>{"use strict";t.exports=e},5798:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.r(i),o.d(i,{bkTooltips:()=>w,clickoutside:()=>l,mousewheel:()=>r});var e=o(2439),t=o.n(e),n="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(n?"DOMMouseScroll":"mousewheel",(function(e){var n=t()(e);null==i||i.apply(this,[e,n])}))}};function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);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(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function u(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}var c,s=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,c=!t||!t.instance,s=!a||!u,d=e.contains(a)||e.contains(u),l=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||d||l||f||p||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var t,n=a(s.values());try{for(n.s();!(t=n.n()).done;){var r,o=a(t.value);try{for(o.s();!(r=o.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));const l={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){s.delete(e)}};function f(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 p(e){return p="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},p(e)}var m=o(4212),v=o(5798),y=new Map;function b(e){var t=y.get(e),n=t.popper,r=t.opts.onShow;document.body.appendChild(n);var o=function(e,t){var n=y.get(e).opts,r=n.placement,o=n.distance,i=n.showOnInit,a=(0,v.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&b(e),a}(e,n);r(),n.setAttribute("data-show",""),o.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((t=e.modifiers,function(e){if(Array.isArray(e))return f(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}(t)||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 t})),o.forceUpdate(),y.get(e).popperInstance=o}function h(e){if(y.get(e)){var t=y.get(e),n=t.popper,r=t.popperInstance,o=t.opts.onHide;n&&document.body.contains(n)&&(n.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(n),o())}}const w={beforeMount:function(e,t){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",onShow:function(){},onHide:function(){}};"object"===p(t.value)?Object.assign(n,t.value):n.content=t.value;var r=n.disabled,o=n.trigger,i=n.content,a=n.arrow,u=n.theme,c=n.extCls;if(!r){var s=function(e,t,n,r){var o=m.bkZIndexManager.getPopperIndex(),i=document.createElement("div");if(i.className="bk-popper ".concat(n?"light":"dark"," ").concat(r),i.innerText=e,i.style.zIndex=String(o),t){var a=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();i.appendChild(a)}return i}(i,a,"light"===u,c);if("hover"===o){var d=null;e.addEventListener("mouseenter",(function(){b(e),clearTimeout(d)})),s.addEventListener("mouseenter",(function(){clearTimeout(d)})),e.addEventListener("mouseleave",(function(){d=setTimeout((function(){h(e)}),100)})),e.addEventListener("click",(function(){h(e)})),s.addEventListener("mouseleave",(function(){d=setTimeout((function(){h(e)}),100)}))}else"click"===o&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!s.hasAttribute("data-show")?b(e):s.hasAttribute("data-show")&&h(e)}));y.set(e,{opts:n,popper:s,popperInstance:null})}},unmounted:function(e){h(e)}}})(),i})()));
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@popperjs/core"),require("../plugins"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core","../plugins"],t);else{var n="object"==typeof exports?t(require("../shared"),require("@popperjs/core"),require("../plugins")):t(e["../shared"],e["@popperjs/core"],e["../plugins"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n)=>(()=>{var r={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,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){(t=h[1]?parseFloat(h[1]):h[5]?parseFloat(h[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);a=g?parseFloat(g[1])+4:t,n=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 t=n=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()||t},ieCompatibilityMode:function(){return h()||a>t},ie64:function(){return y.ie()&&d},firefox:function(){return h()||n},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,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"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&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},807:e=>{"use strict";e.exports=n},4212:t=>{"use strict";t.exports=e},5798:e=>{"use strict";e.exports=t}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),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:()=>M,bkEllipsisInstance:()=>E,bkTooltips:()=>g,clickoutside:()=>d,mousewheel:()=>r});var e=i(2439),t=i.n(e),n="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(n?"DOMMouseScroll":"mousewheel",(function(e){var n=t()(e);null==i||i.apply(this,[e,n])}))}};function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);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(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function u(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}var c,s=new Map;function l(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,c=!t||!t.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||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var t,n=o(s.values());try{for(n.s();!(t=n.n()).done;){var r,i=o(t.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){n.e(e)}finally{n.f()}}));const d={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:l(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){s.delete(e)}};function f(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 p(e){return p="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},p(e)}var v=i(4212),m=i(5798),b=new Map;function h(e){var t=b.get(e),n=t.popper,r=t.opts.onShow;document.body.appendChild(n);var o=function(e,t){var n=b.get(e).opts,r=n.placement,o=n.distance,i=n.showOnInit,a=(0,m.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&h(e),a}(e,n);r(),n.setAttribute("data-show",""),o.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((t=e.modifiers,function(e){if(Array.isArray(e))return f(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}(t)||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 t})),o.forceUpdate(),b.get(e).popperInstance=o}function y(e){if(b.get(e)){var t=b.get(e),n=t.popper,r=t.popperInstance,o=t.opts.onHide;n&&document.body.contains(n)&&(n.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(n),o())}}const g={beforeMount:function(e,t){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",onShow:function(){},onHide:function(){}};"object"===p(t.value)?Object.assign(n,t.value):n.content=t.value;var r=n.disabled,o=n.trigger,i=n.content,a=n.arrow,u=n.theme,c=n.extCls;if(!r){var s=function(e,t,n,r){var o=v.bkZIndexManager.getPopperIndex(),i=document.createElement("div");if(i.className="bk-popper ".concat(n?"light":"dark"," ").concat(r),i.innerText=e,i.style.zIndex=String(o),t){var a=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();i.appendChild(a)}return i}(i,a,"light"===u,c);if("hover"===o){var l=null;e.addEventListener("mouseenter",(function(){h(e),clearTimeout(l)})),s.addEventListener("mouseenter",(function(){clearTimeout(l)})),e.addEventListener("mouseleave",(function(){l=setTimeout((function(){y(e)}),100)})),e.addEventListener("click",(function(){y(e)})),s.addEventListener("mouseleave",(function(){l=setTimeout((function(){y(e)}),100)}))}else"click"===o&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!s.hasAttribute("data-show")?h(e):s.hasAttribute("data-show")&&y(e)}));b.set(e,{opts:n,popper:s,popperInstance:null})}},unmounted:function(e){y(e)}};var w=i(807),x=function(e,t){var n={content:"",target:e};return"object"===p(t.value)?Object.assign(n,t.value):n.content=t.value,n},E=function(e,t){var n=null,r=null;if(!x(e,t).disabled&&!n){var o=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=x(e,t);r.content=r.content||e.innerHTML,n=(0,w.$bkPopover)(r),setTimeout((function(){n.show()}))}),100)},i=function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null};e.addEventListener("mouseenter",o),e.addEventListener("mouseleave",i),Object.assign(t,{__cached:{handleMouseEnter:o,handleMouseLeave:i}})}};const M={mounted:function(e,t){E(e,t)},beforeUnmount:function(e,t){if(t.__cached){var n=t.__cached,r=n.handleMouseEnter,o=n.handleMouseLeave;e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),t.__cached=null}}}})(),a})()));
|
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("./preset"),require("./components"),require("./directives"));else if("function"==typeof define&&define.amd)define(["./preset","./components","./directives"],r);else{var t="object"==typeof exports?r(require("./preset"),require("./components"),require("./directives")):r(e["./preset"],e["./components"],e["./directives"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t)=>(()=>{"use strict";var
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("./preset"),require("./components"),require("./directives"),require("./plugins"));else if("function"==typeof define&&define.amd)define(["./preset","./components","./directives","./plugins"],r);else{var t="object"==typeof exports?r(require("./preset"),require("./components"),require("./directives"),require("./plugins")):r(e["./preset"],e["./components"],e["./directives"],e["./plugins"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o)=>(()=>{"use strict";var n={4689:e=>{e.exports=r},7257:e=>{e.exports=t},368:e=>{e.exports=o},9887:r=>{r.exports=e}},i={};function s(e){var r=i[e];if(void 0!==r)return r.exports;var t=i[e]={exports:{}};return n[e](t,t.exports,s),t.exports}s.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return s.d(r,{a:r}),r},s.d=(e,r)=>{for(var t in r)s.o(r,t)&&!s.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},s.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{s.r(p),s.d(p,{default:()=>r.a});var e=s(9887),r=s.n(e),t=s(4689),o={};for(const e in t)"default"!==e&&(o[e]=()=>t[e]);s.d(p,o);var n=s(7257);o={};for(const e in n)"default"!==e&&(o[e]=()=>n[e]);s.d(p,o);var i=s(368);o={};for(const e in i)"default"!==e&&(o[e]=()=>i[e]);s.d(p,o)})(),p})()));
|
package/lib/loading/index.d.ts
CHANGED
@@ -6,12 +6,12 @@ declare const BkLoading: {
|
|
6
6
|
$props: Partial<{
|
7
7
|
title: string;
|
8
8
|
zIndex: number;
|
9
|
+
mode: string;
|
9
10
|
color: string;
|
10
11
|
inline: boolean;
|
11
12
|
size: string;
|
12
13
|
opacity: number;
|
13
14
|
loading: boolean;
|
14
|
-
mode: string;
|
15
15
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
16
16
|
indicator: {
|
17
17
|
type: FunctionConstructor;
|
@@ -53,7 +53,7 @@ declare const BkLoading: {
|
|
53
53
|
} & {
|
54
54
|
default: number;
|
55
55
|
};
|
56
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "zIndex" | "color" | "inline" | "size" | "opacity" | "loading"
|
56
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "zIndex" | "mode" | "color" | "inline" | "size" | "opacity" | "loading">;
|
57
57
|
$attrs: {
|
58
58
|
[x: string]: unknown;
|
59
59
|
};
|
@@ -111,12 +111,12 @@ declare const BkLoading: {
|
|
111
111
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
112
112
|
title: string;
|
113
113
|
zIndex: number;
|
114
|
+
mode: string;
|
114
115
|
color: string;
|
115
116
|
inline: boolean;
|
116
117
|
size: string;
|
117
118
|
opacity: number;
|
118
119
|
loading: boolean;
|
119
|
-
mode: string;
|
120
120
|
}> & {
|
121
121
|
beforeCreate?: (() => void) | (() => void)[];
|
122
122
|
created?: (() => void) | (() => void)[];
|
@@ -226,12 +226,12 @@ declare const BkLoading: {
|
|
226
226
|
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
227
227
|
title: string;
|
228
228
|
zIndex: number;
|
229
|
+
mode: string;
|
229
230
|
color: string;
|
230
231
|
inline: boolean;
|
231
232
|
size: string;
|
232
233
|
opacity: number;
|
233
234
|
loading: boolean;
|
234
|
-
mode: string;
|
235
235
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
236
236
|
setDefaultIndicator: typeof setDefaultIndicator;
|
237
237
|
BkLoadingMode: typeof BkLoadingMode;
|
package/lib/loading/loading.d.ts
CHANGED
@@ -138,11 +138,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
138
138
|
}>>, {
|
139
139
|
title: string;
|
140
140
|
zIndex: number;
|
141
|
+
mode: string;
|
141
142
|
color: string;
|
142
143
|
inline: boolean;
|
143
144
|
size: string;
|
144
145
|
opacity: number;
|
145
146
|
loading: boolean;
|
146
|
-
mode: string;
|
147
147
|
}>;
|
148
148
|
export default _default;
|
package/lib/menu/index.d.ts
CHANGED
@@ -6,8 +6,8 @@ declare const BkMenu: {
|
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
7
7
|
$data: {};
|
8
8
|
$props: Partial<{
|
9
|
-
collapse: boolean;
|
10
9
|
mode: "vertical";
|
10
|
+
collapse: boolean;
|
11
11
|
uniqueOpen: boolean;
|
12
12
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
13
13
|
activeKey: StringConstructor;
|
@@ -28,7 +28,7 @@ declare const BkMenu: {
|
|
28
28
|
"onUpdate:activeKey"?: (...args: any[]) => any;
|
29
29
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
30
30
|
onOpenChange?: (...args: any[]) => any;
|
31
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
31
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "mode" | "collapse" | "uniqueOpen">;
|
32
32
|
$attrs: {
|
33
33
|
[x: string]: unknown;
|
34
34
|
};
|
@@ -62,8 +62,8 @@ declare const BkMenu: {
|
|
62
62
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
63
63
|
onOpenChange?: (...args: any[]) => any;
|
64
64
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:activeKey" | "update:openKeys" | "openChange")[], string, {
|
65
|
-
collapse: boolean;
|
66
65
|
mode: "vertical";
|
66
|
+
collapse: boolean;
|
67
67
|
uniqueOpen: boolean;
|
68
68
|
}> & {
|
69
69
|
beforeCreate?: (() => void) | (() => void)[];
|
@@ -128,8 +128,8 @@ declare const BkMenu: {
|
|
128
128
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
129
129
|
onOpenChange?: (...args: any[]) => any;
|
130
130
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:activeKey" | "update:openKeys" | "openChange")[], "click" | "update:activeKey" | "update:openKeys" | "openChange", {
|
131
|
-
collapse: boolean;
|
132
131
|
mode: "vertical";
|
132
|
+
collapse: boolean;
|
133
133
|
uniqueOpen: boolean;
|
134
134
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
135
135
|
Item: import("vue").DefineComponent<{
|
package/lib/menu/menu.d.ts
CHANGED
@@ -48,8 +48,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
48
48
|
"onUpdate:openKeys"?: (...args: any[]) => any;
|
49
49
|
onOpenChange?: (...args: any[]) => any;
|
50
50
|
}, {
|
51
|
-
collapse: boolean;
|
52
51
|
mode: "vertical";
|
52
|
+
collapse: boolean;
|
53
53
|
uniqueOpen: boolean;
|
54
54
|
}>;
|
55
55
|
export default _default;
|
@@ -99,9 +99,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
99
|
id: string;
|
100
100
|
theme: string;
|
101
101
|
extCls: string;
|
102
|
+
offsetY: number;
|
102
103
|
onClose: (...args: any[]) => any;
|
103
104
|
message: string;
|
104
|
-
offsetY: number;
|
105
105
|
spacing: number;
|
106
106
|
delay: number;
|
107
107
|
dismissable: boolean;
|
package/lib/modal/index.d.ts
CHANGED
@@ -12,11 +12,11 @@ declare const BkModal: {
|
|
12
12
|
extCls: string | unknown[];
|
13
13
|
width: string | number;
|
14
14
|
height: string | number;
|
15
|
+
isShow: boolean;
|
15
16
|
draggable: boolean;
|
16
17
|
size: string;
|
17
18
|
direction: string;
|
18
19
|
maxHeight: string;
|
19
|
-
isShow: boolean;
|
20
20
|
renderDirective: string;
|
21
21
|
transfer: boolean;
|
22
22
|
dialogType: string;
|
@@ -120,7 +120,7 @@ declare const BkModal: {
|
|
120
120
|
"onQuick-close"?: (...args: any[]) => any;
|
121
121
|
onQuickClose?: (...args: any[]) => any;
|
122
122
|
onShown?: (...args: any[]) => any;
|
123
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "showMask" | "extCls" | "width" | "height" | "
|
123
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "showMask" | "extCls" | "width" | "height" | "isShow" | "draggable" | "size" | "direction" | "maxHeight" | "renderDirective" | "transfer" | "dialogType" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
|
124
124
|
$attrs: {
|
125
125
|
[x: string]: unknown;
|
126
126
|
};
|
@@ -244,11 +244,11 @@ declare const BkModal: {
|
|
244
244
|
extCls: string | unknown[];
|
245
245
|
width: string | number;
|
246
246
|
height: string | number;
|
247
|
+
isShow: boolean;
|
247
248
|
draggable: boolean;
|
248
249
|
size: string;
|
249
250
|
direction: string;
|
250
251
|
maxHeight: string;
|
251
|
-
isShow: boolean;
|
252
252
|
renderDirective: string;
|
253
253
|
transfer: boolean;
|
254
254
|
dialogType: string;
|
@@ -495,11 +495,11 @@ declare const BkModal: {
|
|
495
495
|
extCls: string | unknown[];
|
496
496
|
width: string | number;
|
497
497
|
height: string | number;
|
498
|
+
isShow: boolean;
|
498
499
|
draggable: boolean;
|
499
500
|
size: string;
|
500
501
|
direction: string;
|
501
502
|
maxHeight: string;
|
502
|
-
isShow: boolean;
|
503
503
|
renderDirective: string;
|
504
504
|
transfer: boolean;
|
505
505
|
dialogType: string;
|
package/lib/modal/modal.d.ts
CHANGED
@@ -196,11 +196,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
196
196
|
extCls: string | unknown[];
|
197
197
|
width: string | number;
|
198
198
|
height: string | number;
|
199
|
+
isShow: boolean;
|
199
200
|
draggable: boolean;
|
200
201
|
size: string;
|
201
202
|
direction: string;
|
202
203
|
maxHeight: string;
|
203
|
-
isShow: boolean;
|
204
204
|
renderDirective: string;
|
205
205
|
transfer: boolean;
|
206
206
|
dialogType: string;
|
@@ -124,10 +124,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
124
124
|
theme: string;
|
125
125
|
extCls: string;
|
126
126
|
position: string;
|
127
|
-
onClose: (...args: any[]) => any;
|
128
|
-
message: string;
|
129
127
|
offsetX: number;
|
130
128
|
offsetY: number;
|
129
|
+
onClose: (...args: any[]) => any;
|
130
|
+
message: string;
|
131
131
|
spacing: number;
|
132
132
|
delay: number;
|
133
133
|
dismissable: boolean;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { $bkPopover } from '@bkui-vue/popover2';
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../popover2"));else if("function"==typeof define&&define.amd)define(["../popover2"],o);else{var r="object"==typeof exports?o(require("../popover2")):o(e["../popover2"]);for(var t in r)("object"==typeof exports?exports:e)[t]=r[t]}}(self,(e=>(()=>{"use strict";var o={6175:o=>{o.exports=e}},r={};function t(e){var p=r[e];if(void 0!==p)return p.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,t),n.exports}t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var r in o)t.o(o,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{t.r(p),t.d(p,{$bkPopover:()=>e.$bkPopover});var e=t(6175)})(),p})()));
|
package/lib/popover/index.d.ts
CHANGED
@@ -13,9 +13,9 @@ declare const BkPopover: {
|
|
13
13
|
theme: string;
|
14
14
|
width: string | number;
|
15
15
|
height: string | number;
|
16
|
+
isShow: boolean;
|
16
17
|
always: boolean;
|
17
18
|
transition: string;
|
18
|
-
isShow: boolean;
|
19
19
|
stopBehaviors: string | string[];
|
20
20
|
handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
21
21
|
fixOnBoundary: boolean;
|
@@ -92,7 +92,7 @@ declare const BkPopover: {
|
|
92
92
|
stopBehaviors: import("vue-types").VueTypeDef<string | string[]> & {
|
93
93
|
default: string | (() => string[]);
|
94
94
|
};
|
95
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "modifiers" | "zIndex" | "content" | "disabled" | "trigger" | "arrow" | "theme" | "width" | "height" | "
|
95
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "modifiers" | "zIndex" | "content" | "disabled" | "trigger" | "arrow" | "theme" | "width" | "height" | "isShow" | "always" | "transition" | "stopBehaviors" | "handleFirstUpdate" | "fixOnBoundary">;
|
96
96
|
$attrs: {
|
97
97
|
[x: string]: unknown;
|
98
98
|
};
|
@@ -190,9 +190,9 @@ declare const BkPopover: {
|
|
190
190
|
theme: string;
|
191
191
|
width: string | number;
|
192
192
|
height: string | number;
|
193
|
+
isShow: boolean;
|
193
194
|
always: boolean;
|
194
195
|
transition: string;
|
195
|
-
isShow: boolean;
|
196
196
|
stopBehaviors: string | string[];
|
197
197
|
handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
198
198
|
fixOnBoundary: boolean;
|
@@ -377,9 +377,9 @@ declare const BkPopover: {
|
|
377
377
|
theme: string;
|
378
378
|
width: string | number;
|
379
379
|
height: string | number;
|
380
|
+
isShow: boolean;
|
380
381
|
always: boolean;
|
381
382
|
transition: string;
|
382
|
-
isShow: boolean;
|
383
383
|
stopBehaviors: string | string[];
|
384
384
|
handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
385
385
|
fixOnBoundary: boolean;
|
package/lib/popover/popover.d.ts
CHANGED
@@ -155,9 +155,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
155
155
|
theme: string;
|
156
156
|
width: string | number;
|
157
157
|
height: string | number;
|
158
|
+
isShow: boolean;
|
158
159
|
always: boolean;
|
159
160
|
transition: string;
|
160
|
-
isShow: boolean;
|
161
161
|
stopBehaviors: string | string[];
|
162
162
|
handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
|
163
163
|
fixOnBoundary: boolean;
|
package/lib/popover2/index.d.ts
CHANGED
@@ -13,9 +13,9 @@ declare const BkPopover2: {
|
|
13
13
|
theme: string;
|
14
14
|
width: string | number;
|
15
15
|
height: string | number;
|
16
|
+
isShow: boolean;
|
16
17
|
always: boolean;
|
17
18
|
padding: number;
|
18
|
-
isShow: boolean;
|
19
19
|
disableTeleport: boolean;
|
20
20
|
autoPlacement: boolean;
|
21
21
|
autoVisibility: boolean;
|
@@ -111,7 +111,7 @@ declare const BkPopover2: {
|
|
111
111
|
onShow?: (...args: any[]) => any;
|
112
112
|
onHide?: (...args: any[]) => any;
|
113
113
|
onClickoutside?: (...args: any[]) => any;
|
114
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "disabled" | "trigger" | "arrow" | "theme" | "width" | "height" | "
|
114
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "disabled" | "trigger" | "arrow" | "theme" | "width" | "height" | "isShow" | "always" | "padding" | "disableTeleport" | "autoPlacement" | "autoVisibility" | "disableOutsideClick" | "disableTransform">;
|
115
115
|
$attrs: {
|
116
116
|
[x: string]: unknown;
|
117
117
|
};
|
@@ -225,6 +225,7 @@ declare const BkPopover2: {
|
|
225
225
|
theme: string;
|
226
226
|
transBoundary: import("vue").ComputedRef<boolean>;
|
227
227
|
handleClickOutside: (_e: MouseEvent) => void;
|
228
|
+
updatePopover: (virtualEl?: any, props?: {}) => void;
|
228
229
|
hide: () => void;
|
229
230
|
show: () => void;
|
230
231
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
@@ -242,9 +243,9 @@ declare const BkPopover2: {
|
|
242
243
|
theme: string;
|
243
244
|
width: string | number;
|
244
245
|
height: string | number;
|
246
|
+
isShow: boolean;
|
245
247
|
always: boolean;
|
246
248
|
padding: number;
|
247
|
-
isShow: boolean;
|
248
249
|
disableTeleport: boolean;
|
249
250
|
autoPlacement: boolean;
|
250
251
|
autoVisibility: boolean;
|
@@ -370,6 +371,7 @@ declare const BkPopover2: {
|
|
370
371
|
theme: string;
|
371
372
|
transBoundary: import("vue").ComputedRef<boolean>;
|
372
373
|
handleClickOutside: (_e: MouseEvent) => void;
|
374
|
+
updatePopover: (virtualEl?: any, props?: {}) => void;
|
373
375
|
hide: () => void;
|
374
376
|
show: () => void;
|
375
377
|
}> & {} & {} & import("vue").ComponentCustomProperties;
|
@@ -476,6 +478,7 @@ declare const BkPopover2: {
|
|
476
478
|
theme: string;
|
477
479
|
transBoundary: import("vue").ComputedRef<boolean>;
|
478
480
|
handleClickOutside: (_e: MouseEvent) => void;
|
481
|
+
updatePopover: (virtualEl?: any, props?: {}) => void;
|
479
482
|
hide: () => void;
|
480
483
|
show: () => void;
|
481
484
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
@@ -493,9 +496,9 @@ declare const BkPopover2: {
|
|
493
496
|
theme: string;
|
494
497
|
width: string | number;
|
495
498
|
height: string | number;
|
499
|
+
isShow: boolean;
|
496
500
|
always: boolean;
|
497
501
|
padding: number;
|
498
|
-
isShow: boolean;
|
499
502
|
disableTeleport: boolean;
|
500
503
|
autoPlacement: boolean;
|
501
504
|
autoVisibility: boolean;
|
@@ -503,3 +506,4 @@ declare const BkPopover2: {
|
|
503
506
|
disableTransform: boolean;
|
504
507
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
505
508
|
export default BkPopover2;
|
509
|
+
export { default as $bkPopover } from './plugin-popover';
|