@feedmepos/mf-hrm-portal 2.3.2-dev.2 → 2.3.2-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.
Files changed (99) hide show
  1. package/dist/{ApprovalCodeList-sHnINTik.js → ApprovalCodeList-D3U4nvlF.js} +15 -14
  2. package/dist/{AuditLogList-C9C2emU9.js → AuditLogList-qGCW7tf0.js} +13 -13
  3. package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B0VcRYUg.js +438 -0
  4. package/dist/EmployeeList-Bd73xDCX.js +776 -0
  5. package/dist/FormItem.vue_vue_type_script_setup_true_lang-cLEnrtC6.js +45 -0
  6. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
  7. package/dist/{GrantUserList-LWpqhl-5.js → GrantUserList-C71pal0N.js} +16 -15
  8. package/dist/{Main-PBJjfzBg.js → Main-BWJPyEU1.js} +5 -5
  9. package/dist/{Main-BWKb-QIE.js → Main-CCdTWngg.js} +11 -11
  10. package/dist/Main-DGf0bQvy.js +96 -0
  11. package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
  12. package/dist/{PermissionSetList-D2qZVlF4.js → PermissionSetList-BS-oBunI.js} +46 -45
  13. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CkOAT-oX.js +4167 -0
  14. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js +35 -0
  15. package/dist/RoleList-B_7UnVNb.js +740 -0
  16. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BXihM4sl.js} +1 -1
  17. package/dist/{ScheduleGeneralPage-C4J6jYtG.js → ScheduleGeneralPage-DpNvWNGs.js} +2 -2
  18. package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js → ScheduleModal.vue_vue_type_script_setup_true_lang-DIYLOF9N.js} +186 -187
  19. package/dist/{SchedulePage-ICzggri0.js → SchedulePage-QW-cYvu2.js} +13 -13
  20. package/dist/{SchedulePositionPage-BshUCd_C.js → SchedulePositionPage-BtFfVo2N.js} +3 -3
  21. package/dist/{SelectFilter-D9T0nFvG.js → SelectFilter-BXeVKgHN.js} +1 -1
  22. package/dist/TeamMemberList-DoisBYnk.js +1154 -0
  23. package/dist/{TimesheetList-nxhr0EWj.js → TimesheetList-D-bESKe5.js} +9 -9
  24. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-D0zAVqCa.js} +3 -3
  25. package/dist/{app-n6d4AmtP.js → app-D-MUq9Ab.js} +3429 -6368
  26. package/dist/app.js +3 -3
  27. package/dist/{approval-code-1j1OoXt1.js → approval-code-BXUiojPH.js} +1 -1
  28. package/dist/{dayjs.min-DdNivv4b.js → dayjs.min-BZ1pM-6M.js} +34 -34
  29. package/dist/{employee-BlfleiCU.js → employee-HQEU8fjb.js} +47 -48
  30. package/dist/{grant-user-BmTyexk3.js → grant-user-CBJ3gEgW.js} +1 -1
  31. package/dist/{iteration-y_jodvfN.js → iteration-ogxW2-Tv.js} +1 -1
  32. package/dist/{lodash-B2eWEGH4.js → lodash-Def4gaas.js} +1 -1
  33. package/dist/restaurant-D2mfKHaH.js +1880 -0
  34. package/dist/{role-DfZi7Ssk.js → role-JDoDFVd9.js} +4 -5
  35. package/dist/{rule-ChmhcGgA.js → rule-DPtqlnz-.js} +100 -105
  36. package/dist/src/components/CollapsibleWrapper.vue.d.ts +3 -11
  37. package/dist/src/helpers/string.d.ts +1 -10
  38. package/dist/src/router/shared.d.ts +1 -3
  39. package/dist/src/stores/restaurant.d.ts +7 -7
  40. package/dist/src/stores/team.d.ts +0 -30
  41. package/dist/src/types/team.d.ts +1 -17
  42. package/dist/src/views/hr/locales/index.d.ts +4 -24
  43. package/dist/src/views/hr/role/RoleForm.vue.d.ts +2 -29
  44. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +1 -1
  45. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1 -1
  46. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -1
  47. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +1 -1
  48. package/dist/src/views/team/components/BasePermission.vue.d.ts +0 -11
  49. package/dist/src/views/team/components/ConditionPermission.vue.d.ts +0 -11
  50. package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +0 -21
  51. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +0 -11
  52. package/dist/src/views/team/locales/index.d.ts +0 -716
  53. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -48
  54. package/dist/src/views/team/{components/MemberStatusBadge.vue.d.ts → member/MemberInfo.vue.d.ts} +2 -2
  55. package/dist/src/views/team/member/TeamMemberList.vue.d.ts +0 -1
  56. package/dist/string-VNuQNweN.js +15 -0
  57. package/dist/style.css +1 -1
  58. package/dist/tsconfig.app.tsbuildinfo +1 -1
  59. package/dist/{useAppStore-BPARQyvJ.js → useAppStore-DZCdxlCd.js} +1 -1
  60. package/dist/{useLoading-iPESFb6R.js → useLoading-Nygx2zn8.js} +1 -1
  61. package/dist/{useReportPermissions-By-BoJZb.js → useReportPermissions-CxV7Dz1B.js} +5 -5
  62. package/package.json +2 -2
  63. package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js +0 -459
  64. package/dist/EmployeeList-D4oy5hXz.js +0 -896
  65. package/dist/FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js +0 -90
  66. package/dist/Main-CVGiOYpC.js +0 -101
  67. package/dist/MyPosProfile-BQCBFMFw.js +0 -301
  68. package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +0 -126
  69. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js +0 -4243
  70. package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js +0 -1831
  71. package/dist/RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js +0 -547
  72. package/dist/RoleList-DG0crFzW.js +0 -274
  73. package/dist/TeamMemberList-C970Iqlj.js +0 -2086
  74. package/dist/member-grant-CzZUdO_s.js +0 -55
  75. package/dist/restaurant-Dl6yx37M.js +0 -51
  76. package/dist/src/api/my-pos-profile/index.d.ts +0 -5
  77. package/dist/src/api/sso-provider/index.d.ts +0 -5
  78. package/dist/src/api/staff-invite/index.d.ts +0 -16
  79. package/dist/src/components/form/SegmentedTabs.vue.d.ts +0 -23
  80. package/dist/src/composables/useMenuAccess.d.ts +0 -56
  81. package/dist/src/composables/useSsoProviders.d.ts +0 -19
  82. package/dist/src/composables/useStaffInviteProviders.d.ts +0 -8
  83. package/dist/src/helpers/member-grant.d.ts +0 -36
  84. package/dist/src/helpers/my-pos-profile.d.ts +0 -37
  85. package/dist/src/helpers/pos-assignment-rows.d.ts +0 -28
  86. package/dist/src/helpers/staff-invite.d.ts +0 -54
  87. package/dist/src/router/menu-access-guard.d.ts +0 -17
  88. package/dist/src/types/my-pos-profile.d.ts +0 -25
  89. package/dist/src/types/sso-provider.d.ts +0 -10
  90. package/dist/src/types/staff-invite.d.ts +0 -100
  91. package/dist/src/views/my-pos-profile/MyPosProfile.vue.d.ts +0 -2
  92. package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +0 -4
  93. package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -200
  94. package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +0 -51
  95. package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -44
  96. package/dist/src/views/team/member/ExistingMemberNotice.vue.d.ts +0 -11
  97. package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +0 -35
  98. package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +0 -19
  99. package/dist/string-DZQ1uNjn.js +0 -22
