bkui-vue 0.0.1-beta.18 → 0.0.1-beta.20

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 (85) hide show
  1. package/dist/bkui-vue.cjs.js +1811 -722
  2. package/dist/bkui-vue.esm.js +1809 -720
  3. package/dist/bkui-vue.umd.js +1811 -722
  4. package/dist/style.css +249 -0
  5. package/lib/badge/badge.d.ts +1 -1
  6. package/lib/badge/index.d.ts +4 -4
  7. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  8. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  9. package/lib/breadcrumb/index.d.ts +5 -5
  10. package/lib/button/button.d.ts +1 -1
  11. package/lib/button/index.d.ts +4 -4
  12. package/lib/components.d.ts +1 -0
  13. package/lib/date-picker/date-picker.d.ts +2 -2
  14. package/lib/date-picker/index.d.ts +7 -7
  15. package/lib/date-picker/index.js +1 -1
  16. package/lib/dialog/dialog.d.ts +12 -3
  17. package/lib/dialog/index.d.ts +27 -8
  18. package/lib/dialog/index.js +1 -1
  19. package/lib/directives/index.js +1 -1
  20. package/lib/divider/divider.d.ts +1 -1
  21. package/lib/divider/index.d.ts +4 -4
  22. package/lib/exception/exception.d.ts +1 -1
  23. package/lib/exception/index.d.ts +4 -4
  24. package/lib/form/form-item.d.ts +2 -2
  25. package/lib/form/index.d.ts +2 -2
  26. package/lib/icon/arrows-right.d.ts +4 -0
  27. package/lib/icon/arrows-right.js +15 -0
  28. package/lib/icon/bk.d.ts +4 -0
  29. package/lib/icon/bk.js +15 -0
  30. package/lib/icon/index.d.ts +4 -0
  31. package/lib/icon/index.js +1 -1
  32. package/lib/icon/qq.d.ts +4 -0
  33. package/lib/icon/qq.js +15 -0
  34. package/lib/icon/weixin.d.ts +4 -0
  35. package/lib/icon/weixin.js +15 -0
  36. package/lib/input/index.d.ts +4 -4
  37. package/lib/input/input.d.ts +1 -1
  38. package/lib/modal/index.d.ts +24 -1
  39. package/lib/modal/index.js +1 -1
  40. package/lib/modal/modal.d.ts +9 -0
  41. package/lib/modal/props.mixin.d.ts +4 -0
  42. package/lib/pagination/index.d.ts +4 -4
  43. package/lib/pagination/pagination.d.ts +1 -1
  44. package/lib/popover/index.d.ts +7 -7
  45. package/lib/popover/popover.d.ts +2 -2
  46. package/lib/progress/index.d.ts +10 -10
  47. package/lib/progress/progress.d.ts +3 -3
  48. package/lib/shared/bk-mask-manager.d.ts +32 -3
  49. package/lib/shared/bk-pop-manager.d.ts +8 -1
  50. package/lib/shared/index.js +1 -1
  51. package/lib/shared/vue-types.d.ts +2 -6
  52. package/lib/sideslider/index.d.ts +23 -4
  53. package/lib/sideslider/sideslider.d.ts +10 -1
  54. package/lib/steps/index.d.ts +4 -4
  55. package/lib/steps/steps.d.ts +1 -1
  56. package/lib/styles/index.d.ts +1 -0
  57. package/lib/styles/index.js +1 -1
  58. package/lib/tab/index.d.ts +4 -4
  59. package/lib/tab/tab.d.ts +1 -1
  60. package/lib/table/index.d.ts +45 -4
  61. package/lib/table/index.js +1 -1
  62. package/lib/table/props.d.ts +13 -0
  63. package/lib/table/render.d.ts +9 -0
  64. package/lib/table/table.d.ts +22 -3
  65. package/lib/table/utils.d.ts +14 -0
  66. package/lib/tag/index.d.ts +189 -22
  67. package/lib/tag/index.js +1 -1
  68. package/lib/tag/tag.css +91 -0
  69. package/lib/tag/tag.d.ts +83 -7
  70. package/lib/tag/tag.less +103 -2
  71. package/lib/tag/tag.variable.css +91 -0
  72. package/lib/transfer/index.d.ts +27 -0
  73. package/lib/transfer/index.js +1 -0
  74. package/lib/transfer/transfer.css +158 -0
  75. package/lib/transfer/transfer.d.ts +185 -0
  76. package/lib/transfer/transfer.less +171 -0
  77. package/lib/transfer/transfer.variable.css +251 -0
  78. package/lib/tree/index.d.ts +33 -7
  79. package/lib/tree/index.js +1 -1
  80. package/lib/tree/props.d.ts +10 -0
  81. package/lib/tree/tree.d.ts +14 -2
  82. package/lib/tree/util.d.ts +11 -2
  83. package/lib/virtual-render/index.d.ts +7 -7
  84. package/lib/virtual-render/virtual-render.d.ts +2 -2
  85. package/package.json +51 -47
