@feedmepos/mf-hrm-portal 2.3.1-dev.1 → 2.3.2-dev
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-CDU3yUHy.js → ApprovalCodeList-xOyDG5ug.js} +7 -7
- package/dist/AuditLogList-Dd6HyFhk.js +1777 -0
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Cixg_icC.js +459 -0
- package/dist/EmployeeList-BG2KPvOB.js +908 -0
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-Clh43Y-8.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +6 -6
- package/dist/{GrantUserList-Cw8RkFqf.js → GrantUserList-CUkuf3VV.js} +8 -8
- package/dist/Main-BSHf8gTE.js +100 -0
- package/dist/{Main-Dlar77Zq.js → Main-BcixH7R5.js} +11 -11
- package/dist/{Main-BxcRbcce.js → Main-Cg9SOzcz.js} +5 -5
- package/dist/MyPosProfile-CN8Bj3aV.js +301 -0
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-TXPEqa46.js +126 -0
- package/dist/{PermissionSetList-_8aBzGy7.js → PermissionSetList-I3u2_qHR.js} +33 -35
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBoRXQPn.js +4243 -0
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-B5QDOF0L.js +1840 -0
- package/dist/{RoleList-C3n_zOB3.js → RoleList-ALmAwN0U.js} +20 -21
- package/dist/SelectFilter-ATOm0hdn.js +269 -0
- package/dist/TeamMemberList-DZfEnOs1.js +2097 -0
- package/dist/{TimesheetList-BqRIZBt1.js → TimesheetList-CECFKt7H.js} +11 -11
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-oIBUAjtv.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-RIyoAmeb.js} +3 -3
- package/dist/{app-DFL6Nv_p.js → app-CdrnR_Pw.js} +6647 -11430
- package/dist/app.js +3 -3
- package/dist/{approval-code-BXUiojPH.js → approval-code-Bwvwehz9.js} +1 -1
- package/dist/{dayjs.min-CH-gVmsz.js → dayjs.min-BO8bcI17.js} +13 -13
- package/dist/{employee-3xpIjR6i.js → employee-Dg-J9goA.js} +62 -66
- package/dist/{grant-user-CBJ3gEgW.js → grant-user-whFOaPZI.js} +1 -1
- package/dist/{iteration-D6wutq5U.js → iteration-ZpERYj3o.js} +1 -1
- package/dist/{lodash-D5kU1nPN.js → lodash-7SZBZ8VQ.js} +1 -1
- package/dist/member-grant-C46lvrh2.js +55 -0
- package/dist/restaurant-CKhT6kgj.js +45 -0
- package/dist/{role-B7nu6hH1.js → role-C6hFKOfU.js} +5 -4
- package/dist/{rule-CMd6SL3n.js → rule-BlMymDXm.js} +99 -94
- package/dist/src/api/audit-log/index.d.ts +0 -4
- package/dist/src/api/employee/index.d.ts +2 -2
- package/dist/src/api/my-pos-profile/index.d.ts +5 -0
- package/dist/src/api/restaurant/index.d.ts +0 -2
- package/dist/src/api/staff-invite/index.d.ts +17 -0
- package/dist/src/components/AppForm.vue.d.ts +2 -2
- package/dist/src/components/CheckboxInput.vue.d.ts +2 -2
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +11 -3
- package/dist/src/components/form/SegmentedTabs.vue.d.ts +23 -0
- package/dist/src/composables/useDiscardConfirm.d.ts +1 -3
- package/dist/src/composables/useMenuAccess.d.ts +56 -0
- package/dist/src/composables/useMessage.d.ts +2 -8
- package/dist/src/composables/useStaffInviteProviders.d.ts +19 -0
- package/dist/src/helpers/member-grant.d.ts +36 -0
- package/dist/src/helpers/my-pos-profile.d.ts +37 -0
- package/dist/src/helpers/pos-assignment-rows.d.ts +26 -0
- package/dist/src/helpers/staff-invite.d.ts +51 -0
- package/dist/src/helpers/string.d.ts +10 -1
- package/dist/src/router/menu-access-guard.d.ts +17 -0
- package/dist/src/router/shared.d.ts +2 -3
- package/dist/src/stores/employee.d.ts +12 -12
- package/dist/src/stores/restaurant.d.ts +7 -7
- package/dist/src/stores/team.d.ts +30 -0
- package/dist/src/types/employee.d.ts +0 -1
- package/dist/src/types/my-pos-profile.d.ts +25 -0
- package/dist/src/types/staff-invite.d.ts +100 -0
- package/dist/src/types/team.d.ts +17 -1
- package/dist/src/views/audit-log/constants.d.ts +30 -9
- package/dist/src/views/audit-log/locales/index.d.ts +0 -488
- package/dist/src/views/my-pos-profile/components/PasscodeChangedDialog.vue.d.ts +4 -0
- package/dist/src/views/my-pos-profile/locales/index.d.ts +200 -0
- package/dist/src/views/team/components/BasePermission.vue.d.ts +11 -0
- package/dist/src/views/team/components/ConditionPermission.vue.d.ts +11 -0
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +55 -0
- package/dist/src/views/team/{member/MemberInfo.vue.d.ts → components/MemberStatusBadge.vue.d.ts} +2 -2
- package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
- package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +21 -0
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +46 -0
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +11 -0
- package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
- package/dist/src/views/team/locales/index.d.ts +716 -0
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +50 -3
- package/dist/src/views/{scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts → team/member/ExistingMemberNotice.vue.d.ts} +6 -5
- package/dist/src/views/team/member/MemberDetailsCard.vue.d.ts +35 -0
- package/dist/src/views/team/member/MemberHeaderCard.vue.d.ts +19 -0
- package/dist/src/views/team/member/TeamMemberList.vue.d.ts +1 -0
- package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +2 -0
- package/dist/string-DZQ1uNjn.js +22 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DZCdxlCd.js → useAppStore-CL6EEDuw.js} +1 -1
- package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
- package/dist/{useLoading-Nygx2zn8.js → useLoading-BBjBUzGJ.js} +1 -1
- package/dist/{useReportPermissions-BcxIKxlF.js → useReportPermissions-Bg0fma6m.js} +3 -3
- package/package.json +3 -5
- package/dist/AuditLogList-BU11Q5sF.js +0 -1950
- package/dist/ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BjHwyaXu.js +0 -438
- package/dist/EmployeeList-BqzXg3uA.js +0 -776
- package/dist/Main-CL-ysWRu.js +0 -96
- package/dist/PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js +0 -243
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CNgtAtYH.js +0 -4167
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js +0 -35
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +0 -132
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-CnrbCggg.js +0 -544
- package/dist/ScheduleGeneralPage-DGHKW_ww.js +0 -811
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-AfTAGsh1.js +0 -2556
- package/dist/SchedulePage-UzDPRldO.js +0 -19458
- package/dist/SchedulePositionPage-RHETW36P.js +0 -282
- package/dist/SelectFilter-CeBV_Kug.js +0 -264
- package/dist/TeamMemberList-B-qR7VS3.js +0 -1154
- package/dist/object-Dwyg2LgX.js +0 -16
- package/dist/restaurant-D2mfKHaH.js +0 -1880
- package/dist/src/api/schedule/index.d.ts +0 -68
- package/dist/src/components/layout/PortalShell.vue.d.ts +0 -12
- package/dist/src/components/layout/withScheduleShell.d.ts +0 -10
- package/dist/src/types/schedule.d.ts +0 -23
- package/dist/src/views/audit-log/pos-row.d.ts +0 -27
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +0 -3
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +0 -3
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +0 -3
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +0 -10
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +0 -41
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDoneArt.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +0 -10
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +0 -25
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +0 -17
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +0 -31
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +0 -29
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +0 -34
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +0 -26
- package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +0 -17
- package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +0 -38
- package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +0 -22
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +0 -23
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleCloneOutletModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleCoach.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +0 -15
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +0 -33
- package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +0 -17
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleCostRailEmptyArt.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +0 -17
- package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +0 -23
- package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +0 -10
- package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +0 -17
- package/dist/src/views/scheduling/components/ScheduleExportPreview.vue.d.ts +0 -7
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +0 -18
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +0 -18
- package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +0 -9
- package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +0 -26
- package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingClosedDayConfirm.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandDays.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingDoneArt.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +0 -11
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +0 -9
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +0 -11
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +0 -2
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +0 -70
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +0 -35
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +0 -10
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +0 -16
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +0 -25
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +0 -16
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +0 -50
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +0 -12
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +0 -8
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +0 -6
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +0 -20
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +0 -35
- package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +0 -7
- package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +0 -7
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +0 -51
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +0 -15
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +0 -82
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +0 -63
- package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +0 -9
- package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +0 -17
- package/dist/src/views/scheduling/composables/schedule-cost.d.ts +0 -24
- package/dist/src/views/scheduling/composables/schedule-currency.d.ts +0 -22
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +0 -21
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +0 -23
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +0 -7
- package/dist/src/views/scheduling/composables/schedule-error.d.ts +0 -1
- package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +0 -14
- package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +0 -9
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +0 -16
- package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +0 -23
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +0 -29
- package/dist/src/views/scheduling/composables/schedule-time.d.ts +0 -8
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +0 -9
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +0 -9
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +0 -16
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +0 -137
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +0 -75
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -50
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +0 -11
- package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +0 -13
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +0 -301
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +0 -615
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +0 -27
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +0 -28
- package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +0 -21
- package/dist/src/views/scheduling/composables/useScheduleCoach.d.ts +0 -80
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +0 -12
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +0 -60
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +0 -44
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -111
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +0 -59
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +0 -47
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -166
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +0 -55
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +0 -24
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +0 -13
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +0 -49
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +0 -7
- package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +0 -22
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +0 -50
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +0 -38
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +0 -32
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +0 -16
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +0 -18
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +0 -52
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +0 -14
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +0 -79
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +0 -60
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +0 -15
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +0 -58
- package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +0 -45
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +0 -231
- package/dist/src/views/scheduling/composables/useScheduleOnboardingFlow.d.ts +0 -9
- package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +0 -15
- package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +0 -11
- package/dist/src/views/scheduling/composables/useScheduleOnboardingPersistence.d.ts +0 -13
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +0 -1543
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +0 -25
- package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +0 -18
- package/dist/src/views/scheduling/composables/useSchedulePageBootstrap.d.ts +0 -9
- package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +0 -21
- package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +0 -20
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +0 -33
- package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +0 -22
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +0 -21
- package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +0 -19
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +0 -55
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +0 -35
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +0 -127
- package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +0 -11
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +0 -27
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +0 -313
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +0 -40
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +0 -17
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +0 -245
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +0 -63
- package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +0 -17
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +0 -255
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +0 -27
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +0 -49
- package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +0 -95
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +0 -9
- package/dist/src/views/scheduling/country-rules/index.d.ts +0 -33
- package/dist/src/views/scheduling/data.d.ts +0 -123
- package/dist/src/views/scheduling/locales/index.d.ts +0 -6988
- package/dist/src/views/scheduling/schedule-constants.d.ts +0 -7
- package/dist/src/views/scheduling/schedule-state.d.ts +0 -767
- package/dist/src/views/scheduling/schedule-store.d.ts +0 -140
- package/dist/src/views/scheduling/types.d.ts +0 -381
- package/dist/string-VNuQNweN.js +0 -15
- package/dist/useDiscardConfirm-CzZSPyvh.js +0 -28
- /package/dist/src/{components/layout/SchedulePromoBanner.vue.d.ts → views/my-pos-profile/MyPosProfile.vue.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as W, c as q, e as y } from "./iteration-
|
|
2
|
-
import {
|
|
1
|
+
import { s as W, c as q, e as y } from "./iteration-ZpERYj3o.js";
|
|
2
|
+
import { g, b as v, y as O, v as z, m as _, z as F, l as x, C as S, O as ee, D as B } from "./app-CdrnR_Pw.js";
|
|
3
3
|
import { s as se } from "./utils-BZkjJbju.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ref as S, computed as T } from "vue";
|
|
4
|
+
import { defineStore as V, storeToRefs as K } from "pinia";
|
|
5
|
+
import { ref as h, computed as J } from "vue";
|
|
7
6
|
import { useCoreStore as X } from "@feedmepos/mf-common";
|
|
7
|
+
import { u as te } from "./restaurant-CKhT6kgj.js";
|
|
8
8
|
const E = "/permission-sets", N = {
|
|
9
9
|
async read() {
|
|
10
10
|
return g(await v().get(E));
|
|
@@ -18,8 +18,8 @@ const E = "/permission-sets", N = {
|
|
|
18
18
|
async delete(e) {
|
|
19
19
|
return g(await v().delete(`${E}/${e}`));
|
|
20
20
|
}
|
|
21
|
-
}, ne =
|
|
22
|
-
const { currentBusiness: e } = X(), s =
|
|
21
|
+
}, ne = V("permissionSet", () => {
|
|
22
|
+
const { currentBusiness: e } = X(), s = h([]), r = h(!1), n = h(null);
|
|
23
23
|
async function i() {
|
|
24
24
|
var l;
|
|
25
25
|
const c = ((l = e.value) == null ? void 0 : l._id) ?? null;
|
|
@@ -38,7 +38,7 @@ const E = "/permission-sets", N = {
|
|
|
38
38
|
}
|
|
39
39
|
async function a(c, l) {
|
|
40
40
|
const d = await N.update(c, l);
|
|
41
|
-
s.value = u(s.value.map((
|
|
41
|
+
s.value = u(s.value.map((m) => m.id === c ? d : m));
|
|
42
42
|
}
|
|
43
43
|
async function o(c) {
|
|
44
44
|
await N.delete(c), s.value = u(s.value.filter((l) => l.id !== c));
|
|
@@ -92,30 +92,30 @@ function Q(e) {
|
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
d.setNames.push(a.name);
|
|
95
|
-
const
|
|
96
|
-
if (!
|
|
95
|
+
const m = D(d.conditions);
|
|
96
|
+
if (!m || !c) {
|
|
97
97
|
d.conditions = void 0;
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
|
-
for (const
|
|
101
|
-
(o = f
|
|
102
|
-
/* @__PURE__ */ new Set([...f
|
|
103
|
-
) : f
|
|
104
|
-
d.conditions = JSON.stringify(
|
|
100
|
+
for (const f in c)
|
|
101
|
+
(o = m[f]) != null && o.$in && (u = c[f]) != null && u.$in ? m[f].$in = Array.from(
|
|
102
|
+
/* @__PURE__ */ new Set([...m[f].$in, ...c[f].$in])
|
|
103
|
+
) : m[f] || (m[f] = c[f]);
|
|
104
|
+
d.conditions = JSON.stringify(m);
|
|
105
105
|
};
|
|
106
106
|
for (const i of e)
|
|
107
107
|
for (const t of i.permissions)
|
|
108
108
|
n(t.inverted ? r : s, t, i);
|
|
109
109
|
return [...Array.from(s.values()), ...Array.from(r.values())];
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function T(e, s) {
|
|
112
112
|
return `${e}::${[...s].sort().join(",")}`;
|
|
113
113
|
}
|
|
114
114
|
function G(e, s) {
|
|
115
115
|
const r = [...e], n = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
|
|
116
116
|
for (const o of e) {
|
|
117
117
|
const u = O(o.subject);
|
|
118
|
-
n.add(
|
|
118
|
+
n.add(T(u, o.actions)), o.inverted && o.actions.includes("manage") && i.add(`set_${u}`), !o.inverted && o.actions.includes("manage") && t.add(u);
|
|
119
119
|
}
|
|
120
120
|
const a = [...e];
|
|
121
121
|
for (; a.length > 0; ) {
|
|
@@ -125,12 +125,12 @@ function G(e, s) {
|
|
|
125
125
|
const l = ie(o);
|
|
126
126
|
o.source && !o.source.trace && (o.source = { ...o.source, trace: l });
|
|
127
127
|
const d = [...l, `${c.name} (system)`];
|
|
128
|
-
for (const
|
|
129
|
-
const
|
|
130
|
-
n.has(p) || t.has(
|
|
131
|
-
...
|
|
128
|
+
for (const m of c.permissions ?? []) {
|
|
129
|
+
const f = O(m.subject), p = T(f, m.actions);
|
|
130
|
+
n.has(p) || t.has(f) || (n.add(p), r.push({
|
|
131
|
+
...m,
|
|
132
132
|
// FdoPermissionRule.fields is string[] | null; RawRule expects string[] | undefined
|
|
133
|
-
fields:
|
|
133
|
+
fields: m.fields ?? void 0,
|
|
134
134
|
source: {
|
|
135
135
|
type: "systemPermissionSet",
|
|
136
136
|
permissionSetId: c.key,
|
|
@@ -139,9 +139,9 @@ function G(e, s) {
|
|
|
139
139
|
}
|
|
140
140
|
}));
|
|
141
141
|
}
|
|
142
|
-
for (const
|
|
143
|
-
const
|
|
144
|
-
subject:
|
|
142
|
+
for (const m of c.permissionSets ?? []) {
|
|
143
|
+
const f = O(m), p = T(f, ["manage"]), b = {
|
|
144
|
+
subject: f,
|
|
145
145
|
actions: ["manage"],
|
|
146
146
|
source: {
|
|
147
147
|
type: "systemPermissionSet",
|
|
@@ -226,28 +226,28 @@ function _e(e, s) {
|
|
|
226
226
|
JSON.stringify(l) !== JSON.stringify(d) && t.push(c);
|
|
227
227
|
continue;
|
|
228
228
|
}
|
|
229
|
-
const
|
|
230
|
-
(b) => !d[
|
|
229
|
+
const m = Object.keys(l)[0], f = l[m].$in.filter(
|
|
230
|
+
(b) => !d[m].$in.includes(b)
|
|
231
231
|
);
|
|
232
|
-
|
|
233
|
-
(b) => !l[
|
|
232
|
+
f.length > 0 && t.push(r(u, f)), d[m].$in.filter(
|
|
233
|
+
(b) => !l[m].$in.includes(b)
|
|
234
234
|
).length > 0 && t.push(c);
|
|
235
235
|
} else if (!u.conditions && c.conditions)
|
|
236
236
|
t.push(c);
|
|
237
237
|
else if (u.conditions && !c.conditions)
|
|
238
238
|
j(JSON.parse(u.conditions)) || t.push(c);
|
|
239
239
|
else if (!u.conditions && !c.conditions) {
|
|
240
|
-
const l = new Set(u.actions), d = new Set(c.actions),
|
|
241
|
-
if (
|
|
240
|
+
const l = new Set(u.actions), d = new Set(c.actions), m = c.actions.some((p) => !l.has(p)), f = u.actions.filter((p) => !d.has(p));
|
|
241
|
+
if (m) {
|
|
242
242
|
const p = c.actions.filter((b) => !l.has(b));
|
|
243
243
|
t.push({
|
|
244
244
|
...c,
|
|
245
245
|
actions: p
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
f.length > 0 && t.push({
|
|
249
249
|
...u,
|
|
250
|
-
actions:
|
|
250
|
+
actions: f,
|
|
251
251
|
inverted: !0
|
|
252
252
|
});
|
|
253
253
|
}
|
|
@@ -271,7 +271,7 @@ function _e(e, s) {
|
|
|
271
271
|
function Ee(e) {
|
|
272
272
|
const s = G(
|
|
273
273
|
e,
|
|
274
|
-
|
|
274
|
+
z
|
|
275
275
|
), r = new Set(
|
|
276
276
|
s.filter((i) => {
|
|
277
277
|
var t;
|
|
@@ -317,13 +317,13 @@ function Ue(e, s) {
|
|
|
317
317
|
if (!l || !d || !le(d, o))
|
|
318
318
|
return a.push(o), a;
|
|
319
319
|
if (l.has("manage")) return a;
|
|
320
|
-
const
|
|
321
|
-
if (
|
|
320
|
+
const m = o.actions;
|
|
321
|
+
if (m.includes("manage"))
|
|
322
322
|
return a.push(o), a;
|
|
323
|
-
const
|
|
323
|
+
const f = new Set(m);
|
|
324
324
|
for (const p of l)
|
|
325
|
-
|
|
326
|
-
return
|
|
325
|
+
f.delete(p);
|
|
326
|
+
return f.size === 0 || a.push({ ...o, actions: Array.from(f) }), a;
|
|
327
327
|
}, []);
|
|
328
328
|
}
|
|
329
329
|
function L(e, s) {
|
|
@@ -339,10 +339,10 @@ function L(e, s) {
|
|
|
339
339
|
r.delete(t.subject);
|
|
340
340
|
continue;
|
|
341
341
|
}
|
|
342
|
-
const l = Object.keys(c)[0], d = ((n = c[l]) == null ? void 0 : n.$in) ?? [],
|
|
343
|
-
|
|
342
|
+
const l = Object.keys(c)[0], d = ((n = c[l]) == null ? void 0 : n.$in) ?? [], f = (((i = u[l]) == null ? void 0 : i.$in) ?? []).filter((p) => !d.includes(p));
|
|
343
|
+
f.length > 0 ? r.set(t.subject, {
|
|
344
344
|
...o,
|
|
345
|
-
conditions: JSON.stringify({ [l]: { $in:
|
|
345
|
+
conditions: JSON.stringify({ [l]: { $in: f } })
|
|
346
346
|
}) : r.delete(t.subject);
|
|
347
347
|
} else
|
|
348
348
|
r.delete(t.subject);
|
|
@@ -407,8 +407,8 @@ const P = "/permission-assignments", I = {
|
|
|
407
407
|
await v().post("/my-permissions/report-manage", { permissionKey: e, label: s })
|
|
408
408
|
);
|
|
409
409
|
}
|
|
410
|
-
},
|
|
411
|
-
const e =
|
|
410
|
+
}, me = V("permissionAssignment", () => {
|
|
411
|
+
const e = h([]);
|
|
412
412
|
async function s() {
|
|
413
413
|
const o = await I.readAll();
|
|
414
414
|
e.value = o;
|
|
@@ -439,8 +439,8 @@ const P = "/permission-assignments", I = {
|
|
|
439
439
|
deletePermissionAssignment: t,
|
|
440
440
|
getPermissionAssignmentByUserId: a
|
|
441
441
|
};
|
|
442
|
-
}),
|
|
443
|
-
const e =
|
|
442
|
+
}), fe = () => {
|
|
443
|
+
const e = me();
|
|
444
444
|
return {
|
|
445
445
|
...e,
|
|
446
446
|
...K(e)
|
|
@@ -449,16 +449,16 @@ const P = "/permission-assignments", I = {
|
|
|
449
449
|
async fetchReportPermissions(e, s) {
|
|
450
450
|
const r = s ? { lang: s } : {};
|
|
451
451
|
return g(
|
|
452
|
-
await
|
|
452
|
+
await F().get(`/report-query/hrm/${e}/reports`, { params: r })
|
|
453
453
|
);
|
|
454
454
|
},
|
|
455
455
|
async fetchReportPermissionsForPortal(e, s) {
|
|
456
456
|
const r = s ? { isSupportPos: !1, lang: s } : { isSupportPos: !1 };
|
|
457
457
|
return g(
|
|
458
|
-
await
|
|
458
|
+
await F().get(`/report-query/hrm/${e}/reports`, { params: r })
|
|
459
459
|
);
|
|
460
460
|
}
|
|
461
|
-
}, U =
|
|
461
|
+
}, U = h([]), C = h(!1), R = h(!1), $ = h(null), k = h(null), M = h(!1);
|
|
462
462
|
function ge() {
|
|
463
463
|
const e = X();
|
|
464
464
|
async function s() {
|
|
@@ -466,9 +466,9 @@ function ge() {
|
|
|
466
466
|
const n = (t = e.currentBusiness.value) == null ? void 0 : t.id;
|
|
467
467
|
if (!n) return;
|
|
468
468
|
const i = localStorage.getItem("locale");
|
|
469
|
-
if ($.value !== n && (U.value = [], C.value = !1, R.value = !1, $.value = n,
|
|
469
|
+
if ($.value !== n && (U.value = [], C.value = !1, R.value = !1, $.value = n, M.value = !1), !(C.value && k.value === i)) {
|
|
470
470
|
if (R.value) {
|
|
471
|
-
|
|
471
|
+
M.value = !0;
|
|
472
472
|
return;
|
|
473
473
|
}
|
|
474
474
|
R.value = !0;
|
|
@@ -480,39 +480,39 @@ function ge() {
|
|
|
480
480
|
if ($.value !== n) return;
|
|
481
481
|
console.warn("Failed to fetch custom report permissions:", a), U.value = [];
|
|
482
482
|
} finally {
|
|
483
|
-
$.value === n && (R.value = !1,
|
|
483
|
+
$.value === n && (R.value = !1, M.value && (M.value = !1, await s()));
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
}
|
|
487
|
-
const r =
|
|
487
|
+
const r = J(() => U.value.map(
|
|
488
488
|
(n) => n.isDefault ? {
|
|
489
489
|
label: n.name,
|
|
490
490
|
subject: `business::report::reports::${n.permissionKey}`,
|
|
491
|
-
actions: [
|
|
492
|
-
category:
|
|
491
|
+
actions: [S.manage, S.read, S.create],
|
|
492
|
+
category: x.reports
|
|
493
493
|
} : {
|
|
494
494
|
label: n.name,
|
|
495
495
|
subject: `business::report::reports::${n.permissionKey}`,
|
|
496
496
|
actions: [
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
497
|
+
S.manage,
|
|
498
|
+
S.read,
|
|
499
|
+
S.create,
|
|
500
|
+
S.update,
|
|
501
|
+
S.delete
|
|
502
502
|
],
|
|
503
|
-
category:
|
|
503
|
+
category: x.customReports
|
|
504
504
|
}
|
|
505
505
|
));
|
|
506
506
|
return {
|
|
507
507
|
fetchCustomReportPermissions: s,
|
|
508
508
|
customReportPermissions: r,
|
|
509
|
-
isLoading:
|
|
510
|
-
isLoaded:
|
|
509
|
+
isLoading: J(() => R.value),
|
|
510
|
+
isLoaded: J(() => C.value)
|
|
511
511
|
};
|
|
512
512
|
}
|
|
513
513
|
function A(e) {
|
|
514
|
-
const s = re(), r =
|
|
515
|
-
(t == null ? void 0 : t.permissionSetIds) ?? [],
|
|
514
|
+
const s = re(), r = fe(), n = te().restaurants, { customReportPermissions: i } = ge(), t = r.getPermissionAssignmentByUserId(e.id), a = H(
|
|
515
|
+
(t == null ? void 0 : t.permissionSetIds) ?? e.permissionSetIds ?? [],
|
|
516
516
|
s.permissionSets.value
|
|
517
517
|
), o = Q(a).map(
|
|
518
518
|
({ setNames: p, ...b }) => b
|
|
@@ -521,23 +521,26 @@ function A(e) {
|
|
|
521
521
|
subject: O(p.subject)
|
|
522
522
|
})), l = L(o, c), d = G(
|
|
523
523
|
de(o, c),
|
|
524
|
-
|
|
525
|
-
).filter((p) => !p.inverted),
|
|
524
|
+
z
|
|
525
|
+
).filter((p) => !p.inverted), m = Y(d), f = m ?? n.value.map((p) => p._id);
|
|
526
526
|
return {
|
|
527
527
|
doc: e,
|
|
528
528
|
id: e.id,
|
|
529
|
-
|
|
529
|
+
// An invite's name is the admin's, or its sign-in key when it has none.
|
|
530
|
+
name: e.status === "invited" ? e.name || "-" : e.name && e.name !== e.email && e.name !== e.phoneNumber ? e.name : "-",
|
|
530
531
|
phoneNumber: e.phoneNumber,
|
|
531
532
|
email: e.email,
|
|
532
533
|
restaurants: W(
|
|
533
|
-
|
|
534
|
+
f.map((p) => {
|
|
534
535
|
var b;
|
|
535
536
|
return ((b = n.value.find((Z) => Z._id === p)) == null ? void 0 : b.profile.name) ?? "";
|
|
536
537
|
})
|
|
537
538
|
),
|
|
538
|
-
managableRestaurantIds:
|
|
539
|
-
permissionLabels:
|
|
540
|
-
permissions: l
|
|
539
|
+
managableRestaurantIds: m,
|
|
540
|
+
permissionLabels: Se(d, i.value),
|
|
541
|
+
permissions: l,
|
|
542
|
+
status: e.status ?? "active",
|
|
543
|
+
loginMethod: e.loginMethod ?? "feedme"
|
|
541
544
|
};
|
|
542
545
|
}
|
|
543
546
|
const ve = Object.freeze(
|
|
@@ -549,7 +552,7 @@ const ve = Object.freeze(
|
|
|
549
552
|
).map(A);
|
|
550
553
|
},
|
|
551
554
|
async readTeamMembersPage(e) {
|
|
552
|
-
var r, n, i;
|
|
555
|
+
var r, n, i, t, a;
|
|
553
556
|
const s = g(
|
|
554
557
|
await v().get("/portal-users/paged", {
|
|
555
558
|
params: {
|
|
@@ -558,7 +561,9 @@ const ve = Object.freeze(
|
|
|
558
561
|
search: e.search,
|
|
559
562
|
restaurantIds: (r = e.restaurantIds) != null && r.length ? e.restaurantIds : void 0,
|
|
560
563
|
permissionSubjects: (n = e.permissionSubjects) != null && n.length ? e.permissionSubjects : void 0,
|
|
561
|
-
permissionSetIds: (i = e.permissionSetIds) != null && i.length ? e.permissionSetIds : void 0
|
|
564
|
+
permissionSetIds: (i = e.permissionSetIds) != null && i.length ? e.permissionSetIds : void 0,
|
|
565
|
+
statuses: (t = e.statuses) != null && t.length ? e.statuses : void 0,
|
|
566
|
+
loginMethods: (a = e.loginMethods) != null && a.length ? e.loginMethods : void 0
|
|
562
567
|
}
|
|
563
568
|
})
|
|
564
569
|
);
|
|
@@ -597,9 +602,9 @@ const ve = Object.freeze(
|
|
|
597
602
|
)}`;
|
|
598
603
|
}
|
|
599
604
|
};
|
|
600
|
-
function
|
|
605
|
+
function Me(e, s, r) {
|
|
601
606
|
if (e.some((a) => a.subject === "all")) return "All";
|
|
602
|
-
const n = (r ??
|
|
607
|
+
const n = (r ?? B).filter(
|
|
603
608
|
(a) => a.subject === s
|
|
604
609
|
), i = new Set(n.map((a) => w(a).value)), t = e.filter((a) => a.subject === s).filter((a) => i.has(w(a).value));
|
|
605
610
|
return t.length === n.length ? "All" : t.length === 0 ? "-" : `${t.length} permission allow`;
|
|
@@ -660,7 +665,7 @@ function w(e) {
|
|
|
660
665
|
}
|
|
661
666
|
};
|
|
662
667
|
}
|
|
663
|
-
function
|
|
668
|
+
function Je(e) {
|
|
664
669
|
var n, i;
|
|
665
670
|
const s = e.map((t) => w(t)).find((t) => t.isDiscountOperation);
|
|
666
671
|
if (!s) return 100;
|
|
@@ -673,10 +678,10 @@ function Y(e) {
|
|
|
673
678
|
);
|
|
674
679
|
return s ? s.conditions ? JSON.parse(s.conditions).restaurantId.$in : null : [];
|
|
675
680
|
}
|
|
676
|
-
function
|
|
681
|
+
function Te(e, s) {
|
|
677
682
|
return s.isOwner ? { restaurantIds: null, roleIds: null } : { restaurantIds: Y(e), roleIds: be(e) };
|
|
678
683
|
}
|
|
679
|
-
function
|
|
684
|
+
function Be(e) {
|
|
680
685
|
return (e == null ? void 0 : e.some((s) => s.subject === "all")) ?? !1;
|
|
681
686
|
}
|
|
682
687
|
function be(e) {
|
|
@@ -691,7 +696,7 @@ function Le(e) {
|
|
|
691
696
|
}
|
|
692
697
|
function Fe(e, s, r) {
|
|
693
698
|
return e.flatMap((n) => {
|
|
694
|
-
const i =
|
|
699
|
+
const i = he(n);
|
|
695
700
|
if (!i) return [];
|
|
696
701
|
const t = i.isReportPermission ? r == null ? void 0 : r.get(n) : void 0;
|
|
697
702
|
return [
|
|
@@ -707,11 +712,11 @@ function Fe(e, s, r) {
|
|
|
707
712
|
];
|
|
708
713
|
});
|
|
709
714
|
}
|
|
710
|
-
function
|
|
715
|
+
function he(e) {
|
|
711
716
|
const s = e.indexOf(":"), r = s === -1 ? e : e.slice(0, s), n = s === -1 ? void 0 : e.slice(s + 1);
|
|
712
717
|
if (s !== -1 && !n) return;
|
|
713
718
|
let i;
|
|
714
|
-
return n ? (i =
|
|
719
|
+
return n ? (i = B.find((t) => {
|
|
715
720
|
if (t.subject !== r) return !1;
|
|
716
721
|
const a = typeof t.conditions == "string" ? JSON.parse(t.conditions) : t.conditions;
|
|
717
722
|
return [a == null ? void 0 : a.operation, a == null ? void 0 : a.name].includes(n);
|
|
@@ -722,7 +727,7 @@ function Se(e) {
|
|
|
722
727
|
conditions: { name: n },
|
|
723
728
|
inverted: !1,
|
|
724
729
|
reason: ""
|
|
725
|
-
})) : i =
|
|
730
|
+
})) : i = B.find((t) => t.subject === r), i ? w(i) : void 0;
|
|
726
731
|
}
|
|
727
732
|
function xe(e, s) {
|
|
728
733
|
const r = { values: [], passthrough: [], dropped: [] };
|
|
@@ -737,7 +742,7 @@ function xe(e, s) {
|
|
|
737
742
|
}
|
|
738
743
|
return r;
|
|
739
744
|
}
|
|
740
|
-
function
|
|
745
|
+
function Se(e, s = []) {
|
|
741
746
|
return W(
|
|
742
747
|
e.reduce((r, n) => {
|
|
743
748
|
const i = ve.find(
|
|
@@ -755,28 +760,28 @@ export {
|
|
|
755
760
|
G as N,
|
|
756
761
|
Q as P,
|
|
757
762
|
pe as R,
|
|
758
|
-
|
|
763
|
+
Me as a,
|
|
759
764
|
de as b,
|
|
760
765
|
H as c,
|
|
761
766
|
ge as d,
|
|
762
767
|
Le as e,
|
|
763
768
|
Fe as f,
|
|
764
|
-
|
|
765
|
-
|
|
769
|
+
Je as g,
|
|
770
|
+
Be as h,
|
|
766
771
|
oe as i,
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
772
|
+
Te as j,
|
|
773
|
+
fe as k,
|
|
774
|
+
Ne as l,
|
|
770
775
|
Ae as m,
|
|
771
|
-
|
|
772
|
-
|
|
776
|
+
Ue as n,
|
|
777
|
+
Ee as o,
|
|
773
778
|
ve as p,
|
|
774
|
-
|
|
779
|
+
_e as q,
|
|
775
780
|
w as r,
|
|
776
781
|
xe as s,
|
|
777
782
|
Ce as t,
|
|
778
783
|
re as u,
|
|
779
|
-
|
|
784
|
+
Se as v,
|
|
780
785
|
Oe as w,
|
|
781
786
|
Y as x,
|
|
782
787
|
be as y
|
|
@@ -12,8 +12,6 @@ declare const AuditLogAPI: {
|
|
|
12
12
|
search?: string;
|
|
13
13
|
searchUserIds?: string[];
|
|
14
14
|
searchSubjects?: string[];
|
|
15
|
-
sources?: string[];
|
|
16
|
-
restaurantIds?: string[];
|
|
17
15
|
}): Promise<number>;
|
|
18
16
|
read(params?: {
|
|
19
17
|
limit?: number;
|
|
@@ -29,8 +27,6 @@ declare const AuditLogAPI: {
|
|
|
29
27
|
search?: string;
|
|
30
28
|
searchUserIds?: string[];
|
|
31
29
|
searchSubjects?: string[];
|
|
32
|
-
sources?: string[];
|
|
33
|
-
restaurantIds?: string[];
|
|
34
30
|
}): Promise<AuditLogEntry[]>;
|
|
35
31
|
/**
|
|
36
32
|
* FeedMe-admin options for the User filter. `actors` is the named admin list (internal
|
|
@@ -7,8 +7,8 @@ export interface IGeneratePasscodeParams {
|
|
|
7
7
|
declare const EmployeeAPI: {
|
|
8
8
|
readEmployees(): Promise<IFdtoPosUser[]>;
|
|
9
9
|
readEmployeesPage(query: IReadEmployeesPageReq): Promise<IFdtoEmployeePage>;
|
|
10
|
-
createEmployee(dto: FdtoUpdatePosUserReq): Promise<
|
|
11
|
-
createMasterEmployee(dto: FdtoUpdatePosMasterUserReq): Promise<
|
|
10
|
+
createEmployee(dto: FdtoUpdatePosUserReq): Promise<void>;
|
|
11
|
+
createMasterEmployee(dto: FdtoUpdatePosMasterUserReq): Promise<void>;
|
|
12
12
|
migrateToMasterEmployee(employeeId: string, dto: FdtoUpdatePosMasterUserReq): Promise<void>;
|
|
13
13
|
updateEmployee(employeeId: string, dto: FdtoUpdatePosUserReq): Promise<void>;
|
|
14
14
|
updateMasterEmployee(employeeId: string, dto: FdtoUpdatePosMasterUserReq): Promise<void>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { FdtoMyPosPasscode, FdtoMyPosProfile, FdtoRegenerateMyPosPasscodeRes } from '@/types/my-pos-profile';
|
|
2
|
+
export declare const readMyPosProfile: () => Promise<FdtoMyPosProfile>;
|
|
3
|
+
/** D50: the signed-in user's own current passcode. */
|
|
4
|
+
export declare const readMyPosPasscode: () => Promise<FdtoMyPosPasscode>;
|
|
5
|
+
export declare const regenerateMyPosPasscode: () => Promise<FdtoRegenerateMyPosPasscodeRes>;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import type { HrmRestaurant } from '@/types/restaurant';
|
|
2
|
-
import type { FdtoScheduleDayOperatingHours } from '@feedmepos/hrm-schedule-contract';
|
|
3
2
|
declare const RestaurantAPI: {
|
|
4
3
|
readRestaurants(): Promise<HrmRestaurant[]>;
|
|
5
|
-
saveOperationalHours(restaurantId: string, operatingHours: FdtoScheduleDayOperatingHours[]): Promise<void>;
|
|
6
4
|
};
|
|
7
5
|
export default RestaurantAPI;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { IFdtoCreateStaffInviteReq, IFdtoCreateStaffInviteRes, IFdtoResendStaffInviteRes, IFdtoStaffInvite, IFdtoStaffInviteLookup, IFdtoStaffInviteProvider, IFdtoUpdateStaffInviteReq } from '@/types/staff-invite';
|
|
2
|
+
declare const StaffInviteAPI: {
|
|
3
|
+
readProviders(): Promise<IFdtoStaffInviteProvider[]>;
|
|
4
|
+
readInvites(status?: IFdtoStaffInvite["status"]): Promise<IFdtoStaffInvite[]>;
|
|
5
|
+
lookup(key: {
|
|
6
|
+
mobile: string;
|
|
7
|
+
} | {
|
|
8
|
+
email: string;
|
|
9
|
+
}, provider?: string): Promise<IFdtoStaffInviteLookup | null>;
|
|
10
|
+
createInvite(req: IFdtoCreateStaffInviteReq): Promise<IFdtoCreateStaffInviteRes>;
|
|
11
|
+
updateInvite(id: string, req: IFdtoUpdateStaffInviteReq): Promise<IFdtoStaffInvite>;
|
|
12
|
+
revokeInvite(id: string): Promise<{
|
|
13
|
+
ok: true;
|
|
14
|
+
}>;
|
|
15
|
+
resendInvite(id: string): Promise<IFdtoResendStaffInviteRes>;
|
|
16
|
+
};
|
|
17
|
+
export default StaffInviteAPI;
|
|
@@ -12,7 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
12
12
|
default: undefined;
|
|
13
13
|
};
|
|
14
14
|
required: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
inline: {
|
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
25
25
|
default: undefined;
|
|
26
26
|
};
|
|
27
27
|
required: {
|
|
28
|
-
type: (
|
|
28
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
31
|
inline: {
|
|
@@ -44,7 +44,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
44
44
|
required: true;
|
|
45
45
|
};
|
|
46
46
|
showAllToggle: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
50
|
includeDisabledOptionsWhenSelectAll: {
|
|
@@ -99,7 +99,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
99
99
|
required: true;
|
|
100
100
|
};
|
|
101
101
|
showAllToggle: {
|
|
102
|
-
type: (
|
|
102
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
103
103
|
default: boolean;
|
|
104
104
|
};
|
|
105
105
|
includeDisabledOptionsWhenSelectAll: {
|
|
@@ -2,17 +2,25 @@ interface Props {
|
|
|
2
2
|
title?: string;
|
|
3
3
|
subtitle?: string;
|
|
4
4
|
initiallyCollapsed?: boolean;
|
|
5
|
+
/**
|
|
6
|
+
* 'trailing': toggle on the right, subtitle beside the title while collapsed.
|
|
7
|
+
* 'leading': chevron before the title, subtitle always under it (member sheet cards).
|
|
8
|
+
*/
|
|
9
|
+
layout?: 'trailing' | 'leading';
|
|
5
10
|
}
|
|
6
|
-
declare var
|
|
11
|
+
declare var __VLS_5: {}, __VLS_7: {}, __VLS_13: {};
|
|
7
12
|
type __VLS_Slots = {} & {
|
|
8
|
-
title?: (props: typeof
|
|
13
|
+
title?: (props: typeof __VLS_5) => any;
|
|
9
14
|
} & {
|
|
10
|
-
|
|
15
|
+
title?: (props: typeof __VLS_7) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_13) => any;
|
|
11
18
|
};
|
|
12
19
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
20
|
title: string;
|
|
14
21
|
subtitle: string;
|
|
15
22
|
initiallyCollapsed: boolean;
|
|
23
|
+
layout: "trailing" | "leading";
|
|
16
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
25
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
18
26
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
3
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
4
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & ({
|
|
5
|
+
items: {
|
|
6
|
+
label: string;
|
|
7
|
+
value: T;
|
|
8
|
+
}[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
} & {
|
|
11
|
+
modelValue: T;
|
|
12
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
13
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
14
|
+
attrs: any;
|
|
15
|
+
slots: {};
|
|
16
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
17
|
+
}>) => import("vue").VNode & {
|
|
18
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_PrettifyLocal<T> = {
|
|
22
|
+
[K in keyof T]: T[K];
|
|
23
|
+
} & {};
|