@feedmepos/mf-hrm-portal 2.2.2-dev.4 → 2.2.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 (35) hide show
  1. package/dist/{ApprovalCodeList-Dn8R6jgC.js → ApprovalCodeList-BnG3T_Lk.js} +5 -5
  2. package/dist/{AuditLogList-BdWELtlp.js → AuditLogList-CpK9-YkB.js} +759 -705
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DbUdX_Qk.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-CzKzq19d.js} +2 -2
  4. package/dist/{EmployeeList-Br4a6imR.js → EmployeeList-CUsRanu7.js} +6 -6
  5. package/dist/{GrantUserList-YpLuH3il.js → GrantUserList-BJoj3ZcO.js} +6 -6
  6. package/dist/{Main-eBobrTdz.js → Main-5QLhf80L.js} +8 -8
  7. package/dist/{Main-DPoPfzcK.js → Main-BEUu3Hba.js} +5 -5
  8. package/dist/{Main-DWv0oSH4.js → Main-FPpK9B70.js} +11 -11
  9. package/dist/{PermissionSetList-ttA1JLVy.js → PermissionSetList-DZGZ0Pm_.js} +7 -7
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DQa3GK8B.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BHEW1_dv.js} +945 -945
  11. package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-XHuHin8t.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-Z-DH7ouY.js} +1 -1
  12. package/dist/{RoleList-B790AV-j.js → RoleList-D5yToard.js} +43 -43
  13. package/dist/{TeamMemberList-B-vgWJw4.js → TeamMemberList-C4-AHxO4.js} +9 -9
  14. package/dist/{TimesheetList-C05Wl5Gw.js → TimesheetList-DMo8KXoU.js} +7 -7
  15. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-CDxi-Gdu.js → TimesheetList.vue_vue_type_style_index_0_scoped_2c7a177a_lang-2KHu-f8U.js} +3 -3
  16. package/dist/{app-DzZ_hyHn.js → app-DlSD8S9A.js} +2625 -2217
  17. package/dist/app.js +1 -1
  18. package/dist/{approval-code-jIjkeVEb.js → approval-code-BRClD2HN.js} +1 -1
  19. package/dist/{dayjs.min-B-hCRyX9.js → dayjs.min-DcI2auGP.js} +1 -1
  20. package/dist/{employee-C2s088Kk.js → employee-C_cvCoHM.js} +4 -4
  21. package/dist/{grant-user-SNiDV22U.js → grant-user-Dhi3ilC_.js} +1 -1
  22. package/dist/{iteration-C2OwvCva.js → iteration-DSzPQ0fZ.js} +1 -1
  23. package/dist/{lodash-BQEjwNx9.js → lodash-Ce0IJ8Y3.js} +1 -1
  24. package/dist/{restaurant-BTpBmfBV.js → restaurant-DiYb0pCm.js} +2 -2
  25. package/dist/{role-Z9s80hOy.js → role-DkTkfUgR.js} +2 -2
  26. package/dist/rule-B-REsmVM.js +771 -0
  27. package/dist/src/views/audit-log/export-lines.d.ts +8 -0
  28. package/dist/src/views/audit-log/locales/index.d.ts +68 -12
  29. package/dist/style.css +1 -1
  30. package/dist/tsconfig.app.tsbuildinfo +1 -1
  31. package/dist/{useAppStore-DCwd8GWN.js → useAppStore-BGhlB1_1.js} +1 -1
  32. package/dist/{useLoading-CXzTpIVv.js → useLoading-CvgqVDbF.js} +1 -1
  33. package/dist/{useReportPermissions-VnFzkyAH.js → useReportPermissions-VCzAQXKz.js} +5 -5
  34. package/package.json +2 -2
  35. package/dist/rule-DpoKkvLa.js +0 -1121
