@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/owner-pick.vue.js CHANGED
@@ -1,10 +1,9 @@
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 { watch, computed } from 'vue';
3
3
  import { computedAsync } from '@vueuse/core';
4
4
  import { ofetch } from 'ofetch';
5
5
  import { useI18n } from 'vue-i18n';
6
6
  import { useSessionAuthenticated } from '@data-fair/lib-vue/session.js';
7
- const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
8
7
  const { t } = useI18n({ useScope: 'local' });
9
8
  const props = defineProps({
10
9
  otherAccounts: { type: Boolean, default: false },
@@ -75,89 +74,80 @@ const status = computed(() => {
75
74
  return 'hidden';
76
75
  return 'ok';
77
76
  });
78
- const __VLS_fnComponent = (await import('vue')).defineComponent({
79
- props: {
80
- otherAccounts: { type: Boolean, default: false },
81
- hideSingle: { type: Boolean, default: true },
82
- message: { type: String, default: null }
83
- },
84
- __typeEmits: {},
85
- });
86
- ;
87
- let __VLS_functionalComponentProps;
77
+ debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
88
78
  const __VLS_defaults = {
89
- modelValue: null,
90
- ready: false,
79
+ 'modelValue': null,
80
+ 'ready': false,
91
81
  };
92
- function __VLS_template() {
93
- const __VLS_ctx = {};
94
- const __VLS_localComponents = {
95
- ...{},
96
- ...{},
97
- ...__VLS_ctx,
98
- };
99
- let __VLS_components;
100
- const __VLS_localDirectives = {
101
- ...{},
102
- ...__VLS_ctx,
103
- };
104
- let __VLS_directives;
105
- let __VLS_styleScopedClasses;
106
- let __VLS_resolvedLocalAndGlobalComponents;
107
- const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VRow;
108
- /** @type { [typeof __VLS_components.VRow, typeof __VLS_components.vRow, typeof __VLS_components.VRow, typeof __VLS_components.vRow, ] } */
109
- // @ts-ignore
110
- const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
111
- const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
112
- const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.VCol;
113
- /** @type { [typeof __VLS_components.VCol, typeof __VLS_components.vCol, typeof __VLS_components.VCol, typeof __VLS_components.vCol, ] } */
82
+ const __VLS_modelEmit = defineEmits();
83
+ const __VLS_ctx = {};
84
+ let __VLS_components;
85
+ let __VLS_directives;
86
+ const __VLS_0 = {}.VRow;
87
+ /** @type {[typeof __VLS_components.VRow, typeof __VLS_components.vRow, typeof __VLS_components.VRow, typeof __VLS_components.vRow, ]} */ ;
88
+ // @ts-ignore
89
+ const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({}));
90
+ const __VLS_2 = __VLS_1({}, ...__VLS_functionalComponentArgsRest(__VLS_1));
91
+ var __VLS_4 = {};
92
+ __VLS_3.slots.default;
93
+ const __VLS_5 = {}.VCol;
94
+ /** @type {[typeof __VLS_components.VCol, typeof __VLS_components.vCol, typeof __VLS_components.VCol, typeof __VLS_components.vCol, ]} */ ;
95
+ // @ts-ignore
96
+ const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({}));
97
+ const __VLS_7 = __VLS_6({}, ...__VLS_functionalComponentArgsRest(__VLS_6));
98
+ __VLS_8.slots.default;
99
+ if (__VLS_ctx.status === 'loading') {
100
+ const __VLS_9 = {}.VProgressLinear;
101
+ /** @type {[typeof __VLS_components.VProgressLinear, typeof __VLS_components.vProgressLinear, ]} */ ;
114
102
  // @ts-ignore
115
- const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({}));
116
- const __VLS_8 = __VLS_7({}, ...__VLS_functionalComponentArgsRest(__VLS_7));
117
- if (__VLS_ctx.status === 'loading') {
118
- const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.VProgressLinear;
119
- /** @type { [typeof __VLS_components.VProgressLinear, typeof __VLS_components.vProgressLinear, ] } */
103
+ const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
104
+ indeterminate: true,
105
+ color: "primary",
106
+ }));
107
+ const __VLS_11 = __VLS_10({
108
+ indeterminate: true,
109
+ color: "primary",
110
+ }, ...__VLS_functionalComponentArgsRest(__VLS_10));
111
+ }
112
+ if (__VLS_ctx.status === 'ok') {
113
+ __VLS_asFunctionalElement(__VLS_intrinsicElements.p, __VLS_intrinsicElements.p)({});
114
+ (__VLS_ctx.message || __VLS_ctx.t('message'));
115
+ if (__VLS_ctx.model) {
116
+ const __VLS_13 = {}.VRadioGroup;
117
+ /** @type {[typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, ]} */ ;
120
118
  // @ts-ignore
121
- const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ indeterminate: (true), color: ("primary"), }));
122
- const __VLS_14 = __VLS_13({ indeterminate: (true), color: ("primary"), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
123
- }
124
- if (__VLS_ctx.status === 'ok') {
125
- __VLS_elementAsFunction(__VLS_intrinsicElements.p, __VLS_intrinsicElements.p)({});
126
- (__VLS_ctx.message || __VLS_ctx.t('message'));
127
- if (__VLS_ctx.model) {
128
- const __VLS_18 = __VLS_resolvedLocalAndGlobalComponents.VRadioGroup;
129
- /** @type { [typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, typeof __VLS_components.VRadioGroup, typeof __VLS_components.vRadioGroup, ] } */
119
+ const __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
120
+ modelValue: (__VLS_ctx.model),
121
+ ...{ class: "my-3 ml-2" },
122
+ }));
123
+ const __VLS_15 = __VLS_14({
124
+ modelValue: (__VLS_ctx.model),
125
+ ...{ class: "my-3 ml-2" },
126
+ }, ...__VLS_functionalComponentArgsRest(__VLS_14));
127
+ __VLS_16.slots.default;
128
+ for (const [owner, $index] of __VLS_getVForSourceType((__VLS_ctx.owners))) {
129
+ const __VLS_17 = {}.VRadio;
130
+ /** @type {[typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ]} */ ;
130
131
  // @ts-ignore
131
- const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({ modelValue: ((__VLS_ctx.model)), ...{ class: ("my-3 ml-2") }, }));
132
- const __VLS_20 = __VLS_19({ modelValue: ((__VLS_ctx.model)), ...{ class: ("my-3 ml-2") }, }, ...__VLS_functionalComponentArgsRest(__VLS_19));
133
- for (const [owner, $index] of __VLS_getVForSourceType((__VLS_ctx.owners))) {
134
- const __VLS_24 = __VLS_resolvedLocalAndGlobalComponents.VRadio;
135
- /** @type { [typeof __VLS_components.VRadio, typeof __VLS_components.vRadio, ] } */
136
- // @ts-ignore
137
- const __VLS_25 = __VLS_asFunctionalComponent(__VLS_24, new __VLS_24({ key: (($index)), label: ((__VLS_ctx.getLabel(owner))), value: ((owner)), }));
138
- const __VLS_26 = __VLS_25({ key: (($index)), label: ((__VLS_ctx.getLabel(owner))), value: ((owner)), }, ...__VLS_functionalComponentArgsRest(__VLS_25));
139
- }
140
- __VLS_nonNullable(__VLS_23.slots).default;
141
- const __VLS_23 = __VLS_pickFunctionalComponentCtx(__VLS_18, __VLS_20);
132
+ const __VLS_18 = __VLS_asFunctionalComponent(__VLS_17, new __VLS_17({
133
+ key: ($index),
134
+ label: (__VLS_ctx.getLabel(owner)),
135
+ value: (owner),
136
+ }));
137
+ const __VLS_19 = __VLS_18({
138
+ key: ($index),
139
+ label: (__VLS_ctx.getLabel(owner)),
140
+ value: (owner),
141
+ }, ...__VLS_functionalComponentArgsRest(__VLS_18));
142
142
  }
