@layers-app/shared 0.0.39-froms-01 → 0.0.40
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/dist/{KanbanLayout-D5Ex3f-G.js → KanbanLayout-Cgno2syU.js} +1 -1
- package/dist/components/AppContainer/AppContainer.d.ts +1 -1
- package/dist/components/AppContainer/components/DesktopNavbar.d.ts +1 -1
- package/dist/components/AppContainer/components/MenuUserDropdown.d.ts +2 -0
- package/dist/components/AppContainer/types.d.ts +4 -1
- package/dist/components/CircleColorPicker/CircleColorPicker.d.ts +2 -2
- package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +12 -0
- package/dist/components/CommentComposer/index.d.ts +10 -8
- package/dist/components/CommentFilterMenu/index.d.ts +9 -0
- package/dist/components/CommentsPanel/components/CommentActionMenu.d.ts +5 -1
- package/dist/components/CommentsPanel/components/CommentPanelListItem.d.ts +3 -4
- package/dist/components/CommentsPanel/components/{CommentFilterMenu.d.ts → CommentTabFilter.d.ts} +2 -1
- package/dist/components/CommentsPanel/components/CommentsEmptyPlaceholder.d.ts +5 -2
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +2 -1
- package/dist/components/CommentsPanel/components/CommentsPanelList.d.ts +3 -4
- package/dist/components/CommentsPanel/components/CommentsThreadReplyControls.d.ts +5 -1
- package/dist/components/CommentsPanel/components/CommentsUploadFilesPreview.d.ts +9 -5
- package/dist/components/CommentsPanel/index.d.ts +10 -6
- package/dist/components/CommentsPanel/store.d.ts +7 -1
- package/dist/components/CommentsPanel/types.d.ts +152 -57
- package/dist/components/CommentsPanel/utils.d.ts +11 -5
- package/dist/components/FormViewer/components/Container.d.ts +3 -3
- package/dist/components/FormViewer/components/Step.d.ts +3 -2
- package/dist/components/FormViewer/components/StepDescription.d.ts +4 -3
- package/dist/components/FormViewer/components/StepTitle.d.ts +4 -3
- package/dist/components/FormViewer/components/fields/ButtonField/ButtonField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/ButtonField/InnerButton.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/ChoiceField/ChoiceCard.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/ChoiceField/ChoiceField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceCard.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/ChoiceField/PictureChoiceField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/ConfirmButton.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/ConfirmField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/DropdownField/DropdownField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/MultipleChoice/MultipleChoiceCard.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/MultipleChoice/MultipleChoiceField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/RatingField.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/SelectableCard/SelectableCard.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/SliderField.d.ts +3 -3
- package/dist/components/FormViewer/components/fields/StartField.d.ts +3 -2
- package/dist/components/FormViewer/components/fields/UploadField/UploadField.d.ts +3 -3
- package/dist/components/FormViewer/constants/defaultTheme.d.ts +2 -0
- package/dist/components/FormViewer/helpers/conditions.d.ts +9 -5
- package/dist/components/FormViewer/helpers/helpers.d.ts +9 -5
- package/dist/components/FormViewer/helpers/steps.d.ts +9 -5
- package/dist/components/FormViewer/hooks/useActiveControl.d.ts +2 -0
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +9 -5
- package/dist/components/FormViewer/store/formStore.d.ts +1280 -72
- package/dist/components/FormViewer/store/formStoreApi.d.ts +630 -7
- package/dist/components/FormViewer/store/selectors.d.ts +6893 -2159
- package/dist/components/FormViewer/types/schemes.d.ts +210 -206
- package/dist/components/InviteModal/InviteModal.d.ts +2 -0
- package/dist/components/InviteModal/slice.d.ts +13 -0
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +1 -0
- package/dist/components/modals/openRemoveConfirmModal.d.ts +4 -0
- package/dist/helpers/getFileType.d.ts +2 -1
- package/dist/helpers/isAppMode.d.ts +2 -0
- package/dist/{index-BVdsep1X.js → index-jQFbCQG3.js} +10852 -9973
- package/dist/index.d.ts +8 -0
- package/dist/index.js +25 -16
- package/dist/index.umd.cjs +59 -59
- package/package.json +8 -8
- package/dist/components/CommentsPanel/components/CommentsMultiSelectUsers.d.ts +0 -6
- package/dist/components/CommentsPanel/components/RemoveConfirmModal.d.ts +0 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Container: import('react').MemoExoticComponent<({ children,
|
|
1
|
+
import { ThemeData } from '../types/form';
|
|
2
|
+
export declare const Container: import('react').MemoExoticComponent<({ children, theme }: {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
|
|
4
|
+
theme?: ThemeData;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MediaData, StepData } from '../types/form';
|
|
1
|
+
import { MediaData, StepData, ThemeData } from '../types/form';
|
|
2
2
|
export declare const getImageFilter: (v: MediaData | null | undefined) => string;
|
|
3
|
-
export declare const Step: import('react').MemoExoticComponent<({ step }: {
|
|
3
|
+
export declare const Step: import('react').MemoExoticComponent<({ step, theme }: {
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Control,
|
|
2
|
-
export declare const StepDescription: ({
|
|
3
|
-
|
|
1
|
+
import { Control, ThemeData } from '../types/form';
|
|
2
|
+
export declare const StepDescription: ({ originalStepId, control, theme, }: {
|
|
3
|
+
originalStepId: string;
|
|
4
4
|
control: Control;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Control,
|
|
2
|
-
export declare const StepTitle: ({
|
|
3
|
-
|
|
1
|
+
import { Control, ThemeData } from '../types/form';
|
|
2
|
+
export declare const StepTitle: ({ originalStepId, control, theme, }: {
|
|
3
|
+
originalStepId: string;
|
|
4
4
|
control: Control;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ButtonControl, StepData } from '../../../types/form';
|
|
2
|
-
export declare const ButtonField: ({ control, step, }: {
|
|
1
|
+
import { ButtonControl, StepData, ThemeData } from '../../../types/form';
|
|
2
|
+
export declare const ButtonField: ({ control, step, theme, }: {
|
|
3
3
|
control: ButtonControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { ButtonControl, StepData } from '../../../types/form';
|
|
3
|
-
export declare const InnerButton: ({ buttonControl, control, step, wrapperStyle, }: {
|
|
2
|
+
import { ButtonControl, StepData, ThemeData } from '../../../types/form';
|
|
3
|
+
export declare const InnerButton: ({ buttonControl, control, step, wrapperStyle, theme, }: {
|
|
4
4
|
buttonControl: ButtonControl;
|
|
5
5
|
control?: ButtonControl;
|
|
6
6
|
step: StepData;
|
|
7
7
|
wrapperStyle?: CSSProperties;
|
|
8
|
+
theme?: ThemeData;
|
|
8
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChoiceControlItem,
|
|
1
|
+
import { ChoiceControlItem, ThemeData } from '../../../types/form';
|
|
2
2
|
export type ChoiceCardProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
showInput?: boolean;
|
|
@@ -6,6 +6,6 @@ export type ChoiceCardProps = {
|
|
|
6
6
|
onUpdate?: (v: Partial<ChoiceControlItem>) => void;
|
|
7
7
|
onRemove?: () => void;
|
|
8
8
|
controlId: string;
|
|
9
|
-
|
|
9
|
+
theme?: ThemeData;
|
|
10
10
|
};
|
|
11
|
-
export declare const ChoiceCard: import('react').MemoExoticComponent<({ label, showInput, onUpdate, onRemove, controlId, id,
|
|
11
|
+
export declare const ChoiceCard: import('react').MemoExoticComponent<({ label, showInput, onUpdate, onRemove, controlId, id, theme, }: ChoiceCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ChoiceControl, StepData } from '../../../types/form';
|
|
2
|
-
export declare const ChoiceField: ({ control, step, }: {
|
|
1
|
+
import { ChoiceControl, StepData, ThemeData } from '../../../types/form';
|
|
2
|
+
export declare const ChoiceField: ({ control, step, theme, }: {
|
|
3
3
|
control: ChoiceControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PictureChoiceControlItem,
|
|
1
|
+
import { PictureChoiceControlItem, ThemeData } from '../../../types/form';
|
|
2
2
|
export type PictureChoiceCardProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
showInput?: boolean;
|
|
@@ -7,6 +7,6 @@ export type PictureChoiceCardProps = {
|
|
|
7
7
|
image?: string;
|
|
8
8
|
controlId: string;
|
|
9
9
|
id: string;
|
|
10
|
-
|
|
10
|
+
theme?: ThemeData;
|
|
11
11
|
};
|
|
12
|
-
export declare const PictureChoiceCard: import('react').MemoExoticComponent<({ label, showInput, onUpdate, onRemove, image, controlId, id,
|
|
12
|
+
export declare const PictureChoiceCard: import('react').MemoExoticComponent<({ label, showInput, onUpdate, onRemove, image, controlId, id, theme, }: PictureChoiceCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { PictureChoiceControl, StepData } from '../../../types/form';
|
|
2
|
-
export declare const PictureChoiceField: ({ control, step, }: {
|
|
1
|
+
import { PictureChoiceControl, StepData, ThemeData } from '../../../types/form';
|
|
2
|
+
export declare const PictureChoiceField: ({ control, step, theme, }: {
|
|
3
3
|
control: PictureChoiceControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ConfirmControl, StepData } from '../../types/form';
|
|
2
|
-
export declare const ConfirmButton: ({ step, control, }: {
|
|
1
|
+
import { ConfirmControl, StepData, ThemeData } from '../../types/form';
|
|
2
|
+
export declare const ConfirmButton: ({ step, control, theme, }: {
|
|
3
3
|
step: StepData;
|
|
4
4
|
control: ConfirmControl;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ConfirmControl, StepData } from '../../types/form';
|
|
2
|
-
export declare const ConfirmField: ({ control, step, }: {
|
|
1
|
+
import { ConfirmControl, StepData, ThemeData } from '../../types/form';
|
|
2
|
+
export declare const ConfirmField: ({ control, step, theme, }: {
|
|
3
3
|
control: ConfirmControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { DropdownControl, StepData } from '../../../types/form';
|
|
2
|
-
export declare const DropdownField: ({ control, step, }: {
|
|
1
|
+
import { DropdownControl, StepData, ThemeData } from '../../../types/form';
|
|
2
|
+
export declare const DropdownField: ({ control, step, theme, }: {
|
|
3
3
|
control: DropdownControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MultipleChoiceControlItem,
|
|
1
|
+
import { MultipleChoiceControlItem, ThemeData } from '../../../types/form';
|
|
2
2
|
export type OptionCardProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
showInput?: boolean;
|
|
@@ -7,6 +7,6 @@ export type OptionCardProps = {
|
|
|
7
7
|
onUpdate?: (v: Partial<MultipleChoiceControlItem>) => void;
|
|
8
8
|
onRemove?: () => void;
|
|
9
9
|
controlId: string;
|
|
10
|
-
|
|
10
|
+
theme?: ThemeData;
|
|
11
11
|
};
|
|
12
|
-
export declare const MultipleChoiceCard: import('react').MemoExoticComponent<({ label, showInput, maxOptions, onUpdate, onRemove, controlId, id,
|
|
12
|
+
export declare const MultipleChoiceCard: import('react').MemoExoticComponent<({ label, showInput, maxOptions, onUpdate, onRemove, controlId, id, theme, }: OptionCardProps) => import("react/jsx-runtime").JSX.Element>;
|
package/dist/components/FormViewer/components/fields/MultipleChoice/MultipleChoiceField.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MultipleChoiceControl, StepData } from '../../../types/form';
|
|
2
|
-
export declare const MultipleChoiceField: ({ control, step, }: {
|
|
1
|
+
import { MultipleChoiceControl, StepData, ThemeData } from '../../../types/form';
|
|
2
|
+
export declare const MultipleChoiceField: ({ control, step, theme, }: {
|
|
3
3
|
control: MultipleChoiceControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RatingControl,
|
|
2
|
-
export declare const RatingField: ({ control,
|
|
1
|
+
import { RatingControl, ThemeData } from '../../types/form';
|
|
2
|
+
export declare const RatingField: ({ control, theme, }: {
|
|
3
3
|
control: RatingControl;
|
|
4
|
-
|
|
4
|
+
theme?: ThemeData;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/dist/components/FormViewer/components/fields/SelectableCard/PictureSelectableCard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { PictureChoiceControlItem,
|
|
2
|
+
import { PictureChoiceControlItem, ThemeData } from '../../../types/form';
|
|
3
3
|
type PictureSelectableCardProps = {
|
|
4
4
|
label: string;
|
|
5
5
|
inputType?: 'radio' | 'checkbox';
|
|
@@ -10,9 +10,9 @@ type PictureSelectableCardProps = {
|
|
|
10
10
|
image?: string;
|
|
11
11
|
onRemove?: () => void;
|
|
12
12
|
onUpdate?: (v: Partial<PictureChoiceControlItem>) => void;
|
|
13
|
-
|
|
13
|
+
theme?: ThemeData;
|
|
14
14
|
};
|
|
15
|
-
export declare const PictureSelectableCard: import('react').MemoExoticComponent<({ label, active, disabled, hasInput, image, onClick, inputType, onUpdate, onRemove,
|
|
15
|
+
export declare const PictureSelectableCard: import('react').MemoExoticComponent<({ label, active, disabled, hasInput, image, onClick, inputType, onUpdate, onRemove, theme, }: PictureSelectableCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
16
16
|
export declare const UploadOptionImageButton: ({ children, onUpdate, onRemove, hasImage, }: PropsWithChildren<{
|
|
17
17
|
onUpdate?: (v: Partial<PictureChoiceControlItem>) => void;
|
|
18
18
|
onRemove?: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChoiceControlItem,
|
|
1
|
+
import { ChoiceControlItem, ThemeData } from '../../../types/form';
|
|
2
2
|
type SelectableCardProps = {
|
|
3
3
|
label: string;
|
|
4
4
|
inputType?: 'radio' | 'checkbox';
|
|
@@ -8,7 +8,7 @@ type SelectableCardProps = {
|
|
|
8
8
|
onClick: () => void;
|
|
9
9
|
onRemove?: () => void;
|
|
10
10
|
onUpdate?: (v: Partial<ChoiceControlItem>) => void;
|
|
11
|
-
|
|
11
|
+
theme?: ThemeData;
|
|
12
12
|
};
|
|
13
|
-
export declare const SelectableCard: import('react').MemoExoticComponent<({ label, active, disabled, hasInput, onClick, inputType, onUpdate, onRemove,
|
|
13
|
+
export declare const SelectableCard: import('react').MemoExoticComponent<({ label, active, disabled, hasInput, onClick, inputType, onUpdate, onRemove, theme, }: SelectableCardProps) => import("react/jsx-runtime").JSX.Element>;
|
|
14
14
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SliderControl,
|
|
2
|
-
export declare const SliderField: ({ control,
|
|
1
|
+
import { SliderControl, ThemeData } from '../../types/form';
|
|
2
|
+
export declare const SliderField: ({ control, theme, }: {
|
|
3
3
|
control: SliderControl;
|
|
4
|
-
|
|
4
|
+
theme?: ThemeData;
|
|
5
5
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { StartControl, StepData } from '../../types/form';
|
|
2
|
-
export declare const StartField: ({ control, step, }: {
|
|
1
|
+
import { StartControl, StepData, ThemeData } from '../../types/form';
|
|
2
|
+
export declare const StartField: ({ control, step, theme, }: {
|
|
3
3
|
control: StartControl;
|
|
4
4
|
step: StepData;
|
|
5
|
+
theme?: ThemeData;
|
|
5
6
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileWithPath } from '@mantine/dropzone';
|
|
2
|
-
import {
|
|
2
|
+
import { ThemeData, UploadControl } from '../../../types/form';
|
|
3
3
|
export type FileMeta = {
|
|
4
4
|
id: string;
|
|
5
5
|
originalFileName: string;
|
|
@@ -24,7 +24,7 @@ export type UploadFileData = {
|
|
|
24
24
|
url?: FileMeta;
|
|
25
25
|
isSuccess: boolean;
|
|
26
26
|
};
|
|
27
|
-
export declare const UploadField: ({ control,
|
|
27
|
+
export declare const UploadField: ({ control, theme, }: {
|
|
28
28
|
control: UploadControl;
|
|
29
|
-
|
|
29
|
+
theme?: ThemeData;
|
|
30
30
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -96,6 +96,7 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
96
96
|
required?: boolean | undefined;
|
|
97
97
|
variableName?: string | undefined;
|
|
98
98
|
showInput?: boolean | undefined;
|
|
99
|
+
otherOption?: boolean | undefined;
|
|
99
100
|
} | {
|
|
100
101
|
id: string;
|
|
101
102
|
options: {
|
|
@@ -109,6 +110,7 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
109
110
|
required?: boolean | undefined;
|
|
110
111
|
variableName?: string | undefined;
|
|
111
112
|
showInput?: boolean | undefined;
|
|
113
|
+
otherOption?: boolean | undefined;
|
|
112
114
|
minOptions?: number | undefined;
|
|
113
115
|
maxOptions?: number | undefined;
|
|
114
116
|
} | {
|
|
@@ -208,6 +210,10 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
208
210
|
variableName?: string | undefined;
|
|
209
211
|
})[];
|
|
210
212
|
trigger: string;
|
|
213
|
+
position?: {
|
|
214
|
+
x: number;
|
|
215
|
+
y: number;
|
|
216
|
+
} | undefined;
|
|
211
217
|
media?: {
|
|
212
218
|
video?: string | undefined;
|
|
213
219
|
image?: string | undefined;
|
|
@@ -250,11 +256,9 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
250
256
|
color?: string | undefined;
|
|
251
257
|
opacity?: number | undefined;
|
|
252
258
|
backgroundImage?: string | undefined;
|
|
253
|
-
shadow?: {
|
|
254
|
-
color?: string | undefined;
|
|
255
|
-
size?: number | undefined;
|
|
256
|
-
} | undefined;
|
|
257
259
|
blur?: number | undefined;
|
|
260
|
+
shadowSize?: number | undefined;
|
|
261
|
+
shadowColor?: string | undefined;
|
|
258
262
|
} | undefined;
|
|
259
263
|
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
260
264
|
font?: {
|
|
@@ -267,10 +271,10 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
267
271
|
primaryColor?: string | undefined;
|
|
268
272
|
customCSS?: string | undefined;
|
|
269
273
|
} | undefined;
|
|
270
|
-
confirmLabel?: string | undefined;
|
|
271
274
|
isStart?: boolean | undefined;
|
|
272
275
|
isEnd?: boolean | undefined;
|
|
273
276
|
autoSubmit?: boolean | undefined;
|
|
277
|
+
confirmLabel?: string | undefined;
|
|
274
278
|
conditions?: {
|
|
275
279
|
operator: string;
|
|
276
280
|
trigger: string;
|
|
@@ -95,6 +95,7 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
95
95
|
required?: boolean | undefined;
|
|
96
96
|
variableName?: string | undefined;
|
|
97
97
|
showInput?: boolean | undefined;
|
|
98
|
+
otherOption?: boolean | undefined;
|
|
98
99
|
} | {
|
|
99
100
|
id: string;
|
|
100
101
|
options: {
|
|
@@ -108,6 +109,7 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
108
109
|
required?: boolean | undefined;
|
|
109
110
|
variableName?: string | undefined;
|
|
110
111
|
showInput?: boolean | undefined;
|
|
112
|
+
otherOption?: boolean | undefined;
|
|
111
113
|
minOptions?: number | undefined;
|
|
112
114
|
maxOptions?: number | undefined;
|
|
113
115
|
} | {
|
|
@@ -207,6 +209,10 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
207
209
|
variableName?: string | undefined;
|
|
208
210
|
})[];
|
|
209
211
|
trigger: string;
|
|
212
|
+
position?: {
|
|
213
|
+
x: number;
|
|
214
|
+
y: number;
|
|
215
|
+
} | undefined;
|
|
210
216
|
media?: {
|
|
211
217
|
video?: string | undefined;
|
|
212
218
|
image?: string | undefined;
|
|
@@ -249,11 +255,9 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
249
255
|
color?: string | undefined;
|
|
250
256
|
opacity?: number | undefined;
|
|
251
257
|
backgroundImage?: string | undefined;
|
|
252
|
-
shadow?: {
|
|
253
|
-
color?: string | undefined;
|
|
254
|
-
size?: number | undefined;
|
|
255
|
-
} | undefined;
|
|
256
258
|
blur?: number | undefined;
|
|
259
|
+
shadowSize?: number | undefined;
|
|
260
|
+
shadowColor?: string | undefined;
|
|
257
261
|
} | undefined;
|
|
258
262
|
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
259
263
|
font?: {
|
|
@@ -266,10 +270,10 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
266
270
|
primaryColor?: string | undefined;
|
|
267
271
|
customCSS?: string | undefined;
|
|
268
272
|
} | undefined;
|
|
269
|
-
confirmLabel?: string | undefined;
|
|
270
273
|
isStart?: boolean | undefined;
|
|
271
274
|
isEnd?: boolean | undefined;
|
|
272
275
|
autoSubmit?: boolean | undefined;
|
|
276
|
+
confirmLabel?: string | undefined;
|
|
273
277
|
conditions?: {
|
|
274
278
|
operator: string;
|
|
275
279
|
trigger: string;
|
|
@@ -95,6 +95,7 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
95
95
|
required?: boolean | undefined;
|
|
96
96
|
variableName?: string | undefined;
|
|
97
97
|
showInput?: boolean | undefined;
|
|
98
|
+
otherOption?: boolean | undefined;
|
|
98
99
|
} | {
|
|
99
100
|
id: string;
|
|
100
101
|
options: {
|
|
@@ -108,6 +109,7 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
108
109
|
required?: boolean | undefined;
|
|
109
110
|
variableName?: string | undefined;
|
|
110
111
|
showInput?: boolean | undefined;
|
|
112
|
+
otherOption?: boolean | undefined;
|
|
111
113
|
minOptions?: number | undefined;
|
|
112
114
|
maxOptions?: number | undefined;
|
|
113
115
|
} | {
|
|
@@ -207,6 +209,10 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
207
209
|
variableName?: string | undefined;
|
|
208
210
|
})[];
|
|
209
211
|
trigger: string;
|
|
212
|
+
position?: {
|
|
213
|
+
x: number;
|
|
214
|
+
y: number;
|
|
215
|
+
} | undefined;
|
|
210
216
|
media?: {
|
|
211
217
|
video?: string | undefined;
|
|
212
218
|
image?: string | undefined;
|
|
@@ -249,11 +255,9 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
249
255
|
color?: string | undefined;
|
|
250
256
|
opacity?: number | undefined;
|
|
251
257
|
backgroundImage?: string | undefined;
|
|
252
|
-
shadow?: {
|
|
253
|
-
color?: string | undefined;
|
|
254
|
-
size?: number | undefined;
|
|
255
|
-
} | undefined;
|
|
256
258
|
blur?: number | undefined;
|
|
259
|
+
shadowSize?: number | undefined;
|
|
260
|
+
shadowColor?: string | undefined;
|
|
257
261
|
} | undefined;
|
|
258
262
|
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
259
263
|
font?: {
|
|
@@ -266,10 +270,10 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
266
270
|
primaryColor?: string | undefined;
|
|
267
271
|
customCSS?: string | undefined;
|
|
268
272
|
} | undefined;
|
|
269
|
-
confirmLabel?: string | undefined;
|
|
270
273
|
isStart?: boolean | undefined;
|
|
271
274
|
isEnd?: boolean | undefined;
|
|
272
275
|
autoSubmit?: boolean | undefined;
|
|
276
|
+
confirmLabel?: string | undefined;
|
|
273
277
|
conditions?: {
|
|
274
278
|
operator: string;
|
|
275
279
|
trigger: string;
|
|
@@ -91,6 +91,7 @@ export declare const useActiveControl: () => {
|
|
|
91
91
|
required?: boolean | undefined;
|
|
92
92
|
variableName?: string | undefined;
|
|
93
93
|
showInput?: boolean | undefined;
|
|
94
|
+
otherOption?: boolean | undefined;
|
|
94
95
|
} | {
|
|
95
96
|
id: string;
|
|
96
97
|
options: {
|
|
@@ -104,6 +105,7 @@ export declare const useActiveControl: () => {
|
|
|
104
105
|
required?: boolean | undefined;
|
|
105
106
|
variableName?: string | undefined;
|
|
106
107
|
showInput?: boolean | undefined;
|
|
108
|
+
otherOption?: boolean | undefined;
|
|
107
109
|
minOptions?: number | undefined;
|
|
108
110
|
maxOptions?: number | undefined;
|
|
109
111
|
} | {
|
|
@@ -93,6 +93,7 @@ export declare const useActiveStep: () => {
|
|
|
93
93
|
required?: boolean | undefined;
|
|
94
94
|
variableName?: string | undefined;
|
|
95
95
|
showInput?: boolean | undefined;
|
|
96
|
+
otherOption?: boolean | undefined;
|
|
96
97
|
} | {
|
|
97
98
|
id: string;
|
|
98
99
|
options: {
|
|
@@ -106,6 +107,7 @@ export declare const useActiveStep: () => {
|
|
|
106
107
|
required?: boolean | undefined;
|
|
107
108
|
variableName?: string | undefined;
|
|
108
109
|
showInput?: boolean | undefined;
|
|
110
|
+
otherOption?: boolean | undefined;
|
|
109
111
|
minOptions?: number | undefined;
|
|
110
112
|
maxOptions?: number | undefined;
|
|
111
113
|
} | {
|
|
@@ -205,6 +207,10 @@ export declare const useActiveStep: () => {
|
|
|
205
207
|
variableName?: string | undefined;
|
|
206
208
|
})[];
|
|
207
209
|
trigger: string;
|
|
210
|
+
position?: {
|
|
211
|
+
x: number;
|
|
212
|
+
y: number;
|
|
213
|
+
} | undefined;
|
|
208
214
|
media?: {
|
|
209
215
|
video?: string | undefined;
|
|
210
216
|
image?: string | undefined;
|
|
@@ -247,11 +253,9 @@ export declare const useActiveStep: () => {
|
|
|
247
253
|
color?: string | undefined;
|
|
248
254
|
opacity?: number | undefined;
|
|
249
255
|
backgroundImage?: string | undefined;
|
|
250
|
-
shadow?: {
|
|
251
|
-
color?: string | undefined;
|
|
252
|
-
size?: number | undefined;
|
|
253
|
-
} | undefined;
|
|
254
256
|
blur?: number | undefined;
|
|
257
|
+
shadowSize?: number | undefined;
|
|
258
|
+
shadowColor?: string | undefined;
|
|
255
259
|
} | undefined;
|
|
256
260
|
borderRadius?: "sm" | "md" | "lg" | undefined;
|
|
257
261
|
font?: {
|
|
@@ -264,10 +268,10 @@ export declare const useActiveStep: () => {
|
|
|
264
268
|
primaryColor?: string | undefined;
|
|
265
269
|
customCSS?: string | undefined;
|
|
266
270
|
} | undefined;
|
|
267
|
-
confirmLabel?: string | undefined;
|
|
268
271
|
isStart?: boolean | undefined;
|
|
269
272
|
isEnd?: boolean | undefined;
|
|
270
273
|
autoSubmit?: boolean | undefined;
|
|
274
|
+
confirmLabel?: string | undefined;
|
|
271
275
|
conditions?: {
|
|
272
276
|
operator: string;
|
|
273
277
|
trigger: string;
|