lf-pagebuilder-vue 0.0.46 → 0.0.48
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/components/BodySection.vue.d.ts +2 -1
- package/dist/components/ColConfig.vue.d.ts +16 -2
- package/dist/components/ComponentsBox.vue.d.ts +21 -3
- package/dist/components/FeedComponent.vue.d.ts +2 -1
- package/dist/components/FieldsForm.vue.d.ts +4 -3
- package/dist/components/Footer.vue.d.ts +1 -1
- package/dist/components/GlobalConfig.vue.d.ts +2 -0
- package/dist/components/InitialComponent.vue.d.ts +3 -4
- package/dist/components/Pagebuilder.vue.d.ts +24 -4
- package/dist/components/RowConfig.vue.d.ts +1 -0
- package/dist/components/SourceFilter.vue.d.ts +2 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1374 -1232
- package/dist/symfony-entry.d.ts +1 -0
- package/dist-symfony/lf-pagebuilder-iife.css +1 -1
- package/dist-symfony/lf-pagebuilder-iife.iife.js +106 -132
- package/dist-symfony/lf-pagebuilder-iife.iife.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface PageSection {
|
|
3
4
|
section: string;
|
|
4
5
|
config: any;
|
|
@@ -47,8 +48,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
47
48
|
default: boolean;
|
|
48
49
|
};
|
|
49
50
|
}>> & Readonly<{}>, {
|
|
51
|
+
isProduction: boolean;
|
|
50
52
|
isComponentMode: boolean;
|
|
51
53
|
fullwidthMode: boolean;
|
|
52
|
-
isProduction: boolean;
|
|
53
54
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
55
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface PageSection {
|
|
3
4
|
section: string;
|
|
4
5
|
config: any;
|
|
@@ -31,7 +32,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
32
|
addComponentFunction: PropType<(rowIndex: number, columnIndex: number, section: string) => void>;
|
|
32
33
|
moveCol: PropType<(rowIndex: number, colIndex: number, section: string, direction?: "left" | "right") => void>;
|
|
33
34
|
section: StringConstructor;
|
|
34
|
-
|
|
35
|
+
isHidden: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
|
+
"toggle-visibility": (...args: any[]) => void;
|
|
41
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
42
|
globalPageConfiguration: PropType<PageSection[]>;
|
|
36
43
|
rowIndex: {
|
|
37
44
|
type: NumberConstructor;
|
|
@@ -48,7 +55,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
55
|
addComponentFunction: PropType<(rowIndex: number, columnIndex: number, section: string) => void>;
|
|
49
56
|
moveCol: PropType<(rowIndex: number, colIndex: number, section: string, direction?: "left" | "right") => void>;
|
|
50
57
|
section: StringConstructor;
|
|
51
|
-
|
|
58
|
+
isHidden: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
}>> & Readonly<{
|
|
63
|
+
"onToggle-visibility"?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
}>, {
|
|
52
65
|
fullwidthMode: boolean;
|
|
66
|
+
isHidden: boolean;
|
|
53
67
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
68
|
export default _default;
|
|
@@ -3,7 +3,7 @@ interface ColumnToInsert {
|
|
|
3
3
|
columnIndex: number | null;
|
|
4
4
|
section: string | null;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
7
|
isComponentMode: boolean;
|
|
8
8
|
fullwidthMode: boolean;
|
|
9
9
|
columnToInsert: ColumnToInsert;
|
|
@@ -13,6 +13,24 @@ type __VLS_Props = {
|
|
|
13
13
|
isProduction: boolean;
|
|
14
14
|
components: Record<string, any>;
|
|
15
15
|
excludedCategories?: string[];
|
|
16
|
-
}
|
|
17
|
-
|
|
16
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
|
+
isComponentMode: boolean;
|
|
18
|
+
fullwidthMode: boolean;
|
|
19
|
+
columnToInsert: ColumnToInsert;
|
|
20
|
+
addComponentToColumn: (component: any) => void;
|
|
21
|
+
renderApiDomain: string;
|
|
22
|
+
toggleComponentModeFunction: () => void;
|
|
23
|
+
isProduction: boolean;
|
|
24
|
+
components: Record<string, any>;
|
|
25
|
+
excludedCategories?: string[];
|
|
26
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
27
|
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface ComponentField {
|
|
3
4
|
name: string;
|
|
4
5
|
label: string;
|
|
@@ -67,5 +68,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
67
68
|
};
|
|
68
69
|
}>> & Readonly<{}>, {
|
|
69
70
|
isProduction: boolean;
|
|
70
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
71
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
71
72
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface ComponentField {
|
|
3
4
|
name: string;
|
|
4
5
|
label: string;
|
|
@@ -33,9 +34,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
33
34
|
type: BooleanConstructor;
|
|
34
35
|
default: boolean;
|
|
35
36
|
};
|
|
36
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
-
fieldUpdated: (fieldName: string, value: string | boolean) =>
|
|
38
|
-
exclusiveFieldChanged: (groupName: string, activeFieldName: string) =>
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
fieldUpdated: (fieldName: string, value: string | boolean) => void;
|
|
39
|
+
exclusiveFieldChanged: (groupName: string, activeFieldName: string) => void;
|
|
39
40
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
41
|
object: {
|
|
41
42
|
type: PropType<ComponentObject>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
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
2
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface PageSection {
|
|
3
4
|
section: string;
|
|
4
5
|
config: {
|
|
@@ -51,6 +52,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
51
52
|
sectionWidth: import('vue').WritableComputedRef<string, string>;
|
|
52
53
|
isSaved: import('vue').Ref<boolean, boolean>;
|
|
53
54
|
componentRoot: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
55
|
+
isScrolled: import('vue').Ref<boolean, boolean>;
|
|
54
56
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:sectionSelected" | "update:parametersPageConfiguration.global.sidebarEnabled" | "update:parametersPageConfiguration.global.renderAsBodyPart" | "update:parametersPageConfiguration.global.headSlot" | "update:parametersPageConfiguration.global.bodyBeginSlot" | "update:parametersPageConfiguration.global.footerSlot" | "update:parametersPageConfiguration.seo.robots" | "update:parametersPageConfiguration.seo.title" | "update:parametersPageConfiguration.seo.description")[], "update:sectionSelected" | "update:parametersPageConfiguration.global.sidebarEnabled" | "update:parametersPageConfiguration.global.renderAsBodyPart" | "update:parametersPageConfiguration.global.headSlot" | "update:parametersPageConfiguration.global.bodyBeginSlot" | "update:parametersPageConfiguration.global.footerSlot" | "update:parametersPageConfiguration.seo.robots" | "update:parametersPageConfiguration.seo.title" | "update:parametersPageConfiguration.seo.description", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
57
|
isComponentMode: BooleanConstructor;
|
|
56
58
|
fullwidthMode: BooleanConstructor;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface ComponentField {
|
|
3
4
|
name: string;
|
|
4
5
|
label: string;
|
|
@@ -85,11 +86,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
85
86
|
default: boolean;
|
|
86
87
|
};
|
|
87
88
|
}>> & Readonly<{}>, {
|
|
89
|
+
isProduction: boolean;
|
|
88
90
|
isComponentMode: boolean;
|
|
89
91
|
fullwidthMode: boolean;
|
|
90
|
-
isProduction: boolean;
|
|
91
92
|
insideComponentBox: boolean;
|
|
92
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
93
|
-
rootElement: HTMLDivElement;
|
|
94
|
-
}, HTMLDivElement>;
|
|
93
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
95
94
|
export default _default;
|
|
@@ -1,15 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
isProduction?: boolean;
|
|
3
3
|
debugMode?: boolean;
|
|
4
4
|
submitForm?: boolean;
|
|
5
5
|
inputId?: string | null;
|
|
6
6
|
excludeComponentTypes?: string[];
|
|
7
7
|
/** Modo de renderizado permitido. 'open' = el usuario puede elegir (defecto), 'fullpage' = forzado página completa, 'onlybody' = forzado solo body */
|
|
8
|
-
allowRenderMode?:
|
|
8
|
+
allowRenderMode?: "open" | "fullpage" | "onlybody";
|
|
9
9
|
/** Secciones visibles. Si no se indica, se muestran todas: Header, Body, Footer, Sidebar */
|
|
10
10
|
visibleSections?: string[];
|
|
11
11
|
/** Token JWT de Limbo - obtenido server-side con fetchLimboToken() */
|
|
12
12
|
limboToken?: string;
|
|
13
|
-
}
|
|
14
|
-
|
|
13
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
isProduction?: boolean;
|
|
15
|
+
debugMode?: boolean;
|
|
16
|
+
submitForm?: boolean;
|
|
17
|
+
inputId?: string | null;
|
|
18
|
+
excludeComponentTypes?: string[];
|
|
19
|
+
/** Modo de renderizado permitido. 'open' = el usuario puede elegir (defecto), 'fullpage' = forzado página completa, 'onlybody' = forzado solo body */
|
|
20
|
+
allowRenderMode?: "open" | "fullpage" | "onlybody";
|
|
21
|
+
/** Secciones visibles. Si no se indica, se muestran todas: Header, Body, Footer, Sidebar */
|
|
22
|
+
visibleSections?: string[];
|
|
23
|
+
/** Token JWT de Limbo - obtenido server-side con fetchLimboToken() */
|
|
24
|
+
limboToken?: string;
|
|
25
|
+
}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
26
|
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
|
|
2
3
|
interface FeedCriteria {
|
|
3
4
|
name: string;
|
|
4
5
|
url: string;
|
|
@@ -31,5 +32,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
31
32
|
};
|
|
32
33
|
}>> & Readonly<{}>, {
|
|
33
34
|
isProduction: boolean;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
35
36
|
export default _default;
|