@smartbit4all/ng-client 4.2.78 → 4.2.79

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 (86) hide show
  1. package/esm2022/lib/smart-component-layout/api/api/api.mjs +1 -1
  2. package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +1 -1
  3. package/esm2022/lib/smart-component-layout/api/api.module.mjs +1 -1
  4. package/esm2022/lib/smart-component-layout/api/configuration.mjs +1 -1
  5. package/esm2022/lib/smart-component-layout/api/encoder.mjs +1 -1
  6. package/esm2022/lib/smart-component-layout/api/index.mjs +1 -1
  7. package/esm2022/lib/smart-component-layout/api/model/componentType.mjs +1 -1
  8. package/esm2022/lib/smart-component-layout/api/model/layoutDirection.mjs +1 -1
  9. package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  10. package/esm2022/lib/smart-component-layout/api/param.mjs +1 -1
  11. package/esm2022/lib/smart-component-layout/api/variables.mjs +1 -1
  12. package/esm2022/lib/smart-component-layout/smart-component-layout.module.mjs +3 -11
  13. package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +3 -6
  14. package/esm2022/lib/smart-form/api/api/api.mjs +1 -1
  15. package/esm2022/lib/smart-form/api/api/default.service.mjs +1 -1
  16. package/esm2022/lib/smart-form/api/api.module.mjs +1 -1
  17. package/esm2022/lib/smart-form/api/configuration.mjs +1 -1
  18. package/esm2022/lib/smart-form/api/encoder.mjs +1 -1
  19. package/esm2022/lib/smart-form/api/index.mjs +1 -1
  20. package/esm2022/lib/smart-form/api/model/models.mjs +1 -2
  21. package/esm2022/lib/smart-form/api/model/propertyMapping.mjs +1 -1
  22. package/esm2022/lib/smart-form/api/model/selectionDefinition.mjs +1 -1
  23. package/esm2022/lib/smart-form/api/model/smartFormInputMode.mjs +1 -1
  24. package/esm2022/lib/smart-form/api/model/smartFormWidgetDirection.mjs +1 -1
  25. package/esm2022/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  26. package/esm2022/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
  27. package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  28. package/esm2022/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  29. package/esm2022/lib/smart-form/api/model/smartWidgetHint.mjs +1 -1
  30. package/esm2022/lib/smart-form/api/model/sortDefinition.mjs +1 -1
  31. package/esm2022/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  32. package/esm2022/lib/smart-form/api/param.mjs +1 -1
  33. package/esm2022/lib/smart-form/api/variables.mjs +1 -1
  34. package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +22 -22
  35. package/esm2022/lib/smart-form/services/smartform.service.mjs +1 -1
  36. package/esm2022/lib/smart-form/smartform.component.mjs +3 -3
  37. package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
  38. package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +7 -25
  39. package/esm2022/lib/smart-grid/components/generic-component/generic.component.mjs +26 -0
  40. package/esm2022/lib/smart-grid/smart-grid.component.mjs +8 -3
  41. package/esm2022/lib/smart-grid/smart-grid.module.mjs +5 -2
  42. package/esm2022/lib/smart-map/api/api/api.mjs +1 -1
  43. package/esm2022/lib/smart-map/api/api/geoMap.service.mjs +1 -1
  44. package/esm2022/lib/smart-map/api/api.module.mjs +1 -1
  45. package/esm2022/lib/smart-map/api/configuration.mjs +1 -1
  46. package/esm2022/lib/smart-map/api/encoder.mjs +1 -1
  47. package/esm2022/lib/smart-map/api/index.mjs +1 -1
  48. package/esm2022/lib/smart-map/api/model/gPSPosition.mjs +1 -1
  49. package/esm2022/lib/smart-map/api/model/gPSRoute.mjs +1 -1
  50. package/esm2022/lib/smart-map/api/model/geoMapChange.mjs +1 -1
  51. package/esm2022/lib/smart-map/api/model/geoMapDataLoadingMode.mjs +1 -1
  52. package/esm2022/lib/smart-map/api/model/geoMapDataSourceDescriptor.mjs +1 -1
  53. package/esm2022/lib/smart-map/api/model/geoMapDataSourceType.mjs +1 -1
  54. package/esm2022/lib/smart-map/api/model/geoMapEditingSession.mjs +1 -1
  55. package/esm2022/lib/smart-map/api/model/geoMapInteraction.mjs +1 -1
  56. package/esm2022/lib/smart-map/api/model/geoMapItem.mjs +1 -1
  57. package/esm2022/lib/smart-map/api/model/geoMapItemKind.mjs +1 -1
  58. package/esm2022/lib/smart-map/api/model/geoMapLayer.mjs +1 -1
  59. package/esm2022/lib/smart-map/api/model/geoMapLayerChange.mjs +1 -1
  60. package/esm2022/lib/smart-map/api/model/geoMapLayerDescriptor.mjs +1 -1
  61. package/esm2022/lib/smart-map/api/model/geoMapModel.mjs +1 -1
  62. package/esm2022/lib/smart-map/api/model/geoMapOperationMode.mjs +1 -1
  63. package/esm2022/lib/smart-map/api/model/geoMapSelectionMode.mjs +1 -1
  64. package/esm2022/lib/smart-map/api/model/geoMapServerModel.mjs +1 -1
  65. package/esm2022/lib/smart-map/api/model/geoMapTextType.mjs +1 -1
  66. package/esm2022/lib/smart-map/api/model/geoMapViewState.mjs +1 -1
  67. package/esm2022/lib/smart-map/api/model/geoMapViewport.mjs +1 -1
  68. package/esm2022/lib/smart-map/api/model/models.mjs +1 -1
  69. package/esm2022/lib/smart-map/api/param.mjs +1 -1
  70. package/esm2022/lib/smart-map/api/variables.mjs +1 -1
  71. package/fesm2022/smartbit4all-ng-client.mjs +59 -69
  72. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  73. package/lib/smart-component-layout/smart-component-layout.module.d.ts +1 -3
  74. package/lib/smart-form/api/model/models.d.ts +0 -1
  75. package/lib/smart-form/services/smartform.layout-definition.service.d.ts +2 -2
  76. package/lib/smart-form/services/smartform.service.d.ts +1 -1
  77. package/lib/smart-form/smartform.form-model.d.ts +5 -6
  78. package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +2 -9
  79. package/lib/smart-grid/components/generic-component/generic.component.d.ts +13 -0
  80. package/lib/smart-grid/smart-grid.component.d.ts +3 -1
  81. package/lib/smart-grid/smart-grid.module.d.ts +20 -19
  82. package/package.json +1 -1
  83. package/smartbit4all-ng-client-4.2.79.tgz +0 -0
  84. package/esm2022/lib/smart-form/api/model/textFieldProperties.mjs +0 -13
  85. package/lib/smart-form/api/model/textFieldProperties.d.ts +0 -14
  86. package/smartbit4all-ng-client-4.2.78.tgz +0 -0
