bkui-vue 0.0.2-beta.75 → 0.0.2-beta.78

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 (144) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +8323 -8377
  3. package/dist/index.umd.js +48 -48
  4. package/lib/affix/index.js +5 -3
  5. package/lib/alert/index.js +2 -3
  6. package/lib/backtop/index.js +2 -2
  7. package/lib/badge/index.js +3 -4
  8. package/lib/breadcrumb/index.js +4 -4
  9. package/lib/button/index.js +6 -6
  10. package/lib/card/index.js +16 -5
  11. package/lib/cascader/index.js +70 -53
  12. package/lib/checkbox/index.js +4 -4
  13. package/lib/collapse/index.js +58 -6
  14. package/lib/color-picker/index.js +14 -11
  15. package/lib/config-provider/index.js +51 -3
  16. package/lib/container/index.js +55 -7
  17. package/lib/date-picker/index.js +202 -156
  18. package/lib/dialog/index.js +140 -431
  19. package/lib/directives/index.js +59 -19
  20. package/lib/dropdown/index.js +8 -8
  21. package/lib/exception/index.js +5 -5
  22. package/lib/form/index.js +22 -16
  23. package/lib/icon/angle-double-down-line.js +84 -374
  24. package/lib/icon/angle-double-left-line.js +84 -374
  25. package/lib/icon/angle-double-left.js +84 -374
  26. package/lib/icon/angle-double-right-line.js +84 -374
  27. package/lib/icon/angle-double-right.js +84 -374
  28. package/lib/icon/angle-double-up-line.js +84 -374
  29. package/lib/icon/angle-down-fill.js +84 -374
  30. package/lib/icon/angle-down-line.js +84 -374
  31. package/lib/icon/angle-down.js +84 -374
  32. package/lib/icon/angle-left.js +84 -374
  33. package/lib/icon/angle-right.js +84 -374
  34. package/lib/icon/angle-up-fill.js +84 -374
  35. package/lib/icon/angle-up.js +84 -374
  36. package/lib/icon/archive-fill.js +84 -374
  37. package/lib/icon/arrows-left.js +84 -374
  38. package/lib/icon/arrows-right.js +84 -374
  39. package/lib/icon/assistant.js +84 -374
  40. package/lib/icon/audio-fill.js +84 -374
  41. package/lib/icon/bk.js +84 -374
  42. package/lib/icon/circle.js +84 -374
  43. package/lib/icon/close-line.js +84 -374
  44. package/lib/icon/close.js +84 -374
  45. package/lib/icon/code.js +84 -374
  46. package/lib/icon/cog-shape.js +84 -374
  47. package/lib/icon/collapse-left.js +84 -374
  48. package/lib/icon/copy-shape.js +84 -374
  49. package/lib/icon/copy.js +84 -374
  50. package/lib/icon/data-shape.js +84 -374
  51. package/lib/icon/del.js +84 -374
  52. package/lib/icon/doc-fill.js +84 -374
  53. package/lib/icon/done.js +84 -374
  54. package/lib/icon/down-shape.js +84 -374
  55. package/lib/icon/down-small.js +84 -374
  56. package/lib/icon/edit-line.js +84 -374
  57. package/lib/icon/ellipsis.js +84 -374
  58. package/lib/icon/enlarge-line.js +84 -374
  59. package/lib/icon/error.js +84 -374
  60. package/lib/icon/excel-fill.js +84 -374
  61. package/lib/icon/exclamation-circle-shape.js +84 -374
  62. package/lib/icon/eye.js +84 -374
  63. package/lib/icon/filliscreen-line.js +84 -374
  64. package/lib/icon/fix-line.js +84 -374
  65. package/lib/icon/fix-shape.js +84 -374
  66. package/lib/icon/folder-open.js +84 -374
  67. package/lib/icon/folder-shape-open.js +84 -374
  68. package/lib/icon/folder-shape.js +84 -374
  69. package/lib/icon/folder.js +84 -374
  70. package/lib/icon/funnel.js +84 -374
  71. package/lib/icon/help-document-fill.js +84 -374
  72. package/lib/icon/help-fill.js +84 -374
  73. package/lib/icon/help.js +84 -374
  74. package/lib/icon/image-fill.js +131 -382
  75. package/lib/icon/img-error.js +131 -382
  76. package/lib/icon/img-placehoulder.js +131 -382
  77. package/lib/icon/index.js +563 -531
  78. package/lib/icon/info-line.js +131 -382
  79. package/lib/icon/info.js +131 -382
  80. package/lib/icon/left-shape.js +131 -382
  81. package/lib/icon/left-turn-line.js +131 -382
  82. package/lib/icon/narrow-line.js +131 -382
  83. package/lib/icon/original.js +131 -382
  84. package/lib/icon/pdf-fill.js +131 -382
  85. package/lib/icon/play-shape.js +131 -382
  86. package/lib/icon/plus.js +131 -382
  87. package/lib/icon/ppt-fill.js +131 -382
  88. package/lib/icon/qq.js +131 -382
  89. package/lib/icon/right-shape.js +131 -382
  90. package/lib/icon/right-turn-line.js +131 -382
  91. package/lib/icon/search.js +131 -382
  92. package/lib/icon/share.js +131 -382
  93. package/lib/icon/spinner.js +131 -382
  94. package/lib/icon/success.js +131 -382
  95. package/lib/icon/switcher-loading.js +131 -382
  96. package/lib/icon/text-file.js +131 -382
  97. package/lib/icon/text-fill.js +131 -382
  98. package/lib/icon/transfer.js +131 -382
  99. package/lib/icon/tree-application-shape.js +131 -382
  100. package/lib/icon/unfull-screen.js +131 -382
  101. package/lib/icon/unvisible.js +131 -382
  102. package/lib/icon/up-shape.js +131 -382
  103. package/lib/icon/upload.js +131 -382
  104. package/lib/icon/video-fill.js +131 -382
  105. package/lib/icon/warn.js +131 -382
  106. package/lib/icon/weixin-pro.js +131 -382
  107. package/lib/icon/weixin.js +131 -382
  108. package/lib/image/index.js +57 -9
  109. package/lib/info-box/index.js +145 -436
  110. package/lib/input/index.js +105 -415
  111. package/lib/link/index.js +2 -2
  112. package/lib/loading/index.js +18 -16
  113. package/lib/menu/index.js +22 -23
  114. package/lib/message/index.js +62 -57
  115. package/lib/modal/index.js +77 -18
  116. package/lib/navigation/index.js +11 -11
  117. package/lib/notify/index.js +51 -48
  118. package/lib/overflow-title/index.js +6 -5
  119. package/lib/plugin-popover/index.js +202 -364
  120. package/lib/popover/index.js +202 -364
  121. package/lib/process/index.js +55 -395
  122. package/lib/progress/index.js +51 -48
  123. package/lib/radio/index.js +4 -4
  124. package/lib/rate/index.js +2 -2
  125. package/lib/resize-layout/index.js +4 -5
  126. package/lib/search-select/index.js +179 -486
  127. package/lib/select/index.js +148 -479
  128. package/lib/shared/index.js +176 -352
  129. package/lib/sideslider/index.js +82 -373
  130. package/lib/slider/index.js +48 -386
  131. package/lib/steps/index.js +67 -405
  132. package/lib/swiper/index.js +10 -10
  133. package/lib/switcher/index.js +2 -2
  134. package/lib/tab/index.js +63 -8
  135. package/lib/table/index.js +262 -424
  136. package/lib/table-column/index.js +7 -6
  137. package/lib/tag/index.js +2 -2
  138. package/lib/tag-input/index.js +29 -21
  139. package/lib/timeline/index.js +6 -7
  140. package/lib/transfer/index.js +8 -8
  141. package/lib/tree/index.js +139 -319
  142. package/lib/upload/index.js +104 -423
  143. package/lib/virtual-render/index.js +60 -16
  144. package/package.json +2 -1
