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
@@ -28,385 +28,92 @@ __webpack_require__.d(__webpack_exports__, {
28
28
  Z: () => (/* binding */ icons_assistant)
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/assistant.tsx
467
174
 
468
175
 
176
+ function assistant_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 assistant_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? assistant_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : assistant_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":"M872.2005344 454.6197344C868.4842656 256.2432 714.7029344 96 525.8666656 96L498.1333344 96C309.29706656 96 155.51573344 256.2432 151.79946656 454.592 118.6304 473.8112 96 509.2821344 96 550.2997344L96 605.7664C96 666.9461344 145.7536 716.6997344 206.93333344 716.6997344 268.11306656 716.6997344 317.86666656 666.9461344 317.86666656 605.7664L317.86666656 550.2997344C317.7785456 489.497792 268.78616896 440.0849856 207.9872 439.4773344 218.83093344 278.76266656 344.6570656 151.46666656 498.1333344 151.46666656L525.8666656 151.46666656C679.3706656 151.46666656 805.1690656 278.76266656 816.0128 439.4773344 755.2138304 440.0849856 706.2214528 489.497792 706.1333344 550.2997344L706.1333344 605.7664C706.1333344 655.8528 739.6906656 697.7856 785.3397344 711.5136 744.1415296 765.7429664 685.3117728 803.896976 618.9952 819.3962656 609.606016 791.2394976 583.2809152 772.2269248 553.6 772.1664 515.308256 772.1664 484.2666656 803.2079904 484.2666656 841.4997344 484.2666656 879.7914752 515.308256 910.8330656 553.6 910.8330656 577.6172576 910.8011136 599.8929248 898.2927104 612.4224 877.8026656 713.585648 860.1046336 801.8067392 798.720208 853.5637344 710.016 896.7722656 694.8736 928 654.1056 928 605.7664L928 550.2997344C928 509.2821344 905.3696 473.8112 872.2005344 454.6197344ZM262.4 550.2997344L262.4 605.7664C262.4 636.3562656 237.5232 661.2330656 206.93333344 661.2330656 176.34346656 661.2330656 151.46666656 636.3562656 151.46666656 605.7664L151.46666656 550.2997344C151.46666656 519.7098656 176.34346656 494.8330656 206.93333344 494.8330656 237.5232 494.8330656 262.4 519.7098656 262.4 550.2997344ZM872.5333344 605.7664C872.5333344 635.4965344 848.96 659.6522656 819.5626656 660.9834656L817.3994656 659.9573344C817.2053344 660.4010656 816.9002656 660.7616 816.7061344 661.1776 786.235248 660.9795488 761.6298272 636.2379136 761.6 605.7664L761.6 550.2997344C761.6 519.7098656 786.4768 494.8330656 817.0666656 494.8330656 847.6565344 494.8330656 872.5333344 519.7098656 872.5333344 550.2997344L872.5333344 605.7664Z"}}]}');
470
180
  var assistant = function assistant(props, context) {
471
- var p = Object.assign(Object.assign({}, props), context.attrs);
181
+ var p = assistant_objectSpread(assistant_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": "assistant"