@smartbit4all/ng-client 3.3.124 → 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 -5
- package/fesm2015/smartbit4all-ng-client.mjs +27 -12
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +20 -4
- 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.124.tgz +0 -0
|
@@ -12962,7 +12962,8 @@ class SmartComponentLayoutComponent {
|
|
|
12962
12962
|
this.constructGrid();
|
|
12963
12963
|
}
|
|
12964
12964
|
else if (this.smartComponentLayout.widget?.type === ComponentWidgetType.FILTER) {
|
|
12965
|
-
|
|
12965
|
+
console.warn('ComponentWidgetType.FILTER is not supported');
|
|
12966
|
+
// this.constructFilter();
|
|
12966
12967
|
}
|
|
12967
12968
|
else if (this.smartComponentLayout.widget?.type === ComponentWidgetType.TREE) {
|
|
12968
12969
|
this.constructTree();
|
|
@@ -13012,6 +13013,9 @@ class SmartComponentLayoutComponent {
|
|
|
13012
13013
|
}
|
|
13013
13014
|
}
|
|
13014
13015
|
bindForm() {
|
|
13016
|
+
if (this.parent?.useQueryLists) {
|
|
13017
|
+
return;
|
|
13018
|
+
}
|
|
13015
13019
|
if (this.smartForm && this.smartFormComponent) {
|
|
13016
13020
|
this.parent?.addForm(
|
|
13017
13021
|
// unique identifier for the form
|
|
@@ -13050,6 +13054,9 @@ class SmartComponentLayoutComponent {
|
|
|
13050
13054
|
}
|
|
13051
13055
|
}
|
|
13052
13056
|
bindGrid() {
|
|
13057
|
+
if (this.parent?.useQueryLists) {
|
|
13058
|
+
return;
|
|
13059
|
+
}
|
|
13053
13060
|
if (this.smartGrid && this.smartGridComponent) {
|
|
13054
13061
|
this.smartGrid = this.parent?.addGrid(this.smartGrid, {
|
|
13055
13062
|
rowUiActionType: GridUiActionType.POPUP_MENU,
|
|
@@ -13059,13 +13066,22 @@ class SmartComponentLayoutComponent {
|
|
|
13059
13066
|
setToolbarComponent(comp) {
|
|
13060
13067
|
this.toolbar = comp;
|
|
13061
13068
|
}
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
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
|
+
// }
|
|
13065
13078
|
bindFilter() {
|
|
13066
13079
|
// TODO
|
|
13067
13080
|
}
|
|
13068
13081
|
constructTree() {
|
|
13082
|
+
if (this.parent?.useQueryLists) {
|
|
13083
|
+
return;
|
|
13084
|
+
}
|
|
13069
13085
|
this.parent.setUpDefaultTree(this.smartComponentLayout?.widget?.identifier);
|
|
13070
13086
|
this.treeService?.initialize();
|
|
13071
13087
|
}
|