143
+ var __VLS_16;
143
144
  }
144
- __VLS_nonNullable(__VLS_11.slots).default;
145
- const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8);
146
- __VLS_nonNullable(__VLS_5.slots).default;
147
- const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
148
- __VLS_styleScopedClasses['my-3'];
149
- __VLS_styleScopedClasses['ml-2'];
150
- var __VLS_slots;
151
- var __VLS_inheritedAttrs;
152
- const __VLS_refs = {};
153
- var $refs;
154
- return {
155
- slots: __VLS_slots,
156
- refs: $refs,
157
- attrs: {},
158
- };
159
145
  }
160
- ;
146
+ var __VLS_8;
147
+ var __VLS_3;
148
+ /** @type {__VLS_StyleScopedClasses['my-3']} */ ;
149
+ /** @type {__VLS_StyleScopedClasses['ml-2']} */ ;
150
+ var __VLS_dollars;
161
151
  const __VLS_self = (await import('vue')).defineComponent({
162
152
  setup() {
163
153
  return {
@@ -192,5 +182,5 @@ export default (await import('vue')).defineComponent({
192
182
  },
193
183
  },
194
184
  });
195
- ;
185
+ ; /* PartiallyEnd: #4569/main.vue */
196
186
  //# sourceMappingURL=owner-pick.vue.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vuetify",
3
- "version": "1.13.3",
3
+ "version": "2.0.0",
4
4
  "description": "Components based on the Vuetify 3 UI lib for the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -19,7 +19,7 @@
19
19
  "@data-fair/lib-vue": "^1.15.0",
20
20
  "ofetch": "1",
21
21
  "vue-i18n": "10 || 11",
22
- "vuetify": "3"
22
+ "vuetify": "4"
23
23
  },
24
24
  "type": "module",
25
25
  "dependencies": {
package/personal-menu.vue CHANGED
@@ -10,7 +10,7 @@
10
10
  <v-menu
11
11
  v-else
12
12
  offset-y
13
- nudge-left
13
+ class="ml-n4"
14
14
  max-height="700"
15
15
  >
16
16
  <template #activator="{props: activatorProps}">
@@ -1,15 +1,11 @@
1
- declare function __VLS_template(): {
2
- slots: {
3
- "actions-before"?(_: {}): any;
4
- };
5
- refs: {};
6
- attrs: Partial<{}>;
1
+ declare var __VLS_92: {};
2
+ type __VLS_Slots = {} & {
3
+ 'actions-before'?: (props: typeof __VLS_92) => any;
7
4
  };
8
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
5
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
10
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
7
  export default _default;
12
- type __VLS_WithTemplateSlots<T, S> = T & {
8
+ type __VLS_WithSlots<T, S> = T & {
13
9
  new (): {
14
10
  $slots: S;
15
11
  };