@citruslime/ui 2.7.0-beta.2 → 3.0.0-beta.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.
Files changed (57) hide show
  1. package/README.md +3 -3
  2. package/dist/citrus-lime-ui.es.js +3590 -3507
  3. package/dist/citrus-lime-ui.umd.js +8 -8
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +33 -13
  5. package/dist/components/accordion/header/cl-ui-accordion-header.vue.d.ts +1 -1
  6. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +37 -25
  7. package/dist/components/app/cl-ui-app.vue.d.ts +34 -15
  8. package/dist/components/button/cl-ui-button.vue.d.ts +43 -38
  9. package/dist/components/calendar/cl-ui-calendar-input.vue.d.ts +30 -54
  10. package/dist/components/calendar/cl-ui-calendar.vue.d.ts +73 -98
  11. package/dist/components/calendar/cl-ui-quick-dates-group.vue.d.ts +19 -22
  12. package/dist/components/calendar/cl-ui-quick-dates.vue.d.ts +20 -34
  13. package/dist/components/card/cl-ui-card.vue.d.ts +40 -24
  14. package/dist/components/combo-box/cl-ui-combo-box.vue.d.ts +97 -146
  15. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +70 -95
  16. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +37 -30
  17. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +47 -50
  18. package/dist/components/currency/cl-ui-currency-input.vue.d.ts +51 -78
  19. package/dist/components/file-uploader/cl-ui-file-uploader.vue.d.ts +39 -38
  20. package/dist/components/footer/cl-ui-footer.vue.d.ts +1 -1
  21. package/dist/components/grid/action-row/cl-ui-grid-action-row.vue.d.ts +38 -59
  22. package/dist/components/grid/body/cl-ui-grid-body.vue.d.ts +60 -83
  23. package/dist/components/grid/body/cl-ui-grid-cell-value.vue.d.ts +20 -35
  24. package/dist/components/grid/body/cl-ui-grid-cell.vue.d.ts +37 -46
  25. package/dist/components/grid/body/cl-ui-grid-row.vue.d.ts +40 -58
  26. package/dist/components/grid/cl-ui-grid.vue.d.ts +83 -88
  27. package/dist/components/grid/footer/cl-ui-grid-footer.vue.d.ts +33 -30
  28. package/dist/components/grid/header/cl-ui-grid-filter.vue.d.ts +41 -61
  29. package/dist/components/grid/header/cl-ui-grid-header.vue.d.ts +30 -65
  30. package/dist/components/grid/header/cl-ui-grid-method-selector.vue.d.ts +37 -46
  31. package/dist/components/grid/header/cl-ui-grid-search.vue.d.ts +10 -3
  32. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +19 -22
  33. package/dist/components/header/cl-ui-header.vue.d.ts +23 -14
  34. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +44 -45
  35. package/dist/components/header/menu/index.d.ts +1 -0
  36. package/dist/components/input/cl-ui-input.vue.d.ts +225 -333
  37. package/dist/components/input-v2/input-checkbox/cl-ui-input-checkbox.vue.d.ts +60 -0
  38. package/dist/components/input-v2/input-checkbox/index.d.ts +1 -0
  39. package/dist/components/input-v2/input-layout-wrapper/cl-ui-input-layout-wrapper.vue.d.ts +21 -21
  40. package/dist/components/input-v2/input-number/cl-ui-input-number.vue.d.ts +29 -25
  41. package/dist/components/input-v2/input-text/cl-ui-input-text.vue.d.ts +26 -22
  42. package/dist/components/language-switcher/cl-ui-language-switcher.vue.d.ts +33 -28
  43. package/dist/components/loading-spinner/cl-ui-loading-spinner.vue.d.ts +1 -1
  44. package/dist/components/login/cl-ui-login.vue.d.ts +44 -28
  45. package/dist/components/modal/cl-ui-modal.vue.d.ts +54 -40
  46. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +39 -15
  47. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +19 -13
  48. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +30 -27
  49. package/dist/components/navigation/item/cl-ui-navigation-item.vue.d.ts +1 -1
  50. package/dist/components/navigation/section/cl-ui-navigation-section.vue.d.ts +1 -1
  51. package/dist/components/notification/cl-ui-notification.vue.d.ts +32 -20
  52. package/dist/components/slider/cl-ui-slider.vue.d.ts +19 -24
  53. package/dist/components/tab/cl-ui-tab.vue.d.ts +44 -23
  54. package/dist/components/tab/content/cl-ui-tab-content.vue.d.ts +32 -20
  55. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +43 -44
  56. package/dist/style.css +1 -1
  57. package/package.json +12 -11
