@bobbykim/mcl-header 0.6.3 → 0.7.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/index.d.ts CHANGED
@@ -1,162 +1,89 @@
1
+ import { AllowedComponentProps } from 'vue';
1
2
  import { BodyText } from '@bobbykim/manguito-theme';
2
3
  import { ColorPalette } from '@bobbykim/manguito-theme';
4
+ import { ComponentCustomProperties } from 'vue';
5
+ import { ComponentCustomProps } from 'vue';
6
+ import { ComponentInternalInstance } from 'vue';
7
+ import { ComponentOptionsBase } from 'vue';
3
8
  import { ComponentOptionsMixin } from 'vue';
9
+ import { ComponentProvideOptions } from 'vue';
10
+ import { ComponentPublicInstance } from 'vue';
11
+ import { CreateComponentPublicInstanceWithMixins } from 'vue';
4
12
  import { CtaTarget } from '@bobbykim/manguito-theme';
13
+ import { DebuggerEvent } from 'vue';
5
14
  import { DefineComponent } from 'vue';
6
- import { ExtractPropTypes } from 'vue';
15
+ import { GlobalComponents } from 'vue';
16
+ import { GlobalDirectives } from 'vue';
17
+ import { HeaderStickyOptionType } from '@bobbykim/manguito-theme';
7
18
  import { HeadingSize } from '@bobbykim/manguito-theme';
8
- import { PropType } from 'vue';
19
+ import { nextTick } from 'vue';
20
+ import { OnCleanup } from '@vue/reactivity';
9
21
  import { PublicProps } from 'vue';
22
+ import { ShallowUnwrapRef } from 'vue';
23
+ import { Slot } from 'vue';
24
+ import { VNodeProps } from 'vue';
25
+ import { WatchOptions } from 'vue';
26
+ import { WatchStopHandle } from 'vue';
10
27
 
