@igo2/common 1.10.0 → 1.11.0

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 (178) hide show
  1. package/bundles/igo2-common.umd.js +744 -251
  2. package/bundles/igo2-common.umd.js.map +1 -1
  3. package/esm2015/lib/action/action.module.js +1 -1
  4. package/esm2015/lib/action/actionbar/actionbar-item.component.js +1 -1
  5. package/esm2015/lib/action/actionbar/actionbar.component.js +1 -1
  6. package/esm2015/lib/action/actionbar/actionbar.module.js +1 -1
  7. package/esm2015/lib/action/index.js +1 -1
  8. package/esm2015/lib/action/shared/action.enums.js +1 -1
  9. package/esm2015/lib/action/shared/action.interfaces.js +1 -1
  10. package/esm2015/lib/action/shared/index.js +1 -1
  11. package/esm2015/lib/action/shared/store.js +1 -1
  12. package/esm2015/lib/backdrop/backdrop.component.js +1 -1
  13. package/esm2015/lib/backdrop/backdrop.module.js +1 -1
  14. package/esm2015/lib/backdrop/index.js +1 -1
  15. package/esm2015/lib/badge-icon/badge-icon.directive.js +1 -1
  16. package/esm2015/lib/badge-icon/badge-icon.module.js +1 -1
  17. package/esm2015/lib/badge-icon/index.js +1 -1
  18. package/esm2015/lib/clickout/clickout.directive.js +1 -1
  19. package/esm2015/lib/clickout/clickout.module.js +1 -1
  20. package/esm2015/lib/clickout/index.js +1 -1
  21. package/esm2015/lib/clone/clone.module.js +1 -1
  22. package/esm2015/lib/clone/clone.pipe.js +1 -1
  23. package/esm2015/lib/clone/index.js +1 -1
  24. package/esm2015/lib/collapsible/collapse.directive.js +1 -1
  25. package/esm2015/lib/collapsible/collapsible.component.js +1 -1
  26. package/esm2015/lib/collapsible/collapsible.module.js +1 -1
  27. package/esm2015/lib/collapsible/index.js +1 -1
  28. package/esm2015/lib/confirm-dialog/confirm-dialog.component.js +1 -1
  29. package/esm2015/lib/confirm-dialog/confirm-dialog.module.js +1 -1
  30. package/esm2015/lib/confirm-dialog/confirm-dialog.service.js +1 -1
  31. package/esm2015/lib/confirm-dialog/index.js +1 -1
  32. package/esm2015/lib/context-menu/context-menu.directive.js +1 -1
  33. package/esm2015/lib/context-menu/context-menu.module.js +1 -1
  34. package/esm2015/lib/context-menu/index.js +1 -1
  35. package/esm2015/lib/custom-html/custom-html.component.js +1 -1
  36. package/esm2015/lib/custom-html/custom-html.module.js +1 -1
  37. package/esm2015/lib/custom-html/custom-html.pipe.js +1 -1
  38. package/esm2015/lib/custom-html/index.js +1 -1
  39. package/esm2015/lib/drag-drop/drag-drop.module.js +1 -1
  40. package/esm2015/lib/drag-drop/index.js +1 -1
  41. package/esm2015/lib/dynamic-component/dynamic-component.module.js +1 -1
  42. package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js +5 -2
  43. package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js +1 -1
  44. package/esm2015/lib/dynamic-component/index.js +1 -1
  45. package/esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js +1 -1
  46. package/esm2015/lib/dynamic-component/shared/dynamic-component.js +1 -1
  47. package/esm2015/lib/dynamic-component/shared/dynamic-component.service.js +1 -1
  48. package/esm2015/lib/dynamic-component/shared/index.js +1 -1
  49. package/esm2015/lib/entity/entity-selector/entity-selector.component.js +1 -1
  50. package/esm2015/lib/entity/entity-selector/entity-selector.module.js +1 -1
  51. package/esm2015/lib/entity/entity-table/entity-table-row.directive.js +1 -1
  52. package/esm2015/lib/entity/entity-table/entity-table.component.js +547 -116
  53. package/esm2015/lib/entity/entity-table/entity-table.module.js +31 -4
  54. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +1 -1
  55. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +1 -1
  56. package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js +1 -1
  57. package/esm2015/lib/entity/entity.module.js +1 -1
  58. package/esm2015/lib/entity/index.js +1 -1
  59. package/esm2015/lib/entity/shared/entity.enums.js +2 -1
  60. package/esm2015/lib/entity/shared/entity.interfaces.js +1 -1
  61. package/esm2015/lib/entity/shared/entity.utils.js +1 -1
  62. package/esm2015/lib/entity/shared/index.js +1 -1
  63. package/esm2015/lib/entity/shared/state.js +1 -1
  64. package/esm2015/lib/entity/shared/store.js +1 -1
  65. package/esm2015/lib/entity/shared/strategies/filter-custom-function.js +1 -1
  66. package/esm2015/lib/entity/shared/strategies/filter-selection.js +1 -1
  67. package/esm2015/lib/entity/shared/strategies/index.js +1 -1
  68. package/esm2015/lib/entity/shared/strategies/strategy.js +1 -1
  69. package/esm2015/lib/entity/shared/transaction.js +1 -1
  70. package/esm2015/lib/entity/shared/view.js +1 -1
  71. package/esm2015/lib/entity/shared/watcher.js +1 -1
  72. package/esm2015/lib/flexible/flexible.component.js +1 -1
  73. package/esm2015/lib/flexible/flexible.module.js +1 -1
  74. package/esm2015/lib/flexible/flexible.type.js +1 -1
  75. package/esm2015/lib/flexible/index.js +1 -1
  76. package/esm2015/lib/form/form/form.component.js +1 -1
  77. package/esm2015/lib/form/form/form.module.js +1 -1
  78. package/esm2015/lib/form/form-field/form-field-select.component.js +1 -1
  79. package/esm2015/lib/form/form-field/form-field-text.component.js +1 -1
  80. package/esm2015/lib/form/form-field/form-field-textarea.component.js +1 -1
  81. package/esm2015/lib/form/form-field/form-field.component.js +1 -1
  82. package/esm2015/lib/form/form-field/form-field.module.js +1 -1
  83. package/esm2015/lib/form/form-field/index.js +1 -1
  84. package/esm2015/lib/form/form-group/form-group.component.js +1 -1
  85. package/esm2015/lib/form/form-group/form-group.module.js +1 -1
  86. package/esm2015/lib/form/form.module.js +1 -1
  87. package/esm2015/lib/form/index.js +1 -1
  88. package/esm2015/lib/form/shared/form-field-component.js +1 -1
  89. package/esm2015/lib/form/shared/form-field.service.js +1 -1
  90. package/esm2015/lib/form/shared/form.interfaces.js +1 -1
  91. package/esm2015/lib/form/shared/form.service.js +9 -5
  92. package/esm2015/lib/form/shared/form.utils.js +1 -1
  93. package/esm2015/lib/form/shared/index.js +1 -1
  94. package/esm2015/lib/home-button/home-button.component.js +1 -1
  95. package/esm2015/lib/home-button/home-button.module.js +1 -1
  96. package/esm2015/lib/home-button/index.js +1 -1
  97. package/esm2015/lib/image/image.module.js +1 -1
  98. package/esm2015/lib/image/index.js +1 -1
  99. package/esm2015/lib/image/secure-image.pipe.js +1 -1
  100. package/esm2015/lib/interactive-tour/index.js +1 -1
  101. package/esm2015/lib/interactive-tour/interactive-tour.component.js +1 -1
  102. package/esm2015/lib/interactive-tour/interactive-tour.interface.js +1 -1
  103. package/esm2015/lib/interactive-tour/interactive-tour.loader.js +1 -1
  104. package/esm2015/lib/interactive-tour/interactive-tour.module.js +1 -1
  105. package/esm2015/lib/interactive-tour/interactive-tour.service.js +1 -1
  106. package/esm2015/lib/json-dialog/index.js +1 -1
  107. package/esm2015/lib/json-dialog/json-dialog.component.js +1 -1
  108. package/esm2015/lib/json-dialog/json-dialog.module.js +1 -1
  109. package/esm2015/lib/json-dialog/json-dialog.service.js +1 -1
  110. package/esm2015/lib/keyvalue/index.js +1 -1
  111. package/esm2015/lib/keyvalue/keyvalue.module.js +1 -1
  112. package/esm2015/lib/keyvalue/keyvalue.pipe.js +1 -1
  113. package/esm2015/lib/list/index.js +1 -1
  114. package/esm2015/lib/list/list-item.directive.js +1 -1
  115. package/esm2015/lib/list/list.component.js +1 -1
  116. package/esm2015/lib/list/list.module.js +1 -1
  117. package/esm2015/lib/panel/index.js +1 -1
  118. package/esm2015/lib/panel/panel.component.js +1 -1
  119. package/esm2015/lib/panel/panel.module.js +1 -1
  120. package/esm2015/lib/sidenav/index.js +1 -1
  121. package/esm2015/lib/sidenav/sidenav-shim.directive.js +1 -1
  122. package/esm2015/lib/sidenav/sidenav.module.js +1 -1
  123. package/esm2015/lib/spinner/index.js +1 -1
  124. package/esm2015/lib/spinner/spinner-activity.directive.js +1 -1
  125. package/esm2015/lib/spinner/spinner.component.js +1 -1
  126. package/esm2015/lib/spinner/spinner.module.js +1 -1
  127. package/esm2015/lib/stop-propagation/index.js +1 -1
  128. package/esm2015/lib/stop-propagation/stop-drop-propagation.directive.js +1 -1
  129. package/esm2015/lib/stop-propagation/stop-propagation.directive.js +1 -1
  130. package/esm2015/lib/stop-propagation/stop-propagation.module.js +1 -1
  131. package/esm2015/lib/table/index.js +1 -1
  132. package/esm2015/lib/table/table-action-color.enum.js +1 -1
  133. package/esm2015/lib/table/table-database.js +1 -1
  134. package/esm2015/lib/table/table-datasource.js +1 -1
  135. package/esm2015/lib/table/table-model.interface.js +1 -1
  136. package/esm2015/lib/table/table.component.js +1 -1
  137. package/esm2015/lib/table/table.module.js +1 -1
  138. package/esm2015/lib/tool/index.js +1 -1
  139. package/esm2015/lib/tool/shared/index.js +1 -1
  140. package/esm2015/lib/tool/shared/tool-component.js +1 -1
  141. package/esm2015/lib/tool/shared/tool.interface.js +1 -1
  142. package/esm2015/lib/tool/shared/tool.service.js +1 -1
  143. package/esm2015/lib/tool/shared/toolbox.enums.js +1 -1
  144. package/esm2015/lib/tool/shared/toolbox.js +1 -1
  145. package/esm2015/lib/tool/tool.module.js +1 -1
  146. package/esm2015/lib/tool/toolbox/toolbox.animation.js +1 -1
  147. package/esm2015/lib/tool/toolbox/toolbox.component.js +1 -1
  148. package/esm2015/lib/tool/toolbox/toolbox.module.js +1 -1
  149. package/esm2015/lib/widget/index.js +1 -1
  150. package/esm2015/lib/widget/shared/index.js +1 -1
  151. package/esm2015/lib/widget/shared/widget.interfaces.js +1 -1
  152. package/esm2015/lib/widget/shared/widget.js +1 -1
  153. package/esm2015/lib/widget/shared/widget.service.js +1 -1
  154. package/esm2015/lib/widget/widget-outlet/widget-outlet.component.js +1 -1
  155. package/esm2015/lib/widget/widget-outlet/widget-outlet.module.js +1 -1
  156. package/esm2015/lib/widget/widget.module.js +1 -1
  157. package/esm2015/lib/workspace/index.js +1 -1
  158. package/esm2015/lib/workspace/shared/index.js +1 -1
  159. package/esm2015/lib/workspace/shared/store.js +1 -1
  160. package/esm2015/lib/workspace/shared/workspace.interfaces.js +1 -1
  161. package/esm2015/lib/workspace/shared/workspace.js +1 -1
  162. package/esm2015/lib/workspace/workspace-selector/workspace-selector.component.js +5 -3
  163. package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
  164. package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +1 -1
  165. package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js +1 -1
  166. package/esm2015/lib/workspace/workspace.module.js +1 -1
  167. package/esm2015/public_api.js +1 -1
  168. package/fesm2015/igo2-common.js +600 -145
  169. package/fesm2015/igo2-common.js.map +1 -1
  170. package/lib/entity/entity-table/entity-table.component.d.ts +55 -4
  171. package/lib/entity/entity-table/entity-table.module.d.ts +17 -11
  172. package/lib/entity/shared/entity.enums.d.ts +1 -0
  173. package/lib/entity/shared/entity.interfaces.d.ts +23 -0
  174. package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +5 -1
  175. package/package.json +3 -3
  176. package/style/common.theming.scss +12 -12
  177. package/style/partial/action.scss +18 -18
  178. package/style/partial/common.variables.scss +8 -8
@@ -1,18 +1,18 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Directive, HostListener, ViewChild, Pipe, HostBinding, NgModule, Injectable, ViewContainerRef, ViewEncapsulation, ContentChildren, Self } from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, Directive, HostListener, ViewChild, Pipe, Optional, Self, HostBinding, NgModule, Injectable, ViewContainerRef, ViewEncapsulation, ContentChildren } from '@angular/core';
3
3
  import * as i1$1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
- import * as i4$2 from '@angular/material/button';
5
+ import * as i4$1 from '@angular/material/button';
6
6
  import { MatButtonModule } from '@angular/material/button';
7
- import * as i10 from '@angular/material/card';
7
+ import * as i10$1 from '@angular/material/card';
8
8
  import { MatCardModule } from '@angular/material/card';
9
- import * as i4$1 from '@angular/material/checkbox';
9
+ import * as i7 from '@angular/material/checkbox';
10
10
  import { MatCheckboxModule } from '@angular/material/checkbox';
11
- import * as i5 from '@angular/material/icon';
11
+ import * as i5$1 from '@angular/material/icon';
12
12
  import { MatIconModule } from '@angular/material/icon';
13
13
  import * as i1$6 from '@angular/material/list';
14
14
  import { MatListModule } from '@angular/material/list';
15
- import * as i9 from '@angular/material/menu';
15
+ import * as i9$1 from '@angular/material/menu';
16
16
  import { MatMenuModule } from '@angular/material/menu';
17
17
  import * as i6 from '@angular/material/tooltip';
18
18
  import { MatTooltipModule } from '@angular/material/tooltip';
