bkui-vue 2.0.1-beta.113 → 2.0.1-beta.114

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 (254) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +13950 -13941
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +57 -111
  6. package/lib/affix/index.js +47 -39
  7. package/lib/alert/index.d.ts +73 -126
  8. package/lib/alert/index.js +50 -42
  9. package/lib/animate-number/index.d.ts +33 -96
  10. package/lib/animate-number/index.js +21 -16
  11. package/lib/backtop/index.d.ts +69 -117
  12. package/lib/backtop/index.js +42 -31
  13. package/lib/badge/index.d.ts +119 -152
  14. package/lib/badge/index.js +43 -37
  15. package/lib/breadcrumb/index.d.ts +67 -119
  16. package/lib/breadcrumb/index.js +48 -40
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +119 -155
  19. package/lib/button/index.js +55 -46
  20. package/lib/card/index.d.ts +128 -157
  21. package/lib/card/index.js +67 -55
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +393 -354
  24. package/lib/cascader/index.js +149 -119
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +143 -175
  27. package/lib/checkbox/index.js +89 -79
  28. package/lib/code-diff/index.d.ts +65 -82
  29. package/lib/code-diff/index.js +464 -517
  30. package/lib/collapse/index.d.ts +156 -175
  31. package/lib/collapse/index.js +67 -60
  32. package/lib/collapse-transition/index.d.ts +19 -94
  33. package/lib/collapse-transition/index.js +23 -16
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +144 -165
  36. package/lib/color-picker/index.js +98 -82
  37. package/lib/config-provider/index.d.ts +160 -227
  38. package/lib/config-provider/index.js +51 -43
  39. package/lib/container/container.d.ts +1 -1
  40. package/lib/container/index.d.ts +74 -85
  41. package/lib/container/index.js +55 -47
  42. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  43. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  44. package/lib/date-picker/date-picker.d.ts +4 -4
  45. package/lib/date-picker/index.d.ts +380 -351
  46. package/lib/date-picker/index.js +171 -150
  47. package/lib/date-picker/panel/date-range.d.ts +1 -1
  48. package/lib/date-picker/panel/date.d.ts +1 -1
  49. package/lib/date-picker/panel/time-range.d.ts +2 -2
  50. package/lib/date-picker/panel/time.d.ts +2 -2
  51. package/lib/date-picker/time-picker.d.ts +4 -4
  52. package/lib/dialog/index.d.ts +299 -269
  53. package/lib/dialog/index.js +323 -310
  54. package/lib/directives/index.js +344 -336
  55. package/lib/divider/index.d.ts +57 -111
  56. package/lib/divider/index.js +23 -16
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +66 -52
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +76 -70
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/fixed-navbar/index.js +22 -15
  64. package/lib/form/form.d.ts +1 -1
  65. package/lib/form/index.d.ts +80 -132
  66. package/lib/form/index.js +104 -83
  67. package/lib/icon/angle-double-down-line.js +31 -29
  68. package/lib/icon/angle-double-left-line.js +31 -29
  69. package/lib/icon/angle-double-left.js +31 -29
  70. package/lib/icon/angle-double-right-line.js +31 -29
  71. package/lib/icon/angle-double-right.js +31 -29
  72. package/lib/icon/angle-double-up-line.js +31 -29
  73. package/lib/icon/angle-down-fill.js +31 -29
  74. package/lib/icon/angle-down-line.js +31 -29
  75. package/lib/icon/angle-down.js +31 -29
  76. package/lib/icon/angle-left.js +31 -29
  77. package/lib/icon/angle-right.js +31 -29
  78. package/lib/icon/angle-up-fill.js +31 -29
  79. package/lib/icon/angle-up.js +31 -29
  80. package/lib/icon/archive-fill.js +31 -29
  81. package/lib/icon/arrows-left.js +31 -29
  82. package/lib/icon/arrows-right.js +31 -29
  83. package/lib/icon/assistant.js +31 -29
  84. package/lib/icon/audio-fill.js +31 -29
  85. package/lib/icon/bk.js +31 -29
  86. package/lib/icon/circle.js +31 -29
  87. package/lib/icon/close-line.js +31 -29
  88. package/lib/icon/close.js +31 -29
  89. package/lib/icon/code.js +31 -29
  90. package/lib/icon/cog-shape.js +31 -29
  91. package/lib/icon/collapse-left.js +31 -29
  92. package/lib/icon/copy-shape.js +31 -29
  93. package/lib/icon/copy.js +31 -29
  94. package/lib/icon/data-shape.js +31 -29
  95. package/lib/icon/del.js +31 -29
  96. package/lib/icon/doc-fill.js +31 -29
  97. package/lib/icon/done.js +31 -29
  98. package/lib/icon/down-shape.js +31 -29
  99. package/lib/icon/down-small.js +31 -29
  100. package/lib/icon/edit-line.js +31 -29
  101. package/lib/icon/ellipsis.js +31 -29
  102. package/lib/icon/enlarge-line.js +31 -29
  103. package/lib/icon/error.js +31 -29
  104. package/lib/icon/excel-fill.js +31 -29
  105. package/lib/icon/exclamation-circle-shape.js +31 -29
  106. package/lib/icon/eye.js +31 -29
  107. package/lib/icon/filliscreen-line.js +31 -29
  108. package/lib/icon/fix-line.js +31 -29
  109. package/lib/icon/fix-shape.js +31 -29
  110. package/lib/icon/folder-open.js +31 -29
  111. package/lib/icon/folder-shape-open.js +31 -29
  112. package/lib/icon/folder-shape.js +31 -29
  113. package/lib/icon/folder.js +31 -29
  114. package/lib/icon/funnel.js +31 -29
  115. package/lib/icon/grag-fill.js +31 -29
  116. package/lib/icon/help-document-fill.js +31 -29
  117. package/lib/icon/help-fill.js +31 -29
  118. package/lib/icon/help.js +31 -29
  119. package/lib/icon/image-fill.js +31 -29
  120. package/lib/icon/img-error.js +31 -29
  121. package/lib/icon/img-placehoulder.js +31 -29
  122. package/lib/icon/info-line.js +31 -29
  123. package/lib/icon/info.js +31 -29
  124. package/lib/icon/left-shape.js +31 -29
  125. package/lib/icon/left-turn-line.js +31 -29
  126. package/lib/icon/loading.js +31 -29
  127. package/lib/icon/narrow-line.js +31 -29
  128. package/lib/icon/original.js +31 -29
  129. package/lib/icon/pdf-fill.js +31 -29
  130. package/lib/icon/play-shape.js +31 -29
  131. package/lib/icon/plus.js +31 -29
  132. package/lib/icon/ppt-fill.js +31 -29
  133. package/lib/icon/qq.js +31 -29
  134. package/lib/icon/right-shape.js +31 -29
  135. package/lib/icon/right-turn-line.js +31 -29
  136. package/lib/icon/search.js +31 -29
  137. package/lib/icon/share.js +31 -29
  138. package/lib/icon/spinner.js +31 -29
  139. package/lib/icon/success.js +31 -29
  140. package/lib/icon/switcher-loading.js +31 -29
  141. package/lib/icon/text-all.js +31 -29
  142. package/lib/icon/text-file.js +31 -29
  143. package/lib/icon/text-fill.js +31 -29
  144. package/lib/icon/transfer.js +31 -29
  145. package/lib/icon/tree-application-shape.js +31 -29
  146. package/lib/icon/unfull-screen.js +31 -29
  147. package/lib/icon/unvisible.js +31 -29
  148. package/lib/icon/up-shape.js +31 -29
  149. package/lib/icon/upload.js +31 -29
  150. package/lib/icon/video-fill.js +31 -29
  151. package/lib/icon/warn.js +31 -29
  152. package/lib/icon/weixin-pro.js +31 -29
  153. package/lib/icon/weixin.js +31 -29
  154. package/lib/image/index.d.ts +113 -149
  155. package/lib/image/index.js +76 -61
  156. package/lib/index.js +1 -1
  157. package/lib/info-box/index.js +328 -315
  158. package/lib/input/index.d.ts +326 -293
  159. package/lib/input/index.js +91 -83
  160. package/lib/link/index.d.ts +73 -122
  161. package/lib/link/index.js +27 -19
  162. package/lib/loading/index.d.ts +130 -156
  163. package/lib/loading/index.js +56 -51
  164. package/lib/loading/loading.d.ts +1 -1
  165. package/lib/locale/index.js +3 -3
  166. package/lib/menu/index.d.ts +55 -116
  167. package/lib/menu/index.js +67 -58
  168. package/lib/message/index.js +72 -67
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +171 -185
  171. package/lib/modal/index.js +58 -48
  172. package/lib/navigation/index.d.ts +152 -188
  173. package/lib/navigation/index.js +35 -25
  174. package/lib/notify/index.js +57 -48
  175. package/lib/overflow-title/index.d.ts +343 -256
  176. package/lib/overflow-title/index.js +51 -38
  177. package/lib/pagination/index.d.ts +184 -198
  178. package/lib/pagination/index.js +112 -103
  179. package/lib/plugin-popover/index.js +7 -5
  180. package/lib/plugins/index.js +7 -5
  181. package/lib/pop-confirm/index.d.ts +115 -153
  182. package/lib/pop-confirm/index.js +53 -36
  183. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  184. package/lib/popover/content.d.ts +1 -1
  185. package/lib/popover/index.d.ts +421 -359
  186. package/lib/popover/index.js +291 -179
  187. package/lib/popover2/index.d.ts +8 -83
  188. package/lib/popover2/index.js +15 -11
  189. package/lib/process/index.d.ts +93 -137
  190. package/lib/process/index.js +299 -295
  191. package/lib/progress/index.d.ts +178 -187
  192. package/lib/progress/index.js +47 -40
  193. package/lib/progress/progress.d.ts +2 -2
  194. package/lib/radio/index.d.ts +91 -140
  195. package/lib/radio/index.js +85 -79
  196. package/lib/rate/index.d.ts +55 -112
  197. package/lib/rate/index.js +44 -39
  198. package/lib/resize-layout/index.d.ts +168 -192
  199. package/lib/resize-layout/index.js +50 -43
  200. package/lib/resize-layout/resize-layout.d.ts +2 -2
  201. package/lib/scrollbar/index.js +63 -63
  202. package/lib/search-select/index.d.ts +678 -895
  203. package/lib/search-select/index.js +397 -379
  204. package/lib/search-select/input.d.ts +2 -2
  205. package/lib/search-select/search-select.d.ts +133 -188
  206. package/lib/search-select/selected.d.ts +133 -188
  207. package/lib/select/index.d.ts +1375 -1217
  208. package/lib/select/index.js +456 -419
  209. package/lib/select/select.d.ts +132 -169
  210. package/lib/select/selectTagInput.d.ts +2 -2
  211. package/lib/shared/index.js +109 -103
  212. package/lib/sideslider/index.d.ts +197 -201
  213. package/lib/sideslider/index.js +311 -302
  214. package/lib/slider/index.d.ts +214 -210
  215. package/lib/slider/index.js +305 -294
  216. package/lib/steps/index.d.ts +110 -149
  217. package/lib/steps/index.js +303 -298
  218. package/lib/swiper/index.d.ts +81 -127
  219. package/lib/swiper/index.js +42 -36
  220. package/lib/switcher/index.d.ts +152 -174
  221. package/lib/switcher/index.js +50 -44
  222. package/lib/tab/index.d.ts +151 -183
  223. package/lib/tab/index.js +72 -59
  224. package/lib/table/components/table-column.d.ts +1 -1
  225. package/lib/table/hooks/use-columns.d.ts +1 -1
  226. package/lib/table/hooks/use-layout.d.ts +2 -2
  227. package/lib/table/hooks/use-rows.d.ts +1 -1
  228. package/lib/table/index.d.ts +457 -362
  229. package/lib/table/index.js +589 -547
  230. package/lib/table/table.d.ts +1 -1
  231. package/lib/table-column/index.d.ts +104 -150
  232. package/lib/table-column/index.js +13 -9
  233. package/lib/tag/index.d.ts +95 -142
  234. package/lib/tag/index.js +56 -46
  235. package/lib/tag-input/index.d.ts +744 -529
  236. package/lib/tag-input/index.js +148 -128
  237. package/lib/tag-input/tag-input.d.ts +5 -5
  238. package/lib/time-picker/index.d.ts +439 -386
  239. package/lib/time-picker/index.js +13 -9
  240. package/lib/timeline/index.d.ts +64 -131
  241. package/lib/timeline/index.js +27 -21
  242. package/lib/transfer/index.d.ts +191 -206
  243. package/lib/transfer/index.js +56 -40
  244. package/lib/tree/index.d.ts +350 -308
  245. package/lib/tree/index.js +171 -150
  246. package/lib/tree/tree.d.ts +1 -1
  247. package/lib/tree/use-tree-init.d.ts +1 -1
  248. package/lib/upload/index.d.ts +311 -273
  249. package/lib/upload/index.js +474 -465
  250. package/lib/upload/upload.d.ts +2 -2
  251. package/lib/virtual-render/index.d.ts +333 -241
  252. package/lib/virtual-render/index.js +84 -72
  253. package/lib/virtual-render/virtual-render.d.ts +1 -1
  254. package/package.json +1 -1
