@smartbit4all/ng-client 3.3.139 → 3.3.141

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 (100) hide show
  1. package/esm2020/lib/smart-client/smart-component-api-client.mjs +34 -31
  2. package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +1 -1
  3. package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +1 -1
  4. package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +48 -9
  5. package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +67 -28
  6. package/esm2020/lib/smart-component-layout/smart-component-layout.module.mjs +1 -5
  7. package/esm2020/lib/smart-dialog/smartdialog.model.mjs +1 -1
  8. package/esm2020/lib/smart-dialog/smartdialog.module.mjs +5 -5
  9. package/esm2020/lib/smart-expandable-section/expandable-section.component.mjs +12 -6
  10. package/esm2020/lib/smart-expandable-section/expandable-section.model.mjs +1 -1
  11. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +2 -1
  12. package/esm2020/lib/smart-filter/smart-filter.module.mjs +5 -5
  13. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  14. package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +2 -1
  15. package/esm2020/lib/smart-filter-editor/api/model/smartFilterType.mjs +17 -0
  16. package/esm2020/lib/smart-filter-editor/smart-filter-editor.module.mjs +1 -8
  17. package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +1 -1
  18. package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +1 -1
  19. package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
  20. package/esm2020/lib/smart-form/api/model/valueChangeMode.mjs +1 -1
  21. package/esm2020/lib/smart-form/projects.mjs +1 -2
  22. package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +21 -3
  23. package/esm2020/lib/smart-form/services/smartform.service.mjs +6 -1
  24. package/esm2020/lib/smart-form/smartform.component.mjs +19 -3
  25. package/esm2020/lib/smart-form/smartform.form-model.mjs +1 -1
  26. package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +118 -32
  27. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
  28. package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
  29. package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
  30. package/esm2020/lib/smart-grid/smart-grid.component.mjs +26 -11
  31. package/esm2020/lib/smart-grid/smart-grid.module.mjs +3 -6
  32. package/esm2020/lib/smart-navbar/smart-navbar.module.mjs +5 -5
  33. package/esm2020/lib/smart-ng-client.module.mjs +1 -8
  34. package/esm2020/lib/smart-table/tables/table.mjs +6 -4
  35. package/esm2020/lib/smart-tree/smarttree-generic.service.mjs +20 -13
  36. package/esm2020/lib/smart-tree/smarttree.module.mjs +11 -3
  37. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  38. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  39. package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
  40. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  41. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +15 -12
  42. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +2 -2
  43. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +13 -10
  44. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +2 -2
  45. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +17 -11
  46. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +2 -2
  47. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +11 -6
  48. package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
  49. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +14 -8
  50. package/esm2020/lib/view-context/smart-view-context.module.mjs +132 -10
  51. package/esm2020/lib/view-context/smart-view-context.service.mjs +8 -1
  52. package/fesm2015/smartbit4all-ng-client.mjs +3962 -3728
  53. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  54. package/fesm2020/smartbit4all-ng-client.mjs +3776 -3550
  55. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  56. package/lib/smart-client/smart-component-api-client.d.ts +2 -1
  57. package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +3 -5
  58. package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +2 -2
  59. package/lib/smart-component-layout/smart-component-layout-utility.d.ts +4 -3
  60. package/lib/smart-component-layout/smart-component-layout.component.d.ts +10 -6
  61. package/lib/smart-component-layout/smart-component-layout.module.d.ts +5 -6
  62. package/lib/smart-dialog/smartdialog.model.d.ts +2 -2
  63. package/lib/smart-dialog/smartdialog.module.d.ts +2 -2
  64. package/lib/smart-expandable-section/expandable-section.model.d.ts +4 -2
  65. package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +1 -0
  66. package/lib/smart-filter/smart-filter.module.d.ts +2 -2
  67. package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +3 -0
  68. package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +1 -0
  69. package/lib/smart-filter-editor/api/model/smartFilterType.d.ts +15 -0
  70. package/lib/smart-filter-editor/smart-filter-editor.module.d.ts +4 -5
  71. package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +2 -1
  72. package/lib/smart-form/projects.d.ts +0 -1
  73. package/lib/smart-form/services/smartform.layout-definition.service.d.ts +1 -0
  74. package/lib/smart-form/smartform.component.d.ts +6 -2
  75. package/lib/smart-form/smartform.form-model.d.ts +17 -1
  76. package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +31 -1
  77. package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +4 -0
  78. package/lib/smart-grid/api/grid-api/model/gridModel.d.ts +2 -0
  79. package/lib/smart-grid/api/grid-api/model/gridServerModel.d.ts +2 -0
  80. package/lib/smart-grid/smart-grid.component.d.ts +2 -1
  81. package/lib/smart-grid/smart-grid.module.d.ts +3 -4
  82. package/lib/smart-navbar/smart-navbar.module.d.ts +2 -2
  83. package/lib/smart-ng-client.module.d.ts +12 -13
  84. package/lib/smart-tree/smarttree-generic.service.d.ts +2 -3
  85. package/lib/view-context/api/model/uiAction.d.ts +4 -0
  86. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +5 -5
  87. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +1 -1
  88. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +1 -1
  89. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +1 -1
  90. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +2 -2
  91. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +1 -1
  92. package/lib/view-context/smart-ui-action/ui-action.model.d.ts +1 -1
  93. package/lib/view-context/smart-ui-action/ui-action.service.d.ts +3 -3
  94. package/lib/view-context/smart-view-context.module.d.ts +34 -11
  95. package/lib/view-context/smart-view-context.service.d.ts +2 -0
  96. package/package.json +1 -1
  97. package/smartbit4all-ng-client-3.3.141.tgz +0 -0
  98. package/esm2020/lib/smart-form/smartform.module.mjs +0 -157
  99. package/lib/smart-form/smartform.module.d.ts +0 -35
  100. package/smartbit4all-ng-client-3.3.139.tgz +0 -0
