@data-fair/lib-vuetify 1.12.1 → 1.12.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vuetify",
3
- "version": "1.12.1",
3
+ "version": "1.12.3",
4
4
  "description": "Components based on the Vuetify 3 UI lib for the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -24,7 +24,7 @@ import { ref, watch } from 'vue'
24
24
  import { ofetch } from 'ofetch'
25
25
  import { useDebounceFn } from '@vueuse/core'
26
26
 
27
- defineProps<{variant?: VAutocomplete['variant']}>()
27
+ defineProps({variant: String as () => VAutocomplete['variant']})
28
28
  const emit = defineEmits(['selected'])
29
29
  const model = defineModel({ type: String })
30
30
 
@@ -1,14 +1,17 @@
1
1
  import type { VAutocomplete } from 'vuetify/components/VAutocomplete';
2
- declare let __VLS_typeProps: {
3
- variant?: VAutocomplete['variant'];
4
- };
5
- declare const model: import("vue").ModelRef<string | undefined, string, string | undefined, string | undefined>;
6
- type __VLS_PublicProps = {
7
- modelValue?: typeof model['value'];
8
- } & typeof __VLS_typeProps;
9
- declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ variant: () => VAutocomplete["variant"];
4
+ modelValue: {
5
+ type: import("vue").PropType<string>;
6
+ };
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
8
  selected: (...args: any[]) => void;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
9
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ variant: () => VAutocomplete["variant"];
11
+ modelValue: {
12
+ type: import("vue").PropType<string>;
13
+ };
14
+ }>> & Readonly<{
12
15
  onSelected?: ((...args: any[]) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
17
  export default _default;
@@ -3,8 +3,7 @@ import { ref, watch } from 'vue';
3
3
  import { ofetch } from 'ofetch';
4
4
  import { useDebounceFn } from '@vueuse/core';
5
5
  const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
6
- let __VLS_typeProps;
7
- const __VLS_props = defineProps();
6
+ const __VLS_props = defineProps({ variant: String });
8
7
  const emit = defineEmits(['selected']);
9
8
  const model = defineModel({ type: String });
10
9
  const addressesList = ref([]);
@@ -48,6 +47,7 @@ watch(address, (addr) => {
48
47
  emit('selected', addr ? addr.value : undefined);
49
48
  });
50
49
  const __VLS_fnComponent = (await import('vue')).defineComponent({
50
+ props: { variant: String },
51
51
  emits: {
52
52
  ...{},
53
53
  ...{},
@@ -107,7 +107,10 @@ const __VLS_self = (await import('vue')).defineComponent({
107
107
  ...{},
108
108
  ...{},
109
109
  },
110
- __typeProps: {},
110
+ props: {
111
+ ...{},
112
+ ...{ variant: String },
113
+ },
111
114
  });
112
115
  export default (await import('vue')).defineComponent({
113
116
  setup() {
@@ -117,7 +120,10 @@ export default (await import('vue')).defineComponent({
117
120
  ...{},
118
121
  ...{},
119
122
  },
120
- __typeProps: {},
123
+ props: {
124
+ ...{},
125
+ ...{ variant: String },
126
+ },
121
127
  });
122
128
  ;
123
129
  //# sourceMappingURL=search-address.vue.js.map
package/vite.d.ts CHANGED
@@ -16,7 +16,6 @@ export declare const autoImports: (string | {
16
16
  '@data-fair/lib-vuetify/owner-avatar.vue': string[][];
17
17
  '@data-fair/lib-vuetify/owner-pick.vue': string[][];
18
18
  '@data-fair/lib-vuetify/personal-menu.vue': string[][];
19
- '@data-fair/lib-vuetify/search-address.vue': string[][];
20
19
  '@data-fair/lib-vuetify/theme-switcher.vue': string[][];
21
20
  '@data-fair/lib-vuetify/tutorial-alert.vue': string[][];
22
21
  '@data-fair/lib-vuetify/ui-notif-alert.vue': string[][];
package/vite.js CHANGED
@@ -10,7 +10,8 @@ export const autoImports = [
10
10
  '@data-fair/lib-vuetify/owner-avatar.vue': [['default', 'dfOwnerAvatar']],
11
11
  '@data-fair/lib-vuetify/owner-pick.vue': [['default', 'dfOwnerPick']],
12
12
  '@data-fair/lib-vuetify/personal-menu.vue': [['default', 'dfPersonalMenu']],
13
- '@data-fair/lib-vuetify/search-address.vue': [['default', 'dfSearchAddress']],
13
+ // I don't understand why but search-address.vue breaks some typescript checks
14
+ // '@data-fair/lib-vuetify/search-address.vue': [['default', 'dfSearchAddress']],
14
15
  '@data-fair/lib-vuetify/theme-switcher.vue': [['default', 'dfThemeSwitcher']],
15
16
  '@data-fair/lib-vuetify/tutorial-alert.vue': [['default', 'dfTutorialAlert']],
16
17
  '@data-fair/lib-vuetify/ui-notif-alert.vue': [['default', 'dfUiNotifAlert']],