@feedmepos/mf-hrm-portal 2.3.0-dev.18 → 2.3.0-dev.19

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.
Files changed (234) hide show
  1. package/dist/{ApprovalCodeList-B10IvyLu.js → ApprovalCodeList-INrLNl4W.js} +7 -7
  2. package/dist/{AuditLogList-BJ8GXIzu.js → AuditLogList-BDgSBAPi.js} +5 -5
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DfXqKPnU.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-BQS6Y708.js} +2 -2
  4. package/dist/{EmployeeList-CNj262HG.js → EmployeeList-DsuNI7P7.js} +264 -254
  5. package/dist/{FormItem.vue_vue_type_script_setup_true_lang-BvSLGM1C.js → FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js} +6 -6
  6. package/dist/{GrantUserList-R259wy0R.js → GrantUserList-Bmgie1HE.js} +8 -8
  7. package/dist/{Main-DZ5T4TP1.js → Main-B1e9eyqv.js} +11 -11
  8. package/dist/{Main-yUEWFlC3.js → Main-BKt8r7Ut.js} +8 -8
  9. package/dist/{Main-DLgW7BX_.js → Main-SBhiLPdR.js} +5 -5
  10. package/dist/{PermissionSetList-Xrzkx52n.js → PermissionSetList-CMOKTS_m.js} +18 -19
  11. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BhR3MM-s.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-K1Ad4e-f.js} +1071 -1071
  12. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js} +1 -1
  13. package/dist/{RoleList-RRDkrVmu.js → RoleList-DcbQo51I.js} +20 -21
  14. package/dist/SelectFilter-ATOm0hdn.js +269 -0
  15. package/dist/{TeamMemberList-CPpBsvi7.js → TeamMemberList-Bvjq14lE.js} +24 -25
  16. package/dist/{TimesheetList-CWl2faUZ.js → TimesheetList-CybTPHdT.js} +10 -10
  17. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-Dc0_djRp.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CGmVMnqS.js} +3 -3
  18. package/dist/{app-COWpQb6i.js → app-CEcv-vMB.js} +2893 -3966
  19. package/dist/app.js +1 -1
  20. package/dist/{approval-code-BXUiojPH.js → approval-code-jIjkeVEb.js} +1 -1
  21. package/dist/{dayjs.min-Dv2S110T.js → dayjs.min-yw8fgQPr.js} +1 -1
  22. package/dist/{employee-Drs22uVf.js → employee-ByRgP_2p.js} +28 -29
  23. package/dist/{grant-user-CBJ3gEgW.js → grant-user-SNiDV22U.js} +1 -1
  24. package/dist/{iteration-B23jisFZ.js → iteration-B3Z1Ojal.js} +1 -1
  25. package/dist/{lodash-CQM_jgZN.js → lodash-D2BUlQJ1.js} +1 -1
  26. package/dist/{restaurant-D2mfKHaH.js → restaurant-BTpBmfBV.js} +224 -230
  27. package/dist/{role-k4mdt-op.js → role-_BDO50Cj.js} +2 -2
  28. package/dist/{rule-xOAXApqp.js → rule-FuP71XrW.js} +36 -36
  29. package/dist/src/api/restaurant/index.d.ts +0 -2
  30. package/dist/src/composables/useDiscardConfirm.d.ts +1 -3
  31. package/dist/src/composables/useMessage.d.ts +2 -8
  32. package/dist/src/router/shared.d.ts +1 -4
  33. package/dist/src/types/employee.d.ts +0 -1
  34. package/dist/src/views/audit-log/locales/index.d.ts +0 -252
  35. package/dist/src/views/team/components/PortalConditionForm.vue.d.ts +2 -2
  36. package/dist/src/views/team/condition-builders/ConditionBuilderForm.vue.d.ts +2 -2
  37. package/dist/style.css +1 -1
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/{useAppStore-DZCdxlCd.js → useAppStore-DCwd8GWN.js} +1 -1
  40. package/dist/useDiscardConfirm-DPhEV6v0.js +157 -0
  41. package/dist/{useLoading-Nygx2zn8.js → useLoading-CXzTpIVv.js} +1 -1
  42. package/dist/{useReportPermissions-BB4JiYDf.js → useReportPermissions-5AYWAQ8e.js} +3 -3
  43. package/package.json +2 -4
  44. package/dist/ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js +0 -132
  45. package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BhkmMQxt.js +0 -532
  46. package/dist/ScheduleGeneralPage-CfcIh0Fy.js +0 -776
  47. package/dist/ScheduleModal.vue_vue_type_script_setup_true_lang-WYuVJxed.js +0 -2435
  48. package/dist/SchedulePage-CHu1VI-U.js +0 -19201
  49. package/dist/SchedulePositionPage-Dx2fZ1QI.js +0 -262
  50. package/dist/SelectFilter-DoeKbbjT.js +0 -264
  51. package/dist/object-Dwyg2LgX.js +0 -16
  52. package/dist/src/api/schedule/index.d.ts +0 -63
  53. package/dist/src/components/layout/PortalShell.vue.d.ts +0 -12
  54. package/dist/src/components/layout/withScheduleShell.d.ts +0 -10
  55. package/dist/src/types/schedule.d.ts +0 -23
  56. package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +0 -3
  57. package/dist/src/views/scheduling/SchedulePage.vue.d.ts +0 -3
  58. package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +0 -3
  59. package/dist/src/views/scheduling/components/ScheduleAddEmployeeIdentitySection.vue.d.ts +0 -6
  60. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +0 -12
  61. package/dist/src/views/scheduling/components/ScheduleAddEmployeeModeStep.vue.d.ts +0 -6
  62. package/dist/src/views/scheduling/components/ScheduleAddEmployeePosAccessSection.vue.d.ts +0 -6
  63. package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +0 -10
  64. package/dist/src/views/scheduling/components/ScheduleAddEmployeeSchedulingSection.vue.d.ts +0 -6
  65. package/dist/src/views/scheduling/components/ScheduleAddPickPopover.vue.d.ts +0 -6
  66. package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +0 -6
  67. package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +0 -41
  68. package/dist/src/views/scheduling/components/ScheduleAutoScheduleDetailsModal.vue.d.ts +0 -6
  69. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +0 -10
  70. package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +0 -25
  71. package/dist/src/views/scheduling/components/ScheduleBoardEditOverlays.vue.d.ts +0 -17
  72. package/dist/src/views/scheduling/components/ScheduleBoardEmployeeRows.vue.d.ts +0 -31
  73. package/dist/src/views/scheduling/components/ScheduleBoardGridHeader.vue.d.ts +0 -29
  74. package/dist/src/views/scheduling/components/ScheduleBoardInteractionOverlays.vue.d.ts +0 -32
  75. package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +0 -26
  76. package/dist/src/views/scheduling/components/ScheduleBoardRails.vue.d.ts +0 -17
  77. package/dist/src/views/scheduling/components/ScheduleBoardToolbar.vue.d.ts +0 -38
  78. package/dist/src/views/scheduling/components/ScheduleBoardUtilityOverlays.vue.d.ts +0 -22
  79. package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +0 -23
  80. package/dist/src/views/scheduling/components/ScheduleChangeEmployeeModal.vue.d.ts +0 -8
  81. package/dist/src/views/scheduling/components/ScheduleCloneOutletModal.vue.d.ts +0 -6
  82. package/dist/src/views/scheduling/components/ScheduleCoach.vue.d.ts +0 -6
  83. package/dist/src/views/scheduling/components/ScheduleCompletionDialog.vue.d.ts +0 -15
  84. package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +0 -35
  85. package/dist/src/views/scheduling/components/ScheduleContextMenu.vue.d.ts +0 -17
  86. package/dist/src/views/scheduling/components/ScheduleCostRail.vue.d.ts +0 -8
  87. package/dist/src/views/scheduling/components/ScheduleCostRailEmptyArt.vue.d.ts +0 -2
  88. package/dist/src/views/scheduling/components/ScheduleDateRangePopover.vue.d.ts +0 -6
  89. package/dist/src/views/scheduling/components/ScheduleDayNotePopover.vue.d.ts +0 -6
  90. package/dist/src/views/scheduling/components/ScheduleDayTimeline.vue.d.ts +0 -17
  91. package/dist/src/views/scheduling/components/ScheduleDemandRow.vue.d.ts +0 -23
  92. package/dist/src/views/scheduling/components/ScheduleDemandSheet.vue.d.ts +0 -10
  93. package/dist/src/views/scheduling/components/ScheduleDotsIcon.vue.d.ts +0 -2
  94. package/dist/src/views/scheduling/components/ScheduleEmployeeDetailPanel.vue.d.ts +0 -12
  95. package/dist/src/views/scheduling/components/ScheduleEmployeeIdentity.vue.d.ts +0 -17
  96. package/dist/src/views/scheduling/components/ScheduleExportPreview.vue.d.ts +0 -7
  97. package/dist/src/views/scheduling/components/ScheduleFilterBar.vue.d.ts +0 -18
  98. package/dist/src/views/scheduling/components/ScheduleGapPopover.vue.d.ts +0 -6
  99. package/dist/src/views/scheduling/components/ScheduleGridHeader.vue.d.ts +0 -18
  100. package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +0 -2
  101. package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +0 -6
  102. package/dist/src/views/scheduling/components/ScheduleLoadState.vue.d.ts +0 -9
  103. package/dist/src/views/scheduling/components/ScheduleModal.vue.d.ts +0 -26
  104. package/dist/src/views/scheduling/components/ScheduleOnboardingAssignPositionModal.vue.d.ts +0 -6
  105. package/dist/src/views/scheduling/components/ScheduleOnboardingClosedDayConfirm.vue.d.ts +0 -6
  106. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandDays.vue.d.ts +0 -6
  107. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandFooter.vue.d.ts +0 -6
  108. package/dist/src/views/scheduling/components/ScheduleOnboardingDemandHeader.vue.d.ts +0 -6
  109. package/dist/src/views/scheduling/components/ScheduleOnboardingDoneArt.vue.d.ts +0 -2
  110. package/dist/src/views/scheduling/components/ScheduleOnboardingHoursProfileNotice.vue.d.ts +0 -10
  111. package/dist/src/views/scheduling/components/ScheduleOnboardingPositions.vue.d.ts +0 -6
  112. package/dist/src/views/scheduling/components/ScheduleOnboardingReview.vue.d.ts +0 -6
  113. package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +0 -6
  114. package/dist/src/views/scheduling/components/ScheduleOnboardingWelcome.vue.d.ts +0 -11
  115. package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +0 -9
  116. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardFooter.vue.d.ts +0 -6
  117. package/dist/src/views/scheduling/components/ScheduleOnboardingWizardHeader.vue.d.ts +0 -11
  118. package/dist/src/views/scheduling/components/SchedulePublishModal.vue.d.ts +0 -8
  119. package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +0 -2
  120. package/dist/src/views/scheduling/components/ScheduleReviewBar.vue.d.ts +0 -12
  121. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +0 -70
  122. package/dist/src/views/scheduling/components/ScheduleSelectExistingEmployeeModal.vue.d.ts +0 -6
  123. package/dist/src/views/scheduling/components/ScheduleSetupBanner.vue.d.ts +0 -12
  124. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +0 -35
  125. package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +0 -10
  126. package/dist/src/views/scheduling/components/ScheduleShiftImpact.vue.d.ts +0 -6
  127. package/dist/src/views/scheduling/components/ScheduleShiftMoreOptions.vue.d.ts +0 -8
  128. package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +0 -16
  129. package/dist/src/views/scheduling/components/ScheduleShiftRepeatDaysRow.vue.d.ts +0 -8
  130. package/dist/src/views/scheduling/components/ScheduleShiftSegmentsEditor.vue.d.ts +0 -8
  131. package/dist/src/views/scheduling/components/ScheduleShiftWhoPicker.vue.d.ts +0 -25
  132. package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +0 -16
  133. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +0 -50
  134. package/dist/src/views/scheduling/components/ScheduleStatsRow.vue.d.ts +0 -12
  135. package/dist/src/views/scheduling/components/ScheduleSwapShiftsModal.vue.d.ts +0 -8
  136. package/dist/src/views/scheduling/components/ScheduleTimePickerPopover.vue.d.ts +0 -6
  137. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +0 -20
  138. package/dist/src/views/scheduling/composables/auto-schedule-mapping.d.ts +0 -33
  139. package/dist/src/views/scheduling/composables/onboarding-constants.d.ts +0 -5
  140. package/dist/src/views/scheduling/composables/onboarding-hours.d.ts +0 -7
  141. package/dist/src/views/scheduling/composables/onboarding-types.d.ts +0 -51
  142. package/dist/src/views/scheduling/composables/remyPrompt.d.ts +0 -15
  143. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +0 -82
  144. package/dist/src/views/scheduling/composables/schedule-board-helpers.d.ts +0 -63
  145. package/dist/src/views/scheduling/composables/schedule-breaks.d.ts +0 -9
  146. package/dist/src/views/scheduling/composables/schedule-calendar.d.ts +0 -7
  147. package/dist/src/views/scheduling/composables/schedule-cost.d.ts +0 -19
  148. package/dist/src/views/scheduling/composables/schedule-day-meta.d.ts +0 -21
  149. package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +0 -23
  150. package/dist/src/views/scheduling/composables/schedule-employee-profile.d.ts +0 -7
  151. package/dist/src/views/scheduling/composables/schedule-error.d.ts +0 -3
  152. package/dist/src/views/scheduling/composables/schedule-export-matrix.d.ts +0 -14
  153. package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +0 -16
  154. package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +0 -22
  155. package/dist/src/views/scheduling/composables/schedule-shift-time.d.ts +0 -29
  156. package/dist/src/views/scheduling/composables/schedule-time.d.ts +0 -8
  157. package/dist/src/views/scheduling/composables/schedule-week-cache.d.ts +0 -7
  158. package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +0 -9
  159. package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +0 -16
  160. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +0 -119
  161. package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +0 -73
  162. package/dist/src/views/scheduling/composables/useScheduleAreaBoard.d.ts +0 -50
  163. package/dist/src/views/scheduling/composables/useScheduleAreaDragDrop.d.ts +0 -11
  164. package/dist/src/views/scheduling/composables/useScheduleAssignmentMutations.d.ts +0 -13
  165. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +0 -297
  166. package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +0 -612
  167. package/dist/src/views/scheduling/composables/useScheduleCellState.d.ts +0 -27
  168. package/dist/src/views/scheduling/composables/useScheduleClashDetection.d.ts +0 -28
  169. package/dist/src/views/scheduling/composables/useScheduleCloneOutletModal.d.ts +0 -21
  170. package/dist/src/views/scheduling/composables/useScheduleCoach.d.ts +0 -80
  171. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +0 -12
  172. package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +0 -60
  173. package/dist/src/views/scheduling/composables/useScheduleDayNote.d.ts +0 -44
  174. package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -111
  175. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +0 -59
  176. package/dist/src/views/scheduling/composables/useScheduleDemandRow.d.ts +0 -47
  177. package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -166
  178. package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +0 -55
  179. package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +0 -24
  180. package/dist/src/views/scheduling/composables/useScheduleEmployeeAvailability.d.ts +0 -13
  181. package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +0 -30
  182. package/dist/src/views/scheduling/composables/useScheduleEmployeeCompensation.d.ts +0 -7
  183. package/dist/src/views/scheduling/composables/useScheduleEmployeeForm.d.ts +0 -22
  184. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +0 -50
  185. package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +0 -38
  186. package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +0 -30
  187. package/dist/src/views/scheduling/composables/useScheduleEmployeeProfile.d.ts +0 -16
  188. package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +0 -18
  189. package/dist/src/views/scheduling/composables/useScheduleExport.d.ts +0 -51
  190. package/dist/src/views/scheduling/composables/useScheduleFilterBar.d.ts +0 -14
  191. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +0 -79
  192. package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +0 -59
  193. package/dist/src/views/scheduling/composables/useScheduleLegend.d.ts +0 -15
  194. package/dist/src/views/scheduling/composables/useScheduleOnboardingAvailability.d.ts +0 -58
  195. package/dist/src/views/scheduling/composables/useScheduleOnboardingDemand.d.ts +0 -45
  196. package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +0 -231
  197. package/dist/src/views/scheduling/composables/useScheduleOnboardingFlow.d.ts +0 -9
  198. package/dist/src/views/scheduling/composables/useScheduleOnboardingHours.d.ts +0 -15
  199. package/dist/src/views/scheduling/composables/useScheduleOnboardingNavigation.d.ts +0 -11
  200. package/dist/src/views/scheduling/composables/useScheduleOnboardingPersistence.d.ts +0 -13
  201. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +0 -1521
  202. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +0 -25
  203. package/dist/src/views/scheduling/composables/useSchedulePageActions.d.ts +0 -18
  204. package/dist/src/views/scheduling/composables/useSchedulePageBootstrap.d.ts +0 -9
  205. package/dist/src/views/scheduling/composables/useSchedulePageCellActions.d.ts +0 -21
  206. package/dist/src/views/scheduling/composables/useSchedulePageCellDrop.d.ts +0 -20
  207. package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +0 -21
  208. package/dist/src/views/scheduling/composables/useSchedulePageEmployeeActions.d.ts +0 -22
  209. package/dist/src/views/scheduling/composables/useSchedulePageOverlays.d.ts +0 -21
  210. package/dist/src/views/scheduling/composables/useSchedulePdfExport.d.ts +0 -19
  211. package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +0 -55
  212. package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +0 -35
  213. package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +0 -126
  214. package/dist/src/views/scheduling/composables/useSchedulePublishPersistence.d.ts +0 -11
  215. package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +0 -27
  216. package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +0 -313
  217. package/dist/src/views/scheduling/composables/useScheduleSettings.d.ts +0 -40
  218. package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +0 -17
  219. package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +0 -245
  220. package/dist/src/views/scheduling/composables/useScheduleShiftDraft.d.ts +0 -63
  221. package/dist/src/views/scheduling/composables/useScheduleShiftPersistence.d.ts +0 -17
  222. package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +0 -255
  223. package/dist/src/views/scheduling/composables/useScheduleStatsRow.d.ts +0 -27
  224. package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +0 -49
  225. package/dist/src/views/scheduling/composables/useScheduleTour.d.ts +0 -95
  226. package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +0 -9
  227. package/dist/src/views/scheduling/country-rules/index.d.ts +0 -29
  228. package/dist/src/views/scheduling/data.d.ts +0 -123
  229. package/dist/src/views/scheduling/locales/index.d.ts +0 -688
  230. package/dist/src/views/scheduling/schedule-constants.d.ts +0 -7
  231. package/dist/src/views/scheduling/schedule-state.d.ts +0 -767
  232. package/dist/src/views/scheduling/schedule-store.d.ts +0 -135
  233. package/dist/src/views/scheduling/types.d.ts +0 -380
  234. package/dist/useDiscardConfirm-CzZSPyvh.js +0 -28
