@igo2/common 1.10.0 → 1.12.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.
- package/bundles/igo2-common.umd.js +833 -254
- package/bundles/igo2-common.umd.js.map +1 -1
- package/esm2015/lib/action/action.module.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar-item.component.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar.component.js +1 -1
- package/esm2015/lib/action/actionbar/actionbar.module.js +1 -1
- package/esm2015/lib/action/index.js +1 -1
- package/esm2015/lib/action/shared/action.enums.js +1 -1
- package/esm2015/lib/action/shared/action.interfaces.js +1 -1
- package/esm2015/lib/action/shared/index.js +1 -1
- package/esm2015/lib/action/shared/store.js +1 -1
- package/esm2015/lib/backdrop/backdrop.component.js +1 -1
- package/esm2015/lib/backdrop/backdrop.module.js +1 -1
- package/esm2015/lib/backdrop/index.js +1 -1
- package/esm2015/lib/badge-icon/badge-icon.directive.js +1 -1
- package/esm2015/lib/badge-icon/badge-icon.module.js +1 -1
- package/esm2015/lib/badge-icon/index.js +1 -1
- package/esm2015/lib/clickout/clickout.directive.js +1 -1
- package/esm2015/lib/clickout/clickout.module.js +1 -1
- package/esm2015/lib/clickout/index.js +1 -1
- package/esm2015/lib/clone/clone.module.js +1 -1
- package/esm2015/lib/clone/clone.pipe.js +1 -1
- package/esm2015/lib/clone/index.js +1 -1
- package/esm2015/lib/collapsible/collapse.directive.js +1 -1
- package/esm2015/lib/collapsible/collapsible.component.js +1 -1
- package/esm2015/lib/collapsible/collapsible.module.js +1 -1
- package/esm2015/lib/collapsible/index.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.component.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.module.js +1 -1
- package/esm2015/lib/confirm-dialog/confirm-dialog.service.js +1 -1
- package/esm2015/lib/confirm-dialog/index.js +1 -1
- package/esm2015/lib/context-menu/context-menu.directive.js +1 -1
- package/esm2015/lib/context-menu/context-menu.module.js +1 -1
- package/esm2015/lib/context-menu/index.js +1 -1
- package/esm2015/lib/custom-html/custom-html.component.js +1 -1
- package/esm2015/lib/custom-html/custom-html.module.js +1 -1
- package/esm2015/lib/custom-html/custom-html.pipe.js +1 -1
- package/esm2015/lib/custom-html/index.js +1 -1
- package/esm2015/lib/dom/dom.interfaces.js +2 -0
- package/esm2015/lib/dom/dom.module.js +23 -0
- package/esm2015/lib/dom/dom.service.js +33 -0
- package/esm2015/lib/dom/index.js +3 -0
- package/esm2015/lib/drag-drop/drag-drop.module.js +1 -1
- package/esm2015/lib/drag-drop/index.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-component.module.js +1 -1
- package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.component.js +5 -2
- package/esm2015/lib/dynamic-component/dynamic-outlet/dynamic-outlet.module.js +1 -1
- package/esm2015/lib/dynamic-component/index.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.interfaces.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.js +1 -1
- package/esm2015/lib/dynamic-component/shared/dynamic-component.service.js +1 -1
- package/esm2015/lib/dynamic-component/shared/index.js +1 -1
- package/esm2015/lib/entity/entity-selector/entity-selector.component.js +1 -1
- package/esm2015/lib/entity/entity-selector/entity-selector.module.js +1 -1
- package/esm2015/lib/entity/entity-table/entity-table-row.directive.js +1 -1
- package/esm2015/lib/entity/entity-table/entity-table.component.js +563 -116
- package/esm2015/lib/entity/entity-table/entity-table.module.js +31 -4
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.component.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.interface.js +1 -1
- package/esm2015/lib/entity/entity-table-paginator/entity-table-paginator.module.js +1 -1
- package/esm2015/lib/entity/entity.module.js +1 -1
- package/esm2015/lib/entity/index.js +1 -1
- package/esm2015/lib/entity/shared/entity.enums.js +2 -1
- package/esm2015/lib/entity/shared/entity.interfaces.js +1 -1
- package/esm2015/lib/entity/shared/entity.utils.js +1 -1
- package/esm2015/lib/entity/shared/index.js +1 -1
- package/esm2015/lib/entity/shared/state.js +1 -1
- package/esm2015/lib/entity/shared/store.js +1 -1
- package/esm2015/lib/entity/shared/strategies/filter-custom-function.js +1 -1
- package/esm2015/lib/entity/shared/strategies/filter-selection.js +1 -1
- package/esm2015/lib/entity/shared/strategies/index.js +1 -1
- package/esm2015/lib/entity/shared/strategies/strategy.js +1 -1
- package/esm2015/lib/entity/shared/transaction.js +1 -1
- package/esm2015/lib/entity/shared/view.js +1 -1
- package/esm2015/lib/entity/shared/watcher.js +1 -1
- package/esm2015/lib/flexible/flexible.component.js +1 -1
- package/esm2015/lib/flexible/flexible.module.js +1 -1
- package/esm2015/lib/flexible/flexible.type.js +1 -1
- package/esm2015/lib/flexible/index.js +1 -1
- package/esm2015/lib/form/form/form.component.js +1 -1
- package/esm2015/lib/form/form/form.module.js +1 -1
- package/esm2015/lib/form/form-field/form-field-select.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field-text.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field-textarea.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field.component.js +1 -1
- package/esm2015/lib/form/form-field/form-field.module.js +1 -1
- package/esm2015/lib/form/form-field/index.js +1 -1
- package/esm2015/lib/form/form-group/form-group.component.js +1 -1
- package/esm2015/lib/form/form-group/form-group.module.js +1 -1
- package/esm2015/lib/form/form.module.js +1 -1
- package/esm2015/lib/form/index.js +1 -1
- package/esm2015/lib/form/shared/form-field-component.js +1 -1
- package/esm2015/lib/form/shared/form-field.service.js +1 -1
- package/esm2015/lib/form/shared/form.interfaces.js +1 -1
- package/esm2015/lib/form/shared/form.service.js +9 -5
- package/esm2015/lib/form/shared/form.utils.js +1 -1
- package/esm2015/lib/form/shared/index.js +1 -1
- package/esm2015/lib/home-button/home-button.component.js +1 -1
- package/esm2015/lib/home-button/home-button.module.js +1 -1
- package/esm2015/lib/home-button/index.js +1 -1
- package/esm2015/lib/image/image.module.js +1 -1
- package/esm2015/lib/image/index.js +1 -1
- package/esm2015/lib/image/secure-image.pipe.js +11 -4
- package/esm2015/lib/interactive-tour/index.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.component.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.interface.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.loader.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.module.js +1 -1
- package/esm2015/lib/interactive-tour/interactive-tour.service.js +1 -1
- package/esm2015/lib/json-dialog/index.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.component.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.module.js +1 -1
- package/esm2015/lib/json-dialog/json-dialog.service.js +1 -1
- package/esm2015/lib/keyvalue/index.js +1 -1
- package/esm2015/lib/keyvalue/keyvalue.module.js +1 -1
- package/esm2015/lib/keyvalue/keyvalue.pipe.js +1 -1
- package/esm2015/lib/list/index.js +1 -1
- package/esm2015/lib/list/list-item.directive.js +1 -1
- package/esm2015/lib/list/list.component.js +1 -1
- package/esm2015/lib/list/list.module.js +1 -1
- package/esm2015/lib/panel/index.js +1 -1
- package/esm2015/lib/panel/panel.component.js +1 -1
- package/esm2015/lib/panel/panel.module.js +1 -1
- package/esm2015/lib/sidenav/index.js +1 -1
- package/esm2015/lib/sidenav/sidenav-shim.directive.js +1 -1
- package/esm2015/lib/sidenav/sidenav.module.js +1 -1
- package/esm2015/lib/spinner/index.js +1 -1
- package/esm2015/lib/spinner/spinner-activity.directive.js +1 -1
- package/esm2015/lib/spinner/spinner.component.js +1 -1
- package/esm2015/lib/spinner/spinner.module.js +1 -1
- package/esm2015/lib/stop-propagation/index.js +1 -1
- package/esm2015/lib/stop-propagation/stop-drop-propagation.directive.js +1 -1
- package/esm2015/lib/stop-propagation/stop-propagation.directive.js +1 -1
- package/esm2015/lib/stop-propagation/stop-propagation.module.js +1 -1
- package/esm2015/lib/table/index.js +1 -1
- package/esm2015/lib/table/table-action-color.enum.js +1 -1
- package/esm2015/lib/table/table-database.js +1 -1
- package/esm2015/lib/table/table-datasource.js +1 -1
- package/esm2015/lib/table/table-model.interface.js +1 -1
- package/esm2015/lib/table/table.component.js +1 -1
- package/esm2015/lib/table/table.module.js +1 -1
- package/esm2015/lib/tool/index.js +1 -1
- package/esm2015/lib/tool/shared/index.js +1 -1
- package/esm2015/lib/tool/shared/tool-component.js +1 -1
- package/esm2015/lib/tool/shared/tool.interface.js +1 -1
- package/esm2015/lib/tool/shared/tool.service.js +1 -1
- package/esm2015/lib/tool/shared/toolbox.enums.js +1 -1
- package/esm2015/lib/tool/shared/toolbox.js +1 -1
- package/esm2015/lib/tool/tool.module.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.animation.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.component.js +1 -1
- package/esm2015/lib/tool/toolbox/toolbox.module.js +1 -1
- package/esm2015/lib/widget/index.js +1 -1
- package/esm2015/lib/widget/shared/index.js +1 -1
- package/esm2015/lib/widget/shared/widget.interfaces.js +1 -1
- package/esm2015/lib/widget/shared/widget.js +1 -1
- package/esm2015/lib/widget/shared/widget.service.js +1 -1
- package/esm2015/lib/widget/widget-outlet/widget-outlet.component.js +1 -1
- package/esm2015/lib/widget/widget-outlet/widget-outlet.module.js +1 -1
- package/esm2015/lib/widget/widget.module.js +1 -1
- package/esm2015/lib/workspace/index.js +1 -1
- package/esm2015/lib/workspace/shared/index.js +1 -1
- package/esm2015/lib/workspace/shared/store.js +1 -1
- package/esm2015/lib/workspace/shared/workspace.interfaces.js +1 -1
- package/esm2015/lib/workspace/shared/workspace.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.component.js +5 -3
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.component.js +1 -1
- package/esm2015/lib/workspace/workspace-widget-outlet/workspace-widget-outlet.module.js +1 -1
- package/esm2015/lib/workspace/workspace.module.js +1 -1
- package/esm2015/public_api.js +3 -1
- package/fesm2015/igo2-common.js +675 -151
- package/fesm2015/igo2-common.js.map +1 -1
- package/lib/dom/dom.interfaces.d.ts +10 -0
- package/lib/dom/dom.module.d.ts +8 -0
- package/lib/dom/dom.service.d.ts +10 -0
- package/lib/dom/index.d.ts +2 -0
- package/lib/entity/entity-table/entity-table.component.d.ts +55 -4
- package/lib/entity/entity-table/entity-table.module.d.ts +17 -11
- package/lib/entity/shared/entity.enums.d.ts +1 -0
- package/lib/entity/shared/entity.interfaces.d.ts +24 -0
- package/lib/image/secure-image.pipe.d.ts +3 -1
- package/lib/workspace/workspace-selector/workspace-selector.component.d.ts +5 -1
- package/package.json +3 -3
- package/public_api.d.ts +2 -0
- package/style/common.theming.scss +12 -12
- package/style/partial/action.scss +18 -18
- package/style/partial/common.variables.scss +8 -8
package/fesm2015/igo2-common.js
CHANGED
|
@@ -1,54 +1,60 @@
|
|
|
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
|
|
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$
|
|
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
|
|
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';
|
|
19
19
|
import * as i1$2 from '@igo2/core';
|
|
20
20
|
import { Media, IgoLanguageModule } from '@igo2/core';
|
|
21
21
|
import t from 'typy';
|
|
22
|
-
import { ReplaySubject, BehaviorSubject, combineLatest, of, Observable, isObservable, fromEvent, merge, Subject } from 'rxjs';
|
|
22
|
+
import { ReplaySubject, BehaviorSubject, combineLatest, of, Observable, isObservable, fromEvent, throwError, merge, Subject } from 'rxjs';
|
|
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
|
|
30
|
-
import * as
|
|
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
|
|
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';
|
|
37
|
-
import { __decorate } from 'tslib';
|
|
47
|
+
import { __decorate, __awaiter } 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
|
|
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,
|
|
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: [{
|
|
@@ -2075,14 +2082,20 @@ EntityTablePaginatorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ typ
|
|
|
2075
2082
|
}] }); })();
|
|
2076
2083
|
|
|
2077
2084
|
class SecureImagePipe {
|
|
2078
|
-
constructor(http) {
|
|
2085
|
+
constructor(http, configService) {
|
|
2079
2086
|
this.http = http;
|
|
2087
|
+
this.configService = configService;
|
|
2080
2088
|
}
|
|
2081
2089
|
transform(url) {
|
|
2090
|
+
var _a;
|
|
2082
2091
|
const headers = new HttpHeaders({
|
|
2083
2092
|
'Content-Type': 'text/plain',
|
|
2084
2093
|
activityInterceptor: 'false'
|
|
2085
2094
|
});
|
|
2095
|
+
const regexDepot = new RegExp(((_a = this.configService) === null || _a === void 0 ? void 0 : _a.getConfig('depot.url')) + '.*?(?="|$)');
|
|
2096
|
+
if (regexDepot.test(url)) {
|
|
2097
|
+
url = url.match(regexDepot)[0];
|
|
2098
|
+
}
|
|
2086
2099
|
return this.http
|
|
2087
2100
|
.get(url, {
|
|
2088
2101
|
headers,
|
|
@@ -2100,7 +2113,7 @@ class SecureImagePipe {
|
|
|
2100
2113
|
}));
|
|
2101
2114
|
}
|
|
2102
2115
|
}
|
|
2103
|
-
SecureImagePipe.ɵfac = function SecureImagePipe_Factory(t) { return new (t || SecureImagePipe)(i0.ɵɵdirectiveInject(i1$3.HttpClient, 16)); };
|
|
2116
|
+
SecureImagePipe.ɵfac = function SecureImagePipe_Factory(t) { return new (t || SecureImagePipe)(i0.ɵɵdirectiveInject(i1$3.HttpClient, 16), i0.ɵɵdirectiveInject(i1$2.ConfigService, 16)); };
|
|
2104
2117
|
SecureImagePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "secureImage", type: SecureImagePipe, pure: true });
|
|
2105
2118
|
__decorate([
|
|
2106
2119
|
Cacheable({
|
|
@@ -2112,7 +2125,7 @@ __decorate([
|
|
|
2112
2125
|
args: [{
|
|
2113
2126
|
name: 'secureImage'
|
|
2114
2127
|
}]
|
|
2115
|
-
}], function () { return [{ type: i1$3.HttpClient }]; }, { transform: [] }); })();
|
|
2128
|
+
}], function () { return [{ type: i1$3.HttpClient }, { type: i1$2.ConfigService }]; }, { transform: [] }); })();
|
|
2116
2129
|
|
|
2117
2130
|
class SanitizeHtmlPipe {
|
|
2118
2131
|
constructor(_sanitizer) {
|
|
@@ -2180,30 +2193,32 @@ function EntityTableComponent_ng_container_5_ng_container_1_th_1_Template(rf, ct
|
|
|
2180
2193
|
i0.ɵɵelementEnd();
|
|
2181
2194
|
} if (rf & 2) {
|
|
2182
2195
|
const column_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
2196
|
+
i0.ɵɵproperty("matTooltip", column_r16.tooltip ? column_r16.tooltip : undefined);
|
|
2183
2197
|
i0.ɵɵadvance(1);
|
|
2184
2198
|
i0.ɵɵtextInterpolate1(" ", column_r16.title, " ");
|
|
2185
2199
|
} }
|
|
2186
2200
|
function EntityTableComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2187
2201
|
i0.ɵɵelementContainerStart(0);
|
|
2188
|
-
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_1_th_1_Template, 2,
|
|
2202
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_1_th_1_Template, 2, 2, "th", 15);
|
|
2189
2203
|
i0.ɵɵelementContainerEnd();
|
|
2190
2204
|
} }
|
|
2191
2205
|
function EntityTableComponent_ng_container_5_ng_container_2_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
2192
|
-
i0.ɵɵelementStart(0, "th",
|
|
2206
|
+
i0.ɵɵelementStart(0, "th", 18);
|
|
2193
2207
|
i0.ɵɵtext(1);
|
|
2194
2208
|
i0.ɵɵelementEnd();
|
|
2195
2209
|
} if (rf & 2) {
|
|
2196
2210
|
const column_r16 = i0.ɵɵnextContext(2).$implicit;
|
|
2211
|
+
i0.ɵɵproperty("matTooltip", column_r16.tooltip ? column_r16.tooltip : undefined);
|
|
2197
2212
|
i0.ɵɵadvance(1);
|
|
2198
2213
|
i0.ɵɵtextInterpolate1(" ", column_r16.title, " ");
|
|
2199
2214
|
} }
|
|
2200
2215
|
function EntityTableComponent_ng_container_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
2201
2216
|
i0.ɵɵelementContainerStart(0);
|
|
2202
|
-
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_2_th_1_Template, 2,
|
|
2217
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_2_th_1_Template, 2, 2, "th", 17);
|
|
2203
2218
|
i0.ɵɵelementContainerEnd();
|
|
2204
2219
|
} }
|
|
2205
2220
|
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",
|
|
2221
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
2207
2222
|
i0.ɵɵtext(1);
|
|
2208
2223
|
i0.ɵɵelementEnd();
|
|
2209
2224
|
} if (rf & 2) {
|
|
@@ -2215,7 +2230,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
|
|
|
2215
2230
|
i0.ɵɵtextInterpolate1(" ", ctx_r32.getValue(record_r31, column_r16), " ");
|
|
2216
2231
|
} }
|
|
2217
2232
|
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",
|
|
2233
|
+
i0.ɵɵelement(0, "img", 26);
|
|
2219
2234
|
i0.ɵɵpipe(1, "async");
|
|
2220
2235
|
i0.ɵɵpipe(2, "secureImage");
|
|
2221
2236
|
} if (rf & 2) {
|
|
@@ -2234,11 +2249,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
|
|
|
2234
2249
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.common.entity-table.targetHtmlUrl"), " ");
|
|
2235
2250
|
} }
|
|
2236
2251
|
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",
|
|
2238
|
-
i0.ɵɵelementStart(1, "a",
|
|
2252
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
2253
|
+
i0.ɵɵelementStart(1, "a", 23);
|
|
2239
2254
|
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",
|
|
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,
|
|
2255
|
+
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);
|
|
2256
|
+
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
2257
|
i0.ɵɵelementEnd();
|
|
2243
2258
|
i0.ɵɵelementEnd();
|
|
2244
2259
|
} if (rf & 2) {
|
|
@@ -2254,8 +2269,8 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
|
|
|
2254
2269
|
} }
|
|
2255
2270
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2256
2271
|
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",
|
|
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,
|
|
2272
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_td_1_Template, 2, 2, "td", 20);
|
|
2273
|
+
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
2274
|
i0.ɵɵelementContainerEnd();
|
|
2260
2275
|
} if (rf & 2) {
|
|
2261
2276
|
const record_r31 = ctx.$implicit;
|
|
@@ -2267,11 +2282,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_co
|
|
|
2267
2282
|
} }
|
|
2268
2283
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2269
2284
|
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",
|
|
2285
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_1_ng_container_1_Template, 4, 2, "ng-container", 19);
|
|
2271
2286
|
i0.ɵɵelementContainerEnd();
|
|
2272
2287
|
} }
|
|
2273
2288
|
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",
|
|
2289
|
+
i0.ɵɵelement(0, "td", 29);
|
|
2275
2290
|
} if (rf & 2) {
|
|
2276
2291
|
const record_r47 = i0.ɵɵnextContext().$implicit;
|
|
2277
2292
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
@@ -2279,7 +2294,7 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
|
|
|
2279
2294
|
i0.ɵɵproperty("ngClass", ctx_r48.getCellClass(record_r47, column_r16))("innerHTML", ctx_r48.getValue(record_r47, column_r16), i0.ɵɵsanitizeHtml);
|
|
2280
2295
|
} }
|
|
2281
2296
|
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",
|
|
2297
|
+
i0.ɵɵelement(0, "img", 26);
|
|
2283
2298
|
i0.ɵɵpipe(1, "async");
|
|
2284
2299
|
i0.ɵɵpipe(2, "secureImage");
|
|
2285
2300
|
} if (rf & 2) {
|
|
@@ -2298,11 +2313,11 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
|
|
|
2298
2313
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.geo.targetHtmlUrl"), " ");
|
|
2299
2314
|
} }
|
|
2300
2315
|
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",
|
|
2302
|
-
i0.ɵɵelementStart(1, "a",
|
|
2316
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
2317
|
+
i0.ɵɵelementStart(1, "a", 23);
|
|
2303
2318
|
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",
|
|
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,
|
|
2319
|
+
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);
|
|
2320
|
+
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
2321
|
i0.ɵɵelementEnd();
|
|
2307
2322
|
i0.ɵɵelementEnd();
|
|
2308
2323
|
} if (rf & 2) {
|
|
@@ -2318,8 +2333,8 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
|
|
|
2318
2333
|
} }
|
|
2319
2334
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2320
2335
|
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",
|
|
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,
|
|
2336
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_td_1_Template, 1, 2, "td", 27);
|
|
2337
|
+
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
2338
|
i0.ɵɵelementContainerEnd();
|
|
2324
2339
|
} if (rf & 2) {
|
|
2325
2340
|
const record_r47 = ctx.$implicit;
|
|
@@ -2331,29 +2346,185 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_co
|
|
|
2331
2346
|
} }
|
|
2332
2347
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
2333
2348
|
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",
|
|
2349
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_2_ng_container_1_Template, 4, 2, "ng-container", 19);
|
|
2335
2350
|
i0.ɵɵelementContainerEnd();
|
|
2336
2351
|
} }
|
|
2352
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
2353
|
+
const _r79 = i0.ɵɵgetCurrentView();
|
|
2354
|
+
i0.ɵɵelementStart(0, "div", 43);
|
|
2355
|
+
i0.ɵɵelement(1, "mat-datepicker-toggle", 44);
|
|
2356
|
+
i0.ɵɵelementStart(2, "input", 45);
|
|
2357
|
+
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); });
|
|
2358
|
+
i0.ɵɵelementEnd();
|
|
2359
|
+
i0.ɵɵelement(3, "mat-datepicker", null, 46);
|
|
2360
|
+
i0.ɵɵelementEnd();
|
|
2361
|
+
} if (rf & 2) {
|
|
2362
|
+
const _r76 = i0.ɵɵreference(4);
|
|
2363
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2364
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2365
|
+
const ctx_r67 = i0.ɵɵnextContext();
|
|
2366
|
+
i0.ɵɵadvance(1);
|
|
2367
|
+
i0.ɵɵproperty("for", _r76);
|
|
2368
|
+
i0.ɵɵadvance(1);
|
|
2369
|
+
i0.ɵɵpropertyInterpolate("value", ctx_r67.getValue(record_r63, column_r16));
|
|
2370
|
+
i0.ɵɵproperty("matDatepicker", _r76)("formControlName", column_r16.name);
|
|
2371
|
+
} }
|
|
2372
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_2_Template(rf, ctx) { if (rf & 1) {
|
|
2373
|
+
const _r85 = i0.ɵɵgetCurrentView();
|
|
2374
|
+
i0.ɵɵelementStart(0, "input", 47);
|
|
2375
|
+
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); });
|
|
2376
|
+
i0.ɵɵelementEnd();
|
|
2377
|
+
} if (rf & 2) {
|
|
2378
|
+
const column_r16 = i0.ɵɵnextContext(5).$implicit;
|
|
2379
|
+
i0.ɵɵproperty("formControlName", column_r16.name);
|
|
2380
|
+
} }
|
|
2381
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_3_Template(rf, ctx) { if (rf & 1) {
|
|
2382
|
+
const _r93 = i0.ɵɵgetCurrentView();
|
|
2383
|
+
i0.ɵɵelementStart(0, "input", 48);
|
|
2384
|
+
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); });
|
|
2385
|
+
i0.ɵɵelementEnd();
|
|
2386
|
+
} if (rf & 2) {
|
|
2387
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2388
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2389
|
+
const ctx_r69 = i0.ɵɵnextContext();
|
|
2390
|
+
i0.ɵɵpropertyInterpolate("step", column_r16.step);
|
|
2391
|
+
i0.ɵɵpropertyInterpolate("value", ctx_r69.getValue(record_r63, column_r16));
|
|
2392
|
+
i0.ɵɵpropertyInterpolate("readonly", ctx_r69.getValidationAttributeValue(column_r16, "readonly"));
|
|
2393
|
+
i0.ɵɵpropertyInterpolate("required", ctx_r69.getValidationAttributeValue(column_r16, "mandatory"));
|
|
2394
|
+
i0.ɵɵpropertyInterpolate("min", ctx_r69.getValidationAttributeValue(column_r16, "minValue"));
|
|
2395
|
+
i0.ɵɵpropertyInterpolate("max", ctx_r69.getValidationAttributeValue(column_r16, "maxValue"));
|
|
2396
|
+
i0.ɵɵproperty("formControlName", column_r16.name);
|
|
2397
|
+
} }
|
|
2398
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_4_Template(rf, ctx) { if (rf & 1) {
|
|
2399
|
+
const _r99 = i0.ɵɵgetCurrentView();
|
|
2400
|
+
i0.ɵɵelementStart(0, "input", 49);
|
|
2401
|
+
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); });
|
|
2402
|
+
i0.ɵɵelementEnd();
|
|
2403
|
+
} if (rf & 2) {
|
|
2404
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2405
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2406
|
+
const ctx_r70 = i0.ɵɵnextContext();
|
|
2407
|
+
i0.ɵɵpropertyInterpolate("value", ctx_r70.getValue(record_r63, column_r16));
|
|
2408
|
+
i0.ɵɵpropertyInterpolate("readonly", ctx_r70.getValidationAttributeValue(column_r16, "readonly"));
|
|
2409
|
+
i0.ɵɵpropertyInterpolate("required", ctx_r70.getValidationAttributeValue(column_r16, "mandatory"));
|
|
2410
|
+
i0.ɵɵproperty("formControlName", column_r16.name);
|
|
2411
|
+
} }
|
|
2412
|
+
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) {
|
|
2413
|
+
const _r105 = i0.ɵɵgetCurrentView();
|
|
2414
|
+
i0.ɵɵelementStart(0, "mat-checkbox", 50);
|
|
2415
|
+
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); });
|
|
2416
|
+
i0.ɵɵelementEnd();
|
|
2417
|
+
} if (rf & 2) {
|
|
2418
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2419
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2420
|
+
const ctx_r71 = i0.ɵɵnextContext();
|
|
2421
|
+
i0.ɵɵproperty("formControlName", column_r16.name)("checked", ctx_r71.getValue(record_r63, column_r16));
|
|
2422
|
+
} }
|
|
2423
|
+
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) {
|
|
2424
|
+
i0.ɵɵelementStart(0, "mat-option", 53);
|
|
2425
|
+
i0.ɵɵtext(1);
|
|
2426
|
+
i0.ɵɵelementEnd();
|
|
2427
|
+
} if (rf & 2) {
|
|
2428
|
+
const option_r110 = ctx.$implicit;
|
|
2429
|
+
i0.ɵɵproperty("value", option_r110.id)("disabled", option_r110.disabled);
|
|
2430
|
+
i0.ɵɵadvance(1);
|
|
2431
|
+
i0.ɵɵtextInterpolate1(" ", option_r110.value, " ");
|
|
2432
|
+
} }
|
|
2433
|
+
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) {
|
|
2434
|
+
const _r113 = i0.ɵɵgetCurrentView();
|
|
2435
|
+
i0.ɵɵelementStart(0, "mat-select", 51);
|
|
2436
|
+
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); });
|
|
2437
|
+
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);
|
|
2438
|
+
i0.ɵɵelementEnd();
|
|
2439
|
+
} if (rf & 2) {
|
|
2440
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2441
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2442
|
+
const ctx_r72 = i0.ɵɵnextContext();
|
|
2443
|
+
i0.ɵɵpropertyInterpolate("required", ctx_r72.getValidationAttributeValue(column_r16, "mandatory"));
|
|
2444
|
+
i0.ɵɵproperty("formControlName", column_r16.name)("multiple", column_r16.multiple)("value", ctx_r72.getValue(record_r63, column_r16));
|
|
2445
|
+
i0.ɵɵadvance(1);
|
|
2446
|
+
i0.ɵɵproperty("ngForOf", column_r16.domainValues);
|
|
2447
|
+
} }
|
|
2448
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_input_7_Template(rf, ctx) { if (rf & 1) {
|
|
2449
|
+
i0.ɵɵelement(0, "input", 54);
|
|
2450
|
+
} if (rf & 2) {
|
|
2451
|
+
i0.ɵɵnextContext();
|
|
2452
|
+
const _r74 = i0.ɵɵreference(9);
|
|
2453
|
+
const record_r63 = i0.ɵɵnextContext().$implicit;
|
|
2454
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2455
|
+
const ctx_r73 = i0.ɵɵnextContext();
|
|
2456
|
+
i0.ɵɵpropertyInterpolate("required", ctx_r73.getValidationAttributeValue(column_r16, "mandatory"));
|
|
2457
|
+
i0.ɵɵpropertyInterpolate("value", ctx_r73.getValue(record_r63, column_r16));
|
|
2458
|
+
i0.ɵɵproperty("formControlName", column_r16.name)("matAutocomplete", _r74);
|
|
2459
|
+
} }
|
|
2460
|
+
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) {
|
|
2461
|
+
i0.ɵɵelementStart(0, "mat-option", 55);
|
|
2462
|
+
i0.ɵɵtext(1);
|
|
2463
|
+
i0.ɵɵelementEnd();
|
|
2464
|
+
} if (rf & 2) {
|
|
2465
|
+
const option_r119 = ctx.$implicit;
|
|
2466
|
+
i0.ɵɵproperty("value", option_r119.id);
|
|
2467
|
+
i0.ɵɵadvance(1);
|
|
2468
|
+
i0.ɵɵtextInterpolate1(" ", option_r119.value, " ");
|
|
2469
|
+
} }
|
|
2337
2470
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2338
|
-
i0.ɵɵ
|
|
2339
|
-
i0.ɵɵ
|
|
2471
|
+
const _r122 = i0.ɵɵgetCurrentView();
|
|
2472
|
+
i0.ɵɵelementStart(0, "td", 32);
|
|
2473
|
+
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);
|
|
2474
|
+
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);
|
|
2475
|
+
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);
|
|
2476
|
+
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);
|
|
2477
|
+
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);
|
|
2478
|
+
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);
|
|
2479
|
+
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);
|
|
2480
|
+
i0.ɵɵelementStart(8, "mat-autocomplete", 40, 41);
|
|
2481
|
+
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); });
|
|
2482
|
+
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);
|
|
2483
|
+
i0.ɵɵpipe(11, "async");
|
|
2484
|
+
i0.ɵɵelementEnd();
|
|
2485
|
+
i0.ɵɵelementEnd();
|
|
2340
2486
|
} if (rf & 2) {
|
|
2341
2487
|
const record_r63 = i0.ɵɵnextContext().$implicit;
|
|
2342
2488
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2343
2489
|
const ctx_r64 = i0.ɵɵnextContext();
|
|
2344
|
-
i0.ɵɵproperty("
|
|
2490
|
+
i0.ɵɵproperty("formGroup", ctx_r64.formGroup)("ngClass", ctx_r64.getCellClass(record_r63, column_r16));
|
|
2491
|
+
i0.ɵɵadvance(1);
|
|
2492
|
+
i0.ɵɵproperty("ngIf", column_r16.type === "date");
|
|
2493
|
+
i0.ɵɵadvance(1);
|
|
2494
|
+
i0.ɵɵproperty("ngIf", column_r16.type === "time");
|
|
2495
|
+
i0.ɵɵadvance(1);
|
|
2496
|
+
i0.ɵɵproperty("ngIf", column_r16.type === "number");
|
|
2497
|
+
i0.ɵɵadvance(1);
|
|
2498
|
+
i0.ɵɵproperty("ngIf", !column_r16.type || column_r16.type === "string");
|
|
2499
|
+
i0.ɵɵadvance(1);
|
|
2500
|
+
i0.ɵɵproperty("ngIf", column_r16.type === "boolean");
|
|
2501
|
+
i0.ɵɵadvance(1);
|
|
2502
|
+
i0.ɵɵproperty("ngIf", column_r16.type === "list");
|
|
2503
|
+
i0.ɵɵadvance(1);
|
|
2504
|
+
i0.ɵɵproperty("ngIf", column_r16.type === "autocomplete");
|
|
2505
|
+
i0.ɵɵadvance(3);
|
|
2506
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(11, 10, ctx_r64.filteredOptions));
|
|
2345
2507
|
} }
|
|
2346
|
-
function
|
|
2347
|
-
i0.ɵɵelement(0, "
|
|
2508
|
+
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) {
|
|
2509
|
+
i0.ɵɵelement(0, "td", 29);
|
|
2510
|
+
i0.ɵɵpipe(1, "sanitizeHtml");
|
|
2511
|
+
} if (rf & 2) {
|
|
2512
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2513
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2514
|
+
const ctx_r126 = i0.ɵɵnextContext();
|
|
2515
|
+
i0.ɵɵproperty("ngClass", ctx_r126.getCellClass(record_r63, column_r16))("innerHTML", i0.ɵɵpipeBind1(1, 2, ctx_r126.getValue(record_r63, column_r16)), i0.ɵɵsanitizeHtml);
|
|
2516
|
+
} }
|
|
2517
|
+
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) {
|
|
2518
|
+
i0.ɵɵelement(0, "img", 26);
|
|
2348
2519
|
i0.ɵɵpipe(1, "async");
|
|
2349
2520
|
i0.ɵɵpipe(2, "secureImage");
|
|
2350
2521
|
} if (rf & 2) {
|
|
2351
|
-
const record_r63 = i0.ɵɵnextContext(
|
|
2522
|
+
const record_r63 = i0.ɵɵnextContext(3).$implicit;
|
|
2352
2523
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2353
|
-
const
|
|
2354
|
-
i0.ɵɵpropertyInterpolate("src", i0.ɵɵpipeBind1(1, 1, i0.ɵɵpipeBind1(2, 3,
|
|
2524
|
+
const ctx_r131 = i0.ɵɵnextContext();
|
|
2525
|
+
i0.ɵɵpropertyInterpolate("src", i0.ɵɵpipeBind1(1, 1, i0.ɵɵpipeBind1(2, 3, ctx_r131.getValue(record_r63, column_r16))), i0.ɵɵsanitizeUrl);
|
|
2355
2526
|
} }
|
|
2356
|
-
function
|
|
2527
|
+
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
2528
|
i0.ɵɵelementStart(0, "span");
|
|
2358
2529
|
i0.ɵɵtext(1);
|
|
2359
2530
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -2362,111 +2533,137 @@ function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_co
|
|
|
2362
2533
|
i0.ɵɵadvance(1);
|
|
2363
2534
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, "igo.geo.targetHtmlUrl"), " ");
|
|
2364
2535
|
} }
|
|
2365
|
-
function
|
|
2366
|
-
i0.ɵɵelementStart(0, "td",
|
|
2367
|
-
i0.ɵɵelementStart(1, "a",
|
|
2368
|
-
i0.ɵɵlistener("click", function
|
|
2369
|
-
i0.ɵɵtemplate(2,
|
|
2370
|
-
i0.ɵɵtemplate(3,
|
|
2536
|
+
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) {
|
|
2537
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
2538
|
+
i0.ɵɵelementStart(1, "a", 23);
|
|
2539
|
+
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(); });
|
|
2540
|
+
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);
|
|
2541
|
+
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
2542
|
i0.ɵɵelementEnd();
|
|
2372
2543
|
i0.ɵɵelementEnd();
|
|
2373
2544
|
} if (rf & 2) {
|
|
2374
|
-
const
|
|
2375
|
-
const record_r63 = i0.ɵɵnextContext().$implicit;
|
|
2545
|
+
const _r132 = i0.ɵɵreference(4);
|
|
2546
|
+
const record_r63 = i0.ɵɵnextContext(2).$implicit;
|
|
2376
2547
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2377
|
-
const
|
|
2378
|
-
i0.ɵɵproperty("ngClass",
|
|
2548
|
+
const ctx_r128 = i0.ɵɵnextContext();
|
|
2549
|
+
i0.ɵɵproperty("ngClass", ctx_r128.getCellClass(record_r63, column_r16));
|
|
2379
2550
|
i0.ɵɵadvance(1);
|
|
2380
|
-
i0.ɵɵpropertyInterpolate("href",
|
|
2551
|
+
i0.ɵɵpropertyInterpolate("href", ctx_r128.getValue(record_r63, column_r16), i0.ɵɵsanitizeUrl);
|
|
2381
2552
|
i0.ɵɵadvance(1);
|
|
2382
|
-
i0.ɵɵproperty("ngIf",
|
|
2553
|
+
i0.ɵɵproperty("ngIf", ctx_r128.isImg(ctx_r128.getValue(record_r63, column_r16)))("ngIfElse", _r132);
|
|
2554
|
+
} }
|
|
2555
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2556
|
+
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);
|
|
2557
|
+
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);
|
|
2558
|
+
} if (rf & 2) {
|
|
2559
|
+
const _r127 = i0.ɵɵreference(2);
|
|
2560
|
+
const record_r63 = i0.ɵɵnextContext().$implicit;
|
|
2561
|
+
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2562
|
+
const ctx_r66 = i0.ɵɵnextContext();
|
|
2563
|
+
i0.ɵɵproperty("ngIf", !ctx_r66.isUrl(ctx_r66.getValue(record_r63, column_r16)))("ngIfElse", _r127);
|
|
2383
2564
|
} }
|
|
2384
2565
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2385
2566
|
i0.ɵɵelementContainerStart(0);
|
|
2386
|
-
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template,
|
|
2387
|
-
i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_ng_template_2_Template,
|
|
2567
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_td_1_Template, 12, 12, "td", 30);
|
|
2568
|
+
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
2569
|
i0.ɵɵelementContainerEnd();
|
|
2389
2570
|
} if (rf & 2) {
|
|
2390
2571
|
const record_r63 = ctx.$implicit;
|
|
2391
2572
|
const _r65 = i0.ɵɵreference(3);
|
|
2392
|
-
const
|
|
2393
|
-
const ctx_r62 = i0.ɵɵnextContext();
|
|
2573
|
+
const ctx_r62 = i0.ɵɵnextContext(4);
|
|
2394
2574
|
i0.ɵɵadvance(1);
|
|
2395
|
-
i0.ɵɵproperty("ngIf",
|
|
2575
|
+
i0.ɵɵproperty("ngIf", ctx_r62.isEdition(record_r63))("ngIfElse", _r65);
|
|
2396
2576
|
} }
|
|
2397
2577
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
2398
2578
|
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",
|
|
2579
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_3_ng_container_1_Template, 4, 2, "ng-container", 19);
|
|
2400
2580
|
i0.ɵɵelementContainerEnd();
|
|
2401
2581
|
} }
|
|
2402
2582
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template(rf, ctx) { if (rf & 1) {
|
|
2403
|
-
i0.ɵɵ
|
|
2404
|
-
i0.ɵɵ
|
|
2583
|
+
const _r145 = i0.ɵɵgetCurrentView();
|
|
2584
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
2585
|
+
i0.ɵɵelementStart(1, "mat-icon", 58);
|
|
2586
|
+
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); });
|
|
2587
|
+
i0.ɵɵelementEnd();
|
|
2405
2588
|
i0.ɵɵelementEnd();
|
|
2406
2589
|
} if (rf & 2) {
|
|
2407
|
-
const
|
|
2590
|
+
const record_r142 = ctx.$implicit;
|
|
2408
2591
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2409
|
-
const
|
|
2410
|
-
i0.ɵɵproperty("ngClass",
|
|
2592
|
+
const ctx_r141 = i0.ɵɵnextContext();
|
|
2593
|
+
i0.ɵɵproperty("ngClass", ctx_r141.getCellClass(record_r142, column_r16));
|
|
2411
2594
|
i0.ɵɵadvance(1);
|
|
2412
|
-
i0.ɵɵpropertyInterpolate("svgIcon",
|
|
2595
|
+
i0.ɵɵpropertyInterpolate("svgIcon", ctx_r141.getValue(record_r142, column_r16) || column_r16.icon);
|
|
2413
2596
|
} }
|
|
2414
2597
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
2415
2598
|
i0.ɵɵelementContainerStart(0);
|
|
2416
|
-
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template, 2, 2, "td",
|
|
2599
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_4_td_1_Template, 2, 2, "td", 57);
|
|
2417
2600
|
i0.ɵɵelementContainerEnd();
|
|
2418
2601
|
} }
|
|
2419
|
-
function
|
|
2420
|
-
const
|
|
2421
|
-
i0.ɵɵelementStart(0, "button",
|
|
2422
|
-
i0.ɵɵlistener("
|
|
2423
|
-
i0.ɵɵelement(1, "mat-icon",
|
|
2602
|
+
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) {
|
|
2603
|
+
const _r156 = i0.ɵɵgetCurrentView();
|
|
2604
|
+
i0.ɵɵelementStart(0, "button", 62);
|
|
2605
|
+
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); });
|
|
2606
|
+
i0.ɵɵelement(1, "mat-icon", 63);
|
|
2424
2607
|
i0.ɵɵelementEnd();
|
|
2425
2608
|
} if (rf & 2) {
|
|
2426
|
-
const
|
|
2427
|
-
i0.ɵɵproperty("color",
|
|
2609
|
+
const button_r150 = i0.ɵɵnextContext(2).$implicit;
|
|
2610
|
+
i0.ɵɵproperty("color", button_r150.color)("disabled", button_r150.disabled);
|
|
2428
2611
|
i0.ɵɵadvance(1);
|
|
2429
|
-
i0.ɵɵpropertyInterpolate("svgIcon",
|
|
2612
|
+
i0.ɵɵpropertyInterpolate("svgIcon", button_r150.icon);
|
|
2430
2613
|
} }
|
|
2431
|
-
function
|
|
2432
|
-
const
|
|
2433
|
-
i0.ɵɵelementStart(0, "button",
|
|
2434
|
-
i0.ɵɵlistener("
|
|
2435
|
-
i0.ɵɵelement(1, "mat-icon",
|
|
2614
|
+
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) {
|
|
2615
|
+
const _r161 = i0.ɵɵgetCurrentView();
|
|
2616
|
+
i0.ɵɵelementStart(0, "button", 64);
|
|
2617
|
+
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); });
|
|
2618
|
+
i0.ɵɵelement(1, "mat-icon", 63);
|
|
2436
2619
|
i0.ɵɵelementEnd();
|
|
2437
2620
|
} if (rf & 2) {
|
|
2438
|
-
const
|
|
2439
|
-
i0.ɵɵproperty("color",
|
|
2621
|
+
const button_r150 = i0.ɵɵnextContext(2).$implicit;
|
|
2622
|
+
i0.ɵɵproperty("color", button_r150.color)("disabled", button_r150.disabled);
|
|
2623
|
+
i0.ɵɵadvance(1);
|
|
2624
|
+
i0.ɵɵpropertyInterpolate("svgIcon", button_r150.icon);
|
|
2625
|
+
} }
|
|
2626
|
+
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) {
|
|
2627
|
+
i0.ɵɵelementContainerStart(0);
|
|
2628
|
+
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);
|
|
2629
|
+
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);
|
|
2630
|
+
i0.ɵɵelementContainerEnd();
|
|
2631
|
+
} if (rf & 2) {
|
|
2632
|
+
const button_r150 = i0.ɵɵnextContext().$implicit;
|
|
2633
|
+
i0.ɵɵadvance(1);
|
|
2634
|
+
i0.ɵɵproperty("ngIf", button_r150.style === "mat-icon-button");
|
|
2440
2635
|
i0.ɵɵadvance(1);
|
|
2441
|
-
i0.ɵɵ
|
|
2636
|
+
i0.ɵɵproperty("ngIf", button_r150.style !== "mat-icon-button");
|
|
2442
2637
|
} }
|
|
2443
|
-
function
|
|
2638
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
2444
2639
|
i0.ɵɵelementStart(0, "span");
|
|
2445
|
-
i0.ɵɵtemplate(1,
|
|
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);
|
|
2640
|
+
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
2641
|
i0.ɵɵelementEnd();
|
|
2448
2642
|
} if (rf & 2) {
|
|
2449
|
-
const
|
|
2643
|
+
const button_r150 = ctx.$implicit;
|
|
2644
|
+
const record_r148 = i0.ɵɵnextContext().$implicit;
|
|
2645
|
+
const ctx_r149 = i0.ɵɵnextContext(4);
|
|
2450
2646
|
i0.ɵɵadvance(1);
|
|
2451
|
-
i0.ɵɵproperty("ngIf",
|
|
2452
|
-
i0.ɵɵadvance(1);
|
|
2453
|
-
i0.ɵɵproperty("ngIf", button_r84.style !== "mat-icon-button");
|
|
2647
|
+
i0.ɵɵproperty("ngIf", ctx_r149.isEdition(record_r148) === button_r150.editMode);
|
|
2454
2648
|
} }
|
|
2455
|
-
function
|
|
2456
|
-
i0.ɵɵ
|
|
2457
|
-
i0.ɵɵ
|
|
2649
|
+
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
2650
|
+
i0.ɵɵelementContainerStart(0);
|
|
2651
|
+
i0.ɵɵelementStart(1, "td", 22);
|
|
2652
|
+
i0.ɵɵtemplate(2, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_span_2_Template, 2, 1, "span", 59);
|
|
2458
2653
|
i0.ɵɵelementEnd();
|
|
2654
|
+
i0.ɵɵelementContainerEnd();
|
|
2459
2655
|
} if (rf & 2) {
|
|
2460
|
-
const
|
|
2656
|
+
const record_r148 = ctx.$implicit;
|
|
2461
2657
|
const column_r16 = i0.ɵɵnextContext(3).$implicit;
|
|
2462
|
-
const
|
|
2463
|
-
i0.ɵɵ
|
|
2658
|
+
const ctx_r147 = i0.ɵɵnextContext();
|
|
2659
|
+
i0.ɵɵadvance(1);
|
|
2660
|
+
i0.ɵɵproperty("ngClass", ctx_r147.getCellClass(record_r148, column_r16));
|
|
2464
2661
|
i0.ɵɵadvance(1);
|
|
2465
|
-
i0.ɵɵproperty("ngForOf",
|
|
2662
|
+
i0.ɵɵproperty("ngForOf", ctx_r147.getValue(record_r148, column_r16));
|
|
2466
2663
|
} }
|
|
2467
2664
|
function EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
2468
2665
|
i0.ɵɵelementContainerStart(0);
|
|
2469
|
-
i0.ɵɵtemplate(1,
|
|
2666
|
+
i0.ɵɵtemplate(1, EntityTableComponent_ng_container_5_ng_container_3_ng_container_5_ng_container_1_Template, 3, 2, "ng-container", 19);
|
|
2470
2667
|
i0.ɵɵelementContainerEnd();
|
|
2471
2668
|
} }
|
|
2472
2669
|
function EntityTableComponent_ng_container_5_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -2509,34 +2706,44 @@ function EntityTableComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
2509
2706
|
i0.ɵɵproperty("ngIf", ctx_r2.getColumnRenderer(column_r16));
|
|
2510
2707
|
} }
|
|
2511
2708
|
function EntityTableComponent_tr_6_Template(rf, ctx) { if (rf & 1) {
|
|
2512
|
-
i0.ɵɵelement(0, "tr",
|
|
2709
|
+
i0.ɵɵelement(0, "tr", 65);
|
|
2513
2710
|
} if (rf & 2) {
|
|
2514
2711
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
2515
2712
|
i0.ɵɵproperty("ngClass", ctx_r3.getHeaderClass());
|
|
2516
2713
|
} }
|
|
2517
2714
|
function EntityTableComponent_tr_7_Template(rf, ctx) { if (rf & 1) {
|
|
2518
|
-
const
|
|
2519
|
-
i0.ɵɵelementStart(0, "tr",
|
|
2520
|
-
i0.ɵɵlistener("select", function EntityTableComponent_tr_7_Template_tr_select_0_listener() { const restoredCtx = i0.ɵɵrestoreView(
|
|
2715
|
+
const _r169 = i0.ɵɵgetCurrentView();
|
|
2716
|
+
i0.ɵɵelementStart(0, "tr", 66);
|
|
2717
|
+
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
2718
|
i0.ɵɵelementEnd();
|
|
2522
2719
|
} if (rf & 2) {
|
|
2523
|
-
const
|
|
2720
|
+
const record_r167 = ctx.$implicit;
|
|
2524
2721
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
2525
|
-
i0.ɵɵproperty("scrollBehavior", ctx_r4.scrollBehavior)("ngClass", ctx_r4.getRowClass(
|
|
2722
|
+
i0.ɵɵproperty("scrollBehavior", ctx_r4.scrollBehavior)("ngClass", ctx_r4.getRowClass(record_r167))("selection", ctx_r4.selection)("selected", ctx_r4.rowIsSelected(record_r167));
|
|
2526
2723
|
} }
|
|
2527
2724
|
function EntityTableComponent_igo_entity_table_paginator_8_Template(rf, ctx) { if (rf & 1) {
|
|
2528
|
-
const
|
|
2529
|
-
i0.ɵɵelementStart(0, "igo-entity-table-paginator",
|
|
2530
|
-
i0.ɵɵlistener("paginatorChange", function EntityTableComponent_igo_entity_table_paginator_8_Template_igo_entity_table_paginator_paginatorChange_0_listener($event) { i0.ɵɵrestoreView(
|
|
2725
|
+
const _r172 = i0.ɵɵgetCurrentView();
|
|
2726
|
+
i0.ɵɵelementStart(0, "igo-entity-table-paginator", 67);
|
|
2727
|
+
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
2728
|
i0.ɵɵelementEnd();
|
|
2532
2729
|
} if (rf & 2) {
|
|
2533
2730
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
2534
2731
|
i0.ɵɵproperty("store", ctx_r5.store)("paginatorOptions", ctx_r5.paginatorOptions)("entitySortChange$", ctx_r5.entitySortChange$);
|
|
2535
2732
|
} }
|
|
2733
|
+
const moment = moment_;
|
|
2536
2734
|
class EntityTableComponent {
|
|
2537
|
-
constructor(cdRef) {
|
|
2735
|
+
constructor(cdRef, formBuilder, _focusMonitor, _elementRef, ngControl, _parentForm, _controlName, _defaultErrorStateMatcher, dateAdapter) {
|
|
2538
2736
|
this.cdRef = cdRef;
|
|
2737
|
+
this.formBuilder = formBuilder;
|
|
2738
|
+
this._focusMonitor = _focusMonitor;
|
|
2739
|
+
this._elementRef = _elementRef;
|
|
2740
|
+
this.ngControl = ngControl;
|
|
2741
|
+
this._parentForm = _parentForm;
|
|
2742
|
+
this._controlName = _controlName;
|
|
2743
|
+
this._defaultErrorStateMatcher = _defaultErrorStateMatcher;
|
|
2744
|
+
this.dateAdapter = dateAdapter;
|
|
2539
2745
|
this.entitySortChange$ = new BehaviorSubject(false);
|
|
2746
|
+
this.formGroup = new FormGroup({});
|
|
2540
2747
|
/**
|
|
2541
2748
|
* Reference to the column renderer types
|
|
2542
2749
|
* @internal
|
|
@@ -2581,6 +2788,7 @@ class EntityTableComponent {
|
|
|
2581
2788
|
* @internal
|
|
2582
2789
|
*/
|
|
2583
2790
|
this.dataSource = new MatTableDataSource();
|
|
2791
|
+
this.dateAdapter.setLocale('fr-CA');
|
|
2584
2792
|
}
|
|
2585
2793
|
/**
|
|
2586
2794
|
* Table paginator
|
|
@@ -2642,6 +2850,122 @@ class EntityTableComponent {
|
|
|
2642
2850
|
this.handleDatasource();
|
|
2643
2851
|
}
|
|
2644
2852
|
}
|
|
2853
|
+
/**
|
|
2854
|
+
* Process text or number value change (edition)
|
|
2855
|
+
*/
|
|
2856
|
+
onValueChange(column, record, event) {
|
|
2857
|
+
const key = this.getColumnKeyWithoutPropertiesTag(column);
|
|
2858
|
+
record.entity.properties[key] = event.target.value;
|
|
2859
|
+
}
|
|
2860
|
+
/**
|
|
2861
|
+
* Process boolean value change (edition)
|
|
2862
|
+
*/
|
|
2863
|
+
onBooleanValueChange(column, record, event) {
|
|
2864
|
+
const key = this.getColumnKeyWithoutPropertiesTag(column);
|
|
2865
|
+
record.entity.properties[key] = event.checked;
|
|
2866
|
+
}
|
|
2867
|
+
/**
|
|
2868
|
+
* Process select value change (edition)
|
|
2869
|
+
*/
|
|
2870
|
+
onSelectValueChange(column, record, event) {
|
|
2871
|
+
const key = this.getColumnKeyWithoutPropertiesTag(column);
|
|
2872
|
+
record.entity.properties[key] = event.value;
|
|
2873
|
+
}
|
|
2874
|
+
/**
|
|
2875
|
+
* Process autocomplete value change (edition)
|
|
2876
|
+
*/
|
|
2877
|
+
onAutocompleteValueChange(column, record, event) {
|
|
2878
|
+
this.formGroup.controls[column].setValue(event.option.viewValue);
|
|
2879
|
+
const key = this.getColumnKeyWithoutPropertiesTag(column);
|
|
2880
|
+
record.entity.properties[key] = event.option.value;
|
|
2881
|
+
}
|
|
2882
|
+
/**
|
|
2883
|
+
* Process date value change (edition)
|
|
2884
|
+
*/
|
|
2885
|
+
onDateChange(column, record, event) {
|
|
2886
|
+
const format = "YYYY-MM-DD";
|
|
2887
|
+
const value = moment(event.value).format(format);
|
|
2888
|
+
const key = this.getColumnKeyWithoutPropertiesTag(column);
|
|
2889
|
+
record.entity.properties[key] = value;
|
|
2890
|
+
}
|
|
2891
|
+
/**
|
|
2892
|
+
* Enable edition mode for one row
|
|
2893
|
+
* More than one row can be edited at the same time
|
|
2894
|
+
*/
|
|
2895
|
+
enableEdit(record) {
|
|
2896
|
+
const item = record.entity.properties || record.entity;
|
|
2897
|
+
this.template.columns.forEach(column => {
|
|
2898
|
+
var _a;
|
|
2899
|
+
column.title = ((_a = column.validation) === null || _a === void 0 ? void 0 : _a.mandatory) && !column.title.includes('*') ? column.title + ' *' : column.title;
|
|
2900
|
+
const key = this.getColumnKeyWithoutPropertiesTag(column.name);
|
|
2901
|
+
if (column.type === 'boolean') {
|
|
2902
|
+
if (!item[key] || item[key] === null) {
|
|
2903
|
+
item[key] = false;
|
|
2904
|
+
}
|
|
2905
|
+
else if (typeof item[key] === 'string') {
|
|
2906
|
+
item[key] = JSON.parse(item[key].toLowerCase());
|
|
2907
|
+
}
|
|
2908
|
+
this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
|
|
2909
|
+
}
|
|
2910
|
+
else if (column.type === 'list') {
|
|
2911
|
+
if (column.multiple) {
|
|
2912
|
+
this.formGroup.setControl(column.name, this.formBuilder.control([item[key]]));
|
|
2913
|
+
}
|
|
2914
|
+
else {
|
|
2915
|
+
this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
|
|
2916
|
+
typeof item[key] === 'string' ?
|
|
2917
|
+
this.formGroup.controls[column.name].setValue(parseInt(item[key])) :
|
|
2918
|
+
this.formGroup.controls[column.name].setValue(item[key]);
|
|
2919
|
+
}
|
|
2920
|
+
}
|
|
2921
|
+
else if (column.type === 'autocomplete') {
|
|
2922
|
+
this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
|
|
2923
|
+
this.filteredOptions = this.formGroup.controls[column.name].valueChanges.pipe(map(value => {
|
|
2924
|
+
if (value.length) {
|
|
2925
|
+
return column.domainValues.filter((option) => {
|
|
2926
|
+
const filterNormalized = value ? value.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '') : '';
|
|
2927
|
+
const featureNameNormalized = option.value.toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
|
2928
|
+
return featureNameNormalized.includes(filterNormalized);
|
|
2929
|
+
});
|
|
2930
|
+
}
|
|
2931
|
+
}));
|
|
2932
|
+
let formControlValue = item[key];
|
|
2933
|
+
column.domainValues.forEach(option => {
|
|
2934
|
+
if (typeof formControlValue === 'string' && /^\d+$/.test(formControlValue)) {
|
|
2935
|
+
formControlValue = parseInt(formControlValue);
|
|
2936
|
+
}
|
|
2937
|
+
if (option.value === formControlValue || option.id === formControlValue) {
|
|
2938
|
+
formControlValue = option.value;
|
|
2939
|
+
}
|
|
2940
|
+
});
|
|
2941
|
+
this.formGroup.controls[column.name].setValue(formControlValue);
|
|
2942
|
+
if (this.isEdition(record) && column.linkColumnForce) {
|
|
2943
|
+
const entity = record.entity;
|
|
2944
|
+
this.formGroup.controls[column.name].setValue(entity === null || entity === void 0 ? void 0 : entity.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)]);
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
else if (column.type === 'date') {
|
|
2948
|
+
if (column.visible) {
|
|
2949
|
+
if (item[key]) {
|
|
2950
|
+
let date = moment(item[key]);
|
|
2951
|
+
item[key] = date.utc().format('YYYY-MM-DD');
|
|
2952
|
+
this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
|
|
2953
|
+
}
|
|
2954
|
+
else {
|
|
2955
|
+
const newKey = this.getColumnKeyWithoutPropertiesTag(column.name);
|
|
2956
|
+
record.entity.properties[newKey] = null;
|
|
2957
|
+
this.formGroup.setControl(column.name, this.formBuilder.control(null));
|
|
2958
|
+
}
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
else {
|
|
2962
|
+
this.formGroup.setControl(column.name, this.formBuilder.control(item[key]));
|
|
2963
|
+
}
|
|
2964
|
+
if (this.formGroup.controls[column.name] && this.getValidationAttributeValue(column, 'readonly')) {
|
|
2965
|
+
this.formGroup.controls[column.name].disable();
|
|
2966
|
+
}
|
|
2967
|
+
});
|
|
2968
|
+
}
|
|
2645
2969
|
handleDatasource() {
|
|
2646
2970
|
this.unsubscribeStore();
|
|
2647
2971
|
this.selection$$ = this.store.stateView
|
|
@@ -2660,6 +2984,9 @@ class EntityTableComponent {
|
|
|
2660
2984
|
this.selectionState$.next(this.computeSelectionState(records));
|
|
2661
2985
|
});
|
|
2662
2986
|
this.dataSource$$ = this.store.stateView.all$().subscribe((all) => {
|
|
2987
|
+
if (all[0]) {
|
|
2988
|
+
this.enableEdit(all[0]);
|
|
2989
|
+
}
|
|
2663
2990
|
this.dataSource.data = all;
|
|
2664
2991
|
});
|
|
2665
2992
|
}
|
|
@@ -2879,13 +3206,114 @@ class EntityTableComponent {
|
|
|
2879
3206
|
*/
|
|
2880
3207
|
getValue(record, column) {
|
|
2881
3208
|
const entity = record.entity;
|
|
3209
|
+
let value;
|
|
2882
3210
|
if (column.valueAccessor !== undefined) {
|
|
2883
3211
|
return column.valueAccessor(entity, record);
|
|
2884
3212
|
}
|
|
2885
3213
|
if (this.template.valueAccessor !== undefined) {
|
|
2886
3214
|
return this.template.valueAccessor(entity, column.name, record);
|
|
2887
3215
|
}
|
|
2888
|
-
|
|
3216
|
+
value = this.store.getProperty(entity, column.name);
|
|
3217
|
+
if (column.type === 'boolean') {
|
|
3218
|
+
if (value === undefined || value === null || value === '') {
|
|
3219
|
+
value = false;
|
|
3220
|
+
}
|
|
3221
|
+
else if (typeof value !== 'boolean' && value !== undefined) {
|
|
3222
|
+
if (typeof value === 'number') {
|
|
3223
|
+
value = Boolean(value);
|
|
3224
|
+
}
|
|
3225
|
+
else {
|
|
3226
|
+
value = JSON.parse(value.toLowerCase());
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3229
|
+
if (!this.isEdition(record)) {
|
|
3230
|
+
value = value ? '✓' : ''; // check mark
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
else if (column.type === 'list' && value && column.domainValues) {
|
|
3234
|
+
const entity = record.entity;
|
|
3235
|
+
if (column.multiple) {
|
|
3236
|
+
let list_id;
|
|
3237
|
+
typeof value === 'string' ? list_id = value.match(/[\w.-]+/g).map(Number) : list_id = value;
|
|
3238
|
+
let list_option = [];
|
|
3239
|
+
column.domainValues.forEach(option => {
|
|
3240
|
+
if (list_id.includes(option.id)) {
|
|
3241
|
+
if (record.edition) {
|
|
3242
|
+
list_option.push(option.id);
|
|
3243
|
+
}
|
|
3244
|
+
else {
|
|
3245
|
+
list_option.push(option.value);
|
|
3246
|
+
}
|
|
3247
|
+
}
|
|
3248
|
+
});
|
|
3249
|
+
this.isEdition(record) ? value = list_id : value = list_option;
|
|
3250
|
+
}
|
|
3251
|
+
else {
|
|
3252
|
+
if (!this.isEdition(record) && column.linkColumnForce) {
|
|
3253
|
+
value = entity === null || entity === void 0 ? void 0 : entity.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)];
|
|
3254
|
+
}
|
|
3255
|
+
else {
|
|
3256
|
+
column.domainValues.forEach(option => {
|
|
3257
|
+
if (typeof value === 'string' && /^\d+$/.test(value)) {
|
|
3258
|
+
value = parseInt(value);
|
|
3259
|
+
}
|
|
3260
|
+
if (option.value === value || option.id === value) {
|
|
3261
|
+
this.isEdition(record) ? value = option.id : value = option.value;
|
|
3262
|
+
}
|
|
3263
|
+
});
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
3267
|
+
else if (column.type === 'autocomplete' && value && column.domainValues) {
|
|
3268
|
+
const entity = record.entity;
|
|
3269
|
+
if (!this.isEdition(record) && column.linkColumnForce) {
|
|
3270
|
+
value = entity === null || entity === void 0 ? void 0 : entity.properties[this.getColumnKeyWithoutPropertiesTag(column.linkColumnForce)];
|
|
3271
|
+
}
|
|
3272
|
+
else {
|
|
3273
|
+
column.domainValues.forEach(option => {
|
|
3274
|
+
if (typeof value === 'string' && /^\d+$/.test(value)) {
|
|
3275
|
+
value = parseInt(value);
|
|
3276
|
+
}
|
|
3277
|
+
if (option.value === value || option.id === value) {
|
|
3278
|
+
value = option.value;
|
|
3279
|
+
}
|
|
3280
|
+
});
|
|
3281
|
+
}
|
|
3282
|
+
}
|
|
3283
|
+
else if (column.type === 'date') {
|
|
3284
|
+
if (this.isEdition(record)) {
|
|
3285
|
+
if (value) {
|
|
3286
|
+
let date = moment(value);
|
|
3287
|
+
value = date.format();
|
|
3288
|
+
this.formGroup.controls[column.name].setValue(value);
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
else if (!this.isEdition(record) && value === null) {
|
|
3292
|
+
value = "";
|
|
3293
|
+
}
|
|
3294
|
+
}
|
|
3295
|
+
if (value === undefined) {
|
|
3296
|
+
value = '';
|
|
3297
|
+
}
|
|
3298
|
+
return value;
|
|
3299
|
+
}
|
|
3300
|
+
/**
|
|
3301
|
+
* Method to access an entity's validation values
|
|
3302
|
+
* @param column Column
|
|
3303
|
+
* @param validationType string
|
|
3304
|
+
* @returns Any value (false if no validation or not the one concerned)
|
|
3305
|
+
* @internal
|
|
3306
|
+
*/
|
|
3307
|
+
getValidationAttributeValue(column, validationType) {
|
|
3308
|
+
if (column.validation !== undefined && column.validation[validationType] !== undefined) {
|
|
3309
|
+
return column.validation[validationType];
|
|
3310
|
+
}
|
|
3311
|
+
else {
|
|
3312
|
+
return false;
|
|
3313
|
+
}
|
|
3314
|
+
}
|
|
3315
|
+
isEdition(record) {
|
|
3316
|
+
return record.entity.edition ? true : false;
|
|
2889
3317
|
}
|
|
2890
3318
|
/**
|
|
2891
3319
|
* Return the type of renderer of a column
|
|
@@ -2962,13 +3390,23 @@ class EntityTableComponent {
|
|
|
2962
3390
|
* @internal
|
|
2963
3391
|
*/
|
|
2964
3392
|
onButtonClick(clickFunc, record) {
|
|
3393
|
+
this.enableEdit(record);
|
|
2965
3394
|
if (typeof clickFunc === 'function') {
|
|
2966
3395
|
clickFunc(record.entity, record);
|
|
2967
3396
|
}
|
|
2968
3397
|
}
|
|
3398
|
+
/**
|
|
3399
|
+
* Retrieve column name without his "properties" tag (useful for edition workspace properties)
|
|
3400
|
+
*/
|
|
3401
|
+
getColumnKeyWithoutPropertiesTag(column) {
|
|
3402
|
+
if (column.includes('properties.')) {
|
|
3403
|
+
return column.split('.')[1];
|
|
3404
|
+
}
|
|
3405
|
+
return column;
|
|
3406
|
+
}
|
|
2969
3407
|
}
|
|
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", "
|
|
3408
|
+
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)); };
|
|
3409
|
+
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
3410
|
i0.ɵɵelementStart(0, "div", 0);
|
|
2973
3411
|
i0.ɵɵelementStart(1, "table", 1);
|
|
2974
3412
|
i0.ɵɵlistener("matSortChange", function EntityTableComponent_Template_table_matSortChange_1_listener($event) { return ctx.onSort($event); });
|
|
@@ -2993,16 +3431,25 @@ EntityTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Entity
|
|
|
2993
3431
|
i0.ɵɵproperty("matRowDefColumns", ctx.headers);
|
|
2994
3432
|
i0.ɵɵadvance(1);
|
|
2995
3433
|
i0.ɵɵproperty("ngIf", ctx.withPaginator);
|
|
2996
|
-
} }, directives: [
|
|
3434
|
+
} }, 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_hidden[_ngcontent-%COMP%]{visibility:hidden}.class_display_none[_ngcontent-%COMP%]{display:none}.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
3435
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityTableComponent, [{
|
|
2998
3436
|
type: Component,
|
|
2999
3437
|
args: [{
|
|
3000
3438
|
selector: 'igo-entity-table',
|
|
3001
3439
|
templateUrl: './entity-table.component.html',
|
|
3002
3440
|
styleUrls: ['./entity-table.component.scss'],
|
|
3003
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
3441
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3442
|
+
providers: [{ provide: MatFormFieldControl, useExisting: EntityTableComponent }]
|
|
3004
3443
|
}]
|
|
3005
|
-
}], function () { return [{ type: i0.ChangeDetectorRef }
|
|
3444
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$5.FormBuilder }, { type: i2$2.FocusMonitor }, { type: i0.ElementRef }, { type: i1$5.NgControl, decorators: [{
|
|
3445
|
+
type: Optional
|
|
3446
|
+
}, {
|
|
3447
|
+
type: Self
|
|
3448
|
+
}] }, { type: i1$5.NgForm, decorators: [{
|
|
3449
|
+
type: Optional
|
|
3450
|
+
}] }, { type: i1$5.FormControlName, decorators: [{
|
|
3451
|
+
type: Optional
|
|
3452
|
+
}] }, { type: i3.ErrorStateMatcher }, { type: i3.DateAdapter }]; }, { store: [{
|
|
3006
3453
|
type: Input
|
|
3007
3454
|
}], paginator: [{
|
|
3008
3455
|
type: Input
|
|
@@ -3250,7 +3697,7 @@ ActionbarItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Acti
|
|
|
3250
3697
|
i0.ɵɵproperty("ngIf", !ctx.action.checkbox);
|
|
3251
3698
|
i0.ɵɵadvance(1);
|
|
3252
3699
|
i0.ɵɵproperty("ngIf", ctx.action.checkbox);
|
|
3253
|
-
} }, directives: [i1$1.NgIf, i1$6.MatListItem, i6.MatTooltip, i1$1.NgClass, i4$
|
|
3700
|
+
} }, 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
3701
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionbarItemComponent, [{
|
|
3255
3702
|
type: Component,
|
|
3256
3703
|
args: [{
|
|
@@ -3597,7 +4044,7 @@ ActionbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Actionba
|
|
|
3597
4044
|
i0.ɵɵproperty("ngIf", ctx.mode === ctx.actionbarMode.Overlay);
|
|
3598
4045
|
i0.ɵɵadvance(1);
|
|
3599
4046
|
i0.ɵɵproperty("ngIf", ctx.mode === ctx.actionbarMode.Context);
|
|
3600
|
-
} }, directives: [i1$1.NgIf, i1$6.MatList, i4$
|
|
4047
|
+
} }, 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
4048
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionbarComponent, [{
|
|
3602
4049
|
type: Component,
|
|
3603
4050
|
args: [{
|
|
@@ -3867,14 +4314,14 @@ class IgoBadgeIconDirective {
|
|
|
3867
4314
|
}
|
|
3868
4315
|
}
|
|
3869
4316
|
}
|
|
3870
|
-
IgoBadgeIconDirective.ɵfac = function IgoBadgeIconDirective_Factory(t) { return new (t || IgoBadgeIconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i5.MatIconRegistry)); };
|
|
4317
|
+
IgoBadgeIconDirective.ɵfac = function IgoBadgeIconDirective_Factory(t) { return new (t || IgoBadgeIconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i5$1.MatIconRegistry)); };
|
|
3871
4318
|
IgoBadgeIconDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: IgoBadgeIconDirective, selectors: [["", "igoMatBadgeIcon", ""]], inputs: { igoMatBadgeIcon: "igoMatBadgeIcon", matBadgeHidden: "matBadgeHidden", matBadgeDisabled: "matBadgeDisabled", igoMatBadgeInverseColor: "igoMatBadgeInverseColor", igoMatBadgeInheritColor: "igoMatBadgeInheritColor" } });
|
|
3872
4319
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoBadgeIconDirective, [{
|
|
3873
4320
|
type: Directive,
|
|
3874
4321
|
args: [{
|
|
3875
4322
|
selector: '[igoMatBadgeIcon]'
|
|
3876
4323
|
}]
|
|
3877
|
-
}], function () { return [{ type: i0.ElementRef }, { type: i5.MatIconRegistry }]; }, { igoMatBadgeIcon: [{
|
|
4324
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i5$1.MatIconRegistry }]; }, { igoMatBadgeIcon: [{
|
|
3878
4325
|
type: Input
|
|
3879
4326
|
}], matBadgeHidden: [{
|
|
3880
4327
|
type: Input
|
|
@@ -4095,7 +4542,7 @@ CollapsibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Collap
|
|
|
4095
4542
|
i0.ɵɵproperty("target", _r0)("collapsed", ctx.collapsed);
|
|
4096
4543
|
i0.ɵɵadvance(2);
|
|
4097
4544
|
i0.ɵɵtextInterpolate(ctx.title);
|
|
4098
|
-
} }, directives: [i1$6.MatListItem, i5.MatIcon, i1$6.MatListAvatarCssMatStyler, CollapseDirective,
|
|
4545
|
+
} }, 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
4546
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollapsibleComponent, [{
|
|
4100
4547
|
type: Component,
|
|
4101
4548
|
args: [{
|
|
@@ -4167,7 +4614,7 @@ ConfirmDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Conf
|
|
|
4167
4614
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 6, "igo.common.confirmDialog.confirmBtn"));
|
|
4168
4615
|
i0.ɵɵadvance(3);
|
|
4169
4616
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(11, 8, "igo.common.confirmDialog.cancelBtn"));
|
|
4170
|
-
} }, directives: [i1$8.MatDialogTitle, i1$8.MatDialogContent, i1$8.MatDialogActions, i4$
|
|
4617
|
+
} }, 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
4618
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogComponent, [{
|
|
4172
4619
|
type: Component,
|
|
4173
4620
|
args: [{
|
|
@@ -4388,6 +4835,53 @@ IgoCustomHtmlModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
4388
4835
|
MatButtonModule,
|
|
4389
4836
|
IgoLanguageModule], exports: [SanitizeHtmlPipe, CustomHtmlComponent] }); })();
|
|
4390
4837
|
|
|
4838
|
+
class DOMService {
|
|
4839
|
+
constructor(http) {
|
|
4840
|
+
this.http = http;
|
|
4841
|
+
}
|
|
4842
|
+
getDom(dom) {
|
|
4843
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4844
|
+
const url = dom.url;
|
|
4845
|
+
let result;
|
|
4846
|
+
yield this.http.get(url).pipe(map(response => {
|
|
4847
|
+
result = response;
|
|
4848
|
+
return response;
|
|
4849
|
+
}), catchError((err) => {
|
|
4850
|
+
return throwError(err);
|
|
4851
|
+
})).toPromise();
|
|
4852
|
+
return result;
|
|
4853
|
+
});
|
|
4854
|
+
}
|
|
4855
|
+
}
|
|
4856
|
+
DOMService.ɵfac = function DOMService_Factory(t) { return new (t || DOMService)(i0.ɵɵinject(i1$3.HttpClient)); };
|
|
4857
|
+
DOMService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DOMService, factory: DOMService.ɵfac, providedIn: 'root' });
|
|
4858
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DOMService, [{
|
|
4859
|
+
type: Injectable,
|
|
4860
|
+
args: [{
|
|
4861
|
+
providedIn: 'root'
|
|
4862
|
+
}]
|
|
4863
|
+
}], function () { return [{ type: i1$3.HttpClient }]; }, null); })();
|
|
4864
|
+
|
|
4865
|
+
class IgoDOMModule {
|
|
4866
|
+
static forRoot() {
|
|
4867
|
+
return {
|
|
4868
|
+
ngModule: IgoDOMModule,
|
|
4869
|
+
providers: [
|
|
4870
|
+
DOMService
|
|
4871
|
+
]
|
|
4872
|
+
};
|
|
4873
|
+
}
|
|
4874
|
+
}
|
|
4875
|
+
IgoDOMModule.ɵfac = function IgoDOMModule_Factory(t) { return new (t || IgoDOMModule)(); };
|
|
4876
|
+
IgoDOMModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoDOMModule });
|
|
4877
|
+
IgoDOMModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [DOMService] });
|
|
4878
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoDOMModule, [{
|
|
4879
|
+
type: NgModule,
|
|
4880
|
+
args: [{
|
|
4881
|
+
providers: [DOMService]
|
|
4882
|
+
}]
|
|
4883
|
+
}], null, null); })();
|
|
4884
|
+
|
|
4391
4885
|
class DragAndDropDirective {
|
|
4392
4886
|
constructor() {
|
|
4393
4887
|
this.allowedExtensions = [];
|
|
@@ -4720,7 +5214,10 @@ class DynamicOutletComponent {
|
|
|
4720
5214
|
const inputs = changes.inputs;
|
|
4721
5215
|
const subscribers = changes.subscribers;
|
|
4722
5216
|
const eq = ObjectUtils.objectsAreEquivalent;
|
|
4723
|
-
if (component
|
|
5217
|
+
if (!component || !component.currentValue) {
|
|
5218
|
+
return;
|
|
5219
|
+
}
|
|
5220
|
+
if (component.currentValue !== component.previousValue) {
|
|
4724
5221
|
this.createComponent(component.currentValue);
|
|
4725
5222
|
}
|
|
4726
5223
|
else {
|
|
@@ -5180,7 +5677,7 @@ FormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormComponent
|
|
|
5180
5677
|
i0.ɵɵproperty("autocomplete", ctx.autocomplete)("formGroup", ctx.form.control);
|
|
5181
5678
|
i0.ɵɵadvance(1);
|
|
5182
5679
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2, ctx.hasButtons));
|
|
5183
|
-
} }, directives: [
|
|
5680
|
+
} }, 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
5681
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormComponent, [{
|
|
5185
5682
|
type: Component,
|
|
5186
5683
|
args: [{
|
|
@@ -5259,8 +5756,10 @@ class FormService {
|
|
|
5259
5756
|
fields.forEach((field) => {
|
|
5260
5757
|
control.addControl(field.name, field.control);
|
|
5261
5758
|
});
|
|
5262
|
-
|
|
5263
|
-
|
|
5759
|
+
if (options.validator) {
|
|
5760
|
+
const validators = this.getValidators(options.validator); // convert string to actual validator
|
|
5761
|
+
control.setValidators(validators);
|
|
5762
|
+
}
|
|
5264
5763
|
return Object.assign({}, config, { fields, control });
|
|
5265
5764
|
}
|
|
5266
5765
|
field(config) {
|
|
@@ -5270,8 +5769,10 @@ class FormService {
|
|
|
5270
5769
|
disabled: options.disabled
|
|
5271
5770
|
};
|
|
5272
5771
|
const control = this.formBuilder.control(state);
|
|
5273
|
-
|
|
5274
|
-
|
|
5772
|
+
if (options.validator) {
|
|
5773
|
+
const validators = this.getValidators(options.validator); // convert string to actual validator
|
|
5774
|
+
control.setValidators(validators);
|
|
5775
|
+
}
|
|
5275
5776
|
return Object.assign({ type: 'text' }, config, { control });
|
|
5276
5777
|
}
|
|
5277
5778
|
extendFieldConfig(config, partial) {
|
|
@@ -5303,14 +5804,14 @@ class FormService {
|
|
|
5303
5804
|
return Validators[name](args);
|
|
5304
5805
|
}
|
|
5305
5806
|
}
|
|
5306
|
-
FormService.ɵfac = function FormService_Factory(t) { return new (t || FormService)(i0.ɵɵinject(
|
|
5807
|
+
FormService.ɵfac = function FormService_Factory(t) { return new (t || FormService)(i0.ɵɵinject(i1$5.FormBuilder)); };
|
|
5307
5808
|
FormService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormService, factory: FormService.ɵfac, providedIn: 'root' });
|
|
5308
5809
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormService, [{
|
|
5309
5810
|
type: Injectable,
|
|
5310
5811
|
args: [{
|
|
5311
5812
|
providedIn: 'root'
|
|
5312
5813
|
}]
|
|
5313
|
-
}], function () { return [{ type:
|
|
5814
|
+
}], function () { return [{ type: i1$5.FormBuilder }]; }, null); })();
|
|
5314
5815
|
|
|
5315
5816
|
/**
|
|
5316
5817
|
* Service where all available form fields are registered.
|
|
@@ -5511,7 +6012,7 @@ FormFieldSelectComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Fo
|
|
|
5511
6012
|
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
5512
6013
|
i0.ɵɵadvance(1);
|
|
5513
6014
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
5514
|
-
} }, directives: [i1.MatFormField, i2.MatSelect,
|
|
6015
|
+
} }, 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
6016
|
FormFieldSelectComponent = __decorate([
|
|
5516
6017
|
IgoFormFieldComponent('select')
|
|
5517
6018
|
], FormFieldSelectComponent);
|
|
@@ -5608,7 +6109,7 @@ FormFieldTextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Form
|
|
|
5608
6109
|
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
5609
6110
|
i0.ɵɵadvance(1);
|
|
5610
6111
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
5611
|
-
} }, directives: [i1.MatFormField, i2$3.MatInput,
|
|
6112
|
+
} }, 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
6113
|
FormFieldTextComponent = __decorate([
|
|
5613
6114
|
IgoFormFieldComponent('text')
|
|
5614
6115
|
], FormFieldTextComponent);
|
|
@@ -5705,7 +6206,7 @@ FormFieldTextareaComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
5705
6206
|
i0.ɵɵproperty("ngIf", ctx.disableSwitch === true);
|
|
5706
6207
|
i0.ɵɵadvance(1);
|
|
5707
6208
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
5708
|
-
} }, directives: [i1.MatFormField, i2$3.MatInput,
|
|
6209
|
+
} }, 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
6210
|
FormFieldTextareaComponent = __decorate([
|
|
5710
6211
|
IgoFormFieldComponent('textarea')
|
|
5711
6212
|
], FormFieldTextareaComponent);
|
|
@@ -5876,7 +6377,7 @@ FormGroupComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGrou
|
|
|
5876
6377
|
i0.ɵɵproperty("ngIf", ctx.group && ctx.group.fields.length > 0);
|
|
5877
6378
|
i0.ɵɵadvance(3);
|
|
5878
6379
|
i0.ɵɵproperty("ngIf", ctx.formControl.errors);
|
|
5879
|
-
} }, directives: [i1$1.NgIf, i1$1.NgForOf, i1$1.NgClass, FormFieldComponent, i1.MatError], pipes: [
|
|
6380
|
+
} }, 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
6381
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGroupComponent, [{
|
|
5881
6382
|
type: Component,
|
|
5882
6383
|
args: [{
|
|
@@ -5986,7 +6487,7 @@ HomeButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HomeBut
|
|
|
5986
6487
|
i0.ɵɵelementEnd();
|
|
5987
6488
|
} if (rf & 2) {
|
|
5988
6489
|
i0.ɵɵproperty("matTooltip", i0.ɵɵpipeBind1(1, 1, "igo.context.sidenav.mainMenu"));
|
|
5989
|
-
} }, directives: [i4$
|
|
6490
|
+
} }, 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
6491
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HomeButtonComponent, [{
|
|
5991
6492
|
type: Component,
|
|
5992
6493
|
args: [{
|
|
@@ -6159,16 +6660,23 @@ IgoEntityTableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoEnti
|
|
|
6159
6660
|
IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
6160
6661
|
CommonModule,
|
|
6161
6662
|
MatTableModule,
|
|
6663
|
+
MatAutocompleteModule,
|
|
6162
6664
|
MatSortModule,
|
|
6163
6665
|
MatIconModule,
|
|
6164
6666
|
MatButtonModule,
|
|
6165
6667
|
MatCheckboxModule,
|
|
6166
6668
|
MatPaginatorModule,
|
|
6669
|
+
MatSelectModule,
|
|
6167
6670
|
IgoStopPropagationModule,
|
|
6168
6671
|
IgoCustomHtmlModule,
|
|
6169
6672
|
IgoEntityTablePaginatorModule,
|
|
6170
6673
|
IgoImageModule,
|
|
6171
|
-
IgoLanguageModule
|
|
6674
|
+
IgoLanguageModule,
|
|
6675
|
+
FormsModule,
|
|
6676
|
+
ReactiveFormsModule,
|
|
6677
|
+
MatInputModule,
|
|
6678
|
+
MatDatepickerModule,
|
|
6679
|
+
MatTooltipModule
|
|
6172
6680
|
]] });
|
|
6173
6681
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoEntityTableModule, [{
|
|
6174
6682
|
type: NgModule,
|
|
@@ -6176,16 +6684,23 @@ IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
6176
6684
|
imports: [
|
|
6177
6685
|
CommonModule,
|
|
6178
6686
|
MatTableModule,
|
|
6687
|
+
MatAutocompleteModule,
|
|
6179
6688
|
MatSortModule,
|
|
6180
6689
|
MatIconModule,
|
|
6181
6690
|
MatButtonModule,
|
|
6182
6691
|
MatCheckboxModule,
|
|
6183
6692
|
MatPaginatorModule,
|
|
6693
|
+
MatSelectModule,
|
|
6184
6694
|
IgoStopPropagationModule,
|
|
6185
6695
|
IgoCustomHtmlModule,
|
|
6186
6696
|
IgoEntityTablePaginatorModule,
|
|
6187
6697
|
IgoImageModule,
|
|
6188
|
-
IgoLanguageModule
|
|
6698
|
+
IgoLanguageModule,
|
|
6699
|
+
FormsModule,
|
|
6700
|
+
ReactiveFormsModule,
|
|
6701
|
+
MatInputModule,
|
|
6702
|
+
MatDatepickerModule,
|
|
6703
|
+
MatTooltipModule
|
|
6189
6704
|
],
|
|
6190
6705
|
exports: [
|
|
6191
6706
|
EntityTableComponent
|
|
@@ -6199,16 +6714,23 @@ IgoEntityTableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [[
|
|
|
6199
6714
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoEntityTableModule, { declarations: [EntityTableComponent,
|
|
6200
6715
|
EntityTableRowDirective], imports: [CommonModule,
|
|
6201
6716
|
MatTableModule,
|
|
6717
|
+
MatAutocompleteModule,
|
|
6202
6718
|
MatSortModule,
|
|
6203
6719
|
MatIconModule,
|
|
6204
6720
|
MatButtonModule,
|
|
6205
6721
|
MatCheckboxModule,
|
|
6206
6722
|
MatPaginatorModule,
|
|
6723
|
+
MatSelectModule,
|
|
6207
6724
|
IgoStopPropagationModule,
|
|
6208
6725
|
IgoCustomHtmlModule,
|
|
6209
6726
|
IgoEntityTablePaginatorModule,
|
|
6210
6727
|
IgoImageModule,
|
|
6211
|
-
IgoLanguageModule
|
|
6728
|
+
IgoLanguageModule,
|
|
6729
|
+
FormsModule,
|
|
6730
|
+
ReactiveFormsModule,
|
|
6731
|
+
MatInputModule,
|
|
6732
|
+
MatDatepickerModule,
|
|
6733
|
+
MatTooltipModule], exports: [EntityTableComponent] }); })();
|
|
6212
6734
|
|
|
6213
6735
|
class IgoEntityModule {
|
|
6214
6736
|
}
|
|
@@ -6886,7 +7408,7 @@ InteractiveTourComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: In
|
|
|
6886
7408
|
i0.ɵɵtemplate(0, InteractiveTourComponent_button_0_Template, 9, 15, "button", 0);
|
|
6887
7409
|
} if (rf & 2) {
|
|
6888
7410
|
i0.ɵɵproperty("ngIf", ctx.showTourButton);
|
|
6889
|
-
} }, directives: [i1$1.NgIf, i4$
|
|
7411
|
+
} }, 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
7412
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InteractiveTourComponent, [{
|
|
6891
7413
|
type: Component,
|
|
6892
7414
|
args: [{
|
|
@@ -7073,7 +7595,7 @@ JsonDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: JsonDia
|
|
|
7073
7595
|
i0.ɵɵtextInterpolate(ctx.title);
|
|
7074
7596
|
i0.ɵɵadvance(2);
|
|
7075
7597
|
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$
|
|
7598
|
+
} }, 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
7599
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JsonDialogComponent, [{
|
|
7078
7600
|
type: Component,
|
|
7079
7601
|
args: [{
|
|
@@ -8143,7 +8665,7 @@ TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableCompone
|
|
|
8143
8665
|
i0.ɵɵproperty("matHeaderRowDef", ctx.displayedColumns);
|
|
8144
8666
|
i0.ɵɵadvance(1);
|
|
8145
8667
|
i0.ɵɵproperty("matRowDefColumns", ctx.displayedColumns);
|
|
8146
|
-
} }, directives: [i1$1.NgIf,
|
|
8668
|
+
} }, 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
8669
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
8148
8670
|
type: Component,
|
|
8149
8671
|
args: [{
|
|
@@ -8778,12 +9300,12 @@ class WorkspaceSelectorComponent {
|
|
|
8778
9300
|
}
|
|
8779
9301
|
}
|
|
8780
9302
|
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:
|
|
9303
|
+
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
9304
|
i0.ɵɵelementStart(0, "igo-entity-selector", 0);
|
|
8783
9305
|
i0.ɵɵlistener("selectedChange", function WorkspaceSelectorComponent_Template_igo_entity_selector_selectedChange_0_listener($event) { return ctx.onSelectedChange($event); });
|
|
8784
9306
|
i0.ɵɵelementEnd();
|
|
8785
9307
|
} if (rf & 2) {
|
|
8786
|
-
i0.ɵɵproperty("store", ctx.store)("multi", false)("titleAccessor", ctx.getWorkspaceTitle);
|
|
9308
|
+
i0.ɵɵproperty("store", ctx.store)("multi", false)("titleAccessor", ctx.getWorkspaceTitle)("disabled", ctx.disabled);
|
|
8787
9309
|
} }, 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
9310
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkspaceSelectorComponent, [{
|
|
8789
9311
|
type: Component,
|
|
@@ -8795,6 +9317,8 @@ WorkspaceSelectorComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
8795
9317
|
}]
|
|
8796
9318
|
}], null, { store: [{
|
|
8797
9319
|
type: Input
|
|
9320
|
+
}], disabled: [{
|
|
9321
|
+
type: Input
|
|
8798
9322
|
}], selectedChange: [{
|
|
8799
9323
|
type: Output
|
|
8800
9324
|
}] }); })();
|
|
@@ -9170,5 +9694,5 @@ class Workspace {
|
|
|
9170
9694
|
* Generated bundle index. Do not edit.
|
|
9171
9695
|
*/
|
|
9172
9696
|
|
|
9173
|
-
export { ActionStore, ActionbarComponent, ActionbarMode, BackdropComponent, ClickoutDirective, ClonePipe, CollapseDirective, CollapsibleComponent, ConfirmDialogComponent, ConfirmDialogService, ContextMenuDirective, CustomHtmlComponent, DragAndDropDirective, DynamicComponent, DynamicComponentService, DynamicOutletComponent, EntityOperationType, EntitySelectorComponent, EntityStateManager, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityStoreStrategy, EntityStoreWatcher, EntityTableColumnRenderer, EntityTableComponent, EntityTablePaginatorComponent, EntityTableScrollBehavior, EntityTableSelectionState, EntityTransaction, EntityView, FlexibleComponent, FormComponent, FormFieldComponent, FormFieldSelectComponent, FormFieldService, FormFieldTextComponent, FormFieldTextareaComponent, FormGroupComponent, FormService, HomeButtonComponent, IgoActionModule, IgoActionbarModule, IgoBackdropModule, IgoBadgeIconDirective, IgoClickoutModule, IgoCloneModule, IgoCollapsibleModule, IgoConfirmDialogModule, IgoContextMenuModule, IgoCustomHtmlModule, IgoDrapDropModule, IgoDynamicComponentModule, IgoDynamicOutletModule, IgoEntityModule, IgoEntitySelectorModule, IgoEntityTableModule, IgoEntityTablePaginatorModule, IgoFlexibleModule, IgoFormFieldComponent, IgoFormFieldModule, IgoFormFormModule, IgoFormGroupModule, IgoFormModule, IgoHomeButtonModule, IgoImageModule, IgoInteractiveTourModule, IgoJsonDialogModule, IgoKeyValueModule, IgoListModule, IgoMatBadgeIconModule, IgoPanelModule, IgoSidenavModule, IgoSpinnerModule, IgoStopPropagationModule, IgoTableModule, IgoToolModule, IgoToolboxModule, IgoWidgetModule, IgoWidgetOutletModule, IgoWorkspaceModule, IgoWorkspaceSelectorModule, IgoWorkspaceWidgetOutletModule, InteractiveTourComponent, InteractiveTourLoader, InteractiveTourService, JsonDialogComponent, JsonDialogService, KeyValuePipe, ListComponent, ListItemDirective, PanelComponent, SanitizeHtmlPipe, SecureImagePipe, SidenavShimDirective, SpinnerActivityDirective, SpinnerComponent, StopDropPropagationDirective, StopPropagationDirective, TableActionColor, TableComponent, TableDataSource, TableDatabase, ToolComponent, ToolService, Toolbox, ToolboxColor, ToolboxComponent, Widget, WidgetOutletComponent, WidgetService, Workspace, WorkspaceSelectorComponent, WorkspaceStore, WorkspaceWidgetOutletComponent, formControlIsRequired, getAllFormFields, getControlErrorMessage, getDefaultErrorMessages, getEntityIcon, getEntityId, getEntityProperty, getEntityRevision, getEntityTitle, getEntityTitleHtml, getFormFieldByName };
|
|
9697
|
+
export { ActionStore, ActionbarComponent, ActionbarMode, BackdropComponent, ClickoutDirective, ClonePipe, CollapseDirective, CollapsibleComponent, ConfirmDialogComponent, ConfirmDialogService, ContextMenuDirective, CustomHtmlComponent, DOMService, DragAndDropDirective, DynamicComponent, DynamicComponentService, DynamicOutletComponent, EntityOperationType, EntitySelectorComponent, EntityStateManager, EntityStore, EntityStoreFilterCustomFuncStrategy, EntityStoreFilterSelectionStrategy, EntityStoreStrategy, EntityStoreWatcher, EntityTableColumnRenderer, EntityTableComponent, EntityTablePaginatorComponent, EntityTableScrollBehavior, EntityTableSelectionState, EntityTransaction, EntityView, FlexibleComponent, FormComponent, FormFieldComponent, FormFieldSelectComponent, FormFieldService, FormFieldTextComponent, FormFieldTextareaComponent, FormGroupComponent, FormService, HomeButtonComponent, IgoActionModule, IgoActionbarModule, IgoBackdropModule, IgoBadgeIconDirective, IgoClickoutModule, IgoCloneModule, IgoCollapsibleModule, IgoConfirmDialogModule, IgoContextMenuModule, IgoCustomHtmlModule, IgoDOMModule, IgoDrapDropModule, IgoDynamicComponentModule, IgoDynamicOutletModule, IgoEntityModule, IgoEntitySelectorModule, IgoEntityTableModule, IgoEntityTablePaginatorModule, IgoFlexibleModule, IgoFormFieldComponent, IgoFormFieldModule, IgoFormFormModule, IgoFormGroupModule, IgoFormModule, IgoHomeButtonModule, IgoImageModule, IgoInteractiveTourModule, IgoJsonDialogModule, IgoKeyValueModule, IgoListModule, IgoMatBadgeIconModule, IgoPanelModule, IgoSidenavModule, IgoSpinnerModule, IgoStopPropagationModule, IgoTableModule, IgoToolModule, IgoToolboxModule, IgoWidgetModule, IgoWidgetOutletModule, IgoWorkspaceModule, IgoWorkspaceSelectorModule, IgoWorkspaceWidgetOutletModule, InteractiveTourComponent, InteractiveTourLoader, InteractiveTourService, JsonDialogComponent, JsonDialogService, KeyValuePipe, ListComponent, ListItemDirective, PanelComponent, SanitizeHtmlPipe, SecureImagePipe, SidenavShimDirective, SpinnerActivityDirective, SpinnerComponent, StopDropPropagationDirective, StopPropagationDirective, TableActionColor, TableComponent, TableDataSource, TableDatabase, ToolComponent, ToolService, Toolbox, ToolboxColor, ToolboxComponent, Widget, WidgetOutletComponent, WidgetService, Workspace, WorkspaceSelectorComponent, WorkspaceStore, WorkspaceWidgetOutletComponent, formControlIsRequired, getAllFormFields, getControlErrorMessage, getDefaultErrorMessages, getEntityIcon, getEntityId, getEntityProperty, getEntityRevision, getEntityTitle, getEntityTitleHtml, getFormFieldByName };
|
|
9174
9698
|
//# sourceMappingURL=igo2-common.js.map
|