@smartbit4all/ng-client 3.3.159 → 3.3.160

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.
Files changed (158) hide show
  1. package/esm2020/lib/session/api/api/session.service.mjs +1 -1
  2. package/esm2020/lib/session/api/encoder.mjs +1 -1
  3. package/esm2020/lib/session/api/model/accountInfo.mjs +1 -1
  4. package/esm2020/lib/session/api/model/apiError.mjs +1 -1
  5. package/esm2020/lib/session/api/model/authenticationProviderData.mjs +1 -1
  6. package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
  7. package/esm2020/lib/session/api/model/models.mjs +1 -1
  8. package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +1 -1
  9. package/esm2020/lib/session/api/model/session.mjs +1 -1
  10. package/esm2020/lib/session/api/model/sessionInfoData.mjs +1 -1
  11. package/esm2020/lib/session/api/model/userActivityLog.mjs +1 -1
  12. package/esm2020/lib/session/api/param.mjs +1 -1
  13. package/esm2020/lib/session/api/variables.mjs +1 -1
  14. package/esm2020/lib/smart-component-layout/api/api/api.mjs +1 -1
  15. package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  16. package/esm2020/lib/smart-component-layout/api/api.module.mjs +1 -1
  17. package/esm2020/lib/smart-component-layout/api/configuration.mjs +1 -1
  18. package/esm2020/lib/smart-component-layout/api/encoder.mjs +1 -1
  19. package/esm2020/lib/smart-component-layout/api/index.mjs +1 -1
  20. package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +1 -1
  21. package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
  22. package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
  23. package/esm2020/lib/smart-component-layout/api/model/models.mjs +1 -1
  24. package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
  25. package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  26. package/esm2020/lib/smart-component-layout/api/param.mjs +1 -1
  27. package/esm2020/lib/smart-component-layout/api/variables.mjs +1 -1
  28. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
  29. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
  30. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
  31. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
  32. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
  33. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
  34. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
  35. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
  36. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -1
  37. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
  38. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
  39. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
  40. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
  41. package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
  42. package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
  43. package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
  44. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
  45. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
  46. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
  47. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
  48. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
  49. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
  50. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
  51. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
  52. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  53. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
  54. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
  55. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
  56. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
  57. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
  58. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
  59. package/esm2020/lib/smart-filter-editor/api/model/smartFilterType.mjs +1 -1
  60. package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
  61. package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
  62. package/esm2020/lib/smart-form/api/api/api.mjs +1 -1
  63. package/esm2020/lib/smart-form/api/api/default.service.mjs +1 -1
  64. package/esm2020/lib/smart-form/api/api.module.mjs +1 -1
  65. package/esm2020/lib/smart-form/api/configuration.mjs +1 -1
  66. package/esm2020/lib/smart-form/api/encoder.mjs +1 -1
  67. package/esm2020/lib/smart-form/api/index.mjs +1 -1
  68. package/esm2020/lib/smart-form/api/model/models.mjs +1 -1
  69. package/esm2020/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  70. package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  71. package/esm2020/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  72. package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  73. package/esm2020/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  74. package/esm2020/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  75. package/esm2020/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  76. package/esm2020/lib/smart-form/api/param.mjs +1 -1
  77. package/esm2020/lib/smart-form/api/variables.mjs +1 -1
  78. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
  79. package/esm2020/lib/smart-grid/smart-grid.component.mjs +63 -63
  80. package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
  81. package/esm2020/lib/smart-tree/tree-api/configuration.mjs +1 -1
  82. package/esm2020/lib/smart-tree/tree-api/encoder.mjs +1 -1
  83. package/esm2020/lib/smart-tree/tree-api/param.mjs +1 -1
  84. package/esm2020/lib/smart-tree/tree-api/variables.mjs +1 -1
  85. package/esm2020/lib/view-context/api/api/api.mjs +1 -1
  86. package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
  87. package/esm2020/lib/view-context/api/api.module.mjs +1 -1
  88. package/esm2020/lib/view-context/api/configuration.mjs +1 -1
  89. package/esm2020/lib/view-context/api/encoder.mjs +1 -1
  90. package/esm2020/lib/view-context/api/index.mjs +1 -1
  91. package/esm2020/lib/view-context/api/model/closeResult.mjs +1 -1
  92. package/esm2020/lib/view-context/api/model/componentConstraint.mjs +1 -1
  93. package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
  94. package/esm2020/lib/view-context/api/model/componentModelChange.mjs +1 -1
  95. package/esm2020/lib/view-context/api/model/dataChange.mjs +1 -1
  96. package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
  97. package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +1 -1
  98. package/esm2020/lib/view-context/api/model/downloadedFile.mjs +1 -1
  99. package/esm2020/lib/view-context/api/model/iconPosition.mjs +1 -1
  100. package/esm2020/lib/view-context/api/model/imageResource.mjs +1 -1
  101. package/esm2020/lib/view-context/api/model/link.mjs +1 -1
  102. package/esm2020/lib/view-context/api/model/messageData.mjs +1 -1
  103. package/esm2020/lib/view-context/api/model/messageOption.mjs +1 -1
  104. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +1 -1
  105. package/esm2020/lib/view-context/api/model/messageResult.mjs +1 -1
  106. package/esm2020/lib/view-context/api/model/messageTextType.mjs +1 -1
  107. package/esm2020/lib/view-context/api/model/messageType.mjs +1 -1
  108. package/esm2020/lib/view-context/api/model/models.mjs +1 -1
  109. package/esm2020/lib/view-context/api/model/openPendingData.mjs +1 -1
  110. package/esm2020/lib/view-context/api/model/serverRequestExecutionStat.mjs +1 -1
  111. package/esm2020/lib/view-context/api/model/serverRequestTrack.mjs +1 -1
  112. package/esm2020/lib/view-context/api/model/serverRequestType.mjs +1 -1
  113. package/esm2020/lib/view-context/api/model/smartLinkData.mjs +1 -1
  114. package/esm2020/lib/view-context/api/model/statisticRecord.mjs +1 -1
  115. package/esm2020/lib/view-context/api/model/style.mjs +1 -1
  116. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  117. package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
  118. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
  119. package/esm2020/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
  120. package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
  121. package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
  122. package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
  123. package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +1 -1
  124. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  125. package/esm2020/lib/view-context/api/model/uiActionTooltip.mjs +1 -1
  126. package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
  127. package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
  128. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  129. package/esm2020/lib/view-context/api/model/viewApiError.mjs +1 -1
  130. package/esm2020/lib/view-context/api/model/viewConstraint.mjs +1 -1
  131. package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
  132. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  133. package/esm2020/lib/view-context/api/model/viewContextData.mjs +1 -1
  134. package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
  135. package/esm2020/lib/view-context/api/model/viewData.mjs +1 -1
  136. package/esm2020/lib/view-context/api/model/viewState.mjs +1 -1
  137. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
  138. package/esm2020/lib/view-context/api/model/viewType.mjs +1 -1
  139. package/esm2020/lib/view-context/api/param.mjs +1 -1
  140. package/esm2020/lib/view-context/api/variables.mjs +1 -1
  141. package/esm2020/lib/view-context/value-api/model/genericValue.mjs +1 -1
  142. package/esm2020/lib/view-context/value-api/model/models.mjs +1 -1
  143. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
  144. package/fesm2015/smartbit4all-ng-client.mjs +162 -162
  145. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  146. package/fesm2020/smartbit4all-ng-client.mjs +150 -150
  147. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  148. package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +4 -0
  149. package/lib/smart-grid/smart-grid.component.d.ts +8 -8
  150. package/package.json +1 -1
  151. package/smartbit4all-ng-client-3.3.160.tgz +0 -0
  152. package/src/lib/session/api/README.md +226 -226
  153. package/src/lib/smart-component-layout/api/README.md +226 -226
  154. package/src/lib/smart-filter-editor/api/README.md +226 -226
  155. package/src/lib/smart-form/api/README.md +226 -226
  156. package/src/lib/smart-tree/tree-api/README.md +226 -226
  157. package/src/lib/view-context/api/README.md +226 -226
  158. package/smartbit4all-ng-client-3.3.159.tgz +0 -0
