@feedmepos/mf-hrm-portal 2.3.2-dev.4 → 2.3.2-dev.6
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/{ApprovalCodeList-BPTnWcra.js → ApprovalCodeList-ix9OeJEQ.js} +7 -7
- package/dist/{AuditLogList-CvEF4bit.js → AuditLogList-D5H_O9Q0.js} +5 -5
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CPX0sv64.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CuELLYY4.js} +10 -10
- package/dist/{EmployeeList-CANPsrQY.js → EmployeeList-DICzZjVM.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-mdfK9rtZ.js → FormSection.vue_vue_type_script_setup_true_lang-BQzSWAqC.js} +1 -1
- package/dist/{GrantUserList-DPj_6Wsg.js → GrantUserList-DoMN7Eks.js} +8 -8
- package/dist/{Main-Cob4hcf-.js → Main-CHIExpOV.js} +5 -5
- package/dist/{Main-BWRMirTY.js → Main-CQ42sYi9.js} +11 -11
- package/dist/{Main-DXcSgkhR.js → Main-DwYh9cxQ.js} +10 -10
- package/dist/{MyPosProfile-Bp7-pATz.js → MyPosProfile-DaUdREQX.js} +100 -111
- package/dist/{PermissionSetList-DvAW1q0c.js → PermissionSetList-B7WM9N-p.js} +66 -66
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BSVtyLlL.js +4207 -0
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C8hcooKP.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-C7fnnbme.js} +1 -1
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-Bq8-aBSv.js → RoleForm.vue_vue_type_script_setup_true_lang-AbQIllkX.js} +30 -30
- package/dist/{RoleList-DsrHgU4s.js → RoleList-vQsHxlNc.js} +96 -105
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CRR18xmB.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D52LhvGG.js} +1 -1
- package/dist/{ScheduleGeneralPage-C_Kj9wmp.js → ScheduleGeneralPage-BLqh7jH6.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3oQ6lE86.js → ScheduleModal.vue_vue_type_script_setup_true_lang-C9doSgov.js} +4 -4
- package/dist/{SchedulePage-9dFXxWwZ.js → SchedulePage-YADV_6w9.js} +9 -9
- package/dist/{SchedulePositionPage-Dea5X8Sa.js → SchedulePositionPage-BowDQMG_.js} +3 -3
- package/dist/{SelectFilter-Dr9lB6Ta.js → SelectFilter-CBp1qxLd.js} +2 -3
- package/dist/{TeamMemberList-Bu9QNP9W.js → TeamMemberList-BoJ87moU.js} +184 -184
- package/dist/TimesheetList-BULw75oo.js +401 -0
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DIQ7kjG8.js → TimesheetList.vue_vue_type_style_index_0_scoped_c98b0b84_lang-VlnjH9aQ.js} +3 -3
- package/dist/{app-BHQJX4L4.js → app-DOFDND9j.js} +5454 -4639
- package/dist/app.js +1 -1
- package/dist/{approval-code-w0rZJeYU.js → approval-code-Dgj6S82q.js} +1 -1
- package/dist/{dayjs.min-C4H4diN8.js → dayjs.min-AoirQCgL.js} +16 -16
- package/dist/{employee-BEwUmdt6.js → employee-VB6YmuSS.js} +5 -5
- package/dist/{grant-user-DdxPMH5_.js → grant-user-C-ptrq7l.js} +1 -1
- package/dist/{iteration-DBHifssn.js → iteration-DmuDXP8U.js} +1 -1
- package/dist/{lodash-DqZsWm-0.js → lodash-CBFO-xTu.js} +1 -1
- package/dist/member-grant-CHOB8eQ_.js +54 -0
- package/dist/restaurant-DH2Fxzi7.js +52 -0
- package/dist/role-DUpHwRiY.js +97 -0
- package/dist/rule-aUPH1VOW.js +842 -0
- package/dist/src/api/my-pos-profile/index.d.ts +1 -3
- package/dist/src/helpers/permission-set.d.ts +1 -102
- package/dist/src/helpers/rule.d.ts +2 -2
- package/dist/src/stores/restaurant.d.ts +61 -1
- package/dist/src/types/my-pos-profile.d.ts +2 -3
- package/dist/src/views/audit-log/locales/index.d.ts +12 -0
- package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -4
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BUmFt2dT.js → useAppStore-DwmJbpf-.js} +1 -1
- package/dist/{useLoading-oHRj4RgU.js → useLoading-Dmlm4oSU.js} +1 -1
- package/dist/{useReportPermissions-CpcyfEuV.js → useReportPermissions-XPn-p57R.js} +5 -5
- package/package.json +3 -3
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DmbI5vgH.js +0 -4243
- package/dist/TimesheetList-B98l028z.js +0 -402
- package/dist/member-grant-DOigVnBR.js +0 -55
- package/dist/restaurant-2xCb2x26.js +0 -51
- package/dist/role-C8STcmLJ.js +0 -93
- package/dist/rule-BkL34-Ma.js +0 -788
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { defineComponent as j, ref as u, computed as v, resolveComponent as h, createBlock as $, openBlock as a, withCtx as F, createElementVNode as t, createElementBlock as l, Fragment as E, renderList as L, toDisplayString as c, unref as s, createVNode as r, onUnmounted as Q, watch as X, createCommentVNode as Y, h as U } from "vue";
|
|
2
|
+
import { useI18n as R, useCoreStore as Z, FeedMeAuth as ee } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as oe, useDialog as te, useBreakpoints as se, components as ae, SnackbarPosition as le } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
5
|
-
import { t as re, f as
|
|
6
|
-
import { _ as
|
|
7
|
-
const
|
|
5
|
+
import { t as re, f as ce, c as ie, r as de, i as V, d as me, p as ue, o as pe } from "./app-DOFDND9j.js";
|
|
6
|
+
import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-BVVwfd7B.js";
|
|
7
|
+
const ye = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, _e = { class: "fm-typo-en-title-sm-600 text-center" }, ge = { class: "py-[4px]" }, ve = {
|
|
8
8
|
class: "flex items-center justify-center gap-4 rounded-[12px] bg-fm-color-neutral-gray-100 px-16 py-[20px]",
|
|
9
9
|
"data-testid": "new-passcode"
|
|
10
|
-
}, he = { class: "fm-typo-en-body-md-400 pt-16 text-center text-fm-color-typo-primary" },
|
|
10
|
+
}, he = { class: "fm-typo-en-body-md-400 pt-16 text-center text-fm-color-typo-primary" }, Pe = /* @__PURE__ */ j({
|
|
11
11
|
__name: "PasscodeChangedDialog",
|
|
12
|
-
setup(
|
|
13
|
-
const { t:
|
|
12
|
+
setup(T, { expose: e }) {
|
|
13
|
+
const { t: P } = R(), y = u(!1), x = u(""), b = v(() => x.value.split("")), A = (_) => {
|
|
14
14
|
x.value = _, y.value = !0;
|
|
15
|
-
},
|
|
15
|
+
}, i = () => {
|
|
16
16
|
y.value = !1, x.value = "";
|
|
17
17
|
};
|
|
18
|
-
return e({ open:
|
|
19
|
-
const g =
|
|
20
|
-
return
|
|
18
|
+
return e({ open: A }), (_, n) => {
|
|
19
|
+
const g = h("FmIcon"), p = h("FmButton"), S = h("FmDialog");
|
|
20
|
+
return a(), $(S, {
|
|
21
21
|
modelValue: y.value,
|
|
22
22
|
"onUpdate:modelValue": [
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
n[0] || (n[0] = (d) => y.value = d),
|
|
24
|
+
n[1] || (n[1] = (d) => !d && i())
|
|
25
25
|
],
|
|
26
26
|
"min-width": 360,
|
|
27
27
|
"max-width": 460,
|
|
@@ -29,79 +29,82 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
29
29
|
"dismiss-away": !1
|
|
30
30
|
}, {
|
|
31
31
|
"dialog-header": F(() => [
|
|
32
|
-
t("div",
|
|
33
|
-
|
|
32
|
+
t("div", ye, [
|
|
33
|
+
r(g, {
|
|
34
34
|
name: "check_circle",
|
|
35
35
|
size: "xl",
|
|
36
36
|
outline: "",
|
|
37
37
|
color: "typo-success"
|
|
38
38
|
}),
|
|
39
|
-
t("p",
|
|
39
|
+
t("p", _e, c(s(P)("myPosProfile.changed.title")), 1)
|
|
40
40
|
])
|
|
41
41
|
]),
|
|
42
42
|
"dialog-footer": F(() => [
|
|
43
|
-
|
|
43
|
+
r(p, {
|
|
44
44
|
class: "w-full",
|
|
45
45
|
variant: "primary",
|
|
46
|
-
label: s(
|
|
47
|
-
onClick:
|
|
46
|
+
label: s(P)("myPosProfile.changed.done"),
|
|
47
|
+
onClick: i
|
|
48
48
|
}, null, 8, ["label"])
|
|
49
49
|
]),
|
|
50
50
|
default: F(() => [
|
|
51
|
-
t("div",
|
|
52
|
-
t("div",
|
|
53
|
-
(
|
|
54
|
-
key:
|
|
51
|
+
t("div", ge, [
|
|
52
|
+
t("div", ve, [
|
|
53
|
+
(a(!0), l(E, null, L(b.value, (d, C) => (a(), l("span", {
|
|
54
|
+
key: C,
|
|
55
55
|
class: "flex h-[56px] w-[52px] items-center justify-center text-[48px] font-bold leading-[56px] text-fm-color-typo-primary"
|
|
56
|
-
}, c(
|
|
56
|
+
}, c(d), 1))), 128))
|
|
57
57
|
]),
|
|
58
|
-
t("p", he, c(s(
|
|
58
|
+
t("p", he, c(s(P)("myPosProfile.changed.message")), 1)
|
|
59
59
|
])
|
|
60
60
|
]),
|
|
61
61
|
_: 1
|
|
62
62
|
}, 8, ["modelValue"]);
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, be = {
|
|
66
66
|
key: 1,
|
|
67
67
|
class: "flex flex-1 items-center justify-center"
|
|
68
|
-
},
|
|
68
|
+
}, we = {
|
|
69
69
|
key: 2,
|
|
70
70
|
class: "space-y-24"
|
|
71
|
-
},
|
|
71
|
+
}, ke = {
|
|
72
72
|
key: 0,
|
|
73
73
|
role: "alert",
|
|
74
74
|
"data-testid": "pos-user-shared",
|
|
75
75
|
class: "flex items-center gap-[10px] rounded-[12px] bg-fm-color-system-warning-100 px-16 py-[14px]"
|
|
76
|
-
},
|
|
76
|
+
}, Fe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary" }, Se = { class: "space-y-12" }, Ae = { class: "fm-typo-en-body-lg-600" }, Ce = { class: "flex items-center gap-24 rounded-[12px] border border-fm-color-neutral-gray-100 p-24 xs:flex-wrap" }, De = { class: "flex h-48 w-48 shrink-0 items-center justify-center rounded-[12px] bg-fm-color-neutral-gray-100" }, Be = { class: "min-w-0 flex-1" }, Ue = { class: "flex items-center gap-8" }, $e = ["aria-label"], Ee = {
|
|
77
77
|
key: 0,
|
|
78
78
|
class: "h-[14px] w-[14px] rounded-full bg-fm-color-typo-primary"
|
|
79
79
|
}, Ie = {
|
|
80
80
|
key: 1,
|
|
81
81
|
class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary"
|
|
82
|
-
},
|
|
82
|
+
}, Me = {
|
|
83
83
|
key: 0,
|
|
84
84
|
class: "fm-typo-en-body-md-400 pt-[6px] text-fm-color-typo-secondary"
|
|
85
|
-
},
|
|
85
|
+
}, ze = { class: "flex flex-wrap items-center gap-[10px] rounded-[12px] bg-fm-color-neutral-gray-100 px-16 py-[14px]" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, je = 4, He = /* @__PURE__ */ j({
|
|
86
86
|
__name: "MyPosProfile",
|
|
87
|
-
setup(
|
|
88
|
-
const { t: e, locale:
|
|
89
|
-
Q(() => clearInterval(
|
|
90
|
-
const
|
|
87
|
+
setup(T) {
|
|
88
|
+
const { t: e, locale: P } = R(), y = Z(), x = oe(), b = te(), { breakpoints: A } = se(), i = u(null), _ = u(!0), n = u(!1), g = u(!1), p = u(!1), S = u(), d = u(Date.now()), C = setInterval(() => d.value = Date.now(), 3e4);
|
|
89
|
+
Q(() => clearInterval(C));
|
|
90
|
+
const w = v(() => {
|
|
91
91
|
var o;
|
|
92
|
-
return ((o =
|
|
93
|
-
}), N =
|
|
92
|
+
return ((o = i.value) == null ? void 0 : o.profile) ?? null;
|
|
93
|
+
}), N = v(() => w.value ? re(w.value) : []), I = v(
|
|
94
94
|
() => {
|
|
95
95
|
var o;
|
|
96
|
-
return
|
|
97
|
-
((o =
|
|
96
|
+
return ce(
|
|
97
|
+
((o = w.value) == null ? void 0 : o.passcodeUpdatedAt) ?? null,
|
|
98
98
|
e,
|
|
99
|
-
String(
|
|
100
|
-
|
|
99
|
+
String(P.value),
|
|
100
|
+
d.value
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
|
-
),
|
|
104
|
-
|
|
103
|
+
), k = v(() => {
|
|
104
|
+
var o;
|
|
105
|
+
return n.value ? (o = w.value) == null ? void 0 : o.passcode : null;
|
|
106
|
+
}), O = v(
|
|
107
|
+
() => k.value ? k.value.split("") : Array.from({ length: je }, () => null)
|
|
105
108
|
), G = [
|
|
106
109
|
{
|
|
107
110
|
id: "name",
|
|
@@ -109,9 +112,9 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
109
112
|
enableSorting: !1,
|
|
110
113
|
cell: (o) => {
|
|
111
114
|
const f = o.row.original.name;
|
|
112
|
-
return f ?
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
return f ? U("div", { class: "flex items-center gap-8" }, [
|
|
116
|
+
U(ae.FmAvatar, { name: f, size: "sm", class: "shrink-0" }),
|
|
117
|
+
U("span", { class: "truncate" }, f)
|
|
115
118
|
]) : "";
|
|
116
119
|
}
|
|
117
120
|
},
|
|
@@ -134,15 +137,15 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
134
137
|
cell: (o) => o.row.original.role
|
|
135
138
|
}
|
|
136
139
|
];
|
|
137
|
-
function
|
|
140
|
+
function D(o) {
|
|
138
141
|
x.open({ type: "error", title: o, position: le.BOTTOM });
|
|
139
142
|
}
|
|
140
143
|
async function H() {
|
|
141
|
-
_.value = !0,
|
|
144
|
+
_.value = !0, p.value = !1, n.value = !1;
|
|
142
145
|
try {
|
|
143
|
-
|
|
146
|
+
i.value = await de();
|
|
144
147
|
} catch (o) {
|
|
145
|
-
|
|
148
|
+
i.value = null, V(o) ? p.value = !0 : D(e("myPosProfile.loadFailed"));
|
|
146
149
|
} finally {
|
|
147
150
|
_.value = !1;
|
|
148
151
|
}
|
|
@@ -154,115 +157,101 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
154
157
|
},
|
|
155
158
|
{ immediate: !0 }
|
|
156
159
|
);
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
a.value = null;
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
if (!g.value) {
|
|
163
|
-
g.value = !0;
|
|
164
|
-
try {
|
|
165
|
-
a.value = (await ue()).passcode;
|
|
166
|
-
} catch (o) {
|
|
167
|
-
U(o) ? u.value = !0 : A(e("myPosProfile.passcode.revealFailed"));
|
|
168
|
-
} finally {
|
|
169
|
-
g.value = !1;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
160
|
+
function K() {
|
|
161
|
+
n.value = !n.value;
|
|
172
162
|
}
|
|
173
163
|
function W() {
|
|
174
164
|
b.open({
|
|
175
165
|
title: e("myPosProfile.change.title"),
|
|
176
166
|
message: e("myPosProfile.change.message"),
|
|
177
|
-
minWidth:
|
|
167
|
+
minWidth: A.value.lg ? 598 : 0,
|
|
178
168
|
primaryActions: {
|
|
179
169
|
text: e("common.confirm"),
|
|
180
170
|
close: !1,
|
|
181
|
-
isLoading:
|
|
171
|
+
isLoading: g
|
|
182
172
|
},
|
|
183
173
|
secondaryActions: { text: e("common.cancel"), close: !0 }
|
|
184
174
|
}).onPrimary(async () => {
|
|
185
175
|
var o, f;
|
|
186
|
-
if (!
|
|
187
|
-
|
|
176
|
+
if (!g.value) {
|
|
177
|
+
g.value = !0;
|
|
188
178
|
try {
|
|
189
|
-
const { passcode:
|
|
190
|
-
|
|
191
|
-
} catch (
|
|
192
|
-
b.close(),
|
|
179
|
+
const { passcode: m, passcodeUpdatedAt: B } = await me();
|
|
180
|
+
n.value = !1, (o = i.value) != null && o.profile && (i.value.profile.passcode = m, i.value.profile.passcodeUpdatedAt = B), d.value = Date.now(), b.close(), (f = S.value) == null || f.open(m);
|
|
181
|
+
} catch (m) {
|
|
182
|
+
b.close(), V(m) ? p.value = !0 : D(e(ue(m)));
|
|
193
183
|
} finally {
|
|
194
|
-
|
|
184
|
+
g.value = !1;
|
|
195
185
|
}
|
|
196
186
|
}
|
|
197
187
|
});
|
|
198
188
|
}
|
|
199
189
|
function q() {
|
|
200
|
-
|
|
190
|
+
pe(ee) || D(e("myPosProfile.manageAccount.failed"));
|
|
201
191
|
}
|
|
202
192
|
return (o, f) => {
|
|
203
|
-
const
|
|
204
|
-
return
|
|
193
|
+
const m = h("FmIcon"), B = h("FmTable"), M = h("FmButton");
|
|
194
|
+
return a(), $(ne, {
|
|
205
195
|
heading: s(e)("myPosProfile.title")
|
|
206
196
|
}, {
|
|
207
197
|
"sub-heading": F(() => [
|
|
208
|
-
t("p",
|
|
198
|
+
t("p", xe, c(s(e)("myPosProfile.subtitle")), 1)
|
|
209
199
|
]),
|
|
210
200
|
default: F(() => [
|
|
211
|
-
_.value ? (
|
|
212
|
-
|
|
201
|
+
_.value ? (a(), $(ie, { key: 0 })) : !w.value && !p.value ? (a(), l("div", be, [
|
|
202
|
+
r(s(fe), {
|
|
213
203
|
title: s(e)("myPosProfile.noPosUser.title"),
|
|
214
204
|
subtitle: s(e)("myPosProfile.noPosUser.description")
|
|
215
205
|
}, null, 8, ["title", "subtitle"])
|
|
216
|
-
])) : (
|
|
217
|
-
|
|
218
|
-
|
|
206
|
+
])) : (a(), l("div", we, [
|
|
207
|
+
p.value ? (a(), l("div", ke, [
|
|
208
|
+
r(m, {
|
|
219
209
|
name: "warning",
|
|
220
210
|
size: "sm",
|
|
221
211
|
outline: "",
|
|
222
212
|
color: "typo-warning"
|
|
223
213
|
}),
|
|
224
|
-
t("span",
|
|
225
|
-
])) : (
|
|
226
|
-
|
|
214
|
+
t("span", Fe, c(s(e)("myPosProfile.shared.message")), 1)
|
|
215
|
+
])) : (a(), l(E, { key: 1 }, [
|
|
216
|
+
r(B, {
|
|
227
217
|
"column-defs": G,
|
|
228
218
|
"row-data": N.value,
|
|
229
219
|
"page-size": 100,
|
|
230
220
|
"hide-footer": ""
|
|
231
221
|
}, null, 8, ["row-data"]),
|
|
232
|
-
t("section",
|
|
233
|
-
t("p",
|
|
234
|
-
t("div",
|
|
235
|
-
t("div",
|
|
236
|
-
|
|
222
|
+
t("section", Se, [
|
|
223
|
+
t("p", Ae, c(s(e)("myPosProfile.passcode.title")), 1),
|
|
224
|
+
t("div", Ce, [
|
|
225
|
+
t("div", De, [
|
|
226
|
+
r(m, {
|
|
237
227
|
name: "lock",
|
|
238
228
|
outline: ""
|
|
239
229
|
})
|
|
240
230
|
]),
|
|
241
|
-
t("div",
|
|
242
|
-
t("div",
|
|
231
|
+
t("div", Be, [
|
|
232
|
+
t("div", Ue, [
|
|
243
233
|
t("div", {
|
|
244
234
|
class: "flex h-24 items-center gap-[10px]",
|
|
245
235
|
"data-testid": "passcode",
|
|
246
|
-
"aria-label":
|
|
236
|
+
"aria-label": k.value ? void 0 : s(e)("myPosProfile.passcode.title")
|
|
247
237
|
}, [
|
|
248
|
-
(
|
|
238
|
+
(a(!0), l(E, null, L(O.value, (z, J) => (a(), l("span", {
|
|
249
239
|
key: J,
|
|
250
240
|
class: "flex w-[20px] items-center justify-center"
|
|
251
241
|
}, [
|
|
252
|
-
z === null ? (
|
|
242
|
+
z === null ? (a(), l("span", Ee)) : (a(), l("span", Ie, c(z), 1))
|
|
253
243
|
]))), 128))
|
|
254
|
-
], 8,
|
|
255
|
-
|
|
244
|
+
], 8, $e),
|
|
245
|
+
r(M, {
|
|
256
246
|
variant: "tertiary",
|
|
257
|
-
"prepend-icon":
|
|
258
|
-
|
|
259
|
-
"aria-label": a.value ? s(e)("myPosProfile.passcode.hide") : s(e)("myPosProfile.passcode.show"),
|
|
247
|
+
"prepend-icon": k.value ? "visibility_off" : "visibility",
|
|
248
|
+
"aria-label": k.value ? s(e)("myPosProfile.passcode.hide") : s(e)("myPosProfile.passcode.show"),
|
|
260
249
|
onClick: K
|
|
261
|
-
}, null, 8, ["prepend-icon", "
|
|
250
|
+
}, null, 8, ["prepend-icon", "aria-label"])
|
|
262
251
|
]),
|
|
263
|
-
|
|
252
|
+
I.value ? (a(), l("p", Me, c(I.value), 1)) : Y("", !0)
|
|
264
253
|
]),
|
|
265
|
-
|
|
254
|
+
r(M, {
|
|
266
255
|
variant: "secondary",
|
|
267
256
|
size: "md",
|
|
268
257
|
label: s(e)("myPosProfile.passcode.change"),
|
|
@@ -271,14 +260,14 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
271
260
|
])
|
|
272
261
|
])
|
|
273
262
|
], 64)),
|
|
274
|
-
t("div",
|
|
275
|
-
|
|
263
|
+
t("div", ze, [
|
|
264
|
+
r(m, {
|
|
276
265
|
name: "info",
|
|
277
266
|
size: "sm",
|
|
278
267
|
outline: "",
|
|
279
268
|
color: "typo-secondary"
|
|
280
269
|
}),
|
|
281
|
-
t("span",
|
|
270
|
+
t("span", Ve, c(s(e)("myPosProfile.manageAccount.message")), 1),
|
|
282
271
|
t("button", {
|
|
283
272
|
type: "button",
|
|
284
273
|
class: "fm-typo-en-body-md-600 text-fm-color-system-info-300",
|
|
@@ -286,9 +275,9 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
286
275
|
}, c(s(e)("myPosProfile.manageAccount.link")), 1)
|
|
287
276
|
])
|
|
288
277
|
])),
|
|
289
|
-
|
|
278
|
+
r(Pe, {
|
|
290
279
|
ref_key: "changedDialogRef",
|
|
291
|
-
ref:
|
|
280
|
+
ref: S
|
|
292
281
|
}, null, 512)
|
|
293
282
|
]),
|
|
294
283
|
_: 1
|
|
@@ -297,5 +286,5 @@ const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = {
|
|
|
297
286
|
}
|
|
298
287
|
});
|
|
299
288
|
export {
|
|
300
|
-
|
|
289
|
+
He as default
|
|
301
290
|
};
|