@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/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 +6 -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/tutorial-alert.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import { useTheme } from 'vuetify';
|
|
3
3
|
import { useI18n } from 'vue-i18n';
|
|
4
4
|
import { mdiCloseCircle, mdiInformation } from '@mdi/js';
|
|
@@ -39,101 +39,122 @@ export default (await import('vue')).defineComponent({
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
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
|
-
|
|
42
|
+
const __VLS_ctx = {};
|
|
43
|
+
let __VLS_components;
|
|
44
|
+
let __VLS_directives;
|
|
45
|
+
// CSS variable injection
|
|
46
|
+
// CSS variable injection end
|
|
47
|
+
if (__VLS_ctx.show || __VLS_ctx.showBtn) {
|
|
48
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.div, __VLS_intrinsicElements.div)({
|
|
49
|
+
...{ class: "tutorial-alert pt-3 pb-2 pr-3" },
|
|
50
|
+
});
|
|
51
|
+
if (__VLS_ctx.show) {
|
|
52
|
+
const __VLS_0 = {}.VAlert;
|
|
53
|
+
/** @type {[typeof __VLS_components.VAlert, typeof __VLS_components.vAlert, typeof __VLS_components.VAlert, typeof __VLS_components.vAlert, ]} */ ;
|
|
54
|
+
// @ts-ignore
|
|
55
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
56
|
+
dark: true,
|
|
57
|
+
color: "success",
|
|
58
|
+
density: "compact",
|
|
59
|
+
border: "start",
|
|
60
|
+
...{ class: "ma-0" },
|
|
61
|
+
variant: (__VLS_ctx.theme.current.value.dark ? 'outlined' : 'flat'),
|
|
62
|
+
}));
|
|
63
|
+
const __VLS_2 = __VLS_1({
|
|
64
|
+
dark: true,
|
|
65
|
+
color: "success",
|
|
66
|
+
density: "compact",
|
|
67
|
+
border: "start",
|
|
68
|
+
...{ class: "ma-0" },
|
|
69
|
+
variant: (__VLS_ctx.theme.current.value.dark ? 'outlined' : 'flat'),
|
|
70
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
71
|
+
__VLS_3.slots.default;
|
|
72
|
+
var __VLS_4 = {};
|
|
73
|
+
if (__VLS_ctx.href) {
|
|
74
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.a, __VLS_intrinsicElements.a)({
|
|
75
|
+
href: (__VLS_ctx.href),
|
|
76
|
+
target: "_blank",
|
|
77
|
+
});
|
|
78
|
+
(__VLS_ctx.text || __VLS_ctx.t('readDoc'));
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
if (__VLS_ctx.text) {
|
|
82
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.span)({});
|
|
83
|
+
__VLS_asFunctionalDirective(__VLS_directives.vText)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.text) }, null, null);
|
|
70
84
|
}
|
|
71
|
-
else {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
__VLS_directiveAsFunction(__VLS_directives.vText)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.text) }, null, null);
|
|
75
|
-
}
|
|
76
|
-
else if (__VLS_ctx.html) {
|
|
77
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.div)({});
|
|
78
|
-
__VLS_directiveAsFunction(__VLS_directives.vHtml)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.html) }, null, null);
|
|
79
|
-
}
|
|
85
|
+
else if (__VLS_ctx.html) {
|
|
86
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.div)({});
|
|
87
|
+
__VLS_asFunctionalDirective(__VLS_directives.vHtml)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.html) }, null, null);
|
|
80
88
|
}
|
|
81
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
82
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
83
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
84
89
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
90
|
+
var __VLS_3;
|
|
91
|
+
}
|
|
92
|
+
if (__VLS_ctx.showBtn) {
|
|
93
|
+
const __VLS_6 = {}.VBtn;
|
|
94
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
95
|
+
// @ts-ignore
|
|
96
|
+
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
|
|
97
|
+
...{ 'onClick': {} },
|
|
98
|
+
...{ class: "toggle" },
|
|
99
|
+
icon: true,
|
|
100
|
+
density: "compact",
|
|
101
|
+
color: "success",
|
|
102
|
+
title: (__VLS_ctx.show ? __VLS_ctx.t('closeHelp') : __VLS_ctx.t('readHelp')),
|
|
103
|
+
}));
|
|
104
|
+
const __VLS_8 = __VLS_7({
|
|
105
|
+
...{ 'onClick': {} },
|
|
106
|
+
...{ class: "toggle" },
|
|
107
|
+
icon: true,
|
|
108
|
+
density: "compact",
|
|
109
|
+
color: "success",
|
|
110
|
+
title: (__VLS_ctx.show ? __VLS_ctx.t('closeHelp') : __VLS_ctx.t('readHelp')),
|
|
111
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
112
|
+
let __VLS_10;
|
|
113
|
+
let __VLS_11;
|
|
114
|
+
let __VLS_12;
|
|
115
|
+
const __VLS_13 = {
|
|
116
|
+
onClick: (...[$event]) => {
|
|
117
|
+
if (!(__VLS_ctx.show || __VLS_ctx.showBtn))
|
|
118
|
+
return;
|
|
119
|
+
if (!(__VLS_ctx.showBtn))
|
|
120
|
+
return;
|
|
121
|
+
__VLS_ctx.show = !__VLS_ctx.show;
|
|
116
122
|
}
|
|
117
|
-
|
|
118
|
-
|
|
123
|
+
};
|
|
124
|
+
__VLS_9.slots.default;
|
|
125
|
+
if (__VLS_ctx.show) {
|
|
126
|
+
const __VLS_14 = {}.VIcon;
|
|
127
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
128
|
+
// @ts-ignore
|
|
129
|
+
const __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({
|
|
130
|
+
icon: (__VLS_ctx.mdiCloseCircle),
|
|
131
|
+
}));
|
|
132
|
+
const __VLS_16 = __VLS_15({
|
|
133
|
+
icon: (__VLS_ctx.mdiCloseCircle),
|
|
134
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
const __VLS_18 = {}.VIcon;
|
|
138
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
139
|
+
// @ts-ignore
|
|
140
|
+
const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
|
|
141
|
+
icon: (__VLS_ctx.mdiInformation),
|
|
142
|
+
}));
|
|
143
|
+
const __VLS_20 = __VLS_19({
|
|
144
|
+
icon: (__VLS_ctx.mdiInformation),
|
|
145
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_19));
|
|
119
146
|
}
|
|
147
|
+
var __VLS_9;
|
|
120
148
|
}
|
|
121
|
-
__VLS_styleScopedClasses['tutorial-alert'];
|
|
122
|
-
__VLS_styleScopedClasses['pt-3'];
|
|
123
|
-
__VLS_styleScopedClasses['pb-2'];
|
|
124
|
-
__VLS_styleScopedClasses['pr-3'];
|
|
125
|
-
__VLS_styleScopedClasses['ma-0'];
|
|
126
|
-
__VLS_styleScopedClasses['toggle'];
|
|
127
|
-
var __VLS_slots;
|
|
128
|
-
var __VLS_inheritedAttrs;
|
|
129
|
-
const __VLS_refs = {};
|
|
130
|
-
var $refs;
|
|
131
|
-
return {
|
|
132
|
-
slots: __VLS_slots,
|
|
133
|
-
refs: $refs,
|
|
134
|
-
attrs: {},
|
|
135
|
-
};
|
|
136
149
|
}
|
|
137
|
-
;
|
|
150
|
+
/** @type {__VLS_StyleScopedClasses['tutorial-alert']} */ ;
|
|
151
|
+
/** @type {__VLS_StyleScopedClasses['pt-3']} */ ;
|
|
152
|
+
/** @type {__VLS_StyleScopedClasses['pb-2']} */ ;
|
|
153
|
+
/** @type {__VLS_StyleScopedClasses['pr-3']} */ ;
|
|
154
|
+
/** @type {__VLS_StyleScopedClasses['ma-0']} */ ;
|
|
155
|
+
/** @type {__VLS_StyleScopedClasses['toggle']} */ ;
|
|
156
|
+
// @ts-ignore
|
|
157
|
+
var __VLS_5 = __VLS_4;
|
|
158
|
+
var __VLS_dollars;
|
|
138
159
|
let __VLS_self;
|
|
139
160
|
//# sourceMappingURL=tutorial-alert.vue.js.map
|
package/ui-notif-alert.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
|
-
const {
|
|
4
|
-
const __VLS_props = defineProps({
|
|
3
|
+
const { notif, alertProps } = defineProps({
|
|
5
4
|
notif: {
|
|
6
5
|
type: Object,
|
|
7
6
|
default: null
|
|
@@ -11,7 +10,6 @@ const __VLS_props = defineProps({
|
|
|
11
10
|
default() { return {}; }
|
|
12
11
|
}
|
|
13
12
|
});
|
|
14
|
-
const { notif, alertProps } = __VLS_props;
|
|
15
13
|
const fullAlertProps = computed(() => {
|
|
16
14
|
const props = { ...alertProps };
|
|
17
15
|
if (!notif)
|
|
@@ -24,70 +22,43 @@ const fullAlertProps = computed(() => {
|
|
|
24
22
|
}
|
|
25
23
|
return props;
|
|
26
24
|
});
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
// CSS variable injection end
|
|
57
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
58
|
-
if (__VLS_ctx.notif) {
|
|
59
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VAlert;
|
|
60
|
-
/** @type { [typeof __VLS_components.VAlert, typeof __VLS_components.vAlert, typeof __VLS_components.VAlert, typeof __VLS_components.vAlert, ] } */
|
|
61
|
-
// @ts-ignore
|
|
62
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ ...{ class: ("ui-notif-alert") }, ...(__VLS_ctx.fullAlertProps), }));
|
|
63
|
-
const __VLS_2 = __VLS_1({ ...{ class: ("ui-notif-alert") }, ...(__VLS_ctx.fullAlertProps), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
64
|
-
if (__VLS_ctx.notif.msg) {
|
|
65
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.p, __VLS_intrinsicElements.p)({});
|
|
66
|
-
(__VLS_ctx.notif.msg);
|
|
67
|
-
}
|
|
68
|
-
if (__VLS_ctx.notif.type === 'error') {
|
|
69
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.p)({ ...{ class: ((__VLS_ctx.notif.msg ? 'ml-3' : '')) }, });
|
|
70
|
-
__VLS_directiveAsFunction(__VLS_directives.vText)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.notif.errorMsg) }, null, null);
|
|
71
|
-
}
|
|
72
|
-
__VLS_nonNullable(__VLS_5.slots).default;
|
|
73
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
25
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
26
|
+
const __VLS_ctx = {};
|
|
27
|
+
let __VLS_components;
|
|
28
|
+
let __VLS_directives;
|
|
29
|
+
// CSS variable injection
|
|
30
|
+
// CSS variable injection end
|
|
31
|
+
if (notif) {
|
|
32
|
+
const __VLS_0 = {}.VAlert;
|
|
33
|
+
/** @type {[typeof __VLS_components.VAlert, typeof __VLS_components.vAlert, typeof __VLS_components.VAlert, typeof __VLS_components.vAlert, ]} */ ;
|
|
34
|
+
// @ts-ignore
|
|
35
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
36
|
+
...{ class: "ui-notif-alert" },
|
|
37
|
+
...(__VLS_ctx.fullAlertProps),
|
|
38
|
+
}));
|
|
39
|
+
const __VLS_2 = __VLS_1({
|
|
40
|
+
...{ class: "ui-notif-alert" },
|
|
41
|
+
...(__VLS_ctx.fullAlertProps),
|
|
42
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
43
|
+
var __VLS_4 = {};
|
|
44
|
+
__VLS_3.slots.default;
|
|
45
|
+
if (notif.msg) {
|
|
46
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.p, __VLS_intrinsicElements.p)({});
|
|
47
|
+
(notif.msg);
|
|
48
|
+
}
|
|
49
|
+
if (notif.type === 'error') {
|
|
50
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.p)({
|
|
51
|
+
...{ class: (notif.msg ? 'ml-3' : '') },
|
|
52
|
+
});
|
|
53
|
+
__VLS_asFunctionalDirective(__VLS_directives.vText)(null, { ...__VLS_directiveBindingRestFields, value: (notif.errorMsg) }, null, null);
|
|
74
54
|
}
|
|
75
|
-
|
|
76
|
-
var __VLS_slots;
|
|
77
|
-
var __VLS_inheritedAttrs;
|
|
78
|
-
const __VLS_refs = {};
|
|
79
|
-
var $refs;
|
|
80
|
-
return {
|
|
81
|
-
slots: __VLS_slots,
|
|
82
|
-
refs: $refs,
|
|
83
|
-
attrs: {},
|
|
84
|
-
};
|
|
55
|
+
var __VLS_3;
|
|
85
56
|
}
|
|
86
|
-
;
|
|
57
|
+
/** @type {__VLS_StyleScopedClasses['ui-notif-alert']} */ ;
|
|
58
|
+
var __VLS_dollars;
|
|
87
59
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
88
60
|
setup() {
|
|
89
61
|
return {
|
|
90
|
-
notif: notif,
|
|
91
62
|
fullAlertProps: fullAlertProps,
|
|
92
63
|
};
|
|
93
64
|
},
|
|
@@ -117,5 +88,5 @@ export default (await import('vue')).defineComponent({
|
|
|
117
88
|
}
|
|
118
89
|
},
|
|
119
90
|
});
|
|
120
|
-
;
|
|
91
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
121
92
|
//# sourceMappingURL=ui-notif-alert.vue.js.map
|
package/ui-notif.vue.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import { computed, ref, watch } from 'vue';
|
|
3
3
|
import { useUiNotif } from '@data-fair/lib-vue/ui-notif.js';
|
|
4
4
|
import inIframe from '@data-fair/lib-utils/in-iframe.js';
|
|
5
5
|
import { mdiClose } from '@mdi/js';
|
|
6
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
7
6
|
const uiNotif = useUiNotif();
|
|
8
7
|
const notification = computed(() => uiNotif.notification.value);
|
|
9
8
|
const showNotification = ref(false);
|
|
@@ -14,7 +13,7 @@ watch(() => notification.value, async () => {
|
|
|
14
13
|
showNotification.value = true;
|
|
15
14
|
}
|
|
16
15
|
}, { immediate: true });
|
|
17
|
-
const
|
|
16
|
+
const { snackbarProps } = defineProps({
|
|
18
17
|
snackbarProps: {
|
|
19
18
|
type: Object,
|
|
20
19
|
default() {
|
|
@@ -22,7 +21,6 @@ const __VLS_props = defineProps({
|
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
|
-
const { snackbarProps } = __VLS_props;
|
|
26
24
|
const fullSnackbarProps = computed(() => {
|
|
27
25
|
const props = { ...snackbarProps };
|
|
28
26
|
if (!notification.value)
|
|
@@ -36,94 +34,82 @@ const fullSnackbarProps = computed(() => {
|
|
|
36
34
|
}
|
|
37
35
|
return props;
|
|
38
36
|
});
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
38
|
+
const __VLS_ctx = {};
|
|
39
|
+
let __VLS_components;
|
|
40
|
+
let __VLS_directives;
|
|
41
|
+
// CSS variable injection
|
|
42
|
+
// CSS variable injection end
|
|
43
|
+
if (__VLS_ctx.notification) {
|
|
44
|
+
const __VLS_0 = {}.VSnackbar;
|
|
45
|
+
/** @type {[typeof __VLS_components.VSnackbar, typeof __VLS_components.vSnackbar, typeof __VLS_components.VSnackbar, typeof __VLS_components.vSnackbar, ]} */ ;
|
|
46
|
+
// @ts-ignore
|
|
47
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
48
|
+
ref: "notificationSnackbar",
|
|
49
|
+
modelValue: (__VLS_ctx.showNotification),
|
|
50
|
+
...{ class: "ui-notif" },
|
|
51
|
+
...(__VLS_ctx.fullSnackbarProps),
|
|
52
|
+
}));
|
|
53
|
+
const __VLS_2 = __VLS_1({
|
|
54
|
+
ref: "notificationSnackbar",
|
|
55
|
+
modelValue: (__VLS_ctx.showNotification),
|
|
56
|
+
...{ class: "ui-notif" },
|
|
57
|
+
...(__VLS_ctx.fullSnackbarProps),
|
|
58
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
59
|
+
/** @type {typeof __VLS_ctx.notificationSnackbar} */ ;
|
|
60
|
+
var __VLS_4 = {};
|
|
61
|
+
__VLS_3.slots.default;
|
|
62
|
+
if (__VLS_ctx.notification.msg) {
|
|
63
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.p, __VLS_intrinsicElements.p)({});
|
|
64
|
+
(__VLS_ctx.notification.msg);
|
|
65
|
+
}
|
|
66
|
+
if (__VLS_ctx.notification.type === 'error') {
|
|
67
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.p)({
|
|
68
|
+
...{ class: (__VLS_ctx.notification.msg ? 'ml-3' : '') },
|
|
69
|
+
});
|
|
70
|
+
__VLS_asFunctionalDirective(__VLS_directives.vText)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.notification.errorMsg) }, null, null);
|
|
71
|
+
}
|
|
72
|
+
{
|
|
73
|
+
const { actions: __VLS_thisSlot } = __VLS_3.slots;
|
|
74
|
+
const __VLS_6 = {}.VBtn;
|
|
75
|
+
/** @type {[typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ]} */ ;
|
|
76
|
+
// @ts-ignore
|
|
77
|
+
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({
|
|
78
|
+
...{ 'onClick': {} },
|
|
79
|
+
icon: true,
|
|
80
|
+
}));
|
|
81
|
+
const __VLS_8 = __VLS_7({
|
|
82
|
+
...{ 'onClick': {} },
|
|
83
|
+
icon: true,
|
|
84
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
85
|
+
let __VLS_10;
|
|
86
|
+
let __VLS_11;
|
|
87
|
+
let __VLS_12;
|
|
88
|
+
const __VLS_13 = {
|
|
89
|
+
onClick: (...[$event]) => {
|
|
90
|
+
if (!(__VLS_ctx.notification))
|
|
91
|
+
return;
|
|
92
|
+
__VLS_ctx.showNotification = false;
|
|
45
93
|
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
}
|
|
49
|
-
;
|
|
50
|
-
let __VLS_functionalComponentProps;
|
|
51
|
-
function __VLS_template() {
|
|
52
|
-
const __VLS_ctx = {};
|
|
53
|
-
const __VLS_localComponents = {
|
|
54
|
-
...{},
|
|
55
|
-
...{},
|
|
56
|
-
...__VLS_ctx,
|
|
57
|
-
};
|
|
58
|
-
let __VLS_components;
|
|
59
|
-
const __VLS_localDirectives = {
|
|
60
|
-
...{},
|
|
61
|
-
...__VLS_ctx,
|
|
62
|
-
};
|
|
63
|
-
let __VLS_directives;
|
|
64
|
-
let __VLS_styleScopedClasses;
|
|
65
|
-
// CSS variable injection
|
|
66
|
-
// CSS variable injection end
|
|
67
|
-
let __VLS_resolvedLocalAndGlobalComponents;
|
|
68
|
-
if (__VLS_ctx.notification) {
|
|
69
|
-
const __VLS_0 = __VLS_resolvedLocalAndGlobalComponents.VSnackbar;
|
|
70
|
-
/** @type { [typeof __VLS_components.VSnackbar, typeof __VLS_components.vSnackbar, typeof __VLS_components.VSnackbar, typeof __VLS_components.vSnackbar, ] } */
|
|
94
|
+
};
|
|
95
|
+
__VLS_9.slots.default;
|
|
96
|
+
const __VLS_14 = {}.VIcon;
|
|
97
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
71
98
|
// @ts-ignore
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
(__VLS_ctx.notification.msg);
|
|
80
|
-
}
|
|
81
|
-
if (__VLS_ctx.notification.type === 'error') {
|
|
82
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.p)({ ...{ class: ((__VLS_ctx.notification.msg ? 'ml-3' : '')) }, });
|
|
83
|
-
__VLS_directiveAsFunction(__VLS_directives.vText)(null, { ...__VLS_directiveBindingRestFields, value: (__VLS_ctx.notification.errorMsg) }, null, null);
|
|
84
|
-
}
|
|
85
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
86
|
-
{
|
|
87
|
-
const { actions: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
88
|
-
const __VLS_7 = __VLS_resolvedLocalAndGlobalComponents.VBtn;
|
|
89
|
-
/** @type { [typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, typeof __VLS_components.VBtn, typeof __VLS_components.vBtn, ] } */
|
|
90
|
-
// @ts-ignore
|
|
91
|
-
const __VLS_8 = __VLS_asFunctionalComponent(__VLS_7, new __VLS_7({ ...{ 'onClick': {} }, icon: (true), }));
|
|
92
|
-
const __VLS_9 = __VLS_8({ ...{ 'onClick': {} }, icon: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_8));
|
|
93
|
-
let __VLS_13;
|
|
94
|
-
const __VLS_14 = {
|
|
95
|
-
onClick: (...[$event]) => {
|
|
96
|
-
if (!((__VLS_ctx.notification)))
|
|
97
|
-
return;
|
|
98
|
-
__VLS_ctx.showNotification = false;
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
let __VLS_10;
|
|
102
|
-
let __VLS_11;
|
|
103
|
-
const __VLS_15 = __VLS_resolvedLocalAndGlobalComponents.VIcon;
|
|
104
|
-
/** @type { [typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ] } */
|
|
105
|
-
// @ts-ignore
|
|
106
|
-
const __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({ icon: ((__VLS_ctx.mdiClose)), }));
|
|
107
|
-
const __VLS_17 = __VLS_16({ icon: ((__VLS_ctx.mdiClose)), }, ...__VLS_functionalComponentArgsRest(__VLS_16));
|
|
108
|
-
__VLS_nonNullable(__VLS_12.slots).default;
|
|
109
|
-
const __VLS_12 = __VLS_pickFunctionalComponentCtx(__VLS_7, __VLS_9);
|
|
110
|
-
}
|
|
111
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
99
|
+
const __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({
|
|
100
|
+
icon: (__VLS_ctx.mdiClose),
|
|
101
|
+
}));
|
|
102
|
+
const __VLS_16 = __VLS_15({
|
|
103
|
+
icon: (__VLS_ctx.mdiClose),
|
|
104
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
105
|
+
var __VLS_9;
|
|
112
106
|
}
|
|
113
|
-
|
|
114
|
-
var __VLS_slots;
|
|
115
|
-
var __VLS_inheritedAttrs;
|
|
116
|
-
const __VLS_refs = {
|
|
117
|
-
"notificationSnackbar": __VLS_6,
|
|
118
|
-
};
|
|
119
|
-
var $refs;
|
|
120
|
-
return {
|
|
121
|
-
slots: __VLS_slots,
|
|
122
|
-
refs: $refs,
|
|
123
|
-
attrs: {},
|
|
124
|
-
};
|
|
107
|
+
var __VLS_3;
|
|
125
108
|
}
|
|
126
|
-
;
|
|
109
|
+
/** @type {__VLS_StyleScopedClasses['ui-notif']} */ ;
|
|
110
|
+
// @ts-ignore
|
|
111
|
+
var __VLS_5 = __VLS_4;
|
|
112
|
+
var __VLS_dollars;
|
|
127
113
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
128
114
|
setup() {
|
|
129
115
|
return {
|
|
@@ -155,5 +141,5 @@ export default (await import('vue')).defineComponent({
|
|
|
155
141
|
}
|
|
156
142
|
},
|
|
157
143
|
});
|
|
158
|
-
;
|
|
144
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
159
145
|
//# sourceMappingURL=ui-notif.vue.js.map
|