@hotwax/dxp-components 1.22.5 → 1.23.0

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.
@@ -8779,7 +8779,7 @@ const activeAnimations = /* @__PURE__ */ new WeakMap(), createController$1 = (t)
8779
8779
  /*!
8780
8780
  * (C) Ionic http://ionicframework.com - MIT License
8781
8781
  */
8782
- const LIFECYCLE_WILL_ENTER = "ionViewWillEnter", LIFECYCLE_DID_ENTER = "ionViewDidEnter", LIFECYCLE_WILL_LEAVE = "ionViewWillLeave", LIFECYCLE_DID_LEAVE = "ionViewDidLeave", LIFECYCLE_WILL_UNLOAD = "ionViewWillUnload", iosTransitionAnimation = () => import("./ios.transition-26a0db40.js"), mdTransitionAnimation = () => import("./md.transition-38bd0a05.js"), transition = (t) => new Promise((e, r) => {
8782
+ const LIFECYCLE_WILL_ENTER = "ionViewWillEnter", LIFECYCLE_DID_ENTER = "ionViewDidEnter", LIFECYCLE_WILL_LEAVE = "ionViewWillLeave", LIFECYCLE_DID_LEAVE = "ionViewDidLeave", LIFECYCLE_WILL_UNLOAD = "ionViewWillUnload", iosTransitionAnimation = () => import("./ios.transition-57b9f3af.js"), mdTransitionAnimation = () => import("./md.transition-ff95e14c.js"), transition = (t) => new Promise((e, r) => {
8783
8783
  writeTask(() => {
8784
8784
  beforeTransition(t), runTransition(t).then((o) => {
8785
8785
  o.animation && o.animation.destroy(), afterTransition(t), e(o);
@@ -10861,7 +10861,7 @@ const matches = (t, e, r) => !t || t.component !== e ? !1 : shallowEqualStringMa
10861
10861
  this.ionNavWillLoad.emit();
10862
10862
  }
10863
10863
  async componentDidLoad() {
10864
- this.didLoad = !0, this.rootChanged(), this.gesture = (await import("./swipe-back-7afedbbb.js")).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this)), this.swipeGestureChanged();
10864
+ this.didLoad = !0, this.rootChanged(), this.gesture = (await import("./swipe-back-f2129336.js")).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this)), this.swipeGestureChanged();
10865
10865
  }
10866
10866
  connectedCallback() {
10867
10867
  this.destroyed = !1;
@@ -13884,9 +13884,9 @@ const appCss = "html.plt-mobile ion-app{-webkit-user-select:none;-moz-user-selec
13884
13884
  componentDidLoad() {
13885
13885
  rIC(async () => {
13886
13886
  const e = isPlatform(window, "hybrid");
13887
- if (config$1.getBoolean("_testing") || import("./index9-844defa1.js").then((o) => o.startTapClick(config$1)), config$1.getBoolean("statusTap", e) && import("./status-tap-a6fcc6b3.js").then((o) => o.startStatusTap()), config$1.getBoolean("inputShims", needInputShims())) {
13887
+ if (config$1.getBoolean("_testing") || import("./index9-6dd9f38a.js").then((o) => o.startTapClick(config$1)), config$1.getBoolean("statusTap", e) && import("./status-tap-09a5678f.js").then((o) => o.startStatusTap()), config$1.getBoolean("inputShims", needInputShims())) {
13888
13888
  const o = isPlatform(window, "ios") ? "ios" : "android";
13889
- import("./input-shims-958b9bab.js").then((a) => a.startInputShims(config$1, o));
13889
+ import("./input-shims-57c2a588.js").then((a) => a.startInputShims(config$1, o));
13890
13890
  }
13891
13891
  const r = await Promise.resolve().then(() => hardwareBackButton);
13892
13892
  config$1.getBoolean("hardwareBackButton", e) ? r.startHardwareBackButton() : r.blockHardwareBackButton(), typeof window < "u" && Promise.resolve().then(() => keyboard2).then((o) => o.startKeyboardAssist(window)), import("./focus-visible-7660c2cd.js").then((o) => this.focusVisible = o.startFocusVisible());
@@ -33802,7 +33802,8 @@ const MarkdownIt = /* @__PURE__ */ getDefaultExportFromCjs(markdownIt), VueMarkd
33802
33802
  let e, r;
33803
33803
  e = this.locale;
33804
33804
  try {
33805
- t && (r = Object.keys(this.localeOptions).find((o) => o === t), r = r || Object.keys(this.localeOptions).find((o) => o.slice(0, 2) === t.slice(0, 2)), e = r || this.locale, userContext.setUserLocale && await userContext.setUserLocale({ newLocale: e }));
33805
+ const a = appContext.config.globalProperties.$store.getters["user/getUserProfile"];
33806
+ t && (r = Object.keys(this.localeOptions).find((c) => c === t), r = r || Object.keys(this.localeOptions).find((c) => c.slice(0, 2) === t.slice(0, 2)), e = r || this.locale, userContext.setUserLocale && await userContext.setUserLocale({ userId: a.userId, newLocale: e }));
33806
33807
  } catch (o) {
33807
33808
  console.error(o);
33808
33809
  } finally {
@@ -33812,7 +33813,8 @@ const MarkdownIt = /* @__PURE__ */ getDefaultExportFromCjs(markdownIt), VueMarkd
33812
33813
  async setUserTimeZone(t) {
33813
33814
  if (this.currentTimeZoneId !== t)
33814
33815
  try {
33815
- return await userContext.setUserTimeZone({ tzId: t }), this.currentTimeZoneId = t, showToast$1(translate("Time zone updated successfully")), Promise.resolve(t);
33816
+ const r = appContext.config.globalProperties.$store.getters["user/getUserProfile"];
33817
+ return await userContext.setUserTimeZone({ userId: r.userId, tzId: t }), this.currentTimeZoneId = t, showToast$1(translate("Time zone updated successfully")), Promise.resolve(t);
33816
33818
  } catch (e) {
33817
33819
  return console.error("Error", e), Promise.reject("");
33818
33820
  }