@@ -21,40 +21,64 @@ declare function restorePinnedNavigation(id?: number): void;
21
21
  * Closes the navigation (if not pinned).
22
22
  */
23
23
  declare function closeNavigation(): void;
24
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
- colour: {
26
- type: import("vue").PropType<"default" | "secondary">;
27
- default: string;
28
- };
29
- }, {
24
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
25
+ colour?: "default" | "secondary" | undefined;
26
+ }>, {
27
+ colour: string;
28
+ }>, {
30
29
  closeNavigation: typeof closeNavigation;
31
30
  restorePinnedNavigation: typeof restorePinnedNavigation;
32
31
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
32
  "pinned-state": (state: boolean) => void;
34
33
  "open-state": (state: boolean, groupID?: number | undefined) => void;
35
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
- colour: {
37
- type: import("vue").PropType<"default" | "secondary">;
38
- default: string;
39
- };
40
- }>> & {
34
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
35
+ colour?: "default" | "secondary" | undefined;
36
+ }>, {
37
+ colour: string;
38
+ }>>> & {
41
39
  "onPinned-state"?: ((state: boolean) => any) | undefined;
42
40
  "onOpen-state"?: ((state: boolean, groupID?: number | undefined) => any) | undefined;
43
41
  }, {
44
42
  colour: "default" | "secondary";
45
- }, {}>, {
46
- icon?(_: {
43
+ }, {}>, Readonly<{
44
+ default(props: {
45
+ groupIsOpen: typeof groupIsOpen;
46
+ }): any;
47
+ icon(props: {
47
48
  groupIsOpen: typeof groupIsOpen;
48
49
  toggleOpen: typeof toggleOpen;
49
50
  navcolour: "default" | "secondary";
50
51
  }): any;
51
- default?(_: {
52
+ }> & {
53
+ default(props: {
54
+ groupIsOpen: typeof groupIsOpen;
55
+ }): any;
56
+ icon(props: {
52
57
  groupIsOpen: typeof groupIsOpen;
58
+ toggleOpen: typeof toggleOpen;
59
+ navcolour: "default" | "secondary";
53
60
  }): any;
54
61
  }>;
55
62
  export default _default;
63
+ type __VLS_WithDefaults<P, D> = {
64
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
65
+ default: D[K];
66
+ }> : P[K];
67
+ };
68
+ type __VLS_Prettify<T> = {
69
+ [K in keyof T]: T[K];
70
+ } & {};
56
71
  type __VLS_WithTemplateSlots<T, S> = T & {
57
72
  new (): {
58
73
  $slots: S;
59
74
  };
60
75
  };
76
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
77
+ type __VLS_TypePropsToOption<T> = {
78
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
79
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
80
+ } : {
81
+ type: import('vue').PropType<T[K]>;
82
+ required: true;
83
+ };
84
+ };
@@ -1,16 +1,13 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- open: {
3
- type: import("vue").PropType<boolean>;
4
- required: true;
5
- };
6
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- open: {
8
- type: import("vue").PropType<boolean>;
9
- required: true;
10
- };
11
- }>>, {}, {}>, {
12
- title?(_: {}): any;
13
- default?(_: {}): any;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ open: boolean;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
4
+ open: boolean;
5
+ }>>>, {}, {}>, Readonly<{
6
+ default(): any;
7
+ title(): any;
8
+ }> & {
9
+ default(): any;
10
+ title(): any;
14
11
  }>;
15
12
  export default _default;
16
13
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -18,3 +15,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
18
15
  $slots: S;
19
16
  };
