@nilloq/ouds-web 0.1.6 → 0.1.7
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/README.md +17 -115
- package/dist/{alert-bsnEmrzb.js → alert-B4w3fDHo.js} +2 -2
- package/dist/{alert-By364Om4.js → alert-Chns046l.js} +1 -1
- package/dist/alert.js +1 -1
- package/dist/{badge-fffoaFuZ.js → badge-CDpWg-AO.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/{button-BUziAVbu.js → button-rgIJZsYq.js} +1 -1
- package/dist/button.js +1 -1
- package/dist/checkbox-D7TFFuw3.js +196 -0
- package/dist/checkbox-DfYlHYR2.js +155 -0
- package/dist/checkbox.js +1 -1
- package/dist/chip-B3v4pWZD.js +92 -0
- package/dist/chip-DGfqitrQ.js +115 -0
- package/dist/chip.js +2 -0
- package/dist/{control-item-slots-BNXNsI1e.js → control-item-slots-BDoeNuk4.js} +5 -2
- package/dist/{control-item-slots-XV8Gjvf1.js → control-item-slots-Ddp7c8w8.js} +4 -1
- package/dist/elements-alert.js +1 -1
- package/dist/elements-badge.js +1 -1
- package/dist/elements-button.js +1 -1
- package/dist/elements-checkbox.js +1 -1
- package/dist/elements-chip.js +2 -0
- package/dist/elements-modal.js +1 -1
- package/dist/elements-radio.js +1 -1
- package/dist/elements-select.js +1 -1
- package/dist/elements-switch.js +1 -1
- package/dist/elements-tag.js +1 -1
- package/dist/elements-text-area.js +1 -1
- package/dist/elements-text-input.js +1 -1
- package/dist/elements.js +14 -13
- package/dist/index.js +13 -12
- package/dist/{modal-IEXNB8St.js → modal-BAvMVUIE.js} +2 -2
- package/dist/{modal-CHjaB_yR.js → modal-BnT5Kxjg.js} +1 -1
- package/dist/modal.js +1 -1
- package/dist/radio-CDq4r1_L.js +155 -0
- package/dist/radio-TaYThYkI.js +199 -0
- package/dist/radio.js +1 -1
- package/dist/{runtime-dom.esm-bundler-BeOO_l6v.js → runtime-dom.esm-bundler-DLryEdgJ.js} +1 -1
- package/dist/select--O3jL-En.js +134 -0
- package/dist/select-NiIx8bVD.js +191 -0
- package/dist/select.js +1 -1
- package/dist/switch-BmxLKPbL.js +179 -0
- package/dist/switch-D5N-j5F7.js +140 -0
- package/dist/switch.js +1 -1
- package/dist/{tag-BdB0YDBJ.js → tag-BvOt0v-c.js} +1 -1
- package/dist/tag.js +1 -1
- package/dist/text-area-BdmAyh3N.js +163 -0
- package/dist/text-area-BgYNtAMx.js +107 -0
- package/dist/text-area.js +1 -1
- package/dist/text-input-DgFIuIOA.js +235 -0
- package/dist/text-input-i559HVOP.js +163 -0
- package/dist/text-input.js +1 -1
- package/dist/types/chip.d.ts +1 -0
- package/dist/types/components/alert/Alert.vue.d.ts +3 -3
- package/dist/types/components/badge/Badge.vue.d.ts +1 -1
- package/dist/types/components/button/Button.vue.d.ts +1 -1
- package/dist/types/components/checkbox/Checkbox.vue.d.ts +4 -15
- package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +9 -3
- package/dist/types/components/checkbox/checkbox.types.d.ts +16 -0
- package/dist/types/components/chip/Chip.vue.d.ts +38 -0
- package/dist/types/components/chip/VueChip.vue.d.ts +32 -0
- package/dist/types/components/chip/chip.context.d.ts +2 -0
- package/dist/types/components/chip/chip.types.d.ts +27 -0
- package/dist/types/components/modal/Modal.vue.d.ts +8 -8
- package/dist/types/components/radio/Radio.vue.d.ts +2 -17
- package/dist/types/components/radio/VueRadio.vue.d.ts +8 -6
- package/dist/types/components/radio/radio.types.d.ts +16 -0
- package/dist/types/components/select/Select.vue.d.ts +2 -19
- package/dist/types/components/select/VueSelect.vue.d.ts +9 -3
- package/dist/types/components/select/select.types.d.ts +18 -0
- package/dist/types/components/shared/control-item-slots.d.ts +1 -0
- package/dist/types/components/switch/Switch.vue.d.ts +2 -14
- package/dist/types/components/switch/VueSwitch.vue.d.ts +9 -3
- package/dist/types/components/switch/switch.types.d.ts +13 -0
- package/dist/types/components/tag/Tag.vue.d.ts +1 -1
- package/dist/types/components/text-area/TextArea.vue.d.ts +2 -16
- package/dist/types/components/text-area/VueTextArea.vue.d.ts +9 -3
- package/dist/types/components/text-area/text-area.types.d.ts +15 -0
- package/dist/types/components/text-input/TextInput.vue.d.ts +2 -19
- package/dist/types/components/text-input/VueTextInput.vue.d.ts +9 -3
- package/dist/types/components/text-input/text-input.types.d.ts +25 -0
- package/dist/types/elements/chip.d.ts +4 -0
- package/dist/types/elements/index.d.ts +2 -0
- package/dist/types/vue/checkbox.d.ts +1 -1
- package/dist/types/vue/chip.d.ts +2 -0
- package/dist/types/vue/index.d.ts +8 -6
- package/dist/types/vue/radio.d.ts +1 -1
- package/dist/types/vue/select.d.ts +1 -1
- package/dist/types/vue/switch.d.ts +1 -1
- package/dist/types/vue/text-area.d.ts +1 -1
- package/dist/types/vue/text-input.d.ts +1 -1
- package/dist/vue-alert.js +1 -1
- package/dist/vue-checkbox.js +1 -1
- package/dist/vue-chip.js +2 -0
- package/dist/vue-modal.js +1 -1
- package/dist/vue-radio.js +1 -1
- package/dist/vue-select.js +1 -1
- package/dist/vue-switch.js +1 -1
- package/dist/vue-text-area.js +1 -1
- package/dist/vue-text-input.js +1 -1
- package/dist/vue.js +10 -9
- package/package.json +15 -2
- package/dist/checkbox-PAgQqiIw.js +0 -145
- package/dist/checkbox-g6cqR6wz.js +0 -170
- package/dist/radio-Cmrtred_.js +0 -147
- package/dist/radio-CqVqsZ7n.js +0 -175
- package/dist/select-Bpou1HIY.js +0 -167
- package/dist/select-CWjTpHGb.js +0 -126
- package/dist/switch-CFv0JUeq.js +0 -132
- package/dist/switch-DEYsTCw5.js +0 -157
- package/dist/text-area-DkjEGpHg.js +0 -99
- package/dist/text-area-DqBoz2_d.js +0 -139
- package/dist/text-input-DnWjB1vE.js +0 -207
- package/dist/text-input-DxzwRS2R.js +0 -157
|
@@ -22,11 +22,11 @@ declare const __VLS_template: () => {
|
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
24
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
25
|
-
declare const __VLS_base: import("
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
26
|
dismiss: () => any;
|
|
27
|
-
}, string, import("
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
28
|
onDismiss?: (() => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import("
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const __VLS_template: () => {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
|
-
declare const __VLS_base: import("
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
21
21
|
export default _default;
|
|
@@ -16,7 +16,7 @@ declare const __VLS_template: () => {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
19
|
-
declare const __VLS_base: import("
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
export default _default;
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
type
|
|
2
|
-
label?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
value?: string;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
divider?: boolean;
|
|
9
|
-
indeterminate?: boolean;
|
|
10
|
-
readonly?: boolean;
|
|
11
|
-
invalid?: boolean;
|
|
12
|
-
reverse?: boolean;
|
|
13
|
-
maxWidth?: boolean;
|
|
14
|
-
};
|
|
1
|
+
import type { CheckboxProps } from "./checkbox.types.js";
|
|
15
2
|
declare const __VLS_template: () => {
|
|
16
3
|
__VLS_Slots: {
|
|
17
4
|
label?: (props: {}) => any;
|
|
5
|
+
} & {
|
|
6
|
+
label?: (props: {}) => any;
|
|
18
7
|
} & {
|
|
19
8
|
description?: (props: {}) => any;
|
|
20
9
|
} & {
|
|
@@ -22,7 +11,7 @@ declare const __VLS_template: () => {
|
|
|
22
11
|
};
|
|
23
12
|
};
|
|
24
13
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
25
|
-
declare const __VLS_base: import("
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<CheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CheckboxProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
16
|
declare const _default: typeof __VLS_export;
|
|
28
17
|
export default _default;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from "vue";
|
|
2
|
+
import type { CheckboxProps } from "./checkbox.types.js";
|
|
3
|
+
interface Props extends Omit<InputHTMLAttributes, keyof CheckboxProps>, Omit<CheckboxProps, "checked"> {
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
1
6
|
type __VLS_ModelProps = {
|
|
2
7
|
modelValue?: boolean;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
4
10
|
declare const __VLS_template: () => {
|
|
5
11
|
__VLS_Slots: {
|
|
6
12
|
label?: (props: {}) => any;
|
|
@@ -11,13 +17,13 @@ declare const __VLS_template: () => {
|
|
|
11
17
|
};
|
|
12
18
|
};
|
|
13
19
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
14
|
-
declare const __VLS_base: import("
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
21
|
change: (event: Event) => any;
|
|
16
22
|
"update:modelValue": (value: boolean) => any;
|
|
17
|
-
}, string, import("
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
24
|
onChange?: ((event: Event) => any) | undefined;
|
|
19
25
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import("
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
28
|
declare const _default: typeof __VLS_export;
|
|
23
29
|
export default _default;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
export interface CheckboxProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
divider?: boolean;
|
|
9
|
+
indeterminate?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
reverse?: boolean;
|
|
13
|
+
maxWidth?: boolean;
|
|
14
|
+
standalone?: boolean;
|
|
15
|
+
}
|
|
1
16
|
export type CheckboxElement = HTMLElement & {
|
|
2
17
|
id: string;
|
|
3
18
|
label: string;
|
|
@@ -12,6 +27,7 @@ export type CheckboxElement = HTMLElement & {
|
|
|
12
27
|
invalid: boolean;
|
|
13
28
|
reverse: boolean;
|
|
14
29
|
maxWidth: boolean;
|
|
30
|
+
standalone: boolean;
|
|
15
31
|
};
|
|
16
32
|
export type CheckboxConstructor = CustomElementConstructor & {
|
|
17
33
|
new (initialProps?: Partial<CheckboxElement>): CheckboxElement;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ChipProps } from "./chip.types.js";
|
|
2
|
+
declare const __VLS_template: () => {
|
|
3
|
+
__VLS_Slots: {
|
|
4
|
+
default?: (props: {}) => any;
|
|
5
|
+
} & {
|
|
6
|
+
icon?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
icon?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: {}) => any;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<ChipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
change: (event: Event) => any;
|
|
16
|
+
"update:checked": (checked: boolean) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<ChipProps> & Readonly<{
|
|
18
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
19
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
variant: import("./chip.types.js").ChipVariant;
|
|
22
|
+
label: string;
|
|
23
|
+
name: string;
|
|
24
|
+
value: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
iconOnly: boolean;
|
|
27
|
+
ariaLabel: string;
|
|
28
|
+
checked: boolean;
|
|
29
|
+
inputType: import("./chip.types.js").ChipInputType;
|
|
30
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from "vue";
|
|
2
|
+
import type { ChipProps } from "./chip.types.js";
|
|
3
|
+
interface Props extends Omit<InputHTMLAttributes, keyof ChipProps>, Omit<ChipProps, "checked"> {
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
modelValue?: boolean;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_template: () => {
|
|
11
|
+
__VLS_Slots: {
|
|
12
|
+
default?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
icon?: (props: {}) => any;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
change: (event: Event) => any;
|
|
20
|
+
"update:modelValue": (value: boolean) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export type ChipVariant = "filter" | "suggestion";
|
|
2
|
+
export type ChipInputType = "checkbox" | "radio";
|
|
3
|
+
export interface ChipProps {
|
|
4
|
+
variant?: ChipVariant;
|
|
5
|
+
inputType?: ChipInputType;
|
|
6
|
+
label?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
name?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
iconOnly?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export type ChipElement = HTMLElement & {
|
|
15
|
+
variant: ChipVariant;
|
|
16
|
+
inputType: ChipInputType;
|
|
17
|
+
label: string;
|
|
18
|
+
ariaLabel: string;
|
|
19
|
+
checked: boolean;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
name: string;
|
|
22
|
+
value: string;
|
|
23
|
+
iconOnly: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type ChipConstructor = CustomElementConstructor & {
|
|
26
|
+
new (initialProps?: Partial<ChipElement>): ChipElement;
|
|
27
|
+
};
|
|
@@ -44,19 +44,19 @@ declare const __VLS_template: () => {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
47
|
-
declare const __VLS_base: import("
|
|
47
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
48
48
|
showModal: typeof showModal;
|
|
49
49
|
close: typeof close;
|
|
50
|
-
}, {}, {}, {}, import("
|
|
50
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
cancel: (event: Event) => any;
|
|
52
|
+
close: (returnValue: string) => any;
|
|
51
53
|
"update:open": (open: boolean) => any;
|
|
52
54
|
show: () => any;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
|
+
onCancel?: ((event: Event) => any) | undefined;
|
|
57
|
+
onClose?: ((returnValue: string) => any) | undefined;
|
|
56
58
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
57
59
|
onShow?: (() => any) | undefined;
|
|
58
|
-
onClose?: ((returnValue: string) => any) | undefined;
|
|
59
|
-
onCancel?: ((event: Event) => any) | undefined;
|
|
60
60
|
}>, {
|
|
61
61
|
variant: "neutral" | "positive" | "info" | "warning" | "negative";
|
|
62
62
|
label: string;
|
|
@@ -75,7 +75,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Prop
|
|
|
75
75
|
horizontalActions: boolean;
|
|
76
76
|
closeOnEscape: boolean;
|
|
77
77
|
closeOnBackdrop: boolean;
|
|
78
|
-
}, {}, {}, {}, string, import("
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
79
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
80
80
|
declare const _default: typeof __VLS_export;
|
|
81
81
|
export default _default;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
|
-
type
|
|
2
|
-
label?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
value?: string;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
divider?: boolean;
|
|
9
|
-
outlined?: boolean;
|
|
10
|
-
extraLabel?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
readonly?: boolean;
|
|
13
|
-
invalid?: boolean;
|
|
14
|
-
reverse?: boolean;
|
|
15
|
-
maxWidth?: boolean;
|
|
16
|
-
};
|
|
1
|
+
import type { RadioProps } from "./radio.types.js";
|
|
17
2
|
declare const __VLS_template: () => {
|
|
18
3
|
__VLS_Slots: {
|
|
19
4
|
label?: (props: {}) => any;
|
|
@@ -26,7 +11,7 @@ declare const __VLS_template: () => {
|
|
|
26
11
|
};
|
|
27
12
|
};
|
|
28
13
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
29
|
-
declare const __VLS_base: import("
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<RadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadioProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
16
|
declare const _default: typeof __VLS_export;
|
|
32
17
|
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { InputHTMLAttributes } from "vue";
|
|
2
|
+
import type { RadioProps } from "./radio.types.js";
|
|
3
|
+
interface Props extends Omit<InputHTMLAttributes, keyof RadioProps>, Omit<RadioProps, "checked"> {
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
4
6
|
type __VLS_ModelProps = {
|
|
5
7
|
modelValue?: string;
|
|
6
8
|
};
|
|
@@ -17,13 +19,13 @@ declare const __VLS_template: () => {
|
|
|
17
19
|
};
|
|
18
20
|
};
|
|
19
21
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
20
|
-
declare const __VLS_base: import("
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
23
|
change: (event: Event) => any;
|
|
22
24
|
"update:modelValue": (value: string) => any;
|
|
23
|
-
}, string, import("
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
26
|
onChange?: ((event: Event) => any) | undefined;
|
|
25
27
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import("
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
30
|
declare const _default: typeof __VLS_export;
|
|
29
31
|
export default _default;
|
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
export interface RadioProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
divider?: boolean;
|
|
9
|
+
outlined?: boolean;
|
|
10
|
+
extraLabel?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
reverse?: boolean;
|
|
15
|
+
maxWidth?: boolean;
|
|
16
|
+
}
|
|
1
17
|
export type RadioElement = HTMLElement & {
|
|
2
18
|
id: string;
|
|
3
19
|
label: string;
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
type
|
|
2
|
-
label?: string;
|
|
3
|
-
options?: {
|
|
4
|
-
label: string;
|
|
5
|
-
value: string;
|
|
6
|
-
}[];
|
|
7
|
-
helperText?: string;
|
|
8
|
-
errorText?: string;
|
|
9
|
-
helperLink?: string;
|
|
10
|
-
helperLinkHref?: string;
|
|
11
|
-
value?: string;
|
|
12
|
-
outlined?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
required?: boolean;
|
|
15
|
-
invalid?: boolean;
|
|
16
|
-
maxWidth?: boolean;
|
|
17
|
-
loading?: boolean;
|
|
18
|
-
};
|
|
1
|
+
import type { SelectProps } from "./select.types.js";
|
|
19
2
|
declare const __VLS_template: () => {
|
|
20
3
|
__VLS_Slots: {
|
|
21
4
|
'leading-icon'?: (props: {}) => any;
|
|
@@ -32,7 +15,7 @@ declare const __VLS_template: () => {
|
|
|
32
15
|
};
|
|
33
16
|
};
|
|
34
17
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
35
|
-
declare const __VLS_base: import("
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<SelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SelectProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
20
|
declare const _default: typeof __VLS_export;
|
|
38
21
|
export default _default;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import type { SelectHTMLAttributes } from "vue";
|
|
2
|
+
import type { SelectProps } from "./select.types.js";
|
|
3
|
+
interface Props extends Omit<SelectHTMLAttributes, keyof SelectProps>, Omit<SelectProps, "value"> {
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
1
6
|
type __VLS_ModelProps = {
|
|
2
7
|
modelValue?: string;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
4
10
|
declare const __VLS_template: () => {
|
|
5
11
|
__VLS_Slots: {
|
|
6
12
|
label?: (props: {}) => any;
|
|
@@ -17,13 +23,13 @@ declare const __VLS_template: () => {
|
|
|
17
23
|
};
|
|
18
24
|
};
|
|
19
25
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
20
|
-
declare const __VLS_base: import("
|
|
26
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
27
|
change: (event: Event) => any;
|
|
22
28
|
"update:modelValue": (value: string) => any;
|
|
23
|
-
}, string, import("
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
30
|
onChange?: ((event: Event) => any) | undefined;
|
|
25
31
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import("
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
34
|
declare const _default: typeof __VLS_export;
|
|
29
35
|
export default _default;
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
export interface SelectProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
options?: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}[];
|
|
7
|
+
helperText?: string;
|
|
8
|
+
errorText?: string;
|
|
9
|
+
helperLink?: string;
|
|
10
|
+
helperLinkHref?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
outlined?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
maxWidth?: boolean;
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
}
|
|
1
19
|
export type SelectElement = HTMLElement & {
|
|
2
20
|
id: string;
|
|
3
21
|
label: string;
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
type
|
|
2
|
-
label?: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
value?: string;
|
|
5
|
-
checked?: boolean;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
divider?: boolean;
|
|
9
|
-
readonly?: boolean;
|
|
10
|
-
invalid?: boolean;
|
|
11
|
-
reverse?: boolean;
|
|
12
|
-
maxWidth?: boolean;
|
|
13
|
-
};
|
|
1
|
+
import type { SwitchProps } from "./switch.types.js";
|
|
14
2
|
declare const __VLS_template: () => {
|
|
15
3
|
__VLS_Slots: {
|
|
16
4
|
label?: (props: {}) => any;
|
|
@@ -21,7 +9,7 @@ declare const __VLS_template: () => {
|
|
|
21
9
|
};
|
|
22
10
|
};
|
|
23
11
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
24
|
-
declare const __VLS_base: import("
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<SwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SwitchProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
14
|
declare const _default: typeof __VLS_export;
|
|
27
15
|
export default _default;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import type { InputHTMLAttributes } from "vue";
|
|
2
|
+
import type { SwitchProps } from "./switch.types.js";
|
|
3
|
+
interface Props extends Omit<InputHTMLAttributes, keyof SwitchProps>, Omit<SwitchProps, "checked"> {
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
1
6
|
type __VLS_ModelProps = {
|
|
2
7
|
modelValue?: boolean;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
4
10
|
declare const __VLS_template: () => {
|
|
5
11
|
__VLS_Slots: {
|
|
6
12
|
label?: (props: {}) => any;
|
|
@@ -11,13 +17,13 @@ declare const __VLS_template: () => {
|
|
|
11
17
|
};
|
|
12
18
|
};
|
|
13
19
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
14
|
-
declare const __VLS_base: import("
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
21
|
change: (event: Event) => any;
|
|
16
22
|
"update:modelValue": (value: boolean) => any;
|
|
17
|
-
}, string, import("
|
|
23
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
24
|
onChange?: ((event: Event) => any) | undefined;
|
|
19
25
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import("
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
28
|
declare const _default: typeof __VLS_export;
|
|
23
29
|
export default _default;
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
export interface SwitchProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
value?: string;
|
|
5
|
+
checked?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
divider?: boolean;
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
invalid?: boolean;
|
|
11
|
+
reverse?: boolean;
|
|
12
|
+
maxWidth?: boolean;
|
|
13
|
+
}
|
|
1
14
|
export type SwitchElement = HTMLElement & {
|
|
2
15
|
id: string;
|
|
3
16
|
label: string;
|
|
@@ -14,7 +14,7 @@ declare const __VLS_template: () => {
|
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
|
-
declare const __VLS_base: import("
|
|
17
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
19
19
|
declare const _default: typeof __VLS_export;
|
|
20
20
|
export default _default;
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
type
|
|
2
|
-
label?: string;
|
|
3
|
-
placeholder?: string;
|
|
4
|
-
helperText?: string;
|
|
5
|
-
errorText?: string;
|
|
6
|
-
helperLink?: string;
|
|
7
|
-
helperLinkHref?: string;
|
|
8
|
-
value?: string;
|
|
9
|
-
outlined?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
readonly?: boolean;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
invalid?: boolean;
|
|
14
|
-
maxWidth?: boolean;
|
|
15
|
-
};
|
|
1
|
+
import type { TextAreaProps } from "./text-area.types.js";
|
|
16
2
|
declare const __VLS_template: () => {
|
|
17
3
|
__VLS_Slots: {
|
|
18
4
|
label?: (props: {}) => any;
|
|
@@ -25,7 +11,7 @@ declare const __VLS_template: () => {
|
|
|
25
11
|
};
|
|
26
12
|
};
|
|
27
13
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
28
|
-
declare const __VLS_base: import("
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<TextAreaProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TextAreaProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
16
|
declare const _default: typeof __VLS_export;
|
|
31
17
|
export default _default;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import type { TextareaHTMLAttributes } from "vue";
|
|
2
|
+
import type { TextAreaProps } from "./text-area.types.js";
|
|
3
|
+
interface Props extends Omit<TextareaHTMLAttributes, keyof TextAreaProps>, Omit<TextAreaProps, "value"> {
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = Props;
|
|
1
6
|
type __VLS_ModelProps = {
|
|
2
7
|
modelValue?: string;
|
|
3
8
|
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
4
10
|
declare const __VLS_template: () => {
|
|
5
11
|
__VLS_Slots: {
|
|
6
12
|
label?: (props: {}) => any;
|
|
@@ -13,15 +19,15 @@ declare const __VLS_template: () => {
|
|
|
13
19
|
};
|
|
14
20
|
};
|
|
15
21
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
|
-
declare const __VLS_base: import("
|
|
22
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
23
|
input: (event: Event) => any;
|
|
18
24
|
change: (event: Event) => any;
|
|
19
25
|
"update:modelValue": (value: string) => any;
|
|
20
|
-
}, string, import("
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
27
|
onInput?: ((event: Event) => any) | undefined;
|
|
22
28
|
onChange?: ((event: Event) => any) | undefined;
|
|
23
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
-
}>, {}, {}, {}, {}, string, import("
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
32
|
declare const _default: typeof __VLS_export;
|
|
27
33
|
export default _default;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
export interface TextAreaProps {
|
|
2
|
+
label?: string;
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
helperText?: string;
|
|
5
|
+
errorText?: string;
|
|
6
|
+
helperLink?: string;
|
|
7
|
+
helperLinkHref?: string;
|
|
8
|
+
value?: string;
|
|
9
|
+
outlined?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
readonly?: boolean;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
invalid?: boolean;
|
|
14
|
+
maxWidth?: boolean;
|
|
15
|
+
}
|
|
1
16
|
export type TextAreaElement = HTMLElement & {
|
|
2
17
|
id: string;
|
|
3
18
|
label: string;
|