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.
- package/dist/index.cjs.js +48 -48
- package/dist/index.esm.js +8323 -8377
- package/dist/index.umd.js +48 -48
- package/lib/affix/index.js +5 -3
- package/lib/alert/index.js +2 -3
- package/lib/backtop/index.js +2 -2
- package/lib/badge/index.js +3 -4
- package/lib/breadcrumb/index.js +4 -4
- package/lib/button/index.js +6 -6
- package/lib/card/index.js +16 -5
- package/lib/cascader/index.js +70 -53
- package/lib/checkbox/index.js +4 -4
- package/lib/collapse/index.js +58 -6
- package/lib/color-picker/index.js +14 -11
- package/lib/config-provider/index.js +51 -3
- package/lib/container/index.js +55 -7
- package/lib/date-picker/index.js +202 -156
- package/lib/dialog/index.js +140 -431
- package/lib/directives/index.js +59 -19
- package/lib/dropdown/index.js +8 -8
- package/lib/exception/index.js +5 -5
- package/lib/form/index.js +22 -16
- package/lib/icon/angle-double-down-line.js +84 -374
- package/lib/icon/angle-double-left-line.js +84 -374
- package/lib/icon/angle-double-left.js +84 -374
- package/lib/icon/angle-double-right-line.js +84 -374
- package/lib/icon/angle-double-right.js +84 -374
- package/lib/icon/angle-double-up-line.js +84 -374
- package/lib/icon/angle-down-fill.js +84 -374
- package/lib/icon/angle-down-line.js +84 -374
- package/lib/icon/angle-down.js +84 -374
- package/lib/icon/angle-left.js +84 -374
- package/lib/icon/angle-right.js +84 -374
- package/lib/icon/angle-up-fill.js +84 -374
- package/lib/icon/angle-up.js +84 -374
- package/lib/icon/archive-fill.js +84 -374
- package/lib/icon/arrows-left.js +84 -374
- package/lib/icon/arrows-right.js +84 -374
- package/lib/icon/assistant.js +84 -374
- package/lib/icon/audio-fill.js +84 -374
- package/lib/icon/bk.js +84 -374
- package/lib/icon/circle.js +84 -374
- package/lib/icon/close-line.js +84 -374
- package/lib/icon/close.js +84 -374
- package/lib/icon/code.js +84 -374
- package/lib/icon/cog-shape.js +84 -374
- package/lib/icon/collapse-left.js +84 -374
- package/lib/icon/copy-shape.js +84 -374
- package/lib/icon/copy.js +84 -374
- package/lib/icon/data-shape.js +84 -374
- package/lib/icon/del.js +84 -374
- package/lib/icon/doc-fill.js +84 -374
- package/lib/icon/done.js +84 -374
- package/lib/icon/down-shape.js +84 -374
- package/lib/icon/down-small.js +84 -374
- package/lib/icon/edit-line.js +84 -374
- package/lib/icon/ellipsis.js +84 -374
- package/lib/icon/enlarge-line.js +84 -374
- package/lib/icon/error.js +84 -374
- package/lib/icon/excel-fill.js +84 -374
- package/lib/icon/exclamation-circle-shape.js +84 -374
- package/lib/icon/eye.js +84 -374
- package/lib/icon/filliscreen-line.js +84 -374
- package/lib/icon/fix-line.js +84 -374
- package/lib/icon/fix-shape.js +84 -374
- package/lib/icon/folder-open.js +84 -374
- package/lib/icon/folder-shape-open.js +84 -374
- package/lib/icon/folder-shape.js +84 -374
- package/lib/icon/folder.js +84 -374
- package/lib/icon/funnel.js +84 -374
- package/lib/icon/help-document-fill.js +84 -374
- package/lib/icon/help-fill.js +84 -374
- package/lib/icon/help.js +84 -374
- package/lib/icon/image-fill.js +131 -382
- package/lib/icon/img-error.js +131 -382
- package/lib/icon/img-placehoulder.js +131 -382
- package/lib/icon/index.js +563 -531
- package/lib/icon/info-line.js +131 -382
- package/lib/icon/info.js +131 -382
- package/lib/icon/left-shape.js +131 -382
- package/lib/icon/left-turn-line.js +131 -382
- package/lib/icon/narrow-line.js +131 -382
- package/lib/icon/original.js +131 -382
- package/lib/icon/pdf-fill.js +131 -382
- package/lib/icon/play-shape.js +131 -382
- package/lib/icon/plus.js +131 -382
- package/lib/icon/ppt-fill.js +131 -382
- package/lib/icon/qq.js +131 -382
- package/lib/icon/right-shape.js +131 -382
- package/lib/icon/right-turn-line.js +131 -382
- package/lib/icon/search.js +131 -382
- package/lib/icon/share.js +131 -382
- package/lib/icon/spinner.js +131 -382
- package/lib/icon/success.js +131 -382
- package/lib/icon/switcher-loading.js +131 -382
- package/lib/icon/text-file.js +131 -382
- package/lib/icon/text-fill.js +131 -382
- package/lib/icon/transfer.js +131 -382
- package/lib/icon/tree-application-shape.js +131 -382
- package/lib/icon/unfull-screen.js +131 -382
- package/lib/icon/unvisible.js +131 -382
- package/lib/icon/up-shape.js +131 -382
- package/lib/icon/upload.js +131 -382
- package/lib/icon/video-fill.js +131 -382
- package/lib/icon/warn.js +131 -382
- package/lib/icon/weixin-pro.js +131 -382
- package/lib/icon/weixin.js +131 -382
- package/lib/image/index.js +57 -9
- package/lib/info-box/index.js +145 -436
- package/lib/input/index.js +105 -415
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +18 -16
- package/lib/menu/index.js +22 -23
- package/lib/message/index.js +62 -57
- package/lib/modal/index.js +77 -18
- package/lib/navigation/index.js +11 -11
- package/lib/notify/index.js +51 -48
- package/lib/overflow-title/index.js +6 -5
- package/lib/plugin-popover/index.js +202 -364
- package/lib/popover/index.js +202 -364
- package/lib/process/index.js +55 -395
- package/lib/progress/index.js +51 -48
- package/lib/radio/index.js +4 -4
- package/lib/rate/index.js +2 -2
- package/lib/resize-layout/index.js +4 -5
- package/lib/search-select/index.js +179 -486
- package/lib/select/index.js +148 -479
- package/lib/shared/index.js +176 -352
- package/lib/sideslider/index.js +82 -373
- package/lib/slider/index.js +48 -386
- package/lib/steps/index.js +67 -405
- package/lib/swiper/index.js +10 -10
- package/lib/switcher/index.js +2 -2
- package/lib/tab/index.js +63 -8
- package/lib/table/index.js +262 -424
- package/lib/table-column/index.js +7 -6
- package/lib/tag/index.js +2 -2
- package/lib/tag-input/index.js +29 -21
- package/lib/timeline/index.js +6 -7
- package/lib/transfer/index.js +8 -8
- package/lib/tree/index.js +139 -319
- package/lib/upload/index.js +104 -423
- package/lib/virtual-render/index.js +60 -16
- package/package.json +2 -1
package/lib/icon/data-shape.js
CHANGED
@@ -28,385 +28,92 @@ __webpack_require__.d(__webpack_exports__, {
|
|
28
28
|
Z: () => (/* binding */ data_shape)
|
29
29
|
});
|
30
30
|
|
31
|
-
;// CONCATENATED MODULE:
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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
|
205
|
-
var
|
206
|
-
|
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
|
217
|
-
|
218
|
-
if (
|
219
|
-
|
220
|
-
|
221
|
-
|
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
|
-
|
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
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
}
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
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
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
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
|
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,
|
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
|
447
|
-
data =
|
448
|
-
name =
|
449
|
-
width =
|
450
|
-
height =
|
451
|
-
fill =
|
452
|
-
restProps =
|
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/data-shape.tsx
|
467
174
|
|
468
175
|
|
176
|
+
function data_shape_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 data_shape_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? data_shape_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : data_shape_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 1170.2857142857142","style":"width: 1em; height: 1em; vertical-align: middle;fill: currentColor;overflow: hidden;"},"elements":[{"type":"element","name":"path","attributes":{"d":"M176.27428571428572 248.68571428571425c100.74209523809523 24.673523809523807 216.40533333333332 38.863238095238096 335.335619047619 38.863238095238096s234.5935238095238-14.14095238095238 345.38057142857144-40.86247619047619c106.30095238095238-27.209142857142858 167.00952380952378-74.02057142857143 167.00952380952378-100.35199999999999 0-49.00571428571428-180.66285714285715-146.28571428571428-512-146.28571428571428s-512 95.81714285714285-512 146.28571428571428c0 26.33142857142857 60.70857142857143 73.14285714285714 176.27428571428572 102.4z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 923.7942857142857c-99.2304761904762 25.6-213.13828571428573 40.27733333333333-330.45942857142853 40.27733333333333-4.924952380952381 0-9.849904761904762-0.04876190476190476-14.774857142857142-0.09752380952380953-3.4620952380952374 0.04876190476190476-8.387047619047618 0.09752380952380953-13.360761904761905 0.09752380952380953-117.32114285714286 0-231.18019047619046-14.677333333333332-339.87047619047615-42.37409523809524-113.37142857142858 37.156571428571425-157.98857142857142 81.77371428571428-157.98857142857142 102.25371428571428 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-20.479999999999997-44.61714285714286-65.09714285714286-167.49714285714285-100.2057142857143z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 626.8342857142857c-103.37523809523809 25.063619047619046-222.0617142857143 39.44838095238095-344.16152380952377 39.44838095238095s-240.73752380952382-14.384761904761904-354.4990476190476-41.54514285714286c-113.27390476190476 37.20533333333333-157.8910476190476 82.55390476190476-157.8910476190476 106.69104761904762 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.08571428571427 512-146.28571428571428c0-24.137142857142855-44.61714285714286-69.48571428571428-167.49714285714285-104.5942857142857z"}},{"type":"element","name":"path","attributes":{"d":"M856.5028571428571 332.0685714285714h-13.165714285714285c-99.42552380952381 25.40495238095238-213.62590476190476 40.03352380952381-331.23961904761904 40.22857142857142-3.072 0-6.534095238095238 0.04876190476190476-10.04495238095238 0.04876190476190476-114.00533333333333 0-224.88990476190475-13.604571428571429-330.9958095238095-39.30209523809524l-2.8769523809523805 1.9504761904761905c-123.61142857142858 30.72-168.22857142857143 77.53142857142858-168.22857142857143 99.47428571428571 0 49.00571428571428 180.66285714285715 146.28571428571428 512 146.28571428571428s512-95.81714285714285 512-146.28571428571428c0-21.942857142857143-44.61714285714286-68.7542857142857-167.49714285714285-102.4z"}}]}');
|
470
180
|
var dataShape = function dataShape(props, context) {
|
471
|
-
var p =
|
181
|
+
var p = data_shape_objectSpread(data_shape_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": "dataShape"
|