20
17
  };
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToOption<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
@@ -1,30 +1,33 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- open: {
3
- type: import("vue").PropType<boolean>;
4
- required: true;
5
- };
6
- colour: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- iconValue: {
11
- type: import("vue").PropType<string>;
12
- required: true;
13
- };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
- open: {
16
- type: import("vue").PropType<boolean>;
17
- required: true;
18
- };
19
- colour: {
20
- type: import("vue").PropType<string>;
21
- default: string;
22
- };
23
- iconValue: {
24
- type: import("vue").PropType<string>;
25
- required: true;
26
- };
27
- }>>, {
1
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ iconValue: string;
3
+ open: boolean;
4
+ colour?: string | undefined;
5
+ }>, {
6
+ colour: string;
7
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
+ iconValue: string;
9
+ open: boolean;
10
+ colour?: string | undefined;
11
+ }>, {
12
+ colour: string;
13
+ }>>>, {
28
14
  colour: string;
29
15
  }, {}>;
30
16
  export default _default;
17
+ type __VLS_WithDefaults<P, D> = {
18
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
19
+ default: D[K];
20
+ }> : P[K];
21
+ };
22
+ type __VLS_Prettify<T> = {
23
+ [K in keyof T]: T[K];
24
+ } & {};
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToOption<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  default?(_: {}): any;
3
3
  }>;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
2
  title?(_: {}): any;
3
3
  default?(_: {}): any;
4
4
  }>;
@@ -1,23 +1,35 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- container: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- position: {
7
- type: import("vue").PropType<"top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right">;
8
- default: string;
9
- };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- container: {
12
- type: import("vue").PropType<string>;
13
- default: string;
14
- };
15
- position: {
16
- type: import("vue").PropType<"top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right">;
17
- default: string;
18
- };
19
- }>>, {
1
+ import type { NotificationPosition } from '../../composables/notification';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
+ container?: string | undefined;
4
+ position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
5
+ }>, {
20
6
  container: string;
21
- position: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right";
7
+ position: string;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
+ container?: string | undefined;
10
+ position?: "top-left" | "top-centre" | "top-right" | "bottom-left" | "bottom-centre" | "bottom-right" | undefined;
11
+ }>, {
12
+ container: string;
13
+ position: string;
14
+ }>>>, {
15
+ container: string;
16
+ position: NotificationPosition;
22
17
  }, {}>;
23
18
  export default _default;
19
+ type __VLS_WithDefaults<P, D> = {
20
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
+ default: D[K];
22
+ }> : P[K];
23
+ };
24
+ type __VLS_Prettify<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToOption<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
@@ -3,19 +3,19 @@ declare const _default: import("vue").DefineComponent<{
3
3
  required: true;
4
4
  type: import("vue").PropType<number>;
5
5
  };
6
- placeholder: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
6
  disabled: {
11
7
  type: import("vue").PropType<boolean>;
12
8
  default: boolean;
13
9
  };
