@feedmepos/mf-hrm-portal 2.3.0-dev.4 → 2.3.0-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-Pbk3MAP_.js → ApprovalCodeList-Cf1l-ult.js} +2 -2
- package/dist/AuditLogList-D1sMrERs.js +1951 -0
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DPbHx_I8.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BdbfGDI_.js} +2 -2
- package/dist/{EmployeeList-0KpegAhT.js → EmployeeList-sc773luN.js} +4 -4
- package/dist/{GrantUserList-BUkzqot_.js → GrantUserList-2XTroUF8.js} +3 -3
- package/dist/{Main-CNk6IUSX.js → Main-BIo4YcWF.js} +2 -2
- package/dist/{Main-DgmmoN5E.js → Main-BNCfG0Sg.js} +5 -5
- package/dist/{Main-Dx_th1rt.js → Main-CCGYrZsD.js} +9 -9
- package/dist/{PermissionSetList-CzZGiCsv.js → PermissionSetList-7Ut1F99N.js} +5 -5
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B1l2xUpn.js +4167 -0
- package/dist/{RoleList-BE4zTMIf.js → RoleList-DMKdy74J.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BPBc1yaM.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CI94gSkp.js} +1 -1
- package/dist/{ScheduleGeneralPage-OvoLCcup.js → ScheduleGeneralPage-DGdnq7oV.js} +4 -4
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BOkU6VUe.js → ScheduleModal.vue_vue_type_script_setup_true_lang-Cq-zMPW_.js} +622 -605
- package/dist/{SchedulePage-CujQTlC7.js → SchedulePage-B7M5fPIA.js} +6136 -6020
- package/dist/{SchedulePositionPage-DJ7HABNZ.js → SchedulePositionPage-DeorKiCc.js} +9 -9
- package/dist/{TeamMemberList-DcMBkqKA.js → TeamMemberList-CQswHBEk.js} +6 -6
- package/dist/{TimesheetList-EFkDNiyH.js → TimesheetList-lWsJuha_.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DK7LWwL3.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CLgmz6LT.js} +2 -2
- package/dist/{app-Bljy7Tiw.js → app-MTWSOw4U.js} +452 -216
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-6PYBuPpr.js → dayjs.min-9rM_szda.js} +1 -1
- package/dist/{employee-BabFWzgV.js → employee-BvtW9sI6.js} +3 -3
- package/dist/{iteration-DFJixFmV.js → iteration-Byna7hj1.js} +1 -1
- package/dist/{lodash-CfHZzOs8.js → lodash-CnwRhwQm.js} +1 -1
- package/dist/{role-DzPtXGaE.js → role-N_-ZZfhy.js} +1 -1
- package/dist/{rule-DM5JuuR6.js → rule-B9-ryqfq.js} +2 -2
- package/dist/src/api/audit-log/index.d.ts +4 -0
- package/dist/src/api/schedule/index.d.ts +3 -1
- package/dist/src/types/schedule.d.ts +1 -1
- package/dist/src/views/audit-log/constants.d.ts +9 -30
- package/dist/src/views/audit-log/locales/index.d.ts +236 -0
- package/dist/src/views/audit-log/pos-row.d.ts +27 -0
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -5
- package/dist/src/views/scheduling/schedule-store.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-vTUP3ZOL.js → useReportPermissions-BSOsfpnM.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-B4gAQD41.js +0 -1779
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-t_OkpC_R.js +0 -4167
package/dist/app.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as g } from "./dayjs.min-
|
|
1
|
+
import { d as g } from "./dayjs.min-9rM_szda.js";
|
|
2
2
|
import { defineStore as $, storeToRefs as x } from "pinia";
|
|
3
3
|
import { ref as m } from "vue";
|
|
4
|
-
import { s as E } from "./iteration-
|
|
4
|
+
import { s as E } from "./iteration-Byna7hj1.js";
|
|
5
5
|
import { b as l, g as f, u as I } from "./restaurant-D7PEQjPY.js";
|
|
6
6
|
import { i as v } from "./utils-BZkjJbju.js";
|
|
7
|
-
import { u as P } from "./role-
|
|
7
|
+
import { u as P } from "./role-N_-ZZfhy.js";
|
|
8
8
|
const o = {
|
|
9
9
|
async readEmployees() {
|
|
10
10
|
return f(await l().get("/pos-users"));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as B } from "./app-
|
|
1
|
+
import { f as B } from "./app-MTWSOw4U.js";
|
|
2
2
|
var ma = {}, Zt = {}, l = {}, ji = {}, Ei = {}, Ii = {}, Dn = {};
|
|
3
3
|
(function(e) {
|
|
4
4
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getParsedType = e.ZodParsedType = e.util = void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as x, storeToRefs as b } from "pinia";
|
|
2
2
|
import { ref as w } from "vue";
|
|
3
3
|
import { useCoreStore as B } from "@feedmepos/mf-common";
|
|
4
|
-
import { s as v } from "./iteration-
|
|
4
|
+
import { s as v } from "./iteration-Byna7hj1.js";
|
|
5
5
|
import { g as f, b as p, u as I } from "./restaurant-D7PEQjPY.js";
|
|
6
6
|
const R = {
|
|
7
7
|
async readRoles() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as W, c as q, e as y } from "./iteration-
|
|
2
|
-
import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-
|
|
1
|
+
import { s as W, c as q, e as y } from "./iteration-Byna7hj1.js";
|
|
2
|
+
import { e as O, b as V, c as _, v as F, n as h, O as ee, D as M } from "./app-MTWSOw4U.js";
|
|
3
3
|
import { s as se } from "./utils-BZkjJbju.js";
|
|
4
4
|
import { g, b as v, q as x, u as te } from "./restaurant-D7PEQjPY.js";
|
|
5
5
|
import { defineStore as z, storeToRefs as K } from "pinia";
|
|
@@ -12,6 +12,8 @@ declare const AuditLogAPI: {
|
|
|
12
12
|
search?: string;
|
|
13
13
|
searchUserIds?: string[];
|
|
14
14
|
searchSubjects?: string[];
|
|
15
|
+
sources?: string[];
|
|
16
|
+
restaurantIds?: string[];
|
|
15
17
|
}): Promise<number>;
|
|
16
18
|
read(params?: {
|
|
17
19
|
limit?: number;
|
|
@@ -27,6 +29,8 @@ declare const AuditLogAPI: {
|
|
|
27
29
|
search?: string;
|
|
28
30
|
searchUserIds?: string[];
|
|
29
31
|
searchSubjects?: string[];
|
|
32
|
+
sources?: string[];
|
|
33
|
+
restaurantIds?: string[];
|
|
30
34
|
}): Promise<AuditLogEntry[]>;
|
|
31
35
|
/**
|
|
32
36
|
* FeedMe-admin options for the User filter. `actors` is the named admin list (internal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
|
|
1
|
+
import type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleResult, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoSchedulePosition, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSettings, FdtoScheduleScheduleDay, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleUpdateTimeOffStatusReq } from '@/types/schedule';
|
|
2
2
|
declare const ScheduleAPI: {
|
|
3
3
|
listEmployeeProfiles(employeeIds?: string[]): Promise<FdtoScheduleEmployee[]>;
|
|
4
4
|
listEmployeeConfigs(restaurantId: string): Promise<FdtoScheduleEmployeeConfig[]>;
|
|
@@ -34,6 +34,8 @@ declare const ScheduleAPI: {
|
|
|
34
34
|
}>;
|
|
35
35
|
/** Atomically replaces one date/weekday's flattened demand rows. */
|
|
36
36
|
replaceDemands(restaurantId: string, req: FdtoScheduleReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
37
|
+
/** Atomically replaces several date/weekday demand generations. */
|
|
38
|
+
bulkReplaceDemands(restaurantId: string, req: FdtoScheduleBulkReplaceDemandReq): Promise<FdtoScheduleDemand[]>;
|
|
37
39
|
/** Replaces one date's note/holiday-mark. All three fields back to empty/false clears it. */
|
|
38
40
|
saveScheduleDay(restaurantId: string, date: string, req: FdtoScheduleSaveScheduleDayReq): Promise<FdtoScheduleScheduleDay | null>;
|
|
39
41
|
/** A one-off shift assignment. */
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* only view-model commands that intentionally do not cross HTTP (for example
|
|
6
6
|
* replacing a period made up of several persisted demand rows).
|
|
7
7
|
*/
|
|
8
|
-
export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
8
|
+
export type { FdtoScheduleAssignment, FdtoScheduleAutoScheduleApplyReq, FdtoScheduleAutoScheduleApplyResult, FdtoScheduleAutoScheduleCapabilities, FdtoScheduleAutoScheduleGenerateReq, FdtoScheduleAutoScheduleObjective, FdtoScheduleAutoSchedulePlanner, FdtoScheduleAutoScheduleProposal, FdtoScheduleAutoScheduleRejection, FdtoScheduleAutoScheduleResult, FdtoScheduleAutoScheduleTiming, FdtoScheduleAutoScheduleUnfilledNeed, FdtoScheduleBoard, FdtoScheduleBulkUpdateAssignmentStatusReq, FdtoScheduleBulkSaveAssignmentsReq, FdtoScheduleBulkSaveAssignmentsResult, FdtoScheduleBulkReplaceDemandReq, FdtoScheduleBreak, FdtoScheduleCreateEmployeeProfileReq, FdtoScheduleEmployeeConfig, FdtoScheduleDayOperatingHours, FdtoScheduleDemand, FdtoScheduleEmployee, FdtoScheduleOptionalDateRange, FdtoSchedulePayRate, FdtoSchedulePosition, FdtoSchedulePositionRef, FdtoSchedulePositionSelectorReq, FdtoScheduleRestaurantProfile, FdtoScheduleSaveAssignmentReq, FdtoScheduleSaveDemandReq, FdtoScheduleReplaceDemandReq, FdtoScheduleSaveEmployeeConfigsReq, FdtoScheduleSavePositionReq, FdtoScheduleSaveScheduleDayReq, FdtoScheduleSaveSettingsReq, FdtoScheduleScheduleDay, FdtoScheduleSettings, FdtoScheduleUpdateEmployeeProfileReq, FdtoScheduleCreateTimeOffReq, FdtoScheduleTimeOff, FdtoScheduleTimeOffDayPart, FdtoScheduleTimeOffQuery, FdtoScheduleTimeOffStatus, FdtoScheduleTimeOffType, FdtoScheduleUpdateTimeOffStatusReq, } from '@feedmepos/hrm-schedule-contract';
|
|
9
9
|
/** UI-level replacement command. The store expands these periods into flat
|
|
10
10
|
* ShiftDemand rows before calling the shared HTTP contract. */
|
|
11
11
|
export interface ScheduleReplaceDemandReq {
|
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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];
|
|
1
|
+
export interface AuditLogModuleTab {
|
|
2
|
+
key: 'all' | 'inventory' | 'report' | 'hrm' | 'payment' | 'menu' | 'crm' | 'pos';
|
|
3
|
+
label: string;
|
|
4
|
+
/** Portal modules filter by subject namespace. */
|
|
5
|
+
subjectPrefixes: string[];
|
|
6
|
+
/** Row origins the tab selects; the POS tab filters by origin instead of subject. */
|
|
7
|
+
sources?: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare const AUDIT_LOG_MODULE_TABS: readonly AuditLogModuleTab[];
|
|
@@ -36,6 +36,8 @@ export declare const i18nMessages: {
|
|
|
36
36
|
selected_status_prefix: string;
|
|
37
37
|
outcome_placeholder: string;
|
|
38
38
|
selected_outcome_prefix: string;
|
|
39
|
+
restaurant_placeholder: string;
|
|
40
|
+
selected_restaurant_prefix: string;
|
|
39
41
|
};
|
|
40
42
|
action: {
|
|
41
43
|
manage: string;
|
|
@@ -52,6 +54,7 @@ export declare const i18nMessages: {
|
|
|
52
54
|
payment: string;
|
|
53
55
|
menu: string;
|
|
54
56
|
crm: string;
|
|
57
|
+
pos: string;
|
|
55
58
|
other: string;
|
|
56
59
|
more: string;
|
|
57
60
|
};
|
|
@@ -62,6 +65,28 @@ export declare const i18nMessages: {
|
|
|
62
65
|
action: string;
|
|
63
66
|
operation: string;
|
|
64
67
|
outcome: string;
|
|
68
|
+
restaurant: string;
|
|
69
|
+
device: string;
|
|
70
|
+
approver: string;
|
|
71
|
+
};
|
|
72
|
+
pos: {
|
|
73
|
+
unverified: string;
|
|
74
|
+
approverInline: string;
|
|
75
|
+
viaCode: string;
|
|
76
|
+
details: {
|
|
77
|
+
eventKey: string;
|
|
78
|
+
appVersion: string;
|
|
79
|
+
clock: string;
|
|
80
|
+
clamped: string;
|
|
81
|
+
params: string;
|
|
82
|
+
};
|
|
83
|
+
device: {
|
|
84
|
+
posV7: string;
|
|
85
|
+
};
|
|
86
|
+
mode: {
|
|
87
|
+
main: string;
|
|
88
|
+
sub: string;
|
|
89
|
+
};
|
|
65
90
|
};
|
|
66
91
|
outcome: {
|
|
67
92
|
success: string;
|
|
@@ -189,6 +214,40 @@ export declare const i18nMessages: {
|
|
|
189
214
|
"approval-code": {
|
|
190
215
|
create: string;
|
|
191
216
|
revoke: string;
|
|
217
|
+
use: string;
|
|
218
|
+
};
|
|
219
|
+
counter: {
|
|
220
|
+
open: string;
|
|
221
|
+
close: string;
|
|
222
|
+
};
|
|
223
|
+
counterRecord: {
|
|
224
|
+
manage: string;
|
|
225
|
+
};
|
|
226
|
+
order: {
|
|
227
|
+
void: string;
|
|
228
|
+
discount: string;
|
|
229
|
+
urgent: string;
|
|
230
|
+
resend: string;
|
|
231
|
+
changePrice: string;
|
|
232
|
+
changePaymentType: string;
|
|
233
|
+
payment: string;
|
|
234
|
+
claimDeposit: string;
|
|
235
|
+
waiveServiceCharge: string;
|
|
236
|
+
update: string;
|
|
237
|
+
};
|
|
238
|
+
refund: {
|
|
239
|
+
create: string;
|
|
240
|
+
manage: string;
|
|
241
|
+
};
|
|
242
|
+
drawer: {
|
|
243
|
+
open: string;
|
|
244
|
+
manage: string;
|
|
245
|
+
};
|
|
246
|
+
paymentType: {
|
|
247
|
+
manage: string;
|
|
248
|
+
};
|
|
249
|
+
report: {
|
|
250
|
+
read: string;
|
|
192
251
|
};
|
|
193
252
|
"portal-user": {
|
|
194
253
|
list: string;
|
|
@@ -261,6 +320,8 @@ export declare const i18nMessages: {
|
|
|
261
320
|
selected_status_prefix: string;
|
|
262
321
|
outcome_placeholder: string;
|
|
263
322
|
selected_outcome_prefix: string;
|
|
323
|
+
restaurant_placeholder: string;
|
|
324
|
+
selected_restaurant_prefix: string;
|
|
264
325
|
};
|
|
265
326
|
action: {
|
|
266
327
|
manage: string;
|
|
@@ -277,6 +338,7 @@ export declare const i18nMessages: {
|
|
|
277
338
|
payment: string;
|
|
278
339
|
menu: string;
|
|
279
340
|
crm: string;
|
|
341
|
+
pos: string;
|
|
280
342
|
other: string;
|
|
281
343
|
more: string;
|
|
282
344
|
};
|
|
@@ -287,6 +349,28 @@ export declare const i18nMessages: {
|
|
|
287
349
|
action: string;
|
|
288
350
|
operation: string;
|
|
289
351
|
outcome: string;
|
|
352
|
+
restaurant: string;
|
|
353
|
+
device: string;
|
|
354
|
+
approver: string;
|
|
355
|
+
};
|
|
356
|
+
pos: {
|
|
357
|
+
unverified: string;
|
|
358
|
+
approverInline: string;
|
|
359
|
+
viaCode: string;
|
|
360
|
+
details: {
|
|
361
|
+
eventKey: string;
|
|
362
|
+
appVersion: string;
|
|
363
|
+
clock: string;
|
|
364
|
+
clamped: string;
|
|
365
|
+
params: string;
|
|
366
|
+
};
|
|
367
|
+
device: {
|
|
368
|
+
posV7: string;
|
|
369
|
+
};
|
|
370
|
+
mode: {
|
|
371
|
+
main: string;
|
|
372
|
+
sub: string;
|
|
373
|
+
};
|
|
290
374
|
};
|
|
291
375
|
outcome: {
|
|
292
376
|
success: string;
|
|
@@ -415,6 +499,40 @@ export declare const i18nMessages: {
|
|
|
415
499
|
"approval-code": {
|
|
416
500
|
create: string;
|
|
417
501
|
revoke: string;
|
|
502
|
+
use: string;
|
|
503
|
+
};
|
|
504
|
+
counter: {
|
|
505
|
+
open: string;
|
|
506
|
+
close: string;
|
|
507
|
+
};
|
|
508
|
+
counterRecord: {
|
|
509
|
+
manage: string;
|
|
510
|
+
};
|
|
511
|
+
order: {
|
|
512
|
+
void: string;
|
|
513
|
+
discount: string;
|
|
514
|
+
urgent: string;
|
|
515
|
+
resend: string;
|
|
516
|
+
changePrice: string;
|
|
517
|
+
changePaymentType: string;
|
|
518
|
+
payment: string;
|
|
519
|
+
claimDeposit: string;
|
|
520
|
+
waiveServiceCharge: string;
|
|
521
|
+
update: string;
|
|
522
|
+
};
|
|
523
|
+
refund: {
|
|
524
|
+
create: string;
|
|
525
|
+
manage: string;
|
|
526
|
+
};
|
|
527
|
+
drawer: {
|
|
528
|
+
open: string;
|
|
529
|
+
manage: string;
|
|
530
|
+
};
|
|
531
|
+
paymentType: {
|
|
532
|
+
manage: string;
|
|
533
|
+
};
|
|
534
|
+
report: {
|
|
535
|
+
read: string;
|
|
418
536
|
};
|
|
419
537
|
"portal-user": {
|
|
420
538
|
list: string;
|
|
@@ -487,6 +605,8 @@ export declare const i18nMessages: {
|
|
|
487
605
|
selected_status_prefix: string;
|
|
488
606
|
outcome_placeholder: string;
|
|
489
607
|
selected_outcome_prefix: string;
|
|
608
|
+
restaurant_placeholder: string;
|
|
609
|
+
selected_restaurant_prefix: string;
|
|
490
610
|
};
|
|
491
611
|
action: {
|
|
492
612
|
manage: string;
|
|
@@ -503,6 +623,7 @@ export declare const i18nMessages: {
|
|
|
503
623
|
payment: string;
|
|
504
624
|
menu: string;
|
|
505
625
|
crm: string;
|
|
626
|
+
pos: string;
|
|
506
627
|
other: string;
|
|
507
628
|
more: string;
|
|
508
629
|
};
|
|
@@ -513,6 +634,28 @@ export declare const i18nMessages: {
|
|
|
513
634
|
action: string;
|
|
514
635
|
operation: string;
|
|
515
636
|
outcome: string;
|
|
637
|
+
restaurant: string;
|
|
638
|
+
device: string;
|
|
639
|
+
approver: string;
|
|
640
|
+
};
|
|
641
|
+
pos: {
|
|
642
|
+
unverified: string;
|
|
643
|
+
approverInline: string;
|
|
644
|
+
viaCode: string;
|
|
645
|
+
details: {
|
|
646
|
+
eventKey: string;
|
|
647
|
+
appVersion: string;
|
|
648
|
+
clock: string;
|
|
649
|
+
clamped: string;
|
|
650
|
+
params: string;
|
|
651
|
+
};
|
|
652
|
+
device: {
|
|
653
|
+
posV7: string;
|
|
654
|
+
};
|
|
655
|
+
mode: {
|
|
656
|
+
main: string;
|
|
657
|
+
sub: string;
|
|
658
|
+
};
|
|
516
659
|
};
|
|
517
660
|
outcome: {
|
|
518
661
|
success: string;
|
|
@@ -641,6 +784,40 @@ export declare const i18nMessages: {
|
|
|
641
784
|
"approval-code": {
|
|
642
785
|
create: string;
|
|
643
786
|
revoke: string;
|
|
787
|
+
use: string;
|
|
788
|
+
};
|
|
789
|
+
counter: {
|
|
790
|
+
open: string;
|
|
791
|
+
close: string;
|
|
792
|
+
};
|
|
793
|
+
counterRecord: {
|
|
794
|
+
manage: string;
|
|
795
|
+
};
|
|
796
|
+
order: {
|
|
797
|
+
void: string;
|
|
798
|
+
discount: string;
|
|
799
|
+
urgent: string;
|
|
800
|
+
resend: string;
|
|
801
|
+
changePrice: string;
|
|
802
|
+
changePaymentType: string;
|
|
803
|
+
payment: string;
|
|
804
|
+
claimDeposit: string;
|
|
805
|
+
waiveServiceCharge: string;
|
|
806
|
+
update: string;
|
|
807
|
+
};
|
|
808
|
+
refund: {
|
|
809
|
+
create: string;
|
|
810
|
+
manage: string;
|
|
811
|
+
};
|
|
812
|
+
drawer: {
|
|
813
|
+
open: string;
|
|
814
|
+
manage: string;
|
|
815
|
+
};
|
|
816
|
+
paymentType: {
|
|
817
|
+
manage: string;
|
|
818
|
+
};
|
|
819
|
+
report: {
|
|
820
|
+
read: string;
|
|
644
821
|
};
|
|
645
822
|
"portal-user": {
|
|
646
823
|
list: string;
|
|
@@ -713,6 +890,8 @@ export declare const i18nMessages: {
|
|
|
713
890
|
selected_status_prefix: string;
|
|
714
891
|
outcome_placeholder: string;
|
|
715
892
|
selected_outcome_prefix: string;
|
|
893
|
+
restaurant_placeholder: string;
|
|
894
|
+
selected_restaurant_prefix: string;
|
|
716
895
|
};
|
|
717
896
|
action: {
|
|
718
897
|
manage: string;
|
|
@@ -729,6 +908,7 @@ export declare const i18nMessages: {
|
|
|
729
908
|
payment: string;
|
|
730
909
|
menu: string;
|
|
731
910
|
crm: string;
|
|
911
|
+
pos: string;
|
|
732
912
|
other: string;
|
|
733
913
|
more: string;
|
|
734
914
|
};
|
|
@@ -739,6 +919,28 @@ export declare const i18nMessages: {
|
|
|
739
919
|
action: string;
|
|
740
920
|
operation: string;
|
|
741
921
|
outcome: string;
|
|
922
|
+
restaurant: string;
|
|
923
|
+
device: string;
|
|
924
|
+
approver: string;
|
|
925
|
+
};
|
|
926
|
+
pos: {
|
|
927
|
+
unverified: string;
|
|
928
|
+
approverInline: string;
|
|
929
|
+
viaCode: string;
|
|
930
|
+
details: {
|
|
931
|
+
eventKey: string;
|
|
932
|
+
appVersion: string;
|
|
933
|
+
clock: string;
|
|
934
|
+
clamped: string;
|
|
935
|
+
params: string;
|
|
936
|
+
};
|
|
937
|
+
device: {
|
|
938
|
+
posV7: string;
|
|
939
|
+
};
|
|
940
|
+
mode: {
|
|
941
|
+
main: string;
|
|
942
|
+
sub: string;
|
|
943
|
+
};
|
|
742
944
|
};
|
|
743
945
|
outcome: {
|
|
744
946
|
success: string;
|
|
@@ -867,6 +1069,40 @@ export declare const i18nMessages: {
|
|
|
867
1069
|
"approval-code": {
|
|
868
1070
|
create: string;
|
|
869
1071
|
revoke: string;
|
|
1072
|
+
use: string;
|
|
1073
|
+
};
|
|
1074
|
+
counter: {
|
|
1075
|
+
open: string;
|
|
1076
|
+
close: string;
|
|
1077
|
+
};
|
|
1078
|
+
counterRecord: {
|
|
1079
|
+
manage: string;
|
|
1080
|
+
};
|
|
1081
|
+
order: {
|
|
1082
|
+
void: string;
|
|
1083
|
+
discount: string;
|
|
1084
|
+
urgent: string;
|
|
1085
|
+
resend: string;
|
|
1086
|
+
changePrice: string;
|
|
1087
|
+
changePaymentType: string;
|
|
1088
|
+
payment: string;
|
|
1089
|
+
claimDeposit: string;
|
|
1090
|
+
waiveServiceCharge: string;
|
|
1091
|
+
update: string;
|
|
1092
|
+
};
|
|
1093
|
+
refund: {
|
|
1094
|
+
create: string;
|
|
1095
|
+
manage: string;
|
|
1096
|
+
};
|
|
1097
|
+
drawer: {
|
|
1098
|
+
open: string;
|
|
1099
|
+
manage: string;
|
|
1100
|
+
};
|
|
1101
|
+
paymentType: {
|
|
1102
|
+
manage: string;
|
|
1103
|
+
};
|
|
1104
|
+
report: {
|
|
1105
|
+
read: string;
|
|
870
1106
|
};
|
|
871
1107
|
"portal-user": {
|
|
872
1108
|
list: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { AuditLogEntry } from '@/types/audit-log';
|
|
2
|
+
export declare const POS_SOURCES: readonly ["pos-v8", "hrm-validate"];
|
|
3
|
+
type T = (key: string, params?: Record<string, unknown>) => string;
|
|
4
|
+
export declare function isPosEntry(entry: AuditLogEntry): boolean;
|
|
5
|
+
export declare function posDeviceLabel(entry: AuditLogEntry, t: T): string;
|
|
6
|
+
/** The executor: actorName/userId, marked when the writer could not find the id among the restaurant's employees. */
|
|
7
|
+
export declare function posActorLabel(entry: AuditLogEntry, t: T): string;
|
|
8
|
+
/** The passcode holder; '-' on session checks, which have no approver. For an
|
|
9
|
+
* approval-code row the approver is the portal user who issued the code and
|
|
10
|
+
* may not have been present, so the label says so. Any hrm-validate row with no
|
|
11
|
+
* approver name/id — a legacy code without a grantor, regardless of whether
|
|
12
|
+
* approverKnown is false or simply unset — still reads as an approval-code use,
|
|
13
|
+
* so the viaCode marker renders alone instead of falling through to '-'. */
|
|
14
|
+
export declare function posApproverLabel(entry: AuditLogEntry, t: T): string;
|
|
15
|
+
/** " · approver: Mei" for portal tabs, which have no Approver column; empty when the row has no approver. */
|
|
16
|
+
export declare function posApproverSuffix(entry: AuditLogEntry, t: T): string;
|
|
17
|
+
export interface UserFilter {
|
|
18
|
+
userIds: string[];
|
|
19
|
+
feedmeAdminActors: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Splits the User filter selection into real user ids and the "FeedMe Admin"
|
|
23
|
+
* catch-all flag. The POS tab hides the User control, so it never filters by
|
|
24
|
+
* user: a selection left over from another tab must not apply there unseen.
|
|
25
|
+
*/
|
|
26
|
+
export declare function resolveUserFilter(selected: readonly string[] | undefined, isPosTab: boolean, feedmeAdminValue: string): UserFilter;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -52,11 +52,6 @@ export declare function useScheduleDemandSheet(board: ScheduleBoardApi, demand:
|
|
|
52
52
|
key: "weekdays";
|
|
53
53
|
label: string;
|
|
54
54
|
sub: string;
|
|
55
|
-
} | {
|
|
56
|
-
on: boolean;
|
|
57
|
-
key: "custom";
|
|
58
|
-
label: string;
|
|
59
|
-
sub: string;
|
|
60
55
|
})[]>;
|
|
61
56
|
weekdayButtons: import("vue").ComputedRef<{
|
|
62
57
|
i: number;
|
|
@@ -81,6 +81,7 @@ export declare function saveScheduleDay(date: string, req: FdtoScheduleSaveSched
|
|
|
81
81
|
* Position-specific headcount becomes its own row; any remaining headcount becomes an
|
|
82
82
|
* unpositioned row for the same time range. */
|
|
83
83
|
export declare function saveDemand(req: ScheduleReplaceDemandReq): Promise<void>;
|
|
84
|
+
export declare function saveDemandsBulk(requests: ScheduleReplaceDemandReq[]): Promise<void>;
|
|
84
85
|
/** Copies one date's own demand rows onto another date, as that date's own rows. A date that
|
|
85
86
|
* already has demand of its own is left alone (nothing is overwritten), and a source date with
|
|
86
87
|
* none has nothing to copy: the standing weekday rule already covers the same weekday in every
|