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
@@ -1,7 +1,7 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
- /***/ 2439:
4
+ /***/ 5226:
5
5
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
6
6
 
7
7
 
@@ -10,383 +10,47 @@ __webpack_require__.d(__webpack_exports__, {
10
10
  Z: () => (/* binding */ icon)
11
11
  });
12
12
 
13
- // EXTERNAL MODULE: external "vue"
14
- var external_vue_ = __webpack_require__(6609);
15
- ;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
16
- /******************************************************************************
17
- Copyright (c) Microsoft Corporation.
18
-
19
- Permission to use, copy, modify, and/or distribute this software for any
20
- purpose with or without fee is hereby granted.
21
-
22
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
23
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
24
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
25
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
26
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
27
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
28
- PERFORMANCE OF THIS SOFTWARE.
29
- ***************************************************************************** */
30
- /* global Reflect, Promise, SuppressedError, Symbol */
31
-
32
- var extendStatics = function(d, b) {
33
- extendStatics = Object.setPrototypeOf ||
34
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
35
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
36
- return extendStatics(d, b);
37
- };
38
-
39
- function __extends(d, b) {
40
- if (typeof b !== "function" && b !== null)
41
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
42
- extendStatics(d, b);
43
- function __() { this.constructor = d; }
44
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
45
- }
46
-
47
- var __assign = function() {
48
- __assign = Object.assign || function __assign(t) {
49
- for (var s, i = 1, n = arguments.length; i < n; i++) {
50
- s = arguments[i];
51
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
52
- }
53
- return t;
54
- }
55
- return __assign.apply(this, arguments);
56
- }
57
-
58
- function __rest(s, e) {
59
- var t = {};
60
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
61
- t[p] = s[p];
62
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
63
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
64
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
65
- t[p[i]] = s[p[i]];
66
- }
67
- return t;
68
- }
69
-
70
- function __decorate(decorators, target, key, desc) {
71
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
72
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
73
- 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;
74
- return c > 3 && r && Object.defineProperty(target, key, r), r;
75
- }
76
-
77
- function __param(paramIndex, decorator) {
78
- return function (target, key) { decorator(target, key, paramIndex); }
79
- }
80
-
81
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
82
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
83
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
84
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
85
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
86
- var _, done = false;
87
- for (var i = decorators.length - 1; i >= 0; i--) {
88
- var context = {};
89
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
90
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
91
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
92
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
93
- if (kind === "accessor") {
94
- if (result === void 0) continue;
95
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
96
- if (_ = accept(result.get)) descriptor.get = _;
97
- if (_ = accept(result.set)) descriptor.set = _;
98
- if (_ = accept(result.init)) initializers.unshift(_);
99
- }
100
- else if (_ = accept(result)) {
101
- if (kind === "field") initializers.unshift(_);
102
- else descriptor[key] = _;
103
- }
104
- }
105
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
106
- done = true;
107
- };
108
-
109
- function __runInitializers(thisArg, initializers, value) {
110
- var useValue = arguments.length > 2;
111
- for (var i = 0; i < initializers.length; i++) {
112
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
113
- }
114
- return useValue ? value : void 0;
115
- };
116
-
117
- function __propKey(x) {
118
- return typeof x === "symbol" ? x : "".concat(x);
119
- };
120
-
121
- function __setFunctionName(f, name, prefix) {
122
- if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
123
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
124
- };
125
-
126
- function __metadata(metadataKey, metadataValue) {
127
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
128
- }
129
-
130
- function __awaiter(thisArg, _arguments, P, generator) {
131
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
132
- return new (P || (P = Promise))(function (resolve, reject) {
133
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
134
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
135
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
136
- step((generator = generator.apply(thisArg, _arguments || [])).next());
137
- });
138
- }
139
-
140
- function __generator(thisArg, body) {
141
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
142
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
143
- function verb(n) { return function (v) { return step([n, v]); }; }
144
- function step(op) {
145
- if (f) throw new TypeError("Generator is already executing.");
146
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
147
- 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;
148
- if (y = 0, t) op = [op[0] & 2, t.value];
149
- switch (op[0]) {
150
- case 0: case 1: t = op; break;
151
- case 4: _.label++; return { value: op[1], done: false };
152
- case 5: _.label++; y = op[1]; op = [0]; continue;
153
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
154
- default:
155
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
156
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
157
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
158
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
159
- if (t[2]) _.ops.pop();
160
- _.trys.pop(); continue;
161
- }
162
- op = body.call(thisArg, _);
163
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
164
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
165
- }
166
- }
167
-
168
- var __createBinding = Object.create ? (function(o, m, k, k2) {
169
- if (k2 === undefined) k2 = k;
170
- var desc = Object.getOwnPropertyDescriptor(m, k);
171
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
172
- desc = { enumerable: true, get: function() { return m[k]; } };
173
- }
174
- Object.defineProperty(o, k2, desc);
175
- }) : (function(o, m, k, k2) {
176
- if (k2 === undefined) k2 = k;
177
- o[k2] = m[k];
178
- });
179
-
180
- function __exportStar(m, o) {
181
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
182
- }
183
-
184
- function __values(o) {
185
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
186
- if (m) return m.call(o);
187
- if (o && typeof o.length === "number") return {
188
- next: function () {
189
- if (o && i >= o.length) o = void 0;
190
- return { value: o && o[i++], done: !o };
191
- }
192
- };
193
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
194
- }
195
-
196
- function __read(o, n) {
197
- var m = typeof Symbol === "function" && o[Symbol.iterator];
198
- if (!m) return o;
199
- var i = m.call(o), r, ar = [], e;
200
- try {
201
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
202
- }
203
- catch (error) { e = { error: error }; }
204
- finally {
205
- try {
206
- if (r && !r.done && (m = i["return"])) m.call(i);
207
- }
208
- finally { if (e) throw e.error; }
209
- }
210
- return ar;
211
- }
212
-
213
- /** @deprecated */
214
- function __spread() {
215
- for (var ar = [], i = 0; i < arguments.length; i++)
216
- ar = ar.concat(__read(arguments[i]));
217
- return ar;
218
- }
219
-
220
- /** @deprecated */
221
- function __spreadArrays() {
222
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
223
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
224
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
225
- r[k] = a[j];
226
- return r;
227
- }
228
-
229
- function __spreadArray(to, from, pack) {
230
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
231
- if (ar || !(i in from)) {
232
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
233
- ar[i] = from[i];
234
- }
13
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
14
+ function _objectWithoutPropertiesLoose(source, excluded) {
15
+ if (source == null) return {};
16
+ var target = {};
17
+ var sourceKeys = Object.keys(source);
18
+ var key, i;
19
+ for (i = 0; i < sourceKeys.length; i++) {
20
+ key = sourceKeys[i];
21
+ if (excluded.indexOf(key) >= 0) continue;
22
+ target[key] = source[key];
235
23
  }
236
- return to.concat(ar || Array.prototype.slice.call(from));
237
- }
238
-
239
- function __await(v) {
240
- return this instanceof __await ? (this.v = v, this) : new __await(v);
241
- }
242
-
243
- function __asyncGenerator(thisArg, _arguments, generator) {
244
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
245
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
246
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
247
- 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); }); }; }
248
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
249
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
250
- function fulfill(value) { resume("next", value); }
251
- function reject(value) { resume("throw", value); }
252
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
24
+ return target;
253
25
  }