@@ -23,14 +23,24 @@ import { ReplaySubject, BehaviorSubject, combineLatest, of, Observable, isObserv
23
23
  import { map, skip, debounceTime, catchError, tap, switchMap, filter, take, distinctUntilChanged } from 'rxjs/operators';
24
24
  import { uuid, ObjectUtils } from '@igo2/utils';
25
25
  import * as i1 from '@angular/material/form-field';
26
- import { MatFormFieldModule } from '@angular/material/form-field';
26
+ import { MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
27
27
  import * as i2 from '@angular/material/select';
28
28
  import { MatSelectModule } from '@angular/material/select';
29
- import * as i4 from '@angular/material/core';
30
- import * as i1$5 from '@angular/material/table';
29
+ import * as i3 from '@angular/material/core';
30
+ import * as i4 from '@angular/material/table';
31
31
  import { MatTableDataSource, MatTableModule } from '@angular/material/table';
32
- import * as i2$2 from '@angular/material/sort';
32
+ import * as i1$5 from '@angular/forms';
33
+ import { FormGroup, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
34
+ import * as moment_ from 'moment';
35
+ import * as i2$2 from '@angular/cdk/a11y';
36
+ import * as i5 from '@angular/material/sort';
33
37
  import { MatSortModule, MatSort } from '@angular/material/sort';
38
+ import * as i9 from '@angular/material/autocomplete';
39
+ import { MatAutocompleteModule } from '@angular/material/autocomplete';
40
+ import * as i10 from '@angular/material/datepicker';
41
+ import { MatDatepickerModule } from '@angular/material/datepicker';
42
+ import * as i2$3 from '@angular/material/input';
43
+ import { MatInputModule } from '@angular/material/input';
34
44
  import scrollIntoView from 'scroll-into-view-if-needed';
35
45
  import * as i2$1 from '@angular/material/paginator';
36
46
  import { MatPaginator, MatPaginatorModule } from '@angular/material/paginator';
@@ -38,17 +48,13 @@ import { __decorate } from 'tslib';
38
48
  import * as i1$3 from '@angular/common/http';
39
49
  import { HttpHeaders } from '@angular/common/http';
40
50
  import { Cacheable } from 'ts-cacheable';
41
- import * as i11 from '@ngx-translate/core';
51
+ import * as i6$1 from '@ngx-translate/core';
42
52
  import * as i1$4 from '@angular/platform-browser';
43
53
  import * as i1$7 from '@angular/cdk/overlay';
44
54
  import { MatBadgeModule } from '@angular/material/badge';
45
55
  import * as i1$8 from '@angular/material/dialog';
46
56
  import { MatDialogModule } from '@angular/material/dialog';
47
57
  import { TemplatePortal } from '@angular/cdk/portal';
48
- import * as i2$3 from '@angular/material/input';
49
- import { MatInputModule } from '@angular/material/input';
50
- import * as i3 from '@angular/forms';
51
- import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
52
58
  import * as i3$1 from 'angular-shepherd';
53
59
  import * as i1$9 from '@angular/material/sidenav';
54
60
  import * as i2$4 from '@angular/material/progress-spinner';
@@ -68,6 +74,7 @@ var EntityTableColumnRenderer;
68
74
  EntityTableColumnRenderer["Default"] = "Default";
69
75
  EntityTableColumnRenderer["HTML"] = "HTML";
70
76
  EntityTableColumnRenderer["UnsanitizedHTML"] = "UnsanitizedHTML";
77
+ EntityTableColumnRenderer["Editable"] = "Editable";
71
78
  EntityTableColumnRenderer["Icon"] = "Icon";
72
79
  EntityTableColumnRenderer["ButtonGroup"] = "ButtonGroup";
73
80
  })(EntityTableColumnRenderer || (EntityTableColumnRenderer = {}));
@@ -1761,7 +1768,7 @@ EntitySelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Ent
1761
1768
  i0.ɵɵproperty("ngIf", ctx.multi === true);
1762
1769
  i0.ɵɵadvance(1);
1763
1770
  i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(6, 9, ctx.store.stateView.all$()));
1764
- } }, directives: [i1.MatFormField, i2.MatSelect, i1$1.NgIf, i1$1.NgForOf, i4.MatOption], pipes: [i1$1.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
1771
+ } }, directives: [i1.MatFormField, i2.MatSelect, i1$1.NgIf, i1$1.NgForOf, i3.MatOption], pipes: [i1$1.AsyncPipe], styles: ["mat-form-field[_ngcontent-%COMP%]{width:100%}"], changeDetection: 0 });
1765
1772
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntitySelectorComponent, [{
1766
1773
  type: Component,
1767
1774
  args: [{
@@ -2180,30 +2187,32 @@ function EntityTableComponent_ng_container_5_ng_container_1_th_1_Template(rf, ct
2180
2187
  i0.ɵɵelementEnd();
2181
2188
  } if (rf & 2) {
2182
2189
  const column_r16 = i0.ɵɵnextContext(2).$implicit;
2190
+ i0.ɵɵproperty("matTooltip", column_r16.tooltip ? column_r16.tooltip : undefined);
2183
2191
  i0.ɵɵadvance(1);
2184
2192
  i0.ɵɵtextInterpolate1(" ", column_r16.title, " ");
2185
2193
  } }
2186
2194
  function EntityTableComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2187
2195
  i0.ɵɵelementContainerStart(0);
2188
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_1_th_1_Template, 2, 1, "th", 15);
2196
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_1_th_1_Template, 2, 2, "th", 15);
2189
2197
  i0.ɵɵelementContainerEnd();
2190
2198
  } }
2191
2199
  function EntityTableComponent_ng_container_5_ng_container_2_th_1_Template(rf, ctx) { if (rf & 1) {
2192
- i0.ɵɵelementStart(0, "th", 9);
2200
+ i0.ɵɵelementStart(0, "th", 18);
2193
2201
  i0.ɵɵtext(1);
2194
2202
  i0.ɵɵelementEnd();
2195
2203
  } if (rf & 2) {
2196
2204
  const column_r16 = i0.ɵɵnextContext(2).$implicit;
2205
+ i0.ɵɵproperty("matTooltip", column_r16.tooltip ? column_r16.tooltip : undefined);
2197
2206
  i0.ɵɵadvance(1);
2198
2207
  i0.ɵɵtextInterpolate1(" ", column_r16.title, " ");
2199
2208
  } }
2200
2209
  function EntityTableComponent_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
2201
2210
  i0.ɵɵelementContainerStart(0);
2202
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_2_th_1_Template, 2, 1, "th", 3);
2211
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_2_th_1_Template, 2, 2, "th", 17);
2203
2212
  i0.ɵɵelementContainerEnd();
2204
2213
  } }
2205
2214
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_td_1_Template(rf, ctx) { if (rf & 1) {
2206
- i0.ɵɵelementStart(0, "td", 20);
2215
+ i0.ɵɵelementStart(0, "td", 22);
2207
2216
  i0.ɵɵtext(1);
2208
2217
  i0.ɵɵelementEnd();
2209
2218
  } if (rf & 2) {
@@ -2215,7 +2224,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
2215
2224
  i0.ɵɵtextInterpolate1(" ", ctx_r32.getValue(record_r31, column_r16), " ");
2216
2225
  } }
2217
2226
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_img_2_Template(rf, ctx) { if (rf & 1) {
2218
- i0.ɵɵelement(0, "img", 24);
2227
+ i0.ɵɵelement(0, "img", 26);
2219
2228
  i0.ɵɵpipe(1, "async");
2220
2229
  i0.ɵɵpipe(2, "secureImage");
2221
2230
  } if (rf & 2) {
@@ -2234,11 +2243,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
2234
2243
  i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.common.entity-table.targetHtmlUrl"), " ");
2235
2244
  } }
2236
2245
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
2237
- i0.ɵɵelementStart(0, "td", 20);
2238
- i0.ɵɵelementStart(1, "a", 21);
2246
+ i0.ɵɵelementStart(0, "td", 22);
2247
+ i0.ɵɵelementStart(1, "a", 23);
2239
2248
  i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
2240
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 22);
2241
- i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 23, i0.ɵɵtemplateRefExtractor);
2249
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 24);
2250
+ i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
2242
2251
  i0.ɵɵelementEnd();
2243
2252
  i0.ɵɵelementEnd();
2244
2253
  } if (rf & 2) {
@@ -2254,8 +2263,8 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
2254
2263
  } }
2255
2264
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2256
2265
  i0.ɵɵelementContainerStart(0);
2257
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_td_1_Template, 2, 2, "td", 18);
2258
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_Template, 5, 4, "ng-template", null, 19, i0.ɵɵtemplateRefExtractor);
2266
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_td_1_Template, 2, 2, "td", 20);
2267
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_ng_template_2_Template, 5, 4, "ng-template", null, 21, i0.ɵɵtemplateRefExtractor);
2259
2268
  i0.ɵɵelementContainerEnd();
2260
2269
  } if (rf & 2) {
2261
2270
  const record_r31 = ctx.$implicit;
@@ -2267,11 +2276,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
2267
2276
  } }
2268
2277
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2269
2278
  i0.ɵɵelementContainerStart(0);
2270
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_Template, 4, 2, "ng-container", 17);
2279
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_Template, 4, 2, "ng-container", 19);
2271
2280
  i0.ɵɵelementContainerEnd();
2272
2281
  } }
2273
2282
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_td_1_Template(rf, ctx) { if (rf & 1) {
2274
- i0.ɵɵelement(0, "td", 27);
2283
+ i0.ɵɵelement(0, "td", 29);
2275
2284
  } if (rf & 2) {
2276
2285
  const record_r47 = i0.ɵɵnextContext().$implicit;
2277
2286
  const column_r16 = i0.ɵɵnextContext(3).$implicit;
@@ -2279,7 +2288,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
2279
2288
  i0.ɵɵproperty("ngClass", ctx_r48.getCellClass(record_r47, column_r16))("innerHTML", ctx_r48.getValue(record_r47, column_r16), i0.ɵɵsanitizeHtml);
2280
2289
  } }
2281
2290
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_img_2_Template(rf, ctx) { if (rf & 1) {
2282
- i0.ɵɵelement(0, "img", 24);
2291
+ i0.ɵɵelement(0, "img", 26);
2283
2292
  i0.ɵɵpipe(1, "async");
2284
2293
  i0.ɵɵpipe(2, "secureImage");
2285
2294
  } if (rf & 2) {
@@ -2298,11 +2307,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
2298
2307
  i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.geo.targetHtmlUrl"), " ");
2299
2308
  } }
2300
2309
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
2301
- i0.ɵɵelementStart(0, "td", 20);
2302
- i0.ɵɵelementStart(1, "a", 21);
2310
+ i0.ɵɵelementStart(0, "td", 22);
2311
+ i0.ɵɵelementStart(1, "a", 23);
2303
2312
  i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
2304
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 22);
2305
- i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 23, i0.ɵɵtemplateRefExtractor);
2313
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 24);
2314
+ i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
2306
2315
  i0.ɵɵelementEnd();
2307
2316
  i0.ɵɵelementEnd();
2308
2317
  } if (rf & 2) {
@@ -2318,8 +2327,8 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
2318
2327
  } }
2319
2328
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2320
2329
  i0.ɵɵelementContainerStart(0);
2321
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_td_1_Template, 1, 2, "td", 25);
2322
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_Template, 5, 4, "ng-template", null, 26, i0.ɵɵtemplateRefExtractor);
2330
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_td_1_Template, 1, 2, "td", 27);
2331
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_ng_template_2_Template, 5, 4, "ng-template", null, 28, i0.ɵɵtemplateRefExtractor);
2323
2332
  i0.ɵɵelementContainerEnd();
2324
2333
  } if (rf & 2) {
2325
2334
  const record_r47 = ctx.$implicit;
@@ -2331,29 +2340,185 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
2331
2340
  } }
2332
2341
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
2333
2342
  i0.ɵɵelementContainerStart(0);
2334
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_Template, 4, 2, "ng-container", 17);
2343
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_Template, 4, 2, "ng-container", 19);
2335
2344
  i0.ɵɵelementContainerEnd();
2336
2345
  } }
