@ambita/design-system 3.0.27-341.0 → 3.0.27-51.0
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/dist/aux.common.js +6266 -66639
- package/dist/aux.common.js.map +1 -1
- package/dist/aux.umd.js +6266 -66639
- package/dist/aux.umd.js.map +1 -1
- package/dist/aux.umd.min.js +1 -35
- package/dist/aux.umd.min.js.map +1 -1
- package/dist/css/colors-css-variables.scss +1 -7
- package/dist/css/colors-scss-variables.scss +1 -9
- package/dist/css/mixins.scss +1 -26
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +7 -7
- package/dist/types/components/Banner/Banner.vue.d.ts +16 -16
- package/dist/types/components/Button/Button.vue.d.ts +14 -19
- package/dist/types/components/Card/Card.vue.d.ts +5 -1
- package/dist/types/components/Checkbox/Checkbox.vue.d.ts +17 -25
- package/dist/types/components/Definition/Definition.vue.d.ts +16 -24
- package/dist/types/components/DirectionalArrow/DirectionalArrow.vue.d.ts +7 -8
- package/dist/types/components/FormElement/FormElement.vue.d.ts +14 -20
- package/dist/types/components/Input/Input.vue.d.ts +32 -46
- package/dist/types/components/Link/Link.vue.d.ts +8 -11
- package/dist/types/components/Modal/Actions.vue.d.ts +5 -6
- package/dist/types/components/Modal/Modal.vue.d.ts +16 -25
- package/dist/types/components/Pagination/Pagination.vue.d.ts +10 -16
- package/dist/types/components/Pill/Pill.vue.d.ts +7 -7
- package/dist/types/components/Radio/Radio.vue.d.ts +15 -22
- package/dist/types/components/Select/Select.vue.d.ts +23 -36
- package/dist/types/components/TextArea/TextArea.vue.d.ts +35 -54
- package/dist/types/components/Toggle/Toggle.vue.d.ts +19 -94
- package/dist/types/components/Upload/File/File.vue.d.ts +18 -31
- package/dist/types/components/Upload/Upload.vue.d.ts +18 -27
- package/dist/types/index.d.ts +0 -5
- package/package.json +2 -5
- package/dist/css/colors-css-variables.css +0 -55
- package/dist/favicons/ambita/favicon.ico +0 -0
- package/dist/favicons/ambita/favicon.svg +0 -9
- package/dist/types/components/AuxAriaAnnouncer/AuxAriaAnnouncer.stories.d.ts +0 -21
- package/dist/types/components/Banner/Banner.stories.d.ts +0 -48
- package/dist/types/components/Button/Button.stories.d.ts +0 -55
- package/dist/types/components/Card/Card.stories.d.ts +0 -7
- package/dist/types/components/Checkbox/Checkbox.stories.d.ts +0 -65
- package/dist/types/components/Color/Colors.stories.d.ts +0 -7
- package/dist/types/components/Definition/Definition.stories.d.ts +0 -71
- package/dist/types/components/DirectionalArrow/DirectionalArrow.stories.d.ts +0 -28
- package/dist/types/components/Icons/Icon.stories.d.ts +0 -7
- package/dist/types/components/Input/Input.stories.d.ts +0 -122
- package/dist/types/components/JsonForm/Controls/Array.vue.d.ts +0 -35
- package/dist/types/components/JsonForm/Controls/Boolean.vue.d.ts +0 -22
- package/dist/types/components/JsonForm/Controls/Number.vue.d.ts +0 -19
- package/dist/types/components/JsonForm/Controls/String.vue.d.ts +0 -29
- package/dist/types/components/JsonForm/Controls/Wrapper.vue.d.ts +0 -27
- package/dist/types/components/JsonForm/JsonForm.stories.d.ts +0 -7
- package/dist/types/components/JsonForm/Renderers/Array.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Boolean.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Integer.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Layout.vue.d.ts +0 -88
- package/dist/types/components/JsonForm/Renderers/Number.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/Object.vue.d.ts +0 -97
- package/dist/types/components/JsonForm/Renderers/String.vue.d.ts +0 -99
- package/dist/types/components/JsonForm/Renderers/index.d.ts +0 -9
- package/dist/types/components/Link/Link.stories.d.ts +0 -50
- package/dist/types/components/Logo/Logo.stories.d.ts +0 -7
- package/dist/types/components/Modal/Modal.stories.d.ts +0 -42
- package/dist/types/components/Notification/Notification.stories.d.ts +0 -7
- package/dist/types/components/Notification/Notification.vue.d.ts +0 -31
- package/dist/types/components/Notification/Notifications.vue.d.ts +0 -20
- package/dist/types/components/Pagination/Pagination.stories.d.ts +0 -52
- package/dist/types/components/Pill/Pill.stories.d.ts +0 -27
- package/dist/types/components/Radio/Radio.stories.d.ts +0 -59
- package/dist/types/components/Select/Select.stories.d.ts +0 -102
- package/dist/types/components/Spinner/Spinner.stories.d.ts +0 -8
- package/dist/types/components/StatusBadge/StatusBadge.stories.d.ts +0 -31
- package/dist/types/components/StatusBadge/StatusBadge.vue.d.ts +0 -25
- package/dist/types/components/StatusBadge/Statuses.d.ts +0 -1
- package/dist/types/components/StatusBanner/StatusBanner.d.ts +0 -2
- package/dist/types/components/Tag/Colors.d.ts +0 -1
- package/dist/types/components/Tag/Tag.stories.d.ts +0 -27
- package/dist/types/components/Tag/Tag.vue.d.ts +0 -21
- package/dist/types/components/TextArea/TextArea.stories.d.ts +0 -129
- package/dist/types/components/Toggle/Toggle.stories.d.ts +0 -101
- package/dist/types/components/Upload/Upload.stories.d.ts +0 -94
- package/dist/types/components/ValidationWrapper/ValidationWrapper.stories.d.ts +0 -8
- package/dist/types/helpers/formatters/formatDateAndTime/Storybook/formatDateAndTime.stories.d.ts +0 -7
- package/dist/types/helpers/formatters/formatQuantity/Storybook/formatAmount.stories.d.ts +0 -7
- package/dist/types/helpers/formatters/formatQuantity/Storybook/formatNumber.stories.d.ts +0 -7
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
5
|
-
primary: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
disabled: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
size: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
validator: (value: string) => boolean;
|
|
17
|
-
};
|
|
18
|
-
dataTestid: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
required: false;
|
|
21
|
-
};
|
|
22
|
-
}, {
|
|
23
|
-
classes: import("vue").ComputedRef<{
|
|
24
|
-
[x: string]: boolean;
|
|
25
|
-
'aux-button': boolean;
|
|
26
|
-
'aux-button--primary': boolean;
|
|
27
|
-
'aux-button--secondary': boolean;
|
|
28
|
-
}>;
|
|
29
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
primary: {
|
|
31
|
-
type: BooleanConstructor;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
disabled: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
default: boolean;
|
|
37
|
-
};
|
|
38
|
-
size: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
validator: (value: string) => boolean;
|
|
42
|
-
};
|
|
43
|
-
dataTestid: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
required: false;
|
|
46
|
-
};
|
|
47
|
-
}>>, {
|
|
48
|
-
primary: boolean;
|
|
49
|
-
disabled: boolean;
|
|
50
|
-
size: string;
|
|
51
|
-
}>;
|
|
52
|
-
};
|
|
53
|
-
export default _default;
|
|
54
|
-
export declare const Buttons: Story<import("@storybook/vue3").Args>;
|
|
55
|
-
export declare const Examples: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Card: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
5
|
-
value: {
|
|
6
|
-
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
7
|
-
};
|
|
8
|
-
disabled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
};
|
|
11
|
-
id: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
14
|
-
};
|
|
15
|
-
name: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
required: false;
|
|
18
|
-
};
|
|
19
|
-
selected: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
default: boolean;
|
|
22
|
-
};
|
|
23
|
-
indeterminate: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
value: {
|
|
29
|
-
type: (StringConstructor | NumberConstructor | BooleanConstructor)[];
|
|
30
|
-
};
|
|
31
|
-
disabled: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
};
|
|
34
|
-
id: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
37
|
-
};
|
|
38
|
-
name: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
required: false;
|
|
41
|
-
};
|
|
42
|
-
selected: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
indeterminate: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
}>> & {
|
|
51
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
id: string;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
selected: boolean;
|
|
56
|
-
indeterminate: boolean;
|
|
57
|
-
}>;
|
|
58
|
-
argTypes: {
|
|
59
|
-
change: {
|
|
60
|
-
action: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
export default _default;
|
|
65
|
-
export declare const Vertical: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Colors: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
5
|
-
label: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
suffix: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
vertical: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
dataTestid: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
required: false;
|
|
20
|
-
};
|
|
21
|
-
size: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
required: false;
|
|
24
|
-
default: string;
|
|
25
|
-
validator: (value: string) => boolean;
|
|
26
|
-
};
|
|
27
|
-
}, {
|
|
28
|
-
classes: import("vue").ComputedRef<{
|
|
29
|
-
[x: string]: boolean;
|
|
30
|
-
'aux-definition': boolean;
|
|
31
|
-
'aux-definition--vertical': boolean;
|
|
32
|
-
}>;
|
|
33
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
-
label: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
required: true;
|
|
37
|
-
};
|
|
38
|
-
suffix: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
vertical: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
dataTestid: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
required: false;
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
required: false;
|
|
53
|
-
default: string;
|
|
54
|
-
validator: (value: string) => boolean;
|
|
55
|
-
};
|
|
56
|
-
}>>, {
|
|
57
|
-
size: string;
|
|
58
|
-
suffix: string;
|
|
59
|
-
vertical: boolean;
|
|
60
|
-
}>;
|
|
61
|
-
argTypes: {
|
|
62
|
-
size: {
|
|
63
|
-
control: {
|
|
64
|
-
type: string;
|
|
65
|
-
options: string[];
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
export default _default;
|
|
71
|
-
export declare const Definition: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
5
|
-
direction: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
require: boolean;
|
|
8
|
-
default: string;
|
|
9
|
-
validator: (value: string) => boolean;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
classes: import("vue").ComputedRef<{
|
|
13
|
-
[x: string]: boolean;
|
|
14
|
-
'aux-arrow': boolean;
|
|
15
|
-
}>;
|
|
16
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
direction: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
require: boolean;
|
|
20
|
-
default: string;
|
|
21
|
-
validator: (value: string) => boolean;
|
|
22
|
-
};
|
|
23
|
-
}>>, {
|
|
24
|
-
direction: string;
|
|
25
|
-
}>;
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
28
|
-
export declare const Default: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Icons: Story;
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{
|
|
5
|
-
label: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
id: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
12
|
-
};
|
|
13
|
-
name: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
required: false;
|
|
16
|
-
};
|
|
17
|
-
value: {
|
|
18
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
-
};
|
|
20
|
-
modelValue: {
|
|
21
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
22
|
-
};
|
|
23
|
-
placeholder: StringConstructor;
|
|
24
|
-
description: StringConstructor;
|
|
25
|
-
type: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
clearable: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
hideLabel: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
fieldWidth: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
min: {
|
|
42
|
-
type: NumberConstructor;
|
|
43
|
-
};
|
|
44
|
-
max: {
|
|
45
|
-
type: NumberConstructor;
|
|
46
|
-
};
|
|
47
|
-
}, {
|
|
48
|
-
inputFieldEl: import("vue").Ref<HTMLInputElement | null>;
|
|
49
|
-
focus: () => void;
|
|
50
|
-
hasLeftIcon: import("vue").ComputedRef<import("vue").Slot | undefined>;
|
|
51
|
-
hasRightIcon: import("vue").ComputedRef<true | import("vue").Slot | undefined>;
|
|
52
|
-
handleInput(event: {
|
|
53
|
-
target: {
|
|
54
|
-
value: string;
|
|
55
|
-
};
|
|
56
|
-
}): void;
|
|
57
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "input" | "update:modelValue")[], "focus" | "blur" | "input" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
|
-
label: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
id: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
default: (<T extends ArrayLike<number>>(options: import("uuid").V4Options | null | undefined, buffer: T, offset?: number | undefined) => T) & ((options?: import("uuid").V4Options | undefined) => string);
|
|
65
|
-
};
|
|
66
|
-
name: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
required: false;
|
|
69
|
-
};
|
|
70
|
-
value: {
|
|
71
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
72
|
-
};
|
|
73
|
-
modelValue: {
|
|
74
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
75
|
-
};
|
|
76
|
-
placeholder: StringConstructor;
|
|
77
|
-
description: StringConstructor;
|
|
78
|
-
type: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
|
-
clearable: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
hideLabel: {
|
|
87
|
-
type: BooleanConstructor;
|
|
88
|
-
default: boolean;
|
|
89
|
-
};
|
|
90
|
-
fieldWidth: {
|
|
91
|
-
type: StringConstructor;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
|
-
min: {
|
|
95
|
-
type: NumberConstructor;
|
|
96
|
-
};
|
|
97
|
-
max: {
|
|
98
|
-
type: NumberConstructor;
|
|
99
|
-
};
|
|
100
|
-
}>> & {
|
|
101
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
102
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
103
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
104
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
105
|
-
}, {
|
|
106
|
-
hideLabel: boolean;
|
|
107
|
-
id: string;
|
|
108
|
-
type: string;
|
|
109
|
-
clearable: boolean;
|
|
110
|
-
fieldWidth: string;
|
|
111
|
-
}>;
|
|
112
|
-
argTypes: {
|
|
113
|
-
onBlur: {
|
|
114
|
-
action: string;
|
|
115
|
-
};
|
|
116
|
-
onChange: {
|
|
117
|
-
action: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
export default _default;
|
|
122
|
-
export declare const Input: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ControlElement } from '@jsonforms/core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { JsonFormRendererProps } from '../JsonForm.d';
|
|
4
|
-
interface CheckboxChangeEvent {
|
|
5
|
-
checked: boolean;
|
|
6
|
-
option: string;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
9
|
-
control: {
|
|
10
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
11
|
-
required: false;
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
uniqueID: string;
|
|
15
|
-
state: {
|
|
16
|
-
checked: string[];
|
|
17
|
-
format: string | undefined;
|
|
18
|
-
selected: string;
|
|
19
|
-
enums: {
|
|
20
|
-
label: string;
|
|
21
|
-
value: string;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
}, unknown, {}, {
|
|
25
|
-
changeCheckbox(value: CheckboxChangeEvent): void;
|
|
26
|
-
changeRadio(value: string): void;
|
|
27
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update-value"[], "update-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
control: {
|
|
29
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
30
|
-
required: false;
|
|
31
|
-
};
|
|
32
|
-
}>> & {
|
|
33
|
-
"onUpdate-value"?: ((...args: any[]) => any) | undefined;
|
|
34
|
-
}, {}>;
|
|
35
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ControlElement } from '@jsonforms/core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { JsonFormRendererProps } from '../JsonForm.d';
|
|
4
|
-
interface CheckboxChangeEvent {
|
|
5
|
-
checked: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<{
|
|
8
|
-
control: {
|
|
9
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
10
|
-
required: false;
|
|
11
|
-
};
|
|
12
|
-
}, unknown, unknown, {}, {
|
|
13
|
-
change(value: CheckboxChangeEvent): void;
|
|
14
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update-value"[], "update-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
control: {
|
|
16
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
17
|
-
required: false;
|
|
18
|
-
};
|
|
19
|
-
}>> & {
|
|
20
|
-
"onUpdate-value"?: ((...args: any[]) => any) | undefined;
|
|
21
|
-
}, {}>;
|
|
22
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ControlElement } from '@jsonforms/core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { JsonFormRendererProps } from '../JsonForm.d';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
control: {
|
|
6
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
7
|
-
required: false;
|
|
8
|
-
};
|
|
9
|
-
}, unknown, unknown, {}, {
|
|
10
|
-
change(value: number): void;
|
|
11
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update-value"[], "update-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
control: {
|
|
13
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
14
|
-
required: false;
|
|
15
|
-
};
|
|
16
|
-
}>> & {
|
|
17
|
-
"onUpdate-value"?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
}, {}>;
|
|
19
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ControlElement } from '@jsonforms/core';
|
|
2
|
-
import { PropType } from 'vue';
|
|
3
|
-
import { JsonFormRendererProps } from '../JsonForm.d';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
control: {
|
|
6
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
}, {
|
|
10
|
-
uniqueID: string;
|
|
11
|
-
state: {
|
|
12
|
-
format: string | undefined;
|
|
13
|
-
selected: string;
|
|
14
|
-
enums: {
|
|
15
|
-
label: string;
|
|
16
|
-
value: string;
|
|
17
|
-
}[];
|
|
18
|
-
};
|
|
19
|
-
}, unknown, {}, {
|
|
20
|
-
change(value: string): void;
|
|
21
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update-value"[], "update-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
control: {
|
|
23
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
}>> & {
|
|
27
|
-
"onUpdate-value"?: ((...args: any[]) => any) | undefined;
|
|
28
|
-
}, {}>;
|
|
29
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { ControlElement } from '@jsonforms/core';
|
|
3
|
-
import { JsonFormRendererProps } from '../JsonForm.d';
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
control: {
|
|
6
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
7
|
-
required: true;
|
|
8
|
-
};
|
|
9
|
-
isDirty: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
showErrors: import("vue").ComputedRef<any>;
|
|
15
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
-
control: {
|
|
17
|
-
type: PropType<JsonFormRendererProps<ControlElement>>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
isDirty: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
}>>, {
|
|
25
|
-
isDirty: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Story } from '@storybook/vue3';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: import("vue").DefineComponent<{}, {}, any, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const JsonForm: Story<import("@storybook/vue3").Args>;
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ControlElement } from '@jsonforms/core';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
schema: {
|
|
4
|
-
required: true;
|
|
5
|
-
type: import("vue").PropType<import("@jsonforms/core").JsonSchema>;
|
|
6
|
-
};
|
|
7
|
-
uischema: {
|
|
8
|
-
required: true;
|
|
9
|
-
type: import("vue").PropType<ControlElement>;
|
|
10
|
-
};
|
|
11
|
-
path: {
|
|
12
|
-
required: true;
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
enabled: {
|
|
16
|
-
required: false;
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: undefined;
|
|
19
|
-
};
|
|
20
|
-
renderers: {
|
|
21
|
-
required: boolean;
|
|
22
|
-
type: import("vue").PropType<import("@jsonforms/core").JsonFormsRendererRegistryEntry[]>;
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
cells: {
|
|
26
|
-
required: boolean;
|
|
27
|
-
type: import("vue").PropType<import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[]>;
|
|
28
|
-
default: undefined;
|
|
29
|
-
};
|
|
30
|
-
config: {
|
|
31
|
-
required: boolean;
|
|
32
|
-
type: ObjectConstructor;
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
}, {
|
|
36
|
-
control: {
|
|
37
|
-
cells: {
|
|
38
|
-
tester: import("@jsonforms/core").RankedTester;
|
|
39
|
-
cell: any;
|
|
40
|
-
}[];
|
|
41
|
-
label: string;
|
|
42
|
-
description: string;
|
|
43
|
-
required: boolean;
|
|
44
|
-
uischema: ControlElement;
|
|
45
|
-
errors: string;
|
|
46
|
-
data: any;
|
|
47
|
-
rootSchema: import("@jsonforms/core").JsonSchema;
|
|
48
|
-
id: string;
|
|
49
|
-
config: any;
|
|
50
|
-
schema: import("@jsonforms/core").JsonSchema;
|
|
51
|
-
enabled: boolean;
|
|
52
|
-
visible: boolean;
|
|
53
|
-
path: string;
|
|
54
|
-
renderers: import("@jsonforms/core").JsonFormsRendererRegistryEntry[];
|
|
55
|
-
};
|
|
56
|
-
handleChange(path: string, value: any): void;
|
|
57
|
-
isDirty: boolean;
|
|
58
|
-
}, unknown, {}, {
|
|
59
|
-
updateValue(value: string): void;
|
|
60
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
-
schema: {
|
|
62
|
-
required: true;
|
|
63
|
-
type: import("vue").PropType<import("@jsonforms/core").JsonSchema>;
|
|
64
|
-
};
|
|
65
|
-
uischema: {
|
|
66
|
-
required: true;
|
|
67
|
-
type: import("vue").PropType<ControlElement>;
|
|
68
|
-
};
|
|
69
|
-
path: {
|
|
70
|
-
required: true;
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
};
|
|
73
|
-
enabled: {
|
|
74
|
-
required: false;
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
default: undefined;
|
|
77
|
-
};
|
|
78
|
-
renderers: {
|
|
79
|
-
required: boolean;
|
|
80
|
-
type: import("vue").PropType<import("@jsonforms/core").JsonFormsRendererRegistryEntry[]>;
|
|
81
|
-
default: undefined;
|
|
82
|
-
};
|
|
83
|
-
cells: {
|
|
84
|
-
required: boolean;
|
|
85
|
-
type: import("vue").PropType<import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[]>;
|
|
86
|
-
default: undefined;
|
|
87
|
-
};
|
|
88
|
-
config: {
|
|
89
|
-
required: boolean;
|
|
90
|
-
type: ObjectConstructor;
|
|
91
|
-
default: undefined;
|
|
92
|
-
};
|
|
93
|
-
}>>, {
|
|
94
|
-
config: Record<string, any>;
|
|
95
|
-
enabled: boolean;
|
|
96
|
-
renderers: import("@jsonforms/core").JsonFormsRendererRegistryEntry[];
|
|
97
|
-
cells: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
|
|
98
|
-
}>;
|
|
99
|
-
export default _default;
|