@@ -6,6 +6,7 @@ declare const BkModal: {
6
6
  visible: boolean;
7
7
  };
8
8
  $props: Partial<{
9
+ showMask: boolean;
9
10
  width: string | number;
10
11
  height: string | number;
11
12
  isShow: boolean;
@@ -32,7 +33,11 @@ declare const BkModal: {
32
33
  type: BooleanConstructor;
33
34
  default: boolean;
34
35
  };
35
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "isShow" | "customClass" | "scrollable">;
36
+ showMask: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "showMask" | "width" | "height" | "isShow" | "customClass" | "scrollable">;
36
41
  $attrs: {
37
42
  [x: string]: unknown;
38
43
  };
@@ -67,6 +72,10 @@ declare const BkModal: {
67
72
  type: BooleanConstructor;
68
73
  default: boolean;
69
74
  };
75
+ showMask: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
70
79
  }>>, unknown, {
71
80
  visible: boolean;
72
81
  }, {
@@ -74,6 +83,7 @@ declare const BkModal: {
74
83
  dialogHeight(): String | Number;
75
84
  compStyle(): any;
76
85
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
86
+ showMask: boolean;
77
87
  width: string | number;
78
88
  height: string | number;
79
89
  isShow: boolean;
@@ -120,6 +130,10 @@ declare const BkModal: {
120
130
  type: BooleanConstructor;
121
131
  default: boolean;
122
132
  };
133
+ showMask: {
134
+ type: BooleanConstructor;
135
+ default: boolean;
136
+ };
123
137
  }>> & import("vue").ShallowUnwrapRef<{}> & {
124
138
  visible: boolean;
125
139
  } & {
@@ -151,6 +165,10 @@ declare const BkModal: {
151
165
  type: BooleanConstructor;
152
166
  default: boolean;
153
167
  };
168
+ showMask: {
169
+ type: BooleanConstructor;
170
+ default: boolean;
171
+ };
154
172
  }>>, unknown, {
155
173
  visible: boolean;
156
174
  }, {
@@ -158,6 +176,7 @@ declare const BkModal: {
158
176
  dialogHeight(): String | Number;
159
177
  compStyle(): any;
160
178
  }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
179
+ showMask: boolean;
161
180
  width: string | number;
162
181
  height: string | number;
163
182
  isShow: boolean;
@@ -185,6 +204,10 @@ declare const BkModal: {
185
204
  type: BooleanConstructor;
186
205
  default: boolean;
187
206
  };
207
+ showMask: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
188
211
  };
189
212
  }>;