2346
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_div_1_Template(rf, ctx) { if (rf & 1) {
2347
+ const _r79 = i0.ɵɵgetCurrentView();
2348
+ i0.ɵɵelementStart(0, "div", 43);
2349
+ i0.ɵɵelement(1, "mat-datepicker-toggle", 44);
2350
+ i0.ɵɵelementStart(2, "input", 45);
2351
+ i0.ɵɵlistener("dateChange", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_div_1_Template_input_dateChange_2_listener($event) { i0.ɵɵrestoreView(_r79); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r77 = i0.ɵɵnextContext(); return ctx_r77.onDateChange(column_r16.name, record_r63, $event); });
2352
+ i0.ɵɵelementEnd();
2353
+ i0.ɵɵelement(3, "mat-datepicker", null, 46);
2354
+ i0.ɵɵelementEnd();
2355
+ } if (rf & 2) {
2356
+ const _r76 = i0.ɵɵreference(4);
2357
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2358
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2359
+ const ctx_r67 = i0.ɵɵnextContext();
2360
+ i0.ɵɵadvance(1);
2361
+ i0.ɵɵproperty("for", _r76);
2362
+ i0.ɵɵadvance(1);
2363
+ i0.ɵɵpropertyInterpolate("value", ctx_r67.getValue(record_r63, column_r16));
2364
+ i0.ɵɵproperty("matDatepicker", _r76)("formControlName", column_r16.name);
2365
+ } }
2366
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template(rf, ctx) { if (rf & 1) {
2367
+ const _r85 = i0.ɵɵgetCurrentView();
2368
+ i0.ɵɵelementStart(0, "input", 47);
2369
+ i0.ɵɵlistener("focus", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_focus_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return column_r16.onFocus($event); })("keypress", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_keypress_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return column_r16.onChange($event); })("blur", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template_input_blur_0_listener($event) { i0.ɵɵrestoreView(_r85); const column_r16 = i0.ɵɵnextContext(5).$implicit; return column_r16.onBlur($event); });
2370
+ i0.ɵɵelementEnd();
2371
+ } if (rf & 2) {
2372
+ const column_r16 = i0.ɵɵnextContext(5).$implicit;
2373
+ i0.ɵɵproperty("formControlName", column_r16.name);
2374
+ } }
2375
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template(rf, ctx) { if (rf & 1) {
2376
+ const _r93 = i0.ɵɵgetCurrentView();
2377
+ i0.ɵɵelementStart(0, "input", 48);
2378
+ i0.ɵɵlistener("input", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r93); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r91 = i0.ɵɵnextContext(); return ctx_r91.onValueChange(column_r16.name, record_r63, $event); });
2379
+ i0.ɵɵelementEnd();
2380
+ } if (rf & 2) {
2381
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2382
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2383
+ const ctx_r69 = i0.ɵɵnextContext();
2384
+ i0.ɵɵpropertyInterpolate("step", column_r16.step);
2385
+ i0.ɵɵpropertyInterpolate("value", ctx_r69.getValue(record_r63, column_r16));
2386
+ i0.ɵɵpropertyInterpolate("readonly", ctx_r69.getValidationAttributeValue(column_r16, "readonly"));
2387
+ i0.ɵɵpropertyInterpolate("required", ctx_r69.getValidationAttributeValue(column_r16, "mandatory"));
2388
+ i0.ɵɵpropertyInterpolate("min", ctx_r69.getValidationAttributeValue(column_r16, "minValue"));
2389
+ i0.ɵɵpropertyInterpolate("max", ctx_r69.getValidationAttributeValue(column_r16, "maxValue"));
2390
+ i0.ɵɵproperty("formControlName", column_r16.name);
2391
+ } }
2392
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template(rf, ctx) { if (rf & 1) {
2393
+ const _r99 = i0.ɵɵgetCurrentView();
2394
+ i0.ɵɵelementStart(0, "input", 49);
2395
+ i0.ɵɵlistener("input", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template_input_input_0_listener($event) { i0.ɵɵrestoreView(_r99); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r97 = i0.ɵɵnextContext(); return ctx_r97.onValueChange(column_r16.name, record_r63, $event); });
2396
+ i0.ɵɵelementEnd();
2397
+ } if (rf & 2) {
2398
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2399
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2400
+ const ctx_r70 = i0.ɵɵnextContext();
2401
+ i0.ɵɵpropertyInterpolate("value", ctx_r70.getValue(record_r63, column_r16));
2402
+ i0.ɵɵpropertyInterpolate("readonly", ctx_r70.getValidationAttributeValue(column_r16, "readonly"));
2403
+ i0.ɵɵpropertyInterpolate("required", ctx_r70.getValidationAttributeValue(column_r16, "mandatory"));
2404
+ i0.ɵɵproperty("formControlName", column_r16.name);
2405
+ } }
2406
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_checkbox_5_Template(rf, ctx) { if (rf & 1) {
2407
+ const _r105 = i0.ɵɵgetCurrentView();
2408
+ i0.ɵɵelementStart(0, "mat-checkbox", 50);
2409
+ i0.ɵɵlistener("change", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_checkbox_5_Template_mat_checkbox_change_0_listener($event) { i0.ɵɵrestoreView(_r105); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r103 = i0.ɵɵnextContext(); return ctx_r103.onBooleanValueChange(column_r16.name, record_r63, $event); });
2410
+ i0.ɵɵelementEnd();
2411
+ } if (rf & 2) {
2412
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2413
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2414
+ const ctx_r71 = i0.ɵɵnextContext();
2415
+ i0.ɵɵproperty("formControlName", column_r16.name)("checked", ctx_r71.getValue(record_r63, column_r16));
2416
+ } }
2417
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_mat_option_1_Template(rf, ctx) { if (rf & 1) {
2418
+ i0.ɵɵelementStart(0, "mat-option", 53);
2419
+ i0.ɵɵtext(1);
2420
+ i0.ɵɵelementEnd();
2421
+ } if (rf & 2) {
2422
+ const option_r110 = ctx.$implicit;
2423
+ i0.ɵɵproperty("value", option_r110.id)("disabled", option_r110.disabled);
2424
+ i0.ɵɵadvance(1);
2425
+ i0.ɵɵtextInterpolate1(" ", option_r110.value, " ");
2426
+ } }
2427
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template(rf, ctx) { if (rf & 1) {
2428
+ const _r113 = i0.ɵɵgetCurrentView();
2429
+ i0.ɵɵelementStart(0, "mat-select", 51);
2430
+ i0.ɵɵlistener("selectionChange", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template_mat_select_selectionChange_0_listener($event) { i0.ɵɵrestoreView(_r113); const record_r63 = i0.ɵɵnextContext(2).$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r111 = i0.ɵɵnextContext(); return ctx_r111.onSelectValueChange(column_r16.name, record_r63, $event); });
2431
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_mat_option_1_Template, 2, 3, "mat-option", 52);
2432
+ i0.ɵɵelementEnd();
2433
+ } if (rf & 2) {
2434
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2435
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2436
+ const ctx_r72 = i0.ɵɵnextContext();
2437
+ i0.ɵɵpropertyInterpolate("required", ctx_r72.getValidationAttributeValue(column_r16, "mandatory"));
2438
+ i0.ɵɵproperty("formControlName", column_r16.name)("multiple", column_r16.multiple)("value", ctx_r72.getValue(record_r63, column_r16));
2439
+ i0.ɵɵadvance(1);
2440
+ i0.ɵɵproperty("ngForOf", column_r16.domainValues);
2441
+ } }
2442
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_7_Template(rf, ctx) { if (rf & 1) {
2443
+ i0.ɵɵelement(0, "input", 54);
2444
+ } if (rf & 2) {
2445
+ i0.ɵɵnextContext();
2446
+ const _r74 = i0.ɵɵreference(9);
2447
+ const record_r63 = i0.ɵɵnextContext().$implicit;
2448
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2449
+ const ctx_r73 = i0.ɵɵnextContext();
2450
+ i0.ɵɵpropertyInterpolate("required", ctx_r73.getValidationAttributeValue(column_r16, "mandatory"));
2451
+ i0.ɵɵpropertyInterpolate("value", ctx_r73.getValue(record_r63, column_r16));
2452
+ i0.ɵɵproperty("formControlName", column_r16.name)("matAutocomplete", _r74);
2453
+ } }
2454
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_option_10_Template(rf, ctx) { if (rf & 1) {
2455
+ i0.ɵɵelementStart(0, "mat-option", 55);
2456
+ i0.ɵɵtext(1);
2457
+ i0.ɵɵelementEnd();
2458
+ } if (rf & 2) {
2459
+ const option_r119 = ctx.$implicit;
2460
+ i0.ɵɵproperty("value", option_r119.id);
2461
+ i0.ɵɵadvance(1);
2462
+ i0.ɵɵtextInterpolate1(" ", option_r119.value, " ");
2463
+ } }
2337
2464
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template(rf, ctx) { if (rf & 1) {
2338
- i0.ɵɵelement(0, "td", 27);
2339
- i0.ɵɵpipe(1, "sanitizeHtml");
2465
+ const _r122 = i0.ɵɵgetCurrentView();
2466
+ i0.ɵɵelementStart(0, "td", 32);
2467
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_div_1_Template, 5, 4, "div", 33);
2468
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template, 1, 1, "input", 34);
2469
+ i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template, 1, 7, "input", 35);
2470
+ i0.ɵɵtemplate(4, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template, 1, 4, "input", 36);
2471
+ i0.ɵɵtemplate(5, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_checkbox_5_Template, 1, 2, "mat-checkbox", 37);
2472
+ i0.ɵɵtemplate(6, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_select_6_Template, 2, 5, "mat-select", 38);
2473
+ i0.ɵɵtemplate(7, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_7_Template, 1, 4, "input", 39);
2474
+ i0.ɵɵelementStart(8, "mat-autocomplete", 40, 41);
2475
+ i0.ɵɵlistener("optionSelected", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template_mat_autocomplete_optionSelected_8_listener($event) { i0.ɵɵrestoreView(_r122); const record_r63 = i0.ɵɵnextContext().$implicit; const column_r16 = i0.ɵɵnextContext(3).$implicit; const ctx_r120 = i0.ɵɵnextContext(); return ctx_r120.onAutocompleteValueChange(column_r16.name, record_r63, $event); });
2476
+ i0.ɵɵtemplate(10, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_mat_option_10_Template, 2, 2, "mat-option", 42);
2477
+ i0.ɵɵpipe(11, "async");
2478
+ i0.ɵɵelementEnd();
2479
+ i0.ɵɵelementEnd();
2340
2480
  } if (rf & 2) {
2341
2481
  const record_r63 = i0.ɵɵnextContext().$implicit;
2342
2482
  const column_r16 = i0.ɵɵnextContext(3).$implicit;
2343
2483
  const ctx_r64 = i0.ɵɵnextContext();
2344
- i0.ɵɵproperty("ngClass", ctx_r64.getCellClass(record_r63, column_r16))("innerHTML", i0.ɵɵpipeBind1(1, 2, ctx_r64.getValue(record_r63, column_r16)), i0.ɵɵsanitizeHtml);
2484
+ i0.ɵɵproperty("formGroup", ctx_r64.formGroup)("ngClass", ctx_r64.getCellClass(record_r63, column_r16));
2485
+ i0.ɵɵadvance(1);
2486
+ i0.ɵɵproperty("ngIf", column_r16.type === "date");
2487
+ i0.ɵɵadvance(1);
2488
+ i0.ɵɵproperty("ngIf", column_r16.type === "time");
2489
+ i0.ɵɵadvance(1);
2490
+ i0.ɵɵproperty("ngIf", column_r16.type === "number");
2491
+ i0.ɵɵadvance(1);
2492
+ i0.ɵɵproperty("ngIf", !column_r16.type || column_r16.type === "string");
2493
+ i0.ɵɵadvance(1);
2494
+ i0.ɵɵproperty("ngIf", column_r16.type === "boolean");
2495
+ i0.ɵɵadvance(1);
2496
+ i0.ɵɵproperty("ngIf", column_r16.type === "list");
2497
+ i0.ɵɵadvance(1);
2498
+ i0.ɵɵproperty("ngIf", column_r16.type === "autocomplete");
2499
+ i0.ɵɵadvance(3);
2500
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(11, 10, ctx_r64.filteredOptions));
2501
+ } }
2502
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_td_0_Template(rf, ctx) { if (rf & 1) {
2503
+ i0.ɵɵelement(0, "td", 29);
2504
+ i0.ɵɵpipe(1, "sanitizeHtml");
2505
+ } if (rf & 2) {
2506
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2507
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2508
+ const ctx_r126 = i0.ɵɵnextContext();
2509
+ i0.ɵɵproperty("ngClass", ctx_r126.getCellClass(record_r63, column_r16))("innerHTML", i0.ɵɵpipeBind1(1, 2, ctx_r126.getValue(record_r63, column_r16)), i0.ɵɵsanitizeHtml);
2345
2510
  } }
2346
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_img_2_Template(rf, ctx) { if (rf & 1) {
2347
- i0.ɵɵelement(0, "img", 24);
2511
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_img_2_Template(rf, ctx) { if (rf & 1) {
2512
+ i0.ɵɵelement(0, "img", 26);
2348
2513
  i0.ɵɵpipe(1, "async");
2349
2514
  i0.ɵɵpipe(2, "secureImage");
2350
2515
  } if (rf & 2) {
2351
- const record_r63 = i0.ɵɵnextContext(2).$implicit;
2516
+ const record_r63 = i0.ɵɵnextContext(3).$implicit;
2352
2517
  const column_r16 = i0.ɵɵnextContext(3).$implicit;
2353
- const ctx_r69 = i0.ɵɵnextContext();
2354
- i0.ɵɵpropertyInterpolate("src", i0.ɵɵpipeBind1(1, 1, i0.ɵɵpipeBind1(2, 3, ctx_r69.getValue(record_r63, column_r16))), i0.ɵɵsanitizeUrl);
2518
+ const ctx_r131 = i0.ɵɵnextContext();
2519
+ i0.ɵɵpropertyInterpolate("src", i0.ɵɵpipeBind1(1, 1, i0.ɵɵpipeBind1(2, 3, ctx_r131.getValue(record_r63, column_r16))), i0.ɵɵsanitizeUrl);
2355
2520
  } }
2356
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_3_Template(rf, ctx) { if (rf & 1) {
2521
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_ng_template_3_Template(rf, ctx) { if (rf & 1) {
2357
2522
  i0.ɵɵelementStart(0, "span");
2358
2523
  i0.ɵɵtext(1);
2359
2524
  i0.ɵɵpipe(2, "translate");
@@ -2362,111 +2527,137 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
2362
2527
  i0.ɵɵadvance(1);
2363
2528
  i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.geo.targetHtmlUrl"), " ");
2364
2529
  } }
2365
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
2366
- i0.ɵɵelementStart(0, "td", 20);
2367
- i0.ɵɵelementStart(1, "a", 21);
2368
- i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
2369
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_img_2_Template, 3, 5, "img", 22);
2370
- i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_3_Template, 3, 3, "ng-template", null, 23, i0.ɵɵtemplateRefExtractor);
2530
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_Template(rf, ctx) { if (rf & 1) {
2531
+ i0.ɵɵelementStart(0, "td", 22);
2532
+ i0.ɵɵelementStart(1, "a", 23);
2533
+ i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_Template_a_click_1_listener($event) { return $event.stopPropagation(); });
2534
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_img_2_Template, 3, 5, "img", 24);
2535
+ i0.ɵɵtemplate(3, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_ng_template_3_Template, 3, 3, "ng-template", null, 25, i0.ɵɵtemplateRefExtractor);
2371
2536
  i0.ɵɵelementEnd();
2372
2537
  i0.ɵɵelementEnd();
2373
2538
  } if (rf & 2) {
2374
- const _r70 = i0.ɵɵreference(4);
2375
- const record_r63 = i0.ɵɵnextContext().$implicit;
2539
+ const _r132 = i0.ɵɵreference(4);
2540
+ const record_r63 = i0.ɵɵnextContext(2).$implicit;
2376
2541
  const column_r16 = i0.ɵɵnextContext(3).$implicit;
2377
- const ctx_r66 = i0.ɵɵnextContext();
2378
- i0.ɵɵproperty("ngClass", ctx_r66.getCellClass(record_r63, column_r16));
2542
+ const ctx_r128 = i0.ɵɵnextContext();
2543
+ i0.ɵɵproperty("ngClass", ctx_r128.getCellClass(record_r63, column_r16));
2379
2544
  i0.ɵɵadvance(1);
2380
- i0.ɵɵpropertyInterpolate("href", ctx_r66.getValue(record_r63, column_r16), i0.ɵɵsanitizeUrl);
2545
+ i0.ɵɵpropertyInterpolate("href", ctx_r128.getValue(record_r63, column_r16), i0.ɵɵsanitizeUrl);
2381
2546
  i0.ɵɵadvance(1);
2382
- i0.ɵɵproperty("ngIf", ctx_r66.isImg(ctx_r66.getValue(record_r63, column_r16)))("ngIfElse", _r70);
2547
+ i0.ɵɵproperty("ngIf", ctx_r128.isImg(ctx_r128.getValue(record_r63, column_r16)))("ngIfElse", _r132);
2548
+ } }
2549
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
2550
+ i0.ɵɵtemplate(0, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_td_0_Template, 2, 4, "td", 27);
2551
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_ng_template_1_Template, 5, 4, "ng-template", null, 56, i0.ɵɵtemplateRefExtractor);
2552
+ } if (rf & 2) {
2553
+ const _r127 = i0.ɵɵreference(2);
2554
+ const record_r63 = i0.ɵɵnextContext().$implicit;
2555
+ const column_r16 = i0.ɵɵnextContext(3).$implicit;
2556
+ const ctx_r66 = i0.ɵɵnextContext();
2557
+ i0.ɵɵproperty("ngIf", !ctx_r66.isUrl(ctx_r66.getValue(record_r63, column_r16)))("ngIfElse", _r127);
2383
2558
  } }
