bkui-vue 2.0.2-beta.44 → 2.0.2-beta.46
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/License.txt +1 -2
- package/dist/index.cjs.js +47 -42
- package/dist/index.esm.js +7199 -7009
- package/dist/index.umd.js +50 -45
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/ja-jp.esm.js +1 -1
- package/dist/locale/ja-jp.esm.js.map +1 -1
- package/dist/locale/ja-jp.umd.js +1 -1
- package/dist/locale/ja-jp.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/lib/affix/index.js +14 -16
- package/lib/alert/index.js +14 -16
- package/lib/animate-number/index.js +13 -14
- package/lib/backtop/index.js +12 -13
- package/lib/badge/index.js +14 -16
- package/lib/breadcrumb/index.js +15 -17
- package/lib/button/button.d.ts +1 -1
- package/lib/button/index.js +15 -17
- package/lib/card/index.js +14 -16
- package/lib/cascader/index.js +104 -111
- package/lib/checkbox/index.js +41 -39
- package/lib/code-diff/index.js +1173 -677
- package/lib/collapse/index.js +47 -45
- package/lib/collapse-transition/index.js +5 -6
- package/lib/color-picker/index.js +72 -73
- package/lib/components.js +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/index.js +18 -20
- package/lib/container/index.js +26 -30
- package/lib/date-picker/index.js +79 -72
- package/lib/dialog/index.js +56 -477
- package/lib/directives/index.js +42 -39
- package/lib/dist.index.js +1 -1
- package/lib/divider/index.js +5 -6
- package/lib/dropdown/index.js +21 -25
- package/lib/exception/index.js +16 -19
- package/lib/fixed-navbar/index.js +4 -5
- package/lib/form/index.js +48 -45
- package/lib/hooks.js +1 -1
- package/lib/icon/angle-double-down-line.js +30 -37
- package/lib/icon/angle-double-left-line.js +30 -37
- package/lib/icon/angle-double-left.js +30 -37
- package/lib/icon/angle-double-right-line.js +30 -37
- package/lib/icon/angle-double-right.js +30 -37
- package/lib/icon/angle-double-up-line.js +30 -37
- package/lib/icon/angle-down-fill.js +30 -37
- package/lib/icon/angle-down-line.js +30 -37
- package/lib/icon/angle-down.js +30 -37
- package/lib/icon/angle-left.js +30 -37
- package/lib/icon/angle-right.js +30 -37
- package/lib/icon/angle-up-fill.js +30 -37
- package/lib/icon/angle-up.js +30 -37
- package/lib/icon/archive-fill.js +30 -37
- package/lib/icon/arrows-left.js +30 -37
- package/lib/icon/arrows-right.js +30 -37
- package/lib/icon/assistant.js +30 -37
- package/lib/icon/audio-fill.js +30 -37
- package/lib/icon/bk.js +30 -37
- package/lib/icon/circle.js +30 -37
- package/lib/icon/close-line.js +30 -37
- package/lib/icon/close.js +30 -37
- package/lib/icon/code.js +30 -37
- package/lib/icon/cog-shape.js +30 -37
- package/lib/icon/collapse-left.js +30 -37
- package/lib/icon/copy-shape.js +30 -37
- package/lib/icon/copy.js +30 -37
- package/lib/icon/data-shape.js +30 -37
- package/lib/icon/del.js +30 -37
- package/lib/icon/doc-fill.js +30 -37
- package/lib/icon/done.js +30 -37
- package/lib/icon/down-shape.js +30 -37
- package/lib/icon/down-small.js +30 -37
- package/lib/icon/edit-line.js +30 -37
- package/lib/icon/ellipsis.js +30 -37
- package/lib/icon/enlarge-line.js +30 -37
- package/lib/icon/error.js +30 -37
- package/lib/icon/excel-fill.js +30 -37
- package/lib/icon/exclamation-circle-shape.js +30 -37
- package/lib/icon/eye.js +30 -37
- package/lib/icon/filliscreen-line.js +30 -37
- package/lib/icon/fix-line.js +30 -37
- package/lib/icon/fix-shape.js +30 -37
- package/lib/icon/folder-open.js +30 -37
- package/lib/icon/folder-shape-open.js +30 -37
- package/lib/icon/folder-shape.js +30 -37
- package/lib/icon/folder.js +30 -37
- package/lib/icon/funnel.js +30 -37
- package/lib/icon/grag-fill.js +30 -37
- package/lib/icon/help-document-fill.js +30 -37
- package/lib/icon/help-fill.js +30 -37
- package/lib/icon/help.js +30 -37
- package/lib/icon/image-fill.js +30 -37
- package/lib/icon/img-error.js +30 -37
- package/lib/icon/img-placehoulder.js +30 -37
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +30 -37
- package/lib/icon/info.js +30 -37
- package/lib/icon/left-shape.js +30 -37
- package/lib/icon/left-turn-line.js +30 -37
- package/lib/icon/loading.js +30 -37
- package/lib/icon/narrow-line.js +30 -37
- package/lib/icon/original.js +30 -37
- package/lib/icon/pdf-fill.js +30 -37
- package/lib/icon/play-shape.js +30 -37
- package/lib/icon/plus.js +30 -37
- package/lib/icon/ppt-fill.js +30 -37
- package/lib/icon/qq.js +30 -37
- package/lib/icon/right-shape.js +30 -37
- package/lib/icon/right-turn-line.js +30 -37
- package/lib/icon/search.js +30 -37
- package/lib/icon/share.js +30 -37
- package/lib/icon/spinner.js +30 -37
- package/lib/icon/success.js +30 -37
- package/lib/icon/switcher-loading.js +30 -37
- package/lib/icon/text-all.js +30 -37
- package/lib/icon/text-file.js +30 -37
- package/lib/icon/text-fill.js +30 -37
- package/lib/icon/transfer.js +30 -37
- package/lib/icon/tree-application-shape.js +30 -37
- package/lib/icon/unfull-screen.js +30 -37
- package/lib/icon/unvisible.js +30 -37
- package/lib/icon/up-shape.js +30 -37
- package/lib/icon/upload.js +30 -37
- package/lib/icon/video-fill.js +30 -37
- package/lib/icon/warn.js +30 -37
- package/lib/icon/weixin-pro.js +30 -37
- package/lib/icon/weixin.js +30 -37
- package/lib/image/index.js +57 -55
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +65 -464
- package/lib/input/index.js +70 -68
- package/lib/link/index.js +4 -4
- package/lib/loading/index.js +25 -28
- package/lib/locale/index.js +16 -16
- package/lib/menu/index.js +42 -40
- package/lib/message/index.js +37 -34
- package/lib/modal/index.js +17 -19
- package/lib/navigation/index.js +10 -12
- package/lib/notify/index.js +15 -17
- package/lib/overflow-title/index.js +12 -13
- package/lib/pagination/index.js +38 -35
- package/lib/pop-confirm/index.js +7 -8
- package/lib/popover/index.js +226 -153
- package/lib/popover2/index.js +4 -4
- package/lib/preset.js +1 -1
- package/lib/process/index.js +61 -454
- package/lib/process/process.d.ts +1 -1
- package/lib/progress/index.js +20 -23
- package/lib/radio/index.js +42 -39
- package/lib/rate/index.js +15 -17
- package/lib/resize-layout/index.js +20 -22
- package/lib/scrollbar/index.js +57 -64
- package/lib/search-select/index.js +233 -606
- package/lib/select/index.js +126 -478
- package/lib/shared/index.d.ts +1 -1
- package/lib/shared/index.js +93 -105
- package/lib/shared/z-index-manager.d.ts +1 -1
- package/lib/sideslider/index.js +45 -443
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +52 -449
- package/lib/slider/slider-button.d.ts +1 -1
- package/lib/slider/slider.d.ts +1 -1
- package/lib/steps/index.js +62 -460
- package/lib/steps/steps.d.ts +1 -1
- package/lib/swiper/index.js +17 -19
- package/lib/switcher/index.js +14 -16
- package/lib/tab/index.js +50 -48
- package/lib/table/index.js +184 -533
- package/lib/table-column/index.js +1 -1
- package/lib/tag/index.js +14 -16
- package/lib/tag-input/index.js +58 -52
- package/lib/time-picker/index.js +1 -1
- package/lib/timeline/index.js +3 -2
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.js +26 -21
- package/lib/transfer/transfer.d.ts +1 -1
- package/lib/tree/index.js +85 -78
- package/lib/upload/index.js +144 -495
- package/lib/virtual-render/index.js +54 -58
- package/lib/volar.components.d.ts +1 -1
- package/package.json +13 -2
package/lib/select/index.js
CHANGED
@@ -628,354 +628,6 @@ normalizeWheel.getEventType = function() /*string*/ {
|
|
628
628
|
module.exports = normalizeWheel;
|
629
629
|
|
630
630
|
|
631
|
-
/***/ }),
|
632
|
-
|
633
|
-
/***/ 7609:
|
634
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
635
|
-
|
636
|
-
var _typeof = (__webpack_require__(7425)["default"]);
|
637
|
-
function _regeneratorRuntime() {
|
638
|
-
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
639
|
-
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
640
|
-
return e;
|
641
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
642
|
-
var t,
|
643
|
-
e = {},
|
644
|
-
r = Object.prototype,
|
645
|
-
n = r.hasOwnProperty,
|
646
|
-
o = Object.defineProperty || function (t, e, r) {
|
647
|
-
t[e] = r.value;
|
648
|
-
},
|
649
|
-
i = "function" == typeof Symbol ? Symbol : {},
|
650
|
-
a = i.iterator || "@@iterator",
|
651
|
-
c = i.asyncIterator || "@@asyncIterator",
|
652
|
-
u = i.toStringTag || "@@toStringTag";
|
653
|
-
function define(t, e, r) {
|
654
|
-
return Object.defineProperty(t, e, {
|
655
|
-
value: r,
|
656
|
-
enumerable: !0,
|
657
|
-
configurable: !0,
|
658
|
-
writable: !0
|
659
|
-
}), t[e];
|
660
|
-
}
|
661
|
-
try {
|
662
|
-
define({}, "");
|
663
|
-
} catch (t) {
|
664
|
-
define = function define(t, e, r) {
|
665
|
-
return t[e] = r;
|
666
|
-
};
|
667
|
-
}
|
668
|
-
function wrap(t, e, r, n) {
|
669
|
-
var i = e && e.prototype instanceof Generator ? e : Generator,
|
670
|
-
a = Object.create(i.prototype),
|
671
|
-
c = new Context(n || []);
|
672
|
-
return o(a, "_invoke", {
|
673
|
-
value: makeInvokeMethod(t, r, c)
|
674
|
-
}), a;
|
675
|
-
}
|
676
|
-
function tryCatch(t, e, r) {
|
677
|
-
try {
|
678
|
-
return {
|
679
|
-
type: "normal",
|
680
|
-
arg: t.call(e, r)
|
681
|
-
};
|
682
|
-
} catch (t) {
|
683
|
-
return {
|
684
|
-
type: "throw",
|
685
|
-
arg: t
|
686
|
-
};
|
687
|
-
}
|
688
|
-
}
|
689
|
-
e.wrap = wrap;
|
690
|
-
var h = "suspendedStart",
|
691
|
-
l = "suspendedYield",
|
692
|
-
f = "executing",
|
693
|
-
s = "completed",
|
694
|
-
y = {};
|
695
|
-
function Generator() {}
|
696
|
-
function GeneratorFunction() {}
|
697
|
-
function GeneratorFunctionPrototype() {}
|
698
|
-
var p = {};
|
699
|
-
define(p, a, function () {
|
700
|
-
return this;
|
701
|
-
});
|
702
|
-
var d = Object.getPrototypeOf,
|
703
|
-
v = d && d(d(values([])));
|
704
|
-
v && v !== r && n.call(v, a) && (p = v);
|
705
|
-
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
706
|
-
function defineIteratorMethods(t) {
|
707
|
-
["next", "throw", "return"].forEach(function (e) {
|
708
|
-
define(t, e, function (t) {
|
709
|
-
return this._invoke(e, t);
|
710
|
-
});
|
711
|
-
});
|
712
|
-
}
|
713
|
-
function AsyncIterator(t, e) {
|
714
|
-
function invoke(r, o, i, a) {
|
715
|
-
var c = tryCatch(t[r], t, o);
|
716
|
-
if ("throw" !== c.type) {
|
717
|
-
var u = c.arg,
|
718
|
-
h = u.value;
|
719
|
-
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
720
|
-
invoke("next", t, i, a);
|
721
|
-
}, function (t) {
|
722
|
-
invoke("throw", t, i, a);
|
723
|
-
}) : e.resolve(h).then(function (t) {
|
724
|
-
u.value = t, i(u);
|
725
|
-
}, function (t) {
|
726
|
-
return invoke("throw", t, i, a);
|
727
|
-
});
|
728
|
-
}
|
729
|
-
a(c.arg);
|
730
|
-
}
|
731
|
-
var r;
|
732
|
-
o(this, "_invoke", {
|
733
|
-
value: function value(t, n) {
|
734
|
-
function callInvokeWithMethodAndArg() {
|
735
|
-
return new e(function (e, r) {
|
736
|
-
invoke(t, n, e, r);
|
737
|
-
});
|
738
|
-
}
|
739
|
-
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
740
|
-
}
|
741
|
-
});
|
742
|
-
}
|
743
|
-
function makeInvokeMethod(e, r, n) {
|
744
|
-
var o = h;
|
745
|
-
return function (i, a) {
|
746
|
-
if (o === f) throw new Error("Generator is already running");
|
747
|
-
if (o === s) {
|
748
|
-
if ("throw" === i) throw a;
|
749
|
-
return {
|
750
|
-
value: t,
|
751
|
-
done: !0
|
752
|
-
};
|
753
|
-
}
|
754
|
-
for (n.method = i, n.arg = a;;) {
|
755
|
-
var c = n.delegate;
|
756
|
-
if (c) {
|
757
|
-
var u = maybeInvokeDelegate(c, n);
|
758
|
-
if (u) {
|
759
|
-
if (u === y) continue;
|
760
|
-
return u;
|
761
|
-
}
|
762
|
-
}
|
763
|
-
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
764
|
-
if (o === h) throw o = s, n.arg;
|
765
|
-
n.dispatchException(n.arg);
|
766
|
-
} else "return" === n.method && n.abrupt("return", n.arg);
|
767
|
-
o = f;
|
768
|
-
var p = tryCatch(e, r, n);
|
769
|
-
if ("normal" === p.type) {
|
770
|
-
if (o = n.done ? s : l, p.arg === y) continue;
|
771
|
-
return {
|
772
|
-
value: p.arg,
|
773
|
-
done: n.done
|
774
|
-
};
|
775
|
-
}
|
776
|
-
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
777
|
-
}
|
778
|
-
};
|
779
|
-
}
|
780
|
-
function maybeInvokeDelegate(e, r) {
|
781
|
-
var n = r.method,
|
782
|
-
o = e.iterator[n];
|
783
|
-
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
784
|
-
var i = tryCatch(o, e.iterator, r.arg);
|
785
|
-
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
786
|
-
var a = i.arg;
|
787
|
-
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
788
|
-
}
|
789
|
-
function pushTryEntry(t) {
|
790
|
-
var e = {
|
791
|
-
tryLoc: t[0]
|
792
|
-
};
|
793
|
-
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
794
|
-
}
|
795
|
-
function resetTryEntry(t) {
|
796
|
-
var e = t.completion || {};
|
797
|
-
e.type = "normal", delete e.arg, t.completion = e;
|
798
|
-
}
|
799
|
-
function Context(t) {
|
800
|
-
this.tryEntries = [{
|
801
|
-
tryLoc: "root"
|
802
|
-
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
803
|
-
}
|
804
|
-
function values(e) {
|
805
|
-
if (e || "" === e) {
|
806
|
-
var r = e[a];
|
807
|
-
if (r) return r.call(e);
|
808
|
-
if ("function" == typeof e.next) return e;
|
809
|
-
if (!isNaN(e.length)) {
|
810
|
-
var o = -1,
|
811
|
-
i = function next() {
|
812
|
-
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
813
|
-
return next.value = t, next.done = !0, next;
|
814
|
-
};
|
815
|
-
return i.next = i;
|
816
|
-
}
|
817
|
-
}
|
818
|
-
throw new TypeError(_typeof(e) + " is not iterable");
|
819
|
-
}
|
820
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
821
|
-
value: GeneratorFunctionPrototype,
|
822
|
-
configurable: !0
|
823
|
-
}), o(GeneratorFunctionPrototype, "constructor", {
|
824
|
-
value: GeneratorFunction,
|
825
|
-
configurable: !0
|
826
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
827
|
-
var e = "function" == typeof t && t.constructor;
|
828
|
-
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
829
|
-
}, e.mark = function (t) {
|
830
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
831
|
-
}, e.awrap = function (t) {
|
832
|
-
return {
|
833
|
-
__await: t
|
834
|
-
};
|
835
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
836
|
-
return this;
|
837
|
-
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
838
|
-
void 0 === i && (i = Promise);
|
839
|
-
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
840
|
-
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
841
|
-
return t.done ? t.value : a.next();
|
842
|
-
});
|
843
|
-
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
844
|
-
return this;
|
845
|
-
}), define(g, "toString", function () {
|
846
|
-
return "[object Generator]";
|
847
|
-
}), e.keys = function (t) {
|
848
|
-
var e = Object(t),
|
849
|
-
r = [];
|
850
|
-
for (var n in e) r.push(n);
|
851
|
-
return r.reverse(), function next() {
|
852
|
-
for (; r.length;) {
|
853
|
-
var t = r.pop();
|
854
|
-
if (t in e) return next.value = t, next.done = !1, next;
|
855
|
-
}
|
856
|
-
return next.done = !0, next;
|
857
|
-
};
|
858
|
-
}, e.values = values, Context.prototype = {
|
859
|
-
constructor: Context,
|
860
|
-
reset: function reset(e) {
|
861
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
862
|
-
},
|
863
|
-
stop: function stop() {
|
864
|
-
this.done = !0;
|
865
|
-
var t = this.tryEntries[0].completion;
|
866
|
-
if ("throw" === t.type) throw t.arg;
|
867
|
-
return this.rval;
|
868
|
-
},
|
869
|
-
dispatchException: function dispatchException(e) {
|
870
|
-
if (this.done) throw e;
|
871
|
-
var r = this;
|
872
|
-
function handle(n, o) {
|
873
|
-
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
874
|
-
}
|
875
|
-
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
876
|
-
var i = this.tryEntries[o],
|
877
|
-
a = i.completion;
|
878
|
-
if ("root" === i.tryLoc) return handle("end");
|
879
|
-
if (i.tryLoc <= this.prev) {
|
880
|
-
var c = n.call(i, "catchLoc"),
|
881
|
-
u = n.call(i, "finallyLoc");
|
882
|
-
if (c && u) {
|
883
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
884
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
885
|
-
} else if (c) {
|
886
|
-
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
887
|
-
} else {
|
888
|
-
if (!u) throw new Error("try statement without catch or finally");
|
889
|
-
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
890
|
-
}
|
891
|
-
}
|
892
|
-
}
|
893
|
-
},
|
894
|
-
abrupt: function abrupt(t, e) {
|
895
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
896
|
-
var o = this.tryEntries[r];
|
897
|
-
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
898
|
-
var i = o;
|
899
|
-
break;
|
900
|
-
}
|
901
|
-
}
|
902
|
-
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
903
|
-
var a = i ? i.completion : {};
|
904
|
-
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
905
|
-
},
|
906
|
-
complete: function complete(t, e) {
|
907
|
-
if ("throw" === t.type) throw t.arg;
|
908
|
-
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
909
|
-
},
|
910
|
-
finish: function finish(t) {
|
911
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
912
|
-
var r = this.tryEntries[e];
|
913
|
-
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
914
|
-
}
|
915
|
-
},
|
916
|
-
"catch": function _catch(t) {
|
917
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
918
|
-
var r = this.tryEntries[e];
|
919
|
-
if (r.tryLoc === t) {
|
920
|
-
var n = r.completion;
|
921
|
-
if ("throw" === n.type) {
|
922
|
-
var o = n.arg;
|
923
|
-
resetTryEntry(r);
|
924
|
-
}
|
925
|
-
return o;
|
926
|
-
}
|
927
|
-
}
|
928
|
-
throw new Error("illegal catch attempt");
|
929
|
-
},
|
930
|
-
delegateYield: function delegateYield(e, r, n) {
|
931
|
-
return this.delegate = {
|
932
|
-
iterator: values(e),
|
933
|
-
resultName: r,
|
934
|
-
nextLoc: n
|
935
|
-
}, "next" === this.method && (this.arg = t), y;
|
936
|
-
}
|
937
|
-
}, e;
|
938
|
-
}
|
939
|
-
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
940
|
-
|
941
|
-
/***/ }),
|
942
|
-
|
943
|
-
/***/ 7425:
|
944
|
-
/***/ ((module) => {
|
945
|
-
|
946
|
-
function _typeof(o) {
|
947
|
-
"@babel/helpers - typeof";
|
948
|
-
|
949
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
950
|
-
return typeof o;
|
951
|
-
} : function (o) {
|
952
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
953
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
954
|
-
}
|
955
|
-
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
956
|
-
|
957
|
-
/***/ }),
|
958
|
-
|
959
|
-
/***/ 2841:
|
960
|
-
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
961
|
-
|
962
|
-
// TODO(Babel 8): Remove this file.
|
963
|
-
|
964
|
-
var runtime = __webpack_require__(7609)();
|
965
|
-
module.exports = runtime;
|
966
|
-
|
967
|
-
// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
968
|
-
try {
|
969
|
-
regeneratorRuntime = runtime;
|
970
|
-
} catch (accidentalStrictMode) {
|
971
|
-
if (typeof globalThis === "object") {
|
972
|
-
globalThis.regeneratorRuntime = runtime;
|
973
|
-
} else {
|
974
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
975
|
-
}
|
976
|
-
}
|
977
|
-
|
978
|
-
|
979
631
|
/***/ })
|
980
632
|
|
981
633
|
/******/ });
|
@@ -1053,51 +705,45 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
1053
705
|
var y = x => () => x
|
1054
706
|
const shared_namespaceObject = x({ ["InputBehaviorType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.InputBehaviorType, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["SelectedType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedType, ["SelectedTypeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SelectedTypeEnum, ["SizeEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.SizeEnum, ["TagThemeType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.classes, ["observerResize"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.observerResize, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.resolveClassName, ["useFormItem"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.useFormItem, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstallProps });
|
1055
707
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
1056
|
-
function asyncGeneratorStep(
|
708
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
1057
709
|
try {
|
1058
|
-
var
|
1059
|
-
|
1060
|
-
} catch (
|
1061
|
-
|
1062
|
-
return;
|
1063
|
-
}
|
1064
|
-
if (info.done) {
|
1065
|
-
resolve(value);
|
1066
|
-
} else {
|
1067
|
-
Promise.resolve(value).then(_next, _throw);
|
710
|
+
var i = n[a](c),
|
711
|
+
u = i.value;
|
712
|
+
} catch (n) {
|
713
|
+
return void e(n);
|
1068
714
|
}
|
715
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
1069
716
|
}
|
1070
|
-
function _asyncToGenerator(
|
717
|
+
function _asyncToGenerator(n) {
|
1071
718
|
return function () {
|
1072
|
-
var
|
1073
|
-
|
1074
|
-
return new Promise(function (
|
1075
|
-
var
|
1076
|
-
function _next(
|
1077
|
-
asyncGeneratorStep(
|
719
|
+
var t = this,
|
720
|
+
e = arguments;
|
721
|
+
return new Promise(function (r, o) {
|
722
|
+
var a = n.apply(t, e);
|
723
|
+
function _next(n) {
|
724
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
1078
725
|
}
|
1079
|
-
function _throw(
|
1080
|
-
asyncGeneratorStep(
|
726
|
+
function _throw(n) {
|
727
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
1081
728
|
}
|
1082
|
-
_next(
|
729
|
+
_next(void 0);
|
1083
730
|
});
|
1084
731
|
};
|
1085
732
|
}
|
1086
|
-
|
1087
|
-
var regenerator = __webpack_require__(2841);
|
1088
|
-
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
733
|
+
|
1089
734
|
;// CONCATENATED MODULE: external "vue"
|
1090
735
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1091
736
|
var external_vue_y = x => () => x
|
1092
737
|
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["customRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.customRef, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeMount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRef"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRef, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["vModelText"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vModelText, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
1093
738
|
;// CONCATENATED MODULE: ../../packages/select/src/common.ts
|
1094
739
|
|
1095
|
-
|
740
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
741
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { if (r) i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n;else { var o = function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); }; o("next", 0), o("throw", 1), o("return", 2); } }, _regeneratorDefine2(e, r, n, t); }
|
1096
742
|
/*
|
1097
743
|
* Tencent is pleased to support the open source community by making
|
1098
744
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1099
745
|
*
|
1100
|
-
* Copyright (C)
|
746
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1101
747
|
*
|
1102
748
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1103
749
|
*
|
@@ -1225,31 +871,31 @@ function useRemoteSearch(method, callBack) {
|
|
1225
871
|
return searchValue.value || customOptionName.value;
|
1226
872
|
});
|
1227
873
|
var searchLoading = (0,external_vue_namespaceObject.ref)(false);
|
1228
|
-
(0,external_vue_namespaceObject.watch)(curSearchValue, /*#__PURE__*/_asyncToGenerator(
|
1229
|
-
|
1230
|
-
|
874
|
+
(0,external_vue_namespaceObject.watch)(curSearchValue, /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
875
|
+
var _t;
|
876
|
+
return _regenerator().w(function (_context) {
|
877
|
+
while (1) switch (_context.n) {
|
1231
878
|
case 0:
|
1232
|
-
_context.
|
879
|
+
_context.p = 0;
|
1233
880
|
searchLoading.value = true;
|
1234
|
-
_context.
|
881
|
+
_context.n = 1;
|
1235
882
|
return method(curSearchValue.value);
|
1236
|
-
case
|
883
|
+
case 1:
|
1237
884
|
searchLoading.value = false;
|
1238
|
-
_context.
|
885
|
+
_context.n = 3;
|
1239
886
|
break;
|
1240
|
-
case
|
1241
|
-
_context.
|
1242
|
-
|
1243
|
-
console.error(
|
1244
|
-
case
|
1245
|
-
_context.
|
887
|
+
case 2:
|
888
|
+
_context.p = 2;
|
889
|
+
_t = _context.v;
|
890
|
+
console.error(_t);
|
891
|
+
case 3:
|
892
|
+
_context.p = 3;
|
1246
893
|
callBack === null || callBack === void 0 || callBack();
|
1247
|
-
return _context.
|
1248
|
-
case
|
1249
|
-
|
1250
|
-
return _context.stop();
|
894
|
+
return _context.f(3);
|
895
|
+
case 4:
|
896
|
+
return _context.a(2);
|
1251
897
|
}
|
1252
|
-
}, _callee, null, [[0,
|
898
|
+
}, _callee, null, [[0, 2, 3, 4]]);
|
1253
899
|
})));
|
1254
900
|
return {
|
1255
901
|
customOptionName: customOptionName,
|
@@ -1283,6 +929,7 @@ function _typeof(o) {
|
|
1283
929
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1284
930
|
}, _typeof(o);
|
1285
931
|
}
|
932
|
+
|
1286
933
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
1287
934
|
|
1288
935
|
function toPrimitive(t, r) {
|
@@ -1295,29 +942,26 @@ function toPrimitive(t, r) {
|
|
1295
942
|
}
|
1296
943
|
return ("string" === r ? String : Number)(t);
|
1297
944
|
}
|
945
|
+
|
1298
946
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
1299
947
|
|
1300
948
|
|
1301
949
|
function toPropertyKey(t) {
|
1302
950
|
var i = toPrimitive(t, "string");
|
1303
|
-
return "symbol" == _typeof(i) ? i :
|
951
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
1304
952
|
}
|
953
|
+
|
1305
954
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1306
955
|
|
1307
|
-
function _defineProperty(
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
writable: true
|
1315
|
-
});
|
1316
|
-
} else {
|
1317
|
-
obj[key] = value;
|
1318
|
-
}
|
1319
|
-
return obj;
|
956
|
+
function _defineProperty(e, r, t) {
|
957
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
958
|
+
value: t,
|
959
|
+
enumerable: !0,
|
960
|
+
configurable: !0,
|
961
|
+
writable: !0
|
962
|
+
}) : e[r] = t, e;
|
1320
963
|
}
|
964
|
+
|
1321
965
|
;// CONCATENATED MODULE: external "../checkbox"
|
1322
966
|
var checkbox_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
1323
967
|
var checkbox_y = x => () => x
|
@@ -1340,14 +984,11 @@ var isEqual_y = x => () => x
|
|
1340
984
|
const isEqual_namespaceObject = isEqual_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isEqual_ce045a54__["default"] });
|
1341
985
|
;// CONCATENATED MODULE: ../../packages/select/src/option.tsx
|
1342
986
|
|
1343
|
-
|
1344
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
1345
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
1346
987
|
/*
|
1347
988
|
* Tencent is pleased to support the open source community by making
|
1348
989
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1349
990
|
*
|
1350
|
-
* Copyright (C)
|
991
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1351
992
|
*
|
1352
993
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1353
994
|
*
|
@@ -1369,6 +1010,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1369
1010
|
* IN THE SOFTWARE.
|
1370
1011
|
*/
|
1371
1012
|
|
1013
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
1014
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
1372
1015
|
|
1373
1016
|
|
1374
1017
|
|
@@ -1376,7 +1019,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1376
1019
|
|
1377
1020
|
|
1378
1021
|
|
1379
|
-
/* harmony default export */ const src_option = (
|
1022
|
+
/* harmony default export */ const src_option = (defineComponent({
|
1380
1023
|
name: 'Option',
|
1381
1024
|
props: {
|
1382
1025
|
id: {
|
@@ -1390,47 +1033,47 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1390
1033
|
setup: function setup(props, _ref) {
|
1391
1034
|
var attrs = _ref.attrs;
|
1392
1035
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
1393
|
-
var _getCurrentInstance =
|
1036
|
+
var _getCurrentInstance = getCurrentInstance(),
|
1394
1037
|
proxy = _getCurrentInstance.proxy;
|
1395
|
-
var states =
|
1038
|
+
var states = reactive({
|
1396
1039
|
visible: true
|
1397
1040
|
});
|
1398
|
-
var _toRefs =
|
1041
|
+
var _toRefs = toRefs(props),
|
1399
1042
|
disabled = _toRefs.disabled,
|
1400
1043
|
id = _toRefs.id,
|
1401
1044
|
name = _toRefs.name;
|
1402
1045
|
// 兼容label
|
1403
|
-
var optionName =
|
1046
|
+
var optionName = computed(function () {
|
1404
1047
|
return name.value !== undefined ? name.value : attrs.label;
|
1405
1048
|
});
|
1406
1049
|
// 兼容value
|
1407
|
-
var optionID =
|
1050
|
+
var optionID = computed(function () {
|
1408
1051
|
return id.value !== undefined ? id.value : attrs.value;
|
1409
1052
|
});
|
1410
|
-
var select =
|
1411
|
-
var group =
|
1412
|
-
var selected =
|
1053
|
+
var select = inject(selectKey, null);
|
1054
|
+
var group = inject(optionGroupKey, null);
|
1055
|
+
var selected = computed(function () {
|
1413
1056
|
var _select$selected;
|
1414
1057
|
return select === null || select === void 0 || (_select$selected = select.selected) === null || _select$selected === void 0 ? void 0 : _select$selected.some(function (item) {
|
1415
1058
|
return (0,isEqual_namespaceObject["default"])(item.value, optionID.value);
|
1416
1059
|
});
|
1417
1060
|
});
|
1418
|
-
var multiple =
|
1061
|
+
var multiple = computed(function () {
|
1419
1062
|
return select === null || select === void 0 ? void 0 : select.multiple;
|
1420
1063
|
});
|
1421
|
-
var isHover =
|
1064
|
+
var isHover = computed(function () {
|
1422
1065
|
return (select === null || select === void 0 ? void 0 : select.activeOptionValue) === optionID.value;
|
1423
1066
|
});
|
1424
|
-
var showSelectedIcon =
|
1067
|
+
var showSelectedIcon = computed(function () {
|
1425
1068
|
return (select === null || select === void 0 ? void 0 : select.showSelectedIcon) && multiple.value;
|
1426
1069
|
});
|
1427
|
-
var selectedStyle =
|
1070
|
+
var selectedStyle = computed(function () {
|
1428
1071
|
return select === null || select === void 0 ? void 0 : select.selectedStyle;
|
1429
1072
|
});
|
1430
|
-
var searchValue =
|
1073
|
+
var searchValue = computed(function () {
|
1431
1074
|
return select === null || select === void 0 ? void 0 : select.curSearchValue;
|
1432
1075
|
});
|
1433
|
-
var highlightKeyword =
|
1076
|
+
var highlightKeyword = computed(function () {
|
1434
1077
|
return select === null || select === void 0 ? void 0 : select.highlightKeyword;
|
1435
1078
|
});
|
1436
1079
|
var handleOptionClick = function handleOptionClick() {
|
@@ -1469,17 +1112,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1469
1112
|
}
|
1470
1113
|
return list.length ? list : str;
|
1471
1114
|
};
|
1472
|
-
|
1115
|
+
onBeforeMount(function () {
|
1473
1116
|
select === null || select === void 0 || select.register(optionID.value, proxy);
|
1474
1117
|
group === null || group === void 0 || group.register(optionID.value, proxy);
|
1475
1118
|
});
|
1476
|
-
|
1119
|
+
onBeforeUnmount(function () {
|
1477
1120
|
select === null || select === void 0 || select.unregister(optionID.value, proxy);
|
1478
1121
|
group === null || group === void 0 || group.unregister(optionID.value, proxy);
|
1479
1122
|
});
|
1480
1123
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
1481
1124
|
resolveClassName = _usePrefix.resolveClassName;
|
1482
|
-
return _objectSpread(_objectSpread({},
|
1125
|
+
return _objectSpread(_objectSpread({}, toRefs(states)), {}, {
|
1483
1126
|
selected: selected,
|
1484
1127
|
multiple: multiple,
|
1485
1128
|
isHover: isHover,
|
@@ -1524,42 +1167,47 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
1524
1167
|
}
|
1525
1168
|
}));
|
1526
1169
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
1527
|
-
function _arrayLikeToArray(
|
1528
|
-
|
1529
|
-
for (var
|
1530
|
-
return
|
1170
|
+
function _arrayLikeToArray(r, a) {
|
1171
|
+
(null == a || a > r.length) && (a = r.length);
|
1172
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
1173
|
+
return n;
|
1531
1174
|
}
|
1175
|
+
|
1532
1176
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
1533
1177
|
|
1534
|
-
function _arrayWithoutHoles(
|
1535
|
-
if (Array.isArray(
|
1178
|
+
function _arrayWithoutHoles(r) {
|
1179
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
1536
1180
|
}
|
1181
|
+
|
1537
1182
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
1538
|
-
function _iterableToArray(
|
1539
|
-
if (typeof Symbol
|
1183
|
+
function _iterableToArray(r) {
|
1184
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
1540
1185
|
}
|
1186
|
+
|
1541
1187
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
1542
1188
|
|
1543
|
-
function _unsupportedIterableToArray(
|
1544
|
-
if (
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
1189
|
+
function _unsupportedIterableToArray(r, a) {
|
1190
|
+
if (r) {
|
1191
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
1192
|
+
var t = {}.toString.call(r).slice(8, -1);
|
1193
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
1194
|
+
}
|
1550
1195
|
}
|
1196
|
+
|
1551
1197
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
1552
1198
|
function _nonIterableSpread() {
|
1553
1199
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1554
1200
|
}
|
1201
|
+
|
1555
1202
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
1556
1203
|
|
1557
1204
|
|
1558
1205
|
|
1559
1206
|
|
1560
|
-
function _toConsumableArray(
|
1561
|
-
return _arrayWithoutHoles(
|
1207
|
+
function _toConsumableArray(r) {
|
1208
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
1562
1209
|
}
|
1210
|
+
|
1563
1211
|
;// CONCATENATED MODULE: ../../packages/select/src/optionGroup.tsx
|
1564
1212
|
|
1565
1213
|
|
@@ -1570,7 +1218,7 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
1570
1218
|
* Tencent is pleased to support the open source community by making
|
1571
1219
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1572
1220
|
*
|
1573
|
-
* Copyright (C)
|
1221
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1574
1222
|
*
|
1575
1223
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1576
1224
|
*
|
@@ -1671,14 +1319,14 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
1671
1319
|
}
|
1672
1320
|
}));
|
1673
1321
|
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
1674
|
-
function _createForOfIteratorHelper(
|
1675
|
-
function clickoutside_unsupportedIterableToArray(
|
1676
|
-
function clickoutside_arrayLikeToArray(
|
1322
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = clickoutside_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
1323
|
+
function clickoutside_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return clickoutside_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? clickoutside_arrayLikeToArray(r, a) : void 0; } }
|
1324
|
+
function clickoutside_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
1677
1325
|
/*
|
1678
1326
|
* Tencent is pleased to support the open source community by making
|
1679
1327
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1680
1328
|
*
|
1681
|
-
* Copyright (C)
|
1329
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1682
1330
|
*
|
1683
1331
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1684
1332
|
*
|
@@ -1806,7 +1454,7 @@ const popover_namespaceObject = popover_x({ ["$bkPopover"]: () => __WEBPACK_EXTE
|
|
1806
1454
|
* Tencent is pleased to support the open source community by making
|
1807
1455
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1808
1456
|
*
|
1809
|
-
* Copyright (C)
|
1457
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1810
1458
|
*
|
1811
1459
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1812
1460
|
*
|
@@ -1918,7 +1566,7 @@ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel
|
|
1918
1566
|
* Tencent is pleased to support the open source community by making
|
1919
1567
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1920
1568
|
*
|
1921
|
-
* Copyright (C)
|
1569
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1922
1570
|
*
|
1923
1571
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1924
1572
|
*
|
@@ -1969,7 +1617,7 @@ function tooltips_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
1969
1617
|
* Tencent is pleased to support the open source community by making
|
1970
1618
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
1971
1619
|
*
|
1972
|
-
* Copyright (C)
|
1620
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
1973
1621
|
*
|
1974
1622
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
1975
1623
|
*
|
@@ -2261,7 +1909,7 @@ const external_overflow_title_namespaceObject = external_overflow_title_x({ });
|
|
2261
1909
|
* Tencent is pleased to support the open source community by making
|
2262
1910
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2263
1911
|
*
|
2264
|
-
* Copyright (C)
|
1912
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2265
1913
|
*
|
2266
1914
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2267
1915
|
*
|
@@ -2326,7 +1974,7 @@ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
|
|
2326
1974
|
* Tencent is pleased to support the open source community by making
|
2327
1975
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
2328
1976
|
*
|
2329
|
-
* Copyright (C)
|
1977
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
2330
1978
|
*
|
2331
1979
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
2332
1980
|
*
|
@@ -3224,7 +2872,7 @@ const EXCEPTIONS = {
|
|
3224
2872
|
* Tencent is pleased to support the open source community by making
|
3225
2873
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3226
2874
|
*
|
3227
|
-
* Copyright (C)
|
2875
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3228
2876
|
*
|
3229
2877
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3230
2878
|
*
|
@@ -3391,7 +3039,7 @@ function parse(str) {
|
|
3391
3039
|
* Tencent is pleased to support the open source community by making
|
3392
3040
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3393
3041
|
*
|
3394
|
-
* Copyright (C)
|
3042
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3395
3043
|
*
|
3396
3044
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3397
3045
|
*
|
@@ -3484,7 +3132,7 @@ function shouldPatch(toToken) {
|
|
3484
3132
|
* Tencent is pleased to support the open source community by making
|
3485
3133
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3486
3134
|
*
|
3487
|
-
* Copyright (C)
|
3135
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3488
3136
|
*
|
3489
3137
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3490
3138
|
*
|
@@ -3542,7 +3190,7 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
3542
3190
|
* Tencent is pleased to support the open source community by making
|
3543
3191
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3544
3192
|
*
|
3545
|
-
* Copyright (C)
|
3193
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3546
3194
|
*
|
3547
3195
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3548
3196
|
*
|
@@ -3791,16 +3439,16 @@ const debounce_namespaceObject = debounce_x({ ["default"]: () => __WEBPACK_EXTER
|
|
3791
3439
|
|
3792
3440
|
|
3793
3441
|
|
3794
|
-
function select_createForOfIteratorHelper(
|
3795
|
-
function select_unsupportedIterableToArray(
|
3796
|
-
function select_arrayLikeToArray(
|
3442
|
+
function select_createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = select_unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
3443
|
+
function select_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return select_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? select_arrayLikeToArray(r, a) : void 0; } }
|
3444
|
+
function select_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
3797
3445
|
function select_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
3798
3446
|
function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? select_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : select_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
3799
3447
|
/*
|
3800
3448
|
* Tencent is pleased to support the open source community by making
|
3801
3449
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
3802
3450
|
*
|
3803
|
-
* Copyright (C)
|
3451
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
3804
3452
|
*
|
3805
3453
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
3806
3454
|
*
|
@@ -4794,7 +4442,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4794
4442
|
};
|
4795
4443
|
// 默认trigger输入框渲染
|
4796
4444
|
var renderTriggerInput = function renderTriggerInput() {
|
4797
|
-
var _this$$
|
4445
|
+
var _this$$slots0;
|
4798
4446
|
if (_this.multipleMode === 'tag') {
|
4799
4447
|
var _this$$slots6, _this$$slots8;
|
4800
4448
|
return (0,external_vue_namespaceObject.createVNode)(selectTagInput, {
|
@@ -4846,10 +4494,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4846
4494
|
"onInput": _this.handleInputChange
|
4847
4495
|
}, _this.prefix ? {
|
4848
4496
|
prefix: _this.prefix
|
4849
|
-
} : null), select_objectSpread(select_objectSpread({}, typeof ((_this$$
|
4497
|
+
} : null), select_objectSpread(select_objectSpread({}, typeof ((_this$$slots0 = _this.$slots) === null || _this$$slots0 === void 0 ? void 0 : _this$$slots0.prefix) === 'function' ? {
|
4850
4498
|
prefix: function prefix() {
|
4851
|
-
var _this$$
|
4852
|
-
return (_this$$
|
4499
|
+
var _this$$slots1, _this$$slots1$prefix;
|
4500
|
+
return (_this$$slots1 = _this.$slots) === null || _this$$slots1 === void 0 || (_this$$slots1$prefix = _this$$slots1.prefix) === null || _this$$slots1$prefix === void 0 ? void 0 : _this$$slots1$prefix.call(_this$$slots1);
|
4853
4501
|
}
|
4854
4502
|
} : null), {}, {
|
4855
4503
|
suffix: function suffix() {
|
@@ -4859,7 +4507,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4859
4507
|
};
|
4860
4508
|
// 渲染trigger
|
4861
4509
|
var renderSelectTrigger = function renderSelectTrigger() {
|
4862
|
-
var _this$$
|
4510
|
+
var _this$$slots10, _this$$slots10$trigge;
|
4863
4511
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
4864
4512
|
"ref": "triggerRef",
|
4865
4513
|
"style": {
|
@@ -4869,7 +4517,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4869
4517
|
"onClick": _this.handleTogglePopover,
|
4870
4518
|
"onMouseenter": _this.setHover,
|
4871
4519
|
"onMouseleave": _this.cancelHover
|
4872
|
-
}, [((_this$$
|
4520
|
+
}, [((_this$$slots10 = _this.$slots) === null || _this$$slots10 === void 0 || (_this$$slots10$trigge = _this$$slots10.trigger) === null || _this$$slots10$trigge === void 0 ? void 0 : _this$$slots10$trigge.call(_this$$slots10, {
|
4873
4521
|
selected: _this.selected
|
4874
4522
|
})) || renderTriggerInput()]);
|
4875
4523
|
};
|
@@ -4887,10 +4535,10 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4887
4535
|
}
|
4888
4536
|
}, {
|
4889
4537
|
"default": function _default(_ref3) {
|
4890
|
-
var _this$$
|
4538
|
+
var _this$$slots11, _this$$slots12;
|
4891
4539
|
var data = _ref3.data;
|
4892
4540
|
// 兼容以前slots
|
4893
|
-
var optionRender = ((_this$$
|
4541
|
+
var optionRender = ((_this$$slots11 = _this.$slots) === null || _this$$slots11 === void 0 ? void 0 : _this$$slots11.optionRender) || ((_this$$slots12 = _this.$slots) === null || _this$$slots12 === void 0 ? void 0 : _this$$slots12.virtualScrollRender);
|
4894
4542
|
return data.map(function (item) {
|
4895
4543
|
return (0,external_vue_namespaceObject.createVNode)(src_option, {
|
4896
4544
|
"id": item[_this.idKey],
|
@@ -4907,9 +4555,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4907
4555
|
});
|
4908
4556
|
}
|
4909
4557
|
}) : _this.filterList.map(function (item) {
|
4910
|
-
var _this$$
|
4558
|
+
var _this$$slots13, _this$$slots14;
|
4911
4559
|
// 兼容以前slots
|
4912
|
-
var optionRender = ((_this$$
|
4560
|
+
var optionRender = ((_this$$slots13 = _this.$slots) === null || _this$$slots13 === void 0 ? void 0 : _this$$slots13.optionRender) || ((_this$$slots14 = _this.$slots) === null || _this$$slots14 === void 0 ? void 0 : _this$$slots14.virtualScrollRender);
|
4913
4561
|
return (0,external_vue_namespaceObject.createVNode)(src_option, {
|
4914
4562
|
"id": item[_this.idKey],
|
4915
4563
|
"key": item[_this.idKey],
|
@@ -4926,7 +4574,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4926
4574
|
};
|
4927
4575
|
// 渲染内容
|
4928
4576
|
var renderSelectContent = function renderSelectContent() {
|
4929
|
-
var _this$$
|
4577
|
+
var _this$$slots15, _this$$slots15$defaul, _this$$slots16, _this$$slots17;
|
4930
4578
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
4931
4579
|
"ref": "contentRef",
|
4932
4580
|
"class": _this.resolveClassName('select-content-wrapper')
|
@@ -4963,7 +4611,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4963
4611
|
"onScroll": _this.handleScroll
|
4964
4612
|
}, [(0,external_vue_namespaceObject.createVNode)("ul", {
|
4965
4613
|
"class": _this.resolveClassName('select-options')
|
4966
|
-
}, [renderSelectAll(), renderList(), (_this$$
|
4614
|
+
}, [renderSelectAll(), renderList(), (_this$$slots15 = _this.$slots) === null || _this$$slots15 === void 0 || (_this$$slots15$defaul = _this$$slots15["default"]) === null || _this$$slots15$defaul === void 0 ? void 0 : _this$$slots15$defaul.call(_this$$slots15), _this.scrollLoading && (0,external_vue_namespaceObject.createVNode)("li", {
|
4967
4615
|
"class": _this.resolveClassName('select-options-loading')
|
4968
4616
|
}, [(0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], {
|
4969
4617
|
"class": "spinner mr5",
|
@@ -4971,9 +4619,9 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4971
4619
|
"mode": "spin",
|
4972
4620
|
"size": "mini",
|
4973
4621
|
"theme": "primary"
|
4974
|
-
}, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$
|
4622
|
+
}, null), (0,external_vue_namespaceObject.createVNode)("span", null, [_this.localLoadingText])])])]), ((_this$$slots16 = _this.$slots) === null || _this$$slots16 === void 0 ? void 0 : _this$$slots16.extension) && (0,external_vue_namespaceObject.createVNode)("div", {
|
4975
4623
|
"class": _this.resolveClassName('select-extension')
|
4976
|
-
}, [(_this$$
|
4624
|
+
}, [(_this$$slots17 = _this.$slots) === null || _this$$slots17 === void 0 ? void 0 : _this$$slots17.extension()])])]);
|
4977
4625
|
};
|
4978
4626
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
4979
4627
|
"class": selectClass
|
@@ -4996,7 +4644,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
|
|
4996
4644
|
* Tencent is pleased to support the open source community by making
|
4997
4645
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4998
4646
|
*
|
4999
|
-
* Copyright (C)
|
4647
|
+
* Copyright (C) 2025 Tencent. All rights reserved.
|
5000
4648
|
*
|
5001
4649
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
5002
4650
|
*
|