@data-fair/lib-vuetify 1.13.2 → 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.
@@ -1,4 +1,4 @@
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
  // 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
- function __VLS_template() {
57
- const __VLS_ctx = {};
58
- const __VLS_localComponents = {
59
- ...{},
60
- ...__VLS_ctx,
61
- };
62
- let __VLS_components;
63
- const __VLS_localDirectives = {
64
- ...{},
65
- ...__VLS_ctx,
66
- };
67
- let __VLS_directives;
68
- let __VLS_styleScopedClasses;
69
- // CSS variable injection
70
- // CSS variable injection end
71
- let __VLS_resolvedLocalAndGlobalComponents;
72
- const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VMenu;
73
- /** @type { [typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, ] } */
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 __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ modelValue: ((__VLS_ctx.menu)), closeOnContentClick: ((false)), offsetY: (true), minWidth: ("auto"), }));
76
- const __VLS_2 = __VLS_1({ modelValue: ((__VLS_ctx.menu)), closeOnContentClick: ((false)), offsetY: (true), minWidth: ("auto"), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
77
- __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
78
- {
79
- const { activator: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
80
- const [{ props }] = __VLS_getSlotParams(__VLS_thisSlot);
81
- const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.VBtn;
82
- /** @type { [typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ] } */
83
- // @ts-ignore
84
- const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ modelValue: ((__VLS_ctx.date)), icon: (true), color: ("white"), density: ("comfortable"), ...{ class: ("mx-1 mt-1") }, ...(props), }));
85
- const __VLS_8 = __VLS_7({ modelValue: ((__VLS_ctx.date)), icon: (true), color: ("white"), density: ("comfortable"), ...{ class: ("mx-1 mt-1") }, ...(props), }, ...__VLS_functionalComponentArgsRest(__VLS_7));
86
- const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.VIcon;
87
- /** @type { [typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ] } */
88
- // @ts-ignore
89
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ color: ("primary"), }));
90
- const __VLS_14 = __VLS_13({ color: ("primary"), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
91
- __VLS_nonNullable(__VLS_17.slots).default;
92
- const __VLS_17 = __VLS_pickFunctionalComponentCtx(__VLS_12, __VLS_14);
93
- __VLS_nonNullable(__VLS_11.slots).default;
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 __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({ modelValue: ((__VLS_ctx.date)), multiple: ((__VLS_ctx.rangeMode)), hideHeader: (true), showAdjacentMonths: (true), flat: (true), }));
111
- const __VLS_26 = __VLS_25({ modelValue: ((__VLS_ctx.date)), multiple: ((__VLS_ctx.rangeMode)), hideHeader: (true), showAdjacentMonths: (true), flat: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_25));
112
- __VLS_nonNullable(__VLS_23.slots).default;
113
- const __VLS_23 = __VLS_pickFunctionalComponentCtx(__VLS_18, __VLS_20);
114
- const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
115
- __VLS_styleScopedClasses['mx-1'];
116
- __VLS_styleScopedClasses['mt-1'];
117
- __VLS_styleScopedClasses['text-h6'];
118
- __VLS_styleScopedClasses['px-2'];
119
- __VLS_styleScopedClasses['text-h6'];
120
- __VLS_styleScopedClasses['px-2'];
121
- var __VLS_slots;
122
- var __VLS_inheritedAttrs;
123
- const __VLS_refs = {};
124
- var $refs;
125
- return {
126
- slots: __VLS_slots,
127
- refs: $refs,
128
- attrs: {},
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": (modelValue: string | undefined) => any;
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"?: ((modelValue: string | undefined) => any) | undefined;
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;
@@ -1,6 +1,5 @@
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
- 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
- const __VLS_fnComponent = (await import('vue')).defineComponent({
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
- function __VLS_template() {
42
- const __VLS_ctx = {};
43
- const __VLS_localComponents = {
44
- ...{},
45
- ...{},
46
- ...__VLS_ctx,
47
- };
48
- let __VLS_components;
49
- const __VLS_localDirectives = {
50
- ...{},
51
- ...__VLS_ctx,
52
- };
53
- let __VLS_directives;
54
- let __VLS_styleScopedClasses;
55
- // CSS variable injection
56
- // CSS variable injection end
57
- let __VLS_resolvedLocalAndGlobalComponents;
58
- if (props.label) {
59
- __VLS_elementAsFunction(__VLS_intrinsicElements.label, __VLS_intrinsicElements.label)({ ...{ class: ("text-body-2 text-medium-emphasis ml-2") }, });
60
- (__VLS_ctx.label);
61
- }
62
- if (__VLS_ctx.model && __VLS_ctx.model.length) {
63
- const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VRow;
64
- /** @type { [typeof __VLS_components.VRow, typeof __VLS_components.vRow, typeof __VLS_components.VRow, typeof __VLS_components.vRow, ] } */
65
- // @ts-ignore
66
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ class: ("date-range-picker") }, align: ("center"), }));
67
- const __VLS_2 = __VLS_1({ ...{ class: ("date-range-picker") }, align: ("center"), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
68
- const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.VCol;
69
- /** @type { [typeof __VLS_components.VCol, typeof __VLS_components.vCol, typeof __VLS_components.VCol, typeof __VLS_components.vCol, ] } */
70
- // @ts-ignore
71
- const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ ...{ class: ("pr-0") }, }));
72
- const __VLS_8 = __VLS_7({ ...{ class: ("pr-0") }, }, ...__VLS_functionalComponentArgsRest(__VLS_7));
73
- const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.VTextField;
74
- /** @type { [typeof __VLS_components.VTextField, typeof __VLS_components.vTextField, ] } */
75
- // @ts-ignore
76
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ modelValue: ((__VLS_ctx.start)), min: ((__VLS_ctx.min)), max: ((__VLS_ctx.max)), type: ("date"), density: ("compact"), }));
77
- const __VLS_14 = __VLS_13({ modelValue: ((__VLS_ctx.start)), min: ((__VLS_ctx.min)), max: ((__VLS_ctx.max)), type: ("date"), density: ("compact"), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
78
- __VLS_nonNullable(__VLS_11.slots).default;
79
- const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8);
80
- __VLS_elementAsFunction(__VLS_intrinsicElements.span, __VLS_intrinsicElements.span)({ ...{ class: ("pb-6") }, });
81
- const __VLS_18 = __VLS_resolvedLocalAndGlobalComponents.VCol;
82
- /** @type { [typeof __VLS_components.VCol, typeof __VLS_components.vCol, typeof __VLS_components.VCol, typeof __VLS_components.vCol, ] } */
83
- // @ts-ignore
84
- const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({ ...{ class: ("pl-0") }, }));
85
- const __VLS_20 = __VLS_19({ ...{ class: ("pl-0") }, }, ...__VLS_functionalComponentArgsRest(__VLS_19));
86
- const __VLS_24 = __VLS_resolvedLocalAndGlobalComponents.VTextField;
87
- /** @type { [typeof __VLS_components.VTextField, typeof __VLS_components.vTextField, ] } */
88
- // @ts-ignore
89
- const __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({ modelValue: ((__VLS_ctx.end)), min: ((__VLS_ctx.min)), max: ((__VLS_ctx.max)), type: ("date"), density: ("compact"), }));
90
- const __VLS_26 = __VLS_25({ modelValue: ((__VLS_ctx.end)), min: ((__VLS_ctx.min)), max: ((__VLS_ctx.max)), type: ("date"), density: ("compact"), }, ...__VLS_functionalComponentArgsRest(__VLS_25));
91
- __VLS_nonNullable(__VLS_23.slots).default;
92
- const __VLS_23 = __VLS_pickFunctionalComponentCtx(__VLS_18, __VLS_20);
93
- __VLS_nonNullable(__VLS_5.slots).default;
94
- const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
95
- }
96
- __VLS_styleScopedClasses['text-body-2'];
97
- __VLS_styleScopedClasses['text-medium-emphasis'];
98
- __VLS_styleScopedClasses['ml-2'];
99
- __VLS_styleScopedClasses['date-range-picker'];
100
- __VLS_styleScopedClasses['pr-0'];
101
- __VLS_styleScopedClasses['pb-6'];
102
- __VLS_styleScopedClasses['pl-0'];
103
- var __VLS_slots;
104
- var __VLS_inheritedAttrs;
105
- const __VLS_refs = {};
106
- var $refs;
107
- return {
108
- slots: __VLS_slots,
109
- refs: $refs,
110
- attrs: {},
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
@@ -48,11 +48,21 @@ export function vuetifySessionOptions(session, cspNonce) {
48
48
  VColorPicker: {
49
49
  mode: 'hex'
50
50
  },
51
+ VColorInput: {
52
+ // the text-field input is sufficient
53
+ hideInputs: true
54
+ },
51
55
  VCheckbox: {
52
56
  color: 'primary'
53
57
  },
54
58
  VSwitch: {
55
59
  color: 'primary'
60
+ },
61
+ vAutocomplete: {
62
+ autocomplete: 'suppress'
63
+ },
64
+ vSelect: {
65
+ autocomplete: 'suppress'
56
66
  }
57
67
  }
58
68
  };
