@maltjoy/core-vue 1.0.0-alpha.3 → 1.0.0-alpha.4

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 (31) hide show
  1. package/dist/components/JoyButton/JoyButton.vue.d.ts +3 -3
  2. package/dist/components/JoyCheckbox/JoyCheckbox.vue.d.ts +85 -0
  3. package/dist/components/JoyCheckbox/tests/JoyCheckbox.spec.d.ts +1 -0
  4. package/dist/components/JoyFormError/JoyFormError.vue.d.ts +23 -0
  5. package/dist/components/JoyFormError/tests/JoyFormError.spec.d.ts +1 -0
  6. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +3 -0
  7. package/dist/components/JoyHighlight/JoyHighlight.vue.d.ts +48 -0
  8. package/dist/components/JoyHighlight/tests/JoyHighlight.spec.d.ts +1 -0
  9. package/dist/components/JoyInput/JoyInput.vue.d.ts +47 -30
  10. package/dist/components/JoyLabel/JoyLabel.vue.d.ts +1 -1
  11. package/dist/components/JoyRadio/JoyRadio.vue.d.ts +37 -13
  12. package/dist/components/JoySelect/JoySelect.vue.d.ts +33 -42
  13. package/dist/components/JoyToggle/JoyToggle.vue.d.ts +71 -0
  14. package/dist/components/JoyToggle/tests/JoyToggle.spec.d.ts +1 -0
  15. package/dist/components/JoyWrapper/JoyWrapper.vue.d.ts +9 -9
  16. package/dist/components/index.d.ts +5 -1
  17. package/dist/composables/index.d.ts +1 -0
  18. package/dist/composables/props.d.ts +56 -0
  19. package/dist/helpers/index.d.ts +2 -0
  20. package/dist/joy-vue.js +470 -284
  21. package/dist/joy-vue.umd.cjs +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/tests/composables/prop.spec.d.ts +1 -0
  24. package/dist/tests/composables/test-components/CheckboxFormProps.vue.d.ts +62 -0
  25. package/dist/tests/composables/test-components/GenericFormProps.vue.d.ts +44 -0
  26. package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +55 -0
  27. package/dist/tests/helpers.spec.d.ts +1 -0
  28. package/dist/types/index.d.ts +1 -0
  29. package/joy-components.d.ts +15 -10
  30. package/package.json +1 -1
  31. package/dist/components/JoySelect/JoySelect.types.d.ts +0 -2
@@ -18,7 +18,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  };
19
19
  /** Button or Link color variant */
20
20
  variant: {
21
- type: PropType<"white" | "main" | "primary" | "secondary" | "admin" | "ghost">;
21
+ type: PropType<"main" | "secondary" | "white" | "primary" | "admin" | "ghost">;
22
22
  default: string;
23
23
  validator(variant: ButtonVariants): boolean;
24
24
  };
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
52
52
  };
53
53
  /** Button or Link color variant */
54
54
  variant: {
55
- type: PropType<"white" | "main" | "primary" | "secondary" | "admin" | "ghost">;
55
+ type: PropType<"main" | "secondary" | "white" | "primary" | "admin" | "ghost">;
56
56
  default: string;
57
57
  validator(variant: ButtonVariants): boolean;
58
58
  };
