@pepperi-addons/ngx-composite-lib 0.4.2-beta.73 → 0.4.2-beta.74
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 +10 -8
- package/esm2020/layout-builder/section/section.component.mjs +3 -2
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs +11 -8
- package/fesm2015/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs +11 -8
- package/fesm2020/pepperi-addons-ngx-composite-lib-layout-builder.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -321,14 +321,16 @@ class LayoutBuilderInternalService {
|
|
|
321
321
|
loadDefaultEditor(layoutView) {
|
|
322
322
|
this._editorsBreadCrumb = new Array();
|
|
323
323
|
if (layoutView) {
|
|
324
|
-
this.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
324
|
+
this.translate.get('LAYOUT_BUILDER.DEFAULT_TITLE').subscribe((title) => {
|
|
325
|
+
this._editorsBreadCrumb.push({
|
|
326
|
+
id: LayoutBuilderInternalService.MAIN_EDITOR_ID,
|
|
327
|
+
type: 'layout-builder',
|
|
328
|
+
title: title,
|
|
329
|
+
// hostObject: {} // Updates in updateLayoutEditorProperties function above.
|
|
330
|
+
});
|
|
331
|
+
this.updateLayoutEditorProperties(layoutView);
|
|
332
|
+
this.notifyEditorChange(this._editorsBreadCrumb[0]);
|
|
329
333
|
});
|
|
330
|
-
this.updateLayoutEditorProperties(layoutView);
|
|
331
|
-
this.notifyEditorChange(this._editorsBreadCrumb[0]);
|
|
332
334
|
}
|
|
333
335
|
else {
|
|
334
336
|
this.notifyEditorChange(null);
|
|
@@ -984,7 +986,8 @@ class SectionComponent extends BaseDestroyerDirective {
|
|
|
984
986
|
// this.refreshSplit();
|
|
985
987
|
// }
|
|
986
988
|
get editable() {
|
|
987
|
-
return
|
|
989
|
+
return this.layoutBuilderInternalService.editableState;
|
|
990
|
+
;
|
|
988
991
|
}
|
|
989
992
|
set screenSize(value) {
|
|
990
993
|
this._screenSize = value;
|