@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.
- package/lib/{index-885087ea.js → index-63fc6a8d.js} +8 -6
- package/lib/{index-ba6d228c.cjs → index-7da55cde.cjs} +28 -28
- package/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/lib/{index9-844defa1.js → index9-6dd9f38a.js} +1 -1
- package/lib/{index9-09341fe6.cjs → index9-e9aa8fec.cjs} +1 -1
- package/lib/{input-shims-4eb5214e.cjs → input-shims-4aded8ec.cjs} +1 -1
- package/lib/{input-shims-958b9bab.js → input-shims-57c2a588.js} +1 -1
- package/lib/{ios.transition-6ca05706.cjs → ios.transition-4bde9959.cjs} +1 -1
- package/lib/{ios.transition-26a0db40.js → ios.transition-57b9f3af.js} +1 -1
- package/lib/{md.transition-9e7ac4d9.cjs → md.transition-d7f3f3ee.cjs} +1 -1
- package/lib/{md.transition-38bd0a05.js → md.transition-ff95e14c.js} +1 -1
- package/lib/{status-tap-a6fcc6b3.js → status-tap-09a5678f.js} +1 -1
- package/lib/{status-tap-1c2f8ad4.cjs → status-tap-1bd7263b.cjs} +1 -1
- package/lib/store/user.d.ts.map +1 -1
- package/lib/{swipe-back-062b9e48.cjs → swipe-back-baed4d99.cjs} +1 -1
- package/lib/{swipe-back-7afedbbb.js → swipe-back-f2129336.js} +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
}
|