@wise/dynamic-flow-client 5.16.1 → 5.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/i18n/nl.json +1 -1
- package/build/i18n/pt.json +1 -1
- package/build/i18n/ru.json +1 -1
- package/build/i18n/th.json +1 -1
- package/build/i18n/tr.json +1 -1
- package/build/i18n/zh_CN.json +4 -4
- package/build/main.js +712 -774
- package/build/main.mjs +712 -774
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/build/types/controller/FlowController.d.ts.map +1 -1
- package/build/types/controller/executeRequest.d.ts.map +1 -1
- package/build/types/domain/components/AlertComponent.d.ts +1 -1
- package/build/types/domain/components/AlertComponent.d.ts.map +1 -1
- package/build/types/domain/components/AllOfComponent.d.ts +1 -1
- package/build/types/domain/components/AllOfComponent.d.ts.map +1 -1
- package/build/types/domain/components/BooleanInputComponent.d.ts +2 -2
- package/build/types/domain/components/BooleanInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/BoxComponent.d.ts +1 -1
- package/build/types/domain/components/BoxComponent.d.ts.map +1 -1
- package/build/types/domain/components/ButtonComponent.d.ts +1 -1
- package/build/types/domain/components/ButtonComponent.d.ts.map +1 -1
- package/build/types/domain/components/ColumnsComponent.d.ts +1 -1
- package/build/types/domain/components/ColumnsComponent.d.ts.map +1 -1
- package/build/types/domain/components/ConstComponent.d.ts +1 -1
- package/build/types/domain/components/ConstComponent.d.ts.map +1 -1
- package/build/types/domain/components/ContainerComponent.d.ts +1 -1
- package/build/types/domain/components/ContainerComponent.d.ts.map +1 -1
- package/build/types/domain/components/DateInputComponent.d.ts +2 -2
- package/build/types/domain/components/DateInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/DecisionComponent.d.ts +3 -2
- package/build/types/domain/components/DecisionComponent.d.ts.map +1 -1
- package/build/types/domain/components/FormComponent.d.ts +1 -1
- package/build/types/domain/components/FormComponent.d.ts.map +1 -1
- package/build/types/domain/components/FormattedValueComponent.d.ts +1 -1
- package/build/types/domain/components/FormattedValueComponent.d.ts.map +1 -1
- package/build/types/domain/components/HeadingComponent.d.ts +1 -1
- package/build/types/domain/components/HeadingComponent.d.ts.map +1 -1
- package/build/types/domain/components/ImageComponent.d.ts +1 -1
- package/build/types/domain/components/ImageComponent.d.ts.map +1 -1
- package/build/types/domain/components/InstructionsComponent.d.ts +1 -1
- package/build/types/domain/components/InstructionsComponent.d.ts.map +1 -1
- package/build/types/domain/components/IntegerInputComponent.d.ts +2 -2
- package/build/types/domain/components/IntegerInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/ListComponent.d.ts +1 -1
- package/build/types/domain/components/ListComponent.d.ts.map +1 -1
- package/build/types/domain/components/LoadingIndicatorComponent.d.ts +1 -1
- package/build/types/domain/components/LoadingIndicatorComponent.d.ts.map +1 -1
- package/build/types/domain/components/MarkdownComponent.d.ts +1 -1
- package/build/types/domain/components/MarkdownComponent.d.ts.map +1 -1
- package/build/types/domain/components/ModalComponent.d.ts +1 -1
- package/build/types/domain/components/ModalComponent.d.ts.map +1 -1
- package/build/types/domain/components/ModalLayoutComponent.d.ts +1 -1
- package/build/types/domain/components/ModalLayoutComponent.d.ts.map +1 -1
- package/build/types/domain/components/MoneyInputComponent.d.ts +1 -1
- package/build/types/domain/components/MoneyInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/MultiSelectInputComponent.d.ts +2 -2
- package/build/types/domain/components/MultiSelectInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/MultiUploadInputComponent.d.ts +3 -3
- package/build/types/domain/components/MultiUploadInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/NumberInputComponent.d.ts +2 -2
- package/build/types/domain/components/NumberInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/ObjectComponent.d.ts +1 -1
- package/build/types/domain/components/ObjectComponent.d.ts.map +1 -1
- package/build/types/domain/components/ParagraphComponent.d.ts +1 -1
- package/build/types/domain/components/ParagraphComponent.d.ts.map +1 -1
- package/build/types/domain/components/PersistAsyncComponent.d.ts.map +1 -1
- package/build/types/domain/components/ProgressComponent.d.ts +1 -1
- package/build/types/domain/components/ProgressComponent.d.ts.map +1 -1
- package/build/types/domain/components/RepeatableComponent.d.ts +5 -5
- package/build/types/domain/components/RepeatableComponent.d.ts.map +1 -1
- package/build/types/domain/components/ReviewComponent.d.ts +1 -1
- package/build/types/domain/components/ReviewComponent.d.ts.map +1 -1
- package/build/types/domain/components/RootDomainComponent.d.ts.map +1 -1
- package/build/types/domain/components/SectionComponent.d.ts.map +1 -1
- package/build/types/domain/components/SelectInputComponent.d.ts +2 -2
- package/build/types/domain/components/SelectInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/StatusListComponent.d.ts +1 -1
- package/build/types/domain/components/StatusListComponent.d.ts.map +1 -1
- package/build/types/domain/components/SubflowComponent.d.ts +1 -1
- package/build/types/domain/components/SubflowComponent.d.ts.map +1 -1
- package/build/types/domain/components/TabsComponent.d.ts +1 -1
- package/build/types/domain/components/TabsComponent.d.ts.map +1 -1
- package/build/types/domain/components/TextInputComponent.d.ts +2 -2
- package/build/types/domain/components/TextInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/TupleComponent.d.ts +1 -1
- package/build/types/domain/components/TupleComponent.d.ts.map +1 -1
- package/build/types/domain/components/UploadInputComponent.d.ts +2 -2
- package/build/types/domain/components/UploadInputComponent.d.ts.map +1 -1
- package/build/types/domain/components/UpsellComponent.d.ts +2 -2
- package/build/types/domain/components/UpsellComponent.d.ts.map +1 -1
- package/build/types/domain/components/searchComponent/SearchComponent.d.ts +3 -3
- package/build/types/domain/components/searchComponent/SearchComponent.d.ts.map +1 -1
- package/build/types/domain/components/step/ExternalConfirmationComponent.d.ts.map +1 -1
- package/build/types/domain/components/step/StepDomainComponent.d.ts +5 -2
- package/build/types/domain/components/step/StepDomainComponent.d.ts.map +1 -1
- package/build/types/domain/features/eventNames.d.ts +1 -1
- package/build/types/domain/features/eventNames.d.ts.map +1 -1
- package/build/types/domain/features/events.d.ts +2 -0
- package/build/types/domain/features/events.d.ts.map +1 -1
- package/build/types/domain/mappers/layout/decisionLayoutToComponent.d.ts.map +1 -1
- package/build/types/domain/mappers/layout/reviewLayoutToComponent.d.ts.map +1 -1
- package/build/types/domain/mappers/mapStepToComponent.d.ts.map +1 -1
- package/build/types/domain/mappers/schema/persistAsyncSchemaToComponent.d.ts +15 -15
- package/build/types/domain/mappers/utils/FeatureFlags.d.ts +1 -1
- package/build/types/domain/mappers/utils/FeatureFlags.d.ts.map +1 -1
- package/build/types/domain/mappers/utils/behavior-utils.d.ts.map +1 -1
- package/build/types/domain/mappers/utils/call-to-action-utils.d.ts.map +1 -1
- package/build/types/domain/mappers/utils/getHrefWithTracking.d.ts +8 -0
- package/build/types/domain/mappers/utils/getHrefWithTracking.d.ts.map +1 -0
- package/build/types/domain/mappers/utils/utils.d.ts.map +1 -1
- package/build/types/domain/types.d.ts +10 -0
- package/build/types/domain/types.d.ts.map +1 -1
- package/build/types/renderers/mappers/alertComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/booleanInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/columnsComponentToProps.d.ts +1 -1
- package/build/types/renderers/mappers/columnsComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/containerComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/dateInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/decisionComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/externalComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/formComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/integerInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/listComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/modalComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/modalLayoutComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/multiSelectComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/multiUploadInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/numberInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/repeatableComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/reviewComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/searchComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/sectionComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/selectInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/statusListComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/textInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/uploadInputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/upsellComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/utils/inputComponentToProps.d.ts +13 -13
- package/build/types/renderers/mappers/utils/inputComponentToProps.d.ts.map +1 -1
- package/build/types/renderers/mappers/utils/mapCallToAction.d.ts +6 -0
- package/build/types/renderers/mappers/utils/mapCallToAction.d.ts.map +1 -0
- package/build/types/stories/utils/render-utils.d.ts.map +1 -1
- package/build/types/test-utils/DynamicFlowWise.d.ts.map +1 -1
- package/package.json +4 -4
- package/build/types/domain/components/utils/WithUpdate.d.ts +0 -5
- package/build/types/domain/components/utils/WithUpdate.d.ts.map +0 -1
|
@@ -15,10 +15,10 @@ export type RepeatableComponent = BaseSchemaComponent<LocalValueArray> & {
|
|
|
15
15
|
minItems?: number;
|
|
16
16
|
summaryDefaults: RepeatableSummary;
|
|
17
17
|
getChildren: () => SchemaComponent[];
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
addComponent: () => void;
|
|
19
|
+
editComponent: (itemIndex: number) => void;
|
|
20
|
+
removeComponent: () => void;
|
|
21
|
+
saveComponent: () => boolean;
|
|
22
22
|
};
|
|
23
23
|
type Summary = {
|
|
24
24
|
defaultTitle?: string;
|
|
@@ -28,7 +28,7 @@ type Summary = {
|
|
|
28
28
|
providesDescription?: boolean;
|
|
29
29
|
providesMedia?: boolean;
|
|
30
30
|
};
|
|
31
|
-
export declare const createRepeatableComponent: (
|
|
31
|
+
export declare const createRepeatableComponent: (props: Pick<RepeatableComponent, "uid" | "analyticsId" | "schemaId" | "id" | "addItemTitle" | "alert" | "components" | "control" | "description" | "editItemTitle" | "errors" | "hidden" | "media" | "maxItems" | "minItems" | "title" | "tags"> & {
|
|
32
32
|
checks: IsInvalidCheck<LocalValueArray | null>[];
|
|
33
33
|
summary?: Summary;
|
|
34
34
|
summariser: (value: LocalValueArray | null) => RepeatableSummary;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RepeatableComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/RepeatableComponent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EACV,mBAAmB,EACnB,WAAW,EACX,UAAU,EACV,eAAe,EACf,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"RepeatableComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/RepeatableComponent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EACV,mBAAmB,EACnB,WAAW,EACX,UAAU,EACV,eAAe,EACf,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,eAAe,CAAC,GAAG;IACvE,IAAI,EAAE,YAAY,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,YAAY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AK,iBAAiB,CAAC;IACjE,aAAa,EAAE,aAAa,CAAC;IAC7B,uBAAuB,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,eAAe,CAAC;CACjE,EACD,mBAAmB,iBAAiB,KACnC,mBAyHF,CAAC"}
|
|
@@ -18,5 +18,5 @@ export type ReviewField = {
|
|
|
18
18
|
media?: Media;
|
|
19
19
|
tags?: string[];
|
|
20
20
|
};
|
|
21
|
-
export declare const createReviewComponent: (
|
|
21
|
+
export declare const createReviewComponent: (props: Pick<ReviewComponent, "uid" | "analyticsId" | "callToAction" | "control" | "fields" | "margin" | "title" | "tags">) => ReviewComponent;
|
|
22
22
|
//# sourceMappingURL=ReviewComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReviewComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/ReviewComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,WAAW,EACX,KAAK,EACN,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,
|
|
1
|
+
{"version":3,"file":"ReviewComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/ReviewComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,YAAY,EACZ,WAAW,EACX,KAAK,EACN,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,OAAO,IAAI,CACT,eAAe,EACf,KAAK,GAAG,aAAa,GAAG,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAC5F,KACA,eAID,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RootDomainComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/RootDomainComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EACL,aAAa,EACb,eAAe,EACf,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"RootDomainComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/RootDomainComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AACtD,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EACL,aAAa,EACb,eAAe,EACf,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAGtD,MAAM,MAAM,UAAU,GAAG;IACvB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAC1C,SAAS,EAAE,mBAAmB,EAAE,CAAC;IACjC,UAAU,EAAE,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;CAC3C,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,mBAAmB,iBAAiB,EACpC,aAAa,WAAW,EACxB,YAAY,UAAU,EACtB,cAAc,YAAY,KACzB,mBAgJF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/SectionComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG;IACnD,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAE,MAAM,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,IAAI,CACT,gBAAgB,EAChB,KAAK,GAAG,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,GAAG,cAAc,GAAG,QAAQ,GAAG,MAAM,CAChG,KACA,
|
|
1
|
+
{"version":3,"file":"SectionComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/SectionComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE9E,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG;IACnD,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,WAAW,EAAE,MAAM,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,OAAO,IAAI,CACT,gBAAgB,EAChB,KAAK,GAAG,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,YAAY,GAAG,cAAc,GAAG,QAAQ,GAAG,MAAM,CAChG,KACA,gBAOD,CAAC"}
|
|
@@ -10,7 +10,7 @@ export type SelectInputComponent = BaseInputComponent<LocalValue | null> & {
|
|
|
10
10
|
options: SelectInputOption[];
|
|
11
11
|
children: SchemaComponent[];
|
|
12
12
|
validationAsyncState?: undefined;
|
|
13
|
-
|
|
13
|
+
selectIndex: (index: number | null) => void;
|
|
14
14
|
getChildren: () => SchemaComponent[];
|
|
15
15
|
getSelectedChild: () => SchemaComponent | null;
|
|
16
16
|
};
|
|
@@ -26,7 +26,7 @@ export type SelectInputOption = {
|
|
|
26
26
|
tags?: string[];
|
|
27
27
|
title: string;
|
|
28
28
|
};
|
|
29
|
-
export declare const createSelectInputComponent: (
|
|
29
|
+
export declare const createSelectInputComponent: (props: Pick<SelectInputComponent, "uid" | "id" | "analyticsId" | "alert" | "autoComplete" | "control" | "errors" | "description" | "disabled" | "help" | "hidden" | "placeholder" | "required" | "title" | "tags"> & {
|
|
30
30
|
initialModel: Model;
|
|
31
31
|
options: (SelectInputOption & {
|
|
32
32
|
component: SchemaComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/SelectInputComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EACjB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/SelectInputComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAIlB,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG;IACzE,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC5C,WAAW,EAAE,MAAM,eAAe,EAAE,CAAC;IACrC,gBAAgB,EAAE,MAAM,eAAe,GAAG,IAAI,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,OAAO,IAAI,CACT,oBAAoB,EAClB,KAAK,GACL,IAAI,GACJ,aAAa,GACb,OAAO,GACP,cAAc,GACd,SAAS,GACT,QAAQ,GACR,aAAa,GACb,UAAU,GACV,MAAM,GACN,QAAQ,GACR,aAAa,GACb,UAAU,GACV,OAAO,GACP,MAAM,CACT,GAAG;IACF,YAAY,EAAE,KAAK,CAAC;IACpB,OAAO,EAAE,CAAC,iBAAiB,GAAG;QAAE,SAAS,EAAE,eAAe,CAAA;KAAE,CAAC,EAAE,CAAC;IAChE,MAAM,EAAE,cAAc,CAAC,UAAU,CAAC,EAAE,CAAC;IACrC,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,iBAAiB,CAAC;IAC5D,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,wBAAwB,CAAC;CACtC,EACD,mBAAmB,iBAAiB,KACnC,oBAkFF,CAAC"}
|
|
@@ -17,5 +17,5 @@ export type StatusListItem = {
|
|
|
17
17
|
callToAction?: CallToAction;
|
|
18
18
|
tags?: string[];
|
|
19
19
|
};
|
|
20
|
-
export declare const createStatusListComponent: (
|
|
20
|
+
export declare const createStatusListComponent: (props: Pick<StatusListComponent, "uid" | "analyticsId" | "control" | "items" | "margin" | "title" | "tags">) => StatusListComponent;
|
|
21
21
|
//# sourceMappingURL=StatusListComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusListComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/StatusListComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACtD,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;IACzC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,
|
|
1
|
+
{"version":3,"file":"StatusListComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/StatusListComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG,mBAAmB,GAAG;IACtD,IAAI,EAAE,aAAa,CAAC;IACpB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1C,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC;IACzC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,OAAO,IAAI,CACT,mBAAmB,EACnB,KAAK,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAC1E,KACA,mBAID,CAAC"}
|
|
@@ -20,7 +20,7 @@ export type SubflowComponent = SubflowComponentBase & ({
|
|
|
20
20
|
id: string;
|
|
21
21
|
payload: JsonElement | undefined;
|
|
22
22
|
});
|
|
23
|
-
export declare const createSubflowComponent: (
|
|
23
|
+
export declare const createSubflowComponent: (props: Pick<SubflowComponent & {
|
|
24
24
|
subflowType: "dynamic";
|
|
25
25
|
}, "subflowType" | "initialRequest" | "presentation" | "requestCache" | "onCompletion" | "onCancellation" | "onError" | "onEvent"> | Pick<SubflowComponent & {
|
|
26
26
|
subflowType: "native";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubflowComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/SubflowComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"SubflowComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/SubflowComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,oCAA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|
|
11
11
|
};
|
|
12
|
-
export declare const createTabsComponent: (
|
|
12
|
+
export declare const createTabsComponent: (props: Pick<TabsComponent, "uid" | "analyticsId" | "control" | "margin" | "tabs" | "tags">) => TabsComponent;
|
|
13
13
|
//# sourceMappingURL=TabsComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TabsComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,GAAG,EAAE,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,
|
|
1
|
+
{"version":3,"file":"TabsComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TabsComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,GAAG,EAAE,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,GAAG,GAAG;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,OAAO,IAAI,CAAC,aAAa,EAAE,KAAK,GAAG,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC,KACzF,aAID,CAAC"}
|
|
@@ -13,9 +13,9 @@ export type TextInputComponent = BaseInputComponent<string | null> & {
|
|
|
13
13
|
suggestions?: Suggestions;
|
|
14
14
|
inlineAlert?: InlineAlert;
|
|
15
15
|
validationAsyncState: ValidationAsyncState;
|
|
16
|
-
|
|
16
|
+
setValue: (value: string | null) => void;
|
|
17
17
|
};
|
|
18
|
-
export declare const createTextInputComponent: (
|
|
18
|
+
export declare const createTextInputComponent: (props: Pick<TextInputComponent, "uid" | "id" | "analyticsId" | "alert" | "autocapitalization" | "autoComplete" | "control" | "errors" | "description" | "disabled" | "displayFormat" | "help" | "hidden" | "maxLength" | "media" | "minLength" | "pattern" | "placeholder" | "required" | "suggestions" | "inlineAlert" | "title" | "tags" | "value" | "validationAsyncState"> & {
|
|
19
19
|
checks: IsInvalidCheck<string | null>[];
|
|
20
20
|
performValidationAsync: PerformValidationAsync | undefined;
|
|
21
21
|
schemaOnChange: SchemaOnChange | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TextInputComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAE1E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AACpG,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACrB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"TextInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TextInputComponent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,E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;IACxC,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,CAAC;IAC3D,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,iBAAiB,CAAC;CACzD,EACD,mBAAmB,iBAAiB,KACnC,kBAgFF,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type TupleComponent = BaseSchemaComponent<LocalValueArray> & {
|
|
|
6
6
|
alert?: InlineAlert;
|
|
7
7
|
getChildren: () => SchemaComponent[];
|
|
8
8
|
};
|
|
9
|
-
export declare const createTupleComponent: (
|
|
9
|
+
export declare const createTupleComponent: (props: Pick<TupleComponent, "uid" | "schemaId" | "analyticsId" | "alert" | "control" | "description" | "components" | "help" | "hidden" | "media" | "schemaId" | "title" | "tags"> & {
|
|
10
10
|
summariser: (value: LocalValue | null) => RepeatableSummary;
|
|
11
11
|
}) => TupleComponent;
|
|
12
12
|
//# sourceMappingURL=TupleComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TupleComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TupleComponent.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC,eAAe,CAAC,GAAG;IAClE,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,MAAM,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,
|
|
1
|
+
{"version":3,"file":"TupleComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/TupleComponent.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,WAAW,EACX,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC,eAAe,CAAC,GAAG;IAClE,IAAI,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,WAAW,EAAE,MAAM,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,OAAO,IAAI,CACT,cAAc,EACZ,KAAK,GACL,UAAU,GACV,aAAa,GACb,OAAO,GACP,SAAS,GACT,aAAa,GACb,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,OAAO,GACP,UAAU,GACV,OAAO,GACP,MAAM,CACT,GAAG;IACF,UAAU,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,KAAK,iBAAiB,CAAC;CAC7D,KACA,cAuDF,CAAC"}
|
|
@@ -12,9 +12,9 @@ export type UploadInputComponent = BaseInputComponent<File | null> & {
|
|
|
12
12
|
source?: UploadSource;
|
|
13
13
|
validationAsyncState?: undefined;
|
|
14
14
|
base64Value: string | null;
|
|
15
|
-
|
|
15
|
+
setValue: (value: File | null) => Promise<void>;
|
|
16
16
|
};
|
|
17
|
-
export declare const createUploadInputComponent: (
|
|
17
|
+
export declare const createUploadInputComponent: (props: Pick<UploadInputComponent, "uid" | "id" | "accepts" | "analyticsId" | "alert" | "autoComplete" | "cameraConfig" | "control" | "errors" | "description" | "disabled" | "format" | "help" | "hidden" | "maxSize" | "media" | "placeholder" | "required" | "source" | "title" | "tags" | "value"> & {
|
|
18
18
|
checks: IsInvalidCheck<File | null>[];
|
|
19
19
|
schemaOnChange: SchemaOnChange | undefined;
|
|
20
20
|
onValueChange: OnValueChange;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/UploadInputComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,YAAY,EACb,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"UploadInputComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/UploadInputComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAErF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,YAAY,EACb,MAAM,UAAU,CAAC;AAIlB,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG;IACnE,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC1B,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,OAAO,IAAI,CACT,oBAAoB,EAClB,KAAK,GACL,IAAI,GACJ,SAAS,GACT,aAAa,GACb,OAAO,GACP,cAAc,GACd,cAAc,GACd,SAAS,GACT,QAAQ,GACR,aAAa,GACb,UAAU,GACV,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,SAAS,GACT,OAAO,GACP,aAAa,GACb,UAAU,GACV,QAAQ,GACR,OAAO,GACP,MAAM,GACN,OAAO,CACV,GAAG;IACF,MAAM,EAAE,cAAc,CAAC,IAAI,GAAG,IAAI,CAAC,EAAE,CAAC;IACtC,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,iBAAiB,CAAC;CACzD,EACD,mBAAmB,iBAAiB,KACnC,oBAmFF,CAAC"}
|
|
@@ -6,7 +6,7 @@ export type UpsellComponent = BaseLayoutComponent & {
|
|
|
6
6
|
callToAction: CallToAction;
|
|
7
7
|
media?: Media;
|
|
8
8
|
visible: boolean;
|
|
9
|
-
|
|
9
|
+
dismiss: (() => void) | undefined;
|
|
10
10
|
};
|
|
11
|
-
export declare const createUpsellComponent: (
|
|
11
|
+
export declare const createUpsellComponent: (props: Pick<UpsellComponent, "uid" | "analyticsId" | "callToAction" | "control" | "margin" | "media" | "tags" | "text" | "dismiss">, onComponentUpdate: OnComponentUpdate) => UpsellComponent;
|
|
12
12
|
//# sourceMappingURL=UpsellComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpsellComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/UpsellComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG5F,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,
|
|
1
|
+
{"version":3,"file":"UpsellComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/components/UpsellComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,YAAY,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAG5F,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,OAAO,IAAI,CACT,eAAe,EACb,KAAK,GACL,aAAa,GACb,cAAc,GACd,SAAS,GACT,QAAQ,GACR,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,CACZ,EACD,mBAAmB,iBAAiB,KACnC,eAmBF,CAAC"}
|
|
@@ -29,8 +29,8 @@ export type SearchComponent = BaseLayoutComponent & {
|
|
|
29
29
|
title: string;
|
|
30
30
|
state: SearchResultsState;
|
|
31
31
|
error?: string;
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
setQuery: (query: string) => void;
|
|
33
|
+
selectResult: (result: SearchResult) => void;
|
|
34
34
|
};
|
|
35
|
-
export declare const createSearchComponent: (
|
|
35
|
+
export declare const createSearchComponent: (props: Pick<SearchComponent, "uid" | "analyticsId" | "control" | "emptyMessage" | "initialState" | "hint" | "margin" | "tags" | "title">, performSearch: PerformSearch, onBehavior: OnBehavior, onComponentUpdate: OnComponentUpdate) => SearchComponent;
|
|
36
36
|
//# sourceMappingURL=SearchComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/components/searchComponent/SearchComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,iBAAiB,EAClB,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"SearchComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/components/searchComponent/SearchComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,KAAK,EACV,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,iBAAiB,EAClB,MAAM,aAAa,CAAC;AAIrB,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B,GACD;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB,CAAC;AAEN,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAAC;AAEvF,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IAClD,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,kBAAkB,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;CAC9C,CAAC;AAIF,eAAO,MAAM,qBAAqB,GAChC,OAAO,IAAI,CACT,eAAe,EACb,KAAK,GACL,aAAa,GACb,SAAS,GACT,cAAc,GACd,cAAc,GACd,MAAM,GACN,QAAQ,GACR,MAAM,GACN,OAAO,CACV,EACD,eAAe,aAAa,EAC5B,YAAY,UAAU,EACtB,mBAAmB,iBAAiB,KACnC,eA0FF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExternalConfirmationComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/components/step/ExternalConfirmationComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG/D,MAAM,MAAM,6BAA6B,GAAG,aAAa,GAAG;IAC1D,IAAI,EAAE,uBAAuB,CAAC;IAC9B,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;IACxD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,KAAK,MAAM,EACX,KAAK,MAAM,EACX,QAAQ,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,EAChC,mBAAmB,iBAAiB,KACnC,
|
|
1
|
+
{"version":3,"file":"ExternalConfirmationComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/components/step/ExternalConfirmationComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG/D,MAAM,MAAM,6BAA6B,GAAG,aAAa,GAAG;IAC1D,IAAI,EAAE,uBAAuB,CAAC;IAC9B,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;IACxD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,KAAK,MAAM,EACX,KAAK,MAAM,EACX,QAAQ,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,EAChC,mBAAmB,iBAAiB,KACnC,6BAyBF,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { BaseComponent, DomainComponent, LayoutComponent, LoadingState, LocalValue, OnBehavior, OnComponentUpdate, SchemaComponent } from '../../types';
|
|
2
2
|
import type { NavigationStackBehavior, Step } from '@wise/dynamic-flow-types/spec';
|
|
3
3
|
import { Model } from '@wise/dynamic-flow-types/spec';
|
|
4
|
-
import type { AnalyticsEventDispatcher } from '../../features/events';
|
|
4
|
+
import type { AnalyticsEventDispatcher, LoggingEventDispatcher } from '../../features/events';
|
|
5
5
|
import type { StepPolling } from '../../features/polling/getStepPolling';
|
|
6
6
|
import { StepPrefetch } from '../../features/prefetch/getStepPrefetch';
|
|
7
7
|
import { RequestCache } from '../../features/prefetch/request-cache';
|
|
8
8
|
import { StepRefreshAfter } from '../../features/refreshAfter/getStepRefreshAfter';
|
|
9
|
+
import type { FeatureFlags } from '../../mappers/utils/FeatureFlags';
|
|
9
10
|
import { ModalComponent } from '../ModalComponent';
|
|
10
11
|
import { SubflowComponent } from '../SubflowComponent';
|
|
11
12
|
import { ExternalConfirmationComponent } from './ExternalConfirmationComponent';
|
|
@@ -54,10 +55,12 @@ export type BackNavigation = {
|
|
|
54
55
|
title?: string;
|
|
55
56
|
onClick: () => void;
|
|
56
57
|
};
|
|
57
|
-
export declare const createStepComponent: (
|
|
58
|
+
export declare const createStepComponent: (props: Pick<StepDomainComponent, "uid" | "back" | "toolbar" | "layoutComponents" | "schemaComponents" | "footerComponents" | "control" | "description" | "error" | "externalConfirmation" | "loadingState" | "referencedSchemaIds" | "stackBehavior" | "etag" | "step" | "title" | "tags" | "trackEvent" | "onBehavior"> & {
|
|
58
59
|
stepPolling?: StepPolling;
|
|
59
60
|
stepRefreshAfter?: StepRefreshAfter;
|
|
60
61
|
stepPrefetch: StepPrefetch;
|
|
62
|
+
features: FeatureFlags;
|
|
63
|
+
logEvent: LoggingEventDispatcher;
|
|
61
64
|
onComponentUpdate: OnComponentUpdate;
|
|
62
65
|
onLoad?: () => void;
|
|
63
66
|
}) => StepDomainComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepDomainComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/components/step/StepDomainComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,YAAY,EACZ,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAMtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"StepDomainComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/components/step/StepDomainComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,YAAY,EACZ,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,eAAe,EAChB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAMtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC9F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iDAAiD,CAAC;AACnF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,aAAa,GAAG;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,OAAO,CAAC,E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,IAAI,CAAC;IAChD,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,UAAU,EAAE,wBAAwB,CAAC,MAAM,CAAC,CAAC;CAC9C,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAC9B,OAAO,IAAI,CACT,mBAAmB,EACjB,KAAK,GACL,MAAM,GACN,SAAS,GACT,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,SAAS,GACT,aAAa,GACb,OAAO,GACP,sBAAsB,GACtB,cAAc,GACd,qBAAqB,GACrB,eAAe,GACf,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,YAAY,GACZ,YAAY,CACf,GAAG;IACF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,EAAE,sBAAsB,CAAC;IACjC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,KACA,mBAsGF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const eventNames: readonly ["Initiated", "Succeeded", "Failed", "Cancelled", "Step Shown", "Action Triggered", "Action Succeeded", "Action Aborted", "Action Failed", "Refresh Triggered", "Refresh Succeeded", "Refresh Aborted", "Refresh Failed", "OneOf Selected", "OneOf Option Selected", "PersistAsync Triggered", "PersistAsync Succeeded", "PersistAsync Failed", "Polling Failed", "ValidationAsync Triggered", "ValidationAsync Succeeded", "ValidationAsync Failed", "Native Subflow Triggered", "Native Subflow Succeeded", "Native Subflow Failed", "Native Subflow Cancelled"];
|
|
1
|
+
export declare const eventNames: readonly ["Initiated", "Succeeded", "Failed", "Cancelled", "Step Shown", "Action Triggered", "Action Succeeded", "Action Aborted", "Action Failed", "Refresh Triggered", "Refresh Succeeded", "Refresh Aborted", "Refresh Failed", "OneOf Selected", "OneOf Option Selected", "PersistAsync Triggered", "PersistAsync Succeeded", "PersistAsync Failed", "Polling Failed", "ValidationAsync Triggered", "ValidationAsync Succeeded", "ValidationAsync Failed", "Native Subflow Triggered", "Native Subflow Succeeded", "Native Subflow Failed", "Native Subflow Cancelled", "Behavior Triggered"];
|
|
2
2
|
//# sourceMappingURL=eventNames.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventNames.d.ts","sourceRoot":"","sources":["../../../../src/domain/features/eventNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"eventNames.d.ts","sourceRoot":"","sources":["../../../../src/domain/features/eventNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,mkBA4Bb,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Behavior } from '../types';
|
|
1
2
|
import { eventNames } from './eventNames';
|
|
2
3
|
export type AnalyticsEventHandler = (eventName: string, properties?: Record<string, unknown>) => void;
|
|
3
4
|
export type AnalyticsEventDispatcher<E extends string = EventName> = (eventName: E, properties?: Record<string, unknown>) => void;
|
|
@@ -5,4 +6,5 @@ export type EventName = (typeof eventNames)[number];
|
|
|
5
6
|
export type LogLevel = 'info' | 'warning' | 'error';
|
|
6
7
|
export type LoggingEventHandler = (level: LogLevel, message: string, extra: Record<string, unknown>) => void;
|
|
7
8
|
export type LoggingEventDispatcher = (level: LogLevel, message: string, extra?: Record<string, unknown>) => void;
|
|
9
|
+
export declare const trackBehaviorTriggered: (trackEvent: AnalyticsEventDispatcher, behavior: Behavior) => void;
|
|
8
10
|
//# sourceMappingURL=events.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/domain/features/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG,CAClC,SAAS,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACjC,IAAI,CAAC;AAEV,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IAAI,CACnE,SAAS,EAAE,CAAC,EACZ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACjC,IAAI,CAAC;AAEV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,CAChC,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3B,IAAI,CAAC;AAEV,MAAM,MAAM,sBAAsB,GAAG,CACnC,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,IAAI,CAAC"}
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/domain/features/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG,CAClC,SAAS,EAAE,MAAM,EACjB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACjC,IAAI,CAAC;AAEV,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,MAAM,GAAG,SAAS,IAAI,CACnE,SAAS,EAAE,CAAC,EACZ,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KACjC,IAAI,CAAC;AAEV,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAEpD,MAAM,MAAM,mBAAmB,GAAG,CAChC,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3B,IAAI,CAAC;AAEV,MAAM,MAAM,sBAAsB,GAAG,CACnC,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC5B,IAAI,CAAC;AAEV,eAAO,MAAM,sBAAsB,GACjC,YAAY,wBAAwB,EACpC,UAAU,QAAQ,SAQnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decisionLayoutToComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/layout/decisionLayoutToComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"decisionLayoutToComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/layout/decisionLayoutToComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAOnD,eAAO,MAAM,yBAAyB,GACpC,KAAK,MAAM,EACX,yDAOG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACnC,OAAO,EAAE,oBAAoB,EAAE,CAAC;CACjC,EACD,aAAa,WAAW,mEAUtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reviewLayoutToComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/layout/reviewLayoutToComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EAGb,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"reviewLayoutToComponent.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/layout/reviewLayoutToComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,YAAY,EAGb,MAAM,+BAA+B,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAOnD,eAAO,MAAM,uBAAuB,GAClC,KAAK,MAAM,EACX,2FAUG,YAAY,EACf,aAAa,WAAW,+DAWtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapStepToComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/mappers/mapStepToComponent.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,OAAO,KAAK,EAAY,YAAY,EAAc,MAAM,EAAE,MAAM,UAAU,CAAC;AAI3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMlD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,4BAA4B,CAAC,GAAG;IAC7F,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,wBAAwB,CAAC,MAAM,CAAC,CAAC;IAC7C,gBAAgB,EAAE,YAAY,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,wFAQhC,eAAe,
|
|
1
|
+
{"version":3,"file":"mapStepToComponent.d.ts","sourceRoot":"","sources":["../../../../src/domain/mappers/mapStepToComponent.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAGnE,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAElE,OAAO,KAAK,EAAY,YAAY,EAAc,MAAM,EAAE,MAAM,UAAU,CAAC;AAI3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMlD,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,4BAA4B,CAAC,GAAG;IAC7F,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,wBAAwB,CAAC,MAAM,CAAC,CAAC;IAC7C,gBAAgB,EAAE,YAAY,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,wFAQhC,eAAe,yEAkHjB,CAAC"}
|
|
@@ -59,7 +59,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
59
59
|
inlineAlert?: import("../../types").InlineAlert;
|
|
60
60
|
supportingValues?: import("../../types").SupportingValues;
|
|
61
61
|
validationAsyncState: import("../../types").ValidationAsyncState;
|
|
62
|
-
|
|
62
|
+
setValue: (value: boolean) => void;
|
|
63
63
|
} & {
|
|
64
64
|
kind: "input";
|
|
65
65
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -117,7 +117,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
117
117
|
suggestions?: import("../../types").Suggestions;
|
|
118
118
|
inlineAlert?: import("../../types").InlineAlert;
|
|
119
119
|
validationAsyncState: import("../../types").ValidationAsyncState;
|
|
120
|
-
|
|
120
|
+
setValue: (value: string | null) => void;
|
|
121
121
|
} & {
|
|
122
122
|
kind: "input";
|
|
123
123
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -154,7 +154,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
154
154
|
minimum?: number;
|
|
155
155
|
inlineAlert?: import("../../types").InlineAlert;
|
|
156
156
|
validationAsyncState: import("../../types").ValidationAsyncState;
|
|
157
|
-
|
|
157
|
+
setValue: (value: number | null) => void;
|
|
158
158
|
} & {
|
|
159
159
|
kind: "input";
|
|
160
160
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -195,7 +195,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
195
195
|
selectedIndices: number[];
|
|
196
196
|
getChildren: () => SchemaComponent[];
|
|
197
197
|
getSelectedChildren: () => SchemaComponent[] | null;
|
|
198
|
-
|
|
198
|
+
selectIndices: (indices: number[]) => void;
|
|
199
199
|
} & {
|
|
200
200
|
kind: "input";
|
|
201
201
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -244,8 +244,8 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
244
244
|
source?: import("../../types").UploadSource;
|
|
245
245
|
validationAsyncState?: undefined;
|
|
246
246
|
uploadLabel?: string;
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
removeFile: (index: number) => Promise<void>;
|
|
248
|
+
insertFile: (index: number, file: File) => Promise<string>;
|
|
249
249
|
} & {
|
|
250
250
|
kind: "input";
|
|
251
251
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -282,7 +282,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
282
282
|
minimum?: number;
|
|
283
283
|
inlineAlert?: import("../../types").InlineAlert;
|
|
284
284
|
validationAsyncState: import("../../types").ValidationAsyncState;
|
|
285
|
-
|
|
285
|
+
setValue: (value: number | null) => void;
|
|
286
286
|
} & {
|
|
287
287
|
kind: "input";
|
|
288
288
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -336,10 +336,10 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
336
336
|
minItems?: number;
|
|
337
337
|
summaryDefaults: import("../../types").RepeatableSummary;
|
|
338
338
|
getChildren: () => SchemaComponent[];
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
339
|
+
addComponent: () => void;
|
|
340
|
+
editComponent: (itemIndex: number) => void;
|
|
341
|
+
removeComponent: () => void;
|
|
342
|
+
saveComponent: () => boolean;
|
|
343
343
|
} & {
|
|
344
344
|
kind: "input";
|
|
345
345
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -376,7 +376,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
376
376
|
options: import("../../components/SelectInputComponent").SelectInputOption[];
|
|
377
377
|
children: SchemaComponent[];
|
|
378
378
|
validationAsyncState?: undefined;
|
|
379
|
-
|
|
379
|
+
selectIndex: (index: number | null) => void;
|
|
380
380
|
getChildren: () => SchemaComponent[];
|
|
381
381
|
getSelectedChild: () => SchemaComponent | null;
|
|
382
382
|
} & {
|
|
@@ -419,7 +419,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
419
419
|
suggestions?: import("../../types").Suggestions;
|
|
420
420
|
inlineAlert?: import("../../types").InlineAlert;
|
|
421
421
|
validationAsyncState: import("../../types").ValidationAsyncState;
|
|
422
|
-
|
|
422
|
+
setValue: (value: string | null) => void;
|
|
423
423
|
} & {
|
|
424
424
|
kind: "input";
|
|
425
425
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -481,7 +481,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
481
481
|
source?: import("../../types").UploadSource;
|
|
482
482
|
validationAsyncState?: undefined;
|
|
483
483
|
base64Value: string | null;
|
|
484
|
-
|
|
484
|
+
setValue: (value: File | null) => Promise<void>;
|
|
485
485
|
} & {
|
|
486
486
|
kind: "input";
|
|
487
487
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -505,7 +505,7 @@ export declare const persistAsyncSchemaToComponent: (schemaMapperProps: SchemaMa
|
|
|
505
505
|
alert?: import("../../types").InlineAlert;
|
|
506
506
|
errors: string[] | undefined;
|
|
507
507
|
value: import("@wise/dynamic-flow-types/spec").JsonElement;
|
|
508
|
-
|
|
508
|
+
setValue: (newValue: import("@wise/dynamic-flow-types/spec").JsonElement) => void;
|
|
509
509
|
} & {
|
|
510
510
|
kind: "input";
|
|
511
511
|
}) | (import("../../types").BaseComponent & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type FeatureName = 'pinnedButtons' | 'nativeBack' | 'hideStepTitle' | 'strictButtonOperations' | 'continueAfterCompletion';
|
|
1
|
+
type FeatureName = 'pinnedButtons' | 'nativeBack' | 'hideStepTitle' | 'strictButtonOperations' | 'continueAfterCompletion' | 'validateUnreferencedSchemas';
|
|
2
2
|
export declare class FeatureFlags {
|
|
3
3
|
#private;
|
|
4
4
|
constructor(features: Record<string, unknown>);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlags.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/FeatureFlags.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GACZ,eAAe,GACf,YAAY,GACZ,eAAe,GACf,wBAAwB,GACxB,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"FeatureFlags.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/FeatureFlags.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GACZ,eAAe,GACf,YAAY,GACZ,eAAe,GACf,wBAAwB,GACxB,yBAAyB,GACzB,6BAA6B,CAAC;AAElC,qBAAa,YAAY;;gBAGX,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAI7C,SAAS,CAAC,WAAW,EAAE,WAAW,GAAG,OAAO;CAG7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"behavior-utils.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/behavior-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,oCAAoC,kBAAkB,EACtD,aAAa,MAAM,EAAE,EACrB,4BAA4B,WAAW,CAAC,4BAA4B,CAAC,KACpE,QAYF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,UAAU,YAAY,EAAE,aAAa,MAAM,EAAE,KAAG,
|
|
1
|
+
{"version":3,"file":"behavior-utils.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/behavior-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AACjF,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,KAAK,kBAAkB,GAAG;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,GACjC,oCAAoC,kBAAkB,EACtD,aAAa,MAAM,EAAE,EACrB,4BAA4B,WAAW,CAAC,4BAA4B,CAAC,KACpE,QAYF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,UAAU,YAAY,EAAE,aAAa,MAAM,EAAE,KAAG,QAuBjF,CAAC;AAQF,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,EAAE,cAAa,MAAM,EAAO,WACkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"call-to-action-utils.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/call-to-action-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"call-to-action-utils.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/call-to-action-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAO9C,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,gBAAgB,EAAE,EAAE,EAAE,WAAW,GAAG,YAAY,CAAC;AACjG,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,gBAAgB,GAAG,SAAS,EACjC,WAAW,EAAE,WAAW,GACvB,YAAY,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AnalyticsEventDispatcher } from '../../features/events';
|
|
2
|
+
import { Behavior, HrefWithTracking, OnBehavior } from '../../types';
|
|
3
|
+
export declare const getHrefWithTracking: ({ behavior, onBehavior, trackEvent, }: {
|
|
4
|
+
behavior: Behavior;
|
|
5
|
+
onBehavior: OnBehavior;
|
|
6
|
+
trackEvent: AnalyticsEventDispatcher;
|
|
7
|
+
}) => (() => HrefWithTracking);
|
|
8
|
+
//# sourceMappingURL=getHrefWithTracking.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getHrefWithTracking.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/getHrefWithTracking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAErE,eAAO,MAAM,mBAAmB,GAAI,uCAIjC;IACD,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,wBAAwB,CAAC;CACtC,KAAG,CAAC,MAAM,gBAAgB,CAkB1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,cAAc,IAAI,kBAAkB,EACpC,WAAW,IAAI,eAAe,EAC/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAY,WAAW,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../src/domain/mappers/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,cAAc,IAAI,kBAAkB,EACpC,WAAW,IAAI,eAAe,EAC/B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAY,WAAW,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAK9C,eAAO,MAAM,cAAc,GAAI,OAAO,eAAe,GAAG,SAAS,KAAG,WAAW,GAAG,SAOjF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,MAAM,kBAAkB,GAAG,SAAS,EACpC,aAAa,WAAW,KACvB,cAAc,GAAG,SAwBnB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,WAAW,GAAG,SAAS,KAAG,WAAW,GAAG,SAO7E,CAAC"}
|
|
@@ -60,6 +60,7 @@ export interface LocalValueArray extends Array<LocalValuePrimitive | LocalValueO
|
|
|
60
60
|
}
|
|
61
61
|
export type Behavior = (ActionBehavior | CopyBehavior | DismissBehavior | DownloadBehavior | LinkBehavior | ModalBehavior | NonMergingActionBehaviour | NullBehavior | RefreshBehavior | BackBehaviour | SubflowBehavior) & {
|
|
62
62
|
analytics?: Record<string, unknown>;
|
|
63
|
+
track: boolean;
|
|
63
64
|
};
|
|
64
65
|
export type Presentation = {
|
|
65
66
|
type: 'modal';
|
|
@@ -94,6 +95,7 @@ export type CallToAction = {
|
|
|
94
95
|
context?: Context;
|
|
95
96
|
accessibilityDescription?: string;
|
|
96
97
|
href?: string;
|
|
98
|
+
hrefWithTracking: () => HrefWithTracking;
|
|
97
99
|
onClick: () => void;
|
|
98
100
|
};
|
|
99
101
|
export type BaseComponent = {
|
|
@@ -224,6 +226,7 @@ export type ValidationAsyncState = {
|
|
|
224
226
|
export type LoadingState = 'idle' | 'initial' | 'submitting' | 'refreshing';
|
|
225
227
|
export type AdditionalInfo = {
|
|
226
228
|
href?: string;
|
|
229
|
+
hrefWithTracking?: () => HrefWithTracking;
|
|
227
230
|
text: string;
|
|
228
231
|
accessibilityDescription?: string;
|
|
229
232
|
onClick?: () => void;
|
|
@@ -236,5 +239,12 @@ export type SupportingValues = {
|
|
|
236
239
|
value?: string;
|
|
237
240
|
subvalue?: string;
|
|
238
241
|
};
|
|
242
|
+
export type HrefWithTracking = {
|
|
243
|
+
href: string;
|
|
244
|
+
target: string;
|
|
245
|
+
onClick: (() => void) | undefined;
|
|
246
|
+
} | {
|
|
247
|
+
onClick: (() => void) | undefined;
|
|
248
|
+
};
|
|
239
249
|
export {};
|
|
240
250
|
//# sourceMappingURL=types.d.ts.map
|