@dao-style/core 1.29.1-beta.1 → 1.29.1-beta.3
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/dao-style.mjs
CHANGED
|
@@ -6564,7 +6564,7 @@ const G$ = { class: "dao-selection-text" }, K$ = {
|
|
|
6564
6564
|
class: "dao-option--loading"
|
|
6565
6565
|
};
|
|
6566
6566
|
function Z$(e, t, n, o, a, s) {
|
|
6567
|
-
const r = U("dao-
|
|
6567
|
+
const r = U("dao-ellipsis"), i = U("dao-checkbox"), l = U("dao-options-wrap"), c = U("dao-icon"), u = U("dao-popper");
|
|
6568
6568
|
return T(), ne(u, {
|
|
6569
6569
|
ref: "popper",
|
|
6570
6570
|
modelValue: e.state.visible,
|
|
@@ -6619,7 +6619,7 @@ function Z$(e, t, n, o, a, s) {
|
|
|
6619
6619
|
key: 0,
|
|
6620
6620
|
class: R(["dao-select-check-all dao-option dao-option-with-checkbox", { "dao-option--focus": e.state.optionFocusIndex === -1 }])
|
|
6621
6621
|
}, [
|
|
6622
|
-
J(
|
|
6622
|
+
J(i, {
|
|
6623
6623
|
"model-value": e.checkedStatus.checked,
|
|
6624
6624
|
indeterminate: e.checkedStatus.indeterminate && !e.checkedStatus.checked,
|
|
6625
6625
|
disabled: e.optionsAllDisabled,
|
|
@@ -6635,7 +6635,7 @@ function Z$(e, t, n, o, a, s) {
|
|
|
6635
6635
|
ref: "optionListRef",
|
|
6636
6636
|
class: R(["dao-option-list", { "dao-option-list--with-select-all": e.showSelectAll }])
|
|
6637
6637
|
}, [
|
|
6638
|
-
J(
|
|
6638
|
+
J(l, { onUpdateOptions: e.handleUpdateOptions }, {
|
|
6639
6639
|
default: F(() => [
|
|
6640
6640
|
C(e.$slots, "default")
|
|
6641
6641
|
]),
|
|
@@ -6643,8 +6643,8 @@ function Z$(e, t, n, o, a, s) {
|
|
|
6643
6643
|
}, 8, ["onUpdateOptions"]),
|
|
6644
6644
|
e.isNoResult || e.optionLoading ? (T(), k("li", X$, [
|
|
6645
6645
|
e.optionLoading ? (T(), k("div", q$, [
|
|
6646
|
-
J(
|
|
6647
|
-
J(
|
|
6646
|
+
J(c, { name: "icon-input-loading" }),
|
|
6647
|
+
J(r, { class: "dao-option--loading-text" }, {
|
|
6648
6648
|
default: F(() => [
|
|
6649
6649
|
re(X(e.t("core.select.loading")), 1)
|
|
6650
6650
|
]),
|
|
@@ -6687,12 +6687,17 @@ function Z$(e, t, n, o, a, s) {
|
|
|
6687
6687
|
selectedLabel: (f = (p = e.state.selectedOption) == null ? void 0 : p[0]) == null ? void 0 : f.label,
|
|
6688
6688
|
selectedOption: (b = e.state.selectedOption) == null ? void 0 : b[0],
|
|
6689
6689
|
selectedValue: (d = (E = e.state.selectedOption) == null ? void 0 : E[0]) == null ? void 0 : d.value
|
|
6690
|
-
}, () =>
|
|
6691
|
-
|
|
6692
|
-
|
|
6693
|
-
|
|
6694
|
-
|
|
6695
|
-
|
|
6690
|
+
}, () => [
|
|
6691
|
+
J(r, null, {
|
|
6692
|
+
default: F(() => {
|
|
6693
|
+
var g, v;
|
|
6694
|
+
return [
|
|
6695
|
+
re(X((v = (g = e.state.selectedOption) == null ? void 0 : g[0]) == null ? void 0 : v.labelValue), 1)
|
|
6696
|
+
];
|
|
6697
|
+
}),
|
|
6698
|
+
_: 1
|
|
6699
|
+
})
|
|
6700
|
+
])
|
|
6696
6701
|
], 512), [
|
|
6697
6702
|
[Me, e.isSelected]
|
|
6698
6703
|
]),
|
|
Binary file
|