@feedmepos/mf-hrm-portal 2.3.2-dev.7 → 2.3.2-dev.9
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-Bw0E-hZl.js → ApprovalCodeList-gb0bre9J.js} +7 -7
- package/dist/{AuditLogList-CA-_t77n.js → AuditLogList-9cwS6bL7.js} +795 -719
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-LtjNCAFN.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DR-c15gr.js} +2 -2
- package/dist/{EmployeeList-D_bX0EhQ.js → EmployeeList-DjyoW1we.js} +8 -8
- package/dist/{FormSection.vue_vue_type_script_setup_true_lang-CyZxQa-b.js → FormSection.vue_vue_type_script_setup_true_lang-BBWlADve.js} +1 -1
- package/dist/{GrantUserList-Cg7ITk_M.js → GrantUserList-yU2NqFVO.js} +8 -8
- package/dist/{Main-Bl-Ocx1G.js → Main-4KwMqF3h.js} +5 -5
- package/dist/{Main-BaB4vgI5.js → Main-BS_Lk_eB.js} +1005 -999
- package/dist/{Main-D5wi42fp.js → Main-BuG7SPnC.js} +10 -10
- package/dist/MyPosProfile-CuDzRaRS.js +360 -0
- package/dist/{PermissionSetList-kgG9H3DX.js → PermissionSetList-D7SS1iAr.js} +30 -29
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-y1YcZpGA.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-u1UlV2Aw.js} +902 -901
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fQyCtDXM.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-CYkv2x_y.js} +1 -1
- package/dist/{RoleForm.vue_vue_type_script_setup_true_lang-3Q8udk43.js → RoleForm.vue_vue_type_script_setup_true_lang-hiMgwiya.js} +9 -9
- package/dist/{RoleList-Cmz97HHP.js → RoleList-B3P-LQYV.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CggEy3OI.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang--dsZOhnv.js} +1 -1
- package/dist/{ScheduleGeneralPage-B39k3SQH.js → ScheduleGeneralPage-Pq6ufiDu.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-C5j3D4eF.js → ScheduleModal.vue_vue_type_script_setup_true_lang-DKFJLsTW.js} +4 -4
- package/dist/{SchedulePage-AVmRkFi1.js → SchedulePage-8EAOfiJx.js} +189 -201
- package/dist/{SchedulePositionPage-3rE-O8CG.js → SchedulePositionPage-CGXeUnju.js} +3 -3
- package/dist/{SelectFilter-R7ry_GEg.js → SelectFilter-C-UEVLla.js} +1 -1
- package/dist/{TeamMemberList-CvDnIILn.js → TeamMemberList-Bd1O44Ur.js} +102 -101
- package/dist/TimesheetList-CSCmigCM.js +437 -0
- package/dist/{app-DKUCzcrc.js → app-BohKQtlz.js} +82 -14
- package/dist/app.js +1 -1
- package/dist/{approval-code-nsETgIry.js → approval-code-Bfvxsg8h.js} +4 -4
- package/dist/{dayjs.min-CtULWW1N.js → dayjs.min-C0MqTPg1.js} +1 -1
- package/dist/employee-DWxT78W2.js +172 -0
- package/dist/{grant-user-Dpa_Rl6j.js → grant-user-LZ3b6siI.js} +2 -2
- package/dist/{iteration-DpHBtiyr.js → index-DDDG-LHm.js} +698 -726
- package/dist/iteration-CcXrOMQe.js +30 -0
- package/dist/{lodash-YaHCUo_F.js → lodash-BRqMda7F.js} +1 -1
- package/dist/{member-grant-CEokFI3_.js → member-grant-a3AGCWfT.js} +2 -2
- package/dist/{restaurant-CDFKqEFm.js → restaurant-pL7vHt-H.js} +2 -2
- package/dist/{role-DyBVVlEA.js → role--EKCVqho.js} +8 -7
- package/dist/{rule-xErZqYmH.js → rule-Db3gFVHx.js} +83 -82
- package/dist/src/api/audit-log/index.d.ts +2 -0
- package/dist/src/api/employee/index.d.ts +1 -2
- package/dist/src/stores/approval-code.d.ts +1 -1
- package/dist/src/stores/employee.d.ts +3 -9
- package/dist/src/stores/grant-user.d.ts +1 -1
- package/dist/src/stores/permission-assignment.d.ts +2 -2
- package/dist/src/stores/permission-set.d.ts +2 -2
- package/dist/src/stores/restaurant.d.ts +2 -2
- package/dist/src/stores/role.d.ts +2 -2
- package/dist/src/stores/team.d.ts +1 -1
- package/dist/src/stores/timesheet.d.ts +62 -47
- package/dist/src/types/timesheet.d.ts +3 -0
- package/dist/src/views/audit-log/locales/index.d.ts +28 -0
- package/dist/src/views/audit-log/useTraceIdDeepLink.d.ts +19 -0
- package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +1 -1
- package/dist/src/views/my-pos-profile/locales/index.d.ts +40 -0
- package/dist/style.css +1 -1
- package/dist/timesheet-NYW1P4rf.js +76 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BqsvPsPB.js → useAppStore-DV13z6oc.js} +1 -1
- package/dist/{useLoading-BS1bnZg1.js → useLoading-Fcnnfywt.js} +1 -1
- package/dist/useMessage-_ywT_N9X.js +17 -0
- package/dist/{useReportPermissions-DJEhkyGc.js → useReportPermissions-BcyVoKVq.js} +13 -13
- package/package.json +3 -3
- package/dist/MyPosProfile-CUG_201f.js +0 -290
- package/dist/TimesheetList-DYoglTi8.js +0 -401
- package/dist/TimesheetList.vue_vue_type_style_index_0_scoped_d0c6fd51_lang-DBpzyQ17.js +0 -63
- package/dist/employee-DlsSqR3i.js +0 -210
|
@@ -122,7 +122,7 @@ export declare const useRoleStore: () => {
|
|
|
122
122
|
}, "isLoading" | "roles">>, options?: {
|
|
123
123
|
detached?: boolean;
|
|
124
124
|
} & import("vue").WatchOptions): () => void;
|
|
125
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"role", Pick<{
|
|
125
|
+
$onAction(callback: import("pinia").StoreOnActionListener<"hrm-role", Pick<{
|
|
126
126
|
roles: import("vue").Ref<{
|
|
127
127
|
restaurants: {
|
|
128
128
|
id: string;
|
|
@@ -205,7 +205,7 @@ export declare const useRoleStore: () => {
|
|
|
205
205
|
deleteRole: (role: Role) => Promise<void>;
|
|
206
206
|
}, "readRoles" | "createRole" | "updateRole" | "deleteRole">>, detached?: boolean): () => void;
|
|
207
207
|
$dispose(): void;
|
|
208
|
-
$id: "role";
|
|
208
|
+
$id: "hrm-role";
|
|
209
209
|
_customProperties: Set<string>;
|
|
210
210
|
readRoles: (force?: boolean) => Promise<void>;
|
|
211
211
|
createRole: (dto: IFdtoUpdateRoleReq) => Promise<void>;
|
|
@@ -5,13 +5,14 @@ export declare const useTimesheetStore: () => {
|
|
|
5
5
|
end: string;
|
|
6
6
|
totalMin: number;
|
|
7
7
|
duration: string;
|
|
8
|
-
restaurantId: string;
|
|
9
|
-
restaurantName: string;
|
|
10
|
-
endedAt?: string | null | undefined | undefined;
|
|
11
8
|
user: {
|
|
12
9
|
name: string;
|
|
13
10
|
id: string;
|
|
11
|
+
code?: string | undefined;
|
|
14
12
|
};
|
|
13
|
+
restaurantId: string;
|
|
14
|
+
restaurantName: string;
|
|
15
|
+
endedAt?: string | null | undefined | undefined;
|
|
15
16
|
_id: string;
|
|
16
17
|
startedAt: string;
|
|
17
18
|
}[], Timesheet[] | {
|
|
@@ -19,13 +20,14 @@ export declare const useTimesheetStore: () => {
|
|
|
19
20
|
end: string;
|
|
20
21
|
totalMin: number;
|
|
21
22
|
duration: string;
|
|
22
|
-
restaurantId: string;
|
|
23
|
-
restaurantName: string;
|
|
24
|
-
endedAt?: string | null | undefined | undefined;
|
|
25
23
|
user: {
|
|
26
24
|
name: string;
|
|
27
25
|
id: string;
|
|
26
|
+
code?: string | undefined;
|
|
28
27
|
};
|
|
28
|
+
restaurantId: string;
|
|
29
|
+
restaurantName: string;
|
|
30
|
+
endedAt?: string | null | undefined | undefined;
|
|
29
31
|
_id: string;
|
|
30
32
|
startedAt: string;
|
|
31
33
|
}[]>;
|
|
@@ -35,13 +37,14 @@ export declare const useTimesheetStore: () => {
|
|
|
35
37
|
end: string;
|
|
36
38
|
totalMin: number;
|
|
37
39
|
duration: string;
|
|
38
|
-
restaurantId: string;
|
|
39
|
-
restaurantName: string;
|
|
40
|
-
endedAt?: string | null | undefined | undefined;
|
|
41
40
|
user: {
|
|
42
41
|
name: string;
|
|
43
42
|
id: string;
|
|
43
|
+
code?: string | undefined;
|
|
44
44
|
};
|
|
45
|
+
restaurantId: string;
|
|
46
|
+
restaurantName: string;
|
|
47
|
+
endedAt?: string | null | undefined | undefined;
|
|
45
48
|
_id: string;
|
|
46
49
|
startedAt: string;
|
|
47
50
|
}[];
|
|
@@ -51,13 +54,14 @@ export declare const useTimesheetStore: () => {
|
|
|
51
54
|
end: string;
|
|
52
55
|
totalMin: number;
|
|
53
56
|
duration: string;
|
|
54
|
-
restaurantId: string;
|
|
55
|
-
restaurantName: string;
|
|
56
|
-
endedAt?: string | null | undefined | undefined;
|
|
57
57
|
user: {
|
|
58
58
|
name: string;
|
|
59
59
|
id: string;
|
|
60
|
+
code?: string | undefined;
|
|
60
61
|
};
|
|
62
|
+
restaurantId: string;
|
|
63
|
+
restaurantName: string;
|
|
64
|
+
endedAt?: string | null | undefined | undefined;
|
|
61
65
|
_id: string;
|
|
62
66
|
startedAt: string;
|
|
63
67
|
}[], Timesheet[] | {
|
|
@@ -65,13 +69,14 @@ export declare const useTimesheetStore: () => {
|
|
|
65
69
|
end: string;
|
|
66
70
|
totalMin: number;
|
|
67
71
|
duration: string;
|
|
68
|
-
restaurantId: string;
|
|
69
|
-
restaurantName: string;
|
|
70
|
-
endedAt?: string | null | undefined | undefined;
|
|
71
72
|
user: {
|
|
72
73
|
name: string;
|
|
73
74
|
id: string;
|
|
75
|
+
code?: string | undefined;
|
|
74
76
|
};
|
|
77
|
+
restaurantId: string;
|
|
78
|
+
restaurantName: string;
|
|
79
|
+
endedAt?: string | null | undefined | undefined;
|
|
75
80
|
_id: string;
|
|
76
81
|
startedAt: string;
|
|
77
82
|
}[]>;
|
|
@@ -84,13 +89,14 @@ export declare const useTimesheetStore: () => {
|
|
|
84
89
|
end: string;
|
|
85
90
|
totalMin: number;
|
|
86
91
|
duration: string;
|
|
87
|
-
restaurantId: string;
|
|
88
|
-
restaurantName: string;
|
|
89
|
-
endedAt?: string | null | undefined | undefined;
|
|
90
92
|
user: {
|
|
91
93
|
name: string;
|
|
92
94
|
id: string;
|
|
95
|
+
code?: string | undefined;
|
|
93
96
|
};
|
|
97
|
+
restaurantId: string;
|
|
98
|
+
restaurantName: string;
|
|
99
|
+
endedAt?: string | null | undefined | undefined;
|
|
94
100
|
_id: string;
|
|
95
101
|
startedAt: string;
|
|
96
102
|
}[];
|
|
@@ -101,13 +107,14 @@ export declare const useTimesheetStore: () => {
|
|
|
101
107
|
end: string;
|
|
102
108
|
totalMin: number;
|
|
103
109
|
duration: string;
|
|
104
|
-
restaurantId: string;
|
|
105
|
-
restaurantName: string;
|
|
106
|
-
endedAt?: string | null | undefined | undefined;
|
|
107
110
|
user: {
|
|
108
111
|
name: string;
|
|
109
112
|
id: string;
|
|
113
|
+
code?: string | undefined;
|
|
110
114
|
};
|
|
115
|
+
restaurantId: string;
|
|
116
|
+
restaurantName: string;
|
|
117
|
+
endedAt?: string | null | undefined | undefined;
|
|
111
118
|
_id: string;
|
|
112
119
|
startedAt: string;
|
|
113
120
|
}[];
|
|
@@ -119,13 +126,14 @@ export declare const useTimesheetStore: () => {
|
|
|
119
126
|
end: string;
|
|
120
127
|
totalMin: number;
|
|
121
128
|
duration: string;
|
|
122
|
-
restaurantId: string;
|
|
123
|
-
restaurantName: string;
|
|
124
|
-
endedAt?: string | null | undefined | undefined;
|
|
125
129
|
user: {
|
|
126
130
|
name: string;
|
|
127
131
|
id: string;
|
|
132
|
+
code?: string | undefined;
|
|
128
133
|
};
|
|
134
|
+
restaurantId: string;
|
|
135
|
+
restaurantName: string;
|
|
136
|
+
endedAt?: string | null | undefined | undefined;
|
|
129
137
|
_id: string;
|
|
130
138
|
startedAt: string;
|
|
131
139
|
}[], Timesheet[] | {
|
|
@@ -133,13 +141,14 @@ export declare const useTimesheetStore: () => {
|
|
|
133
141
|
end: string;
|
|
134
142
|
totalMin: number;
|
|
135
143
|
duration: string;
|
|
136
|
-
restaurantId: string;
|
|
137
|
-
restaurantName: string;
|
|
138
|
-
endedAt?: string | null | undefined | undefined;
|
|
139
144
|
user: {
|
|
140
145
|
name: string;
|
|
141
146
|
id: string;
|
|
147
|
+
code?: string | undefined;
|
|
142
148
|
};
|
|
149
|
+
restaurantId: string;
|
|
150
|
+
restaurantName: string;
|
|
151
|
+
endedAt?: string | null | undefined | undefined;
|
|
143
152
|
_id: string;
|
|
144
153
|
startedAt: string;
|
|
145
154
|
}[]>;
|
|
@@ -148,19 +157,20 @@ export declare const useTimesheetStore: () => {
|
|
|
148
157
|
}, "timesheets">>, options?: {
|
|
149
158
|
detached?: boolean;
|
|
150
159
|
} & import("vue").WatchOptions): () => void;
|
|
151
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"timesheet", Pick<{
|
|
160
|
+
$onAction(callback: import("pinia").StoreOnActionListener<"hrm-timesheet", Pick<{
|
|
152
161
|
timesheets: import("vue").Ref<{
|
|
153
162
|
start: string;
|
|
154
163
|
end: string;
|
|
155
164
|
totalMin: number;
|
|
156
165
|
duration: string;
|
|
157
|
-
restaurantId: string;
|
|
158
|
-
restaurantName: string;
|
|
159
|
-
endedAt?: string | null | undefined | undefined;
|
|
160
166
|
user: {
|
|
161
167
|
name: string;
|
|
162
168
|
id: string;
|
|
169
|
+
code?: string | undefined;
|
|
163
170
|
};
|
|
171
|
+
restaurantId: string;
|
|
172
|
+
restaurantName: string;
|
|
173
|
+
endedAt?: string | null | undefined | undefined;
|
|
164
174
|
_id: string;
|
|
165
175
|
startedAt: string;
|
|
166
176
|
}[], Timesheet[] | {
|
|
@@ -168,13 +178,14 @@ export declare const useTimesheetStore: () => {
|
|
|
168
178
|
end: string;
|
|
169
179
|
totalMin: number;
|
|
170
180
|
duration: string;
|
|
171
|
-
restaurantId: string;
|
|
172
|
-
restaurantName: string;
|
|
173
|
-
endedAt?: string | null | undefined | undefined;
|
|
174
181
|
user: {
|
|
175
182
|
name: string;
|
|
176
183
|
id: string;
|
|
184
|
+
code?: string | undefined;
|
|
177
185
|
};
|
|
186
|
+
restaurantId: string;
|
|
187
|
+
restaurantName: string;
|
|
188
|
+
endedAt?: string | null | undefined | undefined;
|
|
178
189
|
_id: string;
|
|
179
190
|
startedAt: string;
|
|
180
191
|
}[]>;
|
|
@@ -186,13 +197,14 @@ export declare const useTimesheetStore: () => {
|
|
|
186
197
|
end: string;
|
|
187
198
|
totalMin: number;
|
|
188
199
|
duration: string;
|
|
189
|
-
restaurantId: string;
|
|
190
|
-
restaurantName: string;
|
|
191
|
-
endedAt?: string | null | undefined | undefined;
|
|
192
200
|
user: {
|
|
193
201
|
name: string;
|
|
194
202
|
id: string;
|
|
203
|
+
code?: string | undefined;
|
|
195
204
|
};
|
|
205
|
+
restaurantId: string;
|
|
206
|
+
restaurantName: string;
|
|
207
|
+
endedAt?: string | null | undefined | undefined;
|
|
196
208
|
_id: string;
|
|
197
209
|
startedAt: string;
|
|
198
210
|
}[], Timesheet[] | {
|
|
@@ -200,13 +212,14 @@ export declare const useTimesheetStore: () => {
|
|
|
200
212
|
end: string;
|
|
201
213
|
totalMin: number;
|
|
202
214
|
duration: string;
|
|
203
|
-
restaurantId: string;
|
|
204
|
-
restaurantName: string;
|
|
205
|
-
endedAt?: string | null | undefined | undefined;
|
|
206
215
|
user: {
|
|
207
216
|
name: string;
|
|
208
217
|
id: string;
|
|
218
|
+
code?: string | undefined;
|
|
209
219
|
};
|
|
220
|
+
restaurantId: string;
|
|
221
|
+
restaurantName: string;
|
|
222
|
+
endedAt?: string | null | undefined | undefined;
|
|
210
223
|
_id: string;
|
|
211
224
|
startedAt: string;
|
|
212
225
|
}[]>;
|
|
@@ -218,13 +231,14 @@ export declare const useTimesheetStore: () => {
|
|
|
218
231
|
end: string;
|
|
219
232
|
totalMin: number;
|
|
220
233
|
duration: string;
|
|
221
|
-
restaurantId: string;
|
|
222
|
-
restaurantName: string;
|
|
223
|
-
endedAt?: string | null | undefined | undefined;
|
|
224
234
|
user: {
|
|
225
235
|
name: string;
|
|
226
236
|
id: string;
|
|
237
|
+
code?: string | undefined;
|
|
227
238
|
};
|
|
239
|
+
restaurantId: string;
|
|
240
|
+
restaurantName: string;
|
|
241
|
+
endedAt?: string | null | undefined | undefined;
|
|
228
242
|
_id: string;
|
|
229
243
|
startedAt: string;
|
|
230
244
|
}[], Timesheet[] | {
|
|
@@ -232,13 +246,14 @@ export declare const useTimesheetStore: () => {
|
|
|
232
246
|
end: string;
|
|
233
247
|
totalMin: number;
|
|
234
248
|
duration: string;
|
|
235
|
-
restaurantId: string;
|
|
236
|
-
restaurantName: string;
|
|
237
|
-
endedAt?: string | null | undefined | undefined;
|
|
238
249
|
user: {
|
|
239
250
|
name: string;
|
|
240
251
|
id: string;
|
|
252
|
+
code?: string | undefined;
|
|
241
253
|
};
|
|
254
|
+
restaurantId: string;
|
|
255
|
+
restaurantName: string;
|
|
256
|
+
endedAt?: string | null | undefined | undefined;
|
|
242
257
|
_id: string;
|
|
243
258
|
startedAt: string;
|
|
244
259
|
}[]>;
|
|
@@ -246,7 +261,7 @@ export declare const useTimesheetStore: () => {
|
|
|
246
261
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
247
262
|
}, "readTimesheet" | "updateTimesheet">>, detached?: boolean): () => void;
|
|
248
263
|
$dispose(): void;
|
|
249
|
-
$id: "timesheet";
|
|
264
|
+
$id: "hrm-timesheet";
|
|
250
265
|
_customProperties: Set<string>;
|
|
251
266
|
readTimesheet: (start: Date, end: Date, restaurantIds?: string[]) => Promise<void>;
|
|
252
267
|
updateTimesheet: (timesheet: IFdtoTimesheet, start: string, end: string) => Promise<void>;
|
|
@@ -130,7 +130,14 @@ export declare const i18nMessages: {
|
|
|
130
130
|
requestPath: string;
|
|
131
131
|
traceId: string;
|
|
132
132
|
};
|
|
133
|
+
deepLink: {
|
|
134
|
+
notFound: string;
|
|
135
|
+
loadFailed: string;
|
|
136
|
+
};
|
|
133
137
|
detail: {
|
|
138
|
+
copyLink: string;
|
|
139
|
+
linkCopied: string;
|
|
140
|
+
linkCopyFailed: string;
|
|
134
141
|
header: string;
|
|
135
142
|
date: string;
|
|
136
143
|
timestamp: string;
|
|
@@ -480,7 +487,14 @@ export declare const i18nMessages: {
|
|
|
480
487
|
requestPath: string;
|
|
481
488
|
traceId: string;
|
|
482
489
|
};
|
|
490
|
+
deepLink: {
|
|
491
|
+
notFound: string;
|
|
492
|
+
loadFailed: string;
|
|
493
|
+
};
|
|
483
494
|
detail: {
|
|
495
|
+
copyLink: string;
|
|
496
|
+
linkCopied: string;
|
|
497
|
+
linkCopyFailed: string;
|
|
484
498
|
header: string;
|
|
485
499
|
date: string;
|
|
486
500
|
timestamp: string;
|
|
@@ -831,7 +845,14 @@ export declare const i18nMessages: {
|
|
|
831
845
|
requestPath: string;
|
|
832
846
|
traceId: string;
|
|
833
847
|
};
|
|
848
|
+
deepLink: {
|
|
849
|
+
notFound: string;
|
|
850
|
+
loadFailed: string;
|
|
851
|
+
};
|
|
834
852
|
detail: {
|
|
853
|
+
copyLink: string;
|
|
854
|
+
linkCopied: string;
|
|
855
|
+
linkCopyFailed: string;
|
|
835
856
|
header: string;
|
|
836
857
|
date: string;
|
|
837
858
|
timestamp: string;
|
|
@@ -1182,7 +1203,14 @@ export declare const i18nMessages: {
|
|
|
1182
1203
|
requestPath: string;
|
|
1183
1204
|
traceId: string;
|
|
1184
1205
|
};
|
|
1206
|
+
deepLink: {
|
|
1207
|
+
notFound: string;
|
|
1208
|
+
loadFailed: string;
|
|
1209
|
+
};
|
|
1185
1210
|
detail: {
|
|
1211
|
+
copyLink: string;
|
|
1212
|
+
linkCopied: string;
|
|
1213
|
+
linkCopyFailed: string;
|
|
1186
1214
|
header: string;
|
|
1187
1215
|
date: string;
|
|
1188
1216
|
timestamp: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { AuditLogEntry } from '@/types/audit-log';
|
|
3
|
+
interface Options {
|
|
4
|
+
logs: Ref<AuditLogEntry[]>;
|
|
5
|
+
selectedLog: Ref<AuditLogEntry | null>;
|
|
6
|
+
isSheetOpen: Ref<boolean>;
|
|
7
|
+
/** Current business id; the lookup waits until this is available. */
|
|
8
|
+
businessId: () => string | undefined;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Keeps the open request-log side sheet in sync with `?traceId=` in the URL, so a log can
|
|
12
|
+
* be shared as a link (and survives reload / back / forward).
|
|
13
|
+
*/
|
|
14
|
+
export declare function useTraceIdDeepLink({ logs, selectedLog, isSheetOpen, businessId }: Options): {
|
|
15
|
+
onSheetOpened: (row: AuditLogEntry) => void;
|
|
16
|
+
onSheetClosed: () => void;
|
|
17
|
+
copyLink: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
open: (code: string) => void;
|
|
2
|
+
open: (code: string, as?: "changed" | "generated") => void;
|
|
3
3
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
4
|
export default _default;
|
|
@@ -20,6 +20,9 @@ export declare const i18nMessages: {
|
|
|
20
20
|
show: string;
|
|
21
21
|
hide: string;
|
|
22
22
|
change: string;
|
|
23
|
+
empty: string;
|
|
24
|
+
emptyHint: string;
|
|
25
|
+
generate: string;
|
|
23
26
|
};
|
|
24
27
|
change: {
|
|
25
28
|
title: string;
|
|
@@ -29,11 +32,18 @@ export declare const i18nMessages: {
|
|
|
29
32
|
inProgress: string;
|
|
30
33
|
incomplete: string;
|
|
31
34
|
};
|
|
35
|
+
generate: {
|
|
36
|
+
failed: string;
|
|
37
|
+
};
|
|
32
38
|
changed: {
|
|
33
39
|
title: string;
|
|
34
40
|
message: string;
|
|
35
41
|
done: string;
|
|
36
42
|
};
|
|
43
|
+
generated: {
|
|
44
|
+
title: string;
|
|
45
|
+
message: string;
|
|
46
|
+
};
|
|
37
47
|
manageAccount: {
|
|
38
48
|
message: string;
|
|
39
49
|
link: string;
|
|
@@ -68,6 +78,9 @@ export declare const i18nMessages: {
|
|
|
68
78
|
show: string;
|
|
69
79
|
hide: string;
|
|
70
80
|
change: string;
|
|
81
|
+
empty: string;
|
|
82
|
+
emptyHint: string;
|
|
83
|
+
generate: string;
|
|
71
84
|
};
|
|
72
85
|
change: {
|
|
73
86
|
title: string;
|
|
@@ -77,11 +90,18 @@ export declare const i18nMessages: {
|
|
|
77
90
|
inProgress: string;
|
|
78
91
|
incomplete: string;
|
|
79
92
|
};
|
|
93
|
+
generate: {
|
|
94
|
+
failed: string;
|
|
95
|
+
};
|
|
80
96
|
changed: {
|
|
81
97
|
title: string;
|
|
82
98
|
message: string;
|
|
83
99
|
done: string;
|
|
84
100
|
};
|
|
101
|
+
generated: {
|
|
102
|
+
title: string;
|
|
103
|
+
message: string;
|
|
104
|
+
};
|
|
85
105
|
manageAccount: {
|
|
86
106
|
message: string;
|
|
87
107
|
link: string;
|
|
@@ -116,6 +136,9 @@ export declare const i18nMessages: {
|
|
|
116
136
|
show: string;
|
|
117
137
|
hide: string;
|
|
118
138
|
change: string;
|
|
139
|
+
empty: string;
|
|
140
|
+
emptyHint: string;
|
|
141
|
+
generate: string;
|
|
119
142
|
};
|
|
120
143
|
change: {
|
|
121
144
|
title: string;
|
|
@@ -125,11 +148,18 @@ export declare const i18nMessages: {
|
|
|
125
148
|
inProgress: string;
|
|
126
149
|
incomplete: string;
|
|
127
150
|
};
|
|
151
|
+
generate: {
|
|
152
|
+
failed: string;
|
|
153
|
+
};
|
|
128
154
|
changed: {
|
|
129
155
|
title: string;
|
|
130
156
|
message: string;
|
|
131
157
|
done: string;
|
|
132
158
|
};
|
|
159
|
+
generated: {
|
|
160
|
+
title: string;
|
|
161
|
+
message: string;
|
|
162
|
+
};
|
|
133
163
|
manageAccount: {
|
|
134
164
|
message: string;
|
|
135
165
|
link: string;
|
|
@@ -164,6 +194,9 @@ export declare const i18nMessages: {
|
|
|
164
194
|
show: string;
|
|
165
195
|
hide: string;
|
|
166
196
|
change: string;
|
|
197
|
+
empty: string;
|
|
198
|
+
emptyHint: string;
|
|
199
|
+
generate: string;
|
|
167
200
|
};
|
|
168
201
|
change: {
|
|
169
202
|
title: string;
|
|
@@ -173,11 +206,18 @@ export declare const i18nMessages: {
|
|
|
173
206
|
inProgress: string;
|
|
174
207
|
incomplete: string;
|
|
175
208
|
};
|
|
209
|
+
generate: {
|
|
210
|
+
failed: string;
|
|
211
|
+
};
|
|
176
212
|
changed: {
|
|
177
213
|
title: string;
|
|
178
214
|
message: string;
|
|
179
215
|
done: string;
|
|
180
216
|
};
|
|
217
|
+
generated: {
|
|
218
|
+
title: string;
|
|
219
|
+
message: string;
|
|
220
|
+
};
|
|
181
221
|
manageAccount: {
|
|
182
222
|
message: string;
|
|
183
223
|
link: string;
|