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

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 (39) hide show
  1. package/dist/components/JoyButton/JoyButton.types.d.ts +3 -3
  2. package/dist/components/JoyButton/JoyButton.vue.d.ts +6 -6
  3. package/dist/components/JoyCheckbox/JoyCheckbox.vue.d.ts +91 -0
  4. package/dist/components/JoyCheckbox/tests/JoyCheckbox.spec.d.ts +1 -0
  5. package/dist/components/JoyFormError/JoyFormError.vue.d.ts +23 -0
  6. package/dist/components/JoyFormError/tests/JoyFormError.spec.d.ts +1 -0
  7. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +3 -0
  8. package/dist/components/JoyHighlight/JoyHighlight.vue.d.ts +48 -0
  9. package/dist/components/JoyHighlight/tests/JoyHighlight.spec.d.ts +1 -0
  10. package/dist/components/JoyInput/JoyInput.types.d.ts +3 -0
  11. package/dist/components/JoyInput/JoyInput.vue.d.ts +54 -33
  12. package/dist/components/JoyLabel/JoyLabel.vue.d.ts +1 -1
  13. package/dist/components/JoyRadio/JoyRadio.types.d.ts +2 -0
  14. package/dist/components/JoyRadio/JoyRadio.vue.d.ts +37 -13
  15. package/dist/components/JoyRadioGroup/JoyRadioGroup.vue.d.ts +0 -15
  16. package/dist/components/JoySelect/JoySelect.vue.d.ts +30 -43
  17. package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +2 -0
  18. package/dist/components/JoyTextarea/JoyTextarea.vue.d.ts +111 -0
  19. package/dist/components/JoyToggle/JoyToggle.vue.d.ts +73 -0
  20. package/dist/components/JoyToggle/tests/JoyToggle.spec.d.ts +1 -0
  21. package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +8 -0
  22. package/dist/components/JoyWrapper/JoyWrapper.vue.d.ts +9 -9
  23. package/dist/components/index.d.ts +6 -1
  24. package/dist/composables/index.d.ts +1 -0
  25. package/dist/composables/props.d.ts +67 -0
  26. package/dist/helpers/index.d.ts +2 -0
  27. package/dist/joy-vue.js +618 -321
  28. package/dist/joy-vue.umd.cjs +1 -1
  29. package/dist/stories/fixtures/index.d.ts +1 -0
  30. package/dist/style.css +1 -1
  31. package/dist/tests/composables/prop.spec.d.ts +1 -0
  32. package/dist/tests/composables/test-components/CheckboxFormProps.vue.d.ts +62 -0
  33. package/dist/tests/composables/test-components/GenericFormProps.vue.d.ts +44 -0
  34. package/dist/tests/composables/test-components/GenericFormPropsWithLabel.vue.d.ts +66 -0
  35. package/dist/tests/helpers.spec.d.ts +1 -0
  36. package/dist/types/index.d.ts +1 -0
  37. package/joy-components.d.ts +15 -10
  38. package/package.json +69 -50
  39. package/dist/components/JoySelect/JoySelect.types.d.ts +0 -2
@@ -1,11 +1,11 @@
1
1
  import { GENERIC_VARIANTS, SIZES } from '@/types';
2
2
  /** BUTTON VARIANTS/COLORS */
3
- declare const BUTTONS_SPECIFIC_VARIANTS: readonly ["main", "admin", "white", "ghost"];
3
+ declare const BUTTONS_SPECIFIC_VARIANTS: readonly ["main", "admin", "ghost"];
4
4
  export declare const BUTTON_VARIANTS: ((typeof GENERIC_VARIANTS)[number] | (typeof BUTTONS_SPECIFIC_VARIANTS)[number])[];
5
5
  export type ButtonVariants = (typeof BUTTON_VARIANTS)[number];
6
6
  /** BUTTON SIZES */
7
- export declare const BUTTON_SIZES: readonly ["xlarge", "large", "medium", "small", "xsmall", "xxsmall"];
8
- export type ButtonSizes = (typeof BUTTON_SIZES)[number];
7
+ export type ButtonSizes = Exclude<(typeof SIZES)[number], 'xlarge'>;
8
+ export declare const BUTTON_SIZES: ButtonSizes[];
9
9
  /** BUTTON ICON SIZES */
10
10
  type ButtonSpecificIconsSizes = Exclude<(typeof SIZES)[number], 'xlarge' | 'large' | 'medium'>;
11
11
  export declare const ICON_SIZES: ButtonSpecificIconsSizes[];
@@ -18,13 +18,13 @@ 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" | "primary" | "admin" | "ghost">;
22
22
  default: string;
23
23
  validator(variant: ButtonVariants): boolean;
24
24
  };
25
25
  /** Button or Link size */
26
26
  size: {
27
- type: PropType<"small" | "xlarge" | "large" | "medium" | "xsmall" | "xxsmall">;
27
+ type: PropType<ButtonSizes>;
28
28
  default: string;
29
29
  validator(variant: ButtonSizes): boolean;
30
30
  };
@@ -52,13 +52,13 @@ 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" | "primary" | "admin" | "ghost">;
56
56
  default: string;
