@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.
@@ -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;
@@ -1,8 +1,7 @@
1
- /// <reference types=".vue-global-types/vue_3.5_false.d.ts" />
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
- const __VLS_fnComponent = (await import('vue')).defineComponent({
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
- function __VLS_template() {
60
- const __VLS_ctx = {};
61
- const __VLS_localComponents = {
62
- ...{},
63
- ...{},
64
- ...__VLS_ctx,
65
- };
66
- let __VLS_components;
67
- const __VLS_localDirectives = {
68
- ...{},
69
- ...__VLS_ctx,
70
- };
71
- let __VLS_directives;
72
- let __VLS_styleScopedClasses;
73
- let __VLS_resolvedLocalAndGlobalComponents;
74
- const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VAutocomplete;
75
- /** @type { [typeof __VLS_components.VAutocomplete, typeof __VLS_components.vAutocomplete, ] } */
76
- // @ts-ignore
77
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ 'onUpdate:search': {} }, modelValue: ((__VLS_ctx.address)), items: ((__VLS_ctx.addressesList)), loading: ((__VLS_ctx.loadingAddresses)), noFilter: (true), clearable: ((true)), returnObject: (true), hideNoData: (true), hideDetails: (true), label: ("Adresse"), placeholder: ("Saisissez une adresse"), variant: ((__VLS_ctx.variant)), density: ("compact"), menuIcon: (""), }));
78
- const __VLS_2 = __VLS_1({ ...{ 'onUpdate:search': {} }, modelValue: ((__VLS_ctx.address)), items: ((__VLS_ctx.addressesList)), loading: ((__VLS_ctx.loadingAddresses)), noFilter: (true), clearable: ((true)), returnObject: (true), hideNoData: (true), hideDetails: (true), label: ("Adresse"), placeholder: ("Saisissez une adresse"), variant: ((__VLS_ctx.variant)), density: ("compact"), menuIcon: (""), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
79
- let __VLS_6;
80
- const __VLS_7 = {
81
- 'onUpdate:search': ((search) => __VLS_ctx.findAdresses(search))
82
- };
83
- let __VLS_3;
84
- let __VLS_4;
85
- const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
86
- var __VLS_slots;
87
- var __VLS_inheritedAttrs;
88
- const __VLS_refs = {};
89
- var $refs;
90
- return {
91
- slots: __VLS_slots,
92
- refs: $refs,
93
- attrs: {},
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
@@ -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
@@ -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
- nudge-left
5
+ class="ml-n4"
6
6
  >
7
7
  <template #activator="{props: activatorProps}">
8
8
  <v-btn
@@ -1,123 +1,168 @@
1
- /// <reference types=".vue-global-types/vue_3.5_false.d.ts" />
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
- const __VLS_fnComponent = (await import('vue')).defineComponent({});
9
- ;
10
- let __VLS_functionalComponentProps;
11
- function __VLS_template() {
12
- const __VLS_ctx = {};
13
- const __VLS_localComponents = {
14
- ...{},
15
- ...{},
16
- ...__VLS_ctx,
17
- };
18
- let __VLS_components;
19
- const __VLS_localDirectives = {
20
- ...{},
21
- ...__VLS_ctx,
22
- };
23
- let __VLS_directives;
24
- let __VLS_styleScopedClasses;
25
- // CSS variable injection
26
- // CSS variable injection end
27
- let __VLS_resolvedLocalAndGlobalComponents;
28
- if (__VLS_ctx.session.fullSite.value?.theme.dark || __VLS_ctx.session.fullSite.value?.theme.hc || __VLS_ctx.session.fullSite.value?.theme.hcDark) {
29
- const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VToolbarItems;
30
- /** @type { [typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, typeof __VLS_components.VToolbarItems, typeof __VLS_components.vToolbarItems, ] } */
31
- // @ts-ignore
32
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ class: ("theme-switcher") }, }));
33
- const __VLS_2 = __VLS_1({ ...{ class: ("theme-switcher") }, }, ...__VLS_functionalComponentArgsRest(__VLS_1));
34
- const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.VMenu;
35
- /** @type { [typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, ] } */
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 __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ offsetY: (true), nudgeLeft: (true), }));
38
- const __VLS_8 = __VLS_7({ offsetY: (true), nudgeLeft: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_7));
39
- __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
40
- {
41
- const { activator: __VLS_thisSlot } = __VLS_nonNullable(__VLS_11.slots);
42
- const { props: activatorProps } = __VLS_getSlotParam(__VLS_thisSlot);
43
- const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.VBtn;
44
- /** @type { [typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ] } */
45
- // @ts-ignore
46
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ ...{ class: ("px-0") }, icon: ((__VLS_ctx.mdiThemeLightDark)), title: ((__VLS_ctx.t('themeSwitch'))), ...(activatorProps), }));
47
- const __VLS_14 = __VLS_13({ ...{ class: ("px-0") }, icon: ((__VLS_ctx.mdiThemeLightDark)), title: ((__VLS_ctx.t('themeSwitch'))), ...(activatorProps), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
48
- }
49
- const __VLS_18 = __VLS_resolvedLocalAndGlobalComponents.VList;
50
- /** @type { [typeof __VLS_components.VList, typeof __VLS_components.vList, typeof __VLS_components.VList, typeof __VLS_components.vList, ] } */
51
- // @ts-ignore
52
- const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({ ...{ class: ("border-sm") }, }));
53
- const __VLS_20 = __VLS_19({ ...{ class: ("border-sm") }, }, ...__VLS_functionalComponentArgsRest(__VLS_19));
54
- const __VLS_24 = __VLS_resolvedLocalAndGlobalComponents.VListItem;
55
- /** @type { [typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, typeof __VLS_components.VListItem, typeof __VLS_components.vListItem, ] } */
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 __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({ density: ("compact"), ...{ class: ("pl-0") }, }));
58
- const __VLS_26 = __VLS_25({ density: ("compact"), ...{ class: ("pl-0") }, }, ...__VLS_functionalComponentArgsRest(__VLS_25));
59
- const __VLS_30 = __VLS_resolvedLocalAndGlobalComponents.VRadioGroup;
60
- /** @type { [typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, ] } */
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 __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({ ...{ 'onUpdate:modelValue': {} }, modelValue: ((__VLS_ctx.session.theme.value)), density: ("comfortable"), color: ("primary"), hideDetails: (true), label: ((__VLS_ctx.t('themeSwitch'))), }));
63
- const __VLS_32 = __VLS_31({ ...{ 'onUpdate:modelValue': {} }, modelValue: ((__VLS_ctx.session.theme.value)), density: ("comfortable"), color: ("primary"), hideDetails: (true), label: ((__VLS_ctx.t('themeSwitch'))), }, ...__VLS_functionalComponentArgsRest(__VLS_31));
64
- let __VLS_36;
65
- const __VLS_37 = {
66
- 'onUpdate:modelValue': (value => __VLS_ctx.session.switchTheme(value))
67
- };
68
- let __VLS_33;
69
- let __VLS_34;
70
- const __VLS_38 = __VLS_resolvedLocalAndGlobalComponents.VRadio;
71
- /** @type { [typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ] } */
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 __VLS_39 = __VLS_asFunctionalComponent(__VLS_38, new __VLS_38({ label: ((__VLS_ctx.t('theme.default'))), value: ("default"), }));
74
- const __VLS_40 = __VLS_39({ label: ((__VLS_ctx.t('theme.default'))), value: ("default"), }, ...__VLS_functionalComponentArgsRest(__VLS_39));
75
- if (__VLS_ctx.session.fullSite.value?.theme.dark) {
76
- const __VLS_44 = __VLS_resolvedLocalAndGlobalComponents.VRadio;
77
- /** @type { [typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ] } */
78
- // @ts-ignore
79
- const __VLS_45 = __VLS_asFunctionalComponent(__VLS_44, new __VLS_44({ label: ((__VLS_ctx.t('theme.dark'))), value: ("dark"), }));
80
- const __VLS_46 = __VLS_45({ label: ((__VLS_ctx.t('theme.dark'))), value: ("dark"), }, ...__VLS_functionalComponentArgsRest(__VLS_45));
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
- __VLS_styleScopedClasses['theme-switcher'];
107
- __VLS_styleScopedClasses['px-0'];
108
- __VLS_styleScopedClasses['border-sm'];
109
- __VLS_styleScopedClasses['pl-0'];
110
- var __VLS_slots;
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
@@ -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;