@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.
- package/dist/{ApprovalCodeList-sHnINTik.js → ApprovalCodeList-D3U4nvlF.js} +15 -14
- package/dist/{AuditLogList-C9C2emU9.js → AuditLogList-qGCW7tf0.js} +13 -13
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B0VcRYUg.js +438 -0
- package/dist/EmployeeList-Bd73xDCX.js +776 -0
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-cLEnrtC6.js +45 -0
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +49 -0
- package/dist/{GrantUserList-LWpqhl-5.js → GrantUserList-C71pal0N.js} +16 -15
- package/dist/{Main-PBJjfzBg.js → Main-BWJPyEU1.js} +5 -5
- package/dist/{Main-BWKb-QIE.js → Main-CCdTWngg.js} +11 -11
- package/dist/Main-DGf0bQvy.js +96 -0
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +243 -0
- package/dist/{PermissionSetList-D2qZVlF4.js → PermissionSetList-BS-oBunI.js} +46 -45
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CkOAT-oX.js +4167 -0
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js +35 -0
- package/dist/RoleList-B_7UnVNb.js +740 -0
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BXihM4sl.js} +1 -1
- package/dist/{ScheduleGeneralPage-C4J6jYtG.js → ScheduleGeneralPage-DpNvWNGs.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js → ScheduleModal.vue_vue_type_script_setup_true_lang-DIYLOF9N.js} +186 -187
- package/dist/{SchedulePage-ICzggri0.js → SchedulePage-QW-cYvu2.js} +13 -13
- package/dist/{SchedulePositionPage-BshUCd_C.js → SchedulePositionPage-BtFfVo2N.js} +3 -3
- package/dist/{SelectFilter-D9T0nFvG.js → SelectFilter-BXeVKgHN.js} +1 -1
- package/dist/TeamMemberList-DoisBYnk.js +1154 -0
- package/dist/{TimesheetList-nxhr0EWj.js → TimesheetList-D-bESKe5.js} +9 -9
- 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
- package/dist/{app-n6d4AmtP.js → app-D-MUq9Ab.js} +3429 -6368
- package/dist/app.js +3 -3
- package/dist/{approval-code-1j1OoXt1.js → approval-code-BXUiojPH.js} +1 -1
- package/dist/{dayjs.min-DdNivv4b.js → dayjs.min-BZ1pM-6M.js} +34 -34
- package/dist/{employee-BlfleiCU.js → employee-HQEU8fjb.js} +47 -48
- package/dist/{grant-user-BmTyexk3.js → grant-user-CBJ3gEgW.js} +1 -1
- package/dist/{iteration-y_jodvfN.js → iteration-ogxW2-Tv.js} +1 -1
- package/dist/{lodash-B2eWEGH4.js → lodash-Def4gaas.js} +1 -1
- package/dist/restaurant-D2mfKHaH.js +1880 -0
- package/dist/{role-DfZi7Ssk.js → role-JDoDFVd9.js} +4 -5
- package/dist/{rule-ChmhcGgA.js → rule-DPtqlnz-.js} +100 -105
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +3 -11
- package/dist/src/helpers/string.d.ts +1 -10
- package/dist/src/router/shared.d.ts +1 -3
- package/dist/src/stores/restaurant.d.ts +7 -7
- package/dist/src/stores/team.d.ts +0 -30
- package/dist/src/types/team.d.ts +1 -17
- package/dist/src/views/hr/locales/index.d.ts +4 -24
- package/dist/src/views/hr/role/RoleForm.vue.d.ts +2 -29
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +1 -1
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +1 -1
- package/dist/src/views/team/components/BasePermission.vue.d.ts +0 -11
- package/dist/src/views/team/components/ConditionPermission.vue.d.ts +0 -11
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +0 -21
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +0 -11
- package/dist/src/views/team/locales/index.d.ts +0 -716
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -48
- package/dist/src/views/team/{components/MemberStatusBadge.vue.d.ts → member/MemberInfo.vue.d.ts} +2 -2
- package/dist/src/views/team/member/TeamMemberList.vue.d.ts +0 -1
- package/dist/string-VNuQNweN.js +15 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BPARQyvJ.js → useAppStore-DZCdxlCd.js} +1 -1
- package/dist/{useLoading-iPESFb6R.js → useLoading-Nygx2zn8.js} +1 -1
- package/dist/{useReportPermissions-By-BoJZb.js → useReportPermissions-CxV7Dz1B.js} +5 -5
- package/package.json +2 -2
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js +0 -459
- package/dist/EmployeeList-D4oy5hXz.js +0 -896
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js +0 -90
- package/dist/Main-CVGiOYpC.js +0 -101
- package/dist/MyPosProfile-BQCBFMFw.js +0 -301
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +0 -126
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js +0 -4243
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js +0 -1831
- package/dist/RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js +0 -547
- package/dist/RoleList-DG0crFzW.js +0 -274
- package/dist/TeamMemberList-C970Iqlj.js +0 -2086
- package/dist/member-grant-CzZUdO_s.js +0 -55
- package/dist/restaurant-Dl6yx37M.js +0 -51
- package/dist/src/api/my-pos-profile/index.d.ts +0 -5
- package/dist/src/api/sso-provider/index.d.ts +0 -5
- package/dist/src/api/staff-invite/index.d.ts +0 -16
- package/dist/src/components/form/SegmentedTabs.vue.d.ts +0 -23
- package/dist/src/composables/useMenuAccess.d.ts +0 -56
- package/dist/src/composables/useSsoProviders.d.ts +0 -19
- package/dist/src/composables/useStaffInviteProviders.d.ts +0 -8
- package/dist/src/helpers/member-grant.d.ts +0 -36
- package/dist/src/helpers/my-pos-profile.d.ts +0 -37
- package/dist/src/helpers/pos-assignment-rows.d.ts +0 -28
- package/dist/src/helpers/staff-invite.d.ts +0 -54
- package/dist/src/router/menu-access-guard.d.ts +0 -17
- package/dist/src/types/my-pos-profile.d.ts +0 -25
- package/dist/src/types/sso-provider.d.ts +0 -10
- package/dist/src/types/staff-invite.d.ts +0 -100
- package/dist/src/views/my-pos-profile/MyPosProfile.vue.d.ts +0 -2
- package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +0 -4
- package/dist/src/views/my-pos-profile/locales/index.d.ts +0 -200
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +0 -51
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -44
- package/dist/src/views/team/member/ExistingMemberNotice.vue.d.ts +0 -11
- package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +0 -35
- package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +0 -19
- package/dist/string-DZQ1uNjn.js +0 -22
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import type { RawRule } from '@casl/ability';
|
|
2
2
|
import { type PropType } from 'vue';
|
|
3
|
-
import { type
|
|
4
|
-
import type { IFdtoStaffInviteLookup, IFdtoStaffInviteProvider, StaffInviteMatch } from '@/types/staff-invite';
|
|
5
|
-
import { type IFdtoCreatePortalUserReq, type IFdtoPermissionPosUser, type TeamMemberStatus } from '@/types/team';
|
|
3
|
+
import { type IFdtoCreatePortalUserReq, type IFdtoPermissionPosUser } from '@/types/team';
|
|
6
4
|
export interface TeamDialogData {
|
|
7
5
|
id: string;
|
|
8
6
|
isOwner: boolean;
|
|
@@ -13,39 +11,14 @@ export interface TeamDialogData {
|
|
|
13
11
|
permissionSetIds: string[];
|
|
14
12
|
posUser?: IFdtoPermissionPosUser;
|
|
15
13
|
posUserId?: string;
|
|
16
|
-
status?: TeamMemberStatus;
|
|
17
|
-
employeeId?: string | null;
|
|
18
|
-
/** Invites only: the admin's name for them ('' when none; `name` then shows the key). */
|
|
19
|
-
displayName?: string;
|
|
20
|
-
/** Invites only: the sign-in key type, and the other way to reach them. */
|
|
21
|
-
match?: StaffInviteMatch;
|
|
22
|
-
contact?: string;
|
|
23
14
|
}
|
|
24
|
-
/** What Update member edits besides the grant. Members only edit the employee ID. */
|
|
25
|
-
export interface MemberDetailsEdit {
|
|
26
|
-
displayName: string;
|
|
27
|
-
employeeId: string;
|
|
28
|
-
/** Invites only: the contact that isn't the sign-in key; '' clears it. */
|
|
29
|
-
contact: string;
|
|
30
|
-
}
|
|
31
|
-
declare function readEdits(): MemberDetailsEdit | null;
|
|
32
15
|
declare function isModified(): boolean;
|
|
33
16
|
declare function readFormData(): IFdtoCreatePortalUserReq;
|
|
34
|
-
/** The Member details card's answers; only on an SSO add. */
|
|
35
|
-
declare function readDetails(): MemberDetails | null;
|
|
36
17
|
declare function validate(): Promise<IFdtoCreatePortalUserReq | null>;
|
|
37
18
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
38
19
|
initialValue: {
|
|
39
20
|
type: PropType<TeamDialogData>;
|
|
40
21
|
};
|
|
41
|
-
/**
|
|
42
|
-
* The business's staff SSO providers. With one, Add creates the member by their SSO
|
|
43
|
-
* sign-in key (an invite until their first sign-in) instead of searching FeedMe users.
|
|
44
|
-
*/
|
|
45
|
-
providers: {
|
|
46
|
-
type: PropType<IFdtoStaffInviteProvider[]>;
|
|
47
|
-
default: () => never[];
|
|
48
|
-
};
|
|
49
22
|
roleErrorMessage: {
|
|
50
23
|
type: StringConstructor;
|
|
51
24
|
default: string;
|
|
@@ -56,27 +29,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
56
29
|
};
|
|
57
30
|
}>, {
|
|
58
31
|
readFormData: typeof readFormData;
|
|
59
|
-
readDetails: typeof readDetails;
|
|
60
|
-
readEdits: typeof readEdits;
|
|
61
32
|
validate: typeof validate;
|
|
62
33
|
isModified: typeof isModified;
|
|
63
|
-
|
|
64
|
-
hasExisting: import("vue").ComputedRef<boolean>;
|
|
65
|
-
providerLabel: import("vue").ComputedRef<string>;
|
|
66
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
67
|
-
"update-existing": (existing: IFdtoStaffInviteLookup) => any;
|
|
68
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
69
35
|
initialValue: {
|
|
70
36
|
type: PropType<TeamDialogData>;
|
|
71
37
|
};
|
|
72
|
-
/**
|
|
73
|
-
* The business's staff SSO providers. With one, Add creates the member by their SSO
|
|
74
|
-
* sign-in key (an invite until their first sign-in) instead of searching FeedMe users.
|
|
75
|
-
*/
|
|
76
|
-
providers: {
|
|
77
|
-
type: PropType<IFdtoStaffInviteProvider[]>;
|
|
78
|
-
default: () => never[];
|
|
79
|
-
};
|
|
80
38
|
roleErrorMessage: {
|
|
81
39
|
type: StringConstructor;
|
|
82
40
|
default: string;
|
|
@@ -85,11 +43,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
85
43
|
type: BooleanConstructor;
|
|
86
44
|
default: boolean;
|
|
87
45
|
};
|
|
88
|
-
}>> & Readonly<{
|
|
89
|
-
"onUpdate-existing"?: ((existing: IFdtoStaffInviteLookup) => any) | undefined;
|
|
90
|
-
}>, {
|
|
46
|
+
}>> & Readonly<{}>, {
|
|
91
47
|
loading: boolean;
|
|
92
48
|
roleErrorMessage: string;
|
|
93
|
-
providers: IFdtoStaffInviteProvider[];
|
|
94
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
50
|
export default _default;
|
package/dist/src/views/team/{components/MemberStatusBadge.vue.d.ts → member/MemberInfo.vue.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type TeamDialogData } from './AddMemberForm.vue';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
|
|
3
|
+
data: TeamDialogData;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: 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>;
|
|
6
6
|
export default _default;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
2
|
create: () => void;
|
|
3
|
-
refresh: () => Promise<void>;
|
|
4
3
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
4
|
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function i(r, t) {
|
|
2
|
+
let n = "", e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
3
|
+
const c = e.length;
|
|
4
|
+
for (let a = 0; a < r; a++)
|
|
5
|
+
n += e.charAt(Math.floor(Math.random() * c));
|
|
6
|
+
return n;
|
|
7
|
+
}
|
|
8
|
+
function l(r) {
|
|
9
|
+
const t = (r ?? "").trim().split(/\s+/).filter(Boolean);
|
|
10
|
+
return t.length === 0 ? "" : t.length === 1 ? t[0].slice(0, 2) : t[0].charAt(0) + t[1].charAt(0);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
l as n,
|
|
14
|
+
i as r
|
|
15
|
+
};
|