package/lib/icon/bk.js CHANGED
@@ -28,385 +28,92 @@ __webpack_require__.d(__webpack_exports__, {
28
28
  Z: () => (/* binding */ icons_bk)
29
29
  });
30
30
 
31
- ;// CONCATENATED MODULE: external "vue"
32
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
33
- var y = x => () => x
34
- const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
35
- ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
36
- /******************************************************************************
37
- Copyright (c) Microsoft Corporation.
38
-
39
- Permission to use, copy, modify, and/or distribute this software for any
40
- purpose with or without fee is hereby granted.
41
-
42
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
43
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
44
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
45
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
46
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
47
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
48
- PERFORMANCE OF THIS SOFTWARE.
49
- ***************************************************************************** */
50
- /* global Reflect, Promise, SuppressedError, Symbol */
51
-
52
- var extendStatics = function(d, b) {
53
- extendStatics = Object.setPrototypeOf ||
54
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
55
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
56
- return extendStatics(d, b);
57
- };
58
-
59
- function __extends(d, b) {
60
- if (typeof b !== "function" && b !== null)
61
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
62
- extendStatics(d, b);
63
- function __() { this.constructor = d; }
64
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
65
- }
66
-
67
- var __assign = function() {
68
- __assign = Object.assign || function __assign(t) {
69
- for (var s, i = 1, n = arguments.length; i < n; i++) {
70
- s = arguments[i];
71
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
72
- }
73
- return t;
74
- }
75
- return __assign.apply(this, arguments);
76
- }
77
-
78
- function __rest(s, e) {
79
- var t = {};
80
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
- t[p] = s[p];
82
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
- t[p[i]] = s[p[i]];
86
- }
87
- return t;
88
- }
89
-
90
- function __decorate(decorators, target, key, desc) {
91
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
92
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
93
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
94
- return c > 3 && r && Object.defineProperty(target, key, r), r;
95
- }
96
-
97
- function __param(paramIndex, decorator) {
98
- return function (target, key) { decorator(target, key, paramIndex); }
99
- }
100
-
101
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
102
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
103
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
104
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
105
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
106
- var _, done = false;
107
- for (var i = decorators.length - 1; i >= 0; i--) {
108
- var context = {};
109
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
110
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
111
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
112
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
113
- if (kind === "accessor") {
114
- if (result === void 0) continue;
115
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
116
- if (_ = accept(result.get)) descriptor.get = _;
117
- if (_ = accept(result.set)) descriptor.set = _;
118
- if (_ = accept(result.init)) initializers.unshift(_);
119
- }
120
- else if (_ = accept(result)) {
121
- if (kind === "field") initializers.unshift(_);
122
- else descriptor[key] = _;
123
- }
124
- }
125
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
126
- done = true;
127
- };
128
-
129
- function __runInitializers(thisArg, initializers, value) {
130
- var useValue = arguments.length > 2;
131
- for (var i = 0; i < initializers.length; i++) {
132
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
133
- }
134
- return useValue ? value : void 0;
135
- };
136
-
137
- function __propKey(x) {
138
- return typeof x === "symbol" ? x : "".concat(x);
139
- };
140
-
141
- function __setFunctionName(f, name, prefix) {
142
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
143
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
144
- };
145
-
146
- function __metadata(metadataKey, metadataValue) {
147
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
148
- }
149
-
150
- function __awaiter(thisArg, _arguments, P, generator) {
151
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
152
- return new (P || (P = Promise))(function (resolve, reject) {
153
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
154
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
155
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
156
- step((generator = generator.apply(thisArg, _arguments || [])).next());
157
- });
158
- }
159
-
160
- function __generator(thisArg, body) {
161
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
162
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
163
- function verb(n) { return function (v) { return step([n, v]); }; }
164
- function step(op) {
165
- if (f) throw new TypeError("Generator is already executing.");
166
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
167
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
168
- if (y = 0, t) op = [op[0] & 2, t.value];
169
- switch (op[0]) {
170
- case 0: case 1: t = op; break;
171
- case 4: _.label++; return { value: op[1], done: false };
172
- case 5: _.label++; y = op[1]; op = [0]; continue;
173
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
174
- default:
175
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
176
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
177
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
178
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
179
- if (t[2]) _.ops.pop();
180
- _.trys.pop(); continue;
181
- }
182
- op = body.call(thisArg, _);
183
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
184
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
31
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
32
+ function _typeof(obj) {
33
+ "@babel/helpers - typeof";
34
+
35
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
36
+ return typeof obj;
37
+ } : function (obj) {
38
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
39
+ }, _typeof(obj);
40
+ }
41
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
42
+
43
+ function _toPrimitive(input, hint) {
44
+ if (_typeof(input) !== "object" || input === null) return input;
45
+ var prim = input[Symbol.toPrimitive];
46
+ if (prim !== undefined) {
47
+ var res = prim.call(input, hint || "default");
48
+ if (_typeof(res) !== "object") return res;
49
+ throw new TypeError("@@toPrimitive must return a primitive value.");
185
50
  }
51
+ return (hint === "string" ? String : Number)(input);
186
52
  }
53
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
187
54
 
188
- var __createBinding = Object.create ? (function(o, m, k, k2) {
189
- if (k2 === undefined) k2 = k;
190
- var desc = Object.getOwnPropertyDescriptor(m, k);
191
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
192
- desc = { enumerable: true, get: function() { return m[k]; } };
193
- }
194
- Object.defineProperty(o, k2, desc);
195
- }) : (function(o, m, k, k2) {
196
- if (k2 === undefined) k2 = k;
197
- o[k2] = m[k];
198
- });
199
-
200
- function __exportStar(m, o) {
201
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
202
- }
203
55
 