2384
2559
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2385
2560
  i0.ɵɵelementContainerStart(0);
2386
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template, 2, 4, "td", 25);
2387
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template, 5, 4, "ng-template", null, 28, i0.ɵɵtemplateRefExtractor);
2561
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template, 12, 12, "td", 30);
2562
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template, 3, 2, "ng-template", null, 31, i0.ɵɵtemplateRefExtractor);
2388
2563
  i0.ɵɵelementContainerEnd();
2389
2564
  } if (rf & 2) {
2390
2565
  const record_r63 = ctx.$implicit;
2391
2566
  const _r65 = i0.ɵɵreference(3);
2392
- const column_r16 = i0.ɵɵnextContext(3).$implicit;
2393
- const ctx_r62 = i0.ɵɵnextContext();
2567
+ const ctx_r62 = i0.ɵɵnextContext(4);
2394
2568
  i0.ɵɵadvance(1);
2395
- i0.ɵɵproperty("ngIf", !ctx_r62.isUrl(ctx_r62.getValue(record_r63, column_r16)))("ngIfElse", _r65);
2569
+ i0.ɵɵproperty("ngIf", ctx_r62.isEdition(record_r63))("ngIfElse", _r65);
2396
2570
  } }
2397
2571
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
2398
2572
  i0.ɵɵelementContainerStart(0);
2399
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_Template, 4, 2, "ng-container", 17);
2573
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_Template, 4, 2, "ng-container", 19);
2400
2574
  i0.ɵɵelementContainerEnd();
2401
2575
  } }
2402
2576
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template(rf, ctx) { if (rf & 1) {
2403
- i0.ɵɵelementStart(0, "td", 20);
2404
- i0.ɵɵelement(1, "mat-icon", 30);
2577
+ const _r145 = i0.ɵɵgetCurrentView();
2578
+ i0.ɵɵelementStart(0, "td", 22);
2579
+ i0.ɵɵelementStart(1, "mat-icon", 58);
2580
+ i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template_mat_icon_click_1_listener($event) { i0.ɵɵrestoreView(_r145); const column_r16 = i0.ɵɵnextContext(3).$implicit; return column_r16.onClick($event); });
2581
+ i0.ɵɵelementEnd();
2405
2582
  i0.ɵɵelementEnd();
2406
2583
  } if (rf & 2) {
2407
- const record_r79 = ctx.$implicit;
2584
+ const record_r142 = ctx.$implicit;
2408
2585
  const column_r16 = i0.ɵɵnextContext(3).$implicit;
2409
- const ctx_r78 = i0.ɵɵnextContext();
2410
- i0.ɵɵproperty("ngClass", ctx_r78.getCellClass(record_r79, column_r16));
2586
+ const ctx_r141 = i0.ɵɵnextContext();
2587
+ i0.ɵɵproperty("ngClass", ctx_r141.getCellClass(record_r142, column_r16));
2411
2588
  i0.ɵɵadvance(1);
2412
- i0.ɵɵpropertyInterpolate("svgIcon", ctx_r78.getValue(record_r79, column_r16));
2589
+ i0.ɵɵpropertyInterpolate("svgIcon", ctx_r141.getValue(record_r142, column_r16) || column_r16.icon);
2413
2590
  } }
2414
2591
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
2415
2592
  i0.ɵɵelementContainerStart(0);
2416
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template, 2, 2, "td", 29);
2593
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template, 2, 2, "td", 57);
2417
2594
  i0.ɵɵelementContainerEnd();
2418
2595
  } }
2419
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_button_1_Template(rf, ctx) { if (rf & 1) {
2420
- const _r89 = i0.ɵɵgetCurrentView();
2421
- i0.ɵɵelementStart(0, "button", 34);
2422
- i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r89); const button_r84 = i0.ɵɵnextContext().$implicit; const record_r82 = i0.ɵɵnextContext().$implicit; const ctx_r87 = i0.ɵɵnextContext(4); return ctx_r87.onButtonClick(button_r84.click, record_r82); });
2423
- i0.ɵɵelement(1, "mat-icon", 30);
2596
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_1_Template(rf, ctx) { if (rf & 1) {
2597
+ const _r156 = i0.ɵɵgetCurrentView();
2598
+ i0.ɵɵelementStart(0, "button", 62);
2599
+ i0.ɵɵlistener("mousedown", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_1_Template_button_mousedown_0_listener() { i0.ɵɵrestoreView(_r156); const button_r150 = i0.ɵɵnextContext(2).$implicit; const record_r148 = i0.ɵɵnextContext().$implicit; const ctx_r154 = i0.ɵɵnextContext(4); return ctx_r154.onButtonClick(button_r150.click, record_r148); });
2600
+ i0.ɵɵelement(1, "mat-icon", 63);
2424
2601
  i0.ɵɵelementEnd();
2425
2602
  } if (rf & 2) {
2426
- const button_r84 = i0.ɵɵnextContext().$implicit;
2427
- i0.ɵɵproperty("color", button_r84.color);
2603
+ const button_r150 = i0.ɵɵnextContext(2).$implicit;
2604
+ i0.ɵɵproperty("color", button_r150.color)("disabled", button_r150.disabled);
2428
2605
  i0.ɵɵadvance(1);
2429
- i0.ɵɵpropertyInterpolate("svgIcon", button_r84.icon);
2606
+ i0.ɵɵpropertyInterpolate("svgIcon", button_r150.icon);
2430
2607
  } }
2431
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_button_2_Template(rf, ctx) { if (rf & 1) {
2432
- const _r94 = i0.ɵɵgetCurrentView();
2433
- i0.ɵɵelementStart(0, "button", 35);
2434
- i0.ɵɵlistener("click", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r94); const button_r84 = i0.ɵɵnextContext().$implicit; const record_r82 = i0.ɵɵnextContext().$implicit; const ctx_r92 = i0.ɵɵnextContext(4); return ctx_r92.onButtonClick(button_r84.click, record_r82); });
2435
- i0.ɵɵelement(1, "mat-icon", 30);
2608
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_2_Template(rf, ctx) { if (rf & 1) {
2609
+ const _r161 = i0.ɵɵgetCurrentView();
2610
+ i0.ɵɵelementStart(0, "button", 64);
2611
+ i0.ɵɵlistener("mousedown", function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_2_Template_button_mousedown_0_listener() { i0.ɵɵrestoreView(_r161); const button_r150 = i0.ɵɵnextContext(2).$implicit; const record_r148 = i0.ɵɵnextContext().$implicit; const ctx_r159 = i0.ɵɵnextContext(4); return ctx_r159.onButtonClick(button_r150.click, record_r148); });
2612
+ i0.ɵɵelement(1, "mat-icon", 63);
2436
2613
  i0.ɵɵelementEnd();
2437
2614
  } if (rf & 2) {
2438
- const button_r84 = i0.ɵɵnextContext().$implicit;
2439
- i0.ɵɵproperty("color", button_r84.color);
2615
+ const button_r150 = i0.ɵɵnextContext(2).$implicit;
2616
+ i0.ɵɵproperty("color", button_r150.color)("disabled", button_r150.disabled);
2440
2617
  i0.ɵɵadvance(1);
2441
- i0.ɵɵpropertyInterpolate("svgIcon", button_r84.icon);
2618
+ i0.ɵɵpropertyInterpolate("svgIcon", button_r150.icon);
2442
2619
  } }
2443
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_Template(rf, ctx) { if (rf & 1) {
2620
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2621
+ i0.ɵɵelementContainerStart(0);
2622
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_1_Template, 2, 3, "button", 60);
2623
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_button_2_Template, 2, 3, "button", 61);
2624
+ i0.ɵɵelementContainerEnd();
2625
+ } if (rf & 2) {
2626
+ const button_r150 = i0.ɵɵnextContext().$implicit;
2627
+ i0.ɵɵadvance(1);
2628
+ i0.ɵɵproperty("ngIf", button_r150.style === "mat-icon-button");
2629
+ i0.ɵɵadvance(1);
2630
+ i0.ɵɵproperty("ngIf", button_r150.style !== "mat-icon-button");
2631
+ } }
2632
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
2444
2633
  i0.ɵɵelementStart(0, "span");
2445
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_button_1_Template, 2, 2, "button", 32);
2446
- i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_button_2_Template, 2, 2, "button", 33);
2634
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_ng_container_1_Template, 3, 2, "ng-container", 10);
2447
2635
  i0.ɵɵelementEnd();
2448
2636
  } if (rf & 2) {
2449
- const button_r84 = ctx.$implicit;
2450
- i0.ɵɵadvance(1);
2451
- i0.ɵɵproperty("ngIf", button_r84.style === "mat-icon-button");
2637
+ const button_r150 = ctx.$implicit;
2638
+ const record_r148 = i0.ɵɵnextContext().$implicit;
2639
+ const ctx_r149 = i0.ɵɵnextContext(4);
2452
2640
  i0.ɵɵadvance(1);
2453
- i0.ɵɵproperty("ngIf", button_r84.style !== "mat-icon-button");
2641
+ i0.ɵɵproperty("ngIf", ctx_r149.isEdition(record_r148) === button_r150.editMode);
2454
2642
  } }
2455
- function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_Template(rf, ctx) { if (rf & 1) {
2456
- i0.ɵɵelementStart(0, "td", 20);
2457
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_span_1_Template, 3, 2, "span", 31);
2643
+ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
2644
+ i0.ɵɵelementContainerStart(0);
2645
+ i0.ɵɵelementStart(1, "td", 22);
2646
+ i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_Template, 2, 1, "span", 59);
2458
2647
  i0.ɵɵelementEnd();
2648
+ i0.ɵɵelementContainerEnd();
2459
2649
  } if (rf & 2) {
2460
- const record_r82 = ctx.$implicit;
2650
+ const record_r148 = ctx.$implicit;
2461
2651
  const column_r16 = i0.ɵɵnextContext(3).$implicit;
2462
- const ctx_r81 = i0.ɵɵnextContext();
2463
- i0.ɵɵproperty("ngClass", ctx_r81.getCellClass(record_r82, column_r16));
2652
+ const ctx_r147 = i0.ɵɵnextContext();
2653
+ i0.ɵɵadvance(1);
2654
+ i0.ɵɵproperty("ngClass", ctx_r147.getCellClass(record_r148, column_r16));
2464
2655
  i0.ɵɵadvance(1);
2465
- i0.ɵɵproperty("ngForOf", ctx_r81.getValue(record_r82, column_r16));
2656
+ i0.ɵɵproperty("ngForOf", ctx_r147.getValue(record_r148, column_r16));
2466
2657
  } }
2467
2658
  function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_Template(rf, ctx) { if (rf & 1) {
2468
2659
  i0.ɵɵelementContainerStart(0);
2469
- i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_td_1_Template, 2, 2, "td", 29);
2660
+ i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_Template, 3, 2, "ng-container", 19);
2470
2661
  i0.ɵɵelementContainerEnd();
2471
2662
  } }
2472
2663
  function EntityTableComponent_ng_container_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
@@ -2509,34 +2700,44 @@ function EntityTableComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
2509
2700
  i0.ɵɵproperty("ngIf", ctx_r2.getColumnRenderer(column_r16));
2510
2701
  } }
2511
2702
  function EntityTableComponent_tr_6_Template(rf, ctx) { if (rf & 1) {
2512
- i0.ɵɵelement(0, "tr", 36);
2703
+ i0.ɵɵelement(0, "tr", 65);
2513
2704
  } if (rf & 2) {
2514
2705
  const ctx_r3 = i0.ɵɵnextContext();
2515
2706
  i0.ɵɵproperty("ngClass", ctx_r3.getHeaderClass());
2516
2707
  } }
2517
2708
  function EntityTableComponent_tr_7_Template(rf, ctx) { if (rf & 1) {
2518
- const _r100 = i0.ɵɵgetCurrentView();
2519
- i0.ɵɵelementStart(0, "tr", 37);
2520
- i0.ɵɵlistener("select", function EntityTableComponent_tr_7_Template_tr_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r100); const record_r98 = restoredCtx.$implicit; const ctx_r99 = i0.ɵɵnextContext(); return ctx_r99.onRowSelect(record_r98); })("click", function EntityTableComponent_tr_7_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r100); const record_r98 = restoredCtx.$implicit; const ctx_r101 = i0.ɵɵnextContext(); return ctx_r101.onRowClick(record_r98); });
2709
+ const _r169 = i0.ɵɵgetCurrentView();
2710
+ i0.ɵɵelementStart(0, "tr", 66);
2711
+ i0.ɵɵlistener("select", function EntityTableComponent_tr_7_Template_tr_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r169); const record_r167 = restoredCtx.$implicit; const ctx_r168 = i0.ɵɵnextContext(); return ctx_r168.onRowSelect(record_r167); })("click", function EntityTableComponent_tr_7_Template_tr_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r169); const record_r167 = restoredCtx.$implicit; const ctx_r170 = i0.ɵɵnextContext(); return ctx_r170.onRowClick(record_r167); });
2521
2712
  i0.ɵɵelementEnd();
2522
2713
  } if (rf & 2) {
2523
- const record_r98 = ctx.$implicit;
2714
+ const record_r167 = ctx.$implicit;
2524
2715
  const ctx_r4 = i0.ɵɵnextContext();
2525
- i0.ɵɵproperty("scrollBehavior", ctx_r4.scrollBehavior)("ngClass", ctx_r4.getRowClass(record_r98))("selection", ctx_r4.selection)("selected", ctx_r4.rowIsSelected(record_r98));
2716
+ i0.ɵɵproperty("scrollBehavior", ctx_r4.scrollBehavior)("ngClass", ctx_r4.getRowClass(record_r167))("selection", ctx_r4.selection)("selected", ctx_r4.rowIsSelected(record_r167));
2526
2717
  } }
