@maltjoy/core-vue 3.6.1 → 3.6.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 maltcommunity / apps
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -97,10 +97,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
97
97
  onBlur?: (() => any) | undefined;
98
98
  "onUpdate:checked"?: ((value: boolean) => any) | undefined;
99
99
  }, {
100
+ disabled: boolean;
100
101
  value: string;
101
102
  checked: boolean;
102
103
  required: boolean;
103
- disabled: boolean;
104
104
  indeterminate: boolean;
105
105
  displayFocus: boolean;
106
106
  }>, {
@@ -192,8 +192,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
192
192
  }>> & {
193
193
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
194
194
  }, {
195
- required: boolean;
196
195
  disabled: boolean;
196
+ required: boolean;
197
197
  modelValue: number;
198
198
  min: number;
199
199
  step: number;
@@ -113,9 +113,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
113
113
  }>> & {
114
114
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
115
115
  }, {
116
+ disabled: boolean;
116
117
  size: InputSizes;
117
118
  required: boolean;
118
- disabled: boolean;
119
119
  invalid: boolean;
120
120
  labelSize: "small" | "medium" | "large";
121
121
  requiredMark: boolean;
@@ -67,8 +67,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
67
67
  }>> & {
68
68
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
69
69
  }, {
70
- required: boolean;
71
70
  disabled: boolean;
71
+ required: boolean;
72
72
  invalid: boolean;
73
73
  theme: "default" | "outline";
74
74
  }>, {
@@ -1,9 +1,15 @@
1
1
  import { PropType } from 'vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ /**
4
+ * Change the layout
5
+ */
3
6
  direction: {
4
7
  type: PropType<"vertical" | "horizontal">;
5
8
  default: string;
6
9
  };
10
+ /**
11
+ * Applied to the generated fieldset. Can bind a form ID to your component if you can't include it into the form itself.
12
+ */
7
13
  form: {
8
14
  type: StringConstructor;
9
15
  };
@@ -11,10 +17,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
17
  type: StringConstructor;
12
18
  };
13
19
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ /**
21
+ * Change the layout
22
+ */
14
23
  direction: {
15
24
  type: PropType<"vertical" | "horizontal">;
16
25
  default: string;
17
26
  };
27
+ /**
28
+ * Applied to the generated fieldset. Can bind a form ID to your component if you can't include it into the form itself.
29
+ */
18
30
  form: {
19
31
  type: StringConstructor;
20
32
  };
@@ -70,8 +70,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
70
  }>> & {
71
71
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
72
72
  }, {
73
- required: boolean;
74
73
  disabled: boolean;
74
+ required: boolean;
75
75
  modelValue: string;
76
76
  invalid: boolean;
77
77
  labelSize: "small" | "medium" | "large";
@@ -67,9 +67,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
67
67
  }>> & {
68
68
  "onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
69
69
  }, {
70
+ disabled: boolean;
70
71
  checked: boolean;
71
72
  required: boolean;
72
- disabled: boolean;
73
73
  multiple: boolean;
74
74
  invalid: boolean;
75
75
  }>, {
@@ -8,11 +8,11 @@ export interface Option {
8
8
  /**
9
9
  * @default false
10
10
  */
11
- disabled: boolean;
11
+ disabled?: boolean;
12
12
  /**
13
13
  * @default false
14
14
  */
15
- required: boolean;
15
+ required?: boolean;
16
16
  }
17
17
  declare const _default: import("vue").DefineComponent<{
18
18
  options: {
@@ -96,8 +96,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
96
96
  }>> & {
97
97
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
98
98
  }, {
99
- required: boolean;
100
99
  disabled: boolean;
100
+ required: boolean;
101
101
  modelValue: string;
102
102
  invalid: boolean;
103
103
  labelSize: "small" | "medium" | "large";
@@ -57,9 +57,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
57
57
  }>> & {
58
58
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
59
59
  }, {
60
+ disabled: boolean;
60
61
  value: string;
61
62
  required: boolean;
62
- disabled: boolean;
63
63
  modelValue: boolean;
64
64
  invalid: boolean;
65
65
  }>, {