190
213
  export default BkModal;
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,o){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n={exports:{}},i={exports:{}},s={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(s),function(e){var t=s.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(i);var a={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(a);var l={exports:{}};!function(e){var t=s.exports;e.exports=function(e,o){if(e){if("string"==typeof e)return t(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,o):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var d={exports:{}};!function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports}(d),function(e){var t=i.exports,o=a.exports,r=l.exports,n=d.exports;e.exports=function(e){return t(e)||o(e)||r(e)||n()},e.exports.__esModule=!0,e.exports.default=e.exports}(n);var u=r(n.exports),p={isShow:{type:Boolean,default:!1},width:{type:[Number,String],default:"50%"},height:{type:[Number,String],default:"50%"},customClass:{type:[Array,String],default:""},scrollable:{type:Boolean,default:!0}},c=t.defineComponent({name:"Modal",props:Object.assign({},p),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,display:this.visible?"inherit":"none"}}},watch:{isShow:{handler:function(e){this.visible=e}},visible:function(e){var t=this;e?this.$nextTick((function(){o.bkPopIndexManager.show(t.$el)})):o.bkPopIndexManager.hide(this.$el)}},beforeUnmount:function(){o.bkPopIndexManager.hide(this.$el)},render:function(){var e,o,r,n,i,s,a,l,d;return t.createVNode("div",{class:["bk-modal-wrapper"].concat(u(this.customClass)),style:this.compStyle},[this.isShow?t.createVNode("div",{class:"bk-modal-body"},[t.createVNode("div",{class:"bk-modal-header"},[null!==(r=null===(o=(e=this.$slots).header)||void 0===o?void 0:o.call(e))&&void 0!==r?r:""]),t.createVNode("div",{class:"bk-modal-content"},[null!==(s=null===(i=(n=this.$slots).default)||void 0===i?void 0:i.call(n))&&void 0!==s?s:""]),t.createVNode("div",{class:"bk-modal-footer"},[null!==(d=null===(l=(a=this.$slots).footer)||void 0===l?void 0:l.call(a))&&void 0!==d?d:""])]):""])}}),f=o.withInstallProps(c,{propsMixin:p},!0);e.BkModal=f,e.default=f,e.propsMixin=p,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,o){"use strict";function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n={exports:{}},s={exports:{}},i={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(i),function(e){var t=i.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var a={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(a);var l={exports:{}};!function(e){var t=i.exports;e.exports=function(e,o){if(e){if("string"==typeof e)return t(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,o):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(l);var d={exports:{}};!function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports}(d),function(e){var t=s.exports,o=a.exports,r=l.exports,n=d.exports;e.exports=function(e){return t(e)||o(e)||r(e)||n()},e.exports.__esModule=!0,e.exports.default=e.exports}(n);var u=r(n.exports),p={isShow:{type:Boolean,default:!1},width:{type:[Number,String],default:"50%"},height:{type:[Number,String],default:"50%"},customClass:{type:[Array,String],default:""},scrollable:{type:Boolean,default:!0},showMask:{type:Boolean,default:!0}},c=t.defineComponent({name:"Modal",props:Object.assign({},p),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,display:this.visible?"inherit":"none"}}},watch:{isShow:{handler:function(e){this.visible=e}},visible:function(e){var t=this;e?this.$nextTick((function(){var e=t.showMask?{}:{"background-color":"rgba(0,0,0,0)"};o.bkPopIndexManager.show(t.$el,t.showMask,e)})):o.bkPopIndexManager.hide(this.$el)}},beforeUnmount:function(){o.bkPopIndexManager.hide(this.$el)},render:function(){var e,o,r,n,s,i,a,l,d;return t.createVNode("div",{class:["bk-modal-wrapper"].concat(u(this.customClass)),style:this.compStyle},[this.isShow?t.createVNode("div",{class:"bk-modal-body"},[t.createVNode("div",{class:"bk-modal-header"},[null!==(r=null===(o=(e=this.$slots).header)||void 0===o?void 0:o.call(e))&&void 0!==r?r:""]),t.createVNode("div",{class:"bk-modal-content"},[null!==(i=null===(s=(n=this.$slots).default)||void 0===s?void 0:s.call(n))&&void 0!==i?i:""]),t.createVNode("div",{class:"bk-modal-footer"},[null!==(d=null===(l=(a=this.$slots).footer)||void 0===l?void 0:l.call(a))&&void 0!==d?d:""])]):""])}}),f=o.withInstallProps(c,{propsMixin:p},!0);e.BkModal=f,e.default=f,e.propsMixin=p,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -19,6 +19,10 @@ declare const _default: import("vue").DefineComponent<{
19
19
  type: BooleanConstructor;
20
20
  default: boolean;
21
21
  };
22
+ showMask: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
22
26
  }, unknown, {
23
27
  visible: boolean;
24
28
  }, {
@@ -46,7 +50,12 @@ declare const _default: import("vue").DefineComponent<{
46
50
  type: BooleanConstructor;
47
51
  default: boolean;
48
52
  };
53
+ showMask: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
49
57
  }>>, {
58
+ showMask: boolean;
50
59
  width: string | number;
51
60
  height: string | number;
52
61
  isShow: boolean;
@@ -19,4 +19,8 @@ export declare const propsMixin: {
19
19
  type: BooleanConstructor;
20
20
  default: boolean;
21
21
  };
22
+ showMask: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
22
26
  };
@@ -4,12 +4,12 @@ declare const BkPagination: {
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  small: boolean;
7
+ type: string;
7
8
  location: string;
8
9
  layout: string[];
9
10
  disabled: boolean;
10
11
  count: number;
11
12
  modelValue: number;
12
- type: string;
13
13
  align: string;
14
14
  limit: number;
15
15
  limitList: number[];
@@ -82,7 +82,7 @@ declare const BkPagination: {
82
82
  "onUpdate:modelValue"?: (...args: any[]) => any;
83
83
  "onUpdate:limit"?: (...args: any[]) => any;
84
84
  "onLimit-change"?: (...args: any[]) => any;
85
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "small" | "location" | "layout" | "disabled" | "count" | "modelValue" | "type" | "align" | "limit" | "limitList" | "showLimit" | "showTotalCount" | "prevText" | "nextText">;
85
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "small" | "type" | "location" | "layout" | "disabled" | "count" | "modelValue" | "align" | "limit" | "limitList" | "showLimit" | "showTotalCount" | "prevText" | "nextText">;
86
86
  $attrs: {
87
87
  [x: string]: unknown;
88
88
  };
@@ -178,12 +178,12 @@ declare const BkPagination: {
178
178
  renderSmallList: () => JSX.Element;
179
179
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limit-change")[], string, {
180
180
  small: boolean;
181
+ type: string;
181
182
  location: string;
182
183
  layout: string[];
183
184
  disabled: boolean;
184
185
  count: number;
185
186
  modelValue: number;
186
- type: string;
187
187
  align: string;
188
188
  limit: number;
189
189
  limitList: number[];
@@ -377,12 +377,12 @@ declare const BkPagination: {
377
377
  renderSmallList: () => JSX.Element;
378
378
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:limit" | "limit-change")[], "change" | "update:modelValue" | "update:limit" | "limit-change", {
379
379
  small: boolean;
380
+ type: string;
380
381
  location: string;
381
382
  layout: string[];
382
383
  disabled: boolean;
383
384
  count: number;
384
385
  modelValue: number;
385
- type: string;
386
386
  align: string;
387
387
  limit: number;
388
388
  limitList: number[];
@@ -203,12 +203,12 @@ declare const _default: import("vue").DefineComponent<{
203
203
  "onLimit-change"?: (...args: any[]) => any;
204
204
  }, {
205
205
  small: boolean;
206
+ type: string;
206
207
  location: string;
207
208
  layout: string[];
208
209
  disabled: boolean;
209
210
  count: number;
210
211
  modelValue: number;
211
- type: string;
212
212
  align: string;
213
213
  limit: number;
214
214
  limitList: number[];
@@ -5,14 +5,14 @@ declare const BkPopover: {
5
5
  $props: Partial<{
6
6
  placement: string;
7
7
  modifiers: unknown[];
8
+ content: string | number;
8
9
  width: string | number;
9
10
  height: string | number;
10
11
  theme: string;
11
- content: string | number;
12
+ transition: string;
12
13
  trigger: string;
13
14
  arrow: boolean;
14
15
  isShow: boolean;
15
- transition: string;
16
16
  handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
17
17
  fixOnBoundary: boolean;
18
18
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
@@ -66,7 +66,7 @@ declare const BkPopover: {
66
66
  } & {
67
67
  default: boolean;
68
68
  };
69
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "modifiers" | "width" | "height" | "theme" | "content" | "trigger" | "arrow" | "isShow" | "transition" | "handleFirstUpdate" | "fixOnBoundary">;
69
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "modifiers" | "content" | "width" | "height" | "theme" | "transition" | "trigger" | "arrow" | "isShow" | "handleFirstUpdate" | "fixOnBoundary">;
70
70
  $attrs: {
71
71
  [x: string]: unknown;
72
72
  };
@@ -134,14 +134,14 @@ declare const BkPopover: {
134
134
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {
135
135
  placement: string;
136
136
  modifiers: unknown[];
137
+ content: string | number;
137
138
  width: string | number;
138
139
  height: string | number;
139
140
  theme: string;
140
- content: string | number;
141
+ transition: string;
141
142
  trigger: string;
142
143
  arrow: boolean;
143
144
  isShow: boolean;
144
- transition: string;
145
145
  handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
146
146
  fixOnBoundary: boolean;
147
147
  }> & {
@@ -273,14 +273,14 @@ declare const BkPopover: {
273
273
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {
274
274
  placement: string;
275
275
  modifiers: unknown[];
276
+ content: string | number;
276
277
  width: string | number;
277
278
  height: string | number;
278
279
  theme: string;
279
- content: string | number;
280
+ transition: string;
280
281
  trigger: string;
281
282
  arrow: boolean;
282
283
  isShow: boolean;
283
- transition: string;
284
284
  handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
285
285
  fixOnBoundary: boolean;
286
286
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
@@ -103,14 +103,14 @@ declare const _default: import("vue").DefineComponent<{
103
103
  }>>, {
104
104
  placement: string;
105
105
  modifiers: unknown[];
106
+ content: string | number;
106
107
  width: string | number;
107
108
  height: string | number;
108
109
  theme: string;
109
- content: string | number;
110
+ transition: string;
110
111
  trigger: string;
111
112
  arrow: boolean;
112
113
  isShow: boolean;
113
- transition: string;
114
114
  handleFirstUpdate: import("@bkui-vue/shared").OnFirstUpdateFnType;
115
115
  fixOnBoundary: boolean;
116
116
  }>;
@@ -5,14 +5,14 @@ declare const BkProgress: {
5
5
  $props: Partial<{
6
6
  fixed: number;
7
7
  width: number;
8
+ type: string;
8
9
  color: string;
9
10
  theme: string;
10
11
  extCls: string;
11
- type: string;
12
+ strokeLinecap: string;
13
+ strokeWidth: number;
12
14
  format: (...args: any[]) => any;
13
15
  percent: number;
14
- strokeWidth: number;
15
- strokeLinecap: string;
16
16
  bgColor: string;
17
17
  titleStyle: {
18
18
  [key: string]: 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" | "width" | "color" | "theme" | "extCls" | "type" | "format" | "percent" | "strokeWidth" | "strokeLinecap" | "bgColor" | "titleStyle" | "showText" | "textInside">;
94
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "width" | "type" | "color" | "theme" | "extCls" | "strokeLinecap" | "strokeWidth" | "format" | "percent" | "bgColor" | "titleStyle" | "showText" | "textInside">;
95
95
  $attrs: {
96
96
  [x: string]: unknown;
97
97
  };
@@ -185,14 +185,14 @@ declare const BkProgress: {
185
185
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
186
186
  fixed: number;
187
187
  width: number;
188
+ type: string;
188
189
  color: string;
189
190
  theme: string;
190
191
  extCls: string;
191
- type: string;
192
+ strokeLinecap: string;
193
+ strokeWidth: number;
192
194
  format: (...args: any[]) => any;
193
195
  percent: number;
194
- strokeWidth: number;
195
- strokeLinecap: string;
196
196
  bgColor: string;
197
197
  titleStyle: {
198
198
  [key: string]: any;
@@ -380,14 +380,14 @@ declare const BkProgress: {
380
380
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
381
381
  fixed: number;
382
382
  width: number;
383
+ type: string;
383
384
  color: string;
384
385
  theme: string;
385
386
  extCls: string;
386
- type: string;
387
+ strokeLinecap: string;
388
+ strokeWidth: number;
387
389
  format: (...args: any[]) => any;
388
390
  percent: number;
389
- strokeWidth: number;
390
- strokeLinecap: string;
391
391
  bgColor: string;
392
392
  titleStyle: {
393
393
  [key: string]: any;
@@ -153,14 +153,14 @@ declare const _default: import("vue").DefineComponent<{
153
153
  }>>, {
154
154
  fixed: number;
155
155
  width: number;
156
+ type: string;
156
157
  color: string;
157
158
  theme: string;
158
159
  extCls: string;
159
- type: string;
160
+ strokeLinecap: string;
161
+ strokeWidth: number;
160
162
  format: (...args: any[]) => any;
161
163
  percent: number;
162
- strokeWidth: number;
163
- strokeLinecap: string;
164
164
  bgColor: string;
165
165
  titleStyle: {
166
166
  [key: string]: any;
@@ -1,3 +1,15 @@
1
+ declare type BkMaskManagerConfig = {
2
+ multiInstance?: boolean;
3
+ maskAttrTag?: string;
4
+ parentNode?: HTMLElement | Document;
5
+ maskStyle?: any;
6
+ };
7
+ declare type MaskConfigStore = {
8
+ zIndex: number;
9
+ style: any;
10
+ uuid?: string;
11
+ preUID?: string;
12
+ };
1
13
  export declare class BkMaskManager {
2
14
  /** 遮罩容器 */
3
15
  private readonly mask;
@@ -11,6 +23,10 @@ export declare class BkMaskManager {
11
23
  private parentNode;
12
24
  /** 遮罩当前显示组件实例 **/
13
25
  private activeInstance;
26
+ /** 记录已在使用的z-index */
27
+ private zIndexStore;
28
+ /** 记录最后一个UUID */
29
+ private lastUUID;
14
30
  /** 遮罩样式 **/
15
31
  private readonly maskStyle;
16
32
  /**
@@ -19,9 +35,21 @@ export declare class BkMaskManager {
19
35
  * @param multiInstance 是否允许多实例
20
36
  * @param maskAttrTag 遮罩DOM唯一标志,支持自定义和 auto
21
37
  */
22
- constructor(config?: any);
23
- show(content?: HTMLElement, zIndex?: number): void;
24
- hide(content?: HTMLElement): void;
38
+ constructor(config?: BkMaskManagerConfig);
39
+ /**
40
+ * 显示遮罩
41
+ * @param content 遮罩内容
42
+ * @param zIndex z-index
43
+ * @param showMask 是否显示遮罩
44
+ * @param appendStyle 追加样式
45
+ */
46
+ show(content?: HTMLElement, zIndex?: number, showMask?: boolean, appendStyle?: {}, uuid?: string | null): void;
47
+ hide(content?: HTMLElement, uuid?: string): void;
48
+ storeMaskInsCfg(config: MaskConfigStore): MaskConfigStore;
49
+ /**
50
+ * 移除最后一次缓存数据
51
+ */
52
+ popIndexStore(uuid: string): boolean;
25
53
  backupActiveInstance(): void;
26
54
  backupContentElement(content?: HTMLElement): void;
27
55
  getActiveContentInstance(): HTMLElement;
@@ -45,3 +73,4 @@ export declare class BkMaskManager {
45
73
  private appendContentToMask;
46
74
  }
47
75
  export declare const bKMaskManager: BkMaskManager;
76
+ export {};
@@ -3,7 +3,14 @@ declare class BKPopIndexManager {
3
3
  private popInstanceList;
4
4
  private readonly uuidAttrName;
5
5
  constructor();
6
- show(content?: HTMLElement): void;
6
+ /**
7
+ * 展示弹窗
8
+ * @param content 弹窗内容
9
+ * @param showMask 是否显示遮罩
10
+ * @param appendStyle 追加样式
11
+ * @returns
12
+ */
13
+ show(content?: HTMLElement, showMask?: boolean, appendStyle?: {}): void;
7
14
  /**
8
15
  * 关闭最后一个弹窗 如果当前还有父级弹窗,则激活父级弹窗
9
16
  * @param removeLastContent 默认:true 是否自动关闭最后一个弹窗实例 某些场景下,已经主动关闭最后一个弹窗,此处只需要处理其他逻辑