@data-fair/lib-vuetify 1.13.3 → 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/date-match-filter.vue.js +98 -74
- package/date-range-picker.vue.d.ts +3 -3
- package/date-range-picker.vue.js +96 -85
- package/index.js +6 -0
- package/lang-switcher.vue.js +78 -89
- package/navigation-right.vue +27 -3
- package/navigation-right.vue.d.ts +7 -10
- package/navigation-right.vue.js +163 -99
- package/owner-avatar.vue +2 -2
- package/owner-avatar.vue.d.ts +3 -9
- package/owner-avatar.vue.js +62 -64
- package/owner-pick.vue.d.ts +4 -4
- package/owner-pick.vue.js +68 -78
- package/package.json +2 -2
- package/personal-menu.vue +1 -1
- package/personal-menu.vue.d.ts +5 -9
- package/personal-menu.vue.js +426 -311
- package/search-address.vue.d.ts +2 -0
- package/search-address.vue.js +51 -50
- package/search-field.vue +29 -0
- package/search-field.vue.d.ts +2 -0
- package/search-field.vue.js +53 -0
- package/theme-switcher.vue +1 -1
- package/theme-switcher.vue.js +155 -110
- package/tutorial-alert.vue.d.ts +2 -2
- package/tutorial-alert.vue.js +111 -90
- package/ui-notif-alert.vue.js +35 -64
- package/ui-notif.vue.js +75 -89
- package/user-avatar.vue.js +61 -63
package/personal-menu.vue.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import { computed, toRefs } from 'vue';
|
|
3
3
|
import { useI18n } from 'vue-i18n';
|
|
4
4
|
import { useSession } from '@data-fair/lib-vue/session.js';
|
|
5
5
|
import UserAvatar from './user-avatar.vue';
|
|
6
6
|
import { mdiAlert, mdiShieldAlert, mdiLogout, mdiAccountSwitchOutline } from '@mdi/js';
|
|
7
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
8
7
|
const session = useSession();
|
|
9
8
|
const { t } = useI18n({ useScope: 'local' });
|
|
10
9
|
const { user, account, organization } = toRefs(session.state);
|
|
@@ -14,350 +13,466 @@ const switchableOrganizations = computed(() => {
|
|
|
14
13
|
return;
|
|
15
14
|
return user.organizations.filter(o => account.type === 'user' || account.id !== o.id || (account.department || null) !== (o.department || null) || (accountRole || null) !== (o.role || null));
|
|
16
15
|
});
|
|
17
|
-
|
|
18
|
-
;
|
|
19
|
-
let
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
16
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
17
|
+
const __VLS_ctx = {};
|
|
18
|
+
let __VLS_components;
|
|
19
|
+
let __VLS_directives;
|
|
20
|
+
// CSS variable injection
|
|
21
|
+
// CSS variable injection end
|
|
22
|
+
const __VLS_0 = {}.VToolbarItems;
|
|
23
|
+
/** @type {[typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, ]} */ ;
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
26
|
+
...{ class: "personal-menu" },
|
|
27
|
+
}));
|
|
28
|
+
const __VLS_2 = __VLS_1({
|
|
29
|
+
...{ class: "personal-menu" },
|
|
30
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
31
|
+
var __VLS_4 = {};
|
|
32
|
+
__VLS_3.slots.default;
|
|
33
|
+
if (!__VLS_ctx.user || !__VLS_ctx.account) {
|
|
34
|
+
const __VLS_5 = {}.VBtn;
|
|
35
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
|
|
38
|
+
depressed: true,
|
|
39
|
+
color: "primary",
|
|
40
|
+
href: (__VLS_ctx.session.loginUrl()),
|
|
41
|
+
}));
|
|
42
|
+
const __VLS_7 = __VLS_6({
|
|
43
|
+
depressed: true,
|
|
44
|
+
color: "primary",
|
|
45
|
+
href: (__VLS_ctx.session.loginUrl()),
|
|
46
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_6));
|
|
47
|
+
__VLS_asFunctionalDirective(__VLS_directives.vT)(null, { ...__VLS_directiveBindingRestFields, value: ('login') }, null, null);
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
const __VLS_9 = {}.VMenu;
|
|
51
|
+
/** @type {[typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, ]} */ ;
|
|
39
52
|
// @ts-ignore
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
54
|
+
offsetY: true,
|
|
55
|
+
...{ class: "ml-n4" },
|
|
56
|
+
maxHeight: "700",
|
|
57
|
+
}));
|
|
58
|
+
const __VLS_11 = __VLS_10({
|
|
59
|
+
offsetY: true,
|
|
60
|
+
...{ class: "ml-n4" },
|
|
61
|
+
maxHeight: "700",
|
|
62
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
63
|
+
__VLS_12.slots.default;
|
|
64
|
+
{
|
|
65
|
+
const { activator: __VLS_thisSlot } = __VLS_12.slots;
|
|
66
|
+
const { props: activatorProps } = __VLS_getSlotParam(__VLS_thisSlot);
|
|
67
|
+
const __VLS_13 = {}.VBtn;
|
|
68
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
45
69
|
// @ts-ignore
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
|
|
70
|
+
const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
|
|
71
|
+
...{ class: "px-0" },
|
|
72
|
+
title: (__VLS_ctx.t('openPersonalMenu')),
|
|
73
|
+
...(activatorProps),
|
|
74
|
+
}));
|
|
75
|
+
const __VLS_15 = __VLS_14({
|
|
76
|
+
...{ class: "px-0" },
|
|
77
|
+
title: (__VLS_ctx.t('openPersonalMenu')),
|
|
78
|
+
...(activatorProps),
|
|
79
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_14));
|
|
80
|
+
__VLS_16.slots.default;
|
|
81
|
+
/** @type {[typeof UserAvatar, ]} */ ;
|
|
53
82
|
// @ts-ignore
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({ ...{ class: ("px-0") }, title: ((__VLS_ctx.t('openPersonalMenu'))), ...(activatorProps), }));
|
|
64
|
-
const __VLS_20 = __VLS_19({ ...{ class: ("px-0") }, title: ((__VLS_ctx.t('openPersonalMenu'))), ...(activatorProps), }, ...__VLS_functionalComponentArgsRest(__VLS_19));
|
|
65
|
-
// @ts-ignore
|
|
66
|
-
[UserAvatar,];
|
|
83
|
+
const __VLS_17 = __VLS_asFunctionalComponent(UserAvatar, new UserAvatar({
|
|
84
|
+
showAccount: true,
|
|
85
|
+
}));
|
|
86
|
+
const __VLS_18 = __VLS_17({
|
|
87
|
+
showAccount: true,
|
|
88
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_17));
|
|
89
|
+
if (__VLS_ctx.user.pd) {
|
|
90
|
+
const __VLS_20 = {}.VIcon;
|
|
91
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
67
92
|
// @ts-ignore
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
const __VLS_23 = __VLS_pickFunctionalComponentCtx(__VLS_18, __VLS_20);
|
|
93
|
+
const __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
|
|
94
|
+
color: "warning",
|
|
95
|
+
...{ style: {} },
|
|
96
|
+
icon: (__VLS_ctx.mdiAlert),
|
|
97
|
+
}));
|
|
98
|
+
const __VLS_22 = __VLS_21({
|
|
99
|
+
color: "warning",
|
|
100
|
+
...{ style: {} },
|
|
101
|
+
icon: (__VLS_ctx.mdiAlert),
|
|
102
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_21));
|
|
79
103
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
104
|
+
var __VLS_16;
|
|
105
|
+
}
|
|
106
|
+
const __VLS_24 = {}.VList;
|
|
107
|
+
/** @type {[typeof __VLS_components.VList, typeof __VLS_components.vList, typeof __VLS_components.VList, typeof __VLS_components.vList, ]} */ ;
|
|
108
|
+
// @ts-ignore
|
|
109
|
+
const __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({
|
|
110
|
+
outlined: true,
|
|
111
|
+
...{ class: "py-0 border-sm" },
|
|
112
|
+
}));
|
|
113
|
+
const __VLS_26 = __VLS_25({
|
|
114
|
+
outlined: true,
|
|
115
|
+
...{ class: "py-0 border-sm" },
|
|
116
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_25));
|
|
117
|
+
__VLS_27.slots.default;
|
|
118
|
+
const __VLS_28 = {}.VListItem;
|
|
119
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
120
|
+
// @ts-ignore
|
|
121
|
+
const __VLS_29 = __VLS_asFunctionalComponent(__VLS_28, new __VLS_28({
|
|
122
|
+
disabled: true,
|
|
123
|
+
...{ style: (__VLS_ctx.account.type !== 'user' ? 'padding-left:0' : '') },
|
|
124
|
+
...{ class: "text--secondary" },
|
|
125
|
+
}));
|
|
126
|
+
const __VLS_30 = __VLS_29({
|
|
127
|
+
disabled: true,
|
|
128
|
+
...{ style: (__VLS_ctx.account.type !== 'user' ? 'padding-left:0' : '') },
|
|
129
|
+
...{ class: "text--secondary" },
|
|
130
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_29));
|
|
131
|
+
__VLS_31.slots.default;
|
|
132
|
+
{
|
|
133
|
+
const { prepend: __VLS_thisSlot } = __VLS_31.slots;
|
|
134
|
+
/** @type {[typeof UserAvatar, ]} */ ;
|
|
87
135
|
// @ts-ignore
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
136
|
+
const __VLS_32 = __VLS_asFunctionalComponent(UserAvatar, new UserAvatar({
|
|
137
|
+
showAccount: true,
|
|
138
|
+
...{ style: {} },
|
|
139
|
+
}));
|
|
140
|
+
const __VLS_33 = __VLS_32({
|
|
141
|
+
showAccount: true,
|
|
142
|
+
...{ style: {} },
|
|
143
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_32));
|
|
144
|
+
}
|
|
145
|
+
const __VLS_35 = {}.VListItemTitle;
|
|
146
|
+
/** @type {[typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ]} */ ;
|
|
147
|
+
// @ts-ignore
|
|
148
|
+
const __VLS_36 = __VLS_asFunctionalComponent(__VLS_35, new __VLS_35({}));
|
|
149
|
+
const __VLS_37 = __VLS_36({}, ...__VLS_functionalComponentArgsRest(__VLS_36));
|
|
150
|
+
__VLS_38.slots.default;
|
|
151
|
+
(__VLS_ctx.account.type === 'user' ? __VLS_ctx.t('personalAccount') : __VLS_ctx.account.name);
|
|
152
|
+
var __VLS_38;
|
|
153
|
+
if (__VLS_ctx.account.department || __VLS_ctx.organization?.roleLabel) {
|
|
154
|
+
const __VLS_39 = {}.VListItemSubtitle;
|
|
155
|
+
/** @type {[typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, ]} */ ;
|
|
101
156
|
// @ts-ignore
|
|
102
|
-
const
|
|
103
|
-
const
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
157
|
+
const __VLS_40 = __VLS_asFunctionalComponent(__VLS_39, new __VLS_39({}));
|
|
158
|
+
const __VLS_41 = __VLS_40({}, ...__VLS_functionalComponentArgsRest(__VLS_40));
|
|
159
|
+
__VLS_42.slots.default;
|
|
160
|
+
(__VLS_ctx.account.departmentName || __VLS_ctx.account.department);
|
|
161
|
+
(__VLS_ctx.organization?.roleLabel);
|
|
162
|
+
var __VLS_42;
|
|
163
|
+
}
|
|
164
|
+
const __VLS_43 = {}.VListItemSubtitle;
|
|
165
|
+
/** @type {[typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, ]} */ ;
|
|
166
|
+
// @ts-ignore
|
|
167
|
+
const __VLS_44 = __VLS_asFunctionalComponent(__VLS_43, new __VLS_43({}));
|
|
168
|
+
const __VLS_45 = __VLS_44({}, ...__VLS_functionalComponentArgsRest(__VLS_44));
|
|
169
|
+
__VLS_46.slots.default;
|
|
170
|
+
(__VLS_ctx.user.name);
|
|
171
|
+
var __VLS_46;
|
|
172
|
+
var __VLS_31;
|
|
173
|
+
if (__VLS_ctx.user.organizations.length > 1 || (__VLS_ctx.user.organizations.length === 1 && (!__VLS_ctx.user.ipa || __VLS_ctx.account.type === 'user'))) {
|
|
174
|
+
const __VLS_47 = {}.VListSubheader;
|
|
175
|
+
/** @type {[typeof __VLS_components.VListSubheader, typeof __VLS_components.vListSubheader, ]} */ ;
|
|
120
176
|
// @ts-ignore
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
177
|
+
const __VLS_48 = __VLS_asFunctionalComponent(__VLS_47, new __VLS_47({
|
|
178
|
+
...{ style: {} },
|
|
179
|
+
}));
|
|
180
|
+
const __VLS_49 = __VLS_48({
|
|
181
|
+
...{ style: {} },
|
|
182
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_48));
|
|
183
|
+
__VLS_asFunctionalDirective(__VLS_directives.vT)(null, { ...__VLS_directiveBindingRestFields, value: ('switchAccount') }, null, null);
|
|
184
|
+
if (__VLS_ctx.account.type !== 'user' && !__VLS_ctx.user.ipa) {
|
|
185
|
+
const __VLS_51 = {}.VListItem;
|
|
186
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
130
187
|
// @ts-ignore
|
|
131
|
-
const
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
};
|
|
152
|
-
let __VLS_79;
|
|
153
|
-
let __VLS_80;
|
|
154
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
155
|
-
{
|
|
156
|
-
const { prepend: __VLS_thisSlot } = __VLS_nonNullable(__VLS_81.slots);
|
|
157
|
-
const __VLS_84 = __VLS_resolvedLocalAndGlobalComponents.VAvatar;
|
|
158
|
-
/** @type { [typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ] } */
|
|
159
|
-
// @ts-ignore
|
|
160
|
-
const __VLS_85 = __VLS_asFunctionalComponent(__VLS_84, new __VLS_84({ size: ((28)), image: ((`${__VLS_ctx.session.options.directoryUrl}/api/avatars/user/${__VLS_ctx.user.id}/avatar.png`)), }));
|
|
161
|
-
const __VLS_86 = __VLS_85({ size: ((28)), image: ((`${__VLS_ctx.session.options.directoryUrl}/api/avatars/user/${__VLS_ctx.user.id}/avatar.png`)), }, ...__VLS_functionalComponentArgsRest(__VLS_85));
|
|
162
|
-
}
|
|
163
|
-
const __VLS_90 = __VLS_resolvedLocalAndGlobalComponents.VListItemTitle;
|
|
164
|
-
/** @type { [typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ] } */
|
|
165
|
-
// @ts-ignore
|
|
166
|
-
const __VLS_91 = __VLS_asFunctionalComponent(__VLS_90, new __VLS_90({}));
|
|
167
|
-
const __VLS_92 = __VLS_91({}, ...__VLS_functionalComponentArgsRest(__VLS_91));
|
|
168
|
-
__VLS_directiveAsFunction(__VLS_directives.vT)(null, { ...__VLS_directiveBindingRestFields, value: ('personalAccount') }, null, null);
|
|
169
|
-
const __VLS_81 = __VLS_pickFunctionalComponentCtx(__VLS_76, __VLS_78);
|
|
170
|
-
}
|
|
171
|
-
for (const [organization] of __VLS_getVForSourceType((__VLS_ctx.switchableOrganizations))) {
|
|
172
|
-
const __VLS_96 = __VLS_resolvedLocalAndGlobalComponents.VListItem;
|
|
173
|
-
/** @type { [typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ] } */
|
|
174
|
-
// @ts-ignore
|
|
175
|
-
const __VLS_97 = __VLS_asFunctionalComponent(__VLS_96, new __VLS_96({ ...{ 'onClick': {} }, id: (('toolbar-menu-switch-orga-' + organization.id)), key: ((organization.id)), }));
|
|
176
|
-
const __VLS_98 = __VLS_97({ ...{ 'onClick': {} }, id: (('toolbar-menu-switch-orga-' + organization.id)), key: ((organization.id)), }, ...__VLS_functionalComponentArgsRest(__VLS_97));
|
|
177
|
-
let __VLS_102;
|
|
178
|
-
const __VLS_103 = {
|
|
179
|
-
onClick: (...[$event]) => {
|
|
180
|
-
if (!(!((!__VLS_ctx.user || !__VLS_ctx.account))))
|
|
181
|
-
return;
|
|
182
|
-
if (!((__VLS_ctx.user.organizations.length > 1 || (__VLS_ctx.user.organizations.length === 1 && (!__VLS_ctx.user.ipa || __VLS_ctx.account.type === 'user')))))
|
|
183
|
-
return;
|
|
184
|
-
__VLS_ctx.session.switchOrganization(organization.id, organization.department, organization.role);
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
let __VLS_99;
|
|
188
|
-
let __VLS_100;
|
|
189
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
190
|
-
{
|
|
191
|
-
const { prepend: __VLS_thisSlot } = __VLS_nonNullable(__VLS_101.slots);
|
|
192
|
-
const __VLS_104 = __VLS_resolvedLocalAndGlobalComponents.VAvatar;
|
|
193
|
-
/** @type { [typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ] } */
|
|
194
|
-
// @ts-ignore
|
|
195
|
-
const __VLS_105 = __VLS_asFunctionalComponent(__VLS_104, new __VLS_104({ size: ((28)), image: ((organization.department ? `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/${organization.department}/avatar.png` : `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/avatar.png`)), }));
|
|
196
|
-
const __VLS_106 = __VLS_105({ size: ((28)), image: ((organization.department ? `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/${organization.department}/avatar.png` : `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/avatar.png`)), }, ...__VLS_functionalComponentArgsRest(__VLS_105));
|
|
197
|
-
}
|
|
198
|
-
const __VLS_110 = __VLS_resolvedLocalAndGlobalComponents.VListItemTitle;
|
|
199
|
-
/** @type { [typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ] } */
|
|
200
|
-
// @ts-ignore
|
|
201
|
-
const __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110({}));
|
|
202
|
-
const __VLS_112 = __VLS_111({}, ...__VLS_functionalComponentArgsRest(__VLS_111));
|
|
203
|
-
(organization.name);
|
|
204
|
-
__VLS_nonNullable(__VLS_115.slots).default;
|
|
205
|
-
const __VLS_115 = __VLS_pickFunctionalComponentCtx(__VLS_110, __VLS_112);
|
|
206
|
-
if (organization.department || organization.roleLabel) {
|
|
207
|
-
const __VLS_116 = __VLS_resolvedLocalAndGlobalComponents.VListItemSubtitle;
|
|
208
|
-
/** @type { [typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, ] } */
|
|
209
|
-
// @ts-ignore
|
|
210
|
-
const __VLS_117 = __VLS_asFunctionalComponent(__VLS_116, new __VLS_116({}));
|
|
211
|
-
const __VLS_118 = __VLS_117({}, ...__VLS_functionalComponentArgsRest(__VLS_117));
|
|
212
|
-
(organization.departmentName || organization.department);
|
|
213
|
-
(organization.roleLabel);
|
|
214
|
-
__VLS_nonNullable(__VLS_121.slots).default;
|
|
215
|
-
const __VLS_121 = __VLS_pickFunctionalComponentCtx(__VLS_116, __VLS_118);
|
|
188
|
+
const __VLS_52 = __VLS_asFunctionalComponent(__VLS_51, new __VLS_51({
|
|
189
|
+
...{ 'onClick': {} },
|
|
190
|
+
id: "toolbar-menu-switch-user",
|
|
191
|
+
}));
|
|
192
|
+
const __VLS_53 = __VLS_52({
|
|
193
|
+
...{ 'onClick': {} },
|
|
194
|
+
id: "toolbar-menu-switch-user",
|
|
195
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_52));
|
|
196
|
+
let __VLS_55;
|
|
197
|
+
let __VLS_56;
|
|
198
|
+
let __VLS_57;
|
|
199
|
+
const __VLS_58 = {
|
|
200
|
+
onClick: (...[$event]) => {
|
|
201
|
+
if (!!(!__VLS_ctx.user || !__VLS_ctx.account))
|
|
202
|
+
return;
|
|
203
|
+
if (!(__VLS_ctx.user.organizations.length > 1 || (__VLS_ctx.user.organizations.length === 1 && (!__VLS_ctx.user.ipa || __VLS_ctx.account.type === 'user'))))
|
|
204
|
+
return;
|
|
205
|
+
if (!(__VLS_ctx.account.type !== 'user' && !__VLS_ctx.user.ipa))
|
|
206
|
+
return;
|
|
207
|
+
__VLS_ctx.session.switchOrganization(null);
|
|
216
208
|
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
220
|
-
const __VLS_122 = __VLS_resolvedLocalAndGlobalComponents.VDivider;
|
|
221
|
-
/** @type { [typeof __VLS_components.VDivider, typeof __VLS_components.vDivider, ] } */
|
|
222
|
-
// @ts-ignore
|
|
223
|
-
const __VLS_123 = __VLS_asFunctionalComponent(__VLS_122, new __VLS_122({}));
|
|
224
|
-
const __VLS_124 = __VLS_123({}, ...__VLS_functionalComponentArgsRest(__VLS_123));
|
|
225
|
-
var __VLS_128 = {};
|
|
226
|
-
if (__VLS_ctx.user.isAdmin) {
|
|
227
|
-
const __VLS_129 = __VLS_resolvedLocalAndGlobalComponents.VListItem;
|
|
228
|
-
/** @type { [typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ] } */
|
|
229
|
-
// @ts-ignore
|
|
230
|
-
const __VLS_130 = __VLS_asFunctionalComponent(__VLS_129, new __VLS_129({ density: ("compact"), ...{ class: ("personal-menu-switch-list-item") }, }));
|
|
231
|
-
const __VLS_131 = __VLS_130({ density: ("compact"), ...{ class: ("personal-menu-switch-list-item") }, }, ...__VLS_functionalComponentArgsRest(__VLS_130));
|
|
232
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
209
|
+
};
|
|
210
|
+
__VLS_54.slots.default;
|
|
233
211
|
{
|
|
234
|
-
const { prepend: __VLS_thisSlot } =
|
|
235
|
-
const
|
|
236
|
-
/** @type {
|
|
212
|
+
const { prepend: __VLS_thisSlot } = __VLS_54.slots;
|
|
213
|
+
const __VLS_59 = {}.VAvatar;
|
|
214
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
237
215
|
// @ts-ignore
|
|
238
|
-
const
|
|
239
|
-
|
|
216
|
+
const __VLS_60 = __VLS_asFunctionalComponent(__VLS_59, new __VLS_59({
|
|
217
|
+
size: (28),
|
|
218
|
+
image: (`${__VLS_ctx.session.options.directoryUrl}/api/avatars/user/${__VLS_ctx.user.id}/avatar.png`),
|
|
219
|
+
}));
|
|
220
|
+
const __VLS_61 = __VLS_60({
|
|
221
|
+
size: (28),
|
|
222
|
+
image: (`${__VLS_ctx.session.options.directoryUrl}/api/avatars/user/${__VLS_ctx.user.id}/avatar.png`),
|
|
223
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_60));
|
|
240
224
|
}
|
|
241
|
-
const
|
|
242
|
-
/** @type {
|
|
225
|
+
const __VLS_63 = {}.VListItemTitle;
|
|
226
|
+
/** @type {[typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ]} */ ;
|
|
243
227
|
// @ts-ignore
|
|
244
|
-
const
|
|
245
|
-
const
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
// @ts-ignore
|
|
249
|
-
const __VLS_148 = __VLS_asFunctionalComponent(__VLS_147, new __VLS_147({ ...{ 'onChange': {} }, modelValue: ((!!__VLS_ctx.user.adminMode)), color: ("admin"), hideDetails: (true), ...{ class: ("mt-0") }, density: ("compact"), label: ((__VLS_ctx.t('adminMode'))), }));
|
|
250
|
-
const __VLS_149 = __VLS_148({ ...{ 'onChange': {} }, modelValue: ((!!__VLS_ctx.user.adminMode)), color: ("admin"), hideDetails: (true), ...{ class: ("mt-0") }, density: ("compact"), label: ((__VLS_ctx.t('adminMode'))), }, ...__VLS_functionalComponentArgsRest(__VLS_148));
|
|
251
|
-
let __VLS_153;
|
|
252
|
-
const __VLS_154 = {
|
|
253
|
-
onChange: (...[$event]) => {
|
|
254
|
-
if (!(!((!__VLS_ctx.user || !__VLS_ctx.account))))
|
|
255
|
-
return;
|
|
256
|
-
if (!((__VLS_ctx.user.isAdmin)))
|
|
257
|
-
return;
|
|
258
|
-
__VLS_ctx.session.setAdminMode(!__VLS_ctx.user.adminMode);
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
let __VLS_150;
|
|
262
|
-
let __VLS_151;
|
|
263
|
-
const __VLS_152 = __VLS_pickFunctionalComponentCtx(__VLS_147, __VLS_149);
|
|
264
|
-
__VLS_nonNullable(__VLS_146.slots).default;
|
|
265
|
-
const __VLS_146 = __VLS_pickFunctionalComponentCtx(__VLS_141, __VLS_143);
|
|
266
|
-
const __VLS_134 = __VLS_pickFunctionalComponentCtx(__VLS_129, __VLS_131);
|
|
228
|
+
const __VLS_64 = __VLS_asFunctionalComponent(__VLS_63, new __VLS_63({}));
|
|
229
|
+
const __VLS_65 = __VLS_64({}, ...__VLS_functionalComponentArgsRest(__VLS_64));
|
|
230
|
+
__VLS_asFunctionalDirective(__VLS_directives.vT)(null, { ...__VLS_directiveBindingRestFields, value: ('personalAccount') }, null, null);
|
|
231
|
+
var __VLS_54;
|
|
267
232
|
}
|
|
268
|
-
|
|
269
|
-
const
|
|
270
|
-
/** @type {
|
|
233
|
+
for (const [organization] of __VLS_getVForSourceType((__VLS_ctx.switchableOrganizations))) {
|
|
234
|
+
const __VLS_67 = {}.VListItem;
|
|
235
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
271
236
|
// @ts-ignore
|
|
272
|
-
const
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
237
|
+
const __VLS_68 = __VLS_asFunctionalComponent(__VLS_67, new __VLS_67({
|
|
238
|
+
...{ 'onClick': {} },
|
|
239
|
+
id: ('toolbar-menu-switch-orga-' + organization.id),
|
|
240
|
+
key: (organization.id),
|
|
241
|
+
}));
|
|
242
|
+
const __VLS_69 = __VLS_68({
|
|
243
|
+
...{ 'onClick': {} },
|
|
244
|
+
id: ('toolbar-menu-switch-orga-' + organization.id),
|
|
245
|
+
key: (organization.id),
|
|
246
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_68));
|
|
247
|
+
let __VLS_71;
|
|
248
|
+
let __VLS_72;
|
|
249
|
+
let __VLS_73;
|
|
250
|
+
const __VLS_74 = {
|
|
276
251
|
onClick: (...[$event]) => {
|
|
277
|
-
if (
|
|
252
|
+
if (!!(!__VLS_ctx.user || !__VLS_ctx.account))
|
|
278
253
|
return;
|
|
279
|
-
if (!((__VLS_ctx.user.
|
|
254
|
+
if (!(__VLS_ctx.user.organizations.length > 1 || (__VLS_ctx.user.organizations.length === 1 && (!__VLS_ctx.user.ipa || __VLS_ctx.account.type === 'user'))))
|
|
280
255
|
return;
|
|
281
|
-
__VLS_ctx.session.
|
|
256
|
+
__VLS_ctx.session.switchOrganization(organization.id, organization.department, organization.role);
|
|
282
257
|
}
|
|
283
258
|
};
|
|
284
|
-
|
|
285
|
-
let __VLS_159;
|
|
286
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
259
|
+
__VLS_70.slots.default;
|
|
287
260
|
{
|
|
288
|
-
const { prepend: __VLS_thisSlot } =
|
|
289
|
-
const
|
|
290
|
-
/** @type {
|
|
261
|
+
const { prepend: __VLS_thisSlot } = __VLS_70.slots;
|
|
262
|
+
const __VLS_75 = {}.VAvatar;
|
|
263
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
291
264
|
// @ts-ignore
|
|
292
|
-
const
|
|
293
|
-
|
|
265
|
+
const __VLS_76 = __VLS_asFunctionalComponent(__VLS_75, new __VLS_75({
|
|
266
|
+
size: (28),
|
|
267
|
+
image: (organization.department ? `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/${organization.department}/avatar.png` : `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/avatar.png`),
|
|
268
|
+
}));
|
|
269
|
+
const __VLS_77 = __VLS_76({
|
|
270
|
+
size: (28),
|
|
271
|
+
image: (organization.department ? `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/${organization.department}/avatar.png` : `${__VLS_ctx.session.options.directoryUrl}/api/avatars/organization/${organization.id}/avatar.png`),
|
|
272
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_76));
|
|
294
273
|
}
|
|
295
|
-
const
|
|
296
|
-
/** @type {
|
|
274
|
+
const __VLS_79 = {}.VListItemTitle;
|
|
275
|
+
/** @type {[typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ]} */ ;
|
|
297
276
|
// @ts-ignore
|
|
298
|
-
const
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
277
|
+
const __VLS_80 = __VLS_asFunctionalComponent(__VLS_79, new __VLS_79({}));
|
|
278
|
+
const __VLS_81 = __VLS_80({}, ...__VLS_functionalComponentArgsRest(__VLS_80));
|
|
279
|
+
__VLS_82.slots.default;
|
|
280
|
+
(organization.name);
|
|
281
|
+
var __VLS_82;
|
|
282
|
+
if (organization.department || organization.roleLabel) {
|
|
283
|
+
const __VLS_83 = {}.VListItemSubtitle;
|
|
284
|
+
/** @type {[typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, typeof __VLS_components.VListItemSubtitle, typeof __VLS_components.vListItemSubtitle, ]} */ ;
|
|
285
|
+
// @ts-ignore
|
|
286
|
+
const __VLS_84 = __VLS_asFunctionalComponent(__VLS_83, new __VLS_83({}));
|
|
287
|
+
const __VLS_85 = __VLS_84({}, ...__VLS_functionalComponentArgsRest(__VLS_84));
|
|
288
|
+
__VLS_86.slots.default;
|
|
289
|
+
(organization.departmentName || organization.department);
|
|
290
|
+
(organization.roleLabel);
|
|
291
|
+
var __VLS_86;
|
|
292
|
+
}
|
|
293
|
+
var __VLS_70;
|
|
304
294
|
}
|
|
305
|
-
|
|
306
|
-
|
|
295
|
+
}
|
|
296
|
+
const __VLS_87 = {}.VDivider;
|
|
297
|
+
/** @type {[typeof __VLS_components.VDivider, typeof __VLS_components.vDivider, ]} */ ;
|
|
298
|
+
// @ts-ignore
|
|
299
|
+
const __VLS_88 = __VLS_asFunctionalComponent(__VLS_87, new __VLS_87({}));
|
|
300
|
+
const __VLS_89 = __VLS_88({}, ...__VLS_functionalComponentArgsRest(__VLS_88));
|
|
301
|
+
var __VLS_91 = {};
|
|
302
|
+
if (__VLS_ctx.user.isAdmin) {
|
|
303
|
+
const __VLS_93 = {}.VListItem;
|
|
304
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
305
|
+
// @ts-ignore
|
|
306
|
+
const __VLS_94 = __VLS_asFunctionalComponent(__VLS_93, new __VLS_93({
|
|
307
|
+
density: "compact",
|
|
308
|
+
...{ class: "personal-menu-switch-list-item" },
|
|
309
|
+
}));
|
|
310
|
+
const __VLS_95 = __VLS_94({
|
|
311
|
+
density: "compact",
|
|
312
|
+
...{ class: "personal-menu-switch-list-item" },
|
|
313
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_94));
|
|
314
|
+
__VLS_96.slots.default;
|
|
315
|
+
{
|
|
316
|
+
const { prepend: __VLS_thisSlot } = __VLS_96.slots;
|
|
317
|
+
const __VLS_97 = {}.VIcon;
|
|
318
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
319
|
+
// @ts-ignore
|
|
320
|
+
const __VLS_98 = __VLS_asFunctionalComponent(__VLS_97, new __VLS_97({
|
|
321
|
+
icon: (__VLS_ctx.mdiShieldAlert),
|
|
322
|
+
color: "admin",
|
|
323
|
+
}));
|
|
324
|
+
const __VLS_99 = __VLS_98({
|
|
325
|
+
icon: (__VLS_ctx.mdiShieldAlert),
|
|
326
|
+
color: "admin",
|
|
327
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_98));
|
|
328
|
+
}
|
|
329
|
+
const __VLS_101 = {}.VListItemTitle;
|
|
330
|
+
/** @type {[typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ]} */ ;
|
|
307
331
|
// @ts-ignore
|
|
308
|
-
const
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
|
|
332
|
+
const __VLS_102 = __VLS_asFunctionalComponent(__VLS_101, new __VLS_101({}));
|
|
333
|
+
const __VLS_103 = __VLS_102({}, ...__VLS_functionalComponentArgsRest(__VLS_102));
|
|
334
|
+
__VLS_104.slots.default;
|
|
335
|
+
const __VLS_105 = {}.VSwitch;
|
|
336
|
+
/** @type {[typeof __VLS_components.VSwitch, typeof __VLS_components.vSwitch, ]} */ ;
|
|
312
337
|
// @ts-ignore
|
|
313
|
-
const
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
338
|
+
const __VLS_106 = __VLS_asFunctionalComponent(__VLS_105, new __VLS_105({
|
|
339
|
+
...{ 'onChange': {} },
|
|
340
|
+
modelValue: (!!__VLS_ctx.user.adminMode),
|
|
341
|
+
color: "admin",
|
|
342
|
+
hideDetails: true,
|
|
343
|
+
...{ class: "mt-0" },
|
|
344
|
+
density: "compact",
|
|
345
|
+
label: (__VLS_ctx.t('adminMode')),
|
|
346
|
+
}));
|
|
347
|
+
const __VLS_107 = __VLS_106({
|
|
348
|
+
...{ 'onChange': {} },
|
|
349
|
+
modelValue: (!!__VLS_ctx.user.adminMode),
|
|
350
|
+
color: "admin",
|
|
351
|
+
hideDetails: true,
|
|
352
|
+
...{ class: "mt-0" },
|
|
353
|
+
density: "compact",
|
|
354
|
+
label: (__VLS_ctx.t('adminMode')),
|
|
355
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_106));
|
|
356
|
+
let __VLS_109;
|
|
357
|
+
let __VLS_110;
|
|
358
|
+
let __VLS_111;
|
|
359
|
+
const __VLS_112 = {
|
|
360
|
+
onChange: (...[$event]) => {
|
|
361
|
+
if (!!(!__VLS_ctx.user || !__VLS_ctx.account))
|
|
362
|
+
return;
|
|
363
|
+
if (!(__VLS_ctx.user.isAdmin))
|
|
364
|
+
return;
|
|
365
|
+
__VLS_ctx.session.setAdminMode(!__VLS_ctx.user.adminMode);
|
|
366
|
+
}
|
|
318
367
|
};
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
368
|
+
var __VLS_108;
|
|
369
|
+
var __VLS_104;
|
|
370
|
+
var __VLS_96;
|
|
371
|
+
}
|
|
372
|
+
if (__VLS_ctx.user.asAdmin) {
|
|
373
|
+
const __VLS_113 = {}.VListItem;
|
|
374
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
375
|
+
// @ts-ignore
|
|
376
|
+
const __VLS_114 = __VLS_asFunctionalComponent(__VLS_113, new __VLS_113({
|
|
377
|
+
...{ 'onClick': {} },
|
|
378
|
+
color: "admin",
|
|
379
|
+
density: "compact",
|
|
380
|
+
}));
|
|
381
|
+
const __VLS_115 = __VLS_114({
|
|
382
|
+
...{ 'onClick': {} },
|
|
383
|
+
color: "admin",
|
|
384
|
+
density: "compact",
|
|
385
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_114));
|
|
386
|
+
let __VLS_117;
|
|
387
|
+
let __VLS_118;
|
|
388
|
+
let __VLS_119;
|
|
389
|
+
const __VLS_120 = {
|
|
390
|
+
onClick: (...[$event]) => {
|
|
391
|
+
if (!!(!__VLS_ctx.user || !__VLS_ctx.account))
|
|
392
|
+
return;
|
|
393
|
+
if (!(__VLS_ctx.user.asAdmin))
|
|
394
|
+
return;
|
|
395
|
+
__VLS_ctx.session.asAdmin(null);
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
__VLS_116.slots.default;
|
|
322
399
|
{
|
|
323
|
-
const { prepend: __VLS_thisSlot } =
|
|
324
|
-
const
|
|
325
|
-
/** @type {
|
|
400
|
+
const { prepend: __VLS_thisSlot } = __VLS_116.slots;
|
|
401
|
+
const __VLS_121 = {}.VIcon;
|
|
402
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
326
403
|
// @ts-ignore
|
|
327
|
-
const
|
|
328
|
-
|
|
404
|
+
const __VLS_122 = __VLS_asFunctionalComponent(__VLS_121, new __VLS_121({
|
|
405
|
+
icon: (__VLS_ctx.mdiAccountSwitchOutline),
|
|
406
|
+
}));
|
|
407
|
+
const __VLS_123 = __VLS_122({
|
|
408
|
+
icon: (__VLS_ctx.mdiAccountSwitchOutline),
|
|
409
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_122));
|
|
329
410
|
}
|
|
330
|
-
const
|
|
331
|
-
/** @type {
|
|
411
|
+
const __VLS_125 = {}.VListItemTitle;
|
|
412
|
+
/** @type {[typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ]} */ ;
|
|
332
413
|
// @ts-ignore
|
|
333
|
-
const
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
const __VLS_17 = __VLS_pickFunctionalComponentCtx(__VLS_12, __VLS_14);
|
|
414
|
+
const __VLS_126 = __VLS_asFunctionalComponent(__VLS_125, new __VLS_125({}));
|
|
415
|
+
const __VLS_127 = __VLS_126({}, ...__VLS_functionalComponentArgsRest(__VLS_126));
|
|
416
|
+
__VLS_128.slots.default;
|
|
417
|
+
(__VLS_ctx.t('backToAdmin'));
|
|
418
|
+
var __VLS_128;
|
|
419
|
+
var __VLS_116;
|
|
340
420
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
const
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
421
|
+
const __VLS_129 = {}.VDivider;
|
|
422
|
+
/** @type {[typeof __VLS_components.VDivider, typeof __VLS_components.vDivider, ]} */ ;
|
|
423
|
+
// @ts-ignore
|
|
424
|
+
const __VLS_130 = __VLS_asFunctionalComponent(__VLS_129, new __VLS_129({}));
|
|
425
|
+
const __VLS_131 = __VLS_130({}, ...__VLS_functionalComponentArgsRest(__VLS_130));
|
|
426
|
+
const __VLS_133 = {}.VListItem;
|
|
427
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
428
|
+
// @ts-ignore
|
|
429
|
+
const __VLS_134 = __VLS_asFunctionalComponent(__VLS_133, new __VLS_133({
|
|
430
|
+
...{ 'onClick': {} },
|
|
431
|
+
}));
|
|
432
|
+
const __VLS_135 = __VLS_134({
|
|
433
|
+
...{ 'onClick': {} },
|
|
434
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_134));
|
|
435
|
+
let __VLS_137;
|
|
436
|
+
let __VLS_138;
|
|
437
|
+
let __VLS_139;
|
|
438
|
+
const __VLS_140 = {
|
|
439
|
+
onClick: (() => __VLS_ctx.session.logout())
|
|
358
440
|
};
|
|
441
|
+
__VLS_136.slots.default;
|
|
442
|
+
{
|
|
443
|
+
const { prepend: __VLS_thisSlot } = __VLS_136.slots;
|
|
444
|
+
const __VLS_141 = {}.VIcon;
|
|
445
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
446
|
+
// @ts-ignore
|
|
447
|
+
const __VLS_142 = __VLS_asFunctionalComponent(__VLS_141, new __VLS_141({
|
|
448
|
+
icon: (__VLS_ctx.mdiLogout),
|
|
449
|
+
}));
|
|
450
|
+
const __VLS_143 = __VLS_142({
|
|
451
|
+
icon: (__VLS_ctx.mdiLogout),
|
|
452
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_142));
|
|
453
|
+
}
|
|
454
|
+
const __VLS_145 = {}.VListItemTitle;
|
|
455
|
+
/** @type {[typeof __VLS_components.VListItemTitle, typeof __VLS_components.vListItemTitle, ]} */ ;
|
|
456
|
+
// @ts-ignore
|
|
457
|
+
const __VLS_146 = __VLS_asFunctionalComponent(__VLS_145, new __VLS_145({}));
|
|
458
|
+
const __VLS_147 = __VLS_146({}, ...__VLS_functionalComponentArgsRest(__VLS_146));
|
|
459
|
+
__VLS_asFunctionalDirective(__VLS_directives.vT)(null, { ...__VLS_directiveBindingRestFields, value: ('logout') }, null, null);
|
|
460
|
+
var __VLS_136;
|
|
461
|
+
var __VLS_27;
|
|
462
|
+
var __VLS_12;
|
|
359
463
|
}
|
|
360
|
-
;
|
|
464
|
+
var __VLS_3;
|
|
465
|
+
/** @type {__VLS_StyleScopedClasses['personal-menu']} */ ;
|
|
466
|
+
/** @type {__VLS_StyleScopedClasses['ml-n4']} */ ;
|
|
467
|
+
/** @type {__VLS_StyleScopedClasses['px-0']} */ ;
|
|
468
|
+
/** @type {__VLS_StyleScopedClasses['py-0']} */ ;
|
|
469
|
+
/** @type {__VLS_StyleScopedClasses['border-sm']} */ ;
|
|
470
|
+
/** @type {__VLS_StyleScopedClasses['text--secondary']} */ ;
|
|
471
|
+
/** @type {__VLS_StyleScopedClasses['personal-menu-switch-list-item']} */ ;
|
|
472
|
+
/** @type {__VLS_StyleScopedClasses['mt-0']} */ ;
|
|
473
|
+
// @ts-ignore
|
|
474
|
+
var __VLS_92 = __VLS_91;
|
|
475
|
+
var __VLS_dollars;
|
|
361
476
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
362
477
|
setup() {
|
|
363
478
|
return {
|
|
@@ -381,5 +496,5 @@ const __VLS_component = (await import('vue')).defineComponent({
|
|
|
381
496
|
},
|
|
382
497
|
});
|
|
383
498
|
export default {};
|
|
384
|
-
;
|
|
499
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
385
500
|
//# sourceMappingURL=personal-menu.vue.js.map
|