@maropost-ui/liquidsky-ui 0.1.13 → 0.1.14
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.css +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -29103,12 +29103,13 @@ const bp = { class: "truncate-one-line" }, pp = /* @__PURE__ */ Ue({
|
|
|
29103
29103
|
options: { default: () => ({
|
|
29104
29104
|
minimumFractionDigits: 2,
|
|
29105
29105
|
maximumFractionDigits: 2
|
|
29106
|
-
}) }
|
|
29106
|
+
}) },
|
|
29107
|
+
displayDefaultPriceToZero: { type: Boolean, default: !0 }
|
|
29107
29108
|
},
|
|
29108
29109
|
setup(e) {
|
|
29109
29110
|
const t = e, n = A(() => {
|
|
29110
29111
|
const l = Number(t.price);
|
|
29111
|
-
return isNaN(l) ? NaN : l;
|
|
29112
|
+
return t.displayDefaultPriceToZero ? isNaN(l) ? NaN : l : t.price == null || t.price == null || isNaN(l) ? NaN : l;
|
|
29112
29113
|
});
|
|
29113
29114
|
function a(l, i = "USD", o = {}) {
|
|
29114
29115
|
const { minimumFractionDigits: r, maximumFractionDigits: s } = o, u = "currency", c = "narrowSymbol";
|
|
@@ -29126,7 +29127,7 @@ const bp = { class: "truncate-one-line" }, pp = /* @__PURE__ */ Ue({
|
|
|
29126
29127
|
}
|
|
29127
29128
|
return (l, i) => isFinite(n.value) ? (X(), me("span", Wp, [
|
|
29128
29129
|
p("span", jp, se(a(n.value, e.currency, e.options)), 1)
|
|
29129
|
-
])) : (X(), me("span", Yp
|
|
29130
|
+
])) : (X(), me("span", Yp));
|
|
29130
29131
|
}
|
|
29131
29132
|
}), Kp = { class: "text-subtitle-2" }, qp = ["innerHTML"], Xp = /* @__PURE__ */ Ue({
|
|
29132
29133
|
__name: "AppSnackbar",
|
|
@@ -29762,6 +29763,7 @@ const bp = { class: "truncate-one-line" }, pp = /* @__PURE__ */ Ue({
|
|
|
29762
29763
|
key: 1,
|
|
29763
29764
|
price: Be[ce.key],
|
|
29764
29765
|
currency: ce.currency_code,
|
|
29766
|
+
"display-default-price-to-zero": !1,
|
|
29765
29767
|
class: "text-no-wrap"
|
|
29766
29768
|
}, null, 8, ["price", "currency"])) : (X(), me(oe, { key: 2 }, [
|
|
29767
29769
|
ge(se(ce.prefix) + " " + se(Be[ce.key]) + " " + se(ce.suffix), 1)
|
|
@@ -29785,7 +29787,7 @@ const bp = { class: "truncate-one-line" }, pp = /* @__PURE__ */ Ue({
|
|
|
29785
29787
|
});
|
|
29786
29788
|
};
|
|
29787
29789
|
}
|
|
29788
|
-
}, ww = /* @__PURE__ */ st(tC, [["__scopeId", "data-v-
|
|
29790
|
+
}, ww = /* @__PURE__ */ st(tC, [["__scopeId", "data-v-ace69c5c"]]), nC = /* @__PURE__ */ Ue({
|
|
29789
29791
|
__name: "TheAccountDropdown",
|
|
29790
29792
|
props: /* @__PURE__ */ Zt({
|
|
29791
29793
|
containerClass: { default: "mb-0 account-switch-dropdown position-relative" },
|
|
@@ -33049,7 +33051,7 @@ const p5 = /* @__PURE__ */ JSON.parse(`[{"name":"(UTC -11:00) - Pacific/Pago Pag
|
|
|
33049
33051
|
for (const $ of Y) {
|
|
33050
33052
|
if (!$?.submenu) continue;
|
|
33051
33053
|
if ($.submenu.some(
|
|
33052
|
-
(F) => F === H || F.
|
|
33054
|
+
(F) => F === H || F.routeName === H.pathname && F.scope === H.scope || F.id && H.id && F.id === H.id
|
|
33053
33055
|
)) return $;
|
|
33054
33056
|
const R = N($.submenu, H);
|
|
33055
33057
|
if (R) return R;
|
|
@@ -33074,7 +33076,7 @@ const p5 = /* @__PURE__ */ JSON.parse(`[{"name":"(UTC -11:00) - Pacific/Pago Pag
|
|
|
33074
33076
|
if (!R || !R.submenu) continue;
|
|
33075
33077
|
const F = U;
|
|
33076
33078
|
if (R.submenu.some(
|
|
33077
|
-
(G) => G === U || G.scope === F.scope && G.routeName === F.routeName || G.
|
|
33079
|
+
(G) => G === U || G.scope === F.scope && G.routeName === F.routeName || G.routeName && U.pathname && G.routeName === U.pathname || G.id && U.id && G.id === U.id
|
|
33078
33080
|
))
|
|
33079
33081
|
return R;
|
|
33080
33082
|
if (R.submenu.length > 0) {
|
|
@@ -33566,7 +33568,7 @@ const p5 = /* @__PURE__ */ JSON.parse(`[{"name":"(UTC -11:00) - Pacific/Pago Pag
|
|
|
33566
33568
|
], 64);
|
|
33567
33569
|
};
|
|
33568
33570
|
}
|
|
33569
|
-
}), Sm = /* @__PURE__ */ st(q5, [["__scopeId", "data-v-
|
|
33571
|
+
}), Sm = /* @__PURE__ */ st(q5, [["__scopeId", "data-v-2d02c40f"]]), X5 = { class: "blocks" }, Z5 = /* @__PURE__ */ Ue({
|
|
33570
33572
|
__name: "UnifiedNavigationBlock",
|
|
33571
33573
|
props: {
|
|
33572
33574
|
collapsed: { type: Boolean },
|