@@ -1,200 +0,0 @@
1
- import * as enUS from './en-US.json';
2
- export type AppMessagesSchema = typeof enUS;
3
- export declare const i18nMessages: {
4
- 'en-US': {
5
- myPosProfile: {
6
- title: string;
7
- subtitle: string;
8
- table: {
9
- columns: {
10
- name: string;
11
- contact: string;
12
- restaurant: string;
13
- role: string;
14
- };
15
- };
16
- passcode: {
17
- title: string;
18
- updated: string;
19
- updatedJustNow: string;
20
- show: string;
21
- hide: string;
22
- change: string;
23
- revealFailed: string;
24
- };
25
- change: {
26
- title: string;
27
- message: string;
28
- failed: string;
29
- exhausted: string;
30
- inProgress: string;
31
- incomplete: string;
32
- };
33
- changed: {
34
- title: string;
35
- message: string;
36
- done: string;
37
- };
38
- manageAccount: {
39
- message: string;
40
- link: string;
41
- failed: string;
42
- };
43
- noPosUser: {
44
- title: string;
45
- description: string;
46
- };
47
- loadFailed: string;
48
- shared: {
49
- message: string;
50
- };
51
- };
52
- };
53
- 'zh-CN': {
54
- myPosProfile: {
55
- title: string;
56
- subtitle: string;
57
- table: {
58
- columns: {
59
- name: string;
60
- contact: string;
61
- restaurant: string;
62
- role: string;
63
- };
64
- };
65
- passcode: {
66
- title: string;
67
- updated: string;
68
- updatedJustNow: string;
69
- show: string;
70
- hide: string;
71
- change: string;
72
- revealFailed: string;
73
- };
74
- change: {
75
- title: string;
76
- message: string;
77
- failed: string;
78
- exhausted: string;
79
- inProgress: string;
80
- incomplete: string;
81
- };
82
- changed: {
83
- title: string;
84
- message: string;
85
- done: string;
86
- };
87
- manageAccount: {
88
- message: string;
89
- link: string;
90
- failed: string;
91
- };
92
- noPosUser: {
93
- title: string;
94
- description: string;
95
- };
96
- loadFailed: string;
97
- shared: {
98
- message: string;
99
- };
100
- };
101
- };
102
- 'th-TH': {
103
- myPosProfile: {
104
- title: string;
105
- subtitle: string;
106
- table: {
107
- columns: {
108
- name: string;
109
- contact: string;
110
- restaurant: string;
111
- role: string;
112
- };
113
- };
114
- passcode: {
115
- title: string;
116
- updated: string;
117
- updatedJustNow: string;
118
- show: string;
119
- hide: string;
120
- change: string;
121
- revealFailed: string;
122
- };
123
- change: {
124
- title: string;
125
- message: string;
126
- failed: string;
127
- exhausted: string;
128
- inProgress: string;
129
- incomplete: string;
130
- };
131
- changed: {
132
- title: string;
133
- message: string;
134
- done: string;
135
- };
136
- manageAccount: {
137
- message: string;
138
- link: string;
139
- failed: string;
140
- };
141
- noPosUser: {
142
- title: string;
143
- description: string;
144
- };
145
- loadFailed: string;
146
- shared: {
147
- message: string;
148
- };
149
- };
150
- };
151
- 'zh-Hant': {
152
- myPosProfile: {
153
- title: string;
154
- subtitle: string;
155
- table: {
156
- columns: {
157
- name: string;
158
- contact: string;
159
- restaurant: string;
160
- role: string;
161
- };
162
- };
163
- passcode: {
164
- title: string;
165
- updated: string;
166
- updatedJustNow: string;
167
- show: string;
168
- hide: string;
169
- change: string;
170
- revealFailed: string;
171
- };
172
- change: {
173
- title: string;
174
- message: string;
175
- failed: string;
176
- exhausted: string;
177
- inProgress: string;
178
- incomplete: string;
179
- };
180
- changed: {
181
- title: string;
182
- message: string;
183
- done: string;
184
- };
185
- manageAccount: {
186
- message: string;
187
- link: string;
188
- failed: string;
189
- };
190
- noPosUser: {
191
- title: string;
192
- description: string;
193
- };
194
- loadFailed: string;
195
- shared: {
196
- message: string;
197
- };
198
- };
199
- };
200
- };
@@ -1,51 +0,0 @@
1
- import type { RawRule } from '@casl/ability';
2
- import { type PropType } from 'vue';
3
- import { FdoPermissionRule } from '@feedmepos/core/entity';
4
- import { type MemberGrantPayload } from '@/helpers/member-grant';
5
- import { type IFdtoPermissionPosUser } from '@/types/team';
6
- /** The saved grant being edited. A new `id` resets the form. */
7
- export interface MemberGrantInitialValue {
8
- id: string;
9
- isOwner?: boolean;
10
- name: string;
11
- permissions: RawRule[] | FdoPermissionRule[];
12
- permissionSetIds: string[];
13
- posUser?: IFdtoPermissionPosUser;
14
- posUserId?: string;
15
- }
16
- declare function isModified(): boolean;
17
- declare function readGrantData(): MemberGrantPayload;
18
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
- initialValue: {
20
- type: PropType<MemberGrantInitialValue | null>;
21
- };
22
- /** Name to fall back on when neither the saved grant nor the POS user has one. */
23
- fallbackName: {
24
- type: StringConstructor;
25
- default: string;
26
- };
27
- loading: {
28
- type: BooleanConstructor;
29
- default: boolean;
30
- };
31
- }>, {
32
- readGrantData: typeof readGrantData;
33
- isModified: typeof isModified;
34
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- initialValue: {
36
- type: PropType<MemberGrantInitialValue | null>;
37
- };
38
- /** Name to fall back on when neither the saved grant nor the POS user has one. */
39
- fallbackName: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- loading: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- }>> & Readonly<{}>, {
48
- loading: boolean;
49
- fallbackName: string;
50
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
- export default _default;
@@ -1,44 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import type { HrmRestaurant } from '@/types/restaurant';
3
- import type { Role } from '@/types/role';
4
- import type { IFdtoPermissionPosUserRole } from '@/types/team';
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- modelValue: {
7
- type: PropType<IFdtoPermissionPosUserRole[]>;
8
- required: true;
9
- };
10
- restaurants: {
11
- type: PropType<HrmRestaurant[]>;
12
- required: true;
13
- };
14
- roles: {
15
- type: PropType<Role[]>;
16
- required: true;
17
- };
18
- isRoleUsable: {
19
- type: PropType<(role: Role) => boolean>;
20
- required: true;
21
- };
22
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
23
- "update:modelValue": (roles: IFdtoPermissionPosUserRole[]) => any;
24
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
- modelValue: {
26
- type: PropType<IFdtoPermissionPosUserRole[]>;
27
- required: true;
28
- };
29
- restaurants: {
30
- type: PropType<HrmRestaurant[]>;
31
- required: true;
32
- };
33
- roles: {
34
- type: PropType<Role[]>;
35
- required: true;
36
- };
37
- isRoleUsable: {
38
- type: PropType<(role: Role) => boolean>;
39
- required: true;
40
- };
41
- }>> & Readonly<{
42
- "onUpdate:modelValue"?: ((roles: IFdtoPermissionPosUserRole[]) => any) | undefined;
43
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
44
- export default _default;
@@ -1,11 +0,0 @@
1
- import type { IFdtoStaffInviteLookup, StaffInviteMatch } from '@/types/staff-invite';
2
- type __VLS_Props = {
3
- existing: IFdtoStaffInviteLookup;
4
- match: StaffInviteMatch;
5
- };
6
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
7
- update: () => any;
8
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onUpdate?: (() => any) | undefined;
10
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
- export default _default;
@@ -1,35 +0,0 @@
1
- import { type PropType } from 'vue';
2
- import type { IFdtoStaffInviteLookup, IFdtoStaffInviteProvider, StaffInviteMatch } from '@/types/staff-invite';
3
- /** What the Member details card contributes to an invite. */
4
- export interface MemberDetails {
5
- provider: string;
6
- match: StaffInviteMatch;
7
- mobile?: string;
8
- email?: string;
9
- displayName: string;
10
- employeeId?: string;
11
- }
12
- declare function readDetails(): MemberDetails;
13
- declare function isModified(): boolean;
14
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
- providers: {
16
- type: PropType<IFdtoStaffInviteProvider[]>;
17
- required: true;
18
- };
19
- }>, {
20
- readDetails: typeof readDetails;
21
- isModified: typeof isModified;
22
- /** Add is blocked while the key belongs to someone already. */
23
- hasExisting: import("vue").ComputedRef<boolean>;
24
- providerLabel: import("vue").ComputedRef<string>;
25
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
26
- "update-existing": (existing: IFdtoStaffInviteLookup) => any;
27
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
- providers: {
29
- type: PropType<IFdtoStaffInviteProvider[]>;
30
- required: true;
31
- };
32
- }>> & Readonly<{
33
- "onUpdate-existing"?: ((existing: IFdtoStaffInviteLookup) => any) | undefined;
34
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
- export default _default;
@@ -1,19 +0,0 @@
1
- import type { TeamMemberStatus } from '@/types/team';
2
- type __VLS_Props = {
3
- name: string;
4
- status: TeamMemberStatus;
5
- email?: string;
6
- phoneNumber?: string;
7
- };
8
- declare var __VLS_4: {};
9
- type __VLS_Slots = {} & {
10
- default?: (props: typeof __VLS_4) => any;
11
- };
12
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
- export default _default;
15
- type __VLS_WithSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };
@@ -1,22 +0,0 @@
1
- function a(r, t) {
2
- let n = "", e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
3
- const l = e.length;
4
- for (let i = 0; i < r; i++)
5
- n += e.charAt(Math.floor(Math.random() * l));
6
- return n;
7
- }
8
- function c(r, t, n = 2) {
9
- if (r === null) return t.all;
10
- if (r.length === 0) return t.none;
11
- const e = r.slice(0, n).join(", ");
12
- return r.length > n ? `${e} ${t.more(r.length - n)}` : e;
13
- }
14
- function o(r) {
15
- const t = (r ?? "").trim().split(/\s+/).filter(Boolean);
16
- return t.length === 0 ? "" : t.length === 1 ? t[0].slice(0, 2) : t[0].charAt(0) + t[1].charAt(0);
17
- }
18
- export {
19
- o as n,
20
- a as r,
21
- c as s
22
- };