@@ -1,160 +1,7 @@
1
1
  import { vBkloading } from './directive';
2
2
  import { BkLoadingMode, BkLoadingSize, setDefaultIndicator } from './loading';
3
3
  declare const BkLoading: {
4
- new (...args: any[]): {
5
- $: import("vue").ComponentInternalInstance;
6
- $data: {};
7
- $props: {
8
- title?: string;
9
- zIndex?: number;
10
- mode?: "default" | "spin";
11
- loading?: boolean;
12
- inline?: boolean;
13
- size?: "" | "small" | "large" | "mini";
14
- opacity?: number;
15
- color?: string;
16
- isDirective?: boolean;
17
- class?: unknown;
18
- style?: unknown;
19
- ref?: import("vue").VNodeRef;
20
- readonly theme?: "default" | "danger" | "primary" | "success" | "warning" | "white";
21
- key?: string | number | symbol;
22
- ref_for?: boolean;
23
- ref_key?: string;
24
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
27
- [key: string]: any;
28
- }>) => void)[];
29
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
- [key: string]: any;
31
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
- [key: string]: any;
33
- }>) => void)[];
34
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
- [key: string]: any;
36
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
37
- [key: string]: any;
38
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
39
- [key: string]: any;
40
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
41
- [key: string]: any;
42
- }>) => void)[];
43
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
44
- [key: string]: any;
45
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
46
- [key: string]: any;
47
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
48
- [key: string]: any;
49
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
- [key: string]: any;
51
- }>) => void)[];
52
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
- [key: string]: any;
54
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
- [key: string]: any;
56
- }>) => void)[];
57
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
58
- [key: string]: any;
59
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
- [key: string]: any;
61
- }>) => void)[];
62
- readonly indicator?: Function;
63
- };
64
- $attrs: {
65
- [x: string]: unknown;
66
- };
67
- $refs: {
68
- [x: string]: unknown;
69
- };
70
- $slots: Readonly<{
71
- [name: string]: import("vue").Slot<any>;
72
- }>;
73
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
74
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>;
75
- $emit: (event: string, ...args: any[]) => void;
76
- $el: any;
77
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
78
- indicator: {
79
- type: FunctionConstructor;
80
- };
81
- loading: import("vue-types").VueTypeValidableDef<boolean> & {
82
- default: boolean;
83
- } & {
84
- default: boolean;
85
- };
86
- inline: import("vue-types").VueTypeValidableDef<boolean> & {
87
- default: boolean;
88
- } & {
89
- default: boolean;
90
- };
91
- theme: {
92
- type: import("vue").PropType<"default" | "danger" | "primary" | "success" | "warning" | "white">;
93
- };
94
- title: import("vue-types").VueTypeValidableDef<string> & {
95
- default: string;
96
- } & {
97
- default: string;
98
- };
99
- size: {
100
- type: import("vue").PropType<"" | "small" | "large" | "mini">;
101
- default: BkLoadingSize;
102
- };
103
- mode: {
104
- type: import("vue").PropType<"default" | "spin">;
105
- default: string;
106
- };
107
- opacity: import("vue-types").VueTypeValidableDef<number> & {
108
- default: number;
109
- } & {
110
- default: number;
111
- };
112
- color: import("vue-types").VueTypeValidableDef<string> & {
113
- default: string;
114
- } & {
115
- default: string;
116
- };
117
- zIndex: import("vue-types").VueTypeValidableDef<number> & {
118
- default: number;
119
- } & {
120
- default: number;
121
- };
122
- isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
123
- default: boolean;
124
- } & {
125
- default: boolean;
126
- };
127
- }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
128
- title: string;
129
- zIndex: number;
130
- mode: "default" | "spin";
131
- loading: boolean;
132
- inline: boolean;
133
- size: "" | "small" | "large" | "mini";
134
- opacity: number;
135
- color: string;
136
- isDirective: boolean;
137
- }, {}, string, {}> & {
138
- beforeCreate?: (() => void) | (() => void)[];
139
- created?: (() => void) | (() => void)[];
140
- beforeMount?: (() => void) | (() => void)[];
141
- mounted?: (() => void) | (() => void)[];
142
- beforeUpdate?: (() => void) | (() => void)[];
143
- updated?: (() => void) | (() => void)[];
144
- activated?: (() => void) | (() => void)[];
145
- deactivated?: (() => void) | (() => void)[];
146
- beforeDestroy?: (() => void) | (() => void)[];
147
- beforeUnmount?: (() => void) | (() => void)[];
148
- destroyed?: (() => void) | (() => void)[];
149
- unmounted?: (() => void) | (() => void)[];
150
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
151
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
152
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}>, info: string) => boolean | void)[];
153
- };
154
- $forceUpdate: () => void;
155
- $nextTick: typeof import("vue").nextTick;
156
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
157
- } & Readonly<import("vue").ExtractPropTypes<{
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
158
5
  indicator: {
159
6
  type: FunctionConstructor;
160
7
  };
@@ -204,7 +51,134 @@ declare const BkLoading: {
204
51
  } & {
205
52
  default: boolean;
206
53
  };
207
- }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & import("vue").ComponentCustomProperties & {};
54
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
55
+ indicator: {
56
+ type: FunctionConstructor;
57
+ };
58
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
59
+ default: boolean;
60
+ } & {
61
+ default: boolean;
62
+ };
63
+ inline: import("vue-types").VueTypeValidableDef<boolean> & {
64
+ default: boolean;
65
+ } & {
66
+ default: boolean;
67
+ };
68
+ theme: {
69
+ type: import("vue").PropType<"default" | "danger" | "primary" | "success" | "warning" | "white">;
70
+ };
71
+ title: import("vue-types").VueTypeValidableDef<string> & {
72
+ default: string;
73
+ } & {
74
+ default: string;
75
+ };
76
+ size: {
77
+ type: import("vue").PropType<"" | "small" | "large" | "mini">;
78
+ default: BkLoadingSize;
79
+ };
80
+ mode: {
81
+ type: import("vue").PropType<"default" | "spin">;
82
+ default: string;
83
+ };
84
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
85
+ default: number;
86
+ } & {
87
+ default: number;
88
+ };
89
+ color: import("vue-types").VueTypeValidableDef<string> & {
90
+ default: string;
91
+ } & {
92
+ default: string;
93
+ };
94
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
95
+ default: number;
96
+ } & {
97
+ default: number;
98
+ };
99
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
100
+ default: boolean;
101
+ } & {
102
+ default: boolean;
103
+ };
104
+ }>>, {
105
+ title: string;
106
+ size: "" | "small" | "large" | "mini";
107
+ zIndex: number;
108
+ mode: "default" | "spin";
109
+ loading: boolean;
110
+ inline: boolean;
111
+ opacity: number;
112
+ color: string;
113
+ isDirective: boolean;
114
+ }, true, {}, {}, {
115
+ P: {};
116
+ B: {};
117
+ D: {};
118
+ C: {};
119
+ M: {};
120
+ Defaults: {};
121
+ }, Readonly<import("vue").ExtractPropTypes<{
122
+ indicator: {
123
+ type: FunctionConstructor;
124
+ };
125
+ loading: import("vue-types").VueTypeValidableDef<boolean> & {
126
+ default: boolean;
127
+ } & {
128
+ default: boolean;
129
+ };
130
+ inline: import("vue-types").VueTypeValidableDef<boolean> & {
131
+ default: boolean;
132
+ } & {
133
+ default: boolean;
134
+ };
135
+ theme: {
136
+ type: import("vue").PropType<"default" | "danger" | "primary" | "success" | "warning" | "white">;
137
+ };
138
+ title: import("vue-types").VueTypeValidableDef<string> & {
139
+ default: string;
140
+ } & {
141
+ default: string;
142
+ };
143
+ size: {
144
+ type: import("vue").PropType<"" | "small" | "large" | "mini">;
145
+ default: BkLoadingSize;
146
+ };
147
+ mode: {
148
+ type: import("vue").PropType<"default" | "spin">;
149
+ default: string;
150
+ };
151
+ opacity: import("vue-types").VueTypeValidableDef<number> & {
152
+ default: number;
153
+ } & {
154
+ default: number;
155
+ };
156
+ color: import("vue-types").VueTypeValidableDef<string> & {
157
+ default: string;
158
+ } & {
159
+ default: string;
160
+ };
161
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
162
+ default: number;
163
+ } & {
164
+ default: number;
165
+ };
166
+ isDirective: import("vue-types").VueTypeValidableDef<boolean> & {
167
+ default: boolean;
168
+ } & {
169
+ default: boolean;
170
+ };
171
+ }>>, () => JSX.Element, {}, {}, {}, {
172
+ title: string;
173
+ size: "" | "small" | "large" | "mini";
174
+ zIndex: number;
175
+ mode: "default" | "spin";
176
+ loading: boolean;
177
+ inline: boolean;
178
+ opacity: number;
179
+ color: string;
180
+ isDirective: boolean;
181
+ }>;
208
182
  __isFragment?: never;