@@ -0,0 +1,26 @@
1
+ import { Component, Input, ViewChild, ViewContainerRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../component-factory-service/component-factory-service.service";
4
+ export class GenericComponent {
5
+ constructor(cfService) {
6
+ this.cfService = cfService;
7
+ }
8
+ ngAfterViewInit() {
9
+ this.vcRef.clear();
10
+ this.cfService.createComponent(this.vcRef, this.expandedComponent, new Map([['rowData', this.rowData]]));
11
+ }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GenericComponent, deps: [{ token: i1.ComponentFactoryService }], target: i0.ɵɵFactoryTarget.Component }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: GenericComponent, selector: "lib-generic-component", inputs: { rowData: "rowData", expandedComponent: "expandedComponent" }, viewQueries: [{ propertyName: "vcRef", first: true, predicate: ["component"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<ng-template #component></ng-template>\r\n", styles: [""] }); }
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: GenericComponent, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'lib-generic-component', template: "<ng-template #component></ng-template>\r\n" }]
18
+ }], ctorParameters: () => [{ type: i1.ComponentFactoryService }], propDecorators: { vcRef: [{
19
+ type: ViewChild,
20
+ args: ['component', { read: ViewContainerRef }]
21
+ }], rowData: [{
22
+ type: Input
23
+ }], expandedComponent: [{
24
+ type: Input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