@feedmepos/mf-hrm-portal 2.3.2-dev → 2.3.2-dev.2
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-xOyDG5ug.js → ApprovalCodeList-sHnINTik.js} +14 -15
- package/dist/AuditLogList-C9C2emU9.js +1950 -0
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Cixg_icC.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BbsPesWY.js} +2 -2
- package/dist/{EmployeeList-BG2KPvOB.js → EmployeeList-D4oy5hXz.js} +196 -208
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js +90 -0
- package/dist/{GrantUserList-CUkuf3VV.js → GrantUserList-LWpqhl-5.js} +15 -16
- package/dist/{Main-BcixH7R5.js → Main-BWKb-QIE.js} +11 -11
- package/dist/{Main-BSHf8gTE.js → Main-CVGiOYpC.js} +12 -11
- package/dist/{Main-Cg9SOzcz.js → Main-PBJjfzBg.js} +5 -5
- package/dist/{MyPosProfile-CN8Bj3aV.js → MyPosProfile-BQCBFMFw.js} +1 -1
- package/dist/{PermissionSetList-I3u2_qHR.js → PermissionSetList-D2qZVlF4.js} +32 -31
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBoRXQPn.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js} +927 -927
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js +1831 -0
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
- package/dist/RoleForm.vue_vue_type_script_setup_true_lang-DFDTw0lj.js +547 -0
- package/dist/RoleList-DG0crFzW.js +274 -0
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Cs0rhCa3.js +544 -0
- package/dist/ScheduleGeneralPage-C4J6jYtG.js +811 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-3UqO6uPu.js +2557 -0
- package/dist/SchedulePage-ICzggri0.js +19458 -0
- package/dist/SchedulePositionPage-BshUCd_C.js +282 -0
- package/dist/SelectFilter-D9T0nFvG.js +264 -0
- package/dist/TeamMemberList-C970Iqlj.js +2086 -0
- package/dist/{TimesheetList-CECFKt7H.js → TimesheetList-nxhr0EWj.js} +10 -10
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-RIyoAmeb.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js} +3 -3
- package/dist/{app-CdrnR_Pw.js → app-n6d4AmtP.js} +12373 -4651
- package/dist/app.js +1 -1
- package/dist/{approval-code-Bwvwehz9.js → approval-code-1j1OoXt1.js} +1 -1
- package/dist/{dayjs.min-BO8bcI17.js → dayjs.min-DdNivv4b.js} +26 -26
- package/dist/{employee-Dg-J9goA.js → employee-BlfleiCU.js} +40 -35
- package/dist/{grant-user-whFOaPZI.js → grant-user-BmTyexk3.js} +1 -1
- package/dist/{iteration-ZpERYj3o.js → iteration-y_jodvfN.js} +1 -1
- package/dist/{lodash-7SZBZ8VQ.js → lodash-B2eWEGH4.js} +1 -1
- package/dist/{member-grant-C46lvrh2.js → member-grant-CzZUdO_s.js} +2 -2
- package/dist/object-Dwyg2LgX.js +16 -0
- package/dist/restaurant-Dl6yx37M.js +51 -0
- package/dist/{role-C6hFKOfU.js → role-DfZi7Ssk.js} +3 -3
- package/dist/{rule-BlMymDXm.js → rule-ChmhcGgA.js} +13 -13
- package/dist/src/api/audit-log/index.d.ts +4 -0
- package/dist/src/api/employee/index.d.ts +2 -2
- package/dist/src/api/restaurant/index.d.ts +2 -0
- package/dist/src/api/schedule/index.d.ts +68 -0
- package/dist/src/api/sso-provider/index.d.ts +5 -0
- package/dist/src/api/staff-invite/index.d.ts +1 -2
- package/dist/src/components/AppForm.vue.d.ts +2 -2
- package/dist/src/components/CheckboxInput.vue.d.ts +2 -2
- package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
- package/dist/src/components/layout/SchedulePromoBanner.vue.d.ts +2 -0
- package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
- package/dist/src/composables/useDiscardConfirm.d.ts +3 -1
- package/dist/src/composables/useMessage.d.ts +8 -2
- package/dist/src/composables/useSsoProviders.d.ts +19 -0
- package/dist/src/composables/useStaffInviteProviders.d.ts +1 -12
- package/dist/src/helpers/pos-assignment-rows.d.ts +2 -0
- package/dist/src/helpers/staff-invite.d.ts +3 -0
- package/dist/src/router/shared.d.ts +3 -0
- package/dist/src/stores/employee.d.ts +12 -12
- package/dist/src/types/employee.d.ts +1 -0
- package/dist/src/types/schedule.d.ts +23 -0
- package/dist/src/types/sso-provider.d.ts +10 -0
- package/dist/src/views/audit-log/constants.d.ts +9 -30
- package/dist/src/views/audit-log/locales/index.d.ts +488 -0
- package/dist/src/views/audit-log/pos-row.d.ts +27 -0
- package/dist/src/views/hr/locales/index.d.ts +20 -0
- package/dist/src/views/hr/role/RoleForm.vue.d.ts +29 -2
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +3 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +41 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDoneArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +31 -0
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +29 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +34 -0
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +26 -0
- package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleCloneOutletModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleCoach.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +15 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +33 -0
- package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleCostRailEmptyArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleExportPreview.vue.d.ts +7 -0
- package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +18 -0
- package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +9 -0
- package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingClosedDayConfirm.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandDays.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingDoneArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +11 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +9 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +11 -0
- package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +70 -0
- package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +35 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +50 -0
- package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +8 -0
- package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +20 -0
- package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +35 -0
- package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +7 -0
- package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +7 -0
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +51 -0
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +15 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +82 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +63 -0
- package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +9 -0
- package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +17 -0
- package/dist/src/views/scheduling/composables/schedule-cost.d.ts +24 -0
- package/dist/src/views/scheduling/composables/schedule-currency.d.ts +22 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +21 -0
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +23 -0
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-error.d.ts +1 -0
- package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-leave-split.d.ts +9 -0
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
- package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +23 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +29 -0
- package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +137 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +75 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +301 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +615 -0
- package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +28 -0
- package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useScheduleCoach.d.ts +80 -0
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +12 -0
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +60 -0
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +44 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +111 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +59 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +47 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +166 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +55 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +24 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +49 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +38 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +32 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +52 -0
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +79 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +60 -0
- package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +58 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +231 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingFlow.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +15 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingPersistence.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1543 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useSchedulePageBootstrap.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +33 -0
- package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +21 -0
- package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +55 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +127 -0
- package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +313 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +40 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +245 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +63 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +255 -0
- package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +27 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +49 -0
- package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +95 -0
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
- package/dist/src/views/scheduling/country-rules/index.d.ts +33 -0
- package/dist/src/views/scheduling/data.d.ts +123 -0
- package/dist/src/views/scheduling/locales/index.d.ts +6988 -0
- package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
- package/dist/src/views/scheduling/schedule-state.d.ts +767 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +140 -0
- package/dist/src/views/scheduling/types.d.ts +381 -0
- package/dist/src/views/team/components/MemberGrantFields.vue.d.ts +2 -6
- package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
- package/dist/src/views/team/components/PosAssignmentRows.vue.d.ts +0 -2
- package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +0 -2
- package/dist/src/views/team/member/TeamMemberMasterUser.vue.d.ts +0 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CL6EEDuw.js → useAppStore-BPARQyvJ.js} +1 -1
- package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
- package/dist/{useLoading-BBjBUzGJ.js → useLoading-iPESFb6R.js} +1 -1
- package/dist/{useReportPermissions-Bg0fma6m.js → useReportPermissions-By-BoJZb.js} +5 -5
- package/package.json +5 -3
- package/dist/AuditLogList-Dd6HyFhk.js +0 -1777
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js +0 -45
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
- package/dist/PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-B5QDOF0L.js +0 -1840
- package/dist/RoleList-ALmAwN0U.js +0 -739
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
- package/dist/TeamMemberList-DZfEnOs1.js +0 -2097
- package/dist/restaurant-CKhT6kgj.js +0 -45
- package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { createElementBlock as s, openBlock as o, createElementVNode as n, ref as y, computed as h, defineComponent as d, renderSlot as r, createCommentVNode as i, toDisplayString as a, normalizeClass as m, createVNode as _, withCtx as b } from "vue";
|
|
2
|
+
import { a as x } from "./app-n6d4AmtP.js";
|
|
3
|
+
const $ = {};
|
|
4
|
+
function k(e, t) {
|
|
5
|
+
return o(), s("div", null, [...t[0] || (t[0] = [
|
|
6
|
+
n("div", { class: "h-px w-full bg-fm-color-neutral-gray-100" }, null, -1)
|
|
7
|
+
])]);
|
|
8
|
+
}
|
|
9
|
+
const E = /* @__PURE__ */ x($, [["render", k]]), H = (e) => {
|
|
10
|
+
const t = y("");
|
|
11
|
+
function l(c) {
|
|
12
|
+
return `${c}`.trim().toLowerCase();
|
|
13
|
+
}
|
|
14
|
+
const u = h(() => l(t.value));
|
|
15
|
+
function f(c) {
|
|
16
|
+
return u.value ? c.some((p) => l(p).includes(u.value)) : !0;
|
|
17
|
+
}
|
|
18
|
+
return { searchKey: t, filter: f };
|
|
19
|
+
}, v = { class: "space-y-8" }, w = { class: "flex items-center justify-between" }, C = { class: "space-y-8" }, S = { class: "fm-typo-en-body-lg-600" }, g = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
22
|
+
}, K = /* @__PURE__ */ d({
|
|
23
|
+
__name: "FormItem",
|
|
24
|
+
props: {
|
|
25
|
+
label: {},
|
|
26
|
+
description: {}
|
|
27
|
+
},
|
|
28
|
+
setup(e) {
|
|
29
|
+
return (t, l) => (o(), s("div", v, [
|
|
30
|
+
n("div", w, [
|
|
31
|
+
n("div", C, [
|
|
32
|
+
n("p", S, a(e.label), 1),
|
|
33
|
+
e.description ? (o(), s("p", g, a(e.description), 1)) : i("", !0)
|
|
34
|
+
]),
|
|
35
|
+
r(t.$slots, "append")
|
|
36
|
+
]),
|
|
37
|
+
r(t.$slots, "default")
|
|
38
|
+
]));
|
|
39
|
+
}
|
|
40
|
+
}), B = /* @__PURE__ */ d({
|
|
41
|
+
__name: "FormColumn",
|
|
42
|
+
props: {
|
|
43
|
+
shrinkable: { type: Boolean }
|
|
44
|
+
},
|
|
45
|
+
setup(e) {
|
|
46
|
+
return (t, l) => (o(), s("div", {
|
|
47
|
+
class: m(["flex-1 flex flex-col space-y-24", { "min-h-0": e.shrinkable }])
|
|
48
|
+
}, [
|
|
49
|
+
r(t.$slots, "default")
|
|
50
|
+
], 2));
|
|
51
|
+
}
|
|
52
|
+
}), V = {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "flex flex-row justify-between items-center"
|
|
55
|
+
}, F = { class: "space-y-4" }, N = { class: "fm-typo-en-title-sm-600" }, T = {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
58
|
+
}, D = /* @__PURE__ */ d({
|
|
59
|
+
__name: "FormSection",
|
|
60
|
+
props: {
|
|
61
|
+
title: {},
|
|
62
|
+
subTitle: {},
|
|
63
|
+
shrinkable: { type: Boolean }
|
|
64
|
+
},
|
|
65
|
+
setup(e) {
|
|
66
|
+
return (t, l) => (o(), s("div", {
|
|
67
|
+
class: m(["flex flex-col space-y-16", { "min-h-0": e.shrinkable }])
|
|
68
|
+
}, [
|
|
69
|
+
e.title ? (o(), s("div", V, [
|
|
70
|
+
n("div", F, [
|
|
71
|
+
n("p", N, a(e.title), 1),
|
|
72
|
+
e.subTitle ? (o(), s("p", T, a(e.subTitle), 1)) : i("", !0)
|
|
73
|
+
]),
|
|
74
|
+
r(t.$slots, "append-title")
|
|
75
|
+
])) : i("", !0),
|
|
76
|
+
_(B, { shrinkable: e.shrinkable }, {
|
|
77
|
+
default: b(() => [
|
|
78
|
+
r(t.$slots, "default")
|
|
79
|
+
]),
|
|
80
|
+
_: 3
|
|
81
|
+
}, 8, ["shrinkable"])
|
|
82
|
+
], 2));
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
export {
|
|
86
|
+
E as H,
|
|
87
|
+
D as _,
|
|
88
|
+
K as a,
|
|
89
|
+
H as u
|
|
90
|
+
};
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { defineComponent as X, ref as S, computed as f, watch as ue, resolveComponent as v, createElementBlock as D, openBlock as w, Fragment as E, renderSlot as de, createVNode as l, unref as s, withCtx as g, createElementVNode as o, toDisplayString as _, isRef as H, renderList as me, createBlock as pe, createCommentVNode as fe, withModifiers as W, createTextVNode as J, normalizeClass as ve, h as p } from "vue";
|
|
2
|
-
import { d as ge } from "./dayjs.min-
|
|
2
|
+
import { d as ge } from "./dayjs.min-DdNivv4b.js";
|
|
3
3
|
import { useI18n as Z } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ee, components as K, useDialog as _e, useBreakpoints as ye, FmButtonVariant as O } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as A } from "./SelectFilter-
|
|
6
|
-
import { _ as he } from "./app-
|
|
7
|
-
import { _ as Q, u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { u as te } from "./useLoading-
|
|
10
|
-
import { u as ae } from "./grant-user-
|
|
11
|
-
import { u as se } from "./restaurant-
|
|
12
|
-
import { u as re } from "./role-
|
|
13
|
-
import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
|
|
5
|
+
import { S as A } from "./SelectFilter-D9T0nFvG.js";
|
|
6
|
+
import { _ as he } from "./app-n6d4AmtP.js";
|
|
7
|
+
import { _ as Ue, a as Q, u as xe, H as be } from "./FormSection.vue_vue_type_script_setup_true_lang-Cl053Tg1.js";
|
|
8
|
+
import { _ as Ve } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
|
+
import { u as te } from "./useLoading-iPESFb6R.js";
|
|
10
|
+
import { u as ae } from "./grant-user-BmTyexk3.js";
|
|
11
|
+
import { u as se } from "./restaurant-Dl6yx37M.js";
|
|
12
|
+
import { u as re } from "./role-DfZi7Ssk.js";
|
|
14
13
|
const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, we = { class: "flex gap-8 items-center justify-start" }, Se = /* @__PURE__ */ X({
|
|
15
14
|
__name: "GrantUserForm",
|
|
16
15
|
setup(le, { expose: M }) {
|
|
@@ -88,7 +87,7 @@ const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, w
|
|
|
88
87
|
]),
|
|
89
88
|
default: g(() => [
|
|
90
89
|
o("div", Fe, [
|
|
91
|
-
l(
|
|
90
|
+
l(Ue, {
|
|
92
91
|
title: s(d)("grantUser.form.section")
|
|
93
92
|
}, {
|
|
94
93
|
default: g(() => [
|
|
@@ -172,7 +171,7 @@ const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, w
|
|
|
172
171
|
}, Ee = {
|
|
173
172
|
key: 0,
|
|
174
173
|
class: "flex flex-col gap-4"
|
|
175
|
-
},
|
|
174
|
+
}, st = /* @__PURE__ */ X({
|
|
176
175
|
__name: "GrantUserList",
|
|
177
176
|
setup(le, {
|
|
178
177
|
expose: M
|
|
@@ -186,7 +185,7 @@ const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, w
|
|
|
186
185
|
} = re(), h = f(() => x.grantUsers), {
|
|
187
186
|
searchKey: n,
|
|
188
187
|
filter: B
|
|
189
|
-
} =
|
|
188
|
+
} = xe(), U = f(() => {
|
|
190
189
|
var e;
|
|
191
190
|
return (e = h.value) == null ? void 0 : e.filter((t) => {
|
|
192
191
|
const m = !y.value || y.value.includes(t.restaurantId), G = !k.value || k.value.includes(t.status), L = b.value[t.restaurantId] || "", j = V.value[t.roleId] || "";
|
|
@@ -395,7 +394,7 @@ const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, w
|
|
|
395
394
|
"onUpdate:modelValue": t[3] || (t[3] = (r) => H(n) ? n.value = r : null),
|
|
396
395
|
autofocus: "",
|
|
397
396
|
placeholder: s(a)("grantUser.search.placeholder")
|
|
398
|
-
}, null, 8, ["modelValue", "placeholder"])]), l(
|
|
397
|
+
}, null, 8, ["modelValue", "placeholder"])]), l(be), o("div", Re, [l(A, {
|
|
399
398
|
modelValue: y.value,
|
|
400
399
|
"onUpdate:modelValue": t[4] || (t[4] = (r) => y.value = r),
|
|
401
400
|
multiple: "",
|
|
@@ -413,7 +412,7 @@ const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, w
|
|
|
413
412
|
"selected-prefix": s(a)("grantUser.filter.selected_status_prefix"),
|
|
414
413
|
placeholder: s(a)("grantUser.filter.status_placeholder")
|
|
415
414
|
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])])]), l(he, null, {
|
|
416
|
-
default: g(() => [o("div", ze, [l(
|
|
415
|
+
default: g(() => [o("div", ze, [l(Ve, {
|
|
417
416
|
"is-loading": s(x).isLoading,
|
|
418
417
|
"is-empty": U.value.length === 0,
|
|
419
418
|
title: s(a)("grantUser.noData.title"),
|
|
@@ -460,5 +459,5 @@ const ke = { class: "fm-typo-en-title-md-600" }, Fe = { class: "space-y-40" }, w
|
|
|
460
459
|
}
|
|
461
460
|
});
|
|
462
461
|
export {
|
|
463
|
-
|
|
462
|
+
st as default
|
|
464
463
|
};
|
|
@@ -4,19 +4,19 @@ import { useCoreStore as uf, useI18n as vf } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useSnackbar as pf } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as df } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-QrqYEy8i.js";
|
|
6
6
|
import { _ as mf } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
7
|
-
import { u as gf } from "./restaurant-
|
|
8
|
-
import { u as _f } from "./role-
|
|
7
|
+
import { u as gf } from "./restaurant-Dl6yx37M.js";
|
|
8
|
+
import { u as _f } from "./role-DfZi7Ssk.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import "./employee-
|
|
11
|
-
import "./lodash-
|
|
12
|
-
import "./useAppStore-
|
|
13
|
-
import "./iteration-
|
|
10
|
+
import "./employee-BlfleiCU.js";
|
|
11
|
+
import "./lodash-B2eWEGH4.js";
|
|
12
|
+
import "./useAppStore-BPARQyvJ.js";
|
|
13
|
+
import "./iteration-y_jodvfN.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
import { R as pt } from "./app-
|
|
16
|
-
import "./rule-
|
|
17
|
-
import "./useReportPermissions-
|
|
18
|
-
import "./dayjs.min-
|
|
19
|
-
import "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-
|
|
15
|
+
import { R as pt } from "./app-n6d4AmtP.js";
|
|
16
|
+
import "./rule-ChmhcGgA.js";
|
|
17
|
+
import "./useReportPermissions-By-BoJZb.js";
|
|
18
|
+
import "./dayjs.min-DdNivv4b.js";
|
|
19
|
+
import "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BLqgALLe.js";
|
|
20
20
|
var Nn = {};
|
|
21
21
|
/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
22
22
|
var qt = {};
|
|
@@ -3,18 +3,19 @@ import { useRouter as x, useRoute as F } from "vue-router";
|
|
|
3
3
|
import { useI18n as I, useCoreStore as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { _ as $ } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-QrqYEy8i.js";
|
|
5
5
|
import { _ as q } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
6
|
-
import { u as D } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-
|
|
7
|
-
import { u as P } from "./restaurant-
|
|
6
|
+
import { u as D } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DRGTxOMW.js";
|
|
7
|
+
import { u as P } from "./restaurant-Dl6yx37M.js";
|
|
8
8
|
import "@feedmepos/ui-library";
|
|
9
|
-
import "./rule-
|
|
10
|
-
import "./lodash-
|
|
11
|
-
import "./iteration-
|
|
12
|
-
import "./useAppStore-
|
|
13
|
-
import { R as B } from "./app-
|
|
14
|
-
import "./member-grant-
|
|
15
|
-
import "./role-
|
|
9
|
+
import "./rule-ChmhcGgA.js";
|
|
10
|
+
import "./lodash-B2eWEGH4.js";
|
|
11
|
+
import "./iteration-y_jodvfN.js";
|
|
12
|
+
import "./useAppStore-BPARQyvJ.js";
|
|
13
|
+
import { R as B } from "./app-n6d4AmtP.js";
|
|
14
|
+
import "./member-grant-CzZUdO_s.js";
|
|
15
|
+
import "./role-DfZi7Ssk.js";
|
|
16
16
|
/* empty css */
|
|
17
|
-
|
|
17
|
+
import "./useReportPermissions-By-BoJZb.js";
|
|
18
|
+
const U = { class: "space-y-24" }, se = /* @__PURE__ */ M({
|
|
18
19
|
__name: "Main",
|
|
19
20
|
setup(j) {
|
|
20
21
|
const { t: o } = I(), b = x(), S = F(), T = O(), { readRestaurants: V } = P(), { loadProviders: L } = D(), f = R(), _ = R(), s = {
|
|
@@ -96,5 +97,5 @@ const U = { class: "space-y-24" }, ue = /* @__PURE__ */ M({
|
|
|
96
97
|
}
|
|
97
98
|
});
|
|
98
99
|
export {
|
|
99
|
-
|
|
100
|
+
se as default
|
|
100
101
|
};
|
|
@@ -4,11 +4,11 @@ import { useI18n as E, useCoreStore as $ } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useSnackbar as I } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as z } from "./ResponsiveFabButton.vue_vue_type_script_setup_true_lang-QrqYEy8i.js";
|
|
6
6
|
import { _ as M } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
7
|
-
import { u as j } from "./restaurant-
|
|
8
|
-
import { u as H } from "./role-
|
|
9
|
-
import { u as J } from "./grant-user-
|
|
10
|
-
import { u as K } from "./approval-code-
|
|
11
|
-
import { R as n } from "./app-
|
|
7
|
+
import { u as j } from "./restaurant-Dl6yx37M.js";
|
|
8
|
+
import { u as H } from "./role-DfZi7Ssk.js";
|
|
9
|
+
import { u as J } from "./grant-user-BmTyexk3.js";
|
|
10
|
+
import { u as K } from "./approval-code-1j1OoXt1.js";
|
|
11
|
+
import { R as n } from "./app-n6d4AmtP.js";
|
|
12
12
|
const Q = { class: "space-y-24" }, ue = /* @__PURE__ */ D({
|
|
13
13
|
__name: "Main",
|
|
14
14
|
setup(W) {
|
|
@@ -2,7 +2,7 @@ import { defineComponent as V, ref as r, computed as k, resolveComponent as P, c
|
|
|
2
2
|
import { useI18n as L, useCoreStore as Z, FeedMeAuth as ee } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as oe, useDialog as te, useBreakpoints as se, components as ae, SnackbarPosition as le } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as ne } from "./PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js";
|
|
5
|
-
import { t as re, f as ie,
|
|
5
|
+
import { t as re, f as ie, c as ce, r as de, i as U, d as ue, e as me, p as pe, o as fe } from "./app-n6d4AmtP.js";
|
|
6
6
|
import { _ as ye } from "./index.vue_vue_type_script_setup_true_lang-BVVwfd7B.js";
|
|
7
7
|
const _e = { class: "flex w-full flex-col items-center gap-8 pt-[4px]" }, ge = { class: "fm-typo-en-title-sm-600 text-center" }, ve = { class: "py-[4px]" }, Pe = {
|
|
8
8
|
class: "flex items-center justify-center gap-4 rounded-[12px] bg-fm-color-neutral-gray-100 px-16 py-[20px]",
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as v, computed as
|
|
2
|
-
import { useI18n as se, useCoreStore as
|
|
1
|
+
import { defineComponent as Z, ref as v, computed as h, watch as ue, resolveComponent as b, createBlock as de, openBlock as ee, unref as r, withCtx as C, createVNode as m, createElementVNode as y, toDisplayString as G, nextTick as pe, onMounted as fe, createElementBlock as ve, Fragment as Se, h as S } from "vue";
|
|
2
|
+
import { useI18n as se, useCoreStore as he } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as oe, useDialog as te, useBreakpoints as ne, components as H } from "@feedmepos/ui-library";
|
|
4
|
-
import {
|
|
4
|
+
import { v as Q, _ as be, n as _e } from "./app-n6d4AmtP.js";
|
|
5
5
|
import { _ as ge } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
6
|
-
import {
|
|
7
|
-
import { u as ie, c as M,
|
|
8
|
-
import { l as T } from "./lodash-
|
|
9
|
-
import { c as
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
6
|
+
import { _ as Pe } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
|
|
7
|
+
import { u as ie, c as M, a as ae, p as Y, R as ye, g as we, m as A, l as xe, n as Fe, o as ke, q as Ce, v as Ie } from "./rule-ChmhcGgA.js";
|
|
8
|
+
import { l as T } from "./lodash-B2eWEGH4.js";
|
|
9
|
+
import { c as Ve } from "./iteration-y_jodvfN.js";
|
|
10
|
+
import { u as Re } from "./useDiscardConfirm-CzZSPyvh.js";
|
|
11
|
+
import { u as Ee } from "./useLoading-iPESFb6R.js";
|
|
12
|
+
import { _ as je } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ZSREAS1r.js";
|
|
12
13
|
const Te = { class: "flex w-full items-center justify-between" }, $e = { class: "fm-typo-en-title-md-600" }, Be = { class: "fm-typo-en-title-sm-600 mt-24" }, Le = { class: "flex items-center justify-start gap-8" }, Ae = /* @__PURE__ */ Z({
|
|
13
14
|
__name: "PermissionSetForm",
|
|
14
15
|
props: {
|
|
@@ -18,30 +19,30 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
18
19
|
}
|
|
19
20
|
},
|
|
20
21
|
setup(K, { expose: D }) {
|
|
21
|
-
const o = K, { t: i } = se(), f = v(!1), $ =
|
|
22
|
+
const o = K, { t: i } = se(), f = v(!1), $ = h(() => {
|
|
22
23
|
var e;
|
|
23
24
|
return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.title") : i("permissionSet.form.create.title");
|
|
24
|
-
}), I = v(), q = oe(), w = te(), { breakpoints: V } = ne(), R = Ee(q), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], N =
|
|
25
|
+
}), I = v(), q = oe(), w = te(), { breakpoints: V } = ne(), R = Ee(q), l = ie(), d = v({ ...o.modelValue }), a = v([]), p = v([]), B = [(e) => !!e || i("permissionSet.form.nameRequired")], N = h(() => {
|
|
25
26
|
var e;
|
|
26
27
|
return (e = o.modelValue) != null && e.id ? i("permissionSet.form.update.confirmButtonLabel") : i("permissionSet.form.create.confirmButtonLabel");
|
|
27
|
-
}), O =
|
|
28
|
+
}), O = h(
|
|
28
29
|
() => l.permissionSets.value.filter((e) => {
|
|
29
30
|
var s;
|
|
30
31
|
return e.id !== ((s = o.modelValue) == null ? void 0 : s.id);
|
|
31
32
|
}).map((e) => ({ label: e.name, value: e.id }))
|
|
32
|
-
), E =
|
|
33
|
+
), E = h(
|
|
33
34
|
() => M(a.value, l.permissionSets.value)
|
|
34
35
|
), {
|
|
35
36
|
fetchCustomReportPermissions: n,
|
|
36
37
|
customReportPermissions: t,
|
|
37
38
|
isLoaded: c
|
|
38
39
|
} = ae(), _ = new Set(
|
|
39
|
-
Y.filter((e) => e.subject.startsWith(
|
|
40
|
-
), g =
|
|
40
|
+
Y.filter((e) => e.subject.startsWith(ye)).map((e) => e.subject)
|
|
41
|
+
), g = h(() => {
|
|
41
42
|
const e = new Set(_);
|
|
42
43
|
for (const s of t.value) e.add(s.subject);
|
|
43
44
|
return e;
|
|
44
|
-
}), z =
|
|
45
|
+
}), z = h(() => {
|
|
45
46
|
const e = /* @__PURE__ */ new Set();
|
|
46
47
|
for (const s of Y)
|
|
47
48
|
s.category === Q.reports && e.add(s.subject);
|
|
@@ -53,27 +54,27 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
53
54
|
var s, u;
|
|
54
55
|
await pe(), f.value = !f.value, d.value = { ...o.modelValue }, a.value = ((s = o.modelValue) == null ? void 0 : s.permissionSetIds) ?? [];
|
|
55
56
|
const e = ((u = o.modelValue) == null ? void 0 : u.permissions) ?? [];
|
|
56
|
-
p.value =
|
|
57
|
+
p.value = we(
|
|
57
58
|
A(E.value),
|
|
58
59
|
e
|
|
59
60
|
), P.value = {
|
|
60
61
|
name: d.value.name ?? "",
|
|
61
62
|
permissionSetIds: [...a.value],
|
|
62
|
-
userPermissions:
|
|
63
|
+
userPermissions: Ve(p.value)
|
|
63
64
|
};
|
|
64
65
|
}
|
|
65
66
|
ue(f, async (e) => {
|
|
66
67
|
e && await n();
|
|
67
68
|
});
|
|
68
|
-
const W =
|
|
69
|
+
const W = Re(
|
|
69
70
|
() => !T.isEqual(d.value.name ?? "", P.value.name) || !T.isEqual(a.value, P.value.permissionSetIds) || !T.isEqual(p.value, P.value.userPermissions),
|
|
70
71
|
() => {
|
|
71
72
|
f.value = !1;
|
|
72
73
|
}
|
|
73
74
|
);
|
|
74
75
|
function re() {
|
|
75
|
-
const e = A(E.value), s = c.value ? g.value : _, u =
|
|
76
|
-
return
|
|
76
|
+
const e = A(E.value), s = c.value ? g.value : _, u = xe(p.value, s), x = Fe(u, z.value), F = ke(x);
|
|
77
|
+
return Ce(e, F);
|
|
77
78
|
}
|
|
78
79
|
function J(e) {
|
|
79
80
|
return A(
|
|
@@ -112,7 +113,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
112
113
|
}
|
|
113
114
|
async function me() {
|
|
114
115
|
var u, x;
|
|
115
|
-
const e = await ((u = I.value) == null ? void 0 : u.validateInputsWithoutSubmit()), s = (x =
|
|
116
|
+
const e = await ((u = I.value) == null ? void 0 : u.validateInputsWithoutSubmit()), s = (x = he().currentBusiness.value) == null ? void 0 : x.id;
|
|
116
117
|
!(e != null && e.length) && s && R.minor(async () => {
|
|
117
118
|
var L;
|
|
118
119
|
const F = re();
|
|
@@ -139,7 +140,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
139
140
|
return D({
|
|
140
141
|
trigger: U
|
|
141
142
|
}), (e, s) => {
|
|
142
|
-
const u =
|
|
143
|
+
const u = b("FmIcon"), x = b("FmTextField"), F = b("FmSelect"), L = b("FmForm"), k = b("FmButton"), ce = b("FmSideSheet");
|
|
143
144
|
return ee(), de(ce, {
|
|
144
145
|
modelValue: f.value,
|
|
145
146
|
"onUpdate:modelValue": s[2] || (s[2] = (j) => f.value = j),
|
|
@@ -214,16 +215,16 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
214
215
|
}, 8, ["modelValue", "onOn:clickedAway"]);
|
|
215
216
|
};
|
|
216
217
|
}
|
|
217
|
-
}), De = { class: "space-y-8" }, qe = { class: "flex justify-end xs:px-16" }, Ne = { class: "flex flex-col h-full overflow-auto" },
|
|
218
|
+
}), De = { class: "space-y-8" }, qe = { class: "flex justify-end xs:px-16" }, Ne = { class: "flex flex-col h-full overflow-auto" }, Ze = /* @__PURE__ */ Z({
|
|
218
219
|
__name: "PermissionSetList",
|
|
219
220
|
setup(K, { expose: D }) {
|
|
220
|
-
const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), $ = oe(), I = te(), { breakpoints: q } = ne(), w = v(""), V =
|
|
221
|
+
const { t: o } = se(), { customReportPermissions: i, fetchCustomReportPermissions: f } = ae(), $ = oe(), I = te(), { breakpoints: q } = ne(), w = v(""), V = h(() => {
|
|
221
222
|
var n;
|
|
222
223
|
return (n = d.value) == null ? void 0 : n.filter((t) => {
|
|
223
224
|
const c = w.value.toLowerCase();
|
|
224
225
|
return t.name.toLowerCase().includes(c);
|
|
225
226
|
});
|
|
226
|
-
}), R = v(), l = ie(), d =
|
|
227
|
+
}), R = v(), l = ie(), d = h(
|
|
227
228
|
() => l.permissionSets.value
|
|
228
229
|
), a = v();
|
|
229
230
|
async function p() {
|
|
@@ -246,7 +247,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
246
247
|
const t = n.row.original, c = M(
|
|
247
248
|
[t.id],
|
|
248
249
|
l.permissionSets.value
|
|
249
|
-
), _ = A(c), g = _.length, z =
|
|
250
|
+
), _ = A(c), g = _.length, z = Ie(
|
|
250
251
|
_,
|
|
251
252
|
i.value
|
|
252
253
|
);
|
|
@@ -287,7 +288,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
287
288
|
onClick: (c) => c.stopPropagation()
|
|
288
289
|
},
|
|
289
290
|
[
|
|
290
|
-
S(
|
|
291
|
+
S(Pe, {
|
|
291
292
|
items: [
|
|
292
293
|
{ label: o("common.update"), onClick: () => B(t) },
|
|
293
294
|
{
|
|
@@ -338,7 +339,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
338
339
|
}), D({
|
|
339
340
|
create: O
|
|
340
341
|
}), (n, t) => {
|
|
341
|
-
const c =
|
|
342
|
+
const c = b("FmSearch"), _ = b("FmTable");
|
|
342
343
|
return ee(), ve(Se, null, [
|
|
343
344
|
m(Ae, {
|
|
344
345
|
ref_key: "permissionSetFormRef",
|
|
@@ -355,7 +356,7 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
355
356
|
placeholder: r(o)("permissionSet.search.placeholder")
|
|
356
357
|
}, null, 8, ["modelValue", "placeholder"])
|
|
357
358
|
]),
|
|
358
|
-
m(
|
|
359
|
+
m(be, null, {
|
|
359
360
|
default: C(() => [
|
|
360
361
|
y("div", Ne, [
|
|
361
362
|
m(ge, {
|
|
@@ -389,5 +390,5 @@ const Te = { class: "flex w-full items-center justify-between" }, $e = { class:
|
|
|
389
390
|
}
|
|
390
391
|
});
|
|
391
392
|
export {
|
|
392
|
-
|
|
393
|
+
Ze as default
|
|
393
394
|
};
|