@wise/dynamic-flow-client 3.11.5 → 3.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main.js +410 -231
- package/build/main.min.js +1 -1
- package/build/main.mjs +410 -231
- package/build/types/common/cameraCapture/CameraCapture.d.ts +16 -0
- package/build/types/{legacy/step/cameraStep → common}/cameraCapture/components/bottomBar/BottomBar.d.ts +2 -2
- package/build/types/common/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.d.ts +2 -0
- package/build/types/{legacy/step/cameraStep → common}/cameraCapture/hooks/useFullScreenOrientationLock.d.ts +2 -2
- package/build/types/{legacy/step/cameraStep → common}/cameraCapture/overlay/Overlay.d.ts +1 -1
- package/build/types/{legacy/step/cameraStep → common}/cameraCapture/screens/cameraErrorScreen/CameraErrorScreen.d.ts +1 -1
- package/build/types/common/cameraCapture/tracking/index.d.ts +8 -0
- package/build/types/common/errorBoundary/ErrorBoundary.d.ts +1 -1
- package/build/types/common/errorBoundary/ErrorBoundaryAlert.d.ts +1 -1
- package/build/types/common/httpClientContext/HttpClientContext.d.ts +2 -2
- package/build/types/legacy/common/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +1 -1
- package/build/types/legacy/common/contexts/eventsContext/EventsContext.d.ts +1 -1
- package/build/types/legacy/common/contexts/featureContext/FeatureContext.d.ts +1 -1
- package/build/types/legacy/common/contexts/logContext/LogContext.d.ts +1 -1
- package/build/types/legacy/common/utils/index.d.ts +5 -5
- package/build/types/legacy/dynamic-flow-types.d.ts +2 -1
- package/build/types/legacy/dynamicFlow/BackButton.d.ts +1 -1
- package/build/types/legacy/dynamicFlow/DynamicFlow.d.ts +1 -1
- package/build/types/legacy/dynamicFlow/DynamicFlowStep.d.ts +1 -1
- package/build/types/legacy/dynamicFlow/utils/useLoader.d.ts +1 -1
- package/build/types/legacy/formControl/FormControl.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/JsonSchemaForm.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/allOfSchema/AllOfSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/ArraySchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multiSelectSchema/MultiSelectSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/ItemSummary.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchemaStep.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/controlFeedback/ControlFeedback.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/genericSchema/GenericSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/help/Help.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/objectSchema/ObjectSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/oneOfSchema/OneOfSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.d.ts +1 -1
- package/build/types/legacy/jsonSchemaForm/schemaFormControl/utils/mapping-utils.d.ts +5 -5
- package/build/types/legacy/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.d.ts +1 -1
- package/build/types/legacy/layout/DynamicLayout.d.ts +1 -1
- package/build/types/legacy/layout/alert/DynamicAlert.d.ts +1 -1
- package/build/types/legacy/layout/box/DynamicBox.d.ts +1 -1
- package/build/types/legacy/layout/button/DynamicButton.d.ts +1 -1
- package/build/types/legacy/layout/columns/DynamicColumns.d.ts +1 -1
- package/build/types/legacy/layout/decision/DynamicDecision.d.ts +1 -1
- package/build/types/legacy/layout/divider/DynamicDivider.d.ts +1 -1
- package/build/types/legacy/layout/external/DynamicExternal.d.ts +1 -1
- package/build/types/legacy/layout/form/DynamicForm.d.ts +1 -1
- package/build/types/legacy/layout/heading/DynamicHeading.d.ts +1 -1
- package/build/types/legacy/layout/icon/DynamicIcon.d.ts +1 -1
- package/build/types/legacy/layout/icon/FlagIcon.d.ts +1 -1
- package/build/types/legacy/layout/icon/NamedIcon.d.ts +1 -1
- package/build/types/legacy/layout/image/DynamicImage.d.ts +1 -1
- package/build/types/legacy/layout/instructions/DynamicInstructions.d.ts +1 -1
- package/build/types/legacy/layout/list/DynamicStatusList.d.ts +1 -1
- package/build/types/legacy/layout/loadingIndicator/DynamicLoadingIndicator.d.ts +1 -1
- package/build/types/legacy/layout/markdown/DynamicMarkdown.d.ts +2 -2
- package/build/types/legacy/layout/modal/DynamicModal.d.ts +1 -1
- package/build/types/legacy/layout/paragraph/DynamicParagraph.d.ts +1 -1
- package/build/types/legacy/layout/review/DynamicReview.d.ts +1 -1
- package/build/types/legacy/layout/search/DynamicSearch.d.ts +1 -1
- package/build/types/legacy/layout/search/SearchInput.d.ts +1 -1
- package/build/types/legacy/layout/search/SearchResults.d.ts +2 -2
- package/build/types/legacy/layout/utils/getNavigationOptionMedia.d.ts +3 -3
- package/build/types/legacy/step/cameraStep/CameraStep.d.ts +1 -1
- package/build/types/legacy/step/externalConfirmationStep/ExternalConfirmationStep.d.ts +1 -1
- package/build/types/legacy/step/layoutStep/LayoutStep.d.ts +1 -1
- package/build/types/legacy/test-utils/DynamicFlowProviders.d.ts +1 -1
- package/build/types/legacy/test-utils/legacy-utils.d.ts +1 -1
- package/build/types/revamp/DynamicFlowCore.d.ts +1 -1
- package/build/types/revamp/DynamicFlowWise.d.ts +1 -1
- package/build/types/revamp/domain/components/AllOfComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/BooleanInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/ConstComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/DateInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/IntegerInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/MultiSelectInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/MultiUploadInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/NumberInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/ObjectComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/SelectInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/StepDomainComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/TextInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/UploadInputComponent.d.ts +1 -1
- package/build/types/revamp/domain/components/repeatableComponent/RepeatableComponent.d.ts +3 -3
- package/build/types/revamp/domain/features/persistAsync/getPerformPersistAsync.d.ts +1 -1
- package/build/types/revamp/domain/features/validationAsync/getPerformValidationAsync.d.ts +1 -1
- package/build/types/revamp/flow/executeRefresh.d.ts +1 -1
- package/build/types/revamp/renderers/mappers/componentToRendererProps.d.ts +3 -3
- package/build/types/revamp/wise/renderers/MultiSelectInputRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SearchRenderer/BlockSearchRendererComponent.d.ts +2 -2
- package/build/types/revamp/wise/renderers/SearchRenderer/ErrorResult.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SearchRenderer/InlineSearchRendererComponent.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SelectInputRenderer/OptionMedia.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SelectInputRenderer/RadioInputRendererComponent.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SelectInputRenderer/SegmentedInputRendererComponent.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SelectInputRenderer/SelectInputRendererComponent.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SelectInputRenderer/SelectTriggerMedia.d.ts +1 -1
- package/build/types/revamp/wise/renderers/SelectInputRenderer/TabInputRendererComponent.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/FieldInput.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/Help.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/LabelContentWithHelp.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/UploadFieldInput.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/VariableDateInput.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/VariableTextInput.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/icon/DynamicIcon.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/icon/FlagIcon.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/icon/NamedIcon.d.ts +1 -1
- package/build/types/revamp/wise/renderers/components/icon/NavigationOptionMedia.d.ts +1 -1
- package/build/types/revamp/wise/renderers/step/BackButton.d.ts +1 -1
- package/build/types/revamp/wise/renderers/step/ExternalConfirmationDialog.d.ts +1 -1
- package/build/types/test-utils/NeptuneProviders.d.ts +1 -1
- package/package.json +39 -33
- package/build/types/legacy/step/cameraStep/cameraCapture/CameraCapture.d.ts +0 -15
- package/build/types/legacy/step/cameraStep/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.d.ts +0 -2
- package/build/types/legacy/step/cameraStep/cameraCapture/tracking/index.d.ts +0 -8
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/CameraCapture.messages.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/components/index.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.messages.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/hooks/useVideoConstraints.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/index.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/screens/index.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/types/index.d.ts +0 -0
- /package/build/types/{legacy/step/cameraStep → common}/cameraCapture/utils/index.d.ts +0 -0
- /package/build/types/{legacy/common → common/cameraCapture}/utils/mobile-utils.d.ts +0 -0
- /package/build/types/{legacy/common → common}/utils/debounce.d.ts +0 -0
|
@@ -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 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
|
|
4
|
-
image?: Image
|
|
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;
|
|
@@ -2,5 +2,5 @@ type Props = {
|
|
|
2
2
|
url: string;
|
|
3
3
|
onClose: () => void;
|
|
4
4
|
};
|
|
5
|
-
declare function ExternalConfirmationStep({ url, onClose }: Props): JSX.Element;
|
|
5
|
+
declare function ExternalConfirmationStep({ url, onClose }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default ExternalConfirmationStep;
|
|
@@ -6,5 +6,5 @@ export type LayoutStepProps = Omit<CommonLayoutProps, 'errors' | 'onPersistAsync
|
|
|
6
6
|
stepLayoutOptions: StepLayoutOptions;
|
|
7
7
|
formErrors: FormErrors;
|
|
8
8
|
};
|
|
9
|
-
declare const LayoutStep: (props: LayoutStepProps) => JSX.Element;
|
|
9
|
+
declare const LayoutStep: (props: LayoutStepProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default LayoutStep;
|
|
@@ -5,5 +5,5 @@ type DynamicFlowProvidersProps = {
|
|
|
5
5
|
onLog?: LogEventHandler;
|
|
6
6
|
onEvent?: EventHandler;
|
|
7
7
|
};
|
|
8
|
-
declare function DynamicFlowProviders({ children, onLog, onEvent, }: DynamicFlowProvidersProps): JSX.Element;
|
|
8
|
+
declare function DynamicFlowProviders({ children, onLog, onEvent, }: DynamicFlowProvidersProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default DynamicFlowProviders;
|
|
@@ -19,5 +19,5 @@ declare function getI18n(locale?: string, messages?: Record<string, string>): {
|
|
|
19
19
|
};
|
|
20
20
|
declare function TestContextProviders({ children }: {
|
|
21
21
|
children: React.ReactNode;
|
|
22
|
-
}): JSX.Element;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export { mountWithProviders as mount, mountWithOptions, getMockFetchPromise, wait, getI18n, TestContextProviders, };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { DynamicFlowCoreProps } from './types';
|
|
2
|
-
export declare function DynamicFlowCore(props: DynamicFlowCoreProps): JSX.Element;
|
|
2
|
+
export declare function DynamicFlowCore(props: DynamicFlowCoreProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -11,8 +11,8 @@ export type AllOfComponent = BaseComponent & {
|
|
|
11
11
|
getChildren: () => DomainComponent[];
|
|
12
12
|
getLocalValue: () => LocalValue;
|
|
13
13
|
};
|
|
14
|
-
export declare const createAllOfComponent: (allOfProps: Pick<AllOfComponent,
|
|
14
|
+
export declare const createAllOfComponent: (allOfProps: Pick<AllOfComponent, 'control' | 'description' | 'components' | 'title' | 'help' | 'hidden'> & {
|
|
15
15
|
uid: string;
|
|
16
|
-
analyticsId?: string
|
|
16
|
+
analyticsId?: string;
|
|
17
17
|
summariser: (value: Model | null) => RepeatableSummary;
|
|
18
18
|
}) => AllOfComponent;
|
|
@@ -8,7 +8,7 @@ export type BooleanInputComponent = InputComponent<boolean> & {
|
|
|
8
8
|
validationState: ValidationState;
|
|
9
9
|
onChange: (value: boolean) => void;
|
|
10
10
|
};
|
|
11
|
-
export declare const createBooleanInputComponent: (booleanInputProps: Pick<BooleanInputComponent,
|
|
11
|
+
export declare const createBooleanInputComponent: (booleanInputProps: Pick<BooleanInputComponent, 'uid' | 'id' | 'analyticsId' | 'control' | 'description' | 'disabled' | 'errors' | 'help' | 'hidden' | 'persistedState' | 'required' | 'title' | 'value' | 'validationState'> & {
|
|
12
12
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
13
13
|
performRefresh: PerformRefresh | undefined;
|
|
14
14
|
performValidationAsync: PerformValidationAsync | undefined;
|
|
@@ -4,7 +4,7 @@ export type ConstComponent = BaseComponent & {
|
|
|
4
4
|
type: 'const';
|
|
5
5
|
getLocalValue: () => LocalValue;
|
|
6
6
|
};
|
|
7
|
-
export declare const createConstComponent: (hiddenProps: Pick<ConstComponent,
|
|
7
|
+
export declare const createConstComponent: (hiddenProps: Pick<ConstComponent, 'analyticsId' | 'uid'> & {
|
|
8
8
|
value: Model;
|
|
9
9
|
summary: RepeatableSummary;
|
|
10
10
|
}) => ConstComponent;
|
|
@@ -11,7 +11,7 @@ export type DateInputComponent = InputComponent<string | null> & {
|
|
|
11
11
|
validationState: ValidationState;
|
|
12
12
|
onChange: (value: string | null) => void;
|
|
13
13
|
};
|
|
14
|
-
export declare const createDateInputComponent: (textInputProps: Pick<DateInputComponent,
|
|
14
|
+
export declare const createDateInputComponent: (textInputProps: Pick<DateInputComponent, 'uid' | 'id' | 'analyticsId' | 'autoComplete' | 'control' | 'errors' | 'description' | 'disabled' | 'help' | 'hidden' | 'minimumDate' | 'maximumDate' | 'persistedState' | 'placeholder' | 'required' | 'title' | 'value' | 'validationState'> & {
|
|
15
15
|
checks: IsInvalidCheck<string | null>[];
|
|
16
16
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
17
17
|
performRefresh: PerformRefresh | undefined;
|
|
@@ -9,7 +9,7 @@ export type IntegerInputComponent = InputComponent<number | null> & {
|
|
|
9
9
|
validationState: ValidationState;
|
|
10
10
|
onChange: (value: number | null) => void;
|
|
11
11
|
};
|
|
12
|
-
export declare const createIntegerInputComponent: (integerInputProps: Pick<IntegerInputComponent,
|
|
12
|
+
export declare const createIntegerInputComponent: (integerInputProps: Pick<IntegerInputComponent, 'uid' | 'id' | 'analyticsId' | 'autoComplete' | 'control' | 'description' | 'disabled' | 'errors' | 'help' | 'hidden' | 'persistedState' | 'placeholder' | 'required' | 'title' | 'value' | 'validationState'> & {
|
|
13
13
|
checks: IsInvalidCheck<number | null>[];
|
|
14
14
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
15
15
|
performRefresh: PerformRefresh | undefined;
|
|
@@ -15,7 +15,7 @@ export type MultiSelectComponent = InputComponent<LocalValueArray | null> & {
|
|
|
15
15
|
getSelectedChildren: () => DomainComponent[] | null;
|
|
16
16
|
onSelect: (indices: number[]) => void;
|
|
17
17
|
};
|
|
18
|
-
export declare const createMultiSelectComponent: (multiSelectProps: Pick<MultiSelectComponent,
|
|
18
|
+
export declare const createMultiSelectComponent: (multiSelectProps: Pick<MultiSelectComponent, 'uid' | 'id' | 'analyticsId' | 'autoComplete' | 'control' | 'description' | 'disabled' | 'errors' | 'hidden' | 'persistedState' | 'required' | 'title' | 'validationState'> & {
|
|
19
19
|
checks: IsInvalidCheck<LocalValueArray | null>[];
|
|
20
20
|
initialValue: LocalValue;
|
|
21
21
|
options: (SelectInputOption & {
|
|
@@ -14,7 +14,7 @@ export type MultiUploadInputComponent = InputComponent<File[]> & {
|
|
|
14
14
|
onDelete: (fileId: string) => Promise<void>;
|
|
15
15
|
onUpload: (file: File, fileId: string) => Promise<void>;
|
|
16
16
|
};
|
|
17
|
-
export declare const createMultiUploadInputComponent: (uploadInputProps: Pick<MultiUploadInputComponent,
|
|
17
|
+
export declare const createMultiUploadInputComponent: (uploadInputProps: Pick<MultiUploadInputComponent, 'uid' | 'id' | 'accepts' | 'analyticsId' | 'autoComplete' | 'control' | 'errors' | 'description' | 'disabled' | 'format' | 'help' | 'hidden' | 'maxSize' | 'minItems' | 'maxItems' | 'persistedState' | 'placeholder' | 'required' | 'title' | 'uploadLabel' | 'value'> & {
|
|
18
18
|
checks: IsInvalidCheck<File[]>[];
|
|
19
19
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
20
20
|
onValueChange: OnValueChange;
|
|
@@ -9,7 +9,7 @@ export type NumberInputComponent = InputComponent<number | null> & {
|
|
|
9
9
|
validationState: ValidationState;
|
|
10
10
|
onChange: (value: number | null) => void;
|
|
11
11
|
};
|
|
12
|
-
export declare const createNumberInputComponent: (numberInputProps: Pick<NumberInputComponent,
|
|
12
|
+
export declare const createNumberInputComponent: (numberInputProps: Pick<NumberInputComponent, 'uid' | 'id' | 'analyticsId' | 'autoComplete' | 'control' | 'description' | 'disabled' | 'errors' | 'help' | 'hidden' | 'persistedState' | 'placeholder' | 'required' | 'title' | 'value' | 'validationState'> & {
|
|
13
13
|
checks: IsInvalidCheck<number | null>[];
|
|
14
14
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
15
15
|
performRefresh: PerformRefresh | undefined;
|
|
@@ -5,9 +5,9 @@ export type ObjectComponent = ComponentWithTitle & {
|
|
|
5
5
|
getChildren: () => DomainComponent[];
|
|
6
6
|
getLocalValue: () => LocalValueObject;
|
|
7
7
|
};
|
|
8
|
-
export declare const createObjectComponent: (objectProps: Pick<ObjectComponent,
|
|
8
|
+
export declare const createObjectComponent: (objectProps: Pick<ObjectComponent, 'control' | 'description' | 'componentMap' | 'title' | 'help' | 'hidden'> & {
|
|
9
9
|
uid: string;
|
|
10
|
-
analyticsId?: string
|
|
10
|
+
analyticsId?: string;
|
|
11
11
|
displayOrder: string[];
|
|
12
12
|
summariser: (value: LocalValue | null) => RepeatableSummary;
|
|
13
13
|
}) => ObjectComponent;
|
|
@@ -22,7 +22,7 @@ export type SelectInputOption = {
|
|
|
22
22
|
keywords?: string[];
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
};
|
|
25
|
-
export declare const createSelectInputComponent: (selectProps: Pick<SelectInputComponent,
|
|
25
|
+
export declare const createSelectInputComponent: (selectProps: Pick<SelectInputComponent, 'uid' | 'id' | 'analyticsId' | 'autoComplete' | 'control' | 'errors' | 'description' | 'disabled' | 'help' | 'hidden' | 'persistedState' | 'placeholder' | 'required' | 'title'> & {
|
|
26
26
|
initialValue: LocalValue;
|
|
27
27
|
options: (SelectInputOption & {
|
|
28
28
|
component: DomainComponent;
|
|
@@ -21,8 +21,8 @@ type BackNavigation = {
|
|
|
21
21
|
title?: string;
|
|
22
22
|
onClick: () => void;
|
|
23
23
|
};
|
|
24
|
-
export declare const createStepComponent: (stepProps: Pick<StepDomainComponent,
|
|
25
|
-
stepPolling?: StepPolling
|
|
24
|
+
export declare const createStepComponent: (stepProps: Pick<StepDomainComponent, 'uid' | 'back' | 'components' | 'description' | 'error' | 'external' | 'loadingState' | 'title' | 'trackEvent'> & {
|
|
25
|
+
stepPolling?: StepPolling;
|
|
26
26
|
updateComponent: UpdateComponent;
|
|
27
27
|
}) => StepDomainComponent;
|
|
28
28
|
export {};
|
|
@@ -10,7 +10,7 @@ export type TextInputComponent = InputComponent<string | null> & {
|
|
|
10
10
|
validationState: ValidationState;
|
|
11
11
|
onChange: (value: string | null) => void;
|
|
12
12
|
};
|
|
13
|
-
export declare const createTextInputComponent: (textInputProps: Pick<TextInputComponent,
|
|
13
|
+
export declare const createTextInputComponent: (textInputProps: Pick<TextInputComponent, 'uid' | 'id' | 'analyticsId' | 'autoComplete' | 'control' | 'errors' | 'description' | 'disabled' | 'displayFormat' | 'help' | 'hidden' | 'persistedState' | 'placeholder' | 'required' | 'title' | 'value' | 'validationState'> & {
|
|
14
14
|
checks: IsInvalidCheck<string | null>[];
|
|
15
15
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
16
16
|
performValidationAsync: PerformValidationAsync | undefined;
|
|
@@ -10,7 +10,7 @@ export type UploadInputComponent = InputComponent<File | null> & {
|
|
|
10
10
|
persistedState: PersistedState;
|
|
11
11
|
onUpload: (value: File | null) => Promise<void>;
|
|
12
12
|
};
|
|
13
|
-
export declare const createUploadInputComponent: (uploadInputProps: Pick<UploadInputComponent,
|
|
13
|
+
export declare const createUploadInputComponent: (uploadInputProps: Pick<UploadInputComponent, 'uid' | 'id' | 'accepts' | 'analyticsId' | 'autoComplete' | 'control' | 'errors' | 'description' | 'disabled' | 'format' | 'help' | 'hidden' | 'maxSize' | 'persistedState' | 'placeholder' | 'required' | 'title' | 'value'> & {
|
|
14
14
|
checks: IsInvalidCheck<File | null>[];
|
|
15
15
|
performPersistAsync: PerformPersistAsync | undefined;
|
|
16
16
|
performRefresh?: PerformRefresh | undefined;
|
|
@@ -18,10 +18,10 @@ export type RepeatableComponent = ComponentWithTitle & {
|
|
|
18
18
|
onRemove: () => void;
|
|
19
19
|
onSave: () => boolean;
|
|
20
20
|
};
|
|
21
|
-
export declare const createRepeatableComponent: (repeatableProps: Pick<RepeatableComponent,
|
|
22
|
-
analyticsId?: string
|
|
21
|
+
export declare const createRepeatableComponent: (repeatableProps: Pick<RepeatableComponent, 'uid' | 'id' | 'addItemTitle' | 'components' | 'control' | 'description' | 'editItemTitle' | 'errors' | 'hidden' | 'title'> & {
|
|
22
|
+
analyticsId?: string;
|
|
23
23
|
checks: IsInvalidCheck<LocalValueArray | null>[];
|
|
24
|
-
summary?: SummarySummariser
|
|
24
|
+
summary?: SummarySummariser;
|
|
25
25
|
summariser: (value: LocalValueArray | null) => RepeatableSummary;
|
|
26
26
|
onValueChange: OnValueChange;
|
|
27
27
|
createEditableComponent: (value: LocalValue) => DomainComponent;
|
|
@@ -16,7 +16,7 @@ export declare const getPerformPersistAsync: ({ genericErrorMessage, httpClient,
|
|
|
16
16
|
genericErrorMessage: string;
|
|
17
17
|
httpClient: HttpClient;
|
|
18
18
|
persistAsyncConfig: PersistAsyncConfig;
|
|
19
|
-
schemaId?: string
|
|
19
|
+
schemaId?: string;
|
|
20
20
|
logEvent: LoggingEventDispatcher;
|
|
21
21
|
trackEvent: AnalyticsEventDispatcher;
|
|
22
22
|
}) => PerformPersistAsync;
|
|
@@ -14,7 +14,7 @@ type ValidationAsyncProps = {
|
|
|
14
14
|
export declare const getPerformValidationAsync: ({ httpClient, validationAsyncConfig, schemaId, trackEvent, }: {
|
|
15
15
|
httpClient: HttpClient;
|
|
16
16
|
validationAsyncConfig: ValidateAsync;
|
|
17
|
-
schemaId?: string
|
|
17
|
+
schemaId?: string;
|
|
18
18
|
trackEvent: AnalyticsEventDispatcher;
|
|
19
19
|
}) => PerformValidationAsync;
|
|
20
20
|
export {};
|
|
@@ -2,8 +2,8 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { DomainComponent } from '../../domain/types';
|
|
3
3
|
import type { RendererProps } from '../types';
|
|
4
4
|
export declare const componentToRendererProps: (component: DomainComponent, nestedContent: {
|
|
5
|
-
children?: ReactNode[]
|
|
6
|
-
startChildren?: ReactNode[]
|
|
7
|
-
endChildren?: ReactNode[]
|
|
5
|
+
children?: ReactNode[];
|
|
6
|
+
startChildren?: ReactNode[];
|
|
7
|
+
endChildren?: ReactNode[];
|
|
8
8
|
editableItemChildren?: ReactNode;
|
|
9
9
|
}) => RendererProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { MultiSelectInputRendererProps, Renderer } from '../../renderers/types';
|
|
2
2
|
declare const MultiSelectInputRenderer: Renderer<MultiSelectInputRendererProps>;
|
|
3
|
-
export declare function MultiSelectInputRendererComponent(props: MultiSelectInputRendererProps): JSX.Element;
|
|
3
|
+
export declare function MultiSelectInputRendererComponent(props: MultiSelectInputRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export default MultiSelectInputRenderer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ResultsSearchState, SearchRendererProps } from '../../../renderers/types';
|
|
2
|
-
declare function BlockSearchRendererComponent({ id, isLoading, margin, onChange, query, state, title, }: SearchRendererProps): JSX.Element;
|
|
2
|
+
declare function BlockSearchRendererComponent({ id, isLoading, margin, onChange, query, state, title, }: SearchRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare function SearchResults({ state, }: {
|
|
4
4
|
state: ResultsSearchState;
|
|
5
5
|
onChange: (query: string) => void;
|
|
6
|
-
}): JSX.Element;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default BlockSearchRendererComponent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SearchRendererProps } from '../../../renderers/types';
|
|
2
|
-
declare function InlineSearchRenderer({ id, isLoading, margin, onChange, state, title, }: SearchRendererProps): JSX.Element;
|
|
2
|
+
declare function InlineSearchRenderer({ id, isLoading, margin, onChange, state, title, }: SearchRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default InlineSearchRenderer;
|
package/build/types/revamp/wise/renderers/SelectInputRenderer/RadioInputRendererComponent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SelectInputRendererProps } from '../../../renderers/types';
|
|
2
|
-
export declare function RadioInputRendererComponent(props: SelectInputRendererProps): JSX.Element;
|
|
2
|
+
export declare function RadioInputRendererComponent(props: SelectInputRendererProps): import("react/jsx-runtime").JSX.Element;
|
package/build/types/revamp/wise/renderers/SelectInputRenderer/SegmentedInputRendererComponent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SelectInputRendererProps } from '../../../renderers/types';
|
|
2
|
-
export declare function SegmentedInputRendererComponent(props: SelectInputRendererProps): JSX.Element;
|
|
2
|
+
export declare function SegmentedInputRendererComponent(props: SelectInputRendererProps): import("react/jsx-runtime").JSX.Element;
|
package/build/types/revamp/wise/renderers/SelectInputRenderer/SelectInputRendererComponent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SelectInputRendererProps } from '../../../renderers/types';
|
|
2
|
-
export declare function SelectInputRendererComponent(props: SelectInputRendererProps): JSX.Element;
|
|
2
|
+
export declare function SelectInputRendererComponent(props: SelectInputRendererProps): import("react/jsx-runtime").JSX.Element;
|
package/build/types/revamp/wise/renderers/SelectInputRenderer/TabInputRendererComponent.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { SelectInputRendererProps } from '../../../renderers/types';
|
|
2
|
-
export declare function TabInputRendererComponent(props: SelectInputRendererProps): JSX.Element;
|
|
2
|
+
export declare function TabInputRendererComponent(props: SelectInputRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,5 +7,5 @@ type FieldInputProps = {
|
|
|
7
7
|
help: string | undefined;
|
|
8
8
|
label: string | undefined;
|
|
9
9
|
};
|
|
10
|
-
declare function FieldInput({ id, children, label, error, description, help }: FieldInputProps): JSX.Element;
|
|
10
|
+
declare function FieldInput({ id, children, label, error, description, help }: FieldInputProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default FieldInput;
|
|
@@ -7,5 +7,5 @@ type UploadFieldInputProps = {
|
|
|
7
7
|
help?: string;
|
|
8
8
|
label?: string;
|
|
9
9
|
};
|
|
10
|
-
declare function UploadFieldInput({ id, children, label, description, error, help, }: UploadFieldInputProps): JSX.Element;
|
|
10
|
+
declare function UploadFieldInput({ id, children, label, description, error, help, }: UploadFieldInputProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default UploadFieldInput;
|
|
@@ -5,5 +5,5 @@ type VariableDateInputProps = Omit<DateInputRendererProps, 'control' | 'type' |
|
|
|
5
5
|
declare function VariableDateInput({ control, inputProps, }: {
|
|
6
6
|
control: string | undefined;
|
|
7
7
|
inputProps: VariableDateInputProps;
|
|
8
|
-
}): JSX.Element;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default VariableDateInput;
|
|
@@ -6,5 +6,5 @@ type VariableTextInputProps = Omit<TextInputRendererProps, 'control' | 'type' |
|
|
|
6
6
|
declare function VariableTextInput({ control, inputProps, }: {
|
|
7
7
|
control: string | undefined;
|
|
8
8
|
inputProps: VariableTextInputProps;
|
|
9
|
-
}): JSX.Element;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default VariableTextInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type Props = {
|
|
2
2
|
name: string;
|
|
3
3
|
};
|
|
4
|
-
declare function DynamicIcon({ name }: Props): JSX.Element | null;
|
|
4
|
+
declare function DynamicIcon({ name }: 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 {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { StepRendererProps } from '../../../renderers/types';
|
|
2
|
-
declare function BackButton({ title, onClick }: NonNullable<StepRendererProps['back']>): JSX.Element;
|
|
2
|
+
declare function BackButton({ title, onClick }: NonNullable<StepRendererProps['back']>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BackButton;
|