@feedmepos/mf-hrm-portal 1.1.0-dev → 1.1.2-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-CjrocQS2.js +316 -0
- package/dist/{EmployeeList-tmUqs5a6.js → EmployeeList-CKHgrdAO.js} +157 -150
- package/dist/Main-HzplGv-e.js +85 -0
- package/dist/{main-DOtgCRZe.js → Main-YQ5f-v03.js} +1501 -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-xQ4fjIxa.js +3050 -0
- package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-Cn-3MRBO.js +38 -0
- package/dist/{RoleList-C5xG7LHg.js → RoleList-Bef-7IhW.js} +52 -50
- package/dist/RolePermissionList-BzwpQFeO.js +285 -0
- package/dist/{useSearch-C25VELOk.js → SelectFilter-NbXrJ4iH.js} +90 -101
- package/dist/TeamMemberList-D2Xey_w9.js +949 -0
- package/dist/{TimesheetList-CZfo4Dua.js → TimesheetList-DVIk0Tis.js} +30 -29
- 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 +5 -1
- package/dist/app-DUs516v0.js +2592 -0
- package/dist/app.js +4 -4
- 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/dayjs.min-DVb8OkTL.js +282 -0
- package/dist/employee-jH7EJnhi.js +172 -0
- 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-CicR1-Jp.js +8411 -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-DpoPPi_j.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-CiZSNUQW.js +26 -0
- package/dist/timesheet-BRQvljNj.js +56 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/audit-log.d.ts +19 -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 +1 -4
- package/dist/types/team.d.ts +13 -3
- package/dist/useAppStore-RzLLN5d9.js +180 -0
- package/dist/useLoading-1OqFn86y.js +99 -0
- package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
- package/dist/useSearch-B6WK1LBB.js +15 -0
- package/dist/views/audit-log/locales/index.d.ts +211 -0
- 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 +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 +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/employee-BQc7Wgpu.js +0 -450
- 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/timesheet-B4M1nCIm.js +0 -57
- 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 → audit-log/AuditLogList.vue.d.ts} +0 -0
- /package/dist/views/hr/{main.vue.d.ts → Main.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
|
@@ -0,0 +1,211 @@
|
|
|
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
|
+
outcome_placeholder: string;
|
|
12
|
+
selected_outcome_prefix: string;
|
|
13
|
+
};
|
|
14
|
+
columns: {
|
|
15
|
+
timestamp: string;
|
|
16
|
+
user: string;
|
|
17
|
+
subject: string;
|
|
18
|
+
action: string;
|
|
19
|
+
outcome: string;
|
|
20
|
+
};
|
|
21
|
+
outcome: {
|
|
22
|
+
allowed: string;
|
|
23
|
+
denied: string;
|
|
24
|
+
skipped: string;
|
|
25
|
+
};
|
|
26
|
+
noData: {
|
|
27
|
+
title: string;
|
|
28
|
+
subtitle: string;
|
|
29
|
+
};
|
|
30
|
+
pagination: {
|
|
31
|
+
page: string;
|
|
32
|
+
prevPage: string;
|
|
33
|
+
nextPage: string;
|
|
34
|
+
};
|
|
35
|
+
detail: {
|
|
36
|
+
header: string;
|
|
37
|
+
timestamp: string;
|
|
38
|
+
user: string;
|
|
39
|
+
action: string;
|
|
40
|
+
subject: string;
|
|
41
|
+
field: string;
|
|
42
|
+
outcome: string;
|
|
43
|
+
business: string;
|
|
44
|
+
restaurant: string;
|
|
45
|
+
metadata: string;
|
|
46
|
+
reason: string;
|
|
47
|
+
resolvedFrom: string;
|
|
48
|
+
permissionSet: string;
|
|
49
|
+
requestMethod: string;
|
|
50
|
+
requestPath: string;
|
|
51
|
+
requestBody: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'zh-CN': {
|
|
56
|
+
auditLog: {
|
|
57
|
+
title: string;
|
|
58
|
+
dateRange: {
|
|
59
|
+
placeholder: string;
|
|
60
|
+
};
|
|
61
|
+
filter: {
|
|
62
|
+
outcome_placeholder: string;
|
|
63
|
+
selected_outcome_prefix: string;
|
|
64
|
+
};
|
|
65
|
+
columns: {
|
|
66
|
+
timestamp: string;
|
|
67
|
+
user: string;
|
|
68
|
+
subject: string;
|
|
69
|
+
action: string;
|
|
70
|
+
outcome: string;
|
|
71
|
+
};
|
|
72
|
+
outcome: {
|
|
73
|
+
allowed: string;
|
|
74
|
+
denied: string;
|
|
75
|
+
skipped: string;
|
|
76
|
+
};
|
|
77
|
+
noData: {
|
|
78
|
+
title: string;
|
|
79
|
+
subtitle: string;
|
|
80
|
+
};
|
|
81
|
+
pagination: {
|
|
82
|
+
page: string;
|
|
83
|
+
prevPage: string;
|
|
84
|
+
nextPage: string;
|
|
85
|
+
};
|
|
86
|
+
detail: {
|
|
87
|
+
header: string;
|
|
88
|
+
timestamp: string;
|
|
89
|
+
user: string;
|
|
90
|
+
action: string;
|
|
91
|
+
subject: string;
|
|
92
|
+
field: string;
|
|
93
|
+
outcome: string;
|
|
94
|
+
business: string;
|
|
95
|
+
restaurant: string;
|
|
96
|
+
metadata: string;
|
|
97
|
+
reason: string;
|
|
98
|
+
resolvedFrom: string;
|
|
99
|
+
permissionSet: string;
|
|
100
|
+
request: string;
|
|
101
|
+
requestMethod: string;
|
|
102
|
+
requestPath: string;
|
|
103
|
+
requestBody: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
'th-TH': {
|
|
108
|
+
auditLog: {
|
|
109
|
+
title: string;
|
|
110
|
+
dateRange: {
|
|
111
|
+
placeholder: string;
|
|
112
|
+
};
|
|
113
|
+
filter: {
|
|
114
|
+
outcome_placeholder: string;
|
|
115
|
+
selected_outcome_prefix: string;
|
|
116
|
+
};
|
|
117
|
+
columns: {
|
|
118
|
+
timestamp: string;
|
|
119
|
+
user: string;
|
|
120
|
+
subject: string;
|
|
121
|
+
action: string;
|
|
122
|
+
outcome: string;
|
|
123
|
+
};
|
|
124
|
+
outcome: {
|
|
125
|
+
allowed: string;
|
|
126
|
+
denied: string;
|
|
127
|
+
skipped: string;
|
|
128
|
+
};
|
|
129
|
+
noData: {
|
|
130
|
+
title: string;
|
|
131
|
+
subtitle: string;
|
|
132
|
+
};
|
|
133
|
+
pagination: {
|
|
134
|
+
page: string;
|
|
135
|
+
prevPage: string;
|
|
136
|
+
nextPage: string;
|
|
137
|
+
};
|
|
138
|
+
detail: {
|
|
139
|
+
header: string;
|
|
140
|
+
timestamp: string;
|
|
141
|
+
user: string;
|
|
142
|
+
action: string;
|
|
143
|
+
subject: string;
|
|
144
|
+
field: string;
|
|
145
|
+
outcome: string;
|
|
146
|
+
business: string;
|
|
147
|
+
restaurant: string;
|
|
148
|
+
metadata: string;
|
|
149
|
+
reason: string;
|
|
150
|
+
resolvedFrom: string;
|
|
151
|
+
permissionSet: string;
|
|
152
|
+
request: string;
|
|
153
|
+
requestMethod: string;
|
|
154
|
+
requestPath: string;
|
|
155
|
+
requestBody: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
'zh-Hant': {
|
|
160
|
+
auditLog: {
|
|
161
|
+
title: string;
|
|
162
|
+
dateRange: {
|
|
163
|
+
placeholder: string;
|
|
164
|
+
};
|
|
165
|
+
filter: {
|
|
166
|
+
outcome_placeholder: string;
|
|
167
|
+
selected_outcome_prefix: string;
|
|
168
|
+
};
|
|
169
|
+
columns: {
|
|
170
|
+
timestamp: string;
|
|
171
|
+
user: string;
|
|
172
|
+
subject: string;
|
|
173
|
+
action: string;
|
|
174
|
+
outcome: string;
|
|
175
|
+
};
|
|
176
|
+
outcome: {
|
|
177
|
+
allowed: string;
|
|
178
|
+
denied: string;
|
|
179
|
+
skipped: string;
|
|
180
|
+
};
|
|
181
|
+
noData: {
|
|
182
|
+
title: string;
|
|
183
|
+
subtitle: string;
|
|
184
|
+
};
|
|
185
|
+
pagination: {
|
|
186
|
+
page: string;
|
|
187
|
+
prevPage: string;
|
|
188
|
+
nextPage: string;
|
|
189
|
+
};
|
|
190
|
+
detail: {
|
|
191
|
+
header: string;
|
|
192
|
+
timestamp: string;
|
|
193
|
+
user: string;
|
|
194
|
+
action: string;
|
|
195
|
+
subject: string;
|
|
196
|
+
field: string;
|
|
197
|
+
outcome: string;
|
|
198
|
+
business: string;
|
|
199
|
+
restaurant: string;
|
|
200
|
+
metadata: string;
|
|
201
|
+
reason: string;
|
|
202
|
+
resolvedFrom: string;
|
|
203
|
+
permissionSet: string;
|
|
204
|
+
request: string;
|
|
205
|
+
requestMethod: string;
|
|
206
|
+
requestPath: string;
|
|
207
|
+
requestBody: string;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
};
|
|
@@ -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 (): {
|
|
@@ -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,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;
|