209
183
  __isTeleport?: never;
210
184
  __isSuspense?: never;
@@ -260,11 +234,11 @@ declare const BkLoading: {
260
234
  };
261
235
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
262
236
  title: string;
237
+ size: "" | "small" | "large" | "mini";
263
238
  zIndex: number;
264
239
  mode: "default" | "spin";
265
240
  loading: boolean;
266
241
  inline: boolean;
267
- size: "" | "small" | "large" | "mini";
268
242
  opacity: number;
269
243
  color: string;
270
244
  isDirective: boolean;
@@ -37,47 +37,51 @@ __webpack_require__.d(__webpack_exports__, {
37
37
  vBkloading: () => (/* reexport */ vBkloading)
38
38
  });
39
39
 
40
- ;// CONCATENATED MODULE: external "../shared"
41
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
42
- var y = x => () => x
43
- const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
44
- ;// CONCATENATED MODULE: external "vue"
45
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
46
- var external_vue_y = x => () => x
47
- const external_vue_namespaceObject = external_vue_x({ ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive });
48
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
49
- function _typeof(obj) {
40
+ ;// external "../shared"
41
+ var x = (y) => {
42
+ var x = {}; __webpack_require__.d(x, y); return x
43
+ }
44
+ var y = (x) => (() => (x))
45
+ const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["classes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes), ["withInstallProps"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps) });
46
+ ;// external "vue"
47
+ var external_vue_x = (y) => {
48
+ var x = {}; __webpack_require__.d(x, y); return x
49
+ }
50
+ var external_vue_y = (x) => (() => (x))
51
+ const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.computed), ["createApp"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createApp), ["createVNode"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.createVNode), ["defineComponent"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.defineComponent), ["h"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.h), ["reactive"]: () => (__WEBPACK_EXTERNAL_MODULE_vue__.reactive) });
52
+ ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
53
+ function _typeof(o) {
50
54
  "@babel/helpers - typeof";
51
55
 
52
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
53
- return typeof obj;
54
- } : function (obj) {
55
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
56
- }, _typeof(obj);
56
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
57
+ return typeof o;
58
+ } : function (o) {
59
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
60
+ }, _typeof(o);
57
61
  }
