@feedmepos/mf-hrm-portal 2.0.17-dev.3 → 2.0.17-dev.4

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 (51) hide show
  1. package/dist/{AuditLogList-C6qAeY5g.js → AuditLogList-CV82_8fj.js} +350 -324
  2. package/dist/EmployeeList-dE0So94R.js +736 -0
  3. package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +71 -0
  4. package/dist/HorizontalSplitter-o860F4xM.js +12 -0
  5. package/dist/{Main-Dkr5lzbv.js → Main-BAx-c_oZ.js} +9 -9
  6. package/dist/{Main-BNXKItvX.js → Main-CfAQYaaW.js} +14 -16
  7. package/dist/{Main--tejoyEP.js → Main-CyReTP3K.js} +8 -8
  8. package/dist/PermissionSetList-DmsJnW2i.js +341 -0
  9. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BbcY9q1x.js +3480 -0
  10. package/dist/RoleList-CKB8L-BW.js +530 -0
  11. package/dist/TeamMemberList-CszlbmAX.js +1108 -0
  12. package/dist/{TimesheetList-D-3k0Uad.js → TimesheetList-NRUfSiYL.js} +6 -6
  13. package/dist/{app-BjXuSCis.js → app-B0bANDrM.js} +1891 -1404
  14. package/dist/app.js +1 -1
  15. package/dist/{dayjs.min-z-vrgFCL.js → dayjs.min-DdUO0d-2.js} +1 -1
  16. package/dist/{employee-DAqAMupR.js → employee-DJDUT0Wj.js} +3 -3
  17. package/dist/{iteration-Cp1eSTJA.js → iteration-DqYIXL4P.js} +1 -1
  18. package/dist/{lodash-CXLZQQp8.js → lodash-BBQT31li.js} +1 -1
  19. package/dist/rule-T7VKkRdN.js +996 -0
  20. package/dist/src/api/report-query/index.d.ts +2 -2
  21. package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
  22. package/dist/src/components/CollapsibleWrapper.vue.d.ts +0 -2
  23. package/dist/src/composables/useBasePermission.d.ts +1 -1
  24. package/dist/src/views/hr/locales/index.d.ts +172 -16
  25. package/dist/src/views/team/components/BasePermission.vue.d.ts +6 -2
  26. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
  27. package/dist/src/views/team/locales/index.d.ts +312 -32
  28. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -5
  29. package/dist/style.css +1 -1
  30. package/dist/{timesheet-BlPhOifI.js → timesheet-DjtuB4we.js} +2 -2
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/dist/{useAppStore-BVnrWyPF.js → useAppStore-CBb-dugK.js} +1 -1
  33. package/dist/useDebounce-B8ZPVS5C.js +15 -0
  34. package/dist/useDiscardConfirm-BHni0LNu.js +28 -0
  35. package/dist/{useLoading-7ia-Bps7.js → useLoading-BCOj8y-t.js} +1 -1
  36. package/dist/useReportPermissions-DyzhBpi8.js +70 -0
  37. package/dist/useSearch-B6WK1LBB.js +15 -0
  38. package/package.json +2 -2
  39. package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +0 -58
  40. package/dist/EmployeeList-COtXtTqG.js +0 -827
  41. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CoorkndT.js +0 -34
  42. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
  43. package/dist/PermissionSetList-B_Sdvbu7.js +0 -340
  44. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BBsaxaXu.js +0 -3439
  45. package/dist/RoleList-SZCgvYvC.js +0 -543
  46. package/dist/TeamMemberList-Dk5HeFfQ.js +0 -1008
  47. package/dist/rule-vBxopbM_.js +0 -990
  48. package/dist/team-CnQ_rIx2.js +0 -33
  49. package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
  50. package/dist/useReportPermissions-C8HMek35.js +0 -60
  51. package/dist/useSearch-BAPEUu1R.js +0 -15
@@ -1,6 +1,6 @@
1
1
  import type { ReportPermissionItem } from '@/types/report-query';
2
2
  declare const ReportQueryAPI: {
3
- fetchReportPermissions(businessId: string): Promise<ReportPermissionItem[]>;
4
- fetchReportPermissionsForPortal(businessId: string): Promise<ReportPermissionItem[]>;
3
+ fetchReportPermissions(businessId: string, locale?: string | null): Promise<ReportPermissionItem[]>;
4
+ fetchReportPermissionsForPortal(businessId: string, locale?: string | null): Promise<ReportPermissionItem[]>;
5
5
  };