2527
2718
  function EntityTableComponent_igo_entity_table_paginator_8_Template(rf, ctx) { if (rf & 1) {
2528
- const _r103 = i0.ɵɵgetCurrentView();
2529
- i0.ɵɵelementStart(0, "igo-entity-table-paginator", 38);
2530
- i0.ɵɵlistener("paginatorChange", function EntityTableComponent_igo_entity_table_paginator_8_Template_igo_entity_table_paginator_paginatorChange_0_listener($event) { i0.ɵɵrestoreView(_r103); const ctx_r102 = i0.ɵɵnextContext(); return ctx_r102.paginatorChange($event); });
2719
+ const _r172 = i0.ɵɵgetCurrentView();
2720
+ i0.ɵɵelementStart(0, "igo-entity-table-paginator", 67);
2721
+ i0.ɵɵlistener("paginatorChange", function EntityTableComponent_igo_entity_table_paginator_8_Template_igo_entity_table_paginator_paginatorChange_0_listener($event) { i0.ɵɵrestoreView(_r172); const ctx_r171 = i0.ɵɵnextContext(); return ctx_r171.paginatorChange($event); });
2531
2722
  i0.ɵɵelementEnd();
2532
2723
  } if (rf & 2) {
2533
2724
  const ctx_r5 = i0.ɵɵnextContext();
2534
2725
  i0.ɵɵproperty("store", ctx_r5.store)("paginatorOptions", ctx_r5.paginatorOptions)("entitySortChange$", ctx_r5.entitySortChange$);
2535
2726
  } }
2727
+ const moment = moment_;
2536
2728
  class EntityTableComponent {
2537
- constructor(cdRef) {
2729
+ constructor(cdRef, formBuilder, _focusMonitor, _elementRef, ngControl, _parentForm, _controlName, _defaultErrorStateMatcher, dateAdapter) {
2538
2730
  this.cdRef = cdRef;
2731
+ this.formBuilder = formBuilder;
2732
+ this._focusMonitor = _focusMonitor;
2733
+ this._elementRef = _elementRef;
2734
+ this.ngControl = ngControl;
2735
+ this._parentForm = _parentForm;
2736
+ this._controlName = _controlName;
2737
+ this._defaultErrorStateMatcher = _defaultErrorStateMatcher;
2738
+ this.dateAdapter = dateAdapter;
2539
2739
  this.entitySortChange$ = new BehaviorSubject(false);
2740
+ this.formGroup = new FormGroup({});
2540
2741
  /**
2541
2742
  * Reference to the column renderer types
2542
2743
  * @internal
@@ -2581,6 +2782,7 @@ class EntityTableComponent {
2581
2782
  * @internal
2582
2783
  */
2583
2784
  this.dataSource = new MatTableDataSource();
2785
+ this.dateAdapter.setLocale('fr-CA');
2584
2786
  }
2585
2787
  /**
2586
2788
  * Table paginator
@@ -2642,6 +2844,118 @@ class EntityTableComponent {
2642
2844
  this.handleDatasource();
2643
2845
  }
2644
2846
  }
2847
+ /**
2848
+ * Process text or number value change (edition)
2849
+ */
2850
+ onValueChange(column, record, event) {
2851
+ const key = this.getColumnKeyWithoutPropertiesTag(column);
2852
+ record.entity.properties[key] = event.target.value;
2853
+ }
2854
+ /**
2855
+ * Process boolean value change (edition)
2856
+ */
2857
+ onBooleanValueChange(column, record, event) {
2858
+ const key = this.getColumnKeyWithoutPropertiesTag(column);
2859
+ record.entity.properties[key] = event.checked;
2860
+ }
2861
+ /**
2862
+ * Process select value change (edition)
2863
+ */
2864
+ onSelectValueChange(column, record, event) {
2865
+ const key = this.getColumnKeyWithoutPropertiesTag(column);
2866
+ record.entity.properties[key] = event.value;
2867
+ }
2868
+ /**
2869
+ * Process autocomplete value change (edition)
2870
+ */
2871
+ onAutocompleteValueChange(column, record, event) {
2872
+ this.formGroup.controls[column].setValue(event.option.viewValue);
2873
+ const key = this.getColumnKeyWithoutPropertiesTag(column);
2874
+ record.entity.properties[key] = event.option.value;
2875
+ }
2876
+ /**
2877
+ * Process date value change (edition)
2878
+ */
2879
+ onDateChange(column, record, event) {
2880
+ const format = "YYYY-MM-DD";
2881
+ const value = moment(event.value).format(format);
2882
+ const key = this.getColumnKeyWithoutPropertiesTag(column);
2883
+ record.entity.properties[key] = value;
2884
+ }
2885
+ /**
2886
+ * Enable edition mode for one row
2887
+ * More than one row can be edited at the same time
2888
+ */
2889
+ enableEdit(record) {
2890
+ const item = record.entity.properties;
2891
+ this.template.columns.forEach(column => {
2892
+ var _a;
2893
+ column.title = ((_a = column.validation) === null || _a === void 0 ? void 0 : _a.mandatory) && !column.title.includes('*') ? column.title + ' *' : column.title;
2894
+ const key = this.getColumnKeyWithoutPropertiesTag(column.name);
2895
+ if (column.type === 'boolean') {
2896
+ if (!item[key] || item[key] === null) {
2897
+ item[key] = false;
2898
+ }
2899
+ else if (typeof item[key] === 'string') {
2900
+ item[key] = JSON.parse(item[key].toLowerCase());
2901
+ }
2902
+ this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
2903
+ }
2904
+ else if (column.type === 'list') {
2905
+ if (column.multiple) {
2906
+ this.formGroup.setControl(column.name, this.formBuilder.control([item[key]]));
2907
+ }
2908
+ else {
2909
+ this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
2910
+ typeof item[key] === 'string' ?
2911
+ this.formGroup.controls[column.name].setValue(parseInt(item[key])) :
2912
+ this.formGroup.controls[column.name].setValue(item[key]);
2913
+ }
2914
+ }
2915
+ else if (column.type === 'autocomplete') {
2916
+ this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
2917
+ this.filteredOptions = this.formGroup.controls[column.name].valueChanges.pipe(map(value => {
2918
+ if (value.length) {
2919
+ return column.domainValues.filter((option) => {
2920
+ const filterNormalized = value ? value.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '') : '';
2921
+ const featureNameNormalized = option.value.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
2922
+ return featureNameNormalized.includes(filterNormalized);
2923
+ });
2924
+ }
2925
+ }));
2926
+ let formControlValue = item[key];
2927
+ column.domainValues.forEach(option => {
2928
+ if (typeof formControlValue === 'string' && /^\d+$/.test(formControlValue)) {
2929
+ formControlValue = parseInt(formControlValue);
2930
+ }
2931
+ if (option.value === formControlValue || option.id === formControlValue) {
2932
+ formControlValue = option.value;
2933
+ }
2934
+ });
2935
+ this.formGroup.controls[column.name].setValue(formControlValue);
2936
+ }
2937
+ else if (column.type === 'date') {
2938
+ if (column.visible) {
2939
+ if (item[key]) {
2940
+ let date = moment(item[key]);
2941
+ item[key] = date.utc().format('YYYY-MM-DD');
2942
+ this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
2943
+ }
2944
+ else {
2945
+ const newKey = this.getColumnKeyWithoutPropertiesTag(column.name);
2946
+ record.entity.properties[newKey] = null;
2947
+ this.formGroup.setControl(column.name, this.formBuilder.control(null));
2948
+ }
2949
+ }
2950
+ }
2951
+ else {
2952
+ this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
2953
+ }
2954
+ if (this.formGroup.controls[column.name] && this.getValidationAttributeValue(column, 'readonly')) {
2955
+ this.formGroup.controls[column.name].disable();
2956
+ }
2957
+ });
2958
+ }
2645
2959
  handleDatasource() {
2646
2960
  this.unsubscribeStore();
2647
2961
  this.selection$$ = this.store.stateView
@@ -2660,6 +2974,9 @@ class EntityTableComponent {
2660
2974
  this.selectionState$.next(this.computeSelectionState(records));
2661
2975
  });
2662
2976
  this.dataSource$$ = this.store.stateView.all$().subscribe((all) => {
2977
+ if (all[0]) {
2978
+ this.enableEdit(all[0]);
2979
+ }
2663
2980
  this.dataSource.data = all;
2664
2981
  });
2665
2982
  }
@@ -2879,13 +3196,102 @@ class EntityTableComponent {
2879
3196
  */
2880
3197
  getValue(record, column) {
2881
3198
  const entity = record.entity;
3199
+ let value;
2882
3200
  if (column.valueAccessor !== undefined) {
2883
3201
  return column.valueAccessor(entity, record);
2884
3202
  }
2885
3203
  if (this.template.valueAccessor !== undefined) {
2886
3204
  return this.template.valueAccessor(entity, column.name, record);
2887
3205
  }
2888
- return this.store.getProperty(entity, column.name);
3206
+ value = this.store.getProperty(entity, column.name);
3207
+ if (column.type === 'boolean') {
3208
+ if (value === undefined || value === null || value === '') {
3209
+ value = false;
3210
+ }
3211
+ else if (typeof value !== 'boolean' && value !== undefined) {
3212
+ if (typeof value === 'number') {
3213
+ value = Boolean(value);
3214
+ }
3215
+ else {
3216
+ value = JSON.parse(value.toLowerCase());
3217
+ }
3218
+ }
3219
+ if (!this.isEdition(record)) {
3220
+ value = value ? '✓' : ''; // check mark
3221
+ }
3222
+ }
3223
+ else if (column.type === 'list' && value && column.domainValues) {
3224
+ if (column.multiple) {
3225
+ let list_id;
3226
+ typeof value === 'string' ? list_id = value.match(/[\w.-]+/g).map(Number) : list_id = value;
3227
+ let list_option = [];
3228
+ column.domainValues.forEach(option => {
3229
+ if (list_id.includes(option.id)) {
3230
+ if (record.edition) {
3231
+ list_option.push(option.id);
3232
+ }
3233
+ else {
3234
+ list_option.push(option.value);
3235
+ }
3236
+ }
3237
+ });
3238
+ this.isEdition(record) ? value = list_id : value = list_option;
3239
+ }
3240
+ else {
3241
+ column.domainValues.forEach(option => {
3242
+ if (typeof value === 'string' && /^\d+$/.test(value)) {
3243
+ value = parseInt(value);
3244
+ }
3245
+ if (option.value === value || option.id === value) {
3246
+ this.isEdition(record) ? value = option.id : value = option.value;
3247
+ }
3248
+ });
3249
+ }
3250
+ }
3251
+ else if (column.type === 'autocomplete' && value && column.domainValues) {
3252
+ column.domainValues.forEach(option => {
3253
+ if (typeof value === 'string' && /^\d+$/.test(value)) {
3254
+ value = parseInt(value);
3255
+ }
3256
+ if (option.value === value || option.id === value) {
3257
+ value = option.value;
3258
+ }
3259
+ });
3260
+ }
3261
+ else if (column.type === 'date') {
3262
+ if (this.isEdition(record)) {
3263
+ if (value) {
3264
+ let date = moment(value);
3265
+ value = date.format();
3266
+ this.formGroup.controls[column.name].setValue(value);
3267
+ }
3268
+ }
3269
+ else if (!this.isEdition(record) && value === null) {
3270
+ value = "";
3271
+ }
3272
+ }
3273
+ if (value === undefined) {
3274
+ value = '';
3275
+ }
3276
+ return value;
3277
+ }
3278
+ /**
3279
+ * Method to access an entity's validation values
3280
+ * @param column Column
3281
+ * @param validationType string
3282
+ * @returns Any value (false if no validation or not the one concerned)
3283
+ * @internal
3284
+ */
3285
+ getValidationAttributeValue(column, validationType) {
3286
+ if (column.validation !== undefined && column.validation[validationType] !== undefined) {
3287
+ return column.validation[validationType];
3288
+ }
3289
+ else {
3290
+ return false;
3291
+ }
3292
+ }
3293
+ isEdition(record) {
3294
+ return record.entity.edition ? true : false;
2889
3295
  }
2890
3296
  /**
2891
3297
  * Return the type of renderer of a column
@@ -2962,13 +3368,23 @@ class EntityTableComponent {
2962
3368
  * @internal
2963
3369
  */
2964
3370
  onButtonClick(clickFunc, record) {
3371
+ this.enableEdit(record);
2965
3372
  if (typeof clickFunc === 'function') {
2966
3373
  clickFunc(record.entity, record);
2967
3374
  }
2968
3375
  }
3376
+ /**
3377
+ * Retrieve column name without his "properties" tag (useful for edition workspace properties)
3378
+ */
3379
+ getColumnKeyWithoutPropertiesTag(column) {
3380
+ if (column.includes('properties.')) {
3381
+ return column.split('.')[1];
3382
+ }
3383
+ return column;
3384
+ }
2969
3385
  }
