@selfeesas/shared-components 0.2.7 → 0.3.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/dist/shared-components.cjs.js +1 -1
- package/dist/shared-components.css +1 -1
- package/dist/shared-components.d.ts +111 -7
- package/dist/shared-components.es.js +2940 -2333
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-42c19597]{transition:transform .3s ease}
|
|
1
|
+
.row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-42c19597]{transition:transform .3s ease}.logo[data-v-67697ca7]{width:260px;height:auto}
|
|
@@ -1,11 +1,84 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { ComponentCustomProps } from 'vue';
|
|
1
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
4
|
import { ComponentProvideOptions } from 'vue';
|
|
3
5
|
import { DefineComponent } from 'vue';
|
|
4
6
|
import { PublicProps } from 'vue';
|
|
5
7
|
import { QBreadcrumbsProps } from 'quasar';
|
|
8
|
+
import { QSelectProps } from 'quasar';
|
|
9
|
+
import { QSelectSlots } from 'quasar';
|
|
6
10
|
import { RouteLocationNormalizedLoaded } from 'vue-router';
|
|
7
11
|
import { RouteParamsRaw } from 'vue-router';
|
|
8
12
|
import { Router } from 'vue-router';
|
|
13
|
+
import { VNodeProps } from 'vue';
|
|
14
|
+
|
|
15
|
+
declare const __VLS_component: DefineComponent<SelfeeHeaderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SelfeeHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
|
|
17
|
+
declare const __VLS_component_2: DefineComponent<LayoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
|
|
19
|
+
declare function __VLS_template(): {
|
|
20
|
+
attrs: Partial<{}>;
|
|
21
|
+
slots: {
|
|
22
|
+
'user-avatar'?(_: {}): any;
|
|
23
|
+
};
|
|
24
|
+
refs: {};
|
|
25
|
+
rootEl: any;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
declare function __VLS_template_2(): {
|
|
29
|
+
attrs: Partial<{}>;
|
|
30
|
+
slots: Readonly<{
|
|
31
|
+
/**
|
|
32
|
+
* Slot for the layout's header section, typically a `SelfeeHeader` component.
|
|
33
|
+
*/
|
|
34
|
+
header?: () => any;
|
|
35
|
+
/**
|
|
36
|
+
* Default slot for the main page content.
|
|
37
|
+
*/
|
|
38
|
+
default: () => any;
|
|
39
|
+
/**
|
|
40
|
+
* Slot for the layout's footer section, typically a `SelfeeFooter` component.
|
|
41
|
+
*/
|
|
42
|
+
footer?: () => any;
|
|
43
|
+
}> & {
|
|
44
|
+
/**
|
|
45
|
+
* Slot for the layout's header section, typically a `SelfeeHeader` component.
|
|
46
|
+
*/
|
|
47
|
+
header?: () => any;
|
|
48
|
+
/**
|
|
49
|
+
* Default slot for the main page content.
|
|
50
|
+
*/
|
|
51
|
+
default: () => any;
|
|
52
|
+
/**
|
|
53
|
+
* Slot for the layout's footer section, typically a `SelfeeFooter` component.
|
|
54
|
+
*/
|
|
55
|
+
footer?: () => any;
|
|
56
|
+
};
|
|
57
|
+
refs: {};
|
|
58
|
+
rootEl: any;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
62
|
+
|
|
63
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
64
|
+
|
|
65
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
declare interface BaseFooterProps {
|
|
78
|
+
frontVersion: string;
|
|
79
|
+
backVersion: string;
|
|
80
|
+
platform: string;
|
|
81
|
+
}
|
|
9
82
|
|
|
10
83
|
export declare interface BreadcrumbConfig {
|
|
11
84
|
entity: string;
|
|
@@ -83,6 +156,14 @@ declare interface CustomBreadcrumbsProps extends QBreadcrumbsProps {
|
|
|
83
156
|
breadcrumbConfig: BreadcrumbConfig[];
|
|
84
157
|
}
|
|
85
158
|
|
|
159
|
+
export declare const Layout: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
160
|
+
|
|
161
|
+
declare interface LayoutProps {
|
|
162
|
+
view?: string;
|
|
163
|
+
layoutClass?: string;
|
|
164
|
+
pageContainerClass?: string;
|
|
165
|
+
}
|
|
166
|
+
|
|
86
167
|
export declare const NavButton: DefineComponent<NavButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<NavButtonProps> & Readonly<{}>, {
|
|
87
168
|
params: RouteParamsRaw;
|
|
88
169
|
to: string;
|
|
@@ -102,30 +183,53 @@ export declare interface NavStore {
|
|
|
102
183
|
}
|
|
103
184
|
|
|
104
185
|
declare interface SelectOption {
|
|
105
|
-
value: any;
|
|
106
186
|
label: string;
|
|
187
|
+
value: string | number;
|
|
107
188
|
[key: string]: any;
|
|
108
189
|
}
|
|
109
190
|
|
|
110
191
|
export declare const SelectSearch: DefineComponent<SelectSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
111
|
-
"update:modelValue": (
|
|
192
|
+
"update:modelValue": (val: string | number | null) => any;
|
|
112
193
|
}, string, PublicProps, Readonly<SelectSearchProps> & Readonly<{
|
|
113
|
-
"onUpdate:modelValue"?: ((
|
|
194
|
+
"onUpdate:modelValue"?: ((val: string | number | null) => any) | undefined;
|
|
114
195
|
}>, {
|
|
115
196
|
label: string;
|
|
116
197
|
options: SelectOption[];
|
|
117
|
-
modelValue:
|
|
118
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
198
|
+
modelValue: string | number | null;
|
|
199
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
200
|
+
selectRef: {
|
|
201
|
+
$props: VNodeProps & AllowedComponentProps & ComponentCustomProps & QSelectProps;
|
|
202
|
+
$slots: QSelectSlots;
|
|
203
|
+
} | null;
|
|
204
|
+
}, any>;
|
|
119
205
|
|
|
120
206
|
declare interface SelectSearchProps {
|
|
121
207
|
options?: SelectOption[];
|
|
122
|
-
fetchOptions?: (
|
|
208
|
+
fetchOptions?: (searchTerm: string) => Promise<SelectOption[]>;
|
|
123
209
|
label?: string;
|
|
124
|
-
modelValue?:
|
|
210
|
+
modelValue?: string | number | null;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export declare const SelfeeFooter: DefineComponent<BaseFooterProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BaseFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
214
|
+
|
|
215
|
+
export declare const SelfeeHeader: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
216
|
+
|
|
217
|
+
declare interface SelfeeHeaderProps {
|
|
218
|
+
logoSrc: string;
|
|
219
|
+
logoAlt?: string;
|
|
220
|
+
logoTo?: string;
|
|
125
221
|
}
|
|
126
222
|
|
|
127
223
|
export declare interface Store {
|
|
128
224
|
[key: string]: any;
|
|
129
225
|
}
|
|
130
226
|
|
|
227
|
+
export declare const UserAvatar: DefineComponent<UserAvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<UserAvatarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
228
|
+
|
|
229
|
+
declare interface UserAvatarProps {
|
|
230
|
+
username: string;
|
|
231
|
+
onLogout: () => void;
|
|
232
|
+
logoutLabel?: string;
|
|
233
|
+
}
|
|
234
|
+
|
|
131
235
|
export { }
|