@nilloq/ouds-web 0.1.4 → 0.1.6
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 +21 -0
- package/README.md +49 -6
- package/dist/alert-By364Om4.js +77 -0
- package/dist/alert-bsnEmrzb.js +89 -0
- package/dist/alert.js +2 -0
- package/dist/badge-fffoaFuZ.js +57 -0
- package/dist/badge-yaFEZnEW.js +54 -0
- package/dist/badge.js +2 -0
- package/dist/button-BUziAVbu.js +94 -0
- package/dist/{button-LlRiSiGS.js → button-nN1Pcwm6.js} +36 -21
- package/dist/button.js +1 -1
- package/dist/checkbox-PAgQqiIw.js +145 -0
- package/dist/checkbox-g6cqR6wz.js +170 -0
- package/dist/checkbox.js +1 -1
- package/dist/control-item-slots-BNXNsI1e.js +12 -0
- package/dist/control-item-slots-XV8Gjvf1.js +9 -0
- package/dist/elements-alert.js +2 -0
- package/dist/elements-badge.js +2 -0
- package/dist/elements-button.js +1 -1
- package/dist/elements-checkbox.js +1 -1
- package/dist/elements-modal.js +2 -0
- package/dist/elements-radio.js +2 -0
- package/dist/elements-select.js +1 -1
- package/dist/elements-switch.js +2 -0
- package/dist/elements-tag.js +1 -1
- package/dist/elements-text-area.js +2 -0
- package/dist/elements-text-input.js +1 -1
- package/dist/elements.js +13 -7
- package/dist/index.js +12 -6
- package/dist/modal-CHjaB_yR.js +181 -0
- package/dist/modal-IEXNB8St.js +193 -0
- package/dist/modal.js +2 -0
- package/dist/radio-Cmrtred_.js +147 -0
- package/dist/radio-CqVqsZ7n.js +175 -0
- package/dist/radio.js +5 -0
- package/dist/{runtime-dom.esm-bundler-BzNNnH8h.js → runtime-dom.esm-bundler-BeOO_l6v.js} +987 -839
- package/dist/select-Bpou1HIY.js +167 -0
- package/dist/select-CWjTpHGb.js +126 -0
- package/dist/select.js +1 -1
- package/dist/switch-CFv0JUeq.js +132 -0
- package/dist/switch-DEYsTCw5.js +157 -0
- package/dist/switch.js +5 -0
- package/dist/tag-BdB0YDBJ.js +84 -0
- package/dist/tag-Un7w0uDf.js +81 -0
- package/dist/tag.js +1 -1
- package/dist/text-area-DkjEGpHg.js +99 -0
- package/dist/text-area-DqBoz2_d.js +139 -0
- package/dist/text-area.js +5 -0
- package/dist/text-input-DnWjB1vE.js +207 -0
- package/dist/text-input-DxzwRS2R.js +157 -0
- package/dist/text-input.js +1 -1
- package/dist/types/alert.d.ts +1 -0
- package/dist/types/badge.d.ts +1 -0
- package/dist/types/components/alert/Alert.vue.d.ts +37 -0
- package/dist/types/components/alert/alert.context.d.ts +2 -0
- package/dist/types/components/alert/alert.options.d.ts +2 -0
- package/dist/types/components/alert/alert.types.d.ts +14 -0
- package/dist/types/components/badge/Badge.vue.d.ts +26 -0
- package/dist/types/components/badge/badge.options.d.ts +4 -0
- package/dist/types/components/badge/badge.types.d.ts +13 -0
- package/dist/types/components/button/Button.vue.d.ts +7 -4
- package/dist/types/components/button/button.options.d.ts +1 -1
- package/dist/types/components/button/button.types.d.ts +2 -0
- package/dist/types/components/checkbox/Checkbox.vue.d.ts +13 -6
- package/dist/types/components/checkbox/VueCheckbox.vue.d.ts +9 -5
- package/dist/types/components/checkbox/checkbox.context.d.ts +2 -0
- package/dist/types/components/checkbox/checkbox.types.d.ts +4 -0
- package/dist/types/components/modal/Modal.vue.d.ts +86 -0
- package/dist/types/components/modal/modal.context.d.ts +2 -0
- package/dist/types/components/modal/modal.options.d.ts +7 -0
- package/dist/types/components/modal/modal.types.d.ts +28 -0
- package/dist/types/components/radio/Radio.vue.d.ts +37 -0
- package/dist/types/components/radio/VueRadio.vue.d.ts +34 -0
- package/dist/types/components/radio/radio.context.d.ts +2 -0
- package/dist/types/components/radio/radio.types.d.ts +20 -0
- package/dist/types/components/select/Select.vue.d.ts +21 -4
- package/dist/types/components/select/VueSelect.vue.d.ts +15 -5
- package/dist/types/components/select/select.types.d.ts +10 -0
- package/dist/types/components/shared/control-item-slots.d.ts +2 -0
- package/dist/types/components/switch/Switch.vue.d.ts +32 -0
- package/dist/types/components/switch/VueSwitch.vue.d.ts +28 -0
- package/dist/types/components/switch/switch.context.d.ts +2 -0
- package/dist/types/components/switch/switch.types.d.ts +17 -0
- package/dist/types/components/tag/Tag.vue.d.ts +8 -3
- package/dist/types/components/tag/tag.options.d.ts +1 -1
- package/dist/types/components/tag/tag.types.d.ts +4 -0
- package/dist/types/components/text-area/TextArea.vue.d.ts +36 -0
- package/dist/types/components/text-area/VueTextArea.vue.d.ts +32 -0
- package/dist/types/components/text-area/text-area.types.d.ts +19 -0
- package/dist/types/components/text-input/TextInput.vue.d.ts +19 -15
- package/dist/types/components/text-input/VueTextInput.vue.d.ts +17 -13
- package/dist/types/components/text-input/text-input.types.d.ts +3 -0
- package/dist/types/elements/alert.d.ts +5 -0
- package/dist/types/elements/badge.d.ts +5 -0
- package/dist/types/elements/index.d.ts +13 -0
- package/dist/types/elements/modal.d.ts +5 -0
- package/dist/types/elements/radio.d.ts +4 -0
- package/dist/types/elements/switch.d.ts +4 -0
- package/dist/types/elements/text-area.d.ts +4 -0
- package/dist/types/modal.d.ts +1 -0
- package/dist/types/radio.d.ts +2 -0
- package/dist/types/switch.d.ts +2 -0
- package/dist/types/text-area.d.ts +2 -0
- package/dist/types/vue/alert.d.ts +3 -0
- package/dist/types/vue/badge.d.ts +3 -0
- package/dist/types/vue/index.d.ts +11 -0
- package/dist/types/vue/modal.d.ts +3 -0
- package/dist/types/vue/radio.d.ts +2 -0
- package/dist/types/vue/switch.d.ts +2 -0
- package/dist/types/vue/text-area.d.ts +2 -0
- package/dist/vue-alert.js +2 -0
- package/dist/vue-badge.js +2 -0
- package/dist/vue-button.js +1 -1
- package/dist/vue-checkbox.js +1 -1
- package/dist/vue-modal.js +2 -0
- package/dist/vue-radio.js +2 -0
- package/dist/vue-select.js +1 -1
- package/dist/vue-switch.js +2 -0
- package/dist/vue-tag.js +1 -1
- package/dist/vue-text-area.js +2 -0
- package/dist/vue-text-input.js +1 -1
- package/dist/vue.js +12 -6
- package/package.json +82 -10
- package/dist/button-BPOKh6G4.js +0 -79
- package/dist/checkbox-BYrgMhwO.js +0 -105
- package/dist/checkbox-D-A_bSBK.js +0 -79
- package/dist/select-CA6TVlpX.js +0 -58
- package/dist/select-CKHEHpJL.js +0 -80
- package/dist/tag-B2qhuHjk.js +0 -41
- package/dist/tag-BY32Hj5n.js +0 -44
- package/dist/text-input-DOUGu0A2.js +0 -180
- package/dist/text-input-t-iE4dFj.js +0 -130
package/dist/text-input.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./elements/alert.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./elements/badge.js";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { AlertVariant } from "./alert.types.js";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
variant?: AlertVariant;
|
|
4
|
+
label?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
inline?: boolean;
|
|
7
|
+
dismissible?: boolean;
|
|
8
|
+
closeLabel?: string;
|
|
9
|
+
iconLabel?: string;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_template: () => {
|
|
12
|
+
__VLS_Slots: {
|
|
13
|
+
icon?: (props: {}) => any;
|
|
14
|
+
} & {
|
|
15
|
+
default?: (props: {}) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: {}) => any;
|
|
18
|
+
} & {
|
|
19
|
+
description?: (props: {}) => any;
|
|
20
|
+
} & {
|
|
21
|
+
action?: (props: {}) => any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
25
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
26
|
+
dismiss: () => any;
|
|
27
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
28
|
+
onDismiss?: (() => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AlertVariant } from "./alert.options.js";
|
|
2
|
+
export type { AlertVariant } from "./alert.options.js";
|
|
3
|
+
export type AlertElement = HTMLElement & {
|
|
4
|
+
variant: AlertVariant;
|
|
5
|
+
label: string;
|
|
6
|
+
description: string;
|
|
7
|
+
inline: boolean;
|
|
8
|
+
dismissible: boolean;
|
|
9
|
+
closeLabel: string;
|
|
10
|
+
iconLabel: string;
|
|
11
|
+
};
|
|
12
|
+
export type AlertConstructor = CustomElementConstructor & {
|
|
13
|
+
new (initialProps?: Partial<AlertElement>): AlertElement;
|
|
14
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BadgeVariant, BadgeSize } from "./badge.types.js";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
variant?: BadgeVariant;
|
|
4
|
+
size?: BadgeSize;
|
|
5
|
+
count?: string | number;
|
|
6
|
+
label?: string;
|
|
7
|
+
statusIcon?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_template: () => {
|
|
11
|
+
__VLS_Slots: {
|
|
12
|
+
icon?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
default?: (props: {}) => any;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const badgeVariants: readonly ["negative", "neutral", "accent", "positive", "info", "warning"];
|
|
2
|
+
export declare const badgeSizes: readonly ["xsmall", "small", "medium", "large"];
|
|
3
|
+
export type BadgeVariant = (typeof badgeVariants)[number];
|
|
4
|
+
export type BadgeSize = (typeof badgeSizes)[number];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BadgeVariant, BadgeSize } from "./badge.options.js";
|
|
2
|
+
export type { BadgeVariant, BadgeSize } from "./badge.options.js";
|
|
3
|
+
export type BadgeElement = HTMLElement & {
|
|
4
|
+
variant: BadgeVariant;
|
|
5
|
+
size: BadgeSize;
|
|
6
|
+
count?: string | number;
|
|
7
|
+
label: string;
|
|
8
|
+
statusIcon: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type BadgeConstructor = CustomElementConstructor & {
|
|
12
|
+
new (initialProps?: Partial<BadgeElement>): BadgeElement;
|
|
13
|
+
};
|
|
@@ -4,15 +4,18 @@ type __VLS_Props = {
|
|
|
4
4
|
variant?: ButtonVariant;
|
|
5
5
|
size?: ButtonSize;
|
|
6
6
|
iconOnly?: boolean;
|
|
7
|
-
ariaLabel?: string;
|
|
8
7
|
navigation?: ButtonNavigation;
|
|
8
|
+
expand?: boolean;
|
|
9
|
+
onColoredBg?: boolean;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
loading?: boolean;
|
|
11
12
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
declare const __VLS_template: () => {
|
|
14
|
+
__VLS_Slots: {
|
|
15
|
+
default?: (props: {}) => any;
|
|
16
|
+
};
|
|
15
17
|
};
|
|
18
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
16
19
|
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
17
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const buttonVariants: readonly ["default", "strong", "brand", "minimal", "negative"];
|
|
1
|
+
export declare const buttonVariants: readonly ["default", "strong", "brand", "minimal", "negative", "assistant"];
|
|
2
2
|
export declare const buttonSizes: readonly ["medium", "small"];
|
|
3
3
|
export declare const buttonTypes: readonly ["button", "submit", "reset"];
|
|
4
4
|
export declare const buttonNavigations: readonly ["previous", "next"];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
2
|
label?: string;
|
|
4
3
|
description?: string;
|
|
5
4
|
value?: string;
|
|
@@ -8,13 +7,21 @@ type __VLS_Props = {
|
|
|
8
7
|
required?: boolean;
|
|
9
8
|
divider?: boolean;
|
|
10
9
|
indeterminate?: boolean;
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
invalid?: boolean;
|
|
12
|
+
reverse?: boolean;
|
|
13
|
+
maxWidth?: boolean;
|
|
11
14
|
};
|
|
12
|
-
declare
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} & {
|
|
16
|
-
|
|
15
|
+
declare const __VLS_template: () => {
|
|
16
|
+
__VLS_Slots: {
|
|
17
|
+
label?: (props: {}) => any;
|
|
18
|
+
} & {
|
|
19
|
+
description?: (props: {}) => any;
|
|
20
|
+
} & {
|
|
21
|
+
asset?: (props: {}) => any;
|
|
22
|
+
};
|
|
17
23
|
};
|
|
24
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
25
|
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
19
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: boolean;
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} & {
|
|
8
|
-
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
label?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
asset?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
description?: (props: {}) => any;
|
|
11
|
+
};
|
|
9
12
|
};
|
|
13
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
14
|
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
11
15
|
change: (event: Event) => any;
|
|
12
16
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -8,6 +8,10 @@ export type CheckboxElement = HTMLElement & {
|
|
|
8
8
|
required: boolean;
|
|
9
9
|
divider: boolean;
|
|
10
10
|
indeterminate: boolean;
|
|
11
|
+
readonly: boolean;
|
|
12
|
+
invalid: boolean;
|
|
13
|
+
reverse: boolean;
|
|
14
|
+
maxWidth: boolean;
|
|
11
15
|
};
|
|
12
16
|
export type CheckboxConstructor = CustomElementConstructor & {
|
|
13
17
|
new (initialProps?: Partial<CheckboxElement>): CheckboxElement;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ModalType, ModalSize, ModalVariant, ModalHeadingLevel } from "./modal.types.js";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
open?: boolean;
|
|
4
|
+
label?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
headingLevel?: ModalHeadingLevel;
|
|
8
|
+
type?: ModalType;
|
|
9
|
+
size?: ModalSize;
|
|
10
|
+
variant?: ModalVariant;
|
|
11
|
+
iconLabel?: string;
|
|
12
|
+
fixedHeight?: boolean;
|
|
13
|
+
nonBlurred?: boolean;
|
|
14
|
+
stickyActions?: boolean;
|
|
15
|
+
horizontalActions?: boolean;
|
|
16
|
+
dismissible?: boolean;
|
|
17
|
+
closeLabel?: string;
|
|
18
|
+
closeOnEscape?: boolean;
|
|
19
|
+
closeOnBackdrop?: boolean;
|
|
20
|
+
};
|
|
21
|
+
declare function showModal(): void;
|
|
22
|
+
declare function close(returnValue?: string): void;
|
|
23
|
+
declare const __VLS_template: () => {
|
|
24
|
+
__VLS_Slots: {
|
|
25
|
+
previous?: (props: {}) => any;
|
|
26
|
+
} & {
|
|
27
|
+
subtitle?: (props: {}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
icon?: (props: {}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
title?: (props: {}) => any;
|
|
32
|
+
} & {
|
|
33
|
+
description?: (props: {}) => any;
|
|
34
|
+
} & {
|
|
35
|
+
default?: (props: {}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
actions?: (props: {
|
|
38
|
+
close: typeof close;
|
|
39
|
+
}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
actions?: (props: {
|
|
42
|
+
close: typeof close;
|
|
43
|
+
}) => any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
47
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {
|
|
48
|
+
showModal: typeof showModal;
|
|
49
|
+
close: typeof close;
|
|
50
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
51
|
+
"update:open": (open: boolean) => any;
|
|
52
|
+
show: () => any;
|
|
53
|
+
close: (returnValue: string) => any;
|
|
54
|
+
cancel: (event: Event) => any;
|
|
55
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
56
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
57
|
+
onShow?: (() => any) | undefined;
|
|
58
|
+
onClose?: ((returnValue: string) => any) | undefined;
|
|
59
|
+
onCancel?: ((event: Event) => any) | undefined;
|
|
60
|
+
}>, {
|
|
61
|
+
variant: "neutral" | "positive" | "info" | "warning" | "negative";
|
|
62
|
+
label: string;
|
|
63
|
+
description: string;
|
|
64
|
+
dismissible: boolean;
|
|
65
|
+
closeLabel: string;
|
|
66
|
+
iconLabel: string;
|
|
67
|
+
type: "dialog" | "fullscreen";
|
|
68
|
+
size: "default" | "small";
|
|
69
|
+
open: boolean;
|
|
70
|
+
subtitle: string;
|
|
71
|
+
headingLevel: ModalHeadingLevel;
|
|
72
|
+
fixedHeight: boolean;
|
|
73
|
+
nonBlurred: boolean;
|
|
74
|
+
stickyActions: boolean;
|
|
75
|
+
horizontalActions: boolean;
|
|
76
|
+
closeOnEscape: boolean;
|
|
77
|
+
closeOnBackdrop: boolean;
|
|
78
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
79
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
80
|
+
declare const _default: typeof __VLS_export;
|
|
81
|
+
export default _default;
|
|
82
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const modalTypes: readonly ["dialog", "fullscreen"];
|
|
2
|
+
export type ModalType = (typeof modalTypes)[number];
|
|
3
|
+
export declare const modalSizes: readonly ["default", "small"];
|
|
4
|
+
export type ModalSize = (typeof modalSizes)[number];
|
|
5
|
+
export declare const modalVariants: readonly ["neutral", "negative", "positive", "info", "warning"];
|
|
6
|
+
export type ModalVariant = (typeof modalVariants)[number];
|
|
7
|
+
export type ModalHeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ModalType, ModalSize, ModalVariant, ModalHeadingLevel } from "./modal.options.js";
|
|
2
|
+
export type * from "./modal.options.js";
|
|
3
|
+
export interface ModalMethods {
|
|
4
|
+
showModal(): void;
|
|
5
|
+
close(returnValue?: string): void;
|
|
6
|
+
}
|
|
7
|
+
export type ModalElement = HTMLElement & ModalMethods & {
|
|
8
|
+
open: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
description: string;
|
|
11
|
+
subtitle: string;
|
|
12
|
+
headingLevel: ModalHeadingLevel;
|
|
13
|
+
type: ModalType;
|
|
14
|
+
size: ModalSize;
|
|
15
|
+
variant: ModalVariant;
|
|
16
|
+
iconLabel: string;
|
|
17
|
+
fixedHeight: boolean;
|
|
18
|
+
nonBlurred: boolean;
|
|
19
|
+
stickyActions: boolean;
|
|
20
|
+
horizontalActions: boolean;
|
|
21
|
+
dismissible: boolean;
|
|
22
|
+
closeLabel: string;
|
|
23
|
+
closeOnEscape: boolean;
|
|
24
|
+
closeOnBackdrop: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type ModalConstructor = CustomElementConstructor & {
|
|
27
|
+
new (initialProps?: Partial<ModalElement>): ModalElement;
|
|
28
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
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
|
+
};
|
|
17
|
+
declare const __VLS_template: () => {
|
|
18
|
+
__VLS_Slots: {
|
|
19
|
+
label?: (props: {}) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'extra-label'?: (props: {}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
description?: (props: {}) => any;
|
|
24
|
+
} & {
|
|
25
|
+
asset?: (props: {}) => any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
29
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: string;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_ModelProps = {
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
8
|
+
declare const __VLS_template: () => {
|
|
9
|
+
__VLS_Slots: {
|
|
10
|
+
label?: (props: {}) => any;
|
|
11
|
+
} & {
|
|
12
|
+
asset?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'extra-label'?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
description?: (props: {}) => any;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
20
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
21
|
+
change: (event: Event) => any;
|
|
22
|
+
"update:modelValue": (value: string) => any;
|
|
23
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type RadioElement = HTMLElement & {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description: string;
|
|
5
|
+
value: string;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
divider: boolean;
|
|
10
|
+
name: string;
|
|
11
|
+
outlined: boolean;
|
|
12
|
+
extraLabel: string;
|
|
13
|
+
readonly: boolean;
|
|
14
|
+
invalid: boolean;
|
|
15
|
+
reverse: boolean;
|
|
16
|
+
maxWidth: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type RadioConstructor = CustomElementConstructor & {
|
|
19
|
+
new (initialProps?: Partial<RadioElement>): RadioElement;
|
|
20
|
+
};
|
|
@@ -1,20 +1,37 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
2
|
label?: string;
|
|
4
3
|
options?: {
|
|
5
4
|
label: string;
|
|
6
5
|
value: string;
|
|
7
6
|
}[];
|
|
8
7
|
helperText?: string;
|
|
8
|
+
errorText?: string;
|
|
9
|
+
helperLink?: string;
|
|
10
|
+
helperLinkHref?: string;
|
|
9
11
|
value?: string;
|
|
10
12
|
outlined?: boolean;
|
|
11
13
|
disabled?: boolean;
|
|
12
14
|
required?: boolean;
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
maxWidth?: boolean;
|
|
17
|
+
loading?: boolean;
|
|
13
18
|
};
|
|
14
|
-
declare
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
declare const __VLS_template: () => {
|
|
20
|
+
__VLS_Slots: {
|
|
21
|
+
'leading-icon'?: (props: {}) => any;
|
|
22
|
+
} & {
|
|
23
|
+
label?: (props: {}) => any;
|
|
24
|
+
} & {
|
|
25
|
+
default?: (props: {}) => any;
|
|
26
|
+
} & {
|
|
27
|
+
'helper-text'?: (props: {}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
'error-text'?: (props: {}) => any;
|
|
30
|
+
} & {
|
|
31
|
+
'helper-link'?: (props: {}) => any;
|
|
32
|
+
};
|
|
17
33
|
};
|
|
34
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
18
35
|
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
19
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
type __VLS_ModelProps = {
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} & {
|
|
8
|
-
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
label?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
'leading-icon'?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
'helper-text'?: (props: {}) => any;
|
|
11
|
+
} & {
|
|
12
|
+
'error-text'?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
14
|
+
'helper-link'?: (props: {}) => any;
|
|
15
|
+
} & {
|
|
16
|
+
default?: (props: {}) => any;
|
|
17
|
+
};
|
|
9
18
|
};
|
|
19
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
10
20
|
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
11
21
|
change: (event: Event) => any;
|
|
12
22
|
"update:modelValue": (value: string) => any;
|
|
@@ -2,10 +2,20 @@ export type SelectElement = HTMLElement & {
|
|
|
2
2
|
id: string;
|
|
3
3
|
label: string;
|
|
4
4
|
helperText: string;
|
|
5
|
+
errorText: string;
|
|
6
|
+
helperLink: string;
|
|
7
|
+
helperLinkHref: string;
|
|
8
|
+
options: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}[];
|
|
5
12
|
value: string;
|
|
6
13
|
outlined: boolean;
|
|
7
14
|
disabled: boolean;
|
|
8
15
|
required: boolean;
|
|
16
|
+
invalid: boolean;
|
|
17
|
+
maxWidth: boolean;
|
|
18
|
+
loading: boolean;
|
|
9
19
|
};
|
|
10
20
|
export type SelectConstructor = CustomElementConstructor & {
|
|
11
21
|
new (initialProps?: Partial<SelectElement>): SelectElement;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
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
|
+
};
|
|
14
|
+
declare const __VLS_template: () => {
|
|
15
|
+
__VLS_Slots: {
|
|
16
|
+
label?: (props: {}) => any;
|
|
17
|
+
} & {
|
|
18
|
+
description?: (props: {}) => any;
|
|
19
|
+
} & {
|
|
20
|
+
asset?: (props: {}) => any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
24
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").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,28 @@
|
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_template: () => {
|
|
5
|
+
__VLS_Slots: {
|
|
6
|
+
label?: (props: {}) => any;
|
|
7
|
+
} & {
|
|
8
|
+
asset?: (props: {}) => any;
|
|
9
|
+
} & {
|
|
10
|
+
description?: (props: {}) => any;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
14
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
15
|
+
change: (event: Event) => any;
|
|
16
|
+
"update:modelValue": (value: boolean) => any;
|
|
17
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
18
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type SwitchElement = HTMLElement & {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description: string;
|
|
5
|
+
value: string;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
divider: boolean;
|
|
10
|
+
readonly: boolean;
|
|
11
|
+
invalid: boolean;
|
|
12
|
+
reverse: boolean;
|
|
13
|
+
maxWidth: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type SwitchConstructor = CustomElementConstructor & {
|
|
16
|
+
new (initialProps?: Partial<SwitchElement>): SwitchElement;
|
|
17
|
+
};
|