@smartbit4all/ng-client 3.3.207 → 3.3.209

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 (88) hide show
  1. package/esm2020/lib/session/api/configuration.mjs +1 -1
  2. package/esm2020/lib/session/api/model/sessionInfoData.mjs +1 -1
  3. package/esm2020/lib/smart-component-layout/api/api/api.mjs +1 -1
  4. package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  5. package/esm2020/lib/smart-component-layout/api/api.module.mjs +1 -1
  6. package/esm2020/lib/smart-component-layout/api/configuration.mjs +1 -1
  7. package/esm2020/lib/smart-component-layout/api/encoder.mjs +1 -1
  8. package/esm2020/lib/smart-component-layout/api/index.mjs +1 -1
  9. package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +1 -1
  10. package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
  11. package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
  12. package/esm2020/lib/smart-component-layout/api/model/models.mjs +1 -1
  13. package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
  14. package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  15. package/esm2020/lib/smart-component-layout/api/param.mjs +1 -1
  16. package/esm2020/lib/smart-component-layout/api/variables.mjs +1 -1
  17. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
  18. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
  19. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
  20. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
  21. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
  22. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
  23. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
  24. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -1
  25. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
  26. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
  27. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
  28. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
  29. package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
  30. package/esm2020/lib/smart-filter-editor/api/configuration.mjs +1 -1
  31. package/esm2020/lib/smart-filter-editor/api/encoder.mjs +1 -1
  32. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
  33. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
  34. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
  35. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
  36. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
  37. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
  38. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
  39. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
  40. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
  41. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
  42. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
  43. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
  44. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
  45. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
  46. package/esm2020/lib/smart-filter-editor/api/model/smartFilterType.mjs +1 -1
  47. package/esm2020/lib/smart-filter-editor/api/param.mjs +1 -1
  48. package/esm2020/lib/smart-filter-editor/api/variables.mjs +1 -1
  49. package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  50. package/esm2020/lib/smart-grid/smart-grid.component.mjs +8 -5
  51. package/esm2020/lib/smart-grid/smart-grid.service.mjs +1 -1
  52. package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
  53. package/esm2020/lib/smart-tree/tree-api/configuration.mjs +1 -1
  54. package/esm2020/lib/smart-tree/tree-api/encoder.mjs +1 -1
  55. package/esm2020/lib/smart-tree/tree-api/param.mjs +1 -1
  56. package/esm2020/lib/smart-tree/tree-api/variables.mjs +1 -1
  57. package/esm2020/lib/view-context/api/model/clipboardData.mjs +1 -1
  58. package/esm2020/lib/view-context/api/model/models.mjs +1 -1
  59. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  60. package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
  61. package/esm2020/lib/view-context/api/model/viewContextData.mjs +1 -1
  62. package/esm2020/lib/view-context/api/model/viewPlaceholder.mjs +1 -1
  63. package/esm2020/lib/view-context/value-api/api/api.mjs +1 -1
  64. package/esm2020/lib/view-context/value-api/api/value.service.mjs +1 -1
  65. package/esm2020/lib/view-context/value-api/api.module.mjs +1 -1
  66. package/esm2020/lib/view-context/value-api/configuration.mjs +1 -1
  67. package/esm2020/lib/view-context/value-api/encoder.mjs +1 -1
  68. package/esm2020/lib/view-context/value-api/index.mjs +1 -1
  69. package/esm2020/lib/view-context/value-api/model/genericValue.mjs +1 -1
  70. package/esm2020/lib/view-context/value-api/model/models.mjs +1 -1
  71. package/esm2020/lib/view-context/value-api/model/value.mjs +1 -1
  72. package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
  73. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
  74. package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
  75. package/esm2020/lib/view-context/value-api/param.mjs +1 -1
  76. package/esm2020/lib/view-context/value-api/variables.mjs +1 -1
  77. package/fesm2015/smartbit4all-ng-client.mjs +7 -4
  78. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  79. package/fesm2020/smartbit4all-ng-client.mjs +7 -4
  80. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  81. package/lib/smart-grid/smart-grid.service.d.ts +4 -3
  82. package/package.json +1 -1
  83. package/smartbit4all-ng-client-3.3.209.tgz +0 -0
  84. package/src/lib/smart-component-layout/api/README.md +226 -226
  85. package/src/lib/smart-filter-editor/api/README.md +226 -226
  86. package/src/lib/smart-tree/tree-api/README.md +226 -226
  87. package/src/lib/view-context/value-api/README.md +226 -226
  88. package/smartbit4all-ng-client-3.3.207.tgz +0 -0
@@ -10608,7 +10608,10 @@ class SmartGridComponent {
10608
10608
  .rows.filter((gridRow) => gridRow.selected)
10609
10609
  .map((gridRow) => gridRow.id);
10610
10610
  tableConfig.selection = new SelectionModel(isMultiple, selectedIds);
10611
- tableConfig.showCheckboxInHeader = isMultiple;
10611
+ tableConfig.showCheckboxInHeader =
10612
+ typeof tableConfig.showCheckboxInHeader !== 'undefined'
10613
+ ? tableConfig.showCheckboxInHeader // keep if set
10614
+ : isMultiple; // if unset, turn it on for multiple selection
10612
10615
  }
10613
10616
  this.smartTable = new SmartTable(tableConfig);
10614
10617
  if (this.componentRefTable) {
@@ -11040,14 +11043,14 @@ class SmartGridComponent {
11040
11043
  else {
11041
11044
  const row = this.service.gridModel.page.rows?.find((gridRow) => gridRow.id === rowId);
11042
11045
  const viewContextChange = await this.service.select(this.smartGrid, row);
11043
- this.smartGrid.viewContextService.handleChanges(viewContextChange.changes);
11046
+ this.smartGrid.viewContextService.handlePerformActionResponse(viewContextChange);
11044
11047
  this.refresh();
11045
11048
  }
11046
11049
  }
11047
11050
  async onSelectAll(selected) {
11048
11051
  this.isBlocked = true;
11049
11052
  const viewContextChange = await this.service.selectAll(this.smartGrid, selected);
11050
- this.smartGrid.viewContextService.handleChanges(viewContextChange.changes);
11053
+ this.smartGrid.viewContextService.handlePerformActionResponse(viewContextChange);
11051
11054
  this.refresh();
11052
11055
  }
11053
11056
  async onSelectRows(selectedIds, unselectedIds) {
@@ -11059,7 +11062,7 @@ class SmartGridComponent {
11059
11062
  let selected = selectedIds.filter((item) => item !== undefined);
11060
11063
  let unselected = unselectedIds.filter((item) => item !== undefined);
11061
11064
  const viewContextChange = await this.service.selectRows(this.smartGrid, selected, unselected);
11062
- this.smartGrid.viewContextService.handleChanges(viewContextChange.changes);
11065
+ this.smartGrid.viewContextService.handlePerformActionResponse(viewContextChange);
11063
11066
  this.refresh();
11064
11067
  }
11065
11068
  }