@myxtra/authentication-green 1.12.0 → 1.12.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as d, j as n, g as xt, u as H, a as Qe, P as Se, b as bt, E as wt } from "./index-
|
|
1
|
+
import { r as d, j as n, g as xt, u as H, a as Qe, P as Se, b as bt, E as wt } from "./index-bea22842.mjs";
|
|
2
2
|
class V {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
@@ -3195,39 +3195,41 @@ const Mr = () => {
|
|
|
3195
3195
|
}, Te = (e) => e ? `+${e.countryCode} ${e.number}` : "", Ue = (e, t) => t == null ? void 0 : t.find((s) => s.type === e), Nr = (e) => {
|
|
3196
3196
|
const t = new Date(e.dateOfBirth), s = Ue(Se.Mobile, e.phone), r = Ue(Se.Fixed, e.phone), i = Te(s) ?? Te(r) ?? "";
|
|
3197
3197
|
return {
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3198
|
+
user: {
|
|
3199
|
+
firstName: () => e.firstName,
|
|
3200
|
+
lastName: () => e.lastName,
|
|
3201
|
+
dob: () => t.getDate(),
|
|
3202
|
+
mob: () => t.getMonth() + 1,
|
|
3203
|
+
yob: () => t.getFullYear(),
|
|
3204
|
+
gender: () => e.genderCode,
|
|
3205
|
+
phone: () => i,
|
|
3206
|
+
streetName: () => {
|
|
3207
|
+
var a;
|
|
3208
|
+
return (a = e.address) == null ? void 0 : a.streetName;
|
|
3209
|
+
},
|
|
3210
|
+
houseNr: () => {
|
|
3211
|
+
var a;
|
|
3212
|
+
return (a = e.address) == null ? void 0 : a.houseNumber;
|
|
3213
|
+
},
|
|
3214
|
+
box: () => {
|
|
3215
|
+
var a;
|
|
3216
|
+
return (a = e.address) == null ? void 0 : a.letterBoxName;
|
|
3217
|
+
},
|
|
3218
|
+
zip: () => {
|
|
3219
|
+
var a;
|
|
3220
|
+
return (a = e.address) == null ? void 0 : a.postalCode;
|
|
3221
|
+
},
|
|
3222
|
+
city: () => {
|
|
3223
|
+
var a;
|
|
3224
|
+
return (a = e.address) == null ? void 0 : a.locationName;
|
|
3225
|
+
},
|
|
3226
|
+
country: () => {
|
|
3227
|
+
var a;
|
|
3228
|
+
return (a = e.address) == null ? void 0 : a.countryCode;
|
|
3229
|
+
},
|
|
3230
|
+
email: () => e.email,
|
|
3231
|
+
cbh: () => e.customerIdentifier
|
|
3232
|
+
}
|
|
3231
3233
|
};
|
|
3232
3234
|
}, yt = () => {
|
|
3233
3235
|
const e = Mr(), t = me.get("profile"), s = !!t, [r, i] = d.useState(
|
|
@@ -8414,7 +8414,7 @@ class Xm extends HTMLElement {
|
|
|
8414
8414
|
async connectedCallback() {
|
|
8415
8415
|
const t = this.attachShadow({ mode: "open" });
|
|
8416
8416
|
Gm(t);
|
|
8417
|
-
const n = $c(t), i = (await import("./App-
|
|
8417
|
+
const n = $c(t), i = (await import("./App-f91d1da8.mjs")).default;
|
|
8418
8418
|
n.render(
|
|
8419
8419
|
/* @__PURE__ */ Mn.jsx(
|
|
8420
8420
|
i,
|