@wise/dynamic-flow-types 4.18.0-experimental-2dcb025 → 4.18.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/renderers/RendererProps.d.ts +2 -3
- package/build/renderers/RendererProps.d.ts.map +1 -1
- package/build/renderers/constants.d.ts +1 -1
- package/build/renderers/constants.d.ts.map +1 -1
- package/build/renderers/index.d.ts +0 -1
- package/build/renderers/index.d.ts.map +1 -1
- package/build/spec/index.d.ts +2 -9
- package/build/spec/index.d.ts.map +1 -1
- package/build/spec/layout/Layout.d.ts +3 -4
- package/build/spec/layout/Layout.d.ts.map +1 -1
- package/build/spec/layout/StatusListLayoutItem.d.ts +2 -2
- package/build/spec/layout/StatusListLayoutItem.d.ts.map +1 -1
- package/build/spec/layout/{ItemCallToAction.d.ts → StatusListLayoutItemCallToAction.d.ts} +2 -2
- package/build/spec/layout/StatusListLayoutItemCallToAction.d.ts.map +1 -0
- package/build/spec/main.js +48 -115
- package/build/spec/main.mjs +48 -115
- package/build/spec/misc/Context.d.ts +1 -1
- package/build/spec/misc/Context.d.ts.map +1 -1
- package/build/spec/misc/media/MediaAvatar.d.ts +2 -2
- package/build/spec/misc/media/MediaAvatar.d.ts.map +1 -1
- package/build/spec/misc/media/MediaAvatarContent.d.ts +7 -0
- package/build/spec/misc/media/MediaAvatarContent.d.ts.map +1 -0
- package/build/spec/misc/media/{AvatarTextContent.d.ts → MediaAvatarTextContent.d.ts} +2 -2
- package/build/spec/misc/media/MediaAvatarTextContent.d.ts.map +1 -0
- package/build/spec/misc/media/{AvatarUriContent.d.ts → MediaAvatarUriContent.d.ts} +2 -2
- package/build/spec/misc/media/MediaAvatarUriContent.d.ts.map +1 -0
- package/build/spec/responses/search/SearchResultSearch.d.ts +2 -2
- package/build/spec/responses/search/SearchResultSearch.d.ts.map +1 -1
- package/build/spec/responses/search/{SearchSearchRequest.d.ts → SearchResultSearchSearchRequest.d.ts} +2 -2
- package/build/spec/responses/search/SearchResultSearchSearchRequest.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/zod/schemas.d.ts +356 -472
- package/build/zod/schemas.d.ts.map +1 -1
- package/build/zod/schemas.ts +816 -897
- package/package.json +3 -3
- package/build/renderers/CollectionRendererProps.d.ts +0 -69
- package/build/renderers/CollectionRendererProps.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayout.d.ts +0 -57
- package/build/spec/layout/CollectionLayout.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutCallToAction.d.ts +0 -19
- package/build/spec/layout/CollectionLayoutCallToAction.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutFilter.d.ts +0 -6
- package/build/spec/layout/CollectionLayoutFilter.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutItem.d.ts +0 -56
- package/build/spec/layout/CollectionLayoutItem.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutSearch.d.ts +0 -18
- package/build/spec/layout/CollectionLayoutSearch.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutSection.d.ts +0 -24
- package/build/spec/layout/CollectionLayoutSection.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutSelectFilter.d.ts +0 -24
- package/build/spec/layout/CollectionLayoutSelectFilter.d.ts.map +0 -1
- package/build/spec/layout/CollectionLayoutState.d.ts +0 -30
- package/build/spec/layout/CollectionLayoutState.d.ts.map +0 -1
- package/build/spec/layout/ItemCallToAction.d.ts.map +0 -1
- package/build/spec/layout/SelectFilterOption.d.ts +0 -22
- package/build/spec/layout/SelectFilterOption.d.ts.map +0 -1
- package/build/spec/misc/media/AvatarContent.d.ts +0 -7
- package/build/spec/misc/media/AvatarContent.d.ts.map +0 -1
- package/build/spec/misc/media/AvatarTextContent.d.ts.map +0 -1
- package/build/spec/misc/media/AvatarUriContent.d.ts.map +0 -1
- package/build/spec/responses/search/SearchSearchRequest.d.ts.map +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { JSX } from 'react';
|
|
2
2
|
import type { AlertRendererProps } from './AlertRendererProps';
|
|
3
3
|
import type { BoxRendererProps } from './BoxRendererProps';
|
|
4
|
-
import type { CollectionRendererProps } from './CollectionRendererProps';
|
|
5
4
|
import type { ButtonRendererProps } from './ButtonRendererProps';
|
|
6
5
|
import type { CheckboxInputRendererProps } from './CheckboxInputRendererProps';
|
|
7
6
|
import type { ColumnsRendererProps } from './ColumnsRendererProps';
|
|
@@ -44,7 +43,7 @@ import { TabsRendererProps } from './TabsRendererProps';
|
|
|
44
43
|
import type { TextInputRendererProps } from './TextInputRendererProps';
|
|
45
44
|
import type { UploadInputRendererProps } from './UploadInputRendererProps';
|
|
46
45
|
import type { UpsellRendererProps } from './UpsellRendererProps';
|
|
47
|
-
export type RendererProps = AlertRendererProps | CheckboxInputRendererProps | BoxRendererProps |
|
|
46
|
+
export type RendererProps = AlertRendererProps | CheckboxInputRendererProps | BoxRendererProps | ButtonRendererProps | ColumnsRendererProps | CoreContainerRendererProps | DateInputRendererProps | DecisionRendererProps | DividerRendererProps | ExternalConfirmationRendererProps | FormattedValueRendererProps | FormRendererProps | HeadingRendererProps | HiddenRendererProps | ImageRendererProps | LoadingStateRendererProps | InstructionsRendererProps | IntegerInputRendererProps | ListRendererProps | LoadingIndicatorRendererProps | MarkdownRendererProps | MediaRendererProps | ModalLayoutRendererProps | ModalRendererProps | MoneyInputRendererProps | MultiSelectInputRendererProps | MultiUploadInputRendererProps | NativeSubflowRendererProps | NumberInputRendererProps | ParagraphRendererProps | ProgressRendererProps | RepeatableRendererProps | ReviewRendererProps | RootRendererProps | SearchRendererProps | FormSectionRendererProps | SelectInputRendererProps | SectionRendererProps | StatusListRendererProps | StepRendererProps | DynamicSubflowRendererProps | TabsRendererProps | TextInputRendererProps | UploadInputRendererProps | UpsellRendererProps;
|
|
48
47
|
export type Renderer<P extends RendererProps> = {
|
|
49
48
|
canRenderType: P['type'];
|
|
50
49
|
canRender?: (props: P) => boolean;
|
|
@@ -54,7 +53,7 @@ export type RendererContext = {
|
|
|
54
53
|
render: RenderFunction;
|
|
55
54
|
};
|
|
56
55
|
export type RenderFunction = (props: RendererProps | null) => JSX.Element | null;
|
|
57
|
-
export type Renderers = readonly (Renderer<StepRendererProps> | Renderer<CoreContainerRendererProps> | Renderer<AlertRendererProps> | Renderer<BoxRendererProps> | Renderer<
|
|
56
|
+
export type Renderers = readonly (Renderer<StepRendererProps> | Renderer<CoreContainerRendererProps> | Renderer<AlertRendererProps> | Renderer<BoxRendererProps> | Renderer<ColumnsRendererProps> | Renderer<DecisionRendererProps> | Renderer<DividerRendererProps> | Renderer<ExternalConfirmationRendererProps> | Renderer<FormattedValueRendererProps> | Renderer<FormRendererProps> | Renderer<HeadingRendererProps> | Renderer<LoadingStateRendererProps> | Renderer<InstructionsRendererProps> | Renderer<ListRendererProps> | Renderer<LoadingIndicatorRendererProps> | Renderer<MarkdownRendererProps> | Renderer<ImageRendererProps> | Renderer<MediaRendererProps> | Renderer<ModalLayoutRendererProps> | Renderer<ModalRendererProps> | Renderer<ParagraphRendererProps> | Renderer<ProgressRendererProps> | Renderer<ReviewRendererProps> | Renderer<SearchRendererProps> | Renderer<StatusListRendererProps> | Renderer<CheckboxInputRendererProps> | Renderer<ButtonRendererProps> | Renderer<DateInputRendererProps> | Renderer<HiddenRendererProps> | Renderer<IntegerInputRendererProps> | Renderer<MoneyInputRendererProps> | Renderer<NativeSubflowRendererProps> | Renderer<NumberInputRendererProps> | Renderer<RepeatableRendererProps> | Renderer<RootRendererProps> | Renderer<FormSectionRendererProps> | Renderer<SelectInputRendererProps> | Renderer<SectionRendererProps> | Renderer<DynamicSubflowRendererProps> | Renderer<MultiSelectInputRendererProps> | Renderer<TabsRendererProps> | Renderer<TextInputRendererProps> | Renderer<UploadInputRendererProps> | Renderer<MultiUploadInputRendererProps> | Renderer<UpsellRendererProps>)[];
|
|
58
57
|
export type BaseRendererProps = {
|
|
59
58
|
uid: string;
|
|
60
59
|
analyticsId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RendererProps.d.ts","sourceRoot":"","sources":["../../src/renderers/RendererProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"RendererProps.d.ts","sourceRoot":"","sources":["../../src/renderers/RendererProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAC7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAA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B,EAAE,YAAY,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,KAAK,WAAW,GAAG,eAAe,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type Align = 'start' | 'center' | 'end';
|
|
2
2
|
export type Autocapitalization = 'none' | 'sentences' | 'words' | 'characters';
|
|
3
|
-
export type Context = 'positive' | 'negative' | 'warning' | 'neutral';
|
|
3
|
+
export type Context = 'positive' | 'negative' | 'warning' | 'neutral' | 'proposition';
|
|
4
4
|
export type { Margin, Size } from '../spec';
|
|
5
5
|
export type AnchorProps = {
|
|
6
6
|
href: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/renderers/constants.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC/C,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,YAAY,CAAC;AAC/E,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/renderers/constants.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAC/C,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,YAAY,CAAC;AAC/E,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,CAAC;AAEtF,YAAY,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,MAAM,WAAW,GACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,GACtD;IAAE,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC;AAE7B,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,WAAW,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { JsonElement, Presentation } from '../spec';
|
|
|
3
3
|
import { NativeSubflowRendererProps } from './SubflowRendererProps';
|
|
4
4
|
export type { AlertRendererProps } from './AlertRendererProps';
|
|
5
5
|
export type { BoxRendererProps } from './BoxRendererProps';
|
|
6
|
-
export type { CollectionRendererProps, CollectionSection, CollectionItem, CollectionSearch, CollectionFilter, CollectionFilterOption, } from './CollectionRendererProps';
|
|
7
6
|
export type { ButtonRendererProps } from './ButtonRendererProps';
|
|
8
7
|
export type { CheckboxInputRendererProps } from './CheckboxInputRendererProps';
|
|
9
8
|
export type { ColumnsRendererProps } from './ColumnsRendererProps';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/renderers/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAE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AE,CAAC,OAAO,EAAE,WAAW,GAAG,SAAS,KAAK,YAAY,CAAC,MAAM,CAAC,CAAC;IAChF,MAAM,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC;CACnE,CAAC"}
|
package/build/spec/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export type { Context } from './misc/Context';
|
|
|
31
31
|
export type { Icon } from './misc/Icon';
|
|
32
32
|
export type { Image } from './misc/Image';
|
|
33
33
|
export type { InlineAlert } from './misc/InlineAlert';
|
|
34
|
-
export type { AvatarContent } from './misc/media/
|
|
34
|
+
export type { MediaAvatarContent as AvatarContent, MediaAvatarContent, } from './misc/media/MediaAvatarContent';
|
|
35
35
|
export type { Media } from './misc/media/Media';
|
|
36
36
|
export type { MediaAvatar } from './misc/media/MediaAvatar';
|
|
37
37
|
export type { MediaImage } from './misc/media/MediaImage';
|
|
@@ -43,13 +43,6 @@ export type { AlertLayoutCallToAction } from './layout/AlertLayoutCallToAction';
|
|
|
43
43
|
export type { BoxLayout } from './layout/BoxLayout';
|
|
44
44
|
export type { ButtonLayout } from './layout/ButtonLayout';
|
|
45
45
|
export type { ColumnsLayout } from './layout/ColumnsLayout';
|
|
46
|
-
export type { CollectionLayout } from './layout/CollectionLayout';
|
|
47
|
-
export type { CollectionLayoutCallToAction } from './layout/CollectionLayoutCallToAction';
|
|
48
|
-
export type { CollectionLayoutFilter } from './layout/CollectionLayoutFilter';
|
|
49
|
-
export type { CollectionLayoutSearch } from './layout/CollectionLayoutSearch';
|
|
50
|
-
export type { CollectionLayoutSection } from './layout/CollectionLayoutSection';
|
|
51
|
-
export type { CollectionLayoutState } from './layout/CollectionLayoutState';
|
|
52
|
-
export type { CollectionLayoutItem } from './layout/CollectionLayoutItem';
|
|
53
46
|
export type { DecisionLayout } from './layout/DecisionLayout';
|
|
54
47
|
export type { DecisionLayoutOption } from './layout/DecisionLayoutOption';
|
|
55
48
|
export type { DividerLayout } from './layout/DividerLayout';
|
|
@@ -58,7 +51,7 @@ export type { ImageLayout } from './layout/ImageLayout';
|
|
|
58
51
|
export type { InfoLayout } from './layout/InfoLayout';
|
|
59
52
|
export type { InstructionsLayout } from './layout/InstructionsLayout';
|
|
60
53
|
export type { InstructionsLayoutItem } from './layout/InstructionsLayoutItem';
|
|
61
|
-
export type { ItemCallToAction } from './layout/
|
|
54
|
+
export type { StatusListLayoutItemCallToAction as ItemCallToAction, StatusListLayoutItemCallToAction, } from './layout/StatusListLayoutItemCallToAction';
|
|
62
55
|
export type { Layout } from './layout/Layout';
|
|
63
56
|
export type { ListLayout } from './layout/ListLayout';
|
|
64
57
|
export type { ListLayoutCallToAction } from './layout/ListLayoutCallToAction';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/spec/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE7E,YAAY,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AACjF,YAAY,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACjF,YAAY,EAAE,iBAAiB,EAAE,MAAM,qCAA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@@
|
|
|
1
1
|
import type { AlertLayout } from './AlertLayout';
|
|
2
2
|
import type { BoxLayout } from './BoxLayout';
|
|
3
3
|
import type { ButtonLayout } from './ButtonLayout';
|
|
4
|
-
import { CollectionLayout } from './CollectionLayout';
|
|
5
4
|
import type { ColumnsLayout } from './ColumnsLayout';
|
|
6
5
|
import type { DecisionLayout } from './DecisionLayout';
|
|
7
6
|
import type { DividerLayout } from './DividerLayout';
|
|
@@ -24,7 +23,7 @@ import type { StatusListLayout } from './StatusListLayout';
|
|
|
24
23
|
import type { TabsLayout } from './TabsLayout';
|
|
25
24
|
import type { UpsellLayout } from './UpsellLayout';
|
|
26
25
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export type Layout = AlertLayout | BoxLayout | ButtonLayout |
|
|
26
|
+
* Layouts allow you to display information to the user and customise how a step is structured.
|
|
27
|
+
*/
|
|
28
|
+
export type Layout = AlertLayout | BoxLayout | ButtonLayout | ColumnsLayout | DecisionLayout | DividerLayout | FormLayout | HeadingLayout | ImageLayout | InfoLayout | InstructionsLayout | ListLayout | LoadingIndicatorLayout | MarkdownLayout | MediaLayout | ModalLayout | ParagraphLayout | ProgressLayout | ReviewLayout | SearchLayout | SectionLayout | StatusListLayout | TabsLayout | UpsellLayout;
|
|
30
29
|
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../src/spec/layout/Layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../src/spec/layout/Layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CA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AAW,GAAG,SAAS,GAAG,YAAY,GAAG,aAAa,GAAG,cAAc,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,GAAG,WAAW,GAAG,UAAU,GAAG,kBAAkB,GAAG,UAAU,GAAG,sBAAsB,GAAG,cAAc,GAAG,WAAW,GAAG,WAAW,GAAG,eAAe,GAAG,cAAc,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,GAAG,gBAAgB,GAAG,UAAU,GAAG,YAAY,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Icon } from '../misc/Icon';
|
|
2
2
|
import type { StatusListLayoutStatus } from './StatusListLayoutStatus';
|
|
3
|
-
import type {
|
|
3
|
+
import type { StatusListLayoutItemCallToAction } from './StatusListLayoutItemCallToAction';
|
|
4
4
|
/**
|
|
5
5
|
* A single entry in a [StatusListLayout].
|
|
6
6
|
*/
|
|
@@ -24,7 +24,7 @@ export type StatusListLayoutItem = {
|
|
|
24
24
|
/**
|
|
25
25
|
* A titled call to action which can be performed by the user.
|
|
26
26
|
*/
|
|
27
|
-
callToAction?:
|
|
27
|
+
callToAction?: StatusListLayoutItemCallToAction;
|
|
28
28
|
/**
|
|
29
29
|
* An optional identifier to be used in custom renderers.
|
|
30
30
|
* @deprecated Please use 'tags' instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusListLayoutItem.d.ts","sourceRoot":"","sources":["../../../src/spec/layout/StatusListLayoutItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"StatusListLayoutItem.d.ts","sourceRoot":"","sources":["../../../src/spec/layout/StatusListLayoutItem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAE1F;;EAEE;AACF,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;MAEE;IACF,KAAK,EAAE,MAAM,CAAC;IACd;;MAEE;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;MAEE;IACF,IAAI,EAAE,IAAI,CAAC;IACX;;MAEE;IACF,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC;;MAEE;IACF,YAAY,CAAC,EAAE,gCAAgC,CAAC;IAChD;;;MAGE;IACF,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;MAEE;IACF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;MAEE;IACF,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { Context } from '../misc/Context';
|
|
|
3
3
|
/**
|
|
4
4
|
* The call to action configuration to be used by the [com.wise.dynamicflow.layout.StatusListLayout.Item].
|
|
5
5
|
*/
|
|
6
|
-
export type
|
|
6
|
+
export type StatusListLayoutItemCallToAction = {
|
|
7
7
|
/**
|
|
8
8
|
* A user-facing title.
|
|
9
9
|
*/
|
|
@@ -21,4 +21,4 @@ export type ItemCallToAction = {
|
|
|
21
21
|
*/
|
|
22
22
|
context?: Context;
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=StatusListLayoutItemCallToAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusListLayoutItemCallToAction.d.ts","sourceRoot":"","sources":["../../../src/spec/layout/StatusListLayoutItemCallToAction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C;;EAEE;AACF,MAAM,MAAM,gCAAgC,GAAG;IAC3C;;MAEE;IACF,KAAK,EAAE,MAAM,CAAC;IACd;;MAEE;IACF,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;MAEE;IACF,QAAQ,EAAE,QAAQ,CAAC;IACnB;;MAEE;IACF,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC"}
|
package/build/spec/main.js
CHANGED
|
@@ -57,6 +57,7 @@ var contextSchema = import_zod.z.union([
|
|
|
57
57
|
import_zod.z.literal("neutral"),
|
|
58
58
|
import_zod.z.literal("warning"),
|
|
59
59
|
import_zod.z.literal("negative"),
|
|
60
|
+
import_zod.z.literal("proposition"),
|
|
60
61
|
import_zod.z.literal("success"),
|
|
61
62
|
import_zod.z.literal("failure"),
|
|
62
63
|
import_zod.z.literal("info"),
|
|
@@ -93,25 +94,28 @@ var jsonElementSchema = import_zod.z.lazy(
|
|
|
93
94
|
);
|
|
94
95
|
var alignSchema = import_zod.z.union([import_zod.z.literal("left"), import_zod.z.literal("center"), import_zod.z.literal("right")]);
|
|
95
96
|
var iconSchema = import_zod.z.union([iconNamedSchema, iconTextSchema]);
|
|
96
|
-
var
|
|
97
|
-
type: import_zod.z.literal("
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
var mediaAvatarTextContentSchema = import_zod.z.object({
|
|
98
|
+
type: import_zod.z.literal("text"),
|
|
99
|
+
text: import_zod.z.string(),
|
|
100
|
+
badgeUri: import_zod.z.string().optional()
|
|
100
101
|
});
|
|
101
|
-
var
|
|
102
|
+
var mediaAvatarUriContentSchema = import_zod.z.object({
|
|
102
103
|
type: import_zod.z.literal("uri"),
|
|
103
104
|
uri: import_zod.z.string(),
|
|
104
105
|
badgeUri: import_zod.z.string().optional()
|
|
105
106
|
});
|
|
106
|
-
var
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
var mediaAvatarContentSchema = import_zod.z.union([
|
|
108
|
+
mediaAvatarTextContentSchema,
|
|
109
|
+
mediaAvatarUriContentSchema
|
|
110
|
+
]);
|
|
111
|
+
var mediaImageSchema = import_zod.z.object({
|
|
112
|
+
type: import_zod.z.literal("image"),
|
|
113
|
+
uri: import_zod.z.string(),
|
|
114
|
+
accessibilityDescription: import_zod.z.string().optional()
|
|
110
115
|
});
|
|
111
|
-
var avatarContentSchema = import_zod.z.union([avatarTextContentSchema, avatarUriContentSchema]);
|
|
112
116
|
var mediaAvatarSchema = import_zod.z.object({
|
|
113
117
|
type: import_zod.z.literal("avatar"),
|
|
114
|
-
content: import_zod.z.array(
|
|
118
|
+
content: import_zod.z.array(mediaAvatarContentSchema),
|
|
115
119
|
accessibilityDescription: import_zod.z.string().optional()
|
|
116
120
|
});
|
|
117
121
|
var autocompleteTokenSchema = import_zod.z.union([
|
|
@@ -188,11 +192,6 @@ var loadingIndicatorLayoutSchema = import_zod.z.object({
|
|
|
188
192
|
tags: import_zod.z.array(import_zod.z.string()).optional()
|
|
189
193
|
});
|
|
190
194
|
var mediaSchema = import_zod.z.union([mediaAvatarSchema, mediaImageSchema]);
|
|
191
|
-
var collectionLayoutSearchSchema = import_zod.z.object({
|
|
192
|
-
param: import_zod.z.string(),
|
|
193
|
-
title: import_zod.z.string().optional(),
|
|
194
|
-
hint: import_zod.z.string().optional()
|
|
195
|
-
});
|
|
196
195
|
var paragraphLayoutSchema = import_zod.z.object({
|
|
197
196
|
type: import_zod.z.literal("paragraph"),
|
|
198
197
|
text: import_zod.z.string(),
|
|
@@ -215,12 +214,6 @@ var listLayoutStatusSchema = import_zod.z.union([
|
|
|
215
214
|
import_zod.z.literal("neutral"),
|
|
216
215
|
import_zod.z.literal("positive")
|
|
217
216
|
]);
|
|
218
|
-
var selectFilterOptionSchema = import_zod.z.object({
|
|
219
|
-
value: import_zod.z.string(),
|
|
220
|
-
title: import_zod.z.string(),
|
|
221
|
-
accessibilityDescription: import_zod.z.string().optional(),
|
|
222
|
-
selected: import_zod.z.boolean().optional()
|
|
223
|
-
});
|
|
224
217
|
var requestSchema = import_zod.z.object({
|
|
225
218
|
url: import_zod.z.string(),
|
|
226
219
|
method: httpMethodSchema,
|
|
@@ -338,7 +331,7 @@ var columnsLayoutBiasSchema = import_zod.z.union([
|
|
|
338
331
|
import_zod.z.literal("right")
|
|
339
332
|
]);
|
|
340
333
|
var noOpResponseBodySchema = import_zod.z.object({});
|
|
341
|
-
var
|
|
334
|
+
var searchResultSearchSearchRequestSchema = import_zod.z.object({
|
|
342
335
|
url: import_zod.z.string(),
|
|
343
336
|
method: httpMethodSchema,
|
|
344
337
|
param: import_zod.z.string(),
|
|
@@ -350,7 +343,7 @@ var searchResultSearchSchema = import_zod.z.object({
|
|
|
350
343
|
description: import_zod.z.string().optional(),
|
|
351
344
|
icon: iconSchema.optional(),
|
|
352
345
|
image: imageSchema.optional(),
|
|
353
|
-
value:
|
|
346
|
+
value: searchResultSearchSearchRequestSchema,
|
|
354
347
|
media: mediaSchema.optional()
|
|
355
348
|
});
|
|
356
349
|
var errorResponseBodySchema = import_zod.z.object({
|
|
@@ -494,12 +487,6 @@ var containerBehaviorSchema = import_zod.z.object({
|
|
|
494
487
|
var suggestionsSchema = import_zod.z.object({
|
|
495
488
|
values: import_zod.z.array(suggestionsValueSchema)
|
|
496
489
|
});
|
|
497
|
-
var collectionLayoutSelectFilterSchema = import_zod.z.object({
|
|
498
|
-
type: import_zod.z.literal("select"),
|
|
499
|
-
param: import_zod.z.string(),
|
|
500
|
-
options: import_zod.z.array(selectFilterOptionSchema),
|
|
501
|
-
multiSelect: import_zod.z.boolean().optional()
|
|
502
|
-
});
|
|
503
490
|
var searchResultActionSchema = import_zod.z.object({
|
|
504
491
|
type: import_zod.z.literal("action"),
|
|
505
492
|
title: import_zod.z.string(),
|
|
@@ -525,7 +512,6 @@ var dynamicLaunchConfigSchema = import_zod.z.object({
|
|
|
525
512
|
presentation: presentationSchema
|
|
526
513
|
});
|
|
527
514
|
var launchConfigSchema = import_zod.z.union([dynamicLaunchConfigSchema, nativeLaunchConfigSchema]);
|
|
528
|
-
var collectionLayoutFilterSchema = collectionLayoutSelectFilterSchema;
|
|
529
515
|
var searchResponseBodySchema = import_zod.z.object({
|
|
530
516
|
type: import_zod.z.literal("results").optional(),
|
|
531
517
|
results: import_zod.z.array(searchResultSchema)
|
|
@@ -567,52 +553,6 @@ var reviewLayoutCallToActionSchema = import_zod.z.lazy(
|
|
|
567
553
|
context: contextSchema.optional()
|
|
568
554
|
})
|
|
569
555
|
);
|
|
570
|
-
var collectionLayoutStateSchema = import_zod.z.lazy(
|
|
571
|
-
() => import_zod.z.object({
|
|
572
|
-
sections: import_zod.z.array(collectionLayoutSectionSchema),
|
|
573
|
-
nextCursor: import_zod.z.string().optional(),
|
|
574
|
-
filters: import_zod.z.array(collectionLayoutFilterSchema).optional(),
|
|
575
|
-
beforeSections: import_zod.z.array(layoutSchema).optional(),
|
|
576
|
-
afterSections: import_zod.z.array(layoutSchema).optional()
|
|
577
|
-
})
|
|
578
|
-
);
|
|
579
|
-
var collectionLayoutSectionSchema = import_zod.z.lazy(
|
|
580
|
-
() => import_zod.z.object({
|
|
581
|
-
id: import_zod.z.string(),
|
|
582
|
-
items: import_zod.z.array(collectionLayoutItemSchema),
|
|
583
|
-
title: import_zod.z.string().optional(),
|
|
584
|
-
callToAction: collectionLayoutCallToActionSchema.optional()
|
|
585
|
-
})
|
|
586
|
-
);
|
|
587
|
-
var layoutSchema = import_zod.z.lazy(
|
|
588
|
-
() => import_zod.z.union([
|
|
589
|
-
alertLayoutSchema,
|
|
590
|
-
boxLayoutSchema,
|
|
591
|
-
buttonLayoutSchema,
|
|
592
|
-
collectionLayoutSchema,
|
|
593
|
-
columnsLayoutSchema,
|
|
594
|
-
decisionLayoutSchema,
|
|
595
|
-
dividerLayoutSchema,
|
|
596
|
-
formLayoutSchema,
|
|
597
|
-
headingLayoutSchema,
|
|
598
|
-
imageLayoutSchema,
|
|
599
|
-
infoLayoutSchema,
|
|
600
|
-
instructionsLayoutSchema,
|
|
601
|
-
listLayoutSchema,
|
|
602
|
-
loadingIndicatorLayoutSchema,
|
|
603
|
-
markdownLayoutSchema,
|
|
604
|
-
mediaLayoutSchema,
|
|
605
|
-
modalLayoutSchema,
|
|
606
|
-
paragraphLayoutSchema,
|
|
607
|
-
progressLayoutSchema,
|
|
608
|
-
reviewLayoutSchema,
|
|
609
|
-
searchLayoutSchema,
|
|
610
|
-
sectionLayoutSchema,
|
|
611
|
-
statusListLayoutSchema,
|
|
612
|
-
tabsLayoutSchema,
|
|
613
|
-
upsellLayoutSchema
|
|
614
|
-
])
|
|
615
|
-
);
|
|
616
556
|
var tabsLayoutSchema = import_zod.z.lazy(
|
|
617
557
|
() => import_zod.z.object({
|
|
618
558
|
type: import_zod.z.literal("tabs"),
|
|
@@ -652,26 +592,12 @@ var alertLayoutCallToActionSchema = import_zod.z.lazy(
|
|
|
652
592
|
context: contextSchema.optional()
|
|
653
593
|
})
|
|
654
594
|
);
|
|
655
|
-
var
|
|
656
|
-
() => import_zod.z.object({
|
|
657
|
-
title: import_zod.z.string(),
|
|
658
|
-
description: import_zod.z.string().optional(),
|
|
659
|
-
disabled: import_zod.z.boolean().optional(),
|
|
660
|
-
primaryBehavior: behaviorSchema.optional(),
|
|
661
|
-
callToAction: collectionLayoutCallToActionSchema.optional(),
|
|
662
|
-
additionalInfo: additionalInfoSchema.optional(),
|
|
663
|
-
supportingValues: supportingValuesSchema.optional(),
|
|
664
|
-
inlineAlert: inlineAlertSchema.optional(),
|
|
665
|
-
media: mediaSchema.optional(),
|
|
666
|
-
analyticsId: import_zod.z.string().optional(),
|
|
667
|
-
tags: import_zod.z.array(import_zod.z.string()).optional()
|
|
668
|
-
})
|
|
669
|
-
);
|
|
670
|
-
var collectionLayoutCallToActionSchema = import_zod.z.lazy(
|
|
595
|
+
var statusListLayoutItemCallToActionSchema = import_zod.z.lazy(
|
|
671
596
|
() => import_zod.z.object({
|
|
672
597
|
title: import_zod.z.string(),
|
|
673
598
|
accessibilityDescription: import_zod.z.string().optional(),
|
|
674
|
-
behavior: behaviorSchema
|
|
599
|
+
behavior: behaviorSchema,
|
|
600
|
+
context: contextSchema.optional()
|
|
675
601
|
})
|
|
676
602
|
);
|
|
677
603
|
var listLayoutSchema = import_zod.z.lazy(
|
|
@@ -790,25 +716,12 @@ var statusListLayoutItemSchema = import_zod.z.lazy(
|
|
|
790
716
|
description: import_zod.z.string().optional(),
|
|
791
717
|
icon: iconSchema,
|
|
792
718
|
status: statusListLayoutStatusSchema.optional(),
|
|
793
|
-
callToAction:
|
|
719
|
+
callToAction: statusListLayoutItemCallToActionSchema.optional(),
|
|
794
720
|
tag: import_zod.z.string().optional(),
|
|
795
721
|
analyticsId: import_zod.z.string().optional(),
|
|
796
722
|
tags: import_zod.z.array(import_zod.z.string()).optional()
|
|
797
723
|
})
|
|
798
724
|
);
|
|
799
|
-
var collectionLayoutSchema = import_zod.z.lazy(
|
|
800
|
-
() => import_zod.z.object({
|
|
801
|
-
type: import_zod.z.literal("collection"),
|
|
802
|
-
url: import_zod.z.string(),
|
|
803
|
-
method: httpMethodSchema,
|
|
804
|
-
initialState: collectionLayoutStateSchema,
|
|
805
|
-
search: collectionLayoutSearchSchema.optional(),
|
|
806
|
-
control: import_zod.z.string().optional(),
|
|
807
|
-
margin: sizeSchema.optional(),
|
|
808
|
-
analyticsId: import_zod.z.string().optional(),
|
|
809
|
-
tags: import_zod.z.array(import_zod.z.string()).optional()
|
|
810
|
-
})
|
|
811
|
-
);
|
|
812
725
|
var sectionLayoutSchema = import_zod.z.lazy(
|
|
813
726
|
() => import_zod.z.object({
|
|
814
727
|
type: import_zod.z.literal("section"),
|
|
@@ -821,13 +734,33 @@ var sectionLayoutSchema = import_zod.z.lazy(
|
|
|
821
734
|
tags: import_zod.z.array(import_zod.z.string()).optional()
|
|
822
735
|
})
|
|
823
736
|
);
|
|
824
|
-
var
|
|
825
|
-
() => import_zod.z.
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
737
|
+
var layoutSchema = import_zod.z.lazy(
|
|
738
|
+
() => import_zod.z.union([
|
|
739
|
+
alertLayoutSchema,
|
|
740
|
+
boxLayoutSchema,
|
|
741
|
+
buttonLayoutSchema,
|
|
742
|
+
columnsLayoutSchema,
|
|
743
|
+
decisionLayoutSchema,
|
|
744
|
+
dividerLayoutSchema,
|
|
745
|
+
formLayoutSchema,
|
|
746
|
+
headingLayoutSchema,
|
|
747
|
+
imageLayoutSchema,
|
|
748
|
+
infoLayoutSchema,
|
|
749
|
+
instructionsLayoutSchema,
|
|
750
|
+
listLayoutSchema,
|
|
751
|
+
loadingIndicatorLayoutSchema,
|
|
752
|
+
markdownLayoutSchema,
|
|
753
|
+
mediaLayoutSchema,
|
|
754
|
+
modalLayoutSchema,
|
|
755
|
+
paragraphLayoutSchema,
|
|
756
|
+
progressLayoutSchema,
|
|
757
|
+
reviewLayoutSchema,
|
|
758
|
+
searchLayoutSchema,
|
|
759
|
+
sectionLayoutSchema,
|
|
760
|
+
statusListLayoutSchema,
|
|
761
|
+
tabsLayoutSchema,
|
|
762
|
+
upsellLayoutSchema
|
|
763
|
+
])
|
|
831
764
|
);
|
|
832
765
|
var searchLayoutSchema = import_zod.z.lazy(
|
|
833
766
|
() => import_zod.z.object({
|