expedite-components 0.0.3 → 0.0.5
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.
|
@@ -5338,7 +5338,7 @@ const es = (e, r) => {
|
|
|
5338
5338
|
b("span", {
|
|
5339
5339
|
class: ke(["ect-text-left", u.highlight ? "ect-text-lg ect-font-bold ect-text-green-700" : "ect-text-sm ect-font-medium ect-text-gray-800 "]),
|
|
5340
5340
|
"data-test-id": `configurator-footer-price-value-${p}`
|
|
5341
|
-
}, ce(
|
|
5341
|
+
}, ce(u.value), 11, ec)
|
|
5342
5342
|
], 8, Gs),
|
|
5343
5343
|
p < o.value.length - 1 ? (Z(), J("div", {
|
|
5344
5344
|
key: 0,
|
|
@@ -19998,19 +19998,32 @@ const a2 = (e) => (en("data-v-adfc84e9"), e = e(), tn(), e), l2 = /* @__PURE__ *
|
|
|
19998
19998
|
]));
|
|
19999
19999
|
}
|
|
20000
20000
|
}, Jo = /* @__PURE__ */ Me(L2, [["__scopeId", "data-v-46273585"]]), P2 = {
|
|
20001
|
+
install(e) {
|
|
20002
|
+
e.config.globalProperties.$formatCurrency = (r, t = {}) => {
|
|
20003
|
+
const n = {}, i = t.locale || n.locale || "en-US", o = t.currency || n.currency || "USD";
|
|
20004
|
+
let c = r;
|
|
20005
|
+
return typeof r == "string" && (c = Number(r.replace(/[^0-9.-]/g, ""))), new Intl.NumberFormat(i, {
|
|
20006
|
+
style: "currency",
|
|
20007
|
+
currency: o,
|
|
20008
|
+
...t
|
|
20009
|
+
}).format(Number.isFinite(c) ? c : 0);
|
|
20010
|
+
};
|
|
20011
|
+
}
|
|
20012
|
+
}, M2 = {
|
|
20001
20013
|
ExpediteConfigurator: Xo,
|
|
20002
20014
|
ExpediteGPT: Jo
|
|
20003
|
-
},
|
|
20015
|
+
}, j2 = {
|
|
20004
20016
|
install(e, r = {}) {
|
|
20005
|
-
e.component("ExpediteConfigurator", Xo), e.component("ExpediteGPT", Jo);
|
|
20017
|
+
e.component("ExpediteConfigurator", Xo), e.component("ExpediteGPT", Jo), e.use(P2);
|
|
20006
20018
|
},
|
|
20007
20019
|
// Also export components for named imports
|
|
20008
|
-
...
|
|
20020
|
+
...M2
|
|
20009
20021
|
};
|
|
20010
20022
|
export {
|
|
20011
|
-
|
|
20023
|
+
M2 as Components,
|
|
20024
|
+
P2 as CurrencyFormatter,
|
|
20012
20025
|
Xo as ExpediteConfigurator,
|
|
20013
20026
|
Jo as ExpediteGPT,
|
|
20014
|
-
|
|
20027
|
+
j2 as default,
|
|
20015
20028
|
nn as useRootStore
|
|
20016
20029
|
};
|