14
- max: {
10
+ placeholder: {
11
+ type: import("vue").PropType<string>;
12
+ default: string;
13
+ };
14
+ min: {
15
15
  type: import("vue").PropType<number>;
16
16
  required: true;
17
17
  };
18
- min: {
18
+ max: {
19
19
  type: import("vue").PropType<number>;
20
20
  required: true;
21
21
  };
@@ -23,30 +23,28 @@ declare const _default: import("vue").DefineComponent<{
23
23
  type: import("vue").PropType<number>;
24
24
  default: number;
25
25
  };
26
- enforceStep: {
27
- type: import("vue").PropType<boolean>;
28
- default: boolean;
29
- };
30
26
  }, {
31
27
  focus(): void;
32
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:value": (value: number) => void;
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
31
  value: {
34
32
  required: true;
35
33
  type: import("vue").PropType<number>;
36
34
  };
37
- placeholder: {
38
- type: import("vue").PropType<string>;
39
- default: string;
40
- };
41
35
  disabled: {
42
36
  type: import("vue").PropType<boolean>;
43
37
  default: boolean;
44
38
  };
45
- max: {
39
+ placeholder: {
40
+ type: import("vue").PropType<string>;
41
+ default: string;
42
+ };
43
+ min: {
46
44
  type: import("vue").PropType<number>;
47
45
  required: true;
48
46
  };
49
- min: {
47
+ max: {
50
48
  type: import("vue").PropType<number>;
51
49
  required: true;
52
50
  };
@@ -54,14 +52,11 @@ declare const _default: import("vue").DefineComponent<{
54
52
  type: import("vue").PropType<number>;
55
53
  default: number;
56
54
  };
57
- enforceStep: {
58
- type: import("vue").PropType<boolean>;
59
- default: boolean;
60
- };
61
- }>>, {
62
- placeholder: string;
55
+ }>> & {
56
+ "onUpdate:value"?: ((value: number) => any) | undefined;
57
+ }, {
63
58
  disabled: boolean;
59
+ placeholder: string;
64
60
  step: number;
65
- enforceStep: boolean;
66
61
  }, {}>;
67
62
  export default _default;
@@ -4,34 +4,38 @@
4
4
  * @param id - The ID of the tab to open.
5
5
  */
6
6
  declare function setTab(id?: number): void;
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
- colour: {
9
- type: import("vue").PropType<"default" | "primary" | "secondary" | "danger" | "blue">;
10
- default: string;
11
- };
12
- layout: {
13
- type: import("vue").PropType<"horizontal" | "vertical">;
14
- default: string;
15
- };
16
- }, {
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
9
+ layout?: "horizontal" | "vertical" | undefined;
10
+ }>, {
11
+ colour: string;
12
+ layout: string;
13
+ }>, {
17
14
  setTab: typeof setTab;
18
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
- "tab-opened": (id: number) => void;
20
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
- colour: {
22
- type: import("vue").PropType<"default" | "primary" | "secondary" | "danger" | "blue">;
23
- default: string;
24
- };
25
- layout: {
26
- type: import("vue").PropType<"horizontal" | "vertical">;
27
- default: string;
28
- };
29
- }>> & {
30
- "onTab-opened"?: ((id: number) => any) | undefined;
16
+ "tab-opened": (args_0: number) => void;
17
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
18
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
19
+ layout?: "horizontal" | "vertical" | undefined;
20
+ }>, {
21
+ colour: string;
22
+ layout: string;
23
+ }>>> & {
24
+ "onTab-opened"?: ((args_0: number) => any) | undefined;
31
25
  }, {
32
26
  colour: "default" | "primary" | "secondary" | "danger" | "blue";
33
27
  layout: "horizontal" | "vertical";
34
- }, {}>, {
28
+ }, {}>, Readonly<{
29
+ headings(props: {
30
+ isTabOpen: (id: number) => boolean;
31
+ toggleOpen: (id: number) => void;
32
+ colour: "default" | "primary" | "secondary" | "danger" | "blue";
33
+ layout: "horizontal" | "vertical";
34
+ }): any;
35
+ content(props: {
36
+ isTabOpen: (id: number) => boolean;
37
+ }): any;
38
+ }> & {
35
39
  headings(props: {
36
40
  isTabOpen: (id: number) => boolean;
37
41
  toggleOpen: (id: number) => void;
@@ -43,8 +47,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
47
  }): any;
44
48
  }>;
45
49
  export default _default;
50
+ type __VLS_WithDefaults<P, D> = {
51
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
+ default: D[K];
53
+ }> : P[K];
54
+ };
55
+ type __VLS_Prettify<T> = {
56
+ [K in keyof T]: T[K];
57
+ } & {};
46
58
  type __VLS_WithTemplateSlots<T, S> = T & {
47
59
  new (): {
48
60
  $slots: S;
49
61
  };
50
62
  };
63
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
+ type __VLS_TypePropsToOption<T> = {
65
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
67
+ } : {
68
+ type: import('vue').PropType<T[K]>;
69
+ required: true;
70
+ };
71
+ };
@@ -1,30 +1,42 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- open: {
3
- type: import("vue").PropType<boolean>;
4
- required: true;
5
- };
6
- title: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- open: {
12
- type: import("vue").PropType<boolean>;
13
- required: true;
14
- };
15
- title: {
16
- type: import("vue").PropType<string>;
17
- default: string;
18
- };
19
- }>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ open: boolean;
3
+ title?: string | undefined;
4
+ }>, {
5
+ title: string;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ open: boolean;
8
+ title?: string | undefined;
9
+ }>, {
20
10
  title: string;
21
- }, {}>, {
11
+ }>>>, {
12
+ title: string;
13
+ }, {}>, Readonly<{
14
+ default(): any;
15
+ header(): any;
16
+ }> & {
22
17
  default(): any;
23
18
  header(): any;
24
19
  }>;