@@ -71,7 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
71
71
  }>>, {
72
72
  circle: boolean;
73
73
  loading: boolean;
74
- variant: "white" | "main" | "primary" | "secondary" | "admin" | "ghost";
74
+ variant: "main" | "secondary" | "white" | "primary" | "admin" | "ghost";
75
75
  size: "small" | "xlarge" | "large" | "medium" | "xsmall" | "xxsmall";
76
76
  iconSize: "small" | "xsmall" | "xxsmall";
77
77
  }>, {
@@ -0,0 +1,85 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ disabled: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ id: {
7
+ type: StringConstructor;
8
+ }; /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
9
+ invalid: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ name: {
14
+ type: StringConstructor;
15
+ };
16
+ required: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ modelValue: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ value: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
29
+ indeterminate: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ }, {
34
+ isIndeterminate: import("vue").Ref<boolean>;
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ disabled: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ id: {
41
+ type: StringConstructor;
42
+ }; /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
43
+ invalid: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ name: {
48
+ type: StringConstructor;
49
+ };
50
+ required: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ modelValue: {
55
+ type: BooleanConstructor;
56
+ default: boolean;
57
+ };
58
+ value: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ /** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
63
+ indeterminate: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ }>> & {
68
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
+ }, {
70
+ disabled: boolean;
71
+ indeterminate: boolean;
72
+ invalid: boolean;
73
+ required: boolean;
74
+ modelValue: boolean;
75
+ value: string;
76
+ }>, {
77
+ default: (_: {}) => any;
78
+ 'checkbox-content': (_: {}) => any;
79
+ }>;
80
+ export default _default;
81
+ type __VLS_WithTemplateSlots<T, S> = T & {
82
+ new (): {
83
+ $slots: S;
84
+ };
85
+ };
@@ -0,0 +1,23 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ visible: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ noHtmlErrorText: StringConstructor;
7
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ visible: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ noHtmlErrorText: StringConstructor;
13
+ }>>, {
14
+ visible: boolean;
15
+ }>, {
16
+ default: (_: {}) => any;
17
+ }>;
18
+ export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,3 @@
1
+ import { LEVELS } from '@/types';
2
+ export type HighlightLevels = (typeof LEVELS)[number];
3
+ export declare const HIGHLIGHT_LEVELS: ("error" | "neutral" | "success" | "info" | "warning")[];
@@ -0,0 +1,48 @@
1
+ import { PropType } from 'vue';
2
+ import { HighlightLevels } from './JoyHighlight.types';
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
+ accent: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ displayIcon: {
9
+ type: BooleanConstructor;
10
+ default: boolean;
11
+ };
12
+ icon: StringConstructor;
13
+ level: {
14
+ type: PropType<"error" | "neutral" | "success" | "info" | "warning">;
15
+ default: string;
16
+ validator(level: HighlightLevels): boolean;
17
+ };
18
+ }, {
19
+ getRelevantIcon: import("vue").ComputedRef<string>;
20
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ accent: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ displayIcon: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ icon: StringConstructor;
30
+ level: {
31
+ type: PropType<"error" | "neutral" | "success" | "info" | "warning">;
32
+ default: string;
33
+ validator(level: HighlightLevels): boolean;
34
+ };
35
+ }>>, {
36
+ accent: boolean;
37
+ displayIcon: boolean;
38
+ level: "error" | "neutral" | "success" | "info" | "warning";
39
+ }>, {
40
+ 'highlight-title': (_: {}) => any;
41
+ default: (_: {}) => any;
42
+ }>;
43
+ export default _default;
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -1,30 +1,14 @@
1
- import { PropType } from 'vue';
2
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
2
  clearable: {
4
3
  type: BooleanConstructor;
5
4
  default: boolean;
6
5
  };
7
6
  icon: StringConstructor;
8
- invalid: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- labelSize: PropType<"small" | "large" | "medium">;
13
7
  modelValue: {
14
8
  type: StringConstructor;
15
9
  default: string;
16
10
  };
17
- /**
18
- * For accessibility purpose, the name is required. it will be mapped to the input ID, and the label "for" attribute as well.
19
- */
20
- name: {
21
- type: StringConstructor;
22
- };
23
11
  optionalLabel: StringConstructor;
24
- required: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
12
  requiredMark: {
29
13
  type: BooleanConstructor;
30
14
  default: boolean;
@@ -35,32 +19,40 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
35
19
  };
36
20
  type: StringConstructor;
37
21
  unit: StringConstructor;
38
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
- clearable: {
22
+ label: StringConstructor;
23
+ labelSize: {
24
+ type: import("vue").PropType<"small" | "large" | "medium">;
25
+ default: string;
26
+ };
27
+ disabled: {
40
28
  type: BooleanConstructor;
41
29
  default: boolean;
42
30
  };
43
- icon: StringConstructor;
31
+ id: {
32
+ type: StringConstructor;
33
+ };
44
34
  invalid: {
45
35
  type: BooleanConstructor;
46
36
  default: boolean;
47
37
  };
48
- labelSize: PropType<"small" | "large" | "medium">;
49
- modelValue: {
50
- type: StringConstructor;
51
- default: string;
52
- };
53
- /**
54
- * For accessibility purpose, the name is required. it will be mapped to the input ID, and the label "for" attribute as well.
55
- */
56
38
  name: {
57
39
  type: StringConstructor;
58
40
  };
59
- optionalLabel: StringConstructor;
60
41
  required: {
61
42
  type: BooleanConstructor;
62
43
  default: boolean;
63
44
  };
45
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
46
+ clearable: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ icon: StringConstructor;
51
+ modelValue: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ optionalLabel: StringConstructor;
64
56
  requiredMark: {
65
57
  type: BooleanConstructor;
66
58
  default: boolean;
@@ -71,15 +63,40 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
71
63
  };
72
64
  type: StringConstructor;
73
65
  unit: StringConstructor;
66
+ label: StringConstructor;
67
+ labelSize: {
68
+ type: import("vue").PropType<"small" | "large" | "medium">;
69
+ default: string;
70
+ };
71
+ disabled: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ id: {
76
+ type: StringConstructor;
77
+ };
78
+ invalid: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ name: {
83
+ type: StringConstructor;
84
+ };
85
+ required: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
74
89
  }>> & {
75
90
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76
91
  }, {
77
92
  size: string;
78
- required: boolean;
79
- clearable: boolean;
93
+ disabled: boolean;
80
94
  invalid: boolean;
95
+ required: boolean;
81
96
  modelValue: string;
97
+ clearable: boolean;
82
98
  requiredMark: boolean;
99
+ labelSize: "small" | "large" | "medium";
83
100
  }>, {
84
101
  default: (_: {}) => any;
85
102
  }>;
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
36
  };
