@feedmepos/mf-hrm-portal 2.2.2-dev → 2.2.2-dev.3

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 (32) hide show
  1. package/dist/{ApprovalCodeList-B9O8QzzI.js → ApprovalCodeList-BjRRA_sc.js} +2 -2
  2. package/dist/{AuditLogList-CtFEXKWZ.js → AuditLogList-B8kE39lt.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-C9MYbxum.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Ba8w1BwT.js} +2 -2
  4. package/dist/{EmployeeList-BFxMwFJq.js → EmployeeList-7e069yPp.js} +66 -65
  5. package/dist/{GrantUserList-CZtmMRoS.js → GrantUserList-CTYamty5.js} +3 -3
  6. package/dist/{Main-on0TXkQt.js → Main-B-3s0bf_.js} +5 -5
  7. package/dist/{Main-DD6IthCS.js → Main-DcPLufZ5.js} +2 -2
  8. package/dist/{Main-B622Z4q4.js → Main-DfeNUiyv.js} +9 -9
  9. package/dist/{PermissionSetList-FCX3TBoi.js → PermissionSetList-CNujxzHF.js} +77 -76
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cl_YNh0k.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cq9xp1TW.js} +585 -580
  11. package/dist/RoleList-YaY7Np_9.js +739 -0
  12. package/dist/{TeamMemberList-BAU7Y3jh.js → TeamMemberList-B-I3KjnH.js} +305 -305
  13. package/dist/{TimesheetList-DtFBWhma.js → TimesheetList-BTsvEiD6.js} +5 -5
  14. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-Tatn3jUv.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-CJYgeUxK.js} +2 -2
  15. package/dist/{app-Bbf6hEPt.js → app-C3u5orep.js} +16 -12
  16. package/dist/app.js +1 -1
  17. package/dist/{dayjs.min-BAnGg8q2.js → dayjs.min-B-sLuqme.js} +1 -1
  18. package/dist/{employee-DVSD3L51.js → employee-DaduVi88.js} +3 -3
  19. package/dist/{iteration-BTZViJtd.js → iteration-Cii8ZeX3.js} +1 -1
  20. package/dist/{lodash-Cgdk4_YL.js → lodash-BifZ3B1q.js} +1 -1
  21. package/dist/{role-CXVpO6fB.js → role-tzqciGzt.js} +1 -1
  22. package/dist/{rule-TR3MVo-b.js → rule-GhzA0R9H.js} +287 -260
  23. package/dist/src/api/user/index.d.ts +2 -2
  24. package/dist/src/composables/useReportPermissions.d.ts +1 -0
  25. package/dist/src/helpers/rule.d.ts +2 -0
  26. package/dist/src/types/role.d.ts +1 -0
  27. package/dist/src/views/hr/locales/index.d.ts +12 -8
  28. package/dist/tsconfig.app.tsbuildinfo +1 -1
  29. package/dist/useReportPermissions-BRLy3D7v.js +82 -0
  30. package/package.json +2 -2
  31. package/dist/RoleList-p_9KHzqF.js +0 -725
  32. package/dist/useReportPermissions-BpAFyO17.js +0 -71
@@ -1,6 +1,6 @@
1
1
  import type { FdoUser } from '@feedmepos/core/entity';
2
2
  export declare const userApi: {
3
- readPermissionUserByPhoneNo(phoneNo: string): Promise<FdoUser>;
4
- readPermissionUserByEmail(email: string): Promise<FdoUser>;
3
+ readPermissionUserByPhoneNo(phoneNo: string): Promise<FdoUser | null>;
4
+ readPermissionUserByEmail(email: string): Promise<FdoUser | null>;
5
5
  };
6
6
  export default userApi;
@@ -10,6 +10,7 @@ export declare function useReportPermissions(): {
10
10
  actions: ("update" | "create" | "read" | "delete" | "manage")[];
11
11
  }[]>;
12
12
  availableReportKeys: import("vue").ComputedRef<Set<string>>;
13
+ customReportKeys: import("vue").ComputedRef<Set<string>>;
13
14
  isLoading: import("vue").ComputedRef<boolean>;
14
15
  isLoaded: import("vue").ComputedRef<boolean>;
15
16
  };
