@layers-app/shared 0.0.45 → 0.0.50

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 (69) hide show
  1. package/dist/KanbanLayout-oWz6EhPt.js +297 -0
  2. package/dist/assets/jsons/icons.min.json.d.ts +1 -1
  3. package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
  4. package/dist/components/AppContainer/types.d.ts +1 -0
  5. package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +4 -2
  6. package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +4 -1
  7. package/dist/components/AttachmentsGalleryModal/constants.d.ts +2 -1
  8. package/dist/components/AttachmentsGalleryModal/helpers.d.ts +22 -0
  9. package/dist/components/AttachmentsGalleryModal/hooks/usePanning.d.ts +10 -0
  10. package/dist/components/AttachmentsPreview/AttachmentsPreview.d.ts +9 -0
  11. package/dist/components/ColorPicker/ColorPicker.d.ts +1 -0
  12. package/dist/components/CommentComposer/CommentEditorHotkeys.d.ts +16 -11
  13. package/dist/components/CommentComposer/index.d.ts +2 -55
  14. package/dist/components/CommentComposer/types.d.ts +96 -0
  15. package/dist/components/CommentsPanel/index.d.ts +1 -26
  16. package/dist/components/EmojiPicker/EmojiPicker.d.ts +1 -0
  17. package/dist/components/EmojiPicker/getIconsList.d.ts +11 -0
  18. package/dist/components/EmojiPicker/getRandomIcon.d.ts +1 -0
  19. package/dist/components/FilePicker/FilePicker.d.ts +2 -1
  20. package/dist/components/FilePicker/types.d.ts +1 -0
  21. package/dist/components/FormViewer/helpers/conditions.d.ts +1 -1
  22. package/dist/components/FormViewer/helpers/helpers.d.ts +1 -1
  23. package/dist/components/FormViewer/helpers/steps.d.ts +1 -1
  24. package/dist/components/FormViewer/hooks/useActiveStep.d.ts +1 -1
  25. package/dist/components/FormViewer/store/formStore.d.ts +6 -6
  26. package/dist/components/FormViewer/store/formStoreApi.d.ts +3 -3
  27. package/dist/components/FormViewer/store/selectors.d.ts +342 -342
  28. package/dist/components/FormViewer/types/schemes.d.ts +22 -22
  29. package/dist/components/ProjectIcon/ProjectIcon.d.ts +5 -0
  30. package/dist/components/RichText/extensions/bold.d.ts +3 -0
  31. package/dist/components/RichText/extensions/check-list.d.ts +42 -0
  32. package/dist/components/RichText/extensions/color-picker.d.ts +28 -0
  33. package/dist/components/RichText/extensions/font-size.d.ts +23 -0
  34. package/dist/components/RichText/extensions/italic.d.ts +3 -0
  35. package/dist/components/RichText/extensions/underline.d.ts +3 -0
  36. package/dist/components/RichText/index.d.ts +41 -0
  37. package/dist/components/modals/RemoveConfirmModal.d.ts +6 -1
  38. package/dist/emoji-categorized-CRsMUQyD.js +4 -0
  39. package/dist/helpers/hotjar.d.ts +9 -0
  40. package/dist/helpers/pickRandomEmoji.d.ts +1 -0
  41. package/dist/icons.min-43tm8BtD.js +4 -0
  42. package/dist/index-tn5CWDGz.js +116605 -0
  43. package/dist/index.d.ts +4 -2
  44. package/dist/index.js +261 -310
  45. package/dist/index.umd.cjs +60 -429
  46. package/dist/lang/locales/ui_en.json.d.ts +5 -4
  47. package/dist/lang/locales/ui_es.json.d.ts +2 -1
  48. package/dist/lang/locales/ui_ru.json.d.ts +2 -1
  49. package/package.json +9 -17
  50. package/dist/KanbanLayout-C6wJBGZ2.js +0 -287
  51. package/dist/components/CommentFilterMenu/index.d.ts +0 -9
  52. package/dist/components/CommentsPanel/components/CommentActionMenu.d.ts +0 -10
  53. package/dist/components/CommentsPanel/components/CommentActions.d.ts +0 -16
  54. package/dist/components/CommentsPanel/components/CommentPanelListItem.d.ts +0 -21
  55. package/dist/components/CommentsPanel/components/CommentTabFilter.d.ts +0 -7
  56. package/dist/components/CommentsPanel/components/CommentsEmptyPlaceholder.d.ts +0 -6
  57. package/dist/components/CommentsPanel/components/CommentsFilterHeader.d.ts +0 -3
  58. package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +0 -7
  59. package/dist/components/CommentsPanel/components/CommentsPanelList.d.ts +0 -18
  60. package/dist/components/CommentsPanel/components/CommentsThreadReplyControls.d.ts +0 -15
  61. package/dist/components/CommentsPanel/components/CommentsUploadFilesPreview.d.ts +0 -10
  62. package/dist/components/CommentsPanel/components/Icon.d.ts +0 -8
  63. package/dist/components/CommentsPanel/store.d.ts +0 -25
  64. package/dist/components/CommentsPanel/types.d.ts +0 -339
  65. package/dist/components/CommentsPanel/utils.d.ts +0 -14
  66. package/dist/emoji-categorized-DAOdcF53.js +0 -4
  67. package/dist/helpers/pickRandomIcon.d.ts +0 -1
  68. package/dist/icons.min-Chyr-bjL.js +0 -4
  69. package/dist/index-W83Evo8i.js +0 -78459
