@m3ui-vue/m3ui-vue 0.5.9 → 0.5.10
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/m3ui.js +8 -9
- package/dist/m3ui.js.map +1 -1
- package/package.json +3 -3
package/dist/m3ui.js
CHANGED
|
@@ -1578,7 +1578,7 @@ var st = /* @__PURE__ */ D({
|
|
|
1578
1578
|
src: e.image,
|
|
1579
1579
|
alt: e.imageAlt ?? "",
|
|
1580
1580
|
class: "h-full w-full object-cover"
|
|
1581
|
-
}, null, 8, bn)) : H(t.$slots, "media", {
|
|
1581
|
+
}, null, 8, bn)) : H(t.$slots, "media", {}, void 0, void 0, 1)], 2)) : x("", !0),
|
|
1582
1582
|
t.$slots.header ? (L(), S("div", xn, [H(t.$slots, "header")])) : e.title ? (L(), S("div", Sn, [C("h3", Cn, K(e.title), 1), e.subtitle ? (L(), S("p", wn, K(e.subtitle), 1)) : x("", !0)])) : x("", !0),
|
|
1583
1583
|
H(t.$slots, "default"),
|
|
1584
1584
|
t.$slots.actions ? (L(), S("div", Tn, [H(t.$slots, "actions")])) : x("", !0)
|
|
@@ -4989,10 +4989,10 @@ var ba = ["aria-label", "disabled"], xa = { class: "leading-none" }, Sa = /* @__
|
|
|
4989
4989
|
ref_key: "sentinelRef",
|
|
4990
4990
|
ref: o,
|
|
4991
4991
|
class: "flex items-center justify-center py-4"
|
|
4992
|
-
}, [e.loading ? H(t.$slots, "loading", {
|
|
4992
|
+
}, [e.loading ? H(t.$slots, "loading", {}, () => [C("div", So, [E(s, {
|
|
4993
4993
|
size: 20,
|
|
4994
4994
|
class: "text-primary"
|
|
4995
|
-
}), C("span", Co, K(e.loadingText ?? q(r).loadingMore), 1)])]) : e.ended ? H(t.$slots, "end", {
|
|
4995
|
+
}), C("span", Co, K(e.loadingText ?? q(r).loadingMore), 1)])], void 0, 0) : e.ended ? H(t.$slots, "end", {}, () => [C("p", wo, K(e.endText ?? q(r).noMoreItems), 1)], void 0, 1) : H(t.$slots, "idle", {}, void 0, void 0, 2)], 512)]));
|
|
4996
4996
|
}
|
|
4997
4997
|
}), Eo = {
|
|
4998
4998
|
key: 0,
|
|
@@ -6377,7 +6377,7 @@ var hs = /*#__PURE__*/ p(fs, [["render", ms]]), gs = { class: "flex flex-col gap
|
|
|
6377
6377
|
"model-value",
|
|
6378
6378
|
"disabled",
|
|
6379
6379
|
"onUpdate:modelValue"
|
|
6380
|
-
]), C("span", ac, K(t.label), 1)], 2))), 128)), R.value.length === 0 ? H(t.$slots, "no-results", {
|
|
6380
|
+
]), C("span", ac, K(t.label), 1)], 2))), 128)), R.value.length === 0 ? H(t.$slots, "no-results", {}, () => [C("p", oc, K(e.noResultsText ?? q(i).noResults), 1)], !0, 0) : x("", !0)])], 4)) : x("", !0)]),
|
|
6381
6381
|
_: 3
|
|
6382
6382
|
}), E(g, { name: "m3-ms-modal" }, {
|
|
6383
6383
|
default: Z(() => [d.value && e.mode === "modal" ? (L(), S("div", {
|
|
@@ -9770,7 +9770,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
9770
9770
|
key: 0,
|
|
9771
9771
|
class: M(o.value),
|
|
9772
9772
|
role: "separator"
|
|
9773
|
-
}, null, 2)) : x("", !0), (L(), b(W(e)))], 64))), 128)) : H(t.$slots, "default", {
|
|
9773
|
+
}, null, 2)) : x("", !0), (L(), b(W(e)))], 64))), 128)) : H(t.$slots, "default", {}, void 0, void 0, 1)], 2));
|
|
9774
9774
|
}
|
|
9775
9775
|
}), $d = { class: "flex flex-col gap-2 overflow-hidden rounded-lg border border-outline-variant bg-surface-container-lowest p-4" }, ef = { class: "flex items-start justify-between gap-2" }, tf = { class: "flex min-w-0 flex-col gap-1" }, nf = { class: "truncate text-label-large text-on-surface-variant" }, rf = {
|
|
9776
9776
|
key: 0,
|
|
@@ -11578,7 +11578,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11578
11578
|
class: "shrink-0 text-on-surface-variant"
|
|
11579
11579
|
}, null, 8, ["name"])) : x("", !0),
|
|
11580
11580
|
C("span", Om, K(e.label), 1)
|
|
11581
|
-
], 8, Dm))), 128)), f.value.length ? x("", !0) : H(t.$slots, "source-empty", {
|
|
11581
|
+
], 8, Dm))), 128)), f.value.length ? x("", !0) : H(t.$slots, "source-empty", {}, () => [C("p", km, K(e.emptyText ?? q(i).noItems), 1)], void 0, 0)])
|
|
11582
11582
|
]),
|
|
11583
11583
|
C("div", Am, [
|
|
11584
11584
|
E(l, {
|
|
@@ -11637,7 +11637,7 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11637
11637
|
class: "shrink-0 text-on-surface-variant"
|
|
11638
11638
|
}, null, 8, ["name"])) : x("", !0),
|
|
11639
11639
|
C("span", zm, K(e.label), 1)
|
|
11640
|
-
], 8, Rm))), 128)), p.value.length ? x("", !0) : H(t.$slots, "target-empty", {
|
|
11640
|
+
], 8, Rm))), 128)), p.value.length ? x("", !0) : H(t.$slots, "target-empty", {}, () => [C("p", Bm, K(e.emptyText ?? q(i).noItems), 1)], void 0, 0)])
|
|
11641
11641
|
])
|
|
11642
11642
|
]));
|
|
11643
11643
|
}
|
|
@@ -11927,11 +11927,10 @@ var kd = /*#__PURE__*/ p(Ed, [["render", Od]]), Ad = ["disabled"], jd = ["disabl
|
|
|
11927
11927
|
value: n.row[i.key],
|
|
11928
11928
|
depth: n.depth
|
|
11929
11929
|
}, () => [C("span", { class: M(n.hasChildren ? "font-medium" : "") }, K(n.row[i.key] ?? "—"), 3)])], 4)) : H(t.$slots, `cell-${i.key}`, {
|
|
11930
|
-
key: 1,
|
|
11931
11930
|
row: n.row,
|
|
11932
11931
|
value: n.row[i.key],
|
|
11933
11932
|
depth: n.depth
|
|
11934
|
-
}, () => [T(K(n.row[i.key] ?? "—"), 1)])], 2))), 128))], 10, rh))), 128)), l.value.length ? x("", !0) : (L(), S("tr", oh, [C("td", {
|
|
11933
|
+
}, () => [T(K(n.row[i.key] ?? "—"), 1)], void 0, 1)], 2))), 128))], 10, rh))), 128)), l.value.length ? x("", !0) : (L(), S("tr", oh, [C("td", {
|
|
11935
11934
|
colspan: e.columns.length,
|
|
11936
11935
|
class: "border-t border-outline-variant px-4 py-10 text-center"
|
|
11937
11936
|
}, [E(r, {
|