@@ -1,24 +1,34 @@
1
- import { defineComponent as Ce, ref as v, computed as h, watch as Z, resolveComponent as E, createElementBlock as X, openBlock as g, Fragment as Ue, renderSlot as Ke, createVNode as i, unref as l, withCtx as y, createElementVNode as f, createBlock as I, createCommentVNode as B, toDisplayString as j, onUnmounted as Oe, isRef as be, normalizeClass as ke, createTextVNode as ye, withModifiers as Ge, resolveDynamicComponent as Be, h as ne } from "vue";
2
- import { useI18n as Fe, useCoreStore as je } from "@feedmepos/mf-common";
3
- import { useSnackbar as Ie, components as Me, useDialog as qe, useBreakpoints as He } from "@feedmepos/ui-library";
4
- import { S as ie } from "./SelectFilter-DoeKbbjT.js";
5
- import { _ as We, b as Je, a as Qe } from "./app-COWpQb6i.js";
6
- import { _ as we, u as Ye, H as Ze } from "./FormItem.vue_vue_type_script_setup_true_lang-BvSLGM1C.js";
7
- import { _ as Xe } from "./ResponsiveContextMenu.vue_vue_type_script_setup_true_lang-mSJFKo7r.js";
8
- import { _ as ea } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
9
- import { s as aa, _ as la, a as sa, b as ta, c as xe } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
10
- import { u as oa } from "./useDebounce-B8ZPVS5C.js";
11
- import { n as ra } from "./string-VNuQNweN.js";
12
- import { u as Re, E as na } from "./employee-Drs22uVf.js";
13
- import { u as $e } from "./restaurant-D2mfKHaH.js";
14
- import { l as ia } from "./lodash-CQM_jgZN.js";
15
- import { _ as Ee } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
16
- import { u as ua } from "./useDiscardConfirm-CzZSPyvh.js";
17
- import { u as Le } from "./useLoading-Nygx2zn8.js";
18
- import { c as Ve } from "./object-Dwyg2LgX.js";
19
- import { u as ge } from "./role-k4mdt-op.js";
1
+ import { toRaw as Ke, defineComponent as Fe, ref as v, computed as h, watch as X, resolveComponent as E, createElementBlock as ee, openBlock as g, Fragment as Ie, renderSlot as Ge, createVNode as i, unref as l, withCtx as y, createElementVNode as f, createBlock as I, createCommentVNode as j, toDisplayString as q, onUnmounted as Be, isRef as we, normalizeClass as ke, createTextVNode as ge, withModifiers as je, resolveDynamicComponent as qe, h as ie } from "vue";
2
+ import { useI18n as Re, useCoreStore as He } from "@feedmepos/mf-common";
3
+ import { useSnackbar as Me, components as $e, useDialog as Je, useBreakpoints as We } from "@feedmepos/ui-library";
4
+ import { S as ue, _ as Qe } from "./SelectFilter-ATOm0hdn.js";
5
+ import { _ as Ye, a as Ze } from "./app-CEcv-vMB.js";
6
+ import { _ as xe, u as Xe, H as ea } from "./FormItem.vue_vue_type_script_setup_true_lang-DPT2FoIc.js";
7
+ import { u as aa, _ as la } from "./useDiscardConfirm-DPhEV6v0.js";
8
+ import { _ as sa } from "./TableEmptyState.vue_vue_type_script_setup_true_lang-IfAZmWr0.js";
9
+ import { s as ta, _ as oa, a as ra, b as na, c as Ee } from "./PasscodePinField.vue_vue_type_script_setup_true_lang-CqG0v0Sz.js";
10
+ import { u as ia } from "./useDebounce-B8ZPVS5C.js";
11
+ import { n as ua } from "./string-VNuQNweN.js";
12
+ import { u as Le, E as ca } from "./employee-ByRgP_2p.js";
13
+ import { u as Pe } from "./restaurant-BTpBmfBV.js";
14
+ import { l as ma } from "./lodash-D2BUlQJ1.js";
15
+ import { _ as Ve } from "./FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js";
16
+ import { u as De } from "./useLoading-CXzTpIVv.js";
17
+ import { u as he } from "./role-_BDO50Cj.js";
20
18
  /* empty css */