58
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
62
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
59
63
 
60
- function _toPrimitive(input, hint) {
61
- if (_typeof(input) !== "object" || input === null) return input;
62
- var prim = input[Symbol.toPrimitive];
63
- if (prim !== undefined) {
64
- var res = prim.call(input, hint || "default");
65
- if (_typeof(res) !== "object") return res;
64
+ function toPrimitive(t, r) {
65
+ if ("object" != _typeof(t) || !t) return t;
66
+ var e = t[Symbol.toPrimitive];
67
+ if (void 0 !== e) {
68
+ var i = e.call(t, r || "default");
69
+ if ("object" != _typeof(i)) return i;
66
70
  throw new TypeError("@@toPrimitive must return a primitive value.");
67
71
  }
68
- return (hint === "string" ? String : Number)(input);
72
+ return ("string" === r ? String : Number)(t);
69
73
  }
70
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
74
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
71
75
 
72
76
 
73
- function _toPropertyKey(arg) {
74
- var key = _toPrimitive(arg, "string");
75
- return _typeof(key) === "symbol" ? key : String(key);
77
+ function toPropertyKey(t) {
78
+ var i = toPrimitive(t, "string");
79
+ return "symbol" == _typeof(i) ? i : String(i);
76
80
  }
77
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
81
+ ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
78
82
 
79
83
  function _defineProperty(obj, key, value) {
80
- key = _toPropertyKey(key);
84
+ key = toPropertyKey(key);
81
85
  if (key in obj) {
82
86
  Object.defineProperty(obj, key, {
83
87
  value: value,
@@ -90,12 +94,17 @@ function _defineProperty(obj, key, value) {
90
94
  }
91
95
  return obj;
92
96
  }
93
- ;// CONCATENATED MODULE: external "../config-provider"
94
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
95
- var config_provider_y = x => () => x
96
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
97
- ;// CONCATENATED MODULE: ../../packages/loading/src/loading.tsx
97
+ ;// external "../config-provider"
98
+ var config_provider_x = (y) => {
99
+ var x = {}; __webpack_require__.d(x, y); return x
100
+ }
101
+ var config_provider_y = (x) => (() => (x))
102
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
103
+ ;// ../../packages/loading/src/loading.tsx
98
104
 
105
+
106
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
107
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
99
108
  /*
100
109
  * Tencent is pleased to support the open source community by making
101
110
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -122,8 +131,6 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
122
131
  * IN THE SOFTWARE.
123
132
  */
124
133
 
125
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
126
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
127
134
 
128
135
 
129
136
  var BkLoadingMode;
@@ -167,7 +174,7 @@ var loadingTypes = {
167
174
  zIndex: shared_namespaceObject.PropTypes.number.def(1),
168
175
  isDirective: shared_namespaceObject.PropTypes.bool.def(false)
169
176
  };
170
- /* harmony default export */ const loading = (defineComponent({
177
+ /* harmony default export */ const loading = ((0,external_vue_namespaceObject.defineComponent)({
171
178
  name: 'Loading',
172
179
  props: loadingTypes,
173
180
  setup: function setup(props, ctx) {
@@ -187,29 +194,27 @@ var loadingTypes = {
187
194
  "class": "oval oval-".concat(i)
188
195
  }, null);
189
196
  })]);
190
- var zIndexStyle = computed(function () {
197
+ var zIndexStyle = (0,external_vue_namespaceObject.computed)(function () {
191
198
  return {
192
199
  zIndex: props.zIndex
193
200
  };
194
201
  });
195
- var maskStyle = computed(function () {
202
+ var maskStyle = (0,external_vue_namespaceObject.computed)(function () {
196
203
  return _objectSpread({
197
204
  opacity: props.opacity,
198
205
  backgroundColor: props.color
199
206
  }, zIndexStyle.value);
200
207
  });
201
- var loadingWrapperCls = computed(function () {
202
- var _classes;
203
- return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "".concat(resolveClassName('loading-wrapper')), props.loading), _defineProperty(_classes, "".concat(resolveClassName('nested-loading')), !!ctx.slots["default"]), _defineProperty(_classes, "".concat(resolveClassName('directive-loading')), props.isDirective), _classes));
208
+ var loadingWrapperCls = (0,external_vue_namespaceObject.computed)(function () {
209
+ return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('loading-wrapper')), props.loading), "".concat(resolveClassName('nested-loading')), !!ctx.slots["default"]), "".concat(resolveClassName('directive-loading')), props.isDirective));
204
210
  });
205
- var containerCls = computed(function () {
206
- var _classes2;
207
- return (0,shared_namespaceObject.classes)((_classes2 = {}, _defineProperty(_classes2, "".concat(resolveClassName("loading-size-".concat(props.size))), !!props.size), _defineProperty(_classes2, "".concat(resolveClassName("loading-".concat(props.theme))), !!props.theme), _classes2), resolveClassName('loading-indicator'));
211
+ var containerCls = (0,external_vue_namespaceObject.computed)(function () {
212
+ return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName("loading-size-".concat(props.size))), !!props.size), "".concat(resolveClassName("loading-".concat(props.theme))), !!props.theme), resolveClassName('loading-indicator'));
208
213
  });
209
- var hasTitle = computed(function () {
214
+ var hasTitle = (0,external_vue_namespaceObject.computed)(function () {
210
215
  return !!props.title;
211
216
  });
212
- var indicator = computed(function () {
217
+ var indicator = (0,external_vue_namespaceObject.computed)(function () {
213
218
  var isSpinMode = props.mode === BkLoadingMode.Spin;
214
219
  if (typeof props.indicator === 'function') {
215
220
  return (0,external_vue_namespaceObject.createVNode)(props.indicator, null, null);
@@ -235,7 +240,7 @@ var loadingTypes = {
235
240
  };
236
241
  }
237
242
  }));
238
- ;// CONCATENATED MODULE: ../../packages/loading/src/directive.ts
243
+ ;// ../../packages/loading/src/directive.ts
239
244
  /*
240
245
  * Tencent is pleased to support the open source community by making
241
246
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -331,12 +336,12 @@ var vBkloading = {
331
336
  unmounted: function unmounted(el) {
332
337
  var _instance$vm2, _instance$instance;
333
338
  var instance = el[INSTANCE_KEY];
334
- el === null || el === void 0 ? void 0 : el.removeChild(instance === null || instance === void 0 || (_instance$vm2 = instance.vm) === null || _instance$vm2 === void 0 || (_instance$vm2 = _instance$vm2.$el) === null || _instance$vm2 === void 0 ? void 0 : _instance$vm2.parentNode);
335
- instance === null || instance === void 0 || (_instance$instance = instance.instance) === null || _instance$instance === void 0 ? void 0 : _instance$instance.unmount();
339
+ el === null || el === void 0 || el.removeChild(instance === null || instance === void 0 || (_instance$vm2 = instance.vm) === null || _instance$vm2 === void 0 || (_instance$vm2 = _instance$vm2.$el) === null || _instance$vm2 === void 0 ? void 0 : _instance$vm2.parentNode);
340
+ instance === null || instance === void 0 || (_instance$instance = instance.instance) === null || _instance$instance === void 0 || _instance$instance.unmount();
336
341
  el[INSTANCE_KEY] = null;
337
342
  }
338
343
  };
339
- ;// CONCATENATED MODULE: ../../packages/loading/src/index.ts
344
+ ;// ../../packages/loading/src/index.ts
340
345
  /*
341
346
  * Tencent is pleased to support the open source community by making
342
347
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -164,11 +164,11 @@ declare const _default: import("vue").DefineComponent<{
164
164
  };
165
165
  }>>, {
166
166
  title: string;
167
+ size: "" | "small" | "large" | "mini";
167
168
  zIndex: number;
168
169
  mode: "default" | "spin";
169
170
  loading: boolean;
170
171
  inline: boolean;
171
- size: "" | "small" | "large" | "mini";
172
172
  opacity: number;
173
173
  color: string;
174
174
  isDirective: boolean;
@@ -29,7 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
29
29
  zhCn: () => (/* reexport */ zh_cn)
30
30
  });
31
31
 
32
- ;// CONCATENATED MODULE: ../../packages/locale/src/lang/en.ts
32
+ ;// ../../packages/locale/src/lang/en.ts
33
33
  /*
34
34
  * Tencent is pleased to support the open source community by making
35
35
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -237,7 +237,7 @@ var en = {
237
237
  }
238
238
  };
239
239
  /* harmony default export */ const lang_en = (en);
240
- ;// CONCATENATED MODULE: ../../packages/locale/src/lang/zh-cn.ts
240
+ ;// ../../packages/locale/src/lang/zh-cn.ts
241
241
  /*
242
242
  * Tencent is pleased to support the open source community by making
243
243
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -445,7 +445,7 @@ var zhCn = {
445
445
  }
446
446
  };
447
447
  /* harmony default export */ const zh_cn = (zhCn);
448
- ;// CONCATENATED MODULE: ../../packages/locale/src/index.ts
448
+ ;// ../../packages/locale/src/index.ts
449
449
  /*
450
450
  * Tencent is pleased to support the open source community by making
451
451
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.