@@ -18,6 +18,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
18
18
  private detectChange;
19
19
  private _uuid?;
20
20
  private uuidOfPageHasBeenChangedSubscription?;
21
+ private _ngAfterViewInitPerformed;
21
22
  get uuid(): string | undefined;
22
23
  set uuid(uuid: string | undefined);
23
24
  private _model;
@@ -46,6 +47,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
46
47
  _ngOnInit(): void;
47
48
  _ngOnDestroy(): void;
48
49
  _ngAfterViewInit(): void;
50
+ private setupGridServices;
49
51
  protected handleQueryListSimple<T>(ql: QueryList<T>, handler: () => void): void;
50
52
  protected handleQueryList<T>(ql: QueryList<T>, handler: (el: T) => void): void;
51
53
  protected abstract getSmartFormsQL(): QueryList<SmartformComponent> | undefined;
@@ -56,7 +58,6 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
56
58
  protected abstract getSmartComponentLayoutsQL(): QueryList<SmartComponentLayoutComponent> | undefined;
57
59
  protected getWidgets(): Map<string, SmartGridComponent | SmarttreeGenericService | SmartFilterEditorService | undefined>;
58
60
  initComponentByModel(): void;
59
- protected initStyle(): void;
60
61
  protected getAllSmartFormComponents(): SmartformComponent[];
61
62
  protected getAllSmartGridComponents(): SmartGridComponent[];
62
63
  protected getAllSmartTreeComponents(): SmarttreeGenericService[];
@@ -12,17 +12,15 @@
12
12
  import { ComponentType } from './componentType';
13
13
  import { LayoutDirection } from './layoutDirection';
14
14
  import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
15
- import { SmartWidgetDefinition } from '../../../smart-form/projects';
15
+ import { Style } from '../../../view-context/api/model/style';
16
+ import { SmartWidgetDefinition } from '../../../smart-form/api/model/smartWidgetDefinition';
16
17
  export interface SmartComponentLayoutDefinition {
17
18
  type: ComponentType;
18
19
  expandable?: boolean;
19
20
  expandableSectionLabel?: string;
20
21
  direction?: LayoutDirection;
21
- /**
22
- * This is a placeholder for SmartComponentApiClient. You might want to describe this further.
23
- */
24
- parentComponent?: object;
25
22
  components?: Array<SmartComponentLayoutDefinition>;
26
23
  widget?: SmartComponentWidgetDefinition;
27
24
  form?: Array<SmartWidgetDefinition>;
25
+ style?: Style;
28
26
  }
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ComponentWidgetType } from './componentWidgetType';
13
- import { FilterExpressionFieldList } from '../../../smart-filter/projects';
14
- import { SmartFilterType } from '../../../smart-filter/projects';
13
+ import { FilterExpressionFieldList } from '../../../smart-filter-editor/api/model/filterExpressionFieldList';
14
+ import { SmartFilterType } from '../../../smart-filter-editor/api/model/smartFilterType';
15
15
  export interface SmartComponentWidgetDefinition {
16
16
  type: ComponentWidgetType;
17
17
  identifier?: string;
@@ -1,13 +1,14 @@
1
1
  import { SmartformComponent } from '../smart-form/projects';
2
2
  import { SmartGridComponent } from '../smart-grid/projects';
3
3
  import { SmarttreeGenericService } from '../smart-tree/projects';
4
- import { UiActionToolbarComponent } from '../view-context/projects';
5
- import { SmartComponentLayoutDefinition } from './api';
4
+ import { Style, UiActionToolbarComponent } from '../view-context/projects';
6
5
  import { SmartComponentLayoutComponent } from './smart-component-layout.component';
6
+ import { ElementRef, Renderer2 } from '@angular/core';
7
7
  export declare class SmartComponentLayoutUtility {
8
- static setParent(layout: SmartComponentLayoutDefinition, parent: any): void;
9
8
  static getForms(comp: SmartComponentLayoutComponent): SmartformComponent[];
10
9
  static getGrids(comp: SmartComponentLayoutComponent): SmartGridComponent[];
11
10
  static getTrees(comp: SmartComponentLayoutComponent): SmarttreeGenericService[];
12
11
  static getToolbars(comp: SmartComponentLayoutComponent): UiActionToolbarComponent[];
12
+ static getExpandableComponent(comp: SmartComponentLayoutComponent): SmartComponentLayoutComponent;
13
+ static applyStyle(style: Style | undefined, elementRef?: ElementRef, renderer?: Renderer2): void;
13
14
  }
@@ -1,17 +1,22 @@
1
- import { AfterViewInit, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnChanges, OnDestroy, QueryList, Renderer2, SimpleChanges } from '@angular/core';
2
2
  import { ComponentType, SmartComponentLayoutDefinition } from './api';
3
3
  import { SmartForm, SmartFormWidgetDirection, SmartformComponent, SmartformLayoutDefinitionService } from '../smart-form/projects';
4
4
  import { SmartGrid, SmartGridComponent } from '../smart-grid/projects';
5
5
  import { SmartFilter, SmartFilterComponent } from '../smart-filter/projects';
6
6
  import { SmarttreeGenericService } from '../smart-tree/projects';
7
- import { ExpandableSection } from '../smart-expandable-section/projects';
7
+ import { ExpandableSection, ExpandableSectionComponent } from '../smart-expandable-section/projects';
8
8
  import { Subject } from 'rxjs';
9
9
  import { UiActionToolbarComponent } from '../view-context/projects';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class SmartComponentLayoutComponent implements AfterViewInit, OnDestroy, OnChanges {
12
12
  private layoutService;
13
+ private element?;
14
+ private renderer?;
13
15
  protected _destroy$: Subject<void>;
14
16
  smartComponentLayout?: SmartComponentLayoutDefinition;
17
+ parentLayoutComponent?: SmartComponentLayoutComponent;
18
+ parentSmartComponent: any;
19
+ currentLayout?: SmartComponentLayoutDefinition;
15
20
  uuid?: string;
16
21
  smartFormList: QueryList<SmartformComponent>;
17
22
  smartFormComponent?: SmartformComponent;
@@ -25,11 +30,11 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
25
30
  toolbarList: QueryList<UiActionToolbarComponent>;
26
31
  toolbar?: UiActionToolbarComponent;
27
32
  toolbarId?: string;
28
- parent?: any;
29
33
  treeService?: SmarttreeGenericService;
30
34
  expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
35
+ expandableComponents: QueryList<ExpandableSectionComponent>;
31
36
  components: QueryList<SmartComponentLayoutComponent>;
32
- constructor(layoutService: SmartformLayoutDefinitionService);
37
+ constructor(layoutService: SmartformLayoutDefinitionService, element?: ElementRef<any> | undefined, renderer?: Renderer2 | undefined);
33
38
  ngAfterViewInit(): void;
34
39
  ngOnDestroy(): void;
35
40
  ngOnChanges(changes: SimpleChanges): void;
@@ -45,10 +50,9 @@ export declare class SmartComponentLayoutComponent implements AfterViewInit, OnD
45
50
  setGridComponent(comp: SmartGridComponent): void;
46
51
  bindGrid(): void;
47
52
  setToolbarComponent(comp: UiActionToolbarComponent): void;
48
- constructFilter(): void;
49
53
  bindFilter(): void;
50
54
  constructTree(): void;
51
55
  constructToolbar(): void;
52
56
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; "parentLayoutComponent": "parentLayoutComponent"; "parentSmartComponent": "parentSmartComponent"; }, {}, never, never>;
54
58
  }
