bkui-vue 1.0.3-beta.60 → 1.0.3-beta.60.dialog.1

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