bkui-vue 1.0.3-beta.61.dialog.1 → 1.0.3-beta.62

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 (209) hide show
  1. package/dist/index.cjs.js +69 -69
  2. package/dist/index.esm.js +18005 -18765
  3. package/dist/index.umd.js +69 -69
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +1 -1
  7. package/lib/alert/index.js +1 -1
  8. package/lib/animate-number/index.js +8 -7
  9. package/lib/badge/index.js +1 -1
  10. package/lib/breadcrumb/index.js +1 -1
  11. package/lib/button/index.js +1 -1
  12. package/lib/card/index.js +1 -1
  13. package/lib/cascader/index.js +42 -38
  14. package/lib/checkbox/index.js +7 -6
  15. package/lib/collapse/index.js +12 -11
  16. package/lib/collapse-transition/index.js +4 -3
  17. package/lib/color-picker/index.js +13 -10
  18. package/lib/components.d.ts +0 -1
  19. package/lib/components.js +0 -1
  20. package/lib/config-provider/index.js +1 -1
  21. package/lib/container/index.js +12 -10
  22. package/lib/date-picker/index.js +1 -1
  23. package/lib/dialog/dialog.css +77 -139
  24. package/lib/dialog/dialog.d.ts +121 -41
  25. package/lib/dialog/dialog.less +65 -10
  26. package/lib/dialog/dialog.variable.css +77 -139
  27. package/lib/dialog/index.d.ts +272 -105
  28. package/lib/dialog/index.js +104 -95
  29. package/lib/dialog/props.d.ts +48 -8
  30. package/lib/directives/index.js +1 -1
  31. package/lib/divider/index.js +3 -2
  32. package/lib/dropdown/index.js +8 -6
  33. package/lib/exception/index.js +1 -1
  34. package/lib/fixed-navbar/index.js +3 -2
  35. package/lib/form/index.js +1 -1
  36. package/lib/icon/angle-double-down-line.js +1 -1
  37. package/lib/icon/angle-double-left-line.js +1 -1
  38. package/lib/icon/angle-double-left.js +1 -1
  39. package/lib/icon/angle-double-right-line.js +1 -1
  40. package/lib/icon/angle-double-right.js +1 -1
  41. package/lib/icon/angle-double-up-line.js +1 -1
  42. package/lib/icon/angle-down-fill.js +1 -1
  43. package/lib/icon/angle-down-line.js +1 -1
  44. package/lib/icon/angle-down.js +1 -1
  45. package/lib/icon/angle-left.js +1 -1
  46. package/lib/icon/angle-right.js +1 -1
  47. package/lib/icon/angle-up-fill.js +1 -1
  48. package/lib/icon/angle-up.js +1 -1
  49. package/lib/icon/archive-fill.js +1 -1
  50. package/lib/icon/arrows-left.js +1 -1
  51. package/lib/icon/arrows-right.js +1 -1
  52. package/lib/icon/assistant.js +1 -1
  53. package/lib/icon/audio-fill.js +1 -1
  54. package/lib/icon/bk.js +1 -1
  55. package/lib/icon/circle.js +1 -1
  56. package/lib/icon/close-line.js +1 -1
  57. package/lib/icon/close.js +1 -1
  58. package/lib/icon/code.js +1 -1
  59. package/lib/icon/cog-shape.js +1 -1
  60. package/lib/icon/collapse-left.js +1 -1
  61. package/lib/icon/copy-shape.js +1 -1
  62. package/lib/icon/copy.js +1 -1
  63. package/lib/icon/data-shape.js +1 -1
  64. package/lib/icon/del.js +1 -1
  65. package/lib/icon/doc-fill.js +1 -1
  66. package/lib/icon/done.js +1 -1
  67. package/lib/icon/down-shape.js +1 -1
  68. package/lib/icon/down-small.js +1 -1
  69. package/lib/icon/edit-line.js +1 -1
  70. package/lib/icon/ellipsis.js +1 -1
  71. package/lib/icon/enlarge-line.js +1 -1
  72. package/lib/icon/error.js +1 -1
  73. package/lib/icon/excel-fill.js +1 -1
  74. package/lib/icon/exclamation-circle-shape.js +1 -1
  75. package/lib/icon/eye.js +1 -1
  76. package/lib/icon/filliscreen-line.js +1 -1
  77. package/lib/icon/fix-line.js +1 -1
  78. package/lib/icon/fix-shape.js +1 -1
  79. package/lib/icon/folder-open.js +1 -1
  80. package/lib/icon/folder-shape-open.js +1 -1
  81. package/lib/icon/folder-shape.js +1 -1
  82. package/lib/icon/folder.js +1 -1
  83. package/lib/icon/funnel.js +1 -1
  84. package/lib/icon/grag-fill.js +1 -1
  85. package/lib/icon/help-document-fill.js +1 -1
  86. package/lib/icon/help-fill.js +1 -1
  87. package/lib/icon/help.js +1 -1
  88. package/lib/icon/image-fill.js +191 -0
  89. package/lib/icon/img-error.js +1 -1
  90. package/lib/icon/img-placehoulder.js +1 -1
  91. package/lib/icon/info-line.js +1 -1
  92. package/lib/icon/info.js +1 -1
  93. package/lib/icon/left-shape.js +1 -1
  94. package/lib/icon/left-turn-line.js +1 -1
  95. package/lib/icon/loading.js +1 -1
  96. package/lib/icon/narrow-line.js +1 -1
  97. package/lib/icon/original.js +1 -1
  98. package/lib/icon/pdf-fill.js +1 -1
  99. package/lib/icon/play-shape.js +1 -1
  100. package/lib/icon/plus.js +1 -1
  101. package/lib/icon/ppt-fill.js +1 -1
  102. package/lib/icon/qq.js +1 -1
  103. package/lib/icon/right-shape.js +1 -1
  104. package/lib/icon/right-turn-line.js +1 -1
  105. package/lib/icon/search.js +1 -1
  106. package/lib/icon/share.js +1 -1
  107. package/lib/icon/spinner.js +1 -1
  108. package/lib/icon/success.js +1 -1
  109. package/lib/icon/switcher-loading.js +1 -1
  110. package/lib/icon/text-all.js +1 -1
  111. package/lib/icon/text-file.js +1 -1
  112. package/lib/icon/text-fill.js +1 -1
  113. package/lib/icon/transfer.js +1 -1
  114. package/lib/icon/tree-application-shape.js +1 -1
  115. package/lib/icon/unfull-screen.js +1 -1
  116. package/lib/icon/unvisible.js +1 -1
  117. package/lib/icon/up-shape.js +1 -1
  118. package/lib/icon/upload.js +1 -1
  119. package/lib/icon/video-fill.js +1 -1
  120. package/lib/icon/warn.js +1 -1
  121. package/lib/icon/weixin-pro.js +1 -1
  122. package/lib/icon/weixin.js +1 -1
  123. package/lib/image/index.js +11 -10
  124. package/lib/info-box/index.d.ts +2 -2
  125. package/lib/info-box/index.js +177 -316
  126. package/lib/info-box/info-box.css +7 -63
  127. package/lib/info-box/info-box.d.ts +16 -17
  128. package/lib/info-box/info-box.less +14 -76
  129. package/lib/info-box/info-box.variable.css +7 -63
  130. package/lib/input/index.js +4 -4
  131. package/lib/link/index.js +2 -2
  132. package/lib/loading/index.js +12 -11
  133. package/lib/menu/index.js +3 -2
  134. package/lib/message/index.js +1 -1
  135. package/lib/modal/index.d.ts +325 -45
  136. package/lib/modal/index.js +667 -188
  137. package/lib/modal/modal.css +31 -131
  138. package/lib/modal/modal.d.ts +126 -16
  139. package/lib/modal/modal.less +28 -84
  140. package/lib/modal/modal.variable.css +31 -131
  141. package/lib/modal/props.mixin.d.ts +53 -2
  142. package/lib/navigation/index.js +9 -7
  143. package/lib/notify/index.js +1 -1
  144. package/lib/overflow-title/index.js +10 -9
  145. package/lib/pagination/index.js +1 -1
  146. package/lib/plugin-popover/index.js +30 -26
  147. package/lib/pop-confirm/index.js +5 -4
  148. package/lib/popover/index.js +30 -26
  149. package/lib/popover2/index.js +2 -2
  150. package/lib/process/index.js +4 -4
  151. package/lib/progress/index.js +6 -5
  152. package/lib/radio/index.js +7 -6
  153. package/lib/rate/index.js +1 -1
  154. package/lib/resize-layout/index.js +1 -1
  155. package/lib/search-select/index.js +14 -11
  156. package/lib/select/index.js +4 -4
  157. package/lib/shared/index.d.ts +1 -0
  158. package/lib/shared/index.js +56 -6
  159. package/lib/shared/mask.d.ts +11 -0
  160. package/lib/sideslider/index.d.ts +222 -31
  161. package/lib/sideslider/index.js +40 -53
  162. package/lib/sideslider/sideslider.css +42 -4
  163. package/lib/sideslider/sideslider.d.ts +105 -14
  164. package/lib/sideslider/sideslider.less +58 -13
  165. package/lib/sideslider/sideslider.variable.css +42 -4
  166. package/lib/slider/index.js +20 -19
  167. package/lib/steps/index.js +4 -4
  168. package/lib/swiper/index.js +1 -1
  169. package/lib/switcher/index.js +1 -1
  170. package/lib/tab/index.js +4 -3
  171. package/lib/table/const.d.ts +1 -1
  172. package/lib/table/index.js +48 -55
  173. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  174. package/lib/table/plugins/use-pagination.d.ts +1 -3
  175. package/lib/table/table.css +42 -97
  176. package/lib/table/table.less +58 -43
  177. package/lib/table/table.variable.css +42 -97
  178. package/lib/table/use-attributes.d.ts +0 -1
  179. package/lib/table/use-render.d.ts +1 -1
  180. package/lib/table-column/index.js +2 -2
  181. package/lib/tag/index.js +1 -1
  182. package/lib/tag-input/index.js +4 -3
  183. package/lib/tree/index.js +12 -10
  184. package/lib/tree/tree.css +2 -75
  185. package/lib/tree/tree.variable.css +2 -75
  186. package/lib/upload/index.js +4 -4
  187. package/lib/virtual-render/index.d.ts +0 -4
  188. package/lib/virtual-render/index.js +55 -255
  189. package/lib/virtual-render/props.d.ts +0 -7
  190. package/lib/virtual-render/use-fix-top.d.ts +7 -2
  191. package/lib/virtual-render/v-virtual-render.d.ts +1 -2
  192. package/lib/virtual-render/virtual-render.css +2 -75
  193. package/lib/virtual-render/virtual-render.d.ts +0 -2
  194. package/lib/virtual-render/virtual-render.less +3 -3
  195. package/lib/virtual-render/virtual-render.variable.css +2 -75
  196. package/package.json +1 -2
  197. package/lib/info-box/render-component.d.ts +0 -4
  198. package/lib/modal/mask.d.ts +0 -6
  199. package/lib/scrollbar/index.d.ts +0 -14
  200. package/lib/scrollbar/index.js +0 -18737
  201. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  202. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  203. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -236
  204. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  205. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  206. package/lib/scrollbar/scrollbar.css +0 -74
  207. package/lib/scrollbar/scrollbar.less +0 -93
  208. package/lib/scrollbar/scrollbar.variable.css +0 -203
  209. package/lib/virtual-render/use-scrollbar.d.ts +0 -23