@@ -2,13 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./smart-component-layout.component";
3
3
  import * as i2 from "@angular/platform-browser";
4
4
  import * as i3 from "@angular/material/core";
5
- import * as i4 from "../smart-form/smartform.module";
6
- import * as i5 from "../smart-grid/smart-grid.module";
7
- import * as i6 from "../smart-expandable-section/smart-expandable-section.module";
8
- import * as i7 from "../smart-tree/smarttree.module";
9
- import * as i8 from "../view-context/smart-view-context.module";
5
+ import * as i4 from "../smart-grid/smart-grid.module";
6
+ import * as i5 from "../smart-expandable-section/smart-expandable-section.module";
7
+ import * as i6 from "../smart-tree/smarttree.module";
8
+ import * as i7 from "../view-context/smart-view-context.module";
10
9
  export declare class SmartComponentLayoutModule {
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartformModule, typeof i5.SmartGridModule, typeof i6.SmartExpandableSectionModule, typeof i7.SmarttreeModule, typeof i8.SmartViewContextModule], [typeof i1.SmartComponentLayoutComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartGridModule, typeof i5.SmartExpandableSectionModule, typeof i6.SmarttreeModule, typeof i7.SmartViewContextModule], [typeof i1.SmartComponentLayoutComponent]>;
13
12
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartComponentLayoutModule>;
14
13
  }
