@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/date-match-filter.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
// 1 => 01, 12 => 12
|
|
3
3
|
const padTimeComponent = (val) => {
|
|
4
4
|
const s = '' + val;
|
|
@@ -53,81 +53,105 @@ export default (await import('vue')).defineComponent({
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
56
|
+
const __VLS_ctx = {};
|
|
57
|
+
let __VLS_components;
|
|
58
|
+
let __VLS_directives;
|
|
59
|
+
// CSS variable injection
|
|
60
|
+
// CSS variable injection end
|
|
61
|
+
const __VLS_0 = {}.VMenu;
|
|
62
|
+
/** @type {[typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, ]} */ ;
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
65
|
+
modelValue: (__VLS_ctx.menu),
|
|
66
|
+
closeOnContentClick: (false),
|
|
67
|
+
offsetY: true,
|
|
68
|
+
minWidth: "auto",
|
|
69
|
+
}));
|
|
70
|
+
const __VLS_2 = __VLS_1({
|
|
71
|
+
modelValue: (__VLS_ctx.menu),
|
|
72
|
+
closeOnContentClick: (false),
|
|
73
|
+
offsetY: true,
|
|
74
|
+
minWidth: "auto",
|
|
75
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
76
|
+
var __VLS_4 = {};
|
|
77
|
+
__VLS_3.slots.default;
|
|
78
|
+
{
|
|
79
|
+
const { activator: __VLS_thisSlot } = __VLS_3.slots;
|
|
80
|
+
const [{ props }] = __VLS_getSlotParams(__VLS_thisSlot);
|
|
81
|
+
const __VLS_5 = {}.VBtn;
|
|
82
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
74
83
|
// @ts-ignore
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8);
|
|
95
|
-
}
|
|
96
|
-
const __VLS_18 = __VLS_resolvedLocalAndGlobalComponents.VSheet;
|
|
97
|
-
/** @type { [typeof __VLS_components.VSheet, typeof __VLS_components.vSheet, typeof __VLS_components.VSheet, typeof __VLS_components.vSheet, ] } */
|
|
98
|
-
// @ts-ignore
|
|
99
|
-
const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({}));
|
|
100
|
-
const __VLS_20 = __VLS_19({}, ...__VLS_functionalComponentArgsRest(__VLS_19));
|
|
101
|
-
if (__VLS_ctx.rangeMode) {
|
|
102
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.h3, __VLS_intrinsicElements.h3)({ ...{ class: ("text-h6 px-2") }, });
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
105
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.h3, __VLS_intrinsicElements.h3)({ ...{ class: ("text-h6 px-2") }, });
|
|
106
|
-
}
|
|
107
|
-
const __VLS_24 = __VLS_resolvedLocalAndGlobalComponents.VDatePicker;
|
|
108
|
-
/** @type { [typeof __VLS_components.VDatePicker, typeof __VLS_components.vDatePicker, ] } */
|
|
84
|
+
const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
|
|
85
|
+
modelValue: (__VLS_ctx.date),
|
|
86
|
+
icon: true,
|
|
87
|
+
color: "white",
|
|
88
|
+
density: "comfortable",
|
|
89
|
+
...{ class: "mx-1 mt-1" },
|
|
90
|
+
...(props),
|
|
91
|
+
}));
|
|
92
|
+
const __VLS_7 = __VLS_6({
|
|
93
|
+
modelValue: (__VLS_ctx.date),
|
|
94
|
+
icon: true,
|
|
95
|
+
color: "white",
|
|
96
|
+
density: "comfortable",
|
|
97
|
+
...{ class: "mx-1 mt-1" },
|
|
98
|
+
...(props),
|
|
99
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_6));
|
|
100
|
+
__VLS_8.slots.default;
|
|
101
|
+
const __VLS_9 = {}.VIcon;
|
|
102
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
109
103
|
// @ts-ignore
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
const
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
};
|
|
104
|
+
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
105
|
+
color: "primary",
|
|
106
|
+
}));
|
|
107
|
+
const __VLS_11 = __VLS_10({
|
|
108
|
+
color: "primary",
|
|
109
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
110
|
+
__VLS_12.slots.default;
|
|
111
|
+
var __VLS_12;
|
|
112
|
+
var __VLS_8;
|
|
113
|
+
}
|
|
114
|
+
const __VLS_13 = {}.VSheet;
|
|
115
|
+
/** @type {[typeof __VLS_components.VSheet, typeof __VLS_components.vSheet, typeof __VLS_components.VSheet, typeof __VLS_components.vSheet, ]} */ ;
|
|
116
|
+
// @ts-ignore
|
|
117
|
+
const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({}));
|
|
118
|
+
const __VLS_15 = __VLS_14({}, ...__VLS_functionalComponentArgsRest(__VLS_14));
|
|
119
|
+
__VLS_16.slots.default;
|
|
120
|
+
if (__VLS_ctx.rangeMode) {
|
|
121
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.h3, __VLS_intrinsicElements.h3)({
|
|
122
|
+
...{ class: "text-h6 px-2" },
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.h3, __VLS_intrinsicElements.h3)({
|
|
127
|
+
...{ class: "text-h6 px-2" },
|
|
128
|
+
});
|
|
130
129
|
}
|
|
131
|
-
;
|
|
130
|
+
const __VLS_17 = {}.VDatePicker;
|
|
131
|
+
/** @type {[typeof __VLS_components.VDatePicker, typeof __VLS_components.vDatePicker, ]} */ ;
|
|
132
|
+
// @ts-ignore
|
|
133
|
+
const __VLS_18 = __VLS_asFunctionalComponent(__VLS_17, new __VLS_17({
|
|
134
|
+
modelValue: (__VLS_ctx.date),
|
|
135
|
+
multiple: (__VLS_ctx.rangeMode),
|
|
136
|
+
hideHeader: true,
|
|
137
|
+
showAdjacentMonths: true,
|
|
138
|
+
flat: true,
|
|
139
|
+
}));
|
|
140
|
+
const __VLS_19 = __VLS_18({
|
|
141
|
+
modelValue: (__VLS_ctx.date),
|
|
142
|
+
multiple: (__VLS_ctx.rangeMode),
|
|
143
|
+
hideHeader: true,
|
|
144
|
+
showAdjacentMonths: true,
|
|
145
|
+
flat: true,
|
|
146
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_18));
|
|
147
|
+
var __VLS_16;
|
|
148
|
+
var __VLS_3;
|
|
149
|
+
/** @type {__VLS_StyleScopedClasses['mx-1']} */ ;
|
|
150
|
+
/** @type {__VLS_StyleScopedClasses['mt-1']} */ ;
|
|
151
|
+
/** @type {__VLS_StyleScopedClasses['text-h6']} */ ;
|
|
152
|
+
/** @type {__VLS_StyleScopedClasses['px-2']} */ ;
|
|
153
|
+
/** @type {__VLS_StyleScopedClasses['text-h6']} */ ;
|
|
154
|
+
/** @type {__VLS_StyleScopedClasses['px-2']} */ ;
|
|
155
|
+
var __VLS_dollars;
|
|
132
156
|
let __VLS_self;
|
|
133
157
|
//# sourceMappingURL=date-match-filter.vue.js.map
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
type: import("vue").PropType<string>;
|
|
16
16
|
};
|
|
17
17
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (
|
|
18
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
19
19
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
min: {
|
|
21
21
|
type: StringConstructor;
|
|
@@ -33,10 +33,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33
33
|
type: import("vue").PropType<string>;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{
|
|
36
|
-
"onUpdate:modelValue"?: ((
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
label: string;
|
|
39
|
-
max: string;
|
|
40
39
|
min: string;
|
|
40
|
+
max: string;
|
|
41
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|
package/date-range-picker.vue.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import { ref, watch } from 'vue';
|
|
3
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
4
3
|
const props = defineProps({
|
|
5
4
|
min: { type: String, default: undefined },
|
|
6
5
|
max: { type: String, default: undefined },
|
|
@@ -27,90 +26,102 @@ watch(end, (val) => {
|
|
|
27
26
|
value.push(val);
|
|
28
27
|
model.value = value.join(',');
|
|
29
28
|
});
|
|
30
|
-
|
|
31
|
-
props: {
|
|
32
|
-
min: { type: String, default: undefined },
|
|
33
|
-
max: { type: String, default: undefined },
|
|
34
|
-
label: { type: String, default: undefined }
|
|
35
|
-
},
|
|
36
|
-
__typeEmits: {},
|
|
37
|
-
});
|
|
38
|
-
;
|
|
39
|
-
let __VLS_functionalComponentProps;
|
|
29
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
40
30
|
const __VLS_defaults = {};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
//
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
31
|
+
const __VLS_modelEmit = defineEmits();
|
|
32
|
+
const __VLS_ctx = {};
|
|
33
|
+
let __VLS_components;
|
|
34
|
+
let __VLS_directives;
|
|
35
|
+
// CSS variable injection
|
|
36
|
+
// CSS variable injection end
|
|
37
|
+
if (props.label) {
|
|
38
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.label, __VLS_intrinsicElements.label)({
|
|
39
|
+
...{ class: "text-body-2 text-medium-emphasis ml-2" },
|
|
40
|
+
});
|
|
41
|
+
(__VLS_ctx.label);
|
|
42
|
+
}
|
|
43
|
+
if (__VLS_ctx.model && __VLS_ctx.model.length) {
|
|
44
|
+
const __VLS_0 = {}.VRow;
|
|
45
|
+
/** @type {[typeof __VLS_components.VRow, typeof __VLS_components.vRow, typeof __VLS_components.VRow, typeof __VLS_components.vRow, ]} */ ;
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
48
|
+
...{ class: "date-range-picker" },
|
|
49
|
+
align: "center",
|
|
50
|
+
}));
|
|
51
|
+
const __VLS_2 = __VLS_1({
|
|
52
|
+
...{ class: "date-range-picker" },
|
|
53
|
+
align: "center",
|
|
54
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
55
|
+
__VLS_3.slots.default;
|
|
56
|
+
const __VLS_4 = {}.VCol;
|
|
57
|
+
/** @type {[typeof __VLS_components.VCol, typeof __VLS_components.vCol, typeof __VLS_components.VCol, typeof __VLS_components.vCol, ]} */ ;
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
const __VLS_5 = __VLS_asFunctionalComponent(__VLS_4, new __VLS_4({
|
|
60
|
+
...{ class: "pr-0" },
|
|
61
|
+
}));
|
|
62
|
+
const __VLS_6 = __VLS_5({
|
|
63
|
+
...{ class: "pr-0" },
|
|
64
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_5));
|
|
65
|
+
__VLS_7.slots.default;
|
|
66
|
+
const __VLS_8 = {}.VTextField;
|
|
67
|
+
/** @type {[typeof __VLS_components.VTextField, typeof __VLS_components.vTextField, ]} */ ;
|
|
68
|
+
// @ts-ignore
|
|
69
|
+
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
|
|
70
|
+
modelValue: (__VLS_ctx.start),
|
|
71
|
+
min: (__VLS_ctx.min),
|
|
72
|
+
max: (__VLS_ctx.max),
|
|
73
|
+
type: "date",
|
|
74
|
+
density: "compact",
|
|
75
|
+
}));
|
|
76
|
+
const __VLS_10 = __VLS_9({
|
|
77
|
+
modelValue: (__VLS_ctx.start),
|
|
78
|
+
min: (__VLS_ctx.min),
|
|
79
|
+
max: (__VLS_ctx.max),
|
|
80
|
+
type: "date",
|
|
81
|
+
density: "compact",
|
|
82
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
83
|
+
var __VLS_7;
|
|
84
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.span, __VLS_intrinsicElements.span)({
|
|
85
|
+
...{ class: "pb-6" },
|
|
86
|
+
});
|
|
87
|
+
const __VLS_12 = {}.VCol;
|
|
88
|
+
/** @type {[typeof __VLS_components.VCol, typeof __VLS_components.vCol, typeof __VLS_components.VCol, typeof __VLS_components.vCol, ]} */ ;
|
|
89
|
+
// @ts-ignore
|
|
90
|
+
const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({
|
|
91
|
+
...{ class: "pl-0" },
|
|
92
|
+
}));
|
|
93
|
+
const __VLS_14 = __VLS_13({
|
|
94
|
+
...{ class: "pl-0" },
|
|
95
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_13));
|
|
96
|
+
__VLS_15.slots.default;
|
|
97
|
+
const __VLS_16 = {}.VTextField;
|
|
98
|
+
/** @type {[typeof __VLS_components.VTextField, typeof __VLS_components.vTextField, ]} */ ;
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
const __VLS_17 = __VLS_asFunctionalComponent(__VLS_16, new __VLS_16({
|
|
101
|
+
modelValue: (__VLS_ctx.end),
|
|
102
|
+
min: (__VLS_ctx.min),
|
|
103
|
+
max: (__VLS_ctx.max),
|
|
104
|
+
type: "date",
|
|
105
|
+
density: "compact",
|
|
106
|
+
}));
|
|
107
|
+
const __VLS_18 = __VLS_17({
|
|
108
|
+
modelValue: (__VLS_ctx.end),
|
|
109
|
+
min: (__VLS_ctx.min),
|
|
110
|
+
max: (__VLS_ctx.max),
|
|
111
|
+
type: "date",
|
|
112
|
+
density: "compact",
|
|
113
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_17));
|
|
114
|
+
var __VLS_15;
|
|
115
|
+
var __VLS_3;
|
|
112
116
|
}
|
|
113
|
-
;
|
|
117
|
+
/** @type {__VLS_StyleScopedClasses['text-body-2']} */ ;
|
|
118
|
+
/** @type {__VLS_StyleScopedClasses['text-medium-emphasis']} */ ;
|
|
119
|
+
/** @type {__VLS_StyleScopedClasses['ml-2']} */ ;
|
|
120
|
+
/** @type {__VLS_StyleScopedClasses['date-range-picker']} */ ;
|
|
121
|
+
/** @type {__VLS_StyleScopedClasses['pr-0']} */ ;
|
|
122
|
+
/** @type {__VLS_StyleScopedClasses['pb-6']} */ ;
|
|
123
|
+
/** @type {__VLS_StyleScopedClasses['pl-0']} */ ;
|
|
124
|
+
var __VLS_dollars;
|
|
114
125
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
115
126
|
setup() {
|
|
116
127
|
return {
|
|
@@ -143,5 +154,5 @@ export default (await import('vue')).defineComponent({
|
|
|
143
154
|
},
|
|
144
155
|
},
|
|
145
156
|
});
|
|
146
|
-
;
|
|
157
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
147
158
|
//# sourceMappingURL=date-range-picker.vue.js.map
|
package/index.js
CHANGED
package/lang-switcher.vue.js
CHANGED
|
@@ -1,110 +1,99 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import useSession from '@data-fair/lib-vue/session.js';
|
|
3
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
4
3
|
const session = useSession();
|
|
5
|
-
const
|
|
4
|
+
const { locales } = defineProps({
|
|
6
5
|
locales: {
|
|
7
6
|
type: Array,
|
|
8
7
|
default: ['fr', 'en']
|
|
9
8
|
}
|
|
10
9
|
});
|
|
11
|
-
const { locales } = __VLS_props;
|
|
12
10
|
const setLocale = (locale) => {
|
|
13
11
|
session.switchLang(locale);
|
|
14
12
|
window.location.reload();
|
|
15
13
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
...__VLS_ctx,
|
|
37
|
-
};
|
|
38
|
-
let __VLS_directives;
|
|
39
|
-
let __VLS_styleScopedClasses;
|
|
40
|
-
// CSS variable injection
|
|
41
|
-
// CSS variable injection end
|
|
42
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
43
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VToolbarItems;
|
|
44
|
-
/** @type { [typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, ] } */
|
|
14
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
15
|
+
const __VLS_ctx = {};
|
|
16
|
+
let __VLS_components;
|
|
17
|
+
let __VLS_directives;
|
|
18
|
+
// CSS variable injection
|
|
19
|
+
// CSS variable injection end
|
|
20
|
+
const __VLS_0 = {}.VToolbarItems;
|
|
21
|
+
/** @type {[typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, ]} */ ;
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
24
|
+
...{ class: "lang-switcher" },
|
|
25
|
+
}));
|
|
26
|
+
const __VLS_2 = __VLS_1({
|
|
27
|
+
...{ class: "lang-switcher" },
|
|
28
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
29
|
+
var __VLS_4 = {};
|
|
30
|
+
__VLS_3.slots.default;
|
|
31
|
+
if (locales.length > 1) {
|
|
32
|
+
const __VLS_5 = {}.VSpeedDial;
|
|
33
|
+
/** @type {[typeof __VLS_components.VSpeedDial, typeof __VLS_components.vSpeedDial, typeof __VLS_components.VSpeedDial, typeof __VLS_components.vSpeedDial, ]} */ ;
|
|
45
34
|
// @ts-ignore
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
35
|
+
const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
|
|
36
|
+
direction: "bottom",
|
|
37
|
+
transition: "fade-transition",
|
|
38
|
+
}));
|
|
39
|
+
const __VLS_7 = __VLS_6({
|
|
40
|
+
direction: "bottom",
|
|
41
|
+
transition: "fade-transition",
|
|
42
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_6));
|
|
43
|
+
__VLS_8.slots.default;
|
|
44
|
+
{
|
|
45
|
+
const { activator: __VLS_thisSlot } = __VLS_8.slots;
|
|
46
|
+
const [{ props }] = __VLS_getSlotParams(__VLS_thisSlot);
|
|
47
|
+
const __VLS_9 = {}.VBtn;
|
|
48
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
51
49
|
// @ts-ignore
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
50
|
+
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
51
|
+
...(props),
|
|
52
|
+
}));
|
|
53
|
+
const __VLS_11 = __VLS_10({
|
|
54
|
+
...(props),
|
|
55
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
56
|
+
__VLS_12.slots.default;
|
|
57
|
+
(__VLS_ctx.session.lang.value);
|
|
58
|
+
var __VLS_12;
|
|
59
|
+
}
|
|
60
|
+
for (const [locale] of __VLS_getVForSourceType((locales.filter(l => l !== __VLS_ctx.session.lang.value)))) {
|
|
61
|
+
const __VLS_13 = {}.VBtn;
|
|
62
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
|
|
65
|
+
...{ 'onClick': {} },
|
|
66
|
+
key: (locale),
|
|
67
|
+
icon: true,
|
|
68
|
+
}));
|
|
69
|
+
const __VLS_15 = __VLS_14({
|
|
70
|
+
...{ 'onClick': {} },
|
|
71
|
+
key: (locale),
|
|
72
|
+
icon: true,
|
|
73
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_14));
|
|
74
|
+
let __VLS_17;
|
|
75
|
+
let __VLS_18;
|
|
76
|
+
let __VLS_19;
|
|
77
|
+
const __VLS_20 = {
|
|
78
|
+
onClick: (...[$event]) => {
|
|
79
|
+
if (!(locales.length > 1))
|
|
80
|
+
return;
|
|
81
|
+
__VLS_ctx.setLocale(locale);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
__VLS_16.slots.default;
|
|
85
|
+
(locale);
|
|
86
|
+
var __VLS_16;
|
|
88
87
|
}
|
|
89
|
-
|
|
90
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
91
|
-
__VLS_styleScopedClasses['lang-switcher'];
|
|
92
|
-
var __VLS_slots;
|
|
93
|
-
var __VLS_inheritedAttrs;
|
|
94
|
-
const __VLS_refs = {};
|
|
95
|
-
var $refs;
|
|
96
|
-
return {
|
|
97
|
-
slots: __VLS_slots,
|
|
98
|
-
refs: $refs,
|
|
99
|
-
attrs: {},
|
|
100
|
-
};
|
|
88
|
+
var __VLS_8;
|
|
101
89
|
}
|
|
102
|
-
;
|
|
90
|
+
var __VLS_3;
|
|
91
|
+
/** @type {__VLS_StyleScopedClasses['lang-switcher']} */ ;
|
|
92
|
+
var __VLS_dollars;
|
|
103
93
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
104
94
|
setup() {
|
|
105
95
|
return {
|
|
106
96
|
session: session,
|
|
107
|
-
locales: locales,
|
|
108
97
|
setLocale: setLocale,
|
|
109
98
|
};
|
|
110
99
|
},
|
|
@@ -126,5 +115,5 @@ export default (await import('vue')).defineComponent({
|
|
|
126
115
|
}
|
|
127
116
|
},
|
|
128
117
|
});
|
|
129
|
-
;
|
|
118
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
130
119
|
//# sourceMappingURL=lang-switcher.vue.js.map
|