@indigina/kendo 1.2.61 → 1.2.63
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/esm2022/lib/angular/forms/directives/debounce/debounce.directive.mjs +3 -3
- package/esm2022/lib/angular/forms/directives/debounce/debounce.module.mjs +4 -4
- package/esm2022/lib/angular/forms/widgets/field/field-input/field-input.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/field/field-input/field-input.module.mjs +4 -4
- package/esm2022/lib/angular/forms/widgets/field/field-input/number-input.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/field/field.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/file/file-select/field-file-select.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/file/file-select/field-file-select.module.mjs +4 -4
- package/esm2022/lib/angular/forms/widgets/file/file-upload/field-file-upload.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/file/file-upload/field-file-upload.module.mjs +4 -4
- package/esm2022/lib/angular/forms/widgets/general-errors/general-errors.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/general-errors/general-errors.module.mjs +14 -6
- package/esm2022/lib/angular/forms/widgets/textarea/field-textarea.component.mjs +3 -3
- package/esm2022/lib/angular/forms/widgets/textarea/field-textarea.module.mjs +4 -4
- package/esm2022/lib/angular/indigina.module.mjs +13 -7
- package/esm2022/lib/angular/models/AppSettings.mjs +3 -3
- package/esm2022/lib/angular/models/IndiginaConfiguration.mjs +3 -3
- package/esm2022/lib/angular/services/http.service.mjs +3 -3
- package/esm2022/lib/angular/services/locale-settings.service.mjs +3 -3
- package/esm2022/lib/angular/services/settings.service.mjs +3 -3
- package/esm2022/lib/angular/services/toastr.service.mjs +3 -3
- package/esm2022/lib/angular/widgets/live-updates-control/live-updates-control.component.mjs +3 -3
- package/esm2022/lib/angular/widgets/live-updates-control/live-updates-control.module.mjs +4 -4
- package/esm2022/lib/angular/widgets/side-menu/menu-item-group/menu-item-group.component.mjs +3 -3
- package/esm2022/lib/angular/widgets/side-menu/side-menu.component.mjs +3 -3
- package/esm2022/lib/angular/widgets/tree-view/indigina-tree-view.module.mjs +4 -4
- package/esm2022/lib/angular/widgets/tree-view/tree-view-node/tree-view-node.component.mjs +3 -3
- package/esm2022/lib/angular/widgets/tree-view/tree-view.component.mjs +3 -3
- package/esm2022/lib/components/account-menu/account-menu.component.mjs +3 -3
- package/esm2022/lib/components/account-menu/account-menu.module.mjs +4 -4
- package/esm2022/lib/components/azure-login-callback/azure-login-callback.component.mjs +3 -3
- package/esm2022/lib/components/forbidden/forbidden.component.mjs +3 -3
- package/esm2022/lib/components/language-selector/language-selector.component.mjs +3 -3
- package/esm2022/lib/components/language-selector/language-selector.module.mjs +4 -4
- package/esm2022/lib/directives/requirePermission/requirePermission.directive.mjs +3 -3
- package/esm2022/lib/directives/requirePermission/requirePermission.module.mjs +4 -4
- package/esm2022/lib/interceptors/auth-headers.interceptor.mjs +3 -3
- package/esm2022/lib/kendo.module.mjs +11 -7
- package/esm2022/lib/services/account.service.mjs +3 -3
- package/esm2022/lib/services/activity.filter.service.mjs +3 -3
- package/esm2022/lib/services/auth-provider.resolver.mjs +3 -3
- package/esm2022/lib/services/endpoints.mjs +17 -8
- package/esm2022/lib/services/partner.service.mjs +3 -3
- package/esm2022/lib/services/permissions.service.mjs +3 -3
- package/esm2022/lib/services/signalr/signalr.service.mjs +3 -3
- package/esm2022/lib/widgets/activity-filter/activity-filter.component.mjs +3 -3
- package/esm2022/lib/widgets/activity-filter/activity-filter.module.mjs +4 -4
- package/esm2022/lib/widgets/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/widgets/confirm-dialog/confirm-dialog.module.mjs +4 -4
- package/esm2022/lib/widgets/current-timezone/current-timezone.component.mjs +3 -3
- package/esm2022/lib/widgets/current-timezone/current-timezone.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/buttons-bar/buttons-bar.component.mjs +7 -5
- package/esm2022/lib/widgets/entity-edit/buttons-bar/buttons-bar.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/create-new/create-new.component.mjs +22 -0
- package/esm2022/lib/widgets/entity-edit/create-new/create-new.module.mjs +28 -0
- package/esm2022/lib/widgets/entity-edit/create-new/index.mjs +3 -0
- package/esm2022/lib/widgets/entity-edit/dropdowns/field-dropdown/field-dropdown.component.mjs +3 -3
- package/esm2022/lib/widgets/entity-edit/dropdowns/field-dropdown/field-dropdown.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/dropdowns/object-dropdown/object-dropdown.component.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/dropdowns/object-dropdown/object-dropdown.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/dropdowns/simple-object.model.mjs +2 -0
- package/esm2022/lib/widgets/entity-edit/entity-edit-form.component.mjs +9 -5
- package/esm2022/lib/widgets/entity-edit/entity-edit-form.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/field-multiselect/field-multiselect.component.mjs +4 -4
- package/esm2022/lib/widgets/entity-edit/field-multiselect/field-multiselect.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-list/entity-list.component.mjs +3 -3
- package/esm2022/lib/widgets/entity-list/entity-list.module.mjs +11 -7
- package/esm2022/lib/widgets/entity-list/field-dropdownlist/field-dropdownlist.component.mjs +3 -3
- package/esm2022/lib/widgets/entity-list/field-dropdownlist/field-dropdownlist.module.mjs +4 -4
- package/esm2022/lib/widgets/entity-list/user-list-admin.component.mjs +3 -3
- package/esm2022/lib/widgets/excel-export-button/excel-export-button.component.mjs +3 -3
- package/esm2022/lib/widgets/excel-export-button/excel-export-button.module.mjs +4 -4
- package/esm2022/lib/widgets/footer-bar/footer-bar.component.mjs +3 -3
- package/esm2022/lib/widgets/footer-bar/footer-bar.module.mjs +4 -4
- package/esm2022/lib/widgets/modal-window/modal-window.component.mjs +3 -3
- package/esm2022/lib/widgets/modal-window/modal-window.module.mjs +4 -4
- package/esm2022/lib/widgets/multicheck-filter/multicheck-filter.component.mjs +3 -3
- package/esm2022/lib/widgets/multicheck-filter/multicheck-filter.module.mjs +4 -4
- package/esm2022/lib/widgets/top-bar/top-bar.component.mjs +3 -3
- package/esm2022/lib/widgets/top-bar/top-bar.module.mjs +4 -4
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/indigina-kendo.mjs +344 -270
- package/fesm2022/indigina-kendo.mjs.map +1 -1
- package/lib/kendo.module.d.ts +2 -1
- package/lib/services/endpoints.d.ts +1 -1
- package/lib/widgets/entity-edit/buttons-bar/buttons-bar.component.d.ts +2 -1
- package/lib/widgets/entity-edit/create-new/create-new.component.d.ts +9 -0
- package/lib/widgets/entity-edit/create-new/create-new.module.d.ts +10 -0
- package/lib/widgets/entity-edit/create-new/index.d.ts +2 -0
- package/lib/widgets/entity-edit/dropdowns/object-dropdown/object-dropdown.component.d.ts +1 -1
- package/lib/widgets/entity-edit/entity-edit-form.component.d.ts +1 -0
- package/lib/widgets/entity-list/entity-list.module.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2022/lib/widgets/entity-edit/dropdowns/SimpleObject.mjs +0 -2
- /package/lib/widgets/entity-edit/dropdowns/{SimpleObject.d.ts → simple-object.model.d.ts} +0 -0
|
@@ -35,7 +35,7 @@ import * as i4 from '@progress/kendo-angular-upload';
|
|
|
35
35
|
import { UploadsModule } from '@progress/kendo-angular-upload';
|
|
36
36
|
import * as i4$2 from '@progress/kendo-angular-inputs';
|
|
37
37
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
38
|
-
import { toODataString,
|
|
38
|
+
import { toODataString, distinct, filterBy } from '@progress/kendo-data-query';
|
|
39
39
|
import { InteractionRequiredAuthError, BrowserCacheLocation, PublicClientApplication } from '@azure/msal-browser';
|
|
40
40
|
import * as i4$1 from '@progress/kendo-angular-popup';
|
|
41
41
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
@@ -68,10 +68,10 @@ class DebounceDirective {
|
|
|
68
68
|
event.stopPropagation();
|
|
69
69
|
this.keyUp.next(event);
|
|
70
70
|
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
72
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1
|
|
71
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DebounceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
72
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.1", type: DebounceDirective, selector: "[appDebounce]", inputs: { debounceTime: "debounceTime" }, outputs: { debounceKeyup: "debounceKeyup" }, host: { listeners: { "keyup": "keyUpEvent($event)" } }, ngImport: i0 }); }
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DebounceDirective, decorators: [{
|
|
75
75
|
type: Directive,
|
|
76
76
|
args: [{
|
|
77
77
|
selector: '[appDebounce]',
|
|
@@ -86,11 +86,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
86
86
|
}] } });
|
|
87
87
|
|
|
88
88
|
class DebounceModule {
|
|
89
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
90
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
91
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
89
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DebounceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
90
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: DebounceModule, declarations: [DebounceDirective], imports: [CommonModule], exports: [DebounceDirective] }); }
|
|
91
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DebounceModule, imports: [CommonModule] }); }
|
|
92
92
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: DebounceModule, decorators: [{
|
|
94
94
|
type: NgModule,
|
|
95
95
|
args: [{
|
|
96
96
|
declarations: [DebounceDirective],
|
|
@@ -157,10 +157,10 @@ class FieldComponent {
|
|
|
157
157
|
control.enable();
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
161
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1
|
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
161
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.1", type: FieldComponent, inputs: { labelKey: "labelKey", fieldName: "fieldName", disabled: "disabled" }, usesOnChanges: true, ngImport: i0 }); }
|
|
162
162
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldComponent, decorators: [{
|
|
164
164
|
type: Directive
|
|
165
165
|
}], ctorParameters: () => [{ type: i1$3.FormGroupDirective }, { type: i0.ElementRef }, { type: undefined }], propDecorators: { labelKey: [{
|
|
166
166
|
type: Input
|
|
@@ -186,12 +186,12 @@ class FieldInputComponent extends FieldComponent {
|
|
|
186
186
|
}
|
|
187
187
|
return super.setAttribute(name, value);
|
|
188
188
|
}
|
|
189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldInputComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldInputComponent, selector: "field-input", inputs: { labelKey: "labelKey", fieldName: "fieldName" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ id }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\">\n <input\n [formControlName]=\"fieldName\"\n id=\"{{ id }}\"\n [type]=\"type\"\n class=\"k-input\"\n autocomplete=\"new-{{ fieldName }}\"\n placeholder=\"{{ labelKey | translate }}\"\n />\n <ng-content></ng-content>\n <div\n class=\"bg-danger\"\n *ngIf=\"\n parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched\n \"\n >\n <span *ngIf=\"parent.form.get(fieldName).errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['email']\">{{\n \"ValidEmail\" | translate\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['serverErrorMsg']\">{{\n parent.form.get(fieldName).errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
191
191
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
192
192
|
] }); }
|
|
193
193
|
}
|
|
194
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldInputComponent, decorators: [{
|
|
195
195
|
type: Component,
|
|
196
196
|
args: [{ selector: 'field-input', viewProviders: [
|
|
197
197
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -261,12 +261,12 @@ class NumberInputComponent extends FieldInputComponent {
|
|
|
261
261
|
return notValid ? { forbiddenName: { value: control.value } } : null;
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
265
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: NumberInputComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
265
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: NumberInputComponent, selector: "number-input", inputs: { isPositive: "isPositive" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ id }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\">\n <input\n [formControlName]=\"fieldName\"\n id=\"{{ id }}\"\n [type]=\"type\"\n class=\"k-input\"\n autocomplete=\"new-{{ fieldName }}\"\n placeholder=\"{{ labelKey | translate }}\"\n />\n <ng-content></ng-content>\n <div\n class=\"bg-danger\"\n *ngIf=\"\n parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched\n \"\n >\n <span *ngIf=\"parent.form.get(fieldName).errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['email']\">{{\n \"ValidEmail\" | translate\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['serverErrorMsg']\">{{\n parent.form.get(fieldName).errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
266
266
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
267
267
|
] }); }
|
|
268
268
|
}
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
270
270
|
type: Component,
|
|
271
271
|
args: [{ selector: 'number-input', viewProviders: [
|
|
272
272
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -276,19 +276,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
276
276
|
}] } });
|
|
277
277
|
|
|
278
278
|
class FieldInputModule {
|
|
279
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
280
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
280
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldInputModule, declarations: [FieldInputComponent, NumberInputComponent], imports: [ButtonsModule,
|
|
281
281
|
ReactiveFormsModule,
|
|
282
282
|
FormsModule,
|
|
283
283
|
TranslateModule,
|
|
284
284
|
CommonModule], exports: [FieldInputComponent, NumberInputComponent] }); }
|
|
285
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
285
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldInputModule, imports: [ButtonsModule,
|
|
286
286
|
ReactiveFormsModule,
|
|
287
287
|
FormsModule,
|
|
288
288
|
TranslateModule,
|
|
289
289
|
CommonModule] }); }
|
|
290
290
|
}
|
|
291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldInputModule, decorators: [{
|
|
292
292
|
type: NgModule,
|
|
293
293
|
args: [{
|
|
294
294
|
declarations: [FieldInputComponent, NumberInputComponent],
|
|
@@ -310,10 +310,10 @@ class GeneralErrorsComponent {
|
|
|
310
310
|
ngOnChanges() {
|
|
311
311
|
this.form.setErrors({ _general_errors_: this.errors });
|
|
312
312
|
}
|
|
313
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
314
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
313
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: GeneralErrorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
314
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: GeneralErrorsComponent, selector: "app-general-errors", inputs: { form: "form", errors: "errors" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div class=\"bg-danger\" *ngIf=\"form.invalid && errors.length\">\n <ul class=\"custom-error\">\n <li *ngFor=\"let error of errors\">{{ error }}</li>\n </ul>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
315
315
|
}
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
316
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: GeneralErrorsComponent, decorators: [{
|
|
317
317
|
type: Component,
|
|
318
318
|
args: [{ selector: 'app-general-errors', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"form\" [formGroup]=\"form\">\n <div class=\"bg-danger\" *ngIf=\"form.invalid && errors.length\">\n <ul class=\"custom-error\">\n <li *ngFor=\"let error of errors\">{{ error }}</li>\n </ul>\n </div>\n</div>\n" }]
|
|
319
319
|
}], propDecorators: { form: [{
|
|
@@ -323,24 +323,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
323
323
|
}] } });
|
|
324
324
|
|
|
325
325
|
class GeneralErrorsModule {
|
|
326
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
327
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
328
|
-
|
|
326
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: GeneralErrorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
327
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: GeneralErrorsModule, declarations: [GeneralErrorsComponent], imports: [CommonModule,
|
|
328
|
+
ReactiveFormsModule,
|
|
329
|
+
FormsModule], exports: [GeneralErrorsComponent] }); }
|
|
330
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: GeneralErrorsModule, imports: [CommonModule,
|
|
331
|
+
ReactiveFormsModule,
|
|
332
|
+
FormsModule] }); }
|
|
329
333
|
}
|
|
330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: GeneralErrorsModule, decorators: [{
|
|
331
335
|
type: NgModule,
|
|
332
336
|
args: [{
|
|
333
337
|
declarations: [GeneralErrorsComponent],
|
|
334
338
|
exports: [GeneralErrorsComponent],
|
|
335
|
-
imports: [
|
|
339
|
+
imports: [
|
|
340
|
+
CommonModule,
|
|
341
|
+
ReactiveFormsModule,
|
|
342
|
+
FormsModule,
|
|
343
|
+
],
|
|
336
344
|
}]
|
|
337
345
|
}] });
|
|
338
346
|
|
|
339
347
|
class AppSettings {
|
|
340
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
341
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AppSettings, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
349
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AppSettings, providedIn: 'root' }); }
|
|
342
350
|
}
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AppSettings, decorators: [{
|
|
344
352
|
type: Injectable,
|
|
345
353
|
args: [{
|
|
346
354
|
providedIn: 'root',
|
|
@@ -348,10 +356,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
348
356
|
}] });
|
|
349
357
|
|
|
350
358
|
class IndiginaConfiguration {
|
|
351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
352
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
359
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaConfiguration, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
360
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaConfiguration, providedIn: 'root' }); }
|
|
353
361
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaConfiguration, decorators: [{
|
|
355
363
|
type: Injectable,
|
|
356
364
|
args: [{ providedIn: 'root' }]
|
|
357
365
|
}] });
|
|
@@ -388,10 +396,10 @@ class LocaleSettingsService {
|
|
|
388
396
|
localStorage.setItem(languageKey, locale);
|
|
389
397
|
}
|
|
390
398
|
}
|
|
391
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
392
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LocaleSettingsService, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
400
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LocaleSettingsService, providedIn: 'root' }); }
|
|
393
401
|
}
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LocaleSettingsService, decorators: [{
|
|
395
403
|
type: Injectable,
|
|
396
404
|
args: [{
|
|
397
405
|
providedIn: 'root',
|
|
@@ -448,10 +456,10 @@ class MenuItemGroupComponent {
|
|
|
448
456
|
this.setItemExpand();
|
|
449
457
|
}
|
|
450
458
|
}
|
|
451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
452
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
459
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MenuItemGroupComponent, deps: [{ token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
460
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: MenuItemGroupComponent, selector: "[menu-item-group]", inputs: { item: "item" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"item.items && item.items.length\">\n <a (click)=\"collapseChild(item, $event)\">\n <ng-container *ngIf=\"!item.iconClass; else labelWithIcon\">\n {{ item.text | translate }}\n </ng-container>\n </a>\n <ul\n [ngClass]=\"\n item.expanded == true\n ? 'nav nav-second-level collapse in'\n : 'nav nav-second-level collapse'\n \"\n >\n <ng-template ngFor let-item [ngForOf]=\"item.items\">\n <li menu-item-group [item]=\"item\"></li>\n </ng-template>\n </ul>\n</ng-container>\n<ng-container *ngIf=\"!item.items || !item.items.length\">\n <a\n *ngIf=\"item.link\"\n routerLink=\"{{ item.link }}\"\n routerLinkActive=\"active-route\"\n class=\"sub-menu-link\"\n (click)=\"collapseChild(item, $event)\"\n >\n <ng-container *ngIf=\"!item.iconClass; else labelWithIcon\">\n {{ item.text | translate }}\n </ng-container>\n </a>\n <a\n *ngIf=\"item.url\"\n class=\"sub-menu-link\"\n href=\"{{ item.url }}\"\n target=\"_blank\"\n (click)=\"collapseChild(item, $event)\"\n >\n <ng-container *ngIf=\"!item.iconClass; else labelWithIcon\">\n {{ item.text | translate }}\n </ng-container>\n </a>\n</ng-container>\n<ng-template #labelWithIcon>\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$4.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: MenuItemGroupComponent, selector: "[menu-item-group]", inputs: ["item"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
453
461
|
}
|
|
454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MenuItemGroupComponent, decorators: [{
|
|
455
463
|
type: Component,
|
|
456
464
|
args: [{ selector: '[menu-item-group]', template: "<ng-container *ngIf=\"item.items && item.items.length\">\n <a (click)=\"collapseChild(item, $event)\">\n <ng-container *ngIf=\"!item.iconClass; else labelWithIcon\">\n {{ item.text | translate }}\n </ng-container>\n </a>\n <ul\n [ngClass]=\"\n item.expanded == true\n ? 'nav nav-second-level collapse in'\n : 'nav nav-second-level collapse'\n \"\n >\n <ng-template ngFor let-item [ngForOf]=\"item.items\">\n <li menu-item-group [item]=\"item\"></li>\n </ng-template>\n </ul>\n</ng-container>\n<ng-container *ngIf=\"!item.items || !item.items.length\">\n <a\n *ngIf=\"item.link\"\n routerLink=\"{{ item.link }}\"\n routerLinkActive=\"active-route\"\n class=\"sub-menu-link\"\n (click)=\"collapseChild(item, $event)\"\n >\n <ng-container *ngIf=\"!item.iconClass; else labelWithIcon\">\n {{ item.text | translate }}\n </ng-container>\n </a>\n <a\n *ngIf=\"item.url\"\n class=\"sub-menu-link\"\n href=\"{{ item.url }}\"\n target=\"_blank\"\n (click)=\"collapseChild(item, $event)\"\n >\n <ng-container *ngIf=\"!item.iconClass; else labelWithIcon\">\n {{ item.text | translate }}\n </ng-container>\n </a>\n</ng-container>\n<ng-template #labelWithIcon>\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n</ng-template>\n" }]
|
|
457
465
|
}], ctorParameters: () => [{ type: i1$4.Router }], propDecorators: { item: [{
|
|
@@ -479,10 +487,10 @@ class SideMenuComponent {
|
|
|
479
487
|
itemComponent.collapsed = false;
|
|
480
488
|
}
|
|
481
489
|
}
|
|
482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
483
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
490
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SideMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
491
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: SideMenuComponent, selector: "side-menu", inputs: { items: "items" }, outputs: { logoClick: "logoClick" }, ngImport: i0, template: "<nav\n id=\"menu-left\"\n class=\"navbar-default navbar-main navbar-static-side open\"\n role=\"navigation\"\n>\n <div class=\"sidebar-collapse\">\n <ul id=\"side-menu\" class=\"nav\">\n <li class=\"nav-header\">\n <div class=\"profile-element\">\n <a [routerLink]=\"['/']\" class=\"img-supply\">\n <img alt=\"Supply Stream logo\" />\n </a>\n </div>\n <div class=\"logo-element\" (click)=\"onLogoClick()\">\n <i class=\"fa fa-exchange\"></i>\n </div>\n </li>\n </ul>\n\n <div class=\"sidebar-collapse\">\n <ul class=\"nav\">\n <ng-template ngFor let-item [ngForOf]=\"items\">\n <li\n #itemComponent\n menu-item-group\n [item]=\"item\"\n [ngClass]=\"{\n menu: true,\n active: item.expanded ? item.expanded : false,\n collapsed: itemComponent.collapsed\n }\"\n (click)=\"collapse(itemComponent, item, $event)\"\n ></li>\n </ng-template>\n </ul>\n </div>\n </div>\n</nav>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: MenuItemGroupComponent, selector: "[menu-item-group]", inputs: ["item"] }] }); }
|
|
484
492
|
}
|
|
485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SideMenuComponent, decorators: [{
|
|
486
494
|
type: Component,
|
|
487
495
|
args: [{ selector: 'side-menu', template: "<nav\n id=\"menu-left\"\n class=\"navbar-default navbar-main navbar-static-side open\"\n role=\"navigation\"\n>\n <div class=\"sidebar-collapse\">\n <ul id=\"side-menu\" class=\"nav\">\n <li class=\"nav-header\">\n <div class=\"profile-element\">\n <a [routerLink]=\"['/']\" class=\"img-supply\">\n <img alt=\"Supply Stream logo\" />\n </a>\n </div>\n <div class=\"logo-element\" (click)=\"onLogoClick()\">\n <i class=\"fa fa-exchange\"></i>\n </div>\n </li>\n </ul>\n\n <div class=\"sidebar-collapse\">\n <ul class=\"nav\">\n <ng-template ngFor let-item [ngForOf]=\"items\">\n <li\n #itemComponent\n menu-item-group\n [item]=\"item\"\n [ngClass]=\"{\n menu: true,\n active: item.expanded ? item.expanded : false,\n collapsed: itemComponent.collapsed\n }\"\n (click)=\"collapse(itemComponent, item, $event)\"\n ></li>\n </ng-template>\n </ul>\n </div>\n </div>\n</nav>\n" }]
|
|
488
496
|
}], propDecorators: { items: [{
|
|
@@ -513,10 +521,10 @@ class TreeViewNodeComponent {
|
|
|
513
521
|
}
|
|
514
522
|
this.treeViewProps.forEach((x) => x.collapseAll());
|
|
515
523
|
}
|
|
516
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
517
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
524
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TreeViewNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
525
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: TreeViewNodeComponent, selector: "tree-view-node", inputs: { node: "node", hasExpand: "hasExpand" }, viewQueries: [{ propertyName: "treeViewProps", predicate: ["node"], descendants: true }], ngImport: i0, template: "<span class=\"tree-view-node\">\n <span class=\"bracket\">{{ node.brackets?.inside }}</span>\n <ng-container\n *ngIf=\"node.isPrimitive; then primitiveNode; else baseNode\"\n ></ng-container>\n <span class=\"bracket\">{{ node.brackets?.outside }}</span>\n</span>\n\n<ng-template #primitiveNode>\n <span class=\"tree-view-prop\">\n {{ node.startTag }}\n <span [ngClass]=\"node.nodeType\">\n {{ node.value }}\n </span>\n {{ node.endTag }}\n </span>\n</ng-template>\n\n<ng-template #baseNode>\n <span>\n <em\n [ngClass]=\"\n expanded\n ? 'fa fa-caret-down node-toggler'\n : 'fa fa-caret-right node-toggler'\n \"\n *ngIf=\"hasExpand\"\n (click)=\"toggleExpand()\"\n ></em>\n <span class=\"ellipsis\" *ngIf=\"!expanded && !node.startTag\">...</span>\n <ul [ngClass]=\"!expanded ? 'hidden' : ''\">\n <li class=\"tree-view-prop\" *ngFor=\"let child of node.children\">\n <span class=\"prop-name\">{{ child.startTag }}</span>\n <span *ngIf=\"child.isPrimitive\" [ngClass]=\"child.nodeType\">{{\n child.value\n }}</span>\n <ng-container *ngIf=\"child.isComplex\">\n <tree-view-node\n [node]=\"child\"\n [hasExpand]=\"true\"\n #node\n ></tree-view-node>\n </ng-container>\n <span class=\"prop-name\">{{ child.endTag }}</span>\n </li>\n </ul>\n </span>\n</ng-template>\n", styles: ["*{font-size:14px}li{position:relative}.prop-name{color:#555;font-weight:700}.tree-view-prop{list-style-type:none;margin:4px 0;word-wrap:break-word}.tree-view-prop{position:relative;padding-left:20px}.tree-view-prop .number{color:#00f}.tree-view-prop .string{color:green}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TreeViewNodeComponent, selector: "tree-view-node", inputs: ["node", "hasExpand"] }] }); }
|
|
518
526
|
}
|
|
519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TreeViewNodeComponent, decorators: [{
|
|
520
528
|
type: Component,
|
|
521
529
|
args: [{ selector: 'tree-view-node', template: "<span class=\"tree-view-node\">\n <span class=\"bracket\">{{ node.brackets?.inside }}</span>\n <ng-container\n *ngIf=\"node.isPrimitive; then primitiveNode; else baseNode\"\n ></ng-container>\n <span class=\"bracket\">{{ node.brackets?.outside }}</span>\n</span>\n\n<ng-template #primitiveNode>\n <span class=\"tree-view-prop\">\n {{ node.startTag }}\n <span [ngClass]=\"node.nodeType\">\n {{ node.value }}\n </span>\n {{ node.endTag }}\n </span>\n</ng-template>\n\n<ng-template #baseNode>\n <span>\n <em\n [ngClass]=\"\n expanded\n ? 'fa fa-caret-down node-toggler'\n : 'fa fa-caret-right node-toggler'\n \"\n *ngIf=\"hasExpand\"\n (click)=\"toggleExpand()\"\n ></em>\n <span class=\"ellipsis\" *ngIf=\"!expanded && !node.startTag\">...</span>\n <ul [ngClass]=\"!expanded ? 'hidden' : ''\">\n <li class=\"tree-view-prop\" *ngFor=\"let child of node.children\">\n <span class=\"prop-name\">{{ child.startTag }}</span>\n <span *ngIf=\"child.isPrimitive\" [ngClass]=\"child.nodeType\">{{\n child.value\n }}</span>\n <ng-container *ngIf=\"child.isComplex\">\n <tree-view-node\n [node]=\"child\"\n [hasExpand]=\"true\"\n #node\n ></tree-view-node>\n </ng-container>\n <span class=\"prop-name\">{{ child.endTag }}</span>\n </li>\n </ul>\n </span>\n</ng-template>\n", styles: ["*{font-size:14px}li{position:relative}.prop-name{color:#555;font-weight:700}.tree-view-prop{list-style-type:none;margin:4px 0;word-wrap:break-word}.tree-view-prop{position:relative;padding-left:20px}.tree-view-prop .number{color:#00f}.tree-view-prop .string{color:green}\n"] }]
|
|
522
530
|
}], propDecorators: { treeViewProps: [{
|
|
@@ -875,10 +883,10 @@ class TreeViewComponent {
|
|
|
875
883
|
}
|
|
876
884
|
return false;
|
|
877
885
|
}
|
|
878
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
879
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
886
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TreeViewComponent, deps: [{ token: i1$1.ClipboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
887
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: TreeViewComponent, selector: "tree-view", inputs: { data: "data", maxTextLength: "maxTextLength", maxRootItems: "maxRootItems" }, viewQueries: [{ propertyName: "treeViewNodes", predicate: ["node"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div\n class=\"tree-view\"\n [ngClass]=\"collapsed ? 'collapsed' : 'expanded'\"\n [class]=\"format\"\n *ngIf=\"data\"\n>\n <ng-container *ngIf=\"format != ContentTypesFormat.Text; else textFormat\">\n <div>\n <ng-container *ngTemplateOutlet=\"defaultActions\"></ng-container>\n </div>\n <div [ngClass]=\"allShow ? 'show-all tree-view-body' : 'tree-view-body'\">\n <ng-container *ngIf=\"IsArray; then arrayNode; else singleNode\">\n </ng-container>\n <ng-template #singleNode>\n <tree-view-node [node]=\"resolved.data\" #node> </tree-view-node>\n </ng-template>\n\n <ng-template #arrayNode>\n <tree-view-node\n *ngFor=\"let node of resolved.data\"\n [node]=\"node\"\n [hasExpand]=\"true\"\n class=\"array-node\"\n #node\n >\n </tree-view-node>\n </ng-template>\n </div>\n </ng-container>\n\n <ng-template #defaultActions>\n <button\n (click)=\"toggleExpandAll()\"\n *ngIf=\"resolved.format !== ContentTypesFormat.Text\"\n [disabled]=\"rawView\"\n class=\"tree-view-action\"\n title=\"{{\n (collapsed ? 'TreeViewMessages.Expand' : 'TreeViewMessages.Collapse')\n | translate\n }}\"\n >\n <i [ngClass]=\"allShow ? 'fa fa-minus' : 'fa fa-plus'\"></i>\n </button>\n <button\n (click)=\"copyToClipboard()\"\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.CopyToClipboard' | translate }}\"\n >\n <i class=\"fa fa-clipboard\"></i>\n </button>\n <button\n (click)=\"prettyCopyToClipboard()\"\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.PrettyCopyToClipboard' | translate }}\"\n >\n <i class=\"fa fa-magic\"></i>\n </button>\n <button\n (click)=\"toggleRawView()\"\n class=\"tree-view-action\"\n [ngClass]=\"rawView ? 'pressed' : ''\"\n *ngIf=\"resolved.format !== ContentTypesFormat.Text\"\n title=\"{{\n (rawView\n ? 'TreeViewMessages.ToJsonView'\n : 'TreeViewMessages.ToFormattedView'\n ) | translate\n }}\"\n >\n <i class=\"fa fa-file-text-o\"></i>\n </button>\n </ng-template>\n\n <ng-template #textFormat>\n <ng-container *ngTemplateOutlet=\"defaultActions\"> </ng-container>\n <pre class=\"text-view tree-view-body\">{{ data }}</pre>\n </ng-template>\n <div *ngIf=\"hasCollapse\">\n <button (click)=\"expandToggle()\" class=\"expand-toggler\">\n <i\n class=\"fa\"\n [ngClass]=\"\n collapsed ? 'fa-chevron-circle-down' : 'fa-chevron-circle-up'\n \"\n ></i>\n </button>\n </div>\n</div>\n", styles: [":host ::ng-deep .tree-view ul{padding-left:20px;margin:0}:host ::ng-deep .node-toggler{position:absolute;left:3px;color:#222;font-size:14px;font-weight:700;padding:1px;cursor:pointer;width:20px}:host .tree-view{position:relative}:host ::ng-deep .hidden{display:none}:host .tree-view-action{margin:3px}:host .tree-view-body{position:relative;margin:5px;padding:0 20px;font-family:monospace;overflow:hidden}:host .collapsed .tree-view-body{max-height:200px}:host .expand-toggler{width:100%;height:30px;background:none;border:none;outline:none;cursor:pointer;position:relative;background:linear-gradient(#fff0,#fff 45%);max-width:100%;padding:0;left:0;transition:all ease-in-out .1s;margin-top:15px}:host .expand-toggler .fa{font-size:16px;color:#444;transition:all ease-in-out .3s}:host .collapsed .expand-toggler{height:60px;margin-top:-40px;padding-top:20px;position:absolute}:host .expand-toggler:hover .fa{color:#36517e;transform:scale(1.7) rotate(-90deg)}:host .collapsed{padding-bottom:20px}:host .text-view{white-space:pre-wrap}:host .tree-view-action:disabled{opacity:.65}:host .tree-view-action.pressed{box-shadow:1px 1px 3px #0004 inset}::ng-deep .json .array-node{display:block}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: TreeViewNodeComponent, selector: "tree-view-node", inputs: ["node", "hasExpand"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
880
888
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
882
890
|
type: Component,
|
|
883
891
|
args: [{ selector: 'tree-view', template: "<div\n class=\"tree-view\"\n [ngClass]=\"collapsed ? 'collapsed' : 'expanded'\"\n [class]=\"format\"\n *ngIf=\"data\"\n>\n <ng-container *ngIf=\"format != ContentTypesFormat.Text; else textFormat\">\n <div>\n <ng-container *ngTemplateOutlet=\"defaultActions\"></ng-container>\n </div>\n <div [ngClass]=\"allShow ? 'show-all tree-view-body' : 'tree-view-body'\">\n <ng-container *ngIf=\"IsArray; then arrayNode; else singleNode\">\n </ng-container>\n <ng-template #singleNode>\n <tree-view-node [node]=\"resolved.data\" #node> </tree-view-node>\n </ng-template>\n\n <ng-template #arrayNode>\n <tree-view-node\n *ngFor=\"let node of resolved.data\"\n [node]=\"node\"\n [hasExpand]=\"true\"\n class=\"array-node\"\n #node\n >\n </tree-view-node>\n </ng-template>\n </div>\n </ng-container>\n\n <ng-template #defaultActions>\n <button\n (click)=\"toggleExpandAll()\"\n *ngIf=\"resolved.format !== ContentTypesFormat.Text\"\n [disabled]=\"rawView\"\n class=\"tree-view-action\"\n title=\"{{\n (collapsed ? 'TreeViewMessages.Expand' : 'TreeViewMessages.Collapse')\n | translate\n }}\"\n >\n <i [ngClass]=\"allShow ? 'fa fa-minus' : 'fa fa-plus'\"></i>\n </button>\n <button\n (click)=\"copyToClipboard()\"\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.CopyToClipboard' | translate }}\"\n >\n <i class=\"fa fa-clipboard\"></i>\n </button>\n <button\n (click)=\"prettyCopyToClipboard()\"\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.PrettyCopyToClipboard' | translate }}\"\n >\n <i class=\"fa fa-magic\"></i>\n </button>\n <button\n (click)=\"toggleRawView()\"\n class=\"tree-view-action\"\n [ngClass]=\"rawView ? 'pressed' : ''\"\n *ngIf=\"resolved.format !== ContentTypesFormat.Text\"\n title=\"{{\n (rawView\n ? 'TreeViewMessages.ToJsonView'\n : 'TreeViewMessages.ToFormattedView'\n ) | translate\n }}\"\n >\n <i class=\"fa fa-file-text-o\"></i>\n </button>\n </ng-template>\n\n <ng-template #textFormat>\n <ng-container *ngTemplateOutlet=\"defaultActions\"> </ng-container>\n <pre class=\"text-view tree-view-body\">{{ data }}</pre>\n </ng-template>\n <div *ngIf=\"hasCollapse\">\n <button (click)=\"expandToggle()\" class=\"expand-toggler\">\n <i\n class=\"fa\"\n [ngClass]=\"\n collapsed ? 'fa-chevron-circle-down' : 'fa-chevron-circle-up'\n \"\n ></i>\n </button>\n </div>\n</div>\n", styles: [":host ::ng-deep .tree-view ul{padding-left:20px;margin:0}:host ::ng-deep .node-toggler{position:absolute;left:3px;color:#222;font-size:14px;font-weight:700;padding:1px;cursor:pointer;width:20px}:host .tree-view{position:relative}:host ::ng-deep .hidden{display:none}:host .tree-view-action{margin:3px}:host .tree-view-body{position:relative;margin:5px;padding:0 20px;font-family:monospace;overflow:hidden}:host .collapsed .tree-view-body{max-height:200px}:host .expand-toggler{width:100%;height:30px;background:none;border:none;outline:none;cursor:pointer;position:relative;background:linear-gradient(#fff0,#fff 45%);max-width:100%;padding:0;left:0;transition:all ease-in-out .1s;margin-top:15px}:host .expand-toggler .fa{font-size:16px;color:#444;transition:all ease-in-out .3s}:host .collapsed .expand-toggler{height:60px;margin-top:-40px;padding-top:20px;position:absolute}:host .expand-toggler:hover .fa{color:#36517e;transform:scale(1.7) rotate(-90deg)}:host .collapsed{padding-bottom:20px}:host .text-view{white-space:pre-wrap}:host .tree-view-action:disabled{opacity:.65}:host .tree-view-action.pressed{box-shadow:1px 1px 3px #0004 inset}::ng-deep .json .array-node{display:block}\n"] }]
|
|
884
892
|
}], ctorParameters: () => [{ type: i1$1.ClipboardService }], propDecorators: { treeViewNodes: [{
|
|
@@ -893,11 +901,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
893
901
|
}] } });
|
|
894
902
|
|
|
895
903
|
class IndiginaTreeViewModule {
|
|
896
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
897
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
898
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaTreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
905
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: IndiginaTreeViewModule, declarations: [TreeViewComponent, TreeViewNodeComponent], imports: [CommonModule, TranslateModule, TreeViewModule], exports: [TreeViewComponent] }); }
|
|
906
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaTreeViewModule, imports: [CommonModule, TranslateModule, TreeViewModule] }); }
|
|
899
907
|
}
|
|
900
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaTreeViewModule, decorators: [{
|
|
901
909
|
type: NgModule,
|
|
902
910
|
args: [{
|
|
903
911
|
declarations: [TreeViewComponent, TreeViewNodeComponent],
|
|
@@ -941,8 +949,8 @@ class IndiginaModule {
|
|
|
941
949
|
],
|
|
942
950
|
};
|
|
943
951
|
}
|
|
944
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
945
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
953
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: IndiginaModule, declarations: [SideMenuComponent,
|
|
946
954
|
MenuItemGroupComponent], imports: [HttpClientModule, i2.TranslateModule, LoadingBarHttpClientModule,
|
|
947
955
|
CommonModule,
|
|
948
956
|
RouterModule,
|
|
@@ -958,7 +966,7 @@ class IndiginaModule {
|
|
|
958
966
|
LoadingBarHttpClientModule,
|
|
959
967
|
ToastrModule,
|
|
960
968
|
FieldInputModule] }); }
|
|
961
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
969
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaModule, providers: [
|
|
962
970
|
{
|
|
963
971
|
provide: APP_INITIALIZER,
|
|
964
972
|
useFactory: LocaleServiceSettingsFactory,
|
|
@@ -980,7 +988,10 @@ class IndiginaModule {
|
|
|
980
988
|
loader: {
|
|
981
989
|
provide: TranslateLoader,
|
|
982
990
|
useFactory: TranslateLoaderFactory,
|
|
983
|
-
deps: [
|
|
991
|
+
deps: [
|
|
992
|
+
IndiginaConfiguration,
|
|
993
|
+
HttpClient,
|
|
994
|
+
],
|
|
984
995
|
},
|
|
985
996
|
}),
|
|
986
997
|
LoadingBarHttpClientModule,
|
|
@@ -1000,7 +1011,7 @@ class IndiginaModule {
|
|
|
1000
1011
|
ToastrModule,
|
|
1001
1012
|
FieldInputModule] }); }
|
|
1002
1013
|
}
|
|
1003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: IndiginaModule, decorators: [{
|
|
1004
1015
|
type: NgModule,
|
|
1005
1016
|
args: [{
|
|
1006
1017
|
declarations: [
|
|
@@ -1013,7 +1024,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1013
1024
|
loader: {
|
|
1014
1025
|
provide: TranslateLoader,
|
|
1015
1026
|
useFactory: TranslateLoaderFactory,
|
|
1016
|
-
deps: [
|
|
1027
|
+
deps: [
|
|
1028
|
+
IndiginaConfiguration,
|
|
1029
|
+
HttpClient,
|
|
1030
|
+
],
|
|
1017
1031
|
},
|
|
1018
1032
|
}),
|
|
1019
1033
|
LoadingBarHttpClientModule,
|
|
@@ -1083,12 +1097,12 @@ class FieldFileUploadComponent extends FieldComponent {
|
|
|
1083
1097
|
this.disabled = false;
|
|
1084
1098
|
this.restrictions = this.defaultFileRestrictions;
|
|
1085
1099
|
}
|
|
1086
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1087
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
1100
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileUploadComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1101
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldFileUploadComponent, selector: "field-file-upload", inputs: { labelKey: "labelKey", placeholderKey: "placeholderKey", fieldName: "fieldName", multiple: "multiple", showFileList: "showFileList", autoUpload: "autoUpload", disabled: "disabled", saveUrl: "saveUrl", removeUrl: "removeUrl", restrictions: "restrictions" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\">\n <kendo-upload\n id=\"{{ '_' + fieldName }}\"\n [formControlName]=\"fieldName\"\n [autoUpload]=\"autoUpload\"\n [saveUrl]=\"saveUrl\"\n [removeUrl]=\"removeUrl\"\n [multiple]=\"multiple\"\n [showFileList]=\"showFileList\"\n [restrictions]=\"restrictions\"\n [attr.disabled]=\"disabled\"\n >\n <kendo-upload-messages\n select=\"{{ placeholderKey | translate }}\"\n ></kendo-upload-messages>\n </kendo-upload>\n <ng-content></ng-content>\n <div\n class=\"bg-danger\"\n *ngIf=\"\n parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched\n \"\n >\n <span *ngIf=\"parent.form.get(fieldName).errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['serverErrorMsg']\">{{\n parent.form.get(fieldName).errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", styles: [".k-upload.ng-invalid{border-color:#00000014}\n"], dependencies: [{ kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.CustomMessagesComponent, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }, { kind: "component", type: i4.UploadComponent, selector: "kendo-upload", inputs: ["autoUpload", "batch", "withCredentials", "saveField", "saveHeaders", "saveMethod", "saveUrl", "responseType", "removeField", "removeHeaders", "removeMethod", "removeUrl", "chunkable", "concurrent", "multiple", "disabled", "showFileList", "tabindex", "zoneId", "tabIndex", "accept", "restrictions", "focusableId", "actionsLayout"], outputs: ["blur", "cancel", "clear", "complete", "error", "focus", "pause", "remove", "resume", "select", "success", "upload", "uploadProgress", "valueChange"], exportAs: ["kendoUpload"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
1088
1102
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
1089
1103
|
] }); }
|
|
1090
1104
|
}
|
|
1091
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileUploadComponent, decorators: [{
|
|
1092
1106
|
type: Component,
|
|
1093
1107
|
args: [{ selector: 'field-file-upload', viewProviders: [
|
|
1094
1108
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -1116,8 +1130,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1116
1130
|
}] } });
|
|
1117
1131
|
|
|
1118
1132
|
class FieldFileUploadModule {
|
|
1119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1120
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
1133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1134
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldFileUploadModule, declarations: [FieldFileUploadComponent], imports: [ReactiveFormsModule,
|
|
1121
1135
|
FormsModule,
|
|
1122
1136
|
TranslateModule,
|
|
1123
1137
|
CommonModule,
|
|
@@ -1126,7 +1140,7 @@ class FieldFileUploadModule {
|
|
|
1126
1140
|
UploadsModule,
|
|
1127
1141
|
InputsModule,
|
|
1128
1142
|
ButtonsModule], exports: [FieldFileUploadComponent] }); }
|
|
1129
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
1143
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileUploadModule, imports: [ReactiveFormsModule,
|
|
1130
1144
|
FormsModule,
|
|
1131
1145
|
TranslateModule,
|
|
1132
1146
|
CommonModule,
|
|
@@ -1136,7 +1150,7 @@ class FieldFileUploadModule {
|
|
|
1136
1150
|
InputsModule,
|
|
1137
1151
|
ButtonsModule] }); }
|
|
1138
1152
|
}
|
|
1139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileUploadModule, decorators: [{
|
|
1140
1154
|
type: NgModule,
|
|
1141
1155
|
args: [{
|
|
1142
1156
|
declarations: [FieldFileUploadComponent],
|
|
@@ -1163,12 +1177,12 @@ class FieldTextAreaComponent extends FieldComponent {
|
|
|
1163
1177
|
this.readonly = false;
|
|
1164
1178
|
this.height = 200;
|
|
1165
1179
|
}
|
|
1166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1167
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
1180
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldTextAreaComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1181
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldTextAreaComponent, selector: "field-textarea", inputs: { labelKey: "labelKey", placeholderKey: "placeholderKey", fieldName: "fieldName", readonly: "readonly", height: "height" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\">\n <textarea\n id=\"{{ '_' + fieldName }}\"\n class=\"k-input textarea-with-scroll\"\n [formControlName]=\"fieldName\"\n [readonly]=\"readonly\"\n [style.height.px]=\"height\"\n placeholder=\"{{ placeholderKey | translate }}\"\n ></textarea>\n <ng-content></ng-content>\n <div\n class=\"bg-danger\"\n *ngIf=\"\n parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched\n \"\n >\n <span *ngIf=\"parent.form.get(fieldName).errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['serverErrorMsg']\">{{\n parent.form.get(fieldName).errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", styles: [".textarea-with-scroll{overflow:auto}\n"], dependencies: [{ kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
1168
1182
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
1169
1183
|
] }); }
|
|
1170
1184
|
}
|
|
1171
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldTextAreaComponent, decorators: [{
|
|
1172
1186
|
type: Component,
|
|
1173
1187
|
args: [{ selector: 'field-textarea', viewProviders: [
|
|
1174
1188
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -1186,19 +1200,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1186
1200
|
}] } });
|
|
1187
1201
|
|
|
1188
1202
|
class FieldTextAreaModule {
|
|
1189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1190
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
1203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1204
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldTextAreaModule, declarations: [FieldTextAreaComponent], imports: [ReactiveFormsModule,
|
|
1191
1205
|
FormsModule,
|
|
1192
1206
|
TranslateModule,
|
|
1193
1207
|
CommonModule,
|
|
1194
1208
|
HttpClientModule], exports: [FieldTextAreaComponent] }); }
|
|
1195
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
1209
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldTextAreaModule, imports: [ReactiveFormsModule,
|
|
1196
1210
|
FormsModule,
|
|
1197
1211
|
TranslateModule,
|
|
1198
1212
|
CommonModule,
|
|
1199
1213
|
HttpClientModule] }); }
|
|
1200
1214
|
}
|
|
1201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldTextAreaModule, decorators: [{
|
|
1202
1216
|
type: NgModule,
|
|
1203
1217
|
args: [{
|
|
1204
1218
|
declarations: [FieldTextAreaComponent],
|
|
@@ -1231,12 +1245,12 @@ class FieldFileSelectComponent extends FieldComponent {
|
|
|
1231
1245
|
this.restrictions = this.defaultFileRestrictions;
|
|
1232
1246
|
this.filesSelected = new EventEmitter();
|
|
1233
1247
|
}
|
|
1234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1235
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
1248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileSelectComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1249
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldFileSelectComponent, selector: "field-file-select", inputs: { labelKey: "labelKey", placeholderKey: "placeholderKey", fieldName: "fieldName", multiple: "multiple", showFileList: "showFileList", disabled: "disabled", restrictions: "restrictions" }, outputs: { filesSelected: "filesSelected" }, usesInheritance: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\">\n <kendo-fileselect\n id=\"{{ '_' + fieldName }}\"\n [formControlName]=\"fieldName\"\n [multiple]=\"multiple\"\n [showFileList]=\"showFileList\"\n [restrictions]=\"restrictions\"\n [attr.disabled]=\"disabled\"\n (select)=\"onFilesSelected($event)\"\n >\n <kendo-upload-messages\n select=\"{{ placeholderKey | translate }}\"\n ></kendo-upload-messages>\n </kendo-fileselect>\n <ng-content></ng-content>\n <div\n class=\"bg-danger\"\n *ngIf=\"\n parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched\n \"\n >\n <span *ngIf=\"parent.form.get(fieldName).errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"parent.form.get(fieldName).errors['serverErrorMsg']\">{{\n parent.form.get(fieldName).errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", styles: [".k-upload.ng-invalid{border-color:#00000014}\n"], dependencies: [{ kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.CustomMessagesComponent, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }, { kind: "component", type: i4.FileSelectComponent, selector: "kendo-fileselect", inputs: ["accept", "disabled", "multiple", "name", "showFileList", "tabindex", "restrictions", "zoneId", "focusableId"], outputs: ["blur", "focus", "select", "remove", "valueChange"], exportAs: ["kendoFileSelect"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
1236
1250
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
1237
1251
|
] }); }
|
|
1238
1252
|
}
|
|
1239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileSelectComponent, decorators: [{
|
|
1240
1254
|
type: Component,
|
|
1241
1255
|
args: [{ selector: 'field-file-select', viewProviders: [
|
|
1242
1256
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -1260,15 +1274,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1260
1274
|
}] } });
|
|
1261
1275
|
|
|
1262
1276
|
class FieldFileSelectModule {
|
|
1263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1264
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
1277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1278
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldFileSelectModule, declarations: [FieldFileSelectComponent], imports: [ReactiveFormsModule,
|
|
1265
1279
|
FormsModule,
|
|
1266
1280
|
TranslateModule,
|
|
1267
1281
|
CommonModule,
|
|
1268
1282
|
FieldInputModule,
|
|
1269
1283
|
HttpClientModule,
|
|
1270
1284
|
UploadsModule], exports: [FieldFileSelectComponent] }); }
|
|
1271
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
1285
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileSelectModule, imports: [ReactiveFormsModule,
|
|
1272
1286
|
FormsModule,
|
|
1273
1287
|
TranslateModule,
|
|
1274
1288
|
CommonModule,
|
|
@@ -1276,7 +1290,7 @@ class FieldFileSelectModule {
|
|
|
1276
1290
|
HttpClientModule,
|
|
1277
1291
|
UploadsModule] }); }
|
|
1278
1292
|
}
|
|
1279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldFileSelectModule, decorators: [{
|
|
1280
1294
|
type: NgModule,
|
|
1281
1295
|
args: [{
|
|
1282
1296
|
declarations: [FieldFileSelectComponent],
|
|
@@ -1335,11 +1349,14 @@ function buildEntityEndpoints(name) {
|
|
|
1335
1349
|
entityPath: (id) => `${name}/${id}`,
|
|
1336
1350
|
};
|
|
1337
1351
|
}
|
|
1338
|
-
function buildActivityEndpoints(name) {
|
|
1352
|
+
function buildActivityEndpoints(name = '') {
|
|
1339
1353
|
return {
|
|
1340
|
-
query: (state) =>
|
|
1341
|
-
|
|
1342
|
-
|
|
1354
|
+
query: (state) => {
|
|
1355
|
+
let uri = name.trim()
|
|
1356
|
+
? `activities/${name}?${toODataString(state, { utcDates: true })}`
|
|
1357
|
+
: `activities?${toODataString(state, { utcDates: true })}`;
|
|
1358
|
+
return `${uri.replace(guidFormat, '$1')}`;
|
|
1359
|
+
},
|
|
1343
1360
|
search: (state, searchTerm) => {
|
|
1344
1361
|
let uri = name.trim()
|
|
1345
1362
|
? `activities/${name}/search?${toODataString(state, { utcDates: true })}`
|
|
@@ -1349,9 +1366,15 @@ function buildActivityEndpoints(name) {
|
|
|
1349
1366
|
}
|
|
1350
1367
|
return uri;
|
|
1351
1368
|
},
|
|
1352
|
-
detailedActivity: (id, partnerId) =>
|
|
1353
|
-
|
|
1354
|
-
|
|
1369
|
+
detailedActivity: (id, partnerId) => {
|
|
1370
|
+
let uri = name.trim()
|
|
1371
|
+
? `activities/${name}/${id}`
|
|
1372
|
+
: `activities/${id}`;
|
|
1373
|
+
if (partnerId) {
|
|
1374
|
+
uri += `/${partnerId}`;
|
|
1375
|
+
}
|
|
1376
|
+
return uri;
|
|
1377
|
+
}
|
|
1355
1378
|
};
|
|
1356
1379
|
}
|
|
1357
1380
|
|
|
@@ -1520,10 +1543,10 @@ class AppToastrService {
|
|
|
1520
1543
|
showSuccess(message, title = '') {
|
|
1521
1544
|
this.toastr.success(message, title, { timeOut: this.timeout });
|
|
1522
1545
|
}
|
|
1523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1524
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
1546
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AppToastrService, deps: [{ token: i1$2.ToastrService }, { token: AppSettings }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1547
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AppToastrService, providedIn: 'root' }); }
|
|
1525
1548
|
}
|
|
1526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AppToastrService, decorators: [{
|
|
1527
1550
|
type: Injectable,
|
|
1528
1551
|
args: [{
|
|
1529
1552
|
providedIn: 'root',
|
|
@@ -1567,10 +1590,10 @@ class SettingsService {
|
|
|
1567
1590
|
getToken() {
|
|
1568
1591
|
return localStorage.getItem(tokenKey);
|
|
1569
1592
|
}
|
|
1570
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1571
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
1593
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1594
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
|
|
1572
1595
|
}
|
|
1573
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SettingsService, decorators: [{
|
|
1574
1597
|
type: Injectable,
|
|
1575
1598
|
args: [{ providedIn: 'root' }]
|
|
1576
1599
|
}] });
|
|
@@ -1646,10 +1669,10 @@ class HttpService {
|
|
|
1646
1669
|
showSuccessMessage(message) {
|
|
1647
1670
|
this.appToastrService.showSuccess(this.translate.instant(message));
|
|
1648
1671
|
}
|
|
1649
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1650
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
1672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: HttpService, deps: [{ token: AppToastrService }, { token: i2$2.HttpClient }, { token: AppSettings }, { token: i2.TranslateService }, { token: i1$4.Router }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1673
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: HttpService, providedIn: 'root' }); }
|
|
1651
1674
|
}
|
|
1652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: HttpService, decorators: [{
|
|
1653
1676
|
type: Injectable,
|
|
1654
1677
|
args: [{ providedIn: 'root' }]
|
|
1655
1678
|
}], ctorParameters: () => [{ type: AppToastrService }, { type: i2$2.HttpClient }, { type: AppSettings }, { type: i2.TranslateService }, { type: i1$4.Router }, { type: SettingsService }] });
|
|
@@ -1663,10 +1686,10 @@ class LiveUpdatesControlComponent {
|
|
|
1663
1686
|
? this.subscription.pause()
|
|
1664
1687
|
: this.subscription.resume();
|
|
1665
1688
|
}
|
|
1666
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1667
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
1689
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LiveUpdatesControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1690
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: LiveUpdatesControlComponent, selector: "live-updates-control", inputs: { subscription: "subscription" }, ngImport: i0, template: "<button (click)=\"toggle()\" class=\"k-button\">\n <em [ngClass]=\"subscription.connected ? 'fa fa-pause' : 'fa fa-play'\"></em>\n {{\n (subscription.connected ? 'LiveFeed.Pause' : 'LiveFeed.Resume') | translate\n }}\n</button>\n", styles: [":host .fa{margin-right:5px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
1668
1691
|
}
|
|
1669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LiveUpdatesControlComponent, decorators: [{
|
|
1670
1693
|
type: Component,
|
|
1671
1694
|
args: [{ selector: 'live-updates-control', template: "<button (click)=\"toggle()\" class=\"k-button\">\n <em [ngClass]=\"subscription.connected ? 'fa fa-pause' : 'fa fa-play'\"></em>\n {{\n (subscription.connected ? 'LiveFeed.Pause' : 'LiveFeed.Resume') | translate\n }}\n</button>\n", styles: [":host .fa{margin-right:5px}\n"] }]
|
|
1672
1695
|
}], propDecorators: { subscription: [{
|
|
@@ -1674,11 +1697,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1674
1697
|
}] } });
|
|
1675
1698
|
|
|
1676
1699
|
class LiveUpdatesControlModule {
|
|
1677
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1678
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
1679
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
1700
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LiveUpdatesControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1701
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: LiveUpdatesControlModule, declarations: [LiveUpdatesControlComponent], imports: [CommonModule, TranslateModule], exports: [LiveUpdatesControlComponent] }); }
|
|
1702
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LiveUpdatesControlModule, imports: [CommonModule, TranslateModule] }); }
|
|
1680
1703
|
}
|
|
1681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LiveUpdatesControlModule, decorators: [{
|
|
1682
1705
|
type: NgModule,
|
|
1683
1706
|
args: [{
|
|
1684
1707
|
declarations: [LiveUpdatesControlComponent],
|
|
@@ -1743,10 +1766,10 @@ class AuthProviderResolver {
|
|
|
1743
1766
|
this.AuthProvider$.next(provider);
|
|
1744
1767
|
});
|
|
1745
1768
|
}
|
|
1746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1747
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
1769
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AuthProviderResolver, deps: [{ token: i1.MsalService }, { token: SettingsService }, { token: IndiginaConfiguration }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1770
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AuthProviderResolver, providedIn: 'root' }); }
|
|
1748
1771
|
}
|
|
1749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AuthProviderResolver, decorators: [{
|
|
1750
1773
|
type: Injectable,
|
|
1751
1774
|
args: [{
|
|
1752
1775
|
providedIn: 'root',
|
|
@@ -1813,10 +1836,10 @@ class SignalRService {
|
|
|
1813
1836
|
}
|
|
1814
1837
|
return this.eventEmitters[eventName];
|
|
1815
1838
|
}
|
|
1816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1817
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
1839
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SignalRService, deps: [{ token: AppSettings }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1840
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SignalRService, providedIn: 'root' }); }
|
|
1818
1841
|
}
|
|
1819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: SignalRService, decorators: [{
|
|
1820
1843
|
type: Injectable,
|
|
1821
1844
|
args: [{ providedIn: 'root' }]
|
|
1822
1845
|
}], ctorParameters: () => [{ type: AppSettings }] });
|
|
@@ -1828,10 +1851,10 @@ class AccountService extends BaseAccountService {
|
|
|
1828
1851
|
this.resolver = resolver;
|
|
1829
1852
|
this.isAdmin = (member) => member?.type === adminKey ?? false;
|
|
1830
1853
|
}
|
|
1831
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1832
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
1854
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountService, deps: [{ token: AuthProviderResolver }, { token: HttpService }, { token: SettingsService }, { token: SignalRService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1855
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountService, providedIn: 'root' }); }
|
|
1833
1856
|
}
|
|
1834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountService, decorators: [{
|
|
1835
1858
|
type: Injectable,
|
|
1836
1859
|
args: [{
|
|
1837
1860
|
providedIn: 'root',
|
|
@@ -1861,10 +1884,10 @@ class LanguageSelectorComponent {
|
|
|
1861
1884
|
this.close();
|
|
1862
1885
|
}
|
|
1863
1886
|
}
|
|
1864
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1865
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
1887
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LanguageSelectorComponent, deps: [{ token: i0.ElementRef }, { token: LocaleSettingsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1888
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: LanguageSelectorComponent, selector: "language-selector", inputs: { visible: "visible" }, outputs: { visibleChange: "visibleChange" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, ngImport: i0, template: "<kendo-window *ngIf=\"visible\"\n class=\"language-selector\"\n [draggable]=\"false\"\n [resizable]=\"false\">\n <kendo-window-titlebar>\n <div>{{ \"ChangeLanguage\" | translate }}</div>\n <button kendoWindowCloseAction (click)=\"close()\"></button>\n </kendo-window-titlebar>\n <div *ngIf=\"languages\" class=\"languages\">\n <div *ngFor=\"let language of languages\" class=\"language-change-action\">\n <button class=\"btn\" (click)=\"changeLanguage(language.code)\">\n <span *ngIf=\"currentLanguageCode === language.code\"\n class=\"fa fa-check\" aria-hidden=\"true\"\n ></span>\n {{ language.name }}\n </button>\n </div>\n </div>\n</kendo-window>\n", styles: [".language-selector{right:40px;top:52px!important;left:auto}.language-selector kendo-window-titlebar{padding:5px 8px}.language-selector kendo-window-titlebar div{width:100%}.language-selector .btn{width:95%}.language-selector .fa{margin-right:5px}.language-change-action{padding:5px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.WindowComponent, selector: "kendo-window", inputs: ["autoFocusedElement", "title", "draggable", "resizable", "themeColor", "keepContent", "state", "minWidth", "minHeight", "width", "height", "top", "left"], outputs: ["dragStart", "dragEnd", "resizeStart", "resizeEnd", "close", "widthChange", "heightChange", "topChange", "leftChange", "stateChange"], exportAs: ["kendoWindow"] }, { kind: "component", type: i3.WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "component", type: i3.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1866
1889
|
}
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LanguageSelectorComponent, decorators: [{
|
|
1868
1891
|
type: Component,
|
|
1869
1892
|
args: [{ selector: 'language-selector', changeDetection: ChangeDetectionStrategy.OnPush, template: "<kendo-window *ngIf=\"visible\"\n class=\"language-selector\"\n [draggable]=\"false\"\n [resizable]=\"false\">\n <kendo-window-titlebar>\n <div>{{ \"ChangeLanguage\" | translate }}</div>\n <button kendoWindowCloseAction (click)=\"close()\"></button>\n </kendo-window-titlebar>\n <div *ngIf=\"languages\" class=\"languages\">\n <div *ngFor=\"let language of languages\" class=\"language-change-action\">\n <button class=\"btn\" (click)=\"changeLanguage(language.code)\">\n <span *ngIf=\"currentLanguageCode === language.code\"\n class=\"fa fa-check\" aria-hidden=\"true\"\n ></span>\n {{ language.name }}\n </button>\n </div>\n </div>\n</kendo-window>\n", styles: [".language-selector{right:40px;top:52px!important;left:auto}.language-selector kendo-window-titlebar{padding:5px 8px}.language-selector kendo-window-titlebar div{width:100%}.language-selector .btn{width:95%}.language-selector .fa{margin-right:5px}.language-change-action{padding:5px}\n"] }]
|
|
1870
1893
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: LocaleSettingsService }], propDecorators: { visible: [{
|
|
@@ -1906,10 +1929,10 @@ class AccountMenuComponent {
|
|
|
1906
1929
|
this.toggle();
|
|
1907
1930
|
}
|
|
1908
1931
|
}
|
|
1909
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1910
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
1932
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountMenuComponent, deps: [{ token: i0.ElementRef }, { token: AccountService }, { token: AppSettings }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1933
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: AccountMenuComponent, selector: "account-menu", inputs: { user: "user", menuItems: "menuItems" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, viewQueries: [{ propertyName: "accountMenu", first: true, predicate: ["accountMenuElement"], descendants: true }], ngImport: i0, template: "<div class=\"profile-img left\" id=\"accountMenu\">\n <div #accountMenuElement title=\"User Account\" (click)=\"toggle()\">\n <div class=\"img-circle top-bar-profile left\"></div>\n </div>\n <kendo-popup *ngIf=\"expand\"\n [anchor]=\"accountMenu\"\n popupClass=\"k-widget dropdown open\">\n <ul class=\"dropdown-menu top-bar-dropdown animated fadeInLeft\">\n <li class=\"top-bar-header-row media\">\n <div class=\"media-left\">\n <div class=\"img-circle\"></div>\n </div>\n <div class=\"media-body\">\n <span class=\"left fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"left pad5left\">{{ fullName }}</span>\n </div>\n </li>\n <li class=\"pad5top\">\n <a data-icon=\"globe\" (click)=\"openLanguageSelector($event)\">\n {{ \"ChangeLanguage\" | translate }}</a>\n </li>\n <li>\n <a data-icon=\"desktop\" translate=\"Account\" [href]=\"accountUrl\"></a>\n </li>\n <li *ngFor=\"let menuItem of menuItems\">\n <a *ngIf=\"menuItem.useRouter; else hrefLink\"\n [routerLink]=\"menuItem.link\"\n [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n <ng-template #hrefLink>\n <a [href]=\"menuItem.link\" [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n </ng-template>\n </li>\n <li>\n <a translate=\"Logout\" data-icon=\"sign-out\" (click)=\"logout()\"></a>\n </li>\n </ul>\n </kendo-popup>\n\n <language-selector [(visible)]=\"languageSelectorVisible\"\n ></language-selector>\n</div>\n", styles: [".top-bar-dropdown{right:-24px;top:42px}.top-bar-profile{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$1.PopupComponent, selector: "kendo-popup", inputs: ["animate", "anchor", "anchorAlign", "collision", "popupAlign", "copyAnchorStyles", "popupClass", "positionMode", "offset", "margin"], outputs: ["anchorViewportLeave", "close", "open", "positionChange"], exportAs: ["kendo-popup"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: LanguageSelectorComponent, selector: "language-selector", inputs: ["visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1911
1934
|
}
|
|
1912
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountMenuComponent, decorators: [{
|
|
1913
1936
|
type: Component,
|
|
1914
1937
|
args: [{ selector: 'account-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"profile-img left\" id=\"accountMenu\">\n <div #accountMenuElement title=\"User Account\" (click)=\"toggle()\">\n <div class=\"img-circle top-bar-profile left\"></div>\n </div>\n <kendo-popup *ngIf=\"expand\"\n [anchor]=\"accountMenu\"\n popupClass=\"k-widget dropdown open\">\n <ul class=\"dropdown-menu top-bar-dropdown animated fadeInLeft\">\n <li class=\"top-bar-header-row media\">\n <div class=\"media-left\">\n <div class=\"img-circle\"></div>\n </div>\n <div class=\"media-body\">\n <span class=\"left fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"left pad5left\">{{ fullName }}</span>\n </div>\n </li>\n <li class=\"pad5top\">\n <a data-icon=\"globe\" (click)=\"openLanguageSelector($event)\">\n {{ \"ChangeLanguage\" | translate }}</a>\n </li>\n <li>\n <a data-icon=\"desktop\" translate=\"Account\" [href]=\"accountUrl\"></a>\n </li>\n <li *ngFor=\"let menuItem of menuItems\">\n <a *ngIf=\"menuItem.useRouter; else hrefLink\"\n [routerLink]=\"menuItem.link\"\n [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n <ng-template #hrefLink>\n <a [href]=\"menuItem.link\" [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n </ng-template>\n </li>\n <li>\n <a translate=\"Logout\" data-icon=\"sign-out\" (click)=\"logout()\"></a>\n </li>\n </ul>\n </kendo-popup>\n\n <language-selector [(visible)]=\"languageSelectorVisible\"\n ></language-selector>\n</div>\n", styles: [".top-bar-dropdown{right:-24px;top:42px}.top-bar-profile{cursor:pointer}\n"] }]
|
|
1915
1938
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: AccountService }, { type: AppSettings }], propDecorators: { accountMenu: [{
|
|
@@ -1925,15 +1948,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1925
1948
|
}] } });
|
|
1926
1949
|
|
|
1927
1950
|
class LanguageSelectorModule {
|
|
1928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1929
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
1951
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LanguageSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1952
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: LanguageSelectorModule, declarations: [LanguageSelectorComponent], imports: [CommonModule,
|
|
1930
1953
|
WindowModule,
|
|
1931
1954
|
TranslateModule], exports: [LanguageSelectorComponent] }); }
|
|
1932
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
1955
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LanguageSelectorModule, imports: [CommonModule,
|
|
1933
1956
|
WindowModule,
|
|
1934
1957
|
TranslateModule] }); }
|
|
1935
1958
|
}
|
|
1936
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: LanguageSelectorModule, decorators: [{
|
|
1937
1960
|
type: NgModule,
|
|
1938
1961
|
args: [{
|
|
1939
1962
|
declarations: [
|
|
@@ -1951,19 +1974,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1951
1974
|
}] });
|
|
1952
1975
|
|
|
1953
1976
|
class AccountMenuModule {
|
|
1954
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
1955
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
1977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1978
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: AccountMenuModule, declarations: [AccountMenuComponent], imports: [CommonModule,
|
|
1956
1979
|
PopupModule,
|
|
1957
1980
|
TranslateModule,
|
|
1958
1981
|
RouterModule,
|
|
1959
1982
|
LanguageSelectorModule], exports: [AccountMenuComponent] }); }
|
|
1960
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
1983
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountMenuModule, imports: [CommonModule,
|
|
1961
1984
|
PopupModule,
|
|
1962
1985
|
TranslateModule,
|
|
1963
1986
|
RouterModule,
|
|
1964
1987
|
LanguageSelectorModule] }); }
|
|
1965
1988
|
}
|
|
1966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
1989
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AccountMenuModule, decorators: [{
|
|
1967
1990
|
type: NgModule,
|
|
1968
1991
|
args: [{
|
|
1969
1992
|
declarations: [
|
|
@@ -2005,10 +2028,10 @@ class AzureLoginCallbackComponent {
|
|
|
2005
2028
|
logout() {
|
|
2006
2029
|
this.authService.logout();
|
|
2007
2030
|
}
|
|
2008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2009
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2031
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AzureLoginCallbackComponent, deps: [{ token: i1.MsalService }, { token: SettingsService }, { token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2032
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: AzureLoginCallbackComponent, selector: "lib-azure-login", ngImport: i0, template: '', isInline: true }); }
|
|
2010
2033
|
}
|
|
2011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AzureLoginCallbackComponent, decorators: [{
|
|
2012
2035
|
type: Component,
|
|
2013
2036
|
args: [{
|
|
2014
2037
|
selector: 'lib-azure-login',
|
|
@@ -2083,10 +2106,10 @@ class PermissionsService {
|
|
|
2083
2106
|
return permissions;
|
|
2084
2107
|
}));
|
|
2085
2108
|
}
|
|
2086
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2087
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
2109
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PermissionsService, deps: [{ token: HttpService }, { token: AccountService }, { token: SignalRService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2110
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PermissionsService }); }
|
|
2088
2111
|
}
|
|
2089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PermissionsService, decorators: [{
|
|
2090
2113
|
type: Injectable
|
|
2091
2114
|
}], ctorParameters: () => [{ type: HttpService }, { type: AccountService }, { type: SignalRService }] });
|
|
2092
2115
|
|
|
@@ -2138,10 +2161,10 @@ class RequirePermissionDirective {
|
|
|
2138
2161
|
}
|
|
2139
2162
|
return null;
|
|
2140
2163
|
}
|
|
2141
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2142
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1
|
|
2164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RequirePermissionDirective, deps: [{ token: i0.ElementRef }, { token: i1$4.ActivatedRoute }, { token: PermissionsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2165
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.1", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: { permissionType: "permissionType", permissionCategory: "permissionCategory" }, ngImport: i0 }); }
|
|
2143
2166
|
}
|
|
2144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RequirePermissionDirective, decorators: [{
|
|
2145
2168
|
type: Directive,
|
|
2146
2169
|
args: [{
|
|
2147
2170
|
selector: '[requirePermission]',
|
|
@@ -2153,11 +2176,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2153
2176
|
}] } });
|
|
2154
2177
|
|
|
2155
2178
|
class RequirePermissionModule {
|
|
2156
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2157
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2158
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
2179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RequirePermissionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2180
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: RequirePermissionModule, declarations: [RequirePermissionDirective], exports: [RequirePermissionDirective] }); }
|
|
2181
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RequirePermissionModule }); }
|
|
2159
2182
|
}
|
|
2160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: RequirePermissionModule, decorators: [{
|
|
2161
2184
|
type: NgModule,
|
|
2162
2185
|
args: [{
|
|
2163
2186
|
declarations: [RequirePermissionDirective],
|
|
@@ -2197,10 +2220,10 @@ class PartnerService extends EntityService {
|
|
|
2197
2220
|
constructor(httpService) {
|
|
2198
2221
|
super(httpService, endpoints.partners);
|
|
2199
2222
|
}
|
|
2200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2201
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
2223
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PartnerService, deps: [{ token: HttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2224
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PartnerService }); }
|
|
2202
2225
|
}
|
|
2203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: PartnerService, decorators: [{
|
|
2204
2227
|
type: Injectable
|
|
2205
2228
|
}], ctorParameters: () => [{ type: HttpService }] });
|
|
2206
2229
|
|
|
@@ -2285,10 +2308,10 @@ class ConfirmDialogComponent {
|
|
|
2285
2308
|
actions: this.dialogActions,
|
|
2286
2309
|
});
|
|
2287
2310
|
}
|
|
2288
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2289
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i3.DialogService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: ConfirmDialogComponent, selector: "confirm-dialog", viewQueries: [{ propertyName: "dialogActions", first: true, predicate: ["dialogActions"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #dialogActions>\n <button kendoButton (click)=\"cancel()\" translate=\"Cancel\"></button>\n <button kendoButton (click)=\"confirm()\" translate=\"Confirm\"></button>\n</ng-template>\n<div kendoDialogContainer></div>\n", dependencies: [{ kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i3.DialogContainerDirective, selector: "[kendoDialogContainer]" }] }); }
|
|
2290
2313
|
}
|
|
2291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
2292
2315
|
type: Component,
|
|
2293
2316
|
args: [{ selector: 'confirm-dialog', template: "<ng-template #dialogActions>\n <button kendoButton (click)=\"cancel()\" translate=\"Cancel\"></button>\n <button kendoButton (click)=\"confirm()\" translate=\"Confirm\"></button>\n</ng-template>\n<div kendoDialogContainer></div>\n" }]
|
|
2294
2317
|
}], ctorParameters: () => [{ type: i3.DialogService }], propDecorators: { dialogActions: [{
|
|
@@ -2297,10 +2320,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2297
2320
|
}] } });
|
|
2298
2321
|
|
|
2299
2322
|
class ExcelExportButtonComponent {
|
|
2300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2323
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ExcelExportButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2324
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: ExcelExportButtonComponent, selector: "excel-export-button", ngImport: i0, template: "<button type=\"button\" kendoGridExcelCommand>\n <em ngClass=\"fa fa-file-excel-o\"></em>\n {{ 'Buttons.ExcelExport' | translate }}\n</button>\n", styles: [""], dependencies: [{ kind: "component", type: i6.ExcelCommandDirective, selector: "[kendoGridExcelCommand]" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2302
2325
|
}
|
|
2303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ExcelExportButtonComponent, decorators: [{
|
|
2304
2327
|
type: Component,
|
|
2305
2328
|
args: [{ selector: 'excel-export-button', template: "<button type=\"button\" kendoGridExcelCommand>\n <em ngClass=\"fa fa-file-excel-o\"></em>\n {{ 'Buttons.ExcelExport' | translate }}\n</button>\n" }]
|
|
2306
2329
|
}] });
|
|
@@ -2488,10 +2511,10 @@ class EntityListComponent {
|
|
|
2488
2511
|
this.onFilterChange();
|
|
2489
2512
|
this.getData();
|
|
2490
2513
|
}
|
|
2491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2492
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityListComponent, deps: [{ token: i2.TranslateService }, { token: i1$4.ActivatedRoute }, { token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2515
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: EntityListComponent, selector: "entity-list", inputs: { service: "service", filters: "filters", fields: "fields", commands: "commands", rowClass: "rowClass", defaultSort: "defaultSort", mapItemFn: "mapItemFn", pageButtonsCount: "pageButtonsCount" }, outputs: { filterChange: "filterChange" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["confirmDialog"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$2.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: i1$4.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i6.PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons" }, { kind: "component", type: i6.PagerNextButtonsComponent, selector: "kendo-pager-next-buttons" }, { kind: "component", type: i6.PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: ["buttonCount"] }, { kind: "component", type: i6.PagerInfoComponent, selector: "kendo-pager-info" }, { kind: "directive", type: i6.PagerTemplateDirective, selector: "[kendoPagerTemplate]" }, { kind: "component", type: i6.GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: i6.ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: i6.GridSpacerComponent, selector: "kendo-grid-spacer, kendo-pager-spacer", inputs: ["width"] }, { kind: "directive", type: i6.SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: i6.GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: i6.ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: i6.FocusableDirective, selector: "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: i6.CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: i6.CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: i6.NoRecordsTemplateDirective, selector: "[kendoGridNoRecordsTemplate]" }, { kind: "component", type: i6.RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }, { kind: "component", type: i6.ExcelComponent, selector: "kendo-grid-excel", inputs: ["fileName", "filterable", "creator", "date", "forceProxy", "proxyURL", "fetchData", "paddingCellOptions", "headerPaddingCellOptions", "collapsible"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "component", type: ExcelExportButtonComponent, selector: "excel-export-button" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2493
2516
|
}
|
|
2494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityListComponent, decorators: [{
|
|
2495
2518
|
type: Component,
|
|
2496
2519
|
args: [{ selector: 'entity-list', template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n" }]
|
|
2497
2520
|
}], ctorParameters: () => [{ type: i2.TranslateService }, { type: i1$4.ActivatedRoute }, { type: i1$4.Router }], propDecorators: { service: [{
|
|
@@ -2532,10 +2555,10 @@ class UserListAdminComponent extends EntityListComponent {
|
|
|
2532
2555
|
}));
|
|
2533
2556
|
}
|
|
2534
2557
|
}
|
|
2535
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2536
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: UserListAdminComponent, deps: [{ token: i2.TranslateService }, { token: i1$4.ActivatedRoute }, { token: i1$4.Router }, { token: PartnerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2559
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: UserListAdminComponent, selector: "lib-user-list-admin", providers: [PartnerService], usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n", dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i6.GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: i6.ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: i6.GridSpacerComponent, selector: "kendo-grid-spacer, kendo-pager-spacer", inputs: ["width"] }, { kind: "directive", type: i6.SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: i6.GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: i6.ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: i6.FocusableDirective, selector: "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: i6.CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: i6.CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: i6.NoRecordsTemplateDirective, selector: "[kendoGridNoRecordsTemplate]" }, { kind: "component", type: i6.RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }, { kind: "component", type: i6.PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons" }, { kind: "component", type: i6.PagerNextButtonsComponent, selector: "kendo-pager-next-buttons" }, { kind: "component", type: i6.PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: ["buttonCount"] }, { kind: "component", type: i6.PagerInfoComponent, selector: "kendo-pager-info" }, { kind: "directive", type: i6.PagerTemplateDirective, selector: "[kendoPagerTemplate]" }, { kind: "component", type: i6.ExcelComponent, selector: "kendo-grid-excel", inputs: ["fileName", "filterable", "creator", "date", "forceProxy", "proxyURL", "fetchData", "paddingCellOptions", "headerPaddingCellOptions", "collapsible"] }, { kind: "directive", type: i4$2.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: ["permissionType", "permissionCategory"] }, { kind: "component", type: ExcelExportButtonComponent, selector: "excel-export-button" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2537
2560
|
}
|
|
2538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: UserListAdminComponent, decorators: [{
|
|
2539
2562
|
type: Component,
|
|
2540
2563
|
args: [{ selector: 'lib-user-list-admin', providers: [PartnerService], template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n" }]
|
|
2541
2564
|
}], ctorParameters: () => [{ type: i2.TranslateService }, { type: i1$4.ActivatedRoute }, { type: i1$4.Router }, { type: PartnerService }] });
|
|
@@ -2562,10 +2585,10 @@ class AuthHeadersInterceptor {
|
|
|
2562
2585
|
}
|
|
2563
2586
|
return next.handle(request);
|
|
2564
2587
|
}
|
|
2565
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2566
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
2588
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AuthHeadersInterceptor, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2589
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AuthHeadersInterceptor }); }
|
|
2567
2590
|
}
|
|
2568
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: AuthHeadersInterceptor, decorators: [{
|
|
2569
2592
|
type: Injectable
|
|
2570
2593
|
}], ctorParameters: () => [{ type: SettingsService }] });
|
|
2571
2594
|
|
|
@@ -2573,24 +2596,26 @@ class EntityEditButtonsBarComponent {
|
|
|
2573
2596
|
constructor() {
|
|
2574
2597
|
this.save = new EventEmitter();
|
|
2575
2598
|
}
|
|
2576
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2577
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2599
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditButtonsBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2600
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: EntityEditButtonsBarComponent, selector: "entity-edit-buttons-bar", inputs: { valid: "valid", defaultCreateButtonText: "defaultCreateButtonText" }, outputs: { save: "save" }, ngImport: i0, template: "<div class=\"form-group buttons-panel\">\n <div class=\"col-md-4\">\n <a\n [routerLink]=\"['../new']\"\n preserveFragment\n class=\"btn btn-succes\"\n translate=\"{{ defaultCreateButtonText }}\"\n requirePermission\n permissionType=\"Create\"\n >\n </a>\n </div>\n <div class=\"col-md-8 text-right\">\n <a\n [routerLink]=\"['../']\"\n preserveFragment\n class=\"btn btn-inverse\"\n translate=\"Cancel\"\n ></a>\n <button\n type=\"submit\"\n class=\"btn btn-success\"\n (click)=\"save.emit()\"\n translate=\"Save\"\n [disabled]=\"!valid\"\n requirePermission\n [permissionType]=\"['Edit', 'Create', 'Set']\"\n ></button>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: ["permissionType", "permissionCategory"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }] }); }
|
|
2578
2601
|
}
|
|
2579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2602
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditButtonsBarComponent, decorators: [{
|
|
2580
2603
|
type: Component,
|
|
2581
|
-
args: [{ selector: 'entity-edit-buttons-bar', template: "<div class=\"form-group buttons-panel\">\n <div class=\"col-md-4\">\n <a\n [routerLink]=\"['../new']\"\n preserveFragment\n class=\"btn btn-succes\"\n translate=\"
|
|
2604
|
+
args: [{ selector: 'entity-edit-buttons-bar', template: "<div class=\"form-group buttons-panel\">\n <div class=\"col-md-4\">\n <a\n [routerLink]=\"['../new']\"\n preserveFragment\n class=\"btn btn-succes\"\n translate=\"{{ defaultCreateButtonText }}\"\n requirePermission\n permissionType=\"Create\"\n >\n </a>\n </div>\n <div class=\"col-md-8 text-right\">\n <a\n [routerLink]=\"['../']\"\n preserveFragment\n class=\"btn btn-inverse\"\n translate=\"Cancel\"\n ></a>\n <button\n type=\"submit\"\n class=\"btn btn-success\"\n (click)=\"save.emit()\"\n translate=\"Save\"\n [disabled]=\"!valid\"\n requirePermission\n [permissionType]=\"['Edit', 'Create', 'Set']\"\n ></button>\n </div>\n</div>\n" }]
|
|
2582
2605
|
}], propDecorators: { valid: [{
|
|
2583
2606
|
type: Input
|
|
2607
|
+
}], defaultCreateButtonText: [{
|
|
2608
|
+
type: Input
|
|
2584
2609
|
}], save: [{
|
|
2585
2610
|
type: Output
|
|
2586
2611
|
}] } });
|
|
2587
2612
|
|
|
2588
2613
|
class EntityEditButtonsBarModule {
|
|
2589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2590
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2591
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
2614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditButtonsBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2615
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: EntityEditButtonsBarModule, declarations: [EntityEditButtonsBarComponent], imports: [RouterModule, RequirePermissionModule, TranslateModule], exports: [EntityEditButtonsBarComponent] }); }
|
|
2616
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditButtonsBarModule, imports: [RouterModule, RequirePermissionModule, TranslateModule] }); }
|
|
2592
2617
|
}
|
|
2593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditButtonsBarModule, decorators: [{
|
|
2594
2619
|
type: NgModule,
|
|
2595
2620
|
args: [{
|
|
2596
2621
|
declarations: [EntityEditButtonsBarComponent],
|
|
@@ -2599,11 +2624,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2599
2624
|
}]
|
|
2600
2625
|
}] });
|
|
2601
2626
|
|
|
2627
|
+
const defualtCreateButtonText = 'CreateNew';
|
|
2602
2628
|
class EntityEditFormComponent {
|
|
2603
2629
|
constructor(route) {
|
|
2604
2630
|
this.route = route;
|
|
2605
2631
|
this.formGroup = new BehaviorSubject(null);
|
|
2606
2632
|
this.saveInProgress = false;
|
|
2633
|
+
let createButtonTextFromRoute = this.route.snapshot.data?.createButtonText;
|
|
2634
|
+
this.createButtonText =
|
|
2635
|
+
createButtonTextFromRoute || defualtCreateButtonText;
|
|
2607
2636
|
}
|
|
2608
2637
|
ngOnChanges() {
|
|
2609
2638
|
if (this.entityId) {
|
|
@@ -2658,12 +2687,12 @@ class EntityEditFormComponent {
|
|
|
2658
2687
|
},
|
|
2659
2688
|
});
|
|
2660
2689
|
}
|
|
2661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2662
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2690
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditFormComponent, deps: [{ token: i1$4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2691
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: EntityEditFormComponent, selector: "entity-edit-form", inputs: { title: "title", entityId: "entityId", adapter: "adapter" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"col-md-8\">\n <header class=\"header-page-bg\">\n <h4>{{ title | translate }}</h4>\n </header>\n <div class=\"panel editor-area hero-unit\">\n <form\n *ngIf=\"formGroup | async as form\"\n class=\"form-horizontal\"\n [formGroup]=\"form\"\n novalidate\n autocomplete=\"off\"\n >\n <div class=\"col-md-3\"></div>\n <div class=\"col-md-9\">\n <app-general-errors\n [form]=\"form\"\n [errors]=\"form.generalErrors\"\n ></app-general-errors>\n </div>\n <ng-content></ng-content>\n <entity-edit-buttons-bar\n (save)=\"save()\"\n [valid]=\"form.valid && form.dirty && !saveInProgress\"\n [defaultCreateButtonText]=\"createButtonText\"\n >\n </entity-edit-buttons-bar>\n </form>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: GeneralErrorsComponent, selector: "app-general-errors", inputs: ["form", "errors"] }, { kind: "component", type: EntityEditButtonsBarComponent, selector: "entity-edit-buttons-bar", inputs: ["valid", "defaultCreateButtonText"], outputs: ["save"] }, { kind: "directive", type: i1$3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2663
2692
|
}
|
|
2664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditFormComponent, decorators: [{
|
|
2665
2694
|
type: Component,
|
|
2666
|
-
args: [{ selector: 'entity-edit-form', template: "<div class=\"col-md-8\">\n <header class=\"header-page-bg\">\n <h4>{{ title | translate }}</h4>\n </header>\n <div class=\"panel editor-area hero-unit\">\n <form\n *ngIf=\"formGroup | async as form\"\n class=\"form-horizontal\"\n [formGroup]=\"form\"\n novalidate\n autocomplete=\"off\"\n >\n <div class=\"col-md-3\"></div>\n <div class=\"col-md-9\">\n <app-general-errors\n [form]=\"form\"\n [errors]=\"form.generalErrors\"\n ></app-general-errors>\n </div>\n <ng-content></ng-content>\n <entity-edit-buttons-bar\n (save)=\"save()\"\n [valid]=\"form.valid && form.dirty && !saveInProgress\"\n >\n </entity-edit-buttons-bar>\n </form>\n </div>\n</div>\n" }]
|
|
2695
|
+
args: [{ selector: 'entity-edit-form', template: "<div class=\"col-md-8\">\n <header class=\"header-page-bg\">\n <h4>{{ title | translate }}</h4>\n </header>\n <div class=\"panel editor-area hero-unit\">\n <form\n *ngIf=\"formGroup | async as form\"\n class=\"form-horizontal\"\n [formGroup]=\"form\"\n novalidate\n autocomplete=\"off\"\n >\n <div class=\"col-md-3\"></div>\n <div class=\"col-md-9\">\n <app-general-errors\n [form]=\"form\"\n [errors]=\"form.generalErrors\"\n ></app-general-errors>\n </div>\n <ng-content></ng-content>\n <entity-edit-buttons-bar\n (save)=\"save()\"\n [valid]=\"form.valid && form.dirty && !saveInProgress\"\n [defaultCreateButtonText]=\"createButtonText\"\n >\n </entity-edit-buttons-bar>\n </form>\n </div>\n</div>\n" }]
|
|
2667
2696
|
}], ctorParameters: () => [{ type: i1$4.ActivatedRoute }], propDecorators: { title: [{
|
|
2668
2697
|
type: Input
|
|
2669
2698
|
}], entityId: [{
|
|
@@ -2673,21 +2702,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2673
2702
|
}] } });
|
|
2674
2703
|
|
|
2675
2704
|
class EntityEditFormModule {
|
|
2676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2677
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2705
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2706
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: EntityEditFormModule, declarations: [EntityEditFormComponent], imports: [CommonModule,
|
|
2678
2707
|
TranslateModule,
|
|
2679
2708
|
GeneralErrorsModule,
|
|
2680
2709
|
EntityEditButtonsBarModule,
|
|
2681
2710
|
FormsModule,
|
|
2682
2711
|
ReactiveFormsModule], exports: [EntityEditFormComponent] }); }
|
|
2683
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
2712
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditFormModule, imports: [CommonModule,
|
|
2684
2713
|
TranslateModule,
|
|
2685
2714
|
GeneralErrorsModule,
|
|
2686
2715
|
EntityEditButtonsBarModule,
|
|
2687
2716
|
FormsModule,
|
|
2688
2717
|
ReactiveFormsModule] }); }
|
|
2689
2718
|
}
|
|
2690
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityEditFormModule, decorators: [{
|
|
2691
2720
|
type: NgModule,
|
|
2692
2721
|
args: [{
|
|
2693
2722
|
declarations: [EntityEditFormComponent],
|
|
@@ -2729,11 +2758,11 @@ class EntityEditComponent {
|
|
|
2729
2758
|
}
|
|
2730
2759
|
|
|
2731
2760
|
class ConfirmDialogModule {
|
|
2732
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2733
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2734
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
2761
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2762
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ConfirmDialogModule, declarations: [ConfirmDialogComponent], imports: [TranslateModule, DialogModule], exports: [ConfirmDialogComponent] }); }
|
|
2763
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ConfirmDialogModule, imports: [TranslateModule, DialogModule] }); }
|
|
2735
2764
|
}
|
|
2736
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ConfirmDialogModule, decorators: [{
|
|
2737
2766
|
type: NgModule,
|
|
2738
2767
|
args: [{
|
|
2739
2768
|
declarations: [ConfirmDialogComponent],
|
|
@@ -2743,11 +2772,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2743
2772
|
}] });
|
|
2744
2773
|
|
|
2745
2774
|
class ExcelExportButtonModule {
|
|
2746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2747
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2748
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
2775
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ExcelExportButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2776
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ExcelExportButtonModule, declarations: [ExcelExportButtonComponent], imports: [TranslateModule, ExcelModule], exports: [ExcelExportButtonComponent] }); }
|
|
2777
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ExcelExportButtonModule, imports: [TranslateModule, ExcelModule] }); }
|
|
2749
2778
|
}
|
|
2750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ExcelExportButtonModule, decorators: [{
|
|
2751
2780
|
type: NgModule,
|
|
2752
2781
|
args: [{
|
|
2753
2782
|
declarations: [ExcelExportButtonComponent],
|
|
@@ -2756,9 +2785,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2756
2785
|
}]
|
|
2757
2786
|
}] });
|
|
2758
2787
|
|
|
2788
|
+
class CreateNewComponent {
|
|
2789
|
+
constructor(route) {
|
|
2790
|
+
this.route = route;
|
|
2791
|
+
this.defaultLabelKey = 'CreateNew';
|
|
2792
|
+
let labelKeyFromRoute = this.route.snapshot.data?.labelKey;
|
|
2793
|
+
if (labelKeyFromRoute) {
|
|
2794
|
+
this.defaultLabelKey = labelKeyFromRoute;
|
|
2795
|
+
}
|
|
2796
|
+
}
|
|
2797
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CreateNewComponent, deps: [{ token: i1$4.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2798
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: CreateNewComponent, selector: "create-new", ngImport: i0, template: "<div class=\"col-md-8\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel editor-area hero-unit\">\n <div class=\"form-horizontal\">\n <div class=\"form-group buttons-panel\">\n <div class=\"col-md-4\">\n <a\n [routerLink]=\"['new']\"\n preserveFragment\n class=\"btn btn-succes\"\n requirePermission\n permissionType=\"Create\"\n >\n {{ defaultLabelKey | translate }}\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: ["permissionType", "permissionCategory"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2799
|
+
}
|
|
2800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CreateNewComponent, decorators: [{
|
|
2801
|
+
type: Component,
|
|
2802
|
+
args: [{ selector: 'create-new', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"col-md-8\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel editor-area hero-unit\">\n <div class=\"form-horizontal\">\n <div class=\"form-group buttons-panel\">\n <div class=\"col-md-4\">\n <a\n [routerLink]=\"['new']\"\n preserveFragment\n class=\"btn btn-succes\"\n requirePermission\n permissionType=\"Create\"\n >\n {{ defaultLabelKey | translate }}\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
2803
|
+
}], ctorParameters: () => [{ type: i1$4.ActivatedRoute }] });
|
|
2804
|
+
|
|
2805
|
+
class CreateNewModule {
|
|
2806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CreateNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2807
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: CreateNewModule, declarations: [CreateNewComponent], imports: [RouterModule,
|
|
2808
|
+
RequirePermissionModule,
|
|
2809
|
+
TranslateModule], exports: [CreateNewComponent] }); }
|
|
2810
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CreateNewModule, imports: [RouterModule,
|
|
2811
|
+
RequirePermissionModule,
|
|
2812
|
+
TranslateModule] }); }
|
|
2813
|
+
}
|
|
2814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CreateNewModule, decorators: [{
|
|
2815
|
+
type: NgModule,
|
|
2816
|
+
args: [{
|
|
2817
|
+
declarations: [CreateNewComponent],
|
|
2818
|
+
imports: [
|
|
2819
|
+
RouterModule,
|
|
2820
|
+
RequirePermissionModule,
|
|
2821
|
+
TranslateModule,
|
|
2822
|
+
],
|
|
2823
|
+
exports: [CreateNewComponent],
|
|
2824
|
+
}]
|
|
2825
|
+
}] });
|
|
2826
|
+
|
|
2759
2827
|
class EntityListModule {
|
|
2760
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2761
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2828
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2829
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: EntityListModule, declarations: [EntityListComponent], imports: [CommonModule,
|
|
2762
2830
|
InputsModule,
|
|
2763
2831
|
TranslateModule,
|
|
2764
2832
|
ConfirmDialogModule,
|
|
@@ -2769,8 +2837,9 @@ class EntityListModule {
|
|
|
2769
2837
|
FormsModule,
|
|
2770
2838
|
DebounceModule,
|
|
2771
2839
|
ExcelExportButtonModule,
|
|
2772
|
-
RouterModule
|
|
2773
|
-
|
|
2840
|
+
RouterModule,
|
|
2841
|
+
CreateNewModule], exports: [EntityListComponent] }); }
|
|
2842
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityListModule, imports: [CommonModule,
|
|
2774
2843
|
InputsModule,
|
|
2775
2844
|
TranslateModule,
|
|
2776
2845
|
ConfirmDialogModule,
|
|
@@ -2781,9 +2850,10 @@ class EntityListModule {
|
|
|
2781
2850
|
FormsModule,
|
|
2782
2851
|
DebounceModule,
|
|
2783
2852
|
ExcelExportButtonModule,
|
|
2784
|
-
RouterModule
|
|
2853
|
+
RouterModule,
|
|
2854
|
+
CreateNewModule] }); }
|
|
2785
2855
|
}
|
|
2786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: EntityListModule, decorators: [{
|
|
2787
2857
|
type: NgModule,
|
|
2788
2858
|
args: [{
|
|
2789
2859
|
declarations: [EntityListComponent],
|
|
@@ -2801,6 +2871,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2801
2871
|
DebounceModule,
|
|
2802
2872
|
ExcelExportButtonModule,
|
|
2803
2873
|
RouterModule,
|
|
2874
|
+
CreateNewModule,
|
|
2804
2875
|
],
|
|
2805
2876
|
}]
|
|
2806
2877
|
}] });
|
|
@@ -2837,10 +2908,10 @@ class FieldDropdownlistComponent {
|
|
|
2837
2908
|
initSelectedId(id) {
|
|
2838
2909
|
this.initialSelectedId = id;
|
|
2839
2910
|
}
|
|
2840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2841
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
2911
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownlistComponent, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2912
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldDropdownlistComponent, selector: "field-dropdownlist", inputs: { service: "service", label: "label", sort: "sort", filter: "filter", initialSelectedId: "initialSelectedId" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "kendoDropDown", first: true, predicate: ["inputElement"], descendants: true }], ngImport: i0, template: "<div class=\"header-selection-field\">\n <label\n for=\"{{ '_' + label }}\"\n class=\"title-field\"\n translate=\"{{ label }}\"\n ></label>\n <kendo-dropdownlist\n [data]=\"data\"\n textField=\"name\"\n valueField=\"id\"\n id=\"{{ '_' + label }}\"\n (valueChange)=\"onValueChange($event)\"\n [defaultItem]=\"defaultItem\"\n #inputElement\n >\n </kendo-dropdownlist>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: i5.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }] }); }
|
|
2842
2913
|
}
|
|
2843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownlistComponent, decorators: [{
|
|
2844
2915
|
type: Component,
|
|
2845
2916
|
args: [{ selector: 'field-dropdownlist', template: "<div class=\"header-selection-field\">\n <label\n for=\"{{ '_' + label }}\"\n class=\"title-field\"\n translate=\"{{ label }}\"\n ></label>\n <kendo-dropdownlist\n [data]=\"data\"\n textField=\"name\"\n valueField=\"id\"\n id=\"{{ '_' + label }}\"\n (valueChange)=\"onValueChange($event)\"\n [defaultItem]=\"defaultItem\"\n #inputElement\n >\n </kendo-dropdownlist>\n</div>\n" }]
|
|
2846
2917
|
}], ctorParameters: () => [{ type: i2.TranslateService }], propDecorators: { service: [{
|
|
@@ -2861,11 +2932,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2861
2932
|
}] } });
|
|
2862
2933
|
|
|
2863
2934
|
class FieldDropdownlistModule {
|
|
2864
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2865
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
2866
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
2935
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownlistModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2936
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownlistModule, declarations: [FieldDropdownlistComponent], imports: [DropDownListModule], exports: [FieldDropdownlistComponent] }); }
|
|
2937
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownlistModule, imports: [DropDownListModule] }); }
|
|
2867
2938
|
}
|
|
2868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
2939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownlistModule, decorators: [{
|
|
2869
2940
|
type: NgModule,
|
|
2870
2941
|
args: [{
|
|
2871
2942
|
declarations: [FieldDropdownlistComponent],
|
|
@@ -2978,12 +3049,12 @@ class FieldDropdownComponent extends FieldComponent {
|
|
|
2978
3049
|
writeSelectedEntityValue(selectedEntityId) {
|
|
2979
3050
|
this.kendoDropDown?.writeValue(selectedEntityId);
|
|
2980
3051
|
}
|
|
2981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
2982
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3052
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3053
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldDropdownComponent, selector: "field-dropdown", inputs: { service: "service", rebind: "rebind", filter: "filter", defaultName: "defaultName", selectedItem: "selectedItem", data: "data", textField: "textField" }, outputs: { selectedChange: "selectedChange" }, viewQueries: [{ propertyName: "kendoDropDown", first: true, predicate: ["inputElement"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\" *ngIf=\"control\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"textField\"\n valueField=\"id\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n #inputElement\n >\n </kendo-dropdownlist>\n\n <div class=\"bg-danger\" *ngIf=\"control.invalid && control.touched\">\n <span *ngIf=\"control.errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i5.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }], viewProviders: [
|
|
2983
3054
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
2984
3055
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2985
3056
|
}
|
|
2986
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3057
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownComponent, decorators: [{
|
|
2987
3058
|
type: Component,
|
|
2988
3059
|
args: [{ selector: 'field-dropdown', viewProviders: [
|
|
2989
3060
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -3010,17 +3081,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3010
3081
|
}] } });
|
|
3011
3082
|
|
|
3012
3083
|
class FieldDropdownModule {
|
|
3013
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3014
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3084
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3085
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownModule, declarations: [FieldDropdownComponent], imports: [TranslateModule,
|
|
3015
3086
|
DropDownsModule,
|
|
3016
3087
|
ReactiveFormsModule,
|
|
3017
3088
|
CommonModule], exports: [FieldDropdownComponent] }); }
|
|
3018
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3089
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownModule, imports: [TranslateModule,
|
|
3019
3090
|
DropDownsModule,
|
|
3020
3091
|
ReactiveFormsModule,
|
|
3021
3092
|
CommonModule] }); }
|
|
3022
3093
|
}
|
|
3023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldDropdownModule, decorators: [{
|
|
3024
3095
|
type: NgModule,
|
|
3025
3096
|
args: [{
|
|
3026
3097
|
declarations: [FieldDropdownComponent],
|
|
@@ -3046,10 +3117,10 @@ class ForbiddenComponent {
|
|
|
3046
3117
|
logout() {
|
|
3047
3118
|
this.accountService.logout();
|
|
3048
3119
|
}
|
|
3049
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3050
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3120
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ForbiddenComponent, deps: [{ token: AccountService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3121
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: ForbiddenComponent, selector: "app-forbidden", ngImport: i0, template: "<div class=\"container body-content\">\n <h2>Forbidden</h2>\n <h4>\n You do not have permission to view this page. Please contact your\n administrator.\n </h4>\n <h4>\n <button\n class=\"btn btn-success\"\n (click)=\"logout()\"\n translate=\"Logout\"\n data-icon=\"sign-out\"\n ></button>\n </h4>\n</div>\n", styles: ["::ng-deep #preloader{display:none!important}\n"], dependencies: [{ kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }] }); }
|
|
3051
3122
|
}
|
|
3052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ForbiddenComponent, decorators: [{
|
|
3053
3124
|
type: Component,
|
|
3054
3125
|
args: [{ selector: 'app-forbidden', template: "<div class=\"container body-content\">\n <h2>Forbidden</h2>\n <h4>\n You do not have permission to view this page. Please contact your\n administrator.\n </h4>\n <h4>\n <button\n class=\"btn btn-success\"\n (click)=\"logout()\"\n translate=\"Logout\"\n data-icon=\"sign-out\"\n ></button>\n </h4>\n</div>\n", styles: ["::ng-deep #preloader{display:none!important}\n"] }]
|
|
3055
3126
|
}], ctorParameters: () => [{ type: AccountService }] });
|
|
@@ -3060,20 +3131,20 @@ class CurrentTimezoneComponent {
|
|
|
3060
3131
|
const timeZone = moment.tz.guess();
|
|
3061
3132
|
this.timeZoneAndOffset = timeZone + ' ' + moment().format('Z');
|
|
3062
3133
|
}
|
|
3063
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3064
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3134
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CurrentTimezoneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3135
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: CurrentTimezoneComponent, selector: "current-timezone", ngImport: i0, template: "<div class=\"divide-line\"></div>\n<div class=\"time-zone\">\n {{ 'CurrentTimeZone' | translate }}: {{ timeZoneAndOffset }}\n</div>\n", styles: [""], dependencies: [{ kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
3065
3136
|
}
|
|
3066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CurrentTimezoneComponent, decorators: [{
|
|
3067
3138
|
type: Component,
|
|
3068
3139
|
args: [{ selector: 'current-timezone', template: "<div class=\"divide-line\"></div>\n<div class=\"time-zone\">\n {{ 'CurrentTimeZone' | translate }}: {{ timeZoneAndOffset }}\n</div>\n" }]
|
|
3069
3140
|
}] });
|
|
3070
3141
|
|
|
3071
3142
|
class CurrentTimeZoneModule {
|
|
3072
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3073
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3074
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3143
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CurrentTimeZoneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3144
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: CurrentTimeZoneModule, declarations: [CurrentTimezoneComponent], imports: [TranslateModule], exports: [CurrentTimezoneComponent] }); }
|
|
3145
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CurrentTimeZoneModule, imports: [TranslateModule] }); }
|
|
3075
3146
|
}
|
|
3076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: CurrentTimeZoneModule, decorators: [{
|
|
3077
3148
|
type: NgModule,
|
|
3078
3149
|
args: [{
|
|
3079
3150
|
declarations: [CurrentTimezoneComponent],
|
|
@@ -3115,15 +3186,15 @@ class FieldMultiSelectComponent extends FieldComponent {
|
|
|
3115
3186
|
getData() {
|
|
3116
3187
|
return this.service.getPage(this.filter ? { filter: this.filter } : {});
|
|
3117
3188
|
}
|
|
3118
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3119
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldMultiSelectComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FieldMultiSelectComponent, selector: "field-multiselect", inputs: { service: "service", rebind: "rebind", filter: "filter", textField: "textField", valueField: "valueField", singleMode: "singleMode", autoClose: "autoClose" }, outputs: { changed: "changed" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label class=\"col-md-3 control-label\"\n [translate]=\"labelKey\"\n [for]=\"'_' + fieldName\"\n ></label>\n <div *ngIf=\"control\" class=\"col-md-9\">\n <kendo-multiselect\n [id]=\"'_' + fieldName\"\n [formControl]=\"control\"\n [data]=\"data\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n (valueChange)=\"onValueChange($event)\"\n ></kendo-multiselect>\n\n <div *ngIf=\"control.invalid && control.touched\" class=\"bg-danger\">\n <span *ngIf=\"control.errors['required']\">\n {{ \"Required\" | translate : { param0: labelKey | translate } }}\n </span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">\n {{ control.errors['serverErrorMsg'] }}\n </span>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i5.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "title", "subtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
3120
3191
|
{
|
|
3121
3192
|
provide: ControlContainer,
|
|
3122
3193
|
useExisting: FormGroupDirective,
|
|
3123
3194
|
},
|
|
3124
3195
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3125
3196
|
}
|
|
3126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldMultiSelectComponent, decorators: [{
|
|
3127
3198
|
type: Component,
|
|
3128
3199
|
args: [{ selector: 'field-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [
|
|
3129
3200
|
{
|
|
@@ -3150,17 +3221,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3150
3221
|
}] } });
|
|
3151
3222
|
|
|
3152
3223
|
class FieldMultiselectModule {
|
|
3153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3154
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3224
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldMultiselectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3225
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FieldMultiselectModule, declarations: [FieldMultiSelectComponent], imports: [ReactiveFormsModule,
|
|
3155
3226
|
MultiSelectModule,
|
|
3156
3227
|
TranslateModule,
|
|
3157
3228
|
CommonModule], exports: [FieldMultiSelectComponent] }); }
|
|
3158
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3229
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldMultiselectModule, imports: [ReactiveFormsModule,
|
|
3159
3230
|
MultiSelectModule,
|
|
3160
3231
|
TranslateModule,
|
|
3161
3232
|
CommonModule] }); }
|
|
3162
3233
|
}
|
|
3163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FieldMultiselectModule, decorators: [{
|
|
3164
3235
|
type: NgModule,
|
|
3165
3236
|
args: [{
|
|
3166
3237
|
declarations: [
|
|
@@ -3179,20 +3250,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3179
3250
|
}] });
|
|
3180
3251
|
|
|
3181
3252
|
class FooterBarComponent {
|
|
3182
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3183
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FooterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3254
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: FooterBarComponent, selector: "footer-bar", ngImport: i0, template: "<nav class=\"footer navbar navbar-default navbar-fixed-bottom\">\n <div class=\"container\">\n <a class=\"navbar-brand pull-right\" href=\"http://www.indigina.com/\">\n <ng-content></ng-content>\n </a>\n </div>\n</nav>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3184
3255
|
}
|
|
3185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FooterBarComponent, decorators: [{
|
|
3186
3257
|
type: Component,
|
|
3187
3258
|
args: [{ selector: 'footer-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav class=\"footer navbar navbar-default navbar-fixed-bottom\">\n <div class=\"container\">\n <a class=\"navbar-brand pull-right\" href=\"http://www.indigina.com/\">\n <ng-content></ng-content>\n </a>\n </div>\n</nav>\n" }]
|
|
3188
3259
|
}] });
|
|
3189
3260
|
|
|
3190
3261
|
class FooterBarModule {
|
|
3191
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3192
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3193
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FooterBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3263
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: FooterBarModule, declarations: [FooterBarComponent], exports: [FooterBarComponent] }); }
|
|
3264
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FooterBarModule }); }
|
|
3194
3265
|
}
|
|
3195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: FooterBarModule, decorators: [{
|
|
3196
3267
|
type: NgModule,
|
|
3197
3268
|
args: [{
|
|
3198
3269
|
declarations: [
|
|
@@ -3208,10 +3279,10 @@ class TopMenuComponent {
|
|
|
3208
3279
|
toggleButtonClick() {
|
|
3209
3280
|
document.body.classList.toggle('mini-navbar');
|
|
3210
3281
|
}
|
|
3211
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3212
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3282
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TopMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3283
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: TopMenuComponent, selector: "top-bar", inputs: { currentUser: "currentUser", menuItems: "menuItems" }, ngImport: i0, template: "<div id=\"supply-top-navbar\" class=\"top-bar supply-nav-margin\">\n <nav class=\"navbar navbar-static-top white-bg\">\n <div class=\"navbar-header\" [style.display]=\"currentUser != null\">\n <button type=\"button\"\n class=\"navbar-minimalize minimalize-style-2 btn btn-primary\"\n (click)=\"toggleButtonClick()\">\n <i class=\"fa fa-bars\"></i>\n </button>\n </div>\n <ng-content></ng-content>\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\" *ngIf=\"currentUser != null\">\n <a class=\"message-icons left container-login\"\n [routerLink]=\"['/security/admins', currentUser.id]\">\n <span class=\"fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"pad5left\">\n {{ currentUser.userName }}\n </span>\n <ng-content select=\".pad5left\"></ng-content>\n </a>\n <account-menu [user]=\"currentUser\"\n [menuItems]=\"menuItems\"\n ></account-menu>\n </div>\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AccountMenuComponent, selector: "account-menu", inputs: ["user", "menuItems"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3213
3284
|
}
|
|
3214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TopMenuComponent, decorators: [{
|
|
3215
3286
|
type: Component,
|
|
3216
3287
|
args: [{ selector: 'top-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div id=\"supply-top-navbar\" class=\"top-bar supply-nav-margin\">\n <nav class=\"navbar navbar-static-top white-bg\">\n <div class=\"navbar-header\" [style.display]=\"currentUser != null\">\n <button type=\"button\"\n class=\"navbar-minimalize minimalize-style-2 btn btn-primary\"\n (click)=\"toggleButtonClick()\">\n <i class=\"fa fa-bars\"></i>\n </button>\n </div>\n <ng-content></ng-content>\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\" *ngIf=\"currentUser != null\">\n <a class=\"message-icons left container-login\"\n [routerLink]=\"['/security/admins', currentUser.id]\">\n <span class=\"fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"pad5left\">\n {{ currentUser.userName }}\n </span>\n <ng-content select=\".pad5left\"></ng-content>\n </a>\n <account-menu [user]=\"currentUser\"\n [menuItems]=\"menuItems\"\n ></account-menu>\n </div>\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"] }]
|
|
3217
3288
|
}], propDecorators: { currentUser: [{
|
|
@@ -3221,15 +3292,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3221
3292
|
}] } });
|
|
3222
3293
|
|
|
3223
3294
|
class TopBarModule {
|
|
3224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3225
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3295
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TopBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3296
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: TopBarModule, declarations: [TopMenuComponent], imports: [CommonModule,
|
|
3226
3297
|
RouterModule,
|
|
3227
3298
|
AccountMenuModule], exports: [TopMenuComponent] }); }
|
|
3228
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3299
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TopBarModule, imports: [CommonModule,
|
|
3229
3300
|
RouterModule,
|
|
3230
3301
|
AccountMenuModule] }); }
|
|
3231
3302
|
}
|
|
3232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: TopBarModule, decorators: [{
|
|
3233
3304
|
type: NgModule,
|
|
3234
3305
|
args: [{
|
|
3235
3306
|
declarations: [
|
|
@@ -3352,10 +3423,10 @@ class ActivityFilterComponent {
|
|
|
3352
3423
|
}
|
|
3353
3424
|
});
|
|
3354
3425
|
}
|
|
3355
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3356
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3426
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterComponent, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3427
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: ActivityFilterComponent, selector: "activity-filter", inputs: { showArchiveSwitcher: "showArchiveSwitcher", showSearhText: "showSearhText", customFilterElements: "customFilterElements", filterService: "filterService" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"header-selection-field activity-filter\">\n <div class=\"filter-row\">\n <div>\n <label for=\"datefrom\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateFrom' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateFrom\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label for=\"dateto\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateTo' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateTo\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label class=\"title-field\">\n <span class=\"link-button\" (click)=\"setTodayFilter()\">\n {{ 'ActivitiesFilter.FilterToday' | translate }}\n </span>\n </label>\n </div>\n <div class=\"filter-row\">\n <div class=\"flag\" *ngIf=\"showArchiveSwitcher\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"filter.switchToArchive\" type=\"checkbox\" />\n {{ 'ActivitiesFilter.SwitchToArchiveLabel' | translate }}\n </label>\n </div>\n </div>\n <div *ngIf=\"showSearhText\">\n <label class=\"title-field\">\n <span>{{ 'ActivitiesFilter.SearchLabel' | translate }}:</span>\n </label>\n <input\n type=\"text\"\n k-input\n class=\"input k-input searchtext-input\"\n [(ngModel)]=\"filter.searchText\"\n (keyup.enter)=\"applyFilter()\"\n [disabled]=\"filter.switchToArchive\"\n />\n </div>\n </div>\n </div>\n <div class=\"filter-row\">\n <ng-container *ngFor=\"let field of customFilterElements\">\n <ng-container [ngSwitch]=\"field.fieldType\">\n <ng-template [ngSwitchCase]=\"FieldTypes.Text\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <input\n type=\"text\"\n class=\"input k-input\"\n [(ngModel)]=\"field.filter.value\"\n [placeholder]=\"field.placeholder | translate\"\n />\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Dropdown\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-dropdownlist\n [data]=\"field.data\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [defaultItem]=\"defaultNamedModel\"\n [(ngModel)]=\"field.filter.value\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-dropdownlist>\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Checkbox\">\n <div class=\"flag\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"field.filter.value\" type=\"checkbox\" />\n {{ field.title | translate }}\n </label>\n </div>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Multiselect\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-multiselect\n kendoMultiSelectSummaryTag\n [autoClose]=\"false\"\n [data]=\"field.data\"\n [(ngModel)]=\"field.filter.values\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [valuePrimitive]=\"true\"\n [placeholder]=\"field.placeholder | translate\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-multiselect>\n </div>\n </label>\n </div>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div class=\"row\">\n <div class=\"col-md-12\">\n <button class=\"btn btn-inverse\" (click)=\"applyFilter()\">\n {{ 'Buttons.Apply' | translate }}\n </button>\n <button class=\"btn btn-inverse\" (click)=\"clearFilter()\">\n {{ 'Buttons.Clear' | translate }}\n </button>\n </div>\n </div>\n</div>\n<current-timezone></current-timezone>\n", styles: ["::ng-deep .filter-row{display:flex;flex-flow:row wrap;margin-bottom:20px}::ng-deep .filter-row>div{margin:0 10px 30px 5px;min-width:100px}::ng-deep .filter-row .title-field{margin:0;width:100%}::ng-deep .filter-row .flag{margin-top:10px!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$3.DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "adaptiveMode", "defaultTab", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: i5.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "component", type: i5.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "title", "subtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "directive", type: i5.SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: ["kendoMultiSelectSummaryTag"] }, { kind: "component", type: CurrentTimezoneComponent, selector: "current-timezone" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
3357
3428
|
}
|
|
3358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterComponent, decorators: [{
|
|
3359
3430
|
type: Component,
|
|
3360
3431
|
args: [{ selector: 'activity-filter', template: "<div class=\"header-selection-field activity-filter\">\n <div class=\"filter-row\">\n <div>\n <label for=\"datefrom\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateFrom' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateFrom\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label for=\"dateto\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateTo' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateTo\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label class=\"title-field\">\n <span class=\"link-button\" (click)=\"setTodayFilter()\">\n {{ 'ActivitiesFilter.FilterToday' | translate }}\n </span>\n </label>\n </div>\n <div class=\"filter-row\">\n <div class=\"flag\" *ngIf=\"showArchiveSwitcher\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"filter.switchToArchive\" type=\"checkbox\" />\n {{ 'ActivitiesFilter.SwitchToArchiveLabel' | translate }}\n </label>\n </div>\n </div>\n <div *ngIf=\"showSearhText\">\n <label class=\"title-field\">\n <span>{{ 'ActivitiesFilter.SearchLabel' | translate }}:</span>\n </label>\n <input\n type=\"text\"\n k-input\n class=\"input k-input searchtext-input\"\n [(ngModel)]=\"filter.searchText\"\n (keyup.enter)=\"applyFilter()\"\n [disabled]=\"filter.switchToArchive\"\n />\n </div>\n </div>\n </div>\n <div class=\"filter-row\">\n <ng-container *ngFor=\"let field of customFilterElements\">\n <ng-container [ngSwitch]=\"field.fieldType\">\n <ng-template [ngSwitchCase]=\"FieldTypes.Text\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <input\n type=\"text\"\n class=\"input k-input\"\n [(ngModel)]=\"field.filter.value\"\n [placeholder]=\"field.placeholder | translate\"\n />\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Dropdown\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-dropdownlist\n [data]=\"field.data\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [defaultItem]=\"defaultNamedModel\"\n [(ngModel)]=\"field.filter.value\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-dropdownlist>\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Checkbox\">\n <div class=\"flag\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"field.filter.value\" type=\"checkbox\" />\n {{ field.title | translate }}\n </label>\n </div>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Multiselect\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-multiselect\n kendoMultiSelectSummaryTag\n [autoClose]=\"false\"\n [data]=\"field.data\"\n [(ngModel)]=\"field.filter.values\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [valuePrimitive]=\"true\"\n [placeholder]=\"field.placeholder | translate\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-multiselect>\n </div>\n </label>\n </div>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div class=\"row\">\n <div class=\"col-md-12\">\n <button class=\"btn btn-inverse\" (click)=\"applyFilter()\">\n {{ 'Buttons.Apply' | translate }}\n </button>\n <button class=\"btn btn-inverse\" (click)=\"clearFilter()\">\n {{ 'Buttons.Clear' | translate }}\n </button>\n </div>\n </div>\n</div>\n<current-timezone></current-timezone>\n", styles: ["::ng-deep .filter-row{display:flex;flex-flow:row wrap;margin-bottom:20px}::ng-deep .filter-row>div{margin:0 10px 30px 5px;min-width:100px}::ng-deep .filter-row .title-field{margin:0;width:100%}::ng-deep .filter-row .flag{margin-top:10px!important}\n"] }]
|
|
3361
3432
|
}], ctorParameters: () => [{ type: i2.TranslateService }], propDecorators: { showArchiveSwitcher: [{
|
|
@@ -3369,15 +3440,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3369
3440
|
}] } });
|
|
3370
3441
|
|
|
3371
3442
|
class ActivityFilterModule {
|
|
3372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3373
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3444
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterModule, declarations: [ActivityFilterComponent], imports: [CommonModule,
|
|
3374
3445
|
ReactiveFormsModule,
|
|
3375
3446
|
FormsModule,
|
|
3376
3447
|
TranslateModule,
|
|
3377
3448
|
DateInputsModule,
|
|
3378
3449
|
DropDownsModule,
|
|
3379
3450
|
CurrentTimeZoneModule], exports: [ActivityFilterComponent] }); }
|
|
3380
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3451
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterModule, imports: [CommonModule,
|
|
3381
3452
|
ReactiveFormsModule,
|
|
3382
3453
|
FormsModule,
|
|
3383
3454
|
TranslateModule,
|
|
@@ -3385,7 +3456,7 @@ class ActivityFilterModule {
|
|
|
3385
3456
|
DropDownsModule,
|
|
3386
3457
|
CurrentTimeZoneModule] }); }
|
|
3387
3458
|
}
|
|
3388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterModule, decorators: [{
|
|
3389
3460
|
type: NgModule,
|
|
3390
3461
|
args: [{
|
|
3391
3462
|
declarations: [ActivityFilterComponent],
|
|
@@ -3415,10 +3486,10 @@ class ModalWindowComponent {
|
|
|
3415
3486
|
fragment: this.route.snapshot?.fragment,
|
|
3416
3487
|
});
|
|
3417
3488
|
}
|
|
3418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ModalWindowComponent, deps: [{ token: i1$4.ActivatedRoute }, { token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3490
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: ModalWindowComponent, selector: "modal-window", inputs: { callbackPath: "callbackPath", title: "title" }, ngImport: i0, template: "<div class=\"modal-window window-wrapper\">\n <div class=\"k-overlay\" *ngIf=\"opened\" (click)=\"close()\"></div>\n <kendo-window (close)=\"close()\" [height]=\"830\" [width]=\"800\" *ngIf=\"opened\">\n <kendo-window-titlebar>\n <div class=\"k-window-title\" [translate]=\"title\"></div>\n <button kendoWindowCloseAction></button>\n </kendo-window-titlebar>\n <ng-content></ng-content>\n </kendo-window>\n</div>\n", styles: [".modal-window{z-index:11002}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.WindowComponent, selector: "kendo-window", inputs: ["autoFocusedElement", "title", "draggable", "resizable", "themeColor", "keepContent", "state", "minWidth", "minHeight", "width", "height", "top", "left"], outputs: ["dragStart", "dragEnd", "resizeStart", "resizeEnd", "close", "widthChange", "heightChange", "topChange", "leftChange", "stateChange"], exportAs: ["kendoWindow"] }, { kind: "component", type: i3.WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "component", type: i3.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }] }); }
|
|
3420
3491
|
}
|
|
3421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ModalWindowComponent, decorators: [{
|
|
3422
3493
|
type: Component,
|
|
3423
3494
|
args: [{ selector: 'modal-window', template: "<div class=\"modal-window window-wrapper\">\n <div class=\"k-overlay\" *ngIf=\"opened\" (click)=\"close()\"></div>\n <kendo-window (close)=\"close()\" [height]=\"830\" [width]=\"800\" *ngIf=\"opened\">\n <kendo-window-titlebar>\n <div class=\"k-window-title\" [translate]=\"title\"></div>\n <button kendoWindowCloseAction></button>\n </kendo-window-titlebar>\n <ng-content></ng-content>\n </kendo-window>\n</div>\n", styles: [".modal-window{z-index:11002}\n"] }]
|
|
3424
3495
|
}], ctorParameters: () => [{ type: i1$4.ActivatedRoute }, { type: i1$4.Router }], propDecorators: { callbackPath: [{
|
|
@@ -3428,11 +3499,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3428
3499
|
}] } });
|
|
3429
3500
|
|
|
3430
3501
|
class ModalWindowModule {
|
|
3431
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3432
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3433
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3502
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ModalWindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3503
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ModalWindowModule, declarations: [ModalWindowComponent], imports: [CommonModule, RouterModule, WindowModule], exports: [ModalWindowComponent] }); }
|
|
3504
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ModalWindowModule, imports: [CommonModule, RouterModule, WindowModule] }); }
|
|
3434
3505
|
}
|
|
3435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ModalWindowModule, decorators: [{
|
|
3436
3507
|
type: NgModule,
|
|
3437
3508
|
args: [{
|
|
3438
3509
|
declarations: [ModalWindowComponent],
|
|
@@ -3520,10 +3591,10 @@ class MulticheckFilterComponent {
|
|
|
3520
3591
|
}),
|
|
3521
3592
|
], 'name');
|
|
3522
3593
|
}
|
|
3523
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3524
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
3594
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MulticheckFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3595
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: MulticheckFilterComponent, selector: "multicheck-filter", inputs: { currentFilter: "currentFilter", data: "data", filterService: "filterService", field: "field", valueField: "valueField", operator: "operator" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<ul>\n <li *ngIf=\"showFilter\">\n <input class=\"k-textbox\" (input)=\"onInput($event)\" />\n </li>\n <li\n *ngFor=\"let item of currentData; let i = index\"\n (click)=\"onSelectionChange(item)\"\n [ngClass]=\"{ 'k-state-selected': isItemSelected(item) }\"\n >\n <input\n type=\"checkbox\"\n style=\"margin-right: 5px\"\n id=\"chk-{{ item.id }}\"\n class=\"k-checkbox\"\n [checked]=\"isItemSelected(item)\"\n />\n <label\n class=\"k-multiselect-checkbox k-checkbox-label\"\n for=\"chk-{{ item.id }}\"\n >\n {{ item.name }}\n </label>\n </li>\n</ul>\n", styles: ["ul{list-style-type:none;height:200px;overflow-y:scroll;padding-left:0;padding-right:12px}ul>li{padding:8px 12px;border:1px solid rgba(0,0,0,.08);border-bottom:none}ul>li:last-of-type{border-bottom:1px solid rgba(0,0,0,.08)}.k-multiselect-checkbox{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
3525
3596
|
}
|
|
3526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MulticheckFilterComponent, decorators: [{
|
|
3527
3598
|
type: Component,
|
|
3528
3599
|
args: [{ selector: 'multicheck-filter', template: "<ul>\n <li *ngIf=\"showFilter\">\n <input class=\"k-textbox\" (input)=\"onInput($event)\" />\n </li>\n <li\n *ngFor=\"let item of currentData; let i = index\"\n (click)=\"onSelectionChange(item)\"\n [ngClass]=\"{ 'k-state-selected': isItemSelected(item) }\"\n >\n <input\n type=\"checkbox\"\n style=\"margin-right: 5px\"\n id=\"chk-{{ item.id }}\"\n class=\"k-checkbox\"\n [checked]=\"isItemSelected(item)\"\n />\n <label\n class=\"k-multiselect-checkbox k-checkbox-label\"\n for=\"chk-{{ item.id }}\"\n >\n {{ item.name }}\n </label>\n </li>\n</ul>\n", styles: ["ul{list-style-type:none;height:200px;overflow-y:scroll;padding-left:0;padding-right:12px}ul>li{padding:8px 12px;border:1px solid rgba(0,0,0,.08);border-bottom:none}ul>li:last-of-type{border-bottom:1px solid rgba(0,0,0,.08)}.k-multiselect-checkbox{pointer-events:none}\n"] }]
|
|
3529
3600
|
}], propDecorators: { currentFilter: [{
|
|
@@ -3543,11 +3614,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3543
3614
|
}] } });
|
|
3544
3615
|
|
|
3545
3616
|
class MulticheckFilterModule {
|
|
3546
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3547
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3548
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MulticheckFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3618
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: MulticheckFilterModule, declarations: [MulticheckFilterComponent], imports: [CommonModule], exports: [MulticheckFilterComponent] }); }
|
|
3619
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MulticheckFilterModule, imports: [CommonModule] }); }
|
|
3549
3620
|
}
|
|
3550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: MulticheckFilterModule, decorators: [{
|
|
3551
3622
|
type: NgModule,
|
|
3552
3623
|
args: [{
|
|
3553
3624
|
declarations: [MulticheckFilterComponent],
|
|
@@ -3581,8 +3652,8 @@ class KendoModule {
|
|
|
3581
3652
|
}
|
|
3582
3653
|
return module;
|
|
3583
3654
|
}
|
|
3584
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
3585
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
3655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: KendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3656
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: KendoModule, declarations: [AzureLoginCallbackComponent,
|
|
3586
3657
|
UserListAdminComponent,
|
|
3587
3658
|
ForbiddenComponent], imports: [CommonModule,
|
|
3588
3659
|
RouterModule,
|
|
@@ -3619,7 +3690,8 @@ class KendoModule {
|
|
|
3619
3690
|
LanguageSelectorModule,
|
|
3620
3691
|
ModalWindowModule,
|
|
3621
3692
|
MulticheckFilterModule,
|
|
3622
|
-
LiveUpdatesControlModule
|
|
3693
|
+
LiveUpdatesControlModule,
|
|
3694
|
+
CreateNewModule], exports: [IndiginaModule,
|
|
3623
3695
|
PopupModule,
|
|
3624
3696
|
DropDownsModule,
|
|
3625
3697
|
TooltipModule,
|
|
@@ -3650,7 +3722,7 @@ class KendoModule {
|
|
|
3650
3722
|
AccountMenuModule,
|
|
3651
3723
|
LanguageSelectorModule,
|
|
3652
3724
|
ModalWindowModule] }); }
|
|
3653
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
3725
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: KendoModule, providers: [
|
|
3654
3726
|
{
|
|
3655
3727
|
provide: HTTP_INTERCEPTORS,
|
|
3656
3728
|
useClass: AuthHeadersInterceptor,
|
|
@@ -3695,7 +3767,8 @@ class KendoModule {
|
|
|
3695
3767
|
LanguageSelectorModule,
|
|
3696
3768
|
ModalWindowModule,
|
|
3697
3769
|
MulticheckFilterModule,
|
|
3698
|
-
LiveUpdatesControlModule,
|
|
3770
|
+
LiveUpdatesControlModule,
|
|
3771
|
+
CreateNewModule, IndiginaModule,
|
|
3699
3772
|
PopupModule,
|
|
3700
3773
|
DropDownsModule,
|
|
3701
3774
|
TooltipModule,
|
|
@@ -3724,7 +3797,7 @@ class KendoModule {
|
|
|
3724
3797
|
LanguageSelectorModule,
|
|
3725
3798
|
ModalWindowModule] }); }
|
|
3726
3799
|
}
|
|
3727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
3800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: KendoModule, decorators: [{
|
|
3728
3801
|
type: NgModule,
|
|
3729
3802
|
args: [{
|
|
3730
3803
|
declarations: [
|
|
@@ -3769,6 +3842,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3769
3842
|
ModalWindowModule,
|
|
3770
3843
|
MulticheckFilterModule,
|
|
3771
3844
|
LiveUpdatesControlModule,
|
|
3845
|
+
CreateNewModule,
|
|
3772
3846
|
],
|
|
3773
3847
|
providers: [
|
|
3774
3848
|
{
|
|
@@ -4101,10 +4175,10 @@ class ActivityFilterService {
|
|
|
4101
4175
|
this.currentFilter.customFilters.push(filter);
|
|
4102
4176
|
}
|
|
4103
4177
|
}
|
|
4104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
4105
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1
|
|
4178
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterService, deps: [{ token: i1$4.ActivatedRoute }, { token: i1$4.Router }, { token: dateFilterParameter }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4179
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterService }); }
|
|
4106
4180
|
}
|
|
4107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
4181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ActivityFilterService, decorators: [{
|
|
4108
4182
|
type: Injectable
|
|
4109
4183
|
}], ctorParameters: () => [{ type: i1$4.ActivatedRoute }, { type: i1$4.Router }, { type: undefined, decorators: [{
|
|
4110
4184
|
type: Inject,
|
|
@@ -4175,12 +4249,12 @@ class ObjectDropdownComponent extends FieldComponent {
|
|
|
4175
4249
|
setControlValue(value) {
|
|
4176
4250
|
this.control.setValue(value);
|
|
4177
4251
|
}
|
|
4178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
4179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1
|
|
4252
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ObjectDropdownComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4253
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.1", type: ObjectDropdownComponent, selector: "object-dropdown", inputs: { fieldName: "fieldName", labelKey: "labelKey", data: "data", selectedItem: "selectedItem", defaultName: "defaultName", rebind: "rebind" }, outputs: { selectedChange: "selectedChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\" *ngIf=\"control\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"'description'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-dropdownlist>\n\n <div class=\"bg-danger\" *ngIf=\"control.invalid && control.touched\">\n <span *ngIf=\"control.errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i5.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
4180
4254
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
4181
4255
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
4182
4256
|
}
|
|
4183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
4257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ObjectDropdownComponent, decorators: [{
|
|
4184
4258
|
type: Component,
|
|
4185
4259
|
args: [{ selector: 'object-dropdown', viewProviders: [
|
|
4186
4260
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -4202,17 +4276,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
4202
4276
|
}] } });
|
|
4203
4277
|
|
|
4204
4278
|
class ObjectDropdownModule {
|
|
4205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1
|
|
4206
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1
|
|
4279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ObjectDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4280
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.1", ngImport: i0, type: ObjectDropdownModule, declarations: [ObjectDropdownComponent], imports: [CommonModule,
|
|
4207
4281
|
TranslateModule,
|
|
4208
4282
|
DropDownsModule,
|
|
4209
4283
|
ReactiveFormsModule], exports: [ObjectDropdownComponent] }); }
|
|
4210
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1
|
|
4284
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ObjectDropdownModule, imports: [CommonModule,
|
|
4211
4285
|
TranslateModule,
|
|
4212
4286
|
DropDownsModule,
|
|
4213
4287
|
ReactiveFormsModule] }); }
|
|
4214
4288
|
}
|
|
4215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1
|
|
4289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.1", ngImport: i0, type: ObjectDropdownModule, decorators: [{
|
|
4216
4290
|
type: NgModule,
|
|
4217
4291
|
args: [{
|
|
4218
4292
|
declarations: [ObjectDropdownComponent],
|