6
6
  export default ReportQueryAPI;
@@ -143,9 +143,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
143
143
  }>, {
144
144
  max: number;
145
145
  min: number;
146
- disable: boolean;
147
146
  showAllToggle: string | boolean;
148
147
  includeDisabledOptionsWhenSelectAll: boolean;
148
+ disable: boolean;
149
149
  showIntermediate: boolean;
150
150
  gutter: number;
151
151
  falsyShowSlot: boolean;
@@ -1,6 +1,5 @@
1
1
  interface Props {
2
2
  title?: string;
3
- subtitle?: string;
4
3
  initiallyCollapsed?: boolean;
5
4
  }
6
5
  declare var __VLS_1: {}, __VLS_7: {};
@@ -11,7 +10,6 @@ type __VLS_Slots = {} & {
11
10
  };
12
11
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
13
12
  title: string;
14
- subtitle: string;
15
13
  initiallyCollapsed: boolean;
16
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -3,6 +3,7 @@ import { type IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/h
3
3
  import type { FdoPermissionRule } from '@feedmepos/core/entity';
4
4
  export type CategoryGroup = {
5
5
  category: string;
6
+ label: string;
6
7
  options: {
7
8
  label: string;
8
9
  value: string;
@@ -20,7 +21,6 @@ export declare function useBasePermission(modelValue: Readonly<Ref<FdoPermission
20
21
  categoryGroups: ComputedRef<CategoryGroup[]>;
21
22
  toggleCategory: (category: string, subjects: unknown[]) => void;
22
23
  isAllManageChecked: (group: CategoryGroup) => boolean;
23
- isAllManageIndeterminate: (group: CategoryGroup) => boolean;
24
24
  toggleAllManage: (group: CategoryGroup) => void;
25
25
  isManageChecked: (group: CategoryGroup, subject: string) => boolean;
26
26
  isManageIndeterminate: (group: CategoryGroup, subject: string) => boolean;
@@ -11,15 +11,12 @@ export declare const i18nMessages: {
11
11
  code: string;
12
12
  name: string;
13
13
  restaurants: string;
14
- assignedRole: string;
15
14
  since: string;
16
15
  };
17
16
  form: {
18
17
  add: string;
19
18
  update: string;
20
19
  employeeSetting: string;
21
- assignmentSection: string;
22
- addAnother: string;
23
20
  masterUserConfig: string;
24
21
  code: string;
25
22
  masterUser: string;
@@ -29,7 +26,6 @@ export declare const i18nMessages: {
29
26
  passcodeRequired: string;
30
27
  passcodeGenerate: string;
31
28
  atLeastOneRestaurant: string;
32
- roleRequired: string;
33
29
  all: string;
34
30
  role: string;
35
31
  name: string;
@@ -112,6 +108,49 @@ export declare const i18nMessages: {
112
108
  maxValueIs: string;
113
109
  minValueIs: string;
114
110
  restaurant: string;
111
+ permissionLabels: {
112
+ "order:discount": string;
113
+ "order:changePrice": string;
114
+ "order:void": string;
115
+ "order:payment": string;
116
+ "order:claimDeposit": string;
117
+ "order:resend": string;
118
+ "order:changePaymentType": string;
119
+ refund: string;
120
+ counter: string;
121
+ mallIntegration: string;
122
+ drawer: string;
123
+ menu: string;
124
+ inventory: string;
125
+ deposit: string;
126
+ delivery: string;
127
+ counterRecord: string;
128
+ restaurantSetting: string;
129
+ display: string;
130
+ printer: string;
131
+ table: string;
132
+ employee: string;
133
+ system: string;
134
+ tax: string;
135
+ paymentType: string;
136
+ faceId: string;
137
+ "report:closeup": string;
138
+ "report:counter": string;
139
+ "report:hourlySales": string;
140
+ "report:dailySales": string;
141
+ "report:productSales": string;
142
+ "report:sourceProductSales": string;
143
+ "report:userProductSales": string;
144
+ "report:categorySales": string;
145
+ "report:addonSales": string;
146
+ "report:slotSales": string;
147
+ "report:drawer": string;
148
+ "report:discount": string;
149
+ "report:refund": string;
150
+ "report:void": string;
151
+ "report:timesheet": string;
152
+ "report:counterPayment": string;
153
+ };
115
154
  };
116
155
  noData: {
117
156
  title: string;
@@ -171,15 +210,12 @@ export declare const i18nMessages: {
171
210
  code: string;
172
211
  name: string;
173
212
  restaurants: string;
174
- assignedRole: string;
175
213
  since: string;
176
214
  };
177
215
  form: {
178
216
  add: string;
179
217
  update: string;
180
218
  employeeSetting: string;
181
- assignmentSection: string;
182
- addAnother: string;
183
219
  masterUserConfig: string;
184
220
  code: string;
185
221
  masterUser: string;
@@ -189,7 +225,6 @@ export declare const i18nMessages: {
189
225
  passcodeRequired: string;
190
226
  passcodeGenerate: string;
191
227
  atLeastOneRestaurant: string;
192
- roleRequired: string;
193
228
  all: string;
194
229
  role: string;
195
230
  name: string;
@@ -272,6 +307,49 @@ export declare const i18nMessages: {
272
307
  maxValueIs: string;
273
308
  minValueIs: string;
274
309
  restaurant: string;
310
+ permissionLabels: {
311
+ "order:discount": string;
312
+ "order:changePrice": string;
313
+ "order:void": string;
314
+ "order:payment": string;
315
+ "order:claimDeposit": string;
316
+ "order:resend": string;
317
+ "order:changePaymentType": string;
318
+ refund: string;
319
+ counter: string;
320
+ mallIntegration: string;
321
+ drawer: string;
322
+ menu: string;
323
+ inventory: string;
324
+ deposit: string;
325
+ delivery: string;
326
+ counterRecord: string;
327
+ restaurantSetting: string;
328
+ display: string;
329
+ printer: string;
330
+ table: string;
331
+ employee: string;
332
+ system: string;
333
+ tax: string;
334
+ paymentType: string;
335
+ faceId: string;
336
+ "report:closeup": string;
337
+ "report:counter": string;
338
+ "report:hourlySales": string;
339
+ "report:dailySales": string;
340
+ "report:productSales": string;
341
+ "report:sourceProductSales": string;
342
+ "report:userProductSales": string;
343
+ "report:categorySales": string;
344
+ "report:addonSales": string;
345
+ "report:slotSales": string;
346
+ "report:drawer": string;
347
+ "report:discount": string;
348
+ "report:refund": string;
349
+ "report:void": string;
350
+ "report:timesheet": string;
351
+ "report:counterPayment": string;
352
+ };
275
353
  };
276
354
  noData: {
277
355
  title: string;
@@ -331,15 +409,12 @@ export declare const i18nMessages: {
331
409
  code: string;
332
410
  name: string;
333
411
  restaurants: string;
334
- assignedRole: string;
335
412
  since: string;
336
413
  };
337
414
  form: {
338
415
  add: string;
339
416
  update: string;
340
417
  employeeSetting: string;
341
- assignmentSection: string;
342
- addAnother: string;
343
418
  masterUserConfig: string;
344
419
  code: string;
345
420
  masterUser: string;
@@ -349,7 +424,6 @@ export declare const i18nMessages: {
349
424
  passcodeRequired: string;
350
425
  passcodeGenerate: string;
351
426
  atLeastOneRestaurant: string;
352
- roleRequired: string;
353
427
  all: string;
354
428
  role: string;
355
429
  name: string;
@@ -432,6 +506,49 @@ export declare const i18nMessages: {
432
506
  maxValueIs: string;
433
507
  minValueIs: string;
434
508
  restaurant: string;
509
+ permissionLabels: {
510
+ "order:discount": string;
511
+ "order:changePrice": string;
512
+ "order:void": string;
513
+ "order:payment": string;
514
+ "order:claimDeposit": string;
515
+ "order:resend": string;
516
+ "order:changePaymentType": string;
517
+ refund: string;
518
+ counter: string;
519
+ mallIntegration: string;
520
+ drawer: string;
521
+ menu: string;
522
+ inventory: string;
523
+ deposit: string;
524
+ delivery: string;
525
+ counterRecord: string;
526
+ restaurantSetting: string;
527
+ display: string;
528
+ printer: string;
529
+ table: string;
530
+ employee: string;
531
+ system: string;
532
+ tax: string;
533
+ paymentType: string;
534
+ faceId: string;
535
+ "report:closeup": string;
536
+ "report:counter": string;
537
+ "report:hourlySales": string;
538
+ "report:dailySales": string;
539
+ "report:productSales": string;
540
+ "report:sourceProductSales": string;
541
+ "report:userProductSales": string;
542
+ "report:categorySales": string;
543
+ "report:addonSales": string;
544
+ "report:slotSales": string;
545
+ "report:drawer": string;
546
+ "report:discount": string;
547
+ "report:refund": string;
548
+ "report:void": string;
549
+ "report:timesheet": string;
550
+ "report:counterPayment": string;
551
+ };
435
552
  };
436
553
  noData: {
437
554
  title: string;
@@ -490,15 +607,12 @@ export declare const i18nMessages: {
490
607
  code: string;
491
608
  name: string;
492
609
  restaurants: string;
493
- assignedRole: string;
494
610
  since: string;
495
611
  };
496
612
  form: {
497
613
  add: string;
498
614
  update: string;
499
615
  employeeSetting: string;
500
- assignmentSection: string;
501
- addAnother: string;
502
616
  masterUserConfig: string;
503
617
  code: string;
504
618
  masterUser: string;
@@ -508,7 +622,6 @@ export declare const i18nMessages: {
508
622
  passcodeRequired: string;
509
623
  passcodeGenerate: string;
510
624
  atLeastOneRestaurant: string;
511
- roleRequired: string;
512
625
  all: string;
513
626
  role: string;
514
627
  name: string;
@@ -591,6 +704,49 @@ export declare const i18nMessages: {
591
704
  maxValueIs: string;
592
705
  minValueIs: string;
593
706
  restaurant: string;
707
+ permissionLabels: {
708
+ "order:discount": string;
709
+ "order:changePrice": string;
710
+ "order:void": string;
711
+ "order:payment": string;
712
+ "order:claimDeposit": string;
713
+ "order:resend": string;
714
+ "order:changePaymentType": string;
715
+ refund: string;
716
+ counter: string;
717
+ mallIntegration: string;
718
+ drawer: string;
719
+ menu: string;
720
+ inventory: string;
721
+ deposit: string;
722
+ delivery: string;
723
+ counterRecord: string;
724
+ restaurantSetting: string;
725
+ display: string;
726
+ printer: string;
727
+ table: string;
728
+ employee: string;
729
+ system: string;
730
+ tax: string;
731
+ paymentType: string;
732
+ faceId: string;
733
+ "report:closeup": string;
734
+ "report:counter": string;
735
+ "report:hourlySales": string;
736
+ "report:dailySales": string;
737
+ "report:productSales": string;
738
+ "report:sourceProductSales": string;
739
+ "report:userProductSales": string;
740
+ "report:categorySales": string;
741
+ "report:addonSales": string;
742
+ "report:slotSales": string;
743
+ "report:drawer": string;
744
+ "report:discount": string;
745
+ "report:refund": string;
746
+ "report:void": string;
747
+ "report:timesheet": string;
748
+ "report:counterPayment": string;
749
+ };
594
750
  };
595
751
  noData: {
596
752
  title: string;
@@ -1,14 +1,18 @@
1
1
  import { type PropType } from 'vue';
2
2
  import type { IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
3
3
  import type { FdoPermissionRule } from '@feedmepos/core/entity';
4
- declare var __VLS_21: `checkbox-${string}-append`, __VLS_22: {
4
+ declare var __VLS_9: `checkbox-${string}-append`, __VLS_10: {
5
+ option: import("@/components/CheckboxInput.vue").CheckboxOption;
6
+ }, __VLS_37: `checkbox-${string}-append`, __VLS_38: {
5
7
  option: {
6
8
  label: string;
7
9
  value: string;
8
10
  };
9
11
  };
10
12
  type __VLS_Slots = {} & {
11
- [K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
13
+ [K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
14
+ } & {
15
+ [K in NonNullable<typeof __VLS_37>]?: (props: typeof __VLS_38) => any;
12
16
  };
13
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
14
18
  modelValue: {
@@ -1,11 +1,11 @@
1
1
  import { type PropType } from 'vue';
2
2
  import { type CheckboxOption } from '@/components/CheckboxInput.vue';
3
3
  import type { Role } from '@/types/role';
4
- declare var __VLS_13: `checkbox-${any}-append`, __VLS_14: {
4
+ declare var __VLS_10: `checkbox-${any}-append`, __VLS_11: {
5
5
  option: CheckboxOption;
6
6
  };
7
7
  type __VLS_Slots = {} & {
8
- [K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
8
+ [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
9
9
  };
10
10
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
11
  modelValue: {