@wise/dynamic-flow-client 3.11.5 → 3.11.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/build/main.js +253 -74
  2. package/build/main.min.js +1 -1
  3. package/build/main.mjs +253 -74
  4. package/build/types/common/errorBoundary/ErrorBoundary.d.ts +1 -1
  5. package/build/types/common/errorBoundary/ErrorBoundaryAlert.d.ts +1 -1
  6. package/build/types/common/httpClientContext/HttpClientContext.d.ts +2 -2
  7. package/build/types/legacy/common/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +1 -1
  8. package/build/types/legacy/common/contexts/eventsContext/EventsContext.d.ts +1 -1
  9. package/build/types/legacy/common/contexts/featureContext/FeatureContext.d.ts +1 -1
  10. package/build/types/legacy/common/contexts/logContext/LogContext.d.ts +1 -1
  11. package/build/types/legacy/dynamicFlow/BackButton.d.ts +1 -1
  12. package/build/types/legacy/dynamicFlow/DynamicFlow.d.ts +1 -1
  13. package/build/types/legacy/dynamicFlow/DynamicFlowStep.d.ts +1 -1
  14. package/build/types/legacy/dynamicFlow/utils/useLoader.d.ts +1 -1
  15. package/build/types/legacy/formControl/FormControl.d.ts +1 -1
  16. package/build/types/legacy/jsonSchemaForm/JsonSchemaForm.d.ts +1 -1
  17. package/build/types/legacy/jsonSchemaForm/allOfSchema/AllOfSchema.d.ts +1 -1
  18. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/ArraySchema.d.ts +1 -1
  19. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +1 -1
  20. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multiSelectSchema/MultiSelectSchema.d.ts +1 -1
  21. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +1 -1
  22. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/ItemSummary.d.ts +1 -1
  23. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchema.d.ts +1 -1
  24. package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchemaStep.d.ts +1 -1
  25. package/build/types/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.d.ts +1 -1
  26. package/build/types/legacy/jsonSchemaForm/controlFeedback/ControlFeedback.d.ts +1 -1
  27. package/build/types/legacy/jsonSchemaForm/genericSchema/GenericSchema.d.ts +1 -1
  28. package/build/types/legacy/jsonSchemaForm/help/Help.d.ts +1 -1
  29. package/build/types/legacy/jsonSchemaForm/objectSchema/ObjectSchema.d.ts +1 -1
  30. package/build/types/legacy/jsonSchemaForm/oneOfSchema/OneOfSchema.d.ts +1 -1
  31. package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.d.ts +1 -1
  32. package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +1 -1
  33. package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +1 -1
  34. package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +1 -1
  35. package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.d.ts +1 -1
  36. package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +1 -1
  37. package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +1 -1
  38. package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +1 -1
  39. package/build/types/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.d.ts +1 -1
  40. package/build/types/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.d.ts +1 -1
  41. package/build/types/legacy/jsonSchemaForm/schemaFormControl/utils/mapping-utils.d.ts +5 -5
  42. package/build/types/legacy/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.d.ts +1 -1
  43. package/build/types/legacy/layout/DynamicLayout.d.ts +1 -1
  44. package/build/types/legacy/layout/alert/DynamicAlert.d.ts +1 -1
  45. package/build/types/legacy/layout/box/DynamicBox.d.ts +1 -1
  46. package/build/types/legacy/layout/button/DynamicButton.d.ts +1 -1
  47. package/build/types/legacy/layout/columns/DynamicColumns.d.ts +1 -1
  48. package/build/types/legacy/layout/decision/DynamicDecision.d.ts +1 -1
  49. package/build/types/legacy/layout/divider/DynamicDivider.d.ts +1 -1
  50. package/build/types/legacy/layout/external/DynamicExternal.d.ts +1 -1
  51. package/build/types/legacy/layout/form/DynamicForm.d.ts +1 -1
  52. package/build/types/legacy/layout/heading/DynamicHeading.d.ts +1 -1
  53. package/build/types/legacy/layout/icon/DynamicIcon.d.ts +1 -1
  54. package/build/types/legacy/layout/icon/FlagIcon.d.ts +1 -1
  55. package/build/types/legacy/layout/icon/NamedIcon.d.ts +1 -1
  56. package/build/types/legacy/layout/image/DynamicImage.d.ts +1 -1
  57. package/build/types/legacy/layout/instructions/DynamicInstructions.d.ts +1 -1
  58. package/build/types/legacy/layout/list/DynamicStatusList.d.ts +1 -1
  59. package/build/types/legacy/layout/loadingIndicator/DynamicLoadingIndicator.d.ts +1 -1
  60. package/build/types/legacy/layout/markdown/DynamicMarkdown.d.ts +2 -2
  61. package/build/types/legacy/layout/modal/DynamicModal.d.ts +1 -1
  62. package/build/types/legacy/layout/paragraph/DynamicParagraph.d.ts +1 -1
  63. package/build/types/legacy/layout/review/DynamicReview.d.ts +1 -1
  64. package/build/types/legacy/layout/search/DynamicSearch.d.ts +1 -1
  65. package/build/types/legacy/layout/search/SearchInput.d.ts +1 -1
  66. package/build/types/legacy/layout/search/SearchResults.d.ts +2 -2
  67. package/build/types/legacy/layout/utils/getNavigationOptionMedia.d.ts +3 -3
  68. package/build/types/legacy/step/cameraStep/CameraStep.d.ts +1 -1
  69. package/build/types/legacy/step/cameraStep/cameraCapture/CameraCapture.d.ts +1 -1
  70. package/build/types/legacy/step/cameraStep/cameraCapture/components/bottomBar/BottomBar.d.ts +2 -2
  71. package/build/types/legacy/step/cameraStep/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.d.ts +1 -1
  72. package/build/types/legacy/step/cameraStep/cameraCapture/overlay/Overlay.d.ts +1 -1
  73. package/build/types/legacy/step/cameraStep/cameraCapture/screens/cameraErrorScreen/CameraErrorScreen.d.ts +1 -1
  74. package/build/types/legacy/step/externalConfirmationStep/ExternalConfirmationStep.d.ts +1 -1
  75. package/build/types/legacy/step/layoutStep/LayoutStep.d.ts +1 -1
  76. package/build/types/legacy/test-utils/DynamicFlowProviders.d.ts +1 -1
  77. package/build/types/legacy/test-utils/legacy-utils.d.ts +1 -1
  78. package/build/types/revamp/DynamicFlowCore.d.ts +1 -1
  79. package/build/types/revamp/DynamicFlowWise.d.ts +1 -1
  80. package/build/types/revamp/domain/components/AllOfComponent.d.ts +2 -2
  81. package/build/types/revamp/domain/components/BooleanInputComponent.d.ts +1 -1
  82. package/build/types/revamp/domain/components/ConstComponent.d.ts +1 -1
  83. package/build/types/revamp/domain/components/DateInputComponent.d.ts +1 -1
  84. package/build/types/revamp/domain/components/IntegerInputComponent.d.ts +1 -1
  85. package/build/types/revamp/domain/components/MultiSelectInputComponent.d.ts +1 -1
  86. package/build/types/revamp/domain/components/MultiUploadInputComponent.d.ts +1 -1
  87. package/build/types/revamp/domain/components/NumberInputComponent.d.ts +1 -1
  88. package/build/types/revamp/domain/components/ObjectComponent.d.ts +2 -2
  89. package/build/types/revamp/domain/components/SelectInputComponent.d.ts +1 -1
  90. package/build/types/revamp/domain/components/StepDomainComponent.d.ts +2 -2
  91. package/build/types/revamp/domain/components/TextInputComponent.d.ts +1 -1
  92. package/build/types/revamp/domain/components/UploadInputComponent.d.ts +1 -1
  93. package/build/types/revamp/domain/components/repeatableComponent/RepeatableComponent.d.ts +3 -3
  94. package/build/types/revamp/domain/features/persistAsync/getPerformPersistAsync.d.ts +1 -1
  95. package/build/types/revamp/domain/features/validationAsync/getPerformValidationAsync.d.ts +1 -1
  96. package/build/types/revamp/flow/executeRefresh.d.ts +1 -1
  97. package/build/types/revamp/renderers/mappers/componentToRendererProps.d.ts +3 -3
  98. package/build/types/revamp/wise/renderers/MultiSelectInputRenderer.d.ts +1 -1
  99. package/build/types/revamp/wise/renderers/SearchRenderer/BlockSearchRendererComponent.d.ts +2 -2
  100. package/build/types/revamp/wise/renderers/SearchRenderer/ErrorResult.d.ts +1 -1
  101. package/build/types/revamp/wise/renderers/SearchRenderer/InlineSearchRendererComponent.d.ts +1 -1
  102. package/build/types/revamp/wise/renderers/SelectInputRenderer/OptionMedia.d.ts +1 -1
  103. package/build/types/revamp/wise/renderers/SelectInputRenderer/RadioInputRendererComponent.d.ts +1 -1
  104. package/build/types/revamp/wise/renderers/SelectInputRenderer/SegmentedInputRendererComponent.d.ts +1 -1
  105. package/build/types/revamp/wise/renderers/SelectInputRenderer/SelectInputRendererComponent.d.ts +1 -1
  106. package/build/types/revamp/wise/renderers/SelectInputRenderer/SelectTriggerMedia.d.ts +1 -1
  107. package/build/types/revamp/wise/renderers/SelectInputRenderer/TabInputRendererComponent.d.ts +1 -1
  108. package/build/types/revamp/wise/renderers/components/FieldInput.d.ts +1 -1
  109. package/build/types/revamp/wise/renderers/components/Help.d.ts +1 -1
  110. package/build/types/revamp/wise/renderers/components/LabelContentWithHelp.d.ts +1 -1
  111. package/build/types/revamp/wise/renderers/components/UploadFieldInput.d.ts +1 -1
  112. package/build/types/revamp/wise/renderers/components/VariableDateInput.d.ts +1 -1
  113. package/build/types/revamp/wise/renderers/components/VariableTextInput.d.ts +1 -1
  114. package/build/types/revamp/wise/renderers/components/icon/DynamicIcon.d.ts +1 -1
  115. package/build/types/revamp/wise/renderers/components/icon/FlagIcon.d.ts +1 -1
  116. package/build/types/revamp/wise/renderers/components/icon/NamedIcon.d.ts +1 -1
  117. package/build/types/revamp/wise/renderers/components/icon/NavigationOptionMedia.d.ts +1 -1
  118. package/build/types/revamp/wise/renderers/step/BackButton.d.ts +1 -1
  119. package/build/types/revamp/wise/renderers/step/ExternalConfirmationDialog.d.ts +1 -1
  120. package/build/types/test-utils/NeptuneProviders.d.ts +1 -1
  121. package/package.json +28 -28
