bkui-vue 0.0.1-beta.115 → 0.0.1-beta.118
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 +10 -10
- package/dist/index.esm.js +23 -11
- package/dist/index.umd.js +10 -10
- package/dist/style.css +1 -1
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/index.d.ts +4 -4
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +4 -4
- package/lib/button/button.css +3 -3
- package/lib/button/button.less +8 -10
- package/lib/button/button.variable.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/index.d.ts +4 -4
- package/lib/components.d.ts +0 -51
- package/lib/dialog/dialog.d.ts +1 -1
- package/lib/dialog/index.d.ts +4 -4
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +1 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
- package/lib/fixed-navbar/index.d.ts +4 -4
- package/lib/form/form-item.d.ts +1 -0
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.js +1 -1
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/index.js +1 -1
- package/lib/menu/index.d.ts +4 -0
- package/lib/menu/index.js +1 -1
- package/lib/message/messageConstructor.d.ts +1 -1
- package/lib/modal/index.d.ts +4 -4
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +1 -1
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/process/index.d.ts +4 -4
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.d.ts +1 -1
- package/lib/sideslider/index.d.ts +4 -4
- package/lib/sideslider/sideslider.d.ts +1 -1
- package/lib/slider/index.d.ts +4 -4
- package/lib/slider/slider.d.ts +1 -1
- package/lib/switcher/index.d.ts +4 -4
- package/lib/switcher/switcher.d.ts +1 -1
- package/lib/tab/index.d.ts +4 -4
- package/lib/tab/tab.d.ts +1 -1
- package/lib/tag/index.d.ts +4 -4
- package/lib/tag/tag.d.ts +1 -1
- package/lib/tag-input/index.js +1 -1
- package/lib/timeline/index.d.ts +4 -4
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/upload/upload.d.ts +1 -1
- package/lib/volar.components.d.ts +28 -0
- package/package.json +1 -1
- package/lib/icon/folder.js +0 -1
package/lib/menu/index.d.ts
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
import Group from './menu-group';
|
2
|
+
import Item from './menu-item';
|
3
|
+
import Submenu from './submenu';
|
1
4
|
declare const BkMenu: {
|
2
5
|
new (...args: any[]): {
|
3
6
|
$: import("vue").ComponentInternalInstance;
|
@@ -174,3 +177,4 @@ declare const BkMenu: {
|
|
174
177
|
}>;
|
175
178
|
}>;
|
176
179
|
export default BkMenu;
|
180
|
+
export { BkMenu, Item as BkMenuItem, Submenu as BkSubmenu, Group as BkMenuGroup, };
|
package/lib/menu/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon/"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon/"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon/")):t(e["../shared"],e.vue,e["../icon/"]);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n)=>(()=>{"use strict";var o={7685:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{default:()=>
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../icon/"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon/"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../icon/")):t(e["../shared"],e.vue,e["../icon/"]);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n)=>(()=>{"use strict";var o={7685:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t}},r={};function a(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{a.r(l),a.d(l,{BkMenu:()=>x,BkMenuGroup:()=>y,BkMenuItem:()=>m,BkSubmenu:()=>b,default:()=>S});var e=a(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var o=a(748),r=Symbol("MENU_PROVIDER_KEY"),i=Symbol("MENU_PROVIDER_KEY_PATH"),u=function(){return(0,o.inject)(r)},c=function(){var e,t=(0,o.getCurrentInstance)(),n=t.parent?t.parent.provides:null===(e=t.vnode.appContext)||void 0===e?void 0:e.provides;return n&&i in n?(0,o.inject)(i):{parentInfo:void 0,parentKeys:(0,o.ref)([])}},s=function(e){return(e||"").split(" ").filter((function(e){return!!e.trim()}))};function d(e,t){if(e&&t){var o=s(t),r=e.getAttribute("class")||"";if(e.classList){var a;(a=e.classList).remove.apply(a,n(o))}else{o.forEach((function(e){r=r.replace(" ".concat(e," ")," ")}));var l=s(r).join(" ");e.setAttribute("class",l)}}}function v(e,t){if(e){var o,r=e.getAttribute("class")||"",a=s(r),l=(t||"").split(" ").filter((function(e){return!a.includes(e)&&!!e.trim()}));e.classList?(o=e.classList).add.apply(o,n(l)):(r+=" ".concat(l.join(" ")),e.setAttribute("class",r))}}var p={activeKey:String,collapse:Boolean,openedKeys:{type:Array},mode:{type:String,default:"vertical"},uniqueOpen:{type:Boolean,default:!0}};const f=(0,o.defineComponent)({name:"Menu",props:p,emits:["update:activeKey","update:openKeys","click","openChange"],setup:function(e,t){var a,l=t.slots,i=t.emit,u=t.expose,c=(0,o.ref)(""),s=(0,o.ref)([]),d=(0,o.ref)({}),v=(0,o.computed)((function(){return e.mode})),p=(0,o.ref)(e.collapse),f=(0,o.ref)([]);return(0,o.watchEffect)((function(){void 0!==e.activeKey&&(c.value=e.activeKey)})),(0,o.watch)((function(){return e.collapse}),(function(){p.value=e.collapse,console.info(e.collapse);var t=n(f.value),o=n(s.value);s.value=p.value?[]:t,f.value=p.value?o:[]}),{immediate:!0}),(0,o.watch)((function(){return e.openedKeys}),(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.value;s.value=e}),{immediate:!0}),a={activeKey:c,menuStore:d,registerMenuInfo:function(e,t){d.value=Object.assign(Object.assign({},d.value),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))},unregisterMenuInfo:function(e){delete d.value[e],d.value=Object.assign({},d.value)},mode:v.value,openedKeys:s,collapse:p,handleOpenChange:function(t,o){o?e.uniqueOpen?s.value=[t]:s.value.push(t):s.value=s.value.filter((function(e){return e!==t})),i("openChange",o,d.value[t]),i("update:openKeys",n(s.value))},handleActiveChange:function(e){c.value=e,i("click",d.value[e]),i("update:activeKey",e,d.value[e])}},(0,o.provide)(r,a),u({activeKey:c,openedKeys:s,menuStore:d}),function(){var e;return(0,o.createVNode)("div",{class:{"bk-menu":!0,"is-collapse":p.value}},[null===(e=l.default)||void 0===e?void 0:e.call(l)])}}}),y=(0,o.defineComponent)({name:"MenuGroup",props:{name:{type:String,default:""}},setup:function(e,t){var n=t.slots;return function(){var t;return(0,o.createVNode)("div",{class:"bk-menu-group"},[(0,o.createVNode)("div",{class:"group-name"},[e.name]),(0,o.createVNode)("ul",{class:"group-wrap"},[null===(t=n.default)||void 0===t?void 0:t.call(n)])])}}}),m=(0,o.defineComponent)({name:"MenuItem",props:{needIcon:{type:Boolean,default:!0}},emits:["click"],slots:["icon"],setup:function(e,t){var n,r,a=t.slots,l=t.emit,i=u(),s=i.registerMenuInfo,d=i.unregisterMenuInfo,v=i.activeKey,p=i.handleActiveChange,f=(0,o.getCurrentInstance)(),y=c().parentInfo,m=(null===(r=null===(n=f.vnode.key)||void 0===n?void 0:n.toString)||void 0===r?void 0:r.call(n))||String(f.uid),g=(0,o.computed)((function(){return v.value===m})),h=(0,o.computed)((function(){return e.needIcon}));s(m,{key:m,parentKey:null==y?void 0:y.key});var b=function(e){p(m),l("click",e)};return(0,o.onBeforeUnmount)((function(){return d(m)})),function(){var e,t;return(0,o.createVNode)("li",{class:{"bk-menu-item":!0,"is-active":g.value},onClick:b},[h.value&&(0,o.createVNode)("span",{class:"item-icon"},[(null===(e=null==a?void 0:a.icon)||void 0===e?void 0:e.call(a))||(0,o.createVNode)("i",{class:"default-icon"},null)]),(0,o.createVNode)("span",{class:"item-content"},[null===(t=a.default)||void 0===t?void 0:t.call(a)])])}}});var g=a(7685),h={title:{type:String,default:"title"}};const b=(0,o.defineComponent)({name:"Submenu",props:h,emits:["collapse"],slots:["icon"],setup:function(e,t){var r,a,l=t.slots,s=t.emit,p=u(),f=p.registerMenuInfo,y=p.unregisterMenuInfo,m=p.openedKeys,h=p.handleOpenChange,b=p.collapse,x=p.activeKey,S=p.menuStore,I=c().parentInfo,K=(0,o.getCurrentInstance)(),w=(null===(a=null===(r=K.vnode.key)||void 0===r?void 0:r.toString)||void 0===a?void 0:a.call(r))||String(K.uid),k=(0,o.ref)({css:!0,onBeforeEnter:function(e){v(e,"collapse-transition"),e.dataset||(e.dataset={}),e.style.height="0px",e.style.maxHeight="0px"},onEnter:function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height="".concat(e.scrollHeight,"px"),e.style.maxHeight="".concat(e.scrollHeight,"px")):(e.style.height="0px",e.style.maxHeight="0px"),e.style.overflow="hidden"},onAfterEnter:function(e){e.style.height="",e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow,d(e,"collapse-transition")},onBeforeLeave:function(e){e.dataset||(e.dataset={}),e.dataset.oldOverflow=e.style.overflow,e.style.height="".concat(e.scrollHeight,"px"),e.style.maxHeight="".concat(e.scrollHeight,"px"),e.style.overflow="hidden"},onLeave:function(e){0!==e.scrollHeight&&(v(e,"collapse-transition"),e.style.transitionProperty="height",e.style.height="0px",e.style.maxHeight="0px")},onAfterLeave:function(e){d(e,"collapse-transition"),e.style.height="",e.style.maxHeight="",e.style.overflow=e.dataset.oldOverflow}}),O=(0,o.computed)((function(){return m.value.includes(w)})),j=(0,o.computed)((function(){var e,t,n=null===(t=null===(e=S.value)||void 0===e?void 0:e[x.value])||void 0===t?void 0:t.parentKey;return b.value&&n===w&&O}));!function(e){var t=c(),r=t.parentKeys,a=t.parentInfo,l=(0,o.computed)((function(){return[].concat(n(r.value),[e])}));(0,o.provide)(i,{parentInfo:{key:e,parentKey:null==a?void 0:a.key},parentKeys:l})}(w),f(w,{key:w,parentKey:null==I?void 0:I.key}),(0,o.onBeforeUnmount)((function(){return y(w)}));var A=function(){h(w,!O.value),s("collapse",!O.value,K)};return function(){var t,n;return(0,o.createVNode)("li",{class:{"bk-menu-submenu":!0,"is-opened":O.value}},[(0,o.createVNode)("div",{class:{"submenu-header":!0,"is-collapse":j.value},onClick:A},[(0,o.createVNode)("span",{class:"submenu-header-icon"},[(null===(t=l.icon)||void 0===t?void 0:t.call(l))||(0,o.createVNode)(g.TreeApplicationShape,{class:"menu-icon"},null)]),(0,o.createVNode)("span",{class:"submenu-header-content"},[e.title]),(0,o.createVNode)(g.AngleDown,{class:{"submenu-header-collapse":!0,"is-collapse":m.value.includes(w)}},null)]),(0,o.createVNode)(o.Transition,k.value,{default:function(){return[(0,o.withDirectives)((0,o.createVNode)("ul",{class:"submenu-list"},[null===(n=l.default)||void 0===n?void 0:n.call(l)]),[[o.vShow,O.value]])]}})])}}});var x=(0,e.withInstallProps)(f,{Item:m,Submenu:b,Group:y});const S=x})(),l})()));
|
@@ -98,8 +98,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
98
|
}, {
|
99
99
|
id: string;
|
100
100
|
theme: string;
|
101
|
-
onClose: (...args: any[]) => any;
|
102
101
|
extCls: string;
|
102
|
+
onClose: (...args: any[]) => any;
|
103
103
|
message: string;
|
104
104
|
spacing: number;
|
105
105
|
delay: number;
|
package/lib/modal/index.d.ts
CHANGED
@@ -8,11 +8,11 @@ declare const BkModal: {
|
|
8
8
|
$props: Partial<{
|
9
9
|
multiInstance: boolean;
|
10
10
|
showMask: boolean;
|
11
|
+
extCls: string | unknown[];
|
11
12
|
width: string | number;
|
12
13
|
height: string | number;
|
13
14
|
draggable: boolean;
|
14
15
|
size: string;
|
15
|
-
extCls: string | unknown[];
|
16
16
|
direction: string;
|
17
17
|
maxHeight: string;
|
18
18
|
isShow: boolean;
|
@@ -114,7 +114,7 @@ declare const BkModal: {
|
|
114
114
|
"onQuick-close"?: (...args: any[]) => any;
|
115
115
|
onQuickClose?: (...args: any[]) => any;
|
116
116
|
onShown?: (...args: any[]) => any;
|
117
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "multiInstance" | "showMask" | "
|
117
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "multiInstance" | "showMask" | "extCls" | "width" | "height" | "draggable" | "size" | "direction" | "maxHeight" | "isShow" | "transfer" | "renderDirective" | "dialogType" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
|
118
118
|
$attrs: {
|
119
119
|
[x: string]: unknown;
|
120
120
|
};
|
@@ -229,11 +229,11 @@ declare const BkModal: {
|
|
229
229
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "quick-close" | "quickClose" | "shown")[], string, {
|
230
230
|
multiInstance: boolean;
|
231
231
|
showMask: boolean;
|
232
|
+
extCls: string | unknown[];
|
232
233
|
width: string | number;
|
233
234
|
height: string | number;
|
234
235
|
draggable: boolean;
|
235
236
|
size: string;
|
236
|
-
extCls: string | unknown[];
|
237
237
|
direction: string;
|
238
238
|
maxHeight: string;
|
239
239
|
isShow: boolean;
|
@@ -469,11 +469,11 @@ declare const BkModal: {
|
|
469
469
|
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "quick-close" | "quickClose" | "shown")[], "close" | "hidden" | "quick-close" | "quickClose" | "shown", {
|
470
470
|
multiInstance: boolean;
|
471
471
|
showMask: boolean;
|
472
|
+
extCls: string | unknown[];
|
472
473
|
width: string | number;
|
473
474
|
height: string | number;
|
474
475
|
draggable: boolean;
|
475
476
|
size: string;
|
476
|
-
extCls: string | unknown[];
|
477
477
|
direction: string;
|
478
478
|
maxHeight: string;
|
479
479
|
isShow: boolean;
|
package/lib/modal/index.js
CHANGED
@@ -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),maxHeight:e.PropTypes.string,direction:e.PropTypes.string,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)};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.$emit("shown"),t.$emit("quick-close",t.$el),t.$emit("quickClose",t.$el)})):e.bkPopIndexManager.hide(this.$el,this.transfer)}},beforeUnmount:function(){e.bkPopIndexManager.hide(this.$el)},methods:{handleClickOutSide:function(){this.quickClose&&this.$emit("close")}},render:function(){var e,t,i,s,r,n,l,d,a,c=this,p=this.maxHeight?{maxHeight:this.maxHeight}:{},h="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.withDirectives)((0,o.createVNode)("div",{class:"bk-modal-outside",onClick:this.handleClickOutSide},null),[[o.vShow,this.isShow]]),(0,o.createVNode)(o.Transition,{name:this.animateType},{default:function(){return[c.isShow?(0,o.createVNode)("div",{class:h},[(0,o.createVNode)("div",{class:"bk-modal-header"},[null!==(i=null===(t=(e=c.$slots).header)||void 0===t?void 0:t.call(e))&&void 0!==i?i:""]),(0,o.createVNode)("div",{class:"bk-modal-content",style:["show"===c.dialogType?"padding-bottom: 20px":"",Object.assign({},p)]},[null!==(n=null===(r=(s=c.$slots).default)||void 0===r?void 0:r.call(s))&&void 0!==n?n:""]),"show"===c.dialogType?"":(0,o.createVNode)("div",{class:"bk-modal-footer"},[null!==(a=null===(d=(l=c.$slots).footer)||void 0===d?void 0:d.call(l))&&void 0!==a?a:""])]):""]}})])}});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 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),maxHeight:e.PropTypes.string,direction:e.PropTypes.string,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)};const i=(0,o.defineComponent)({name:"Modal",inheritAttrs:!1,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.$emit("shown"),t.$emit("quick-close",t.$el),t.$emit("quickClose",t.$el)})):e.bkPopIndexManager.hide(this.$el,this.transfer)}},beforeUnmount:function(){e.bkPopIndexManager.hide(this.$el)},methods:{handleClickOutSide:function(){this.quickClose&&this.$emit("close")}},render:function(){var e,t,i,s,r,n,l,d,a,c=this,p=this.maxHeight?{maxHeight:this.maxHeight}:{},h="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.withDirectives)((0,o.createVNode)("div",{class:"bk-modal-outside",onClick:this.handleClickOutSide},null),[[o.vShow,this.isShow]]),(0,o.createVNode)(o.Transition,{name:this.animateType},{default:function(){return[c.isShow?(0,o.createVNode)("div",{class:h},[(0,o.createVNode)("div",{class:"bk-modal-header"},[null!==(i=null===(t=(e=c.$slots).header)||void 0===t?void 0:t.call(e))&&void 0!==i?i:""]),(0,o.createVNode)("div",{class:"bk-modal-content",style:["show"===c.dialogType?"padding-bottom: 20px":"",Object.assign({},p)]},[null!==(n=null===(r=(s=c.$slots).default)||void 0===r?void 0:r.call(s))&&void 0!==n?n:""]),"show"===c.dialogType?"":(0,o.createVNode)("div",{class:"bk-modal-footer"},[null!==(a=null===(d=(l=c.$slots).footer)||void 0===d?void 0:d.call(l))&&void 0!==a?a:""])]):""]}})])}});var n=(0,e.withInstallProps)(i,{propsMixin:t},!0);const l=n})(),r})()));
|
package/lib/modal/modal.d.ts
CHANGED
@@ -182,11 +182,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
182
182
|
}, {
|
183
183
|
multiInstance: boolean;
|
184
184
|
showMask: boolean;
|
185
|
+
extCls: string | unknown[];
|
185
186
|
width: string | number;
|
186
187
|
height: string | number;
|
187
188
|
draggable: boolean;
|
188
189
|
size: string;
|
189
|
-
extCls: string | unknown[];
|
190
190
|
direction: string;
|
191
191
|
maxHeight: string;
|
192
192
|
isShow: boolean;
|
@@ -122,9 +122,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
122
122
|
title: string;
|
123
123
|
id: string;
|
124
124
|
theme: string;
|
125
|
+
extCls: string;
|
125
126
|
position: string;
|
126
127
|
onClose: (...args: any[]) => any;
|
127
|
-
extCls: string;
|
128
128
|
message: string;
|
129
129
|
spacing: number;
|
130
130
|
delay: number;
|
package/lib/process/index.d.ts
CHANGED
@@ -3,8 +3,8 @@ declare const BkSteps: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
-
list: unknown[];
|
7
6
|
extCls: string;
|
7
|
+
list: unknown[];
|
8
8
|
controllable: boolean;
|
9
9
|
showSteps: boolean;
|
10
10
|
curProcess: number;
|
@@ -41,7 +41,7 @@ declare const BkSteps: {
|
|
41
41
|
}>> & {
|
42
42
|
onClick?: (...args: any[]) => any;
|
43
43
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
44
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
44
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "list" | "controllable" | "showSteps" | "curProcess" | "displayKey">;
|
45
45
|
$attrs: {
|
46
46
|
[x: string]: unknown;
|
47
47
|
};
|
@@ -92,8 +92,8 @@ declare const BkSteps: {
|
|
92
92
|
paddingBottom: import("vue").Ref<number>;
|
93
93
|
jumpTo: (index: any) => Promise<void>;
|
94
94
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curProcess")[], string, {
|
95
|
-
list: unknown[];
|
96
95
|
extCls: string;
|
96
|
+
list: unknown[];
|
97
97
|
controllable: boolean;
|
98
98
|
showSteps: boolean;
|
99
99
|
curProcess: number;
|
@@ -195,8 +195,8 @@ declare const BkSteps: {
|
|
195
195
|
paddingBottom: import("vue").Ref<number>;
|
196
196
|
jumpTo: (index: any) => Promise<void>;
|
197
197
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "update:curProcess")[], "click" | "update:curProcess", {
|
198
|
-
list: unknown[];
|
199
198
|
extCls: string;
|
199
|
+
list: unknown[];
|
200
200
|
controllable: boolean;
|
201
201
|
showSteps: boolean;
|
202
202
|
curProcess: number;
|
package/lib/process/process.d.ts
CHANGED
@@ -121,8 +121,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
121
121
|
onClick?: (...args: any[]) => any;
|
122
122
|
"onUpdate:curProcess"?: (...args: any[]) => any;
|
123
123
|
}, {
|
124
|
-
list: unknown[];
|
125
124
|
extCls: string;
|
125
|
+
list: unknown[];
|
126
126
|
controllable: boolean;
|
127
127
|
showSteps: boolean;
|
128
128
|
curProcess: number;
|
package/lib/progress/index.d.ts
CHANGED
@@ -6,9 +6,9 @@ declare const BkProgress: {
|
|
6
6
|
fixed: number;
|
7
7
|
type: string;
|
8
8
|
theme: string;
|
9
|
+
extCls: string;
|
9
10
|
width: number;
|
10
11
|
color: string;
|
11
|
-
extCls: string;
|
12
12
|
strokeLinecap: string;
|
13
13
|
strokeWidth: number;
|
14
14
|
format: (...args: any[]) => any;
|
@@ -91,7 +91,7 @@ declare const BkProgress: {
|
|
91
91
|
[key: string]: any;
|
92
92
|
};
|
93
93
|
};
|
94
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "theme" | "
|
94
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "theme" | "extCls" | "width" | "color" | "strokeLinecap" | "strokeWidth" | "format" | "percent" | "bgColor" | "titleStyle" | "showText" | "textInside">;
|
95
95
|
$attrs: {
|
96
96
|
[x: string]: unknown;
|
97
97
|
};
|
@@ -186,9 +186,9 @@ declare const BkProgress: {
|
|
186
186
|
fixed: number;
|
187
187
|
type: string;
|
188
188
|
theme: string;
|
189
|
+
extCls: string;
|
189
190
|
width: number;
|
190
191
|
color: string;
|
191
|
-
extCls: string;
|
192
192
|
strokeLinecap: string;
|
193
193
|
strokeWidth: number;
|
194
194
|
format: (...args: any[]) => any;
|
@@ -381,9 +381,9 @@ declare const BkProgress: {
|
|
381
381
|
fixed: number;
|
382
382
|
type: string;
|
383
383
|
theme: string;
|
384
|
+
extCls: string;
|
384
385
|
width: number;
|
385
386
|
color: string;
|
386
|
-
extCls: string;
|
387
387
|
strokeLinecap: string;
|
388
388
|
strokeWidth: number;
|
389
389
|
format: (...args: any[]) => any;
|
@@ -154,9 +154,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
154
154
|
fixed: number;
|
155
155
|
type: string;
|
156
156
|
theme: string;
|
157
|
+
extCls: string;
|
157
158
|
width: number;
|
158
159
|
color: string;
|
159
|
-
extCls: string;
|
160
160
|
strokeLinecap: string;
|
161
161
|
strokeWidth: number;
|
162
162
|
format: (...args: any[]) => any;
|
@@ -6,11 +6,11 @@ declare const BkSideslider: {
|
|
6
6
|
title: string;
|
7
7
|
multiInstance: boolean;
|
8
8
|
showMask: boolean;
|
9
|
+
extCls: string | unknown[];
|
9
10
|
width: string | number;
|
10
11
|
height: string | number;
|
11
12
|
draggable: boolean;
|
12
13
|
size: string;
|
13
|
-
extCls: string | unknown[];
|
14
14
|
direction: string;
|
15
15
|
maxHeight: string;
|
16
16
|
isShow: boolean;
|
@@ -118,7 +118,7 @@ declare const BkSideslider: {
|
|
118
118
|
onShown?: (...args: any[]) => any;
|
119
119
|
onClosed?: (...args: any[]) => any;
|
120
120
|
"onAnimation-end"?: (...args: any[]) => any;
|
121
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "showMask" | "
|
121
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "showMask" | "extCls" | "width" | "height" | "draggable" | "size" | "direction" | "maxHeight" | "isShow" | "transfer" | "renderDirective" | "dialogType" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType">;
|
122
122
|
$attrs: {
|
123
123
|
[x: string]: unknown;
|
124
124
|
};
|
@@ -231,11 +231,11 @@ declare const BkSideslider: {
|
|
231
231
|
title: string;
|
232
232
|
multiInstance: boolean;
|
233
233
|
showMask: boolean;
|
234
|
+
extCls: string | unknown[];
|
234
235
|
width: string | number;
|
235
236
|
height: string | number;
|
236
237
|
draggable: boolean;
|
237
238
|
size: string;
|
238
|
-
extCls: string | unknown[];
|
239
239
|
direction: string;
|
240
240
|
maxHeight: string;
|
241
241
|
isShow: boolean;
|
@@ -466,11 +466,11 @@ declare const BkSideslider: {
|
|
466
466
|
title: string;
|
467
467
|
multiInstance: boolean;
|
468
468
|
showMask: boolean;
|
469
|
+
extCls: string | unknown[];
|
469
470
|
width: string | number;
|
470
471
|
height: string | number;
|
471
472
|
draggable: boolean;
|
472
473
|
size: string;
|
473
|
-
extCls: string | unknown[];
|
474
474
|
direction: string;
|
475
475
|
maxHeight: string;
|
476
476
|
isShow: boolean;
|
@@ -186,11 +186,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
186
186
|
title: string;
|
187
187
|
multiInstance: boolean;
|
188
188
|
showMask: boolean;
|
189
|
+
extCls: string | unknown[];
|
189
190
|
width: string | number;
|
190
191
|
height: string | number;
|
191
192
|
draggable: boolean;
|
192
193
|
size: string;
|
193
|
-
extCls: string | unknown[];
|
194
194
|
direction: string;
|
195
195
|
maxHeight: string;
|
196
196
|
isShow: boolean;
|
package/lib/slider/index.d.ts
CHANGED
@@ -28,10 +28,10 @@ declare const Slider: {
|
|
28
28
|
$: import("vue").ComponentInternalInstance;
|
29
29
|
$data: {};
|
30
30
|
$props: Partial<{
|
31
|
+
extCls: string;
|
31
32
|
height: string;
|
32
33
|
step: number;
|
33
34
|
vertical: boolean;
|
34
|
-
extCls: string;
|
35
35
|
range: boolean;
|
36
36
|
showInput: boolean;
|
37
37
|
customContent: Record<string, any>;
|
@@ -123,7 +123,7 @@ declare const Slider: {
|
|
123
123
|
}>> & {
|
124
124
|
onChange?: (...args: any[]) => any;
|
125
125
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
126
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
126
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "height" | "step" | "vertical" | "range" | "showInput" | "customContent" | "disable" | "showTip" | "maxValue" | "minValue" | "showInterval" | "showIntervalLabel" | "showButtonLabel" | "showBetweenLabel" | "formatterLabel" | "formatterButtonLabel" | "formatterTipLabel">;
|
127
127
|
$attrs: {
|
128
128
|
[x: string]: unknown;
|
129
129
|
};
|
@@ -217,10 +217,10 @@ declare const Slider: {
|
|
217
217
|
}, {
|
218
218
|
renderDom: () => JSX.Element;
|
219
219
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
220
|
+
extCls: string;
|
220
221
|
height: string;
|
221
222
|
step: number;
|
222
223
|
vertical: boolean;
|
223
|
-
extCls: string;
|
224
224
|
range: boolean;
|
225
225
|
showInput: boolean;
|
226
226
|
customContent: Record<string, any>;
|
@@ -418,10 +418,10 @@ declare const Slider: {
|
|
418
418
|
}, {
|
419
419
|
renderDom: () => JSX.Element;
|
420
420
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
421
|
+
extCls: string;
|
421
422
|
height: string;
|
422
423
|
step: number;
|
423
424
|
vertical: boolean;
|
424
|
-
extCls: string;
|
425
425
|
range: boolean;
|
426
426
|
showInput: boolean;
|
427
427
|
customContent: Record<string, any>;
|
package/lib/slider/slider.d.ts
CHANGED
@@ -179,10 +179,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
179
179
|
onChange?: (...args: any[]) => any;
|
180
180
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
181
181
|
}, {
|
182
|
+
extCls: string;
|
182
183
|
height: string;
|
183
184
|
step: number;
|
184
185
|
vertical: boolean;
|
185
|
-
extCls: string;
|
186
186
|
range: boolean;
|
187
187
|
showInput: boolean;
|
188
188
|
customContent: Record<string, any>;
|
package/lib/switcher/index.d.ts
CHANGED
@@ -5,8 +5,8 @@ declare const BkSwitcher: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
disabled: boolean;
|
7
7
|
theme: string;
|
8
|
-
value: string | number | boolean;
|
9
8
|
extCls: string;
|
9
|
+
value: string | number | boolean;
|
10
10
|
modelValue: string | number | boolean;
|
11
11
|
beforeChange: (...args: any[]) => any;
|
12
12
|
showText: boolean;
|
@@ -66,7 +66,7 @@ declare const BkSwitcher: {
|
|
66
66
|
}>> & {
|
67
67
|
onChange?: (...args: any[]) => any;
|
68
68
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
69
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "theme" | "
|
69
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "theme" | "extCls" | "value" | "modelValue" | "beforeChange" | "showText" | "isOutline" | "onText" | "offText" | "isSquare" | "trueValue" | "falseValue">;
|
70
70
|
$attrs: {
|
71
71
|
[x: string]: unknown;
|
72
72
|
};
|
@@ -133,8 +133,8 @@ declare const BkSwitcher: {
|
|
133
133
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
|
134
134
|
disabled: boolean;
|
135
135
|
theme: string;
|
136
|
-
value: string | number | boolean;
|
137
136
|
extCls: string;
|
137
|
+
value: string | number | boolean;
|
138
138
|
modelValue: string | number | boolean;
|
139
139
|
beforeChange: (...args: any[]) => any;
|
140
140
|
showText: boolean;
|
@@ -271,8 +271,8 @@ declare const BkSwitcher: {
|
|
271
271
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
|
272
272
|
disabled: boolean;
|
273
273
|
theme: string;
|
274
|
-
value: string | number | boolean;
|
275
274
|
extCls: string;
|
275
|
+
value: string | number | boolean;
|
276
276
|
modelValue: string | number | boolean;
|
277
277
|
beforeChange: (...args: any[]) => any;
|
278
278
|
showText: boolean;
|
@@ -98,8 +98,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
98
98
|
}, {
|
99
99
|
disabled: boolean;
|
100
100
|
theme: string;
|
101
|
-
value: string | number | boolean;
|
102
101
|
extCls: string;
|
102
|
+
value: string | number | boolean;
|
103
103
|
modelValue: string | number | boolean;
|
104
104
|
beforeChange: (...args: any[]) => any;
|
105
105
|
showText: boolean;
|
package/lib/tab/index.d.ts
CHANGED
@@ -5,8 +5,8 @@ declare const BkTab: {
|
|
5
5
|
$data: {};
|
6
6
|
$props: Partial<{
|
7
7
|
type: string;
|
8
|
-
closable: boolean;
|
9
8
|
extCls: string;
|
9
|
+
closable: boolean;
|
10
10
|
active: string | number;
|
11
11
|
showHeader: boolean;
|
12
12
|
sortType: string;
|
@@ -81,7 +81,7 @@ declare const BkTab: {
|
|
81
81
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
82
82
|
"onUpdate:active"?: (...args: any[]) => any;
|
83
83
|
onSort?: (...args: any[]) => any;
|
84
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
84
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "extCls" | "closable" | "active" | "showHeader" | "sortType" | "tabPosition" | "addable" | "sortable" | "labelHeight" | "scrollStep" | "validateActive" | "changeOnHover" | "changeOnHoverDelay">;
|
85
85
|
$attrs: {
|
86
86
|
[x: string]: unknown;
|
87
87
|
};
|
@@ -168,8 +168,8 @@ declare const BkTab: {
|
|
168
168
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
169
169
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], string, {
|
170
170
|
type: string;
|
171
|
-
closable: boolean;
|
172
171
|
extCls: string;
|
172
|
+
closable: boolean;
|
173
173
|
active: string | number;
|
174
174
|
showHeader: boolean;
|
175
175
|
sortType: string;
|
@@ -349,8 +349,8 @@ declare const BkTab: {
|
|
349
349
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
350
350
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], "change" | "drag" | "sort" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active", {
|
351
351
|
type: string;
|
352
|
-
closable: boolean;
|
353
352
|
extCls: string;
|
353
|
+
closable: boolean;
|
354
354
|
active: string | number;
|
355
355
|
showHeader: boolean;
|
356
356
|
sortType: string;
|
package/lib/tab/tab.d.ts
CHANGED
@@ -122,8 +122,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
122
122
|
onSort?: (...args: any[]) => any;
|
123
123
|
}, {
|
124
124
|
type: string;
|
125
|
-
closable: boolean;
|
126
125
|
extCls: string;
|
126
|
+
closable: boolean;
|
127
127
|
active: string | number;
|
128
128
|
showHeader: boolean;
|
129
129
|
sortType: string;
|
package/lib/tag/index.d.ts
CHANGED
@@ -5,8 +5,8 @@ declare const BkTag: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
type: string;
|
7
7
|
theme: string;
|
8
|
-
closable: boolean;
|
9
8
|
extCls: string;
|
9
|
+
closable: boolean;
|
10
10
|
radius: string;
|
11
11
|
checked: boolean;
|
12
12
|
checkable: boolean;
|
@@ -45,7 +45,7 @@ declare const BkTag: {
|
|
45
45
|
}>> & {
|
46
46
|
onChange?: (...args: any[]) => any;
|
47
47
|
onClose?: (...args: any[]) => any;
|
48
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "theme" | "
|
48
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "theme" | "extCls" | "closable" | "radius" | "checked" | "checkable">;
|
49
49
|
$attrs: {
|
50
50
|
[x: string]: unknown;
|
51
51
|
};
|
@@ -104,8 +104,8 @@ declare const BkTag: {
|
|
104
104
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], string, {
|
105
105
|
type: string;
|
106
106
|
theme: string;
|
107
|
-
closable: boolean;
|
108
107
|
extCls: string;
|
108
|
+
closable: boolean;
|
109
109
|
radius: string;
|
110
110
|
checked: boolean;
|
111
111
|
checkable: boolean;
|
@@ -220,8 +220,8 @@ declare const BkTag: {
|
|
220
220
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close")[], "change" | "close", {
|
221
221
|
type: string;
|
222
222
|
theme: string;
|
223
|
-
closable: boolean;
|
224
223
|
extCls: string;
|
224
|
+
closable: boolean;
|
225
225
|
radius: string;
|
226
226
|
checked: boolean;
|
227
227
|
checkable: boolean;
|
package/lib/tag/tag.d.ts
CHANGED