11
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
-
13
- declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
14
-
15
- declare type __VLS_Prettify<T> = {
16
- [K in keyof T]: T[K];
17
- } & {};
18
-
19
- declare type __VLS_Prettify_2<T> = {
20
- [K in keyof T]: T[K];
21
- } & {};
22
-
23
- declare type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
-
32
- declare type __VLS_TypePropsToRuntimeProps_2<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
35
- } : {
36
- type: PropType<T[K]>;
37
- required: true;
38
- };
39
- };
40
-
41
- declare type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
- default: D[K];
44
- }> : P[K];
45
- };
46
-
47
- declare type __VLS_WithDefaults_2<P, D> = {
48
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_2<P[K] & {
49
- default: D[K];
50
- }> : P[K];
51
- };
52
-
53
- declare type __VLS_WithTemplateSlots<T, S> = T & {
54
- new (): {
55
- $slots: S;
56
- };
57
- };
58
-
59
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
60
- new (): {
61
- $slots: S;
62
- };
63
- };
64
-
65
- export declare const MclHeaderA: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
28
+ declare const __VLS_component: DefineComponent< {
66
29
  logo: string;
67
- logoSmall?: string | undefined;
68
- logoAlt?: string | undefined;
30
+ logoSmall?: string;
31
+ logoAlt?: string;
69
32
  title: string;
70
- titleSize?: HeadingSize | undefined;
71
- titleColor?: ColorPalette | undefined;
72
- titleBlockAsLink?: boolean | undefined;
73
- titleBlockLinkTarget?: CtaTarget | undefined;
33
+ titleSize?: HeadingSize;
34
+ titleColor?: ColorPalette;
35
+ titleBlockAsLink?: boolean;
36
+ titleBlockLinkTarget?: CtaTarget;
74
37
  titleBlockLink: string;
75
- menuItems: (MenuItemType | MenuCollapseType)[];
76
- menuItemAsLink?: boolean | undefined;
77
- menuTextSize?: BodyText | undefined;
78
- menuTextColor?: ColorPalette | undefined;
79
- menuTextBold?: boolean | undefined;
80
- displayHighlight?: boolean | undefined;
81
- highlightColor?: ColorPalette | undefined;
82
- bgColor?: ColorPalette | undefined;
83
- mobileMenuBgColor?: ColorPalette | undefined;
84
- drawerBtnColor?: ColorPalette | undefined;
85
- drawerBtnBorder?: boolean | undefined;
86
- fadeInOnScroll?: boolean | undefined;
87
- scrollDistance?: number | undefined;
88
- }>, {
89
- logoAlt: string;
90
- titleSize: string;
91
- titleColor: string;
92
- titleBlockAsLink: boolean;
93
- titleBlockLinkTarget: string;
94
- menuItemAsLink: boolean;
95
- menuTextSize: string;
96
- menuTextColor: string;
97
- menuTextBold: boolean;
98
- displayHighlight: boolean;
99
- highlightColor: string;
100
- bgColor: string;
101
- mobileMenuBgColor: string;
102
- drawerBtnColor: string;
103
- drawerBtnBorder: boolean;
104
- fadeInOnScroll: boolean;
105
- scrollDistance: number;
106
- }>, {
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
+ }, {
107
52
  headerClose: () => void;
108
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
109
- "toggle-drawer": (event: Event, open: boolean) => void;
110
- "title-click": (event: Event, url: string, target: CtaTarget) => void;
111
- "menu-click": (event: Event, item: MenuItemType) => void;
112
- "collapse-click": (event: Event, title: string, visible: boolean) => void;
113
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
53
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
54
+ "toggle-drawer": (event: Event, open: boolean) => any;
55
+ "title-click": (event: Event, url: string, target: CtaTarget) => any;
56
+ "menu-click": (event: Event, item: MenuItemType) => any;
57
+ "collapse-click": (event: Event, title: string, visible: boolean) => any;
58
+ }, string, PublicProps, Readonly<{
114
59
  logo: string;
115
- logoSmall?: string | undefined;
116
- logoAlt?: string | undefined;
60
+ logoSmall?: string;
61
+ logoAlt?: string;
117
62
  title: string;
118
- titleSize?: HeadingSize | undefined;
119
- titleColor?: ColorPalette | undefined;
120
- titleBlockAsLink?: boolean | undefined;
121
- titleBlockLinkTarget?: CtaTarget | undefined;
63
+ titleSize?: HeadingSize;
64
+ titleColor?: ColorPalette;
65
+ titleBlockAsLink?: boolean;
66
+ titleBlockLinkTarget?: CtaTarget;
122
67
  titleBlockLink: string;
123
- menuItems: (MenuItemType | MenuCollapseType)[];
124
- menuItemAsLink?: boolean | undefined;
125
- menuTextSize?: BodyText | undefined;
126
- menuTextColor?: ColorPalette | undefined;
127
- menuTextBold?: boolean | undefined;
128
- displayHighlight?: boolean | undefined;
129
- highlightColor?: ColorPalette | undefined;
130
- bgColor?: ColorPalette | undefined;
131
- mobileMenuBgColor?: ColorPalette | undefined;
132
- drawerBtnColor?: ColorPalette | undefined;
133
- drawerBtnBorder?: boolean | undefined;
134
- fadeInOnScroll?: boolean | undefined;
135
- scrollDistance?: number | undefined;
136
- }>, {
137
- logoAlt: string;
138
- titleSize: string;
139
- titleColor: string;
140
- titleBlockAsLink: boolean;
141
- titleBlockLinkTarget: string;
142
- menuItemAsLink: boolean;
143
- menuTextSize: string;
144
- menuTextColor: string;
145
- menuTextBold: boolean;
146
- displayHighlight: boolean;
147
- highlightColor: string;
148
- bgColor: string;
149
- mobileMenuBgColor: string;
150
- drawerBtnColor: string;
151
- drawerBtnBorder: boolean;
152
- fadeInOnScroll: boolean;
153
- scrollDistance: number;
154
- }>>> & {
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<{
155
82
  "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
156
83
  "onTitle-click"?: ((event: Event, url: string, target: CtaTarget) => any) | undefined;
157
84
  "onMenu-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
158
85
  "onCollapse-click"?: ((event: Event, title: string, visible: boolean) => any) | undefined;
159
- }, {
86
+ }>, {
160
87
  bgColor: ColorPalette;
161
88
  menuTextSize: BodyText;
162
89
  menuTextColor: ColorPalette;
@@ -174,103 +101,61 @@ drawerBtnColor: ColorPalette;
174
101
  drawerBtnBorder: boolean;
175
102
  fadeInOnScroll: boolean;
176
103
  scrollDistance: number;
177
- }, {}>, Readonly<{
178
- 'content-right': any;
179
- 'mobile-bottom'(props: {
180
- headerClose: () => void;
181
- }): any;
182
- }> & {
183
- 'content-right': any;
184
- 'mobile-bottom'(props: {
185
- headerClose: () => void;
186
- }): any;
187
- }>;
104
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
188
105
 
189
- export declare const MclHeaderB: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
106
+ declare const __VLS_component_2: DefineComponent< {
190
107
  logo: string;
191
- logoAlt?: string | undefined;
108
+ logoAlt?: string;
192
109
  title: string;
193
- titleSize?: HeadingSize | undefined;
194
- titleColor?: ColorPalette | undefined;
195
- titleBlockAsLink?: boolean | undefined;
196
- titleBlockLinkTarget?: CtaTarget | undefined;
110
+ titleSize?: HeadingSize;
111
+ titleColor?: ColorPalette;
112
+ titleBlockAsLink?: boolean;
113
+ titleBlockLinkTarget?: CtaTarget;
197
114
  titleBlockLink: string;
198
- menuItems: (MenuItemType | MenuCollapseType)[];
199
- menuItemAsLink?: boolean | undefined;
200
- menuTextSize?: BodyText | undefined;
201
- menuTextColor?: ColorPalette | undefined;
202
- menuTextBold?: boolean | undefined;
203
- displayHighlight?: boolean | undefined;
204
- highlightColor?: ColorPalette | undefined;
205
- bgColor?: ColorPalette | undefined;
206
- drawerBtnColor?: ColorPalette | undefined;
207
- drawerBtnBorder?: boolean | undefined;
208
- headerWidth?: number | undefined;
209
- }>, {
210
- logoAlt: string;
211
- titleBlockAsLink: boolean;
212
- titleBlockLinkTarget: string;
213
- titleSize: string;
214
- titleColor: string;
215
- menuItemAsLink: boolean;
216
- menuTextSize: string;
217
- menuTextColor: string;
218
- menuTextBold: boolean;
219
- displayHighlight: boolean;
220
- highlightColor: string;
221
- bgColor: string;
222
- drawerBtnColor: string;
223
- drawerBtnBorder: boolean;
224
- headerWidth: number;
225
- }>, {
115
+ menuItems: Array<MenuItemType | MenuCollapseType>;
116
+ menuItemAsLink?: boolean;
117
+ menuTextSize?: BodyText;
118
+ menuTextColor?: ColorPalette;
119
+ menuTextBold?: boolean;
120
+ displayHighlight?: boolean;
121
+ highlightColor?: ColorPalette;
122
+ bgColor?: ColorPalette;
123
+ drawerBtnColor?: ColorPalette;
124
+ drawerBtnBorder?: boolean;
125
+ headerWidth?: number;
126
+ }, {
226
127
  headerClose: () => void;
227
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
228
- "toggle-drawer": (event: Event, open: boolean) => void;
229
- "title-click": (event: Event, url: string, target: CtaTarget) => void;
230
- "menu-click": (event: Event, item: MenuItemType) => void;
231
- "collapse-click": (event: Event, title: string, visible: boolean) => void;
232
- }, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_2<__VLS_TypePropsToRuntimeProps_2<{
128
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
129
+ "toggle-drawer": (event: Event, open: boolean) => any;
130
+ "title-click": (event: Event, url: string, target: CtaTarget) => any;
131
+ "menu-click": (event: Event, item: MenuItemType) => any;
132
+ "collapse-click": (event: Event, title: string, visible: boolean) => any;
133
+ }, string, PublicProps, Readonly<{
233
134
  logo: string;
234
- logoAlt?: string | undefined;
135
+ logoAlt?: string;
235
136
  title: string;
236
- titleSize?: HeadingSize | undefined;
237
- titleColor?: ColorPalette | undefined;
238
- titleBlockAsLink?: boolean | undefined;
239
- titleBlockLinkTarget?: CtaTarget | undefined;
137
+ titleSize?: HeadingSize;
138
+ titleColor?: ColorPalette;
139
+ titleBlockAsLink?: boolean;
140
+ titleBlockLinkTarget?: CtaTarget;
240
141
  titleBlockLink: string;
241
- menuItems: (MenuItemType | MenuCollapseType)[];
242
- menuItemAsLink?: boolean | undefined;
243
- menuTextSize?: BodyText | undefined;
244
- menuTextColor?: ColorPalette | undefined;
245
- menuTextBold?: boolean | undefined;
246
- displayHighlight?: boolean | undefined;
247
- highlightColor?: ColorPalette | undefined;
248
- bgColor?: ColorPalette | undefined;
249
- drawerBtnColor?: ColorPalette | undefined;
250
- drawerBtnBorder?: boolean | undefined;
251
- headerWidth?: number | undefined;
252
- }>, {
253
- logoAlt: string;
254
- titleBlockAsLink: boolean;
255
- titleBlockLinkTarget: string;
256
- titleSize: string;
257
- titleColor: string;
258
- menuItemAsLink: boolean;
259
- menuTextSize: string;
260
- menuTextColor: string;
261
- menuTextBold: boolean;
262
- displayHighlight: boolean;
263
- highlightColor: string;
264
- bgColor: string;
265
- drawerBtnColor: string;
266
- drawerBtnBorder: boolean;
267
- headerWidth: number;
268
- }>>> & {
142
+ menuItems: Array<MenuItemType | MenuCollapseType>;
143
+ menuItemAsLink?: boolean;
144
+ menuTextSize?: BodyText;
145
+ menuTextColor?: ColorPalette;
146
+ menuTextBold?: boolean;
147
+ displayHighlight?: boolean;
148
+ highlightColor?: ColorPalette;
149
+ bgColor?: ColorPalette;
150
+ drawerBtnColor?: ColorPalette;
151
+ drawerBtnBorder?: boolean;
152
+ headerWidth?: number;
153
+ }> & Readonly<{
269
154
  "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
270
155
  "onTitle-click"?: ((event: Event, url: string, target: CtaTarget) => any) | undefined;
271
156
  "onMenu-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
272
157
  "onCollapse-click"?: ((event: Event, title: string, visible: boolean) => any) | undefined;
273
- }, {
158
+ }>, {
274
159
  bgColor: ColorPalette;
275
160
  menuTextSize: BodyText;
276
161
  menuTextColor: ColorPalette;
@@ -286,19 +171,315 @@ menuItemAsLink: boolean;
286
171
  drawerBtnColor: ColorPalette;
287
172
  drawerBtnBorder: boolean;
288
173
  headerWidth: number;
289
- }, {}>, Readonly<{
290
- default: any;
291
- 'content-bottom': any;
292
- 'mobile-bottom'(props: {
174
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
175
+
176
+ declare function __VLS_template(): {
177
+ slots: Readonly<{
178
+ 'content-right': any;
179
+ 'mobile-bottom'(props: {
180
+ headerClose: () => void;
181
+ }): any;
182
+ }> & {
183
+ 'content-right': any;
184
+ 'mobile-bottom'(props: {
185
+ headerClose: () => void;
186
+ }): any;
187
+ };
188
+ refs: {
189
+ componentRef: ({
190
+ $: ComponentInternalInstance;
191
+ $data: {};
192
+ $props: {
193
+ readonly bgColor?: ColorPalette | undefined;
194
+ readonly mobileMenuBgColor?: ColorPalette | undefined;
195
+ readonly drawerBtnColor?: ColorPalette | undefined;
196
+ readonly drawerBtnBorder?: boolean | undefined;
197
+ readonly fadeInOnScroll?: boolean | undefined;
198
+ readonly scrollDistance?: number | undefined;
199
+ readonly sticky?: HeaderStickyOptionType | undefined;
200
+ readonly "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined | undefined;
201
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
202
+ $attrs: {
203
+ [x: string]: unknown;
204
+ };
205
+ $refs: {
206
+ [x: string]: unknown;
207
+ };
208
+ $slots: Readonly<{
209
+ [name: string]: Slot<any> | undefined;
210
+ }>;
211
+ $root: ComponentPublicInstance | null;
212
+ $parent: ComponentPublicInstance | null;
213
+ $host: Element | null;
214
+ $emit: (event: "toggle-drawer", event: Event, open: boolean) => void;
215
+ $el: any;
216
+ $options: ComponentOptionsBase<Readonly<{
217
+ bgColor?: ColorPalette;
218
+ mobileMenuBgColor?: ColorPalette;
219
+ drawerBtnColor?: ColorPalette;
220
+ drawerBtnBorder?: boolean;
221
+ fadeInOnScroll?: boolean;
222
+ scrollDistance?: number;
223
+ sticky?: HeaderStickyOptionType;
224
+ }> & Readonly<{
225
+ "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
226
+ }>, {
227
+ headerClose: () => void;
228
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
229
+ "toggle-drawer": (event: Event, open: boolean) => any;
230
+ }, string, {
231
+ bgColor: ColorPalette;
232
+ mobileMenuBgColor: ColorPalette;
233
+ drawerBtnColor: ColorPalette;
234
+ drawerBtnBorder: boolean;
235
+ fadeInOnScroll: boolean;
236
+ scrollDistance: number;
237
+ sticky: HeaderStickyOptionType;
238
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
239
+ beforeCreate?: (() => void) | (() => void)[];
240
+ created?: (() => void) | (() => void)[];
241
+ beforeMount?: (() => void) | (() => void)[];
242
+ mounted?: (() => void) | (() => void)[];
243
+ beforeUpdate?: (() => void) | (() => void)[];
244
+ updated?: (() => void) | (() => void)[];
245
+ activated?: (() => void) | (() => void)[];
246
+ deactivated?: (() => void) | (() => void)[];
247
+ beforeDestroy?: (() => void) | (() => void)[];
248
+ beforeUnmount?: (() => void) | (() => void)[];
249
+ destroyed?: (() => void) | (() => void)[];
250
+ unmounted?: (() => void) | (() => void)[];
251
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
252
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
253
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
254
+ };
255
+ $forceUpdate: () => void;
256
+ $nextTick: nextTick;
257
+ $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;
258
+ } & Readonly<{
259
+ bgColor: ColorPalette;
260
+ mobileMenuBgColor: ColorPalette;
261
+ drawerBtnColor: ColorPalette;
262
+ drawerBtnBorder: boolean;
263
+ fadeInOnScroll: boolean;
264
+ scrollDistance: number;
265
+ sticky: HeaderStickyOptionType;
266
+ }> & Omit<Readonly<{
267
+ bgColor?: ColorPalette;
268
+ mobileMenuBgColor?: ColorPalette;
269
+ drawerBtnColor?: ColorPalette;
270
+ drawerBtnBorder?: boolean;
271
+ fadeInOnScroll?: boolean;
272
+ scrollDistance?: number;
273
+ sticky?: HeaderStickyOptionType;
274
+ }> & Readonly<{
275
+ "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
276
+ }>, "bgColor" | "mobileMenuBgColor" | "drawerBtnColor" | "drawerBtnBorder" | "fadeInOnScroll" | "scrollDistance" | "sticky" | "headerClose"> & ShallowUnwrapRef< {
293
277
  headerClose: () => void;
294
- }): any;
295
- }> & {
296
- default: any;
297
- 'content-bottom': any;
298
- 'mobile-bottom'(props: {
278
+ }> & {} & ComponentCustomProperties & {} & {
279
+ $slots: Readonly<{
280
+ content: any;
281
+ 'content-right': any;
282
+ 'mobile-content'(props: {
283
+ headerClose: () => void;
284
+ }): any;
285
+ }> & {
286
+ content: any;
287
+ 'content-right': any;
288
+ 'mobile-content'(props: {
289
+ headerClose: () => void;
290
+ }): any;
291
+ };
292
+ }) | null;
293
+ };
294
+ attrs: Partial<{}>;
295
+ };
296
+
297
+ declare function __VLS_template_2(): {
298
+ slots: Readonly<{
299
+ default: any;
300
+ 'content-bottom': any;
301
+ 'mobile-bottom'(props: {
302
+ headerClose: () => void;
303
+ }): any;
304
+ }> & {
305
+ default: any;
306
+ 'content-bottom': any;
307
+ 'mobile-bottom'(props: {
308
+ headerClose: () => void;
309
+ }): any;
310
+ };
311
+ refs: {
312
+ componentRef: ({
313
+ $: ComponentInternalInstance;
314
+ $data: {};
315
+ $props: {
316
+ readonly bgColor?: ColorPalette | undefined;
317
+ readonly drawerBtnColor?: ColorPalette | undefined;
318
+ readonly drawerBtnBorder?: boolean | undefined;
319
+ readonly headerWidth?: number | undefined;
320
+ readonly "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined | undefined;
321
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
322
+ $attrs: {
323
+ [x: string]: unknown;
324
+ };
325
+ $refs: {
326
+ [x: string]: unknown;
327
+ };
328
+ $slots: Readonly<{
329
+ [name: string]: Slot<any> | undefined;
330
+ }>;
331
+ $root: ComponentPublicInstance | null;
332
+ $parent: ComponentPublicInstance | null;
333
+ $host: Element | null;
334
+ $emit: (event: "toggle-drawer", event: Event, open: boolean) => void;
335
+ $el: any;
336
+ $options: ComponentOptionsBase<Readonly<{
337
+ bgColor?: ColorPalette;
338
+ drawerBtnColor?: ColorPalette;
339
+ drawerBtnBorder?: boolean;
340
+ headerWidth?: number;
341
+ }> & Readonly<{
342
+ "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
343
+ }>, {
344
+ headerClose: () => void;
345
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
346
+ "toggle-drawer": (event: Event, open: boolean) => any;
347
+ }, string, {
348
+ bgColor: ColorPalette;
349
+ drawerBtnColor: ColorPalette;
350
+ drawerBtnBorder: boolean;
351
+ headerWidth: number;
352
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
353
+ beforeCreate?: (() => void) | (() => void)[];
354
+ created?: (() => void) | (() => void)[];
355
+ beforeMount?: (() => void) | (() => void)[];
356
+ mounted?: (() => void) | (() => void)[];
357
+ beforeUpdate?: (() => void) | (() => void)[];
358
+ updated?: (() => void) | (() => void)[];
359
+ activated?: (() => void) | (() => void)[];
360
+ deactivated?: (() => void) | (() => void)[];
361
+ beforeDestroy?: (() => void) | (() => void)[];
362
+ beforeUnmount?: (() => void) | (() => void)[];
363
+ destroyed?: (() => void) | (() => void)[];
364
+ unmounted?: (() => void) | (() => void)[];
365
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
366
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
367
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
368
+ };
369
+ $forceUpdate: () => void;
370
+ $nextTick: nextTick;
371
+ $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;
372
+ } & Readonly<{
373
+ bgColor: ColorPalette;
374
+ drawerBtnColor: ColorPalette;
375
+ drawerBtnBorder: boolean;
376
+ headerWidth: number;
377
+ }> & Omit<Readonly<{
378
+ bgColor?: ColorPalette;
379
+ drawerBtnColor?: ColorPalette;
380
+ drawerBtnBorder?: boolean;
381
+ headerWidth?: number;
382
+ }> & Readonly<{
383
+ "onToggle-drawer"?: ((event: Event, open: boolean) => any) | undefined;
384
+ }>, "bgColor" | "drawerBtnColor" | "drawerBtnBorder" | "headerClose" | "headerWidth"> & ShallowUnwrapRef< {
299
385
  headerClose: () => void;
300
- }): any;
301
- }>;
386
+ }> & {} & ComponentCustomProperties & {} & {
387
+ $slots: Readonly<{
388
+ default: any;
389
+ content: any;
390
+ 'content-bottom': any;
391
+ 'mobile-content'(props: {
392
+ headerClose: () => void;
393
+ }): any;
394
+ }> & {
395
+ default: any;
396
+ content: any;
397
+ 'content-bottom': any;
398
+ 'mobile-content'(props: {
399
+ headerClose: () => void;
400
+ }): any;
401
+ };
402
+ }) | null;
403
+ collapseRef: (CreateComponentPublicInstanceWithMixins<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
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
420
+ "child-click": (event: Event, item: MenuItemType) => any;
421
+ "label-click": (event: Event, title: string, open: boolean) => any;
422
+ }, PublicProps, {
423
+ asLink: boolean;
424
+ textColor: ColorPalette;
425
+ textSize: BodyText;
426
+ fontBold: boolean;
427
+ dHl: boolean;
428
+ hlColor: ColorPalette;
429
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
430
+ P: {};
431
+ B: {};
432
+ D: {};
433
+ C: {};
434
+ M: {};
435
+ Defaults: {};
436
+ }, Readonly<{
437
+ navId: string;
438
+ navAccordionGroup: string;
439
+ navLocation: "desktop" | "mobile";
440
+ menuItem: MenuCollapseType;
441
+ textColor?: ColorPalette;
442
+ textSize?: BodyText;
443
+ fontBold?: boolean;
444
+ dHl?: boolean;
445
+ hlColor?: ColorPalette;
446
+ asLink?: boolean;
447
+ }> & Readonly<{
448
+ "onChild-click"?: ((event: Event, item: MenuItemType) => any) | undefined;
449
+ "onLabel-click"?: ((event: Event, title: string, open: boolean) => any) | undefined;
450
+ }>, {
451
+ closeCollapse: () => void;
452
+ }, {}, {}, {}, {
453
+ asLink: boolean;
454
+ textColor: ColorPalette;
455
+ textSize: BodyText;
456
+ fontBold: boolean;
457
+ dHl: boolean;
458
+ hlColor: ColorPalette;
459
+ }> | null)[];
460
+ };
461
+ attrs: Partial<{}>;
462
+ };
463
+
464
+ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
465
+
466
+ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
467
+
468
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
469
+ new (): {
470
+ $slots: S;
471
+ };
472
+ };
473
+
474
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
475
+ new (): {
476
+ $slots: S;
477
+ };
478
+ };
479
+
480
+ export declare const MclHeaderA: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
481
+
482
+ export declare const MclHeaderB: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
302
483
 
303
484
  export declare interface MenuCollapseType {
304
485
  title: string;