254
-
255
- function __asyncDelegator(o) {
256
- var i, p;
257
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
258
- 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; }
259
- }
260
-
261
- function __asyncValues(o) {
262
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
263
- var m = o[Symbol.asyncIterator], i;
264
- 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);
265
- 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); }); }; }
266
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
267
- }
268
-
269
- function __makeTemplateObject(cooked, raw) {
270
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
271
- return cooked;
272
- };
273
-
274
- var __setModuleDefault = Object.create ? (function(o, v) {
275
- Object.defineProperty(o, "default", { enumerable: true, value: v });
276
- }) : function(o, v) {
277
- o["default"] = v;
278
- };
279
-
280
- function __importStar(mod) {
281
- if (mod && mod.__esModule) return mod;
282
- var result = {};
283
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
284
- __setModuleDefault(result, mod);
285
- return result;
286
- }
287
-
288
- function __importDefault(mod) {
289
- return (mod && mod.__esModule) ? mod : { default: mod };
290
- }
291
-
292
- function __classPrivateFieldGet(receiver, state, kind, f) {
293
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
294
- 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");
295
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
296
- }
297
-
298
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
299
- if (kind === "m") throw new TypeError("Private method is not writable");
300
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
301
- 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");
302
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
303
- }
304
-
305
- function __classPrivateFieldIn(state, receiver) {
306
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
307
- return typeof state === "function" ? receiver === state : state.has(receiver);
308
- }
309
-
310
- function __addDisposableResource(env, value, async) {
311
- if (value !== null && value !== void 0) {
312
- if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
313
- var dispose;
314
- if (async) {
315
- if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
316
- dispose = value[Symbol.asyncDispose];
317
- }
318
- if (dispose === void 0) {
319
- if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
320
- dispose = value[Symbol.dispose];
321
- }
322
- if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
323
- env.stack.push({ value: value, dispose: dispose, async: async });
324
- }
325
- else if (async) {
326
- env.stack.push({ async: true });
327
- }
328
- return value;
329
- }
330
-
331
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
332
- var e = new Error(message);
333
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
334
- };
335
-
336
- function __disposeResources(env) {
337
- function fail(e) {
338
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
339
- env.hasError = true;
340
- }
341
- function next() {
342
- while (env.stack.length) {
343
- var rec = env.stack.pop();
344
- try {
345
- var result = rec.dispose && rec.dispose.call(rec.value);
346
- if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
347
- }
348
- catch (e) {
349
- fail(e);
350
- }
26
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
27
+
28
+ function _objectWithoutProperties(source, excluded) {
29
+ if (source == null) return {};
30
+ var target = _objectWithoutPropertiesLoose(source, excluded);
31
+ var key, i;
32
+ if (Object.getOwnPropertySymbols) {
33
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
34
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
35
+ key = sourceSymbolKeys[i];
36
+ if (excluded.indexOf(key) >= 0) continue;
37
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
38
+ target[key] = source[key];
351
39
  }
352
- if (env.hasError) throw env.error;
353
40
  }
354
- return next();
41
+ return target;
355
42
  }
356
-
357
- /* harmony default export */ const tslib_es6 = ({
358
- __extends,
359
- __assign,
360
- __rest,
361
- __decorate,
362
- __param,
363
- __metadata,
364
- __awaiter,
365
- __generator,
366
- __createBinding,
367
- __exportStar,
368
- __values,
369
- __read,
370
- __spread,
371
- __spreadArrays,
372
- __spreadArray,
373
- __await,
374
- __asyncGenerator,
375
- __asyncDelegator,
376
- __asyncValues,
377
- __makeTemplateObject,
378
- __importStar,
379
- __importDefault,
380
- __classPrivateFieldGet,
381
- __classPrivateFieldSet,
382
- __classPrivateFieldIn,
383
- __addDisposableResource,
384
- __disposeResources,
385
- });
386
-
43
+ // EXTERNAL MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
44
+ var defineProperty = __webpack_require__(6666);
45
+ // EXTERNAL MODULE: external "vue"
46
+ var external_vue_ = __webpack_require__(6609);
387
47
  ;// CONCATENATED MODULE: ../../packages/icon/icons/icon.tsx
388
48
 
389
49
 
50
+ var _excluded = ["data", "name", "width", "height", "fill"];
51
+
52
+ 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; }
53
+ 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) { (0,defineProperty/* default */.Z)(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; }
390
54
  /*
391
55
  * Tencent is pleased to support the open source community by making
392
56
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -414,22 +78,22 @@ function __disposeResources(env) {
414
78
  */
415
79
 
416
80
  function generate(node, key, rootAttrs) {
417
- return (0,external_vue_.h)(node.name, Object.assign(Object.assign({
81
+ return (0,external_vue_.h)(node.name, _objectSpread(_objectSpread({
418
82
  key: key
419
- }, node.attributes), {
83
+ }, node.attributes), {}, {
420
84
  style: "".concat(node.attributes.style, " ").concat(rootAttrs || '')
421
85
  }), (node.elements || []).map(function (element, index) {
422
86
  return generate(element, "".concat(key, "-").concat(node.name, "-").concat(index));
423
87
  }));
424
88
  }
425
89
  var bkIcon = function bkIcon(props, context) {
426
- var _a = Object.assign(Object.assign({}, context.attrs), props),
427
- data = _a.data,
428
- name = _a.name,
429
- width = _a.width,
430
- height = _a.height,
431
- fill = _a.fill,
432
- restProps = __rest(_a, ["data", "name", "width", "height", "fill"]);
90
+ var _context$attrs$props = _objectSpread(_objectSpread({}, context.attrs), props),
91
+ data = _context$attrs$props.data,
92
+ name = _context$attrs$props.name,
93
+ width = _context$attrs$props.width,
94
+ height = _context$attrs$props.height,
95
+ fill = _context$attrs$props.fill,
96
+ restProps = _objectWithoutProperties(_context$attrs$props, _excluded);
433
97
  var rootAttrs = "width: ".concat(width, "; height: ").concat(height, "; fill: ").concat(fill);
434
98
  var iconBoxStyle = {
435
99
  display: 'inline-flex',
@@ -453,6 +117,87 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
453
117
  var y = x => () => x
454
118
  module.exports = x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
455
119
 
120
+ /***/ }),
121
+
122
+ /***/ 6666:
123
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
124
+
125
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
126
+ /* harmony export */ Z: () => (/* binding */ _defineProperty)
127
+ /* harmony export */ });
128
+ /* harmony import */ var _toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3795);
129
+
130
+ function _defineProperty(obj, key, value) {
131
+ key = (0,_toPropertyKey_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(key);
132
+ if (key in obj) {
133
+ Object.defineProperty(obj, key, {
134
+ value: value,
135
+ enumerable: true,
136
+ configurable: true,
137
+ writable: true
138
+ });
139
+ } else {
140
+ obj[key] = value;
141
+ }
142
+ return obj;
143
+ }
144
+
145
+ /***/ }),
146
+
147
+ /***/ 9745:
148
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
149
+
150
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
151
+ /* harmony export */ Z: () => (/* binding */ _toPrimitive)
152
+ /* harmony export */ });
153
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6522);
154
+
155
+ function _toPrimitive(input, hint) {
156
+ if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(input) !== "object" || input === null) return input;
157
+ var prim = input[Symbol.toPrimitive];
158
+ if (prim !== undefined) {
159
+ var res = prim.call(input, hint || "default");
160
+ if ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(res) !== "object") return res;
161
+ throw new TypeError("@@toPrimitive must return a primitive value.");
162
+ }
163
+ return (hint === "string" ? String : Number)(input);
164
+ }
165
+
166
+ /***/ }),
167
+
168
+ /***/ 3795:
169
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
170
+
171
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
172
+ /* harmony export */ Z: () => (/* binding */ _toPropertyKey)
173
+ /* harmony export */ });
174
+ /* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6522);
175
+ /* harmony import */ var _toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9745);
176
+
177
+
178
+ function _toPropertyKey(arg) {
179
+ var key = (0,_toPrimitive_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(arg, "string");
180
+ return (0,_typeof_js__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(key) === "symbol" ? key : String(key);
181
+ }
182
+
183
+ /***/ }),
184
+
185
+ /***/ 6522:
186
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
187
+
188
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
189
+ /* harmony export */ Z: () => (/* binding */ _typeof)
190
+ /* harmony export */ });
191
+ function _typeof(obj) {
192
+ "@babel/helpers - typeof";
193
+
194
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
195
+ return typeof obj;
196
+ } : function (obj) {
197
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
198
+ }, _typeof(obj);
199
+ }
200
+
456
201
  /***/ })
457
202
 
458
203
  /******/ });
@@ -506,14 +251,18 @@ var __webpack_exports__ = {};
506
251
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
507
252
  /* harmony export */ Z: () => (__WEBPACK_DEFAULT_EXPORT__)
508
253
  /* harmony export */ });
254
+ /* harmony import */ var _babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6666);
509
255
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6609);
510
- /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(2439);
256
+ /* harmony import */ var _icon__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(5226);
257
+
511
258
 
259
+ 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; }
260
+ 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) { (0,_babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z)(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; }
512
261
 
513
262
  var data = JSON.parse('{"type":"element","name":"svg","attributes":{"aria-hidden":"true","class":"anticon-spin","data-icon":"loading","viewBox":"0 0 1024 1024","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3 0.1 19.9-16 36-35.9 36z"}}]}');
514
263
  var switcherLoading = function switcherLoading(props, context) {
515
- var p = Object.assign(Object.assign({}, props), context.attrs);
516
- return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_icon__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)(p, {
264
+ var p = _objectSpread(_objectSpread({}, props), context.attrs);
265
+ return (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)(_icon__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Z, (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)(p, {
517
266
  "data": data,
518
267
  "name": "switcherLoading"
519
268
  }), null);