25
20
  export default _default;
21
+ type __VLS_WithDefaults<P, D> = {
22
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
23
+ default: D[K];
24
+ }> : P[K];
25
+ };
26
+ type __VLS_Prettify<T> = {
27
+ [K in keyof T]: T[K];
28
+ } & {};
26
29
  type __VLS_WithTemplateSlots<T, S> = T & {
27
30
  new (): {
28
31
  $slots: S;
29
32
  };
30
33
  };
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToOption<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: import('vue').PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
@@ -1,56 +1,55 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- open: {
3
- type: import("vue").PropType<boolean>;
4
- required: true;
5
- };
6
- title: {
7
- type: import("vue").PropType<string>;
8
- default: string;
9
- };
10
- disabled: {
11
- type: import("vue").PropType<boolean>;
12
- default: boolean;
13
- };
14
- colour: {
15
- type: import("vue").PropType<"default" | "primary" | "secondary" | "danger" | "blue">;
16
- default: string;
17
- };
18
- layout: {
19
- type: import("vue").PropType<"horizontal" | "vertical">;
20
- default: string;
21
- };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
- open: {
24
- type: import("vue").PropType<boolean>;
25
- required: true;
26
- };
27
- title: {
28
- type: import("vue").PropType<string>;
29
- default: string;
30
- };
31
- disabled: {
32
- type: import("vue").PropType<boolean>;
33
- default: boolean;
34
- };
35
- colour: {
36
- type: import("vue").PropType<"default" | "primary" | "secondary" | "danger" | "blue">;
37
- default: string;
38
- };
39
- layout: {
40
- type: import("vue").PropType<"horizontal" | "vertical">;
41
- default: string;
42
- };
43
- }>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
+ open: boolean;
3
+ title?: string | undefined;
4
+ disabled?: boolean | undefined;
5
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
6
+ layout?: "horizontal" | "vertical" | undefined;
7
+ }>, {
8
+ title: string;
9
+ disabled: boolean;
10
+ colour: string;
11
+ layout: string;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
13
+ open: boolean;
14
+ title?: string | undefined;
15
+ disabled?: boolean | undefined;
16
+ colour?: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
17
+ layout?: "horizontal" | "vertical" | undefined;
18
+ }>, {
19
+ title: string;
20
+ disabled: boolean;
21
+ colour: string;
22
+ layout: string;
23
+ }>>>, {
44
24
  title: string;
45
25
  disabled: boolean;
46
26
  colour: "default" | "primary" | "secondary" | "danger" | "blue";
47
27
  layout: "horizontal" | "vertical";
48
- }, {}>, {
28
+ }, {}>, Readonly<{
29
+ default(): any;
30
+ }> & {
49
31
  default(): any;
50
32
  }>;
51
33
  export default _default;
34
+ type __VLS_WithDefaults<P, D> = {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
+ default: D[K];
37
+ }> : P[K];
38
+ };
39
+ type __VLS_Prettify<T> = {
40
+ [K in keyof T]: T[K];
41
+ } & {};
52
42
  type __VLS_WithTemplateSlots<T, S> = T & {
53
43
  new (): {
54
44
  $slots: S;
55
45
  };
56
46
  };
47
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
+ type __VLS_TypePropsToOption<T> = {
49
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
50
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
+ } : {
52
+ type: import('vue').PropType<T[K]>;
53
+ required: true;
54
+ };
55
+ };