@@ -8,7 +8,7 @@ type Props = {
8
8
  children: React.ReactNode;
9
9
  onEvent: EventHandler;
10
10
  };
11
- export declare function EventsContextProvider({ metadata, children, onEvent }: Props): JSX.Element;
11
+ export declare function EventsContextProvider({ metadata, children, onEvent }: Props): import("react/jsx-runtime").JSX.Element;
12
12
  export declare function useEventDispatcher(): EventHandler;
13
13
  export declare const getEventDispatcher: (onEvent: EventHandler, metadata?: Record<string, unknown>) => EventHandler;
14
14
  export {};
@@ -5,6 +5,6 @@ type FeatureContextProviderProps = {
5
5
  features: Feature[] | undefined;
6
6
  children: React.ReactNode;
7
7
  };
8
- export declare function FeatureContextProvider({ features, children }: FeatureContextProviderProps): JSX.Element;
8
+ export declare function FeatureContextProvider({ features, children }: FeatureContextProviderProps): import("react/jsx-runtime").JSX.Element;
9
9
  export declare const useFeatureFlag: (featureName: FeatureName) => Feature | undefined;
10
10
  export {};
@@ -9,7 +9,7 @@ type LogProviderProps = {
9
9
  children: React.ReactNode;
10
10
  onLog: LogEventHandler;
11
11
  };
