@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/navigation-right.vue
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
bg-color="background"
|
|
15
15
|
density="compact"
|
|
16
16
|
>
|
|
17
|
-
<v-defaults-provider :defaults="
|
|
17
|
+
<v-defaults-provider :defaults="defaults">
|
|
18
18
|
<slot />
|
|
19
19
|
</v-defaults-provider>
|
|
20
20
|
</v-list>
|
|
@@ -43,10 +43,9 @@
|
|
|
43
43
|
>
|
|
44
44
|
<v-list
|
|
45
45
|
data-iframe-height
|
|
46
|
-
bg-color="background"
|
|
47
46
|
density="compact"
|
|
48
47
|
>
|
|
49
|
-
<v-defaults-provider :defaults="
|
|
48
|
+
<v-defaults-provider :defaults="defaults">
|
|
50
49
|
<slot />
|
|
51
50
|
</v-defaults-provider>
|
|
52
51
|
</v-list>
|
|
@@ -60,4 +59,29 @@ import { mdiDotsVertical } from '@mdi/js'
|
|
|
60
59
|
import { useDisplay } from 'vuetify'
|
|
61
60
|
|
|
62
61
|
const display = useDisplay()
|
|
62
|
+
|
|
63
|
+
const defaults = {
|
|
64
|
+
VListItem: {
|
|
65
|
+
rounded: true
|
|
66
|
+
},
|
|
67
|
+
VAutocomplete: {
|
|
68
|
+
color: 'primary',
|
|
69
|
+
density: 'compact',
|
|
70
|
+
variant: 'outlined',
|
|
71
|
+
clearable: true,
|
|
72
|
+
hideDetails: true,
|
|
73
|
+
rounded: true,
|
|
74
|
+
},
|
|
75
|
+
VSelect: {
|
|
76
|
+
color: 'primary',
|
|
77
|
+
density: 'compact',
|
|
78
|
+
variant: 'outlined',
|
|
79
|
+
clearable: true,
|
|
80
|
+
hideDetails: true,
|
|
81
|
+
rounded: true
|
|
82
|
+
},
|
|
83
|
+
VSwitch: {
|
|
84
|
+
hideDetails: true
|
|
85
|
+
}
|
|
86
|
+
}
|
|
63
87
|
</script>
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
refs: {};
|
|
7
|
-
attrs: Partial<{}>;
|
|
1
|
+
declare var __VLS_13: {}, __VLS_39: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_13) => any;
|
|
4
|
+
} & {
|
|
5
|
+
default?: (props: typeof __VLS_39) => any;
|
|
8
6
|
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
7
|
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>;
|
|
11
|
-
declare const _default:
|
|
8
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
9
|
export default _default;
|
|
13
|
-
type
|
|
10
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
11
|
new (): {
|
|
15
12
|
$slots: S;
|
|
16
13
|
};
|
package/navigation-right.vue.js
CHANGED
|
@@ -1,114 +1,178 @@
|
|
|
1
|
-
/// <reference types="
|
|
1
|
+
/// <reference types="../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
|
|
2
2
|
import { mdiDotsVertical } from '@mdi/js';
|
|
3
3
|
import { useDisplay } from 'vuetify';
|
|
4
|
-
const { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
5
4
|
const display = useDisplay();
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({ color: ("background"), ...{ class: ("pt-6") }, location: ("right"), permanent: (true), floating: (true), }));
|
|
29
|
-
const __VLS_2 = __VLS_1({ color: ("background"), ...{ class: ("pt-6") }, location: ("right"), permanent: (true), floating: (true), }, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
30
|
-
__VLS_elementAsFunction(__VLS_intrinsicElements.template, __VLS_intrinsicElements.template)({});
|
|
31
|
-
{
|
|
32
|
-
const { default: __VLS_thisSlot } = __VLS_nonNullable(__VLS_5.slots);
|
|
33
|
-
const __VLS_6 = __VLS_resolvedLocalAndGlobalComponents.VList;
|
|
34
|
-
/** @type { [typeof __VLS_components.VList, typeof __VLS_components.vList, typeof __VLS_components.VList, typeof __VLS_components.vList, ] } */
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ dataIframeHeight: (true), bgColor: ("background"), density: ("compact"), }));
|
|
37
|
-
const __VLS_8 = __VLS_7({ dataIframeHeight: (true), bgColor: ("background"), density: ("compact"), }, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
38
|
-
const __VLS_12 = __VLS_resolvedLocalAndGlobalComponents.VDefaultsProvider;
|
|
39
|
-
/** @type { [typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, ] } */
|
|
40
|
-
// @ts-ignore
|
|
41
|
-
const __VLS_13 = __VLS_asFunctionalComponent(__VLS_12, new __VLS_12({ defaults: (({ VListItem: { rounded: true } })), }));
|
|
42
|
-
const __VLS_14 = __VLS_13({ defaults: (({ VListItem: { rounded: true } })), }, ...__VLS_functionalComponentArgsRest(__VLS_13));
|
|
43
|
-
var __VLS_18 = {};
|
|
44
|
-
__VLS_nonNullable(__VLS_17.slots).default;
|
|
45
|
-
const __VLS_17 = __VLS_pickFunctionalComponentCtx(__VLS_12, __VLS_14);
|
|
46
|
-
__VLS_nonNullable(__VLS_11.slots).default;
|
|
47
|
-
const __VLS_11 = __VLS_pickFunctionalComponentCtx(__VLS_6, __VLS_8);
|
|
48
|
-
}
|
|
49
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
5
|
+
const defaults = {
|
|
6
|
+
VListItem: {
|
|
7
|
+
rounded: true
|
|
8
|
+
},
|
|
9
|
+
VAutocomplete: {
|
|
10
|
+
color: 'primary',
|
|
11
|
+
density: 'compact',
|
|
12
|
+
variant: 'outlined',
|
|
13
|
+
clearable: true,
|
|
14
|
+
hideDetails: true,
|
|
15
|
+
rounded: true,
|
|
16
|
+
},
|
|
17
|
+
VSelect: {
|
|
18
|
+
color: 'primary',
|
|
19
|
+
density: 'compact',
|
|
20
|
+
variant: 'outlined',
|
|
21
|
+
clearable: true,
|
|
22
|
+
hideDetails: true,
|
|
23
|
+
rounded: true
|
|
24
|
+
},
|
|
25
|
+
VSwitch: {
|
|
26
|
+
hideDetails: true
|
|
50
27
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
28
|
+
};
|
|
29
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
30
|
+
const __VLS_ctx = {};
|
|
31
|
+
let __VLS_components;
|
|
32
|
+
let __VLS_directives;
|
|
33
|
+
if (__VLS_ctx.display.lgAndUp.value) {
|
|
34
|
+
const __VLS_0 = {}.VNavigationDrawer;
|
|
35
|
+
/** @type {[typeof __VLS_components.VNavigationDrawer, typeof __VLS_components.vNavigationDrawer, typeof __VLS_components.VNavigationDrawer, typeof __VLS_components.vNavigationDrawer, ]} */ ;
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
38
|
+
color: "background",
|
|
39
|
+
...{ class: "pt-6" },
|
|
40
|
+
location: "right",
|
|
41
|
+
permanent: true,
|
|
42
|
+
floating: true,
|
|
43
|
+
}));
|
|
44
|
+
const __VLS_2 = __VLS_1({
|
|
45
|
+
color: "background",
|
|
46
|
+
...{ class: "pt-6" },
|
|
47
|
+
location: "right",
|
|
48
|
+
permanent: true,
|
|
49
|
+
floating: true,
|
|
50
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
51
|
+
__VLS_3.slots.default;
|
|
52
|
+
{
|
|
53
|
+
const { default: __VLS_thisSlot } = __VLS_3.slots;
|
|
54
|
+
const __VLS_4 = {}.VList;
|
|
55
|
+
/** @type {[typeof __VLS_components.VList, typeof __VLS_components.vList, typeof __VLS_components.VList, typeof __VLS_components.vList, ]} */ ;
|
|
59
56
|
// @ts-ignore
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
const __VLS_5 = __VLS_asFunctionalComponent(__VLS_4, new __VLS_4({
|
|
58
|
+
dataIframeHeight: true,
|
|
59
|
+
bgColor: "background",
|
|
60
|
+
density: "compact",
|
|
61
|
+
}));
|
|
62
|
+
const __VLS_6 = __VLS_5({
|
|
63
|
+
dataIframeHeight: true,
|
|
64
|
+
bgColor: "background",
|
|
65
|
+
density: "compact",
|
|
66
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_5));
|
|
67
|
+
__VLS_7.slots.default;
|
|
68
|
+
const __VLS_8 = {}.VDefaultsProvider;
|
|
69
|
+
/** @type {[typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, ]} */ ;
|
|
64
70
|
// @ts-ignore
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
const __VLS_44 = __VLS_asFunctionalComponent(__VLS_43, new __VLS_43({ dataIframeHeight: (true), bgColor: ("background"), density: ("compact"), }));
|
|
76
|
-
const __VLS_45 = __VLS_44({ dataIframeHeight: (true), bgColor: ("background"), density: ("compact"), }, ...__VLS_functionalComponentArgsRest(__VLS_44));
|
|
77
|
-
const __VLS_49 = __VLS_resolvedLocalAndGlobalComponents.VDefaultsProvider;
|
|
78
|
-
/** @type { [typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, ] } */
|
|
79
|
-
// @ts-ignore
|
|
80
|
-
const __VLS_50 = __VLS_asFunctionalComponent(__VLS_49, new __VLS_49({ defaults: (({ VListItem: { rounded: true } })), }));
|
|
81
|
-
const __VLS_51 = __VLS_50({ defaults: (({ VListItem: { rounded: true } })), }, ...__VLS_functionalComponentArgsRest(__VLS_50));
|
|
82
|
-
var __VLS_55 = {};
|
|
83
|
-
__VLS_nonNullable(__VLS_54.slots).default;
|
|
84
|
-
const __VLS_54 = __VLS_pickFunctionalComponentCtx(__VLS_49, __VLS_51);
|
|
85
|
-
__VLS_nonNullable(__VLS_48.slots).default;
|
|
86
|
-
const __VLS_48 = __VLS_pickFunctionalComponentCtx(__VLS_43, __VLS_45);
|
|
87
|
-
__VLS_nonNullable(__VLS_42.slots).default;
|
|
88
|
-
const __VLS_42 = __VLS_pickFunctionalComponentCtx(__VLS_37, __VLS_39);
|
|
89
|
-
__VLS_nonNullable(__VLS_36.slots).default;
|
|
90
|
-
const __VLS_36 = __VLS_pickFunctionalComponentCtx(__VLS_31, __VLS_33);
|
|
91
|
-
__VLS_nonNullable(__VLS_24.slots).default;
|
|
92
|
-
const __VLS_24 = __VLS_pickFunctionalComponentCtx(__VLS_19, __VLS_21);
|
|
71
|
+
const __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
|
|
72
|
+
defaults: (__VLS_ctx.defaults),
|
|
73
|
+
}));
|
|
74
|
+
const __VLS_10 = __VLS_9({
|
|
75
|
+
defaults: (__VLS_ctx.defaults),
|
|
76
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_9));
|
|
77
|
+
__VLS_11.slots.default;
|
|
78
|
+
var __VLS_12 = {};
|
|
79
|
+
var __VLS_11;
|
|
80
|
+
var __VLS_7;
|
|
93
81
|
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
82
|
+
var __VLS_3;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const __VLS_14 = {}.VFab;
|
|
86
|
+
/** @type {[typeof __VLS_components.VFab, typeof __VLS_components.vFab, typeof __VLS_components.VFab, typeof __VLS_components.vFab, ]} */ ;
|
|
87
|
+
// @ts-ignore
|
|
88
|
+
const __VLS_15 = __VLS_asFunctionalComponent(__VLS_14, new __VLS_14({
|
|
89
|
+
size: "small",
|
|
90
|
+
color: "primary",
|
|
91
|
+
location: "top right",
|
|
92
|
+
app: true,
|
|
93
|
+
icon: true,
|
|
94
|
+
}));
|
|
95
|
+
const __VLS_16 = __VLS_15({
|
|
96
|
+
size: "small",
|
|
97
|
+
color: "primary",
|
|
98
|
+
location: "top right",
|
|
99
|
+
app: true,
|
|
100
|
+
icon: true,
|
|
101
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_15));
|
|
102
|
+
__VLS_17.slots.default;
|
|
103
|
+
const __VLS_18 = {}.VIcon;
|
|
104
|
+
/** @type {[typeof __VLS_components.VIcon, typeof __VLS_components.vIcon, ]} */ ;
|
|
105
|
+
// @ts-ignore
|
|
106
|
+
const __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
|
|
107
|
+
icon: (__VLS_ctx.mdiDotsVertical),
|
|
108
|
+
}));
|
|
109
|
+
const __VLS_20 = __VLS_19({
|
|
110
|
+
icon: (__VLS_ctx.mdiDotsVertical),
|
|
111
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_19));
|
|
112
|
+
const __VLS_22 = {}.VMenu;
|
|
113
|
+
/** @type {[typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, typeof __VLS_components.VMenu, typeof __VLS_components.vMenu, ]} */ ;
|
|
114
|
+
// @ts-ignore
|
|
115
|
+
const __VLS_23 = __VLS_asFunctionalComponent(__VLS_22, new __VLS_22({
|
|
116
|
+
activator: "parent",
|
|
117
|
+
closeOnContentClick: (false),
|
|
118
|
+
}));
|
|
119
|
+
const __VLS_24 = __VLS_23({
|
|
120
|
+
activator: "parent",
|
|
121
|
+
closeOnContentClick: (false),
|
|
122
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_23));
|
|
123
|
+
__VLS_25.slots.default;
|
|
124
|
+
const __VLS_26 = {}.VCard;
|
|
125
|
+
/** @type {[typeof __VLS_components.VCard, typeof __VLS_components.vCard, typeof __VLS_components.VCard, typeof __VLS_components.vCard, ]} */ ;
|
|
126
|
+
// @ts-ignore
|
|
127
|
+
const __VLS_27 = __VLS_asFunctionalComponent(__VLS_26, new __VLS_26({
|
|
128
|
+
maxWidth: "300",
|
|
129
|
+
...{ class: "mt-2" },
|
|
130
|
+
}));
|
|
131
|
+
const __VLS_28 = __VLS_27({
|
|
132
|
+
maxWidth: "300",
|
|
133
|
+
...{ class: "mt-2" },
|
|
134
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_27));
|
|
135
|
+
__VLS_29.slots.default;
|
|
136
|
+
const __VLS_30 = {}.VList;
|
|
137
|
+
/** @type {[typeof __VLS_components.VList, typeof __VLS_components.vList, typeof __VLS_components.VList, typeof __VLS_components.vList, ]} */ ;
|
|
138
|
+
// @ts-ignore
|
|
139
|
+
const __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({
|
|
140
|
+
dataIframeHeight: true,
|
|
141
|
+
density: "compact",
|
|
142
|
+
}));
|
|
143
|
+
const __VLS_32 = __VLS_31({
|
|
144
|
+
dataIframeHeight: true,
|
|
145
|
+
density: "compact",
|
|
146
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_31));
|
|
147
|
+
__VLS_33.slots.default;
|
|
148
|
+
const __VLS_34 = {}.VDefaultsProvider;
|
|
149
|
+
/** @type {[typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, typeof __VLS_components.VDefaultsProvider, typeof __VLS_components.vDefaultsProvider, ]} */ ;
|
|
150
|
+
// @ts-ignore
|
|
151
|
+
const __VLS_35 = __VLS_asFunctionalComponent(__VLS_34, new __VLS_34({
|
|
152
|
+
defaults: (__VLS_ctx.defaults),
|
|
153
|
+
}));
|
|
154
|
+
const __VLS_36 = __VLS_35({
|
|
155
|
+
defaults: (__VLS_ctx.defaults),
|
|
156
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_35));
|
|
157
|
+
__VLS_37.slots.default;
|
|
158
|
+
var __VLS_38 = {};
|
|
159
|
+
var __VLS_37;
|
|
160
|
+
var __VLS_33;
|
|
161
|
+
var __VLS_29;
|
|
162
|
+
var __VLS_25;
|
|
163
|
+
var __VLS_17;
|
|
105
164
|
}
|
|
106
|
-
;
|
|
165
|
+
/** @type {__VLS_StyleScopedClasses['pt-6']} */ ;
|
|
166
|
+
/** @type {__VLS_StyleScopedClasses['mt-2']} */ ;
|
|
167
|
+
// @ts-ignore
|
|
168
|
+
var __VLS_13 = __VLS_12, __VLS_39 = __VLS_38;
|
|
169
|
+
var __VLS_dollars;
|
|
107
170
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
108
171
|
setup() {
|
|
109
172
|
return {
|
|
110
173
|
mdiDotsVertical: mdiDotsVertical,
|
|
111
174
|
display: display,
|
|
175
|
+
defaults: defaults,
|
|
112
176
|
};
|
|
113
177
|
},
|
|
114
178
|
});
|
|
@@ -118,5 +182,5 @@ const __VLS_component = (await import('vue')).defineComponent({
|
|
|
118
182
|
},
|
|
119
183
|
});
|
|
120
184
|
export default {};
|
|
121
|
-
;
|
|
185
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
122
186
|
//# sourceMappingURL=navigation-right.vue.js.map
|
package/owner-avatar.vue
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<template #activator="{ props: tooltipProps }">
|
|
7
7
|
<span
|
|
8
8
|
v-bind="tooltipProps"
|
|
9
|
-
class="text-body-
|
|
9
|
+
class="text-body-medium"
|
|
10
10
|
>
|
|
11
11
|
<v-avatar
|
|
12
12
|
:size="size"
|
|
@@ -50,7 +50,7 @@ const avatarUrl = computed(() => {
|
|
|
50
50
|
const label = computed(() => {
|
|
51
51
|
let label = ''
|
|
52
52
|
if (!props.omitOwnerName || !props.owner.department) label += props.owner.name
|
|
53
|
-
if (props.owner.department) label += !props.omitOwnerName ? ' - ' : '' + (props.owner.departmentName || props.owner.department)
|
|
53
|
+
if (props.owner.department) label += (!props.omitOwnerName ? ' - ' : '') + (props.owner.departmentName || props.owner.department)
|
|
54
54
|
if (props.owner.role) label += ` (${props.owner.role})`
|
|
55
55
|
return label
|
|
56
56
|
})
|
package/owner-avatar.vue.d.ts
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
owner: Record<string, any>;
|
|
3
3
|
size?: number;
|
|
4
4
|
/** If true, a tooltip with the owner's name and department will be shown (default: true) */
|
|
5
5
|
showTooltip?: boolean;
|
|
6
6
|
/** If true, the owner's name will be omitted from the tooltip when the department is present */
|
|
7
7
|
omitOwnerName?: boolean;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
size?: number;
|
|
11
|
-
/** If true, a tooltip with the owner's name and department will be shown (default: true) */
|
|
12
|
-
showTooltip?: boolean;
|
|
13
|
-
/** If true, the owner's name will be omitted from the tooltip when the department is present */
|
|
14
|
-
omitOwnerName?: boolean;
|
|
15
|
-
}> & Readonly<{}>, {
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
16
10
|
size: number;
|
|
17
11
|
showTooltip: boolean;
|
|
18
12
|
omitOwnerName: boolean;
|
package/owner-avatar.vue.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
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 { defineProps, defineSlots, defineEmits, defineExpose, defineModel, defineOptions, withDefaults, } = await import('vue');
|
|
4
|
-
let __VLS_typeProps;
|
|
5
3
|
const props = withDefaults(defineProps(), {
|
|
6
4
|
size: 28,
|
|
7
5
|
showTooltip: true,
|
|
@@ -18,78 +16,78 @@ const label = computed(() => {
|
|
|
18
16
|
if (!props.omitOwnerName || !props.owner.department)
|
|
19
17
|
label += props.owner.name;
|
|
20
18
|
if (props.owner.department)
|
|
21
|
-
label += !props.omitOwnerName ? ' - ' : '' + (props.owner.departmentName || props.owner.department);
|
|
19
|
+
label += (!props.omitOwnerName ? ' - ' : '') + (props.owner.departmentName || props.owner.department);
|
|
22
20
|
if (props.owner.role)
|
|
23
21
|
label += ` (${props.owner.role})`;
|
|
24
22
|
return label;
|
|
25
23
|
});
|
|
24
|
+
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
|
|
26
25
|
const __VLS_withDefaultsArg = (function (t) { return t; })({
|
|
27
26
|
size: 28,
|
|
28
27
|
showTooltip: true,
|
|
29
28
|
omitOwnerName: false
|
|
30
29
|
});
|
|
31
|
-
const
|
|
32
|
-
;
|
|
33
|
-
let
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
30
|
+
const __VLS_ctx = {};
|
|
31
|
+
let __VLS_components;
|
|
32
|
+
let __VLS_directives;
|
|
33
|
+
// CSS variable injection
|
|
34
|
+
// CSS variable injection end
|
|
35
|
+
if (__VLS_ctx.showTooltip) {
|
|
36
|
+
const __VLS_0 = {}.VTooltip;
|
|
37
|
+
/** @type {[typeof __VLS_components.VTooltip, typeof __VLS_components.vTooltip, typeof __VLS_components.VTooltip, typeof __VLS_components.vTooltip, ]} */ ;
|
|
38
|
+
// @ts-ignore
|
|
39
|
+
const __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
|
|
40
|
+
location: "top",
|
|
41
|
+
}));
|
|
42
|
+
const __VLS_2 = __VLS_1({
|
|
43
|
+
location: "top",
|
|
44
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_1));
|
|
45
|
+
var __VLS_4 = {};
|
|
46
|
+
__VLS_3.slots.default;
|
|
47
|
+
{
|
|
48
|
+
const { activator: __VLS_thisSlot } = __VLS_3.slots;
|
|
49
|
+
const { props: tooltipProps } = __VLS_getSlotParam(__VLS_thisSlot);
|
|
50
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.span, __VLS_intrinsicElements.span)({
|
|
51
|
+
...(tooltipProps),
|
|
52
|
+
...{ class: "text-body-medium" },
|
|
53
|
+
});
|
|
54
|
+
const __VLS_5 = {}.VAvatar;
|
|
55
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
54
56
|
// @ts-ignore
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
const __VLS_7 = __VLS_asFunctionalComponent(__VLS_6, new __VLS_6({ size: ((__VLS_ctx.size)), image: ((__VLS_ctx.avatarUrl)), ...{ class: ("bg-transparent") }, }));
|
|
66
|
-
const __VLS_8 = __VLS_7({ size: ((__VLS_ctx.size)), image: ((__VLS_ctx.avatarUrl)), ...{ class: ("bg-transparent") }, }, ...__VLS_functionalComponentArgsRest(__VLS_7));
|
|
67
|
-
}
|
|
68
|
-
(__VLS_ctx.label);
|
|
69
|
-
const __VLS_5 = __VLS_pickFunctionalComponentCtx(__VLS_0, __VLS_2);
|
|
57
|
+
const __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({
|
|
58
|
+
size: (__VLS_ctx.size),
|
|
59
|
+
image: (__VLS_ctx.avatarUrl),
|
|
60
|
+
...{ class: "bg-transparent" },
|
|
61
|
+
}));
|
|
62
|
+
const __VLS_7 = __VLS_6({
|
|
63
|
+
size: (__VLS_ctx.size),
|
|
64
|
+
image: (__VLS_ctx.avatarUrl),
|
|
65
|
+
...{ class: "bg-transparent" },
|
|
66
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_6));
|
|
70
67
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
attrs: {},
|
|
90
|
-
};
|
|
68
|
+
(__VLS_ctx.label);
|
|
69
|
+
var __VLS_3;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
__VLS_asFunctionalElement(__VLS_intrinsicElements.span, __VLS_intrinsicElements.span)({});
|
|
73
|
+
const __VLS_9 = {}.VAvatar;
|
|
74
|
+
/** @type {[typeof __VLS_components.VAvatar, typeof __VLS_components.vAvatar, ]} */ ;
|
|
75
|
+
// @ts-ignore
|
|
76
|
+
const __VLS_10 = __VLS_asFunctionalComponent(__VLS_9, new __VLS_9({
|
|
77
|
+
size: (__VLS_ctx.size),
|
|
78
|
+
image: (__VLS_ctx.avatarUrl),
|
|
79
|
+
...{ class: "bg-transparent" },
|
|
80
|
+
}));
|
|
81
|
+
const __VLS_11 = __VLS_10({
|
|
82
|
+
size: (__VLS_ctx.size),
|
|
83
|
+
image: (__VLS_ctx.avatarUrl),
|
|
84
|
+
...{ class: "bg-transparent" },
|
|
85
|
+
}, ...__VLS_functionalComponentArgsRest(__VLS_10));
|
|
91
86
|
}
|
|
92
|
-
;
|
|
87
|
+
/** @type {__VLS_StyleScopedClasses['text-body-medium']} */ ;
|
|
88
|
+
/** @type {__VLS_StyleScopedClasses['bg-transparent']} */ ;
|
|
89
|
+
/** @type {__VLS_StyleScopedClasses['bg-transparent']} */ ;
|
|
90
|
+
var __VLS_dollars;
|
|
93
91
|
const __VLS_self = (await import('vue')).defineComponent({
|
|
94
92
|
setup() {
|
|
95
93
|
return {
|
|
@@ -107,5 +105,5 @@ export default (await import('vue')).defineComponent({
|
|
|
107
105
|
__typeProps: {},
|
|
108
106
|
props: {},
|
|
109
107
|
});
|
|
110
|
-
;
|
|
108
|
+
; /* PartiallyEnd: #4569/main.vue */
|
|
111
109
|
//# sourceMappingURL=owner-avatar.vue.js.map
|
package/owner-pick.vue.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
18
|
type: import("vue").PropType<boolean>;
|
|
19
19
|
};
|
|
20
20
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (
|
|
22
|
-
"update:ready": (
|
|
21
|
+
"update:modelValue": (value: any) => any;
|
|
22
|
+
"update:ready": (value: boolean) => any;
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
otherAccounts: {
|
|
25
25
|
type: BooleanConstructor;
|
|
@@ -40,8 +40,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
type: import("vue").PropType<boolean>;
|
|
41
41
|
};
|
|
42
42
|
}>> & Readonly<{
|
|
43
|
-
"onUpdate:modelValue"?: ((
|
|
44
|
-
"onUpdate:ready"?: ((
|
|
43
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
44
|
+
"onUpdate:ready"?: ((value: boolean) => any) | undefined;
|
|
45
45
|
}>, {
|
|
46
46
|
message: string;
|
|
47
47
|
otherAccounts: boolean;
|