@feedmepos/mf-hrm-portal 2.0.9 → 2.0.10-dev.3
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-DaFC8LUT.js +915 -0
- package/dist/{EmployeeList-mFFhxuK1.js → EmployeeList-fzS5kLyE.js} +5 -5
- package/dist/{Main-BG4ecjMn.js → Main-CvuyDkkJ.js} +4 -4
- package/dist/{Main-Cfv-CK-L.js → Main-g0xYhlQL.js} +9 -9
- package/dist/{Main-CozRWujW.js → Main-pViKokej.js} +6 -6
- package/dist/{PermissionSetList-BU35KYlK.js → PermissionSetList-C71zXeNi.js} +5 -5
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dx9qaSOy.js +3479 -0
- package/dist/{RoleList-C1yW-0C7.js → RoleList-CAGV8HIy.js} +7 -7
- package/dist/{TeamMemberList-CQ74C0vS.js → TeamMemberList-BOSxsyhc.js} +8 -8
- package/dist/{TimesheetList-C9q6Ix1M.js → TimesheetList-bEatYw_W.js} +7 -7
- package/dist/{app-DPJLA7RJ.js → app-CXo7sYZ7.js} +858 -610
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CayVNPbR.js → dayjs.min-DDneYlAk.js} +1 -1
- package/dist/{employee-UXVC-M3z.js → employee-CfNSjKLV.js} +4 -4
- package/dist/{index-Dwuf0_l9.js → index-BAlO0GI7.js} +1 -1
- package/dist/{index-2She2r6Y.js → index-CiQs6mxE.js} +2 -2
- package/dist/{iteration-DnHGdIBR.js → iteration-BxC7Vx_7.js} +2 -2
- package/dist/{lodash-DGWGnYWt.js → lodash-Cgp0qhfw.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 +17 -0
- package/dist/src/views/audit-log/constants.d.ts +30 -0
- package/dist/src/views/audit-log/locales/index.d.ts +244 -0
- package/dist/style.css +1 -1
- package/dist/{team-1uv9NUze.js → team-DYjRRZA-.js} +1 -1
- package/dist/{timesheet-BjxBgSXH.js → timesheet-DtpxRbZd.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CpqfheaD.js → useAppStore-4gHWq2VT.js} +1 -1
- package/dist/{useLoading-COIKN-qB.js → useLoading-Ef4IqHD8.js} +1 -1
- package/dist/{useReportPermissions-CdiqM7eD.js → useReportPermissions-C4HbISVo.js} +3 -3
- package/package.json +2 -2
- package/dist/AuditLogList-Cl_jdKsR.js +0 -493
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Z0_HUlDd.js +0 -3479
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-DDneYlAk.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-BxC7Vx_7.js";
|
|
6
|
+
import { t as b, i as S } from "./index-CiQs6mxE.js";
|
|
7
|
+
import { u as x } from "./useAppStore-4gHWq2VT.js";
|
|
8
8
|
const n = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return o(await r().get("/pos-users"));
|
|
@@ -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-CXo7sYZ7.js";
|
|
6
6
|
var Pt = { exports: {} };
|
|
7
7
|
(function(_, h) {
|
|
8
8
|
(function(y, p) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-
|
|
2
|
-
import { u as J, b as R, P as F, p as D, e as S, k as Q } from "./app-
|
|
1
|
+
import { g as b, b as g, d as X, e as j, s as L, q as M } from "./iteration-BxC7Vx_7.js";
|
|
2
|
+
import { u as J, b as R, P as F, p as D, e as S, k as Q } from "./app-CXo7sYZ7.js";
|
|
3
3
|
import { defineStore as x, storeToRefs as k } from "pinia";
|
|
4
4
|
import { ref as h, computed as N } from "vue";
|
|
5
5
|
import { useCoreStore as q } from "@feedmepos/mf-common";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as U } from "./app-
|
|
1
|
+
import { c as U } from "./app-CXo7sYZ7.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) {
|
|
@@ -9456,7 +9456,7 @@ const cc = (e) => (n) => {
|
|
|
9456
9456
|
throw new Error("Invalid business");
|
|
9457
9457
|
}, Bc = () => {
|
|
9458
9458
|
var a;
|
|
9459
|
-
const n = (a = To().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "
|
|
9459
|
+
const n = (a = To().currentCountry.value) == null ? void 0 : a.toLowerCase(), i = "feedmeapidev.com", o = !n || n === "my" ? `https://query-engine.${i}` : `https://query-engine.${n}.${i}`;
|
|
9460
9460
|
return cc(o)("");
|
|
9461
9461
|
}, Nc = () => jr("user/bypass/validate/");
|
|
9462
9462
|
function jc(e) {
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: TabValue) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: TabValue) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
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];
|
|
@@ -2,8 +2,20 @@ import * as enUS from './en-US.json';
|
|
|
2
2
|
export type AppMessagesSchema = typeof enUS;
|
|
3
3
|
export declare const i18nMessages: {
|
|
4
4
|
'en-US': {
|
|
5
|
+
date: {
|
|
6
|
+
predefinedRanges: {
|
|
7
|
+
today: string;
|
|
8
|
+
yesterday: string;
|
|
9
|
+
thisWeek: string;
|
|
10
|
+
lastWeek: string;
|
|
11
|
+
last7Days: string;
|
|
12
|
+
thisMonth: string;
|
|
13
|
+
lastMonth: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
5
16
|
auditLog: {
|
|
6
17
|
title: string;
|
|
18
|
+
export: string;
|
|
7
19
|
dateRange: {
|
|
8
20
|
placeholder: string;
|
|
9
21
|
};
|
|
@@ -26,15 +38,28 @@ export declare const i18nMessages: {
|
|
|
26
38
|
update: string;
|
|
27
39
|
delete: string;
|
|
28
40
|
};
|
|
41
|
+
modules: {
|
|
42
|
+
all: string;
|
|
43
|
+
inventory: string;
|
|
44
|
+
report: string;
|
|
45
|
+
hrm: string;
|
|
46
|
+
payment: string;
|
|
47
|
+
menu: string;
|
|
48
|
+
crm: string;
|
|
49
|
+
more: string;
|
|
50
|
+
};
|
|
29
51
|
columns: {
|
|
30
52
|
timestamp: string;
|
|
31
53
|
user: string;
|
|
54
|
+
role: string;
|
|
32
55
|
subject: string;
|
|
33
56
|
action: string;
|
|
34
57
|
operation: string;
|
|
35
58
|
outcome: string;
|
|
36
59
|
};
|
|
37
60
|
outcome: {
|
|
61
|
+
success: string;
|
|
62
|
+
failed: string;
|
|
38
63
|
allowed: string;
|
|
39
64
|
denied: string;
|
|
40
65
|
skipped: string;
|
|
@@ -48,21 +73,57 @@ export declare const i18nMessages: {
|
|
|
48
73
|
prevPage: string;
|
|
49
74
|
nextPage: string;
|
|
50
75
|
};
|
|
76
|
+
frontMatter: {
|
|
77
|
+
date: string;
|
|
78
|
+
business: string;
|
|
79
|
+
generatedBy: string;
|
|
80
|
+
};
|
|
81
|
+
exportSettings: {
|
|
82
|
+
title: string;
|
|
83
|
+
};
|
|
84
|
+
exportFields: {
|
|
85
|
+
timestamp: string;
|
|
86
|
+
userName: string;
|
|
87
|
+
userPhone: string;
|
|
88
|
+
subject: string;
|
|
89
|
+
action: string;
|
|
90
|
+
operation: string;
|
|
91
|
+
outcome: string;
|
|
92
|
+
businessId: string;
|
|
93
|
+
restaurantId: string;
|
|
94
|
+
country: string;
|
|
95
|
+
resolvedFrom: string;
|
|
96
|
+
requestMethod: string;
|
|
97
|
+
requestPath: string;
|
|
98
|
+
};
|
|
51
99
|
detail: {
|
|
52
100
|
header: string;
|
|
101
|
+
date: string;
|
|
53
102
|
timestamp: string;
|
|
54
103
|
user: string;
|
|
55
104
|
email: string;
|
|
56
105
|
action: string;
|
|
57
106
|
operation: string;
|
|
107
|
+
role: string;
|
|
58
108
|
subject: string;
|
|
59
109
|
field: string;
|
|
60
110
|
outcome: string;
|
|
61
111
|
business: string;
|
|
62
112
|
restaurant: string;
|
|
113
|
+
changeDetails: string;
|
|
114
|
+
eventType: string;
|
|
63
115
|
metadata: string;
|
|
64
116
|
reason: string;
|
|
65
117
|
resolvedFrom: string;
|
|
118
|
+
resolvedFromValue: {
|
|
119
|
+
admin: string;
|
|
120
|
+
staff: string;
|
|
121
|
+
permissionSet: string;
|
|
122
|
+
systemPermissionSet: string;
|
|
123
|
+
custom: string;
|
|
124
|
+
noMatch: string;
|
|
125
|
+
unknown: string;
|
|
126
|
+
};
|
|
66
127
|
permissionSet: string;
|
|
67
128
|
permissionTrace: string;
|
|
68
129
|
decisivePermission: string;
|
|
@@ -74,8 +135,20 @@ export declare const i18nMessages: {
|
|
|
74
135
|
};
|
|
75
136
|
};
|
|
76
137
|
'zh-CN': {
|
|
138
|
+
date: {
|
|
139
|
+
predefinedRanges: {
|
|
140
|
+
today: string;
|
|
141
|
+
yesterday: string;
|
|
142
|
+
thisWeek: string;
|
|
143
|
+
lastWeek: string;
|
|
144
|
+
last7Days: string;
|
|
145
|
+
thisMonth: string;
|
|
146
|
+
lastMonth: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
77
149
|
auditLog: {
|
|
78
150
|
title: string;
|
|
151
|
+
export: string;
|
|
79
152
|
dateRange: {
|
|
80
153
|
placeholder: string;
|
|
81
154
|
};
|
|
@@ -98,15 +171,28 @@ export declare const i18nMessages: {
|
|
|
98
171
|
update: string;
|
|
99
172
|
delete: string;
|
|
100
173
|
};
|
|
174
|
+
modules: {
|
|
175
|
+
all: string;
|
|
176
|
+
inventory: string;
|
|
177
|
+
report: string;
|
|
178
|
+
hrm: string;
|
|
179
|
+
payment: string;
|
|
180
|
+
menu: string;
|
|
181
|
+
crm: string;
|
|
182
|
+
more: string;
|
|
183
|
+
};
|
|
101
184
|
columns: {
|
|
102
185
|
timestamp: string;
|
|
103
186
|
user: string;
|
|
187
|
+
role: string;
|
|
104
188
|
subject: string;
|
|
105
189
|
action: string;
|
|
106
190
|
operation: string;
|
|
107
191
|
outcome: string;
|
|
108
192
|
};
|
|
109
193
|
outcome: {
|
|
194
|
+
success: string;
|
|
195
|
+
failed: string;
|
|
110
196
|
allowed: string;
|
|
111
197
|
denied: string;
|
|
112
198
|
skipped: string;
|
|
@@ -120,21 +206,57 @@ export declare const i18nMessages: {
|
|
|
120
206
|
prevPage: string;
|
|
121
207
|
nextPage: string;
|
|
122
208
|
};
|
|
209
|
+
frontMatter: {
|
|
210
|
+
date: string;
|
|
211
|
+
business: string;
|
|
212
|
+
generatedBy: string;
|
|
213
|
+
};
|
|
214
|
+
exportSettings: {
|
|
215
|
+
title: string;
|
|
216
|
+
};
|
|
217
|
+
exportFields: {
|
|
218
|
+
timestamp: string;
|
|
219
|
+
userName: string;
|
|
220
|
+
userPhone: string;
|
|
221
|
+
subject: string;
|
|
222
|
+
action: string;
|
|
223
|
+
operation: string;
|
|
224
|
+
outcome: string;
|
|
225
|
+
businessId: string;
|
|
226
|
+
restaurantId: string;
|
|
227
|
+
country: string;
|
|
228
|
+
resolvedFrom: string;
|
|
229
|
+
requestMethod: string;
|
|
230
|
+
requestPath: string;
|
|
231
|
+
};
|
|
123
232
|
detail: {
|
|
124
233
|
header: string;
|
|
234
|
+
date: string;
|
|
125
235
|
timestamp: string;
|
|
126
236
|
user: string;
|
|
127
237
|
email: string;
|
|
128
238
|
action: string;
|
|
129
239
|
operation: string;
|
|
240
|
+
role: string;
|
|
130
241
|
subject: string;
|
|
131
242
|
field: string;
|
|
132
243
|
outcome: string;
|
|
133
244
|
business: string;
|
|
134
245
|
restaurant: string;
|
|
246
|
+
changeDetails: string;
|
|
247
|
+
eventType: string;
|
|
135
248
|
metadata: string;
|
|
136
249
|
reason: string;
|
|
137
250
|
resolvedFrom: string;
|
|
251
|
+
resolvedFromValue: {
|
|
252
|
+
admin: string;
|
|
253
|
+
staff: string;
|
|
254
|
+
permissionSet: string;
|
|
255
|
+
systemPermissionSet: string;
|
|
256
|
+
custom: string;
|
|
257
|
+
noMatch: string;
|
|
258
|
+
unknown: string;
|
|
259
|
+
};
|
|
138
260
|
permissionSet: string;
|
|
139
261
|
permissionTrace: string;
|
|
140
262
|
decisivePermission: string;
|
|
@@ -147,8 +269,20 @@ export declare const i18nMessages: {
|
|
|
147
269
|
};
|
|
148
270
|
};
|
|
149
271
|
'th-TH': {
|
|
272
|
+
date: {
|
|
273
|
+
predefinedRanges: {
|
|
274
|
+
today: string;
|
|
275
|
+
yesterday: string;
|
|
276
|
+
thisWeek: string;
|
|
277
|
+
lastWeek: string;
|
|
278
|
+
last7Days: string;
|
|
279
|
+
thisMonth: string;
|
|
280
|
+
lastMonth: string;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
150
283
|
auditLog: {
|
|
151
284
|
title: string;
|
|
285
|
+
export: string;
|
|
152
286
|
dateRange: {
|
|
153
287
|
placeholder: string;
|
|
154
288
|
};
|
|
@@ -171,15 +305,28 @@ export declare const i18nMessages: {
|
|
|
171
305
|
update: string;
|
|
172
306
|
delete: string;
|
|
173
307
|
};
|
|
308
|
+
modules: {
|
|
309
|
+
all: string;
|
|
310
|
+
inventory: string;
|
|
311
|
+
report: string;
|
|
312
|
+
hrm: string;
|
|
313
|
+
payment: string;
|
|
314
|
+
menu: string;
|
|
315
|
+
crm: string;
|
|
316
|
+
more: string;
|
|
317
|
+
};
|
|
174
318
|
columns: {
|
|
175
319
|
timestamp: string;
|
|
176
320
|
user: string;
|
|
321
|
+
role: string;
|
|
177
322
|
subject: string;
|
|
178
323
|
action: string;
|
|
179
324
|
operation: string;
|
|
180
325
|
outcome: string;
|
|
181
326
|
};
|
|
182
327
|
outcome: {
|
|
328
|
+
success: string;
|
|
329
|
+
failed: string;
|
|
183
330
|
allowed: string;
|
|
184
331
|
denied: string;
|
|
185
332
|
skipped: string;
|
|
@@ -193,21 +340,57 @@ export declare const i18nMessages: {
|
|
|
193
340
|
prevPage: string;
|
|
194
341
|
nextPage: string;
|
|
195
342
|
};
|
|
343
|
+
frontMatter: {
|
|
344
|
+
date: string;
|
|
345
|
+
business: string;
|
|
346
|
+
generatedBy: string;
|
|
347
|
+
};
|
|
348
|
+
exportSettings: {
|
|
349
|
+
title: string;
|
|
350
|
+
};
|
|
351
|
+
exportFields: {
|
|
352
|
+
timestamp: string;
|
|
353
|
+
userName: string;
|
|
354
|
+
userPhone: string;
|
|
355
|
+
subject: string;
|
|
356
|
+
action: string;
|
|
357
|
+
operation: string;
|
|
358
|
+
outcome: string;
|
|
359
|
+
businessId: string;
|
|
360
|
+
restaurantId: string;
|
|
361
|
+
country: string;
|
|
362
|
+
resolvedFrom: string;
|
|
363
|
+
requestMethod: string;
|
|
364
|
+
requestPath: string;
|
|
365
|
+
};
|
|
196
366
|
detail: {
|
|
197
367
|
header: string;
|
|
368
|
+
date: string;
|
|
198
369
|
timestamp: string;
|
|
199
370
|
user: string;
|
|
200
371
|
email: string;
|
|
201
372
|
action: string;
|
|
202
373
|
operation: string;
|
|
374
|
+
role: string;
|
|
203
375
|
subject: string;
|
|
204
376
|
field: string;
|
|
205
377
|
outcome: string;
|
|
206
378
|
business: string;
|
|
207
379
|
restaurant: string;
|
|
380
|
+
changeDetails: string;
|
|
381
|
+
eventType: string;
|
|
208
382
|
metadata: string;
|
|
209
383
|
reason: string;
|
|
210
384
|
resolvedFrom: string;
|
|
385
|
+
resolvedFromValue: {
|
|
386
|
+
admin: string;
|
|
387
|
+
staff: string;
|
|
388
|
+
permissionSet: string;
|
|
389
|
+
systemPermissionSet: string;
|
|
390
|
+
custom: string;
|
|
391
|
+
noMatch: string;
|
|
392
|
+
unknown: string;
|
|
393
|
+
};
|
|
211
394
|
permissionSet: string;
|
|
212
395
|
permissionTrace: string;
|
|
213
396
|
decisivePermission: string;
|
|
@@ -220,8 +403,20 @@ export declare const i18nMessages: {
|
|
|
220
403
|
};
|
|
221
404
|
};
|
|
222
405
|
'zh-Hant': {
|
|
406
|
+
date: {
|
|
407
|
+
predefinedRanges: {
|
|
408
|
+
today: string;
|
|
409
|
+
yesterday: string;
|
|
410
|
+
thisWeek: string;
|
|
411
|
+
lastWeek: string;
|
|
412
|
+
last7Days: string;
|
|
413
|
+
thisMonth: string;
|
|
414
|
+
lastMonth: string;
|
|
415
|
+
};
|
|
416
|
+
};
|
|
223
417
|
auditLog: {
|
|
224
418
|
title: string;
|
|
419
|
+
export: string;
|
|
225
420
|
dateRange: {
|
|
226
421
|
placeholder: string;
|
|
227
422
|
};
|
|
@@ -244,15 +439,28 @@ export declare const i18nMessages: {
|
|
|
244
439
|
update: string;
|
|
245
440
|
delete: string;
|
|
246
441
|
};
|
|
442
|
+
modules: {
|
|
443
|
+
all: string;
|
|
444
|
+
inventory: string;
|
|
445
|
+
report: string;
|
|
446
|
+
hrm: string;
|
|
447
|
+
payment: string;
|
|
448
|
+
menu: string;
|
|
449
|
+
crm: string;
|
|
450
|
+
more: string;
|
|
451
|
+
};
|
|
247
452
|
columns: {
|
|
248
453
|
timestamp: string;
|
|
249
454
|
user: string;
|
|
455
|
+
role: string;
|
|
250
456
|
subject: string;
|
|
251
457
|
action: string;
|
|
252
458
|
operation: string;
|
|
253
459
|
outcome: string;
|
|
254
460
|
};
|
|
255
461
|
outcome: {
|
|
462
|
+
success: string;
|
|
463
|
+
failed: string;
|
|
256
464
|
allowed: string;
|
|
257
465
|
denied: string;
|
|
258
466
|
skipped: string;
|
|
@@ -266,21 +474,57 @@ export declare const i18nMessages: {
|
|
|
266
474
|
prevPage: string;
|
|
267
475
|
nextPage: string;
|
|
268
476
|
};
|
|
477
|
+
frontMatter: {
|
|
478
|
+
date: string;
|
|
479
|
+
business: string;
|
|
480
|
+
generatedBy: string;
|
|
481
|
+
};
|
|
482
|
+
exportSettings: {
|
|
483
|
+
title: string;
|
|
484
|
+
};
|
|
485
|
+
exportFields: {
|
|
486
|
+
timestamp: string;
|
|
487
|
+
userName: string;
|
|
488
|
+
userPhone: string;
|
|
489
|
+
subject: string;
|
|
490
|
+
action: string;
|
|
491
|
+
operation: string;
|
|
492
|
+
outcome: string;
|
|
493
|
+
businessId: string;
|
|
494
|
+
restaurantId: string;
|
|
495
|
+
country: string;
|
|
496
|
+
resolvedFrom: string;
|
|
497
|
+
requestMethod: string;
|
|
498
|
+
requestPath: string;
|
|
499
|
+
};
|
|
269
500
|
detail: {
|
|
270
501
|
header: string;
|
|
502
|
+
date: string;
|
|
271
503
|
timestamp: string;
|
|
272
504
|
user: string;
|
|
273
505
|
email: string;
|
|
274
506
|
action: string;
|
|
275
507
|
operation: string;
|
|
508
|
+
role: string;
|
|
276
509
|
subject: string;
|
|
277
510
|
field: string;
|
|
278
511
|
outcome: string;
|
|
279
512
|
business: string;
|
|
280
513
|
restaurant: string;
|
|
514
|
+
changeDetails: string;
|
|
515
|
+
eventType: string;
|
|
281
516
|
metadata: string;
|
|
282
517
|
reason: string;
|
|
283
518
|
resolvedFrom: string;
|
|
519
|
+
resolvedFromValue: {
|
|
520
|
+
admin: string;
|
|
521
|
+
staff: string;
|
|
522
|
+
permissionSet: string;
|
|
523
|
+
systemPermissionSet: string;
|
|
524
|
+
custom: string;
|
|
525
|
+
noMatch: string;
|
|
526
|
+
unknown: string;
|
|
527
|
+
};
|
|
284
528
|
permissionSet: string;
|
|
285
529
|
permissionTrace: string;
|
|
286
530
|
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-CiQs6mxE.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-DDneYlAk.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-BxC7Vx_7.js";
|
|
5
|
+
import { i as u, b as g } from "./index-CiQs6mxE.js";
|
|
6
6
|
const f = {
|
|
7
7
|
async readTimesheets(t, e) {
|
|
8
8
|
return y(await c().get(`timesheet?start=${t}&end=${e}`));
|