@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.
- 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 +10 -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/owner-pick.vue.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
/// <reference types="
|
|
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
|
-
|
|
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
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
const
|
|
111
|
-
|
|
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
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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": "
|
|
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": "
|
|
22
|
+
"vuetify": "4"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
25
|
"dependencies": {
|
package/personal-menu.vue
CHANGED
package/personal-menu.vue.d.ts
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
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:
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
11
7
|
export default _default;
|
|
12
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
9
|
new (): {
|
|
14
10
|
$slots: S;
|
|
15
11
|
};
|