@feedmepos/mf-hrm-portal 2.3.0-dev.19 → 2.3.0-dev.20
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-INrLNl4W.js → ApprovalCodeList-ChZm8Cqn.js} +7 -7
- package/dist/{AuditLogList-BDgSBAPi.js → AuditLogList-DNb_HY2b.js} +5 -5
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BQS6Y708.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C1FZLRtw.js} +2 -2
- package/dist/{EmployeeList-DsuNI7P7.js → EmployeeList-D0_eAXnx.js} +254 -264
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js → FormItem.vue_vue_type_script_setup_true_lang-DZEUOnX-.js} +6 -6
- package/dist/{GrantUserList-Bmgie1HE.js → GrantUserList-HHl1a4dz.js} +8 -8
- package/dist/{Main-B1e9eyqv.js → Main-B35_MSKW.js} +11 -11
- package/dist/{Main-BKt8r7Ut.js → Main-DFk9nc3J.js} +8 -8
- package/dist/{Main-SBhiLPdR.js → Main-DMsmgQyL.js} +5 -5
- package/dist/{PermissionSetList-CMOKTS_m.js → PermissionSetList-CglEdefD.js} +19 -18
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-K1Ad4e-f.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-9tG8k0mR.js} +807 -807
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js} +1 -1
- package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +132 -0
- package/dist/{RoleList-DcbQo51I.js → RoleList-_UsStsN7.js} +21 -20
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DYhMssqd.js +530 -0
- package/dist/ScheduleGeneralPage-CP3Vb4XJ.js +776 -0
- package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-B_OqKDw_.js +2439 -0
- package/dist/SchedulePage-5cbZyAow.js +19250 -0
- package/dist/SchedulePositionPage-DwgNOVe8.js +262 -0
- package/dist/SelectFilter-BWM2fbe4.js +264 -0
- package/dist/{TeamMemberList-Bvjq14lE.js → TeamMemberList-CiYROtup.js} +25 -24
- package/dist/{TimesheetList-CybTPHdT.js → TimesheetList-ohxQpGBt.js} +10 -10
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CGmVMnqS.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CHgKOFjZ.js} +3 -3
- package/dist/{app-CEcv-vMB.js → app-hqb3iLmH.js} +4164 -2970
- package/dist/app.js +1 -1
- package/dist/{approval-code-jIjkeVEb.js → approval-code-BXUiojPH.js} +1 -1
- package/dist/{dayjs.min-yw8fgQPr.js → dayjs.min-jdSYngTL.js} +1 -1
- package/dist/{employee-ByRgP_2p.js → employee-DQksdva7.js} +29 -28
- package/dist/{grant-user-SNiDV22U.js → grant-user-CBJ3gEgW.js} +1 -1
- package/dist/{iteration-B3Z1Ojal.js → iteration-Ws9RBh0x.js} +1 -1
- package/dist/{lodash-D2BUlQJ1.js → lodash-Db0CBH2I.js} +1 -1
- package/dist/object-Dwyg2LgX.js +16 -0
- package/dist/{restaurant-BTpBmfBV.js → restaurant-D2mfKHaH.js} +230 -224
- package/dist/{role-_BDO50Cj.js → role-C5BIFEPz.js} +2 -2
- package/dist/{rule-FuP71XrW.js → rule-CU0v7pCG.js} +36 -36
- package/dist/src/api/restaurant/index.d.ts +2 -0
- package/dist/src/api/schedule/index.d.ts +63 -0
- 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/router/shared.d.ts +4 -1
- package/dist/src/types/employee.d.ts +1 -0
- package/dist/src/types/schedule.d.ts +23 -0
- package/dist/src/views/audit-log/locales/index.d.ts +252 -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/ScheduleAreaRows.vue.d.ts +41 -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 +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 +32 -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 +35 -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 +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 +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 +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 +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 +3 -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-quick-pick.d.ts +22 -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 +7 -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 +120 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +73 -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 +297 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +612 -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 +30 -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 +30 -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 +79 -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 +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 +1522 -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 +21 -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 +126 -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 +29 -0
- package/dist/src/views/scheduling/data.d.ts +123 -0
- package/dist/src/views/scheduling/locales/index.d.ts +716 -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 +135 -0
- package/dist/src/views/scheduling/types.d.ts +380 -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-DCwd8GWN.js → useAppStore-DZCdxlCd.js} +1 -1
- package/dist/useDiscardConfirm-CzZSPyvh.js +28 -0
- package/dist/{useLoading-CXzTpIVv.js → useLoading-Nygx2zn8.js} +1 -1
- package/dist/{useReportPermissions-5AYWAQ8e.js → useReportPermissions-DeJMpuw7.js} +3 -3
- package/package.json +4 -2
- package/dist/SelectFilter-ATOm0hdn.js +0 -269
- package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useI18n as n } from "@feedmepos/mf-common";
|
|
2
|
+
import { useDialog as m } from "@feedmepos/ui-library";
|
|
3
|
+
function l(i, t, r = {}) {
|
|
4
|
+
const s = m(), { t: o } = n();
|
|
5
|
+
function e() {
|
|
6
|
+
i() ? s.open({
|
|
7
|
+
title: o("portalCommon.dismiss.title"),
|
|
8
|
+
message: o("portalCommon.dismiss.message"),
|
|
9
|
+
zIndex: r.zIndex ?? 200,
|
|
10
|
+
primaryActions: {
|
|
11
|
+
text: o("portalCommon.dismiss.primaryActions"),
|
|
12
|
+
variant: "primary",
|
|
13
|
+
close: !0
|
|
14
|
+
},
|
|
15
|
+
secondaryActions: {
|
|
16
|
+
text: o("common.cancel"),
|
|
17
|
+
variant: "tertiary",
|
|
18
|
+
close: !0
|
|
19
|
+
}
|
|
20
|
+
}).onPrimary(() => {
|
|
21
|
+
t();
|
|
22
|
+
}) : t();
|
|
23
|
+
}
|
|
24
|
+
return e;
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
l as u
|
|
28
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as I, isRef as L, watch as M } from "vue";
|
|
2
2
|
import { SnackbarPosition as y } from "@feedmepos/ui-library";
|
|
3
|
-
import { u as w, v } from "./useAppStore-
|
|
3
|
+
import { u as w, v } from "./useAppStore-DZCdxlCd.js";
|
|
4
4
|
const E = (r) => {
|
|
5
5
|
async function d(u, e) {
|
|
6
6
|
var l, a;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed as r, ref as n } from "vue";
|
|
2
|
-
import { e as d } from "./iteration-
|
|
2
|
+
import { e as d } from "./iteration-Ws9RBh0x.js";
|
|
3
3
|
import { useCoreStore as h } from "@feedmepos/mf-common";
|
|
4
|
-
import { R as K } from "./rule-
|
|
5
|
-
import { D as g } from "./app-
|
|
4
|
+
import { R as K } from "./rule-CU0v7pCG.js";
|
|
5
|
+
import { D as g } from "./app-hqb3iLmH.js";
|
|
6
6
|
const a = n([]), i = n(!1), l = n(!1), f = n(null), p = n(null), u = n(!1);
|
|
7
7
|
function B() {
|
|
8
8
|
const v = h();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-hrm-portal",
|
|
3
|
-
"version": "2.3.0-dev.
|
|
3
|
+
"version": "2.3.0-dev.20",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"@feedmepos/auth": "^1.1.14",
|
|
18
18
|
"@feedmepos/core": "^2.14.36",
|
|
19
19
|
"@feedmepos/mf-common": "^1.29.10",
|
|
20
|
+
"@feedmepos/mf-remy-panel": "0.15.0",
|
|
20
21
|
"@feedmepos/ui-library": "^1.10.13",
|
|
21
22
|
"@feedmepos/feature-flag": "^0.0.15",
|
|
22
23
|
"axios": "^1.7.7",
|
|
@@ -29,7 +30,8 @@
|
|
|
29
30
|
"vue-router": "^4.3.2",
|
|
30
31
|
"vue3-lottie": "^3.3.0",
|
|
31
32
|
"xlsx": "^0.18.5",
|
|
32
|
-
"@feedmepos/hrm-permission": "1.2.0"
|
|
33
|
+
"@feedmepos/hrm-permission": "1.2.0",
|
|
34
|
+
"@feedmepos/hrm-schedule-contract": "1.0.0"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
35
37
|
"@casl/ability": "^3.4.0",
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import { ref as $, computed as v, defineComponent as X, watch as Y, nextTick as Z, resolveComponent as A, createElementBlock as d, openBlock as c, createElementVNode as _, createVNode as k, renderSlot as z, withCtx as H, createCommentVNode as S, normalizeStyle as ee, Fragment as w, createBlock as T, unref as C, renderList as R, toDisplayString as N, normalizeClass as le, withModifiers as te } from "vue";
|
|
2
|
-
import "@feedmepos/ui-library";
|
|
3
|
-
/* empty css */
|
|
4
|
-
function ae(u, n, h = u) {
|
|
5
|
-
const l = $(!0), p = v(() => {
|
|
6
|
-
if (!l.value && !n.value)
|
|
7
|
-
return !0;
|
|
8
|
-
if (n.value && n.value.length > 0) {
|
|
9
|
-
const r = h.value.map((o) => o.value);
|
|
10
|
-
return n.value.length === r.length && n.value.every((o) => r.includes(o));
|
|
11
|
-
}
|
|
12
|
-
return !1;
|
|
13
|
-
}), t = v(() => {
|
|
14
|
-
var r, o, y, b;
|
|
15
|
-
return !!((r = n.value) != null && r.length && ((o = n.value) == null ? void 0 : o.length) > 0 && ((y = n.value) == null ? void 0 : y.length) < ((b = u.value) == null ? void 0 : b.length));
|
|
16
|
-
});
|
|
17
|
-
return { allCleared: l, allSelected: p, indeterminate: t, toggleAll: () => {
|
|
18
|
-
if (p.value) {
|
|
19
|
-
n.value = void 0, l.value = !0;
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
const r = h.value.map((o) => o.value);
|
|
23
|
-
r.length === u.value.length ? (n.value = void 0, l.value = !1) : (n.value = r, l.value = !1);
|
|
24
|
-
}, toggleOption: (r) => {
|
|
25
|
-
var y, b, B;
|
|
26
|
-
let o;
|
|
27
|
-
n.value === void 0 && l.value ? o = [r] : n.value === void 0 && !l.value ? o = (y = u.value.map((m) => m.value)) == null ? void 0 : y.filter((m) => m !== r) : (b = n.value) != null && b.includes(r) ? o = (B = n.value) == null ? void 0 : B.filter((m) => m !== r) : o = [...n.value || [], r], o.length === 0 ? (n.value = void 0, l.value = !0) : o.length === u.value.length ? (n.value = void 0, l.value = !1) : n.value = o;
|
|
28
|
-
} };
|
|
29
|
-
}
|
|
30
|
-
const ue = { class: "w-full flex flex-col gap-8" }, ne = { class: "flex items-center gap-8" }, re = { class: "inline-flex items-center" }, oe = { class: "flex flex-col w-[360px] min-h-0 gap-8" }, se = {
|
|
31
|
-
key: 0,
|
|
32
|
-
class: "flex gap-4 px-[6px] pt-4"
|
|
33
|
-
}, ie = { class: "flex-1" }, ce = {
|
|
34
|
-
key: 0,
|
|
35
|
-
class: "px-12 pt-8 pb-4 text-xs font-semibold text-fm-color-typo-secondary select-none"
|
|
36
|
-
}, ve = /* @__PURE__ */ X({
|
|
37
|
-
__name: "SelectFilter",
|
|
38
|
-
props: {
|
|
39
|
-
items: { default: () => [] },
|
|
40
|
-
modelValue: {},
|
|
41
|
-
multiple: { type: Boolean, default: !1 },
|
|
42
|
-
placeholder: { default: "Select..." },
|
|
43
|
-
searchPlaceholder: { default: "Search" },
|
|
44
|
-
disabled: { type: Boolean, default: !1 },
|
|
45
|
-
variant: { default: "default" },
|
|
46
|
-
clearable: { type: Boolean, default: !1 },
|
|
47
|
-
searchable: { type: Boolean, default: !0 },
|
|
48
|
-
autoSelectFirst: { type: Boolean, default: !1 },
|
|
49
|
-
chipIcon: { default: "filter_list" },
|
|
50
|
-
showSelectAll: { type: Boolean, default: !0 },
|
|
51
|
-
maxHeight: { default: 300 },
|
|
52
|
-
selectedPrefix: { default: "Selected: " },
|
|
53
|
-
filterFn: {}
|
|
54
|
-
},
|
|
55
|
-
emits: ["update:modelValue", "change"],
|
|
56
|
-
setup(u, { expose: n, emit: h }) {
|
|
57
|
-
const l = u, p = h, t = v({
|
|
58
|
-
get: () => l.modelValue,
|
|
59
|
-
set: (e) => {
|
|
60
|
-
p("update:modelValue", e), p("change", e);
|
|
61
|
-
}
|
|
62
|
-
}), V = $(""), f = v(() => l.items), r = v(() => {
|
|
63
|
-
const e = V.value.trim();
|
|
64
|
-
if (!l.searchable || !e) return f.value;
|
|
65
|
-
if (l.filterFn)
|
|
66
|
-
return f.value.filter((s) => l.filterFn(s, e));
|
|
67
|
-
const a = e.toLowerCase();
|
|
68
|
-
return f.value.filter((s) => s.label.toLowerCase().includes(a));
|
|
69
|
-
}), o = v(() => f.value.some((e) => !!e.group)), y = v(() => {
|
|
70
|
-
if (!o.value)
|
|
71
|
-
return [{ group: "", options: r.value }];
|
|
72
|
-
const e = [], a = /* @__PURE__ */ new Map();
|
|
73
|
-
for (const s of r.value) {
|
|
74
|
-
const F = s.group ?? "";
|
|
75
|
-
let x = a.get(F);
|
|
76
|
-
x || (x = [], a.set(F, x), e.push({ group: F, options: x })), x.push(s);
|
|
77
|
-
}
|
|
78
|
-
return e;
|
|
79
|
-
}), b = v(() => {
|
|
80
|
-
if (!t.value || Array.isArray(t.value) && t.value.length === 0)
|
|
81
|
-
return l.placeholder;
|
|
82
|
-
if (Array.isArray(t.value) && t.value.length === 1) {
|
|
83
|
-
const a = f.value.find((s) => s.value === t.value[0]);
|
|
84
|
-
return (a == null ? void 0 : a.label) || l.placeholder;
|
|
85
|
-
}
|
|
86
|
-
const e = Array.isArray(t.value) ? t.value.length : 0;
|
|
87
|
-
return `${l.selectedPrefix}${e}`;
|
|
88
|
-
}), B = v(() => {
|
|
89
|
-
if (t.value === void 0 || t.value === null || t.value === "")
|
|
90
|
-
return l.placeholder;
|
|
91
|
-
const e = f.value.find((a) => a.value === t.value);
|
|
92
|
-
return (e == null ? void 0 : e.label) || l.placeholder;
|
|
93
|
-
}), m = v(
|
|
94
|
-
() => l.multiple ? b.value : B.value
|
|
95
|
-
), I = v(() => l.disabled ? "neutral-gray-200" : l.variant === "dark" ? "neutral-black" : "neutral-gray-400"), U = v(() => l.disabled ? "text-fm-color-neutral-gray-200" : l.variant === "dark" ? "text-fm-color-neutral-black" : "text-fm-color-neutral-gray-400"), L = $(void 0), j = new Proxy(L, {
|
|
96
|
-
get(e, a) {
|
|
97
|
-
return a === "value" ? Array.isArray(t.value) ? t.value : t.value === void 0 ? void 0 : [t.value] : L[a];
|
|
98
|
-
},
|
|
99
|
-
set(e, a, s) {
|
|
100
|
-
return a === "value" ? (t.value = s, !0) : (L[a] = s, !0);
|
|
101
|
-
}
|
|
102
|
-
}), { allSelected: O, toggleAll: q, toggleOption: E, indeterminate: J } = ae(
|
|
103
|
-
f,
|
|
104
|
-
j,
|
|
105
|
-
r
|
|
106
|
-
);
|
|
107
|
-
function G(e) {
|
|
108
|
-
var a;
|
|
109
|
-
l.multiple || (t.value = e, (a = M.value) == null || a.toggleMenu(!1));
|
|
110
|
-
}
|
|
111
|
-
function Q(e) {
|
|
112
|
-
e.stopPropagation(), !l.disabled && (t.value = null);
|
|
113
|
-
}
|
|
114
|
-
Y(
|
|
115
|
-
() => l.autoSelectFirst,
|
|
116
|
-
async (e) => {
|
|
117
|
-
if (e && !l.multiple && (t.value === void 0 || t.value === null)) {
|
|
118
|
-
await Z();
|
|
119
|
-
const a = f.value[0];
|
|
120
|
-
a && (t.value = a.value);
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{ immediate: !0 }
|
|
124
|
-
);
|
|
125
|
-
const M = $(null);
|
|
126
|
-
return n({
|
|
127
|
-
open: () => {
|
|
128
|
-
var e;
|
|
129
|
-
return (e = M.value) == null ? void 0 : e.toggleMenu(!0);
|
|
130
|
-
},
|
|
131
|
-
close: () => {
|
|
132
|
-
var e;
|
|
133
|
-
return (e = M.value) == null ? void 0 : e.toggleMenu(!1);
|
|
134
|
-
}
|
|
135
|
-
}), (e, a) => {
|
|
136
|
-
const s = A("FmIcon"), F = A("FmChip"), x = A("FmSearch"), P = A("FmMenuItem"), W = A("FmMenu");
|
|
137
|
-
return c(), d("div", ue, [
|
|
138
|
-
_("div", ne, [
|
|
139
|
-
k(W, {
|
|
140
|
-
ref_key: "menuRef",
|
|
141
|
-
ref: M,
|
|
142
|
-
"close-on-click": !1,
|
|
143
|
-
disabled: u.disabled,
|
|
144
|
-
"z-index": 50,
|
|
145
|
-
"selector-for-dismiss-away-event-exclusion": ".fm-dialog, .fm-select__menu__wrapper"
|
|
146
|
-
}, {
|
|
147
|
-
"menu-button": H(() => [
|
|
148
|
-
z(e.$slots, "menu-button", {}, () => [
|
|
149
|
-
_("div", re, [
|
|
150
|
-
k(F, { disabled: u.disabled }, {
|
|
151
|
-
default: H(() => [
|
|
152
|
-
k(s, {
|
|
153
|
-
color: I.value,
|
|
154
|
-
name: u.chipIcon,
|
|
155
|
-
outline: "",
|
|
156
|
-
size: "sm"
|
|
157
|
-
}, null, 8, ["color", "name"]),
|
|
158
|
-
m.value ? (c(), d("div", {
|
|
159
|
-
key: 0,
|
|
160
|
-
class: le([
|
|
161
|
-
"fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap",
|
|
162
|
-
U.value
|
|
163
|
-
])
|
|
164
|
-
}, N(m.value), 3)) : S("", !0),
|
|
165
|
-
k(s, {
|
|
166
|
-
color: I.value,
|
|
167
|
-
name: "keyboard_arrow_down",
|
|
168
|
-
size: "sm"
|
|
169
|
-
}, null, 8, ["color"]),
|
|
170
|
-
u.clearable && !u.multiple && t.value != null && t.value !== "" && !u.disabled ? (c(), d("button", {
|
|
171
|
-
key: 1,
|
|
172
|
-
class: "ml-4 focus:outline-none",
|
|
173
|
-
type: "button",
|
|
174
|
-
"aria-label": "Clear selection",
|
|
175
|
-
onClick: te(Q, ["stop"])
|
|
176
|
-
}, [
|
|
177
|
-
k(s, {
|
|
178
|
-
name: "close",
|
|
179
|
-
size: "sm",
|
|
180
|
-
color: I.value
|
|
181
|
-
}, null, 8, ["color"])
|
|
182
|
-
])) : S("", !0)
|
|
183
|
-
]),
|
|
184
|
-
_: 1
|
|
185
|
-
}, 8, ["disabled"])
|
|
186
|
-
])
|
|
187
|
-
], !0)
|
|
188
|
-
]),
|
|
189
|
-
default: H(() => [
|
|
190
|
-
_("div", oe, [
|
|
191
|
-
u.searchable ? (c(), d("div", se, [
|
|
192
|
-
_("div", ie, [
|
|
193
|
-
k(x, {
|
|
194
|
-
modelValue: V.value,
|
|
195
|
-
"onUpdate:modelValue": a[0] || (a[0] = (i) => V.value = i),
|
|
196
|
-
placeholder: u.searchPlaceholder
|
|
197
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
198
|
-
])
|
|
199
|
-
])) : S("", !0),
|
|
200
|
-
_("div", {
|
|
201
|
-
class: "flex-1 overflow-y-auto min-h-0",
|
|
202
|
-
style: ee({ maxHeight: typeof u.maxHeight == "number" ? u.maxHeight + "px" : u.maxHeight })
|
|
203
|
-
}, [
|
|
204
|
-
u.multiple ? (c(), d(w, { key: 0 }, [
|
|
205
|
-
u.showSelectAll ? (c(), T(P, {
|
|
206
|
-
key: 0,
|
|
207
|
-
label: "All",
|
|
208
|
-
"has-checkbox": "",
|
|
209
|
-
"model-value": C(O),
|
|
210
|
-
indeterminate: C(J),
|
|
211
|
-
onClick: C(q)
|
|
212
|
-
}, null, 8, ["model-value", "indeterminate", "onClick"])) : S("", !0),
|
|
213
|
-
r.value.length ? (c(!0), d(w, { key: 1 }, R(y.value, (i) => (c(), d(w, {
|
|
214
|
-
key: i.group
|
|
215
|
-
}, [
|
|
216
|
-
i.group ? (c(), d("div", ce, N(i.group) + " (" + N(i.options.length) + ") ", 1)) : S("", !0),
|
|
217
|
-
(c(!0), d(w, null, R(i.options, (g) => {
|
|
218
|
-
var K;
|
|
219
|
-
return z(e.$slots, "option", {
|
|
220
|
-
key: g.value,
|
|
221
|
-
option: g,
|
|
222
|
-
selected: C(O) || Array.isArray(t.value) && ((K = t.value) == null ? void 0 : K.includes(g.value)),
|
|
223
|
-
toggle: () => C(E)(g.value)
|
|
224
|
-
}, () => {
|
|
225
|
-
var D;
|
|
226
|
-
return [
|
|
227
|
-
k(P, {
|
|
228
|
-
label: g.label,
|
|
229
|
-
"has-checkbox": "",
|
|
230
|
-
"model-value": C(O) || Array.isArray(t.value) && ((D = t.value) == null ? void 0 : D.includes(g.value)),
|
|
231
|
-
onClick: (fe) => C(E)(g.value)
|
|
232
|
-
}, null, 8, ["label", "model-value", "onClick"])
|
|
233
|
-
];
|
|
234
|
-
}, !0);
|
|
235
|
-
}), 128))
|
|
236
|
-
], 64))), 128)) : S("", !0)
|
|
237
|
-
], 64)) : (c(), d(w, { key: 1 }, [
|
|
238
|
-
r.value.length ? (c(!0), d(w, { key: 0 }, R(r.value, (i) => z(e.$slots, "option", {
|
|
239
|
-
option: i,
|
|
240
|
-
selected: t.value === i.value,
|
|
241
|
-
toggle: () => G(i.value)
|
|
242
|
-
}, () => [
|
|
243
|
-
(c(), T(P, {
|
|
244
|
-
key: i.value,
|
|
245
|
-
label: i.label,
|
|
246
|
-
onClick: (g) => G(i.value)
|
|
247
|
-
}, null, 8, ["label", "onClick"]))
|
|
248
|
-
], !0)), 256)) : S("", !0)
|
|
249
|
-
], 64))
|
|
250
|
-
], 4)
|
|
251
|
-
])
|
|
252
|
-
]),
|
|
253
|
-
_: 3
|
|
254
|
-
}, 8, ["disabled"]),
|
|
255
|
-
z(e.$slots, "append-right", {}, void 0, !0)
|
|
256
|
-
])
|
|
257
|
-
]);
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
}), de = (u, n) => {
|
|
261
|
-
const h = u.__vccOpts || u;
|
|
262
|
-
for (const [l, p] of n)
|
|
263
|
-
h[l] = p;
|
|
264
|
-
return h;
|
|
265
|
-
}, pe = /* @__PURE__ */ de(ve, [["__scopeId", "data-v-81cde2b9"]]);
|
|
266
|
-
export {
|
|
267
|
-
pe as S,
|
|
268
|
-
de as _
|
|
269
|
-
};
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, ref as M, resolveComponent as l, createBlock as a, openBlock as t, withCtx as i, createElementVNode as g, renderSlot as b, createCommentVNode as k, withModifiers as $, nextTick as I, createElementBlock as f, normalizeClass as h, createTextVNode as V, toDisplayString as C, computed as w, Fragment as B, renderList as F, createVNode as S } from "vue";
|
|
2
|
-
import { useBreakpoints as z, useDialog as D } from "@feedmepos/ui-library";
|
|
3
|
-
import { useI18n as N } from "@feedmepos/mf-common";
|
|
4
|
-
const A = /* @__PURE__ */ x({
|
|
5
|
-
__name: "BottomSheetMenu",
|
|
6
|
-
setup(o) {
|
|
7
|
-
const e = M(!1);
|
|
8
|
-
async function r() {
|
|
9
|
-
await I(), e.value = !e.value;
|
|
10
|
-
}
|
|
11
|
-
return (n, s) => {
|
|
12
|
-
const y = l("FmButton"), _ = l("FmBottomSheet");
|
|
13
|
-
return t(), a(_, {
|
|
14
|
-
modelValue: e.value,
|
|
15
|
-
"onUpdate:modelValue": s[1] || (s[1] = (d) => e.value = d),
|
|
16
|
-
"dismiss-away": "",
|
|
17
|
-
"no-header": "",
|
|
18
|
-
"z-index": 110
|
|
19
|
-
}, {
|
|
20
|
-
"bottom-sheet-button": i(() => [
|
|
21
|
-
n.$slots.button ? k("", !0) : (t(), a(y, {
|
|
22
|
-
key: 0,
|
|
23
|
-
icon: "more_vert",
|
|
24
|
-
variant: "tertiary",
|
|
25
|
-
onClick: $(r, ["stop"])
|
|
26
|
-
})),
|
|
27
|
-
b(n.$slots, "button")
|
|
28
|
-
]),
|
|
29
|
-
default: i(() => [
|
|
30
|
-
g("div", {
|
|
31
|
-
onClick: s[0] || (s[0] = (d) => e.value = !1)
|
|
32
|
-
}, [
|
|
33
|
-
b(n.$slots, "default")
|
|
34
|
-
])
|
|
35
|
-
]),
|
|
36
|
-
_: 3
|
|
37
|
-
}, 8, ["modelValue"]);
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}), E = { class: "py-8 px-12 hover:bg-fm-color-neutral-gray-100" }, T = /* @__PURE__ */ x({
|
|
41
|
-
__name: "BottomSheetMenuItem",
|
|
42
|
-
props: {
|
|
43
|
-
label: {},
|
|
44
|
-
icon: {},
|
|
45
|
-
disabled: { type: Boolean },
|
|
46
|
-
itemClass: {}
|
|
47
|
-
},
|
|
48
|
-
setup(o) {
|
|
49
|
-
const e = o;
|
|
50
|
-
return (r, n) => {
|
|
51
|
-
const s = l("FmIcon");
|
|
52
|
-
return t(), f("div", E, [
|
|
53
|
-
r.$slots.content ? k("", !0) : (t(), f("div", {
|
|
54
|
-
key: 0,
|
|
55
|
-
class: h(["flex items-center", {
|
|
56
|
-
"text-fm-color-typo-disabled": e.disabled,
|
|
57
|
-
"cursor-pointer": !e.disabled,
|
|
58
|
-
"cursor-not-allowed": e.disabled,
|
|
59
|
-
[e.itemClass || ""]: e.itemClass && !e.disabled
|
|
60
|
-
}])
|
|
61
|
-
}, [
|
|
62
|
-
o.icon ? (t(), a(s, {
|
|
63
|
-
key: 0,
|
|
64
|
-
name: o.icon
|
|
65
|
-
}, null, 8, ["name"])) : k("", !0),
|
|
66
|
-
V(" " + C(o.label), 1)
|
|
67
|
-
], 2)),
|
|
68
|
-
b(r.$slots, "content")
|
|
69
|
-
]);
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
}), U = /* @__PURE__ */ x({
|
|
73
|
-
__name: "ResponsiveContextMenu",
|
|
74
|
-
props: {
|
|
75
|
-
items: {}
|
|
76
|
-
},
|
|
77
|
-
setup(o) {
|
|
78
|
-
const e = z(), r = w(() => e.breakpoints.value.xs);
|
|
79
|
-
return (n, s) => {
|
|
80
|
-
const y = l("FmButton"), _ = l("FmMenuItem"), d = l("FmMenu");
|
|
81
|
-
return r.value ? (t(), a(A, { key: 0 }, {
|
|
82
|
-
default: i(() => [
|
|
83
|
-
(t(!0), f(B, null, F(o.items, ({ icon: c, label: m, disabled: p, itemClass: u, onClick: v }) => (t(), a(T, {
|
|
84
|
-
key: m,
|
|
85
|
-
icon: c,
|
|
86
|
-
label: m,
|
|
87
|
-
disabled: p,
|
|
88
|
-
itemClass: u,
|
|
89
|
-
onClick: () => {
|
|
90
|
-
!p && (v == null || v());
|
|
91
|
-
}
|
|
92
|
-
}, null, 8, ["icon", "label", "disabled", "itemClass", "onClick"]))), 128))
|
|
93
|
-
]),
|
|
94
|
-
_: 1
|
|
95
|
-
})) : (t(), a(d, {
|
|
96
|
-
key: 1,
|
|
97
|
-
"stop-click-propagation": "",
|
|
98
|
-
shift: !0
|
|
99
|
-
}, {
|
|
100
|
-
"menu-button": i(() => [
|
|
101
|
-
S(y, {
|
|
102
|
-
type: "button",
|
|
103
|
-
variant: "tertiary",
|
|
104
|
-
icon: "more_vert",
|
|
105
|
-
"text-color": "neutral-gray-400",
|
|
106
|
-
size: "md"
|
|
107
|
-
})
|
|
108
|
-
]),
|
|
109
|
-
default: i(() => [
|
|
110
|
-
(t(!0), f(B, null, F(o.items, ({ label: c, disabled: m, itemClass: p, onClick: u }) => (t(), a(_, {
|
|
111
|
-
key: c,
|
|
112
|
-
disabled: m,
|
|
113
|
-
label: c,
|
|
114
|
-
onClick: () => {
|
|
115
|
-
!m && (u == null || u());
|
|
116
|
-
}
|
|
117
|
-
}, {
|
|
118
|
-
label: i(() => [
|
|
119
|
-
g("span", {
|
|
120
|
-
class: h(m ? "text-fm-color-typo-disabled" : p)
|
|
121
|
-
}, C(c), 3)
|
|
122
|
-
]),
|
|
123
|
-
_: 2
|
|
124
|
-
}, 1032, ["disabled", "label", "onClick"]))), 128))
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}));
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
function j(o, e) {
|
|
132
|
-
const r = D(), { t: n } = N();
|
|
133
|
-
function s() {
|
|
134
|
-
o() ? r.open({
|
|
135
|
-
title: n("portalCommon.dismiss.title"),
|
|
136
|
-
message: n("portalCommon.dismiss.message"),
|
|
137
|
-
zIndex: 200,
|
|
138
|
-
primaryActions: {
|
|
139
|
-
text: n("portalCommon.dismiss.primaryActions"),
|
|
140
|
-
variant: "primary",
|
|
141
|
-
close: !0
|
|
142
|
-
},
|
|
143
|
-
secondaryActions: {
|
|
144
|
-
text: n("common.cancel"),
|
|
145
|
-
variant: "tertiary",
|
|
146
|
-
close: !0
|
|
147
|
-
}
|
|
148
|
-
}).onPrimary(() => {
|
|
149
|
-
e();
|
|
150
|
-
}) : e();
|
|
151
|
-
}
|
|
152
|
-
return s;
|
|
153
|
-
}
|
|
154
|
-
export {
|
|
155
|
-
U as _,
|
|
156
|
-
j as u
|
|
157
|
-
};
|