@@ -1,5 +1,5 @@
1
- import { SmartForm } from '../smart-form/projects';
2
- import { SmartTable } from '../smart-table/projects';
1
+ import { SmartForm } from '../smart-form/smartform.model';
2
+ import { SmartTable } from '../smart-table/smarttable.model';
3
3
  /**
4
4
  * This interface defines the size of a dialog.
5
5
  *
@@ -4,11 +4,11 @@ import * as i2 from "@angular/platform-browser";
4
4
  import * as i3 from "@angular/material/dialog";
5
5
  import * as i4 from "@angular/material/core";
6
6
  import * as i5 from "@angular/material/icon";
7
- import * as i6 from "../smart-form/smartform.module";
7
+ import * as i6 from "../view-context/smart-view-context.module";
8
8
  import * as i7 from "../smart-table/smarttable.module";
9
9
  import * as i8 from "../smart-icon/smart-icon.module";
10
10
  export declare class SmartdialogModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartdialogModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.SmartformModule, typeof i7.SmarttableModule, typeof i8.SmartIconModule], [typeof i1.SmartDialog]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.SmartViewContextModule, typeof i7.SmarttableModule, typeof i8.SmartIconModule], [typeof i1.SmartDialog]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartdialogModule>;
14
14
  }
@@ -1,5 +1,5 @@
1
- import { ThemePalette } from "@angular/material/core";
2
- import { Subject } from "rxjs/internal/Subject";
1
+ import { ThemePalette } from '@angular/material/core';
2
+ import { Subject } from 'rxjs/internal/Subject';
3
3
  export interface ExpandableSection<T> {
4
4
  title: string;
5
5
  headerComponent?: any;
@@ -10,9 +10,11 @@ export interface ExpandableSection<T> {
10
10
  headerInputName?: string;
11
11
  inputName?: string;
12
12
  isExpanded?: boolean;
13
+ isDisabled?: boolean;
13
14
  index?: number;
14
15
  stateChanged?: Subject<ExpandableSectionStateChange<T>>;
15
16
  cssClass?: string;
17
+ inputs?: Map<string, any>;
16
18
  }
17
19
  export interface ExpandableSectionStateChange<T> {
18
20
  data: T;
@@ -12,6 +12,7 @@
12
12
  export declare enum FilterExpressionFieldWidgetType {
13
13
  TEXT_FIELD = "TEXT_FIELD",
14
14
  TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
15
+ TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
15
16
  TEXT_BOX = "TEXT_BOX",
16
17
  SELECT = "SELECT",
17
18
  SELECT_MULTIPLE = "SELECT_MULTIPLE",
@@ -4,12 +4,12 @@ import * as i2 from "./smart-filter/components/smart-filter-expression-field/sma
4
4
  import * as i3 from "./smart-filter/components/smart-filter-simple/smart-filter-simple.component";
5
5
  import * as i4 from "./smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component";
6
6
  import * as i5 from "@angular/platform-browser";
7
- import * as i6 from "../smart-form/smartform.module";
7
+ import * as i6 from "../view-context/smart-view-context.module";
8
8
  import * as i7 from "@angular/material/menu";
9
9
  import * as i8 from "@angular/material/icon";
10
10
  import * as i9 from "@angular/material/button";
11
11
  export declare class SmartFilterModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterModule, [typeof i1.SmartFilterComponent, typeof i2.SmartFilterExpressionFieldComponent, typeof i3.SmartFilterSimpleComponent, typeof i4.SmartFilterSimpleFieldComponent], [typeof i5.BrowserModule, typeof i6.SmartformModule, typeof i7.MatMenuModule, typeof i8.MatIconModule, typeof i9.MatButtonModule], [typeof i1.SmartFilterComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterModule, [typeof i1.SmartFilterComponent, typeof i2.SmartFilterExpressionFieldComponent, typeof i3.SmartFilterSimpleComponent, typeof i4.SmartFilterSimpleFieldComponent], [typeof i5.BrowserModule, typeof i6.SmartViewContextModule, typeof i7.MatMenuModule, typeof i8.MatIconModule, typeof i9.MatButtonModule], [typeof i1.SmartFilterComponent]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartFilterModule>;
15
15
  }
@@ -27,6 +27,9 @@ export interface FilterExpressionField {
27
27
  label1: string;
28
28
  label2?: string;
29
29
  label3?: string;
30
+ placeholder1?: string;
31
+ placeholder2?: string;
32
+ placeholder3?: string;
30
33
  icon?: string;
31
34
  expressionData?: FilterExpressionData;
32
35
  possibleOperations?: Array<FilterExpressionOperation>;
@@ -12,6 +12,7 @@
12
12
  export declare enum FilterExpressionFieldWidgetType {
13
13
  TEXT_FIELD = "TEXT_FIELD",
14
14
  TEXT_FIELD_CHIPS = "TEXT_FIELD_CHIPS",
15
+ TEXT_FIELD_NUMBER = "TEXT_FIELD_NUMBER",
15
16
  TEXT_BOX = "TEXT_BOX",
16
17
  SELECT = "SELECT",
17
18
  SELECT_MULTIPLE = "SELECT_MULTIPLE",
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Filter API 2
3
+ * Filter API 2
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare enum SmartFilterType {
13
+ SIMPLE = "SIMPLE",
14
+ ADVANCED = "ADVANCED"
15
+ }
@@ -8,12 +8,11 @@ import * as i6 from "@angular/common";
8
8
  import * as i7 from "../smart-icon/smart-icon.module";
9
9
  import * as i8 from "../smart-expandable-section/smart-expandable-section.module";
10
10
  import * as i9 from "../view-context/smart-view-context.module";
11
- import * as i10 from "../smart-form/smartform.module";
12
- import * as i11 from "@angular/material/button";
13
- import * as i12 from "../smart-filter/smart-filter.module";
14
- import * as i13 from "../shared/shared.module";
11
+ import * as i10 from "@angular/material/button";
12
+ import * as i11 from "../smart-filter/smart-filter.module";
13
+ import * as i12 from "../shared/shared.module";
15
14
  export declare class SmartFilterEditorModule {
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterEditorModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterEditorModule, [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent], [typeof i6.CommonModule, typeof i7.SmartIconModule, typeof i8.SmartExpandableSectionModule, typeof i9.SmartViewContextModule, typeof i10.SmartformModule, typeof i11.MatButtonModule, typeof i12.SmartFilterModule, typeof i10.SmartformModule, typeof i13.SharedModule], [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartFilterEditorModule, [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent], [typeof i6.CommonModule, typeof i7.SmartIconModule, typeof i8.SmartExpandableSectionModule, typeof i9.SmartViewContextModule, typeof i10.MatButtonModule, typeof i11.SmartFilterModule, typeof i12.SharedModule], [typeof i1.SmartFilterParamsComponent, typeof i2.SmartFilterParamComponent, typeof i3.SmartFilterEditorContentComponent, typeof i4.SmartFilterExpressionItemsComponent, typeof i5.SmartFilterExpressionItemComponent]>;
18
17
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartFilterEditorModule>;
19
18
  }
@@ -14,6 +14,7 @@ import { IconPosition } from '../../../view-context/api/model/iconPosition';
14
14
  import { SmartFormWidgetDirection } from './smartFormWidgetDirection';
15
15
  import { SmartWidgetHint } from './smartWidgetHint';
16
16
  import { SmartFormWidgetType } from './smartFormWidgetType';
17
+ import { Value } from '../../smartform.model';
17
18
  import { ValueChangeMode } from './valueChangeMode';
18
19
  import { SmartMatrixModel } from './smartMatrixModel';
19
20
  /**
@@ -73,7 +74,7 @@ export interface SmartWidgetDefinition {
73
74
  * Defines if the widget is a password input
74
75
  */
