@pepperi-addons/ngx-composite-lib 0.4.2-beta.67 → 0.4.2-beta.68

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.
@@ -19,8 +19,11 @@ export declare class PepLayoutBuilderComponent extends BaseDestroyerDirective im
19
19
  private _availableBlocksForDrag;
20
20
  set availableBlocksForDrag(value: Array<IPepDraggableItem>);
21
21
  get availableBlocksForDrag(): Array<IPepDraggableItem>;
22
+ private _layoutEditorTitle;
23
+ set layoutEditorTitle(value: string);
24
+ get layoutEditorTitle(): string;
22
25
  backClick: EventEmitter<void>;
23
- blockEditorChange: EventEmitter<string>;
26
+ editorChange: EventEmitter<IEditor>;
24
27
  blockAdded: EventEmitter<IPepLayoutBlockAddedEvent>;
25
28
  blocksRemoved: EventEmitter<string[]>;
26
29
  protected lockScreen: boolean;
@@ -32,6 +35,7 @@ export declare class PepLayoutBuilderComponent extends BaseDestroyerDirective im
32
35
  constructor(renderer: Renderer2, hostElement: ElementRef, translate: TranslateService, layoutBuilderService: PepLayoutBuilderService, pepAddonService: PepAddonService);
33
36
  private setScreenWidth;
34
37
  private updateViewportWidth;
38
+ private setLayoutEditorTitle;
35
39
  private subscribeEvents;
36
40
  ngOnInit(): void;
37
41
  onResize(event: any): void;
@@ -41,5 +45,5 @@ export declare class PepLayoutBuilderComponent extends BaseDestroyerDirective im
41
45
  onSectionEditorObjectChange(sectionEditor: ILayoutSectionEditor): void;
42
46
  onNavigateBackFromEditor(): void;
43
47
  static ɵfac: i0.ɵɵFactoryDeclaration<PepLayoutBuilderComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<PepLayoutBuilderComponent, "pep-layout-builder", never, { "availableBlocksForDrag": "availableBlocksForDrag"; }, { "backClick": "backClick"; "blockEditorChange": "blockEditorChange"; "blockAdded": "blockAdded"; "blocksRemoved": "blocksRemoved"; }, never, ["[layout-editor-top-content]", "[layout-editor-bottom-content]", "[block-editor-content]", "[header-end-content]", "*"], false>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<PepLayoutBuilderComponent, "pep-layout-builder", never, { "availableBlocksForDrag": "availableBlocksForDrag"; "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]", "*"], false>;
45
49
  }
@@ -22,13 +22,13 @@ export declare class PepLayoutBuilderService {
22
22
  get screenSizeChange$(): Observable<PepScreenSizeType>;
23
23
  private _screenWidthSubject;
24
24
  get screenWidthChange$(): Observable<string>;
25
- protected _editorSubject: BehaviorSubject<IEditor | null>;
25
+ private _editorSubject;
26
26
  get editorChange$(): Observable<IEditor | null>;
27
27
  private _sectionsColumnsDropListSubject;
28
28
  get sectionsColumnsDropListChange$(): Observable<any[]>;
29
29
  private _sectionsViewSubject;
30
30
  get sectionsChange$(): Observable<IPepLayoutSection[]>;
31
- private _layoutViewSubject;
31
+ protected _layoutViewSubject: BehaviorSubject<IPepLayoutView | null>;
32
32
  get layoutViewChange$(): Observable<IPepLayoutView | null>;
33
33
  private _draggingBlockKey;
34
34
  get draggingBlockKey(): Observable<string>;
@@ -55,25 +55,26 @@ export declare class PepLayoutBuilderService {
55
55
  private notifyBlocksRemoved;
56
56
  private notifyEditorChange;
57
57
  private notifyAvailableBlocksForDragMapChange;
58
+ private notifyPreviewModeChange;
59
+ private notifyLockScreen;
60
+ private notifySectionsColumnsDropListChange;
58
61
  private updateLayoutEditorProperties;
59
62
  private loadDefaultEditor;
60
63
  private changeCurrentEditor;
61
- private getEditor;
64
+ private getEditorByType;
65
+ private getInternalBlockEditor;
62
66
  private getSectionEditorTitle;
63
- private getSectionEditor;
67
+ private getInternalSectionEditor;
64
68
  private getSectionColumnByIdForEditor;
65
- private setSectionsColumnsGap;
66
69
  private getCssScreenWidh;
67
70
  private getBlockContainerByBlockKey;
68
71
  private changeCursorOnDragStart;
69
72
  private changeCursorOnDragEnd;
70
73
  /***********************************************************************************************/
71
- notifySectionsColumnsDropListChange(sectionsColumnsDropList: any[]): void;
72
- notifyPreviewModeChange(value: boolean): void;
73
- notifyLockScreen(value: boolean): void;
74
- updateCurrentEditorTitle(title: string): void;
74
+ setSectionsColumnsDropListChange(sectionsColumnsDropList: any[]): void;
75
+ setLockScreen(value: boolean): void;
76
+ changePreviewMode(value: boolean): void;
75
77
  setAvailableBlocksToDrag(availableBlocksForDrag: Array<IPepDraggableItem>): void;
76
- private getBlockEditor;
77
78
  getScreenType(size: PepScreenSizeType): DataViewScreenSize;
78
79
  getSectionColumnKey(sectionKey?: string, index?: string): string;
79
80
  getIsHidden(hideIn: DataViewScreenSize[] | undefined, currentScreenType: DataViewScreenSize): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pepperi-addons/ngx-composite-lib",
3
- "version": "0.4.2-beta.67",
3
+ "version": "0.4.2-beta.68",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">= 14.0.2",
6
6
  "@angular/cdk": ">= 14.0.2",