@feedmepos/mf-hrm-portal 1.1.0-dev → 1.1.1-dev
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-D62QRWN-.js +232 -0
- package/dist/{EmployeeList-tmUqs5a6.js → EmployeeList-CMUbRS7j.js} +156 -150
- package/dist/Main-BbZ-t-pu.js +85 -0
- package/dist/{main-DOtgCRZe.js → Main-un3v_g6p.js} +1500 -1532
- package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-DuwNwJDM.js → PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js} +2 -2
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CZKBfM_R.js +3119 -0
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js +38 -0
- package/dist/{RoleList-C5xG7LHg.js → RoleList-mlTepnhN.js} +52 -50
- package/dist/RolePermissionList-tR-Kmlu7.js +285 -0
- package/dist/TeamMemberList-BkRQl6x8.js +948 -0
- package/dist/{TimesheetList-CZfo4Dua.js → TimesheetList-i5yaAzhB.js} +21 -21
- package/dist/api/audit-log/index.d.ts +10 -0
- package/dist/api/index.d.ts +1 -3
- package/dist/api/permission-assignment/index.d.ts +10 -0
- package/dist/api/permission-set/index.d.ts +8 -0
- package/dist/api/team/index.d.ts +2 -1
- package/dist/app-4LaGLcWC.js +2305 -0
- package/dist/app.js +1 -1
- package/dist/components/AppForm.vue.d.ts +3 -2
- package/dist/components/CheckboxInput.vue.d.ts +10 -4
- package/dist/components/CollapsibleWrapper.vue.d.ts +3 -2
- package/dist/components/form/SelectFilter.vue.d.ts +3 -2
- package/dist/components/layout/FormColumn.vue.d.ts +6 -3
- package/dist/components/layout/FormItem.vue.d.ts +2 -1
- package/dist/components/layout/FormSection.vue.d.ts +2 -1
- package/dist/components/layout/FullWrapper.vue.d.ts +6 -3
- package/dist/components/layout/PageLayout.vue.d.ts +2 -1
- package/dist/components/menu/BottomSheetMenu.vue.d.ts +2 -1
- package/dist/components/menu/BottomSheetMenuItem.vue.d.ts +6 -3
- package/dist/components/table/EmptyDataTemplate/index.vue.d.ts +6 -3
- package/dist/composables/useAppStore.d.ts +6 -6
- package/dist/composables/useDateRange.d.ts +1 -1
- package/dist/composables/useRestaurantMap.d.ts +4 -8
- package/dist/composables/useSheet.d.ts +1 -1
- package/dist/{employee-BQc7Wgpu.js → employee-BZTntAR0.js} +9 -9
- package/dist/helpers/permission-set.d.ts +32 -0
- package/dist/helpers/portal-user.d.ts +8 -0
- package/dist/helpers/rule.d.ts +4 -3
- package/dist/index-BsEM84j5.js +8440 -0
- package/dist/{empty-placeholder-ey8LJtN1.js → index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js} +43 -2
- package/dist/{lodash-DNzKT_gG.js → lodash-DYaYvsmp.js} +326 -343
- package/dist/router/shared.d.ts +3 -1
- package/dist/stores/employee.d.ts +4 -4
- package/dist/stores/permission-assignment.d.ts +277 -0
- package/dist/stores/permission-set.d.ts +250 -0
- package/dist/stores/role.d.ts +4 -4
- package/dist/stores/team.d.ts +288 -0
- package/dist/stores/timesheet.d.ts +19 -19
- package/dist/team-eo_yQh1g.js +26 -0
- package/dist/{timesheet-B4M1nCIm.js → timesheet-CfPIK52Q.js} +14 -15
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/audit-log.d.ts +18 -0
- package/dist/types/permission-assignment.d.ts +20 -0
- package/dist/types/permission-set.d.ts +20 -0
- package/dist/types/permission.d.ts +4 -3
- package/dist/types/team.d.ts +13 -3
- package/dist/useAppStore-D0F-tWJO.js +180 -0
- package/dist/useLoading-DpbOtToC.js +99 -0
- package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
- package/dist/{useSearch-C25VELOk.js → useSearch-C6gRA62e.js} +8 -8
- package/dist/views/hr/employee/{components/EmployeeForm.vue.d.ts → EmployeeForm.vue.d.ts} +10 -7
- package/dist/views/hr/locales/index.d.ts +0 -214
- package/dist/views/team/components/BasePermission.vue.d.ts +76 -0
- package/dist/views/team/components/{TeamMemberConditionPermission.vue.d.ts → ConditionPermission.vue.d.ts} +14 -1
- package/dist/views/team/components/InheritPermissionTooltip.vue.d.ts +14 -0
- package/dist/views/team/components/PermissionWithTooltip.vue.d.ts +14 -0
- package/dist/views/team/components/PortalPermissionEditor.vue.d.ts +68 -28
- package/dist/views/team/components/{TeamMemberRolePermission.vue.d.ts → PosRolePermission.vue.d.ts} +14 -1
- package/dist/views/team/locales/index.d.ts +176 -4
- package/dist/views/team/{components → member}/AddMemberForm.vue.d.ts +1 -0
- package/dist/views/team/member/TeamMemberList.vue.d.ts +4 -0
- package/dist/views/team/member/TeamMemberMasterUser.vue.d.ts +55 -0
- package/dist/views/team/role/RolePermissionForm.vue.d.ts +19 -0
- package/dist/views/{hr/grant-user/GrantUserList.vue.d.ts → team/role/RolePermissionList.vue.d.ts} +0 -12
- package/package.json +14 -9
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BY9VGOoM.js +0 -71
- package/dist/HorizontalSplitter-B9DVYJIM.js +0 -12
- package/dist/Main-ebQsujY3.js +0 -600
- package/dist/TeamMemberList-09_3YTHe.js +0 -1509
- package/dist/api/grant-user/index.d.ts +0 -8
- package/dist/app-B4KDGOw1.js +0 -1432
- package/dist/index-CSG8t9Dl.js +0 -58
- package/dist/role-DGAu9X1X.js +0 -9728
- package/dist/rule-CSj0p2P3.js +0 -450
- package/dist/stores/grant-user.d.ts +0 -86
- package/dist/types/grant-user.d.ts +0 -17
- package/dist/useAppStore-CKmMR-gI.js +0 -93
- package/dist/useLoading-v4m-6mEy.js +0 -141
- package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
- package/dist/views/hr/grant-user/components/GrantUserForm.vue.d.ts +0 -14
- package/dist/views/team/components/TeamMemberBasePermission.vue.d.ts +0 -36
- package/dist/views/team/components/TeamMemberMasterUser.vue.d.ts +0 -718
- /package/dist/views/hr/{grant-user/Main.vue.d.ts → Main.vue.d.ts} +0 -0
- /package/dist/views/hr/{main.vue.d.ts → audit-log/AuditLogList.vue.d.ts} +0 -0
- /package/dist/views/team/{TeamMemberList.vue.d.ts → Main.vue.d.ts} +0 -0
- /package/dist/views/team/{components → member}/MemberInfo.vue.d.ts +0 -0
|
@@ -155,61 +155,6 @@ export declare const i18nMessages: {
|
|
|
155
155
|
placeholder: string;
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
grantUser: {
|
|
159
|
-
title: string;
|
|
160
|
-
actions: {
|
|
161
|
-
create: string;
|
|
162
|
-
revoke: string;
|
|
163
|
-
};
|
|
164
|
-
form: {
|
|
165
|
-
title: string;
|
|
166
|
-
section: string;
|
|
167
|
-
name: string;
|
|
168
|
-
nameRequired: string;
|
|
169
|
-
restaurant: string;
|
|
170
|
-
selectRestaurant: string;
|
|
171
|
-
restaurantRequired: string;
|
|
172
|
-
role: string;
|
|
173
|
-
selectRole: string;
|
|
174
|
-
roleRequired: string;
|
|
175
|
-
};
|
|
176
|
-
columns: {
|
|
177
|
-
passcode: string;
|
|
178
|
-
name: string;
|
|
179
|
-
restaurant: string;
|
|
180
|
-
role: string;
|
|
181
|
-
status: string;
|
|
182
|
-
grantedBy: string;
|
|
183
|
-
createdAt: string;
|
|
184
|
-
};
|
|
185
|
-
status: {
|
|
186
|
-
active: string;
|
|
187
|
-
used: string;
|
|
188
|
-
revoked: string;
|
|
189
|
-
};
|
|
190
|
-
create: {
|
|
191
|
-
successMessage: string;
|
|
192
|
-
};
|
|
193
|
-
revoke: {
|
|
194
|
-
title: string;
|
|
195
|
-
message: string;
|
|
196
|
-
successMessage: string;
|
|
197
|
-
};
|
|
198
|
-
search: {
|
|
199
|
-
placeholder: string;
|
|
200
|
-
};
|
|
201
|
-
filter: {
|
|
202
|
-
selected_status_prefix: string;
|
|
203
|
-
status_placeholder: string;
|
|
204
|
-
};
|
|
205
|
-
noData: {
|
|
206
|
-
title: string;
|
|
207
|
-
subtitle: string;
|
|
208
|
-
};
|
|
209
|
-
passcode: {
|
|
210
|
-
copied: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
158
|
};
|
|
214
159
|
};
|
|
215
160
|
'zh-CN': {
|
|
@@ -366,59 +311,6 @@ export declare const i18nMessages: {
|
|
|
366
311
|
placeholder: string;
|
|
367
312
|
};
|
|
368
313
|
};
|
|
369
|
-
grantUser: {
|
|
370
|
-
title: string;
|
|
371
|
-
"actions.create": string;
|
|
372
|
-
"actions.revoke": string;
|
|
373
|
-
form: {
|
|
374
|
-
title: string;
|
|
375
|
-
section: string;
|
|
376
|
-
name: string;
|
|
377
|
-
nameRequired: string;
|
|
378
|
-
restaurant: string;
|
|
379
|
-
selectRestaurant: string;
|
|
380
|
-
restaurantRequired: string;
|
|
381
|
-
role: string;
|
|
382
|
-
selectRole: string;
|
|
383
|
-
roleRequired: string;
|
|
384
|
-
};
|
|
385
|
-
columns: {
|
|
386
|
-
passcode: string;
|
|
387
|
-
name: string;
|
|
388
|
-
restaurant: string;
|
|
389
|
-
role: string;
|
|
390
|
-
status: string;
|
|
391
|
-
grantedBy: string;
|
|
392
|
-
createdAt: string;
|
|
393
|
-
};
|
|
394
|
-
status: {
|
|
395
|
-
active: string;
|
|
396
|
-
used: string;
|
|
397
|
-
revoked: string;
|
|
398
|
-
};
|
|
399
|
-
create: {
|
|
400
|
-
successMessage: string;
|
|
401
|
-
};
|
|
402
|
-
revoke: {
|
|
403
|
-
title: string;
|
|
404
|
-
message: string;
|
|
405
|
-
successMessage: string;
|
|
406
|
-
};
|
|
407
|
-
search: {
|
|
408
|
-
placeholder: string;
|
|
409
|
-
};
|
|
410
|
-
filter: {
|
|
411
|
-
selected_status_prefix: string;
|
|
412
|
-
status_placeholder: string;
|
|
413
|
-
};
|
|
414
|
-
noData: {
|
|
415
|
-
title: string;
|
|
416
|
-
subtitle: string;
|
|
417
|
-
};
|
|
418
|
-
passcode: {
|
|
419
|
-
copied: string;
|
|
420
|
-
};
|
|
421
|
-
};
|
|
422
314
|
};
|
|
423
315
|
};
|
|
424
316
|
'th-TH': {
|
|
@@ -574,59 +466,6 @@ export declare const i18nMessages: {
|
|
|
574
466
|
placeholder: string;
|
|
575
467
|
};
|
|
576
468
|
};
|
|
577
|
-
grantUser: {
|
|
578
|
-
title: string;
|
|
579
|
-
"actions.create": string;
|
|
580
|
-
"actions.revoke": string;
|
|
581
|
-
form: {
|
|
582
|
-
title: string;
|
|
583
|
-
section: string;
|
|
584
|
-
name: string;
|
|
585
|
-
nameRequired: string;
|
|
586
|
-
restaurant: string;
|
|
587
|
-
selectRestaurant: string;
|
|
588
|
-
restaurantRequired: string;
|
|
589
|
-
role: string;
|
|
590
|
-
selectRole: string;
|
|
591
|
-
roleRequired: string;
|
|
592
|
-
};
|
|
593
|
-
columns: {
|
|
594
|
-
passcode: string;
|
|
595
|
-
name: string;
|
|
596
|
-
restaurant: string;
|
|
597
|
-
role: string;
|
|
598
|
-
status: string;
|
|
599
|
-
grantedBy: string;
|
|
600
|
-
createdAt: string;
|
|
601
|
-
};
|
|
602
|
-
status: {
|
|
603
|
-
active: string;
|
|
604
|
-
used: string;
|
|
605
|
-
revoked: string;
|
|
606
|
-
};
|
|
607
|
-
create: {
|
|
608
|
-
successMessage: string;
|
|
609
|
-
};
|
|
610
|
-
revoke: {
|
|
611
|
-
title: string;
|
|
612
|
-
message: string;
|
|
613
|
-
successMessage: string;
|
|
614
|
-
};
|
|
615
|
-
search: {
|
|
616
|
-
placeholder: string;
|
|
617
|
-
};
|
|
618
|
-
filter: {
|
|
619
|
-
selected_status_prefix: string;
|
|
620
|
-
status_placeholder: string;
|
|
621
|
-
};
|
|
622
|
-
noData: {
|
|
623
|
-
title: string;
|
|
624
|
-
subtitle: string;
|
|
625
|
-
};
|
|
626
|
-
passcode: {
|
|
627
|
-
copied: string;
|
|
628
|
-
};
|
|
629
|
-
};
|
|
630
469
|
};
|
|
631
470
|
};
|
|
632
471
|
'zh-Hant': {
|
|
@@ -778,59 +617,6 @@ export declare const i18nMessages: {
|
|
|
778
617
|
subtitle: string;
|
|
779
618
|
};
|
|
780
619
|
};
|
|
781
|
-
grantUser: {
|
|
782
|
-
title: string;
|
|
783
|
-
"actions.create": string;
|
|
784
|
-
"actions.revoke": string;
|
|
785
|
-
form: {
|
|
786
|
-
title: string;
|
|
787
|
-
section: string;
|
|
788
|
-
name: string;
|
|
789
|
-
nameRequired: string;
|
|
790
|
-
restaurant: string;
|
|
791
|
-
selectRestaurant: string;
|
|
792
|
-
restaurantRequired: string;
|
|
793
|
-
role: string;
|
|
794
|
-
selectRole: string;
|
|
795
|
-
roleRequired: string;
|
|
796
|
-
};
|
|
797
|
-
columns: {
|
|
798
|
-
passcode: string;
|
|
799
|
-
name: string;
|
|
800
|
-
restaurant: string;
|
|
801
|
-
role: string;
|
|
802
|
-
status: string;
|
|
803
|
-
grantedBy: string;
|
|
804
|
-
createdAt: string;
|
|
805
|
-
};
|
|
806
|
-
status: {
|
|
807
|
-
active: string;
|
|
808
|
-
used: string;
|
|
809
|
-
revoked: string;
|
|
810
|
-
};
|
|
811
|
-
create: {
|
|
812
|
-
successMessage: string;
|
|
813
|
-
};
|
|
814
|
-
revoke: {
|
|
815
|
-
title: string;
|
|
816
|
-
message: string;
|
|
817
|
-
successMessage: string;
|
|
818
|
-
};
|
|
819
|
-
search: {
|
|
820
|
-
placeholder: string;
|
|
821
|
-
};
|
|
822
|
-
filter: {
|
|
823
|
-
selected_status_prefix: string;
|
|
824
|
-
status_placeholder: string;
|
|
825
|
-
};
|
|
826
|
-
noData: {
|
|
827
|
-
title: string;
|
|
828
|
-
subtitle: string;
|
|
829
|
-
};
|
|
830
|
-
passcode: {
|
|
831
|
-
copied: string;
|
|
832
|
-
};
|
|
833
|
-
};
|
|
834
620
|
};
|
|
835
621
|
};
|
|
836
622
|
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { FdoPermissionRule } from '@feedmepos/core/entity';
|
|
3
|
+
declare var __VLS_9: `checkbox-${string}-append`, __VLS_10: {
|
|
4
|
+
option: import("@/components/CheckboxInput.vue").CheckboxOption;
|
|
5
|
+
}, __VLS_20: `checkbox-${string}-append`, __VLS_21: {
|
|
6
|
+
option: import("@/components/CheckboxInput.vue").CheckboxOption;
|
|
7
|
+
}, __VLS_31: `checkbox-${string}-append`, __VLS_32: {
|
|
8
|
+
option: import("@/components/CheckboxInput.vue").CheckboxOption;
|
|
9
|
+
}, __VLS_42: `checkbox-${string}-append`, __VLS_43: {
|
|
10
|
+
option: import("@/components/CheckboxInput.vue").CheckboxOption;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
[K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
|
|
14
|
+
} & {
|
|
15
|
+
[K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
|
|
16
|
+
} & {
|
|
17
|
+
[K in NonNullable<typeof __VLS_31>]?: (props: typeof __VLS_32) => any;
|
|
18
|
+
} & {
|
|
19
|
+
[K in NonNullable<typeof __VLS_42>]?: (props: typeof __VLS_43) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: PropType<FdoPermissionRule[]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
disable: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
excludedSubjects: {
|
|
31
|
+
type: PropType<string[]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
35
|
+
"update:model-value": (subject: {
|
|
36
|
+
reason?: string | null | undefined;
|
|
37
|
+
conditions?: any;
|
|
38
|
+
fields?: string[] | null | undefined;
|
|
39
|
+
inverted?: boolean | null | undefined;
|
|
40
|
+
label: string;
|
|
41
|
+
subject: string;
|
|
42
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
43
|
+
}[]) => any;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
modelValue: {
|
|
46
|
+
type: PropType<FdoPermissionRule[]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
disable: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
excludedSubjects: {
|
|
54
|
+
type: PropType<string[]>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{
|
|
58
|
+
"onUpdate:model-value"?: ((subject: {
|
|
59
|
+
reason?: string | null | undefined;
|
|
60
|
+
conditions?: any;
|
|
61
|
+
fields?: string[] | null | undefined;
|
|
62
|
+
inverted?: boolean | null | undefined;
|
|
63
|
+
label: string;
|
|
64
|
+
subject: string;
|
|
65
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
66
|
+
}[]) => any) | undefined;
|
|
67
|
+
}>, {
|
|
68
|
+
disable: boolean;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
71
|
+
export default _default;
|
|
72
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
|
+
new (): {
|
|
74
|
+
$slots: S;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
import { type CheckboxOption } from '@/components/CheckboxInput.vue';
|
|
3
|
+
declare var __VLS_17: `checkbox-${any}-append`, __VLS_18: {
|
|
4
|
+
option: CheckboxOption;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
10
|
modelValue: {
|
|
4
11
|
type: PropType<string[] | null>;
|
|
5
12
|
default: null;
|
|
@@ -47,4 +54,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
54
|
modelValue: string[] | null;
|
|
48
55
|
disable: boolean;
|
|
49
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
57
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
50
58
|
export default _default;
|
|
59
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
60
|
+
new (): {
|
|
61
|
+
$slots: S;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { InheritedPermission } from '@/types/permission-set';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
item: {
|
|
5
|
+
type: PropType<InheritedPermission>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
item: {
|
|
10
|
+
type: PropType<InheritedPermission>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { IFdtoPermissionSet } from '@/types/permission-set';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<IFdtoPermissionSet["permissions"]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
modelValue: {
|
|
10
|
+
type: PropType<IFdtoPermissionSet["permissions"]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -1,46 +1,86 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IFdtoPermissionSet } from '@/types/permission-set';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
initialValue: {
|
|
5
|
-
type: PropType<IFdtoCreatePortalUserReq>;
|
|
6
|
-
default: undefined;
|
|
7
|
-
};
|
|
8
|
-
username: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
4
|
disable: {
|
|
13
5
|
type: BooleanConstructor;
|
|
14
6
|
default: boolean;
|
|
15
7
|
};
|
|
16
|
-
|
|
17
|
-
type:
|
|
18
|
-
default:
|
|
19
|
-
};
|
|
20
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
-
permissionChanged: (user: IFdtoCreatePortalUserReq) => any;
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
initialValue: {
|
|
24
|
-
type: PropType<IFdtoCreatePortalUserReq>;
|
|
25
|
-
default: undefined;
|
|
8
|
+
inheritPermissions: {
|
|
9
|
+
type: PropType<Array<IFdtoPermissionSet>>;
|
|
10
|
+
default: () => never[];
|
|
26
11
|
};
|
|
27
|
-
|
|
28
|
-
type:
|
|
29
|
-
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: PropType<{
|
|
14
|
+
reason?: string | null | undefined;
|
|
15
|
+
conditions?: any;
|
|
16
|
+
fields?: string[] | null | undefined;
|
|
17
|
+
inverted?: boolean | null | undefined;
|
|
18
|
+
label: string;
|
|
19
|
+
subject: string;
|
|
20
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
21
|
+
}[]>;
|
|
30
22
|
};
|
|
23
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: {
|
|
25
|
+
reason?: string | null | undefined;
|
|
26
|
+
conditions?: any;
|
|
27
|
+
fields?: string[] | null | undefined;
|
|
28
|
+
inverted?: boolean | null | undefined;
|
|
29
|
+
label: string;
|
|
30
|
+
subject: string;
|
|
31
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
32
|
+
}[]) => any;
|
|
33
|
+
} & {
|
|
34
|
+
permissionChanged: (permissions: {
|
|
35
|
+
reason?: string | null | undefined;
|
|
36
|
+
conditions?: any;
|
|
37
|
+
fields?: string[] | null | undefined;
|
|
38
|
+
inverted?: boolean | null | undefined;
|
|
39
|
+
label: string;
|
|
40
|
+
subject: string;
|
|
41
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
42
|
+
}[]) => any;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
44
|
disable: {
|
|
32
45
|
type: BooleanConstructor;
|
|
33
46
|
default: boolean;
|
|
34
47
|
};
|
|
35
|
-
|
|
36
|
-
type:
|
|
37
|
-
default:
|
|
48
|
+
inheritPermissions: {
|
|
49
|
+
type: PropType<Array<IFdtoPermissionSet>>;
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
modelValue: {
|
|
53
|
+
type: PropType<{
|
|
54
|
+
reason?: string | null | undefined;
|
|
55
|
+
conditions?: any;
|
|
56
|
+
fields?: string[] | null | undefined;
|
|
57
|
+
inverted?: boolean | null | undefined;
|
|
58
|
+
label: string;
|
|
59
|
+
subject: string;
|
|
60
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
61
|
+
}[]>;
|
|
38
62
|
};
|
|
39
63
|
}>> & Readonly<{
|
|
40
|
-
|
|
64
|
+
"onUpdate:modelValue"?: ((value: {
|
|
65
|
+
reason?: string | null | undefined;
|
|
66
|
+
conditions?: any;
|
|
67
|
+
fields?: string[] | null | undefined;
|
|
68
|
+
inverted?: boolean | null | undefined;
|
|
69
|
+
label: string;
|
|
70
|
+
subject: string;
|
|
71
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
72
|
+
}[]) => any) | undefined;
|
|
73
|
+
onPermissionChanged?: ((permissions: {
|
|
74
|
+
reason?: string | null | undefined;
|
|
75
|
+
conditions?: any;
|
|
76
|
+
fields?: string[] | null | undefined;
|
|
77
|
+
inverted?: boolean | null | undefined;
|
|
78
|
+
label: string;
|
|
79
|
+
subject: string;
|
|
80
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
81
|
+
}[]) => any) | undefined;
|
|
41
82
|
}>, {
|
|
42
83
|
disable: boolean;
|
|
43
|
-
|
|
44
|
-
isOwner: boolean;
|
|
84
|
+
inheritPermissions: IFdtoPermissionSet[];
|
|
45
85
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
86
|
export default _default;
|
package/dist/views/team/components/{TeamMemberRolePermission.vue.d.ts → PosRolePermission.vue.d.ts}
RENAMED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import { type CheckboxOption } from '@/components/CheckboxInput.vue';
|
|
2
3
|
import type { Role } from '@/types/role';
|
|
3
|
-
declare
|
|
4
|
+
declare var __VLS_10: `checkbox-${any}-append`, __VLS_11: {
|
|
5
|
+
option: CheckboxOption;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
11
|
modelValue: {
|
|
5
12
|
type: PropType<string[] | null>;
|
|
6
13
|
default: null;
|
|
@@ -43,4 +50,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
43
50
|
restaurantIds: string[] | null;
|
|
44
51
|
disable: boolean;
|
|
45
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
46
54
|
export default _default;
|
|
55
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|