@pepperi-addons/ngx-composite-lib 0.4.2-beta.75 → 0.4.2-beta.77
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/esm2020/layout-builder/layout-builder-internal.service.mjs +16 -39
- package/esm2020/layout-builder/layout-builder.component.mjs +3 -23
- package/esm2020/layout-builder/layout-builder.model.mjs +1 -1
- package/esm2020/layout-builder/layout-builder.service.mjs +4 -1
- package/esm2020/layout-builder/section/section.component.mjs +2 -2
- package/esm2020/layout-builder/section-block/section-block.component.mjs +2 -2
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs +22 -63
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs +22 -62
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/layout-builder/layout-builder-internal.service.d.ts +4 -2
- package/layout-builder/layout-builder.component.d.ts +1 -5
- package/layout-builder/layout-builder.model.d.ts +1 -0
- package/layout-builder/layout-builder.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export declare class LayoutBuilderInternalService {
|
|
|
14
14
|
private _defaultSectionTitle;
|
|
15
15
|
private _blocksLimitNumber;
|
|
16
16
|
private _navigateToEditorAfterBlockAdded;
|
|
17
|
+
private _getBlockTitle;
|
|
17
18
|
setBlocksConfig(value: IPepLayoutBlockConfig): void;
|
|
18
19
|
private _editorsBreadCrumb;
|
|
19
20
|
private _editMode;
|
|
@@ -69,14 +70,14 @@ export declare class LayoutBuilderInternalService {
|
|
|
69
70
|
private changeCursorOnDragStart;
|
|
70
71
|
private changeCursorOnDragEnd;
|
|
71
72
|
/***********************************************************************************************/
|
|
73
|
+
getBlockTitle(blockKey: string): string;
|
|
72
74
|
setSectionsColumnsDropListChange(sectionsColumnsDropList: any[]): void;
|
|
73
|
-
setLockScreen(value: boolean): void;
|
|
74
75
|
changePreviewMode(value: boolean): void;
|
|
75
76
|
getCurrentScreenType(): DataViewScreenSize;
|
|
76
77
|
getScreenType(size: PepScreenSizeType): DataViewScreenSize;
|
|
77
78
|
getSectionColumnKey(sectionKey?: string, index?: string): string;
|
|
78
79
|
getIsHidden(hideIn: DataViewScreenSize[] | undefined, currentScreenType: DataViewScreenSize): boolean;
|
|
79
|
-
navigateToEditor(editorType: LayoutEditorType, id: string, title
|
|
80
|
+
navigateToEditor(editorType: LayoutEditorType, id: string, title?: string): boolean;
|
|
80
81
|
navigateBackFromEditor(): void;
|
|
81
82
|
updateLayoutFromEditor(editorData: ILayoutEditor): void;
|
|
82
83
|
updateSectionFromEditor(sectionData: ILayoutSectionEditor): void;
|
|
@@ -94,6 +95,7 @@ export declare class LayoutBuilderInternalService {
|
|
|
94
95
|
doesColumnContainBlock(sectionId: string, columnIndex: number): boolean;
|
|
95
96
|
setScreenWidth(screenType: DataViewScreenSize): void;
|
|
96
97
|
showSkeleton(show: boolean): void;
|
|
98
|
+
lockScreen(value: boolean): void;
|
|
97
99
|
loadLayoutBuilder(layoutView: IPepLayoutView): void;
|
|
98
100
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBuilderInternalService, never>;
|
|
99
101
|
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutBuilderInternalService>;
|
|
@@ -21,9 +21,6 @@ export declare class PepLayoutBuilderComponent extends BaseDestroyerDirective im
|
|
|
21
21
|
get availableBlocksForDrag(): Array<IPepDraggableItem>;
|
|
22
22
|
private _blocksLayoutConfig;
|
|
23
23
|
set blocksLayoutConfig(value: IPepLayoutBlockConfig);
|
|
24
|
-
private _blockEditorTitle;
|
|
25
|
-
set blockEditorTitle(value: string);
|
|
26
|
-
get blockEditorTitle(): string;
|
|
27
24
|
private _layoutEditorTitle;
|
|
28
25
|
set layoutEditorTitle(value: string);
|
|
29
26
|
get layoutEditorTitle(): string;
|
|
@@ -40,7 +37,6 @@ export declare class PepLayoutBuilderComponent extends BaseDestroyerDirective im
|
|
|
40
37
|
constructor(renderer: Renderer2, hostElement: ElementRef, translate: TranslateService, layoutBuilderInternalService: LayoutBuilderInternalService, pepAddonService: PepAddonService);
|
|
41
38
|
private setScreenWidth;
|
|
42
39
|
private updateViewportWidth;
|
|
43
|
-
private setEditorTitle;
|
|
44
40
|
private subscribeEvents;
|
|
45
41
|
ngOnInit(): void;
|
|
46
42
|
onResize(event: any): void;
|
|
@@ -50,5 +46,5 @@ export declare class PepLayoutBuilderComponent extends BaseDestroyerDirective im
|
|
|
50
46
|
onSectionEditorObjectChange(sectionEditor: ILayoutSectionEditor): void;
|
|
51
47
|
onNavigateBackFromEditor(): void;
|
|
52
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepLayoutBuilderComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PepLayoutBuilderComponent, "pep-layout-builder", never, { "availableBlocksForDrag": "availableBlocksForDrag"; "blocksLayoutConfig": "blocksLayoutConfig"; "
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PepLayoutBuilderComponent, "pep-layout-builder", never, { "availableBlocksForDrag": "availableBlocksForDrag"; "blocksLayoutConfig": "blocksLayoutConfig"; "layoutEditorTitle": "layoutEditorTitle"; }, { "backClick": "backClick"; "editorChange": "editorChange"; "blockAdded": "blockAdded"; "blocksRemoved": "blocksRemoved"; }, never, ["[layout-editor-top-content]", "[layout-editor-bottom-content]", "[block-editor-content]", "[header-end-content]", "[layout-content]"], false>;
|
|
54
50
|
}
|
|
@@ -20,6 +20,7 @@ export interface IPepLayoutBlockContainer extends PageBlockContainer {
|
|
|
20
20
|
export interface IPepLayoutBlockConfig {
|
|
21
21
|
navigateToEditorAfterBlockAdded?: boolean;
|
|
22
22
|
blocksLimitNumber?: number;
|
|
23
|
+
getBlockTitle?: (blockKey: string) => string;
|
|
23
24
|
}
|
|
24
25
|
export interface IPepLayoutBlockAddedEvent {
|
|
25
26
|
BlockKey: string;
|
|
@@ -9,6 +9,7 @@ export declare class PepLayoutBuilderService {
|
|
|
9
9
|
getCurrentScreenType(): DataViewScreenSize;
|
|
10
10
|
getIsHidden(hideIn: DataViewScreenSize[] | undefined, currentScreenType: DataViewScreenSize): boolean;
|
|
11
11
|
showSkeleton(show: boolean): void;
|
|
12
|
+
lockScreen(lock: boolean): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PepLayoutBuilderService, never>;
|
|
13
14
|
static ɵprov: i0.ɵɵInjectableDeclaration<PepLayoutBuilderService>;
|
|
14
15
|
}
|