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/input/index.js
CHANGED
@@ -483,6 +483,67 @@ function _nonIterableRest() {
|
|
483
483
|
function _slicedToArray(arr, i) {
|
484
484
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
485
485
|
}
|
486
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
487
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
488
|
+
try {
|
489
|
+
var info = gen[key](arg);
|
490
|
+
var value = info.value;
|
491
|
+
} catch (error) {
|
492
|
+
reject(error);
|
493
|
+
return;
|
494
|
+
}
|
495
|
+
if (info.done) {
|
496
|
+
resolve(value);
|
497
|
+
} else {
|
498
|
+
Promise.resolve(value).then(_next, _throw);
|
499
|
+
}
|
500
|
+
}
|
501
|
+
function _asyncToGenerator(fn) {
|
502
|
+
return function () {
|
503
|
+
var self = this,
|
504
|
+
args = arguments;
|
505
|
+
return new Promise(function (resolve, reject) {
|
506
|
+
var gen = fn.apply(self, args);
|
507
|
+
function _next(value) {
|
508
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
509
|
+
}
|
510
|
+
function _throw(err) {
|
511
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
512
|
+
}
|
513
|
+
_next(undefined);
|
514
|
+
});
|
515
|
+
};
|
516
|
+
}
|
517
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
518
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
519
|
+
if (source == null) return {};
|
520
|
+
var target = {};
|
521
|
+
var sourceKeys = Object.keys(source);
|
522
|
+
var key, i;
|
523
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
524
|
+
key = sourceKeys[i];
|
525
|
+
if (excluded.indexOf(key) >= 0) continue;
|
526
|
+
target[key] = source[key];
|
527
|
+
}
|
528
|
+
return target;
|
529
|
+
}
|
530
|
+
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
531
|
+
|
532
|
+
function _objectWithoutProperties(source, excluded) {
|
533
|
+
if (source == null) return {};
|
534
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
535
|
+
var key, i;
|
536
|
+
if (Object.getOwnPropertySymbols) {
|
537
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
538
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
539
|
+
key = sourceSymbolKeys[i];
|
540
|
+
if (excluded.indexOf(key) >= 0) continue;
|
541
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
542
|
+
target[key] = source[key];
|
543
|
+
}
|
544
|
+
}
|
545
|
+
return target;
|
546
|
+
}
|
486
547
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
487
548
|
function _typeof(obj) {
|
488
549
|
"@babel/helpers - typeof";
|
@@ -535,378 +596,6 @@ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBP
|
|
535
596
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
536
597
|
var regenerator = __webpack_require__(2841);
|
537
598
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
538
|
-
;// CONCATENATED MODULE: ../../node_modules/tslib/tslib.es6.mjs
|
539
|
-
/******************************************************************************
|
540
|
-
Copyright (c) Microsoft Corporation.
|
541
|
-
|
542
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
543
|
-
purpose with or without fee is hereby granted.
|
544
|
-
|
545
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
546
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
547
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
548
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
549
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
550
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
551
|
-
PERFORMANCE OF THIS SOFTWARE.
|
552
|
-
***************************************************************************** */
|
553
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
554
|
-
|
555
|
-
var extendStatics = function(d, b) {
|
556
|
-
extendStatics = Object.setPrototypeOf ||
|
557
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
558
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
559
|
-
return extendStatics(d, b);
|
560
|
-
};
|
561
|
-
|
562
|
-
function __extends(d, b) {
|
563
|
-
if (typeof b !== "function" && b !== null)
|
564
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
565
|
-
extendStatics(d, b);
|
566
|
-
function __() { this.constructor = d; }
|
567
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
568
|
-
}
|
569
|
-
|
570
|
-
var __assign = function() {
|
571
|
-
__assign = Object.assign || function __assign(t) {
|
572
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
573
|
-
s = arguments[i];
|
574
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
575
|
-
}
|
576
|
-
return t;
|
577
|
-
}
|
578
|
-
return __assign.apply(this, arguments);
|
579
|
-
}
|
580
|
-
|
581
|
-
function __rest(s, e) {
|
582
|
-
var t = {};
|
583
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
584
|
-
t[p] = s[p];
|
585
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
586
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
587
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
588
|
-
t[p[i]] = s[p[i]];
|
589
|
-
}
|
590
|
-
return t;
|
591
|
-
}
|
592
|
-
|
593
|
-
function __decorate(decorators, target, key, desc) {
|
594
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
595
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
596
|
-
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;
|
597
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
598
|
-
}
|
599
|
-
|
600
|
-
function __param(paramIndex, decorator) {
|
601
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
602
|
-
}
|
603
|
-
|
604
|
-
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
605
|
-
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
|
606
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
607
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
608
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
609
|
-
var _, done = false;
|
610
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
611
|
-
var context = {};
|
612
|
-
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
|
613
|
-
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
|
614
|
-
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
615
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
616
|
-
if (kind === "accessor") {
|
617
|
-
if (result === void 0) continue;
|
618
|
-
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
|
619
|
-
if (_ = accept(result.get)) descriptor.get = _;
|
620
|
-
if (_ = accept(result.set)) descriptor.set = _;
|
621
|
-
if (_ = accept(result.init)) initializers.unshift(_);
|
622
|
-
}
|
623
|
-
else if (_ = accept(result)) {
|
624
|
-
if (kind === "field") initializers.unshift(_);
|
625
|
-
else descriptor[key] = _;
|
626
|
-
}
|
627
|
-
}
|
628
|
-
if (target) Object.defineProperty(target, contextIn.name, descriptor);
|
629
|
-
done = true;
|
630
|
-
};
|
631
|
-
|
632
|
-
function __runInitializers(thisArg, initializers, value) {
|
633
|
-
var useValue = arguments.length > 2;
|
634
|
-
for (var i = 0; i < initializers.length; i++) {
|
635
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
636
|
-
}
|
637
|
-
return useValue ? value : void 0;
|
638
|
-
};
|
639
|
-
|
640
|
-
function __propKey(x) {
|
641
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
642
|
-
};
|
643
|
-
|
644
|
-
function __setFunctionName(f, name, prefix) {
|
645
|
-
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
|
646
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
647
|
-
};
|
648
|
-
|
649
|
-
function __metadata(metadataKey, metadataValue) {
|
650
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
651
|
-
}
|
652
|
-
|
653
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
654
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
655
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
656
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
657
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
658
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
659
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
660
|
-
});
|
661
|
-
}
|
662
|
-
|
663
|
-
function __generator(thisArg, body) {
|
664
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
665
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
666
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
667
|
-
function step(op) {
|
668
|
-
if (f) throw new TypeError("Generator is already executing.");
|
669
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
670
|
-
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;
|
671
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
672
|
-
switch (op[0]) {
|
673
|
-
case 0: case 1: t = op; break;
|
674
|
-
case 4: _.label++; return { value: op[1], done: false };
|
675
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
676
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
677
|
-
default:
|
678
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
679
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
680
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
681
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
682
|
-
if (t[2]) _.ops.pop();
|
683
|
-
_.trys.pop(); continue;
|
684
|
-
}
|
685
|
-
op = body.call(thisArg, _);
|
686
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
687
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
688
|
-
}
|
689
|
-
}
|
690
|
-
|
691
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
692
|
-
if (k2 === undefined) k2 = k;
|
693
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
694
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
695
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
696
|
-
}
|
697
|
-
Object.defineProperty(o, k2, desc);
|
698
|
-
}) : (function(o, m, k, k2) {
|
699
|
-
if (k2 === undefined) k2 = k;
|
700
|
-
o[k2] = m[k];
|
701
|
-
});
|
702
|
-
|
703
|
-
function __exportStar(m, o) {
|
704
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
705
|
-
}
|
706
|
-
|
707
|
-
function __values(o) {
|
708
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
709
|
-
if (m) return m.call(o);
|
710
|
-
if (o && typeof o.length === "number") return {
|
711
|
-
next: function () {
|
712
|
-
if (o && i >= o.length) o = void 0;
|
713
|
-
return { value: o && o[i++], done: !o };
|
714
|
-
}
|
715
|
-
};
|
716
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
717
|
-
}
|
718
|
-
|
719
|
-
function __read(o, n) {
|
720
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
721
|
-
if (!m) return o;
|
722
|
-
var i = m.call(o), r, ar = [], e;
|
723
|
-
try {
|
724
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
725
|
-
}
|
726
|
-
catch (error) { e = { error: error }; }
|
727
|
-
finally {
|
728
|
-
try {
|
729
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
730
|
-
}
|
731
|
-
finally { if (e) throw e.error; }
|
732
|
-
}
|
733
|
-
return ar;
|
734
|
-
}
|
735
|
-
|
736
|
-
/** @deprecated */
|
737
|
-
function __spread() {
|
738
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
739
|
-
ar = ar.concat(__read(arguments[i]));
|
740
|
-
return ar;
|
741
|
-
}
|
742
|
-
|
743
|
-
/** @deprecated */
|
744
|
-
function __spreadArrays() {
|
745
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
746
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
747
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
748
|
-
r[k] = a[j];
|
749
|
-
return r;
|
750
|
-
}
|
751
|
-
|
752
|
-
function __spreadArray(to, from, pack) {
|
753
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
754
|
-
if (ar || !(i in from)) {
|
755
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
756
|
-
ar[i] = from[i];
|
757
|
-
}
|
758
|
-
}
|
759
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
760
|
-
}
|
761
|
-
|
762
|
-
function __await(v) {
|
763
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
764
|
-
}
|
765
|
-
|
766
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
767
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
768
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
769
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
770
|
-
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); }); }; }
|
771
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
772
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
773
|
-
function fulfill(value) { resume("next", value); }
|
774
|
-
function reject(value) { resume("throw", value); }
|
775
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
776
|
-
}
|
777
|
-
|
778
|
-
function __asyncDelegator(o) {
|
779
|
-
var i, p;
|
780
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
781
|
-
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; }
|
782
|
-
}
|
783
|
-
|
784
|
-
function __asyncValues(o) {
|
785
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
786
|
-
var m = o[Symbol.asyncIterator], i;
|
787
|
-
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);
|
788
|
-
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); }); }; }
|
789
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
790
|
-
}
|
791
|
-
|
792
|
-
function __makeTemplateObject(cooked, raw) {
|
793
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
794
|
-
return cooked;
|
795
|
-
};
|
796
|
-
|
797
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
798
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
799
|
-
}) : function(o, v) {
|
800
|
-
o["default"] = v;
|
801
|
-
};
|
802
|
-
|
803
|
-
function __importStar(mod) {
|
804
|
-
if (mod && mod.__esModule) return mod;
|
805
|
-
var result = {};
|
806
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
807
|
-
__setModuleDefault(result, mod);
|
808
|
-
return result;
|
809
|
-
}
|
810
|
-
|
811
|
-
function __importDefault(mod) {
|
812
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
813
|
-
}
|
814
|
-
|
815
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
816
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
817
|
-
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");
|
818
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
819
|
-
}
|
820
|
-
|
821
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
822
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
823
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
824
|
-
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");
|
825
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
826
|
-
}
|
827
|
-
|
828
|
-
function __classPrivateFieldIn(state, receiver) {
|
829
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
830
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
831
|
-
}
|
832
|
-
|
833
|
-
function __addDisposableResource(env, value, async) {
|
834
|
-
if (value !== null && value !== void 0) {
|
835
|
-
if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");
|
836
|
-
var dispose;
|
837
|
-
if (async) {
|
838
|
-
if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
|
839
|
-
dispose = value[Symbol.asyncDispose];
|
840
|
-
}
|
841
|
-
if (dispose === void 0) {
|
842
|
-
if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
|
843
|
-
dispose = value[Symbol.dispose];
|
844
|
-
}
|
845
|
-
if (typeof dispose !== "function") throw new TypeError("Object not disposable.");
|
846
|
-
env.stack.push({ value: value, dispose: dispose, async: async });
|
847
|
-
}
|
848
|
-
else if (async) {
|
849
|
-
env.stack.push({ async: true });
|
850
|
-
}
|
851
|
-
return value;
|
852
|
-
}
|
853
|
-
|
854
|
-
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
855
|
-
var e = new Error(message);
|
856
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
857
|
-
};
|
858
|
-
|
859
|
-
function __disposeResources(env) {
|
860
|
-
function fail(e) {
|
861
|
-
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
862
|
-
env.hasError = true;
|
863
|
-
}
|
864
|
-
function next() {
|
865
|
-
while (env.stack.length) {
|
866
|
-
var rec = env.stack.pop();
|
867
|
-
try {
|
868
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
869
|
-
if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
|
870
|
-
}
|
871
|
-
catch (e) {
|
872
|
-
fail(e);
|
873
|
-
}
|
874
|
-
}
|
875
|
-
if (env.hasError) throw env.error;
|
876
|
-
}
|
877
|
-
return next();
|
878
|
-
}
|
879
|
-
|
880
|
-
/* harmony default export */ const tslib_es6 = ({
|
881
|
-
__extends,
|
882
|
-
__assign,
|
883
|
-
__rest,
|
884
|
-
__decorate,
|
885
|
-
__param,
|
886
|
-
__metadata,
|
887
|
-
__awaiter,
|
888
|
-
__generator,
|
889
|
-
__createBinding,
|
890
|
-
__exportStar,
|
891
|
-
__values,
|
892
|
-
__read,
|
893
|
-
__spread,
|
894
|
-
__spreadArrays,
|
895
|
-
__spreadArray,
|
896
|
-
__await,
|
897
|
-
__asyncGenerator,
|
898
|
-
__asyncDelegator,
|
899
|
-
__asyncValues,
|
900
|
-
__makeTemplateObject,
|
901
|
-
__importStar,
|
902
|
-
__importDefault,
|
903
|
-
__classPrivateFieldGet,
|
904
|
-
__classPrivateFieldSet,
|
905
|
-
__classPrivateFieldIn,
|
906
|
-
__addDisposableResource,
|
907
|
-
__disposeResources,
|
908
|
-
});
|
909
|
-
|
910
599
|
;// CONCATENATED MODULE: external "../config-provider"
|
911
600
|
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
912
601
|
var external_config_provider_y = x => () => x
|
@@ -965,9 +654,9 @@ function calculateNodeStyling(targetElement) {
|
|
965
654
|
};
|
966
655
|
}
|
967
656
|
function calcTextareaHeight(targetElement) {
|
657
|
+
var _hiddenTextarea$paren;
|
968
658
|
var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
|
969
659
|
var maxRows = arguments.length > 2 ? arguments[2] : undefined;
|
970
|
-
var _a;
|
971
660
|
if (!hiddenTextarea) {
|
972
661
|
hiddenTextarea = document.createElement('textarea');
|
973
662
|
document.body.appendChild(hiddenTextarea);
|
@@ -1004,16 +693,21 @@ function calcTextareaHeight(targetElement) {
|
|
1004
693
|
height = Math.min(maxHeight, height);
|
1005
694
|
}
|
1006
695
|
result.height = "".concat(height, "px");
|
1007
|
-
(
|
696
|
+
(_hiddenTextarea$paren = hiddenTextarea.parentNode) === null || _hiddenTextarea$paren === void 0 ? void 0 : _hiddenTextarea$paren.removeChild(hiddenTextarea);
|
1008
697
|
hiddenTextarea = undefined;
|
1009
698
|
return result;
|
1010
699
|
}
|
1011
700
|
;// CONCATENATED MODULE: ../../packages/input/src/input.tsx
|
1012
701
|
|
1013
702
|
|
703
|
+
|
704
|
+
|
705
|
+
var _excluded = ["class", "style"];
|
1014
706
|
var _inputEmitEventsType;
|
1015
707
|
|
1016
708
|
|
709
|
+
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; }
|
710
|
+
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; }
|
1017
711
|
/*
|
1018
712
|
* Tencent is pleased to support the open source community by making
|
1019
713
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -1045,7 +739,6 @@ var _inputEmitEventsType;
|
|
1045
739
|
|
1046
740
|
|
1047
741
|
|
1048
|
-
|
1049
742
|
var inputType = {
|
1050
743
|
type: external_shared_namespaceObject.PropTypes.string.def('text'),
|
1051
744
|
clearable: external_shared_namespaceObject.PropTypes.bool,
|
@@ -1122,7 +815,6 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1122
815
|
props: inputType,
|
1123
816
|
emits: inputEmitEventsType,
|
1124
817
|
setup: function setup(props, ctx) {
|
1125
|
-
var _this = this;
|
1126
818
|
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
1127
819
|
resolveClassName = _usePrefix.resolveClassName;
|
1128
820
|
var formItem = (0,external_shared_namespaceObject.useFormItem)();
|
@@ -1135,10 +827,10 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1135
827
|
var inputClsPrefix = (0,external_vue_namespaceObject.computed)(function () {
|
1136
828
|
return isTextArea.value ? resolveClassName('textarea') : resolveClassName('input');
|
1137
829
|
});
|
1138
|
-
var
|
1139
|
-
cls =
|
1140
|
-
style =
|
1141
|
-
inputAttrs =
|
830
|
+
var _ctx$attrs = ctx.attrs,
|
831
|
+
cls = _ctx$attrs["class"],
|
832
|
+
style = _ctx$attrs.style,
|
833
|
+
inputAttrs = _objectWithoutProperties(_ctx$attrs, _excluded);
|
1142
834
|
var inputRef = (0,external_vue_namespaceObject.ref)();
|
1143
835
|
var innerInputValue = (0,external_vue_namespaceObject.ref)(typeof props.modelValue === 'undefined' || props.modelValue === null ? {} : {
|
1144
836
|
value: props.modelValue
|
@@ -1150,13 +842,13 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1150
842
|
var isOverflow = (0,external_vue_namespaceObject.ref)(false);
|
1151
843
|
var textareaCalcStyle = (0,external_vue_namespaceObject.ref)({});
|
1152
844
|
var resizeTextarea = function resizeTextarea() {
|
1153
|
-
var _a, _b;
|
1154
845
|
if (!isTextArea.value) return;
|
1155
846
|
if (props.autosize) {
|
1156
|
-
var
|
1157
|
-
var
|
847
|
+
var _props$autosize, _props$autosize2;
|
848
|
+
var minRows = (_props$autosize = props.autosize) === null || _props$autosize === void 0 ? void 0 : _props$autosize.minRows;
|
849
|
+
var maxRows = (_props$autosize2 = props.autosize) === null || _props$autosize2 === void 0 ? void 0 : _props$autosize2.maxRows;
|
1158
850
|
var textareaStyle = calcTextareaHeight(inputRef.value, minRows, maxRows);
|
1159
|
-
textareaCalcStyle.value =
|
851
|
+
textareaCalcStyle.value = _objectSpread({
|
1160
852
|
overflowY: 'hidden'
|
1161
853
|
}, textareaStyle);
|
1162
854
|
(0,external_vue_namespaceObject.nextTick)(function () {
|
@@ -1171,9 +863,9 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1171
863
|
var createOnceInitResize = function createOnceInitResize(resizeTextarea) {
|
1172
864
|
var isInit = false;
|
1173
865
|
return function () {
|
1174
|
-
var
|
866
|
+
var _inputRef$value;
|
1175
867
|
if (isInit || !props.autosize) return;
|
1176
|
-
var isElHidden = ((
|
868
|
+
var isElHidden = ((_inputRef$value = inputRef.value) === null || _inputRef$value === void 0 ? void 0 : _inputRef$value.offsetParent) === null;
|
1177
869
|
if (!isElHidden) {
|
1178
870
|
resizeTextarea();
|
1179
871
|
isInit = true;
|
@@ -1209,8 +901,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1209
901
|
return props.type === 'number';
|
1210
902
|
});
|
1211
903
|
var ceilMaxLength = (0,external_vue_namespaceObject.computed)(function () {
|
1212
|
-
var
|
1213
|
-
return Math.floor((
|
904
|
+
var _ref, _props$maxlength;
|
905
|
+
return Math.floor((_ref = (_props$maxlength = props.maxlength) !== null && _props$maxlength !== void 0 ? _props$maxlength : props.maxcharacter) !== null && _ref !== void 0 ? _ref : 0);
|
1214
906
|
});
|
1215
907
|
var pwdVisible = (0,external_vue_namespaceObject.ref)(false);
|
1216
908
|
var clearCls = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -1241,8 +933,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1241
933
|
};
|
1242
934
|
};
|
1243
935
|
var modelValueLength = (0,external_vue_namespaceObject.computed)(function () {
|
1244
|
-
var
|
1245
|
-
var modelValue = (
|
936
|
+
var _props$modelValue;
|
937
|
+
var modelValue = (_props$modelValue = props.modelValue) !== null && _props$modelValue !== void 0 ? _props$modelValue : '';
|
1246
938
|
return getValueLimits(modelValue).len;
|
1247
939
|
});
|
1248
940
|
var incControlCls = (0,external_vue_namespaceObject.computed)(function () {
|
@@ -1271,28 +963,26 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1271
963
|
});
|
1272
964
|
(0,external_vue_namespaceObject.watch)(function () {
|
1273
965
|
return props.type;
|
1274
|
-
}, function () {
|
1275
|
-
return
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
}));
|
1289
|
-
});
|
966
|
+
}, /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
967
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
968
|
+
while (1) switch (_context.prev = _context.next) {
|
969
|
+
case 0:
|
970
|
+
_context.next = 2;
|
971
|
+
return (0,external_vue_namespaceObject.nextTick)();
|
972
|
+
case 2:
|
973
|
+
resizeTextarea();
|
974
|
+
case 3:
|
975
|
+
case "end":
|
976
|
+
return _context.stop();
|
977
|
+
}
|
978
|
+
}, _callee);
|
979
|
+
})));
|
1290
980
|
(0,external_vue_namespaceObject.watch)(function () {
|
1291
981
|
return props.modelValue;
|
1292
982
|
}, function (val) {
|
1293
|
-
var _a;
|
1294
983
|
if (props.withValidate) {
|
1295
|
-
|
984
|
+
var _formItem$validate;
|
985
|
+
formItem === null || formItem === void 0 || (_formItem$validate = formItem.validate) === null || _formItem$validate === void 0 ? void 0 : _formItem$validate.call(formItem, 'change');
|
1296
986
|
}
|
1297
987
|
innerInputValue.value = {
|
1298
988
|
value: val
|
@@ -1321,8 +1011,8 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1321
1011
|
clear: clear
|
1322
1012
|
});
|
1323
1013
|
function detectOverflow() {
|
1324
|
-
var
|
1325
|
-
return ((
|
1014
|
+
var _inputRef$value2, _inputRef$value3;
|
1015
|
+
return ((_inputRef$value2 = inputRef.value) === null || _inputRef$value2 === void 0 ? void 0 : _inputRef$value2.scrollWidth) > ((_inputRef$value3 = inputRef.value) === null || _inputRef$value3 === void 0 ? void 0 : _inputRef$value3.clientWidth) + 2;
|
1326
1016
|
}
|
1327
1017
|
function clear() {
|
1328
1018
|
if (props.disabled) return;
|
@@ -1336,12 +1026,12 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1336
1026
|
ctx.emit(EVENTS.FOCUS, e);
|
1337
1027
|
}
|
1338
1028
|
function handleBlur(e) {
|
1339
|
-
var _a;
|
1340
1029
|
isFocused.value = false;
|
1341
1030
|
isOverflow.value = detectOverflow();
|
1342
1031
|
ctx.emit(EVENTS.BLUR, e);
|
1343
1032
|
if (props.withValidate) {
|
1344
|
-
|
1033
|
+
var _formItem$validate2;
|
1034
|
+
formItem === null || formItem === void 0 || (_formItem$validate2 = formItem.validate) === null || _formItem$validate2 === void 0 ? void 0 : _formItem$validate2.call(formItem, 'blur');
|
1345
1035
|
}
|
1346
1036
|
}
|
1347
1037
|
// 事件句柄生成器
|
@@ -1448,11 +1138,11 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1448
1138
|
onCompositionend: handleCompositionEnd
|
1449
1139
|
};
|
1450
1140
|
return function () {
|
1451
|
-
var
|
1141
|
+
var _ctx$slots$prefix, _ctx$slots, _ctx$slots$prefix2, _ctx$slots$suffix, _ctx$slots2, _ctx$slots2$suffix;
|
1452
1142
|
return (0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("div", {
|
1453
1143
|
"class": inputCls.value,
|
1454
1144
|
"style": style
|
1455
|
-
}, [(
|
1145
|
+
}, [(_ctx$slots$prefix = (_ctx$slots = ctx.slots) === null || _ctx$slots === void 0 || (_ctx$slots$prefix2 = _ctx$slots.prefix) === null || _ctx$slots$prefix2 === void 0 ? void 0 : _ctx$slots$prefix2.call(_ctx$slots)) !== null && _ctx$slots$prefix !== void 0 ? _ctx$slots$prefix : props.prefix && (0,external_vue_namespaceObject.createVNode)("div", {
|
1456
1146
|
"class": getCls('prefix-area')
|
1457
1147
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
1458
1148
|
"class": getCls('prefix-area--text')
|
@@ -1484,7 +1174,7 @@ var inputEmitEventsType = (_inputEmitEventsType = {}, _defineProperty(_inputEmit
|
|
1484
1174
|
}, null), (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.DownSmall, {
|
1485
1175
|
"class": decControlCls.value,
|
1486
1176
|
"onClick": handleDec
|
1487
|
-
}, null)]), (
|
1177
|
+
}, null)]), (_ctx$slots$suffix = (_ctx$slots2 = ctx.slots) === null || _ctx$slots2 === void 0 || (_ctx$slots2$suffix = _ctx$slots2.suffix) === null || _ctx$slots2$suffix === void 0 ? void 0 : _ctx$slots2$suffix.call(_ctx$slots2)) !== null && _ctx$slots$suffix !== void 0 ? _ctx$slots$suffix : props.suffix && (0,external_vue_namespaceObject.createVNode)("div", {
|
1488
1178
|
"class": getCls('suffix-area')
|
1489
1179
|
}, [(0,external_vue_namespaceObject.createVNode)("span", {
|
1490
1180
|
"class": getCls('suffix-area--text')
|
package/lib/link/index.js
CHANGED
@@ -113,7 +113,7 @@ var LinkThemeEnum;
|
|
113
113
|
};
|
114
114
|
},
|
115
115
|
render: function render() {
|
116
|
-
var
|
116
|
+
var _this$$slots$default, _this$$slots;
|
117
117
|
var linkClass = (0,external_shared_namespaceObject.classes)({
|
118
118
|
'is-disabled': this.disabled,
|
119
119
|
'has-underline': this.underline
|
@@ -123,7 +123,7 @@ var LinkThemeEnum;
|
|
123
123
|
"target": this.target,
|
124
124
|
"class": linkClass,
|
125
125
|
"onClick": this.handleClick
|
126
|
-
}, [(0,external_vue_namespaceObject.createVNode)("span", null, [(
|
126
|
+
}, [(0,external_vue_namespaceObject.createVNode)("span", null, [(_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots)])]);
|
127
127
|
}
|
128
128
|
}));
|
129
129
|
;// CONCATENATED MODULE: ../../packages/link/src/index.ts
|