@feedmepos/mf-hrm-portal 1.1.2-dev → 1.1.4-dev.1
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/{EmployeeList-CKHgrdAO.js → EmployeeList-D3a7ngdE.js} +16 -18
- package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-HKK4cbW8.js → PageLayout.vue_vue_type_script_setup_true_lang-DuwNwJDM.js} +2 -2
- package/dist/{RoleList-Bef-7IhW.js → RoleList-CsxyMZW0.js} +53 -57
- package/dist/TeamMemberList-ZkrdrTlL.js +1508 -0
- package/dist/{TimesheetList-DVIk0Tis.js → TimesheetList-BwiUzcJ-.js} +41 -42
- package/dist/api/team/index.d.ts +1 -5
- package/dist/app-CrML_LtM.js +1202 -0
- package/dist/app.js +4 -4
- package/dist/components/AppForm.vue.d.ts +2 -3
- package/dist/components/CheckboxInput.vue.d.ts +4 -10
- package/dist/components/CollapsibleWrapper.vue.d.ts +2 -3
- package/dist/components/form/SelectFilter.vue.d.ts +2 -3
- package/dist/components/layout/FormColumn.vue.d.ts +3 -6
- package/dist/components/layout/FormItem.vue.d.ts +1 -2
- package/dist/components/layout/FormSection.vue.d.ts +1 -2
- package/dist/components/layout/FullWrapper.vue.d.ts +3 -6
- package/dist/components/layout/PageLayout.vue.d.ts +1 -2
- package/dist/components/menu/BottomSheetMenu.vue.d.ts +1 -2
- package/dist/components/menu/BottomSheetMenuItem.vue.d.ts +3 -6
- package/dist/components/table/EmptyDataTemplate/index.vue.d.ts +3 -6
- package/dist/composables/useAppStore.d.ts +6 -6
- package/dist/composables/useDateRange.d.ts +1 -1
- package/dist/composables/useRestaurantMap.d.ts +8 -4
- package/dist/composables/useSheet.d.ts +1 -1
- package/dist/employee-DSGaYrd4.js +449 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js → empty-placeholder-ey8LJtN1.js} +2 -43
- package/dist/helpers/rule.d.ts +3 -4
- package/dist/index-CIaav54n.js +57 -0
- package/dist/{lodash-DpoPPi_j.js → lodash-dGfuW9fw.js} +343 -326
- package/dist/{Main-YQ5f-v03.js → main-CUI7RdvY.js} +1531 -1501
- package/dist/router/shared.d.ts +1 -4
- package/dist/{index-CicR1-Jp.js → rule-BLgeh_ly.js} +2672 -2721
- package/dist/stores/employee.d.ts +4 -4
- package/dist/stores/role.d.ts +4 -4
- package/dist/stores/timesheet.d.ts +19 -19
- package/dist/{timesheet-BRQvljNj.js → timesheet-BFrZzS2q.js} +14 -14
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/permission.d.ts +4 -1
- package/dist/types/team.d.ts +3 -13
- package/dist/useAppStore-DViQe2C8.js +93 -0
- package/dist/useLoading-DAoKseT-.js +141 -0
- package/dist/{useRestaurantMap-D5BNPLKh.js → useRestaurantMap-CpS9-OSq.js} +7 -7
- package/dist/{SelectFilter-NbXrJ4iH.js → useSearch-C25VELOk.js} +101 -90
- package/dist/views/hr/employee/{EmployeeForm.vue.d.ts → components/EmployeeForm.vue.d.ts} +7 -10
- package/dist/views/team/{member → components}/AddMemberForm.vue.d.ts +0 -1
- package/dist/views/team/components/PortalPermissionEditor.vue.d.ts +28 -68
- package/dist/views/team/components/TeamMemberBasePermission.vue.d.ts +36 -0
- package/dist/views/team/components/{ConditionPermission.vue.d.ts → TeamMemberConditionPermission.vue.d.ts} +1 -14
- package/dist/views/team/components/TeamMemberMasterUser.vue.d.ts +718 -0
- package/dist/views/team/components/{PosRolePermission.vue.d.ts → TeamMemberRolePermission.vue.d.ts} +1 -14
- package/dist/views/team/locales/index.d.ts +4 -176
- package/package.json +8 -13
- package/dist/AuditLogList-CjrocQS2.js +0 -316
- package/dist/Main-HzplGv-e.js +0 -85
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-xQ4fjIxa.js +0 -3050
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js +0 -38
- package/dist/RolePermissionList-BzwpQFeO.js +0 -285
- package/dist/TeamMemberList-D2Xey_w9.js +0 -949
- package/dist/api/audit-log/index.d.ts +0 -10
- package/dist/api/permission-assignment/index.d.ts +0 -10
- package/dist/api/permission-set/index.d.ts +0 -8
- package/dist/app-DUs516v0.js +0 -2592
- package/dist/dayjs.min-DVb8OkTL.js +0 -282
- package/dist/employee-jH7EJnhi.js +0 -172
- package/dist/helpers/permission-set.d.ts +0 -32
- package/dist/helpers/portal-user.d.ts +0 -8
- package/dist/stores/permission-assignment.d.ts +0 -277
- package/dist/stores/permission-set.d.ts +0 -250
- package/dist/stores/team.d.ts +0 -288
- package/dist/team-CiZSNUQW.js +0 -26
- package/dist/types/audit-log.d.ts +0 -19
- package/dist/types/permission-assignment.d.ts +0 -20
- package/dist/types/permission-set.d.ts +0 -20
- package/dist/useAppStore-RzLLN5d9.js +0 -180
- package/dist/useLoading-1OqFn86y.js +0 -99
- package/dist/useSearch-B6WK1LBB.js +0 -15
- package/dist/views/audit-log/locales/index.d.ts +0 -211
- package/dist/views/team/Main.vue.d.ts +0 -2
- package/dist/views/team/components/BasePermission.vue.d.ts +0 -64
- package/dist/views/team/components/InheritPermissionTooltip.vue.d.ts +0 -14
- package/dist/views/team/components/PermissionWithTooltip.vue.d.ts +0 -14
- package/dist/views/team/member/TeamMemberList.vue.d.ts +0 -4
- package/dist/views/team/member/TeamMemberMasterUser.vue.d.ts +0 -55
- package/dist/views/team/role/RolePermissionForm.vue.d.ts +0 -19
- package/dist/views/team/role/RolePermissionList.vue.d.ts +0 -5
- /package/dist/views/{audit-log/AuditLogList.vue.d.ts → hr/main.vue.d.ts} +0 -0
- /package/dist/views/{hr/Main.vue.d.ts → team/TeamMemberList.vue.d.ts} +0 -0
- /package/dist/views/team/{member → components}/MemberInfo.vue.d.ts +0 -0
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
import type { IFdtoPermissionAssignment, IFdtoCreatePermissionAssignmentReq, IFdtoUpdatePermissionAssignmentReq } from '@/types/permission-assignment';
|
|
2
|
-
export declare const usePermissionAssignmentStore: () => {
|
|
3
|
-
permissionAssignments: import("vue").Ref<{
|
|
4
|
-
id: string;
|
|
5
|
-
customPermissions: {
|
|
6
|
-
reason?: string | null | undefined | undefined;
|
|
7
|
-
conditions?: any;
|
|
8
|
-
fields?: string[] | null | undefined | undefined;
|
|
9
|
-
inverted?: boolean | null | undefined | undefined;
|
|
10
|
-
label: string;
|
|
11
|
-
subject: string;
|
|
12
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
13
|
-
}[];
|
|
14
|
-
permissionSetIds: string[];
|
|
15
|
-
businessId: string;
|
|
16
|
-
userId: string;
|
|
17
|
-
}[], IFdtoPermissionAssignment[] | {
|
|
18
|
-
id: string;
|
|
19
|
-
customPermissions: {
|
|
20
|
-
reason?: string | null | undefined | undefined;
|
|
21
|
-
conditions?: any;
|
|
22
|
-
fields?: string[] | null | undefined | undefined;
|
|
23
|
-
inverted?: boolean | null | undefined | undefined;
|
|
24
|
-
label: string;
|
|
25
|
-
subject: string;
|
|
26
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
27
|
-
}[];
|
|
28
|
-
permissionSetIds: string[];
|
|
29
|
-
businessId: string;
|
|
30
|
-
userId: string;
|
|
31
|
-
}[]>;
|
|
32
|
-
$state: {
|
|
33
|
-
permissionAssignments: {
|
|
34
|
-
id: string;
|
|
35
|
-
customPermissions: {
|
|
36
|
-
reason?: string | null | undefined | undefined;
|
|
37
|
-
conditions?: any;
|
|
38
|
-
fields?: string[] | null | undefined | undefined;
|
|
39
|
-
inverted?: boolean | null | undefined | undefined;
|
|
40
|
-
label: string;
|
|
41
|
-
subject: string;
|
|
42
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
43
|
-
}[];
|
|
44
|
-
permissionSetIds: string[];
|
|
45
|
-
businessId: string;
|
|
46
|
-
userId: string;
|
|
47
|
-
}[];
|
|
48
|
-
} & import("pinia").PiniaCustomStateProperties<Pick<{
|
|
49
|
-
permissionAssignments: import("vue").Ref<{
|
|
50
|
-
id: string;
|
|
51
|
-
customPermissions: {
|
|
52
|
-
reason?: string | null | undefined | undefined;
|
|
53
|
-
conditions?: any;
|
|
54
|
-
fields?: string[] | null | undefined | undefined;
|
|
55
|
-
inverted?: boolean | null | undefined | undefined;
|
|
56
|
-
label: string;
|
|
57
|
-
subject: string;
|
|
58
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
59
|
-
}[];
|
|
60
|
-
permissionSetIds: string[];
|
|
61
|
-
businessId: string;
|
|
62
|
-
userId: string;
|
|
63
|
-
}[], IFdtoPermissionAssignment[] | {
|
|
64
|
-
id: string;
|
|
65
|
-
customPermissions: {
|
|
66
|
-
reason?: string | null | undefined | undefined;
|
|
67
|
-
conditions?: any;
|
|
68
|
-
fields?: string[] | null | undefined | undefined;
|
|
69
|
-
inverted?: boolean | null | undefined | undefined;
|
|
70
|
-
label: string;
|
|
71
|
-
subject: string;
|
|
72
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
73
|
-
}[];
|
|
74
|
-
permissionSetIds: string[];
|
|
75
|
-
businessId: string;
|
|
76
|
-
userId: string;
|
|
77
|
-
}[]>;
|
|
78
|
-
readPermissionAssignments: () => Promise<void>;
|
|
79
|
-
readPermissionAssignmentByUserId: (userId: string) => Promise<IFdtoPermissionAssignment | null>;
|
|
80
|
-
createPermissionAssignment: (dto: IFdtoCreatePermissionAssignmentReq) => Promise<void>;
|
|
81
|
-
updatePermissionAssignment: (id: string, dto: IFdtoUpdatePermissionAssignmentReq) => Promise<void>;
|
|
82
|
-
deletePermissionAssignment: (id: string) => Promise<void>;
|
|
83
|
-
getPermissionAssignmentByUserId: (userId: string) => IFdtoPermissionAssignment | undefined;
|
|
84
|
-
}, "permissionAssignments">>;
|
|
85
|
-
$patch(partialState: import("pinia")._DeepPartial<{
|
|
86
|
-
permissionAssignments: {
|
|
87
|
-
id: string;
|
|
88
|
-
customPermissions: {
|
|
89
|
-
reason?: string | null | undefined | undefined;
|
|
90
|
-
conditions?: any;
|
|
91
|
-
fields?: string[] | null | undefined | undefined;
|
|
92
|
-
inverted?: boolean | null | undefined | undefined;
|
|
93
|
-
label: string;
|
|
94
|
-
subject: string;
|
|
95
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
96
|
-
}[];
|
|
97
|
-
permissionSetIds: string[];
|
|
98
|
-
businessId: string;
|
|
99
|
-
userId: string;
|
|
100
|
-
}[];
|
|
101
|
-
}>): void;
|
|
102
|
-
$patch<F extends (state: {
|
|
103
|
-
permissionAssignments: {
|
|
104
|
-
id: string;
|
|
105
|
-
customPermissions: {
|
|
106
|
-
reason?: string | null | undefined | undefined;
|
|
107
|
-
conditions?: any;
|
|
108
|
-
fields?: string[] | null | undefined | undefined;
|
|
109
|
-
inverted?: boolean | null | undefined | undefined;
|
|
110
|
-
label: string;
|
|
111
|
-
subject: string;
|
|
112
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
113
|
-
}[];
|
|
114
|
-
permissionSetIds: string[];
|
|
115
|
-
businessId: string;
|
|
116
|
-
userId: string;
|
|
117
|
-
}[];
|
|
118
|
-
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
|
119
|
-
$reset(): void;
|
|
120
|
-
$subscribe(callback: import("pinia").SubscriptionCallback<Pick<{
|
|
121
|
-
permissionAssignments: import("vue").Ref<{
|
|
122
|
-
id: string;
|
|
123
|
-
customPermissions: {
|
|
124
|
-
reason?: string | null | undefined | undefined;
|
|
125
|
-
conditions?: any;
|
|
126
|
-
fields?: string[] | null | undefined | undefined;
|
|
127
|
-
inverted?: boolean | null | undefined | undefined;
|
|
128
|
-
label: string;
|
|
129
|
-
subject: string;
|
|
130
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
131
|
-
}[];
|
|
132
|
-
permissionSetIds: string[];
|
|
133
|
-
businessId: string;
|
|
134
|
-
userId: string;
|
|
135
|
-
}[], IFdtoPermissionAssignment[] | {
|
|
136
|
-
id: string;
|
|
137
|
-
customPermissions: {
|
|
138
|
-
reason?: string | null | undefined | undefined;
|
|
139
|
-
conditions?: any;
|
|
140
|
-
fields?: string[] | null | undefined | undefined;
|
|
141
|
-
inverted?: boolean | null | undefined | undefined;
|
|
142
|
-
label: string;
|
|
143
|
-
subject: string;
|
|
144
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
145
|
-
}[];
|
|
146
|
-
permissionSetIds: string[];
|
|
147
|
-
businessId: string;
|
|
148
|
-
userId: string;
|
|
149
|
-
}[]>;
|
|
150
|
-
readPermissionAssignments: () => Promise<void>;
|
|
151
|
-
readPermissionAssignmentByUserId: (userId: string) => Promise<IFdtoPermissionAssignment | null>;
|
|
152
|
-
createPermissionAssignment: (dto: IFdtoCreatePermissionAssignmentReq) => Promise<void>;
|
|
153
|
-
updatePermissionAssignment: (id: string, dto: IFdtoUpdatePermissionAssignmentReq) => Promise<void>;
|
|
154
|
-
deletePermissionAssignment: (id: string) => Promise<void>;
|
|
155
|
-
getPermissionAssignmentByUserId: (userId: string) => IFdtoPermissionAssignment | undefined;
|
|
156
|
-
}, "permissionAssignments">>, options?: {
|
|
157
|
-
detached?: boolean;
|
|
158
|
-
} & import("vue").WatchOptions): () => void;
|
|
159
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"permissionAssignment", Pick<{
|
|
160
|
-
permissionAssignments: import("vue").Ref<{
|
|
161
|
-
id: string;
|
|
162
|
-
customPermissions: {
|
|
163
|
-
reason?: string | null | undefined | undefined;
|
|
164
|
-
conditions?: any;
|
|
165
|
-
fields?: string[] | null | undefined | undefined;
|
|
166
|
-
inverted?: boolean | null | undefined | undefined;
|
|
167
|
-
label: string;
|
|
168
|
-
subject: string;
|
|
169
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
170
|
-
}[];
|
|
171
|
-
permissionSetIds: string[];
|
|
172
|
-
businessId: string;
|
|
173
|
-
userId: string;
|
|
174
|
-
}[], IFdtoPermissionAssignment[] | {
|
|
175
|
-
id: string;
|
|
176
|
-
customPermissions: {
|
|
177
|
-
reason?: string | null | undefined | undefined;
|
|
178
|
-
conditions?: any;
|
|
179
|
-
fields?: string[] | null | undefined | undefined;
|
|
180
|
-
inverted?: boolean | null | undefined | undefined;
|
|
181
|
-
label: string;
|
|
182
|
-
subject: string;
|
|
183
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
184
|
-
}[];
|
|
185
|
-
permissionSetIds: string[];
|
|
186
|
-
businessId: string;
|
|
187
|
-
userId: string;
|
|
188
|
-
}[]>;
|
|
189
|
-
readPermissionAssignments: () => Promise<void>;
|
|
190
|
-
readPermissionAssignmentByUserId: (userId: string) => Promise<IFdtoPermissionAssignment | null>;
|
|
191
|
-
createPermissionAssignment: (dto: IFdtoCreatePermissionAssignmentReq) => Promise<void>;
|
|
192
|
-
updatePermissionAssignment: (id: string, dto: IFdtoUpdatePermissionAssignmentReq) => Promise<void>;
|
|
193
|
-
deletePermissionAssignment: (id: string) => Promise<void>;
|
|
194
|
-
getPermissionAssignmentByUserId: (userId: string) => IFdtoPermissionAssignment | undefined;
|
|
195
|
-
}, "permissionAssignments">, Pick<{
|
|
196
|
-
permissionAssignments: import("vue").Ref<{
|
|
197
|
-
id: string;
|
|
198
|
-
customPermissions: {
|
|
199
|
-
reason?: string | null | undefined | undefined;
|
|
200
|
-
conditions?: any;
|
|
201
|
-
fields?: string[] | null | undefined | undefined;
|
|
202
|
-
inverted?: boolean | null | undefined | undefined;
|
|
203
|
-
label: string;
|
|
204
|
-
subject: string;
|
|
205
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
206
|
-
}[];
|
|
207
|
-
permissionSetIds: string[];
|
|
208
|
-
businessId: string;
|
|
209
|
-
userId: string;
|
|
210
|
-
}[], IFdtoPermissionAssignment[] | {
|
|
211
|
-
id: string;
|
|
212
|
-
customPermissions: {
|
|
213
|
-
reason?: string | null | undefined | undefined;
|
|
214
|
-
conditions?: any;
|
|
215
|
-
fields?: string[] | null | undefined | undefined;
|
|
216
|
-
inverted?: boolean | null | undefined | undefined;
|
|
217
|
-
label: string;
|
|
218
|
-
subject: string;
|
|
219
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
220
|
-
}[];
|
|
221
|
-
permissionSetIds: string[];
|
|
222
|
-
businessId: string;
|
|
223
|
-
userId: string;
|
|
224
|
-
}[]>;
|
|
225
|
-
readPermissionAssignments: () => Promise<void>;
|
|
226
|
-
readPermissionAssignmentByUserId: (userId: string) => Promise<IFdtoPermissionAssignment | null>;
|
|
227
|
-
createPermissionAssignment: (dto: IFdtoCreatePermissionAssignmentReq) => Promise<void>;
|
|
228
|
-
updatePermissionAssignment: (id: string, dto: IFdtoUpdatePermissionAssignmentReq) => Promise<void>;
|
|
229
|
-
deletePermissionAssignment: (id: string) => Promise<void>;
|
|
230
|
-
getPermissionAssignmentByUserId: (userId: string) => IFdtoPermissionAssignment | undefined;
|
|
231
|
-
}, never>, Pick<{
|
|
232
|
-
permissionAssignments: import("vue").Ref<{
|
|
233
|
-
id: string;
|
|
234
|
-
customPermissions: {
|
|
235
|
-
reason?: string | null | undefined | undefined;
|
|
236
|
-
conditions?: any;
|
|
237
|
-
fields?: string[] | null | undefined | undefined;
|
|
238
|
-
inverted?: boolean | null | undefined | undefined;
|
|
239
|
-
label: string;
|
|
240
|
-
subject: string;
|
|
241
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
242
|
-
}[];
|
|
243
|
-
permissionSetIds: string[];
|
|
244
|
-
businessId: string;
|
|
245
|
-
userId: string;
|
|
246
|
-
}[], IFdtoPermissionAssignment[] | {
|
|
247
|
-
id: string;
|
|
248
|
-
customPermissions: {
|
|
249
|
-
reason?: string | null | undefined | undefined;
|
|
250
|
-
conditions?: any;
|
|
251
|
-
fields?: string[] | null | undefined | undefined;
|
|
252
|
-
inverted?: boolean | null | undefined | undefined;
|
|
253
|
-
label: string;
|
|
254
|
-
subject: string;
|
|
255
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
256
|
-
}[];
|
|
257
|
-
permissionSetIds: string[];
|
|
258
|
-
businessId: string;
|
|
259
|
-
userId: string;
|
|
260
|
-
}[]>;
|
|
261
|
-
readPermissionAssignments: () => Promise<void>;
|
|
262
|
-
readPermissionAssignmentByUserId: (userId: string) => Promise<IFdtoPermissionAssignment | null>;
|
|
263
|
-
createPermissionAssignment: (dto: IFdtoCreatePermissionAssignmentReq) => Promise<void>;
|
|
264
|
-
updatePermissionAssignment: (id: string, dto: IFdtoUpdatePermissionAssignmentReq) => Promise<void>;
|
|
265
|
-
deletePermissionAssignment: (id: string) => Promise<void>;
|
|
266
|
-
getPermissionAssignmentByUserId: (userId: string) => IFdtoPermissionAssignment | undefined;
|
|
267
|
-
}, "readPermissionAssignments" | "readPermissionAssignmentByUserId" | "createPermissionAssignment" | "updatePermissionAssignment" | "deletePermissionAssignment" | "getPermissionAssignmentByUserId">>, detached?: boolean): () => void;
|
|
268
|
-
$dispose(): void;
|
|
269
|
-
$id: "permissionAssignment";
|
|
270
|
-
_customProperties: Set<string>;
|
|
271
|
-
readPermissionAssignments: () => Promise<void>;
|
|
272
|
-
readPermissionAssignmentByUserId: (userId: string) => Promise<IFdtoPermissionAssignment | null>;
|
|
273
|
-
createPermissionAssignment: (dto: IFdtoCreatePermissionAssignmentReq) => Promise<void>;
|
|
274
|
-
updatePermissionAssignment: (id: string, dto: IFdtoUpdatePermissionAssignmentReq) => Promise<void>;
|
|
275
|
-
deletePermissionAssignment: (id: string) => Promise<void>;
|
|
276
|
-
getPermissionAssignmentByUserId: (userId: string) => IFdtoPermissionAssignment | undefined;
|
|
277
|
-
};
|
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
import type { IFdtoPermissionSet, IFdtoCreatePermissionSetReq, IFdtoUpdatePermissionSetReq } from '@/types/permission-set';
|
|
2
|
-
export declare const usePermissionSetStore: () => {
|
|
3
|
-
permissionSets: import("vue").Ref<{
|
|
4
|
-
id: string;
|
|
5
|
-
permissions: {
|
|
6
|
-
reason?: string | null | undefined | undefined;
|
|
7
|
-
conditions?: any;
|
|
8
|
-
fields?: string[] | null | undefined | undefined;
|
|
9
|
-
inverted?: boolean | null | undefined | undefined;
|
|
10
|
-
label: string;
|
|
11
|
-
subject: string;
|
|
12
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
13
|
-
}[];
|
|
14
|
-
businessId: string;
|
|
15
|
-
name: string;
|
|
16
|
-
}[], IFdtoPermissionSet[] | {
|
|
17
|
-
id: string;
|
|
18
|
-
permissions: {
|
|
19
|
-
reason?: string | null | undefined | undefined;
|
|
20
|
-
conditions?: any;
|
|
21
|
-
fields?: string[] | null | undefined | undefined;
|
|
22
|
-
inverted?: boolean | null | undefined | undefined;
|
|
23
|
-
label: string;
|
|
24
|
-
subject: string;
|
|
25
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
26
|
-
}[];
|
|
27
|
-
businessId: string;
|
|
28
|
-
name: string;
|
|
29
|
-
}[]>;
|
|
30
|
-
$state: {
|
|
31
|
-
permissionSets: {
|
|
32
|
-
id: string;
|
|
33
|
-
permissions: {
|
|
34
|
-
reason?: string | null | undefined | undefined;
|
|
35
|
-
conditions?: any;
|
|
36
|
-
fields?: string[] | null | undefined | undefined;
|
|
37
|
-
inverted?: boolean | null | undefined | undefined;
|
|
38
|
-
label: string;
|
|
39
|
-
subject: string;
|
|
40
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
41
|
-
}[];
|
|
42
|
-
businessId: string;
|
|
43
|
-
name: string;
|
|
44
|
-
}[];
|
|
45
|
-
} & import("pinia").PiniaCustomStateProperties<Pick<{
|
|
46
|
-
permissionSets: import("vue").Ref<{
|
|
47
|
-
id: string;
|
|
48
|
-
permissions: {
|
|
49
|
-
reason?: string | null | undefined | undefined;
|
|
50
|
-
conditions?: any;
|
|
51
|
-
fields?: string[] | null | undefined | undefined;
|
|
52
|
-
inverted?: boolean | null | undefined | undefined;
|
|
53
|
-
label: string;
|
|
54
|
-
subject: string;
|
|
55
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
56
|
-
}[];
|
|
57
|
-
businessId: string;
|
|
58
|
-
name: string;
|
|
59
|
-
}[], IFdtoPermissionSet[] | {
|
|
60
|
-
id: string;
|
|
61
|
-
permissions: {
|
|
62
|
-
reason?: string | null | undefined | undefined;
|
|
63
|
-
conditions?: any;
|
|
64
|
-
fields?: string[] | null | undefined | undefined;
|
|
65
|
-
inverted?: boolean | null | undefined | undefined;
|
|
66
|
-
label: string;
|
|
67
|
-
subject: string;
|
|
68
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
69
|
-
}[];
|
|
70
|
-
businessId: string;
|
|
71
|
-
name: string;
|
|
72
|
-
}[]>;
|
|
73
|
-
readPermissionSets: () => Promise<void>;
|
|
74
|
-
createPermissionSet: (dto: IFdtoCreatePermissionSetReq) => Promise<void>;
|
|
75
|
-
updatePermissionSet: (id: string, dto: IFdtoUpdatePermissionSetReq) => Promise<void>;
|
|
76
|
-
deletePermissionSet: (id: string) => Promise<void>;
|
|
77
|
-
}, "permissionSets">>;
|
|
78
|
-
$patch(partialState: import("pinia")._DeepPartial<{
|
|
79
|
-
permissionSets: {
|
|
80
|
-
id: string;
|
|
81
|
-
permissions: {
|
|
82
|
-
reason?: string | null | undefined | undefined;
|
|
83
|
-
conditions?: any;
|
|
84
|
-
fields?: string[] | null | undefined | undefined;
|
|
85
|
-
inverted?: boolean | null | undefined | undefined;
|
|
86
|
-
label: string;
|
|
87
|
-
subject: string;
|
|
88
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
89
|
-
}[];
|
|
90
|
-
businessId: string;
|
|
91
|
-
name: string;
|
|
92
|
-
}[];
|
|
93
|
-
}>): void;
|
|
94
|
-
$patch<F extends (state: {
|
|
95
|
-
permissionSets: {
|
|
96
|
-
id: string;
|
|
97
|
-
permissions: {
|
|
98
|
-
reason?: string | null | undefined | undefined;
|
|
99
|
-
conditions?: any;
|
|
100
|
-
fields?: string[] | null | undefined | undefined;
|
|
101
|
-
inverted?: boolean | null | undefined | undefined;
|
|
102
|
-
label: string;
|
|
103
|
-
subject: string;
|
|
104
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
105
|
-
}[];
|
|
106
|
-
businessId: string;
|
|
107
|
-
name: string;
|
|
108
|
-
}[];
|
|
109
|
-
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
|
110
|
-
$reset(): void;
|
|
111
|
-
$subscribe(callback: import("pinia").SubscriptionCallback<Pick<{
|
|
112
|
-
permissionSets: import("vue").Ref<{
|
|
113
|
-
id: string;
|
|
114
|
-
permissions: {
|
|
115
|
-
reason?: string | null | undefined | undefined;
|
|
116
|
-
conditions?: any;
|
|
117
|
-
fields?: string[] | null | undefined | undefined;
|
|
118
|
-
inverted?: boolean | null | undefined | undefined;
|
|
119
|
-
label: string;
|
|
120
|
-
subject: string;
|
|
121
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
122
|
-
}[];
|
|
123
|
-
businessId: string;
|
|
124
|
-
name: string;
|
|
125
|
-
}[], IFdtoPermissionSet[] | {
|
|
126
|
-
id: string;
|
|
127
|
-
permissions: {
|
|
128
|
-
reason?: string | null | undefined | undefined;
|
|
129
|
-
conditions?: any;
|
|
130
|
-
fields?: string[] | null | undefined | undefined;
|
|
131
|
-
inverted?: boolean | null | undefined | undefined;
|
|
132
|
-
label: string;
|
|
133
|
-
subject: string;
|
|
134
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
135
|
-
}[];
|
|
136
|
-
businessId: string;
|
|
137
|
-
name: string;
|
|
138
|
-
}[]>;
|
|
139
|
-
readPermissionSets: () => Promise<void>;
|
|
140
|
-
createPermissionSet: (dto: IFdtoCreatePermissionSetReq) => Promise<void>;
|
|
141
|
-
updatePermissionSet: (id: string, dto: IFdtoUpdatePermissionSetReq) => Promise<void>;
|
|
142
|
-
deletePermissionSet: (id: string) => Promise<void>;
|
|
143
|
-
}, "permissionSets">>, options?: {
|
|
144
|
-
detached?: boolean;
|
|
145
|
-
} & import("vue").WatchOptions): () => void;
|
|
146
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"permissionSet", Pick<{
|
|
147
|
-
permissionSets: import("vue").Ref<{
|
|
148
|
-
id: string;
|
|
149
|
-
permissions: {
|
|
150
|
-
reason?: string | null | undefined | undefined;
|
|
151
|
-
conditions?: any;
|
|
152
|
-
fields?: string[] | null | undefined | undefined;
|
|
153
|
-
inverted?: boolean | null | undefined | undefined;
|
|
154
|
-
label: string;
|
|
155
|
-
subject: string;
|
|
156
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
157
|
-
}[];
|
|
158
|
-
businessId: string;
|
|
159
|
-
name: string;
|
|
160
|
-
}[], IFdtoPermissionSet[] | {
|
|
161
|
-
id: string;
|
|
162
|
-
permissions: {
|
|
163
|
-
reason?: string | null | undefined | undefined;
|
|
164
|
-
conditions?: any;
|
|
165
|
-
fields?: string[] | null | undefined | undefined;
|
|
166
|
-
inverted?: boolean | null | undefined | undefined;
|
|
167
|
-
label: string;
|
|
168
|
-
subject: string;
|
|
169
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
170
|
-
}[];
|
|
171
|
-
businessId: string;
|
|
172
|
-
name: string;
|
|
173
|
-
}[]>;
|
|
174
|
-
readPermissionSets: () => Promise<void>;
|
|
175
|
-
createPermissionSet: (dto: IFdtoCreatePermissionSetReq) => Promise<void>;
|
|
176
|
-
updatePermissionSet: (id: string, dto: IFdtoUpdatePermissionSetReq) => Promise<void>;
|
|
177
|
-
deletePermissionSet: (id: string) => Promise<void>;
|
|
178
|
-
}, "permissionSets">, Pick<{
|
|
179
|
-
permissionSets: import("vue").Ref<{
|
|
180
|
-
id: string;
|
|
181
|
-
permissions: {
|
|
182
|
-
reason?: string | null | undefined | undefined;
|
|
183
|
-
conditions?: any;
|
|
184
|
-
fields?: string[] | null | undefined | undefined;
|
|
185
|
-
inverted?: boolean | null | undefined | undefined;
|
|
186
|
-
label: string;
|
|
187
|
-
subject: string;
|
|
188
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
189
|
-
}[];
|
|
190
|
-
businessId: string;
|
|
191
|
-
name: string;
|
|
192
|
-
}[], IFdtoPermissionSet[] | {
|
|
193
|
-
id: string;
|
|
194
|
-
permissions: {
|
|
195
|
-
reason?: string | null | undefined | undefined;
|
|
196
|
-
conditions?: any;
|
|
197
|
-
fields?: string[] | null | undefined | undefined;
|
|
198
|
-
inverted?: boolean | null | undefined | undefined;
|
|
199
|
-
label: string;
|
|
200
|
-
subject: string;
|
|
201
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
202
|
-
}[];
|
|
203
|
-
businessId: string;
|
|
204
|
-
name: string;
|
|
205
|
-
}[]>;
|
|
206
|
-
readPermissionSets: () => Promise<void>;
|
|
207
|
-
createPermissionSet: (dto: IFdtoCreatePermissionSetReq) => Promise<void>;
|
|
208
|
-
updatePermissionSet: (id: string, dto: IFdtoUpdatePermissionSetReq) => Promise<void>;
|
|
209
|
-
deletePermissionSet: (id: string) => Promise<void>;
|
|
210
|
-
}, never>, Pick<{
|
|
211
|
-
permissionSets: import("vue").Ref<{
|
|
212
|
-
id: string;
|
|
213
|
-
permissions: {
|
|
214
|
-
reason?: string | null | undefined | undefined;
|
|
215
|
-
conditions?: any;
|
|
216
|
-
fields?: string[] | null | undefined | undefined;
|
|
217
|
-
inverted?: boolean | null | undefined | undefined;
|
|
218
|
-
label: string;
|
|
219
|
-
subject: string;
|
|
220
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
221
|
-
}[];
|
|
222
|
-
businessId: string;
|
|
223
|
-
name: string;
|
|
224
|
-
}[], IFdtoPermissionSet[] | {
|
|
225
|
-
id: string;
|
|
226
|
-
permissions: {
|
|
227
|
-
reason?: string | null | undefined | undefined;
|
|
228
|
-
conditions?: any;
|
|
229
|
-
fields?: string[] | null | undefined | undefined;
|
|
230
|
-
inverted?: boolean | null | undefined | undefined;
|
|
231
|
-
label: string;
|
|
232
|
-
subject: string;
|
|
233
|
-
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
234
|
-
}[];
|
|
235
|
-
businessId: string;
|
|
236
|
-
name: string;
|
|
237
|
-
}[]>;
|
|
238
|
-
readPermissionSets: () => Promise<void>;
|
|
239
|
-
createPermissionSet: (dto: IFdtoCreatePermissionSetReq) => Promise<void>;
|
|
240
|
-
updatePermissionSet: (id: string, dto: IFdtoUpdatePermissionSetReq) => Promise<void>;
|
|
241
|
-
deletePermissionSet: (id: string) => Promise<void>;
|
|
242
|
-
}, "readPermissionSets" | "createPermissionSet" | "updatePermissionSet" | "deletePermissionSet">>, detached?: boolean): () => void;
|
|
243
|
-
$dispose(): void;
|
|
244
|
-
$id: "permissionSet";
|
|
245
|
-
_customProperties: Set<string>;
|
|
246
|
-
readPermissionSets: () => Promise<void>;
|
|
247
|
-
createPermissionSet: (dto: IFdtoCreatePermissionSetReq) => Promise<void>;
|
|
248
|
-
updatePermissionSet: (id: string, dto: IFdtoUpdatePermissionSetReq) => Promise<void>;
|
|
249
|
-
deletePermissionSet: (id: string) => Promise<void>;
|
|
250
|
-
};
|