@@ -7,6 +7,8 @@ export declare function ruleExtension(rule: FdoPermissionRule): {
7
7
  isDiscountOperation: boolean;
8
8
  isOrderOperation: boolean;
9
9
  isReportPermission: boolean;
10
+ isResolvable: boolean;
11
+ discriminator: string | undefined;
10
12
  formatted: string;
11
13
  label: string;
12
14
  value: string;
@@ -32,6 +32,7 @@ export interface Rule extends FdoPermissionRule {
32
32
  isDiscountOperation: boolean;
33
33
  isOrderOperation: boolean;
34
34
  isReportPermission: boolean;
35
+ isResolvable: boolean;
35
36
  label: string;
36
37
  value: string;
37
38
  }
@@ -113,10 +113,11 @@ export declare const i18nMessages: {
113
113
  maxValueIs: string;
114
114
  minValueIs: string;
115
115
  restaurant: string;
116
+ v8OnlyReportTag: string;
116
117
  permissionLabels: {
117
118
  "order:discount": string;
118
119
  "order:changePrice": string;
119
- "order:void": string;
120
+ "order:void_": string;
120
121
  "order:waiveServiceCharge": string;
121
122
  "order:payment": string;
122
123
  "order:claimDeposit": string;
@@ -153,7 +154,7 @@ export declare const i18nMessages: {
153
154
  "report:drawer": string;
154
155
  "report:discount": string;
155
156
  "report:refund": string;
156
- "report:void": string;
157
+ "report:void_": string;
157
158
  "report:timesheet": string;
158
159
  "report:counterPayment": string;
159
160
  };
@@ -318,10 +319,11 @@ export declare const i18nMessages: {
318
319
  maxValueIs: string;
319
320
  minValueIs: string;
320
321
  restaurant: string;
322
+ v8OnlyReportTag: string;
321
323
  permissionLabels: {
322
324
  "order:discount": string;
323
325
  "order:changePrice": string;
324
- "order:void": string;
326
+ "order:void_": string;
325
327
  "order:waiveServiceCharge": string;
326
328
  "order:payment": string;
327
329
  "order:claimDeposit": string;
@@ -358,7 +360,7 @@ export declare const i18nMessages: {
358
360
  "report:drawer": string;
359
361
  "report:discount": string;
360
362
  "report:refund": string;
361
- "report:void": string;
363
+ "report:void_": string;
362
364
  "report:timesheet": string;
363
365
  "report:counterPayment": string;
364
366
  };
@@ -523,10 +525,11 @@ export declare const i18nMessages: {
523
525
  maxValueIs: string;
524
526
  minValueIs: string;
525
527
  restaurant: string;
528
+ v8OnlyReportTag: string;
526
529
  permissionLabels: {
527
530
  "order:discount": string;
528
531
  "order:changePrice": string;
529
- "order:void": string;
532
+ "order:void_": string;
530
533
  "order:waiveServiceCharge": string;
531
534
  "order:payment": string;
532
535
  "order:claimDeposit": string;
@@ -563,7 +566,7 @@ export declare const i18nMessages: {
563
566
  "report:drawer": string;
564
567
  "report:discount": string;
565
568
  "report:refund": string;
566
- "report:void": string;
569
+ "report:void_": string;
567
570
  "report:timesheet": string;
568
571
  "report:counterPayment": string;
569
572
  };
@@ -727,10 +730,11 @@ export declare const i18nMessages: {
727
730
  maxValueIs: string;
728
731
  minValueIs: string;
729
732
  restaurant: string;
733
+ v8OnlyReportTag: string;
730
734
  permissionLabels: {
731
735
  "order:discount": string;
732
736
  "order:changePrice": string;
733
- "order:void": string;
737
+ "order:void_": string;
734
738
  "order:waiveServiceCharge": string;
735
739
  "order:payment": string;
736
740
  "order:claimDeposit": string;
@@ -767,7 +771,7 @@ export declare const i18nMessages: {
767
771
  "report:drawer": string;
768
772
  "report:discount": string;
769
773
  "report:refund": string;
770
- "report:void": string;
774
+ "report:void_": string;
771
775
  "report:timesheet": string;
772
776
  "report:counterPayment": string;
773
777
  };