@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/user-avatar.vue.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import { computed } from 'vue';
|
|
3
3
|
import { useSession } from '@data-fair/lib-vue/session.js';
|
|
4
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
5
4
|
const props = defineProps({
|
|
6
5
|
showAccount: { type: Boolean, default: false }
|
|
7
6
|
});
|
|
@@ -17,68 +16,67 @@ const accountAvatarUrl = computed(() => {
|
|
|
17
16
|
return url;
|
|
18
17
|
});
|
|
19
18
|
const showSecondAvatar = computed(() => props.showAccount && session.state.account && session.state.account.type !== 'user');
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
20
|
+
const __VLS_ctx = {};
|
|
21
|
+
let __VLS_components;
|
|
22
|
+
let __VLS_directives;
|
|
23
|
+
// CSS variable injection
|
|
24
|
+
// CSS variable injection end
|
|
25
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
|
|
26
|
+
...{ class: "sd-avatar" },
|
|
27
|
+
...{ class: ({ 'has-secondary-avatar': __VLS_ctx.showSecondAvatar }) },
|
|
28
|
+
'aria-hidden': true,
|
|
24
29
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const
|
|
30
|
-
...{},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
__VLS_styleScopedClasses['primary-avatar'];
|
|
70
|
-
__VLS_styleScopedClasses['secondary-avatar'];
|
|
71
|
-
var __VLS_slots;
|
|
72
|
-
var __VLS_inheritedAttrs;
|
|
73
|
-
const __VLS_refs = {};
|
|
74
|
-
var $refs;
|
|
75
|
-
return {
|
|
76
|
-
slots: __VLS_slots,
|
|
77
|
-
refs: $refs,
|
|
78
|
-
attrs: {},
|
|
79
|
-
};
|
|
30
|
+
if (__VLS_ctx.showAccount && __VLS_ctx.session.state.account && __VLS_ctx.session.state.account.type === 'user') {
|
|
31
|
+
const __VLS_0 = {}.VAvatar;
|
|
32
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
35
|
+
...{ class: "primary-avatar" },
|
|
36
|
+
size: (36),
|
|
37
|
+
image: (__VLS_ctx.userAvatarUrl),
|
|
38
|
+
}));
|
|
39
|
+
const __VLS_2 = __VLS_1({
|
|
40
|
+
...{ class: "primary-avatar" },
|
|
41
|
+
size: (36),
|
|
42
|
+
image: (__VLS_ctx.userAvatarUrl),
|
|
43
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
const __VLS_4 = {}.VAvatar;
|
|
47
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
const __VLS_5 = __VLS_asFunctionalComponent(__VLS_4, new __VLS_4({
|
|
50
|
+
...{ class: "primary-avatar" },
|
|
51
|
+
size: (36),
|
|
52
|
+
image: (__VLS_ctx.accountAvatarUrl),
|
|
53
|
+
}));
|
|
54
|
+
const __VLS_6 = __VLS_5({
|
|
55
|
+
...{ class: "primary-avatar" },
|
|
56
|
+
size: (36),
|
|
57
|
+
image: (__VLS_ctx.accountAvatarUrl),
|
|
58
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_5));
|
|
59
|
+
}
|
|
60
|
+
if (__VLS_ctx.showSecondAvatar) {
|
|
61
|
+
const __VLS_8 = {}.VAvatar;
|
|
62
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
63
|
+
// @ts-ignore
|
|
64
|
+
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
|
|
65
|
+
...{ class: "secondary-avatar" },
|
|
66
|
+
size: (28),
|
|
67
|
+
image: (__VLS_ctx.userAvatarUrl),
|
|
68
|
+
}));
|
|
69
|
+
const __VLS_10 = __VLS_9({
|
|
70
|
+
...{ class: "secondary-avatar" },
|
|
71
|
+
size: (28),
|
|
72
|
+
image: (__VLS_ctx.userAvatarUrl),
|
|
73
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
80
74
|
}
|
|
81
|
-
;
|
|
75
|
+
/** @type {__VLS_StyleScopedClasses['sd-avatar']} */ ;
|
|
76
|
+
/** @type {__VLS_StyleScopedClasses['primary-avatar']} */ ;
|
|
77
|
+
/** @type {__VLS_StyleScopedClasses['primary-avatar']} */ ;
|
|
78
|
+
/** @type {__VLS_StyleScopedClasses['secondary-avatar']} */ ;
|
|
79
|
+
var __VLS_dollars;
|
|
82
80
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
83
81
|
setup() {
|
|
84
82
|
return {
|
|
@@ -100,5 +98,5 @@ export default (await import('vue')).defineComponent({
|
|
|
100
98
|
showAccount: { type: Boolean, default: false }
|
|
101
99
|
},
|
|
102
100
|
});
|
|
103
|
-
;
|
|
101
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
104
102
|
//# sourceMappingURL=user-avatar.vue.js.map
|