21
- const ma = { class: "flex w-full items-center justify-between" }, ca = { class: "fm-typo-en-title-md-600" }, da = { class: "space-y-40" }, pa = { class: "flex flex-row gap-16" }, fa = { class: "space-y-16" }, va = { class: "flex gap-8 items-center justify-start" }, Se = 4, ya = /* @__PURE__ */ Ce({
19
+ function Se($) {
20
+ return JSON.parse(JSON.stringify($));
21
+ }
22
+ function Ce($) {
23
+ if (typeof structuredClone > "u")
24
+ return Se($);
25
+ try {
26
+ return structuredClone(Ke($));
27
+ } catch {
28
+ return Se($);
29
+ }
30
+ }
31
+ const da = { class: "flex w-full items-center justify-between" }, pa = { class: "fm-typo-en-title-md-600" }, fa = { class: "space-y-40" }, va = { class: "flex flex-row gap-16" }, ya = { class: "space-y-16" }, ga = { class: "flex gap-8 items-center justify-start" }, Ue = 4, ha = /* @__PURE__ */ Fe({
22
32
  __name: "EmployeeForm",
23
33
  props: {
24
34
  roleErrorMessage: {
@@ -27,30 +37,30 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
27
37
  }
28
38
  },
29
39
  emits: ["submitted"],
30
- setup(Pe, { expose: ue, emit: n }) {
31
- const w = ge(), d = $e(), C = Re(), me = Ie(), U = Le(me), ce = n, { t: m } = Fe(), V = v(!1), M = v(!0);
32
- function A() {
40
+ setup($, { expose: ce, emit: n }) {
41
+ const k = he(), d = Pe(), C = Le(), me = Me(), U = De(me), de = n, { t: c } = Re(), V = v(!1), R = v(!0);
42
+ function O() {
33
43
  return {
34
44
  restaurantId: "",
35
45
  roleId: ""
36
46
  };
37
47
  }
38
- function de(u) {
48
+ function pe(u) {
39
49
  if (!u) return _();
40
- const o = Ve(u);
50
+ const o = Ce(u);
41
51
  return {
42
52
  code: o.code ?? "",
43
53
  isMasterUser: o.isMasterUser ?? !1,
44
54
  name: o.name ?? "",
45
55
  passcode: o.passcode ?? "",
46
- restaurants: o.restaurants.length > 0 ? o.restaurants.map(({ restaurantId: k, roleId: S }) => ({
47
- restaurantId: k,
56
+ restaurants: o.restaurants.length > 0 ? o.restaurants.map(({ restaurantId: w, roleId: S }) => ({
57
+ restaurantId: w,
48
58
  roleId: S
49
- })) : [A()]
59
+ })) : [O()]
50
60
  };
51
61
  }
52
- const ee = (u) => {
53
- s.value = de(u), b.value = Ve(s.value), H.value = u == null ? void 0 : u._id, F.value = [], s.value.passcode ? (F.value = s.value.passcode.split(""), L.value = !0) : L.value = !1, M.value = !u, V.value = !0;
62
+ const ae = (u) => {
63
+ s.value = pe(u), b.value = Ce(s.value), J.value = u == null ? void 0 : u._id, F.value = [], s.value.passcode ? (F.value = s.value.passcode.split(""), P.value = !0) : P.value = !1, R.value = !u, V.value = !0;
54
64
  };
55
65
  function _() {
56
66
  return {
@@ -58,41 +68,41 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
58
68
  isMasterUser: !1,
59
69
  name: "",
60
70
  passcode: "",
61
- restaurants: [A()]
71
+ restaurants: [O()]
62
72
  };
63
73
  }
64
- const T = h(() => M.value ? m("hr.employee.form.add") : m("hr.employee.form.update")), q = h(() => M.value ? m("common.create") : m("common.update")), b = v(_()), s = v(_()), H = v(void 0), $ = h(
65
- () => aa(s.value.restaurants)
74
+ const T = h(() => R.value ? c("hr.employee.form.add") : c("hr.employee.form.update")), H = h(() => R.value ? c("common.create") : c("common.update")), b = v(_()), s = v(_()), J = v(void 0), L = h(
75
+ () => ta(s.value.restaurants)
66
76
  );
67
- function ae(u) {
77
+ function le(u) {
68
78
  var o;
69
- return u ? !((o = d.restaurants.value.find((k) => k._id === u)) != null && o.managable) : !1;
79
+ return u ? !((o = d.restaurants.value.find((w) => w._id === u)) != null && o.managable) : !1;
70
80
  }
71
- function le(u) {
81
+ function se(u) {
72
82
  return u.isUsable;
73
83
  }
74
- const F = v([]), L = v(!1), z = v(!1), W = v(!1), se = h(() => $.value.length > 0);
75
- async function P() {
76
- if (se.value)
84
+ const F = v([]), P = v(!1), z = v(!1), W = v(!1), te = h(() => L.value.length > 0);
85
+ async function D() {
86
+ if (te.value)
77
87
  try {
78
88
  const u = await U.custom(
79
- () => na.generateEmployeePasscode({
80
- restaurantIds: $.value,
81
- excludePosUserId: H.value
89
+ () => ca.generateEmployeePasscode({
90
+ restaurantIds: L.value,
91
+ excludePosUserId: J.value
82
92
  }),
83
93
  { isLoading: W }
84
94
  );
85
- L.value = !1, F.value = u.split(""), s.value.passcode = u;
95
+ P.value = !1, F.value = u.split(""), s.value.passcode = u;
86
96
  } catch {
87
97
  }
88
98
  }
89
- const K = ua(
90
- () => !ia.isEqual(s.value, b.value),
99
+ const K = aa(
100
+ () => !ma.isEqual(s.value, b.value),
91
101
  () => {
92
102
  V.value = !1;
93
103
  }
94
104
  );
95
- async function pe() {
105
+ async function fe() {
96
106
  const u = {
97
107
  user: {
98
108
  name: s.value.name,
@@ -103,9 +113,9 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
103
113
  };
104
114
  s.value.isMasterUser ? await C.createMasterEmployee(u) : (delete u.user.code, await C.createEmployee(u));
105
115
  }
106
- async function J() {
107
- var S, R;
108
- const u = b.value, o = H.value, k = {
116
+ async function Q() {
117
+ var S, M;
118
+ const u = b.value, o = J.value, w = {
109
119
  user: {
110
120
  name: s.value.name,
111
121
  passcode: s.value.passcode
@@ -117,7 +127,7 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
117
127
  }))
118
128
  };
119
129
  if (!s.value.isMasterUser)
120
- await C.updateEmployee(o, k);
130
+ await C.updateEmployee(o, w);
121
131
  else {
122
132
  const x = {
123
133
  user: {
@@ -126,51 +136,51 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
126
136
  code: s.value.code
127
137
  },
128
138
  roles: s.value.restaurants,
129
- previousRoles: (R = u.restaurants) == null ? void 0 : R.map((D) => ({
130
- restaurantId: D.restaurantId,
131
- roleId: D.roleId
139
+ previousRoles: (M = u.restaurants) == null ? void 0 : M.map((N) => ({
140
+ restaurantId: N.restaurantId,
141
+ roleId: N.roleId
132
142
  }))
133
143
  };
134
144
  b.value.isMasterUser ? await C.updateMasterEmployee(o, x) : await C.migrateToMasterUser(o, x);
135
145
  }
136
146
  }
137
- async function O() {
138
- M.value ? await U.minor(
147
+ async function G() {
148
+ R.value ? await U.minor(
139
149
  async () => {
140
- await pe();
150
+ await fe();
141
151
  },
142
152
  {
143
- successMessage: m("hr.employee.create.successMessage"),
153
+ successMessage: c("hr.employee.create.successMessage"),
144
154
  isLoading: z
145
155
  }
146
156
  ) : await U.minor(
147
157
  async () => {
148
- await J();
158
+ await Q();
149
159
  },
150
160
  {
151
- successMessage: m("hr.employee.update.successMessage"),
161
+ successMessage: c("hr.employee.update.successMessage"),
152
162
  isLoading: z
153
163
  }
154
- ), ce("submitted"), V.value = !1;
164
+ ), de("submitted"), V.value = !1;
155
165
  }
156
- return Z(
166
+ return X(
157
167
  () => V.value,
158
168
  (u) => {
159
169
  }
160
- ), ue({
170
+ ), ce({
161
171
  show: V,
162
- trigger: ee
172
+ trigger: ae
163
173
  }), (u, o) => {
164
- const k = E("FmIcon"), S = E("FmSwitch"), R = E("FmTextField"), x = E("FmFormGroup"), D = E("fm-button"), te = E("fm-side-sheet");
165
- return g(), X(Ue, null, [
166
- Ke(u.$slots, "default", { trigger: ee }),
167
- i(te, {
174
+ const w = E("FmIcon"), S = E("FmSwitch"), M = E("FmTextField"), x = E("FmFormGroup"), N = E("fm-button"), oe = E("fm-side-sheet");
175
+ return g(), ee(Ie, null, [
176
+ Ge(u.$slots, "default", { trigger: ae }),
177
+ i(oe, {
168
178
  id: "unit-form",
169
179
  modelValue: V.value,
170
180
  "onUpdate:modelValue": o[9] || (o[9] = (t) => V.value = t),
171
- "is-container": l(Me).FmForm,
181
+ "is-container": l($e).FmForm,
172
182
  "is-container-props": {
173
- onValidationSuccess: O,
183
+ onValidationSuccess: G,
174
184
  blameFormChildOnValidationFailed: !0
175
185
  },
176
186
  "max-width": 960,
@@ -178,9 +188,9 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
178
188
  "onOn:clickedAway": l(K)
179
189
  }, {
180
190
  "side-sheet-header": y(() => [
181
- f("div", ma, [
182
- f("p", ca, j(T.value), 1),
183
- i(k, {
191
+ f("div", da, [
192
+ f("p", pa, q(T.value), 1),
193
+ i(w, {
184
194
  name: "close",
185
195
  size: "md",
186
196
  class: "cursor-pointer",
@@ -189,16 +199,16 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
189
199
  ])
190
200
  ]),
191
201
  "side-sheet-footer": y(() => [
192
- f("div", va, [
193
- i(D, {
194
- label: q.value,
202
+ f("div", ga, [
203
+ i(N, {
204
+ label: H.value,
195
205
  size: "lg",
196
206
  type: "submit",
197
207
  variant: "primary",
198
208
  disabled: z.value
199
209
  }, null, 8, ["label", "disabled"]),
200
- i(D, {
201
- label: l(m)("common.cancel"),
210
+ i(N, {
211
+ label: l(c)("common.cancel"),
202
212
  size: "lg",
203
213
  variant: "tertiary",
204
214
  disabled: z.value,
@@ -207,72 +217,72 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
207
217
  ])
208
218
  ]),
209
219
  default: y(() => [
210
- f("div", da, [
211
- i(Ee, {
212
- title: l(m)("hr.employee.form.employeeSetting")
220
+ f("div", fa, [
221
+ i(Ve, {
222
+ title: l(c)("hr.employee.form.employeeSetting")
213
223
  }, {
214
224
  default: y(() => [
215
- i(we, {
216
- label: l(m)("hr.employee.form.masterUserConfig")
225
+ i(xe, {
226
+ label: l(c)("hr.employee.form.masterUserConfig")
217
227
  }, {
218
228
  default: y(() => [
219
229
  i(S, {
220
230
  modelValue: s.value.isMasterUser,
221
231
  "onUpdate:modelValue": o[0] || (o[0] = (t) => s.value.isMasterUser = t),
222
232
  value: "masterUser",
223
- label: l(m)("hr.employee.form.masterUser"),
224
- sublabel: l(m)("hr.employee.form.masterUserSublabel"),
233
+ label: l(c)("hr.employee.form.masterUser"),
234
+ sublabel: l(c)("hr.employee.form.masterUserSublabel"),
225
235
  "label-placement": "right"
226
236
  }, null, 8, ["modelValue", "label", "sublabel"])
227
237
  ]),
228
238
  _: 1
229
239
  }, 8, ["label"]),
230
- f("div", pa, [
231
- s.value.isMasterUser ? (g(), I(R, {
240
+ f("div", va, [
241
+ s.value.isMasterUser ? (g(), I(M, {
232
242
  key: 0,
233
243
  modelValue: s.value.code,
234
244
  "onUpdate:modelValue": o[1] || (o[1] = (t) => s.value.code = t),
235
- label: l(m)("hr.employee.form.code")
236
- }, null, 8, ["modelValue", "label"])) : B("", !0),
237
- i(R, {
245
+ label: l(c)("hr.employee.form.code")
246
+ }, null, 8, ["modelValue", "label"])) : j("", !0),
247
+ i(M, {
238
248
  modelValue: s.value.name,
239
249
  "onUpdate:modelValue": o[2] || (o[2] = (t) => s.value.name = t),
240
250
  class: "w-full",
241
- label: l(m)("hr.employee.form.name"),
242
- rules: [(t) => !!t || l(m)("hr.employee.form.required")]
251
+ label: l(c)("hr.employee.form.name"),
252
+ rules: [(t) => !!t || l(c)("hr.employee.form.required")]
243
253
  }, null, 8, ["modelValue", "label", "rules"])
244
254
  ]),
245
- i(we, {
246
- label: l(m)("hr.employee.form.passcode")
255
+ i(xe, {
256
+ label: l(c)("hr.employee.form.passcode")
247
257
  }, {
248
258
  default: y(() => [
249
- f("div", fa, [
259
+ f("div", ya, [
250
260
  i(x, {
251
261
  modelValue: F.value,
252
262
  "onUpdate:modelValue": o[6] || (o[6] = (t) => F.value = t),
253
263
  rules: [
254
- (t) => (t == null ? void 0 : t.filter((G) => !!G).length) !== Se ? l(m)("hr.employee.form.passcodeRequired") : !0
264
+ (t) => (t == null ? void 0 : t.filter((B) => !!B).length) !== Ue ? l(c)("hr.employee.form.passcodeRequired") : !0
255
265
  ]
256
266
  }, {
257
267
  default: y(() => [
258
- i(la, {
268
+ i(oa, {
259
269
  modelValue: F.value,
260
270
  "onUpdate:modelValue": o[3] || (o[3] = (t) => F.value = t),
261
- masked: L.value,
262
- "onUpdate:masked": o[4] || (o[4] = (t) => L.value = t),
263
- length: Se,
264
- "toggle-label": l(m)("hr.employee.form.passcodeToggleVisibility"),
271
+ masked: P.value,
272
+ "onUpdate:masked": o[4] || (o[4] = (t) => P.value = t),
273
+ length: Ue,
274
+ "toggle-label": l(c)("hr.employee.form.passcodeToggleVisibility"),
265
275
  onComplete: o[5] || (o[5] = (t) => s.value.passcode = t)
266
276
  }, null, 8, ["modelValue", "masked", "toggle-label"])
267
277
  ]),
268
278
  _: 1
269
279
  }, 8, ["modelValue", "rules"]),
270
- i(sa, {
271
- label: l(m)("hr.employee.form.passcodeGenerate"),
272
- hint: l(m)("hr.employee.form.passcodeSelectOutletFirst"),
280
+ i(ra, {
281
+ label: l(c)("hr.employee.form.passcodeGenerate"),
282
+ hint: l(c)("hr.employee.form.passcodeSelectOutletFirst"),
273
283
  loading: W.value,
274
- disabled: !se.value,
275
- onClick: P
284
+ disabled: !te.value,
285
+ onClick: D
276
286
  }, null, 8, ["label", "hint", "loading", "disabled"])
277
287
  ])
278
288
  ]),
@@ -281,31 +291,31 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
281
291
  ]),
282
292
  _: 1
283
293
  }, 8, ["title"]),
284
- i(Ee, null, {
294
+ i(Ve, null, {
285
295
  default: y(() => [
286
296
  i(x, {
287
297
  modelValue: s.value.restaurants,
288
298
  "onUpdate:modelValue": o[8] || (o[8] = (t) => s.value.restaurants = t),
289
299
  tag: "div",
290
300
  rules: [
291
- (t) => t.length > 0 || l(m)("hr.employee.form.atLeastOneRestaurant"),
292
- (t) => t.every((G) => G.restaurantId && G.roleId) || l(m)("hr.employee.form.roleRequired")
301
+ (t) => t.length > 0 || l(c)("hr.employee.form.atLeastOneRestaurant"),
302
+ (t) => t.every((B) => B.restaurantId && B.roleId) || l(c)("hr.employee.form.roleRequired")
293
303
  ]
294
304
  }, {
295
305
  default: y(() => [
296
- i(ta, {
306
+ i(na, {
297
307
  modelValue: s.value.restaurants,
298
308
  "onUpdate:modelValue": o[7] || (o[7] = (t) => s.value.restaurants = t),
299
309
  restaurants: l(d).restaurants.value,
300
- roles: l(w).roles.value,
301
- "is-role-usable": le,
302
- "is-restaurant-locked": ae,
303
- "create-row": A,
304
- title: l(m)("hr.employee.form.assignmentSection"),
305
- "restaurant-label": l(m)("hr.employee.columns.restaurants"),
306
- "role-label": l(m)("hr.employee.form.role"),
307
- "add-label": l(m)("hr.employee.form.addAnother"),
308
- "remove-label": l(m)("common.remove")
310
+ roles: l(k).roles.value,
311
+ "is-role-usable": se,
312
+ "is-restaurant-locked": le,
313
+ "create-row": O,
314
+ title: l(c)("hr.employee.form.assignmentSection"),
315
+ "restaurant-label": l(c)("hr.employee.columns.restaurants"),
316
+ "role-label": l(c)("hr.employee.form.role"),
317
+ "add-label": l(c)("hr.employee.form.addAnother"),
318
+ "remove-label": l(c)("common.remove")
309
319
  }, null, 8, ["modelValue", "restaurants", "roles", "title", "restaurant-label", "role-label", "add-label", "remove-label"])
310
320
  ]),
311
321
  _: 1
@@ -320,70 +330,70 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
320
330
  ], 64);
321
331
  };
322
332
  }
323
- }), ga = {
333
+ }), _a = {
324
334
  class: "space-y-8"
325
- }, ha = {
335
+ }, ba = {
326
336
  key: 0,
327
337
  class: "flex w-full items-start justify-between"
328
- }, _a = {
338
+ }, wa = {
329
339
  class: "flex items-start gap-8"
330
- }, ba = {
331
- class: "flex"
332
340
  }, ka = {
341
+ class: "flex"
342
+ }, xa = {
333
343
  key: 1,
334
344
  class: "space-y-4"
335
- }, wa = {
345
+ }, Ea = {
336
346
  class: "px-16"
337
- }, xa = {
347
+ }, Va = {
338
348
  class: "px-16 flex items-start gap-8"
339
- }, Ea = {
349
+ }, Sa = {
340
350
  class: "flex h-full flex-col overflow-auto"
341
- }, Va = {
351
+ }, Ca = {
342
352
  class: "space-y-4"
343
- }, Sa = {
353
+ }, Ua = {
344
354
  class: "fm-typo-en-body-lg-600"
345
- }, Ca = {
355
+ }, Fa = {
346
356
  key: 0,
347
357
  class: "mr-4"
348
- }, Ua = {
358
+ }, Ia = {
349
359
  class: "text-fm-color-typo-secondary"
350
- }, Fa = {
360
+ }, Ra = {
351
361
  class: "line-clamp-2"
352
- }, Ia = {
362
+ }, Ma = {
353
363
  class: "font-bold"
354
- }, N = 200, Ma = /* @__PURE__ */ Ce({
364
+ }, A = 200, $a = /* @__PURE__ */ Fe({
355
365
  __name: "EmployeeList",
356
- setup(Pe, {
357
- expose: ue
366
+ setup($, {
367
+ expose: ce
358
368
  }) {
359
369
  const {
360
370
  t: n
361
- } = Fe(), w = v(), d = Re(), C = $e(), me = je(), {
371
+ } = Re(), k = v(), d = Le(), C = Pe(), me = He(), {
362
372
  currentBusiness: U,
363
- sessionUser: ce
364
- } = me, m = ge(), V = h(() => C.isLoading.value), M = v(m.roles.value.length === 0);
365
- Z(C.restaurants, (e) => {
373
+ sessionUser: de
374
+ } = me, c = he(), V = h(() => C.isLoading.value), R = v(c.roles.value.length === 0);
375
+ X(C.restaurants, (e) => {
366
376
  if (e.length > 0 && d.listEmployees.value.length > 0) {
367
377
  const a = new Map(e.map((r) => [r._id, r]));
368
378
  d.listEmployees.value = d.listEmployees.value.map((r) => ({
369
379
  ...r,
370
380
  restaurants: r.restaurants.map((p) => {
371
- var Q, Y;
381
+ var Y, Z;
372
382
  return {
373
383
  ...p,
374
- restaurantName: ((Q = a.get(p.restaurantId)) == null ? void 0 : Q.profile.name) || p.restaurantName,
375
- restaurantCode: ((Y = a.get(p.restaurantId)) == null ? void 0 : Y.profile.code) ?? void 0
384
+ restaurantName: ((Y = a.get(p.restaurantId)) == null ? void 0 : Y.profile.name) || p.restaurantName,
385
+ restaurantCode: ((Z = a.get(p.restaurantId)) == null ? void 0 : Z.profile.code) ?? void 0
376
386
  };
377
387
  })
378
388
  }));
379
389
  }
380
390
  });
381
- const A = h(() => C.restaurants.value.map((e) => ({
391
+ const O = h(() => C.restaurants.value.map((e) => ({
382
392
  label: `${e.profile.code ? `${e.profile.code} - ` : ""}${e.profile.name}`,
383
393
  value: e._id
384
- }))), de = Z(m.roles, (e) => {
394
+ }))), pe = X(c.roles, (e) => {
385
395
  if (e.length > 0) {
386
- if (M.value = !1, d.listEmployees.value.length > 0) {
396
+ if (R.value = !1, d.listEmployees.value.length > 0) {
387
397
  const a = new Map(e.map((r) => [r._id, r.name]));
388
398
  d.listEmployees.value = d.listEmployees.value.map((r) => ({
389
399
  ...r,
@@ -393,29 +403,29 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
393
403
  }))
394
404
  }));
395
405
  }
396
- de();
406
+ pe();
397
407
  }
398
- }), ee = h(() => d.listEmployees.value), {
408
+ }), ae = h(() => d.listEmployees.value), {
399
409
  searchKey: _
400
- } = Ye(), T = v(""), q = h(() => ee.value), b = h(() => d.totalEmployees.value), s = v(1), H = h(() => d.isLoading.value), $ = v(!1), ae = h(() => {
410
+ } = Xe(), T = v(""), H = h(() => ae.value), b = h(() => d.totalEmployees.value), s = v(1), J = h(() => d.isLoading.value), L = v(!1), le = h(() => {
401
411
  var e;
402
412
  return JSON.stringify({
403
413
  businessId: ((e = U.value) == null ? void 0 : e._id) ?? "",
404
414
  search: T.value.trim(),
405
- restaurantIds: [...w.value ?? []].sort(),
415
+ restaurantIds: [...k.value ?? []].sort(),
406
416
  roleIds: [...t.value ?? []].sort()
407
417
  });
408
- }), le = (e) => {
418
+ }), se = (e) => {
409
419
  const a = e.restaurantCode, r = e.restaurantName;
410
420
  return a ? `${a} - ${r}` : r;
411
421
  }, F = (e) => e.roleName || "-";
412
- function L(e) {
422
+ function P(e) {
413
423
  return [{
414
424
  label: n("hr.employee.form.update"),
415
- onClick: () => k(e)
425
+ onClick: () => w(e)
416
426
  }, {
417
427
  label: n("hr.employee.remove.title"),
418
- onClick: () => R(e),
428
+ onClick: () => M(e),
419
429
  itemClass: "text-fm-color-typo-error"
420
430
  }];
421
431
  }
@@ -427,8 +437,8 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
427
437
  onClick: (r) => {
428
438
  r.stopPropagation();
429
439
  }
430
- }, [i(Xe, {
431
- items: L(e)
440
+ }, [i(la, {
441
+ items: P(e)
432
442
  }, null)]), W = [{
433
443
  accessorKey: "code",
434
444
  size: 100,
@@ -441,9 +451,9 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
441
451
  const a = e.row.original;
442
452
  return i("div", {
443
453
  class: "flex items-center gap-8"
444
- }, [i(Me.FmAvatar, {
454
+ }, [i($e.FmAvatar, {
445
455
  name: a.name,
446
- initials: ra(a.name),
456
+ initials: ua(a.name),
447
457
  size: "sm",
448
458
  class: "shrink-0"
449
459
  }, null), i("span", {
@@ -456,9 +466,9 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
456
466
  header: () => n("hr.employee.columns.restaurants"),
457
467
  enableSorting: !1,
458
468
  cell(e) {
459
- return V.value || M.value ? ne(xe) : e.row.original.restaurants.map((a, r) => {
460
- const p = le(a);
461
- return ne("div", {
469
+ return V.value || R.value ? ie(Ee) : e.row.original.restaurants.map((a, r) => {
470
+ const p = se(a);
471
+ return ie("div", {
462
472
  key: a.restaurantId || r
463
473
  }, (r ? `
464
474
  ` : "") + p);
@@ -470,11 +480,11 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
470
480
  header: () => n("hr.employee.columns.assignedRole"),
471
481
  enableSorting: !1,
472
482
  cell(e) {
473
- return V.value || M.value ? ne(xe, {
483
+ return V.value || R.value ? ie(Ee, {
474
484
  width: "120px"
475
485
  }) : e.row.original.restaurants.map((a, r) => {
476
486
  const p = F(a);
477
- return ne("div", {
487
+ return ie("div", {
478
488
  key: a.restaurantId || r
479
489
  }, (r ? `
480
490
  ` : "") + p);
@@ -497,7 +507,7 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
497
507
  className: "flex w-full items-center justify-end"
498
508
  });
499
509
  }
500
- }], se = ({
510
+ }], te = ({
501
511
  employee: e
502
512
  }) => i("div", {
503
513
  class: "flex flex-col gap-4 grow p-8"
@@ -508,22 +518,22 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
508
518
  row: {
509
519
  original: e
510
520
  }
511
- }) : e[a.accessorKey]]))]), P = Ie(), K = qe(), pe = Le(P), J = v(!1), O = v(), u = v();
521
+ }) : e[a.accessorKey]]))]), D = Me(), K = Je(), fe = De(D), Q = v(!1), G = v(), u = v();
512
522
  function o(e) {
513
523
  const a = e.isRestricted;
514
- return a && P.open({
524
+ return a && D.open({
515
525
  message: n("hr.employee.cannotUpdateMasterUser", {
516
526
  name: e.name
517
527
  }),
518
528
  type: "error"
519
529
  }), a;
520
530
  }
521
- const k = (e) => {
531
+ const w = (e) => {
522
532
  var r;
523
533
  e && o(e) || (r = u.value) == null || r.trigger(e);
524
534
  }, {
525
535
  breakpoints: S
526
- } = He(), R = (e) => {
536
+ } = We(), M = (e) => {
527
537
  o(e) || K.open({
528
538
  title: n("hr.employee.remove.title"),
529
539
  message: n("hr.employee.remove.message", {
@@ -534,19 +544,19 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
534
544
  text: n("common.remove"),
535
545
  close: !1,
536
546
  variant: "destructive",
537
- isLoading: J
547
+ isLoading: Q
538
548
  },
539
549
  secondaryActions: {
540
550
  text: n("common.cancel"),
541
551
  close: !0
542
552
  }
543
553
  }).onPrimary(async () => {
544
- if (J.value) return;
554
+ if (Q.value) return;
545
555
  const r = e.isMasterUser ? d.deleteMasterEmployee : d.deleteEmployee;
546
- await pe.minor(async () => {
547
- await r(e), await fe();
556
+ await fe.minor(async () => {
557
+ await r(e), await ve();
548
558
  }, {
549
- isLoading: J,
559
+ isLoading: Q,
550
560
  successMessage: n("hr.employee.remove.successMessage", {
551
561
  name: e.name
552
562
  })
@@ -554,141 +564,141 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
554
564
  }), K.close();
555
565
  });
556
566
  }, x = v("");
557
- function D() {
567
+ function N() {
558
568
  var e;
559
569
  (e = u.value) == null || e.trigger();
560
570
  }
561
- const te = h(() => ge().roles.value.map((e) => ({
571
+ const oe = h(() => he().roles.value.map((e) => ({
562
572
  label: e.name,
563
573
  value: e._id
564
574
  }))), t = v();
565
- async function G() {
575
+ async function B() {
566
576
  try {
567
- await d.syncUsersMeta(), await fe(), P.open({
577
+ await d.syncUsersMeta(), await ve(), D.open({
568
578
  message: n("hr.employee.sync.successMessage"),
569
579
  type: "success"
570
580
  });
571
581
  } catch (e) {
572
- console.error("Error syncing users:", e), P.open({
582
+ console.error("Error syncing users:", e), D.open({
573
583
  message: n("hr.employee.sync.errorMessage"),
574
584
  type: "error"
575
585
  });
576
586
  }
577
587
  }
578
- async function oe(e = s.value) {
588
+ async function re(e = s.value) {
579
589
  var a, r;
580
590
  try {
581
591
  await d.readEmployeesPage({
582
- limit: N,
583
- offset: (e - 1) * N,
592
+ limit: A,
593
+ offset: (e - 1) * A,
584
594
  search: T.value.trim() || void 0,
585
- restaurantIds: (a = w.value) != null && a.length ? w.value : void 0,
595
+ restaurantIds: (a = k.value) != null && a.length ? k.value : void 0,
586
596
  roleIds: (r = t.value) != null && r.length ? t.value : void 0
587
597
  });
588
598
  } catch (p) {
589
- console.error("Failed to load employees:", p), P.open({
599
+ console.error("Failed to load employees:", p), D.open({
590
600
  message: p instanceof Error ? p.message : String(p),
591
601
  type: "error"
592
602
  });
593
603
  }
594
604
  }
595
- async function fe() {
605
+ async function ve() {
596
606
  var a;
597
607
  if (!((a = U.value) != null && a._id)) return;
598
- await oe(s.value);
599
- const e = Math.max(1, Math.ceil(b.value / N));
600
- s.value > e && (s.value = e, await oe(s.value));
608
+ await re(s.value);
609
+ const e = Math.max(1, Math.ceil(b.value / A));
610
+ s.value > e && (s.value = e, await re(s.value));
601
611
  }
602
- async function De() {
612
+ async function Ne() {
603
613
  var e, a;
604
614
  return await d.readAllEmployeesPage({
605
615
  search: T.value.trim() || void 0,
606
- restaurantIds: (e = w.value) != null && e.length ? w.value : void 0,
616
+ restaurantIds: (e = k.value) != null && e.length ? k.value : void 0,
607
617
  roleIds: (a = t.value) != null && a.length ? t.value : void 0
608
618
  }, b.value);
609
619
  }
610
- const Ne = oa(_, () => {
620
+ const Ae = ia(_, () => {
611
621
  T.value = _.value;
612
622
  }, 300);
613
- Oe(Ne);
614
- let ve = !1;
615
- async function Ae({
623
+ Be(Ae);
624
+ let ye = !1;
625
+ async function Oe({
616
626
  pageIndex: e
617
627
  }) {
618
628
  var a;
619
- if ((a = U.value) != null && a._id && !ve && !(e === 0 && s.value === 1 && q.value.length > 0)) {
620
- ve = !0, s.value = e + 1;
629
+ if ((a = U.value) != null && a._id && !ye && !(e === 0 && s.value === 1 && H.value.length > 0)) {
630
+ ye = !0, s.value = e + 1;
621
631
  try {
622
- await oe(s.value);
632
+ await re(s.value);
623
633
  } finally {
624
- ve = !1;
634
+ ye = !1;
625
635
  }
626
636
  }
627
637
  }
628
- Z(ae, async () => {
638
+ X(le, async () => {
629
639
  var e;
630
- s.value = 1, $.value = !1, (e = U.value) != null && e._id && (await oe(1), $.value = !0);
640
+ s.value = 1, L.value = !1, (e = U.value) != null && e._id && (await re(1), L.value = !0);
631
641
  }, {
632
642
  immediate: !0
633
- }), Z(() => O.value && O.value.restaurants, (e) => {
643
+ }), X(() => G.value && G.value.restaurants, (e) => {
634
644
  e && e.length > 0 && (x.value = "");
635
645
  });
636
- const Te = h(() => b.value > N);
637
- return ue({
638
- create: D,
639
- filteredEmployees: q,
640
- exportEmployees: De,
646
+ const Te = h(() => b.value > A);
647
+ return ce({
648
+ create: N,
649
+ filteredEmployees: H,
650
+ exportEmployees: Ne,
641
651
  getHasPaginationFooter: () => Te.value
642
652
  }), (e, a) => {
643
- var he, _e;
644
- const r = E("FmButton"), p = E("FmTooltip"), Q = E("FmSearch"), Y = E("FmListItem"), ze = E("FmTable");
645
- return g(), X(Ue, null, [i(ya, {
653
+ var _e, be;
654
+ const r = E("FmButton"), p = E("FmTooltip"), Y = E("FmSearch"), Z = E("FmListItem"), ze = E("FmTable");
655
+ return g(), ee(Ie, null, [i(ha, {
646
656
  ref_key: "employeeFormRef",
647
657
  ref: u,
648
- modelValue: O.value,
649
- "onUpdate:modelValue": a[0] || (a[0] = (c) => O.value = c),
658
+ modelValue: G.value,
659
+ "onUpdate:modelValue": a[0] || (a[0] = (m) => G.value = m),
650
660
  "role-error-message": x.value,
651
661
  class: "gap-8",
652
- onSubmitted: fe
653
- }, null, 8, ["modelValue", "role-error-message"]), f("div", ga, [l(S).xs ? (g(), X("div", ka, [f("div", wa, [i(Q, {
662
+ onSubmitted: ve
663
+ }, null, 8, ["modelValue", "role-error-message"]), f("div", _a, [l(S).xs ? (g(), ee("div", xa, [f("div", Ea, [i(Y, {
654
664
  modelValue: l(_),
655
- "onUpdate:modelValue": a[4] || (a[4] = (c) => be(_) ? _.value = c : null),
665
+ "onUpdate:modelValue": a[4] || (a[4] = (m) => we(_) ? _.value = m : null),
656
666
  placeholder: l(n)("hr.employee.search.placeholder")
657
- }, null, 8, ["modelValue", "placeholder"])]), i(Ze), f("div", xa, [i(ie, {
658
- modelValue: w.value,
659
- "onUpdate:modelValue": a[5] || (a[5] = (c) => w.value = c),
667
+ }, null, 8, ["modelValue", "placeholder"])]), i(ea), f("div", Va, [i(ue, {
668
+ modelValue: k.value,
669
+ "onUpdate:modelValue": a[5] || (a[5] = (m) => k.value = m),
660
670
  multiple: "",
661
- items: A.value,
671
+ items: O.value,
662
672
  variant: "dark",
663
673
  "selected-prefix": l(n)("hr.role.columns.restaurants"),
664
674
  placeholder: l(n)("hr.role.columns.restaurants"),
665
675
  class: "!w-auto"
666
- }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), i(ie, {
676
+ }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), i(ue, {
667
677
  modelValue: t.value,
668
- "onUpdate:modelValue": a[6] || (a[6] = (c) => t.value = c),
678
+ "onUpdate:modelValue": a[6] || (a[6] = (m) => t.value = m),
669
679
  multiple: "",
670
- items: te.value,
680
+ items: oe.value,
671
681
  variant: "dark",
672
682
  "selected-prefix": l(n)("hr.employee.filter.selected_role_prefix"),
673
683
  placeholder: l(n)("hr.employee.filter.role_placeholder")
674
- }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])])])) : (g(), X("div", ha, [f("div", _a, [i(ie, {
675
- modelValue: w.value,
676
- "onUpdate:modelValue": a[1] || (a[1] = (c) => w.value = c),
684
+ }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])])])) : (g(), ee("div", ba, [f("div", wa, [i(ue, {
685
+ modelValue: k.value,
686
+ "onUpdate:modelValue": a[1] || (a[1] = (m) => k.value = m),
677
687
  multiple: "",
678
- items: A.value,
688
+ items: O.value,
679
689
  variant: "dark",
680
690
  "selected-prefix": l(n)("hr.role.columns.restaurants"),
681
691
  placeholder: l(n)("hr.role.columns.restaurants"),
682
692
  class: "!w-auto"
683
- }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), i(ie, {
693
+ }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"]), i(ue, {
684
694
  modelValue: t.value,
685
- "onUpdate:modelValue": a[2] || (a[2] = (c) => t.value = c),
695
+ "onUpdate:modelValue": a[2] || (a[2] = (m) => t.value = m),
686
696
  multiple: "",
687
697
  variant: "dark",
688
- items: te.value,
698
+ items: oe.value,
689
699
  "selected-prefix": l(n)("hr.employee.filter.selected_role_prefix"),
690
700
  placeholder: l(n)("hr.employee.filter.role_placeholder")
691
- }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])]), f("div", ba, [(he = l(ce)) != null && he.role.isAdmin ? (g(), I(p, {
701
+ }, null, 8, ["modelValue", "items", "selected-prefix", "placeholder"])]), f("div", ka, [(_e = l(de)) != null && _e.role.isAdmin ? (g(), I(p, {
692
702
  key: 0,
693
703
  content: l(n)("hr.employee.sync.tooltip")
694
704
  }, {
@@ -696,21 +706,21 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
696
706
  icon: "refresh",
697
707
  label: l(n)("hr.employee.sync.tooltip"),
698
708
  variant: "tertiary",
699
- onClick: G
709
+ onClick: B
700
710
  }, null, 8, ["label"])]),
701
711
  _: 1
702
- }, 8, ["content"])) : B("", !0), i(Q, {
712
+ }, 8, ["content"])) : j("", !0), i(Y, {
703
713
  modelValue: l(_),
704
- "onUpdate:modelValue": a[3] || (a[3] = (c) => be(_) ? _.value = c : null),
714
+ "onUpdate:modelValue": a[3] || (a[3] = (m) => we(_) ? _.value = m : null),
705
715
  autofocus: "",
706
716
  class: "pl-4 w-[320px]",
707
717
  placeholder: l(n)("hr.employee.search.placeholder")
708
- }, null, 8, ["modelValue", "placeholder"])])])), (_e = l(U)) != null && _e._id ? (g(), I(We, {
718
+ }, null, 8, ["modelValue", "placeholder"])])])), (be = l(U)) != null && be._id ? (g(), I(Ye, {
709
719
  key: 2
710
720
  }, {
711
- default: y(() => [f("div", Ea, [!$.value && l(d).isLoading.value ? (g(), I(Je, {
721
+ default: y(() => [f("div", Sa, [!L.value && l(d).isLoading.value ? (g(), I(Ze, {
712
722
  key: 0
713
- })) : B("", !0), $.value ? (g(), I(ea, {
723
+ })) : j("", !0), L.value ? (g(), I(sa, {
714
724
  key: 1,
715
725
  "is-loading": l(d).isLoading.value,
716
726
  "is-empty": b.value === 0,
@@ -718,59 +728,59 @@ const ma = { class: "flex w-full items-center justify-between" }, ca = { class:
718
728
  subtitle: l(n)("hr.employee.noData.subtitle")
719
729
  }, {
720
730
  default: y(() => [(g(), I(ze, {
721
- key: ae.value,
731
+ key: le.value,
722
732
  class: ke(["employee-list-table h-full", {
723
- "employee-list-table--pagination-loading": H.value
733
+ "employee-list-table--pagination-loading": J.value
724
734
  }]),
725
735
  "column-defs": W,
726
- "row-data": q.value,
727
- "page-size": N,
728
- "page-count": Math.ceil(b.value / N),
736
+ "row-data": H.value,
737
+ "page-size": A,
738
+ "page-count": Math.ceil(b.value / A),
729
739
  "row-count": b.value,
730
- "fetch-fn": Ae,
731
- "hide-footer": b.value <= N,
740
+ "fetch-fn": Oe,
741
+ "hide-footer": b.value <= A,
732
742
  loading: l(d).isLoading.value,
733
743
  virtual: !1,
734
744
  "pin-header-row": "",
735
- onRowClick: a[7] || (a[7] = (c) => k(c.original))
745
+ onRowClick: a[7] || (a[7] = (m) => w(m.original))
736
746
  }, {
737
- "list-row": y((c) => [l(S).xs ? (g(), I(Y, {
747
+ "list-row": y((m) => [l(S).xs ? (g(), I(Z, {
738
748
  key: 0,
739
749
  class: ke(["py-12 px-16 items-center justify-between", {
740
- "border-t border-fm-color-neutral-gray-100": c.index > 0
750
+ "border-t border-fm-color-neutral-gray-100": m.index > 0
741
751
  }]),
742
- onClick: (re) => k(c.original)
752
+ onClick: (ne) => w(m.original)
743
753
  }, {
744
- default: y(() => [f("div", Va, [f("p", Sa, [c.original.code ? (g(), X("span", Ca, j(c.original.code) + ".", 1)) : B("", !0), ye(j(c.original.name), 1)]), f("div", Ua, [f("p", Fa, [f("span", Ia, j(l(n)("hr.employee.columns.restaurants")) + ":", 1), ye(" " + j(c.original.restaurants.map((re) => le(re)).join(", ")), 1)]), f("p", null, [a[8] || (a[8] = f("span", {
754
+ default: y(() => [f("div", Ca, [f("p", Ua, [m.original.code ? (g(), ee("span", Fa, q(m.original.code) + ".", 1)) : j("", !0), ge(q(m.original.name), 1)]), f("div", Ia, [f("p", Ra, [f("span", Ma, q(l(n)("hr.employee.columns.restaurants")) + ":", 1), ge(" " + q(m.original.restaurants.map((ne) => se(ne)).join(", ")), 1)]), f("p", null, [a[8] || (a[8] = f("span", {
745
755
  class: "font-bold"
746
- }, "Since:", -1)), ye(" " + j(c.original.since), 1)])])]), i(r, {
756
+ }, "Since:", -1)), ge(" " + q(m.original.since), 1)])])]), i(r, {
747
757
  icon: "delete",
748
758
  variant: "tertiary",
749
759
  "text-color": "neutral-gray-400",
750
- onClick: Ge((re) => R(c.original), ["stop"])
760
+ onClick: je((ne) => M(m.original), ["stop"])
751
761
  }, null, 8, ["onClick"])]),
752
762
  _: 2
753
- }, 1032, ["class", "onClick"])) : (g(), I(Y, {
763
+ }, 1032, ["class", "onClick"])) : (g(), I(Z, {
754
764
  key: 1,
755
765
  style: {
756
766
  padding: "0"
757
767
  },
758
- onClick: (re) => k(c.original)
768
+ onClick: (ne) => w(m.original)
759
769
  }, {
760
- default: y(() => [(g(), I(Be(se), {
761
- employee: c.original
770
+ default: y(() => [(g(), I(qe(te), {
771
+ employee: m.original
762
772
  }, null, 8, ["employee"]))]),
763
773
  _: 2
764
774
  }, 1032, ["onClick"]))]),
765
775
  _: 1
766
776
  }, 8, ["class", "row-data", "page-count", "row-count", "hide-footer", "loading"]))]),
767
777
  _: 1
768
- }, 8, ["is-loading", "is-empty", "title", "subtitle"])) : B("", !0)])]),
778
+ }, 8, ["is-loading", "is-empty", "title", "subtitle"])) : j("", !0)])]),
769
779
  _: 1
770
- })) : B("", !0)])], 64);
780
+ })) : j("", !0)])], 64);
771
781
  };
772
782
  }
773
- }), Za = /* @__PURE__ */ Qe(Ma, [["__scopeId", "data-v-5aed0d1c"]]);
783
+ }), Za = /* @__PURE__ */ Qe($a, [["__scopeId", "data-v-5aed0d1c"]]);
774
784
  export {
775
785
  Za as default
776
786
  };