75
76
  isPassword?: boolean;
76
- values?: Array<any>;
77
+ values?: Array<Value>;
77
78
  childrenComponents?: Array<SmartWidgetDefinition>;
78
79
  selection?: SelectionDefinition;
79
80
  direction?: SmartFormWidgetDirection;
@@ -2,7 +2,6 @@ export * from './smartform.component';
2
2
  export * from './widgets/smartformwidget/smartformwidget.component';
3
3
  export * from './smartfileuploader/smartfileuploader.component';
4
4
  export * from './smartfileuploader/smartfileuploader.model';
5
- export * from './smartform.module';
6
5
  export * from './smartform.model';
7
6
  export * from './smartform.form-model';
8
7
  export * from './services/smartform.layout-definition.service';
@@ -32,6 +32,7 @@ export declare class SmartformLayoutDefinitionService {
32
32
  private createDatePicker;
33
33
  private createDateTimePicker;
34
34
  private createImage;
35
+ private createSvg;
35
36
  private createButton;
36
37
  private createDivider;
37
38
  private createFileUploader;
@@ -1,10 +1,12 @@
1
- import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
1
+ import { OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
3
  import { Subject } from 'rxjs';
4
4
  import { SmartFormWidgetDirection } from './api';
5
5
  import { SmartFormService } from './services/smartform.service';
6
6
  import { SmartForm, SmartFormInvalidFields, SophisticatedValueChange } from './smartform.model';
7
- import { SmartFormWidget } from './projects';
7
+ import { SmartFormWidget } from './smartform.form-model';
8
+ import { SmartformwidgetComponent } from './widgets/smartformwidget/smartformwidget.component';
9
+ import { UiActionToolbarComponent } from '../view-context/smart-ui-action/ui-action-toolbar.component';
8
10
  import * as i0 from "@angular/core";
9
11
  export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges {
10
12
  private service;
@@ -16,6 +18,7 @@ export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges
16
18
  sophisticatedValueChange: Subject<SophisticatedValueChange>;
17
19
  form: FormGroup;
18
20
  direction: typeof SmartFormWidgetDirection;
21
+ smartWidgetsQL?: QueryList<SmartformwidgetComponent>;
19
22
  constructor(service: SmartFormService);
20
23
  ngOnChanges(changes: SimpleChanges): void;
21
24
  ngOnInit(): void;
@@ -27,6 +30,7 @@ export declare class SmartformComponent implements OnInit, OnDestroy, OnChanges
27
30
  submitForm(validate?: boolean): SmartForm;
28
31
  keyDownFunction(event: any): void;
29
32
  getModel(): any;
33
+ getToolbars(): UiActionToolbarComponent[];
30
34
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartformComponent, never>;
31
35
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartformComponent, "smartform", never, { "smartForm": "smartForm"; }, {}, never, never>;
32
36
  }
@@ -1,7 +1,7 @@
1
1
  import { QuillModules } from 'ngx-quill';
2
2
  import { SelectionDefinition, SmartFormWidgetDirection, SmartFormWidgetType, SmartWidgetHint, ValueChangeMode } from './api';
3
3
  import { SmartFormTextFieldButton, SmartFormWidgetWidth, SmartIndicator, SmartValidator, ToggleLabelPosition } from './smartform.model';
4
- export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker;
4
+ export declare type SmartFormWidget<T> = SmartTextField<T> | SmartTextFieldNumber<T> | SmartTextFieldChips<T> | SmartTextBox<T> | SmartSelect<T> | SmartSelectMultiple<T> | SmartCheckBox<T> | SmartCheckBox2<T> | SmartRadioButton<T> | SmartDatePicker<T> | SmartDateTimePicker<T> | SmartContainer<T> | SmartLabel | SmartTime<T> | SmartToggle<T> | SmartIndicatorItem | SmartFileUploader | SmartImage | SmartDivider | SmartButton | SmartFormInlineComponent | SmartRichText | SmartSortable<T> | SmartMatrix | SmartYoutubePlayer | SmartMonthPicker | SmartSvg;
5
5
  export interface SmartTextField<T> {
6
6
  type: SmartFormWidgetType.TEXT_FIELD;
7
7
  key: string;
@@ -34,9 +34,11 @@ export interface SmartTextField<T> {
34
34
  errorIconColor?: string;
35
35
  valueList?: SmartItem<T>[];
36
36
  selection?: SelectionDefinition;
37
+ filterErrorMessage?: string;
37
38
  hint?: SmartWidgetHint;
38
39
  maxLength?: number;
39
40
  showCharacterLimitSuffix?: boolean;
41
+ toolbarId?: string;
40
42
  }
41
43
  export interface SmartTextFieldNumber<T> {
42
44
  type: SmartFormWidgetType.TEXT_FIELD_NUMBER;
@@ -461,6 +463,8 @@ export interface SmartRichText {
461
463
  errorIcon?: string;
462
464
  errorIconColor?: string;
463
465
  hint?: SmartWidgetHint;
466
+ maxLength?: number;
467
+ showCharacterLimitSuffix?: boolean;
464
468
  }
465
469
  export interface SmartSortable<T> {
466
470
  type: SmartFormWidgetType.SORTABLE;
@@ -543,3 +547,15 @@ export interface SmartMonthPicker {
543
547
  originalLabel?: string;
544
548
  hint?: SmartWidgetHint;
545
549
  }
550
+ export interface SmartSvg {
551
+ type: SmartFormWidgetType.SVG;
552
+ key: string;
553
+ valueChangeMode?: ValueChangeMode;
554
+ label: string;
555
+ originalLabel?: string;
556
+ showLabel?: boolean;
557
+ isVisible?: boolean;
558
+ cssClass?: string;
559
+ value?: string;
560
+ minWidth?: SmartFormWidgetWidth | number;
561
+ }
@@ -8,6 +8,9 @@ import { SmartFormWidgetType, SmartWidgetHintPositionEnum } from '../../api/mode
8
8
  import { SmartFormService } from '../../services/smartform.service';
9
9
  import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
10
10
  import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
11
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
12
+ import { ContentChange, QuillEditorComponent, QuillModules } from 'ngx-quill';
13
+ import { UiActionToolbarComponent } from '../../../view-context/smart-ui-action/ui-action-toolbar.component';
11
14
  import * as i0 from "@angular/core";
12
15
  export declare class SmartWidgetSettings {
13
16
  static useUtc: boolean;
@@ -15,6 +18,7 @@ export declare class SmartWidgetSettings {
15
18
  export declare class SmartformwidgetComponent implements OnInit, OnDestroy, AfterViewInit {
16
19
  private service;
17
20
  private cfService;
21
+ private sanitizer;
18
22
  private _destroy$;
19
23
  hidePassword: boolean;
20
24
  form: FormGroup;
@@ -34,10 +38,13 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
34
38
  customComponentRef?: ComponentRef<any>;
35
39
  filteredOptions?: Observable<SmartItem<any>[]>;
36
40
  toHighlight: string;
41
+ quill?: QuillEditorComponent;
37
42
  isEnterPressed: boolean;
38
43
  isDatePickerRequired: boolean;
39
44
  SmartWidgetHintPosition: typeof SmartWidgetHintPositionEnum;
40
- constructor(service: SmartFormService, cfService: ComponentFactoryService);
45
+ toolbar?: UiActionToolbarComponent;
46
+ emptyQuillToolbar: QuillModules;
47
+ constructor(service: SmartFormService, cfService: ComponentFactoryService, sanitizer: DomSanitizer);
41
48
  ngOnInit(): void;
42
49
  parseYoutubeUrl(url: string): string | false;
43
50
  _hasJustChanged: boolean;
@@ -56,6 +63,27 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
56
63
  ngOnDestroy(): void;
57
64
  onKeydown(): void;
58
65
  togglePasswordVisibility(event: any): void;
66
+ /**
67
+ * Change handler for the potentially present Quill editor, enforcing max length limits if
68
+ * necessary.
69
+ *
70
+ * @param change the {@link ContentChange} the Quill editor emits
71
+ * @returns {@code void}
72
+ */
73
+ onRichTextEditorContentChanged(change: ContentChange): void;
74
+ /**
75
+ * Calculates the number of remaining user-space characters allowed to be entered into the Quill
76
+ * editor.
77
+ *
78
+ * <p>
79
+ * The real length of the editor's content may be much longer - as it is persisted as an HTML
80
+ * document fragment behind the scenes. This method is concerned by the number of characters the
81
+ * user perceives.
82
+ *
83
+ * @returns the {@link number} of remaining permitted characters the user may input, or {@code -1}
84
+ * if the leeway is not interpreted in the component's current state
85
+ */
86
+ getRichTextEditorLengthLeeway(): number;
59
87
  addOnBlur: boolean;
60
88
  readonly separatorKeysCodes: readonly [13, 188];
61
89
  add(event: MatChipInputEvent): void;
@@ -65,6 +93,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
65
93
  smartFormTextFieldButtonIconPosition(): typeof SmartFormTextFieldButtonIconPosition;
66
94
  getType(): typeof SmartFormWidgetType;
67
95
  getWidgetLabel(widget: SmartFormWidget<any>): string;
96
+ getWidgetSvg(value?: string): SafeHtml | null;
68
97
  private fieldIsRequired;
69
98
  hasCustomError(widget: SmartFormWidget<any>, validator: SmartValidator): boolean;
70
99
  getErrorMessage(widgetInstance: SmartFormWidget<any>): boolean;
@@ -82,6 +111,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
82
111
  compareItems(o1: any, o2: any): boolean;
83
112
  truncateUri(uri: any): any;
84
113
  removeMatrixRow(question: any): void;
114
+ isToolbarPresent(): boolean;
85
115
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
86
116
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": "form"; "widgetInstance": "widgetInstance"; "onBlur": "onBlur"; "onValueChange": "onValueChange"; "labelColor": "labelColor"; "sophisticatedValueChange": "sophisticatedValueChange"; }, {}, never, never>;
87
117
  }
@@ -14,6 +14,10 @@ export interface GridColumnMeta {
14
14
  label: string;
15
15
  propertyName: string;
16
16
  typeClass?: string;
17
+ /**
18
+ * The format instruction for the column. This format string must be JavaScript format stringh for Angular.
19
+ */
20
+ typeFormat?: string;
17
21
  alwaysHidden?: boolean;
18
22
  alwaysShow?: boolean;
19
23
  contentType?: GridColumnContentType;
@@ -17,6 +17,8 @@ import { GridView } from './gridView';
17
17
  */
18
18
  export interface GridModel {
19
19
  viewUuid?: string;
20
+ identifier?: string;
21
+ qualifier?: string;
20
22
  availableViews?: Array<GridView>;
21
23
  view?: GridView;
22
24
  accessConfig?: GridDataAccessConfig;
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { GridUpdateData } from './gridUpdateData';
12
13
  import { GridRow } from './gridRow';
13
14
  /**
14
15
  * This object represents the server model of a grid component.
@@ -17,4 +18,5 @@ export interface GridServerModel {
17
18
  selectedRows: {
18
19
  [key: string]: GridRow;
19
20
  };
21
+ defaultGridData?: GridUpdateData;
20
22
  }
@@ -19,6 +19,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
19
19
  private cfService;
20
20
  private dialog;
21
21
  private uiActionDescriptorService;
22
+ private gridMenuIcon?;
22
23
  private readonly defaultPageSizeOptions;
23
24
  private _destroy$;
24
25
  smartGrid?: SmartGrid;
@@ -45,7 +46,7 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
45
46
  treeFlattener?: MatTreeFlattener<GridRow, GridRow>;
46
47
  treeDataSource?: MatTreeFlatDataSource<GridRow, GridRow>;
47
48
  treeChecklistSelection?: SelectionModel<GridRow>;
48
- constructor(service: SmartGridService, cfService: ComponentFactoryService, dialog: MatDialog, uiActionDescriptorService: UiActionDescriptorService);
49
+ constructor(service: SmartGridService, cfService: ComponentFactoryService, dialog: MatDialog, uiActionDescriptorService: UiActionDescriptorService, gridMenuIcon?: string | undefined);
49
50
  ngOnChanges(changes: SimpleChanges): void;
50
51
  ngOnDestroy(): void;
51
52
  ngAfterViewInit(): void;
@@ -13,11 +13,10 @@ import * as i11 from "@angular/material/tree";
13
13
  import * as i12 from "@angular/material/checkbox";
14
14
  import * as i13 from "../smart-expandable-section/smart-expandable-section.module";
15
15
  import * as i14 from "@angular/cdk/drag-drop";
16
- import * as i15 from "../smart-form/smartform.module";
17
- import * as i16 from "@angular/material/select";
18
- import * as i17 from "../view-context/smart-view-context.module";
16
+ import * as i15 from "@angular/material/select";
17
+ import * as i16 from "../view-context/smart-view-context.module";
19
18
  export declare class SmartGridModule {
20
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartGridModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartGridModule, [typeof i1.SmartGridComponent, typeof i2.SmartGridCardComponent, typeof i3.ExpandableGridComponent, typeof i4.TableLayoutDefinerComponent], [typeof i5.BrowserModule, typeof i6.SmartIconModule, typeof i7.SmarttableModule, typeof i8.MatIconModule, typeof i9.MatButtonModule, typeof i10.MatPaginatorModule, typeof i11.MatTreeModule, typeof i12.MatCheckboxModule, typeof i13.SmartExpandableSectionModule, typeof i14.DragDropModule, typeof i15.SmartformModule, typeof i16.MatSelectModule, typeof i17.SmartViewContextModule], [typeof i1.SmartGridComponent]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartGridModule, [typeof i1.SmartGridComponent, typeof i2.SmartGridCardComponent, typeof i3.ExpandableGridComponent, typeof i4.TableLayoutDefinerComponent], [typeof i5.BrowserModule, typeof i6.SmartIconModule, typeof i7.SmarttableModule, typeof i8.MatIconModule, typeof i9.MatButtonModule, typeof i10.MatPaginatorModule, typeof i11.MatTreeModule, typeof i12.MatCheckboxModule, typeof i13.SmartExpandableSectionModule, typeof i14.DragDropModule, typeof i15.MatSelectModule, typeof i16.SmartViewContextModule], [typeof i1.SmartGridComponent]>;
22
21
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartGridModule>;
23
22
  }
@@ -10,9 +10,9 @@ import * as i8 from "@angular/material/menu";
10
10
  import * as i9 from "@angular/forms";
11
11
  import * as i10 from "@angular/material/form-field";
12
12
  import * as i11 from "@angular/material/badge";
13
- import * as i12 from "../smart-form/smartform.module";
13
+ import * as i12 from "../view-context/smart-view-context.module";
14
14
  export declare class SmartNavbarModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartNavbarModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNavbarModule, [typeof i1.SmartNavbarComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.MatButtonModule, typeof i5.MatToolbarModule, typeof i6.MatInputModule, typeof i7.MatIconModule, typeof i8.MatMenuModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatFormFieldModule, typeof i11.MatBadgeModule, typeof i12.SmartformModule], [typeof i1.SmartNavbarComponent]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNavbarModule, [typeof i1.SmartNavbarComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.MatButtonModule, typeof i5.MatToolbarModule, typeof i6.MatInputModule, typeof i7.MatIconModule, typeof i8.MatMenuModule, typeof i9.FormsModule, typeof i9.ReactiveFormsModule, typeof i10.MatFormFieldModule, typeof i11.MatBadgeModule, typeof i12.SmartViewContextModule], [typeof i1.SmartNavbarComponent]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartNavbarModule>;
18
18
  }
@@ -6,20 +6,19 @@ import * as i4 from "./component-factory-service/component-factory-service.modul
6
6
  import * as i5 from "./view-context/smart-view-context.module";
7
7
  import * as i6 from "./smart-dialog/smartdialog.module";
8
8
  import * as i7 from "./smart-filter/smart-filter.module";
9
- import * as i8 from "./smart-form/smartform.module";
10
- import * as i9 from "./smart-grid/smart-grid.module";
11
- import * as i10 from "./smart-icon/smart-icon.module";
12
- import * as i11 from "./smart-navbar/smart-navbar.module";
13
- import * as i12 from "./session/smart-session.module";
14
- import * as i13 from "./smart-tab-group/smart-tab-group.module";
15
- import * as i14 from "./smart-table/smarttable.module";
16
- import * as i15 from "./smart-expandable-section/smart-expandable-section.module";
17
- import * as i16 from "./smart-component-layout/smart-component-layout.module";
18
- import * as i17 from "./smart-filter-editor/smart-filter-editor.module";
19
- import * as i18 from "./shared/shared.module";
20
- import * as i19 from "./smart-tree/smarttree.module";
9
+ import * as i8 from "./smart-grid/smart-grid.module";
10
+ import * as i9 from "./smart-icon/smart-icon.module";
11
+ import * as i10 from "./smart-navbar/smart-navbar.module";
12
+ import * as i11 from "./session/smart-session.module";
13
+ import * as i12 from "./smart-tab-group/smart-tab-group.module";
14
+ import * as i13 from "./smart-table/smarttable.module";
15
+ import * as i14 from "./smart-expandable-section/smart-expandable-section.module";
16
+ import * as i15 from "./smart-component-layout/smart-component-layout.module";
17
+ import * as i16 from "./smart-filter-editor/smart-filter-editor.module";
18
+ import * as i17 from "./shared/shared.module";
19
+ import * as i18 from "./smart-tree/smarttree.module";
21
20
  export declare class SmartNgClientModule {
22
21
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.ComponentFactoryServiceModule, typeof i5.SmartViewContextModule, typeof i6.SmartdialogModule, typeof i7.SmartFilterModule, typeof i8.SmartformModule, typeof i9.SmartGridModule, typeof i10.SmartIconModule, typeof i11.SmartNavbarModule, typeof i12.SmartSessionModule, typeof i13.SmartTabGroupModule, typeof i14.SmarttableModule, typeof i15.SmartExpandableSectionModule, typeof i16.SmartComponentLayoutModule, typeof i17.SmartFilterEditorModule, typeof i18.SharedModule], [typeof i4.ComponentFactoryServiceModule, typeof i16.SmartComponentLayoutModule, typeof i6.SmartdialogModule, typeof i15.SmartExpandableSectionModule, typeof i7.SmartFilterModule, typeof i8.SmartformModule, typeof i9.SmartGridModule, typeof i10.SmartIconModule, typeof i11.SmartNavbarModule, typeof i12.SmartSessionModule, typeof i13.SmartTabGroupModule, typeof i14.SmarttableModule, typeof i5.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i19.SmarttreeModule, typeof i18.SharedModule]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, [typeof i1.SmartFileUploaderComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.ComponentFactoryServiceModule, typeof i5.SmartViewContextModule, typeof i6.SmartdialogModule, typeof i7.SmartFilterModule, typeof i8.SmartGridModule, typeof i9.SmartIconModule, typeof i10.SmartNavbarModule, typeof i11.SmartSessionModule, typeof i12.SmartTabGroupModule, typeof i13.SmarttableModule, typeof i14.SmartExpandableSectionModule, typeof i15.SmartComponentLayoutModule, typeof i16.SmartFilterEditorModule, typeof i17.SharedModule], [typeof i4.ComponentFactoryServiceModule, typeof i15.SmartComponentLayoutModule, typeof i6.SmartdialogModule, typeof i14.SmartExpandableSectionModule, typeof i7.SmartFilterModule, typeof i8.SmartGridModule, typeof i9.SmartIconModule, typeof i10.SmartNavbarModule, typeof i11.SmartSessionModule, typeof i12.SmartTabGroupModule, typeof i13.SmarttableModule, typeof i5.SmartViewContextModule, typeof i1.SmartFileUploaderComponent, typeof i18.SmarttreeModule, typeof i17.SharedModule]>;
24
23
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
25
24
  }
@@ -6,22 +6,21 @@ import { Subject } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
7
7
  export interface SmarttreeConfiguration {
8
8
  treeid: string;
9
- viewContextName: string;
10
9
  pageName: string;
11
10
  }
12
11
  export declare class SmarttreeGenericService extends SmarttreeService<SmartTreeNode[]> implements UseUiAction {
13
12
  protected pageName: string;
14
13
  protected treeId: string;
14
+ private treeMenuIcon?;
15
15
  submit: Subject<void>;
16
16
  reSubscribeToChange: Subject<void>;
17
17
  uiActionDescriptors: Map<string, UiActionDescriptor>;
18
18
  selectedNode?: SmartTreeNode;
19
- viewContextName: string;
20
19
  protected viewContext: SmartViewContextService;
21
20
  private service;
22
21
  private uiActionDescriptorService;
23
22
  private uiActionService;
24
- constructor(inject: Injector, pageName: string, treeId: string);
23
+ constructor(inject: Injector, pageName: string, treeId: string, treeMenuIcon?: string | undefined);
25
24
  constructUiActionModels(uiActions: UiAction[]): void;
26
25
  configureTree(configuration: SmarttreeConfiguration): void;
27
26
  initialize(): Promise<void>;