@feedmepos/mf-hrm-portal 2.0.8-dev.2 → 2.0.8-dev.20
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/AuditLogList-BfcV3GuV.js +802 -0
- package/dist/{EmployeeList-DFidQNY-.js → EmployeeList-CSGpTtj-.js} +5 -5
- package/dist/{Main-Cyv8sUgm.js → Main-5iSh8AOp.js} +9 -9
- package/dist/{Main-QiWGhy3F.js → Main-BttHvrfX.js} +4 -4
- package/dist/{Main-inA1JBbf.js → Main-C6_hymuD.js} +6 -6
- package/dist/{PermissionSetList-8y9P7xs1.js → PermissionSetList-D-qEchys.js} +15 -15
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-VKNbDekA.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-JoFnQhkL.js} +703 -703
- package/dist/{RoleList-DoiZ3dvn.js → RoleList-DMC1MFbx.js} +7 -7
- package/dist/{TeamMemberList-DCVRr-rZ.js → TeamMemberList-CFGAYF8K.js} +45 -45
- package/dist/{TimesheetList-0M_RyIwG.js → TimesheetList-BYT7Nmjf.js} +7 -7
- package/dist/{app-DV8MR5i_.js → app-D8vTftyA.js} +2161 -1237
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CIWQ_28k.js → dayjs.min-B5H5x-Tu.js} +1 -1
- package/dist/{employee-i8ZH32kR.js → employee-BE5Sm7cX.js} +4 -4
- package/dist/{index-CoiMBRDb.js → index-D0zaceK9.js} +12 -12
- package/dist/{index-BbqZqtCo.js → index-DNLkGHeZ.js} +1 -1
- package/dist/{iteration-IVxP0PQH.js → iteration-AxipbNoR.js} +1 -1
- package/dist/{lodash-C94ITrZx.js → lodash-B4DK5U2H.js} +1 -1
- package/dist/src/api/audit-log/index.d.ts +1 -0
- package/dist/src/views/audit-log/components/AuditLogModuleTabs.vue.d.ts +20 -0
- package/dist/src/views/audit-log/constants.d.ts +30 -0
- package/dist/src/views/audit-log/locales/index.d.ts +180 -0
- package/dist/style.css +1 -1
- package/dist/{team-DXTXXDUL.js → team-BY_49uIG.js} +1 -1
- package/dist/{timesheet-Bi9l5LyF.js → timesheet-Bq9nINdL.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-B_WaHiIH.js → useAppStore-ByKKnIVk.js} +1 -1
- package/dist/{useLoading-Dy5rFQJr.js → useLoading-pWhsmlRR.js} +1 -1
- package/dist/{useReportPermissions-gitk6D3Q.js → useReportPermissions-CIMFHvmS.js} +3 -3
- package/package.json +3 -3
- package/dist/AuditLogList-G4Ub5pPk.js +0 -493
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as T } from "./dayjs.min-
|
|
1
|
+
import { d as T } from "./dayjs.min-B5H5x-Tu.js";
|
|
2
2
|
import { defineStore as _, storeToRefs as U } from "pinia";
|
|
3
3
|
import { ref as I } from "vue";
|
|
4
4
|
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
|
5
|
-
import { b as r, g as o, s as v } from "./iteration-
|
|
6
|
-
import { t as b, i as S } from "./index-
|
|
7
|
-
import { u as x } from "./useAppStore-
|
|
5
|
+
import { b as r, g as o, s as v } from "./iteration-AxipbNoR.js";
|
|
6
|
+
import { t as b, i as S } from "./index-D0zaceK9.js";
|
|
7
|
+
import { u as x } from "./useAppStore-ByKKnIVk.js";
|
|
8
8
|
const n = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return o(await r().get("/pos-users"));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-
|
|
2
|
-
import {
|
|
1
|
+
import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-AxipbNoR.js";
|
|
2
|
+
import { u as J, b as R, A as F, p as D, e as S, C as Q } from "./app-D8vTftyA.js";
|
|
3
3
|
import { defineStore as x, storeToRefs as k } from "pinia";
|
|
4
|
-
import { ref as h, computed as
|
|
4
|
+
import { ref as h, computed as C } from "vue";
|
|
5
5
|
import { useCoreStore as q } from "@feedmepos/mf-common";
|
|
6
6
|
const T = [
|
|
7
7
|
{
|
|
@@ -511,14 +511,14 @@ function W(e) {
|
|
|
511
511
|
t(s.inverted ? o : n, s, a);
|
|
512
512
|
return [...Array.from(n.values()), ...Array.from(o.values())];
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function N(e, n) {
|
|
515
515
|
return `${e}::${[...n].sort().join(",")}`;
|
|
516
516
|
}
|
|
517
517
|
function z(e, n) {
|
|
518
518
|
const o = [...e], t = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
519
519
|
for (const i of e) {
|
|
520
520
|
const c = R(i.subject);
|
|
521
|
-
t.add(
|
|
521
|
+
t.add(N(c, i.actions)), i.inverted && i.actions.includes("manage") && a.add(`set_${c}`), !i.inverted && i.actions.includes("manage") && s.add(c);
|
|
522
522
|
}
|
|
523
523
|
const r = [...e];
|
|
524
524
|
for (; r.length > 0; ) {
|
|
@@ -529,7 +529,7 @@ function z(e, n) {
|
|
|
529
529
|
i.source && !i.source.trace && (i.source = { ...i.source, trace: l });
|
|
530
530
|
const d = [...l, `${u.name} (system)`];
|
|
531
531
|
for (const p of u.permissions ?? []) {
|
|
532
|
-
const m = R(p.subject), f =
|
|
532
|
+
const m = R(p.subject), f = N(m, p.actions);
|
|
533
533
|
t.has(f) || s.has(m) || (t.add(f), o.push({
|
|
534
534
|
...p,
|
|
535
535
|
// FdoPermissionRule.fields is string[] | null; RawRule expects string[] | undefined
|
|
@@ -543,7 +543,7 @@ function z(e, n) {
|
|
|
543
543
|
}));
|
|
544
544
|
}
|
|
545
545
|
for (const p of u.permissionSets ?? []) {
|
|
546
|
-
const m = R(p), f =
|
|
546
|
+
const m = R(p), f = N(m, ["manage"]), v = {
|
|
547
547
|
subject: m,
|
|
548
548
|
actions: ["manage"],
|
|
549
549
|
source: {
|
|
@@ -853,7 +853,7 @@ function de() {
|
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
const o =
|
|
856
|
+
const o = C(() => O.value.map(
|
|
857
857
|
(t) => t.isDefault ? {
|
|
858
858
|
label: t.name,
|
|
859
859
|
subject: `business::report::reports::${t.permissionKey}`,
|
|
@@ -875,8 +875,8 @@ function de() {
|
|
|
875
875
|
return {
|
|
876
876
|
fetchCustomReportPermissions: n,
|
|
877
877
|
customReportPermissions: o,
|
|
878
|
-
isLoading:
|
|
879
|
-
isLoaded:
|
|
878
|
+
isLoading: C(() => w.value),
|
|
879
|
+
isLoaded: C(() => _.value)
|
|
880
880
|
};
|
|
881
881
|
}
|
|
882
882
|
function U(e) {
|
|
@@ -913,7 +913,7 @@ function U(e) {
|
|
|
913
913
|
}
|
|
914
914
|
const me = Object.freeze(
|
|
915
915
|
Object.values(Q)
|
|
916
|
-
),
|
|
916
|
+
), Ce = {
|
|
917
917
|
async readTeamMembers() {
|
|
918
918
|
return b(
|
|
919
919
|
await g().get("/portal-users")
|
|
@@ -958,7 +958,7 @@ export {
|
|
|
958
958
|
Ie as q,
|
|
959
959
|
E as r,
|
|
960
960
|
Oe as s,
|
|
961
|
-
|
|
961
|
+
Ce as t,
|
|
962
962
|
G as u,
|
|
963
963
|
ue as v,
|
|
964
964
|
ne as w,
|
|
@@ -2,7 +2,7 @@ var oe = Object.defineProperty;
|
|
|
2
2
|
var se = (_, h, y) => h in _ ? oe(_, h, { enumerable: !0, configurable: !0, writable: !0, value: y }) : _[h] = y;
|
|
3
3
|
var ot = (_, h, y) => se(_, typeof h != "symbol" ? h + "" : h, y);
|
|
4
4
|
import { readonly as Nt, ref as Rt } from "vue";
|
|
5
|
-
import { c as st } from "./app-
|
|
5
|
+
import { c as st } from "./app-D8vTftyA.js";
|
|
6
6
|
var Pt = { exports: {} };
|
|
7
7
|
(function(_, h) {
|
|
8
8
|
(function(y, p) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as U } from "./app-
|
|
1
|
+
import { c as U } from "./app-D8vTftyA.js";
|
|
2
2
|
import { useCoreStore as To, baseClientInstance as jr, FeedMeAuth as Zs } from "@feedmepos/mf-common";
|
|
3
3
|
var Ys = {}, _n = {}, _ = {}, zo = {}, $i = {}, eo = {}, ui = {};
|
|
4
4
|
(function(e) {
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type TabValue = string | number;
|
|
2
|
+
type TabItem = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: TabValue;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
badge?: number;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
modelValue: TabValue | null;
|
|
10
|
+
items: TabItem[];
|
|
11
|
+
showMoreAt?: number;
|
|
12
|
+
};
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: TabValue) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: TabValue) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
showMoreAt: number;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const AUDIT_LOG_MODULE_TABS: readonly [{
|
|
2
|
+
readonly key: "all";
|
|
3
|
+
readonly label: "All";
|
|
4
|
+
readonly subjectPrefixes: string[];
|
|
5
|
+
}, {
|
|
6
|
+
readonly key: "inventory";
|
|
7
|
+
readonly label: "Inventory";
|
|
8
|
+
readonly subjectPrefixes: readonly ["business::inventory", "inventory"];
|
|
9
|
+
}, {
|
|
10
|
+
readonly key: "report";
|
|
11
|
+
readonly label: "Report";
|
|
12
|
+
readonly subjectPrefixes: readonly ["business::report", "report"];
|
|
13
|
+
}, {
|
|
14
|
+
readonly key: "hrm";
|
|
15
|
+
readonly label: "HRM";
|
|
16
|
+
readonly subjectPrefixes: readonly ["business::hrm", "hrm"];
|
|
17
|
+
}, {
|
|
18
|
+
readonly key: "payment";
|
|
19
|
+
readonly label: "Payment";
|
|
20
|
+
readonly subjectPrefixes: readonly ["business::payment", "payment"];
|
|
21
|
+
}, {
|
|
22
|
+
readonly key: "menu";
|
|
23
|
+
readonly label: "Menu";
|
|
24
|
+
readonly subjectPrefixes: readonly ["business::menu", "menu"];
|
|
25
|
+
}, {
|
|
26
|
+
readonly key: "crm";
|
|
27
|
+
readonly label: "CRM";
|
|
28
|
+
readonly subjectPrefixes: readonly ["business::crm", "crm"];
|
|
29
|
+
}];
|
|
30
|
+
export type AuditLogModuleTab = (typeof AUDIT_LOG_MODULE_TABS)[number];
|
|
@@ -4,6 +4,7 @@ export declare const i18nMessages: {
|
|
|
4
4
|
'en-US': {
|
|
5
5
|
auditLog: {
|
|
6
6
|
title: string;
|
|
7
|
+
export: string;
|
|
7
8
|
dateRange: {
|
|
8
9
|
placeholder: string;
|
|
9
10
|
};
|
|
@@ -26,15 +27,28 @@ export declare const i18nMessages: {
|
|
|
26
27
|
update: string;
|
|
27
28
|
delete: string;
|
|
28
29
|
};
|
|
30
|
+
modules: {
|
|
31
|
+
all: string;
|
|
32
|
+
inventory: string;
|
|
33
|
+
report: string;
|
|
34
|
+
hrm: string;
|
|
35
|
+
payment: string;
|
|
36
|
+
menu: string;
|
|
37
|
+
crm: string;
|
|
38
|
+
more: string;
|
|
39
|
+
};
|
|
29
40
|
columns: {
|
|
30
41
|
timestamp: string;
|
|
31
42
|
user: string;
|
|
43
|
+
role: string;
|
|
32
44
|
subject: string;
|
|
33
45
|
action: string;
|
|
34
46
|
operation: string;
|
|
35
47
|
outcome: string;
|
|
36
48
|
};
|
|
37
49
|
outcome: {
|
|
50
|
+
success: string;
|
|
51
|
+
failed: string;
|
|
38
52
|
allowed: string;
|
|
39
53
|
denied: string;
|
|
40
54
|
skipped: string;
|
|
@@ -48,21 +62,52 @@ export declare const i18nMessages: {
|
|
|
48
62
|
prevPage: string;
|
|
49
63
|
nextPage: string;
|
|
50
64
|
};
|
|
65
|
+
exportSettings: {
|
|
66
|
+
title: string;
|
|
67
|
+
};
|
|
68
|
+
exportFields: {
|
|
69
|
+
timestamp: string;
|
|
70
|
+
userName: string;
|
|
71
|
+
userPhone: string;
|
|
72
|
+
subject: string;
|
|
73
|
+
action: string;
|
|
74
|
+
operation: string;
|
|
75
|
+
outcome: string;
|
|
76
|
+
businessId: string;
|
|
77
|
+
restaurantId: string;
|
|
78
|
+
country: string;
|
|
79
|
+
resolvedFrom: string;
|
|
80
|
+
requestMethod: string;
|
|
81
|
+
requestPath: string;
|
|
82
|
+
};
|
|
51
83
|
detail: {
|
|
52
84
|
header: string;
|
|
85
|
+
date: string;
|
|
53
86
|
timestamp: string;
|
|
54
87
|
user: string;
|
|
55
88
|
email: string;
|
|
56
89
|
action: string;
|
|
57
90
|
operation: string;
|
|
91
|
+
role: string;
|
|
58
92
|
subject: string;
|
|
59
93
|
field: string;
|
|
60
94
|
outcome: string;
|
|
61
95
|
business: string;
|
|
62
96
|
restaurant: string;
|
|
97
|
+
changeDetails: string;
|
|
98
|
+
eventType: string;
|
|
63
99
|
metadata: string;
|
|
64
100
|
reason: string;
|
|
65
101
|
resolvedFrom: string;
|
|
102
|
+
resolvedFromValue: {
|
|
103
|
+
admin: string;
|
|
104
|
+
staff: string;
|
|
105
|
+
permissionSet: string;
|
|
106
|
+
systemPermissionSet: string;
|
|
107
|
+
custom: string;
|
|
108
|
+
noMatch: string;
|
|
109
|
+
unknown: string;
|
|
110
|
+
};
|
|
66
111
|
permissionSet: string;
|
|
67
112
|
permissionTrace: string;
|
|
68
113
|
decisivePermission: string;
|
|
@@ -76,6 +121,7 @@ export declare const i18nMessages: {
|
|
|
76
121
|
'zh-CN': {
|
|
77
122
|
auditLog: {
|
|
78
123
|
title: string;
|
|
124
|
+
export: string;
|
|
79
125
|
dateRange: {
|
|
80
126
|
placeholder: string;
|
|
81
127
|
};
|
|
@@ -98,15 +144,28 @@ export declare const i18nMessages: {
|
|
|
98
144
|
update: string;
|
|
99
145
|
delete: string;
|
|
100
146
|
};
|
|
147
|
+
modules: {
|
|
148
|
+
all: string;
|
|
149
|
+
inventory: string;
|
|
150
|
+
report: string;
|
|
151
|
+
hrm: string;
|
|
152
|
+
payment: string;
|
|
153
|
+
menu: string;
|
|
154
|
+
crm: string;
|
|
155
|
+
more: string;
|
|
156
|
+
};
|
|
101
157
|
columns: {
|
|
102
158
|
timestamp: string;
|
|
103
159
|
user: string;
|
|
160
|
+
role: string;
|
|
104
161
|
subject: string;
|
|
105
162
|
action: string;
|
|
106
163
|
operation: string;
|
|
107
164
|
outcome: string;
|
|
108
165
|
};
|
|
109
166
|
outcome: {
|
|
167
|
+
success: string;
|
|
168
|
+
failed: string;
|
|
110
169
|
allowed: string;
|
|
111
170
|
denied: string;
|
|
112
171
|
skipped: string;
|
|
@@ -120,21 +179,52 @@ export declare const i18nMessages: {
|
|
|
120
179
|
prevPage: string;
|
|
121
180
|
nextPage: string;
|
|
122
181
|
};
|
|
182
|
+
exportSettings: {
|
|
183
|
+
title: string;
|
|
184
|
+
};
|
|
185
|
+
exportFields: {
|
|
186
|
+
timestamp: string;
|
|
187
|
+
userName: string;
|
|
188
|
+
userPhone: string;
|
|
189
|
+
subject: string;
|
|
190
|
+
action: string;
|
|
191
|
+
operation: string;
|
|
192
|
+
outcome: string;
|
|
193
|
+
businessId: string;
|
|
194
|
+
restaurantId: string;
|
|
195
|
+
country: string;
|
|
196
|
+
resolvedFrom: string;
|
|
197
|
+
requestMethod: string;
|
|
198
|
+
requestPath: string;
|
|
199
|
+
};
|
|
123
200
|
detail: {
|
|
124
201
|
header: string;
|
|
202
|
+
date: string;
|
|
125
203
|
timestamp: string;
|
|
126
204
|
user: string;
|
|
127
205
|
email: string;
|
|
128
206
|
action: string;
|
|
129
207
|
operation: string;
|
|
208
|
+
role: string;
|
|
130
209
|
subject: string;
|
|
131
210
|
field: string;
|
|
132
211
|
outcome: string;
|
|
133
212
|
business: string;
|
|
134
213
|
restaurant: string;
|
|
214
|
+
changeDetails: string;
|
|
215
|
+
eventType: string;
|
|
135
216
|
metadata: string;
|
|
136
217
|
reason: string;
|
|
137
218
|
resolvedFrom: string;
|
|
219
|
+
resolvedFromValue: {
|
|
220
|
+
admin: string;
|
|
221
|
+
staff: string;
|
|
222
|
+
permissionSet: string;
|
|
223
|
+
systemPermissionSet: string;
|
|
224
|
+
custom: string;
|
|
225
|
+
noMatch: string;
|
|
226
|
+
unknown: string;
|
|
227
|
+
};
|
|
138
228
|
permissionSet: string;
|
|
139
229
|
permissionTrace: string;
|
|
140
230
|
decisivePermission: string;
|
|
@@ -149,6 +239,7 @@ export declare const i18nMessages: {
|
|
|
149
239
|
'th-TH': {
|
|
150
240
|
auditLog: {
|
|
151
241
|
title: string;
|
|
242
|
+
export: string;
|
|
152
243
|
dateRange: {
|
|
153
244
|
placeholder: string;
|
|
154
245
|
};
|
|
@@ -171,15 +262,28 @@ export declare const i18nMessages: {
|
|
|
171
262
|
update: string;
|
|
172
263
|
delete: string;
|
|
173
264
|
};
|
|
265
|
+
modules: {
|
|
266
|
+
all: string;
|
|
267
|
+
inventory: string;
|
|
268
|
+
report: string;
|
|
269
|
+
hrm: string;
|
|
270
|
+
payment: string;
|
|
271
|
+
menu: string;
|
|
272
|
+
crm: string;
|
|
273
|
+
more: string;
|
|
274
|
+
};
|
|
174
275
|
columns: {
|
|
175
276
|
timestamp: string;
|
|
176
277
|
user: string;
|
|
278
|
+
role: string;
|
|
177
279
|
subject: string;
|
|
178
280
|
action: string;
|
|
179
281
|
operation: string;
|
|
180
282
|
outcome: string;
|
|
181
283
|
};
|
|
182
284
|
outcome: {
|
|
285
|
+
success: string;
|
|
286
|
+
failed: string;
|
|
183
287
|
allowed: string;
|
|
184
288
|
denied: string;
|
|
185
289
|
skipped: string;
|
|
@@ -193,21 +297,52 @@ export declare const i18nMessages: {
|
|
|
193
297
|
prevPage: string;
|
|
194
298
|
nextPage: string;
|
|
195
299
|
};
|
|
300
|
+
exportSettings: {
|
|
301
|
+
title: string;
|
|
302
|
+
};
|
|
303
|
+
exportFields: {
|
|
304
|
+
timestamp: string;
|
|
305
|
+
userName: string;
|
|
306
|
+
userPhone: string;
|
|
307
|
+
subject: string;
|
|
308
|
+
action: string;
|
|
309
|
+
operation: string;
|
|
310
|
+
outcome: string;
|
|
311
|
+
businessId: string;
|
|
312
|
+
restaurantId: string;
|
|
313
|
+
country: string;
|
|
314
|
+
resolvedFrom: string;
|
|
315
|
+
requestMethod: string;
|
|
316
|
+
requestPath: string;
|
|
317
|
+
};
|
|
196
318
|
detail: {
|
|
197
319
|
header: string;
|
|
320
|
+
date: string;
|
|
198
321
|
timestamp: string;
|
|
199
322
|
user: string;
|
|
200
323
|
email: string;
|
|
201
324
|
action: string;
|
|
202
325
|
operation: string;
|
|
326
|
+
role: string;
|
|
203
327
|
subject: string;
|
|
204
328
|
field: string;
|
|
205
329
|
outcome: string;
|
|
206
330
|
business: string;
|
|
207
331
|
restaurant: string;
|
|
332
|
+
changeDetails: string;
|
|
333
|
+
eventType: string;
|
|
208
334
|
metadata: string;
|
|
209
335
|
reason: string;
|
|
210
336
|
resolvedFrom: string;
|
|
337
|
+
resolvedFromValue: {
|
|
338
|
+
admin: string;
|
|
339
|
+
staff: string;
|
|
340
|
+
permissionSet: string;
|
|
341
|
+
systemPermissionSet: string;
|
|
342
|
+
custom: string;
|
|
343
|
+
noMatch: string;
|
|
344
|
+
unknown: string;
|
|
345
|
+
};
|
|
211
346
|
permissionSet: string;
|
|
212
347
|
permissionTrace: string;
|
|
213
348
|
decisivePermission: string;
|
|
@@ -222,6 +357,7 @@ export declare const i18nMessages: {
|
|
|
222
357
|
'zh-Hant': {
|
|
223
358
|
auditLog: {
|
|
224
359
|
title: string;
|
|
360
|
+
export: string;
|
|
225
361
|
dateRange: {
|
|
226
362
|
placeholder: string;
|
|
227
363
|
};
|
|
@@ -244,15 +380,28 @@ export declare const i18nMessages: {
|
|
|
244
380
|
update: string;
|
|
245
381
|
delete: string;
|
|
246
382
|
};
|
|
383
|
+
modules: {
|
|
384
|
+
all: string;
|
|
385
|
+
inventory: string;
|
|
386
|
+
report: string;
|
|
387
|
+
hrm: string;
|
|
388
|
+
payment: string;
|
|
389
|
+
menu: string;
|
|
390
|
+
crm: string;
|
|
391
|
+
more: string;
|
|
392
|
+
};
|
|
247
393
|
columns: {
|
|
248
394
|
timestamp: string;
|
|
249
395
|
user: string;
|
|
396
|
+
role: string;
|
|
250
397
|
subject: string;
|
|
251
398
|
action: string;
|
|
252
399
|
operation: string;
|
|
253
400
|
outcome: string;
|
|
254
401
|
};
|
|
255
402
|
outcome: {
|
|
403
|
+
success: string;
|
|
404
|
+
failed: string;
|
|
256
405
|
allowed: string;
|
|
257
406
|
denied: string;
|
|
258
407
|
skipped: string;
|
|
@@ -266,21 +415,52 @@ export declare const i18nMessages: {
|
|
|
266
415
|
prevPage: string;
|
|
267
416
|
nextPage: string;
|
|
268
417
|
};
|
|
418
|
+
exportSettings: {
|
|
419
|
+
title: string;
|
|
420
|
+
};
|
|
421
|
+
exportFields: {
|
|
422
|
+
timestamp: string;
|
|
423
|
+
userName: string;
|
|
424
|
+
userPhone: string;
|
|
425
|
+
subject: string;
|
|
426
|
+
action: string;
|
|
427
|
+
operation: string;
|
|
428
|
+
outcome: string;
|
|
429
|
+
businessId: string;
|
|
430
|
+
restaurantId: string;
|
|
431
|
+
country: string;
|
|
432
|
+
resolvedFrom: string;
|
|
433
|
+
requestMethod: string;
|
|
434
|
+
requestPath: string;
|
|
435
|
+
};
|
|
269
436
|
detail: {
|
|
270
437
|
header: string;
|
|
438
|
+
date: string;
|
|
271
439
|
timestamp: string;
|
|
272
440
|
user: string;
|
|
273
441
|
email: string;
|
|
274
442
|
action: string;
|
|
275
443
|
operation: string;
|
|
444
|
+
role: string;
|
|
276
445
|
subject: string;
|
|
277
446
|
field: string;
|
|
278
447
|
outcome: string;
|
|
279
448
|
business: string;
|
|
280
449
|
restaurant: string;
|
|
450
|
+
changeDetails: string;
|
|
451
|
+
eventType: string;
|
|
281
452
|
metadata: string;
|
|
282
453
|
reason: string;
|
|
283
454
|
resolvedFrom: string;
|
|
455
|
+
resolvedFromValue: {
|
|
456
|
+
admin: string;
|
|
457
|
+
staff: string;
|
|
458
|
+
permissionSet: string;
|
|
459
|
+
systemPermissionSet: string;
|
|
460
|
+
custom: string;
|
|
461
|
+
noMatch: string;
|
|
462
|
+
unknown: string;
|
|
463
|
+
};
|
|
284
464
|
permissionSet: string;
|
|
285
465
|
permissionTrace: string;
|
|
286
466
|
decisivePermission: string;
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-
|
|
1
|
+
.user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-action-label{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label::-webkit-scrollbar{display:none}.audit-log-operation-label-detail{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail::-webkit-scrollbar{display:none}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore as d } from "pinia";
|
|
2
2
|
import { ref as s, computed as o } from "vue";
|
|
3
|
-
import { t as f } from "./index-
|
|
3
|
+
import { t as f } from "./index-D0zaceK9.js";
|
|
4
4
|
const I = d("team", () => {
|
|
5
5
|
const r = s([]), a = s(!1), m = o(
|
|
6
6
|
() => Object.fromEntries(r.value.map((e) => [e.doc.userId, e.name]))
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-B5H5x-Tu.js";
|
|
2
2
|
import { defineStore as p, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as l } from "vue";
|
|
4
|
-
import { b as c, g as y, s as S } from "./iteration-
|
|
5
|
-
import { i as u, b as g } from "./index-
|
|
4
|
+
import { b as c, g as y, s as S } from "./iteration-AxipbNoR.js";
|
|
5
|
+
import { i as u, b as g } from "./index-D0zaceK9.js";
|
|
6
6
|
const f = {
|
|
7
7
|
async readTimesheets(t, e) {
|
|
8
8
|
return y(await c().get(`timesheet?start=${t}&end=${e}`));
|