@feedmepos/mf-hrm-portal 2.0.18-dev.2 → 2.0.18-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 (64) hide show
  1. package/dist/AuditLogList-CPG5uNyJ.js +980 -0
  2. package/dist/EmployeeList-CyF7_ax8.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-BbOMNP31.js → Main-BwMCrfKS.js} +761 -758
  6. package/dist/Main-S5kR_LNV.js +85 -0
  7. package/dist/{Main-dqgR1UXY.js → Main-y2ea2vuC.js} +175 -181
  8. package/dist/PermissionSetList-C5oGIsQP.js +341 -0
  9. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-VaY4Fg_h.js +3480 -0
  10. package/dist/RoleList-C95uKJ8O.js +530 -0
  11. package/dist/TeamMemberList-CEqYCWn6.js +1114 -0
  12. package/dist/TeamMemberList.vue_vue_type_style_index_0_scoped_473cbd86_lang-DJ-znUI3.js +34 -0
  13. package/dist/{TimesheetList-D29EFj1Q.js → TimesheetList-DXtxCeNh.js} +126 -132
  14. package/dist/{app-SadE2J6-.js → app-BwtXEFgW.js} +711 -759
  15. package/dist/app.js +1 -1
  16. package/dist/{dayjs.min-DKCxxK08.js → dayjs.min-uVMAR_wK.js} +1 -1
  17. package/dist/employee-ImeXt_Q7.js +204 -0
  18. package/dist/{iteration-QZxp7XeE.js → iteration-BjJgU8cS.js} +4688 -4732
  19. package/dist/{lodash-DrksHyHu.js → lodash-CSw3Ei7_.js} +1 -1
  20. package/dist/{rule-CSsgDC6F.js → rule-B6wBPpcM.js} +265 -263
  21. package/dist/src/api/account/index.d.ts +4 -0
  22. package/dist/src/api/audit-log/index.d.ts +0 -9
  23. package/dist/src/api/index.d.ts +1 -0
  24. package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
  25. package/dist/src/components/CollapsibleWrapper.vue.d.ts +0 -2
  26. package/dist/src/composables/useBasePermission.d.ts +0 -1
  27. package/dist/src/composables/useRestaurantMap.d.ts +329 -2
  28. package/dist/src/composables/useSupportedCountries.d.ts +5 -0
  29. package/dist/src/stores/role.d.ts +7 -7
  30. package/dist/src/stores/team.d.ts +6 -6
  31. package/dist/src/types/restaurant.d.ts +0 -11
  32. package/dist/src/types/team.d.ts +1 -1
  33. package/dist/src/views/hr/locales/index.d.ts +0 -16
  34. package/dist/src/views/team/components/BasePermission.vue.d.ts +7 -3
  35. package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
  36. package/dist/src/views/team/locales/index.d.ts +0 -32
  37. package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -5
  38. package/dist/style.css +1 -1
  39. package/dist/{timesheet-sBe_HCZh.js → timesheet-D1f9XDxj.js} +2 -2
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/useAppStore-D7jswOfq.js +171 -0
  42. package/dist/useDebounce-B8ZPVS5C.js +15 -0
  43. package/dist/useDiscardConfirm-BHni0LNu.js +28 -0
  44. package/dist/{useLoading-PTqnaz_W.js → useLoading-kFlAIf6Y.js} +1 -1
  45. package/dist/{useReportPermissions-C3Uzu7vB.js → useReportPermissions-ClWD1GSr.js} +3 -3
  46. package/dist/useSearch-B6WK1LBB.js +15 -0
  47. package/package.json +1 -1
  48. package/dist/AuditLogList-D4E8pss5.js +0 -1037
  49. package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +0 -58
  50. package/dist/EmployeeList-BfJO89pN.js +0 -827
  51. package/dist/FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js +0 -45
  52. package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
  53. package/dist/Main-XmxzThcC.js +0 -86
  54. package/dist/PermissionSetList-DO0PRS6Z.js +0 -347
  55. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DL4_xvBZ.js +0 -3443
  56. package/dist/RoleList-DB3NfUYF.js +0 -545
  57. package/dist/TeamMemberList-4hEx6L5r.js +0 -1090
  58. package/dist/employee-3KJs872J.js +0 -204
  59. package/dist/src/api/restaurant/index.d.ts +0 -5
  60. package/dist/src/components/Skeleton.vue.d.ts +0 -7
  61. package/dist/src/stores/restaurant.d.ts +0 -181
  62. package/dist/useAppStore-BDADkWuX.js +0 -171
  63. package/dist/useDebounce-CWb5QR9G.js +0 -28
  64. package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
@@ -1,14 +1,18 @@
1
1
  import { type PropType } from 'vue';
