expedite-components 0.0.2 → 0.0.4
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/expedite-components.es.js +18 -5
- package/dist/expedite-components.umd.js +11 -11
- package/dist/style.css +1 -1
- package/dist/vue-expedite-components.js +3018 -2984
- package/dist/vue-expedite-components.umd.cjs +35 -35
- package/package.json +1 -1
|
@@ -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
|
};
|