@@ -9046,6 +9046,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
9046
9046
  args: ['customCardComponent', { read: ViewContainerRef }]
9047
9047
  }] } });
9048
9048
 
9049
+ /**
9050
+ * Filter API 2
9051
+ * Filter API 2
9052
+ *
9053
+ * The version of the OpenAPI document: 1.0.0
9054
+ * Contact: info@it4all.hu
9055
+ *
9056
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9057
+ * https://openapi-generator.tech
9058
+ * Do not edit the class manually.
9059
+ */
9060
+ var FilterExpressionOrderBy;
9061
+ (function (FilterExpressionOrderBy) {
9062
+ FilterExpressionOrderBy.OrderEnum = {
9063
+ Asc: 'ASC',
9064
+ Desc: 'DESC',
9065
+ };
9066
+ })(FilterExpressionOrderBy || (FilterExpressionOrderBy = {}));
9067
+
9049
9068
  /**
9050
9069
  * Custom HttpParameterCodec
9051
9070
  * Workaround for https://github.com/angular/angular/issues/18261
@@ -9735,82 +9754,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
9735
9754
  type: Optional
9736
9755
  }] }]; } });
9737
9756
 
9738
- class SmartGridService {
9739
- constructor(api) {
9740
- this.api = api;
9741
- this.gridModelChanged = new Subject();
9742
- }
9743
- async load(uuid, gridIdentifier) {
9744
- let gridModelResult = await lastValueFrom(this.api.load(uuid, gridIdentifier));
9745
- this.updateGrid(gridModelResult, 'load');
9746
- }
9747
- async setPage(uuid, gridIdentifier, offset, limit) {
9748
- await lastValueFrom(this.api.setPage(uuid, gridIdentifier, offset, limit));
9749
- await this.update(uuid, gridIdentifier, {
9750
- orderByList: this.gridModel.view?.orderByList,
9751
- orderedColumnNames: this.gridModel.view?.orderedColumnNames,
9752
- pageSize: +limit,
9753
- });
9754
- }
9755
- async sort(smartGrid, gridUpdateData) {
9756
- if (!gridUpdateData.pageSize) {
9757
- gridUpdateData.pageSize = this.getCurrentPageSize();
9758
- }
9759
- let gridModelResult = await this.api
9760
- .update(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, gridUpdateData)
9761
- .toPromise();
9762
- this.updateGrid(gridModelResult, 'sort');
9763
- }
9764
- async expand(smartGrid, rowId) {
9765
- return await this.api
9766
- .expand(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, rowId)
9767
- .toPromise();
9768
- }
9769
- async select(smartGrid, gridRow) {
9770
- gridRow.selected = !gridRow.selected;
9771
- return await this.api
9772
- .select(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, gridRow.id, gridRow.selected)
9773
- .toPromise();
9774
- }
9775
- async selectRows(smartGrid, selected, unselected) {
9776
- return await this.api
9777
- .selectRows(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, { selected, unselected })
9778
- .toPromise();
9779
- }
9780
- async selectAll(smartGrid, selected) {
9781
- return await this.api
9782
- .selectAll(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, selected)
9783
- .toPromise();
9784
- }
9785
- async update(uuid, identifier, updateData) {
9786
- if (!updateData.pageSize) {
9787
- updateData.pageSize = this.getCurrentPageSize();
9788
- }
9789
- let gridModelResult = await this.api.update(uuid, identifier, updateData).toPromise();
9790
- this.updateGrid(gridModelResult, 'update');
9791
- }
9792
- updateGrid(gridModel, method) {
9793
- if (gridModel) {
9794
- this.gridModel = gridModel;
9795
- this.gridModelChanged.next();
9796
- }
9797
- else {
9798
- console.error(`GridModel is undefined in service after ${method}!`);
9799
- }
9800
- }
9801
- getCurrentPageSize() {
9802
- if (this.paginator) {
9803
- return this.gridModel.pageSize;
9804
- }
9805
- return undefined;
9806
- }
9807
- }
9808
- SmartGridService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartGridService, deps: [{ token: GridService }], target: i0.ɵɵFactoryTarget.Injectable });
9809
- SmartGridService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartGridService });
9810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartGridService, decorators: [{
9811
- type: Injectable
9812
- }], ctorParameters: function () { return [{ type: GridService }]; } });
9813
-
9814
9757
  class TableLayoutDefinerComponent {
9815
9758
  constructor(data, dialogRef) {
9816
9759
  this.data = data;
@@ -9979,24 +9922,81 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
9979
9922
  args: ['forms']
9980
9923
  }] } });
9981
9924
 
9982
- /**
9983
- * Filter API 2
9984
- * Filter API 2
9985
- *
9986
- * The version of the OpenAPI document: 1.0.0
9987
- * Contact: info@it4all.hu
9988
- *
9989
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9990
- * https://openapi-generator.tech
9991
- * Do not edit the class manually.
9992
- */
9993
- var FilterExpressionOrderBy;
9994
- (function (FilterExpressionOrderBy) {
9995
- FilterExpressionOrderBy.OrderEnum = {
9996
- Asc: 'ASC',
9997
- Desc: 'DESC',
9998
- };
9999
- })(FilterExpressionOrderBy || (FilterExpressionOrderBy = {}));
9925
+ class SmartGridService {
9926
+ constructor(api) {
9927
+ this.api = api;
9928
+ this.gridModelChanged = new Subject();
9929
+ }
9930
+ async load(uuid, gridIdentifier) {
9931
+ let gridModelResult = await lastValueFrom(this.api.load(uuid, gridIdentifier));
9932
+ this.updateGrid(gridModelResult, 'load');
9933
+ }
9934
+ async setPage(uuid, gridIdentifier, offset, limit) {
9935
+ await lastValueFrom(this.api.setPage(uuid, gridIdentifier, offset, limit));
9936
+ await this.update(uuid, gridIdentifier, {
9937
+ orderByList: this.gridModel.view?.orderByList,
9938
+ orderedColumnNames: this.gridModel.view?.orderedColumnNames,
9939
+ pageSize: +limit,
9940
+ });
9941
+ }
9942
+ async sort(smartGrid, gridUpdateData) {
9943
+ if (!gridUpdateData.pageSize) {
9944
+ gridUpdateData.pageSize = this.getCurrentPageSize();
9945
+ }
9946
+ let gridModelResult = await this.api
9947
+ .update(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, gridUpdateData)
9948
+ .toPromise();
9949
+ this.updateGrid(gridModelResult, 'sort');
9950
+ }
9951
+ async expand(smartGrid, rowId) {
9952
+ return await this.api
9953
+ .expand(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, rowId)
9954
+ .toPromise();
9955
+ }
9956
+ async select(smartGrid, gridRow) {
9957
+ gridRow.selected = !gridRow.selected;
9958
+ return await this.api
9959
+ .select(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, gridRow.id, gridRow.selected)
9960
+ .toPromise();
9961
+ }
9962
+ async selectRows(smartGrid, selected, unselected) {
9963
+ return await this.api
9964
+ .selectRows(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, { selected, unselected })
9965
+ .toPromise();
9966
+ }
9967
+ async selectAll(smartGrid, selected) {
9968
+ return await this.api
9969
+ .selectAll(smartGrid.gridModel.viewUuid, smartGrid.gridIdentifier, selected)
9970
+ .toPromise();
9971
+ }
9972
+ async update(uuid, identifier, updateData) {
9973
+ if (!updateData.pageSize) {
9974
+ updateData.pageSize = this.getCurrentPageSize();
9975
+ }
9976
+ let gridModelResult = await this.api.update(uuid, identifier, updateData).toPromise();
9977
+ this.updateGrid(gridModelResult, 'update');
9978
+ }
9979
+ updateGrid(gridModel, method) {
9980
+ if (gridModel) {
9981
+ this.gridModel = gridModel;
9982
+ this.gridModelChanged.next();
9983
+ }
9984
+ else {
9985
+ console.error(`GridModel is undefined in service after ${method}!`);
9986
+ }
9987
+ }
9988
+ getCurrentPageSize() {
9989
+ if (this.paginator) {
9990
+ return this.gridModel.pageSize;
9991
+ }
9992
+ return undefined;
9993
+ }
9994
+ }
9995
+ SmartGridService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartGridService, deps: [{ token: GridService }], target: i0.ɵɵFactoryTarget.Injectable });
9996
+ SmartGridService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartGridService });
9997
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartGridService, decorators: [{
9998
+ type: Injectable
9999
+ }], ctorParameters: function () { return [{ type: GridService }]; } });
10000
10000
 
