@bobbykim/mcl-header 0.7.6 → 0.7.8
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/index.d.ts +482 -95
- package/dist/mcl-header.js +1907 -463
- package/dist/mcl-header.umd.cjs +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -25,60 +25,14 @@ import { VNodeProps } from 'vue';
|
|
|
25
25
|
import { WatchOptions } from 'vue';
|
|
26
26
|
import { WatchStopHandle } from 'vue';
|
|
27
27
|
|
|
28
|
-
declare const __VLS_component: DefineComponent<
|
|
29
|
-
logo: string;
|
|
30
|
-
logoSmall?: string;
|
|
31
|
-
logoAlt?: string;
|
|
32
|
-
title: string;
|
|
33
|
-
titleSize?: HeadingSize;
|
|
34
|
-
titleColor?: ColorPalette;
|
|
35
|
-
titleBlockAsLink?: boolean;
|
|
36
|
-
titleBlockLinkTarget?: CtaTarget;
|
|
37
|
-
titleBlockLink: string;
|
|
38
|
-
menuItems: Array<MenuItemType | MenuCollapseType>;
|
|
39
|
-
menuItemAsLink?: boolean;
|
|
40
|
-
menuTextSize?: BodyText;
|
|
41
|
-
menuTextColor?: ColorPalette;
|
|
42
|
-
menuTextBold?: boolean;
|
|
43
|
-
displayHighlight?: boolean;
|
|
44
|
-
highlightColor?: ColorPalette;
|
|
45
|
-
bgColor?: ColorPalette;
|
|
46
|
-
mobileMenuBgColor?: ColorPalette;
|
|
47
|
-
drawerBtnColor?: ColorPalette;
|
|
48
|
-
drawerBtnBorder?: boolean;
|
|
49
|
-
fadeInOnScroll?: boolean;
|
|
50
|
-
scrollDistance?: number;
|
|
51
|
-
}, {
|
|
28
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {
|
|
52
29
|
headerClose: () => void;
|
|
53
30
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
54
31
|
"toggle-drawer": (event: Event, open: boolean) => any;
|
|
55
32
|
"title-click": (event: Event, url: string, target: CtaTarget) => any;
|
|
56
33
|
"menu-click": (event: Event, item: MenuItemType) => any;
|
|
57
34
|
"collapse-click": (event: Event, title: string, visible: boolean) => any;
|
|
58
|
-
}, string, PublicProps, Readonly<{
|
|
59
|
-
logo: string;
|
|
60
|
-
logoSmall?: string;
|
|
61
|
-
logoAlt?: string;
|
|
62
|
-
title: string;
|
|
63
|
-
titleSize?: HeadingSize;
|
|
64
|
-
titleColor?: ColorPalette;
|
|
65
|
-
titleBlockAsLink?: boolean;
|
|
66
|
-
titleBlockLinkTarget?: CtaTarget;
|
|
67
|
-
titleBlockLink: string;
|
|
68
|
-
menuItems: Array<MenuItemType | MenuCollapseType>;
|
|
69
|
-
menuItemAsLink?: boolean;
|
|
70
|
-
menuTextSize?: BodyText;
|
|
71
|
-
menuTextColor?: ColorPalette;
|
|
72
|
-
menuTextBold?: boolean;
|
|
73
|
-
displayHighlight?: boolean;
|
|
74
|
-
highlightColor?: ColorPalette;
|
|
75
|
-
bgColor?: ColorPalette;
|
|
76
|
-
mobileMenuBgColor?: ColorPalette;
|
|
77
|
-
drawerBtnColor?: ColorPalette;
|
|
78
|
-
drawerBtnBorder?: boolean;
|
|
79
|
-
fadeInOnScroll?: boolean;
|
|
80
|
-
scrollDistance?: number;
|
|
81
|
-
}> & Readonly<{
|
|
35
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
82
36
|
"onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
|
|
83
37
|
"onTitle-click"?: ((event: Event, url: string, target: CtaTarget) => any) | undefined;
|
|
84
38
|
"onMenu-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
|
|
@@ -101,57 +55,122 @@ drawerBtnColor: ColorPalette;
|
|
|
101
55
|
drawerBtnBorder: boolean;
|
|
102
56
|
fadeInOnScroll: boolean;
|
|
103
57
|
scrollDistance: number;
|
|
104
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
58
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
59
|
+
componentRef: ({
|
|
60
|
+
$: ComponentInternalInstance;
|
|
61
|
+
$data: {};
|
|
62
|
+
$props: {
|
|
63
|
+
readonly bgColor?: ColorPalette | undefined;
|
|
64
|
+
readonly mobileMenuBgColor?: ColorPalette | undefined;
|
|
65
|
+
readonly drawerBtnColor?: ColorPalette | undefined;
|
|
66
|
+
readonly drawerBtnBorder?: boolean | undefined;
|
|
67
|
+
readonly fadeInOnScroll?: boolean | undefined;
|
|
68
|
+
readonly scrollDistance?: number | undefined;
|
|
69
|
+
readonly sticky?: HeaderStickyOptionType | undefined;
|
|
70
|
+
readonly "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined | undefined;
|
|
71
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
72
|
+
$attrs: {
|
|
73
|
+
[x: string]: unknown;
|
|
74
|
+
};
|
|
75
|
+
$refs: {
|
|
76
|
+
[x: string]: unknown;
|
|
77
|
+
};
|
|
78
|
+
$slots: Readonly<{
|
|
79
|
+
[name: string]: Slot<any> | undefined;
|
|
80
|
+
}>;
|
|
81
|
+
$root: ComponentPublicInstance | null;
|
|
82
|
+
$parent: ComponentPublicInstance | null;
|
|
83
|
+
$host: Element | null;
|
|
84
|
+
$emit: (event: "toggle-drawer", event: Event, open: boolean) => void;
|
|
85
|
+
$el: HTMLElement;
|
|
86
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
122
87
|
bgColor?: ColorPalette;
|
|
88
|
+
mobileMenuBgColor?: ColorPalette;
|
|
123
89
|
drawerBtnColor?: ColorPalette;
|
|
124
90
|
drawerBtnBorder?: boolean;
|
|
125
|
-
|
|
126
|
-
|
|
91
|
+
fadeInOnScroll?: boolean;
|
|
92
|
+
scrollDistance?: number;
|
|
93
|
+
sticky?: HeaderStickyOptionType;
|
|
94
|
+
}> & Readonly<{
|
|
95
|
+
"onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
|
|
96
|
+
}>, {
|
|
127
97
|
headerClose: () => void;
|
|
128
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
98
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
129
99
|
"toggle-drawer": (event: Event, open: boolean) => any;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
100
|
+
}, string, {
|
|
101
|
+
bgColor: ColorPalette;
|
|
102
|
+
mobileMenuBgColor: ColorPalette;
|
|
103
|
+
drawerBtnColor: ColorPalette;
|
|
104
|
+
drawerBtnBorder: boolean;
|
|
105
|
+
fadeInOnScroll: boolean;
|
|
106
|
+
scrollDistance: number;
|
|
107
|
+
sticky: HeaderStickyOptionType;
|
|
108
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
109
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
110
|
+
created?: (() => void) | (() => void)[];
|
|
111
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
112
|
+
mounted?: (() => void) | (() => void)[];
|
|
113
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
114
|
+
updated?: (() => void) | (() => void)[];
|
|
115
|
+
activated?: (() => void) | (() => void)[];
|
|
116
|
+
deactivated?: (() => void) | (() => void)[];
|
|
117
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
118
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
119
|
+
destroyed?: (() => void) | (() => void)[];
|
|
120
|
+
unmounted?: (() => void) | (() => void)[];
|
|
121
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
122
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
123
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
124
|
+
};
|
|
125
|
+
$forceUpdate: () => void;
|
|
126
|
+
$nextTick: nextTick;
|
|
127
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
128
|
+
} & Readonly<{
|
|
129
|
+
bgColor: ColorPalette;
|
|
130
|
+
mobileMenuBgColor: ColorPalette;
|
|
131
|
+
drawerBtnColor: ColorPalette;
|
|
132
|
+
drawerBtnBorder: boolean;
|
|
133
|
+
fadeInOnScroll: boolean;
|
|
134
|
+
scrollDistance: number;
|
|
135
|
+
sticky: HeaderStickyOptionType;
|
|
136
|
+
}> & Omit<Readonly<{
|
|
149
137
|
bgColor?: ColorPalette;
|
|
138
|
+
mobileMenuBgColor?: ColorPalette;
|
|
150
139
|
drawerBtnColor?: ColorPalette;
|
|
151
140
|
drawerBtnBorder?: boolean;
|
|
152
|
-
|
|
141
|
+
fadeInOnScroll?: boolean;
|
|
142
|
+
scrollDistance?: number;
|
|
143
|
+
sticky?: HeaderStickyOptionType;
|
|
153
144
|
}> & Readonly<{
|
|
154
145
|
"onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
|
|
146
|
+
}>, "bgColor" | "mobileMenuBgColor" | "drawerBtnColor" | "drawerBtnBorder" | "fadeInOnScroll" | "scrollDistance" | "sticky" | "headerClose"> & ShallowUnwrapRef< {
|
|
147
|
+
headerClose: () => void;
|
|
148
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
149
|
+
$slots: Readonly<{
|
|
150
|
+
content: any;
|
|
151
|
+
'content-right': any;
|
|
152
|
+
'mobile-content'(props: {
|
|
153
|
+
headerClose: () => void;
|
|
154
|
+
}): any;
|
|
155
|
+
}> & {
|
|
156
|
+
content: any;
|
|
157
|
+
'content-right': any;
|
|
158
|
+
'mobile-content'(props: {
|
|
159
|
+
headerClose: () => void;
|
|
160
|
+
}): any;
|
|
161
|
+
};
|
|
162
|
+
}) | null;
|
|
163
|
+
}, HTMLElement>;
|
|
164
|
+
|
|
165
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {
|
|
166
|
+
headerClose: () => void;
|
|
167
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
168
|
+
"toggle-drawer": (event: Event, open: boolean) => any;
|
|
169
|
+
"title-click": (event: Event, url: string, target: CtaTarget) => any;
|
|
170
|
+
"menu-click": (event: Event, item: MenuItemType) => any;
|
|
171
|
+
"collapse-click": (event: Event, title: string, visible: boolean) => any;
|
|
172
|
+
}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
|
|
173
|
+
"onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
|
|
155
174
|
"onTitle-click"?: ((event: Event, url: string, target: CtaTarget) => any) | undefined;
|
|
156
175
|
"onMenu-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
|
|
157
176
|
"onCollapse-click"?: ((event: Event, title: string, visible: boolean) => any) | undefined;
|
|
@@ -171,9 +190,291 @@ menuItemAsLink: boolean;
|
|
|
171
190
|
drawerBtnColor: ColorPalette;
|
|
172
191
|
drawerBtnBorder: boolean;
|
|
173
192
|
headerWidth: number;
|
|
174
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
193
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
194
|
+
componentRef: ({
|
|
195
|
+
$: ComponentInternalInstance;
|
|
196
|
+
$data: {};
|
|
197
|
+
$props: {
|
|
198
|
+
readonly bgColor?: ColorPalette | undefined;
|
|
199
|
+
readonly drawerBtnColor?: ColorPalette | undefined;
|
|
200
|
+
readonly drawerBtnBorder?: boolean | undefined;
|
|
201
|
+
readonly headerWidth?: number | undefined;
|
|
202
|
+
readonly "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined | undefined;
|
|
203
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
204
|
+
$attrs: {
|
|
205
|
+
[x: string]: unknown;
|
|
206
|
+
};
|
|
207
|
+
$refs: {
|
|
208
|
+
[x: string]: unknown;
|
|
209
|
+
};
|
|
210
|
+
$slots: Readonly<{
|
|
211
|
+
[name: string]: Slot<any> | undefined;
|
|
212
|
+
}>;
|
|
213
|
+
$root: ComponentPublicInstance | null;
|
|
214
|
+
$parent: ComponentPublicInstance | null;
|
|
215
|
+
$host: Element | null;
|
|
216
|
+
$emit: (event: "toggle-drawer", event: Event, open: boolean) => void;
|
|
217
|
+
$el: HTMLElement;
|
|
218
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
219
|
+
bgColor?: ColorPalette;
|
|
220
|
+
drawerBtnColor?: ColorPalette;
|
|
221
|
+
drawerBtnBorder?: boolean;
|
|
222
|
+
headerWidth?: number;
|
|
223
|
+
}> & Readonly<{
|
|
224
|
+
"onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
|
|
225
|
+
}>, {
|
|
226
|
+
headerClose: () => void;
|
|
227
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
228
|
+
"toggle-drawer": (event: Event, open: boolean) => any;
|
|
229
|
+
}, string, {
|
|
230
|
+
bgColor: ColorPalette;
|
|
231
|
+
drawerBtnColor: ColorPalette;
|
|
232
|
+
drawerBtnBorder: boolean;
|
|
233
|
+
headerWidth: number;
|
|
234
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
235
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
236
|
+
created?: (() => void) | (() => void)[];
|
|
237
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
238
|
+
mounted?: (() => void) | (() => void)[];
|
|
239
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
240
|
+
updated?: (() => void) | (() => void)[];
|
|
241
|
+
activated?: (() => void) | (() => void)[];
|
|
242
|
+
deactivated?: (() => void) | (() => void)[];
|
|
243
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
244
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
245
|
+
destroyed?: (() => void) | (() => void)[];
|
|
246
|
+
unmounted?: (() => void) | (() => void)[];
|
|
247
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
248
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
249
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
250
|
+
};
|
|
251
|
+
$forceUpdate: () => void;
|
|
252
|
+
$nextTick: nextTick;
|
|
253
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
254
|
+
} & Readonly<{
|
|
255
|
+
bgColor: ColorPalette;
|
|
256
|
+
drawerBtnColor: ColorPalette;
|
|
257
|
+
drawerBtnBorder: boolean;
|
|
258
|
+
headerWidth: number;
|
|
259
|
+
}> & Omit<Readonly<{
|
|
260
|
+
bgColor?: ColorPalette;
|
|
261
|
+
drawerBtnColor?: ColorPalette;
|
|
262
|
+
drawerBtnBorder?: boolean;
|
|
263
|
+
headerWidth?: number;
|
|
264
|
+
}> & Readonly<{
|
|
265
|
+
"onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
|
|
266
|
+
}>, "bgColor" | "drawerBtnColor" | "drawerBtnBorder" | "headerClose" | "headerWidth"> & ShallowUnwrapRef< {
|
|
267
|
+
headerClose: () => void;
|
|
268
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
269
|
+
$slots: Readonly<{
|
|
270
|
+
default: any;
|
|
271
|
+
content: any;
|
|
272
|
+
'content-bottom': any;
|
|
273
|
+
'mobile-content'(props: {
|
|
274
|
+
headerClose: () => void;
|
|
275
|
+
}): any;
|
|
276
|
+
}> & {
|
|
277
|
+
default: any;
|
|
278
|
+
content: any;
|
|
279
|
+
'content-bottom': any;
|
|
280
|
+
'mobile-content'(props: {
|
|
281
|
+
headerClose: () => void;
|
|
282
|
+
}): any;
|
|
283
|
+
};
|
|
284
|
+
}) | null;
|
|
285
|
+
collapseRef: (CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
286
|
+
navId: string;
|
|
287
|
+
navAccordionGroup: string;
|
|
288
|
+
navLocation: "desktop" | "mobile";
|
|
289
|
+
menuItem: MenuCollapseType;
|
|
290
|
+
textColor?: ColorPalette;
|
|
291
|
+
textSize?: BodyText;
|
|
292
|
+
fontBold?: boolean;
|
|
293
|
+
dHl?: boolean;
|
|
294
|
+
hlColor?: ColorPalette;
|
|
295
|
+
asLink?: boolean;
|
|
296
|
+
}> & Readonly<{
|
|
297
|
+
"onChild-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
|
|
298
|
+
"onLabel-click"?: ((event: Event, title: string, open: boolean) => any) | undefined;
|
|
299
|
+
}>, {
|
|
300
|
+
closeCollapse: () => void;
|
|
301
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
302
|
+
"child-click": (event: Event, item: MenuItemType) => any;
|
|
303
|
+
"label-click": (event: Event, title: string, open: boolean) => any;
|
|
304
|
+
}, PublicProps, {
|
|
305
|
+
asLink: boolean;
|
|
306
|
+
textColor: ColorPalette;
|
|
307
|
+
textSize: BodyText;
|
|
308
|
+
fontBold: boolean;
|
|
309
|
+
dHl: boolean;
|
|
310
|
+
hlColor: ColorPalette;
|
|
311
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
312
|
+
collapseRef: ({
|
|
313
|
+
$: ComponentInternalInstance;
|
|
314
|
+
$data: {};
|
|
315
|
+
$props: {
|
|
316
|
+
readonly accordion?: string | undefined;
|
|
317
|
+
readonly className?: string | string[] | undefined;
|
|
318
|
+
readonly visible?: boolean | undefined;
|
|
319
|
+
readonly onClose?: ((visible: boolean) => any) | undefined | undefined;
|
|
320
|
+
readonly onOpen?: ((visible: boolean) => any) | undefined | undefined;
|
|
321
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
322
|
+
$attrs: {
|
|
323
|
+
[x: string]: unknown;
|
|
324
|
+
};
|
|
325
|
+
$refs: {
|
|
326
|
+
[x: string]: unknown;
|
|
327
|
+
} & {
|
|
328
|
+
collapseRef: HTMLDivElement;
|
|
329
|
+
};
|
|
330
|
+
$slots: Readonly<{
|
|
331
|
+
[name: string]: Slot<any> | undefined;
|
|
332
|
+
}>;
|
|
333
|
+
$root: ComponentPublicInstance | null;
|
|
334
|
+
$parent: ComponentPublicInstance | null;
|
|
335
|
+
$host: Element | null;
|
|
336
|
+
$emit: ((event: "close", visible: boolean) => void) & ((event: "open", visible: boolean) => void);
|
|
337
|
+
$el: HTMLDivElement;
|
|
338
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
339
|
+
accordion?: string;
|
|
340
|
+
className?: string | string[];
|
|
341
|
+
visible?: boolean;
|
|
342
|
+
}> & Readonly<{
|
|
343
|
+
onClose?: ((visible: boolean) => any) | undefined;
|
|
344
|
+
onOpen?: ((visible: boolean) => any) | undefined;
|
|
345
|
+
}>, {
|
|
346
|
+
toggle: () => void;
|
|
347
|
+
close: () => void;
|
|
348
|
+
open: () => void;
|
|
349
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
350
|
+
close: (visible: boolean) => any;
|
|
351
|
+
open: (visible: boolean) => any;
|
|
352
|
+
}, string, {
|
|
353
|
+
visible: boolean;
|
|
354
|
+
className: string | string[];
|
|
355
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
356
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
357
|
+
created?: (() => void) | (() => void)[];
|
|
358
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
359
|
+
mounted?: (() => void) | (() => void)[];
|
|
360
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
361
|
+
updated?: (() => void) | (() => void)[];
|
|
362
|
+
activated?: (() => void) | (() => void)[];
|
|
363
|
+
deactivated?: (() => void) | (() => void)[];
|
|
364
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
365
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
366
|
+
destroyed?: (() => void) | (() => void)[];
|
|
367
|
+
unmounted?: (() => void) | (() => void)[];
|
|
368
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
369
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
370
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
371
|
+
};
|
|
372
|
+
$forceUpdate: () => void;
|
|
373
|
+
$nextTick: nextTick;
|
|
374
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
375
|
+
} & Readonly<{
|
|
376
|
+
visible: boolean;
|
|
377
|
+
className: string | string[];
|
|
378
|
+
}> & Omit<Readonly<{
|
|
379
|
+
accordion?: string;
|
|
380
|
+
className?: string | string[];
|
|
381
|
+
visible?: boolean;
|
|
382
|
+
}> & Readonly<{
|
|
383
|
+
onClose?: ((visible: boolean) => any) | undefined;
|
|
384
|
+
onOpen?: ((visible: boolean) => any) | undefined;
|
|
385
|
+
}>, "className" | "visible" | "toggle" | "close" | "open"> & ShallowUnwrapRef< {
|
|
386
|
+
toggle: () => void;
|
|
387
|
+
close: () => void;
|
|
388
|
+
open: () => void;
|
|
389
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
390
|
+
$slots: Readonly<{
|
|
391
|
+
default: any;
|
|
392
|
+
}> & {
|
|
393
|
+
default: any;
|
|
394
|
+
};
|
|
395
|
+
}) | null;
|
|
396
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
397
|
+
P: {};
|
|
398
|
+
B: {};
|
|
399
|
+
D: {};
|
|
400
|
+
C: {};
|
|
401
|
+
M: {};
|
|
402
|
+
Defaults: {};
|
|
403
|
+
}, Readonly<{
|
|
404
|
+
navId: string;
|
|
405
|
+
navAccordionGroup: string;
|
|
406
|
+
navLocation: "desktop" | "mobile";
|
|
407
|
+
menuItem: MenuCollapseType;
|
|
408
|
+
textColor?: ColorPalette;
|
|
409
|
+
textSize?: BodyText;
|
|
410
|
+
fontBold?: boolean;
|
|
411
|
+
dHl?: boolean;
|
|
412
|
+
hlColor?: ColorPalette;
|
|
413
|
+
asLink?: boolean;
|
|
414
|
+
}> & Readonly<{
|
|
415
|
+
"onChild-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
|
|
416
|
+
"onLabel-click"?: ((event: Event, title: string, open: boolean) => any) | undefined;
|
|
417
|
+
}>, {
|
|
418
|
+
closeCollapse: () => void;
|
|
419
|
+
}, {}, {}, {}, {
|
|
420
|
+
asLink: boolean;
|
|
421
|
+
textColor: ColorPalette;
|
|
422
|
+
textSize: BodyText;
|
|
423
|
+
fontBold: boolean;
|
|
424
|
+
dHl: boolean;
|
|
425
|
+
hlColor: ColorPalette;
|
|
426
|
+
}> | null)[];
|
|
427
|
+
}, HTMLElement>;
|
|
428
|
+
|
|
429
|
+
declare type __VLS_Props = {
|
|
430
|
+
logo: string;
|
|
431
|
+
logoSmall?: string;
|
|
432
|
+
logoAlt?: string;
|
|
433
|
+
title: string;
|
|
434
|
+
titleSize?: HeadingSize;
|
|
435
|
+
titleColor?: ColorPalette;
|
|
436
|
+
titleBlockAsLink?: boolean;
|
|
437
|
+
titleBlockLinkTarget?: CtaTarget;
|
|
438
|
+
titleBlockLink: string;
|
|
439
|
+
menuItems: Array<MenuItemType | MenuCollapseType>;
|
|
440
|
+
menuItemAsLink?: boolean;
|
|
441
|
+
menuTextSize?: BodyText;
|
|
442
|
+
menuTextColor?: ColorPalette;
|
|
443
|
+
menuTextBold?: boolean;
|
|
444
|
+
displayHighlight?: boolean;
|
|
445
|
+
highlightColor?: ColorPalette;
|
|
446
|
+
bgColor?: ColorPalette;
|
|
447
|
+
mobileMenuBgColor?: ColorPalette;
|
|
448
|
+
drawerBtnColor?: ColorPalette;
|
|
449
|
+
drawerBtnBorder?: boolean;
|
|
450
|
+
fadeInOnScroll?: boolean;
|
|
451
|
+
scrollDistance?: number;
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
declare type __VLS_Props_2 = {
|
|
455
|
+
logo: string;
|
|
456
|
+
logoAlt?: string;
|
|
457
|
+
title: string;
|
|
458
|
+
titleSize?: HeadingSize;
|
|
459
|
+
titleColor?: ColorPalette;
|
|
460
|
+
titleBlockAsLink?: boolean;
|
|
461
|
+
titleBlockLinkTarget?: CtaTarget;
|
|
462
|
+
titleBlockLink: string;
|
|
463
|
+
menuItems: Array<MenuItemType | MenuCollapseType>;
|
|
464
|
+
menuItemAsLink?: boolean;
|
|
465
|
+
menuTextSize?: BodyText;
|
|
466
|
+
menuTextColor?: ColorPalette;
|
|
467
|
+
menuTextBold?: boolean;
|
|
468
|
+
displayHighlight?: boolean;
|
|
469
|
+
highlightColor?: ColorPalette;
|
|
470
|
+
bgColor?: ColorPalette;
|
|
471
|
+
drawerBtnColor?: ColorPalette;
|
|
472
|
+
drawerBtnBorder?: boolean;
|
|
473
|
+
headerWidth?: number;
|
|
474
|
+
};
|
|
175
475
|
|
|
176
476
|
declare function __VLS_template(): {
|
|
477
|
+
attrs: Partial<{}>;
|
|
177
478
|
slots: Readonly<{
|
|
178
479
|
'content-right': any;
|
|
179
480
|
'mobile-bottom'(props: {
|
|
@@ -212,7 +513,7 @@ declare function __VLS_template(): {
|
|
|
212
513
|
$parent: ComponentPublicInstance | null;
|
|
213
514
|
$host: Element | null;
|
|
214
515
|
$emit: (event: "toggle-drawer", event: Event, open: boolean) => void;
|
|
215
|
-
$el:
|
|
516
|
+
$el: HTMLElement;
|
|
216
517
|
$options: ComponentOptionsBase<Readonly<{
|
|
217
518
|
bgColor?: ColorPalette;
|
|
218
519
|
mobileMenuBgColor?: ColorPalette;
|
|
@@ -291,10 +592,11 @@ declare function __VLS_template(): {
|
|
|
291
592
|
};
|
|
292
593
|
}) | null;
|
|
293
594
|
};
|
|
294
|
-
|
|
595
|
+
rootEl: HTMLElement;
|
|
295
596
|
};
|
|
296
597
|
|
|
297
598
|
declare function __VLS_template_2(): {
|
|
599
|
+
attrs: Partial<{}>;
|
|
298
600
|
slots: Readonly<{
|
|
299
601
|
default: any;
|
|
300
602
|
'content-bottom': any;
|
|
@@ -332,7 +634,7 @@ declare function __VLS_template_2(): {
|
|
|
332
634
|
$parent: ComponentPublicInstance | null;
|
|
333
635
|
$host: Element | null;
|
|
334
636
|
$emit: (event: "toggle-drawer", event: Event, open: boolean) => void;
|
|
335
|
-
$el:
|
|
637
|
+
$el: HTMLElement;
|
|
336
638
|
$options: ComponentOptionsBase<Readonly<{
|
|
337
639
|
bgColor?: ColorPalette;
|
|
338
640
|
drawerBtnColor?: ColorPalette;
|
|
@@ -426,7 +728,92 @@ declare function __VLS_template_2(): {
|
|
|
426
728
|
fontBold: boolean;
|
|
427
729
|
dHl: boolean;
|
|
428
730
|
hlColor: ColorPalette;
|
|
429
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
731
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
732
|
+
collapseRef: ({
|
|
733
|
+
$: ComponentInternalInstance;
|
|
734
|
+
$data: {};
|
|
735
|
+
$props: {
|
|
736
|
+
readonly accordion?: string | undefined;
|
|
737
|
+
readonly className?: string | string[] | undefined;
|
|
738
|
+
readonly visible?: boolean | undefined;
|
|
739
|
+
readonly onClose?: ((visible: boolean) => any) | undefined | undefined;
|
|
740
|
+
readonly onOpen?: ((visible: boolean) => any) | undefined | undefined;
|
|
741
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
742
|
+
$attrs: {
|
|
743
|
+
[x: string]: unknown;
|
|
744
|
+
};
|
|
745
|
+
$refs: {
|
|
746
|
+
[x: string]: unknown;
|
|
747
|
+
} & {
|
|
748
|
+
collapseRef: HTMLDivElement;
|
|
749
|
+
};
|
|
750
|
+
$slots: Readonly<{
|
|
751
|
+
[name: string]: Slot<any> | undefined;
|
|
752
|
+
}>;
|
|
753
|
+
$root: ComponentPublicInstance | null;
|
|
754
|
+
$parent: ComponentPublicInstance | null;
|
|
755
|
+
$host: Element | null;
|
|
756
|
+
$emit: ((event: "close", visible: boolean) => void) & ((event: "open", visible: boolean) => void);
|
|
757
|
+
$el: HTMLDivElement;
|
|
758
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
759
|
+
accordion?: string;
|
|
760
|
+
className?: string | string[];
|
|
761
|
+
visible?: boolean;
|
|
762
|
+
}> & Readonly<{
|
|
763
|
+
onClose?: ((visible: boolean) => any) | undefined;
|
|
764
|
+
onOpen?: ((visible: boolean) => any) | undefined;
|
|
765
|
+
}>, {
|
|
766
|
+
toggle: () => void;
|
|
767
|
+
close: () => void;
|
|
768
|
+
open: () => void;
|
|
769
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
770
|
+
close: (visible: boolean) => any;
|
|
771
|
+
open: (visible: boolean) => any;
|
|
772
|
+
}, string, {
|
|
773
|
+
visible: boolean;
|
|
774
|
+
className: string | string[];
|
|
775
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
776
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
777
|
+
created?: (() => void) | (() => void)[];
|
|
778
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
779
|
+
mounted?: (() => void) | (() => void)[];
|
|
780
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
781
|
+
updated?: (() => void) | (() => void)[];
|
|
782
|
+
activated?: (() => void) | (() => void)[];
|
|
783
|
+
deactivated?: (() => void) | (() => void)[];
|
|
784
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
785
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
786
|
+
destroyed?: (() => void) | (() => void)[];
|
|
787
|
+
unmounted?: (() => void) | (() => void)[];
|
|
788
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
789
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
790
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
791
|
+
};
|
|
792
|
+
$forceUpdate: () => void;
|
|
793
|
+
$nextTick: nextTick;
|
|
794
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
795
|
+
} & Readonly<{
|
|
796
|
+
visible: boolean;
|
|
797
|
+
className: string | string[];
|
|
798
|
+
}> & Omit<Readonly<{
|
|
799
|
+
accordion?: string;
|
|
800
|
+
className?: string | string[];
|
|
801
|
+
visible?: boolean;
|
|
802
|
+
}> & Readonly<{
|
|
803
|
+
onClose?: ((visible: boolean) => any) | undefined;
|
|
804
|
+
onOpen?: ((visible: boolean) => any) | undefined;
|
|
805
|
+
}>, "className" | "visible" | "toggle" | "close" | "open"> & ShallowUnwrapRef< {
|
|
806
|
+
toggle: () => void;
|
|
807
|
+
close: () => void;
|
|
808
|
+
open: () => void;
|
|
809
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
810
|
+
$slots: Readonly<{
|
|
811
|
+
default: any;
|
|
812
|
+
}> & {
|
|
813
|
+
default: any;
|
|
814
|
+
};
|
|
815
|
+
}) | null;
|
|
816
|
+
}, HTMLDivElement, ComponentProvideOptions, {
|
|
430
817
|
P: {};
|
|
431
818
|
B: {};
|
|
432
819
|
D: {};
|
|
@@ -458,7 +845,7 @@ declare function __VLS_template_2(): {
|
|
|
458
845
|
hlColor: ColorPalette;
|
|
459
846
|
}> | null)[];
|
|
460
847
|
};
|
|
461
|
-
|
|
848
|
+
rootEl: HTMLElement;
|
|
462
849
|
};
|
|
463
850
|
|
|
464
851
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|