@wise/dynamic-flow-types 3.15.1 → 3.17.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/build/main.js +85 -41
- package/build/main.mjs +85 -41
- package/build/next/feature/SuggestionsValue.d.ts +5 -0
- package/build/next/feature/toolbar/Toolbar.d.ts +4 -0
- package/build/next/feature/toolbar/ToolbarButton.d.ts +4 -0
- package/build/next/layout/AlertLayout.d.ts +4 -0
- package/build/next/layout/BoxLayout.d.ts +4 -0
- package/build/next/layout/ButtonLayout.d.ts +4 -0
- package/build/next/layout/ColumnsLayout.d.ts +4 -0
- package/build/next/layout/DecisionLayout.d.ts +4 -0
- package/build/next/layout/DecisionLayoutOption.d.ts +6 -1
- package/build/next/layout/DividerLayout.d.ts +4 -0
- package/build/next/layout/FormLayout.d.ts +4 -0
- package/build/next/layout/HeadingLayout.d.ts +4 -0
- package/build/next/layout/ImageLayout.d.ts +4 -0
- package/build/next/layout/InfoLayout.d.ts +4 -0
- package/build/next/layout/InstructionsLayout.d.ts +4 -0
- package/build/next/layout/InstructionsLayoutItem.d.ts +5 -0
- package/build/next/layout/ListLayout.d.ts +4 -0
- package/build/next/layout/ListLayoutItem.d.ts +10 -0
- package/build/next/layout/LoadingIndicatorLayout.d.ts +4 -0
- package/build/next/layout/MarkdownLayout.d.ts +4 -0
- package/build/next/layout/ModalLayout.d.ts +4 -0
- package/build/next/layout/ParagraphLayout.d.ts +4 -0
- package/build/next/layout/ProgressLayout.d.ts +4 -0
- package/build/next/layout/ReviewLayout.d.ts +4 -0
- package/build/next/layout/ReviewLayoutField.d.ts +5 -0
- package/build/next/layout/SearchLayout.d.ts +4 -0
- package/build/next/layout/SectionLayout.d.ts +4 -0
- package/build/next/layout/StatusListLayout.d.ts +4 -0
- package/build/next/layout/StatusListLayoutItem.d.ts +5 -0
- package/build/next/layout/TabsLayout.d.ts +4 -0
- package/build/next/layout/TabsLayoutTab.d.ts +5 -0
- package/build/next/schema/AllOfSchema.d.ts +4 -0
- package/build/next/schema/ArraySchemaList.d.ts +4 -0
- package/build/next/schema/ArraySchemaTuple.d.ts +4 -0
- package/build/next/schema/BlobSchema.d.ts +4 -0
- package/build/next/schema/BooleanSchema.d.ts +4 -0
- package/build/next/schema/ConstSchema.d.ts +4 -0
- package/build/next/schema/IntegerSchema.d.ts +4 -0
- package/build/next/schema/NumberSchema.d.ts +4 -0
- package/build/next/schema/ObjectSchema.d.ts +8 -0
- package/build/next/schema/OneOfSchema.d.ts +4 -0
- package/build/next/schema/StringSchema.d.ts +4 -0
- package/build/next/step/Step.d.ts +4 -0
- package/build/renderers/DecisionRendererProps.d.ts +2 -0
- package/build/renderers/InstructionsRendererProps.d.ts +2 -0
- package/build/renderers/ListRendererProps.d.ts +3 -0
- package/build/renderers/RendererProps.d.ts +1 -0
- package/build/renderers/RepeatableRendererProps.d.ts +1 -0
- package/build/renderers/ReviewRendererProps.d.ts +2 -0
- package/build/renderers/SelectInputRendererProps.d.ts +1 -0
- package/build/renderers/StatusListRendererProps.d.ts +2 -0
- package/build/renderers/StepRendererProps.d.ts +3 -0
- package/build/renderers/Suggestions.d.ts +2 -0
- package/build/renderers/TabsRendererProps.d.ts +2 -0
- package/build/zod/schemas.d.ts +49 -0
- package/build/zod/schemas.ts +722 -677
- package/package.json +5 -5
|
@@ -30,6 +30,7 @@ export type ReviewLayoutField = {
|
|
|
30
30
|
help?: Help;
|
|
31
31
|
/**
|
|
32
32
|
* An optional identifier to be used in custom renderers.
|
|
33
|
+
* @deprecated Please use 'tags' instead
|
|
33
34
|
*/
|
|
34
35
|
tag?: string;
|
|
35
36
|
/**
|
|
@@ -60,4 +61,8 @@ export type ReviewLayoutField = {
|
|
|
60
61
|
* An optional identifier to be used in analytics tracking.
|
|
61
62
|
*/
|
|
62
63
|
analyticsId?: string;
|
|
64
|
+
/**
|
|
65
|
+
* An optional list of identifiers used to configure renderers.
|
|
66
|
+
*/
|
|
67
|
+
tags?: string[];
|
|
63
68
|
};
|
|
@@ -27,10 +27,15 @@ export type StatusListLayoutItem = {
|
|
|
27
27
|
callToAction?: ItemCallToAction;
|
|
28
28
|
/**
|
|
29
29
|
* An optional identifier to be used in custom renderers.
|
|
30
|
+
* @deprecated Please use 'tags' instead
|
|
30
31
|
*/
|
|
31
32
|
tag?: string;
|
|
32
33
|
/**
|
|
33
34
|
* An optional identifier to be used in analytics tracking.
|
|
34
35
|
*/
|
|
35
36
|
analyticsId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* An optional list of identifiers used to configure renderers.
|
|
39
|
+
*/
|
|
40
|
+
tags?: string[];
|
|
36
41
|
};
|
|
@@ -13,10 +13,15 @@ export type TabsLayoutTab = {
|
|
|
13
13
|
components: Layout[];
|
|
14
14
|
/**
|
|
15
15
|
* An optional identifier to be used in custom renderers.
|
|
16
|
+
* @deprecated Please use 'tags' instead
|
|
16
17
|
*/
|
|
17
18
|
tag?: string;
|
|
18
19
|
/**
|
|
19
20
|
* An optional identifier to be used in analytics tracking.
|
|
20
21
|
*/
|
|
21
22
|
analyticsId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* An optional list of identifiers used to configure renderers.
|
|
25
|
+
*/
|
|
26
|
+
tags?: string[];
|
|
22
27
|
};
|
|
@@ -98,4 +98,12 @@ export type ObjectSchema = {
|
|
|
98
98
|
* A media object which the client can use to represent this entity.
|
|
99
99
|
*/
|
|
100
100
|
media?: Media;
|
|
101
|
+
/**
|
|
102
|
+
* An optional list of identifiers used to configure renderers.
|
|
103
|
+
*/
|
|
104
|
+
tags?: string[];
|
|
105
|
+
/**
|
|
106
|
+
* The type of data the object represents.
|
|
107
|
+
*/
|
|
108
|
+
format?: string;
|
|
101
109
|
};
|
|
@@ -19,7 +19,9 @@ export type DecisionOption = {
|
|
|
19
19
|
image?: Image;
|
|
20
20
|
keywords?: string[];
|
|
21
21
|
media?: Media;
|
|
22
|
+
/** @deprecated Please use `tags` instead. */
|
|
22
23
|
tag?: string;
|
|
24
|
+
tags?: string[];
|
|
23
25
|
title: string;
|
|
24
26
|
/** @experimental This feature may be changed in the future without notice. */
|
|
25
27
|
additionalText?: string;
|
|
@@ -26,11 +26,14 @@ export type ListItem = {
|
|
|
26
26
|
value?: string;
|
|
27
27
|
/** @deprecated Use `supportedValues` instead. */
|
|
28
28
|
subvalue?: string;
|
|
29
|
+
/** @deprecated Please use `tags` instead. */
|
|
29
30
|
tag?: string;
|
|
31
|
+
tags?: string[];
|
|
30
32
|
/** @experimental This feature may be changed in the future without notice. */
|
|
31
33
|
supportingValues?: SupportingValues;
|
|
32
34
|
/** @experimental This feature may be changed in the future without notice. */
|
|
33
35
|
additionalInfo?: AdditionalInfo;
|
|
34
36
|
/** @experimental This feature may be changed in the future without notice. */
|
|
35
37
|
inlineAlert?: InlineAlert;
|
|
38
|
+
callToAction?: CallToAction;
|
|
36
39
|
};
|
|
@@ -18,7 +18,9 @@ export type ReviewField = {
|
|
|
18
18
|
label: string;
|
|
19
19
|
value: string;
|
|
20
20
|
rawValue?: string;
|
|
21
|
+
/** @deprecated Please use `tags` instead. */
|
|
21
22
|
tag?: string;
|
|
23
|
+
tags?: string[];
|
|
22
24
|
/** @experimental This feature may be changed in the future without notice. */
|
|
23
25
|
additionalInfo?: AdditionalInfo;
|
|
24
26
|
/** @experimental This feature may be changed in the future without notice. */
|
|
@@ -15,6 +15,8 @@ export type StatusListItem = {
|
|
|
15
15
|
status?: 'done' | 'not-done' | 'pending';
|
|
16
16
|
title: string;
|
|
17
17
|
callToAction?: CallToAction;
|
|
18
|
+
/** @deprecated Please use `tags` instead. */
|
|
18
19
|
tag?: string;
|
|
20
|
+
tags?: string[];
|
|
19
21
|
};
|
|
20
22
|
export type StatusListItemStatus = 'done' | 'not-done' | 'pending';
|
|
@@ -32,6 +32,7 @@ export type StepRendererProps = BaseRendererProps & {
|
|
|
32
32
|
*/
|
|
33
33
|
loadingState: LoadingState;
|
|
34
34
|
title?: string;
|
|
35
|
+
tags?: string[];
|
|
35
36
|
/**
|
|
36
37
|
* @experimental Please do not use this property. It is only here to support a legacy camera step.
|
|
37
38
|
* @deprecated Please use childrenProps instead.
|
|
@@ -49,6 +50,7 @@ type Toolbar = {
|
|
|
49
50
|
type: 'toolbar';
|
|
50
51
|
control?: string;
|
|
51
52
|
items: ToolbarItem[];
|
|
53
|
+
tags?: string[];
|
|
52
54
|
};
|
|
53
55
|
type ToolbarItem = ToolbarButton;
|
|
54
56
|
type ToolbarButton = {
|
|
@@ -60,6 +62,7 @@ type ToolbarButton = {
|
|
|
60
62
|
context?: Context;
|
|
61
63
|
disabled: boolean;
|
|
62
64
|
analyticsId?: string;
|
|
65
|
+
tags?: string[];
|
|
63
66
|
onClick?: () => void;
|
|
64
67
|
};
|
|
65
68
|
export {};
|