12
- export declare function LogProvider({ flowId, stepId, children, onLog }: LogProviderProps): JSX.Element;
12
+ export declare function LogProvider({ flowId, stepId, children, onLog }: LogProviderProps): import("react/jsx-runtime").JSX.Element;
13
13
  export declare const useLogger: () => {
14
14
  debug: LogFunction;
15
15
  info: LogFunction;
@@ -5,5 +5,5 @@ type BackButtonProps = {
5
5
  action: Action;
6
6
  onAction: OnAction;
7
7
  };
8
- declare function BackButton({ title, action, onAction }: BackButtonProps): JSX.Element;
8
+ declare function BackButton({ title, action, onAction }: BackButtonProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default BackButton;
@@ -1,3 +1,3 @@
1
1
  import type { DynamicFlowProps } from '../dynamic-flow-types';
2
- declare function DynamicFlow(props: DynamicFlowProps): JSX.Element;
2
+ declare function DynamicFlow(props: DynamicFlowProps): import("react/jsx-runtime").JSX.Element;
3
3
  export default DynamicFlow;
@@ -4,5 +4,5 @@ type DynamicFlowStepProps = Omit<LayoutStepProps, 'stepSpecification'> & {
4
4
  step: Step | undefined;
5
5
  globalError: GlobalError;
6
6
  };
7
- export declare function DynamicFlowStep(props: DynamicFlowStepProps): JSX.Element | null;
7
+ export declare function DynamicFlowStep(props: DynamicFlowStepProps): import("react/jsx-runtime").JSX.Element | null;
8
8
  export {};
@@ -4,6 +4,6 @@ type LoadingState = 'idle' | 'initial' | 'refresh' | 'submission';
4
4
  export declare function useLoader(loaderConfig: DynamicFlowProps['loaderConfig'], initialState: LoadingState): {
5
5
  isLoading: boolean;
6
6
  setLoadingState: import("react").Dispatch<import("react").SetStateAction<"idle" | "submission" | "refresh" | "initial">>;
7
- loader: JSX.Element | null;
7
+ loader: import("react/jsx-runtime").JSX.Element | null;
8
8
  };
9
9
  export {};
@@ -55,7 +55,7 @@ export default class FormControl extends PureComponent<FormControlProps, FormCon
55
55
  handleOnBlur: () => void;
56
56
  getSelectedOption: (options: FormControlOption[]) => FormControlOption | undefined;
57
57
  mapOption: (option: FormControlOption) => RadioGroupRadios;
58
- render(): JSX.Element;
58
+ render(): import("react/jsx-runtime").JSX.Element;
59
59
  static defaultProps: {
60
60
  autoComplete: boolean;
61
61
  countryCode: null;
@@ -1,7 +1,7 @@
1
1
  import type { FormErrors, Model, Schema } from '@wise/dynamic-flow-types';
2
2
  import type { EventHandler, LogEventHandler } from '../dynamic-flow-types';
3
3
  import type { OnPersistAsync } from '../dynamicFlow/DynamicFlowTypes';
4
- declare function JsonSchemaForm(props: JsonSchemaFormProps): JSX.Element;
4
+ declare function JsonSchemaForm(props: JsonSchemaFormProps): import("react/jsx-runtime").JSX.Element;
5
5
  export type OnChange = (parameters: OnChangeProps) => void;
6
6
  export type OnChangeProps = {
7
7
  model: Model;
@@ -1,6 +1,6 @@
1
1
  import type { AllOfSchema as AllOfSchemaType, ObjectModel } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
- declare function AllOfSchema(props: AllOfSchemaProps): JSX.Element;
3
+ declare function AllOfSchema(props: AllOfSchemaProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace AllOfSchema {
5
5
  var defaultProps: {
6
6
  disabled: boolean;
@@ -1,7 +1,7 @@
1
1
  import { ArrayModel, ArraySchema as ArraySchemaType } from '@wise/dynamic-flow-types';
2
2
  import { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
3
  declare const ArraySchema: {
4
- (props: ArraySchemaProps): JSX.Element;
4
+ (props: ArraySchemaProps): import("react/jsx-runtime").JSX.Element;
5
5
  defaultProps: {
6
6
  required: boolean;
7
7
  };
@@ -5,7 +5,7 @@ type ArrayListSchemaProps = GenericSchemaProps & {
5
5
  errors?: string | null;
6
6
  model: ArrayModel | null;
7
7
  };
8
- declare function ArrayListSchema(props: ArrayListSchemaProps): JSX.Element;
8
+ declare function ArrayListSchema(props: ArrayListSchemaProps): import("react/jsx-runtime").JSX.Element;
9
9
  declare namespace ArrayListSchema {
10
10
  var defaultProps: {
11
11
  errors: null;
@@ -6,4 +6,4 @@ export type MultiSelectSchemaProps = Omit<GenericSchemaProps, 'model'> & {
6
6
  required?: boolean;
7
7
  errors?: string | null;
8
8
  };
9
- export declare function MultiSelectSchema({ schema, model, submitted, required, errors, onChange, }: MultiSelectSchemaProps): JSX.Element;
9
+ export declare function MultiSelectSchema({ schema, model, submitted, required, errors, onChange, }: MultiSelectSchemaProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import type { ArrayModel, MultipleFileUploadSchema as MultipleFileUploadSchemaType } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../../../genericSchema/GenericSchema';
3
- declare function MultipleFileUploadSchema(props: Props): JSX.Element;
3
+ declare function MultipleFileUploadSchema(props: Props): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace MultipleFileUploadSchema {
5
5
  var defaultProps: {
6
6
  errors: null;
@@ -9,4 +9,4 @@ export type ItemSummary = {
9
9
  export declare function ItemSummaryOption({ item, onClick }: {
10
10
  item: ItemSummary;
11
11
  onClick: () => void;
12
- }): JSX.Element;
12
+ }): import("react/jsx-runtime").JSX.Element;
@@ -5,5 +5,5 @@ type RepeatableSchemaProps = Omit<GenericSchemaProps, 'model' | 'onPersistAsync'
5
5
  model: ArrayModel | null;
6
6
  required?: boolean;
7
7
  };
8
- declare function RepeatableSchema({ schema, model, errors, submitted, required, onChange, }: RepeatableSchemaProps): JSX.Element;
8
+ declare function RepeatableSchema({ schema, model, errors, submitted, required, onChange, }: RepeatableSchemaProps): import("react/jsx-runtime").JSX.Element;
9
9
  export default RepeatableSchema;
@@ -10,5 +10,5 @@ type RepeatableSchemaStepProps = {
10
10
  onModelChange: OnModelChange;
11
11
  onAction: (actionType: RepeatableActionType, summaryText?: string) => void;
12
12
  };
13
- declare function RepeatableSchemaStep({ type, schema, model, errors, submitted, onModelChange, onAction, }: RepeatableSchemaStepProps): JSX.Element;
13
+ declare function RepeatableSchemaStep({ type, schema, model, errors, submitted, onModelChange, onAction, }: RepeatableSchemaStepProps): import("react/jsx-runtime").JSX.Element;
14
14
  export default RepeatableSchemaStep;
@@ -2,7 +2,7 @@ import { BasicModel, BasicSchema } from '@wise/dynamic-flow-types';
2
2
  import { OnChange } from '../JsonSchemaForm';
3
3
  import { GenericSchemaProps } from '../genericSchema/GenericSchema';
4
4
  declare const BasicTypeSchema: {
5
- (props: BasicTypeSchemaProps): JSX.Element | null;
5
+ (props: BasicTypeSchemaProps): import("react/jsx-runtime").JSX.Element | null;
6
6
  defaultProps: {
7
7
  required: boolean;
8
8
  disabled: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { Schema } from '@wise/dynamic-flow-types';
2
- declare function ControlFeedback(props: ControlFeedbackProps): JSX.Element;
2
+ declare function ControlFeedback(props: ControlFeedbackProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace ControlFeedback {
4
4
  var defaultProps: {
5
5
  errors: string;
@@ -1,7 +1,7 @@
1
1
  import type { FormErrors, Model, Schema } from '@wise/dynamic-flow-types';
2
2
  import type { OnPersistAsync } from '../../dynamicFlow/DynamicFlowTypes';
3
3
  import type { OnChange } from '../JsonSchemaForm';
4
- declare function GenericSchemaForm(props: GenericSchemaFormProps): JSX.Element;
4
+ declare function GenericSchemaForm(props: GenericSchemaFormProps): import("react/jsx-runtime").JSX.Element;
5
5
  export type GenericSchemaProps = {
6
6
  schema: Schema;
7
7
  model: Model;
@@ -3,5 +3,5 @@ type Props = {
3
3
  markdown: string;
4
4
  };
5
5
  };
6
- declare function Help(props: Props): JSX.Element;
6
+ declare function Help(props: Props): import("react/jsx-runtime").JSX.Element;
7
7
  export default Help;
@@ -1,6 +1,6 @@
1
1
  import type { ObjectModel, ObjectSchema as ObjectSchemaType } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
- declare function ObjectSchema(props: ObjectSchemaProps): JSX.Element;
3
+ declare function ObjectSchema(props: ObjectSchemaProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace ObjectSchema {
5
5
  var defaultProps: {
6
6
  hideTitle: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { OneOfSchema as OneOfSchemaType } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
- declare function OneOfSchema(props: OneOfSchemaProps): JSX.Element | null;
3
+ declare function OneOfSchema(props: OneOfSchemaProps): import("react/jsx-runtime").JSX.Element | null;
4
4
  declare namespace OneOfSchema {
5
5
  var defaultProps: {
6
6
  required: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { PersistAsyncSchema as PersistAsyncSchemaType } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
- declare function PersistAsyncSchema(props: PersistAsyncSchemaProps): JSX.Element;
3
+ declare function PersistAsyncSchema(props: PersistAsyncSchemaProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace PersistAsyncSchema {
5
5
  var defaultProps: {
6
6
  required: boolean;
@@ -4,7 +4,7 @@ export declare const getIdFromResponse: (idProperty: string, response: Record<st
4
4
  export declare const getErrorFromResponse: (errorProperty: string, response: {
5
5
  validation?: Record<string, unknown>;
6
6
  }) => unknown;
7
- declare function PersistAsyncBasicSchema(props: PersistAsyncBasicSchemaProps): JSX.Element;
7
+ declare function PersistAsyncBasicSchema(props: PersistAsyncBasicSchemaProps): import("react/jsx-runtime").JSX.Element;
8
8
  declare namespace PersistAsyncBasicSchema {
9
9
  var defaultProps: {
10
10
  required: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { BlobSchema, PersistAsync, Schema } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../../genericSchema/GenericSchema';
3
- declare function PersistAsyncBlobSchema(props: PersistAsyncBlobSchemaProps): JSX.Element;
3
+ declare function PersistAsyncBlobSchema(props: PersistAsyncBlobSchemaProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace PersistAsyncBlobSchema {
5
5
  var defaultProps: {
6
6
  required: boolean;
@@ -12,5 +12,5 @@ type Props = UploadProps & {
12
12
  fileInputName?: string;
13
13
  };
14
14
  };
15
- export declare function UploadInputAdapter(props: Props): JSX.Element;
15
+ export declare function UploadInputAdapter(props: Props): import("react/jsx-runtime").JSX.Element;
16
16
  export {};
@@ -1,6 +1,6 @@
1
1
  import { ObjectModel, OneOfObjectSchema } from '@wise/dynamic-flow-types';
2
2
  import { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
- declare const PromotedOneOfSchema: (props: PromotedOneOfSchemaProps) => JSX.Element;
3
+ declare const PromotedOneOfSchema: (props: PromotedOneOfSchemaProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export type PromotedOneOfSchemaProps = Omit<GenericSchemaProps, 'schema' | 'model'> & {
5
5
  schema: OneOfObjectSchema;
6
6
  model: ObjectModel | null;
@@ -1,6 +1,6 @@
1
1
  import { PromotedOneOfControlProps } from './PromotedOneOfControl';
2
2
  declare const PromotedOneOfCheckboxControl: {
3
- (props: PromotedOneOfControlProps): JSX.Element;
3
+ (props: PromotedOneOfControlProps): import("react/jsx-runtime").JSX.Element;
4
4
  defaultProps: {};
5
5
  };
6
6
  export default PromotedOneOfCheckboxControl;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { Icon, Image, Promotion } from '@wise/dynamic-flow-types';
3
- declare function PromotedOneOfControl(props: PromotedOneOfControlProps): JSX.Element;
3
+ declare function PromotedOneOfControl(props: PromotedOneOfControlProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace PromotedOneOfControl {
5
5
  var defaultProps: {
6
6
  id: string;
@@ -1,5 +1,5 @@
1
1
  import type { PromotedOneOfControlProps } from './PromotedOneOfControl';
2
- declare function PromotedOneOfRadioControl(props: PromotedOneOfControlProps): JSX.Element;
2
+ declare function PromotedOneOfRadioControl(props: PromotedOneOfControlProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace PromotedOneOfRadioControl {
4
4
  var defaultProps: {
5
5
  title: undefined;
@@ -3,5 +3,5 @@ type ReadOnlySchemaProps = {
3
3
  schema: Schema;
4
4
  model: Model;
5
5
  };
6
- declare function ReadOnlySchema({ schema, model }: ReadOnlySchemaProps): JSX.Element;
6
+ declare function ReadOnlySchema({ schema, model }: ReadOnlySchemaProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default ReadOnlySchema;
@@ -3,7 +3,7 @@ import { FormControlType } from '../../common/constants';
3
3
  import type { OnChangeProps } from '../JsonSchemaForm';
4
4
  export declare const getControlType: (schema: Schema) => (typeof FormControlType)[keyof typeof FormControlType] | undefined;
5
5
  export declare const getStringSchemaControlType: ({ format, control, }: StringSchema) => (typeof FormControlType)[keyof typeof FormControlType] | undefined;
6
- declare function SchemaFormControl(props: SchemaFormControlProps): JSX.Element;
6
+ declare function SchemaFormControl(props: SchemaFormControlProps): import("react/jsx-runtime").JSX.Element;
7
7
  declare namespace SchemaFormControl {
8
8
  var defaultProps: {
9
9
  value: null;
@@ -1,5 +1,5 @@
1
1
  import type { Icon, Image, Schema } from '@wise/dynamic-flow-types';
2
- declare const mapConstSchemaToOption: <ControlType extends string>(schema: Schema, controlType?: ControlType | undefined) => ControlType extends "select" ? SelectOption : RadioOption;
2
+ declare const mapConstSchemaToOption: <ControlType extends string>(schema: Schema, controlType?: ControlType) => ControlType extends 'select' ? SelectOption : RadioOption;
3
3
  type RadioOption = {
4
4
  disabled?: boolean | undefined;
5
5
  avatar?: JSX.Element | undefined;
@@ -19,13 +19,13 @@ type SelectOption = {
19
19
  value: string;
20
20
  };
21
21
  declare const getAvatarPropertyForRadioOption: ({ image, icon }: {
22
- image?: Image | undefined;
23
- icon?: Icon | undefined;
22
+ image?: Image;
23
+ icon?: Icon;
24
24
  }) => {
25
- avatar: JSX.Element;
25
+ avatar: import("react/jsx-runtime").JSX.Element;
26
26
  } | null;
27
27
  declare const mapSchemaToUploadOptions: ({ accepts }: {
28
- accepts?: string[] | undefined;
28
+ accepts?: string[];
29
29
  }) => {
30
30
  usAccept?: string | undefined;
31
31
  };
@@ -1,6 +1,6 @@
1
1
  import type { BasicModel, ValidationAsyncSchema as ValidationAsyncSchemaType } from '@wise/dynamic-flow-types';
2
2
  import type { GenericSchemaProps } from '../genericSchema/GenericSchema';
3
- declare function ValidationAsyncSchema(props: ValidationAsyncSchemaProps): JSX.Element;
3
+ declare function ValidationAsyncSchema(props: ValidationAsyncSchemaProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace ValidationAsyncSchema {
5
5
  var defaultProps: {
6
6
  required: boolean;
@@ -12,5 +12,5 @@ export type CommonLayoutProps = {
12
12
  type DynamicLayoutProps = {
13
13
  components: LayoutComponent[];
14
14
  } & CommonLayoutProps;
15
- declare function DynamicLayout(props: DynamicLayoutProps): JSX.Element;
15
+ declare function DynamicLayout(props: DynamicLayoutProps): import("react/jsx-runtime").JSX.Element;
16
16
  export default DynamicLayout;
@@ -1,5 +1,5 @@
1
1
  import { Alert as AlertType } from '@wise/dynamic-flow-types';
2
2
  declare const DynamicAlert: (props: {
3
3
  component: AlertType;
4
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
5
  export default DynamicAlert;
@@ -3,5 +3,5 @@ import { CommonLayoutProps } from '../DynamicLayout';
3
3
  type Props = CommonLayoutProps & {
4
4
  component: BoxLayout;
5
5
  };
6
- declare const DynamicBox: (props: Props) => JSX.Element;
6
+ declare const DynamicBox: (props: Props) => import("react/jsx-runtime").JSX.Element;
7
7
  export default DynamicBox;
@@ -3,5 +3,5 @@ import type { CommonLayoutProps } from '../DynamicLayout';
3
3
  type Props = Omit<CommonLayoutProps, 'submitted' | 'onModelChange' | 'onPersistAsync'> & {
4
4
  component: ButtonLayout;
5
5
  };
6
- declare function DynamicButton(props: Props): JSX.Element;
6
+ declare function DynamicButton(props: Props): import("react/jsx-runtime").JSX.Element;
7
7
  export default DynamicButton;
@@ -3,5 +3,5 @@ import { CommonLayoutProps } from '../DynamicLayout';
3
3
  type Props = CommonLayoutProps & {
4
4
  component: ColumnsLayout;
5
5
  };
6
- declare const DynamicColumns: (props: Props) => JSX.Element;
6
+ declare const DynamicColumns: (props: Props) => import("react/jsx-runtime").JSX.Element;
7
7
  export default DynamicColumns;
@@ -4,5 +4,5 @@ type Props = {
4
4
  component: DecisionLayout;
5
5
  onAction: OnAction;
6
6
  };
7
- declare function DynamicDecision({ component, onAction }: Props): JSX.Element;
7
+ declare function DynamicDecision({ component, onAction }: Props): import("react/jsx-runtime").JSX.Element;
8
8
  export default DynamicDecision;
@@ -2,5 +2,5 @@ import { DividerLayout } from '@wise/dynamic-flow-types';
2
2
  type Props = {
3
3
  component: DividerLayout;
4
4
  };
5
- declare const DynamicDivider: ({ component }: Props) => JSX.Element;
5
+ declare const DynamicDivider: ({ component }: Props) => import("react/jsx-runtime").JSX.Element;
6
6
  export default DynamicDivider;
@@ -4,5 +4,5 @@ type Props = {
4
4
  onAction: (action: Action) => void;
5
5
  };
6
6
  /** @deprecated - No longer supported, use the external feature instead */
7
- declare const DynamicExternal: ({ component, onAction }: Props) => JSX.Element;
7
+ declare const DynamicExternal: ({ component, onAction }: Props) => import("react/jsx-runtime").JSX.Element;
8
8
  export default DynamicExternal;
@@ -3,5 +3,5 @@ import type { CommonLayoutProps } from '../DynamicLayout';
3
3
  type Props = Omit<CommonLayoutProps, 'onAction'> & {
4
4
  component: FormLayout;
5
5
  };
6
- declare function DynamicForm({ component, model, errors, submitted, onModelChange, onPersistAsync, }: Props): JSX.Element;
6
+ declare function DynamicForm({ component, model, errors, submitted, onModelChange, onPersistAsync, }: Props): import("react/jsx-runtime").JSX.Element;
7
7
  export default DynamicForm;
@@ -1,5 +1,5 @@
1
1
  import { HeadingLayout } from '@wise/dynamic-flow-types';
2
2
  declare const DynamicHeading: (props: {
3
3
  component: HeadingLayout;
4
- }) => JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
5
  export default DynamicHeading;
@@ -1,6 +1,6 @@
1
1
  export type Props = {
2
2
  type: string;
3
3
  };
4
- declare function DynamicIcon({ type }: Props): JSX.Element | null;
4
+ declare function DynamicIcon({ type }: Props): import("react/jsx-runtime").JSX.Element | null;
5
5
  export declare function isValidIconName(name: string): boolean;
6
6
  export default DynamicIcon;
@@ -2,5 +2,5 @@ type Props = {
2
2
  name: string;
3
3
  };
4
4
  export declare const isFlagIcon: (name: string) => boolean;
5
- export declare function FlagIcon({ name }: Props): JSX.Element | null;
5
+ export declare function FlagIcon({ name }: Props): import("react/jsx-runtime").JSX.Element | null;
6
6
  export {};
@@ -2,5 +2,5 @@ type Props = {
2
2
  name: string;
3
3
  };
4
4
  export declare const isNamedIcon: (name: string) => boolean;
5
- export declare function NamedIcon({ name }: Props): JSX.Element | null;
5
+ export declare function NamedIcon({ name }: Props): import("react/jsx-runtime").JSX.Element | null;
6
6
  export {};
@@ -2,5 +2,5 @@ import type { ImageLayout } from '@wise/dynamic-flow-types';
2
2
  type DynamicImageProps = {
3
3
  component: ImageLayout;
4
4
  };
5
- declare function DynamicImage({ component: image }: DynamicImageProps): JSX.Element | null;
5
+ declare function DynamicImage({ component: image }: DynamicImageProps): import("react/jsx-runtime").JSX.Element | null;
6
6
  export default DynamicImage;
@@ -2,5 +2,5 @@ import { InstructionsLayout } from '@wise/dynamic-flow-types';
2
2
  type DynamicInstructionsProps = {
3
3
  component: InstructionsLayout;
4
4
  };
5
- declare const DynamicInstructions: ({ component }: DynamicInstructionsProps) => JSX.Element;
5
+ declare const DynamicInstructions: ({ component }: DynamicInstructionsProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export default DynamicInstructions;
@@ -3,5 +3,5 @@ type Props = {
3
3
  component: ListLayout | StatusListLayout;
4
4
  onAction: (action: Action) => void;
5
5
  };
6
- declare const DynamicStatusList: ({ component }: Props) => JSX.Element;
6
+ declare const DynamicStatusList: ({ component }: Props) => import("react/jsx-runtime").JSX.Element;
7
7
  export default DynamicStatusList;
@@ -2,5 +2,5 @@ import { LoadingIndicatorLayout } from '@wise/dynamic-flow-types';
2
2
  type Props = {
3
3
  component: LoadingIndicatorLayout;
4
4
  };
5
- declare const DynamicLoadingIndicator: ({ component }: Props) => JSX.Element;
5
+ declare const DynamicLoadingIndicator: ({ component }: Props) => import("react/jsx-runtime").JSX.Element;
6
6
  export default DynamicLoadingIndicator;
@@ -2,9 +2,9 @@ import { InfoLayout, MarkdownLayout } from '@wise/dynamic-flow-types';
2
2
  type DynamicMarkdownProps = {
3
3
  component: MarkdownLayout;
4
4
  };
5
- export declare const DynamicMarkdown: ({ component }: DynamicMarkdownProps) => JSX.Element;
5
+ export declare const DynamicMarkdown: ({ component }: DynamicMarkdownProps) => import("react/jsx-runtime").JSX.Element;
6
6
  type DynamicInfoProps = {
7
7
  component: InfoLayout;
8
8
  };
9
- export declare const DynamicInfo: ({ component }: DynamicInfoProps) => JSX.Element;
9
+ export declare const DynamicInfo: ({ component }: DynamicInfoProps) => import("react/jsx-runtime").JSX.Element;
10
10
  export {};
@@ -3,5 +3,5 @@ import { type CommonLayoutProps } from '../DynamicLayout';
3
3
  type DynamicMarkdownProps = CommonLayoutProps & {
4
4
  component: ModalLayout;
5
5
  };
6
- declare function DynamicModal(props: DynamicMarkdownProps): JSX.Element;
6
+ declare function DynamicModal(props: DynamicMarkdownProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default DynamicModal;
@@ -2,5 +2,5 @@ import type { ParagraphLayout } from '@wise/dynamic-flow-types';
2
2
  type Props = {
3
3
  component: ParagraphLayout;
4
4
  };
5
- declare function DynamicParagraph({ component }: Props): JSX.Element;
5
+ declare function DynamicParagraph({ component }: Props): import("react/jsx-runtime").JSX.Element;
6
6
  export default DynamicParagraph;
@@ -4,5 +4,5 @@ type Props = {
4
4
  component: ReviewLayout;
5
5
  onAction: OnAction;
6
6
  };
7
- declare function DynamicReview(props: Props): JSX.Element;
7
+ declare function DynamicReview(props: Props): import("react/jsx-runtime").JSX.Element;
8
8
  export default DynamicReview;
@@ -4,5 +4,5 @@ type DynamicSearchProps = {
4
4
  component: SearchLayout;
5
5
  onAction: OnAction;
6
6
  };
7
- declare function DynamicSearch({ component, onAction }: DynamicSearchProps): JSX.Element;
7
+ declare function DynamicSearch({ component, onAction }: DynamicSearchProps): import("react/jsx-runtime").JSX.Element;
8
8
  export default DynamicSearch;
@@ -4,5 +4,5 @@ type SearchInputProps = {
4
4
  onFocus: () => void;
5
5
  onChange: (value: string) => void;
6
6
  };
7
- export declare const SearchInput: ({ title, value, onFocus, onChange }: SearchInputProps) => JSX.Element;
7
+ export declare const SearchInput: ({ title, value, onFocus, onChange }: SearchInputProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -4,7 +4,7 @@ export type SearchResultsProps = {
4
4
  emptyMessage: string;
5
5
  onSelect: (result: SearchResult) => void;
6
6
  };
7
- export declare function SearchResults({ results, emptyMessage, onSelect }: SearchResultsProps): JSX.Element;
7
+ export declare function SearchResults({ results, emptyMessage, onSelect }: SearchResultsProps): import("react/jsx-runtime").JSX.Element;
8
8
  export declare function ErrorResult({ onRetrySearch }: {
9
9
  onRetrySearch: () => void;
10
- }): JSX.Element;
10
+ }): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { Icon, Image } from '@wise/dynamic-flow-types';
2
2
  export declare const getNavigationOptionMedia: ({ icon, image }: {
3
- icon?: Icon | undefined;
4
- image?: Image | undefined;
5
- }) => JSX.Element | null;
3
+ icon?: Icon;
4
+ image?: Image;
5
+ }) => import("react/jsx-runtime").JSX.Element | null;
@@ -3,5 +3,5 @@ import type { CommonLayoutProps } from '../../layout/DynamicLayout';
3
3
  export type CameraStepProps = Omit<CommonLayoutProps, 'onPersistAsync' | 'baseUrl'> & {
4
4
  step: Step;
5
5
  };
6
- declare function CameraStep(props: CameraStepProps): JSX.Element;
6
+ declare function CameraStep(props: CameraStepProps): import("react/jsx-runtime").JSX.Element;
7
7
  export default CameraStep;
@@ -11,5 +11,5 @@ type Props = {
11
11
  onCapture: BlobCallback;
12
12
  onEvent?: EventHandler;
13
13
  };
14
- declare function CameraCapture({ direction, overlay, outline, imageUrl, title, instructions, showReview, onCapture, onEvent, }: Props): JSX.Element;
14
+ declare function CameraCapture({ direction, overlay, outline, imageUrl, title, instructions, showReview, onCapture, onEvent, }: Props): import("react/jsx-runtime").JSX.Element;
15
15
  export default CameraCapture;
@@ -1,7 +1,7 @@
1
1
  export declare const CaptureBottomBar: ({ onCapture }: {
2
2
  onCapture: () => void;
3
- }) => JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
4
4
  export declare const ReviewBottomBar: ({ onSubmit, onRetry, }: {
5
5
  onSubmit: () => void;
6
6
  onRetry: () => void;
7
- }) => JSX.Element;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- declare function OrientationLockOverlay(): JSX.Element;
1
+ declare function OrientationLockOverlay(): import("react/jsx-runtime").JSX.Element;
2
2
  export default OrientationLockOverlay;
@@ -6,5 +6,5 @@ type Props = {
6
6
  instructions?: string;
7
7
  reviewInstructions?: string;
8
8
  };
9
- declare function Overlay({ overlay, outline, imageUrl, title, instructions, reviewInstructions }: Props): JSX.Element;
9
+ declare function Overlay({ overlay, outline, imageUrl, title, instructions, reviewInstructions }: Props): import("react/jsx-runtime").JSX.Element;
10
10
  export default Overlay;
@@ -1,3 +1,3 @@
1
1
  import type { CameraError } from '../../types';
2
- declare function CameraErrorScreen({ title, description, actionButton, onAction }: CameraError): JSX.Element;
2
+ declare function CameraErrorScreen({ title, description, actionButton, onAction }: CameraError): import("react/jsx-runtime").JSX.Element;
3
3
  export default CameraErrorScreen;