@@ -1,2 +1,2 @@
1
1
  import { AppContainerActionsStore, AppContainerDataStore } from '../types';
2
- export declare const useAppContainer: ({ user, workspaceMenu, tools, userMenuItems, notifications, isAnonym, readNotificationsFunc, publicMode, showMessenger, showNewMessage, version, updatedAt, privacyPolicyLink, whatsNewItems, }: AppContainerDataStore & AppContainerActionsStore) => void;
2
+ export declare const useAppContainer: ({ user, workspaceMenu, tools, userMenuItems, notifications, isAnonym, readNotificationsFunc, publicMode, showMessenger, showNewMessage, version, updatedAt, privacyPolicyLink, userAgreementLink, whatsNewItems, }: AppContainerDataStore & AppContainerActionsStore) => void;
@@ -38,6 +38,7 @@ export type AppContainerDataStore = {
38
38
  version: string;
39
39
  updatedAt: string;
40
40
  privacyPolicyLink: string;
41
+ userAgreementLink: string;
41
42
  whatsNewItems: WhatsNewProps['items'];
42
43
  };
43
44
  type ReadNotificationsRequest = {
@@ -1,4 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
+ import { ReactZoomPanPinchContentRef } from 'react-zoom-pan-pinch';
2
3
  import { EmblaCarouselType } from 'embla-carousel';
3
4
  interface AttachmentsGalleryContextValue {
4
5
  embla: EmblaCarouselType | null;
@@ -11,12 +12,13 @@ interface AttachmentsGalleryContextValue {
11
12
  setSelectedIndex: (value: number) => void;
12
13
  zoomPercentage: number;
13
14
  setZoomPercentage: (value: number) => void;
14
- transformRefs: React.MutableRefObject<any[]>;
15
+ transformRefs: React.MutableRefObject<ReactZoomPanPinchContentRef[]>;
15
16
  prevIndexRef: React.MutableRefObject<number>;
16
17
  }
17
18
  export declare const useAttachmentsGalleryContext: () => AttachmentsGalleryContextValue;
18
19
  interface AttachmentsGalleryProviderProps {
19
20
  children: ReactNode;
21
+ initialIndex: number;
20
22
  }
21
- export declare const AttachmentsGalleryProvider: ({ children, }: AttachmentsGalleryProviderProps) => import("react/jsx-runtime").JSX.Element;
23
+ export declare const AttachmentsGalleryProvider: ({ children, initialIndex, }: AttachmentsGalleryProviderProps) => import("react/jsx-runtime").JSX.Element;
22
24
  export {};
@@ -2,6 +2,9 @@ type BaseProps = {
2
2
  autoPlay?: boolean;
3
3
  isActive?: boolean;
4
4
  attachmentId: string;
5
+ loader?: React.ReactNode;
6
+ stylesContainer?: React.CSSProperties;
7
+ classNameContainer?: string;
5
8
  };
6
- export declare const ShakaVideoPlayer: ({ attachmentId, autoPlay, isActive, }: BaseProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const ShakaVideoPlayer: ({ attachmentId, autoPlay, isActive, loader, stylesContainer, classNameContainer, }: BaseProps) => string | number | boolean | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element;
7
10
  export {};
@@ -4,7 +4,7 @@ export declare const ZOOM_CONFIG: {
4
4
  readonly minScale: 1;
5
5
  readonly maxScale: 5;
6
6
  readonly wheelStep: 0.1;
7
- readonly doubleClickStep: 0.7;
7
+ readonly buttonStepPercent: 50;
8
8
  };
9
9
  export declare const MODAL_TRANSITION: {
10
10
  readonly duration: 200;
@@ -17,3 +17,4 @@ export declare const TRANSFORM_COMPONENT_STYLES: {
17
17
  alignItems: string;
18
18
  justifyContent: string;
19
19
  };
20
+ export declare const STEPS: number[];
@@ -0,0 +1,22 @@
1
+ import { MutableRefObject } from 'react';
2
+ import { ReactZoomPanPinchContentRef } from 'react-zoom-pan-pinch';
3
+ export declare const animateTransform: ({ instance, from, to, duration, animationRef, }: {
4
+ instance: ReactZoomPanPinchContentRef["instance"];
5
+ from: {
6
+ scale: number;
7
+ x: number;
8
+ y: number;
9
+ };
10
+ to: {
11
+ scale: number;
12
+ x: number;
13
+ y: number;
14
+ };
15
+ duration: number;
16
+ animationRef: MutableRefObject<number | null>;
17
+ }) => void;
18
+ export declare const zoomStep: ({ dir, activeRef, animationRef, }: {
19
+ dir: "in" | "out";
20
+ activeRef: ReactZoomPanPinchContentRef;
21
+ animationRef: MutableRefObject<number | null>;
22
+ }) => void;
@@ -0,0 +1,10 @@
1
+ export declare const usePanning: ({ isVideo, isFetching, }: {
2
+ isFetching: boolean;
3
+ isVideo: boolean;
4
+ }) => {
5
+ onMouseDown: (e: React.MouseEvent) => void;
6
+ onMouseMove: (e: React.MouseEvent) => void;
7
+ onMouseUp: () => void;
8
+ onMouseLeave: () => void;
9
+ onDoubleClick: () => void;
10
+ };
@@ -0,0 +1,9 @@
1
+ import { CommentComposerTypes } from '../CommentComposer/types';
2
+ interface CommentAttachmentsPreviewProps {
3
+ files: CommentComposerTypes.AnyCommentFile[];
4
+ mode: 'draft' | 'view';
5
+ onRemove?: (index: number) => void;
6
+ parentIsExisting?: boolean;
7
+ }
8
+ export declare const AttachmentsPreview: ({ files, onRemove, mode, parentIsExisting, }: CommentAttachmentsPreviewProps) => import("react/jsx-runtime").JSX.Element | null;
9
+ export {};
@@ -12,6 +12,7 @@ export declare const ColorPicker: import('react').ForwardRefExoticComponent<{
12
12
  colors?: string[];
13
13
  swatchShape?: "circle" | "square";
14
14
  fullWidth?: boolean;
15
+ swatchSize?: number;
15
16
  } & Omit<FlexProps, "onChange"> & import('react').RefAttributes<HTMLDivElement>> & {
16
17
  ColorCircle: import('react').ForwardRefExoticComponent<ColorCircleProps & import('react').RefAttributes<HTMLDivElement>>;
17
18
  };
@@ -1,12 +1,17 @@
1
- import { ReactNode } from 'react';
2
- import { EditorType } from '@layers-app/editor';
3
- import * as React from 'react';
4
- type Props = {
5
- children: (editorRef: React.MutableRefObject<EditorType | null>) => ReactNode;
1
+ import { default as React } from 'react';
2
+ import { CommentComposerTypes } from './types';
3
+ export declare const CommentEditorHandler: ({ children, onSubmit, editorRef, commentDraft, onBlur, inputContainerRef, isFloat, isEdit, hasChanges, ns, }: {
4
+ children: React.ReactNode;
6
5
  onSubmit: () => void;
7
- handleBlur: () => void;
8
- autoFocus?: boolean;
9
- registerClearEditor?: (fn: () => void) => void;
10
- };
11
- export declare function CommentEditorBehavior({ children, onSubmit, handleBlur, autoFocus, registerClearEditor, }: Props): import("react/jsx-runtime").JSX.Element;
12
- export {};
6
+ editorRef: React.MutableRefObject<any>;
7
+ inputContainerRef: React.MutableRefObject<any>;
8
+ commentDraft: {
9
+ text: string;
10
+ files: CommentComposerTypes.CommentAttachment[];
11
+ };
12
+ onBlur?: () => void;
13
+ isFloat: boolean;
14
+ isEdit: boolean;
15
+ hasChanges: boolean;
16
+ ns: string;
17
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,55 +1,2 @@
1
- import { MutableRefObject } from 'react';
2
- import { EditorType, RangeSelection } from '@layers-app/editor';
3
- import { Comment, CommentsNs, GeneralComment, ICommentFile, ICommentOptions, IUser, Thread } from '../CommentsPanel/types.ts';
4
- import * as React from 'react';
5
- interface CommentValue {
6
- value: string;
7
- files: ICommentFile[];
8
- }
9
- interface CommentComposerProps {
10
- children: (args: {
11
- onSubmit: () => void;
12
- handleBlur: () => void;
13
- autoFocus: boolean;
14
- setCommentValue: React.Dispatch<React.SetStateAction<CommentValue>>;
15
- commentValue: CommentValue;
16
- registerClearEditor?: (fn: () => void) => void;
17
- editorRef?: React.MutableRefObject<EditorType | null>;
18
- }) => React.ReactNode;
19
- getSelectionText?: (selection: RangeSelection) => string;
20
- removeCommentImage?: (index: string) => void;
21
- providedUser?: IUser;
22
- updateLocation?: (boxElem: HTMLDivElement, selectionRef: MutableRefObject<RangeSelection | null>, selectionState: {
23
- container: HTMLDivElement;
24
- elements: HTMLSpanElement[];
25
- }) => void;
26
- commentValue: {
27
- value: string;
28
- files: ICommentFile[];
29
- };
30
- setCommentValue: React.Dispatch<React.SetStateAction<{
31
- value: string;
32
- files: ICommentFile[];
33
- }>>;
34
- isEditInput?: boolean;
35
- autoFocus?: boolean;
36
- handleBlur: () => void;
37
- thread?: Thread;
38
- updateThreadId?: (tempId: string, realId: string, updatedAt: string, commentType: string, files: ICommentFile[], thread?: Thread) => void;
39
- setCommentActions?: React.Dispatch<React.SetStateAction<{
40
- replyList: string[];
41
- editCommentId: string;
42
- editedContent: string;
43
- }>>;
44
- isGeneral?: boolean;
45
- submitAddComment: (commentOrThread: Comment | Thread | GeneralComment, isInlineComment: boolean, thread?: Thread | GeneralComment, selection?: RangeSelection | null, files?: File[]) => void;
46
- handleEditComment?: (data: {
47
- value: string;
48
- files: ICommentFile[];
49
- }) => void;
50
- provideCommentOptions?: ICommentOptions;
51
- placeholder?: string;
52
- composerLocales?: CommentsNs;
53
- }
54
- export declare const CommentComposer: ({ submitAddComment, commentValue, thread, setCommentValue, handleBlur, autoFocus, provideCommentOptions, removeCommentImage, handleEditComment, isEditInput, isGeneral, updateThreadId, setCommentActions, updateLocation, getSelectionText, children, providedUser, placeholder, composerLocales, }: CommentComposerProps) => import("react/jsx-runtime").JSX.Element;
55
- export {};
1
+ import { CommentComposerProps } from './types';
2
+ export declare const CommentComposer: ({ children, onSubmit, initialDraft, updateLocation, onBlur, setEdit, ns, }: CommentComposerProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,96 @@
1
+ export declare namespace CommentComposerTypes {
2
+ enum Entity {
3
+ None = "NONE",
4
+ Project = "PROJECT",
5
+ Sprint = "SPRINT",
6
+ Folder = "FOLDER",
7
+ Workspace = "WORKSPACE",
8
+ Page = "PAGE",
9
+ Task = "PROJECTTASK",
10
+ Form = "FORM",
11
+ Attachment = "ATTACHMENT",
12
+ User = "USER",
13
+ Comment = "COMMENT",
14
+ Flow = "FLOW"
15
+ }
16
+ interface OptimisticCommentFile {
17
+ id: string;
18
+ name: string;
19
+ type: string;
20
+ size: number;
21
+ url: string;
22
+ src: string;
23
+ isImage: boolean;
24
+ isTemp: true;
25
+ raw: File;
26
+ }
27
+ interface CommentAttachment {
28
+ id: string;
29
+ name: string;
30
+ type: string;
31
+ size: number;
32
+ url: string;
33
+ src: string;
34
+ isImage: boolean;
35
+ isTemp: boolean;
36
+ raw?: File;
37
+ }
38
+ type AnyCommentFile = CommentAttachment;
39
+ interface CommentDraft {
40
+ text: string;
41
+ files: CommentAttachment[];
42
+ }
43
+ interface RenderEditorParams {
44
+ onSubmit: () => void;
45
+ handleBlur: (e: any) => void;
46
+ setCommentDraft: React.Dispatch<React.SetStateAction<CommentDraft>>;
47
+ commentDraft: CommentDraft;
48
+ editorRef: React.MutableRefObject<unknown>;
49
+ initialContent?: string;
50
+ }
51
+ interface ComposerInitialDraft {
52
+ text: string;
53
+ files: CommentAttachment[];
54
+ }
55
+ interface ComposerDraft {
56
+ text: string;
57
+ files: CommentAttachment[];
58
+ quote?: string;
59
+ }
60
+ interface EditChangesPayload {
61
+ textChanged: boolean;
62
+ newFiles: CommentAttachment[];
63
+ deletedFiles: CommentAttachment[];
64
+ newText: string;
65
+ }
66
+ type ComposerSubmitPayload = {
67
+ mode: 'create';
68
+ data: ComposerDraft;
69
+ } | {
70
+ mode: 'edit';
71
+ data: EditChangesPayload;
72
+ };
73
+ }
74
+ export interface CommentComposerBaseProps {
75
+ children?: (params: CommentComposerTypes.RenderEditorParams) => React.ReactNode;
76
+ onSubmit: (payload: CommentComposerTypes.ComposerSubmitPayload) => void;
77
+ initialDraft?: CommentComposerTypes.ComposerInitialDraft;
78
+ ns?: string;
79
+ setEdit?: (v: {
80
+ id: string;
81
+ text: string;
82
+ files: CommentComposerTypes.AnyCommentFile[];
83
+ }) => void;
84
+ }
85
+ export interface FloatComposerProps extends CommentComposerBaseProps {
86
+ updateLocation: (boxElem: HTMLDivElement, selectionRef: React.MutableRefObject<any>, selectionState: {
87
+ container: HTMLDivElement;
88
+ elements: HTMLSpanElement[];
89
+ }) => void;
90
+ onBlur: () => void;
91
+ }
92
+ export interface InlineComposerProps extends CommentComposerBaseProps {
93
+ updateLocation?: undefined;
94
+ onBlur?: () => void;
95
+ }
96
+ export type CommentComposerProps = FloatComposerProps | InlineComposerProps;
@@ -1,27 +1,2 @@
1
1
  import { ReactElement } from 'react';
2
- import { NodeKey, RangeSelection } from '@layers-app/editor';
3
- import { Comment, Comments, CommentsFilter, CommentsLocales, GeneralComment, GetEditorFn, ICommentFile, StoreOptions, Thread, UpdateCommentTextArgs, SharedCommentProps } from './types.ts';
4
- import * as React from 'react';
5
- interface CommentsPanelProps extends Omit<SharedCommentProps, 'commentOrThread'> {
6
- comments: Comments;
7
- activeIDs: string[];
8
- restoreComment?: (commentId: string, threadId?: string) => void;
9
- storeOptions: StoreOptions;
10
- updateThreadId: (tempId: string, realId: string, updatedAt: string, commentType: string, files: ICommentFile[], thread?: Thread) => void;
11
- deleteCommentImage: (photoToRemove: string, threadOrGeneralId: string, commentId?: string) => void;
12
- removeCommentReactions: (reaction: string, threatOrGeneral: Thread | GeneralComment | Comment, comment?: Thread | GeneralComment) => void;
13
- addCommentReaction: (reaction: string, comment: Thread | GeneralComment | Comment, threatOrGeneral?: Thread | GeneralComment) => void;
14
- updateCommentTextOrImage: UpdateCommentTextArgs;
15
- markNodeMap?: Map<string, Set<NodeKey>>;
16
- submitAddComment: (commentOrThread: Comment | Thread | GeneralComment, isInlineComment: boolean, thread?: Thread | GeneralComment, selection?: RangeSelection | null, files?: File[]) => void;
17
- listRef: React.RefObject<HTMLElement>;
18
- getEditor: GetEditorFn;
19
- clipPath?: string;
20
- isSidebar?: boolean;
21
- locales: CommentsLocales;
22
- commentsFilter: CommentsFilter;
23
- setCommentsFilter: React.Dispatch<React.SetStateAction<CommentsFilter>>;
24
- isLoading: boolean;
25
- }
26
- export declare function CommentsPanel({ activeIDs, deleteCommentOrThread, comments, submitAddComment, markNodeMap, storeOptions, deleteCommentImage, addCommentReaction, removeCommentReactions, restoreComment, updateCommentTextOrImage, listRef, resolveThreat, updateThreadId, locales, getEditor, setCommentsFilter, commentsFilter, clipPath, isLoading, isSidebar, }: CommentsPanelProps): ReactElement;
27
- export {};
2
+ export declare function CommentsPanel(): ReactElement;
@@ -25,6 +25,7 @@ export type EmojiPickerLocales = {
25
25
  emojis?: string;
26
26
  search?: string;
27
27
  searchResults?: string;
28
+ chooseColor?: string;
28
29
  searchNoResults?: string;
29
30
  remove?: string;
30
31
  icons?: string;
@@ -0,0 +1,11 @@
1
+ export type IconMinified = {
2
+ n: string;
3
+ c: string;
4
+ t: string;
5
+ s: 'outline' | 'filled' | 'unknown';
6
+ }[];
7
+ /**
8
+ * Load and prepare icons list.
9
+ * If project === 'PROJECT' applies special grouping rules and includes custom icons.
10
+ */
11
+ export declare const getIconsList: (project?: string) => Promise<IconMinified>;
@@ -0,0 +1 @@
1
+ export declare function getRandomIcon(project?: string): Promise<string | undefined>;
@@ -23,6 +23,7 @@ export type FilePickerProps = PropsWithChildren<{
23
23
  type?: FileType;
24
24
  isValidMediaUrl?: (url: string) => boolean;
25
25
  targetProps?: FlexProps;
26
+ onOpenedChange?: (opened: boolean) => void;
26
27
  }>;
27
- export declare const FilePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken, unsplashClientId, type, galleryCollection, isValidMediaUrl, popoverProps, dropZoneProps, targetProps, locales, }: PropsWithChildren<FilePickerProps>) => import("react/jsx-runtime").JSX.Element;
28
+ export declare const FilePicker: ({ onChange, onRemove, onUpload, uploading, showTabs, children, width, position, readOnly, hasImage, giphyToken, unsplashClientId, type, galleryCollection, isValidMediaUrl, popoverProps, dropZoneProps, targetProps, onOpenedChange, locales, }: PropsWithChildren<FilePickerProps>) => import("react/jsx-runtime").JSX.Element;
28
29
  export {};
@@ -14,6 +14,7 @@ export type FilePickerLocales = {
14
14
  uploadFile?: string;
15
15
  change?: string;
16
16
  remove?: string;
17
+ save?: string;
17
18
  dragOrClickToChoose?: string;
18
19
  maxFileSize?: string;
19
20
  pasteLink?: string;
@@ -244,6 +244,7 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
244
244
  } | undefined;
245
245
  align?: "center" | "end" | "start" | undefined;
246
246
  primaryColor?: string | undefined;
247
+ borderRadius?: "sm" | "md" | "lg" | undefined;
247
248
  background?: {
248
249
  image?: string | undefined;
249
250
  color?: string | undefined;
@@ -261,7 +262,6 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
261
262
  shadowSize?: number | undefined;
262
263
  shadowColor?: string | undefined;
263
264
  } | undefined;
264
- borderRadius?: "sm" | "md" | "lg" | undefined;
265
265
  font?: {
266
266
  color?: string | undefined;
267
267
  fontSize?: number | undefined;
@@ -243,6 +243,7 @@ export declare const sortSteps: (steps: StepData[]) => {
243
243
  } | undefined;
244
244
  align?: "center" | "end" | "start" | undefined;
245
245
  primaryColor?: string | undefined;
246
+ borderRadius?: "sm" | "md" | "lg" | undefined;
246
247
  background?: {
247
248
  image?: string | undefined;
248
249
  color?: string | undefined;
@@ -260,7 +261,6 @@ export declare const sortSteps: (steps: StepData[]) => {
260
261
  shadowSize?: number | undefined;
261
262
  shadowColor?: string | undefined;
262
263
  } | undefined;
263
- borderRadius?: "sm" | "md" | "lg" | undefined;
264
264
  font?: {
265
265
  color?: string | undefined;
266
266
  fontSize?: number | undefined;
@@ -243,6 +243,7 @@ export declare const getFirstStep: (steps: StepData[]) => {
243
243
  } | undefined;
244
244
  align?: "center" | "end" | "start" | undefined;
245
245
  primaryColor?: string | undefined;
246
+ borderRadius?: "sm" | "md" | "lg" | undefined;
246
247
  background?: {
247
248
  image?: string | undefined;
248
249
  color?: string | undefined;
@@ -260,7 +261,6 @@ export declare const getFirstStep: (steps: StepData[]) => {
260
261
  shadowSize?: number | undefined;
261
262
  shadowColor?: string | undefined;
262
263
  } | undefined;
263
- borderRadius?: "sm" | "md" | "lg" | undefined;
264
264
  font?: {
265
265
  color?: string | undefined;
266
266
  fontSize?: number | undefined;
@@ -241,6 +241,7 @@ export declare const useActiveStep: () => {
241
241
  } | undefined;
242
242
  align?: "center" | "end" | "start" | undefined;
243
243
  primaryColor?: string | undefined;
244
+ borderRadius?: "sm" | "md" | "lg" | undefined;
244
245
  background?: {
245
246
  image?: string | undefined;
246
247
  color?: string | undefined;
@@ -258,7 +259,6 @@ export declare const useActiveStep: () => {
258
259
  shadowSize?: number | undefined;
259
260
  shadowColor?: string | undefined;
260
261
  } | undefined;
261
- borderRadius?: "sm" | "md" | "lg" | undefined;
262
262
  font?: {
263
263
  color?: string | undefined;
264
264
  fontSize?: number | undefined;
@@ -69,6 +69,7 @@ export declare const createFormStore: () => {
69
69
  } | undefined;
70
70
  align?: "center" | "end" | "start" | undefined;
71
71
  primaryColor?: string | undefined;
72
+ borderRadius?: "sm" | "md" | "lg" | undefined;
72
73
  background?: {
73
74
  image?: string | undefined;
74
75
  color?: string | undefined;
@@ -86,7 +87,6 @@ export declare const createFormStore: () => {
86
87
  shadowSize?: number | undefined;
87
88
  shadowColor?: string | undefined;
88
89
  } | undefined;
89
- borderRadius?: "sm" | "md" | "lg" | undefined;
90
90
  font?: {
91
91
  color?: string | undefined;
92
92
  fontSize?: number | undefined;
@@ -351,6 +351,7 @@ export declare const createFormStore: () => {
351
351
  } | undefined;
352
352
  align?: "center" | "end" | "start" | undefined;
353
353
  primaryColor?: string | undefined;
354
+ borderRadius?: "sm" | "md" | "lg" | undefined;
354
355
  background?: {
355
356
  image?: string | undefined;
356
357
  color?: string | undefined;
@@ -368,7 +369,6 @@ export declare const createFormStore: () => {
368
369
  shadowSize?: number | undefined;
369
370
  shadowColor?: string | undefined;
370
371
  } | undefined;
371
- borderRadius?: "sm" | "md" | "lg" | undefined;
372
372
  font?: {
373
373
  color?: string | undefined;
374
374
  fontSize?: number | undefined;
@@ -632,6 +632,7 @@ export declare const createFormStore: () => {
632
632
  } | undefined;
633
633
  align?: "center" | "end" | "start" | undefined;
634
634
  primaryColor?: string | undefined;
635
+ borderRadius?: "sm" | "md" | "lg" | undefined;
635
636
  background?: {
636
637
  image?: string | undefined;
637
638
  color?: string | undefined;
@@ -649,7 +650,6 @@ export declare const createFormStore: () => {
649
650
  shadowSize?: number | undefined;
650
651
  shadowColor?: string | undefined;
651
652
  } | undefined;
652
- borderRadius?: "sm" | "md" | "lg" | undefined;
653
653
  font?: {
654
654
  color?: string | undefined;
655
655
  fontSize?: number | undefined;
@@ -747,6 +747,7 @@ export declare const useFormViewerStore: () => {
747
747
  } | undefined;
748
748
  align?: "center" | "end" | "start" | undefined;
749
749
  primaryColor?: string | undefined;
750
+ borderRadius?: "sm" | "md" | "lg" | undefined;
750
751
  background?: {
751
752
  image?: string | undefined;
752
753
  color?: string | undefined;
@@ -764,7 +765,6 @@ export declare const useFormViewerStore: () => {
764
765
  shadowSize?: number | undefined;
765
766
  shadowColor?: string | undefined;
766
767
  } | undefined;
767
- borderRadius?: "sm" | "md" | "lg" | undefined;
768
768
  font?: {
769
769
  color?: string | undefined;
770
770
  fontSize?: number | undefined;
@@ -1029,6 +1029,7 @@ export declare const useFormViewerStore: () => {
1029
1029
  } | undefined;
1030
1030
  align?: "center" | "end" | "start" | undefined;
1031
1031
  primaryColor?: string | undefined;
1032
+ borderRadius?: "sm" | "md" | "lg" | undefined;
1032
1033
  background?: {
1033
1034
  image?: string | undefined;
1034
1035
  color?: string | undefined;
@@ -1046,7 +1047,6 @@ export declare const useFormViewerStore: () => {
1046
1047
  shadowSize?: number | undefined;
1047
1048
  shadowColor?: string | undefined;
1048
1049
  } | undefined;
1049
- borderRadius?: "sm" | "md" | "lg" | undefined;
1050
1050
  font?: {
1051
1051
  color?: string | undefined;
1052
1052
  fontSize?: number | undefined;
@@ -1310,6 +1310,7 @@ export declare const useFormViewerStore: () => {
1310
1310
  } | undefined;
1311
1311
  align?: "center" | "end" | "start" | undefined;
1312
1312
  primaryColor?: string | undefined;
1313
+ borderRadius?: "sm" | "md" | "lg" | undefined;
1313
1314
  background?: {
1314
1315
  image?: string | undefined;
1315
1316
  color?: string | undefined;
@@ -1327,7 +1328,6 @@ export declare const useFormViewerStore: () => {
1327
1328
  shadowSize?: number | undefined;
1328
1329
  shadowColor?: string | undefined;
1329
1330
  } | undefined;
1330
- borderRadius?: "sm" | "md" | "lg" | undefined;
1331
1331
  font?: {
1332
1332
  color?: string | undefined;
1333
1333
  fontSize?: number | undefined;
@@ -50,6 +50,7 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
50
50
  } | undefined;
51
51
  align?: "center" | "end" | "start" | undefined;
52
52
  primaryColor?: string | undefined;
53
+ borderRadius?: "sm" | "md" | "lg" | undefined;
53
54
  background?: {
54
55
  image?: string | undefined;
55
56
  color?: string | undefined;
@@ -67,7 +68,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
67
68
  shadowSize?: number | undefined;
68
69
  shadowColor?: string | undefined;
69
70
  } | undefined;
70
- borderRadius?: "sm" | "md" | "lg" | undefined;
71
71
  font?: {
72
72
  color?: string | undefined;
73
73
  fontSize?: number | undefined;
@@ -332,6 +332,7 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
332
332
  } | undefined;
333
333
  align?: "center" | "end" | "start" | undefined;
334
334
  primaryColor?: string | undefined;
335
+ borderRadius?: "sm" | "md" | "lg" | undefined;
335
336
  background?: {
336
337
  image?: string | undefined;
337
338
  color?: string | undefined;
@@ -349,7 +350,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
349
350
  shadowSize?: number | undefined;
350
351
  shadowColor?: string | undefined;
351
352
  } | undefined;
352
- borderRadius?: "sm" | "md" | "lg" | undefined;
353
353
  font?: {
354
354
  color?: string | undefined;
355
355
  fontSize?: number | undefined;
@@ -613,6 +613,7 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
613
613
  } | undefined;
614
614
  align?: "center" | "end" | "start" | undefined;
615
615
  primaryColor?: string | undefined;
616
+ borderRadius?: "sm" | "md" | "lg" | undefined;
616
617
  background?: {
617
618
  image?: string | undefined;
618
619
  color?: string | undefined;
@@ -630,7 +631,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
630
631
  shadowSize?: number | undefined;
631
632
  shadowColor?: string | undefined;
632
633
  } | undefined;
633
- borderRadius?: "sm" | "md" | "lg" | undefined;
634
634
  font?: {
635
635
  color?: string | undefined;
636
636
  fontSize?: number | undefined;