@@ -1,110 +1,99 @@
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
- const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
4
3
  const session = useSession();
5
- const __VLS_props = defineProps({
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
- const __VLS_fnComponent = (await import('vue')).defineComponent({
17
- props: {
18
- locales: {
19
- type: Array,
20
- default: ['fr', 'en']
21
- }
22
- },
23
- });
24
- ;
25
- let __VLS_functionalComponentProps;
26
- function __VLS_template() {
27
- const __VLS_ctx = {};
28
- const __VLS_localComponents = {
29
- ...{},
30
- ...{},
31
- ...__VLS_ctx,
32
- };
33
- let __VLS_components;
34
- const __VLS_localDirectives = {
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 __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ class: ("lang-switcher") }, }));
47
- const __VLS_2 = __VLS_1({ ...{ class: ("lang-switcher") }, }, ...__VLS_functionalComponentArgsRest(__VLS_1));
48
- if (__VLS_ctx.locales.length > 1) {
49
- const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.VSpeedDial;
50
- /** @type { [typeof __VLS_components.VSpeedDial, typeof __VLS_components.vSpeedDial, typeof __VLS_components.VSpeedDial, typeof __VLS_components.vSpeedDial, ] } */
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 __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ direction: ("bottom"), transition: ("fade-transition"), }));
53
- const __VLS_8 = __VLS_7({ direction: ("bottom"), transition: ("fade-transition"), }, ...__VLS_functionalComponentArgsRest(__VLS_7));
54
- __VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
55
- {
56
- const { activator: __VLS_thisSlot } = __VLS_nonNullable(__VLS_11.slots);
57
- const [{ props }] = __VLS_getSlotParams(__VLS_thisSlot);
58
- const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.VBtn;
59
- /** @type { [typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ] } */
60
- // @ts-ignore
61
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ ...(props), }));
62
- const __VLS_14 = __VLS_13({ ...(props), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
63
- (__VLS_ctx.session.lang.value);
64
- __VLS_nonNullable(__VLS_17.slots).default;
65
- const __VLS_17 = __VLS_pickFunctionalComponentCtx(__VLS_12, __VLS_14);
66
- }
67
- for (const [locale] of __VLS_getVForSourceType((__VLS_ctx.locales.filter(l => l !== __VLS_ctx.session.lang.value)))) {
68
- const __VLS_18 = __VLS_resolvedLocalAndGlobalComponents.VBtn;
69
- /** @type { [typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ] } */
70
- // @ts-ignore
71
- const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({ ...{ 'onClick': {} }, key: ((locale)), icon: (true), }));
72
- const __VLS_20 = __VLS_19({ ...{ 'onClick': {} }, key: ((locale)), icon: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_19));
73
- let __VLS_24;
74
- const __VLS_25 = {
75
- onClick: (...[$event]) => {
76
- if (!((__VLS_ctx.locales.length > 1)))
77
- return;
78
- __VLS_ctx.setLocale(locale);
79
- }
80
- };
81
- let __VLS_21;
82
- let __VLS_22;
83
- (locale);
84
- __VLS_nonNullable(__VLS_23.slots).default;
85
- const __VLS_23 = __VLS_pickFunctionalComponentCtx(__VLS_18, __VLS_20);
86
- }
87
- const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8);
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
- __VLS_nonNullable(__VLS_5.slots).default;
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