@feedmepos/mf-hrm-portal 2.0.18-dev.2 → 2.0.18
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.
- package/dist/AuditLogList-CfvB_c7-.js +980 -0
- package/dist/EmployeeList-Whx8sBTA.js +736 -0
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +71 -0
- package/dist/HorizontalSplitter-o860F4xM.js +12 -0
- package/dist/Main-C_Tm3462.js +85 -0
- package/dist/{Main-dqgR1UXY.js → Main-CoGNATjU.js} +175 -181
- package/dist/{Main-BbOMNP31.js → Main-D2LWkcaI.js} +761 -758
- package/dist/PermissionSetList-RYl82f1k.js +341 -0
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BiImcVpI.js +3480 -0
- package/dist/RoleList-D0KdTM9G.js +530 -0
- package/dist/TeamMemberList-DDBFCFlj.js +1108 -0
- package/dist/{TimesheetList-D29EFj1Q.js → TimesheetList-BzYGHK7n.js} +126 -132
- package/dist/{app-SadE2J6-.js → app-BMnTcaqa.js} +1210 -1186
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DKCxxK08.js → dayjs.min-CTzjqhN9.js} +1 -1
- package/dist/employee-DeAtPDRi.js +204 -0
- package/dist/{iteration-QZxp7XeE.js → iteration-L53uoXdY.js} +5762 -5807
- package/dist/{lodash-DrksHyHu.js → lodash-t9DlqugD.js} +1 -1
- package/dist/{rule-CSsgDC6F.js → rule-BCN5fKAA.js} +265 -263
- package/dist/src/api/audit-log/index.d.ts +0 -9
- package/dist/src/components/CheckboxInput.vue.d.ts +1 -1
- package/dist/src/components/CollapsibleWrapper.vue.d.ts +0 -2
- package/dist/src/composables/useBasePermission.d.ts +0 -1
- package/dist/src/composables/useRestaurantMap.d.ts +329 -2
- package/dist/src/stores/role.d.ts +7 -7
- package/dist/src/stores/team.d.ts +6 -6
- package/dist/src/types/restaurant.d.ts +0 -11
- package/dist/src/types/team.d.ts +1 -1
- package/dist/src/views/hr/locales/index.d.ts +0 -16
- package/dist/src/views/team/components/BasePermission.vue.d.ts +7 -3
- package/dist/src/views/team/components/PosRolePermission.vue.d.ts +2 -2
- package/dist/src/views/team/locales/index.d.ts +28 -32
- package/dist/src/views/team/member/AddMemberForm.vue.d.ts +3 -5
- package/dist/style.css +1 -1
- package/dist/{timesheet-sBe_HCZh.js → timesheet-D41pctAm.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/useAppStore-fl7zMdUR.js +171 -0
- package/dist/useDebounce-B8ZPVS5C.js +15 -0
- package/dist/useDiscardConfirm-BHni0LNu.js +28 -0
- package/dist/{useLoading-PTqnaz_W.js → useLoading-BbpH9pow.js} +1 -1
- package/dist/{useReportPermissions-C3Uzu7vB.js → useReportPermissions-qEea7Dnt.js} +3 -3
- package/dist/useSearch-B6WK1LBB.js +15 -0
- package/package.json +2 -2
- package/dist/AuditLogList-D4E8pss5.js +0 -1037
- package/dist/CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js +0 -58
- package/dist/EmployeeList-BfJO89pN.js +0 -827
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js +0 -45
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-DknXTYiK.js +0 -49
- package/dist/Main-XmxzThcC.js +0 -86
- package/dist/PermissionSetList-DO0PRS6Z.js +0 -347
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DL4_xvBZ.js +0 -3443
- package/dist/RoleList-DB3NfUYF.js +0 -545
- package/dist/TeamMemberList-4hEx6L5r.js +0 -1090
- package/dist/employee-3KJs872J.js +0 -204
- package/dist/src/api/restaurant/index.d.ts +0 -5
- package/dist/src/components/Skeleton.vue.d.ts +0 -7
- package/dist/src/stores/restaurant.d.ts +0 -181
- package/dist/useAppStore-BDADkWuX.js +0 -171
- package/dist/useDebounce-CWb5QR9G.js +0 -28
- package/dist/useDiscardConfirm-DPhEV6v0.js +0 -157
|
@@ -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
|
|
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
|
|
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;
|
|
@@ -150,6 +142,7 @@ export declare const i18nMessages: {
|
|
|
150
142
|
Report: string;
|
|
151
143
|
"Default Report": string;
|
|
152
144
|
"Custom Report": string;
|
|
145
|
+
"Mini Program": string;
|
|
153
146
|
};
|
|
154
147
|
actionLabels: {
|
|
155
148
|
read: string;
|
|
@@ -159,6 +152,12 @@ export declare const i18nMessages: {
|
|
|
159
152
|
};
|
|
160
153
|
permissionLabels: {
|
|
161
154
|
"business::restaurant": string;
|
|
155
|
+
"business::miniProgram::profile": string;
|
|
156
|
+
"business::miniProgram::brandkit": string;
|
|
157
|
+
"business::miniProgram::template": string;
|
|
158
|
+
"business::miniProgram::publish": string;
|
|
159
|
+
"business::miniProgram::assets": string;
|
|
160
|
+
"business::miniProgram::nativeCredentials": string;
|
|
162
161
|
"business::menu": string;
|
|
163
162
|
"business::inventory::stockBalance": string;
|
|
164
163
|
"business::inventory::stockAdjustment": string;
|
|
@@ -269,8 +268,6 @@ export declare const i18nMessages: {
|
|
|
269
268
|
filter: {
|
|
270
269
|
permission_placeholder: string;
|
|
271
270
|
selected_permission_prefix: string;
|
|
272
|
-
assigned_role_placeholder: string;
|
|
273
|
-
selected_assigned_role_prefix: string;
|
|
274
271
|
};
|
|
275
272
|
emptyState: {
|
|
276
273
|
title: string;
|
|
@@ -292,7 +289,6 @@ export declare const i18nMessages: {
|
|
|
292
289
|
emailAddress: string;
|
|
293
290
|
};
|
|
294
291
|
permissions: {
|
|
295
|
-
title: string;
|
|
296
292
|
manageable: string;
|
|
297
293
|
search: string;
|
|
298
294
|
general: string;
|
|
@@ -303,17 +299,12 @@ export declare const i18nMessages: {
|
|
|
303
299
|
includedNewRole: string;
|
|
304
300
|
roles: string;
|
|
305
301
|
inherited: string;
|
|
306
|
-
allowedCount: string;
|
|
307
|
-
columnName: string;
|
|
308
|
-
columnManage: string;
|
|
309
302
|
};
|
|
310
303
|
masterUser: {
|
|
311
304
|
title: string;
|
|
312
305
|
passcode: string;
|
|
313
306
|
passcodeRequired: string;
|
|
314
307
|
sublabel: string;
|
|
315
|
-
assignmentSection: string;
|
|
316
|
-
addAnother: string;
|
|
317
308
|
code: string;
|
|
318
309
|
name: string;
|
|
319
310
|
role: string;
|
|
@@ -373,6 +364,7 @@ export declare const i18nMessages: {
|
|
|
373
364
|
Report: string;
|
|
374
365
|
"Default Report": string;
|
|
375
366
|
"Custom Report": string;
|
|
367
|
+
"Mini Program": string;
|
|
376
368
|
};
|
|
377
369
|
actionLabels: {
|
|
378
370
|
read: string;
|
|
@@ -382,6 +374,12 @@ export declare const i18nMessages: {
|
|
|
382
374
|
};
|
|
383
375
|
permissionLabels: {
|
|
384
376
|
"business::restaurant": string;
|
|
377
|
+
"business::miniProgram::profile": string;
|
|
378
|
+
"business::miniProgram::brandkit": string;
|
|
379
|
+
"business::miniProgram::template": string;
|
|
380
|
+
"business::miniProgram::publish": string;
|
|
381
|
+
"business::miniProgram::assets": string;
|
|
382
|
+
"business::miniProgram::nativeCredentials": string;
|
|
385
383
|
"business::menu": string;
|
|
386
384
|
"business::inventory::stockBalance": string;
|
|
387
385
|
"business::inventory::stockAdjustment": string;
|
|
@@ -492,8 +490,6 @@ export declare const i18nMessages: {
|
|
|
492
490
|
filter: {
|
|
493
491
|
permission_placeholder: string;
|
|
494
492
|
selected_permission_prefix: string;
|
|
495
|
-
assigned_role_placeholder: string;
|
|
496
|
-
selected_assigned_role_prefix: string;
|
|
497
493
|
};
|
|
498
494
|
emptyState: {
|
|
499
495
|
title: string;
|
|
@@ -515,7 +511,6 @@ export declare const i18nMessages: {
|
|
|
515
511
|
emailAddress: string;
|
|
516
512
|
};
|
|
517
513
|
permissions: {
|
|
518
|
-
title: string;
|
|
519
514
|
manageable: string;
|
|
520
515
|
search: string;
|
|
521
516
|
general: string;
|
|
@@ -526,17 +521,12 @@ export declare const i18nMessages: {
|
|
|
526
521
|
includedNewRole: string;
|
|
527
522
|
roles: string;
|
|
528
523
|
inherited: string;
|
|
529
|
-
allowedCount: string;
|
|
530
|
-
columnName: string;
|
|
531
|
-
columnManage: string;
|
|
532
524
|
};
|
|
533
525
|
masterUser: {
|
|
534
526
|
title: string;
|
|
535
527
|
passcode: string;
|
|
536
528
|
passcodeRequired: string;
|
|
537
529
|
sublabel: string;
|
|
538
|
-
assignmentSection: string;
|
|
539
|
-
addAnother: string;
|
|
540
530
|
code: string;
|
|
541
531
|
name: string;
|
|
542
532
|
role: string;
|
|
@@ -596,6 +586,7 @@ export declare const i18nMessages: {
|
|
|
596
586
|
Report: string;
|
|
597
587
|
"Default Report": string;
|
|
598
588
|
"Custom Report": string;
|
|
589
|
+
"Mini Program": string;
|
|
599
590
|
};
|
|
600
591
|
actionLabels: {
|
|
601
592
|
read: string;
|
|
@@ -605,6 +596,12 @@ export declare const i18nMessages: {
|
|
|
605
596
|
};
|
|
606
597
|
permissionLabels: {
|
|
607
598
|
"business::restaurant": string;
|
|
599
|
+
"business::miniProgram::profile": string;
|
|
600
|
+
"business::miniProgram::brandkit": string;
|
|
601
|
+
"business::miniProgram::template": string;
|
|
602
|
+
"business::miniProgram::publish": string;
|
|
603
|
+
"business::miniProgram::assets": string;
|
|
604
|
+
"business::miniProgram::nativeCredentials": string;
|
|
608
605
|
"business::menu": string;
|
|
609
606
|
"business::inventory::stockBalance": string;
|
|
610
607
|
"business::inventory::stockAdjustment": string;
|
|
@@ -715,8 +712,6 @@ export declare const i18nMessages: {
|
|
|
715
712
|
filter: {
|
|
716
713
|
permission_placeholder: string;
|
|
717
714
|
selected_permission_prefix: string;
|
|
718
|
-
assigned_role_placeholder: string;
|
|
719
|
-
selected_assigned_role_prefix: string;
|
|
720
715
|
};
|
|
721
716
|
emptyState: {
|
|
722
717
|
title: string;
|
|
@@ -738,7 +733,6 @@ export declare const i18nMessages: {
|
|
|
738
733
|
emailAddress: string;
|
|
739
734
|
};
|
|
740
735
|
permissions: {
|
|
741
|
-
title: string;
|
|
742
736
|
manageable: string;
|
|
743
737
|
search: string;
|
|
744
738
|
general: string;
|
|
@@ -749,17 +743,12 @@ export declare const i18nMessages: {
|
|
|
749
743
|
includedNewRole: string;
|
|
750
744
|
roles: string;
|
|
751
745
|
inherited: string;
|
|
752
|
-
allowedCount: string;
|
|
753
|
-
columnName: string;
|
|
754
|
-
columnManage: string;
|
|
755
746
|
};
|
|
756
747
|
masterUser: {
|
|
757
748
|
title: string;
|
|
758
749
|
passcode: string;
|
|
759
750
|
passcodeRequired: string;
|
|
760
751
|
sublabel: string;
|
|
761
|
-
assignmentSection: string;
|
|
762
|
-
addAnother: string;
|
|
763
752
|
code: string;
|
|
764
753
|
name: string;
|
|
765
754
|
role: string;
|
|
@@ -826,6 +815,7 @@ export declare const i18nMessages: {
|
|
|
826
815
|
Report: string;
|
|
827
816
|
"Default Report": string;
|
|
828
817
|
"Custom Report": string;
|
|
818
|
+
"Mini Program": string;
|
|
829
819
|
};
|
|
830
820
|
actionLabels: {
|
|
831
821
|
read: string;
|
|
@@ -835,6 +825,12 @@ export declare const i18nMessages: {
|
|
|
835
825
|
};
|
|
836
826
|
permissionLabels: {
|
|
837
827
|
"business::restaurant": string;
|
|
828
|
+
"business::miniProgram::profile": string;
|
|
829
|
+
"business::miniProgram::brandkit": string;
|
|
830
|
+
"business::miniProgram::template": string;
|
|
831
|
+
"business::miniProgram::publish": string;
|
|
832
|
+
"business::miniProgram::assets": string;
|
|
833
|
+
"business::miniProgram::nativeCredentials": string;
|
|
838
834
|
"business::menu": string;
|
|
839
835
|
"business::inventory::stockBalance": string;
|
|
840
836
|
"business::inventory::stockAdjustment": 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
|
-
|
|
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
|
-
|
|
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-
|
|
1
|
+
.employee-list-table[data-v-48cb3903] [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}.team-member-list-table[data-v-d77998ca] [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-
|
|
1
|
+
import { d as i } from "./dayjs.min-CTzjqhN9.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-
|
|
4
|
+
import { b as c, g as y, s as S } from "./iteration-L53uoXdY.js";
|
|
5
5
|
import { i as f, f as g } from "./utils-BZkjJbju.js";
|
|
6
6
|
const u = {
|
|
7
7
|
async readTimesheets(t, e) {
|