@layers-app/shared 0.0.44 → 0.0.45
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-C6wJBGZ2.js +287 -0
- package/dist/components/AppContainer/AppContainer.d.ts +2 -3
- package/dist/components/AppContainer/Header.d.ts +8 -0
- package/dist/components/AppContainer/Main.d.ts +2 -0
- package/dist/components/AppContainer/components/AppSidebarButton.d.ts +9 -0
- package/dist/components/AppContainer/components/AppsSidebar/AppsSection.d.ts +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/AppsSidebar.d.ts +4 -0
- package/dist/components/AppContainer/components/AppsSidebar/TopSection.d.ts +1 -0
- package/dist/components/AppContainer/components/AppsSidebar/UserSection.d.ts +4 -0
- package/dist/components/AppContainer/components/MobileNavbar.d.ts +2 -2
- package/dist/components/AppContainer/components/RightSidebar.d.ts +2 -0
- package/dist/components/AppContainer/components/SidebarToggleButton.d.ts +3 -0
- package/dist/components/AppContainer/components/SlideAnimation.d.ts +6 -0
- package/dist/components/AppContainer/components/ToolSidebar.d.ts +3 -0
- package/dist/components/AppContainer/components/ToolbarNewButton.d.ts +2 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/HelpMenu.d.ts +1 -0
- package/dist/components/AppContainer/components/menus/HelpMenu/WhatsNew.d.ts +7 -0
- package/dist/components/AppContainer/components/menus/MoreMenu.d.ts +1 -0
- package/dist/components/AppContainer/components/{MenuUserDropdown.d.ts → menus/UserMenu/MenuUserDropdown.d.ts} +1 -1
- package/dist/components/AppContainer/hooks/useAppContainer.d.ts +1 -1
- package/dist/components/AppContainer/hooks/useAppContainerStore.d.ts +30 -12
- package/dist/components/AppContainer/types.d.ts +15 -11
- package/dist/components/AppShell/AppShell.d.ts +12 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryContext.d.ts +22 -0
- package/dist/components/AttachmentsGalleryModal/AttachmentsGalleryModal.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/components/ErrorSection.d.ts +1 -0
- package/dist/components/AttachmentsGalleryModal/components/GallerySlide.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalFooter.d.ts +4 -0
- package/dist/components/AttachmentsGalleryModal/components/ModalHeader.d.ts +7 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/ShakaPlayer.d.ts +7 -0
- package/dist/components/AttachmentsGalleryModal/components/ShakePlayer/useShakePlayer.d.ts +9 -0
- package/dist/components/AttachmentsGalleryModal/constants.d.ts +19 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useDownloadFile.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useEmblaCarousel.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useGetPreviewUrl.d.ts +8 -0
- package/dist/components/AttachmentsGalleryModal/hooks/useZoomReset.d.ts +1 -0
- package/dist/components/AttachmentsGalleryModal/types.d.ts +0 -8
- package/dist/components/CommentComposer/index.d.ts +1 -1
- package/dist/components/CommentsPanel/components/CommentsListItemMenu.d.ts +1 -1
- package/dist/components/EntityIcon.d.ts +7 -0
- package/dist/components/FormViewer/helpers/conditions.d.ts +1 -1
- package/dist/components/FormViewer/helpers/helpers.d.ts +1 -1
- package/dist/components/FormViewer/helpers/steps.d.ts +1 -1
- package/dist/components/FormViewer/hooks/useActiveStep.d.ts +1 -1
- package/dist/components/FormViewer/store/formStore.d.ts +30 -30
- package/dist/components/FormViewer/store/formStoreApi.d.ts +3 -3
- package/dist/components/FormViewer/store/selectors.d.ts +342 -342
- package/dist/components/FormViewer/types/schemes.d.ts +22 -22
- package/dist/components/Loaders/BaseLoader.d.ts +3 -0
- package/dist/components/NavMenu/NavMenu.d.ts +21 -0
- package/dist/components/NavMenu/components/DnDItem.d.ts +8 -0
- package/dist/components/NavMenu/components/DnDProvider.d.ts +8 -0
- package/dist/components/NavMenu/components/DraggableOverlay.d.ts +1 -0
- package/dist/components/NavMenu/components/NavMenuActionIcon.d.ts +2 -0
- package/dist/components/NavMenu/components/NavMenuItem.d.ts +7 -0
- package/dist/components/NavMenu/components/NavMenuLabel.d.ts +3 -0
- package/dist/components/NavMenu/index.d.ts +5 -0
- package/dist/components/NavMenu/store.d.ts +37 -0
- package/dist/components/NavMenu/types.d.ts +29 -0
- package/dist/components/NavbarResizer/NavbarResizer.d.ts +5 -2
- package/dist/components/Notification/Notification.d.ts +1 -0
- package/dist/components/Notification/NotificationCard.d.ts +1 -1
- package/dist/components/ProjectIcon/ProjectIcon.d.ts +3 -3
- package/dist/components/SubmitModal/index.d.ts +2 -2
- package/dist/components/UserAvatar/index.d.ts +1 -1
- package/dist/components/WorkspaceAvatar/WorkspaceAvatar.d.ts +6 -10
- package/dist/components/WorkspaceMenu/WorkspaceItem.d.ts +2 -14
- package/dist/components/WorkspaceMenu/WorkspaceMenu.d.ts +9 -8
- package/dist/components/modals/RemoveConfirmModal.d.ts +2 -0
- package/dist/constants.d.ts +0 -1
- package/dist/emoji-categorized-DAOdcF53.js +4 -0
- package/dist/helpers/download.d.ts +2 -2
- package/dist/hooks/useDateUtils.d.ts +1 -0
- package/dist/hooks/useMenu.d.ts +0 -3
- package/dist/icons.min-Chyr-bjL.js +4 -0
- package/dist/index-W83Evo8i.js +78459 -0
- package/dist/index.d.ts +11 -12
- package/dist/index.js +310 -263
- package/dist/index.umd.cjs +429 -60
- package/dist/lang/index.d.ts +4 -0
- package/dist/lang/locales/ui_en.json.d.ts +80 -0
- package/dist/lang/locales/ui_es.json.d.ts +77 -0
- package/dist/lang/locales/ui_ru.json.d.ts +81 -0
- package/dist/types/files.d.ts +18 -0
- package/package.json +18 -11
- package/dist/KanbanLayout-DrevX3Ow.js +0 -297
- package/dist/components/AppContainer/components/AllAppsMenu.d.ts +0 -5
- package/dist/components/AppContainer/components/DesktopNavbar.d.ts +0 -7
- package/dist/components/AppContainer/components/NavbarFooter.d.ts +0 -3
- package/dist/components/AppContainer/components/NavbarHeader.d.ts +0 -3
- package/dist/components/AttachmentsGalleryModal/ShakaPlayer.d.ts +0 -15
- package/dist/components/AttachmentsGalleryModal/index.d.ts +0 -2
- package/dist/components/InfoMenu/index.d.ts +0 -1
- package/dist/components/InviteModal/InviteModal.d.ts +0 -2
- package/dist/components/InviteModal/slice.d.ts +0 -13
- package/dist/components/Notification/index.d.ts +0 -6
- package/dist/components/RichText/extensions/bold.d.ts +0 -3
- package/dist/components/RichText/extensions/check-list.d.ts +0 -42
- package/dist/components/RichText/extensions/color-picker.d.ts +0 -28
- package/dist/components/RichText/extensions/font-size.d.ts +0 -23
- package/dist/components/RichText/extensions/italic.d.ts +0 -3
- package/dist/components/RichText/extensions/underline.d.ts +0 -3
- package/dist/components/RichText/index.d.ts +0 -41
- package/dist/components/modals/openRemoveConfirmModal.d.ts +0 -4
- package/dist/emoji-categorized-CRsMUQyD.js +0 -4
- package/dist/icons.min-wo13YUY4.js +0 -4
- package/dist/index-B6qa0aiu.js +0 -115264
- package/dist/store/aboutModal.d.ts +0 -7
- package/dist/store/trashModal.d.ts +0 -7
- /package/dist/components/{AttachmentsGalleryModal → ImageModal}/ImageModal.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IFileResponse } from '../../../types/files.ts';
|
|
2
|
+
export declare const useGetPreviewUrl: (attachment: IFileResponse) => {
|
|
3
|
+
fileUrl: string | null;
|
|
4
|
+
isFetching: boolean;
|
|
5
|
+
isError: boolean;
|
|
6
|
+
setIsError: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
7
|
+
isVideo: boolean;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useZoomReset: () => void;
|
|
@@ -5,11 +5,3 @@ export type IAttachment = {
|
|
|
5
5
|
contentType: string;
|
|
6
6
|
Url?: string;
|
|
7
7
|
};
|
|
8
|
-
export type AttachmentsGalleryModalProps = {
|
|
9
|
-
opened: boolean;
|
|
10
|
-
onOpenChange: (v: boolean) => void;
|
|
11
|
-
showAttach?: IAttachment | null;
|
|
12
|
-
setShowAttach?: (v: IAttachment | null) => void;
|
|
13
|
-
attachments: IAttachment[];
|
|
14
|
-
translation?: Record<string, string>;
|
|
15
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MutableRefObject } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { EditorType, RangeSelection } from '@layers-app/editor';
|
|
3
3
|
import { Comment, CommentsNs, GeneralComment, ICommentFile, ICommentOptions, IUser, Thread } from '../CommentsPanel/types.ts';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
interface CommentValue {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Comment, GeneralComment, Thread } from '../types.ts';
|
|
2
|
-
export declare const CommentsListItemMenu: ({ handleEditClick, commentOrThread, deleteCommentOrThread, hasPermission }: {
|
|
2
|
+
export declare const CommentsListItemMenu: ({ handleEditClick, commentOrThread, deleteCommentOrThread, hasPermission, }: {
|
|
3
3
|
handleEditClick: (comment: Comment | Thread | GeneralComment) => void;
|
|
4
4
|
commentOrThread: Comment | Thread | GeneralComment;
|
|
5
5
|
deleteCommentOrThread: (commentOrThread: Comment | Thread, thread?: Thread) => void;
|
|
@@ -243,6 +243,7 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
243
243
|
fontFamily?: string | undefined;
|
|
244
244
|
} | undefined;
|
|
245
245
|
align?: "center" | "end" | "start" | undefined;
|
|
246
|
+
primaryColor?: string | undefined;
|
|
246
247
|
background?: {
|
|
247
248
|
image?: string | undefined;
|
|
248
249
|
color?: string | undefined;
|
|
@@ -268,7 +269,6 @@ export declare const getNextStep: (step: StepData, steps: StepData[], form: UseF
|
|
|
268
269
|
fontFamily?: string | undefined;
|
|
269
270
|
} | undefined;
|
|
270
271
|
listStyle?: string | undefined;
|
|
271
|
-
primaryColor?: string | undefined;
|
|
272
272
|
customCSS?: string | undefined;
|
|
273
273
|
} | undefined;
|
|
274
274
|
isStart?: boolean | undefined;
|
|
@@ -242,6 +242,7 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
242
242
|
fontFamily?: string | undefined;
|
|
243
243
|
} | undefined;
|
|
244
244
|
align?: "center" | "end" | "start" | undefined;
|
|
245
|
+
primaryColor?: string | undefined;
|
|
245
246
|
background?: {
|
|
246
247
|
image?: string | undefined;
|
|
247
248
|
color?: string | undefined;
|
|
@@ -267,7 +268,6 @@ export declare const sortSteps: (steps: StepData[]) => {
|
|
|
267
268
|
fontFamily?: string | undefined;
|
|
268
269
|
} | undefined;
|
|
269
270
|
listStyle?: string | undefined;
|
|
270
|
-
primaryColor?: string | undefined;
|
|
271
271
|
customCSS?: string | undefined;
|
|
272
272
|
} | undefined;
|
|
273
273
|
isStart?: boolean | undefined;
|
|
@@ -242,6 +242,7 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
242
242
|
fontFamily?: string | undefined;
|
|
243
243
|
} | undefined;
|
|
244
244
|
align?: "center" | "end" | "start" | undefined;
|
|
245
|
+
primaryColor?: string | undefined;
|
|
245
246
|
background?: {
|
|
246
247
|
image?: string | undefined;
|
|
247
248
|
color?: string | undefined;
|
|
@@ -267,7 +268,6 @@ export declare const getFirstStep: (steps: StepData[]) => {
|
|
|
267
268
|
fontFamily?: string | undefined;
|
|
268
269
|
} | undefined;
|
|
269
270
|
listStyle?: string | undefined;
|
|
270
|
-
primaryColor?: string | undefined;
|
|
271
271
|
customCSS?: string | undefined;
|
|
272
272
|
} | undefined;
|
|
273
273
|
isStart?: boolean | undefined;
|
|
@@ -240,6 +240,7 @@ export declare const useActiveStep: () => {
|
|
|
240
240
|
fontFamily?: string | undefined;
|
|
241
241
|
} | undefined;
|
|
242
242
|
align?: "center" | "end" | "start" | undefined;
|
|
243
|
+
primaryColor?: string | undefined;
|
|
243
244
|
background?: {
|
|
244
245
|
image?: string | undefined;
|
|
245
246
|
color?: string | undefined;
|
|
@@ -265,7 +266,6 @@ export declare const useActiveStep: () => {
|
|
|
265
266
|
fontFamily?: string | undefined;
|
|
266
267
|
} | undefined;
|
|
267
268
|
listStyle?: string | undefined;
|
|
268
|
-
primaryColor?: string | undefined;
|
|
269
269
|
customCSS?: string | undefined;
|
|
270
270
|
} | undefined;
|
|
271
271
|
isStart?: boolean | undefined;
|
|
@@ -21,32 +21,32 @@ export type FormStoreState = {
|
|
|
21
21
|
export declare const createFormStore: () => {
|
|
22
22
|
useStore: import('zustand').UseBoundStore<import('zustand').StoreApi<FormStoreState>>;
|
|
23
23
|
api: {
|
|
24
|
-
applyTheme: (theme: import('
|
|
24
|
+
applyTheme: (theme: import('..').ThemeData) => void;
|
|
25
25
|
setLayout: (layout: FormViewLayout) => void;
|
|
26
|
-
patchSettingsData: (v: Partial<import('
|
|
27
|
-
patchThemeData: (v: Partial<import('
|
|
28
|
-
patchContainerTheme: (v: Partial<import('
|
|
29
|
-
patchTitleProperties: (v: Partial<import('
|
|
30
|
-
patchDescriptionProperties: (v: Partial<import('
|
|
31
|
-
patchCommonFontProperties: (v: Partial<import('
|
|
26
|
+
patchSettingsData: (v: Partial<import('..').SettingsData>) => void;
|
|
27
|
+
patchThemeData: (v: Partial<import('..').ThemeData>) => void;
|
|
28
|
+
patchContainerTheme: (v: Partial<import('..').ContainerProperties>) => void;
|
|
29
|
+
patchTitleProperties: (v: Partial<import('..').TextProperties>) => void;
|
|
30
|
+
patchDescriptionProperties: (v: Partial<import('..').TextProperties>) => void;
|
|
31
|
+
patchCommonFontProperties: (v: Partial<import('..').TextProperties>) => void;
|
|
32
32
|
setSteps: (steps: StepData[]) => void;
|
|
33
33
|
addStep: (step: StepData, index?: number) => void;
|
|
34
34
|
removeStep: (stepId: string) => void;
|
|
35
35
|
updateStep: (stepId: string, updatedStep: Partial<StepData>) => void;
|
|
36
|
-
updateControl: <CONTROL extends import('
|
|
36
|
+
updateControl: <CONTROL extends import('..').Control>(stepId: string, controlId: string, updatedControl: Partial<CONTROL>) => void;
|
|
37
37
|
reorderSteps: (fromId: string, toId: string) => void;
|
|
38
38
|
reorderControls: (stepId: string, activeId: string, overId: string) => void;
|
|
39
|
-
addControl: (stepId: string, newControl: import('
|
|
39
|
+
addControl: (stepId: string, newControl: import('..').Control) => void;
|
|
40
40
|
removeControl: (stepId: string, controlId: string) => void;
|
|
41
|
-
addCondition: (stepId: string, newCondition: import('
|
|
42
|
-
updateCondition: (stepId: string, conditionIndex: number, updatedCondition: Partial<import('
|
|
41
|
+
addCondition: (stepId: string, newCondition: import('..').Condition) => void;
|
|
42
|
+
updateCondition: (stepId: string, conditionIndex: number, updatedCondition: Partial<import('..').Condition>) => void;
|
|
43
43
|
removeCondition: (stepId: string, conditionIndex: number) => void;
|
|
44
44
|
setIsMobile: (isMobile: boolean) => void;
|
|
45
45
|
setConfig: (config: ParsedFormConfig | null, { silent }?: {
|
|
46
46
|
silent?: boolean;
|
|
47
47
|
}) => void;
|
|
48
48
|
setActiveStepId: (stepId: string) => void;
|
|
49
|
-
setFormLayout: (layout: import('
|
|
49
|
+
setFormLayout: (layout: import('..').FormLayout) => void;
|
|
50
50
|
scrollToControl: (controlId: string) => void;
|
|
51
51
|
getConfig: () => Required<{
|
|
52
52
|
theme?: {
|
|
@@ -68,6 +68,7 @@ export declare const createFormStore: () => {
|
|
|
68
68
|
fontFamily?: string | undefined;
|
|
69
69
|
} | undefined;
|
|
70
70
|
align?: "center" | "end" | "start" | undefined;
|
|
71
|
+
primaryColor?: string | undefined;
|
|
71
72
|
background?: {
|
|
72
73
|
image?: string | undefined;
|
|
73
74
|
color?: string | undefined;
|
|
@@ -93,7 +94,6 @@ export declare const createFormStore: () => {
|
|
|
93
94
|
fontFamily?: string | undefined;
|
|
94
95
|
} | undefined;
|
|
95
96
|
listStyle?: string | undefined;
|
|
96
|
-
primaryColor?: string | undefined;
|
|
97
97
|
customCSS?: string | undefined;
|
|
98
98
|
} | undefined;
|
|
99
99
|
settings?: {
|
|
@@ -350,6 +350,7 @@ export declare const createFormStore: () => {
|
|
|
350
350
|
fontFamily?: string | undefined;
|
|
351
351
|
} | undefined;
|
|
352
352
|
align?: "center" | "end" | "start" | undefined;
|
|
353
|
+
primaryColor?: string | undefined;
|
|
353
354
|
background?: {
|
|
354
355
|
image?: string | undefined;
|
|
355
356
|
color?: string | undefined;
|
|
@@ -375,7 +376,6 @@ export declare const createFormStore: () => {
|
|
|
375
376
|
fontFamily?: string | undefined;
|
|
376
377
|
} | undefined;
|
|
377
378
|
listStyle?: string | undefined;
|
|
378
|
-
primaryColor?: string | undefined;
|
|
379
379
|
customCSS?: string | undefined;
|
|
380
380
|
} | undefined;
|
|
381
381
|
isStart?: boolean | undefined;
|
|
@@ -631,6 +631,7 @@ export declare const createFormStore: () => {
|
|
|
631
631
|
fontFamily?: string | undefined;
|
|
632
632
|
} | undefined;
|
|
633
633
|
align?: "center" | "end" | "start" | undefined;
|
|
634
|
+
primaryColor?: string | undefined;
|
|
634
635
|
background?: {
|
|
635
636
|
image?: string | undefined;
|
|
636
637
|
color?: string | undefined;
|
|
@@ -656,7 +657,6 @@ export declare const createFormStore: () => {
|
|
|
656
657
|
fontFamily?: string | undefined;
|
|
657
658
|
} | undefined;
|
|
658
659
|
listStyle?: string | undefined;
|
|
659
|
-
primaryColor?: string | undefined;
|
|
660
660
|
customCSS?: string | undefined;
|
|
661
661
|
} | undefined;
|
|
662
662
|
isStart?: boolean | undefined;
|
|
@@ -699,32 +699,32 @@ export declare const FormStoreProvider: ({ children, editing, preview, store, ad
|
|
|
699
699
|
export declare const useFormViewerStore: () => {
|
|
700
700
|
useStore: import('zustand').UseBoundStore<import('zustand').StoreApi<FormStoreState>>;
|
|
701
701
|
api: {
|
|
702
|
-
applyTheme: (theme: import('
|
|
702
|
+
applyTheme: (theme: import('..').ThemeData) => void;
|
|
703
703
|
setLayout: (layout: FormViewLayout) => void;
|
|
704
|
-
patchSettingsData: (v: Partial<import('
|
|
705
|
-
patchThemeData: (v: Partial<import('
|
|
706
|
-
patchContainerTheme: (v: Partial<import('
|
|
707
|
-
patchTitleProperties: (v: Partial<import('
|
|
708
|
-
patchDescriptionProperties: (v: Partial<import('
|
|
709
|
-
patchCommonFontProperties: (v: Partial<import('
|
|
704
|
+
patchSettingsData: (v: Partial<import('..').SettingsData>) => void;
|
|
705
|
+
patchThemeData: (v: Partial<import('..').ThemeData>) => void;
|
|
706
|
+
patchContainerTheme: (v: Partial<import('..').ContainerProperties>) => void;
|
|
707
|
+
patchTitleProperties: (v: Partial<import('..').TextProperties>) => void;
|
|
708
|
+
patchDescriptionProperties: (v: Partial<import('..').TextProperties>) => void;
|
|
709
|
+
patchCommonFontProperties: (v: Partial<import('..').TextProperties>) => void;
|
|
710
710
|
setSteps: (steps: StepData[]) => void;
|
|
711
711
|
addStep: (step: StepData, index?: number) => void;
|
|
712
712
|
removeStep: (stepId: string) => void;
|
|
713
713
|
updateStep: (stepId: string, updatedStep: Partial<StepData>) => void;
|
|
714
|
-
updateControl: <CONTROL extends import('
|
|
714
|
+
updateControl: <CONTROL extends import('..').Control>(stepId: string, controlId: string, updatedControl: Partial<CONTROL>) => void;
|
|
715
715
|
reorderSteps: (fromId: string, toId: string) => void;
|
|
716
716
|
reorderControls: (stepId: string, activeId: string, overId: string) => void;
|
|
717
|
-
addControl: (stepId: string, newControl: import('
|
|
717
|
+
addControl: (stepId: string, newControl: import('..').Control) => void;
|
|
718
718
|
removeControl: (stepId: string, controlId: string) => void;
|
|
719
|
-
addCondition: (stepId: string, newCondition: import('
|
|
720
|
-
updateCondition: (stepId: string, conditionIndex: number, updatedCondition: Partial<import('
|
|
719
|
+
addCondition: (stepId: string, newCondition: import('..').Condition) => void;
|
|
720
|
+
updateCondition: (stepId: string, conditionIndex: number, updatedCondition: Partial<import('..').Condition>) => void;
|
|
721
721
|
removeCondition: (stepId: string, conditionIndex: number) => void;
|
|
722
722
|
setIsMobile: (isMobile: boolean) => void;
|
|
723
723
|
setConfig: (config: ParsedFormConfig | null, { silent }?: {
|
|
724
724
|
silent?: boolean;
|
|
725
725
|
}) => void;
|
|
726
726
|
setActiveStepId: (stepId: string) => void;
|
|
727
|
-
setFormLayout: (layout: import('
|
|
727
|
+
setFormLayout: (layout: import('..').FormLayout) => void;
|
|
728
728
|
scrollToControl: (controlId: string) => void;
|
|
729
729
|
getConfig: () => Required<{
|
|
730
730
|
theme?: {
|
|
@@ -746,6 +746,7 @@ export declare const useFormViewerStore: () => {
|
|
|
746
746
|
fontFamily?: string | undefined;
|
|
747
747
|
} | undefined;
|
|
748
748
|
align?: "center" | "end" | "start" | undefined;
|
|
749
|
+
primaryColor?: string | undefined;
|
|
749
750
|
background?: {
|
|
750
751
|
image?: string | undefined;
|
|
751
752
|
color?: string | undefined;
|
|
@@ -771,7 +772,6 @@ export declare const useFormViewerStore: () => {
|
|
|
771
772
|
fontFamily?: string | undefined;
|
|
772
773
|
} | undefined;
|
|
773
774
|
listStyle?: string | undefined;
|
|
774
|
-
primaryColor?: string | undefined;
|
|
775
775
|
customCSS?: string | undefined;
|
|
776
776
|
} | undefined;
|
|
777
777
|
settings?: {
|
|
@@ -1028,6 +1028,7 @@ export declare const useFormViewerStore: () => {
|
|
|
1028
1028
|
fontFamily?: string | undefined;
|
|
1029
1029
|
} | undefined;
|
|
1030
1030
|
align?: "center" | "end" | "start" | undefined;
|
|
1031
|
+
primaryColor?: string | undefined;
|
|
1031
1032
|
background?: {
|
|
1032
1033
|
image?: string | undefined;
|
|
1033
1034
|
color?: string | undefined;
|
|
@@ -1053,7 +1054,6 @@ export declare const useFormViewerStore: () => {
|
|
|
1053
1054
|
fontFamily?: string | undefined;
|
|
1054
1055
|
} | undefined;
|
|
1055
1056
|
listStyle?: string | undefined;
|
|
1056
|
-
primaryColor?: string | undefined;
|
|
1057
1057
|
customCSS?: string | undefined;
|
|
1058
1058
|
} | undefined;
|
|
1059
1059
|
isStart?: boolean | undefined;
|
|
@@ -1309,6 +1309,7 @@ export declare const useFormViewerStore: () => {
|
|
|
1309
1309
|
fontFamily?: string | undefined;
|
|
1310
1310
|
} | undefined;
|
|
1311
1311
|
align?: "center" | "end" | "start" | undefined;
|
|
1312
|
+
primaryColor?: string | undefined;
|
|
1312
1313
|
background?: {
|
|
1313
1314
|
image?: string | undefined;
|
|
1314
1315
|
color?: string | undefined;
|
|
@@ -1334,7 +1335,6 @@ export declare const useFormViewerStore: () => {
|
|
|
1334
1335
|
fontFamily?: string | undefined;
|
|
1335
1336
|
} | undefined;
|
|
1336
1337
|
listStyle?: string | undefined;
|
|
1337
|
-
primaryColor?: string | undefined;
|
|
1338
1338
|
customCSS?: string | undefined;
|
|
1339
1339
|
} | undefined;
|
|
1340
1340
|
isStart?: boolean | undefined;
|
|
@@ -49,6 +49,7 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
49
49
|
fontFamily?: string | undefined;
|
|
50
50
|
} | undefined;
|
|
51
51
|
align?: "center" | "end" | "start" | undefined;
|
|
52
|
+
primaryColor?: string | undefined;
|
|
52
53
|
background?: {
|
|
53
54
|
image?: string | undefined;
|
|
54
55
|
color?: string | undefined;
|
|
@@ -74,7 +75,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
74
75
|
fontFamily?: string | undefined;
|
|
75
76
|
} | undefined;
|
|
76
77
|
listStyle?: string | undefined;
|
|
77
|
-
primaryColor?: string | undefined;
|
|
78
78
|
customCSS?: string | undefined;
|
|
79
79
|
} | undefined;
|
|
80
80
|
settings?: {
|
|
@@ -331,6 +331,7 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
331
331
|
fontFamily?: string | undefined;
|
|
332
332
|
} | undefined;
|
|
333
333
|
align?: "center" | "end" | "start" | undefined;
|
|
334
|
+
primaryColor?: string | undefined;
|
|
334
335
|
background?: {
|
|
335
336
|
image?: string | undefined;
|
|
336
337
|
color?: string | undefined;
|
|
@@ -356,7 +357,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
356
357
|
fontFamily?: string | undefined;
|
|
357
358
|
} | undefined;
|
|
358
359
|
listStyle?: string | undefined;
|
|
359
|
-
primaryColor?: string | undefined;
|
|
360
360
|
customCSS?: string | undefined;
|
|
361
361
|
} | undefined;
|
|
362
362
|
isStart?: boolean | undefined;
|
|
@@ -612,6 +612,7 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
612
612
|
fontFamily?: string | undefined;
|
|
613
613
|
} | undefined;
|
|
614
614
|
align?: "center" | "end" | "start" | undefined;
|
|
615
|
+
primaryColor?: string | undefined;
|
|
615
616
|
background?: {
|
|
616
617
|
image?: string | undefined;
|
|
617
618
|
color?: string | undefined;
|
|
@@ -637,7 +638,6 @@ export declare const createFormStoreApi: (store: UseBoundStore<StoreApi<FormStor
|
|
|
637
638
|
fontFamily?: string | undefined;
|
|
638
639
|
} | undefined;
|
|
639
640
|
listStyle?: string | undefined;
|
|
640
|
-
primaryColor?: string | undefined;
|
|
641
641
|
customCSS?: string | undefined;
|
|
642
642
|
} | undefined;
|
|
643
643
|
isStart?: boolean | undefined;
|