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/dialog/index.js
CHANGED
@@ -424,6 +424,37 @@ __webpack_require__.d(__webpack_exports__, {
|
|
424
424
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
425
425
|
var y = x => () => x
|
426
426
|
const external_shared_namespaceObject = x({ ["AlignEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.AlignEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["ThemeEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.ThemeEnum, ["alignType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.alignType, ["dialogTypeUnion"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.dialogTypeUnion, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
427
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
428
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
429
|
+
try {
|
430
|
+
var info = gen[key](arg);
|
431
|
+
var value = info.value;
|
432
|
+
} catch (error) {
|
433
|
+
reject(error);
|
434
|
+
return;
|
435
|
+
}
|
436
|
+
if (info.done) {
|
437
|
+
resolve(value);
|
438
|
+
} else {
|
439
|
+
Promise.resolve(value).then(_next, _throw);
|
440
|
+
}
|
441
|
+
}
|
442
|
+
function _asyncToGenerator(fn) {
|
443
|
+
return function () {
|
444
|
+
var self = this,
|
445
|
+
args = arguments;
|
446
|
+
return new Promise(function (resolve, reject) {
|
447
|
+
var gen = fn.apply(self, args);
|
448
|
+
function _next(value) {
|
449
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
450
|
+
}
|
451
|
+
function _throw(err) {
|
452
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
453
|
+
}
|
454
|
+
_next(undefined);
|
455
|
+
});
|
456
|
+
};
|
457
|
+
}
|
427
458
|
;// CONCATENATED MODULE: external "vue"
|
428
459
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
429
460
|
var external_vue_y = x => () => x
|
@@ -431,378 +462,6 @@ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBP
|
|
431
462
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
432
463
|
var regenerator = __webpack_require__(2841);
|
433
464
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
434
|
-
;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
|
435
|
-
/******************************************************************************
|
436
|
-
Copyright (c) Microsoft Corporation.
|
437
|
-
|
438
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
439
|
-
purpose with or without fee is hereby granted.
|
440
|
-
|
441
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
442
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
443
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
444
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
445
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
446
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
447
|
-
PERFORMANCE OF THIS SOFTWARE.
|
448
|
-
***************************************************************************** */
|
449
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
450
|
-
|
451
|
-
var extendStatics = function(d, b) {
|
452
|
-
extendStatics = Object.setPrototypeOf ||
|
453
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
454
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
455
|
-
return extendStatics(d, b);
|
456
|
-
};
|
457
|
-
|
458
|
-
function __extends(d, b) {
|
459
|
-
if (typeof b !== "function" && b !== null)
|
460
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
461
|
-
extendStatics(d, b);
|
462
|
-
function __() { this.constructor = d; }
|
463
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
464
|
-
}
|
465
|
-
|
466
|
-
var __assign = function() {
|
467
|
-
__assign = Object.assign || function __assign(t) {
|
468
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
469
|
-
s = arguments[i];
|
470
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
471
|
-
}
|
472
|
-
return t;
|
473
|
-
}
|
474
|
-
return __assign.apply(this, arguments);
|
475
|
-
}
|
476
|
-
|
477
|
-
function __rest(s, e) {
|
478
|
-
var t = {};
|
479
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
480
|
-
t[p] = s[p];
|
481
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
482
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
483
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
484
|
-
t[p[i]] = s[p[i]];
|
485
|
-
}
|
486
|
-
return t;
|
487
|
-
}
|
488
|
-
|
489
|
-
function __decorate(decorators, target, key, desc) {
|
490
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
491
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
492
|
-
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;
|
493
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
494
|
-
}
|
495
|
-
|
496
|
-
function __param(paramIndex, decorator) {
|
497
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
498
|
-
}
|
499
|
-
|
500
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
501
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
502
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
503
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
504
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
505
|
-
var _, done = false;
|
506
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
507
|
-
var context = {};
|
508
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
509
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
510
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
511
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
512
|
-
if (kind === "accessor") {
|
513
|
-
if (result === void 0) continue;
|
514
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
515
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
516
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
517
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
518
|
-
}
|
519
|
-
else if (_ = accept(result)) {
|
520
|
-
if (kind === "field") initializers.unshift(_);
|
521
|
-
else descriptor[key] = _;
|
522
|
-
}
|
523
|
-
}
|
524
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
525
|
-
done = true;
|
526
|
-
};
|
527
|
-
|
528
|
-
function __runInitializers(thisArg, initializers, value) {
|
529
|
-
var useValue = arguments.length > 2;
|
530
|
-
for (var i = 0; i < initializers.length; i++) {
|
531
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
532
|
-
}
|
533
|
-
return useValue ? value : void 0;
|
534
|
-
};
|
535
|
-
|
536
|
-
function __propKey(x) {
|
537
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
538
|
-
};
|
539
|
-
|
540
|
-
function __setFunctionName(f, name, prefix) {
|
541
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
542
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
543
|
-
};
|
544
|
-
|
545
|
-
function __metadata(metadataKey, metadataValue) {
|
546
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
547
|
-
}
|
548
|
-
|
549
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
550
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
551
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
552
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
553
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
554
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
555
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
556
|
-
});
|
557
|
-
}
|
558
|
-
|
559
|
-
function __generator(thisArg, body) {
|
560
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
561
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
562
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
563
|
-
function step(op) {
|
564
|
-
if (f) throw new TypeError("Generator is already executing.");
|
565
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
566
|
-
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;
|
567
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
568
|
-
switch (op[0]) {
|
569
|
-
case 0: case 1: t = op; break;
|
570
|
-
case 4: _.label++; return { value: op[1], done: false };
|
571
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
572
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
573
|
-
default:
|
574
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
575
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
576
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
577
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
578
|
-
if (t[2]) _.ops.pop();
|
579
|
-
_.trys.pop(); continue;
|
580
|
-
}
|
581
|
-
op = body.call(thisArg, _);
|
582
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
583
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
584
|
-
}
|
585
|
-
}
|
586
|
-
|
587
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
588
|
-
if (k2 === undefined) k2 = k;
|
589
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
590
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
591
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
592
|
-
}
|
593
|
-
Object.defineProperty(o, k2, desc);
|
594
|
-
}) : (function(o, m, k, k2) {
|
595
|
-
if (k2 === undefined) k2 = k;
|
596
|
-
o[k2] = m[k];
|
597
|
-
});
|
598
|
-
|
599
|
-
function __exportStar(m, o) {
|
600
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
601
|
-
}
|
602
|
-
|
603
|
-
function __values(o) {
|
604
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
605
|
-
if (m) return m.call(o);
|
606
|
-
if (o && typeof o.length === "number") return {
|
607
|
-
next: function () {
|
608
|
-
if (o && i >= o.length) o = void 0;
|
609
|
-
return { value: o && o[i++], done: !o };
|
610
|
-
}
|
611
|
-
};
|
612
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
613
|
-
}
|
614
|
-
|
615
|
-
function __read(o, n) {
|
616
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
617
|
-
if (!m) return o;
|
618
|
-
var i = m.call(o), r, ar = [], e;
|
619
|
-
try {
|
620
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
621
|
-
}
|
622
|
-
catch (error) { e = { error: error }; }
|
623
|
-
finally {
|
624
|
-
try {
|
625
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
626
|
-
}
|
627
|
-
finally { if (e) throw e.error; }
|
628
|
-
}
|
629
|
-
return ar;
|
630
|
-
}
|
631
|
-
|
632
|
-
/** @deprecated */
|
633
|
-
function __spread() {
|
634
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
635
|
-
ar = ar.concat(__read(arguments[i]));
|
636
|
-
return ar;
|
637
|
-
}
|
638
|
-
|
639
|
-
/** @deprecated */
|
640
|
-
function __spreadArrays() {
|
641
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
642
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
643
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
644
|
-
r[k] = a[j];
|
645
|
-
return r;
|
646
|
-
}
|
647
|
-
|
648
|
-
function __spreadArray(to, from, pack) {
|
649
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
650
|
-
if (ar || !(i in from)) {
|
651
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
652
|
-
ar[i] = from[i];
|
653
|
-
}
|
654
|
-
}
|
655
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
656
|
-
}
|
657
|
-
|
658
|
-
function __await(v) {
|
659
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
660
|
-
}
|
661
|
-
|
662
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
663
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
664
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
665
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
666
|
-
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); }); }; }
|
667
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
668
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
669
|
-
function fulfill(value) { resume("next", value); }
|
670
|
-
function reject(value) { resume("throw", value); }
|
671
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
672
|
-
}
|
673
|
-
|
674
|
-
function __asyncDelegator(o) {
|
675
|
-
var i, p;
|
676
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
677
|
-
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; }
|
678
|
-
}
|
679
|
-
|
680
|
-
function __asyncValues(o) {
|
681
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
682
|
-
var m = o[Symbol.asyncIterator], i;
|
683
|
-
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);
|
684
|
-
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); }); }; }
|
685
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
686
|
-
}
|
687
|
-
|
688
|
-
function __makeTemplateObject(cooked, raw) {
|
689
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
690
|
-
return cooked;
|
691
|
-
};
|
692
|
-
|
693
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
694
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
695
|
-
}) : function(o, v) {
|
696
|
-
o["default"] = v;
|
697
|
-
};
|
698
|
-
|
699
|
-
function __importStar(mod) {
|
700
|
-
if (mod && mod.__esModule) return mod;
|
701
|
-
var result = {};
|
702
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
703
|
-
__setModuleDefault(result, mod);
|
704
|
-
return result;
|
705
|
-
}
|
706
|
-
|
707
|
-
function __importDefault(mod) {
|
708
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
709
|
-
}
|
710
|
-
|
711
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
712
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
713
|
-
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");
|
714
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
715
|
-
}
|
716
|
-
|
717
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
718
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
719
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
720
|
-
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");
|
721
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
722
|
-
}
|
723
|
-
|
724
|
-
function __classPrivateFieldIn(state, receiver) {
|
725
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
726
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
727
|
-
}
|
728
|
-
|
729
|
-
function __addDisposableResource(env, value, async) {
|
730
|
-
if (value !== null && value !== void 0) {
|
731
|
-
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
732
|
-
var dispose;
|
733
|
-
if (async) {
|
734
|
-
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
735
|
-
dispose = value[Symbol.asyncDispose];
|
736
|
-
}
|
737
|
-
if (dispose === void 0) {
|
738
|
-
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
739
|
-
dispose = value[Symbol.dispose];
|
740
|
-
}
|
741
|
-
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
742
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
743
|
-
}
|
744
|
-
else if (async) {
|
745
|
-
env.stack.push({ async: true });
|
746
|
-
}
|
747
|
-
return value;
|
748
|
-
}
|
749
|
-
|
750
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
751
|
-
var e = new Error(message);
|
752
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
753
|
-
};
|
754
|
-
|
755
|
-
function __disposeResources(env) {
|
756
|
-
function fail(e) {
|
757
|
-
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
758
|
-
env.hasError = true;
|
759
|
-
}
|
760
|
-
function next() {
|
761
|
-
while (env.stack.length) {
|
762
|
-
var rec = env.stack.pop();
|
763
|
-
try {
|
764
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
765
|
-
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
766
|
-
}
|
767
|
-
catch (e) {
|
768
|
-
fail(e);
|
769
|
-
}
|
770
|
-
}
|
771
|
-
if (env.hasError) throw env.error;
|
772
|
-
}
|
773
|
-
return next();
|
774
|
-
}
|
775
|
-
|
776
|
-
/* harmony default export */ const tslib_es6 = ({
|
777
|
-
__extends,
|
778
|
-
__assign,
|
779
|
-
__rest,
|
780
|
-
__decorate,
|
781
|
-
__param,
|
782
|
-
__metadata,
|
783
|
-
__awaiter,
|
784
|
-
__generator,
|
785
|
-
__createBinding,
|
786
|
-
__exportStar,
|
787
|
-
__values,
|
788
|
-
__read,
|
789
|
-
__spread,
|
790
|
-
__spreadArrays,
|
791
|
-
__spreadArray,
|
792
|
-
__await,
|
793
|
-
__asyncGenerator,
|
794
|
-
__asyncDelegator,
|
795
|
-
__asyncValues,
|
796
|
-
__makeTemplateObject,
|
797
|
-
__importStar,
|
798
|
-
__importDefault,
|
799
|
-
__classPrivateFieldGet,
|
800
|
-
__classPrivateFieldSet,
|
801
|
-
__classPrivateFieldIn,
|
802
|
-
__addDisposableResource,
|
803
|
-
__disposeResources,
|
804
|
-
});
|
805
|
-
|
806
465
|
;// CONCATENATED MODULE: external "../button"
|
807
466
|
var external_button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
808
467
|
var external_button_y = x => () => x
|
@@ -819,7 +478,55 @@ const external_icon_namespaceObject = external_icon_x({ ["Close"]: () => __WEBPA
|
|
819
478
|
var external_modal_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
820
479
|
var external_modal_y = x => () => x
|
821
480
|
const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__["default"], ["propsMixin"]: () => __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__.propsMixin });
|
481
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
482
|
+
function _typeof(obj) {
|
483
|
+
"@babel/helpers - typeof";
|
484
|
+
|
485
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
486
|
+
return typeof obj;
|
487
|
+
} : function (obj) {
|
488
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
489
|
+
}, _typeof(obj);
|
490
|
+
}
|
491
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
492
|
+
|
493
|
+
function _toPrimitive(input, hint) {
|
494
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
495
|
+
var prim = input[Symbol.toPrimitive];
|
496
|
+
if (prim !== undefined) {
|
497
|
+
var res = prim.call(input, hint || "default");
|
498
|
+
if (_typeof(res) !== "object") return res;
|
499
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
500
|
+
}
|
501
|
+
return (hint === "string" ? String : Number)(input);
|
502
|
+
}
|
503
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
504
|
+
|
505
|
+
|
506
|
+
function _toPropertyKey(arg) {
|
507
|
+
var key = _toPrimitive(arg, "string");
|
508
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
509
|
+
}
|
510
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
511
|
+
|
512
|
+
function _defineProperty(obj, key, value) {
|
513
|
+
key = _toPropertyKey(key);
|
514
|
+
if (key in obj) {
|
515
|
+
Object.defineProperty(obj, key, {
|
516
|
+
value: value,
|
517
|
+
enumerable: true,
|
518
|
+
configurable: true,
|
519
|
+
writable: true
|
520
|
+
});
|
521
|
+
} else {
|
522
|
+
obj[key] = value;
|
523
|
+
}
|
524
|
+
return obj;
|
525
|
+
}
|
822
526
|
;// CONCATENATED MODULE: ../../packages/dialog/src/props.ts
|
527
|
+
|
528
|
+
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; }
|
529
|
+
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; }
|
823
530
|
/*
|
824
531
|
* Tencent is pleased to support the open source community by making
|
825
532
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -847,7 +554,7 @@ const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __W
|
|
847
554
|
*/
|
848
555
|
|
849
556
|
|
850
|
-
var props =
|
557
|
+
var props = _objectSpread(_objectSpread({}, external_modal_namespaceObject.propsMixin), {}, {
|
851
558
|
width: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
|
852
559
|
height: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
|
853
560
|
// 确认按钮文字
|
@@ -882,6 +589,7 @@ var props = Object.assign(Object.assign({}, external_modal_namespaceObject.props
|
|
882
589
|
;// CONCATENATED MODULE: ../../packages/dialog/src/dialog.tsx
|
883
590
|
|
884
591
|
|
592
|
+
|
885
593
|
/*
|
886
594
|
* Tencent is pleased to support the open source community by making
|
887
595
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -913,7 +621,6 @@ var props = Object.assign(Object.assign({}, external_modal_namespaceObject.props
|
|
913
621
|
|
914
622
|
|
915
623
|
|
916
|
-
|
917
624
|
function _isSlot(s) {
|
918
625
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
919
626
|
}
|
@@ -927,7 +634,6 @@ function _isSlot(s) {
|
|
927
634
|
props: src_props,
|
928
635
|
emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
|
929
636
|
setup: function setup(props, _ref) {
|
930
|
-
var _this = this;
|
931
637
|
var emit = _ref.emit;
|
932
638
|
var t = (0,external_config_provider_namespaceObject.useLocale)('dialog');
|
933
639
|
var localConfirmText = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -992,8 +698,8 @@ function _isSlot(s) {
|
|
992
698
|
emit('value-change', val);
|
993
699
|
});
|
994
700
|
// 关闭弹框
|
995
|
-
var handleClose = function
|
996
|
-
|
701
|
+
var handleClose = /*#__PURE__*/function () {
|
702
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
997
703
|
var shouldClose;
|
998
704
|
return regenerator_default().wrap(function _callee$(_context) {
|
999
705
|
while (1) switch (_context.prev = _context.next) {
|
@@ -1019,7 +725,10 @@ function _isSlot(s) {
|
|
1019
725
|
}
|
1020
726
|
}, _callee);
|
1021
727
|
}));
|
1022
|
-
|
728
|
+
return function handleClose() {
|
729
|
+
return _ref2.apply(this, arguments);
|
730
|
+
};
|
731
|
+
}();
|
1023
732
|
var handleConfirm = function handleConfirm() {
|
1024
733
|
emit('update:isShow', false);
|
1025
734
|
emit('confirm');
|
@@ -1110,110 +819,110 @@ function _isSlot(s) {
|
|
1110
819
|
};
|
1111
820
|
},
|
1112
821
|
render: function render() {
|
1113
|
-
var
|
822
|
+
var _this = this;
|
1114
823
|
var renderIcon = function renderIcon() {
|
1115
824
|
var iconMap = {
|
1116
825
|
loading: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Spinner, {
|
1117
|
-
"class": [
|
826
|
+
"class": [_this.resolveClassName('info-icon'), 'primary']
|
1118
827
|
}, null),
|
1119
828
|
warning: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Warn, {
|
1120
|
-
"class": [
|
829
|
+
"class": [_this.resolveClassName('info-icon'), 'warning']
|
1121
830
|
}, null),
|
1122
831
|
success: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Success, {
|
1123
|
-
"class": [
|
832
|
+
"class": [_this.resolveClassName('info-icon'), 'success']
|
1124
833
|
}, null),
|
1125
834
|
danger: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Close, {
|
1126
|
-
"class": [
|
835
|
+
"class": [_this.resolveClassName('info-icon'), 'danger']
|
1127
836
|
}, null)
|
1128
837
|
};
|
1129
|
-
return iconMap[
|
838
|
+
return iconMap[_this.infoType];
|
1130
839
|
};
|
1131
840
|
var dialogSlot = {
|
1132
841
|
header: function header() {
|
1133
|
-
var
|
842
|
+
var _this$$slots$tools, _this$$slots$tools2, _this$$slots, _this$$slots$header, _this$$slots$header2, _this$$slots2;
|
1134
843
|
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
1135
|
-
"class": [
|
1136
|
-
"onMousedown":
|
1137
|
-
}, [(
|
1138
|
-
"class":
|
844
|
+
"class": [_this.resolveClassName('dialog-tool'), _this.fullscreen || !_this.draggable ? '' : 'move', _this.draggable ? 'content-dragging' : ''],
|
845
|
+
"onMousedown": _this.moveHandler
|
846
|
+
}, [(_this$$slots$tools = (_this$$slots$tools2 = (_this$$slots = _this.$slots).tools) === null || _this$$slots$tools2 === void 0 ? void 0 : _this$$slots$tools2.call(_this$$slots)) !== null && _this$$slots$tools !== void 0 ? _this$$slots$tools : '']), (0,external_vue_namespaceObject.createVNode)("div", {
|
847
|
+
"class": _this.resolveClassName('dialog-header')
|
1139
848
|
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
1140
|
-
"class":
|
1141
|
-
}, [
|
849
|
+
"class": _this.resolveClassName('header-icon')
|
850
|
+
}, [_this.infoType ? renderIcon() : (0,external_vue_namespaceObject.createVNode)("slot", {
|
1142
851
|
"name": "info-icon"
|
1143
852
|
}, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
|
1144
|
-
"class":
|
1145
|
-
"style": "text-align: ".concat(
|
1146
|
-
}, [(
|
853
|
+
"class": _this.resolveClassName('dialog-title'),
|
854
|
+
"style": "text-align: ".concat(_this.headerAlign)
|
855
|
+
}, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : _this.title])])];
|
1147
856
|
},
|
1148
857
|
"default": function _default() {
|
1149
|
-
var
|
1150
|
-
return (
|
858
|
+
var _this$$slots$default, _this$$slots$default2, _this$$slots3;
|
859
|
+
return (_this$$slots$default = (_this$$slots$default2 = (_this$$slots3 = _this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots3)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : 'default';
|
1151
860
|
},
|
1152
861
|
footer: function footer() {
|
1153
|
-
var
|
862
|
+
var _this$$slots$footer, _this$$slots$footer2, _this$$slots4, _this$$slots$footer3, _this$$slots$footer4, _this$$slots5, _this$$slots$footer5, _this$$slots$footer6, _this$$slots6;
|
1154
863
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
1155
|
-
"class":
|
1156
|
-
"style": "text-align: ".concat(
|
1157
|
-
}, [
|
1158
|
-
"class":
|
1159
|
-
"onClick":
|
864
|
+
"class": _this.resolveClassName('dialog-footer'),
|
865
|
+
"style": "text-align: ".concat(_this.footerAlign)
|
866
|
+
}, [_this.dialogType === 'process' ? (_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots4 = _this.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots4)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
867
|
+
"class": _this.resolveClassName('dialog-perv'),
|
868
|
+
"onClick": _this.handlePrevStep
|
1160
869
|
}, {
|
1161
870
|
"default": function _default() {
|
1162
|
-
return [
|
871
|
+
return [_this.localPrevText];
|
1163
872
|
}
|
1164
|
-
}),
|
1165
|
-
"class":
|
1166
|
-
"onClick":
|
873
|
+
}), _this.current === _this.totalStep ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
874
|
+
"class": _this.resolveClassName('dialog-next'),
|
875
|
+
"onClick": _this.handleNextStep
|
1167
876
|
}, {
|
1168
877
|
"default": function _default() {
|
1169
|
-
return [
|
878
|
+
return [_this.localNextText];
|
1170
879
|
}
|
1171
|
-
}),
|
1172
|
-
"onClick":
|
1173
|
-
"theme":
|
1174
|
-
"loading":
|
880
|
+
}), _this.current === _this.totalStep ? (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
881
|
+
"onClick": _this.handleConfirm,
|
882
|
+
"theme": _this.theme,
|
883
|
+
"loading": _this.isLoading
|
1175
884
|
}, {
|
1176
885
|
"default": function _default() {
|
1177
|
-
return [
|
886
|
+
return [_this.localConfirmText];
|
1178
887
|
}
|
1179
888
|
}) : '', (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
1180
|
-
"class":
|
1181
|
-
"onClick":
|
1182
|
-
"disabled":
|
889
|
+
"class": _this.resolveClassName('dialog-cancel'),
|
890
|
+
"onClick": _this.handleClose,
|
891
|
+
"disabled": _this.isLoading
|
1183
892
|
}, {
|
1184
893
|
"default": function _default() {
|
1185
|
-
return [
|
894
|
+
return [_this.localCancelText];
|
1186
895
|
}
|
1187
|
-
})]) : '',
|
1188
|
-
"onClick":
|
1189
|
-
"theme":
|
1190
|
-
"loading":
|
896
|
+
})]) : '', _this.dialogType === 'operation' ? (_this$$slots$footer3 = (_this$$slots$footer4 = (_this$$slots5 = _this.$slots).footer) === null || _this$$slots$footer4 === void 0 ? void 0 : _this$$slots$footer4.call(_this$$slots5)) !== null && _this$$slots$footer3 !== void 0 ? _this$$slots$footer3 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
897
|
+
"onClick": _this.handleConfirm,
|
898
|
+
"theme": _this.theme,
|
899
|
+
"loading": _this.isLoading
|
1191
900
|
}, {
|
1192
901
|
"default": function _default() {
|
1193
|
-
return [
|
902
|
+
return [_this.localConfirmText];
|
1194
903
|
}
|
1195
904
|
}), (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
1196
|
-
"class":
|
1197
|
-
"onClick":
|
1198
|
-
"disabled":
|
905
|
+
"class": _this.resolveClassName('dialog-cancel'),
|
906
|
+
"onClick": _this.handleClose,
|
907
|
+
"disabled": _this.isLoading
|
1199
908
|
}, {
|
1200
909
|
"default": function _default() {
|
1201
|
-
return [
|
910
|
+
return [_this.localCancelText];
|
1202
911
|
}
|
1203
|
-
})]) : '',
|
1204
|
-
"onClick":
|
1205
|
-
"theme":
|
1206
|
-
"loading":
|
912
|
+
})]) : '', _this.dialogType === 'confirm' ? (_this$$slots$footer5 = (_this$$slots$footer6 = (_this$$slots6 = _this.$slots).footer) === null || _this$$slots$footer6 === void 0 ? void 0 : _this$$slots$footer6.call(_this$$slots6)) !== null && _this$$slots$footer5 !== void 0 ? _this$$slots$footer5 : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
|
913
|
+
"onClick": _this.handleConfirm,
|
914
|
+
"theme": _this.theme,
|
915
|
+
"loading": _this.isLoading
|
1207
916
|
}, {
|
1208
917
|
"default": function _default() {
|
1209
|
-
return [
|
918
|
+
return [_this.localConfirmText];
|
1210
919
|
}
|
1211
920
|
})]) : '']);
|
1212
921
|
},
|
1213
922
|
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1214
923
|
close: function close() {
|
1215
924
|
return (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
|
1216
|
-
"onClick":
|
925
|
+
"onClick": _this.handleClose
|
1217
926
|
}, null);
|
1218
927
|
}
|
1219
928
|
};
|