57
57
  validator(variant: ButtonVariants): boolean;
58
58
  };
59
59
  /** Button or Link size */
60
60
  size: {
61
- type: PropType<"small" | "xlarge" | "large" | "medium" | "xsmall" | "xxsmall">;
61
+ type: PropType<ButtonSizes>;
62
62
  default: string;
63
63
  validator(variant: ButtonSizes): boolean;
64
64
  };
@@ -71,8 +71,8 @@ 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";
75
- size: "small" | "xlarge" | "large" | "medium" | "xsmall" | "xxsmall";
74
+ variant: "main" | "secondary" | "primary" | "admin" | "ghost";
75
+ size: ButtonSizes;
76
76
  iconSize: "small" | "xsmall" | "xxsmall";
77
77
  }>, {
78
78
  default: (_: {}) => any;
@@ -0,0 +1,91 @@
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
+ label: {
34
+ type: StringConstructor;
35
+ };
36
+ }, {
37
+ isIndeterminate: import("vue").Ref<boolean>;
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
+ disabled: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ id: {
44
+ type: StringConstructor;
45
+ }; /** 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 */
46
+ invalid: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ name: {
51
+ type: StringConstructor;
52
+ };
53
+ required: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ modelValue: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ value: {
62
+ type: StringConstructor;
63
+ default: string;
64
+ };
65
+ /** 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 */
66
+ indeterminate: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ label: {
71
+ type: StringConstructor;
72
+ };
73
+ }>> & {
74
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
75
+ }, {
76
+ disabled: boolean;
77
+ indeterminate: boolean;
78
+ invalid: boolean;
79
+ required: boolean;
80
+ modelValue: boolean;
81
+ value: string;
82
+ }>, {
83
+ default: (_: {}) => any;
84
+ 'checkbox-content': (_: {}) => any;
85
+ }>;
86
+ export default _default;
87
+ type __VLS_WithTemplateSlots<T, S> = T & {
88
+ new (): {
89
+ $slots: S;
90
+ };
91
+ };
@@ -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
+ };
@@ -0,0 +1,3 @@
1
+ import { SIZES } from '@/types';
2
+ export type InputSizes = Extract<(typeof SIZES)[number], 'small' | 'medium' | 'large'>;
3
+ export declare const INPUT_SIZES: InputSizes[];
@@ -1,84 +1,105 @@
1
1
  import { PropType } from 'vue';
2
+ import { InputSizes } from './JoyInput.types';
2
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
4
  clearable: {
4
5
  type: BooleanConstructor;
5
6
  default: boolean;
6
7
  };
7
8
  icon: StringConstructor;