2970
- EntityTableComponent.ɵfac = function EntityTableComponent_Factory(t) { return new (t || EntityTableComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
2971
- EntityTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityTableComponent, selectors: [["igo-entity-table"]], inputs: { store: "store", paginator: "paginator", template: "template", scrollBehavior: "scrollBehavior", sortNullsFirst: "sortNullsFirst", withPaginator: "withPaginator", paginatorOptions: "paginatorOptions" }, outputs: { entityClick: "entityClick", entitySelectChange: "entitySelectChange", entitySortChange: "entitySortChange" }, features: [i0.ɵɵNgOnChangesFeature], decls: 9, vars: 8, consts: [[1, "table-container"], ["mat-table", "", "matSort", "", 3, "ngClass", "dataSource", "trackBy", "matSortChange"], ["matColumnDef", "selectionCheckbox", 1, "mat-cell-checkbox"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], [3, "matColumnDef", 4, "ngFor", "ngForOf"], ["mat-header-row", "", 3, "ngClass", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", "igoEntityTableRow", "", 3, "scrollBehavior", "ngClass", "selection", "selected", "select", "click", 4, "matRowDef", "matRowDefColumns"], [3, "store", "paginatorOptions", "entitySortChange$", "paginatorChange", 4, "ngIf"], ["mat-header-cell", ""], [4, "ngIf"], [3, "checked", "indeterminate", "change"], ["mat-cell", ""], [3, "checked", "mousedown", "click", "change"], [3, "matColumnDef"], ["mat-header-cell", "", "mat-sort-header", "", 4, "matHeaderCellDef"], ["mat-header-cell", "", "mat-sort-header", ""], [4, "matCellDef"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["isAnUrlDefault", ""], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 3, "href", "click"], ["width", "50", "heigth", "auto", 3, "src", 4, "ngIf", "ngIfElse"], ["notImg", ""], ["width", "50", "heigth", "auto", 3, "src"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", "innerHTML", 4, "ngIf", "ngIfElse"], ["isAnUrlHTML", ""], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass", "innerHTML"], ["isAnUrlUnsanitizedHTML", ""], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "matCellDef"], [3, "svgIcon"], [4, "ngFor", "ngForOf"], ["igoStopPropagation", "", "mat-icon-button", "", 3, "color", "click", 4, "ngIf"], ["igoStopPropagation", "", "mat-mini-fab", "", 3, "color", "click", 4, "ngIf"], ["igoStopPropagation", "", "mat-icon-button", "", 3, "color", "click"], ["igoStopPropagation", "", "mat-mini-fab", "", 3, "color", "click"], ["mat-header-row", "", 3, "ngClass"], ["mat-row", "", "igoEntityTableRow", "", 3, "scrollBehavior", "ngClass", "selection", "selected", "select", "click"], [3, "store", "paginatorOptions", "entitySortChange$", "paginatorChange"]], template: function EntityTableComponent_Template(rf, ctx) { if (rf & 1) {
3386
+ EntityTableComponent.ɵfac = function EntityTableComponent_Factory(t) { return new (t || EntityTableComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$5.FormBuilder), i0.ɵɵdirectiveInject(i2$2.FocusMonitor), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$5.NgControl, 10), i0.ɵɵdirectiveInject(i1$5.NgForm, 8), i0.ɵɵdirectiveInject(i1$5.FormControlName, 8), i0.ɵɵdirectiveInject(i3.ErrorStateMatcher), i0.ɵɵdirectiveInject(i3.DateAdapter)); };
3387
+ EntityTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityTableComponent, selectors: [["igo-entity-table"]], inputs: { store: "store", paginator: "paginator", template: "template", scrollBehavior: "scrollBehavior", sortNullsFirst: "sortNullsFirst", withPaginator: "withPaginator", paginatorOptions: "paginatorOptions" }, outputs: { entityClick: "entityClick", entitySelectChange: "entitySelectChange", entitySortChange: "entitySortChange" }, features: [i0.ɵɵProvidersFeature([{ provide: MatFormFieldControl, useExisting: EntityTableComponent }]), i0.ɵɵNgOnChangesFeature], decls: 9, vars: 8, consts: [[1, "table-container"], ["mat-table", "", "matSort", "", 3, "ngClass", "dataSource", "trackBy", "matSortChange"], ["matColumnDef", "selectionCheckbox", 1, "mat-cell-checkbox"], ["mat-header-cell", "", 4, "matHeaderCellDef"], ["mat-cell", "", 4, "matCellDef"], [3, "matColumnDef", 4, "ngFor", "ngForOf"], ["mat-header-row", "", 3, "ngClass", 4, "matHeaderRowDef", "matHeaderRowDefSticky"], ["mat-row", "", "igoEntityTableRow", "", 3, "scrollBehavior", "ngClass", "selection", "selected", "select", "click", 4, "matRowDef", "matRowDefColumns"], [3, "store", "paginatorOptions", "entitySortChange$", "paginatorChange", 4, "ngIf"], ["mat-header-cell", ""], [4, "ngIf"], [3, "checked", "indeterminate", "change"], ["mat-cell", ""], [3, "checked", "mousedown", "click", "change"], [3, "matColumnDef"], ["mat-header-cell", "", "mat-sort-header", "", 3, "matTooltip", 4, "matHeaderCellDef"], ["mat-header-cell", "", "mat-sort-header", "", 3, "matTooltip"], ["mat-header-cell", "", 3, "matTooltip", 4, "matHeaderCellDef"], ["mat-header-cell", "", 3, "matTooltip"], [4, "matCellDef"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "ngIf", "ngIfElse"], ["isAnUrlDefault", ""], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass"], ["target", "_blank", "rel", "noopener noreferrer", 3, "href", "click"], ["width", "50", "heigth", "auto", 3, "src", 4, "ngIf", "ngIfElse"], ["notImg", ""], ["width", "50", "heigth", "auto", 3, "src"], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", "innerHTML", 4, "ngIf", "ngIfElse"], ["isAnUrlHTML", ""], ["mat-cell", "", 1, "mat-cell-text", 3, "ngClass", "innerHTML"], ["mat-cell", "", "class", "mat-cell-text edition", 3, "formGroup", "ngClass", 4, "ngIf", "ngIfElse"], ["isUnsanitizedHTML", ""], ["mat-cell", "", 1, "mat-cell-text", "edition", 3, "formGroup", "ngClass"], ["class", "date-picker", 4, "ngIf"], ["matInput", "", "type", "time", "step", "900", 3, "formControlName", "focus", "keypress", "blur", 4, "ngIf"], ["matInput", "", "type", "number", "class", "class_number_edition", 3, "formControlName", "step", "value", "readonly", "required", "min", "max", "input", 4, "ngIf"], ["matInput", "", "type", "text", 3, "formControlName", "value", "readonly", "required", "input", 4, "ngIf"], [3, "formControlName", "checked", "change", 4, "ngIf"], [3, "required", "formControlName", "multiple", "value", "selectionChange", 4, "ngIf"], ["matInput", "", "type", "text", 3, "formControlName", "matAutocomplete", "required", "value", 4, "ngIf"], ["panelWidth", "430px", 3, "optionSelected"], ["auto", "matAutocomplete"], [3, "value", 4, "ngFor", "ngForOf"], [1, "date-picker"], ["matSuffix", "", 3, "for"], ["matInput", "", 3, "matDatepicker", "formControlName", "value", "dateChange"], ["picker", ""], ["matInput", "", "type", "time", "step", "900", 3, "formControlName", "focus", "keypress", "blur"], ["matInput", "", "type", "number", 1, "class_number_edition", 3, "formControlName", "step", "value", "readonly", "required", "min", "max", "input"], ["matInput", "", "type", "text", 3, "formControlName", "value", "readonly", "required", "input"], [3, "formControlName", "checked", "change"], [3, "required", "formControlName", "multiple", "value", "selectionChange"], [3, "value", "disabled", 4, "ngFor", "ngForOf"], [3, "value", "disabled"], ["matInput", "", "type", "text", 3, "formControlName", "matAutocomplete", "required", "value"], [3, "value"], ["isAnUrlUnsanitizedHTML", ""], ["mat-cell", "", "class", "mat-cell-text", 3, "ngClass", 4, "matCellDef"], [3, "svgIcon", "click"], [4, "ngFor", "ngForOf"], ["igoStopPropagation", "", "mat-icon-button", "", 3, "color", "disabled", "mousedown", 4, "ngIf"], ["igoStopPropagation", "", "mat-mini-fab", "", 3, "color", "disabled", "mousedown", 4, "ngIf"], ["igoStopPropagation", "", "mat-icon-button", "", 3, "color", "disabled", "mousedown"], [3, "svgIcon"], ["igoStopPropagation", "", "mat-mini-fab", "", 3, "color", "disabled", "mousedown"], ["mat-header-row", "", 3, "ngClass"], ["mat-row", "", "igoEntityTableRow", "", 3, "scrollBehavior", "ngClass", "selection", "selected", "select", "click"], [3, "store", "paginatorOptions", "entitySortChange$", "paginatorChange"]], template: function EntityTableComponent_Template(rf, ctx) { if (rf & 1) {
2972
3388
  i0.ɵɵelementStart(0, "div", 0);
2973
3389
  i0.ɵɵelementStart(1, "table", 1);
2974
3390
  i0.ɵɵlistener("matSortChange", function EntityTableComponent_Template_table_matSortChange_1_listener($event) { return ctx.onSort($event); });
@@ -2993,16 +3409,25 @@ EntityTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Entity
2993
3409
  i0.ɵɵproperty("matRowDefColumns", ctx.headers);
2994
3410
  i0.ɵɵadvance(1);
2995
3411
  i0.ɵɵproperty("ngIf", ctx.withPaginator);
2996
- } }, directives: [i1$5.MatTable, i2$2.MatSort, i1$1.NgClass, i1$5.MatColumnDef, i1$5.MatHeaderCellDef, i1$5.MatCellDef, i1$1.NgForOf, i1$5.MatHeaderRowDef, i1$5.MatRowDef, i1$1.NgIf, i1$5.MatHeaderCell, i4$1.MatCheckbox, i1$5.MatCell, i2$2.MatSortHeader, i5.MatIcon, i4$2.MatButton, StopPropagationDirective, i1$5.MatHeaderRow, i1$5.MatRow, EntityTableRowDirective, EntityTablePaginatorComponent], pipes: [i1$1.AsyncPipe, SecureImagePipe, i11.TranslatePipe, SanitizeHtmlPipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-compact[_nghost-%COMP%] tr.mat-header-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:36px}.table-compact[_nghost-%COMP%] tr.mat-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:28px}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{padding:0 3px}entity-table[_ngcontent-%COMP%] table.igo-entity-table-with-selection[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd;cursor:pointer}table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:7px}"], changeDetection: 0 });
3412
+ } }, directives: [i4.MatTable, i5.MatSort, i1$1.NgClass, i4.MatColumnDef, i4.MatHeaderCellDef, i4.MatCellDef, i1$1.NgForOf, i4.MatHeaderRowDef, i4.MatRowDef, i1$1.NgIf, i4.MatHeaderCell, i7.MatCheckbox, i4.MatCell, i5.MatSortHeader, i6.MatTooltip, i1$5.NgControlStatusGroup, i1$5.FormGroupDirective, i9.MatAutocomplete, i10.MatDatepickerToggle, i1.MatSuffix, i2$3.MatInput, i10.MatDatepickerInput, i1$5.DefaultValueAccessor, i1$5.NgControlStatus, i1$5.FormControlName, i10.MatDatepicker, i1$5.NumberValueAccessor, i1$5.MinValidator, i1$5.MaxValidator, i1$5.RequiredValidator, i2.MatSelect, i3.MatOption, i9.MatAutocompleteTrigger, i5$1.MatIcon, i4$1.MatButton, StopPropagationDirective, i4.MatHeaderRow, i4.MatRow, EntityTableRowDirective, EntityTablePaginatorComponent], pipes: [i1$1.AsyncPipe, SecureImagePipe, i6$1.TranslatePipe, SanitizeHtmlPipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-compact[_nghost-%COMP%] tr.mat-header-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:36px}.table-compact[_nghost-%COMP%] tr.mat-row[_ngcontent-%COMP%], .table-compact[_nghost-%COMP%] .mat-checkbox .mat-checkbox-ripple{height:28px}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}th.mat-header-cell[_ngcontent-%COMP%], td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{padding:0 3px}entity-table[_ngcontent-%COMP%] table.igo-entity-table-with-selection[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{-o-box-shadow:2px 0px 2px 0px #dddddd;box-shadow:2px 0 2px #ddd;cursor:pointer}table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:7px}.class_boolean[_ngcontent-%COMP%], .class_icon[_ngcontent-%COMP%], .class_number[_ngcontent-%COMP%]{text-align:center;padding-right:35px!important}.class_sting[_ngcontent-%COMP%], .class_text[_ngcontent-%COMP%], .class_number_edition[_ngcontent-%COMP%]{text-align:left}td.edition[_ngcontent-%COMP%]{background:rgba(166,166,166,.2)}input[_ngcontent-%COMP%]{border-bottom:1px solid darkgrey}"], changeDetection: 0 });
2997
3413
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityTableComponent, [{
2998
3414
  type: Component,
2999
3415
  args: [{
3000
3416
  selector: 'igo-entity-table',
3001
3417
  templateUrl: './entity-table.component.html',
3002
3418
  styleUrls: ['./entity-table.component.scss'],
3003
- changeDetection: ChangeDetectionStrategy.OnPush
3419
+ changeDetection: ChangeDetectionStrategy.OnPush,
3420
+ providers: [{ provide: MatFormFieldControl, useExisting: EntityTableComponent }]
3004
3421
  }]
3005
- }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { store: [{
3422
+ }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$5.FormBuilder }, { type: i2$2.FocusMonitor }, { type: i0.ElementRef }, { type: i1$5.NgControl, decorators: [{
3423
+ type: Optional
3424
+ }, {
3425
+ type: Self
3426
+ }] }, { type: i1$5.NgForm, decorators: [{
3427
+ type: Optional
3428
+ }] }, { type: i1$5.FormControlName, decorators: [{
3429
+ type: Optional
3430
+ }] }, { type: i3.ErrorStateMatcher }, { type: i3.DateAdapter }]; }, { store: [{
3006
3431
  type: Input
3007
3432
  }], paginator: [{
3008
3433
  type: Input
@@ -3250,7 +3675,7 @@ ActionbarItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Acti
3250
3675
  i0.ɵɵproperty("ngIf", !ctx.action.checkbox);
3251
3676
  i0.ɵɵadvance(1);
3252
3677
  i0.ɵɵproperty("ngIf", ctx.action.checkbox);
3253
- } }, directives: [i1$1.NgIf, i1$6.MatListItem, i6.MatTooltip, i1$1.NgClass, i4$2.MatButton, i1$6.MatListAvatarCssMatStyler, i5.MatIcon, i4.MatLine, i4$1.MatCheckbox], pipes: [i11.TranslatePipe, i1$1.AsyncPipe], styles: ["mat-list-item.igo-actionbar-item-disabled[_ngcontent-%COMP%]{color:#00000042;cursor:default!important}mat-list-item.igo-actionbar-item-no-display[_ngcontent-%COMP%]{display:none}mat-checkbox[_ngcontent-%COMP%]{padding:12px}.item-checkbox[_ngcontent-%COMP%]{height:56px}.item-checkbox[_ngcontent-%COMP%] .mat-checkbox-label{margin-left:20px}"], changeDetection: 0 });
3678
+ } }, directives: [i1$1.NgIf, i1$6.MatListItem, i6.MatTooltip, i1$1.NgClass, i4$1.MatButton, i1$6.MatListAvatarCssMatStyler, i5$1.MatIcon, i3.MatLine, i7.MatCheckbox], pipes: [i6$1.TranslatePipe, i1$1.AsyncPipe], styles: ["mat-list-item.igo-actionbar-item-disabled[_ngcontent-%COMP%]{color:#00000042;cursor:default!important}mat-list-item.igo-actionbar-item-no-display[_ngcontent-%COMP%]{display:none}mat-checkbox[_ngcontent-%COMP%]{padding:12px}.item-checkbox[_ngcontent-%COMP%]{height:56px}.item-checkbox[_ngcontent-%COMP%] .mat-checkbox-label{margin-left:20px}"], changeDetection: 0 });
3254
3679
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionbarItemComponent, [{
3255
3680
  type: Component,
3256
3681
  args: [{
@@ -3597,7 +4022,7 @@ ActionbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actionba
3597
4022
  i0.ɵɵproperty("ngIf", ctx.mode === ctx.actionbarMode.Overlay);
3598
4023
  i0.ɵɵadvance(1);
3599
4024
  i0.ɵɵproperty("ngIf", ctx.mode === ctx.actionbarMode.Context);
3600
- } }, directives: [i1$1.NgIf, i1$6.MatList, i4$2.MatButton, i6.MatTooltip, i5.MatIcon, ActionbarItemComponent, i1$1.NgForOf, i9.MatMenuTrigger, i9.MatMenu, i10.MatCard], pipes: [i11.TranslatePipe, i1$1.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;height:100%;overflow:auto;position:relative}button[_ngcontent-%COMP%]{margin:4px}.buttonOverlay[_ngcontent-%COMP%]{margin:0}mat-list[_ngcontent-%COMP%]{padding-top:0}.horizontal[_nghost-%COMP%]{max-width:100%;overflow:unset}.horizontal[_nghost-%COMP%] mat-list[_ngcontent-%COMP%]{width:auto;white-space:nowrap}.horizontal[_nghost-%COMP%] igo-actionbar-item[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .mat-list .mat-list-item .mat-list-text>*{white-space:normal;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;max-height:36px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:46px}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content>mat-icon{padding:8px}igo-actionbar-item[_ngcontent-%COMP%] mat-list-item [mat-list-avatar]{height:auto;width:40px}igo-actionbar-item[_ngcontent-%COMP%] mat-list-item:hover{cursor:pointer}.context-menu-card[_ngcontent-%COMP%]{padding:8px 3px;margin:10px}#topChevron[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff;z-index:3}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){#topChevron[_ngcontent-%COMP%]{position:fixed;top:unset}}@supports (-ms-accelerator: true){#topChevron[_ngcontent-%COMP%]{position:fixed;top:unset}}#lowChevron[_ngcontent-%COMP%]{position:fixed;position:sticky;bottom:0;background-color:#fff;z-index:3}"], changeDetection: 0 });
4025
+ } }, directives: [i1$1.NgIf, i1$6.MatList, i4$1.MatButton, i6.MatTooltip, i5$1.MatIcon, ActionbarItemComponent, i1$1.NgForOf, i9$1.MatMenuTrigger, i9$1.MatMenu, i10$1.MatCard], pipes: [i6$1.TranslatePipe, i1$1.AsyncPipe], styles: ["[_nghost-%COMP%]{display:block;height:100%;overflow:auto;position:relative}button[_ngcontent-%COMP%]{margin:4px}.buttonOverlay[_ngcontent-%COMP%]{margin:0}mat-list[_ngcontent-%COMP%]{padding-top:0}.horizontal[_nghost-%COMP%]{max-width:100%;overflow:unset}.horizontal[_nghost-%COMP%] mat-list[_ngcontent-%COMP%]{width:auto;white-space:nowrap}.horizontal[_nghost-%COMP%] igo-actionbar-item[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .mat-list .mat-list-item .mat-list-text>*{white-space:normal;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;max-height:36px;line-height:18px;-webkit-box-orient:vertical;-webkit-line-clamp:2}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar{height:46px}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content{display:-webkit-flex;height:46px;padding:3px}[_nghost-%COMP%] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content>mat-icon{padding:8px}igo-actionbar-item[_ngcontent-%COMP%] mat-list-item [mat-list-avatar]{height:auto;width:40px}igo-actionbar-item[_ngcontent-%COMP%] mat-list-item:hover{cursor:pointer}.context-menu-card[_ngcontent-%COMP%]{padding:8px 3px;margin:10px}#topChevron[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff;z-index:3}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){#topChevron[_ngcontent-%COMP%]{position:fixed;top:unset}}@supports (-ms-accelerator: true){#topChevron[_ngcontent-%COMP%]{position:fixed;top:unset}}#lowChevron[_ngcontent-%COMP%]{position:fixed;position:sticky;bottom:0;background-color:#fff;z-index:3}"], changeDetection: 0 });
3601
4026
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionbarComponent, [{
3602
4027
  type: Component,
3603
4028
  args: [{
@@ -3867,14 +4292,14 @@ class IgoBadgeIconDirective {
3867
4292
  }
3868
4293
  }
3869
4294
  }
3870
- IgoBadgeIconDirective.ɵfac = function IgoBadgeIconDirective_Factory(t) { return new (t || IgoBadgeIconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i5.MatIconRegistry)); };
4295
+ IgoBadgeIconDirective.ɵfac = function IgoBadgeIconDirective_Factory(t) { return new (t || IgoBadgeIconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i5$1.MatIconRegistry)); };
3871
4296
  IgoBadgeIconDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: IgoBadgeIconDirective, selectors: [["", "igoMatBadgeIcon", ""]], inputs: { igoMatBadgeIcon: "igoMatBadgeIcon", matBadgeHidden: "matBadgeHidden", matBadgeDisabled: "matBadgeDisabled", igoMatBadgeInverseColor: "igoMatBadgeInverseColor", igoMatBadgeInheritColor: "igoMatBadgeInheritColor" } });
