@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/search-address.vue.d.ts
CHANGED
|
@@ -6,12 +6,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6
6
|
};
|
|
7
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
selected: (...args: any[]) => void;
|
|
9
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
9
10
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
11
|
variant: () => VAutocomplete["variant"];
|
|
11
12
|
modelValue: {
|
|
12
13
|
type: import("vue").PropType<string>;
|
|
13
14
|
};
|
|
14
15
|
}>> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
15
17
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
16
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
19
|
export default _default;
|
package/search-address.vue.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
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
3
|
import { ofetch } from 'ofetch';
|
|
4
4
|
import { useDebounceFn } from '@vueuse/core';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
5
|
const __VLS_props = defineProps({ variant: String });
|
|
7
6
|
const emit = defineEmits(['selected']);
|
|
8
7
|
const model = defineModel({ type: String });
|
|
@@ -46,54 +45,56 @@ watch(address, (addr) => {
|
|
|
46
45
|
}
|
|
47
46
|
emit('selected', addr ? addr.value : undefined);
|
|
48
47
|
});
|
|
49
|
-
|
|
50
|
-
props: { variant: String },
|
|
51
|
-
emits: {
|
|
52
|
-
...{},
|
|
53
|
-
...{},
|
|
54
|
-
},
|
|
55
|
-
});
|
|
56
|
-
;
|
|
57
|
-
let __VLS_functionalComponentProps;
|
|
48
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
58
49
|
const __VLS_defaults = {};
|
|
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
|
-
|
|
50
|
+
const __VLS_modelEmit = defineEmits();
|
|
51
|
+
const __VLS_ctx = {};
|
|
52
|
+
let __VLS_components;
|
|
53
|
+
let __VLS_directives;
|
|
54
|
+
const __VLS_0 = {}.VAutocomplete;
|
|
55
|
+
/** @type {[typeof __VLS_components.VAutocomplete, typeof __VLS_components.vAutocomplete, ]} */ ;
|
|
56
|
+
// @ts-ignore
|
|
57
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
58
|
+
...{ 'onUpdate:search': {} },
|
|
59
|
+
modelValue: (__VLS_ctx.address),
|
|
60
|
+
items: (__VLS_ctx.addressesList),
|
|
61
|
+
loading: (__VLS_ctx.loadingAddresses),
|
|
62
|
+
noFilter: true,
|
|
63
|
+
clearable: (true),
|
|
64
|
+
returnObject: true,
|
|
65
|
+
hideNoData: true,
|
|
66
|
+
hideDetails: true,
|
|
67
|
+
label: "Adresse",
|
|
68
|
+
placeholder: "Saisissez une adresse",
|
|
69
|
+
variant: (__VLS_ctx.variant),
|
|
70
|
+
density: "compact",
|
|
71
|
+
menuIcon: "",
|
|
72
|
+
}));
|
|
73
|
+
const __VLS_2 = __VLS_1({
|
|
74
|
+
...{ 'onUpdate:search': {} },
|
|
75
|
+
modelValue: (__VLS_ctx.address),
|
|
76
|
+
items: (__VLS_ctx.addressesList),
|
|
77
|
+
loading: (__VLS_ctx.loadingAddresses),
|
|
78
|
+
noFilter: true,
|
|
79
|
+
clearable: (true),
|
|
80
|
+
returnObject: true,
|
|
81
|
+
hideNoData: true,
|
|
82
|
+
hideDetails: true,
|
|
83
|
+
label: "Adresse",
|
|
84
|
+
placeholder: "Saisissez une adresse",
|
|
85
|
+
variant: (__VLS_ctx.variant),
|
|
86
|
+
density: "compact",
|
|
87
|
+
menuIcon: "",
|
|
88
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
89
|
+
let __VLS_4;
|
|
90
|
+
let __VLS_5;
|
|
91
|
+
let __VLS_6;
|
|
92
|
+
const __VLS_7 = {
|
|
93
|
+
'onUpdate:search': ((search) => __VLS_ctx.findAdresses(search))
|
|
94
|
+
};
|
|
95
|
+
var __VLS_8 = {};
|
|
96
|
+
var __VLS_3;
|
|
97
|
+
var __VLS_dollars;
|
|
97
98
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
98
99
|
setup() {
|
|
99
100
|
return {
|
|
@@ -125,5 +126,5 @@ export default (await import('vue')).defineComponent({
|
|
|
125
126
|
...{ variant: String },
|
|
126
127
|
},
|
|
127
128
|
});
|
|
128
|
-
;
|
|
129
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
129
130
|
//# sourceMappingURL=search-address.vue.js.map
|
package/search-field.vue
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-text-field
|
|
3
|
+
v-bind="$attrs"
|
|
4
|
+
:append-inner-icon="mdiMagnify"
|
|
5
|
+
:label="t('search')"
|
|
6
|
+
class="mx-4"
|
|
7
|
+
color="primary"
|
|
8
|
+
density="compact"
|
|
9
|
+
variant="outlined"
|
|
10
|
+
autofocus
|
|
11
|
+
hide-details
|
|
12
|
+
clearable
|
|
13
|
+
/>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
import { mdiMagnify } from '@mdi/js'
|
|
18
|
+
import { useI18n } from 'vue-i18n'
|
|
19
|
+
|
|
20
|
+
const { t } = useI18n()
|
|
21
|
+
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<i18n lang="yaml">
|
|
25
|
+
en:
|
|
26
|
+
search: Search
|
|
27
|
+
fr:
|
|
28
|
+
search: Rechercher
|
|
29
|
+
</i18n>
|
|
@@ -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,53 @@
|
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
|
+
import { mdiMagnify } from '@mdi/js';
|
|
3
|
+
import { useI18n } from 'vue-i18n';
|
|
4
|
+
const { t } = useI18n();
|
|
5
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
6
|
+
const __VLS_ctx = {};
|
|
7
|
+
let __VLS_components;
|
|
8
|
+
let __VLS_directives;
|
|
9
|
+
const __VLS_0 = {}.VTextField;
|
|
10
|
+
/** @type {[typeof __VLS_components.VTextField, typeof __VLS_components.vTextField, ]} */ ;
|
|
11
|
+
// @ts-ignore
|
|
12
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
13
|
+
appendInnerIcon: (__VLS_ctx.mdiMagnify),
|
|
14
|
+
label: (__VLS_ctx.t('search')),
|
|
15
|
+
...{ class: "mx-4" },
|
|
16
|
+
color: "primary",
|
|
17
|
+
density: "compact",
|
|
18
|
+
variant: "outlined",
|
|
19
|
+
autofocus: true,
|
|
20
|
+
hideDetails: true,
|
|
21
|
+
clearable: true,
|
|
22
|
+
}));
|
|
23
|
+
const __VLS_2 = __VLS_1({
|
|
24
|
+
appendInnerIcon: (__VLS_ctx.mdiMagnify),
|
|
25
|
+
label: (__VLS_ctx.t('search')),
|
|
26
|
+
...{ class: "mx-4" },
|
|
27
|
+
color: "primary",
|
|
28
|
+
density: "compact",
|
|
29
|
+
variant: "outlined",
|
|
30
|
+
autofocus: true,
|
|
31
|
+
hideDetails: true,
|
|
32
|
+
clearable: true,
|
|
33
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
34
|
+
var __VLS_4 = {};
|
|
35
|
+
var __VLS_3;
|
|
36
|
+
/** @type {__VLS_StyleScopedClasses['mx-4']} */ ;
|
|
37
|
+
[__VLS_dollars.$attrs,];
|
|
38
|
+
var __VLS_dollars;
|
|
39
|
+
const __VLS_self = (await import('vue')).defineComponent({
|
|
40
|
+
setup() {
|
|
41
|
+
return {
|
|
42
|
+
mdiMagnify: mdiMagnify,
|
|
43
|
+
t: t,
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
export default (await import('vue')).defineComponent({
|
|
48
|
+
setup() {
|
|
49
|
+
return {};
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
53
|
+
//# sourceMappingURL=search-field.vue.js.map
|
package/theme-switcher.vue
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<v-toolbar-items class="theme-switcher" v-if="session.fullSite.value?.theme.dark || session.fullSite.value?.theme.hc || session.fullSite.value?.theme.hcDark">
|
|
3
3
|
<v-menu
|
|
4
4
|
offset-y
|
|
5
|
-
|
|
5
|
+
class="ml-n4"
|
|
6
6
|
>
|
|
7
7
|
<template #activator="{props: activatorProps}">
|
|
8
8
|
<v-btn
|
package/theme-switcher.vue.js
CHANGED
|
@@ -1,123 +1,168 @@
|
|
|
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
3
|
import { useI18n } from 'vue-i18n';
|
|
4
4
|
import { mdiThemeLightDark } from '@mdi/js';
|
|
5
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
6
5
|
const session = useSession();
|
|
7
6
|
const { t } = useI18n({ useScope: 'local' });
|
|
8
|
-
|
|
9
|
-
;
|
|
10
|
-
let
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
7
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
8
|
+
const __VLS_ctx = {};
|
|
9
|
+
let __VLS_components;
|
|
10
|
+
let __VLS_directives;
|
|
11
|
+
// CSS variable injection
|
|
12
|
+
// CSS variable injection end
|
|
13
|
+
if (__VLS_ctx.session.fullSite.value?.theme.dark || __VLS_ctx.session.fullSite.value?.theme.hc || __VLS_ctx.session.fullSite.value?.theme.hcDark) {
|
|
14
|
+
const __VLS_0 = {}.VToolbarItems;
|
|
15
|
+
/** @type {[typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, ]} */ ;
|
|
16
|
+
// @ts-ignore
|
|
17
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
18
|
+
...{ class: "theme-switcher" },
|
|
19
|
+
}));
|
|
20
|
+
const __VLS_2 = __VLS_1({
|
|
21
|
+
...{ class: "theme-switcher" },
|
|
22
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
23
|
+
var __VLS_4 = {};
|
|
24
|
+
__VLS_3.slots.default;
|
|
25
|
+
const __VLS_5 = {}.VMenu;
|
|
26
|
+
/** @type {[typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, ]} */ ;
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
|
|
29
|
+
offsetY: true,
|
|
30
|
+
...{ class: "ml-n4" },
|
|
31
|
+
}));
|
|
32
|
+
const __VLS_7 = __VLS_6({
|
|
33
|
+
offsetY: true,
|
|
34
|
+
...{ class: "ml-n4" },
|
|
35
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_6));
|
|
36
|
+
__VLS_8.slots.default;
|
|
37
|
+
{
|
|
38
|
+
const { activator: __VLS_thisSlot } = __VLS_8.slots;
|
|
39
|
+
const { props: activatorProps } = __VLS_getSlotParam(__VLS_thisSlot);
|
|
40
|
+
const __VLS_9 = {}.VBtn;
|
|
41
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
36
42
|
// @ts-ignore
|
|
37
|
-
const
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
44
|
+
...{ class: "px-0" },
|
|
45
|
+
icon: (__VLS_ctx.mdiThemeLightDark),
|
|
46
|
+
title: (__VLS_ctx.t('themeSwitch')),
|
|
47
|
+
...(activatorProps),
|
|
48
|
+
}));
|
|
49
|
+
const __VLS_11 = __VLS_10({
|
|
50
|
+
...{ class: "px-0" },
|
|
51
|
+
icon: (__VLS_ctx.mdiThemeLightDark),
|
|
52
|
+
title: (__VLS_ctx.t('themeSwitch')),
|
|
53
|
+
...(activatorProps),
|
|
54
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
55
|
+
}
|
|
56
|
+
const __VLS_13 = {}.VList;
|
|
57
|
+
/** @type {[typeof __VLS_components.VList, typeof __VLS_components.vList, typeof __VLS_components.VList, typeof __VLS_components.vList, ]} */ ;
|
|
58
|
+
// @ts-ignore
|
|
59
|
+
const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
|
|
60
|
+
...{ class: "border-sm" },
|
|
61
|
+
}));
|
|
62
|
+
const __VLS_15 = __VLS_14({
|
|
63
|
+
...{ class: "border-sm" },
|
|
64
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_14));
|
|
65
|
+
__VLS_16.slots.default;
|
|
66
|
+
const __VLS_17 = {}.VListItem;
|
|
67
|
+
/** @type {[typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ]} */ ;
|
|
68
|
+
// @ts-ignore
|
|
69
|
+
const __VLS_18 = __VLS_asFunctionalComponent(__VLS_17, new __VLS_17({
|
|
70
|
+
density: "compact",
|
|
71
|
+
...{ class: "pl-0" },
|
|
72
|
+
}));
|
|
73
|
+
const __VLS_19 = __VLS_18({
|
|
74
|
+
density: "compact",
|
|
75
|
+
...{ class: "pl-0" },
|
|
76
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_18));
|
|
77
|
+
__VLS_20.slots.default;
|
|
78
|
+
const __VLS_21 = {}.VRadioGroup;
|
|
79
|
+
/** @type {[typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, ]} */ ;
|
|
80
|
+
// @ts-ignore
|
|
81
|
+
const __VLS_22 = __VLS_asFunctionalComponent(__VLS_21, new __VLS_21({
|
|
82
|
+
...{ 'onUpdate:modelValue': {} },
|
|
83
|
+
modelValue: (__VLS_ctx.session.theme.value),
|
|
84
|
+
density: "comfortable",
|
|
85
|
+
color: "primary",
|
|
86
|
+
hideDetails: true,
|
|
87
|
+
label: (__VLS_ctx.t('themeSwitch')),
|
|
88
|
+
}));
|
|
89
|
+
const __VLS_23 = __VLS_22({
|
|
90
|
+
...{ 'onUpdate:modelValue': {} },
|
|
91
|
+
modelValue: (__VLS_ctx.session.theme.value),
|
|
92
|
+
density: "comfortable",
|
|
93
|
+
color: "primary",
|
|
94
|
+
hideDetails: true,
|
|
95
|
+
label: (__VLS_ctx.t('themeSwitch')),
|
|
96
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_22));
|
|
97
|
+
let __VLS_25;
|
|
98
|
+
let __VLS_26;
|
|
99
|
+
let __VLS_27;
|
|
100
|
+
const __VLS_28 = {
|
|
101
|
+
'onUpdate:modelValue': (value => __VLS_ctx.session.switchTheme(value))
|
|
102
|
+
};
|
|
103
|
+
__VLS_24.slots.default;
|
|
104
|
+
const __VLS_29 = {}.VRadio;
|
|
105
|
+
/** @type {[typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ]} */ ;
|
|
106
|
+
// @ts-ignore
|
|
107
|
+
const __VLS_30 = __VLS_asFunctionalComponent(__VLS_29, new __VLS_29({
|
|
108
|
+
label: (__VLS_ctx.t('theme.default')),
|
|
109
|
+
value: "default",
|
|
110
|
+
}));
|
|
111
|
+
const __VLS_31 = __VLS_30({
|
|
112
|
+
label: (__VLS_ctx.t('theme.default')),
|
|
113
|
+
value: "default",
|
|
114
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_30));
|
|
115
|
+
if (__VLS_ctx.session.fullSite.value?.theme.dark) {
|
|
116
|
+
const __VLS_33 = {}.VRadio;
|
|
117
|
+
/** @type {[typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ]} */ ;
|
|
56
118
|
// @ts-ignore
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
119
|
+
const __VLS_34 = __VLS_asFunctionalComponent(__VLS_33, new __VLS_33({
|
|
120
|
+
label: (__VLS_ctx.t('theme.dark')),
|
|
121
|
+
value: "dark",
|
|
122
|
+
}));
|
|
123
|
+
const __VLS_35 = __VLS_34({
|
|
124
|
+
label: (__VLS_ctx.t('theme.dark')),
|
|
125
|
+
value: "dark",
|
|
126
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_34));
|
|
127
|
+
}
|
|
128
|
+
if (__VLS_ctx.session.fullSite.value?.theme.hc) {
|
|
129
|
+
const __VLS_37 = {}.VRadio;
|
|
130
|
+
/** @type {[typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ]} */ ;
|
|
61
131
|
// @ts-ignore
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
132
|
+
const __VLS_38 = __VLS_asFunctionalComponent(__VLS_37, new __VLS_37({
|
|
133
|
+
label: (__VLS_ctx.t('theme.hc')),
|
|
134
|
+
value: "hc",
|
|
135
|
+
}));
|
|
136
|
+
const __VLS_39 = __VLS_38({
|
|
137
|
+
label: (__VLS_ctx.t('theme.hc')),
|
|
138
|
+
value: "hc",
|
|
139
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_38));
|
|
140
|
+
}
|
|
141
|
+
if (__VLS_ctx.session.fullSite.value?.theme.hcDark) {
|
|
142
|
+
const __VLS_41 = {}.VRadio;
|
|
143
|
+
/** @type {[typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ]} */ ;
|
|
72
144
|
// @ts-ignore
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
if (__VLS_ctx.session.fullSite.value?.theme.hc) {
|
|
83
|
-
const __VLS_50 = __VLS_resolvedLocalAndGlobalComponents.VRadio;
|
|
84
|
-
/** @type { [typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ] } */
|
|
85
|
-
// @ts-ignore
|
|
86
|
-
const __VLS_51 = __VLS_asFunctionalComponent(__VLS_50, new __VLS_50({ label: ((__VLS_ctx.t('theme.hc'))), value: ("hc"), }));
|
|
87
|
-
const __VLS_52 = __VLS_51({ label: ((__VLS_ctx.t('theme.hc'))), value: ("hc"), }, ...__VLS_functionalComponentArgsRest(__VLS_51));
|
|
88
|
-
}
|
|
89
|
-
if (__VLS_ctx.session.fullSite.value?.theme.hcDark) {
|
|
90
|
-
const __VLS_56 = __VLS_resolvedLocalAndGlobalComponents.VRadio;
|
|
91
|
-
/** @type { [typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ] } */
|
|
92
|
-
// @ts-ignore
|
|
93
|
-
const __VLS_57 = __VLS_asFunctionalComponent(__VLS_56, new __VLS_56({ label: ((__VLS_ctx.t('theme.hcDark'))), value: ("hc-dark"), }));
|
|
94
|
-
const __VLS_58 = __VLS_57({ label: ((__VLS_ctx.t('theme.hcDark'))), value: ("hc-dark"), }, ...__VLS_functionalComponentArgsRest(__VLS_57));
|
|
95
|
-
}
|
|
96
|
-
__VLS_nonNullable(__VLS_35.slots).default;
|
|
97
|
-
const __VLS_35 = __VLS_pickFunctionalComponentCtx(__VLS_30, __VLS_32);
|
|
98
|
-
__VLS_nonNullable(__VLS_29.slots).default;
|
|
99
|
-
const __VLS_29 = __VLS_pickFunctionalComponentCtx(__VLS_24, __VLS_26);
|
|
100
|
-
__VLS_nonNullable(__VLS_23.slots).default;
|
|
101
|
-
const __VLS_23 = __VLS_pickFunctionalComponentCtx(__VLS_18, __VLS_20);
|
|
102
|
-
const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8);
|
|
103
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
104
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
145
|
+
const __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41({
|
|
146
|
+
label: (__VLS_ctx.t('theme.hcDark')),
|
|
147
|
+
value: "hc-dark",
|
|
148
|
+
}));
|
|
149
|
+
const __VLS_43 = __VLS_42({
|
|
150
|
+
label: (__VLS_ctx.t('theme.hcDark')),
|
|
151
|
+
value: "hc-dark",
|
|
152
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_42));
|
|
105
153
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
var
|
|
111
|
-
var __VLS_inheritedAttrs;
|
|
112
|
-
const __VLS_refs = {};
|
|
113
|
-
var $refs;
|
|
114
|
-
return {
|
|
115
|
-
slots: __VLS_slots,
|
|
116
|
-
refs: $refs,
|
|
117
|
-
attrs: {},
|
|
118
|
-
};
|
|
154
|
+
var __VLS_24;
|
|
155
|
+
var __VLS_20;
|
|
156
|
+
var __VLS_16;
|
|
157
|
+
var __VLS_8;
|
|
158
|
+
var __VLS_3;
|
|
119
159
|
}
|
|
120
|
-
;
|
|
160
|
+
/** @type {__VLS_StyleScopedClasses['theme-switcher']} */ ;
|
|
161
|
+
/** @type {__VLS_StyleScopedClasses['ml-n4']} */ ;
|
|
162
|
+
/** @type {__VLS_StyleScopedClasses['px-0']} */ ;
|
|
163
|
+
/** @type {__VLS_StyleScopedClasses['border-sm']} */ ;
|
|
164
|
+
/** @type {__VLS_StyleScopedClasses['pl-0']} */ ;
|
|
165
|
+
var __VLS_dollars;
|
|
121
166
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
122
167
|
setup() {
|
|
123
168
|
return {
|
|
@@ -132,5 +177,5 @@ export default (await import('vue')).defineComponent({
|
|
|
132
177
|
return {};
|
|
133
178
|
},
|
|
134
179
|
});
|
|
135
|
-
;
|
|
180
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
136
181
|
//# sourceMappingURL=theme-switcher.vue.js.map
|
package/tutorial-alert.vue.d.ts
CHANGED
|
@@ -67,9 +67,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
};
|
|
68
68
|
}>> & Readonly<{}>, {
|
|
69
69
|
persistent: boolean;
|
|
70
|
-
html: string;
|
|
71
|
-
text: string;
|
|
72
70
|
href: string;
|
|
71
|
+
text: string;
|
|
72
|
+
html: string;
|
|
73
73
|
initial: boolean;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
75
|
export default _default;
|