@feedmepos/mf-hrm-portal 2.2.5 → 2.3.0-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-Df5_U7Fj.js → ApprovalCodeList-CJaNPHZC.js} +7 -7
- package/dist/{AuditLogList-BT-YM-CP.js → AuditLogList-CHA98ZqW.js} +19 -18
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Df3IHAyZ.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C7rvthEI.js} +2 -2
- package/dist/{EmployeeList-BfhG5ktC.js → EmployeeList-CVmMKt71.js} +31 -30
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js} +1 -1
- package/dist/{GrantUserList-B_WhIR9L.js → GrantUserList-MYjgt5-F.js} +8 -8
- package/dist/{Main-Cxwiaabw.js → Main-BgB9lD4K.js} +11 -11
- package/dist/{Main-DKOPDO1K.js → Main-C0cnqQ3B.js} +8 -8
- package/dist/{Main-CGrtJkUl.js → Main-hlcHtrsc.js} +5 -5
- package/dist/{PermissionSetList-CqiLsqaj.js → PermissionSetList-5f1WIaVa.js} +7 -7
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CmNTqB0v.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CFoTAGIX.js} +1340 -1340
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-Z-DH7ouY.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js} +1 -1
- package/dist/{RoleList-iudKGaCg.js → RoleList-DNR4miXr.js} +9 -9
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-B4VUyKW3.js +470 -0
- package/dist/ScheduleGeneralPage-Cd5AlY4z.js +666 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-Cf0l2MRg.js +2188 -0
- package/dist/SchedulePage-C8m0-m3l.js +18257 -0
- package/dist/SchedulePositionPage-DyRckyUx.js +264 -0
- package/dist/SelectFilter-CG13h83-.js +264 -0
- package/dist/{TeamMemberList-D_8d24Vw.js → TeamMemberList-mw5OveZG.js} +38 -37
- package/dist/{TimesheetList-VvIiAVLt.js → TimesheetList-BzXarZbM.js} +54 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Bmiz85Y3.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dq5i4poN.js} +3 -3
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/{app-CVqQjVFY.js → app-DSsdRLHg.js} +3252 -2475
- package/dist/app.js +1 -1
- package/dist/{approval-code-BRClD2HN.js → approval-code-C9DmR4Md.js} +1 -1
- package/dist/{dayjs.min-Bhe9FtFt.js → dayjs.min-B6xBXQtU.js} +1 -1
- package/dist/{employee-thZndJWE.js → employee-hMhzuqk1.js} +29 -28
- package/dist/{grant-user-Dhi3ilC_.js → grant-user-Bv-pJ9Wt.js} +1 -1
- package/dist/{iteration-Cd5fl3-x.js → iteration-B34AvpNC.js} +1 -1
- package/dist/{lodash-DiJ9xZIF.js → lodash-1Vyuy7Mu.js} +1 -1
- package/dist/{restaurant-DiYb0pCm.js → restaurant-D7PEQjPY.js} +258 -252
- package/dist/{role-DdizOTVB.js → role-DKOrgO6f.js} +2 -2
- package/dist/{rule-CYFm43rI.js → rule-CBzQ3GeV.js} +36 -36
- package/dist/src/api/restaurant/index.d.ts +2 -0
- package/dist/src/api/schedule/index.d.ts +55 -0
- package/dist/src/components/layout/PortalShell.vue.d.ts +12 -0
- package/dist/src/components/layout/withScheduleShell.d.ts +10 -0
- package/dist/src/composables/useMessage.d.ts +8 -2
- package/dist/src/router/shared.d.ts +4 -1
- package/dist/src/types/employee.d.ts +1 -0
- package/dist/src/types/schedule.d.ts +24 -0
- 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/ScheduleAllShiftsRow.vue.d.ts +22 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +45 -0
- package/dist/src/views/scheduling/components/ScheduleAssignEmployeePopover.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +10 -0
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +28 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +19 -0
- package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +24 -0
- package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +38 -0
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +25 -0
- package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +17 -0
- package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +39 -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 +32 -0
- package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +21 -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 +12 -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 +10 -0
- package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +26 -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/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/ScheduleReviewBar.vue.d.ts +12 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +60 -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/ScheduleStackPopover.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +16 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +60 -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 +33 -0
- package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +5 -0
- package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +7 -0
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +50 -0
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +13 -0
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +78 -0
- package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +59 -0
- package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +9 -0
- package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-cost.d.ts +19 -0
- package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +23 -0
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +11 -0
- package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +7 -0
- package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +14 -0
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
- package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +26 -0
- package/dist/src/views/scheduling/composables/schedule-time.d.ts +8 -0
- package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +10 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +102 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +81 -0
- package/dist/src/views/scheduling/composables/useScheduleAllShiftsRow.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +63 -0
- package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +18 -0
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +124 -0
- package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +289 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +539 -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 +19 -0
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +48 -0
- package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +45 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +100 -0
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +61 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +47 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +156 -0
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +13 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +26 -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 +25 -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 +51 -0
- package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +14 -0
- package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +77 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +59 -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 +187 -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 +1145 -0
- package/dist/src/views/scheduling/composables/useScheduleOpenShiftCard.d.ts +23 -0
- package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +22 -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 +18 -0
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +20 -0
- package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +19 -0
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +54 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +29 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +124 -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 +247 -0
- package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +207 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +62 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +17 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +214 -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 +24 -0
- package/dist/src/views/scheduling/data.d.ts +102 -0
- package/dist/src/views/scheduling/locales/index.d.ts +688 -0
- package/dist/src/views/scheduling/schedule-constants.d.ts +7 -0
- package/dist/src/views/scheduling/schedule-state.d.ts +703 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +110 -0
- package/dist/src/views/scheduling/types.d.ts +356 -0
- package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
- package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BGhlB1_1.js → useAppStore-d_nHyK5u.js} +1 -1
- package/dist/{useLoading-CvgqVDbF.js → useLoading-JFoghhRz.js} +1 -1
- package/dist/{useReportPermissions-hVMtRNmj.js → useReportPermissions-B2ev0j4w.js} +3 -3
- package/package.json +4 -2
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
|
@@ -2,21 +2,22 @@ import { defineComponent as we, resolveComponent as F, createElementBlock as L,
|
|
|
2
2
|
import { useI18n as Ve, useCoreStore as Ze } from "@feedmepos/mf-common";
|
|
3
3
|
import { useSnackbar as Le, useDialog as Qe, useBreakpoints as Ye, components as Oe } from "@feedmepos/ui-library";
|
|
4
4
|
import { u as ps } from "./useDebounce-B8ZPVS5C.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { s as
|
|
10
|
-
import { u as He } from "./useLoading-
|
|
5
|
+
import { S as ye } from "./SelectFilter-CG13h83-.js";
|
|
6
|
+
import { v as Te, m as vs, O as fs, _ as bs, a as hs } from "./app-DSsdRLHg.js";
|
|
7
|
+
import { u as ys, _ as gs } from "./useDiscardConfirm-DPhEV6v0.js";
|
|
8
|
+
import { _ as _s } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
9
|
+
import { s as Us, _ as Ss, a as xs, b as Fs, c as Ps } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
|
|
10
|
+
import { u as He } from "./useLoading-JFoghhRz.js";
|
|
11
11
|
import { n as es } from "./string-VNuQNweN.js";
|
|
12
|
-
import { l as Pe } from "./lodash-
|
|
13
|
-
import { c as he } from "./iteration-
|
|
14
|
-
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as
|
|
15
|
-
import { u as as } from "./role-
|
|
16
|
-
import { u as ls, i as
|
|
17
|
-
import "./useAppStore-
|
|
18
|
-
import { g as ze, b as We, u as os } from "./restaurant-
|
|
19
|
-
import { _ as
|
|
12
|
+
import { l as Pe } from "./lodash-1Vyuy7Mu.js";
|
|
13
|
+
import { c as he } from "./iteration-B34AvpNC.js";
|
|
14
|
+
import { t as _e, u as ss, c as Ae, b as qe, m as $e, d as ts, p as Ge, i as Is, j as Ke, k as ws, l as Vs, n as ks, o as Rs, q as Cs } from "./rule-CBzQ3GeV.js";
|
|
15
|
+
import { u as as } from "./role-DKOrgO6f.js";
|
|
16
|
+
import { u as ls, i as $s } from "./PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-fe-Rdwn4.js";
|
|
17
|
+
import "./useAppStore-d_nHyK5u.js";
|
|
18
|
+
import { g as ze, b as We, u as os } from "./restaurant-D7PEQjPY.js";
|
|
19
|
+
import { _ as Ms } from "./PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CFoTAGIX.js";
|
|
20
|
+
import { _ as Ns } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
21
|
var Ue = /* @__PURE__ */ ((o) => (o.Update = "Update", o.Remove = "Remove", o))(Ue || {});
|
|
21
22
|
const Ie = "__unassigned__";
|
|
22
23
|
function Je(o) {
|
|
@@ -83,7 +84,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
83
84
|
const v = N, { t: a } = Ve(), m = Le(), J = Ze(), { supportedCountries: k, ready: I } = ls(), R = S(() => {
|
|
84
85
|
var U;
|
|
85
86
|
const g = (U = J.currentCountry.value) == null ? void 0 : U.toUpperCase();
|
|
86
|
-
return g &&
|
|
87
|
+
return g && $s(g) ? g : void 0;
|
|
87
88
|
}), h = p("phone"), C = p(""), d = p(""), f = p(), j = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, E = S(() => j.test(d.value.trim()));
|
|
88
89
|
async function D() {
|
|
89
90
|
const g = h.value === "phone" ? C.value.replace(/ /g, "") : d.value.trim();
|
|
@@ -204,7 +205,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
204
205
|
]);
|
|
205
206
|
};
|
|
206
207
|
}
|
|
207
|
-
}), at = /* @__PURE__ */
|
|
208
|
+
}), at = /* @__PURE__ */ Ns(tt, [["__scopeId", "data-v-827dfd60"]]), lt = { class: "flex flex-col gap-40" }, ot = { class: "flex items-center" }, rt = { class: "flex-1 flex flex-col" }, nt = { class: "fm-typo-en-title-sm-600" }, it = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ut = { class: "flex flex-row gap-16" }, mt = { class: "flex flex-col gap-8" }, dt = { class: "fm-typo-en-body-lg-400" }, ct = { class: "space-y-16" }, je = 4, pt = /* @__PURE__ */ we({
|
|
208
209
|
__name: "TeamMemberMasterUser",
|
|
209
210
|
props: {
|
|
210
211
|
modelValue: {
|
|
@@ -244,7 +245,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
244
245
|
}
|
|
245
246
|
const C = S(() => {
|
|
246
247
|
var n;
|
|
247
|
-
return
|
|
248
|
+
return Us(((n = v.modelValue) == null ? void 0 : n.roles) ?? []);
|
|
248
249
|
});
|
|
249
250
|
function d(n) {
|
|
250
251
|
return v.usableRoleIds === null || v.usableRoleIds.includes(n._id);
|
|
@@ -347,7 +348,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
347
348
|
]
|
|
348
349
|
}, {
|
|
349
350
|
default: ie(() => [
|
|
350
|
-
i(
|
|
351
|
+
i(Ss, {
|
|
351
352
|
modelValue: R.value,
|
|
352
353
|
"onUpdate:modelValue": b[2] || (b[2] = (r) => R.value = r),
|
|
353
354
|
masked: I.value,
|
|
@@ -359,7 +360,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
359
360
|
]),
|
|
360
361
|
_: 1
|
|
361
362
|
}, 8, ["modelValue", "rules"]),
|
|
362
|
-
i(
|
|
363
|
+
i(xs, {
|
|
363
364
|
label: l(m)("team.memberForm.masterUser.passcodeGenerate"),
|
|
364
365
|
hint: l(m)("team.memberForm.masterUser.passcodeSelectOutletFirst"),
|
|
365
366
|
loading: E.value,
|
|
@@ -377,7 +378,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
377
378
|
]
|
|
378
379
|
}, {
|
|
379
380
|
default: ie(() => [
|
|
380
|
-
i(
|
|
381
|
+
i(Fs, {
|
|
381
382
|
"model-value": o.modelValue.roles,
|
|
382
383
|
restaurants: o.restaurants,
|
|
383
384
|
roles: o.roles,
|
|
@@ -433,7 +434,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
433
434
|
((Z = v.initialValue) == null ? void 0 : Z.permissions) || []
|
|
434
435
|
)
|
|
435
436
|
), { customReportPermissions: j, isLoaded: E } = ts(), D = new Set(
|
|
436
|
-
Ge.filter((s) => s.subject.startsWith(
|
|
437
|
+
Ge.filter((s) => s.subject.startsWith(Is)).map((s) => s.subject)
|
|
437
438
|
), $ = S(() => {
|
|
438
439
|
const s = new Set(D);
|
|
439
440
|
for (const c of j.value) s.add(c.subject);
|
|
@@ -514,12 +515,12 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
514
515
|
});
|
|
515
516
|
}
|
|
516
517
|
function O() {
|
|
517
|
-
const s = E.value ? $.value : D, c =
|
|
518
|
-
return
|
|
518
|
+
const s = E.value ? $.value : D, c = ks(f.value, s);
|
|
519
|
+
return Rs(c, w.value);
|
|
519
520
|
}
|
|
520
521
|
function Me() {
|
|
521
|
-
const s = $e(C.value), c =
|
|
522
|
-
return
|
|
522
|
+
const s = $e(C.value), c = ws(O());
|
|
523
|
+
return Vs(s, c);
|
|
523
524
|
}
|
|
524
525
|
function ke() {
|
|
525
526
|
var K, z, Q, A, W, Y, H, le, be, ce;
|
|
@@ -530,7 +531,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
530
531
|
customPermissions: s,
|
|
531
532
|
permissions: c.map((oe) => ({
|
|
532
533
|
...oe,
|
|
533
|
-
subject:
|
|
534
|
+
subject: vs(oe.subject)
|
|
534
535
|
})),
|
|
535
536
|
permissionSetIds: h.value,
|
|
536
537
|
name: ((Q = k.value) == null ? void 0 : Q.displayName) || ((A = v.initialValue) == null ? void 0 : A.name) || "",
|
|
@@ -626,7 +627,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
626
627
|
]),
|
|
627
628
|
u("div", gt, [
|
|
628
629
|
u("div", _t, V(l(a)("team.memberForm.permissions.title")), 1),
|
|
629
|
-
i(
|
|
630
|
+
i(Ms, {
|
|
630
631
|
modelValue: f.value,
|
|
631
632
|
"onUpdate:modelValue": c[1] || (c[1] = (ce) => f.value = ce),
|
|
632
633
|
"inherit-permissions": C.value,
|
|
@@ -683,7 +684,7 @@ const Es = { class: "w-full flex flex-col gap-16" }, Ds = { class: "flex items-c
|
|
|
683
684
|
var ee = /* @__PURE__ */ function(o) {
|
|
684
685
|
return o[o.ADD = 0] = "ADD", o[o.UPDATE = 1] = "UPDATE", o[o.CLOSED = 2] = "CLOSED", o;
|
|
685
686
|
}(ee || {});
|
|
686
|
-
const
|
|
687
|
+
const Ht = /* @__PURE__ */ we({
|
|
687
688
|
__name: "TeamMemberList",
|
|
688
689
|
setup(o, {
|
|
689
690
|
expose: N
|
|
@@ -694,7 +695,7 @@ const Yt = /* @__PURE__ */ we({
|
|
|
694
695
|
ls();
|
|
695
696
|
const {
|
|
696
697
|
t: a
|
|
697
|
-
} = Ve(), m = Ze(), J = os(), k = as(), I = Le(), R = He(I), h = ss(), C =
|
|
698
|
+
} = Ve(), m = Ze(), J = os(), k = as(), I = Le(), R = He(I), h = ss(), C = Cs(), d = p(!0), f = p(!1), j = S(() => J.isLoading.value), E = p([]), D = p(0), $ = p(1), w = p(""), n = p("");
|
|
698
699
|
pe(J.restaurants, (e) => {
|
|
699
700
|
if (e.length > 0 && E.value.length > 0) {
|
|
700
701
|
const t = new Map(e.map((x) => [x._id, x.profile.name])), _ = e.map((x) => x.profile.name).sort();
|
|
@@ -722,7 +723,7 @@ const Yt = /* @__PURE__ */ we({
|
|
|
722
723
|
onClick: () => se(Ue.Remove, e),
|
|
723
724
|
itemClass: "text-fm-color-typo-error"
|
|
724
725
|
}, re = e.doc.isOwner ? [_] : [_, x];
|
|
725
|
-
return i(
|
|
726
|
+
return i(gs, {
|
|
726
727
|
class: t,
|
|
727
728
|
items: re
|
|
728
729
|
}, null);
|
|
@@ -753,7 +754,7 @@ const Yt = /* @__PURE__ */ we({
|
|
|
753
754
|
enableSorting: !1,
|
|
754
755
|
cell(e) {
|
|
755
756
|
if (j.value)
|
|
756
|
-
return ds(
|
|
757
|
+
return ds(Ps);
|
|
757
758
|
const t = e.row.original;
|
|
758
759
|
return U(t);
|
|
759
760
|
}
|
|
@@ -869,7 +870,7 @@ const Yt = /* @__PURE__ */ we({
|
|
|
869
870
|
function ve() {
|
|
870
871
|
X++, ue.value = !1, B.value = ee.CLOSED;
|
|
871
872
|
}
|
|
872
|
-
const fe =
|
|
873
|
+
const fe = ys(() => {
|
|
873
874
|
var e;
|
|
874
875
|
return ((e = Y.value) == null ? void 0 : e.isModified()) ?? !1;
|
|
875
876
|
}, ve);
|
|
@@ -919,7 +920,7 @@ const Yt = /* @__PURE__ */ we({
|
|
|
919
920
|
permissionSubjects: [...Z.value ?? []].sort(),
|
|
920
921
|
permissionSetIds: [...s.value ?? []].sort()
|
|
921
922
|
});
|
|
922
|
-
}), K = S(() => Object.values(
|
|
923
|
+
}), K = S(() => Object.values(fs).map((e) => ({
|
|
923
924
|
label: e.label,
|
|
924
925
|
value: e.subject
|
|
925
926
|
}))), z = S(() => [{
|
|
@@ -1080,12 +1081,12 @@ const Yt = /* @__PURE__ */ we({
|
|
|
1080
1081
|
class: "w-[320px] xs:w-full xs:mt-8",
|
|
1081
1082
|
autofocus: "",
|
|
1082
1083
|
placeholder: l(a)("team.search.placeholder")
|
|
1083
|
-
}, null, 8, ["modelValue", "placeholder"])])), (Fe = l(m).currentBusiness.value) != null && Fe._id ? (y(), G(
|
|
1084
|
+
}, null, 8, ["modelValue", "placeholder"])])), (Fe = l(m).currentBusiness.value) != null && Fe._id ? (y(), G(bs, {
|
|
1084
1085
|
key: 2
|
|
1085
1086
|
}, {
|
|
1086
|
-
default: ie(() => [u("div", kt, [f.value ? q("", !0) : (y(), G(
|
|
1087
|
+
default: ie(() => [u("div", kt, [f.value ? q("", !0) : (y(), G(hs, {
|
|
1087
1088
|
key: 0
|
|
1088
|
-
})), f.value ? (y(), G(
|
|
1089
|
+
})), f.value ? (y(), G(_s, {
|
|
1089
1090
|
key: 1,
|
|
1090
1091
|
"is-loading": d.value,
|
|
1091
1092
|
"is-empty": D.value === 0,
|
|
@@ -1149,5 +1150,5 @@ const Yt = /* @__PURE__ */ we({
|
|
|
1149
1150
|
}
|
|
1150
1151
|
});
|
|
1151
1152
|
export {
|
|
1152
|
-
|
|
1153
|
+
Ht as default
|
|
1153
1154
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as
|
|
2
|
-
import { d as v } from "./dayjs.min-
|
|
1
|
+
import { ref as d, computed as g, defineComponent as pe, onMounted as fe, watch as Z, resolveComponent as u, createElementBlock as P, openBlock as E, Fragment as ee, createVNode as l, createElementVNode as i, unref as r, withCtx as b, createCommentVNode as ve, toDisplayString as O, createTextVNode as he, isRef as ge, renderList as we, createBlock as te, nextTick as ye } from "vue";
|
|
2
|
+
import { d as v } from "./dayjs.min-B6xBXQtU.js";
|
|
3
3
|
import { useI18n as _e } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as be, components as xe } from "@feedmepos/ui-library";
|
|
5
|
-
import { S as De
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { u as
|
|
9
|
-
import { g as
|
|
10
|
-
import { f as
|
|
11
|
-
import { n as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
5
|
+
import { S as De } from "./SelectFilter-CG13h83-.js";
|
|
6
|
+
import { _ as Se } from "./app-DSsdRLHg.js";
|
|
7
|
+
import { _ as Ve } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
|
|
8
|
+
import { u as ke } from "./useLoading-JFoghhRz.js";
|
|
9
|
+
import { g as Ce, s as Fe } from "./iteration-B34AvpNC.js";
|
|
10
|
+
import { f as Ye } from "./utils-BZkjJbju.js";
|
|
11
|
+
import { n as Le } from "./string-VNuQNweN.js";
|
|
12
|
+
import { u as Me } from "./employee-hMhzuqk1.js";
|
|
13
|
+
import { u as Te } from "./restaurant-D7PEQjPY.js";
|
|
14
|
+
import { u as Ie } from "./TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dq5i4poN.js";
|
|
15
|
+
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
16
|
function $e(x, a) {
|
|
16
17
|
return ["years", "months"].find((S) => {
|
|
17
18
|
const V = x.startOf(S), p = x.endOf(S);
|
|
@@ -79,7 +80,7 @@ const Oe = {
|
|
|
79
80
|
setup(x) {
|
|
80
81
|
const {
|
|
81
82
|
t: a
|
|
82
|
-
} = _e(), D = be(), S =
|
|
83
|
+
} = _e(), D = be(), S = ke(D), V = [{
|
|
83
84
|
label: a("hr.timesheet.listView"),
|
|
84
85
|
value: "listView"
|
|
85
86
|
}, {
|
|
@@ -88,12 +89,12 @@ const Oe = {
|
|
|
88
89
|
}], p = d("listView"), _ = g(() => {
|
|
89
90
|
var t;
|
|
90
91
|
return (t = V.find((e) => e.value === p.value)) == null ? void 0 : t.label;
|
|
91
|
-
}), c = d(""), h =
|
|
92
|
+
}), c = d(""), h = Ie(), k = Me(), C = Te(), F = g(() => k.employees.value), j = g(() => h.timesheets.value.filter((s) => !A.value || A.value.includes(s.restaurantId)).map((s) => {
|
|
92
93
|
var y;
|
|
93
|
-
const
|
|
94
|
+
const n = (y = C.restaurants.value.find((f) => f._id === s.restaurantId)) == null ? void 0 : y.profile.code, w = F.value.find((f) => f._id === s.user.id);
|
|
94
95
|
return {
|
|
95
96
|
...s,
|
|
96
|
-
restaurantCode:
|
|
97
|
+
restaurantCode: n,
|
|
97
98
|
user: {
|
|
98
99
|
...s.user,
|
|
99
100
|
code: w ? w.code : ""
|
|
@@ -103,17 +104,17 @@ const Oe = {
|
|
|
103
104
|
var e, s;
|
|
104
105
|
return t.user.name.toLowerCase().includes(c.value.toLowerCase()) || t.restaurantName.toLowerCase().includes(c.value.toLowerCase()) || ((e = t.restaurantCode) == null ? void 0 : e.toLowerCase().includes(c.value.toLowerCase())) || ((s = t.user.code) == null ? void 0 : s.toLowerCase().includes(c.value.toLowerCase()));
|
|
105
106
|
})), H = g(() => {
|
|
106
|
-
const t =
|
|
107
|
-
const w = F.value.find((y) => y._id ===
|
|
107
|
+
const t = Ce(j.value, (s) => s.user.name), e = Object.entries(t).map(([s, n]) => {
|
|
108
|
+
const w = F.value.find((y) => y._id === n[0].user.id);
|
|
108
109
|
return {
|
|
109
110
|
key: s,
|
|
110
|
-
user:
|
|
111
|
-
code: w ? w.code :
|
|
112
|
-
timesheets:
|
|
113
|
-
total:
|
|
111
|
+
user: n[0].user.name,
|
|
112
|
+
code: w ? w.code : n[0].user.code || "",
|
|
113
|
+
timesheets: n,
|
|
114
|
+
total: Ye(n.reduce((y, f) => y + f.totalMin, 0))
|
|
114
115
|
};
|
|
115
116
|
});
|
|
116
|
-
return
|
|
117
|
+
return Fe(e, {
|
|
117
118
|
selector: "user"
|
|
118
119
|
});
|
|
119
120
|
}), N = g(() => H.value.filter((t) => {
|
|
@@ -209,8 +210,8 @@ const Oe = {
|
|
|
209
210
|
return l("div", {
|
|
210
211
|
class: "flex items-center gap-8"
|
|
211
212
|
}, [l("div", {
|
|
212
|
-
onClick: (
|
|
213
|
-
|
|
213
|
+
onClick: (n) => {
|
|
214
|
+
n.stopPropagation(), t.row.getToggleExpandedHandler()(n);
|
|
214
215
|
}
|
|
215
216
|
}, [l(xe.FmButton, {
|
|
216
217
|
variant: "tertiary",
|
|
@@ -249,7 +250,7 @@ const Oe = {
|
|
|
249
250
|
m.value = t, T.value = v(m.value.startedAt).format("YYYY-MM-DD"), R.value = v(m.value.endedAt || m.value.startedAt).format("YYYY-MM-DD"), I.value = v(m.value.startedAt).format("HH:mm"), $.value = v(m.value.endedAt || m.value.startedAt).format("HH:mm"), M.value = !0;
|
|
250
251
|
}
|
|
251
252
|
const T = d(), I = d(), R = d(), $ = d(), m = d(), K = d("");
|
|
252
|
-
async function
|
|
253
|
+
async function re() {
|
|
253
254
|
const t = J(T.value, I.value), e = J(R.value, $.value);
|
|
254
255
|
if (v(t).isAfter(e)) {
|
|
255
256
|
K.value = a("hr.timesheet.checkOutMustBeforeCheckIn");
|
|
@@ -262,49 +263,49 @@ const Oe = {
|
|
|
262
263
|
}), U(), M.value = !1;
|
|
263
264
|
}
|
|
264
265
|
const J = (t, e) => v(t).set("h", parseInt(e.split(":")[0])).set("m", parseInt(e.split(":")[1])).toISOString();
|
|
265
|
-
return Z([T, R, I, $], ([t, e, s,
|
|
266
|
-
(t || e || s ||
|
|
266
|
+
return Z([T, R, I, $], ([t, e, s, n]) => {
|
|
267
|
+
(t || e || s || n) && (K.value = "");
|
|
267
268
|
}), (t, e) => {
|
|
268
|
-
const s = u("FmAvatar"),
|
|
269
|
-
return E(), P(ee, null, [l(
|
|
269
|
+
const s = u("FmAvatar"), n = u("FmDatePicker"), w = u("FmTimePicker"), y = u("FmIcon"), f = u("FmButton"), ne = u("FmSideSheet"), Q = u("FmChip"), ie = u("FmDateRangePicker"), ue = u("FmMenuItem"), de = u("FmMenu"), ce = u("FmSpacer"), me = u("FmSearch"), W = u("FmTable");
|
|
270
|
+
return E(), P(ee, null, [l(ne, {
|
|
270
271
|
modelValue: M.value,
|
|
271
272
|
"onUpdate:modelValue": e[5] || (e[5] = (o) => M.value = o),
|
|
272
273
|
"dismiss-away": "",
|
|
273
|
-
header:
|
|
274
|
+
header: r(a)("hr.timesheet.update.title")
|
|
274
275
|
}, {
|
|
275
276
|
"side-sheet-footer": b(() => [i("div", Je, [l(f, {
|
|
276
|
-
label:
|
|
277
|
+
label: r(a)("common.update"),
|
|
277
278
|
size: "md",
|
|
278
279
|
variant: "primary",
|
|
279
|
-
onClick:
|
|
280
|
+
onClick: re
|
|
280
281
|
}, null, 8, ["label"]), l(f, {
|
|
281
|
-
label:
|
|
282
|
+
label: r(a)("common.cancel"),
|
|
282
283
|
size: "md",
|
|
283
284
|
variant: "secondary",
|
|
284
285
|
onClick: e[4] || (e[4] = (o) => M.value = !1)
|
|
285
286
|
}, null, 8, ["label"])])]),
|
|
286
287
|
default: b(() => [i("div", Oe, [i("div", Ae, [l(s, {
|
|
287
288
|
name: m.value.user.name,
|
|
288
|
-
initials:
|
|
289
|
+
initials: r(Le)(m.value.user.name),
|
|
289
290
|
size: "lg"
|
|
290
|
-
}, null, 8, ["name", "initials"]), i("div", Ke, [i("div", ze, O(
|
|
291
|
+
}, null, 8, ["name", "initials"]), i("div", Ke, [i("div", ze, O(r(a)("hr.timesheet.employeeName")), 1), i("div", Ne, O(m.value.user.name), 1)])]), i("div", Ue, [i("div", Be, O(r(a)("hr.timesheet.update.checkIn")), 1), i("div", Pe, [l(n, {
|
|
291
292
|
modelValue: T.value,
|
|
292
293
|
"onUpdate:modelValue": e[0] || (e[0] = (o) => T.value = o),
|
|
293
294
|
disabled: !1,
|
|
294
|
-
label:
|
|
295
|
+
label: r(a)("hr.timesheet.update.date")
|
|
295
296
|
}, null, 8, ["modelValue", "label"]), l(w, {
|
|
296
297
|
modelValue: I.value,
|
|
297
298
|
"onUpdate:modelValue": e[1] || (e[1] = (o) => I.value = o),
|
|
298
|
-
label:
|
|
299
|
-
}, null, 8, ["modelValue", "label"])])]), i("div", je, [i("div", He, O(
|
|
299
|
+
label: r(a)("hr.timesheet.update.time")
|
|
300
|
+
}, null, 8, ["modelValue", "label"])])]), i("div", je, [i("div", He, O(r(a)("hr.timesheet.update.checkOut")), 1), i("div", Ge, [l(n, {
|
|
300
301
|
modelValue: R.value,
|
|
301
302
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => R.value = o),
|
|
302
303
|
disabled: !1,
|
|
303
|
-
label:
|
|
304
|
+
label: r(a)("hr.timesheet.update.date")
|
|
304
305
|
}, null, 8, ["modelValue", "label"]), l(w, {
|
|
305
306
|
modelValue: $.value,
|
|
306
307
|
"onUpdate:modelValue": e[3] || (e[3] = (o) => $.value = o),
|
|
307
|
-
label:
|
|
308
|
+
label: r(a)("hr.timesheet.update.time")
|
|
308
309
|
}, null, 8, ["modelValue", "label"])])]), K.value ? (E(), P("div", qe, [l(y, {
|
|
309
310
|
color: "#FF3B30",
|
|
310
311
|
name: "error",
|
|
@@ -317,26 +318,26 @@ const Oe = {
|
|
|
317
318
|
multiple: "",
|
|
318
319
|
items: ae.value,
|
|
319
320
|
variant: "dark",
|
|
320
|
-
"selected-prefix":
|
|
321
|
-
placeholder:
|
|
321
|
+
"selected-prefix": r(a)("hr.role.columns.restaurants"),
|
|
322
|
+
placeholder: r(a)("hr.role.columns.restaurants"),
|
|
322
323
|
class: "!w-auto pt-[3px]"
|
|
323
324
|
}, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), i("div", Xe, [l(ie, {
|
|
324
|
-
modelValue:
|
|
325
|
+
modelValue: r(L),
|
|
325
326
|
"onUpdate:modelValue": e[7] || (e[7] = (o) => ge(L) ? L.value = o : null),
|
|
326
327
|
"show-predefined-range": ""
|
|
327
328
|
}, {
|
|
328
329
|
"trigger-button": b(() => [l(Q, {
|
|
329
|
-
label:
|
|
330
|
+
label: r(oe)
|
|
330
331
|
}, null, 8, ["label"])]),
|
|
331
332
|
_: 1
|
|
332
333
|
}, 8, ["modelValue"]), l(f, {
|
|
333
334
|
icon: "chevron_left",
|
|
334
335
|
variant: "tertiary",
|
|
335
|
-
onClick: e[8] || (e[8] = (o) =>
|
|
336
|
+
onClick: e[8] || (e[8] = (o) => r(G)("subtract"))
|
|
336
337
|
}), l(f, {
|
|
337
338
|
icon: "chevron_right",
|
|
338
339
|
variant: "tertiary",
|
|
339
|
-
onClick: e[9] || (e[9] = (o) =>
|
|
340
|
+
onClick: e[9] || (e[9] = (o) => r(G)("add"))
|
|
340
341
|
})]), l(de, {
|
|
341
342
|
class: "pt-[3px]"
|
|
342
343
|
}, {
|
|
@@ -354,15 +355,15 @@ const Oe = {
|
|
|
354
355
|
modelValue: c.value,
|
|
355
356
|
"onUpdate:modelValue": e[10] || (e[10] = (o) => c.value = o),
|
|
356
357
|
class: "w-[320px]",
|
|
357
|
-
placeholder:
|
|
358
|
-
}, null, 8, ["modelValue", "placeholder"])]), l(
|
|
358
|
+
placeholder: r(a)("hr.timesheet.search.placeholder")
|
|
359
|
+
}, null, 8, ["modelValue", "placeholder"])]), l(Se, {
|
|
359
360
|
class: "w-full xs:px-16"
|
|
360
361
|
}, {
|
|
361
|
-
default: b(() => [i("div", Ze, [l(
|
|
362
|
+
default: b(() => [i("div", Ze, [l(Ve, {
|
|
362
363
|
"is-loading": Y.value,
|
|
363
364
|
"is-empty": p.value === "listView" ? z.value.length === 0 : N.value.length === 0,
|
|
364
365
|
"collapse-at": !1,
|
|
365
|
-
title:
|
|
366
|
+
title: r(a)("hr.timesheet.noData.title"),
|
|
366
367
|
subtitle: ""
|
|
367
368
|
}, {
|
|
368
369
|
default: b(() => [p.value === "listView" ? (E(), te(W, {
|
|
@@ -396,7 +397,7 @@ const Oe = {
|
|
|
396
397
|
})])], 64);
|
|
397
398
|
};
|
|
398
399
|
}
|
|
399
|
-
}),
|
|
400
|
+
}), ht = /* @__PURE__ */ Re(et, [["__scopeId", "data-v-63294af2"]]);
|
|
400
401
|
export {
|
|
401
|
-
|
|
402
|
+
ht as default
|
|
402
403
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as i } from "./dayjs.min-
|
|
1
|
+
import { d as i } from "./dayjs.min-B6xBXQtU.js";
|
|
2
2
|
import { defineStore as p, storeToRefs as T } from "pinia";
|
|
3
3
|
import { ref as l } from "vue";
|
|
4
|
-
import { b as c, g as y } from "./restaurant-
|
|
5
|
-
import { s as S } from "./iteration-
|
|
4
|
+
import { b as c, g as y } from "./restaurant-D7PEQjPY.js";
|
|
5
|
+
import { s as S } from "./iteration-B34AvpNC.js";
|
|
6
6
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
7
7
|
const u = {
|
|
8
8
|
async readTimesheets(t, e) {
|