3872
4297
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoBadgeIconDirective, [{
3873
4298
  type: Directive,
3874
4299
  args: [{
3875
4300
  selector: '[igoMatBadgeIcon]'
3876
4301
  }]
3877
- }], function () { return [{ type: i0.ElementRef }, { type: i5.MatIconRegistry }]; }, { igoMatBadgeIcon: [{
4302
+ }], function () { return [{ type: i0.ElementRef }, { type: i5$1.MatIconRegistry }]; }, { igoMatBadgeIcon: [{
3878
4303
  type: Input
3879
4304
  }], matBadgeHidden: [{
3880
4305
  type: Input
@@ -4095,7 +4520,7 @@ CollapsibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Collap
4095
4520
  i0.ɵɵproperty("target", _r0)("collapsed", ctx.collapsed);
4096
4521
  i0.ɵɵadvance(2);
4097
4522
  i0.ɵɵtextInterpolate(ctx.title);
4098
- } }, directives: [i1$6.MatListItem, i5.MatIcon, i1$6.MatListAvatarCssMatStyler, CollapseDirective, i4.MatLine], styles: ["[_nghost-%COMP%] .mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item[_ngcontent-%COMP%]{overflow:hidden}"] });
4523
+ } }, directives: [i1$6.MatListItem, i5$1.MatIcon, i1$6.MatListAvatarCssMatStyler, CollapseDirective, i3.MatLine], styles: ["[_nghost-%COMP%] .mat-list .mat-list-item.mat-list-avatar{height:auto;width:auto;padding:0}mat-list-item[_ngcontent-%COMP%]{overflow:hidden}"] });
4099
4524
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollapsibleComponent, [{
4100
4525
  type: Component,
4101
4526
  args: [{
@@ -4167,7 +4592,7 @@ ConfirmDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Conf
4167
4592
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 6, "igo.common.confirmDialog.confirmBtn"));
4168
4593
  i0.ɵɵadvance(3);
4169
4594
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 8, "igo.common.confirmDialog.cancelBtn"));
4170
- } }, directives: [i1$8.MatDialogTitle, i1$8.MatDialogContent, i1$8.MatDialogActions, i4$2.MatButton], pipes: [i11.TranslatePipe], styles: ["h2[_ngcontent-%COMP%]{margin:5px 0 10px}div[mat-dialog-content][_ngcontent-%COMP%]{max-width:200px}div[mat-dialog-actions][_ngcontent-%COMP%]{margin:10px 0 0}"] });
4595
+ } }, directives: [i1$8.MatDialogTitle, i1$8.MatDialogContent, i1$8.MatDialogActions, i4$1.MatButton], pipes: [i6$1.TranslatePipe], styles: ["h2[_ngcontent-%COMP%]{margin:5px 0 10px}div[mat-dialog-content][_ngcontent-%COMP%]{max-width:200px}div[mat-dialog-actions][_ngcontent-%COMP%]{margin:10px 0 0}"] });
4171
4596
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogComponent, [{
4172
4597
  type: Component,
4173
4598
  args: [{
@@ -4720,7 +5145,10 @@ class DynamicOutletComponent {
4720
5145
  const inputs = changes.inputs;
4721
5146
  const subscribers = changes.subscribers;
4722
5147
  const eq = ObjectUtils.objectsAreEquivalent;
4723
- if (component && component.currentValue !== component.previousValue) {
5148
+ if (!component || !component.currentValue) {
5149
+ return;
5150
+ }
5151
+ if (component.currentValue !== component.previousValue) {
4724
5152
  this.createComponent(component.currentValue);
4725
5153
  }
4726
5154
  else {
@@ -5180,7 +5608,7 @@ FormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormComponent
5180
5608
  i0.ɵɵproperty("autocomplete", ctx.autocomplete)("formGroup", ctx.form.control);
5181
5609
  i0.ɵɵadvance(1);
5182
5610
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2, ctx.hasButtons));
5183
- } }, directives: [i3.ɵNgNoValidate, i3.NgControlStatusGroup, i3.FormGroupDirective, i1$1.NgClass], styles: ["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{width:100%;height:100%}.igo-form-body[_ngcontent-%COMP%], .igo-form-content[_ngcontent-%COMP%]{height:100%}.igo-form-body-with-buttons[_ngcontent-%COMP%] .igo-form-content[_ngcontent-%COMP%]{height:calc(100% - 56px)}.igo-form-content[_ngcontent-%COMP%]{display:flex}"], changeDetection: 0 });
5611
+ } }, directives: [i1$5.ɵNgNoValidate, i1$5.NgControlStatusGroup, i1$5.FormGroupDirective, i1$1.NgClass], styles: ["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{width:100%;height:100%}.igo-form-body[_ngcontent-%COMP%], .igo-form-content[_ngcontent-%COMP%]{height:100%}.igo-form-body-with-buttons[_ngcontent-%COMP%] .igo-form-content[_ngcontent-%COMP%]{height:calc(100% - 56px)}.igo-form-content[_ngcontent-%COMP%]{display:flex}"], changeDetection: 0 });
5184
5612
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormComponent, [{
5185
5613
  type: Component,
5186
5614
  args: [{
@@ -5259,8 +5687,10 @@ class FormService {
5259
5687
  fields.forEach((field) => {
5260
5688
  control.addControl(field.name, field.control);
5261
5689
  });
5262
- const validators = this.getValidators(options.validator); // convert string to actual validator
5263
- control.setValidators(validators);
5690
+ if (options.validator) {
5691
+ const validators = this.getValidators(options.validator); // convert string to actual validator
5692
+ control.setValidators(validators);
5693
+ }
5264
5694
  return Object.assign({}, config, { fields, control });
5265
5695
  }
5266
5696
  field(config) {
@@ -5270,8 +5700,10 @@ class FormService {
5270
5700
  disabled: options.disabled
5271
5701
  };
5272
5702
  const control = this.formBuilder.control(state);
5273
- const validators = this.getValidators(options.validator); // convert string to actual validator
5274
- control.setValidators(validators);
5703
+ if (options.validator) {
5704
+ const validators = this.getValidators(options.validator); // convert string to actual validator
5705
+ control.setValidators(validators);
5706
+ }
5275
5707
  return Object.assign({ type: 'text' }, config, { control });
5276
5708
  }
5277
5709
  extendFieldConfig(config, partial) {
@@ -5303,14 +5735,14 @@ class FormService {
5303
5735
  return Validators[name](args);
5304
5736
  }
5305
5737
  }
5306
- FormService.ɵfac = function FormService_Factory(t) { return new (t || FormService)(i0.ɵɵinject(i3.FormBuilder)); };
5738
+ FormService.ɵfac = function FormService_Factory(t) { return new (t || FormService)(i0.ɵɵinject(i1$5.FormBuilder)); };
5307
5739
  FormService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormService, factory: FormService.ɵfac, providedIn: 'root' });
5308
5740
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormService, [{
5309
5741
  type: Injectable,
5310
5742
  args: [{
5311
5743
  providedIn: 'root'
5312
5744
  }]
5313
- }], function () { return [{ type: i3.FormBuilder }]; }, null); })();
5745
+ }], function () { return [{ type: i1$5.FormBuilder }]; }, null); })();
5314
5746
 
