@smartbit4all/ng-client 3.3.123 → 3.3.125
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/lib/smart-component-layout/smart-component-layout.component.mjs +21 -6
- package/fesm2015/smartbit4all-ng-client.mjs +27 -13
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +20 -5
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +0 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.3.125.tgz +0 -0
- package/smartbit4all-ng-client-3.3.123.tgz +0 -0
|
@@ -12898,7 +12898,6 @@ class SmartComponentLayoutComponent {
|
|
|
12898
12898
|
constructor(layoutService) {
|
|
12899
12899
|
this.layoutService = layoutService;
|
|
12900
12900
|
this._destroy$ = new Subject();
|
|
12901
|
-
this.toolbarId = 'not_initialized_yet';
|
|
12902
12901
|
}
|
|
12903
12902
|
ngAfterViewInit() {
|
|
12904
12903
|
if (this.smartFormList?.first) {
|
|
@@ -12963,7 +12962,8 @@ class SmartComponentLayoutComponent {
|
|
|
12963
12962
|
this.constructGrid();
|
|
12964
12963
|
}
|
|
12965
12964
|
else if (this.smartComponentLayout.widget?.type === ComponentWidgetType.FILTER) {
|
|
12966
|
-
|
|
12965
|
+
console.warn('ComponentWidgetType.FILTER is not supported');
|
|
12966
|
+
// this.constructFilter();
|
|
12967
12967
|
}
|
|
12968
12968
|
else if (this.smartComponentLayout.widget?.type === ComponentWidgetType.TREE) {
|
|
12969
12969
|
this.constructTree();
|
|
@@ -13013,6 +13013,9 @@ class SmartComponentLayoutComponent {
|
|
|
13013
13013
|
}
|
|
13014
13014
|
}
|
|
13015
13015
|
bindForm() {
|
|
13016
|
+
if (this.parent?.useQueryLists) {
|
|
13017
|
+
return;
|
|
13018
|
+
}
|
|
13016
13019
|
if (this.smartForm && this.smartFormComponent) {
|
|
13017
13020
|
this.parent?.addForm(
|
|
13018
13021
|
// unique identifier for the form
|
|
@@ -13051,6 +13054,9 @@ class SmartComponentLayoutComponent {
|
|
|
13051
13054
|
}
|
|
13052
13055
|
}
|
|
13053
13056
|
bindGrid() {
|
|
13057
|
+
if (this.parent?.useQueryLists) {
|
|
13058
|
+
return;
|
|
13059
|
+
}
|
|
13054
13060
|
if (this.smartGrid && this.smartGridComponent) {
|
|
13055
13061
|
this.smartGrid = this.parent?.addGrid(this.smartGrid, {
|
|
13056
13062
|
rowUiActionType: GridUiActionType.POPUP_MENU,
|
|
@@ -13060,13 +13066,22 @@ class SmartComponentLayoutComponent {
|
|
|
13060
13066
|
setToolbarComponent(comp) {
|
|
13061
13067
|
this.toolbar = comp;
|
|
13062
13068
|
}
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13069
|
+
// NOT USED, DOESN'T WORK
|
|
13070
|
+
// constructFilter(): void {
|
|
13071
|
+
// this.smartFilter = (this.smartComponentLayout!.parentComponent as any).addFilter(
|
|
13072
|
+
// `filter_${this.makeid(5)}`,
|
|
13073
|
+
// this.smartComponentLayout?.widget?.filterExpressionFieldList,
|
|
13074
|
+
// this.smartComponentLayout?.widget?.filterType,
|
|
13075
|
+
// this.smartFilterComponent
|
|
13076
|
+
// );
|
|
13077
|
+
// }
|
|
13066
13078
|
bindFilter() {
|
|
13067
13079
|
// TODO
|
|
13068
13080
|
}
|
|
13069
13081
|
constructTree() {
|
|
13082
|
+
if (this.parent?.useQueryLists) {
|
|
13083
|
+
return;
|
|
13084
|
+
}
|
|
13070
13085
|
this.parent.setUpDefaultTree(this.smartComponentLayout?.widget?.identifier);
|
|
13071
13086
|
this.treeService?.initialize();
|
|
13072
13087
|
}
|