expedite-components 0.0.5 → 0.0.8

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.
@@ -9633,7 +9633,7 @@ const a5 = (e, t) => {
9633
9633
  _("span", {
9634
9634
  class: Ae(["ect-text-left", c.highlight ? "ect-text-lg ect-font-bold ect-text-green-700" : "ect-text-sm ect-font-medium ect-text-gray-800 "]),
9635
9635
  "data-test-id": `configurator-footer-price-value-${f}`
9636
- }, ve(c.value), 11, ah)
9636
+ }, ve(l.$formatCurrency(c.value)), 11, ah)
9637
9637
  ], 8, ih),
9638
9638
  f < o.value.length - 1 ? (X(), ne("div", {
9639
9639
  key: 0,
@@ -24328,12 +24328,18 @@ async function F8() {
24328
24328
  }
24329
24329
  const Iu = (e) => class extends e {
24330
24330
  async connectedCallback() {
24331
- var t;
24332
- if (this._instance) {
24333
- const n = (t = this._instance.appContext) == null ? void 0 : t.app;
24334
- n && (n.config.globalProperties.$formatCurrency || n.use($8));
24335
- }
24336
- if (super.connectedCallback && super.connectedCallback(), !!this.shadowRoot && !this.shadowRoot.querySelector("style[data-vue-expedite-style]"))
24331
+ const t = () => {
24332
+ var n, r;
24333
+ if ((r = (n = this._instance) == null ? void 0 : n.appContext) != null && r.app) {
24334
+ const i = this._instance.appContext.app;
24335
+ if (!i.config.globalProperties.$formatCurrency)
24336
+ return i.use($8), !0;
24337
+ }
24338
+ return !1;
24339
+ };
24340
+ if (t() || Promise.resolve().then(() => {
24341
+ t() || setTimeout(t, 0);
24342
+ }), super.connectedCallback && super.connectedCallback(), !!this.shadowRoot && !this.shadowRoot.querySelector("style[data-vue-expedite-style]"))
24337
24343
  try {
24338
24344
  const n = await F8();
24339
24345
  if (n) {