5315
5747
  /**
5316
5748
  * Service where all available form fields are registered.
@@ -5511,7 +5943,7 @@ FormFieldSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Fo
5511
5943
  i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
5512
5944
  i0.ɵɵadvance(1);
5513
5945
  i0.ɵɵproperty("ngIf", ctx.formControl.errors);
5514
- } }, directives: [i1.MatFormField, i2.MatSelect, i3.RequiredValidator, i3.NgControlStatus, i3.FormControlDirective, i1$1.NgForOf, i1$1.NgIf, i4.MatOption, i5.MatIcon, i1.MatPrefix, i1.MatError], pipes: [i1$1.AsyncPipe, i11.TranslatePipe], encapsulation: 2, changeDetection: 0 });
5946
+ } }, directives: [i1.MatFormField, i2.MatSelect, i1$5.RequiredValidator, i1$5.NgControlStatus, i1$5.FormControlDirective, i1$1.NgForOf, i1$1.NgIf, i3.MatOption, i5$1.MatIcon, i1.MatPrefix, i1.MatError], pipes: [i1$1.AsyncPipe, i6$1.TranslatePipe], encapsulation: 2, changeDetection: 0 });
5515
5947
  FormFieldSelectComponent = __decorate([
5516
5948
  IgoFormFieldComponent('select')
5517
5949
  ], FormFieldSelectComponent);
@@ -5608,7 +6040,7 @@ FormFieldTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Form
5608
6040
  i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
5609
6041
  i0.ɵɵadvance(1);
5610
6042
  i0.ɵɵproperty("ngIf", ctx.formControl.errors);
5611
- } }, directives: [i1.MatFormField, i2$3.MatInput, i3.DefaultValueAccessor, i3.RequiredValidator, i3.NgControlStatus, i3.FormControlDirective, i1$1.NgIf, i5.MatIcon, i1.MatPrefix, i1.MatError], pipes: [i1$1.AsyncPipe, i11.TranslatePipe], encapsulation: 2, changeDetection: 0 });
6043
+ } }, directives: [i1.MatFormField, i2$3.MatInput, i1$5.DefaultValueAccessor, i1$5.RequiredValidator, i1$5.NgControlStatus, i1$5.FormControlDirective, i1$1.NgIf, i5$1.MatIcon, i1.MatPrefix, i1.MatError], pipes: [i1$1.AsyncPipe, i6$1.TranslatePipe], encapsulation: 2, changeDetection: 0 });
5612
6044
  FormFieldTextComponent = __decorate([
5613
6045
  IgoFormFieldComponent('text')
5614
6046
  ], FormFieldTextComponent);
@@ -5705,7 +6137,7 @@ FormFieldTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
5705
6137
  i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
5706
6138
  i0.ɵɵadvance(1);
5707
6139
  i0.ɵɵproperty("ngIf", ctx.formControl.errors);
5708
- } }, directives: [i1.MatFormField, i2$3.MatInput, i3.DefaultValueAccessor, i3.RequiredValidator, i3.NgControlStatus, i3.FormControlDirective, i1$1.NgIf, i5.MatIcon, i1.MatPrefix, i1.MatError], pipes: [i1$1.AsyncPipe, i11.TranslatePipe], encapsulation: 2, changeDetection: 0 });
6140
+ } }, directives: [i1.MatFormField, i2$3.MatInput, i1$5.DefaultValueAccessor, i1$5.RequiredValidator, i1$5.NgControlStatus, i1$5.FormControlDirective, i1$1.NgIf, i5$1.MatIcon, i1.MatPrefix, i1.MatError], pipes: [i1$1.AsyncPipe, i6$1.TranslatePipe], encapsulation: 2, changeDetection: 0 });
5709
6141
  FormFieldTextareaComponent = __decorate([
5710
6142
  IgoFormFieldComponent('textarea')
5711
6143
  ], FormFieldTextareaComponent);
@@ -5876,7 +6308,7 @@ FormGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGrou
5876
6308
  i0.ɵɵproperty("ngIf", ctx.group && ctx.group.fields.length > 0);
5877
6309
  i0.ɵɵadvance(3);
5878
6310
  i0.ɵɵproperty("ngIf", ctx.formControl.errors);
5879
- } }, directives: [i1$1.NgIf, i1$1.NgForOf, i1$1.NgClass, FormFieldComponent, i1.MatError], pipes: [i11.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block;overflow:auto;padding:10px 5px}.igo-form-field-wrapper[_ngcontent-%COMP%]{display:inline-block;padding:0 5px}.igo-form-field-colspan-2[_ngcontent-%COMP%]{width:100%}.igo-form-field-colspan-1[_ngcontent-%COMP%]{width:50%}"], changeDetection: 0 });
6311
+ } }, directives: [i1$1.NgIf, i1$1.NgForOf, i1$1.NgClass, FormFieldComponent, i1.MatError], pipes: [i6$1.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block;overflow:auto;padding:10px 5px}.igo-form-field-wrapper[_ngcontent-%COMP%]{display:inline-block;padding:0 5px}.igo-form-field-colspan-2[_ngcontent-%COMP%]{width:100%}.igo-form-field-colspan-1[_ngcontent-%COMP%]{width:50%}"], changeDetection: 0 });
5880
6312
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGroupComponent, [{
5881
6313
  type: Component,
5882
6314
  args: [{
@@ -5986,7 +6418,7 @@ HomeButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HomeBut
5986
6418
  i0.ɵɵelementEnd();
5987
6419
  } if (rf & 2) {
5988
6420
  i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.sidenav.mainMenu"));
5989
- } }, directives: [i4$2.MatButton, i6.MatTooltip, i5.MatIcon], pipes: [i11.TranslatePipe], styles: ["#homeButton[_ngcontent-%COMP%]{position:absolute;top:50px;left:0px;border-radius:0;height:46px;width:48px}"] });
6421
+ } }, directives: [i4$1.MatButton, i6.MatTooltip, i5$1.MatIcon], pipes: [i6$1.TranslatePipe], styles: ["#homeButton[_ngcontent-%COMP%]{position:absolute;top:50px;left:0px;border-radius:0;height:46px;width:48px}"] });
5990
6422
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HomeButtonComponent, [{
5991
6423
  type: Component,
5992
6424
  args: [{
@@ -6159,16 +6591,23 @@ IgoEntityTableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoEnti
6159
6591
  IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
6160
6592
  CommonModule,
6161
6593
  MatTableModule,
6594
+ MatAutocompleteModule,
6162
6595
  MatSortModule,
6163
6596
  MatIconModule,
6164
6597
  MatButtonModule,
6165
6598
  MatCheckboxModule,
6166
6599
  MatPaginatorModule,
6600
+ MatSelectModule,
6167
6601
  IgoStopPropagationModule,
6168
6602
  IgoCustomHtmlModule,
6169
6603
  IgoEntityTablePaginatorModule,
6170
6604
  IgoImageModule,
6171
- IgoLanguageModule
6605
+ IgoLanguageModule,
6606
+ FormsModule,
6607
+ ReactiveFormsModule,
6608
+ MatInputModule,
6609
+ MatDatepickerModule,
6610
+ MatTooltipModule
6172
6611
  ]] });
6173
6612
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoEntityTableModule, [{
6174
6613
  type: NgModule,
@@ -6176,16 +6615,23 @@ IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
6176
6615
  imports: [
6177
6616
  CommonModule,
6178
6617
  MatTableModule,
6618
+ MatAutocompleteModule,
6179
6619
  MatSortModule,
6180
6620
  MatIconModule,
6181
6621
  MatButtonModule,
6182
6622
  MatCheckboxModule,
6183
6623
  MatPaginatorModule,
6624
+ MatSelectModule,
6184
6625
  IgoStopPropagationModule,
6185
6626
  IgoCustomHtmlModule,
6186
6627
  IgoEntityTablePaginatorModule,
6187
6628
  IgoImageModule,
6188
- IgoLanguageModule
6629
+ IgoLanguageModule,
6630
+ FormsModule,
6631
+ ReactiveFormsModule,
6632
+ MatInputModule,
6633
+ MatDatepickerModule,
6634
+ MatTooltipModule
6189
6635
  ],
6190
6636
  exports: [
6191
6637
  EntityTableComponent
@@ -6199,16 +6645,23 @@ IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
6199
6645
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoEntityTableModule, { declarations: [EntityTableComponent,
6200
6646
  EntityTableRowDirective], imports: [CommonModule,
6201
6647
  MatTableModule,
6648
+ MatAutocompleteModule,
6202
6649
  MatSortModule,
6203
6650
  MatIconModule,
6204
6651
  MatButtonModule,
6205
6652
  MatCheckboxModule,
6206
6653
  MatPaginatorModule,
6654
+ MatSelectModule,
6207
6655
  IgoStopPropagationModule,
6208
6656
  IgoCustomHtmlModule,
6209
6657
  IgoEntityTablePaginatorModule,
6210
6658
  IgoImageModule,
6211
- IgoLanguageModule], exports: [EntityTableComponent] }); })();
6659
+ IgoLanguageModule,
6660
+ FormsModule,
6661
+ ReactiveFormsModule,
6662
+ MatInputModule,
6663
+ MatDatepickerModule,
6664
+ MatTooltipModule], exports: [EntityTableComponent] }); })();
6212
6665
 
6213
6666
  class IgoEntityModule {
6214
6667
  }
@@ -6886,7 +7339,7 @@ InteractiveTourComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: In
6886
7339
  i0.ɵɵtemplate(0, InteractiveTourComponent_button_0_Template, 9, 15, "button", 0);
6887
7340
  } if (rf & 2) {
6888
7341
  i0.ɵɵproperty("ngIf", ctx.showTourButton);
6889
- } }, directives: [i1$1.NgIf, i4$2.MatButton, i1$1.NgClass, i5.MatIcon, i6.MatTooltip], pipes: [i11.TranslatePipe, i1$1.AsyncPipe], styles: [".shepherd-has-title .shepherd-content .shepherd-header{padding:.5em .75em}.shepherd-title{margin:0!important;font-weight:revert!important}.shepherd-progress{margin-right:15px;color:#737373}.shepherd-text{font-size:14px!important}.shepherd-element{border:1px solid;border-color:#474747;box-shadow:4px 5px #65656599}\n"], encapsulation: 2 });
7342
+ } }, directives: [i1$1.NgIf, i4$1.MatButton, i1$1.NgClass, i5$1.MatIcon, i6.MatTooltip], pipes: [i6$1.TranslatePipe, i1$1.AsyncPipe], styles: [".shepherd-has-title .shepherd-content .shepherd-header{padding:.5em .75em}.shepherd-title{margin:0!important;font-weight:revert!important}.shepherd-progress{margin-right:15px;color:#737373}.shepherd-text{font-size:14px!important}.shepherd-element{border:1px solid;border-color:#474747;box-shadow:4px 5px #65656599}\n"], encapsulation: 2 });
6890
7343
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InteractiveTourComponent, [{
6891
7344
  type: Component,
6892
7345
  args: [{
@@ -7073,7 +7526,7 @@ JsonDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsonDia
7073
7526
  i0.ɵɵtextInterpolate(ctx.title);
7074
7527
  i0.ɵɵadvance(2);
7075
7528
  i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c1$3, ctx.data));
7076
- } }, directives: [i1$8.MatDialogTitle, i1$8.MatDialogContent, i1$1.NgTemplateOutlet, i1$8.MatDialogActions, i4$2.MatButton, i1$1.NgForOf, i1$1.NgIf], pipes: [KeyValuePipe], encapsulation: 2 });
7529
+ } }, directives: [i1$8.MatDialogTitle, i1$8.MatDialogContent, i1$1.NgTemplateOutlet, i1$8.MatDialogActions, i4$1.MatButton, i1$1.NgForOf, i1$1.NgIf], pipes: [KeyValuePipe], encapsulation: 2 });
7077
7530
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsonDialogComponent, [{
7078
7531
  type: Component,
7079
7532
  args: [{
@@ -8143,7 +8596,7 @@ TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableCompone
8143
8596
  i0.ɵɵproperty("matHeaderRowDef", ctx.displayedColumns);
8144
8597
  i0.ɵɵadvance(1);
8145
8598
  i0.ɵɵproperty("matRowDefColumns", ctx.displayedColumns);
8146
- } }, directives: [i1$1.NgIf, i1$5.MatTable, i2$2.MatSort, i1$5.MatColumnDef, i1$5.MatHeaderCellDef, i1$5.MatCellDef, i1$1.NgForOf, i1$5.MatHeaderRowDef, i1$5.MatRowDef, i1.MatFormField, i2$3.MatInput, i1$5.MatHeaderCell, i4$1.MatCheckbox, i1$5.MatCell, i2$2.MatSortHeader, i1$1.NgClass, i4$2.MatButton, i5.MatIcon, i1$5.MatHeaderRow, i1$5.MatRow], pipes: [i11.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.table-box[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.table-header[_ngcontent-%COMP%]{min-height:64px;max-width:500px;display:flex;flex:0 1 auto;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}tr[mat-header-row][_ngcontent-%COMP%], tr[mat-row][_ngcontent-%COMP%]{height:60px}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}td[mat-cell][_ngcontent-%COMP%]{padding-right:15px}th.mat-header-cell[_ngcontent-%COMP%]{padding-right:5px}button[_ngcontent-%COMP%]{margin-right:10px}"] });
8599
+ } }, directives: [i1$1.NgIf, i4.MatTable, i5.MatSort, i4.MatColumnDef, i4.MatHeaderCellDef, i4.MatCellDef, i1$1.NgForOf, i4.MatHeaderRowDef, i4.MatRowDef, i1.MatFormField, i2$3.MatInput, i4.MatHeaderCell, i7.MatCheckbox, i4.MatCell, i5.MatSortHeader, i1$1.NgClass, i4$1.MatButton, i5$1.MatIcon, i4.MatHeaderRow, i4.MatRow], pipes: [i6$1.TranslatePipe], styles: ["[_nghost-%COMP%]{width:100%;height:100%;display:block}.table-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;overflow:auto;flex:1 1 auto}.table-box[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.table-header[_ngcontent-%COMP%]{min-height:64px;max-width:500px;display:flex;flex:0 1 auto;align-items:baseline;padding:8px 24px 0;font-size:20px;justify-content:space-between}tr[mat-header-row][_ngcontent-%COMP%], tr[mat-row][_ngcontent-%COMP%]{height:60px}.mat-cell-text[_ngcontent-%COMP%]{overflow:hidden;word-wrap:break-word}td[mat-cell][_ngcontent-%COMP%]{padding-right:15px}th.mat-header-cell[_ngcontent-%COMP%]{padding-right:5px}button[_ngcontent-%COMP%]{margin-right:10px}"] });
8147
8600
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
8148
8601
  type: Component,
8149
8602
  args: [{
@@ -8778,12 +9231,12 @@ class WorkspaceSelectorComponent {
8778
9231
  }
8779
9232
  }
8780
9233
  WorkspaceSelectorComponent.ɵfac = function WorkspaceSelectorComponent_Factory(t) { return new (t || WorkspaceSelectorComponent)(); };
8781
- WorkspaceSelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkspaceSelectorComponent, selectors: [["igo-workspace-selector"]], inputs: { store: "store" }, outputs: { selectedChange: "selectedChange" }, decls: 1, vars: 3, consts: [[3, "store", "multi", "titleAccessor", "selectedChange"]], template: function WorkspaceSelectorComponent_Template(rf, ctx) { if (rf & 1) {
9234
+ WorkspaceSelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkspaceSelectorComponent, selectors: [["igo-workspace-selector"]], inputs: { store: "store", disabled: "disabled" }, outputs: { selectedChange: "selectedChange" }, decls: 1, vars: 4, consts: [[3, "store", "multi", "titleAccessor", "disabled", "selectedChange"]], template: function WorkspaceSelectorComponent_Template(rf, ctx) { if (rf & 1) {
8782
9235
  i0.ɵɵelementStart(0, "igo-entity-selector", 0);
8783
9236
  i0.ɵɵlistener("selectedChange", function WorkspaceSelectorComponent_Template_igo_entity_selector_selectedChange_0_listener($event) { return ctx.onSelectedChange($event); });
8784
9237
  i0.ɵɵelementEnd();
8785
9238
  } if (rf & 2) {
8786
- i0.ɵɵproperty("store", ctx.store)("multi", false)("titleAccessor", ctx.getWorkspaceTitle);
9239
+ i0.ɵɵproperty("store", ctx.store)("multi", false)("titleAccessor", ctx.getWorkspaceTitle)("disabled", ctx.disabled);
8787
9240
  } }, directives: [EntitySelectorComponent], styles: ["igo-entity-selector[_ngcontent-%COMP%] mat-form-field .mat-form-field-infix{padding:0}igo-entity-selector[_ngcontent-%COMP%] mat-form-field .mat-form-field-wrapper{padding-bottom:1.75em}"], changeDetection: 0 });
8788
9241
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceSelectorComponent, [{
8789
9242
  type: Component,
@@ -8795,6 +9248,8 @@ WorkspaceSelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
8795
9248
  }]
8796
9249
  }], null, { store: [{
8797
9250
  type: Input
9251
+ }], disabled: [{
9252
+ type: Input
8798
9253
  }], selectedChange: [{
8799
9254
  type: Output
8800
9255
  }] }); })();