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/code.js
CHANGED
@@ -28,385 +28,92 @@ __webpack_require__.d(__webpack_exports__, {
|
|
28
28
|
Z: () => (/* binding */ icons_code)
|
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/code.tsx
|
467
174
|
|
468
175
|
|
176
|
+
function code_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 code_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? code_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : code_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":"M1011.1999999999999 489.59999999999997l-224-224c-12.799999999999999-12.799999999999999-32.64-12.799999999999999-45.44 0s-12.799999999999999 32.64 0 45.44l201.59999999999997 200.95999999999998-201.59999999999997 201.59999999999997c-12.799999999999999 12.799999999999999-12.799999999999999 32.64 0 45.44 6.3999999999999995 6.3999999999999995 14.719999999999999 9.6 22.4 9.6s16.64-3.1999999999999997 22.4-9.6l224-224c12.799999999999999-12.799999999999999 12.799999999999999-33.28 0.6399999999999999-45.44z"}},{"type":"element","name":"path","attributes":{"d":"M282.24 265.59999999999997c-12.799999999999999-12.799999999999999-32.64-12.799999999999999-45.44 0l-224 224c-12.799999999999999 12.799999999999999-12.799999999999999 32.64 0 45.44l224 224c6.3999999999999995 5.76 14.719999999999999 8.959999999999999 23.04 8.959999999999999s16.64-3.1999999999999997 22.4-9.6c12.799999999999999-12.799999999999999 12.799999999999999-32.64 0-45.44l-201.59999999999997-200.95999999999998 201.59999999999997-201.59999999999997c12.159999999999998-12.159999999999998 12.159999999999998-32.64 0-44.8z"}},{"type":"element","name":"path","attributes":{"d":"M616.3199999999999 129.27999999999997c-16.64-5.119999999999999-34.56 5.119999999999999-39.04 22.4l-192 704c-4.4799999999999995 17.28 5.119999999999999 34.56 22.4 39.04 2.5599999999999996 0.6399999999999999 5.76 1.2799999999999998 8.32 1.2799999999999998 14.08 0 26.88-9.6 30.72-23.68l192-704c4.4799999999999995-16.64-5.119999999999999-34.56-22.4-39.04z"}}]}');
|
470
180
|
var code = function code(props, context) {
|
471
|
-
var p =
|
181
|
+
var p = code_objectSpread(code_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": "code"
|