204
- function __values(o) {
205
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
206
- if (m) return m.call(o);
207
- if (o && typeof o.length === "number") return {
208
- next: function () {
209
- if (o && i >= o.length) o = void 0;
210
- return { value: o && o[i++], done: !o };
211
- }
212
- };
213
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
56
+ function _toPropertyKey(arg) {
57
+ var key = _toPrimitive(arg, "string");
58
+ return _typeof(key) === "symbol" ? key : String(key);
214
59
  }
60
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
215
61
 
216
- function __read(o, n) {
217
- var m = typeof Symbol === "function" && o[Symbol.iterator];
218
- if (!m) return o;
219
- var i = m.call(o), r, ar = [], e;
220
- try {
221
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
62
+ function _defineProperty(obj, key, value) {
63
+ key = _toPropertyKey(key);
64
+ if (key in obj) {
65
+ Object.defineProperty(obj, key, {
66
+ value: value,
67
+ enumerable: true,
68
+ configurable: true,
69
+ writable: true
70
+ });
71
+ } else {
72
+ obj[key] = value;
222
73
  }
223
- catch (error) { e = { error: error }; }
224
- finally {
225
- try {
226
- if (r && !r.done && (m = i["return"])) m.call(i);
227
- }
228
- finally { if (e) throw e.error; }
229
- }
230
- return ar;
231
- }
232
-
233
- /** @deprecated */
234
- function __spread() {
235
- for (var ar = [], i = 0; i < arguments.length; i++)
236
- ar = ar.concat(__read(arguments[i]));
237
- return ar;
238
- }
239
-
240
- /** @deprecated */
241
- function __spreadArrays() {
242
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
243
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
244
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
245
- r[k] = a[j];
246
- return r;
74
+ return obj;
247
75
  }
248
-
249
- function __spreadArray(to, from, pack) {
250
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
251
- if (ar || !(i in from)) {
252
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
253
- ar[i] = from[i];
254
- }
255
- }
256
- return to.concat(ar || Array.prototype.slice.call(from));
257
- }
258
-
259
- function __await(v) {
260
- return this instanceof __await ? (this.v = v, this) : new __await(v);
261
- }
262
-
263
- function __asyncGenerator(thisArg, _arguments, generator) {
264
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
265
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
266
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
267
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
268
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
269
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
270
- function fulfill(value) { resume("next", value); }
271
- function reject(value) { resume("throw", value); }
272
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
273
- }
274
-
275
- function __asyncDelegator(o) {
276
- var i, p;
277
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
278
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
279
- }
280
-
281
- function __asyncValues(o) {
282
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
283
- var m = o[Symbol.asyncIterator], i;
284
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
285
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
286
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
287
- }
288
-
289
- function __makeTemplateObject(cooked, raw) {
290
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
291
- return cooked;
292
- };
293
-
294
- var __setModuleDefault = Object.create ? (function(o, v) {
295
- Object.defineProperty(o, "default", { enumerable: true, value: v });
296
- }) : function(o, v) {
297
- o["default"] = v;
298
- };
299
-
300
- function __importStar(mod) {
301
- if (mod && mod.__esModule) return mod;
302
- var result = {};
303
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
304
- __setModuleDefault(result, mod);
305
- return result;
306
- }
307
-
308
- function __importDefault(mod) {
309
- return (mod && mod.__esModule) ? mod : { default: mod };
310
- }
311
-
312
- function __classPrivateFieldGet(receiver, state, kind, f) {
313
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
314
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
315
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
316
- }
317
-
318
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
319
- if (kind === "m") throw new TypeError("Private method is not writable");
320
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
321
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
322
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
323
- }
324
-
325
- function __classPrivateFieldIn(state, receiver) {
326
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
327
- return typeof state === "function" ? receiver === state : state.has(receiver);
328
- }
329
-
330
- function __addDisposableResource(env, value, async) {
331
- if (value !== null && value !== void 0) {
332
- if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
333
- var dispose;
334
- if (async) {
335
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
336
- dispose = value[Symbol.asyncDispose];
337
- }
338
- if (dispose === void 0) {
339
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
340
- dispose = value[Symbol.dispose];
341
- }
342
- if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
343
- env.stack.push({ value: value, dispose: dispose, async: async });
344
- }
345
- else if (async) {
346
- env.stack.push({ async: true });
347
- }
348
- return value;
349
- }
350
-
351
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
352
- var e = new Error(message);
353
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
354
- };
355
-
356
- function __disposeResources(env) {
357
- function fail(e) {
358
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
359
- env.hasError = true;
76
+ ;// CONCATENATED MODULE: external "vue"
77
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
78
+ var y = x => () => x
79
+ const external_vue_namespaceObject = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
80
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
81
+ function _objectWithoutPropertiesLoose(source, excluded) {
82
+ if (source == null) return {};
83
+ var target = {};
84
+ var sourceKeys = Object.keys(source);
85
+ var key, i;
86
+ for (i = 0; i < sourceKeys.length; i++) {
87
+ key = sourceKeys[i];
88
+ if (excluded.indexOf(key) >= 0) continue;
89
+ target[key] = source[key];
360
90
  }
361
- function next() {
362
- while (env.stack.length) {
363
- var rec = env.stack.pop();
364
- try {
365
- var result = rec.dispose && rec.dispose.call(rec.value);
366
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
367
- }
368
- catch (e) {
369
- fail(e);
370
- }
91
+ return target;
92
+ }
93
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
94
+
95
+ function _objectWithoutProperties(source, excluded) {
96
+ if (source == null) return {};
97
+ var target = _objectWithoutPropertiesLoose(source, excluded);
98
+ var key, i;
99
+ if (Object.getOwnPropertySymbols) {
100
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
102
+ key = sourceSymbolKeys[i];
103
+ if (excluded.indexOf(key) >= 0) continue;
104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
+ target[key] = source[key];
371
106
  }
372
- if (env.hasError) throw env.error;
373
107
  }
374
- return next();
108
+ return target;
375
109
  }
376
-
377
- /* harmony default export */ const tslib_es6 = ({
378
- __extends,
379
- __assign,
380
- __rest,
381
- __decorate,
382
- __param,
383
- __metadata,
384
- __awaiter,
385
- __generator,
386
- __createBinding,
387
- __exportStar,
388
- __values,
389
- __read,
390
- __spread,
391
- __spreadArrays,
392
- __spreadArray,
393
- __await,
394
- __asyncGenerator,
395
- __asyncDelegator,
396
- __asyncValues,
397
- __makeTemplateObject,
398
- __importStar,
399
- __importDefault,
400
- __classPrivateFieldGet,
401
- __classPrivateFieldSet,
402
- __classPrivateFieldIn,
403
- __addDisposableResource,
404
- __disposeResources,
405
- });
406
-
407
110
  ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
408
111
 
409
112
 
113
+ var _excluded = ["data", "name", "width", "height", "fill"];
114
+
115
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
116
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
410
117
  /*
411
118
  * Tencent is pleased to support the open source community by making
412
119
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -434,22 +141,22 @@ function __disposeResources(env) {
434
141
  */
435
142
 
436
143
  function generate(node, key, rootAttrs) {
437
- return (0,external_vue_namespaceObject.h)(node.name, Object.assign(Object.assign({
144
+ return (0,external_vue_namespaceObject.h)(node.name, _objectSpread(_objectSpread({
438
145
  key: key
439
- }, node.attributes), {
146
+ }, node.attributes), {}, {
440
147
  style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
441
148
  }), (node.elements || []).map(function (element, index) {
442
149
  return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
443
150
  }));
444
151
  }
445
152
  var bkIcon = function bkIcon(props, context) {
446
- var _a = Object.assign(Object.assign({}, context.attrs), props),
447
- data = _a.data,
448
- name = _a.name,
449
- width = _a.width,
450
- height = _a.height,
451
- fill = _a.fill,
452
- restProps = __rest(_a, ["data", "name", "width", "height", "fill"]);
153
+ var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
154
+ data = _context$attrs$props.data,
155
+ name = _context$attrs$props.name,
156
+ width = _context$attrs$props.width,
157
+ height = _context$attrs$props.height,
158
+ fill = _context$attrs$props.fill,
159
+ restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
453
160
  var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
454
161
  var iconBoxStyle = {
455
162
  display: 'inline-flex',
@@ -466,9 +173,12 @@ bkIcon.displayName = 'bkIcon';
466
173
  ;// CONCATENATED MODULE: ../../packages/icon/icons/bk.tsx
467
174
 
468
175
 
176
+ function bk_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
177
+ function bk_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? bk_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : bk_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
178
+
469
179
  var data = JSON.parse('{"type":"element","name":"svg","attributes":{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M384 289.28c103.50933333333333 18.986666666666665 183.89333333333332 99.37066666666666 202.62399999999997 201.344l5.3759999999999994 37.376c1.664 83.62666666666667 32.59733333333333 159.7013333333333 82.94399999999999 218.70933333333335 32.72533333333333 37.84533333333333 81.024 62.29333333333333 135.08266666666665 63.53066666666667 2.9013333333333335 0.128 6.0586666666666655 0.21333333333333332 9.216 0.21333333333333332 49.834666666666664 0 95.488-17.962666666666664 130.81599999999997-47.78666666666667 47.40266666666666-42.367999999999995 77.312-104.10666666666665 77.312-172.79999999999998 0-13.952-1.2373333333333334-27.562666666666665-3.584-40.831999999999994-15.786666666666665-115.62666666666667-96.29866666666666-210.43200000000002-203.73333333333335-246.91199999999998-5.8453333333333335-59.98933333333333-33.49333333333333-112.21333333333332-75.47733333333332-148.224-37.33333333333333-34.432-87.03999999999999-55.42399999999999-141.61066666666665-55.42399999999999-15.445333333333332 0-30.506666666666664 1.664-45.01333333333333 4.864-50.986666666666665 13.141333333333332-95.01866666666666 42.83733333333333-126.208 83.072-5.333333333333333 6.143999999999999-8.362666666666666 13.568-8.362666666666666 21.674666666666667 0 9.685333333333332 4.309333333333333 18.389333333333333 11.136 24.27733333333333l3.8826666666666663 0.042666666666666665c-16.21333333333333-4.053333333333333-34.901333333333326-6.613333333333333-54.10133333333333-7.04-6.101333333333333-0.38399999999999995-12.927999999999999-0.6399999999999999-19.797333333333334-0.6399999999999999s-13.696 0.21333333333333332-20.43733333333333 0.6826666666666666l0.9386666666666665-10.922666666666666c2.1333333333333333-25.813333333333333 17.194666666666667-47.70133333333334 38.656-59.30666666666666 9.173333333333332-6.015999999999999 14.933333333333332-15.872 14.933333333333332-27.093333333333334 0-17.749333333333333-14.378666666666668-32.128-32.128-32.128-6.528 0-12.629333333333332 1.9626666666666666-17.706666666666663 5.333333333333333-21.290666666666667 13.653333333333332-38.18666666666667 32.81066666666666-48.81066666666666 55.42399999999999-15.274666666666665-6.442666666666666-32.85333333333333-10.709333333333333-51.413333333333334-10.709333333333333-8.661333333333333 0-17.109333333333332 0.9386666666666665-25.258666666666663 2.6879999999999997-14.037333333333333 3.1999999999999997-24.959999999999997 16.256-24.959999999999997 31.872 0 18.090666666666664 14.677333333333332 32.768 32.768 32.768 2.474666666666667 0 4.906666666666666-0.29866666666666664 7.253333333333334-0.8106666666666666 2.1333333333333333-0.29866666666666664 4.8213333333333335-0.512 7.552-0.512 18.048 0 34.176 8.405333333333333 44.629333333333335 21.546666666666667l0.08533333333333333 0.128c-122.24000000000001 28.16-197.12 139.51999999999998-240 236.79999999999998-33.28 74.88-80.63999999999999 215.67999999999998-24.319999999999997 316.79999999999995 29.610666666666663 61.056 88.96 103.55199999999999 158.72 108.75733333333332l704.64 0.042666666666666665c17.663999999999998 0 32-14.336 32-32s-14.336-32-32-32h-704c-46.848-4.906666666666666-85.80266666666667-34.474666666666664-103.97866666666665-75.34933333333333-44.50133333333333-80.17066666666666 3.498666666666667-208.81066666666666 26.538666666666664-260.65066666666667 65.91999999999999-147.2 156.79999999999998-217.59999999999997 275.84-206.71999999999997zM480 229.12c22.826666666666668-30.976 55.296-53.63199999999999 92.88533333333334-63.744 10.069333333333333-2.1759999999999997 20.266666666666666-3.2426666666666666 30.72-3.2426666666666666 37.888 0 72.448 14.250666666666667 98.60266666666666 37.67466666666667 31.786666666666665 28.8 51.754666666666665 70.39999999999999 51.754666666666665 116.69333333333333 0 1.2373333333333334 0 2.474666666666667-0.042666666666666665 3.7119999999999997l0 32.46933333333333 24.959999999999997 3.84c95.27466666666666 23.296 167.25333333333333 101.50399999999999 180.992 198.4 1.92 10.495999999999999 2.944 21.119999999999997 2.944 32 0 52.522666666666666-23.59466666666667 99.49866666666665-60.75733333333333 130.98666666666665-21.503999999999998 16.554666666666666-48.512 26.368-77.824 26.368-4.224 0-8.448-0.21333333333333332-12.586666666666666-0.5973333333333333 0.512 0.042666666666666665 0.512 0.042666666666666665 0.512 0.042666666666666665-35.583999999999996 0-67.54133333333333-15.530666666666665-89.472-40.19199999999999-39.38133333333333-48.768-63.40266666666666-111.18933333333332-64.08533333333332-179.15733333333333l-5.76-42.410666666666664c-22.954666666666668-111.744-100.30933333333333-201.38666666666666-202.58133333333333-241.152-1.1093333333333333-0.6399999999999999 0.21333333333333332-0.5546666666666666 1.5359999999999998-0.5546666666666666 10.239999999999998 0 19.413333333333334-4.522666666666666 25.599999999999998-11.690666666666667z"}}]}');
470
180
  var bk = function bk(props, context) {
471
- var p = Object.assign(Object.assign({}, props), context.attrs);
181
+ var p = bk_objectSpread(bk_objectSpread({}, props), context.attrs);
472
182
  return (0,external_vue_namespaceObject.createVNode)(icon, (0,external_vue_namespaceObject.mergeProps)(p, {
473
183
  "data": data,
474
184
  "name": "bk"