@feedmepos/mf-hrm-portal 1.1.6-dev → 2.0.0
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-Cm3ueTso.js +474 -0
- package/dist/EmployeeList-vMcIqBU_.js +626 -0
- package/dist/{main-C370wsCl.js → Main-CeGYov-a.js} +1502 -1531
- package/dist/Main-gHCENd4i.js +86 -0
- 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/PermissionSetList-Dw69OYF4.js +323 -0
- package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-bvPOPUhu.js +3092 -0
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js +38 -0
- package/dist/RoleList-D1CrixYc.js +497 -0
- package/dist/{useSearch-C25VELOk.js → SelectFilter-NbXrJ4iH.js} +90 -101
- package/dist/TeamMemberList-M0Q8CP4h.js +973 -0
- package/dist/{TimesheetList-qaolOL4w.js → TimesheetList-BmOfy0pc.js} +31 -29
- package/dist/api/audit-log/index.d.ts +14 -0
- package/dist/api/index.d.ts +5 -0
- package/dist/api/permission-assignment/index.d.ts +10 -0
- package/dist/api/permission-set/index.d.ts +8 -0
- package/dist/api/report-query/index.d.ts +5 -0
- package/dist/api/team/index.d.ts +2 -1
- package/dist/app-RUdgf-7_.js +3286 -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/useReportPermissions.d.ts +14 -0
- package/dist/composables/useRestaurantMap.d.ts +4 -8
- package/dist/composables/useSheet.d.ts +1 -1
- package/dist/dayjs.min-D9w2-Exz.js +282 -0
- package/dist/employee-B3jBmvNJ.js +144 -0
- package/dist/helpers/permission-set.d.ts +69 -0
- package/dist/helpers/portal-user.d.ts +8 -0
- package/dist/helpers/rule.d.ts +5 -4
- package/dist/index-BMVQbdBd.js +827 -0
- package/dist/index-BS6B6k7h.js +10340 -0
- package/dist/{empty-placeholder-ey8LJtN1.js → index.vue_vue_type_script_setup_true_lang-Vc5ARO29.js} +43 -2
- package/dist/{lodash-B5BTJU4_.js → lodash-CglPbFKR.js} +326 -343
- package/dist/router/shared.d.ts +4 -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 +265 -0
- package/dist/stores/role.d.ts +4 -4
- package/dist/stores/team.d.ts +300 -0
- package/dist/stores/timesheet.d.ts +19 -19
- package/dist/style.css +1 -1
- package/dist/team-afjBSzOz.js +33 -0
- package/dist/{timesheet-Cy-jSzje.js → timesheet-fOBJOS1i.js} +14 -14
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/audit-log.d.ts +1 -0
- package/dist/types/permission-assignment.d.ts +20 -0
- package/dist/types/permission-set.d.ts +24 -0
- package/dist/types/report-query.d.ts +6 -0
- package/dist/types/team.d.ts +13 -3
- package/dist/useAppStore-D-SLROq6.js +168 -0
- package/dist/useLoading-CLQGJW7G.js +99 -0
- package/dist/useReportPermissions-Cx4ghxj6.js +65 -0
- package/dist/{useRestaurantMap-CpS9-OSq.js → useRestaurantMap-D5BNPLKh.js} +7 -7
- package/dist/useSearch-B6WK1LBB.js +15 -0
- package/dist/views/audit-log/locales/index.d.ts +295 -0
- package/dist/views/hr/employee/{components/EmployeeForm.vue.d.ts → EmployeeForm.vue.d.ts} +10 -7
- package/dist/views/team/Main.vue.d.ts +2 -0
- package/dist/views/team/components/BasePermission.vue.d.ts +64 -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 +200 -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/permission-set/PermissionSetForm.vue.d.ts +19 -0
- package/dist/views/team/permission-set/PermissionSetList.vue.d.ts +5 -0
- package/package.json +15 -8
- package/dist/EmployeeList-CP42mLpi.js +0 -605
- package/dist/RoleList-CsctaXlu.js +0 -492
- package/dist/TeamMemberList-DtXoUa5K.js +0 -1508
- package/dist/app-G_Dbs0OJ.js +0 -1202
- package/dist/employee-BTWpYxn5.js +0 -449
- package/dist/index-8ift6lz3.js +0 -57
- package/dist/rule-CM7JgjNr.js +0 -142112
- package/dist/types/permission.d.ts +0 -4
- package/dist/useAppStore-zINIo0LR.js +0 -93
- package/dist/useLoading-CWBRIBiy.js +0 -141
- 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/main.vue.d.ts → audit-log/AuditLogList.vue.d.ts} +0 -0
- /package/dist/views/{team/TeamMemberList.vue.d.ts → hr/Main.vue.d.ts} +0 -0
- /package/dist/views/team/{components → member}/MemberInfo.vue.d.ts +0 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
import * as enUS from './en-US.json';
|
|
2
|
+
export type AppMessagesSchema = typeof enUS;
|
|
3
|
+
export declare const i18nMessages: {
|
|
4
|
+
'en-US': {
|
|
5
|
+
auditLog: {
|
|
6
|
+
title: string;
|
|
7
|
+
dateRange: {
|
|
8
|
+
placeholder: string;
|
|
9
|
+
};
|
|
10
|
+
filter: {
|
|
11
|
+
user_placeholder: string;
|
|
12
|
+
selected_user_prefix: string;
|
|
13
|
+
subject_placeholder: string;
|
|
14
|
+
selected_subject_prefix: string;
|
|
15
|
+
action_placeholder: string;
|
|
16
|
+
selected_action_prefix: string;
|
|
17
|
+
status_placeholder: string;
|
|
18
|
+
selected_status_prefix: string;
|
|
19
|
+
outcome_placeholder: string;
|
|
20
|
+
selected_outcome_prefix: string;
|
|
21
|
+
};
|
|
22
|
+
action: {
|
|
23
|
+
manage: string;
|
|
24
|
+
create: string;
|
|
25
|
+
read: string;
|
|
26
|
+
update: string;
|
|
27
|
+
delete: string;
|
|
28
|
+
};
|
|
29
|
+
columns: {
|
|
30
|
+
timestamp: string;
|
|
31
|
+
user: string;
|
|
32
|
+
subject: string;
|
|
33
|
+
action: string;
|
|
34
|
+
operation: string;
|
|
35
|
+
outcome: string;
|
|
36
|
+
};
|
|
37
|
+
outcome: {
|
|
38
|
+
allowed: string;
|
|
39
|
+
denied: string;
|
|
40
|
+
skipped: string;
|
|
41
|
+
};
|
|
42
|
+
noData: {
|
|
43
|
+
title: string;
|
|
44
|
+
subtitle: string;
|
|
45
|
+
};
|
|
46
|
+
pagination: {
|
|
47
|
+
page: string;
|
|
48
|
+
prevPage: string;
|
|
49
|
+
nextPage: string;
|
|
50
|
+
};
|
|
51
|
+
detail: {
|
|
52
|
+
header: string;
|
|
53
|
+
timestamp: string;
|
|
54
|
+
user: string;
|
|
55
|
+
email: string;
|
|
56
|
+
action: string;
|
|
57
|
+
operation: string;
|
|
58
|
+
subject: string;
|
|
59
|
+
field: string;
|
|
60
|
+
outcome: string;
|
|
61
|
+
business: string;
|
|
62
|
+
restaurant: string;
|
|
63
|
+
metadata: string;
|
|
64
|
+
reason: string;
|
|
65
|
+
resolvedFrom: string;
|
|
66
|
+
permissionSet: string;
|
|
67
|
+
permissionTrace: string;
|
|
68
|
+
decisivePermission: string;
|
|
69
|
+
decisiveRule: string;
|
|
70
|
+
requestMethod: string;
|
|
71
|
+
requestPath: string;
|
|
72
|
+
requestBody: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
'zh-CN': {
|
|
77
|
+
auditLog: {
|
|
78
|
+
title: string;
|
|
79
|
+
dateRange: {
|
|
80
|
+
placeholder: string;
|
|
81
|
+
};
|
|
82
|
+
filter: {
|
|
83
|
+
user_placeholder: string;
|
|
84
|
+
selected_user_prefix: string;
|
|
85
|
+
subject_placeholder: string;
|
|
86
|
+
selected_subject_prefix: string;
|
|
87
|
+
action_placeholder: string;
|
|
88
|
+
selected_action_prefix: string;
|
|
89
|
+
status_placeholder: string;
|
|
90
|
+
selected_status_prefix: string;
|
|
91
|
+
outcome_placeholder: string;
|
|
92
|
+
selected_outcome_prefix: string;
|
|
93
|
+
};
|
|
94
|
+
action: {
|
|
95
|
+
manage: string;
|
|
96
|
+
create: string;
|
|
97
|
+
read: string;
|
|
98
|
+
update: string;
|
|
99
|
+
delete: string;
|
|
100
|
+
};
|
|
101
|
+
columns: {
|
|
102
|
+
timestamp: string;
|
|
103
|
+
user: string;
|
|
104
|
+
subject: string;
|
|
105
|
+
action: string;
|
|
106
|
+
operation: string;
|
|
107
|
+
outcome: string;
|
|
108
|
+
};
|
|
109
|
+
outcome: {
|
|
110
|
+
allowed: string;
|
|
111
|
+
denied: string;
|
|
112
|
+
skipped: string;
|
|
113
|
+
};
|
|
114
|
+
noData: {
|
|
115
|
+
title: string;
|
|
116
|
+
subtitle: string;
|
|
117
|
+
};
|
|
118
|
+
pagination: {
|
|
119
|
+
page: string;
|
|
120
|
+
prevPage: string;
|
|
121
|
+
nextPage: string;
|
|
122
|
+
};
|
|
123
|
+
detail: {
|
|
124
|
+
header: string;
|
|
125
|
+
timestamp: string;
|
|
126
|
+
user: string;
|
|
127
|
+
email: string;
|
|
128
|
+
action: string;
|
|
129
|
+
operation: string;
|
|
130
|
+
subject: string;
|
|
131
|
+
field: string;
|
|
132
|
+
outcome: string;
|
|
133
|
+
business: string;
|
|
134
|
+
restaurant: string;
|
|
135
|
+
metadata: string;
|
|
136
|
+
reason: string;
|
|
137
|
+
resolvedFrom: string;
|
|
138
|
+
permissionSet: string;
|
|
139
|
+
permissionTrace: string;
|
|
140
|
+
decisivePermission: string;
|
|
141
|
+
decisiveRule: string;
|
|
142
|
+
request: string;
|
|
143
|
+
requestMethod: string;
|
|
144
|
+
requestPath: string;
|
|
145
|
+
requestBody: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
'th-TH': {
|
|
150
|
+
auditLog: {
|
|
151
|
+
title: string;
|
|
152
|
+
dateRange: {
|
|
153
|
+
placeholder: string;
|
|
154
|
+
};
|
|
155
|
+
filter: {
|
|
156
|
+
user_placeholder: string;
|
|
157
|
+
selected_user_prefix: string;
|
|
158
|
+
subject_placeholder: string;
|
|
159
|
+
selected_subject_prefix: string;
|
|
160
|
+
action_placeholder: string;
|
|
161
|
+
selected_action_prefix: string;
|
|
162
|
+
status_placeholder: string;
|
|
163
|
+
selected_status_prefix: string;
|
|
164
|
+
outcome_placeholder: string;
|
|
165
|
+
selected_outcome_prefix: string;
|
|
166
|
+
};
|
|
167
|
+
action: {
|
|
168
|
+
manage: string;
|
|
169
|
+
create: string;
|
|
170
|
+
read: string;
|
|
171
|
+
update: string;
|
|
172
|
+
delete: string;
|
|
173
|
+
};
|
|
174
|
+
columns: {
|
|
175
|
+
timestamp: string;
|
|
176
|
+
user: string;
|
|
177
|
+
subject: string;
|
|
178
|
+
action: string;
|
|
179
|
+
operation: string;
|
|
180
|
+
outcome: string;
|
|
181
|
+
};
|
|
182
|
+
outcome: {
|
|
183
|
+
allowed: string;
|
|
184
|
+
denied: string;
|
|
185
|
+
skipped: string;
|
|
186
|
+
};
|
|
187
|
+
noData: {
|
|
188
|
+
title: string;
|
|
189
|
+
subtitle: string;
|
|
190
|
+
};
|
|
191
|
+
pagination: {
|
|
192
|
+
page: string;
|
|
193
|
+
prevPage: string;
|
|
194
|
+
nextPage: string;
|
|
195
|
+
};
|
|
196
|
+
detail: {
|
|
197
|
+
header: string;
|
|
198
|
+
timestamp: string;
|
|
199
|
+
user: string;
|
|
200
|
+
email: string;
|
|
201
|
+
action: string;
|
|
202
|
+
operation: string;
|
|
203
|
+
subject: string;
|
|
204
|
+
field: string;
|
|
205
|
+
outcome: string;
|
|
206
|
+
business: string;
|
|
207
|
+
restaurant: string;
|
|
208
|
+
metadata: string;
|
|
209
|
+
reason: string;
|
|
210
|
+
resolvedFrom: string;
|
|
211
|
+
permissionSet: string;
|
|
212
|
+
permissionTrace: string;
|
|
213
|
+
decisivePermission: string;
|
|
214
|
+
decisiveRule: string;
|
|
215
|
+
request: string;
|
|
216
|
+
requestMethod: string;
|
|
217
|
+
requestPath: string;
|
|
218
|
+
requestBody: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
'zh-Hant': {
|
|
223
|
+
auditLog: {
|
|
224
|
+
title: string;
|
|
225
|
+
dateRange: {
|
|
226
|
+
placeholder: string;
|
|
227
|
+
};
|
|
228
|
+
filter: {
|
|
229
|
+
user_placeholder: string;
|
|
230
|
+
selected_user_prefix: string;
|
|
231
|
+
subject_placeholder: string;
|
|
232
|
+
selected_subject_prefix: string;
|
|
233
|
+
action_placeholder: string;
|
|
234
|
+
selected_action_prefix: string;
|
|
235
|
+
status_placeholder: string;
|
|
236
|
+
selected_status_prefix: string;
|
|
237
|
+
outcome_placeholder: string;
|
|
238
|
+
selected_outcome_prefix: string;
|
|
239
|
+
};
|
|
240
|
+
action: {
|
|
241
|
+
manage: string;
|
|
242
|
+
create: string;
|
|
243
|
+
read: string;
|
|
244
|
+
update: string;
|
|
245
|
+
delete: string;
|
|
246
|
+
};
|
|
247
|
+
columns: {
|
|
248
|
+
timestamp: string;
|
|
249
|
+
user: string;
|
|
250
|
+
subject: string;
|
|
251
|
+
action: string;
|
|
252
|
+
operation: string;
|
|
253
|
+
outcome: string;
|
|
254
|
+
};
|
|
255
|
+
outcome: {
|
|
256
|
+
allowed: string;
|
|
257
|
+
denied: string;
|
|
258
|
+
skipped: string;
|
|
259
|
+
};
|
|
260
|
+
noData: {
|
|
261
|
+
title: string;
|
|
262
|
+
subtitle: string;
|
|
263
|
+
};
|
|
264
|
+
pagination: {
|
|
265
|
+
page: string;
|
|
266
|
+
prevPage: string;
|
|
267
|
+
nextPage: string;
|
|
268
|
+
};
|
|
269
|
+
detail: {
|
|
270
|
+
header: string;
|
|
271
|
+
timestamp: string;
|
|
272
|
+
user: string;
|
|
273
|
+
email: string;
|
|
274
|
+
action: string;
|
|
275
|
+
operation: string;
|
|
276
|
+
subject: string;
|
|
277
|
+
field: string;
|
|
278
|
+
outcome: string;
|
|
279
|
+
business: string;
|
|
280
|
+
restaurant: string;
|
|
281
|
+
metadata: string;
|
|
282
|
+
reason: string;
|
|
283
|
+
resolvedFrom: string;
|
|
284
|
+
permissionSet: string;
|
|
285
|
+
permissionTrace: string;
|
|
286
|
+
decisivePermission: string;
|
|
287
|
+
decisiveRule: string;
|
|
288
|
+
request: string;
|
|
289
|
+
requestMethod: string;
|
|
290
|
+
requestPath: string;
|
|
291
|
+
requestBody: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
};
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import type { EmployeeData } from '@/types/employee';
|
|
2
|
-
declare
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
trigger: (data?: EmployeeData) => void;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
9
|
roleErrorMessage: {
|
|
4
10
|
type: StringConstructor;
|
|
5
11
|
default: string;
|
|
6
12
|
};
|
|
7
13
|
}>, {
|
|
8
14
|
show: import("vue").Ref<boolean, boolean>;
|
|
9
|
-
trigger: (data?: EmployeeData
|
|
15
|
+
trigger: (data?: EmployeeData) => void;
|
|
10
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
17
|
roleErrorMessage: {
|
|
12
18
|
type: StringConstructor;
|
|
@@ -14,11 +20,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
14
20
|
};
|
|
15
21
|
}>> & Readonly<{}>, {
|
|
16
22
|
roleErrorMessage: string;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
18
|
-
|
|
19
|
-
trigger: (data?: EmployeeData | undefined) => void;
|
|
20
|
-
}) => any) | undefined;
|
|
21
|
-
}>;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
22
25
|
export default _default;
|
|
23
26
|
type __VLS_WithSlots<T, S> = T & {
|
|
24
27
|
new (): {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
[K in NonNullable<typeof __VLS_9>]?: (props: typeof __VLS_10) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: PropType<FdoPermissionRule[]>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
disable: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
excludedSubjects: {
|
|
19
|
+
type: PropType<string[]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
+
"update:model-value": (subject: {
|
|
24
|
+
reason?: string | null | undefined;
|
|
25
|
+
conditions?: any;
|
|
26
|
+
fields?: string[] | null | undefined;
|
|
27
|
+
inverted?: boolean | null | undefined;
|
|
28
|
+
label: string;
|
|
29
|
+
subject: string;
|
|
30
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
31
|
+
}[]) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
+
modelValue: {
|
|
34
|
+
type: PropType<FdoPermissionRule[]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
disable: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
excludedSubjects: {
|
|
42
|
+
type: PropType<string[]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{
|
|
46
|
+
"onUpdate:model-value"?: ((subject: {
|
|
47
|
+
reason?: string | null | undefined;
|
|
48
|
+
conditions?: any;
|
|
49
|
+
fields?: string[] | null | undefined;
|
|
50
|
+
inverted?: boolean | null | undefined;
|
|
51
|
+
label: string;
|
|
52
|
+
subject: string;
|
|
53
|
+
actions: ("update" | "create" | "read" | "delete" | "manage")[];
|
|
54
|
+
}[]) => any) | undefined;
|
|
55
|
+
}>, {
|
|
56
|
+
disable: boolean;
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
@@ -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
|
+
};
|