@@ -0,0 +1,8 @@
1
+ import type { AuditLogOperation, ChangeNode } from '@feedmepos/hrm-permission';
2
+ type Translate = (key: string, params?: Record<string, unknown>) => string;
3
+ type TranslationExists = (key: string) => boolean;
4
+ /** Resolve label with i18n fallback: use labelKey if available and translatable, else label. */
5
+ export declare function resolveChangeNodeLabel(t: Translate, te: TranslationExists, node: Pick<ChangeNode, 'label' | 'labelKey'>): string;
6
+ export declare function formatOperationEventLines(t: Translate, operations: AuditLogOperation[] | undefined): string;
7
+ export declare function formatChangeLines(t: Translate, te: TranslationExists, operations: AuditLogOperation[] | undefined): string;
8
+ export {};
@@ -95,12 +95,15 @@ export declare const i18nMessages: {
95
95
  action: string;
96
96
  operation: string;
97
97
  outcome: string;
98
+ operationEvents: string;
99
+ changes: string;
98
100
  businessId: string;
99
101
  restaurantId: string;
100
102
  country: string;
101
103
  resolvedFrom: string;
102
104
  requestMethod: string;
103
105
  requestPath: string;
106
+ traceId: string;
104
107
  };
105
108
  detail: {
106
109
  header: string;
@@ -160,9 +163,6 @@ export declare const i18nMessages: {
160
163
  };
161
164
  event: {
162
165
  sentence: {
163
- "audit-log": {
164
- view: string;
165
- };
166
166
  restaurant: {
167
167
  list: string;
168
168
  };
@@ -170,11 +170,25 @@ export declare const i18nMessages: {
170
170
  manage: string;
171
171
  list: string;
172
172
  view: string;
173
+ create: string;
174
+ update: string;
175
+ delete: string;
173
176
  };
174
177
  "permission-set": {
175
178
  manage: string;
176
179
  list: string;
177
180
  view: string;
181
+ create: string;
182
+ update: string;
183
+ delete: string;
184
+ };
185
+ "grant-user": {
186
+ create: string;
187
+ revoke: string;
188
+ };
189
+ "approval-code": {
190
+ create: string;
191
+ revoke: string;
178
192
  };
179
193
  "portal-user": {
180
194
  list: string;
@@ -305,12 +319,15 @@ export declare const i18nMessages: {
305
319
  action: string;
306
320
  operation: string;
307
321
  outcome: string;
322
+ operationEvents: string;
323
+ changes: string;
308
324
  businessId: string;
309
325
  restaurantId: string;
310
326
  country: string;
311
327
  resolvedFrom: string;
312
328
  requestMethod: string;
313
329
  requestPath: string;
330
+ traceId: string;
314
331
  };
315
332
  detail: {
316
333
  header: string;
@@ -371,9 +388,6 @@ export declare const i18nMessages: {
371
388
  };
372
389
  event: {
373
390
  sentence: {
374
- "audit-log": {
375
- view: string;
376
- };
377
391
  restaurant: {
378
392
  list: string;
379
393
  };
@@ -381,11 +395,25 @@ export declare const i18nMessages: {
381
395
  manage: string;
382
396
  list: string;
383
397
  view: string;
398
+ create: string;
399
+ update: string;
400
+ delete: string;
384
401
  };
385
402
  "permission-set": {
386
403
  manage: string;
387
404
  list: string;
388
405
  view: string;
406
+ create: string;
407
+ update: string;
408
+ delete: string;
409
+ };
410
+ "grant-user": {
411
+ create: string;
412
+ revoke: string;
413
+ };
414
+ "approval-code": {
415
+ create: string;
416
+ revoke: string;
389
417
  };
390
418
  "portal-user": {
391
419
  list: string;
@@ -516,12 +544,15 @@ export declare const i18nMessages: {
516
544
  action: string;
517
545
  operation: string;
518
546
  outcome: string;
547
+ operationEvents: string;
548
+ changes: string;
519
549
  businessId: string;
520
550
  restaurantId: string;
521
551
  country: string;
522
552
  resolvedFrom: string;
523
553
  requestMethod: string;
524
554
  requestPath: string;
555
+ traceId: string;
525
556
  };
526
557
  detail: {
527
558
  header: string;
@@ -582,9 +613,6 @@ export declare const i18nMessages: {
582
613
  };
583
614
  event: {
584
615
  sentence: {
585
- "audit-log": {
586
- view: string;
587
- };
588
616
  restaurant: {
589
617
  list: string;
590
618
  };
@@ -592,11 +620,25 @@ export declare const i18nMessages: {
592
620
  manage: string;
593
621
  list: string;
594
622
  view: string;
623
+ create: string;
624
+ update: string;
625
+ delete: string;
595
626
  };
596
627
  "permission-set": {
597
628
  manage: string;
598
629
  list: string;
599
630
  view: string;
631
+ create: string;
632
+ update: string;
633
+ delete: string;
634
+ };
635
+ "grant-user": {
636
+ create: string;
637
+ revoke: string;
638
+ };
639
+ "approval-code": {
640
+ create: string;
641
+ revoke: string;
600
642
  };
601
643
  "portal-user": {
602
644
  list: string;
@@ -727,12 +769,15 @@ export declare const i18nMessages: {
727
769
  action: string;
728
770
  operation: string;
729
771
  outcome: string;
772
+ operationEvents: string;
773
+ changes: string;
730
774
  businessId: string;
731
775
  restaurantId: string;
732
776
  country: string;
733
777
  resolvedFrom: string;
734
778
  requestMethod: string;
735
779
  requestPath: string;
780
+ traceId: string;
736
781
  };
737
782
  detail: {
738
783
  header: string;
@@ -793,9 +838,6 @@ export declare const i18nMessages: {
793
838
  };
794
839
  event: {
795
840
  sentence: {
796
- "audit-log": {
797
- view: string;
798
- };
799
841
  restaurant: {
800
842
  list: string;
801
843
  };
@@ -803,11 +845,25 @@ export declare const i18nMessages: {
803
845
  manage: string;
804
846
  list: string;
805
847
  view: string;
848
+ create: string;
849
+ update: string;
850
+ delete: string;
806
851
  };
807
852
  "permission-set": {
808
853
  manage: string;
809
854
  list: string;
810
855
  view: string;
856
+ create: string;
857
+ update: string;
858
+ delete: string;
859
+ };
860
+ "grant-user": {
861
+ create: string;
862
+ revoke: string;
863
+ };
864
+ "approval-code": {
865
+ create: string;
866
+ revoke: string;
811
867
  };
812
868
  "portal-user": {
813
869
  list: string;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .employee-list-table[data-v-9cf34375] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-2c7a177a] .basis-72{display:none}.user-info-icon[data-v-827dfd60]{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-827dfd60]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-827dfd60]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-827dfd60]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-827dfd60]>: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-827dfd60]{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-827dfd60]{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-827dfd60],.profile-menu--profile .profile-phone[data-v-827dfd60]{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-9d69ce94] [class~=gap-24]>div:first-child{display:none}.audit-log-list-table[data-v-9d69ce94] tr:has(.audit-op-marker){background-color:var(--fm-color-neutral-gray-100);border-top:1px solid var(--fm-color-neutral-gray-200)}.audit-log-list-table[data-v-9d69ce94] tr:has(.audit-op-marker):hover{background-color:#e8e8ed}.audit-log-action-label[data-v-9d69ce94]{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-9d69ce94]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-9d69ce94]{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-9d69ce94]::-webkit-scrollbar{display:none}
1
+ .employee-list-table[data-v-9cf34375] [class~=gap-24]>div:first-child{display:none}.timesheet-user-view[data-v-2c7a177a] .basis-72{display:none}.user-info-icon[data-v-827dfd60]{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-827dfd60]{height:2.25rem;width:2.25rem;border-radius:8px}.user-info-icon--lg[data-v-827dfd60]{height:48px;width:48px;border-radius:16px}.profile-menu[data-v-827dfd60]{width:280px;padding-top:12px;padding-bottom:12px}.profile-menu--profile[data-v-827dfd60]>: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-827dfd60]{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-827dfd60]{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-827dfd60],.profile-menu--profile .profile-phone[data-v-827dfd60]{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-8abe880c] [class~=gap-24]>div:first-child{display:none}.audit-log-list-table[data-v-8abe880c] tr:has(.audit-op-marker){background-color:var(--fm-color-neutral-gray-100);border-top:1px solid var(--fm-color-neutral-gray-200)}.audit-log-list-table[data-v-8abe880c] tr:has(.audit-op-marker):hover{background-color:#e8e8ed}.audit-log-action-label[data-v-8abe880c]{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-8abe880c]::-webkit-scrollbar{display:none}.audit-log-operation-label-detail[data-v-8abe880c]{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-8abe880c]::-webkit-scrollbar{display:none}