37
37
  }>>, {
38
38
  size: "small" | "large" | "medium";
39
- tagName: "label" | "legend";
40
39
  required: boolean;
40
+ tagName: "label" | "legend";
41
41
  }>, {
42
42
  default: (_: {}) => any;
43
43
  }>;
@@ -1,14 +1,8 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
- disabled: BooleanConstructor;
4
- invalid: BooleanConstructor;
5
3
  modelValue: {
6
4
  type: StringConstructor;
7
5
  };
8
- name: {
9
- type: StringConstructor;
10
- };
11
- required: BooleanConstructor;
12
6
  theme: {
13
7
  type: PropType<"default" | "outline">;
14
8
  default: string;
@@ -16,19 +10,31 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
10
  value: {
17
11
  type: StringConstructor;
18
12
  };
13
+ disabled: {
14
+ type: BooleanConstructor;
15
+ default: boolean;
16
+ };
17
+ id: {
18
+ type: StringConstructor;
19
+ };
20
+ invalid: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ name: {
25
+ type: StringConstructor;
26
+ };
27
+ required: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
19
31
  }, {
20
32
  checked: import("vue").ComputedRef<boolean>;
21
33
  isExpanded: import("vue").Ref<boolean>;
22
34
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
- disabled: BooleanConstructor;
24
- invalid: BooleanConstructor;
25
35
  modelValue: {
26
36
  type: StringConstructor;
27
37
  };
28
- name: {
29
- type: StringConstructor;
30
- };
31
- required: BooleanConstructor;
32
38
  theme: {
33
39
  type: PropType<"default" | "outline">;
34
40
  default: string;
@@ -36,12 +42,30 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
42
  value: {
37
43
  type: StringConstructor;
38
44
  };
45
+ disabled: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ id: {
50
+ type: StringConstructor;
51
+ };
52
+ invalid: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ name: {
57
+ type: StringConstructor;
58
+ };
59
+ required: {
60
+ type: BooleanConstructor;
61
+ default: boolean;
62
+ };
39
63
  }>> & {
40
64
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
41
65
  }, {
42
66
  disabled: boolean;
43
- required: boolean;
44
67
  invalid: boolean;
68
+ required: boolean;
45
69
  theme: "default" | "outline";
46
70
  }>, {
47
71
  default: (_: {}) => any;
@@ -1,91 +1,82 @@
1
- import { PropType } from 'vue';
2
- import { LabelSizes } from './JoySelect.types';
3
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
- disabled: {
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ optionalLabel: {
7
+ type: StringConstructor;
8
+ };
9
+ requiredMark: {
5
10
  type: BooleanConstructor;
6
11
  default: boolean;
7
12
  };
8
- invalid: {
13
+ label: StringConstructor;
14
+ labelSize: {
15
+ type: import("vue").PropType<"small" | "large" | "medium">;
16
+ default: string;
17
+ };
18
+ disabled: {
9
19
  type: BooleanConstructor;
10
20
  default: boolean;
11
21
  };
12
22
  id: {
13
23
  type: StringConstructor;
14
24
  };
15
- label: {
25
+ invalid: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ name: {
16
30
  type: StringConstructor;
17
31
  };
18
- labelSize: {
19
- type: PropType<LabelSizes>;
20
- default: string;
32
+ required: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
21
35
  };
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
37
  modelValue: {
23
38
  type: StringConstructor;
24
39
  default: string;
25
40
  };
26
- name: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
41
  optionalLabel: {
31
42
  type: StringConstructor;
32
43
  };
33
- required: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
44
  requiredMark: {
38
45
  type: BooleanConstructor;
39
46
  default: boolean;
40
47
  };
41
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
- disabled: {
43
- type: BooleanConstructor;
44
- default: boolean;
48
+ label: StringConstructor;
49
+ labelSize: {
50
+ type: import("vue").PropType<"small" | "large" | "medium">;
51
+ default: string;
45
52
  };
46
- invalid: {
53
+ disabled: {
47
54
  type: BooleanConstructor;
48
55
  default: boolean;
49
56
  };
50
57
  id: {
51
58
  type: StringConstructor;
52
59
  };
53
- label: {
54
- type: StringConstructor;
55
- };
56
- labelSize: {
57
- type: PropType<LabelSizes>;
58
- default: string;
59
- };
60
- modelValue: {
61
- type: StringConstructor;
62
- default: string;
60
+ invalid: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
63
  };
64
64
  name: {
65
65
  type: StringConstructor;
66
- default: string;
67
- };
68
- optionalLabel: {
69
- type: StringConstructor;
70
66
  };
71
67
  required: {
72
68
  type: BooleanConstructor;
73
69
  default: boolean;
74
70
  };
75
- requiredMark: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
71
  }>> & {
80
72
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
73
  }, {
82
74
  disabled: boolean;
83
- required: boolean;
84
75
  invalid: boolean;
76
+ required: boolean;
85
77
  modelValue: string;
86
- name: string;
87
78
  requiredMark: boolean;
88
- labelSize: LabelSizes;
79
+ labelSize: "small" | "large" | "medium";
89
80
  }>, {
90
81
  label: (_: {}) => any;
91
82
  default: (_: {}) => any;
@@ -0,0 +1,71 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ disabled: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ id: {
7
+ type: StringConstructor;
8
+ };
9
+ invalid: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ name: {
14
+ type: StringConstructor;
15
+ };
16
+ required: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
20
+ modelValue: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ value: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ id: {
34
+ type: StringConstructor;
35
+ };
36
+ invalid: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ name: {
41
+ type: StringConstructor;
42
+ };
43
+ required: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ modelValue: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ value: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ }>> & {
56
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
+ }, {
58
+ disabled: boolean;
59
+ invalid: boolean;
60
+ required: boolean;
61
+ modelValue: boolean;
62
+ value: string;
63
+ }>, {
64
+ default: (_: {}) => any;
65
+ }>;
66
+ export default _default;
67
+ type __VLS_WithTemplateSlots<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
@@ -1,15 +1,15 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
3
  justify: {
4
- type: PropType<"center" | "space-between" | "flex-start" | "flex-end">;
4
+ type: PropType<"flex-start" | "flex-end" | "center" | "space-between">;
5
5
  default: string;
6
6
  };
7
7
  align: {
8
- type: PropType<"center" | "flex-start" | "flex-end" | "stretch">;
8
+ type: PropType<"stretch" | "flex-start" | "flex-end" | "center">;
9
9
  default: string;
10
10
  };
11
11
  direction: {
12
- type: PropType<"row" | "column">;
12
+ type: PropType<"column" | "row">;
13
13
  default: string;
14
14
  };
15
15
  wrap: {
@@ -18,15 +18,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  };
19
19
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
20
  justify: {
21
- type: PropType<"center" | "space-between" | "flex-start" | "flex-end">;
21
+ type: PropType<"flex-start" | "flex-end" | "center" | "space-between">;
22
22
  default: string;
23
23
  };
24
24
  align: {
25
- type: PropType<"center" | "flex-start" | "flex-end" | "stretch">;
25
+ type: PropType<"stretch" | "flex-start" | "flex-end" | "center">;
26
26
  default: string;
27
27
  };
28
28
  direction: {
29
- type: PropType<"row" | "column">;
29
+ type: PropType<"column" | "row">;
30
30
  default: string;
31
31
  };
32
32
  wrap: {
@@ -34,10 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
34
  default: string;
35
35
  };
36
36
  }>>, {
37
- direction: "row" | "column";
37
+ direction: "column" | "row";
38
38
  wrap: "nowrap" | "wrap";
39
- justify: "center" | "space-between" | "flex-start" | "flex-end";
40
- align: "center" | "flex-start" | "flex-end" | "stretch";
39
+ justify: "flex-start" | "flex-end" | "center" | "space-between";
40
+ align: "stretch" | "flex-start" | "flex-end" | "center";
41
41
  }>, {
42
42
  default: (_: {}) => any;
43
43
  }>;