@myissue/vue-website-page-builder 3.5.12 → 3.5.14
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/index.d.ts +1384 -11
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +7677 -7573
- package/dist/vue-website-page-builder.umd.cjs +61 -57
- package/package.json +6 -9
- package/dist/App.vue.d.ts +0 -2
- package/dist/Components/ComponentThumbnail.vue.d.ts +0 -19
- package/dist/Components/Homepage/Footer.vue.d.ts +0 -2
- package/dist/Components/Icons/LayersIcon.vue.d.ts +0 -7
- package/dist/Components/Icons/SliderIcon.vue.d.ts +0 -7
- package/dist/Components/Inputs/ToggleInput.vue.d.ts +0 -9
- package/dist/Components/Loaders/ElementLoader.vue.d.ts +0 -2
- package/dist/Components/Loaders/GlobalLoader.vue.d.ts +0 -2
- package/dist/Components/Modals/BuilderComponents.vue.d.ts +0 -42
- package/dist/Components/Modals/DynamicModalBuilder.vue.d.ts +0 -142
- package/dist/Components/Modals/MediaLibraryModal.vue.d.ts +0 -58
- package/dist/Components/Modals/ModalBuilder.vue.d.ts +0 -73
- package/dist/Components/Overlays/FloatingSidePanel.vue.d.ts +0 -61
- package/dist/Components/PageBuilder/EditorMenu/Editables/BackgroundColorEditor.vue.d.ts +0 -12
- package/dist/Components/PageBuilder/EditorMenu/Editables/BorderRadius.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/Borders.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/ClassEditor.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/ComponentTopMenu.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/EditGetElement.vue.d.ts +0 -8
- package/dist/Components/PageBuilder/EditorMenu/Editables/HTMLEditor.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/ImageEditor.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/ImageSettingsModal.vue.d.ts +0 -5
- package/dist/Components/PageBuilder/EditorMenu/Editables/ManageBackgroundOpacity.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/ManageOpacity.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/MarginControl.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/OpacityEditor.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/PaddingControl.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/StyleEditor.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/TextColorEditor.vue.d.ts +0 -12
- package/dist/Components/PageBuilder/EditorMenu/Editables/ThemeColorPresetManager.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/Typography.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/Editables/TypographyForTipTap.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/EditorMenu/EditorAccordion.vue.d.ts +0 -14
- package/dist/Components/PageBuilder/EditorMenu/RightSidebarEditor.vue.d.ts +0 -6
- package/dist/Components/PageBuilder/Settings/AdvancedPageBuilderSettings.vue.d.ts +0 -14
- package/dist/Components/PageBuilder/Settings/PageBuilderSettings.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/ToolbarOption/ToolbarOption.vue.d.ts +0 -2
- package/dist/Components/PageBuilder/UndoRedo/UndoRedo.vue.d.ts +0 -6
- package/dist/Components/TipTap/TipTapInput.vue.d.ts +0 -2
- package/dist/PageBuilder/PageBuilder.vue.d.ts +0 -47
- package/dist/PageBuilder/Preview.vue.d.ts +0 -12
- package/dist/composables/builderInstance.d.ts +0 -20
- package/dist/composables/delay.d.ts +0 -1
- package/dist/composables/extractCleanHTMLFromPageBuilder.d.ts +0 -2
- package/dist/composables/preloadImage.d.ts +0 -1
- package/dist/composables/useDebounce.d.ts +0 -1
- package/dist/composables/usePageBuilderModal.d.ts +0 -4
- package/dist/composables/useThemeColorPresets.d.ts +0 -47
- package/dist/composables/useTranslations.d.ts +0 -12
- package/dist/helpers/isEmptyObject.d.ts +0 -1
- package/dist/main.d.ts +0 -0
- package/dist/plugin.d.ts +0 -4
- package/dist/services/LocalStorageManager.d.ts +0 -7
- package/dist/services/PageBuilderService.d.ts +0 -698
- package/dist/sitemap.xml +0 -8
- package/dist/stores/page-builder-state.d.ts +0 -360
- package/dist/stores/shared-store.d.ts +0 -4
- package/dist/tests/DefaultComponents/DefaultBuilderComponents.vue.d.ts +0 -14
- package/dist/tests/DefaultComponents/DefaultMediaLibraryComponent.vue.d.ts +0 -2
- package/dist/tests/PageBuilderTest.vue.d.ts +0 -2
- package/dist/tests/TestComponents/DemoMediaLibraryComponentTest.vue.d.ts +0 -2
- package/dist/tests/TestComponents/DemoUnsplash.vue.d.ts +0 -2
- package/dist/tests/composables/useThemeColorPresets.test.d.ts +0 -16
- package/dist/tests/config/config.test.d.ts +0 -1
- package/dist/tests/service/componentValidation.test.d.ts +0 -1
- package/dist/tests/service/globalPageSettings.test.d.ts +0 -1
- package/dist/tests/service/htmlUtils.test.d.ts +0 -1
- package/dist/tests/service/localStorage.test.d.ts +0 -1
- package/dist/tests/service/pageBuilderService.test.d.ts +0 -1
- package/dist/tests/ui/modalStacking.test.d.ts +0 -1
- package/dist/types/index.d.ts +0 -275
- package/dist/utils/builder/html-doc-declaration-with-components.d.ts +0 -2
- package/dist/utils/builder/tailwaind-colors.d.ts +0 -6
- package/dist/utils/builder/tailwind-border-radius.d.ts +0 -9
- package/dist/utils/builder/tailwind-border-style-width-color.d.ts +0 -7
- package/dist/utils/builder/tailwind-font-sizes.d.ts +0 -8
- package/dist/utils/builder/tailwind-font-styles.d.ts +0 -7
- package/dist/utils/builder/tailwind-image.d.ts +0 -7
- package/dist/utils/builder/tailwind-opacities.d.ts +0 -6
- package/dist/utils/builder/tailwind-padding-margin.d.ts +0 -16
- package/dist/utils/html-elements/component.d.ts +0 -13
- package/dist/utils/html-elements/componentHelpers.d.ts +0 -10
- package/dist/utils/html-elements/themes.d.ts +0 -13
package/dist/sitemap.xml
DELETED
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
import { ComponentObject, SetPushComponentsPayload, ImageObject, PageBuilderConfig } from '../types';
|
|
2
|
-
interface PageBuilderState {
|
|
3
|
-
componentArrayAddMethod: string | null;
|
|
4
|
-
localStorageItemName: string | null;
|
|
5
|
-
showModalTipTap: boolean;
|
|
6
|
-
menuRight: boolean;
|
|
7
|
-
borderStyle: string | null;
|
|
8
|
-
borderWidth: string | null;
|
|
9
|
-
borderColor: string | null;
|
|
10
|
-
borderRadiusGlobal: string | null;
|
|
11
|
-
borderRadiusTopLeft: string | null;
|
|
12
|
-
borderRadiusTopRight: string | null;
|
|
13
|
-
borderRadiusBottomleft: string | null;
|
|
14
|
-
borderRadiusBottomRight: string | null;
|
|
15
|
-
elementContainsHyperlink: boolean | null;
|
|
16
|
-
hyperlinkAbility: boolean | null;
|
|
17
|
-
hyperlinkInput: string | null;
|
|
18
|
-
hyperlinkMessage: string | null;
|
|
19
|
-
hyperlinkError: string | null;
|
|
20
|
-
hyberlinkEnable: boolean;
|
|
21
|
-
openHyperlinkinkInNewTab: boolean | null;
|
|
22
|
-
opacity: string | null;
|
|
23
|
-
backgroundOpacity: string | null;
|
|
24
|
-
textAreaVueModel: string | null;
|
|
25
|
-
currentClasses: string[];
|
|
26
|
-
currentStyles: Record<string, string>;
|
|
27
|
-
fontVerticalPadding: string | null;
|
|
28
|
-
fontHorizontalPadding: string | null;
|
|
29
|
-
fontTopPadding: string | null;
|
|
30
|
-
fontRightPadding: string | null;
|
|
31
|
-
fontBottomPadding: string | null;
|
|
32
|
-
fontLeftPadding: string | null;
|
|
33
|
-
fontVerticalMargin: string | null;
|
|
34
|
-
fontHorizontalMargin: string | null;
|
|
35
|
-
fontTopMargin: string | null;
|
|
36
|
-
fontRightMargin: string | null;
|
|
37
|
-
fontBottomMargin: string | null;
|
|
38
|
-
fontLeftMargin: string | null;
|
|
39
|
-
fontStyle: string | null;
|
|
40
|
-
fontFamily: string | null;
|
|
41
|
-
fontWeight: string | null;
|
|
42
|
-
fontBase: string | null;
|
|
43
|
-
fontDesktop: string | null;
|
|
44
|
-
fontTablet: string | null;
|
|
45
|
-
fontMobile: string | null;
|
|
46
|
-
backgroundColor: string | null;
|
|
47
|
-
textColor: string | null;
|
|
48
|
-
element: (HTMLElement & {
|
|
49
|
-
src?: string;
|
|
50
|
-
}) | null;
|
|
51
|
-
component: ComponentObject | null;
|
|
52
|
-
components: ComponentObject[];
|
|
53
|
-
basePrimaryImage: string | null;
|
|
54
|
-
imageObjectFit: string | null;
|
|
55
|
-
imageObjectPosition: string | null;
|
|
56
|
-
imageAspectRatio: string | null;
|
|
57
|
-
imageSettingsPanelOpen: boolean;
|
|
58
|
-
configPageBuilder: PageBuilderConfig | null;
|
|
59
|
-
showModalHTMLEditor: boolean;
|
|
60
|
-
toggleGlobalHtmlMode: boolean;
|
|
61
|
-
applyImageToSelection: ImageObject;
|
|
62
|
-
currentPreviewImage: string | null;
|
|
63
|
-
builderStarted: boolean;
|
|
64
|
-
isLoadingGlobal: boolean;
|
|
65
|
-
isSaving: boolean;
|
|
66
|
-
hasLocalDraftForUpdate: boolean;
|
|
67
|
-
isResumeEditing: boolean;
|
|
68
|
-
isRestoring: boolean;
|
|
69
|
-
currentLanguage: string | null;
|
|
70
|
-
historyIndex: number;
|
|
71
|
-
historyLength: number;
|
|
72
|
-
addComponentAddIndex: number | null;
|
|
73
|
-
}
|
|
74
|
-
export declare const usePageBuilderStateStore: import('pinia').StoreDefinition<"pageBuilderState", PageBuilderState, {
|
|
75
|
-
getComponentArrayAddMethod(state: PageBuilderState): string | null;
|
|
76
|
-
getLocalStorageItemName(state: PageBuilderState): string | null;
|
|
77
|
-
getShowModalTipTap(state: PageBuilderState): boolean;
|
|
78
|
-
getMenuRight(state: PageBuilderState): boolean;
|
|
79
|
-
getBorderStyle(state: PageBuilderState): string | null;
|
|
80
|
-
getBorderWidth(state: PageBuilderState): string | null;
|
|
81
|
-
getBorderColor(state: PageBuilderState): string | null;
|
|
82
|
-
getBorderRadiusGlobal(state: PageBuilderState): string | null;
|
|
83
|
-
getBorderRadiusTopLeft(state: PageBuilderState): string | null;
|
|
84
|
-
getBorderRadiusTopRight(state: PageBuilderState): string | null;
|
|
85
|
-
getBorderRadiusBottomleft(state: PageBuilderState): string | null;
|
|
86
|
-
getBorderRadiusBottomRight(state: PageBuilderState): string | null;
|
|
87
|
-
getElementContainsHyperlink(state: PageBuilderState): boolean | null;
|
|
88
|
-
getHyperlinkAbility(state: PageBuilderState): boolean | null;
|
|
89
|
-
getHyperlinkInput(state: PageBuilderState): string | null;
|
|
90
|
-
getHyperlinkMessage(state: PageBuilderState): string | null;
|
|
91
|
-
getHyperlinkError(state: PageBuilderState): string | null;
|
|
92
|
-
getHyberlinkEnable(state: PageBuilderState): boolean;
|
|
93
|
-
getOpenHyperlinkInNewTab(state: PageBuilderState): boolean | null;
|
|
94
|
-
getOpacity(state: PageBuilderState): string | null;
|
|
95
|
-
getBackgroundOpacity(state: PageBuilderState): string | null;
|
|
96
|
-
getTextAreaVueModel(state: PageBuilderState): string | null;
|
|
97
|
-
getCurrentClasses(state: PageBuilderState): string[];
|
|
98
|
-
getCurrentStyles(state: PageBuilderState): Record<string, string>;
|
|
99
|
-
getFontStyle(state: PageBuilderState): string | null;
|
|
100
|
-
getFontVerticalPadding(state: PageBuilderState): string | null;
|
|
101
|
-
getFontHorizontalPadding(state: PageBuilderState): string | null;
|
|
102
|
-
getFontTopPadding(state: PageBuilderState): string | null;
|
|
103
|
-
getFontRightPadding(state: PageBuilderState): string | null;
|
|
104
|
-
getFontBottomPadding(state: PageBuilderState): string | null;
|
|
105
|
-
getFontLeftPadding(state: PageBuilderState): string | null;
|
|
106
|
-
getFontVerticalMargin(state: PageBuilderState): string | null;
|
|
107
|
-
getFontHorizontalMargin(state: PageBuilderState): string | null;
|
|
108
|
-
getFontTopMargin(state: PageBuilderState): string | null;
|
|
109
|
-
getFontRightMargin(state: PageBuilderState): string | null;
|
|
110
|
-
getFontBottomMargin(state: PageBuilderState): string | null;
|
|
111
|
-
getFontLeftMargin(state: PageBuilderState): string | null;
|
|
112
|
-
getFontFamily(state: PageBuilderState): string | null;
|
|
113
|
-
getFontWeight(state: PageBuilderState): string | null;
|
|
114
|
-
getFontBase(state: PageBuilderState): string | null;
|
|
115
|
-
getFontDesktop(state: PageBuilderState): string | null;
|
|
116
|
-
getFontTablet(state: PageBuilderState): string | null;
|
|
117
|
-
getFontMobile(state: PageBuilderState): string | null;
|
|
118
|
-
getBackgroundColor(state: PageBuilderState): string | null;
|
|
119
|
-
getTextColor(state: PageBuilderState): string | null;
|
|
120
|
-
getElement(state: PageBuilderState): HTMLElement | null;
|
|
121
|
-
getComponent(state: PageBuilderState): ComponentObject | null;
|
|
122
|
-
getComponents(state: PageBuilderState): ComponentObject[];
|
|
123
|
-
getBasePrimaryImage(state: PageBuilderState): string | null;
|
|
124
|
-
getImageObjectFit(state: PageBuilderState): string | null;
|
|
125
|
-
getImageObjectPosition(state: PageBuilderState): string | null;
|
|
126
|
-
getImageAspectRatio(state: PageBuilderState): string | null;
|
|
127
|
-
getImageSettingsPanelOpen(state: PageBuilderState): boolean;
|
|
128
|
-
getPageBuilderConfig(state: PageBuilderState): PageBuilderConfig | null;
|
|
129
|
-
getShowModalHTMLEditor(state: PageBuilderState): boolean;
|
|
130
|
-
getToggleGlobalHtmlMode(state: PageBuilderState): boolean;
|
|
131
|
-
getApplyImageToSelection(state: PageBuilderState): ImageObject;
|
|
132
|
-
getCurrentPreviewImage(state: PageBuilderState): string | null;
|
|
133
|
-
getBuilderStarted: (state: PageBuilderState) => boolean;
|
|
134
|
-
getIsLoadingGlobal: (state: PageBuilderState) => boolean;
|
|
135
|
-
getIsSaving: (state: PageBuilderState) => boolean;
|
|
136
|
-
getHasLocalDraftForUpdate: (state: PageBuilderState) => boolean;
|
|
137
|
-
getIsLoadingResumeEditing: (state: PageBuilderState) => boolean;
|
|
138
|
-
getIsRestoring: (state: PageBuilderState) => boolean;
|
|
139
|
-
getCurrentLanguage: (state: PageBuilderState) => string | null;
|
|
140
|
-
getHistoryIndex: (state: PageBuilderState) => number;
|
|
141
|
-
getHistoryLength: (state: PageBuilderState) => number;
|
|
142
|
-
getAddComponentAddIndex: (state: {
|
|
143
|
-
componentArrayAddMethod: string | null;
|
|
144
|
-
localStorageItemName: string | null;
|
|
145
|
-
showModalTipTap: boolean;
|
|
146
|
-
menuRight: boolean;
|
|
147
|
-
borderStyle: string | null;
|
|
148
|
-
borderWidth: string | null;
|
|
149
|
-
borderColor: string | null;
|
|
150
|
-
borderRadiusGlobal: string | null;
|
|
151
|
-
borderRadiusTopLeft: string | null;
|
|
152
|
-
borderRadiusTopRight: string | null;
|
|
153
|
-
borderRadiusBottomleft: string | null;
|
|
154
|
-
borderRadiusBottomRight: string | null;
|
|
155
|
-
elementContainsHyperlink: boolean | null;
|
|
156
|
-
hyperlinkAbility: boolean | null;
|
|
157
|
-
hyperlinkInput: string | null;
|
|
158
|
-
hyperlinkMessage: string | null;
|
|
159
|
-
hyperlinkError: string | null;
|
|
160
|
-
hyberlinkEnable: boolean;
|
|
161
|
-
openHyperlinkinkInNewTab: boolean | null;
|
|
162
|
-
opacity: string | null;
|
|
163
|
-
backgroundOpacity: string | null;
|
|
164
|
-
textAreaVueModel: string | null;
|
|
165
|
-
currentClasses: string[];
|
|
166
|
-
currentStyles: Record<string, string>;
|
|
167
|
-
fontVerticalPadding: string | null;
|
|
168
|
-
fontHorizontalPadding: string | null;
|
|
169
|
-
fontTopPadding: string | null;
|
|
170
|
-
fontRightPadding: string | null;
|
|
171
|
-
fontBottomPadding: string | null;
|
|
172
|
-
fontLeftPadding: string | null;
|
|
173
|
-
fontVerticalMargin: string | null;
|
|
174
|
-
fontHorizontalMargin: string | null;
|
|
175
|
-
fontTopMargin: string | null;
|
|
176
|
-
fontRightMargin: string | null;
|
|
177
|
-
fontBottomMargin: string | null;
|
|
178
|
-
fontLeftMargin: string | null;
|
|
179
|
-
fontStyle: string | null;
|
|
180
|
-
fontFamily: string | null;
|
|
181
|
-
fontWeight: string | null;
|
|
182
|
-
fontBase: string | null;
|
|
183
|
-
fontDesktop: string | null;
|
|
184
|
-
fontTablet: string | null;
|
|
185
|
-
fontMobile: string | null;
|
|
186
|
-
backgroundColor: string | null;
|
|
187
|
-
textColor: string | null;
|
|
188
|
-
element: (HTMLElement & {
|
|
189
|
-
src?: string;
|
|
190
|
-
}) | null;
|
|
191
|
-
component: {
|
|
192
|
-
[x: string]: unknown;
|
|
193
|
-
id: string | number | null;
|
|
194
|
-
html_code: string;
|
|
195
|
-
title: string;
|
|
196
|
-
} | null;
|
|
197
|
-
components: {
|
|
198
|
-
[x: string]: unknown;
|
|
199
|
-
id: string | number | null;
|
|
200
|
-
html_code: string;
|
|
201
|
-
title: string;
|
|
202
|
-
}[];
|
|
203
|
-
basePrimaryImage: string | null;
|
|
204
|
-
imageObjectFit: string | null;
|
|
205
|
-
imageObjectPosition: string | null;
|
|
206
|
-
imageAspectRatio: string | null;
|
|
207
|
-
imageSettingsPanelOpen: boolean;
|
|
208
|
-
configPageBuilder: {
|
|
209
|
-
[x: string]: unknown;
|
|
210
|
-
updateOrCreate: {
|
|
211
|
-
[x: string]: unknown;
|
|
212
|
-
formType: "create" | "update" | (string & {});
|
|
213
|
-
formName: import('..').FormName | (string & {});
|
|
214
|
-
};
|
|
215
|
-
pageBuilderLogo?: {
|
|
216
|
-
[x: string]: unknown;
|
|
217
|
-
src: string;
|
|
218
|
-
} | null | undefined;
|
|
219
|
-
resourceData?: {
|
|
220
|
-
[x: string]: unknown;
|
|
221
|
-
title?: string | undefined;
|
|
222
|
-
id?: number | string | undefined;
|
|
223
|
-
} | null | undefined;
|
|
224
|
-
userForPageBuilder?: {
|
|
225
|
-
id?: string | number | null | undefined;
|
|
226
|
-
name?: string | undefined;
|
|
227
|
-
image?: string | undefined;
|
|
228
|
-
} | undefined;
|
|
229
|
-
userSettings?: {
|
|
230
|
-
language?: {
|
|
231
|
-
default?: string | undefined;
|
|
232
|
-
enable?: readonly string[] | undefined;
|
|
233
|
-
disableLanguageDropDown?: boolean | undefined;
|
|
234
|
-
} | undefined;
|
|
235
|
-
autoSave?: boolean | undefined;
|
|
236
|
-
notifications?: boolean | undefined;
|
|
237
|
-
fontFamily?: string | undefined;
|
|
238
|
-
} | null | undefined;
|
|
239
|
-
settings?: {
|
|
240
|
-
[x: string]: unknown;
|
|
241
|
-
brandColor?: string | undefined;
|
|
242
|
-
themeColorPresets?: {
|
|
243
|
-
[x: string]: unknown;
|
|
244
|
-
enabled?: boolean | undefined;
|
|
245
|
-
colors?: readonly {
|
|
246
|
-
[x: string]: unknown;
|
|
247
|
-
id: import('..').ThemeColorPresetId | (string & {});
|
|
248
|
-
label?: string | undefined;
|
|
249
|
-
color?: string | undefined;
|
|
250
|
-
enabled?: boolean | undefined;
|
|
251
|
-
}[] | undefined;
|
|
252
|
-
} | {
|
|
253
|
-
enabled: boolean;
|
|
254
|
-
colors: readonly {
|
|
255
|
-
id: import('..').ThemeColorPresetId;
|
|
256
|
-
label: string;
|
|
257
|
-
color: string;
|
|
258
|
-
enabled: boolean;
|
|
259
|
-
}[];
|
|
260
|
-
} | null | undefined;
|
|
261
|
-
} | null | undefined;
|
|
262
|
-
pageSettings?: {
|
|
263
|
-
[x: string]: unknown;
|
|
264
|
-
classes?: string | undefined;
|
|
265
|
-
style?: (string | Record<string, string>) | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
} | null;
|
|
268
|
-
showModalHTMLEditor: boolean;
|
|
269
|
-
toggleGlobalHtmlMode: boolean;
|
|
270
|
-
applyImageToSelection: {
|
|
271
|
-
[x: string]: unknown;
|
|
272
|
-
src: string;
|
|
273
|
-
};
|
|
274
|
-
currentPreviewImage: string | null;
|
|
275
|
-
builderStarted: boolean;
|
|
276
|
-
isLoadingGlobal: boolean;
|
|
277
|
-
isSaving: boolean;
|
|
278
|
-
hasLocalDraftForUpdate: boolean;
|
|
279
|
-
isResumeEditing: boolean;
|
|
280
|
-
isRestoring: boolean;
|
|
281
|
-
currentLanguage: string | null;
|
|
282
|
-
historyIndex: number;
|
|
283
|
-
historyLength: number;
|
|
284
|
-
addComponentAddIndex: number | null;
|
|
285
|
-
} & import('pinia').PiniaCustomStateProperties<PageBuilderState>) => number | null;
|
|
286
|
-
}, {
|
|
287
|
-
setComponentArrayAddMethod(payload: string | null): void;
|
|
288
|
-
setLocalStorageItemName(payload: string | null): void;
|
|
289
|
-
setShowModalTipTap(payload: boolean): void;
|
|
290
|
-
setMenuRight(payload: boolean): void;
|
|
291
|
-
setBorderStyle(payload: string | null): void;
|
|
292
|
-
setBorderWidth(payload: string | null): void;
|
|
293
|
-
setBorderColor(payload: string | null): void;
|
|
294
|
-
setBorderRadiusGlobal(payload: string | null): void;
|
|
295
|
-
setBorderRadiusTopLeft(payload: string | null): void;
|
|
296
|
-
setBorderRadiusTopRight(payload: string | null): void;
|
|
297
|
-
setBorderRadiusBottomleft(payload: string | null): void;
|
|
298
|
-
setBorderRadiusBottomRight(payload: string | null): void;
|
|
299
|
-
setElementContainsHyperlink(payload: boolean | null): void;
|
|
300
|
-
setHyperlinkAbility(payload: boolean | null): void;
|
|
301
|
-
setHyperlinkInput(payload: string | null): void;
|
|
302
|
-
setHyperlinkMessage(payload: string | null): void;
|
|
303
|
-
setHyperlinkError(payload: string | null): void;
|
|
304
|
-
setHyberlinkEnable(payload: boolean): void;
|
|
305
|
-
setOpenHyperlinkInNewTab(payload: boolean | null): void;
|
|
306
|
-
setOpacity(payload: string | null): void;
|
|
307
|
-
setBackgroundOpacity(payload: string | null): void;
|
|
308
|
-
setTextAreaVueModel(payload: string | null): void;
|
|
309
|
-
setClass(payload: string): void;
|
|
310
|
-
removeClass(payload: string): void;
|
|
311
|
-
setCurrentClasses(payload: string[] | ArrayLike<string>): void;
|
|
312
|
-
setCurrentStyles(payload: Record<string, string>): void;
|
|
313
|
-
setFontVerticalPadding(payload: string | null): void;
|
|
314
|
-
setFontHorizontalPadding(payload: string | null): void;
|
|
315
|
-
setFontTopPadding(payload: string | null): void;
|
|
316
|
-
setFontRightPadding(payload: string | null): void;
|
|
317
|
-
setFontBottomPadding(payload: string | null): void;
|
|
318
|
-
setFontLeftPadding(payload: string | null): void;
|
|
319
|
-
setFontVerticalMargin(payload: string | null): void;
|
|
320
|
-
setFontHorizontalMargin(payload: string | null): void;
|
|
321
|
-
setFontTopMargin(payload: string | null): void;
|
|
322
|
-
setFontRightMargin(payload: string | null): void;
|
|
323
|
-
setFontBottomMargin(payload: string | null): void;
|
|
324
|
-
setFontLeftMargin(payload: string | null): void;
|
|
325
|
-
setFontStyle(payload: string | null): void;
|
|
326
|
-
setFontFamily(payload: string | null): void;
|
|
327
|
-
setFontWeight(payload: string | null): void;
|
|
328
|
-
setFontBase(payload: string | null): void;
|
|
329
|
-
setFontDesktop(payload: string | null): void;
|
|
330
|
-
setFontTablet(payload: string | null): void;
|
|
331
|
-
setFontMobile(payload: string | null): void;
|
|
332
|
-
setBackgroundColor(payload: string | null): void;
|
|
333
|
-
setTextColor(payload: string | null): void;
|
|
334
|
-
setElement(payload: HTMLElement | null): void;
|
|
335
|
-
setComponent(payload: ComponentObject | null): void;
|
|
336
|
-
setComponents(payload: ComponentObject[] | null): void;
|
|
337
|
-
setPushComponents(payload: SetPushComponentsPayload): void;
|
|
338
|
-
setBasePrimaryImage(payload: string | null): void;
|
|
339
|
-
setImageObjectFit(payload: string | null): void;
|
|
340
|
-
setImageObjectPosition(payload: string | null): void;
|
|
341
|
-
setImageAspectRatio(payload: string | null): void;
|
|
342
|
-
setImageSettingsPanelOpen(payload: boolean): void;
|
|
343
|
-
setCurrentLayoutPreview(payload: string): void;
|
|
344
|
-
setPageBuilderConfig(payload: PageBuilderConfig | null): void;
|
|
345
|
-
setShowModalHTMLEditor(payload: boolean): void;
|
|
346
|
-
setToggleGlobalHtmlMode(payload: boolean): void;
|
|
347
|
-
setApplyImageToSelection(payload: ImageObject): void;
|
|
348
|
-
setCurrentPreviewImage(payload: string | null): void;
|
|
349
|
-
setBuilderStarted(payload: boolean): void;
|
|
350
|
-
setIsLoadingGlobal(payload: boolean): void;
|
|
351
|
-
setIsSaving(payload: boolean): void;
|
|
352
|
-
setHasLocalDraftForUpdate(payload: boolean): void;
|
|
353
|
-
setIsLoadingResumeEditing(payload: boolean): void;
|
|
354
|
-
setIsRestoring(payload: boolean): void;
|
|
355
|
-
setCurrentLanguage(payload: string): void;
|
|
356
|
-
setHistoryIndex(payload: number): void;
|
|
357
|
-
setHistoryLength(payload: number): void;
|
|
358
|
-
setAddComponentAddIndex(payload: number | null): void;
|
|
359
|
-
}>;
|
|
360
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { usePageBuilderStateStore } from './page-builder-state';
|
|
2
|
-
export declare const sharedPageBuilderPinia: import('pinia').Pinia;
|
|
3
|
-
export declare const sharedPageBuilderStore: ReturnType<typeof usePageBuilderStateStore>;
|
|
4
|
-
export { usePageBuilderStateStore } from './page-builder-state';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
customMediaComponent: {
|
|
3
|
-
type: ObjectConstructor;
|
|
4
|
-
default: null;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
-
customMediaComponent: {
|
|
8
|
-
type: ObjectConstructor;
|
|
9
|
-
default: null;
|
|
10
|
-
};
|
|
11
|
-
}>> & Readonly<{}>, {
|
|
12
|
-
customMediaComponent: Record<string, any>;
|
|
13
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tests for useThemeColorPresets composable.
|
|
3
|
-
*
|
|
4
|
-
* Covers:
|
|
5
|
-
* - buildStorageKey() — user-scoped vs shared key derivation
|
|
6
|
-
* - Initial hydration — config values become initial defaults
|
|
7
|
-
* - Persistence priority — localStorage beats config on re-hydration
|
|
8
|
-
* - Same-session preservation — modal reopen does NOT revert user changes
|
|
9
|
-
* - Page-reload persistence — changes survive clearing hasLoaded
|
|
10
|
-
* - updateThemeColorPreset() — normalises hex, persists to localStorage
|
|
11
|
-
* - setThemeColorPresetsEnabled() — toggles global enabled flag, persists
|
|
12
|
-
* - resetThemeColorPresets() — clears storage and restores built-in defaults
|
|
13
|
-
* - User-specific isolation — different user ids write to separate keys
|
|
14
|
-
* - PageBuilderUser.id type — accepts string and number ids
|
|
15
|
-
*/
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|