10001
10001
  var ExpandableSectionButtonType;
10002
10002
  (function (ExpandableSectionButtonType) {
@@ -10553,7 +10553,6 @@ class SmartGridComponent {
10553
10553
  return result;
10554
10554
  }
10555
10555
  async constructHeader() {
10556
- let header = [];
10557
10556
  if (this.smartGrid.gridModel.page.rows && this.smartGrid.gridModel.page.rows.length) {
10558
10557
  await Promise.all(this.smartGrid.gridModel.page.rows.map(async (gridRow) => {
10559
10558
  let newUiActions = gridRow.actions?.filter((uiAction) => !this.uiActionDescriptors.get(uiAction.code));
@@ -10572,70 +10571,70 @@ class SmartGridComponent {
10572
10571
  }
10573
10572
  }));
10574
10573
  }
10575
- await Promise.all(this.smartGrid.gridModel.view.orderedColumnNames.map(async (propertyName) => {
10576
- let descColumn = this.smartGrid.gridModel.view.descriptor.columns.find((colDescriptor) => colDescriptor.propertyName === propertyName);
10577
- let customTableHeader = this.smartGrid.tableConfig?.customSmartTableHeaders?.find((header) => header.propertyName === propertyName);
10578
- if (descColumn) {
10579
- let filterExpressionOrderByItem = this.smartGrid.gridModel.view?.orderByList?.find((filterExpression) => filterExpression.propertyName === descColumn.propertyName);
10580
- let order;
10581
- let orderNumber;
10582
- if (filterExpressionOrderByItem) {
10583
- order =
10584
- filterExpressionOrderByItem.order === FilterExpressionOrderBy.OrderEnum.Asc
10585
- ? SmartTableOrder.ASC
10586
- : SmartTableOrder.DESC;
10587
- if (this.service.gridModel.view.orderByList.length > 1) {
10588
- orderNumber = this.service.gridModel.view.orderByList.findIndex((filter) => filter.propertyName === descColumn.propertyName);
10589
- orderNumber++;
10590
- }
10574
+ let orederedDescColumns = this.smartGrid.gridModel.view.orderedColumnNames.map((propertyName) => this.smartGrid.gridModel.view.descriptor.columns.find((colDescriptor) => colDescriptor.propertyName === propertyName)).flatMap((f) => f ?? []);
10575
+ let header = await Promise.all(orederedDescColumns.map(async (descColumn) => {
10576
+ let customTableHeader = this.smartGrid.tableConfig?.customSmartTableHeaders?.find((header) => header.propertyName === descColumn.propertyName);
10577
+ let filterExpressionOrderByItem = this.smartGrid.gridModel.view?.orderByList?.find((filterExpression) => filterExpression.propertyName === descColumn.propertyName);
10578
+ let order;
10579
+ let orderNumber;
10580
+ if (filterExpressionOrderByItem) {
10581
+ order =
10582
+ filterExpressionOrderByItem.order === FilterExpressionOrderBy.OrderEnum.Asc
10583
+ ? SmartTableOrder.ASC
10584
+ : SmartTableOrder.DESC;
10585
+ if (this.service.gridModel.view.orderByList.length > 1) {
10586
+ orderNumber = this.service.gridModel.view.orderByList.findIndex((filter) => filter.propertyName === descColumn.propertyName);
10587
+ orderNumber++;
10591
10588
  }
10592
- const orignalLabel = customTableHeader?.label ?? descColumn.label;
10593
- let label;
10589
+ }
10590
+ const orignalLabel = customTableHeader?.label ?? descColumn.label;
10591
+ let label = '';
10592
+ if (!descColumn.hideLabel) {
10594
10593
  if (this.smartGrid.translateService) {
10595
10594
  label = await this.smartGrid.translateService?.get(orignalLabel).toPromise();
10596
10595
  }
10597
10596
  else {
10598
10597
  label = orignalLabel;
10599
10598
  }
10600
- let properties = customTableHeader?.properties;
10601
- if (!properties) {
10602
- if (descColumn.typeClass === 'java.time.OffsetDateTime' ||
10603
- descColumn.typeClass === 'java.time.LocalDateTime') {
10604
- let dateFormat = descColumn.typeFormat ?? 'yyyy.MM.dd H:mm';
10605
- properties = {
10606
- type: SmartTableHeaderPropertyType.DATETIME,
10607
- dateFormat,
10608
- };
10609
- }
10610
- else if (descColumn.typeClass === 'java.time.LocalDate') {
10611
- let dateFormat = descColumn.typeFormat ?? 'yyyy.MM.dd';
10612
- properties = {
10613
- type: SmartTableHeaderPropertyType.DATE,
10614
- dateFormat,
10615
- };
10616
- }
10617
- else if (descColumn.typeClass === 'java.time.LocalTime') {
10618
- let dateFormat = descColumn.typeFormat ?? 'H:mm';
10619
- properties = {
10620
- type: SmartTableHeaderPropertyType.TIME,
10621
- dateFormat,
10622
- };
10623
- }
10624
- else if (descColumn.typeClass === 'java.lang.Boolean') {
10625
- properties = {
10626
- type: SmartTableHeaderPropertyType.CHECKBOX,
10627
- };
10628
- }
10599
+ }
10600
+ let properties = customTableHeader?.properties;
10601
+ if (!properties) {
10602
+ if (descColumn.typeClass === 'java.time.OffsetDateTime' ||
10603
+ descColumn.typeClass === 'java.time.LocalDateTime') {
10604
+ let dateFormat = descColumn.typeFormat ?? 'yyyy.MM.dd H:mm';
10605
+ properties = {
10606
+ type: SmartTableHeaderPropertyType.DATETIME,
10607
+ dateFormat,
10608
+ };
10609
+ }
10610
+ else if (descColumn.typeClass === 'java.time.LocalDate') {
10611
+ let dateFormat = descColumn.typeFormat ?? 'yyyy.MM.dd';
10612
+ properties = {
10613
+ type: SmartTableHeaderPropertyType.DATE,
10614
+ dateFormat,
10615
+ };
10616
+ }
10617
+ else if (descColumn.typeClass === 'java.time.LocalTime') {
10618
+ let dateFormat = descColumn.typeFormat ?? 'H:mm';
10619
+ properties = {
10620
+ type: SmartTableHeaderPropertyType.TIME,
10621
+ dateFormat,
10622
+ };
10623
+ }
10624
+ else if (descColumn.typeClass === 'java.lang.Boolean') {
10625
+ properties = {
10626
+ type: SmartTableHeaderPropertyType.CHECKBOX,
10627
+ };
10629
10628
  }
10630
- header.push({
10631
- ...customTableHeader,
10632
- label: label,
10633
- propertyName: 'data.' + descColumn.propertyName,
10634
- order,
10635
- orderNumber,
10636
- properties,
10637
- });
10638
10629
  }
10630
+ return {
10631
+ ...customTableHeader,
10632
+ label: label,
10633
+ propertyName: 'data.' + descColumn.propertyName,
10634
+ order,
10635
+ orderNumber,
10636
+ properties,
10637
+ };
10639
10638
  }));
10640
10639
  let complement = this.smartGrid.tableConfig?.customSmartTableHeaders?.filter((tableHeader) => !header.some((tH) => tH.propertyName.includes(tableHeader.propertyName)));
10641
10640
  if (complement) {
@@ -10685,6 +10684,7 @@ class SmartGridComponent {
10685
10684
  });
10686
10685
  }
10687
10686
  }
10687
+ console.log(header);
10688
10688
  return header;
10689
10689
  }
10690
10690
  async onChangePage(event) {