@@ -1,34 +1,33 @@
1
1
  import { VNode } from 'vue';
2
- export interface Props {
2
+ export interface ModalFuncProps {
3
3
  isShow?: boolean;
4
4
  width?: string | number;
5
- extCls?: string | string[];
6
- class?: string | string[];
5
+ height?: string | number;
6
+ 'ext-cls': string | string[];
7
+ theme?: 'primary' | 'warning' | 'success' | 'danger';
7
8
  infoType?: 'success' | 'danger' | 'warning' | 'loading';
8
- type?: 'success' | 'danger' | 'warning' | 'loading';
9
9
  title?: string | (() => VNode | string) | VNode;
10
10
  subTitle?: string | (() => VNode) | VNode;
11
- content?: string | (() => VNode) | VNode;
11
+ confirmText?: string | (() => VNode) | VNode;
12
+ cancelText?: string | (() => VNode) | VNode;
13
+ onConfirm?: (...args: any[]) => any;
14
+ onClosed?: (...args: any[]) => any;
15
+ boundary?: HTMLElement;
16
+ draggable?: boolean;
17
+ maskClose?: boolean;
18
+ escClose?: boolean;
19
+ closeIcon?: boolean;
12
20
  headerAlign?: 'left' | 'center' | 'right';
13
21
  footerAlign?: 'left' | 'center' | 'right';
14
22
  contentAlign?: 'left' | 'center' | 'right';
23
+ dialogType?: 'show' | 'operation' | 'confirm';
15
24
  showMask?: boolean;
16
25
  quickClose?: boolean;
17
- escClose?: boolean;
18
- closeIcon?: boolean;
19
- confirmText?: string | (() => VNode) | VNode;
20
- theme?: 'primary' | 'warning' | 'success' | 'danger';
21
- confirmButtonTheme?: 'primary' | 'warning' | 'success' | 'danger';
22
- cancelText?: string | (() => VNode) | VNode;
23
- beforeClose?: (action: string) => boolean | Promise<boolean>;
24
- onConfirm?: () => void;
25
- onCancel?: () => void;
26
- onClose?: () => void;
27
26
  }
28
- declare const InfoBox: (config: Partial<Props>) => {
27
+ declare const InfoBox: (config: Partial<ModalFuncProps>) => {
29
28
  show: () => void;
30
29
  hide: () => void;
31
- update: (config: Partial<Props>) => void;
30
+ update: (config: Partial<ModalFuncProps>) => void;
32
31
  destroy: () => void;
33
32
  };
34
33
  export default InfoBox;
@@ -1,86 +1,24 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
- .@{bk-prefix}-infobox {
4
- font-size: 12px;
5
-
3
+ &.@{bk-prefix}-info-wrapper {
6
4
  .@{bk-prefix}-modal-wrapper {
7
- top: 50%;
8
- left: 50%;
9
- transform: translate(-50%, -50%);
10
- }
11
- }
12
-
13
- .@{bk-prefix}-infobox-header {
14
- padding-top: 24px;
15
- }
16
-
17
- .@{bk-prefix}-infobox-type {
18
- display: flex;
19
- justify-content: center;
20
- align-items: center;
21
- }
5
+ width: 440px;
22
6
 
23
- .@{bk-prefix}-infobox-icon {
24
- width: 42px;
25
- height: 42px;
26
- font-size: 42px;
27
-
28
- &.success {
29
- color: @success-color;
30
- }
31
-
32
- &.warning {
33
- color: @warning-color;
34
- }
35
-
36
- &.danger {
37
- color: @danger-color;
7
+ .@{bk-prefix}-dialog-header {
8
+ .@{bk-prefix}-dialog-title {
9
+ margin-top: 16px;
10
+ }
11
+ }
38
12
  }
39
13
 
40
- &.loading {
41
- color: @primary-color;
14
+ .@{bk-prefix}-dialog-footer {
15
+ button {
16
+ min-width: 88px;
17
+ }
42
18
  }
43
19
  }
44
20
 
45
- .@{bk-prefix}-infobox-title {
46
- padding-right: 24px;
47
- padding-left: 24px;
48
- margin-top: 24px;
49
- font-size: 20px;
50
- line-height: 32px;
51
- color: #313238;
52
- }
53
-
54
- .@{bk-prefix}-infobox-content {
55
- padding-right: 24px;
56
- padding-left: 24px;
57
- margin-top: 16px;
58
- }
59
-
60
- .@{bk-prefix}-infobox-footer {
61
- display: flex;
62
- padding-right: 24px;
63
- padding-bottom: 24px;
64
- padding-left: 24px;
65
- margin-top: 24px;
66
- align-content: center;
67
-
68
- &.is-position-right {
69
- justify-content: right;
70
- }
71
-
72
- &.is-position-center {
73
- justify-content: center;
74
- }
75
-
76
- &.is-position-left {
77
- justify-content: left;
78
- }
79
-
80
- .@{bk-prefix}-button {
81
- min-width: 88px;
82
- & ~ .@{bk-prefix}-button {
83
- margin-left: 8px;
84
- }
85
- }
21
+ .@{bk-prefix}-info-sub-title {
22
+ text-align: center;
23
+ word-break: break-all;
86
24
  }
@@ -127,72 +127,16 @@
127
127
  --select-active-color: #e1ecff;
128
128
  --select-hover-color: #f5f7fa;
129
129
  }
130
- .bk-infobox {
131
- font-size: 12px;
130
+ .bk-info-wrapper .bk-modal-wrapper {
131
+ width: 440px;
132
132
  }
133
- .bk-infobox .bk-modal-wrapper {
134
- top: 50%;
135
- left: 50%;
136
- transform: translate(-50%, -50%);
137
- }
138
- .bk-infobox-header {
139
- padding-top: 24px;
140
- }
141
- .bk-infobox-type {
142
- display: flex;
143
- justify-content: center;
144
- align-items: center;
145
- }
146
- .bk-infobox-icon {
147
- width: 42px;
148
- height: 42px;
149
- font-size: 42px;
150
- }
151
- .bk-infobox-icon.success {
152
- color: var(--success-color);
153
- }
154
- .bk-infobox-icon.warning {
155
- color: var(--warning-color);
156
- }
157
- .bk-infobox-icon.danger {
158
- color: var(--danger-color);
159
- }
160
- .bk-infobox-icon.loading {
161
- color: var(--primary-color);
162
- }
163
- .bk-infobox-title {
164
- padding-right: 24px;
165
- padding-left: 24px;
166
- margin-top: 24px;
167
- font-size: 20px;
168
- line-height: 32px;
169
- color: #313238;
170
- }
171
- .bk-infobox-content {
172
- padding-right: 24px;
173
- padding-left: 24px;
133
+ .bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
174
134
  margin-top: 16px;
175
135
  }
176
- .bk-infobox-footer {
177
- display: flex;
178
- padding-right: 24px;
179
- padding-bottom: 24px;
180
- padding-left: 24px;
181
- margin-top: 24px;
182
- align-content: center;
183
- }
184
- .bk-infobox-footer.is-position-right {
185
- justify-content: right;
186
- }
187
- .bk-infobox-footer.is-position-center {
188
- justify-content: center;
189
- }
190
- .bk-infobox-footer.is-position-left {
191
- justify-content: left;
192
- }
193
- .bk-infobox-footer .bk-button {
136
+ .bk-info-wrapper .bk-dialog-footer button {
194
137
  min-width: 88px;
195
138
  }
196
- .bk-infobox-footer .bk-button ~ .bk-button {
197
- margin-left: 8px;
139
+ .bk-info-sub-title {
140
+ text-align: center;
141
+ word-break: break-all;
198
142
  }
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
120
120
  function makeInvokeMethod(e, r, n) {
121
121
  var o = h;
122
122
  return function (i, a) {
123
- if (o === f) throw Error("Generator is already running");
123
+ if (o === f) throw new Error("Generator is already running");
124
124
  if (o === s) {
125
125
  if ("throw" === i) throw a;
126
126
  return {
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
262
262
  } else if (c) {
263
263
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
264
264
  } else {
265
- if (!u) throw Error("try statement without catch or finally");
265
+ if (!u) throw new Error("try statement without catch or finally");
266
266
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
267
267
  }
268
268
  }
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
302
302
  return o;
303
303
  }
304
304
  }
305
- throw Error("illegal catch attempt");
305
+ throw new Error("illegal catch attempt");
306
306
  },
307
307
  delegateYield: function delegateYield(e, r, n) {
308
308
  return this.delegate = {
@@ -573,7 +573,7 @@ function toPrimitive(t, r) {
573
573
 
574
574
  function toPropertyKey(t) {
575
575
  var i = toPrimitive(t, "string");
576
- return "symbol" == _typeof(i) ? i : i + "";
576
+ return "symbol" == _typeof(i) ? i : String(i);
577
577
  }
578
578
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
579
579
 
package/lib/link/index.js CHANGED
@@ -40,7 +40,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
40
40
  ;// CONCATENATED MODULE: external "vue"
41
41
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
42
42
  var external_vue_y = x => () => x
43
- const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
43
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
44
44
  ;// CONCATENATED MODULE: external "vue-types"
45
45
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
46
46
  var external_vue_types_y = x => () => x
@@ -88,7 +88,7 @@ var LinkThemeEnum;
88
88
  LinkThemeEnum["WARNING"] = "warning";
89
89
  LinkThemeEnum["DEFAULT"] = "default";
90
90
  })(LinkThemeEnum || (LinkThemeEnum = {}));
91
- /* harmony default export */ const src_link = (defineComponent({
91
+ /* harmony default export */ const src_link = ((0,external_vue_namespaceObject.defineComponent)({
92
92
  name: 'Link',
93
93
  props: {
94
94
  theme: (0,external_vue_types_namespaceObject.toType)('linkTheme', {}).def(LinkThemeEnum.DEFAULT),
@@ -43,7 +43,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
43
43
  ;// CONCATENATED MODULE: external "vue"
44
44
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
45
45
  var external_vue_y = x => () => x
46
- 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 });
46
+ 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 });
47
47
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
48
48
  function _typeof(o) {
49
49
  "@babel/helpers - typeof";
@@ -71,7 +71,7 @@ function toPrimitive(t, r) {
71
71
 
72
72
  function toPropertyKey(t) {
73
73
  var i = toPrimitive(t, "string");
74
- return "symbol" == _typeof(i) ? i : i + "";
74
+ return "symbol" == _typeof(i) ? i : String(i);
75
75
  }
76
76
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
77
77
 
@@ -95,6 +95,9 @@ var config_provider_y = x => () => x
95
95
  const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
96
96
  ;// CONCATENATED MODULE: ../../packages/loading/src/loading.tsx
97
97
 
98
+
99
+ 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; }
100
+ 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; }
98
101
  /*
99
102
  * Tencent is pleased to support the open source community by making
100
103
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -121,8 +124,6 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
121
124
  * IN THE SOFTWARE.
122
125
  */
123
126
 
124
- 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; }
125
- 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; }
126
127
 
127
128
 
128
129
  var BkLoadingMode;
@@ -166,7 +167,7 @@ var loadingTypes = {
166
167
  zIndex: shared_namespaceObject.PropTypes.number.def(1),
167
168
  isDirective: shared_namespaceObject.PropTypes.bool.def(false)
168
169
  };
169
- /* harmony default export */ const loading = (defineComponent({
170
+ /* harmony default export */ const loading = ((0,external_vue_namespaceObject.defineComponent)({
170
171
  name: 'Loading',
171
172
  props: loadingTypes,
172
173
  setup: function setup(props, ctx) {
@@ -186,27 +187,27 @@ var loadingTypes = {
186
187
  "class": "oval oval-".concat(i)
187
188
  }, null);
188
189
  })]);
189
- var zIndexStyle = computed(function () {
190
+ var zIndexStyle = (0,external_vue_namespaceObject.computed)(function () {
190
191
  return {
191
192
  zIndex: props.zIndex
192
193
  };
193
194
  });
194
- var maskStyle = computed(function () {
195
+ var maskStyle = (0,external_vue_namespaceObject.computed)(function () {
195
196
  return _objectSpread({
196
197
  opacity: props.opacity,
197
198
  backgroundColor: props.color
198
199
  }, zIndexStyle.value);
199
200
  });
200
- var loadingWrapperCls = computed(function () {
201
+ var loadingWrapperCls = (0,external_vue_namespaceObject.computed)(function () {
201
202
  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));
202
203
  });
203
- var containerCls = computed(function () {
204
+ var containerCls = (0,external_vue_namespaceObject.computed)(function () {
204
205
  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'));
205
206
  });
206
- var hasTitle = computed(function () {
207
+ var hasTitle = (0,external_vue_namespaceObject.computed)(function () {
207
208
  return !!props.title;
208
209
  });
209
- var indicator = computed(function () {
210
+ var indicator = (0,external_vue_namespaceObject.computed)(function () {
210
211
  var isSpinMode = props.mode === BkLoadingMode.Spin;
211
212
  if (typeof props.indicator === 'function') {
212
213
  return (0,external_vue_namespaceObject.createVNode)(props.indicator, null, null);
package/lib/menu/index.js CHANGED
@@ -68,7 +68,7 @@ function toPrimitive(t, r) {
68
68
 
69
69
  function toPropertyKey(t) {
70
70
  var i = toPrimitive(t, "string");
71
- return "symbol" == _typeof(i) ? i : i + "";
71
+ return "symbol" == _typeof(i) ? i : String(i);
72
72
  }
73
73
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
74
74
 
@@ -448,7 +448,8 @@ var menuProps = {
448
448
  * IN THE SOFTWARE.
449
449
  */
450
450
 
451
- /* harmony default export */ const menu_group = (defineComponent({
451
+
452
+ /* harmony default export */ const menu_group = ((0,external_vue_namespaceObject.defineComponent)({
452
453
  name: 'MenuGroup',
453
454
  props: {
454
455
  name: {
@@ -999,7 +999,7 @@ function toPrimitive(t, r) {
999
999
 
1000
1000
  function toPropertyKey(t) {
1001
1001
  var i = toPrimitive(t, "string");
1002
- return "symbol" == _typeof(i) ? i : i + "";
1002
+ return "symbol" == _typeof(i) ? i : String(i);
1003
1003
  }
1004
1004
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1005
1005