8
- invalid: {
9
- type: BooleanConstructor;
10
- default: boolean;
9
+ size: {
10
+ type: PropType<InputSizes>;
11
+ default: string;
12
+ validator(size: InputSizes): boolean;
11
13
  };
12
- labelSize: PropType<"small" | "large" | "medium">;
14
+ type: StringConstructor;
15
+ unit: StringConstructor;
13
16
  modelValue: {
14
17
  type: StringConstructor;
15
18
  default: string;
16
19
  };
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;
20
+ label: StringConstructor;
21
+ labelSize: {
22
+ type: PropType<"small" | "large" | "medium">;
23
+ default: string;
22
24
  };
23
25
  optionalLabel: StringConstructor;
24
- required: {
26
+ requiredMark: {
25
27
  type: BooleanConstructor;
26
28
  default: boolean;
27
29
  };
28
- requiredMark: {
30
+ disabled: {
29
31
  type: BooleanConstructor;
30
32
  default: boolean;
31
33
  };
32
- size: {
34
+ id: {
33
35
  type: StringConstructor;
34
- default: string;
35
36
  };
36
- type: StringConstructor;
37
- unit: StringConstructor;
37
+ invalid: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ name: {
42
+ type: StringConstructor;
43
+ };
44
+ required: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
38
48
  }, {}, 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
49
  clearable: {
40
50
  type: BooleanConstructor;
41
51
  default: boolean;
42
52
  };
43
53
  icon: StringConstructor;
44
- invalid: {
45
- type: BooleanConstructor;
46
- default: boolean;
54
+ size: {
55
+ type: PropType<InputSizes>;
56
+ default: string;
57
+ validator(size: InputSizes): boolean;
47
58
  };
48
- labelSize: PropType<"small" | "large" | "medium">;
59
+ type: StringConstructor;
60
+ unit: StringConstructor;
49
61
  modelValue: {
50
62
  type: StringConstructor;
51
63
  default: string;
52
64
  };
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
- name: {
57
- type: StringConstructor;
65
+ label: StringConstructor;
66
+ labelSize: {
67
+ type: PropType<"small" | "large" | "medium">;
68
+ default: string;
58
69
  };
59
70
  optionalLabel: StringConstructor;
60
- required: {
71
+ requiredMark: {
61
72
  type: BooleanConstructor;
62
73
  default: boolean;
63
74
  };
64
- requiredMark: {
75
+ disabled: {
65
76
  type: BooleanConstructor;
66
77
  default: boolean;
67
78
  };
68
- size: {
79
+ id: {
69
80
  type: StringConstructor;
70
- default: string;
71
81
  };
72
- type: StringConstructor;
73
- unit: StringConstructor;
82
+ invalid: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ name: {
87
+ type: StringConstructor;
88
+ };
89
+ required: {
90
+ type: BooleanConstructor;
91
+ default: boolean;
92
+ };
74
93
  }>> & {
75
94
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
76
95
  }, {
77
- size: string;
78
- required: boolean;
79
- clearable: boolean;
96
+ size: InputSizes;
97
+ disabled: boolean;
80
98
  invalid: boolean;
99
+ required: boolean;
81
100
  modelValue: string;
101
+ clearable: boolean;
102
+ labelSize: "small" | "large" | "medium";
82
103
  requiredMark: boolean;
83
104
  }>, {
84
105
  default: (_: {}) => any;
@@ -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
  }>;
@@ -0,0 +1,2 @@
1
+ export declare const RADIO_THEMES: readonly ["default", "outline"];
2
+ export type RadioThemes = (typeof RADIO_THEMES)[number];
@@ -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;
@@ -7,16 +7,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
7
  form: {
8
8
  type: StringConstructor;
9
9
  };
10
- modelValue: {
11
- type: StringConstructor;
12
- };
13
10
  name: {
14
11
  type: StringConstructor;
15
12
  };
16
- invalid: BooleanConstructor;
17
- invalidText: {
18
- type: StringConstructor;
19
- };
20
13
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
14
  direction: {
22
15
  type: PropType<"vertical" | "horizontal">;
@@ -25,18 +18,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
18
  form: {
26
19
  type: StringConstructor;
27
20
  };
28
- modelValue: {
29
- type: StringConstructor;
30
- };
31
21
  name: {
32
22
  type: StringConstructor;
33
23
  };
34
- invalid: BooleanConstructor;
35
- invalidText: {
36
- type: StringConstructor;
37
- };
38
24
  }>>, {
39
- invalid: boolean;
40
25
  direction: "vertical" | "horizontal";
41
26
  }>, {
42
27
  'radio-group-legend': (_: {}) => any;
@@ -1,91 +1,78 @@
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
+ label: StringConstructor;
7
+ labelSize: {
8
+ type: import("vue").PropType<"small" | "large" | "medium">;
9
+ default: string;
10
+ };
11
+ optionalLabel: StringConstructor;
12
+ requiredMark: {
5
13
  type: BooleanConstructor;
6
14
  default: boolean;
7
15
  };
8
- invalid: {
16
+ disabled: {
9
17
  type: BooleanConstructor;
10
18
  default: boolean;
11
19
  };
12
20
  id: {
13
21
  type: StringConstructor;
14
22
  };
15
- label: {
23
+ invalid: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ name: {
16
28
  type: StringConstructor;
17
29
  };
18
- labelSize: {
19
- type: PropType<LabelSizes>;
20
- default: string;
30
+ required: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
21
33
  };
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<{
22
35
  modelValue: {
23
36
  type: StringConstructor;
24
37
  default: string;
25
38
  };
26
- name: {
27
- type: StringConstructor;
39
+ label: StringConstructor;
40
+ labelSize: {
41
+ type: import("vue").PropType<"small" | "large" | "medium">;
28
42
  default: string;
29
43
  };
30
- optionalLabel: {
31
- type: StringConstructor;
32
- };
33
- required: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
44
+ optionalLabel: StringConstructor;
37
45
  requiredMark: {
38
46
  type: BooleanConstructor;
39
47
  default: boolean;
40
48
  };
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
49
  disabled: {
43
50
  type: BooleanConstructor;
44
51
  default: boolean;
45
52
  };
46
- invalid: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
53
  id: {
51
54
  type: StringConstructor;
52
55
  };
53
- label: {
54
- type: StringConstructor;
55
- };
56
- labelSize: {
57
- type: PropType<LabelSizes>;
58
- default: string;
59
- };
60
- modelValue: {
61
- type: StringConstructor;
62
- default: string;
56
+ invalid: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
63
59
  };
64
60
  name: {
65
61
  type: StringConstructor;
66
- default: string;
67
- };
68
- optionalLabel: {
69
- type: StringConstructor;
70
62
  };
71
63
  required: {
72
64
  type: BooleanConstructor;
73
65
  default: boolean;
74
66
  };
75
- requiredMark: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
67
  }>> & {
80
68
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
81
69
  }, {
82
70
  disabled: boolean;
83
- required: boolean;
84
71
  invalid: boolean;
72
+ required: boolean;
85
73
  modelValue: string;
86
- name: string;
74
+ labelSize: "small" | "large" | "medium";
87
75
  requiredMark: boolean;
88
- labelSize: LabelSizes;
89
76
  }>, {
90
77
  label: (_: {}) => any;
91
78
  default: (_: {}) => any;
@@ -0,0 +1,2 @@
1
+ export declare const TEMPLATE_SIDEBAR: readonly ["left", "right"];
2
+ export type TemplateSidebar = (typeof TEMPLATE_SIDEBAR)[number];