2
- import type { FdoPermissionRule } from '@feedmepos/core/entity';
3
2
  import type { IFdtoPortalPermissionsWithVisibilityCondition } from '@feedmepos/hrm-permission';
4
- declare var __VLS_21: `checkbox-${string}-append`, __VLS_22: {
3
+ import type { FdoPermissionRule } from '@feedmepos/core/entity';
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: {
@@ -46,8 +46,6 @@ export declare const i18nMessages: {
46
46
  filter: {
47
47
  permission_placeholder: string;
48
48
  selected_permission_prefix: string;
49
- assigned_role_placeholder: string;
50
- selected_assigned_role_prefix: string;
51
49
  };
52
50
  emptyState: {
53
51
  title: string;
@@ -69,7 +67,6 @@ export declare const i18nMessages: {
69
67
  emailAddress: string;
70
68
  };
71
69
  permissions: {
72
- title: string;
73
70
  manageable: string;
74
71
  search: string;
75
72
  general: string;
@@ -80,17 +77,12 @@ export declare const i18nMessages: {
80
77
  includedNewRole: string;
81
78
  roles: string;
82
79
  inherited: string;
83
- allowedCount: string;
84
- columnName: string;
85
- columnManage: string;
86
80
  };
87
81
  masterUser: {
88
82
  title: string;
89
83
  passcode: string;
90
84
  passcodeRequired: string;
91
85
  sublabel: string;
92
- assignmentSection: string;
93
- addAnother: string;
94
86
  code: string;
95
87
  name: string;
96
88
  role: string;
@@ -269,8 +261,6 @@ export declare const i18nMessages: {
269
261
  filter: {
270
262
  permission_placeholder: string;
271
263
  selected_permission_prefix: string;
272
- assigned_role_placeholder: string;
273
- selected_assigned_role_prefix: string;
274
264
  };
275
265
  emptyState: {
276
266
  title: string;
@@ -292,7 +282,6 @@ export declare const i18nMessages: {
292
282
  emailAddress: string;
293
283
  };
294
284
  permissions: {
295
- title: string;
296
285
  manageable: string;
297
286
  search: string;
298
287
  general: string;
@@ -303,17 +292,12 @@ export declare const i18nMessages: {
303
292
  includedNewRole: string;
304
293
  roles: string;
305
294
  inherited: string;
306
- allowedCount: string;
307
- columnName: string;
308
- columnManage: string;
309
295
  };
310
296
  masterUser: {
311
297
  title: string;
312
298
  passcode: string;
313
299
  passcodeRequired: string;
314
300
  sublabel: string;
315
- assignmentSection: string;
316
- addAnother: string;
317
301
  code: string;
318
302
  name: string;
319
303
  role: string;
@@ -492,8 +476,6 @@ export declare const i18nMessages: {
492
476
  filter: {
493
477
  permission_placeholder: string;
494
478
  selected_permission_prefix: string;
495
- assigned_role_placeholder: string;
496
- selected_assigned_role_prefix: string;
497
479
  };
498
480
  emptyState: {
499
481
  title: string;
@@ -515,7 +497,6 @@ export declare const i18nMessages: {
515
497
  emailAddress: string;
516
498
  };
517
499
  permissions: {
518
- title: string;
519
500
  manageable: string;
520
501
  search: string;
521
502
  general: string;
@@ -526,17 +507,12 @@ export declare const i18nMessages: {
526
507
  includedNewRole: string;
527
508
  roles: string;
528
509
  inherited: string;
529
- allowedCount: string;
530
- columnName: string;
531
- columnManage: string;
532
510
  };
533
511
  masterUser: {
534
512
  title: string;
535
513
  passcode: string;
536
514
  passcodeRequired: string;
537
515
  sublabel: string;
538
- assignmentSection: string;
539
- addAnother: string;
540
516
  code: string;
541
517
  name: string;
542
518
  role: string;
@@ -715,8 +691,6 @@ export declare const i18nMessages: {
715
691
  filter: {
716
692
  permission_placeholder: string;
717
693
  selected_permission_prefix: string;
718
- assigned_role_placeholder: string;
719
- selected_assigned_role_prefix: string;
720
694
  };
721
695
  emptyState: {
722
696
  title: string;
@@ -738,7 +712,6 @@ export declare const i18nMessages: {
738
712
  emailAddress: string;
739
713
  };
740
714
  permissions: {
741
- title: string;
742
715
  manageable: string;
743
716
  search: string;
744
717
  general: string;
@@ -749,17 +722,12 @@ export declare const i18nMessages: {
749
722
  includedNewRole: string;
750
723
  roles: string;
751
724
  inherited: string;
752
- allowedCount: string;
753
- columnName: string;
754
- columnManage: string;
755
725
  };
756
726
  masterUser: {
757
727
  title: string;
758
728
  passcode: string;
759
729
  passcodeRequired: string;
760
730
  sublabel: string;
761
- assignmentSection: string;
762
- addAnother: string;
763
731
  code: string;
764
732
  name: string;
765
733
  role: string;
@@ -11,7 +11,6 @@ export interface TeamDialogData {
11
11
  permissionSetIds: string[];
12
12
  posUser?: IFdtoPermissionPosUser;
13
13
  }
14
- declare function isModified(): boolean;
15
14
  declare function readFormData(): IFdtoCreatePortalUserReq;
16
15
  declare function validate(): Promise<IFdtoCreatePortalUserReq | null>;
17
16
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
@@ -22,14 +21,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
21
  type: StringConstructor;
23
22
  default: string;
24
23
  };
25
- loading: {
24
+ isLoadingMasterUser: {
26
25
  type: BooleanConstructor;
27
26
  default: boolean;
28
27
  };
29
28
  }>, {
30
29
  readFormData: typeof readFormData;
31
30
  validate: typeof validate;
32
- isModified: typeof isModified;
33
31
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
32
  initialValue: {
35
33
  type: PropType<TeamDialogData>;
@@ -38,12 +36,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
36
  type: StringConstructor;
39
37
  default: string;
40
38
  };
41
- loading: {
39
+ isLoadingMasterUser: {
42
40
  type: BooleanConstructor;
43
41
  default: boolean;
44
42
  };
45
43
  }>> & Readonly<{}>, {
46
- loading: boolean;
47
44
  roleErrorMessage: string;
45
+ isLoadingMasterUser: boolean;
48
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
49
47
  export default _default;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .employee-list-table[data-v-e931839a] [class~=gap-24]>div:first-child{display:none}.user-info-icon[data-v-c2c7ed35]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-c2c7ed35]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-c2c7ed35]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-c2c7ed35]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-c2c7ed35]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-c2c7ed35]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-c2c7ed35]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-c2c7ed35],.profile-menu--profile .profile-phone[data-v-c2c7ed35]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-log-list-table[data-v-5566060e] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label[data-v-5566060e]{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label[data-v-5566060e]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-5566060e]{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail[data-v-5566060e]::-webkit-scrollbar{display:none}
1
+ .employee-list-table[data-v-48cb3903] [class~=gap-24]>div:first-child{display:none}.user-info-icon[data-v-a439fdd8]{flex-shrink:0;cursor:pointer;font-size:.75rem;font-weight:600;line-height:1rem;letter-spacing:.02em;text-decoration-line:none;color:var(--fm-color-neutral-white);display:flex;align-items:center;justify-content:center;background:linear-gradient(201deg,#fc9b40 10.3%,#ff6052 98.36%)}.user-info-icon--md[data-v-a439fdd8]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-a439fdd8]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-a439fdd8]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-a439fdd8]>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(8px * var(--tw-space-x-reverse));margin-left:calc(8px * calc(1 - var(--tw-space-x-reverse)))}.profile-menu--profile[data-v-a439fdd8]{padding:16px 16px 12px;border-radius:8px;display:flex;align-items:center;border-width:1px;border-color:var(--fm-color-neutral-gray-200)}.profile-menu--profile .profile-displayName[data-v-a439fdd8]{font-size:1rem;font-weight:400;line-height:1.25rem;letter-spacing:.005em;text-decoration-line:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu--profile .profile-email[data-v-a439fdd8],.profile-menu--profile .profile-phone[data-v-a439fdd8]{font-size:.875rem;font-weight:400;line-height:1.125rem;letter-spacing:.0125em;text-decoration-line:none;color:var(--fm-color-neutral-gray-300);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-member-list-table[data-v-473cbd86] [class~=gap-24]>div:first-child{display:none}.audit-log-action-label{display:block;width:100%;max-width:100%;max-height:6.25rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.25rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-action-label::-webkit-scrollbar{display:none}.audit-log-operation-label-detail{max-height:6.875rem;overflow-y:auto;white-space:pre-line;word-break:break-word;line-height:1.375rem;scrollbar-width:none;-ms-overflow-style:none}.audit-log-operation-label-detail::-webkit-scrollbar{display:none}
@@ -1,7 +1,7 @@
1
- import { d as i } from "./dayjs.min-DKCxxK08.js";
1
+ import { d as i } from "./dayjs.min-uVMAR_wK.js";
2
2
  import { defineStore as p, storeToRefs as T } from "pinia";
3
3
  import { ref as l } from "vue";
4
- import { b as c, g as y, s as S } from "./iteration-QZxp7XeE.js";
4
+ import { b as c, g as y, s as S } from "./iteration-BjJgU8cS.js";
5
5
  import { i as f, f as g } from "./utils-BZkjJbju.js";
6
6
  const u = {
7
7
  async readTimesheets(t, e) {