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/sideslider/index.js
CHANGED
@@ -423,385 +423,89 @@ __webpack_require__.d(__webpack_exports__, {
|
|
423
423
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
424
424
|
var y = x => () => x
|
425
425
|
const external_shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
426
|
-
;// CONCATENATED MODULE:
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
/******************************************************************************
|
435
|
-
Copyright (c) Microsoft Corporation.
|
436
|
-
|
437
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
438
|
-
purpose with or without fee is hereby granted.
|
439
|
-
|
440
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
441
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
442
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
443
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
444
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
445
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
446
|
-
PERFORMANCE OF THIS SOFTWARE.
|
447
|
-
***************************************************************************** */
|
448
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
449
|
-
|
450
|
-
var extendStatics = function(d, b) {
|
451
|
-
extendStatics = Object.setPrototypeOf ||
|
452
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
453
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
454
|
-
return extendStatics(d, b);
|
455
|
-
};
|
456
|
-
|
457
|
-
function __extends(d, b) {
|
458
|
-
if (typeof b !== "function" && b !== null)
|
459
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
460
|
-
extendStatics(d, b);
|
461
|
-
function __() { this.constructor = d; }
|
462
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
463
|
-
}
|
464
|
-
|
465
|
-
var __assign = function() {
|
466
|
-
__assign = Object.assign || function __assign(t) {
|
467
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
468
|
-
s = arguments[i];
|
469
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
470
|
-
}
|
471
|
-
return t;
|
472
|
-
}
|
473
|
-
return __assign.apply(this, arguments);
|
474
|
-
}
|
475
|
-
|
476
|
-
function __rest(s, e) {
|
477
|
-
var t = {};
|
478
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
479
|
-
t[p] = s[p];
|
480
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
481
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
482
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
483
|
-
t[p[i]] = s[p[i]];
|
484
|
-
}
|
485
|
-
return t;
|
486
|
-
}
|
487
|
-
|
488
|
-
function __decorate(decorators, target, key, desc) {
|
489
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
490
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
491
|
-
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;
|
492
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
493
|
-
}
|
494
|
-
|
495
|
-
function __param(paramIndex, decorator) {
|
496
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
497
|
-
}
|
498
|
-
|
499
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
500
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
501
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
502
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
503
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
504
|
-
var _, done = false;
|
505
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
506
|
-
var context = {};
|
507
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
508
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
509
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
510
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
511
|
-
if (kind === "accessor") {
|
512
|
-
if (result === void 0) continue;
|
513
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
514
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
515
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
516
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
517
|
-
}
|
518
|
-
else if (_ = accept(result)) {
|
519
|
-
if (kind === "field") initializers.unshift(_);
|
520
|
-
else descriptor[key] = _;
|
521
|
-
}
|
522
|
-
}
|
523
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
524
|
-
done = true;
|
525
|
-
};
|
526
|
-
|
527
|
-
function __runInitializers(thisArg, initializers, value) {
|
528
|
-
var useValue = arguments.length > 2;
|
529
|
-
for (var i = 0; i < initializers.length; i++) {
|
530
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
531
|
-
}
|
532
|
-
return useValue ? value : void 0;
|
533
|
-
};
|
534
|
-
|
535
|
-
function __propKey(x) {
|
536
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
537
|
-
};
|
538
|
-
|
539
|
-
function __setFunctionName(f, name, prefix) {
|
540
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
541
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
542
|
-
};
|
543
|
-
|
544
|
-
function __metadata(metadataKey, metadataValue) {
|
545
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
546
|
-
}
|
547
|
-
|
548
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
549
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
550
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
551
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
552
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
553
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
554
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
555
|
-
});
|
556
|
-
}
|
557
|
-
|
558
|
-
function __generator(thisArg, body) {
|
559
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
560
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
561
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
562
|
-
function step(op) {
|
563
|
-
if (f) throw new TypeError("Generator is already executing.");
|
564
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
565
|
-
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;
|
566
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
567
|
-
switch (op[0]) {
|
568
|
-
case 0: case 1: t = op; break;
|
569
|
-
case 4: _.label++; return { value: op[1], done: false };
|
570
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
571
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
572
|
-
default:
|
573
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
574
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
575
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
576
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
577
|
-
if (t[2]) _.ops.pop();
|
578
|
-
_.trys.pop(); continue;
|
579
|
-
}
|
580
|
-
op = body.call(thisArg, _);
|
581
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
582
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
426
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
427
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
428
|
+
try {
|
429
|
+
var info = gen[key](arg);
|
430
|
+
var value = info.value;
|
431
|
+
} catch (error) {
|
432
|
+
reject(error);
|
433
|
+
return;
|
583
434
|
}
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
589
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
590
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
435
|
+
if (info.done) {
|
436
|
+
resolve(value);
|
437
|
+
} else {
|
438
|
+
Promise.resolve(value).then(_next, _throw);
|
591
439
|
}
|
592
|
-
Object.defineProperty(o, k2, desc);
|
593
|
-
}) : (function(o, m, k, k2) {
|
594
|
-
if (k2 === undefined) k2 = k;
|
595
|
-
o[k2] = m[k];
|
596
|
-
});
|
597
|
-
|
598
|
-
function __exportStar(m, o) {
|
599
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
600
440
|
}
|
601
|
-
|
602
|
-
function
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
441
|
+
function _asyncToGenerator(fn) {
|
442
|
+
return function () {
|
443
|
+
var self = this,
|
444
|
+
args = arguments;
|
445
|
+
return new Promise(function (resolve, reject) {
|
446
|
+
var gen = fn.apply(self, args);
|
447
|
+
function _next(value) {
|
448
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
609
449
|
}
|
610
|
-
|
611
|
-
|
612
|
-
}
|
613
|
-
|
614
|
-
function __read(o, n) {
|
615
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
616
|
-
if (!m) return o;
|
617
|
-
var i = m.call(o), r, ar = [], e;
|
618
|
-
try {
|
619
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
620
|
-
}
|
621
|
-
catch (error) { e = { error: error }; }
|
622
|
-
finally {
|
623
|
-
try {
|
624
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
450
|
+
function _throw(err) {
|
451
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
625
452
|
}
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
}
|
630
|
-
|
631
|
-
/** @deprecated */
|
632
|
-
function __spread() {
|
633
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
634
|
-
ar = ar.concat(__read(arguments[i]));
|
635
|
-
return ar;
|
453
|
+
_next(undefined);
|
454
|
+
});
|
455
|
+
};
|
636
456
|
}
|
457
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
458
|
+
function _typeof(obj) {
|
459
|
+
"@babel/helpers - typeof";
|
637
460
|
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
r[k] = a[j];
|
644
|
-
return r;
|
461
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
462
|
+
return typeof obj;
|
463
|
+
} : function (obj) {
|
464
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
465
|
+
}, _typeof(obj);
|
645
466
|
}
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
467
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
468
|
+
|
469
|
+
function _toPrimitive(input, hint) {
|
470
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
471
|
+
var prim = input[Symbol.toPrimitive];
|
472
|
+
if (prim !== undefined) {
|
473
|
+
var res = prim.call(input, hint || "default");
|
474
|
+
if (_typeof(res) !== "object") return res;
|
475
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
653
476
|
}
|
654
|
-
return
|
477
|
+
return (hint === "string" ? String : Number)(input);
|
655
478
|
}
|
479
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
656
480
|
|
657
|
-
function __await(v) {
|
658
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
659
|
-
}
|
660
|
-
|
661
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
662
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
663
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
664
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
665
|
-
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); }); }; }
|
666
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
667
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
668
|
-
function fulfill(value) { resume("next", value); }
|
669
|
-
function reject(value) { resume("throw", value); }
|
670
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
671
|
-
}
|
672
|
-
|
673
|
-
function __asyncDelegator(o) {
|
674
|
-
var i, p;
|
675
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
676
|
-
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; }
|
677
|
-
}
|
678
|
-
|
679
|
-
function __asyncValues(o) {
|
680
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
681
|
-
var m = o[Symbol.asyncIterator], i;
|
682
|
-
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);
|
683
|
-
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); }); }; }
|
684
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
685
|
-
}
|
686
481
|
|
687
|
-
function
|
688
|
-
|
689
|
-
return
|
690
|
-
};
|
691
|
-
|
692
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
693
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
694
|
-
}) : function(o, v) {
|
695
|
-
o["default"] = v;
|
696
|
-
};
|
697
|
-
|
698
|
-
function __importStar(mod) {
|
699
|
-
if (mod && mod.__esModule) return mod;
|
700
|
-
var result = {};
|
701
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
702
|
-
__setModuleDefault(result, mod);
|
703
|
-
return result;
|
704
|
-
}
|
705
|
-
|
706
|
-
function __importDefault(mod) {
|
707
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
708
|
-
}
|
709
|
-
|
710
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
711
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
712
|
-
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");
|
713
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
714
|
-
}
|
715
|
-
|
716
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
717
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
718
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
719
|
-
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");
|
720
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
721
|
-
}
|
722
|
-
|
723
|
-
function __classPrivateFieldIn(state, receiver) {
|
724
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
725
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
726
|
-
}
|
727
|
-
|
728
|
-
function __addDisposableResource(env, value, async) {
|
729
|
-
if (value !== null && value !== void 0) {
|
730
|
-
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
731
|
-
var dispose;
|
732
|
-
if (async) {
|
733
|
-
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
734
|
-
dispose = value[Symbol.asyncDispose];
|
735
|
-
}
|
736
|
-
if (dispose === void 0) {
|
737
|
-
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
738
|
-
dispose = value[Symbol.dispose];
|
739
|
-
}
|
740
|
-
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
741
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
742
|
-
}
|
743
|
-
else if (async) {
|
744
|
-
env.stack.push({ async: true });
|
745
|
-
}
|
746
|
-
return value;
|
482
|
+
function _toPropertyKey(arg) {
|
483
|
+
var key = _toPrimitive(arg, "string");
|
484
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
747
485
|
}
|
486
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
748
487
|
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
}
|
759
|
-
|
760
|
-
while (env.stack.length) {
|
761
|
-
var rec = env.stack.pop();
|
762
|
-
try {
|
763
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
764
|
-
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
765
|
-
}
|
766
|
-
catch (e) {
|
767
|
-
fail(e);
|
768
|
-
}
|
769
|
-
}
|
770
|
-
if (env.hasError) throw env.error;
|
488
|
+
function _defineProperty(obj, key, value) {
|
489
|
+
key = _toPropertyKey(key);
|
490
|
+
if (key in obj) {
|
491
|
+
Object.defineProperty(obj, key, {
|
492
|
+
value: value,
|
493
|
+
enumerable: true,
|
494
|
+
configurable: true,
|
495
|
+
writable: true
|
496
|
+
});
|
497
|
+
} else {
|
498
|
+
obj[key] = value;
|
771
499
|
}
|
772
|
-
return
|
500
|
+
return obj;
|
773
501
|
}
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
__metadata,
|
782
|
-
__awaiter,
|
783
|
-
__generator,
|
784
|
-
__createBinding,
|
785
|
-
__exportStar,
|
786
|
-
__values,
|
787
|
-
__read,
|
788
|
-
__spread,
|
789
|
-
__spreadArrays,
|
790
|
-
__spreadArray,
|
791
|
-
__await,
|
792
|
-
__asyncGenerator,
|
793
|
-
__asyncDelegator,
|
794
|
-
__asyncValues,
|
795
|
-
__makeTemplateObject,
|
796
|
-
__importStar,
|
797
|
-
__importDefault,
|
798
|
-
__classPrivateFieldGet,
|
799
|
-
__classPrivateFieldSet,
|
800
|
-
__classPrivateFieldIn,
|
801
|
-
__addDisposableResource,
|
802
|
-
__disposeResources,
|
803
|
-
});
|
804
|
-
|
502
|
+
;// CONCATENATED MODULE: external "vue"
|
503
|
+
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
504
|
+
var external_vue_y = x => () => x
|
505
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps });
|
506
|
+
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
507
|
+
var regenerator = __webpack_require__(2841);
|
508
|
+
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
805
509
|
;// CONCATENATED MODULE: external "../button"
|
806
510
|
var external_button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
807
511
|
var external_button_y = x => () => x
|
@@ -817,6 +521,10 @@ const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __W
|
|
817
521
|
;// CONCATENATED MODULE: ../../packages/sideslider/src/sideslider.tsx
|
818
522
|
|
819
523
|
|
524
|
+
|
525
|
+
|
526
|
+
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; }
|
527
|
+
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; }
|
820
528
|
/*
|
821
529
|
* Tencent is pleased to support the open source community by making
|
822
530
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -846,7 +554,6 @@ const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __W
|
|
846
554
|
|
847
555
|
|
848
556
|
|
849
|
-
|
850
557
|
function _isSlot(s) {
|
851
558
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
852
559
|
}
|
@@ -860,7 +567,7 @@ sliderPops.height["default"] = '100%';
|
|
860
567
|
BkModal: external_modal_namespaceObject["default"],
|
861
568
|
BkButton: external_button_namespaceObject["default"]
|
862
569
|
},
|
863
|
-
props:
|
570
|
+
props: _objectSpread(_objectSpread({}, sliderPops), {}, {
|
864
571
|
direction: {
|
865
572
|
type: String,
|
866
573
|
"default": 'right',
|
@@ -876,11 +583,10 @@ sliderPops.height["default"] = '100%';
|
|
876
583
|
}),
|
877
584
|
emits: ['closed', 'update:isShow', 'shown', 'hidden', 'animation-end'],
|
878
585
|
setup: function setup(props, _ref) {
|
879
|
-
var _this = this;
|
880
586
|
var slots = _ref.slots,
|
881
587
|
emit = _ref.emit;
|
882
|
-
var handleClose = function
|
883
|
-
|
588
|
+
var handleClose = /*#__PURE__*/function () {
|
589
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
884
590
|
var shouldClose;
|
885
591
|
return regenerator_default().wrap(function _callee$(_context) {
|
886
592
|
while (1) switch (_context.prev = _context.next) {
|
@@ -909,7 +615,10 @@ sliderPops.height["default"] = '100%';
|
|
909
615
|
}
|
910
616
|
}, _callee);
|
911
617
|
}));
|
912
|
-
|
618
|
+
return function handleClose() {
|
619
|
+
return _ref2.apply(this, arguments);
|
620
|
+
};
|
621
|
+
}();
|
913
622
|
var handleShown = function handleShown() {
|
914
623
|
// 有动画,推迟发布事件
|
915
624
|
setTimeout(function () {
|
@@ -927,7 +636,7 @@ sliderPops.height["default"] = '100%';
|
|
927
636
|
return function () {
|
928
637
|
var dialogSlot = {
|
929
638
|
header: function header() {
|
930
|
-
var
|
639
|
+
var _slots$header, _slots$header2;
|
931
640
|
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)("div", {
|
932
641
|
"class": "".concat(resolveClassName('sideslider-header'))
|
933
642
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -937,11 +646,11 @@ sliderPops.height["default"] = '100%';
|
|
937
646
|
}
|
938
647
|
}, null), (0,external_vue_namespaceObject.createVNode)("div", {
|
939
648
|
"class": "".concat(resolveClassName('sideslider-title'), " ").concat(props.direction)
|
940
|
-
}, [(
|
649
|
+
}, [(_slots$header = (_slots$header2 = slots.header) === null || _slots$header2 === void 0 ? void 0 : _slots$header2.call(slots)) !== null && _slots$header !== void 0 ? _slots$header : props.title])])]);
|
941
650
|
},
|
942
651
|
"default": function _default() {
|
943
|
-
var
|
944
|
-
return (
|
652
|
+
var _slots$default, _slots$default2;
|
653
|
+
return (_slots$default = (_slots$default2 = slots["default"]) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)) !== null && _slots$default !== void 0 ? _slots$default : 'Content';
|
945
654
|
},
|
946
655
|
footer: function footer() {
|
947
656
|
if (slots.footer) {
|