@indigina/kendo 2.0.8 → 2.0.10
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/fesm2022/indigina-kendo.mjs +362 -323
- package/fesm2022/indigina-kendo.mjs.map +1 -1
- package/index.d.ts +1394 -5
- package/package.json +27 -27
- package/lib/angular/extensions/ISubscriptionControl.d.ts +0 -5
- package/lib/angular/extensions/ReEntrySubscription.d.ts +0 -11
- package/lib/angular/forms/directives/debounce/debounce.directive.d.ts +0 -13
- package/lib/angular/forms/directives/debounce/debounce.module.d.ts +0 -8
- package/lib/angular/forms/directives/debounce/index.d.ts +0 -2
- package/lib/angular/forms/extensions/FormGroupWithErrors.d.ts +0 -10
- package/lib/angular/forms/widgets/checkbox/field-checkbox-input.component.d.ts +0 -20
- package/lib/angular/forms/widgets/checkbox/field-checkbox-input.module.d.ts +0 -12
- package/lib/angular/forms/widgets/field/field-input/field-input.component.d.ts +0 -15
- package/lib/angular/forms/widgets/field/field-input/field-input.module.d.ts +0 -12
- package/lib/angular/forms/widgets/field/field-input/number-input.component.d.ts +0 -16
- package/lib/angular/forms/widgets/field/field.component.d.ts +0 -20
- package/lib/angular/forms/widgets/file/file-select/field-file-select.component.d.ts +0 -22
- package/lib/angular/forms/widgets/file/file-select/field-file-select.module.d.ts +0 -13
- package/lib/angular/forms/widgets/file/file-upload/field-file-upload.component.d.ts +0 -23
- package/lib/angular/forms/widgets/file/file-upload/field-file-upload.module.d.ts +0 -15
- package/lib/angular/forms/widgets/general-errors/general-errors.component.d.ts +0 -10
- package/lib/angular/forms/widgets/general-errors/general-errors.module.d.ts +0 -9
- package/lib/angular/forms/widgets/general-errors/index.d.ts +0 -2
- package/lib/angular/forms/widgets/numerictextbox/field-numerictextbox-input.component.d.ts +0 -25
- package/lib/angular/forms/widgets/numerictextbox/field-numerictextbox-input.module.d.ts +0 -12
- package/lib/angular/forms/widgets/textarea/field-textarea.component.d.ts +0 -17
- package/lib/angular/forms/widgets/textarea/field-textarea.module.d.ts +0 -11
- package/lib/angular/models/AppSettings.d.ts +0 -12
- package/lib/angular/models/CustomHttpErrorResponse.d.ts +0 -4
- package/lib/angular/models/HttpCodes.d.ts +0 -8
- package/lib/angular/models/HttpMethods.d.ts +0 -2
- package/lib/angular/models/IdentifiedModel.d.ts +0 -3
- package/lib/angular/models/IndiginaConfiguration.d.ts +0 -9
- package/lib/angular/models/Language.d.ts +0 -4
- package/lib/angular/models/NamedModel.d.ts +0 -4
- package/lib/angular/models/removable.interface.d.ts +0 -3
- package/lib/angular/services/http-request-options.model.d.ts +0 -3
- package/lib/angular/services/http.service.d.ts +0 -27
- package/lib/angular/services/locale-settings.service.d.ts +0 -15
- package/lib/angular/services/settings.service.d.ts +0 -15
- package/lib/angular/services/toastr.service.d.ts +0 -13
- package/lib/angular/widgets/live-updates-control/index.d.ts +0 -2
- package/lib/angular/widgets/live-updates-control/live-updates-control.component.d.ts +0 -10
- package/lib/angular/widgets/live-updates-control/live-updates-control.module.d.ts +0 -9
- package/lib/angular/widgets/side-menu/MenuItem.d.ts +0 -8
- package/lib/angular/widgets/side-menu/index.d.ts +0 -3
- package/lib/angular/widgets/side-menu/menu-item-group/menu-item-group.component.d.ts +0 -18
- package/lib/angular/widgets/side-menu/side-menu.component.d.ts +0 -12
- package/lib/angular/widgets/side-menu/side-menu.module.d.ts +0 -13
- package/lib/angular/widgets/tree-view/ContentResolver/AbstractContentResolver.d.ts +0 -7
- package/lib/angular/widgets/tree-view/ContentResolver/ContentResolver.d.ts +0 -6
- package/lib/angular/widgets/tree-view/ContentResolver/Converters/EnumTypeGetter.d.ts +0 -2
- package/lib/angular/widgets/tree-view/ContentResolver/Converters/JsonConverter.d.ts +0 -7
- package/lib/angular/widgets/tree-view/ContentResolver/Converters/TextConverter.d.ts +0 -4
- package/lib/angular/widgets/tree-view/ContentResolver/Converters/XmlConverter.d.ts +0 -6
- package/lib/angular/widgets/tree-view/ContentResolver/IContentResolver.d.ts +0 -4
- package/lib/angular/widgets/tree-view/ContentResolver/Resolvers/JsonResolver.d.ts +0 -5
- package/lib/angular/widgets/tree-view/ContentResolver/Resolvers/TextResolver.d.ts +0 -5
- package/lib/angular/widgets/tree-view/ContentResolver/Resolvers/XmlResolver.d.ts +0 -6
- package/lib/angular/widgets/tree-view/Prettifiers/IPrettifier.d.ts +0 -3
- package/lib/angular/widgets/tree-view/Prettifiers/JsonPrettifier.d.ts +0 -4
- package/lib/angular/widgets/tree-view/Prettifiers/PrettifierFactory.d.ts +0 -5
- package/lib/angular/widgets/tree-view/Prettifiers/TextPrettifier.d.ts +0 -4
- package/lib/angular/widgets/tree-view/Prettifiers/XMLPrettifier.d.ts +0 -4
- package/lib/angular/widgets/tree-view/index.d.ts +0 -3
- package/lib/angular/widgets/tree-view/indigina-tree-view.module.d.ts +0 -11
- package/lib/angular/widgets/tree-view/models/Brackets.d.ts +0 -4
- package/lib/angular/widgets/tree-view/models/ContentTypesFormat.d.ts +0 -5
- package/lib/angular/widgets/tree-view/models/ResolverResult.d.ts +0 -6
- package/lib/angular/widgets/tree-view/models/TreeViewNode.d.ts +0 -15
- package/lib/angular/widgets/tree-view/models/TreeViewNodeTypes.d.ts +0 -7
- package/lib/angular/widgets/tree-view/tree-view-node/tree-view-node.component.d.ts +0 -15
- package/lib/angular/widgets/tree-view/tree-view.component.d.ts +0 -32
- package/lib/app.core.module.d.ts +0 -18
- package/lib/components/account-menu/AccountMenuItem.d.ts +0 -6
- package/lib/components/account-menu/account-menu.component.d.ts +0 -25
- package/lib/components/account-menu/account-menu.module.d.ts +0 -12
- package/lib/components/account-menu/index.d.ts +0 -2
- package/lib/components/azure-login-callback/azure-login-callback.component.d.ts +0 -14
- package/lib/components/forbidden/forbidden.component.d.ts +0 -9
- package/lib/components/language-selector/index.d.ts +0 -2
- package/lib/components/language-selector/language-selector.component.d.ts +0 -18
- package/lib/components/language-selector/language-selector.module.d.ts +0 -10
- package/lib/config/msal-instance.factory.d.ts +0 -3
- package/lib/directives/requirePermission/index.d.ts +0 -2
- package/lib/directives/requirePermission/requirePermission.directive.d.ts +0 -21
- package/lib/directives/requirePermission/requirePermission.module.d.ts +0 -7
- package/lib/interceptors/auth-headers.interceptor.d.ts +0 -11
- package/lib/models/ActivityFilter.d.ts +0 -13
- package/lib/models/AzureB2CSettings.d.ts +0 -7
- package/lib/models/CustomFilter.d.ts +0 -9
- package/lib/models/CustomFilterElement.d.ts +0 -12
- package/lib/models/FieldTypes.d.ts +0 -6
- package/lib/models/FilterTargets.d.ts +0 -4
- package/lib/models/Member.d.ts +0 -6
- package/lib/models/MemberBase.d.ts +0 -9
- package/lib/models/MemberTypes.d.ts +0 -4
- package/lib/models/Operators.d.ts +0 -16
- package/lib/models/Page.d.ts +0 -4
- package/lib/models/PermissionTypes.d.ts +0 -7
- package/lib/models/Permissions.d.ts +0 -2
- package/lib/models/SystemInfo.d.ts +0 -3
- package/lib/models/User.d.ts +0 -5
- package/lib/services/IActivityEndpoints.d.ts +0 -6
- package/lib/services/IEntityEndpoints.d.ts +0 -6
- package/lib/services/IEntityService.d.ts +0 -8
- package/lib/services/account.service.d.ts +0 -14
- package/lib/services/activity.filter.service.config.d.ts +0 -5
- package/lib/services/activity.filter.service.d.ts +0 -33
- package/lib/services/auth-provider.resolver.d.ts +0 -13
- package/lib/services/auth.providers/AuthProvider.d.ts +0 -8
- package/lib/services/auth.providers/azureb2c.provider.d.ts +0 -16
- package/lib/services/base.account.service.d.ts +0 -19
- package/lib/services/endpoints.d.ts +0 -48
- package/lib/services/entity.service.d.ts +0 -17
- package/lib/services/filter-utils.d.ts +0 -2
- package/lib/services/get-page.service.interface.d.ts +0 -7
- package/lib/services/partner.service.d.ts +0 -9
- package/lib/services/permissions.service.d.ts +0 -20
- package/lib/services/signalr/EventNames.d.ts +0 -4
- package/lib/services/signalr/signalr.service.d.ts +0 -17
- package/lib/services/url-params.model.d.ts +0 -1
- package/lib/widgets/activity-filter/FilterConverter.d.ts +0 -5
- package/lib/widgets/activity-filter/activity-filter.component.d.ts +0 -33
- package/lib/widgets/activity-filter/activity-filter.module.d.ts +0 -15
- package/lib/widgets/activity-filter/index.d.ts +0 -2
- package/lib/widgets/confirm-dialog/confirm-dialog.component.d.ts +0 -15
- package/lib/widgets/confirm-dialog/confirm-dialog.module.d.ts +0 -9
- package/lib/widgets/confirm-dialog/index.d.ts +0 -2
- package/lib/widgets/current-timezone/current-timezone.component.d.ts +0 -8
- package/lib/widgets/current-timezone/current-timezone.module.d.ts +0 -8
- package/lib/widgets/current-timezone/index.d.ts +0 -2
- package/lib/widgets/entity-edit/IFormAdapter.d.ts +0 -11
- package/lib/widgets/entity-edit/buttons-bar/buttons-bar.component.d.ts +0 -11
- package/lib/widgets/entity-edit/buttons-bar/buttons-bar.module.d.ts +0 -10
- package/lib/widgets/entity-edit/buttons-bar/index.d.ts +0 -2
- package/lib/widgets/entity-edit/create-new/create-new.component.d.ts +0 -11
- package/lib/widgets/entity-edit/create-new/create-new.module.d.ts +0 -10
- package/lib/widgets/entity-edit/create-new/index.d.ts +0 -2
- package/lib/widgets/entity-edit/dropdowns/field-dropdown/field-dropdown.component.d.ts +0 -46
- package/lib/widgets/entity-edit/dropdowns/field-dropdown/field-dropdown.module.d.ts +0 -11
- package/lib/widgets/entity-edit/dropdowns/object-dropdown/object-dropdown.component.d.ts +0 -34
- package/lib/widgets/entity-edit/dropdowns/object-dropdown/object-dropdown.module.d.ts +0 -11
- package/lib/widgets/entity-edit/dropdowns/simple-object.model.d.ts +0 -5
- package/lib/widgets/entity-edit/entity-edit-form.component.d.ts +0 -25
- package/lib/widgets/entity-edit/entity-edit-form.module.d.ts +0 -12
- package/lib/widgets/entity-edit/entity-edit.component.d.ts +0 -18
- package/lib/widgets/entity-edit/field-multiselect/field-multiselect.component.d.ts +0 -35
- package/lib/widgets/entity-edit/field-multiselect/field-multiselect.module.d.ts +0 -11
- package/lib/widgets/entity-edit/field-multiselect/index.d.ts +0 -2
- package/lib/widgets/entity-edit/index.d.ts +0 -4
- package/lib/widgets/entity-list/Command.d.ts +0 -7
- package/lib/widgets/entity-list/Field.d.ts +0 -6
- package/lib/widgets/entity-list/UrlSerializer.d.ts +0 -2
- package/lib/widgets/entity-list/entity-list.component.d.ts +0 -61
- package/lib/widgets/entity-list/entity-list.module.d.ts +0 -20
- package/lib/widgets/entity-list/field-dropdownlist/field-dropdownlist.component.d.ts +0 -25
- package/lib/widgets/entity-list/field-dropdownlist/field-dropdownlist.module.d.ts +0 -8
- package/lib/widgets/entity-list/field-dropdownlist/index.d.ts +0 -2
- package/lib/widgets/entity-list/index.d.ts +0 -3
- package/lib/widgets/entity-list/user-list-admin.component.d.ts +0 -16
- package/lib/widgets/excel-export-button/excel-export-button.component.d.ts +0 -5
- package/lib/widgets/excel-export-button/excel-export-button.module.d.ts +0 -9
- package/lib/widgets/excel-export-button/index.d.ts +0 -2
- package/lib/widgets/footer-bar/footer-bar.component.d.ts +0 -5
- package/lib/widgets/footer-bar/footer-bar.module.d.ts +0 -7
- package/lib/widgets/footer-bar/index.d.ts +0 -2
- package/lib/widgets/modal-window/index.d.ts +0 -2
- package/lib/widgets/modal-window/modal-window.component.d.ts +0 -13
- package/lib/widgets/modal-window/modal-window.module.d.ts +0 -11
- package/lib/widgets/multicheck-filter/index.d.ts +0 -2
- package/lib/widgets/multicheck-filter/multicheck-filter.component.d.ts +0 -26
- package/lib/widgets/multicheck-filter/multicheck-filter.module.d.ts +0 -8
- package/lib/widgets/top-bar/index.d.ts +0 -2
- package/lib/widgets/top-bar/top-bar.component.d.ts +0 -10
- package/lib/widgets/top-bar/top-bar.module.d.ts +0 -10
- package/public-api.d.ts +0 -101
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i1$3 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import {
|
|
4
|
+
import { Input, Directive, Component, NgModule, EventEmitter, Output, ChangeDetectionStrategy, HostListener, Injectable, ViewChildren, ViewChild, InjectionToken, Inject, provideAppInitializer, inject } from '@angular/core';
|
|
5
5
|
import * as i1 from '@angular/forms';
|
|
6
|
-
import { UntypedFormControl, Validators,
|
|
6
|
+
import { UntypedFormControl, Validators, FormGroupDirective, ControlContainer, ReactiveFormsModule, FormsModule, UntypedFormGroup } from '@angular/forms';
|
|
7
7
|
import * as i2 from '@ngx-translate/core';
|
|
8
|
-
import { TranslateModule,
|
|
8
|
+
import { TranslateModule, TranslateLoader, TranslateStore } from '@ngx-translate/core';
|
|
9
9
|
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i3 from '@progress/kendo-angular-upload';
|
|
11
11
|
import { UploadsModule } from '@progress/kendo-angular-upload';
|
|
12
|
-
import * as i2$
|
|
13
|
-
import { HttpClientModule, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi
|
|
14
|
-
import * as i2$
|
|
12
|
+
import * as i2$2 from '@angular/common/http';
|
|
13
|
+
import { HttpClientModule, HttpClient, HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
14
|
+
import * as i2$1 from '@progress/kendo-angular-inputs';
|
|
15
15
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
16
|
-
import * as i3 from '@progress/kendo-angular-label';
|
|
16
|
+
import * as i3$1 from '@progress/kendo-angular-label';
|
|
17
17
|
import { LabelModule } from '@progress/kendo-angular-label';
|
|
18
18
|
import { BehaviorSubject, Subject, of, throwError, from, tap as tap$1, map as map$1, takeUntil } from 'rxjs';
|
|
19
19
|
import { map, mergeMap, debounceTime, catchError, tap, filter, take, finalize } from 'rxjs/operators';
|
|
@@ -23,26 +23,26 @@ import { ToastrModule } from 'ngx-toastr';
|
|
|
23
23
|
import * as i1$2 from '@angular/router';
|
|
24
24
|
import { NavigationEnd, RouterModule } from '@angular/router';
|
|
25
25
|
import XmlBeautify from 'xml-beautify';
|
|
26
|
-
import * as i1$
|
|
26
|
+
import * as i1$4 from 'ngx-clipboard';
|
|
27
27
|
import { ClipboardModule } from 'ngx-clipboard';
|
|
28
28
|
import { TreeViewModule } from '@progress/kendo-angular-treeview';
|
|
29
29
|
import { InteractionRequiredAuthError, BrowserCacheLocation, PublicClientApplication } from '@azure/msal-browser';
|
|
30
|
-
import * as i1$
|
|
31
|
-
import { MsalService } from '@azure/msal-angular';
|
|
30
|
+
import * as i1$5 from '@azure/msal-angular';
|
|
31
|
+
import { MsalModule, MsalService } from '@azure/msal-angular';
|
|
32
32
|
import * as signalR from '@microsoft/signalr';
|
|
33
|
-
import * as
|
|
33
|
+
import * as i3$2 from '@progress/kendo-angular-popup';
|
|
34
34
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
35
|
-
import * as
|
|
35
|
+
import * as i2$3 from '@progress/kendo-angular-dialog';
|
|
36
36
|
import { WindowModule, DialogModule } from '@progress/kendo-angular-dialog';
|
|
37
|
-
import * as
|
|
37
|
+
import * as i3$3 from '@progress/kendo-angular-dateinputs';
|
|
38
38
|
import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
39
|
-
import * as
|
|
39
|
+
import * as i4 from '@progress/kendo-angular-dropdowns';
|
|
40
40
|
import { DropDownsModule, MultiSelectModule, DropDownListModule } from '@progress/kendo-angular-dropdowns';
|
|
41
41
|
import moment from 'moment';
|
|
42
42
|
import * as momentModule from 'moment-timezone';
|
|
43
|
-
import * as
|
|
43
|
+
import * as i4$1 from '@progress/kendo-angular-pager';
|
|
44
44
|
import { PagerModule } from '@progress/kendo-angular-pager';
|
|
45
|
-
import * as
|
|
45
|
+
import * as i5 from '@progress/kendo-angular-grid';
|
|
46
46
|
import { ExcelModule, GridModule } from '@progress/kendo-angular-grid';
|
|
47
47
|
import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client';
|
|
48
48
|
|
|
@@ -104,10 +104,10 @@ class FieldComponent {
|
|
|
104
104
|
control.enable();
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
108
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
|
|
108
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: FieldComponent, isStandalone: true, inputs: { labelKey: "labelKey", fieldName: "fieldName", disabled: "disabled" }, usesOnChanges: true, ngImport: i0 }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldComponent, decorators: [{
|
|
111
111
|
type: Directive
|
|
112
112
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }, { type: undefined }], propDecorators: { labelKey: [{
|
|
113
113
|
type: Input
|
|
@@ -133,16 +133,16 @@ class FieldInputComponent extends FieldComponent {
|
|
|
133
133
|
}
|
|
134
134
|
return super.setAttribute(name, value);
|
|
135
135
|
}
|
|
136
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
136
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldInputComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
137
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldInputComponent, isStandalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName)?.invalid &&\n parent.form.get(fieldName)?.touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName)?.errors?.['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['email']) {\n <span>{{ \"ValidEmail\" | translate }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName)?.errors?.[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
138
138
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
139
139
|
] }); }
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldInputComponent, decorators: [{
|
|
142
142
|
type: Component,
|
|
143
143
|
args: [{ selector: 'field-input', viewProviders: [
|
|
144
144
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
145
|
-
], standalone: false, 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
|
|
145
|
+
], standalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName)?.invalid &&\n parent.form.get(fieldName)?.touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName)?.errors?.['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['email']) {\n <span>{{ \"ValidEmail\" | translate }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName)?.errors?.[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n" }]
|
|
146
146
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { labelKey: [{
|
|
147
147
|
type: Input
|
|
148
148
|
}], fieldName: [{
|
|
@@ -208,34 +208,34 @@ class NumberInputComponent extends FieldInputComponent {
|
|
|
208
208
|
return notValid ? { forbiddenName: { value: control.value } } : null;
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
212
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
211
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: NumberInputComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
212
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: NumberInputComponent, isStandalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName)?.invalid &&\n parent.form.get(fieldName)?.touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName)?.errors?.['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['email']) {\n <span>{{ \"ValidEmail\" | translate }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName)?.errors?.[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
213
213
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
214
214
|
] }); }
|
|
215
215
|
}
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
217
217
|
type: Component,
|
|
218
218
|
args: [{ selector: 'number-input', viewProviders: [
|
|
219
219
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
220
|
-
], standalone: false, 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
|
|
220
|
+
], standalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName)?.invalid &&\n parent.form.get(fieldName)?.touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName)?.errors?.['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['email']) {\n <span>{{ \"ValidEmail\" | translate }}</span>\n }\n @if (parent.form.get(fieldName)?.errors?.['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName)?.errors?.[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n" }]
|
|
221
221
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { isPositive: [{
|
|
222
222
|
type: Input
|
|
223
223
|
}] } });
|
|
224
224
|
|
|
225
225
|
class FieldInputModule {
|
|
226
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
227
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
226
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
227
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldInputModule, declarations: [FieldInputComponent, NumberInputComponent], imports: [ButtonsModule,
|
|
228
228
|
ReactiveFormsModule,
|
|
229
229
|
FormsModule,
|
|
230
230
|
TranslateModule,
|
|
231
231
|
CommonModule], exports: [FieldInputComponent, NumberInputComponent] }); }
|
|
232
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
232
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldInputModule, imports: [ButtonsModule,
|
|
233
233
|
ReactiveFormsModule,
|
|
234
234
|
FormsModule,
|
|
235
235
|
TranslateModule,
|
|
236
236
|
CommonModule] }); }
|
|
237
237
|
}
|
|
238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldInputModule, decorators: [{
|
|
239
239
|
type: NgModule,
|
|
240
240
|
args: [{
|
|
241
241
|
declarations: [FieldInputComponent, NumberInputComponent],
|
|
@@ -264,16 +264,16 @@ class FieldFileUploadComponent extends FieldComponent {
|
|
|
264
264
|
this.disabled = false;
|
|
265
265
|
this.restrictions = this.defaultFileRestrictions;
|
|
266
266
|
}
|
|
267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
268
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileUploadComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldFileUploadComponent, isStandalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName).errors['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName).errors['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName).errors[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".k-upload.ng-invalid{border-color:#00000014}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i3.CustomMessagesComponent, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }, { kind: "component", type: i3.UploadComponent, selector: "kendo-upload", inputs: ["autoUpload", "batch", "withCredentials", "saveField", "saveHeaders", "saveMethod", "saveUrl", "responseType", "removeField", "removeHeaders", "removeMethod", "removeUrl", "chunkable", "concurrent", "showFileList", "tabIndex", "actionsLayout"], outputs: ["cancel", "clear", "complete", "error", "pause", "resume", "success", "upload", "uploadProgress", "valueChange"], exportAs: ["kendoUpload"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
269
269
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
270
270
|
] }); }
|
|
271
271
|
}
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileUploadComponent, decorators: [{
|
|
273
273
|
type: Component,
|
|
274
274
|
args: [{ selector: 'field-file-upload', viewProviders: [
|
|
275
275
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
276
|
-
], standalone: false, 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
|
|
276
|
+
], standalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName).errors['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName).errors['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName).errors[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".k-upload.ng-invalid{border-color:#00000014}\n"] }]
|
|
277
277
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { labelKey: [{
|
|
278
278
|
type: Input
|
|
279
279
|
}], placeholderKey: [{
|
|
@@ -297,8 +297,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
297
297
|
}] } });
|
|
298
298
|
|
|
299
299
|
class FieldFileUploadModule {
|
|
300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
301
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
301
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldFileUploadModule, declarations: [FieldFileUploadComponent], imports: [ReactiveFormsModule,
|
|
302
302
|
FormsModule,
|
|
303
303
|
TranslateModule,
|
|
304
304
|
CommonModule,
|
|
@@ -307,7 +307,7 @@ class FieldFileUploadModule {
|
|
|
307
307
|
UploadsModule,
|
|
308
308
|
InputsModule,
|
|
309
309
|
ButtonsModule], exports: [FieldFileUploadComponent] }); }
|
|
310
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
310
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileUploadModule, imports: [ReactiveFormsModule,
|
|
311
311
|
FormsModule,
|
|
312
312
|
TranslateModule,
|
|
313
313
|
CommonModule,
|
|
@@ -317,7 +317,7 @@ class FieldFileUploadModule {
|
|
|
317
317
|
InputsModule,
|
|
318
318
|
ButtonsModule] }); }
|
|
319
319
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileUploadModule, decorators: [{
|
|
321
321
|
type: NgModule,
|
|
322
322
|
args: [{
|
|
323
323
|
declarations: [FieldFileUploadComponent],
|
|
@@ -344,16 +344,16 @@ class FieldTextAreaComponent extends FieldComponent {
|
|
|
344
344
|
this.readonly = false;
|
|
345
345
|
this.height = 200;
|
|
346
346
|
}
|
|
347
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
348
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
347
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldTextAreaComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
348
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldTextAreaComponent, isStandalone: false, selector: "field-textarea", inputs: { labelKey: "labelKey", placeholderKey: "placeholderKey", fieldName: "fieldName", readonly: "readonly", height: "height", rebind: "rebind" }, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName).errors['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName).errors['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName).errors[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".textarea-with-scroll{overflow:auto}\n"], dependencies: [{ kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
349
349
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
350
350
|
] }); }
|
|
351
351
|
}
|
|
352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldTextAreaComponent, decorators: [{
|
|
353
353
|
type: Component,
|
|
354
354
|
args: [{ selector: 'field-textarea', viewProviders: [
|
|
355
355
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
356
|
-
], standalone: false, 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
|
|
356
|
+
], standalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName).errors['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName).errors['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName).errors[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".textarea-with-scroll{overflow:auto}\n"] }]
|
|
357
357
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { labelKey: [{
|
|
358
358
|
type: Input
|
|
359
359
|
}], placeholderKey: [{
|
|
@@ -369,19 +369,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
369
369
|
}] } });
|
|
370
370
|
|
|
371
371
|
class FieldTextAreaModule {
|
|
372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
373
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
372
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
373
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldTextAreaModule, declarations: [FieldTextAreaComponent], imports: [ReactiveFormsModule,
|
|
374
374
|
FormsModule,
|
|
375
375
|
TranslateModule,
|
|
376
376
|
CommonModule,
|
|
377
377
|
HttpClientModule], exports: [FieldTextAreaComponent] }); }
|
|
378
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
378
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldTextAreaModule, imports: [ReactiveFormsModule,
|
|
379
379
|
FormsModule,
|
|
380
380
|
TranslateModule,
|
|
381
381
|
CommonModule,
|
|
382
382
|
HttpClientModule] }); }
|
|
383
383
|
}
|
|
384
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldTextAreaModule, decorators: [{
|
|
385
385
|
type: NgModule,
|
|
386
386
|
args: [{
|
|
387
387
|
declarations: [FieldTextAreaComponent],
|
|
@@ -414,16 +414,16 @@ class FieldFileSelectComponent extends FieldComponent {
|
|
|
414
414
|
this.restrictions = this.defaultFileRestrictions;
|
|
415
415
|
this.filesSelected = new EventEmitter();
|
|
416
416
|
}
|
|
417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
418
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
417
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileSelectComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
418
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldFileSelectComponent, isStandalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName).errors['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName).errors['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName).errors[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".k-upload.ng-invalid{border-color:#00000014}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i3.FileSelectComponent, selector: "kendo-fileselect", inputs: ["name"], outputs: ["valueChange"], exportAs: ["kendoFileSelect"] }, { kind: "component", type: i3.CustomMessagesComponent, selector: "kendo-upload-messages, kendo-fileselect-messages, kendo-uploaddropzone-messages" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
419
419
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
420
420
|
] }); }
|
|
421
421
|
}
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileSelectComponent, decorators: [{
|
|
423
423
|
type: Component,
|
|
424
424
|
args: [{ selector: 'field-file-select', viewProviders: [
|
|
425
425
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
426
|
-
], standalone: false, 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
|
|
426
|
+
], standalone: false, 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 @if (parent.form.get(fieldName) &&\n parent.form.get(fieldName).invalid &&\n parent.form.get(fieldName).touched) {\n <div class=\"bg-danger\">\n @if (parent.form.get(fieldName).errors['required']) {\n <span>{{ \"Required\" | translate : { param0: labelKey | translate } }}</span>\n }\n @if (parent.form.get(fieldName).errors['serverErrorMsg']) {\n <span>{{ parent.form.get(fieldName).errors[\"serverErrorMsg\"] }}</span>\n }\n </div>\n }\n </div>\n</div>\n", styles: [".k-upload.ng-invalid{border-color:#00000014}\n"] }]
|
|
427
427
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { labelKey: [{
|
|
428
428
|
type: Input
|
|
429
429
|
}], placeholderKey: [{
|
|
@@ -443,15 +443,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
443
443
|
}] } });
|
|
444
444
|
|
|
445
445
|
class FieldFileSelectModule {
|
|
446
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
447
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
446
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
447
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldFileSelectModule, declarations: [FieldFileSelectComponent], imports: [ReactiveFormsModule,
|
|
448
448
|
FormsModule,
|
|
449
449
|
TranslateModule,
|
|
450
450
|
CommonModule,
|
|
451
451
|
FieldInputModule,
|
|
452
452
|
HttpClientModule,
|
|
453
453
|
UploadsModule], exports: [FieldFileSelectComponent] }); }
|
|
454
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
454
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileSelectModule, imports: [ReactiveFormsModule,
|
|
455
455
|
FormsModule,
|
|
456
456
|
TranslateModule,
|
|
457
457
|
CommonModule,
|
|
@@ -459,7 +459,7 @@ class FieldFileSelectModule {
|
|
|
459
459
|
HttpClientModule,
|
|
460
460
|
UploadsModule] }); }
|
|
461
461
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldFileSelectModule, decorators: [{
|
|
463
463
|
type: NgModule,
|
|
464
464
|
args: [{
|
|
465
465
|
declarations: [FieldFileSelectComponent],
|
|
@@ -518,12 +518,12 @@ class FieldNumericTextBoxInputComponent extends FieldComponent {
|
|
|
518
518
|
this.control?.setValue(value);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
522
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldNumericTextBoxInputComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
522
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: FieldNumericTextBoxInputComponent, isStandalone: false, selector: "field-numerictextbox-input", inputs: { min: "min", max: "max", step: "step", format: "format", selectedValue: "selectedValue", placeholder: "placeholder" }, 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 >\n {{ labelKey | translate }}\n </label>\n\n <div class=\"col-md-9\">\n <kendo-numerictextbox\n id=\"{{ '_' + fieldName }}\"\n [format]=\"format\"\n [step]=\"step\"\n [min]=\"min\"\n [max]=\"max\"\n [placeholder]=\"placeholder\"\n formControlName=\"{{ fieldName }}\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-numerictextbox>\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i2$1.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }, { kind: "directive", type: i3$1.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
523
523
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
524
524
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
525
525
|
}
|
|
526
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldNumericTextBoxInputComponent, decorators: [{
|
|
527
527
|
type: Component,
|
|
528
528
|
args: [{ selector: 'field-numerictextbox-input', viewProviders: [
|
|
529
529
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -545,19 +545,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
545
545
|
}] } });
|
|
546
546
|
|
|
547
547
|
class FieldNumericTextBoxInputModule {
|
|
548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
549
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldNumericTextBoxInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
549
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldNumericTextBoxInputModule, declarations: [FieldNumericTextBoxInputComponent], imports: [CommonModule,
|
|
550
550
|
ReactiveFormsModule,
|
|
551
551
|
TranslateModule,
|
|
552
552
|
InputsModule,
|
|
553
553
|
LabelModule], exports: [FieldNumericTextBoxInputComponent] }); }
|
|
554
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
554
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldNumericTextBoxInputModule, imports: [CommonModule,
|
|
555
555
|
ReactiveFormsModule,
|
|
556
556
|
TranslateModule,
|
|
557
557
|
InputsModule,
|
|
558
558
|
LabelModule] }); }
|
|
559
559
|
}
|
|
560
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
560
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldNumericTextBoxInputModule, decorators: [{
|
|
561
561
|
type: NgModule,
|
|
562
562
|
args: [{
|
|
563
563
|
declarations: [FieldNumericTextBoxInputComponent],
|
|
@@ -614,12 +614,12 @@ class FieldCheckBoxInputComponent extends FieldComponent {
|
|
|
614
614
|
emitSelectedEntity(entity) {
|
|
615
615
|
this.selectedChange.emit(entity);
|
|
616
616
|
}
|
|
617
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
618
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
617
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldCheckBoxInputComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
618
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldCheckBoxInputComponent, isStandalone: false, selector: "field-checkbox-input", inputs: { selectedValue: "selectedValue" }, 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 >{{ labelKey | translate }}</label\n >\n\n @if (control) {\n <div class=\"col-md-9\">\n <input\n id=\"{{ '_' + fieldName }}\"\n type=\"checkbox\"\n kendoCheckBox\n [formControlName]=\"fieldName\"\n (ngModelChange)=\"onValueChange($event)\"\n #selectedValue\n />\n <ng-content></ng-content>\n </div>\n }\n</div>\n", dependencies: [{ kind: "directive", type: i1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2$1.CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: i3$1.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
619
619
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
620
620
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
621
621
|
}
|
|
622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldCheckBoxInputComponent, decorators: [{
|
|
623
623
|
type: Component,
|
|
624
624
|
args: [{ selector: 'field-checkbox-input', viewProviders: [
|
|
625
625
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
@@ -631,19 +631,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
631
631
|
}] } });
|
|
632
632
|
|
|
633
633
|
class FieldCheckBoxInputModule {
|
|
634
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
635
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
634
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldCheckBoxInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
635
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldCheckBoxInputModule, declarations: [FieldCheckBoxInputComponent], imports: [CommonModule,
|
|
636
636
|
ReactiveFormsModule,
|
|
637
637
|
TranslateModule,
|
|
638
638
|
InputsModule,
|
|
639
639
|
LabelModule], exports: [FieldCheckBoxInputComponent] }); }
|
|
640
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
640
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldCheckBoxInputModule, imports: [CommonModule,
|
|
641
641
|
ReactiveFormsModule,
|
|
642
642
|
TranslateModule,
|
|
643
643
|
InputsModule,
|
|
644
644
|
LabelModule] }); }
|
|
645
645
|
}
|
|
646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldCheckBoxInputModule, decorators: [{
|
|
647
647
|
type: NgModule,
|
|
648
648
|
args: [{
|
|
649
649
|
declarations: [FieldCheckBoxInputComponent],
|
|
@@ -853,10 +853,10 @@ class DebounceDirective {
|
|
|
853
853
|
event.stopPropagation();
|
|
854
854
|
this.keyUp.next(event);
|
|
855
855
|
}
|
|
856
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
857
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
856
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DebounceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
857
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: DebounceDirective, isStandalone: false, selector: "[appDebounce]", inputs: { debounceTime: "debounceTime" }, outputs: { debounceKeyup: "debounceKeyup" }, host: { listeners: { "keyup": "keyUpEvent($event)" } }, ngImport: i0 }); }
|
|
858
858
|
}
|
|
859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DebounceDirective, decorators: [{
|
|
860
860
|
type: Directive,
|
|
861
861
|
args: [{
|
|
862
862
|
selector: '[appDebounce]',
|
|
@@ -872,11 +872,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
872
872
|
}] } });
|
|
873
873
|
|
|
874
874
|
class DebounceModule {
|
|
875
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
876
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
877
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
875
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DebounceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
876
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: DebounceModule, declarations: [DebounceDirective], imports: [CommonModule], exports: [DebounceDirective] }); }
|
|
877
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DebounceModule, imports: [CommonModule] }); }
|
|
878
878
|
}
|
|
879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DebounceModule, decorators: [{
|
|
880
880
|
type: NgModule,
|
|
881
881
|
args: [{
|
|
882
882
|
declarations: [DebounceDirective],
|
|
@@ -923,12 +923,12 @@ class GeneralErrorsComponent {
|
|
|
923
923
|
ngOnChanges() {
|
|
924
924
|
this.form.setErrors({ _general_errors_: this.errors });
|
|
925
925
|
}
|
|
926
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
927
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GeneralErrorsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
927
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: GeneralErrorsComponent, isStandalone: false, selector: "app-general-errors", inputs: { form: "form", errors: "errors" }, usesOnChanges: true, ngImport: i0, template: "@if (form) {\n <div [formGroup]=\"form\">\n @if (form.invalid && errors.length) {\n <div class=\"bg-danger\">\n <ul class=\"custom-error\">\n @for (error of errors; track error) {\n <li>{{ error }}</li>\n }\n </ul>\n </div>\n }\n </div>\n}\n", dependencies: [{ kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
928
928
|
}
|
|
929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GeneralErrorsComponent, decorators: [{
|
|
930
930
|
type: Component,
|
|
931
|
-
args: [{ selector: 'app-general-errors', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "
|
|
931
|
+
args: [{ selector: 'app-general-errors', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if (form) {\n <div [formGroup]=\"form\">\n @if (form.invalid && errors.length) {\n <div class=\"bg-danger\">\n <ul class=\"custom-error\">\n @for (error of errors; track error) {\n <li>{{ error }}</li>\n }\n </ul>\n </div>\n }\n </div>\n}\n" }]
|
|
932
932
|
}], propDecorators: { form: [{
|
|
933
933
|
type: Input
|
|
934
934
|
}], errors: [{
|
|
@@ -936,15 +936,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
936
936
|
}] } });
|
|
937
937
|
|
|
938
938
|
class GeneralErrorsModule {
|
|
939
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
940
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
939
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GeneralErrorsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
940
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: GeneralErrorsModule, declarations: [GeneralErrorsComponent], imports: [CommonModule,
|
|
941
941
|
ReactiveFormsModule,
|
|
942
942
|
FormsModule], exports: [GeneralErrorsComponent] }); }
|
|
943
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
943
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GeneralErrorsModule, imports: [CommonModule,
|
|
944
944
|
ReactiveFormsModule,
|
|
945
945
|
FormsModule] }); }
|
|
946
946
|
}
|
|
947
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
947
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: GeneralErrorsModule, decorators: [{
|
|
948
948
|
type: NgModule,
|
|
949
949
|
args: [{
|
|
950
950
|
declarations: [GeneralErrorsComponent],
|
|
@@ -958,10 +958,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
958
958
|
}] });
|
|
959
959
|
|
|
960
960
|
class AppSettings {
|
|
961
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
962
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
961
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppSettings, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
962
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppSettings, providedIn: 'root' }); }
|
|
963
963
|
}
|
|
964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppSettings, decorators: [{
|
|
965
965
|
type: Injectable,
|
|
966
966
|
args: [{
|
|
967
967
|
providedIn: 'root',
|
|
@@ -986,10 +986,10 @@ const HttpMethods = [
|
|
|
986
986
|
];
|
|
987
987
|
|
|
988
988
|
class IndiginaConfiguration {
|
|
989
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
990
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
989
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IndiginaConfiguration, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
990
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IndiginaConfiguration, providedIn: 'root' }); }
|
|
991
991
|
}
|
|
992
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IndiginaConfiguration, decorators: [{
|
|
993
993
|
type: Injectable,
|
|
994
994
|
args: [{ providedIn: 'root' }]
|
|
995
995
|
}] });
|
|
@@ -1006,10 +1006,10 @@ class AppToastrService {
|
|
|
1006
1006
|
showSuccess(message, title = '') {
|
|
1007
1007
|
this.toastr.success(message, title, { timeOut: this.timeout });
|
|
1008
1008
|
}
|
|
1009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1010
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1009
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppToastrService, deps: [{ token: i1$1.ToastrService }, { token: AppSettings }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1010
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppToastrService, providedIn: 'root' }); }
|
|
1011
1011
|
}
|
|
1012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppToastrService, decorators: [{
|
|
1013
1013
|
type: Injectable,
|
|
1014
1014
|
args: [{
|
|
1015
1015
|
providedIn: 'root',
|
|
@@ -1053,10 +1053,10 @@ class SettingsService {
|
|
|
1053
1053
|
getToken() {
|
|
1054
1054
|
return localStorage.getItem(tokenKey);
|
|
1055
1055
|
}
|
|
1056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1057
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1056
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SettingsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1057
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SettingsService, providedIn: 'root' }); }
|
|
1058
1058
|
}
|
|
1059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SettingsService, decorators: [{
|
|
1060
1060
|
type: Injectable,
|
|
1061
1061
|
args: [{ providedIn: 'root' }]
|
|
1062
1062
|
}] });
|
|
@@ -1136,13 +1136,13 @@ class HttpService {
|
|
|
1136
1136
|
showSuccessMessage(message) {
|
|
1137
1137
|
this.appToastrService.showSuccess(this.translate.instant(message));
|
|
1138
1138
|
}
|
|
1139
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1140
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1139
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HttpService, deps: [{ token: AppToastrService }, { token: i2$2.HttpClient }, { token: AppSettings }, { token: i2.TranslateService }, { token: i1$2.Router }, { token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1140
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HttpService, providedIn: 'root' }); }
|
|
1141
1141
|
}
|
|
1142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HttpService, decorators: [{
|
|
1143
1143
|
type: Injectable,
|
|
1144
1144
|
args: [{ providedIn: 'root' }]
|
|
1145
|
-
}], ctorParameters: () => [{ type: AppToastrService }, { type: i2$
|
|
1145
|
+
}], ctorParameters: () => [{ type: AppToastrService }, { type: i2$2.HttpClient }, { type: AppSettings }, { type: i2.TranslateService }, { type: i1$2.Router }, { type: SettingsService }] });
|
|
1146
1146
|
|
|
1147
1147
|
const languageKey = 'language';
|
|
1148
1148
|
class LocaleSettingsService {
|
|
@@ -1176,10 +1176,10 @@ class LocaleSettingsService {
|
|
|
1176
1176
|
localStorage.setItem(languageKey, locale);
|
|
1177
1177
|
}
|
|
1178
1178
|
}
|
|
1179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1180
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LocaleSettingsService, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1180
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LocaleSettingsService, providedIn: 'root' }); }
|
|
1181
1181
|
}
|
|
1182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LocaleSettingsService, decorators: [{
|
|
1183
1183
|
type: Injectable,
|
|
1184
1184
|
args: [{
|
|
1185
1185
|
providedIn: 'root',
|
|
@@ -1195,10 +1195,10 @@ class LiveUpdatesControlComponent {
|
|
|
1195
1195
|
? this.subscription.pause()
|
|
1196
1196
|
: this.subscription.resume();
|
|
1197
1197
|
}
|
|
1198
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1199
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LiveUpdatesControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1199
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: LiveUpdatesControlComponent, isStandalone: false, 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: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
1200
1200
|
}
|
|
1201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LiveUpdatesControlComponent, decorators: [{
|
|
1202
1202
|
type: Component,
|
|
1203
1203
|
args: [{ selector: 'live-updates-control', standalone: false, 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"] }]
|
|
1204
1204
|
}], propDecorators: { subscription: [{
|
|
@@ -1206,11 +1206,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1206
1206
|
}] } });
|
|
1207
1207
|
|
|
1208
1208
|
class LiveUpdatesControlModule {
|
|
1209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1210
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1211
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LiveUpdatesControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1210
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: LiveUpdatesControlModule, declarations: [LiveUpdatesControlComponent], imports: [CommonModule, TranslateModule], exports: [LiveUpdatesControlComponent] }); }
|
|
1211
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LiveUpdatesControlModule, imports: [CommonModule, TranslateModule] }); }
|
|
1212
1212
|
}
|
|
1213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LiveUpdatesControlModule, decorators: [{
|
|
1214
1214
|
type: NgModule,
|
|
1215
1215
|
args: [{
|
|
1216
1216
|
declarations: [LiveUpdatesControlComponent],
|
|
@@ -1266,12 +1266,12 @@ class MenuItemGroupComponent {
|
|
|
1266
1266
|
this.setItemExpand();
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1270
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MenuItemGroupComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1270
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: MenuItemGroupComponent, isStandalone: false, selector: "[menu-item-group]", inputs: { item: "item" }, usesOnChanges: true, ngImport: i0, template: "@if (item.items && item.items.length) {\n <a (click)=\"collapseChild(item, $event)\">\n @if (!item.iconClass) {\n {{ item.text | translate }}\n } @else {\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n }\n </a>\n <ul\n [ngClass]=\"\n item.expanded\n ? 'nav nav-second-level collapse in'\n : 'nav nav-second-level collapse'\n \"\n >\n @for (item of item.items; track item) {\n <li\n ngClass=\"nav nav-third-level collapse\"\n menu-item-group\n [item]=\"item\"\n ></li>\n }\n </ul>\n}\n@if (!item.items || !item.items.length) {\n @if (item.link) {\n <a\n routerLink=\"{{ item.link }}\"\n routerLinkActive=\"active-route\"\n class=\"sub-menu-link\"\n (click)=\"collapseChild(item, $event)\"\n >\n @if (!item.iconClass) {\n {{ item.text | translate }}\n } @else {\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n }\n </a>\n }\n @if (item.url) {\n <a\n class=\"sub-menu-link\"\n href=\"{{ item.url }}\"\n target=\"_blank\"\n (click)=\"collapseChild(item, $event)\"\n >\n @if (!item.iconClass) {\n {{ item.text | translate }}\n } @else {\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n }\n </a>\n }\n}\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$2.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" }] }); }
|
|
1271
1271
|
}
|
|
1272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MenuItemGroupComponent, decorators: [{
|
|
1273
1273
|
type: Component,
|
|
1274
|
-
args: [{ selector: '[menu-item-group]', standalone: false, template: "
|
|
1274
|
+
args: [{ selector: '[menu-item-group]', standalone: false, template: "@if (item.items && item.items.length) {\n <a (click)=\"collapseChild(item, $event)\">\n @if (!item.iconClass) {\n {{ item.text | translate }}\n } @else {\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n }\n </a>\n <ul\n [ngClass]=\"\n item.expanded\n ? 'nav nav-second-level collapse in'\n : 'nav nav-second-level collapse'\n \"\n >\n @for (item of item.items; track item) {\n <li\n ngClass=\"nav nav-third-level collapse\"\n menu-item-group\n [item]=\"item\"\n ></li>\n }\n </ul>\n}\n@if (!item.items || !item.items.length) {\n @if (item.link) {\n <a\n routerLink=\"{{ item.link }}\"\n routerLinkActive=\"active-route\"\n class=\"sub-menu-link\"\n (click)=\"collapseChild(item, $event)\"\n >\n @if (!item.iconClass) {\n {{ item.text | translate }}\n } @else {\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n }\n </a>\n }\n @if (item.url) {\n <a\n class=\"sub-menu-link\"\n href=\"{{ item.url }}\"\n target=\"_blank\"\n (click)=\"collapseChild(item, $event)\"\n >\n @if (!item.iconClass) {\n {{ item.text | translate }}\n } @else {\n <i class=\"menu-icon fa {{ item.iconClass }}\"></i>\n <span class=\"nav-label\">{{ item.text | translate }}</span>\n }\n </a>\n }\n}\n" }]
|
|
1275
1275
|
}], ctorParameters: () => [{ type: i1$2.Router }], propDecorators: { item: [{
|
|
1276
1276
|
type: Input
|
|
1277
1277
|
}] } });
|
|
@@ -1297,12 +1297,12 @@ class SideMenuComponent {
|
|
|
1297
1297
|
itemComponent.collapsed = false;
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SideMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1301
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: SideMenuComponent, isStandalone: false, 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 @for (item of items; track item) {\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 }\n </ul>\n </div>\n </div>\n</nav>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.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"] }] }); }
|
|
1302
1302
|
}
|
|
1303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SideMenuComponent, decorators: [{
|
|
1304
1304
|
type: Component,
|
|
1305
|
-
args: [{ selector: 'side-menu', standalone: false, 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
|
|
1305
|
+
args: [{ selector: 'side-menu', standalone: false, 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 @for (item of items; track item) {\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 }\n </ul>\n </div>\n </div>\n</nav>\n" }]
|
|
1306
1306
|
}], propDecorators: { items: [{
|
|
1307
1307
|
type: Input
|
|
1308
1308
|
}], logoClick: [{
|
|
@@ -1331,12 +1331,12 @@ class TreeViewNodeComponent {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
this.treeViewProps.forEach((x) => x.collapseAll());
|
|
1333
1333
|
}
|
|
1334
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1335
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TreeViewNodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1335
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: TreeViewNodeComponent, isStandalone: false, 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 @if (node.isPrimitive) {\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 } @else {\n <span>\n @if (hasExpand) {\n <em\n [ngClass]=\"\n expanded\n ? 'fa fa-caret-down node-toggler'\n : 'fa fa-caret-right node-toggler'\n \"\n (click)=\"toggleExpand()\"\n ></em>\n }\n @if (!expanded && !node.startTag) {\n <span class=\"ellipsis\">...</span>\n }\n <ul [ngClass]=\"!expanded ? 'hidden' : ''\">\n @for (child of node.children; track child) {\n <li class=\"tree-view-prop\">\n <span class=\"prop-name\">{{ child.startTag }}</span>\n @if (child.isPrimitive) {\n <span [ngClass]=\"child.nodeType\">{{\n child.value\n }}</span>\n }\n @if (child.isComplex) {\n <tree-view-node\n [node]=\"child\"\n [hasExpand]=\"true\"\n #node\n ></tree-view-node>\n }\n <span class=\"prop-name\">{{ child.endTag }}</span>\n </li>\n }\n </ul>\n </span>\n }\n <span class=\"bracket\">{{ node.brackets?.outside }}</span>\n</span>\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: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: TreeViewNodeComponent, selector: "tree-view-node", inputs: ["node", "hasExpand"] }] }); }
|
|
1336
1336
|
}
|
|
1337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TreeViewNodeComponent, decorators: [{
|
|
1338
1338
|
type: Component,
|
|
1339
|
-
args: [{ selector: 'tree-view-node', standalone: false, template: "<span class=\"tree-view-node\">\n <span class=\"bracket\">{{ node.brackets?.inside }}</span>\n
|
|
1339
|
+
args: [{ selector: 'tree-view-node', standalone: false, template: "<span class=\"tree-view-node\">\n <span class=\"bracket\">{{ node.brackets?.inside }}</span>\n @if (node.isPrimitive) {\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 } @else {\n <span>\n @if (hasExpand) {\n <em\n [ngClass]=\"\n expanded\n ? 'fa fa-caret-down node-toggler'\n : 'fa fa-caret-right node-toggler'\n \"\n (click)=\"toggleExpand()\"\n ></em>\n }\n @if (!expanded && !node.startTag) {\n <span class=\"ellipsis\">...</span>\n }\n <ul [ngClass]=\"!expanded ? 'hidden' : ''\">\n @for (child of node.children; track child) {\n <li class=\"tree-view-prop\">\n <span class=\"prop-name\">{{ child.startTag }}</span>\n @if (child.isPrimitive) {\n <span [ngClass]=\"child.nodeType\">{{\n child.value\n }}</span>\n }\n @if (child.isComplex) {\n <tree-view-node\n [node]=\"child\"\n [hasExpand]=\"true\"\n #node\n ></tree-view-node>\n }\n <span class=\"prop-name\">{{ child.endTag }}</span>\n </li>\n }\n </ul>\n </span>\n }\n <span class=\"bracket\">{{ node.brackets?.outside }}</span>\n</span>\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"] }]
|
|
1340
1340
|
}], propDecorators: { treeViewProps: [{
|
|
1341
1341
|
type: ViewChildren,
|
|
1342
1342
|
args: ['node']
|
|
@@ -1649,16 +1649,22 @@ class TreeViewComponent {
|
|
|
1649
1649
|
get format() {
|
|
1650
1650
|
return !this.rawView ? this.resolved.format : ContentTypesFormat.Text;
|
|
1651
1651
|
}
|
|
1652
|
+
get isShowingCustomContent() {
|
|
1653
|
+
return this.activeCustomView !== null;
|
|
1654
|
+
}
|
|
1652
1655
|
constructor(clipboardService) {
|
|
1653
1656
|
this.clipboardService = clipboardService;
|
|
1654
1657
|
this.maxTextLength = 1200;
|
|
1655
1658
|
this.maxRootItems = 10;
|
|
1659
|
+
this.customButtons = [];
|
|
1660
|
+
this.activeCustomView = null;
|
|
1656
1661
|
this.ContentTypesFormat = ContentTypesFormat;
|
|
1657
1662
|
}
|
|
1658
1663
|
ngOnChanges() {
|
|
1659
1664
|
const contentResolver = new ContentResolver();
|
|
1660
1665
|
this.allShow = false;
|
|
1661
1666
|
this.rawView = false;
|
|
1667
|
+
this.activeCustomView = null;
|
|
1662
1668
|
this.resolved = this.data && contentResolver.resolve(this.data);
|
|
1663
1669
|
this.collapsed = this.hasCollapse;
|
|
1664
1670
|
}
|
|
@@ -1677,6 +1683,9 @@ class TreeViewComponent {
|
|
|
1677
1683
|
}
|
|
1678
1684
|
toggleRawView() {
|
|
1679
1685
|
this.rawView = !this.rawView;
|
|
1686
|
+
if (this.rawView) {
|
|
1687
|
+
this.activeCustomView = null;
|
|
1688
|
+
}
|
|
1680
1689
|
}
|
|
1681
1690
|
copyToClipboard() {
|
|
1682
1691
|
this.clipboardService.copy(this.data);
|
|
@@ -1684,6 +1693,32 @@ class TreeViewComponent {
|
|
|
1684
1693
|
prettyCopyToClipboard() {
|
|
1685
1694
|
this.clipboardService.copy(PrettifierFactory.Create(this.format).prettify(this.data));
|
|
1686
1695
|
}
|
|
1696
|
+
onCustomButtonClick(button) {
|
|
1697
|
+
if (button.action && !button.disabled) {
|
|
1698
|
+
if (button.isToggle) {
|
|
1699
|
+
if (this.activeCustomView === button.id) {
|
|
1700
|
+
this.activeCustomView = null;
|
|
1701
|
+
}
|
|
1702
|
+
else {
|
|
1703
|
+
this.activeCustomView = button.id;
|
|
1704
|
+
this.rawView = false;
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
button.action();
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
isCustomButtonVisible(button) {
|
|
1711
|
+
return button.visible !== false;
|
|
1712
|
+
}
|
|
1713
|
+
isCustomButtonActive(button) {
|
|
1714
|
+
return this.activeCustomView === button.id;
|
|
1715
|
+
}
|
|
1716
|
+
getArrayData() {
|
|
1717
|
+
return this.resolved.data;
|
|
1718
|
+
}
|
|
1719
|
+
getSingleNodeData() {
|
|
1720
|
+
return this.resolved.data;
|
|
1721
|
+
}
|
|
1687
1722
|
hasTextCollapse() {
|
|
1688
1723
|
return this.data.length > this.maxTextLength;
|
|
1689
1724
|
}
|
|
@@ -1693,13 +1728,13 @@ class TreeViewComponent {
|
|
|
1693
1728
|
}
|
|
1694
1729
|
return false;
|
|
1695
1730
|
}
|
|
1696
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1697
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TreeViewComponent, deps: [{ token: i1$4.ClipboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1732
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: TreeViewComponent, isStandalone: false, selector: "tree-view", inputs: { data: "data", maxTextLength: "maxTextLength", maxRootItems: "maxRootItems", customButtons: "customButtons" }, viewQueries: [{ propertyName: "treeViewNodes", predicate: ["node"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "@if (data) {\n <div\n class=\"tree-view\"\n [ngClass]=\"collapsed ? 'collapsed' : 'expanded'\"\n [class]=\"format\"\n >\n @if (format != ContentTypesFormat.Text) {\n <div>\n <ng-container *ngTemplateOutlet=\"defaultActions\"></ng-container>\n </div>\n <div class=\"tree-view-main-content\">\n @if (isShowingCustomContent) {\n <div class=\"custom-content-container\">\n <div class=\"custom-content-body\">\n <ng-content select=\"[slot=custom-content]\"></ng-content>\n </div>\n </div>\n } @else {\n <div\n [ngClass]=\"allShow ? 'show-all tree-view-body' : 'tree-view-body'\"\n >\n @if (IsArray) {\n @for (node of getArrayData(); track node) {\n <tree-view-node\n class=\"array-node\"\n [node]=\"node\"\n [hasExpand]=\"true\"\n #node\n >\n </tree-view-node>\n }\n } @else {\n <tree-view-node\n [node]=\"getSingleNodeData()\"\n #node\n >\n </tree-view-node>\n }\n </div>\n }\n </div>\n } @else {\n <ng-container *ngTemplateOutlet=\"defaultActions\"> </ng-container>\n <pre class=\"text-view tree-view-body\">{{ data }}</pre>\n }\n <ng-template #defaultActions>\n @if (resolved.format !== ContentTypesFormat.Text) {\n <button\n class=\"tree-view-action\"\n title=\"{{\n (collapsed\n ? 'TreeViewMessages.Expand'\n : 'TreeViewMessages.Collapse'\n ) | translate\n }}\"\n [disabled]=\"rawView || isShowingCustomContent\"\n (click)=\"toggleExpandAll()\"\n >\n <i [ngClass]=\"allShow ? 'fa fa-minus' : 'fa fa-plus'\"></i>\n </button>\n }\n <button\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.CopyToClipboard' | translate }}\"\n (click)=\"copyToClipboard()\"\n >\n <i class=\"fa fa-clipboard\"></i>\n </button>\n <button\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.PrettyCopyToClipboard' | translate }}\"\n (click)=\"prettyCopyToClipboard()\"\n >\n <i class=\"fa fa-magic\"></i>\n </button>\n @if (resolved.format !== ContentTypesFormat.Text) {\n <button\n class=\"tree-view-action\"\n title=\"{{\n (rawView\n ? 'TreeViewMessages.ToJsonView'\n : 'TreeViewMessages.ToFormattedView'\n ) | translate\n }}\"\n [ngClass]=\"rawView ? 'pressed' : ''\"\n (click)=\"toggleRawView()\"\n >\n <i class=\"fa fa-file-text-o\"></i>\n </button>\n }\n @for (button of customButtons; track button) {\n <button\n [disabled]=\"button.disabled\"\n [style.display]=\"\n isCustomButtonVisible(button) ? 'inline-block' : 'none'\n \"\n [ngClass]=\"[\n 'tree-view-action',\n isCustomButtonActive(button) ? 'pressed' : '',\n ]\"\n [title]=\"button.title\"\n (click)=\"onCustomButtonClick(button)\"\n >\n <i [class]=\"button.icon\"></i>\n </button>\n }\n </ng-template>\n @if (hasCollapse) {\n <div>\n <button\n class=\"expand-toggler\"\n (click)=\"expandToggle()\"\n >\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 }\n </div>\n}\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: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$3.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" }] }); }
|
|
1698
1733
|
}
|
|
1699
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TreeViewComponent, decorators: [{
|
|
1700
1735
|
type: Component,
|
|
1701
|
-
args: [{ selector: 'tree-view', standalone: false, template: "<div\n
|
|
1702
|
-
}], ctorParameters: () => [{ type: i1$
|
|
1736
|
+
args: [{ selector: 'tree-view', standalone: false, template: "@if (data) {\n <div\n class=\"tree-view\"\n [ngClass]=\"collapsed ? 'collapsed' : 'expanded'\"\n [class]=\"format\"\n >\n @if (format != ContentTypesFormat.Text) {\n <div>\n <ng-container *ngTemplateOutlet=\"defaultActions\"></ng-container>\n </div>\n <div class=\"tree-view-main-content\">\n @if (isShowingCustomContent) {\n <div class=\"custom-content-container\">\n <div class=\"custom-content-body\">\n <ng-content select=\"[slot=custom-content]\"></ng-content>\n </div>\n </div>\n } @else {\n <div\n [ngClass]=\"allShow ? 'show-all tree-view-body' : 'tree-view-body'\"\n >\n @if (IsArray) {\n @for (node of getArrayData(); track node) {\n <tree-view-node\n class=\"array-node\"\n [node]=\"node\"\n [hasExpand]=\"true\"\n #node\n >\n </tree-view-node>\n }\n } @else {\n <tree-view-node\n [node]=\"getSingleNodeData()\"\n #node\n >\n </tree-view-node>\n }\n </div>\n }\n </div>\n } @else {\n <ng-container *ngTemplateOutlet=\"defaultActions\"> </ng-container>\n <pre class=\"text-view tree-view-body\">{{ data }}</pre>\n }\n <ng-template #defaultActions>\n @if (resolved.format !== ContentTypesFormat.Text) {\n <button\n class=\"tree-view-action\"\n title=\"{{\n (collapsed\n ? 'TreeViewMessages.Expand'\n : 'TreeViewMessages.Collapse'\n ) | translate\n }}\"\n [disabled]=\"rawView || isShowingCustomContent\"\n (click)=\"toggleExpandAll()\"\n >\n <i [ngClass]=\"allShow ? 'fa fa-minus' : 'fa fa-plus'\"></i>\n </button>\n }\n <button\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.CopyToClipboard' | translate }}\"\n (click)=\"copyToClipboard()\"\n >\n <i class=\"fa fa-clipboard\"></i>\n </button>\n <button\n class=\"tree-view-action\"\n title=\"{{ 'TreeViewMessages.PrettyCopyToClipboard' | translate }}\"\n (click)=\"prettyCopyToClipboard()\"\n >\n <i class=\"fa fa-magic\"></i>\n </button>\n @if (resolved.format !== ContentTypesFormat.Text) {\n <button\n class=\"tree-view-action\"\n title=\"{{\n (rawView\n ? 'TreeViewMessages.ToJsonView'\n : 'TreeViewMessages.ToFormattedView'\n ) | translate\n }}\"\n [ngClass]=\"rawView ? 'pressed' : ''\"\n (click)=\"toggleRawView()\"\n >\n <i class=\"fa fa-file-text-o\"></i>\n </button>\n }\n @for (button of customButtons; track button) {\n <button\n [disabled]=\"button.disabled\"\n [style.display]=\"\n isCustomButtonVisible(button) ? 'inline-block' : 'none'\n \"\n [ngClass]=\"[\n 'tree-view-action',\n isCustomButtonActive(button) ? 'pressed' : '',\n ]\"\n [title]=\"button.title\"\n (click)=\"onCustomButtonClick(button)\"\n >\n <i [class]=\"button.icon\"></i>\n </button>\n }\n </ng-template>\n @if (hasCollapse) {\n <div>\n <button\n class=\"expand-toggler\"\n (click)=\"expandToggle()\"\n >\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 }\n </div>\n}\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"] }]
|
|
1737
|
+
}], ctorParameters: () => [{ type: i1$4.ClipboardService }], propDecorators: { treeViewNodes: [{
|
|
1703
1738
|
type: ViewChildren,
|
|
1704
1739
|
args: ['node']
|
|
1705
1740
|
}], data: [{
|
|
@@ -1708,14 +1743,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1708
1743
|
type: Input
|
|
1709
1744
|
}], maxRootItems: [{
|
|
1710
1745
|
type: Input
|
|
1746
|
+
}], customButtons: [{
|
|
1747
|
+
type: Input
|
|
1711
1748
|
}] } });
|
|
1712
1749
|
|
|
1713
1750
|
class IndiginaTreeViewModule {
|
|
1714
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1715
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1716
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1751
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IndiginaTreeViewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1752
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: IndiginaTreeViewModule, declarations: [TreeViewComponent, TreeViewNodeComponent], imports: [CommonModule, TranslateModule, TreeViewModule], exports: [TreeViewComponent] }); }
|
|
1753
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IndiginaTreeViewModule, imports: [CommonModule, TranslateModule, TreeViewModule] }); }
|
|
1717
1754
|
}
|
|
1718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: IndiginaTreeViewModule, decorators: [{
|
|
1719
1756
|
type: NgModule,
|
|
1720
1757
|
args: [{
|
|
1721
1758
|
declarations: [TreeViewComponent, TreeViewNodeComponent],
|
|
@@ -1780,15 +1817,15 @@ class AuthProviderResolver {
|
|
|
1780
1817
|
this.AuthProvider$.next(provider);
|
|
1781
1818
|
});
|
|
1782
1819
|
}
|
|
1783
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1784
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1820
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthProviderResolver, deps: [{ token: i1$5.MsalService }, { token: SettingsService }, { token: IndiginaConfiguration }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1821
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthProviderResolver, providedIn: 'root' }); }
|
|
1785
1822
|
}
|
|
1786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthProviderResolver, decorators: [{
|
|
1787
1824
|
type: Injectable,
|
|
1788
1825
|
args: [{
|
|
1789
1826
|
providedIn: 'root',
|
|
1790
1827
|
}]
|
|
1791
|
-
}], ctorParameters: () => [{ type: i1$
|
|
1828
|
+
}], ctorParameters: () => [{ type: i1$5.MsalService }, { type: SettingsService }, { type: IndiginaConfiguration }] });
|
|
1792
1829
|
|
|
1793
1830
|
class SignalRService {
|
|
1794
1831
|
constructor(appSettings) {
|
|
@@ -1850,10 +1887,10 @@ class SignalRService {
|
|
|
1850
1887
|
}
|
|
1851
1888
|
return this.eventEmitters[eventName];
|
|
1852
1889
|
}
|
|
1853
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1854
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1890
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SignalRService, deps: [{ token: AppSettings }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1891
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SignalRService, providedIn: 'root' }); }
|
|
1855
1892
|
}
|
|
1856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SignalRService, decorators: [{
|
|
1857
1894
|
type: Injectable,
|
|
1858
1895
|
args: [{ providedIn: 'root' }]
|
|
1859
1896
|
}], ctorParameters: () => [{ type: AppSettings }] });
|
|
@@ -1863,12 +1900,12 @@ class AccountService extends BaseAccountService {
|
|
|
1863
1900
|
constructor(resolver, httpService, settingsService, signalRService) {
|
|
1864
1901
|
super(resolver, httpService, settingsService, signalRService);
|
|
1865
1902
|
this.resolver = resolver;
|
|
1866
|
-
this.isAdmin = (member) => member?.type === adminKey
|
|
1903
|
+
this.isAdmin = (member) => member?.type === adminKey || false;
|
|
1867
1904
|
}
|
|
1868
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1869
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountService, deps: [{ token: AuthProviderResolver }, { token: HttpService }, { token: SettingsService }, { token: SignalRService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1906
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountService, providedIn: 'root' }); }
|
|
1870
1907
|
}
|
|
1871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountService, decorators: [{
|
|
1872
1909
|
type: Injectable,
|
|
1873
1910
|
args: [{
|
|
1874
1911
|
providedIn: 'root',
|
|
@@ -1898,12 +1935,12 @@ class LanguageSelectorComponent {
|
|
|
1898
1935
|
this.close();
|
|
1899
1936
|
}
|
|
1900
1937
|
}
|
|
1901
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1902
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1938
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LanguageSelectorComponent, deps: [{ token: i0.ElementRef }, { token: LocaleSettingsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1939
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: LanguageSelectorComponent, isStandalone: false, selector: "language-selector", inputs: { visible: "visible" }, outputs: { visibleChange: "visibleChange" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, ngImport: i0, template: "@if (visible) {\n <kendo-window\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 @if (languages) {\n <div class=\"languages\">\n @for (language of languages; track language) {\n <div class=\"language-change-action\">\n <button class=\"btn\" (click)=\"changeLanguage(language.code)\">\n @if (currentLanguageCode === language.code) {\n <span\n class=\"fa fa-check\" aria-hidden=\"true\"\n ></span>\n }\n {{ language.name }}\n </button>\n </div>\n }\n </div>\n }\n </kendo-window>\n}\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: "component", type: i2$3.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: i2$3.WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "component", type: i2$3.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1903
1940
|
}
|
|
1904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LanguageSelectorComponent, decorators: [{
|
|
1905
1942
|
type: Component,
|
|
1906
|
-
args: [{ selector: 'language-selector', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<kendo-window
|
|
1943
|
+
args: [{ selector: 'language-selector', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if (visible) {\n <kendo-window\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 @if (languages) {\n <div class=\"languages\">\n @for (language of languages; track language) {\n <div class=\"language-change-action\">\n <button class=\"btn\" (click)=\"changeLanguage(language.code)\">\n @if (currentLanguageCode === language.code) {\n <span\n class=\"fa fa-check\" aria-hidden=\"true\"\n ></span>\n }\n {{ language.name }}\n </button>\n </div>\n }\n </div>\n }\n </kendo-window>\n}\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"] }]
|
|
1907
1944
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: LocaleSettingsService }], propDecorators: { visible: [{
|
|
1908
1945
|
type: Input
|
|
1909
1946
|
}], visibleChange: [{
|
|
@@ -1943,12 +1980,12 @@ class AccountMenuComponent {
|
|
|
1943
1980
|
this.toggle();
|
|
1944
1981
|
}
|
|
1945
1982
|
}
|
|
1946
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1947
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1983
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountMenuComponent, deps: [{ token: i0.ElementRef }, { token: AccountService }, { token: AppSettings }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1984
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AccountMenuComponent, isStandalone: false, 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 @if (expand) {\n <kendo-popup\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 @for (menuItem of menuItems; track menuItem) {\n <li>\n @if (menuItem.useRouter) {\n <a\n [routerLink]=\"menuItem.link\"\n [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n } @else {\n <a [href]=\"menuItem.link\" [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n }\n </li>\n }\n <li>\n <a translate=\"Logout\" data-icon=\"sign-out\" (click)=\"logout()\"></a>\n </li>\n </ul>\n </kendo-popup>\n }\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: "component", type: i3$2.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$2.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 }); }
|
|
1948
1985
|
}
|
|
1949
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountMenuComponent, decorators: [{
|
|
1950
1987
|
type: Component,
|
|
1951
|
-
args: [{ selector: 'account-menu', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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
|
|
1988
|
+
args: [{ selector: 'account-menu', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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 @if (expand) {\n <kendo-popup\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 @for (menuItem of menuItems; track menuItem) {\n <li>\n @if (menuItem.useRouter) {\n <a\n [routerLink]=\"menuItem.link\"\n [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n } @else {\n <a [href]=\"menuItem.link\" [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n }\n </li>\n }\n <li>\n <a translate=\"Logout\" data-icon=\"sign-out\" (click)=\"logout()\"></a>\n </li>\n </ul>\n </kendo-popup>\n }\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"] }]
|
|
1952
1989
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: AccountService }, { type: AppSettings }], propDecorators: { accountMenu: [{
|
|
1953
1990
|
type: ViewChild,
|
|
1954
1991
|
args: ['accountMenuElement']
|
|
@@ -1962,15 +1999,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1962
1999
|
}] } });
|
|
1963
2000
|
|
|
1964
2001
|
class LanguageSelectorModule {
|
|
1965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1966
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2002
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LanguageSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2003
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: LanguageSelectorModule, declarations: [LanguageSelectorComponent], imports: [CommonModule,
|
|
1967
2004
|
WindowModule,
|
|
1968
2005
|
TranslateModule], exports: [LanguageSelectorComponent] }); }
|
|
1969
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2006
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LanguageSelectorModule, imports: [CommonModule,
|
|
1970
2007
|
WindowModule,
|
|
1971
2008
|
TranslateModule] }); }
|
|
1972
2009
|
}
|
|
1973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: LanguageSelectorModule, decorators: [{
|
|
1974
2011
|
type: NgModule,
|
|
1975
2012
|
args: [{
|
|
1976
2013
|
declarations: [
|
|
@@ -1988,19 +2025,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
1988
2025
|
}] });
|
|
1989
2026
|
|
|
1990
2027
|
class AccountMenuModule {
|
|
1991
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1992
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2028
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2029
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AccountMenuModule, declarations: [AccountMenuComponent], imports: [CommonModule,
|
|
1993
2030
|
PopupModule,
|
|
1994
2031
|
TranslateModule,
|
|
1995
2032
|
RouterModule,
|
|
1996
2033
|
LanguageSelectorModule], exports: [AccountMenuComponent] }); }
|
|
1997
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2034
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountMenuModule, imports: [CommonModule,
|
|
1998
2035
|
PopupModule,
|
|
1999
2036
|
TranslateModule,
|
|
2000
2037
|
RouterModule,
|
|
2001
2038
|
LanguageSelectorModule] }); }
|
|
2002
2039
|
}
|
|
2003
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AccountMenuModule, decorators: [{
|
|
2004
2041
|
type: NgModule,
|
|
2005
2042
|
args: [{
|
|
2006
2043
|
declarations: [
|
|
@@ -2042,17 +2079,17 @@ class AzureLoginCallbackComponent {
|
|
|
2042
2079
|
logout() {
|
|
2043
2080
|
this.authService.logout();
|
|
2044
2081
|
}
|
|
2045
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2046
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2082
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AzureLoginCallbackComponent, deps: [{ token: i1$5.MsalService }, { token: SettingsService }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2083
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: AzureLoginCallbackComponent, isStandalone: false, selector: "lib-azure-login", ngImport: i0, template: '', isInline: true }); }
|
|
2047
2084
|
}
|
|
2048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2085
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AzureLoginCallbackComponent, decorators: [{
|
|
2049
2086
|
type: Component,
|
|
2050
2087
|
args: [{
|
|
2051
2088
|
selector: 'lib-azure-login',
|
|
2052
2089
|
template: '',
|
|
2053
2090
|
standalone: false
|
|
2054
2091
|
}]
|
|
2055
|
-
}], ctorParameters: () => [{ type: i1$
|
|
2092
|
+
}], ctorParameters: () => [{ type: i1$5.MsalService }, { type: SettingsService }, { type: i1$2.Router }] });
|
|
2056
2093
|
|
|
2057
2094
|
const isIE = window.navigator.userAgent.includes('MSIE ') ||
|
|
2058
2095
|
window.navigator.userAgent.includes('Trident/');
|
|
@@ -2121,10 +2158,10 @@ class PermissionsService {
|
|
|
2121
2158
|
return permissions;
|
|
2122
2159
|
}));
|
|
2123
2160
|
}
|
|
2124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2125
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2161
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsService, deps: [{ token: HttpService }, { token: AccountService }, { token: SignalRService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2162
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsService }); }
|
|
2126
2163
|
}
|
|
2127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsService, decorators: [{
|
|
2128
2165
|
type: Injectable
|
|
2129
2166
|
}], ctorParameters: () => [{ type: HttpService }, { type: AccountService }, { type: SignalRService }] });
|
|
2130
2167
|
|
|
@@ -2176,10 +2213,10 @@ class RequirePermissionDirective {
|
|
|
2176
2213
|
}
|
|
2177
2214
|
return null;
|
|
2178
2215
|
}
|
|
2179
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2180
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RequirePermissionDirective, deps: [{ token: i0.ElementRef }, { token: i1$2.ActivatedRoute }, { token: PermissionsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2217
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.6", type: RequirePermissionDirective, isStandalone: false, selector: "[requirePermission]", inputs: { permissionType: "permissionType", permissionCategory: "permissionCategory" }, ngImport: i0 }); }
|
|
2181
2218
|
}
|
|
2182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RequirePermissionDirective, decorators: [{
|
|
2183
2220
|
type: Directive,
|
|
2184
2221
|
args: [{
|
|
2185
2222
|
selector: '[requirePermission]',
|
|
@@ -2192,11 +2229,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2192
2229
|
}] } });
|
|
2193
2230
|
|
|
2194
2231
|
class RequirePermissionModule {
|
|
2195
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2196
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2197
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2232
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RequirePermissionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2233
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: RequirePermissionModule, declarations: [RequirePermissionDirective], exports: [RequirePermissionDirective] }); }
|
|
2234
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RequirePermissionModule }); }
|
|
2198
2235
|
}
|
|
2199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RequirePermissionModule, decorators: [{
|
|
2200
2237
|
type: NgModule,
|
|
2201
2238
|
args: [{
|
|
2202
2239
|
declarations: [RequirePermissionDirective],
|
|
@@ -2581,10 +2618,10 @@ class ActivityFilterService {
|
|
|
2581
2618
|
this.currentFilter.customFilters.push(filter);
|
|
2582
2619
|
}
|
|
2583
2620
|
}
|
|
2584
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2585
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2621
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterService, deps: [{ token: i1$2.ActivatedRoute }, { token: i1$2.Router }, { token: dateFilterParameter }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2622
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterService }); }
|
|
2586
2623
|
}
|
|
2587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterService, decorators: [{
|
|
2588
2625
|
type: Injectable
|
|
2589
2626
|
}], ctorParameters: () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: undefined, decorators: [{
|
|
2590
2627
|
type: Inject,
|
|
@@ -2632,10 +2669,10 @@ class CurrentTimezoneComponent {
|
|
|
2632
2669
|
const timeZone = momentModule.tz.guess();
|
|
2633
2670
|
this.timeZoneAndOffset = timeZone + ' ' + moment().format('Z');
|
|
2634
2671
|
}
|
|
2635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2636
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentTimezoneComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2673
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: CurrentTimezoneComponent, isStandalone: false, 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" }] }); }
|
|
2637
2674
|
}
|
|
2638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentTimezoneComponent, decorators: [{
|
|
2639
2676
|
type: Component,
|
|
2640
2677
|
args: [{ selector: 'current-timezone', standalone: false, template: "<div class=\"divide-line\"></div>\n<div class=\"time-zone\">\n {{ 'CurrentTimeZone' | translate }}: {{ timeZoneAndOffset }}\n</div>\n" }]
|
|
2641
2678
|
}] });
|
|
@@ -2741,12 +2778,12 @@ class ActivityFilterComponent {
|
|
|
2741
2778
|
}
|
|
2742
2779
|
});
|
|
2743
2780
|
}
|
|
2744
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2745
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2781
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterComponent, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2782
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: ActivityFilterComponent, isStandalone: false, selector: "activity-filter", inputs: { showArchiveSwitcher: "showArchiveSwitcher", showSearhText: "showSearhText", customFilterElements: "customFilterElements", filterService: "filterService", onClearCallback: "onClearCallback" }, 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 @if (showArchiveSwitcher) {\n <div class=\"flag\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"filter.switchToArchive\" type=\"checkbox\" />\n {{ 'ActivitiesFilter.SwitchToArchiveLabel' | translate }}\n </label>\n </div>\n </div>\n }\n @if (showSearhText) {\n <div>\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 }\n </div>\n </div>\n <div class=\"filter-row\">\n @for (field of customFilterElements; track field) {\n @switch (field.fieldType) {\n @case (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 }\n @case (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 }\n @case (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 }\n @case (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 }\n }\n }\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: i1.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.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3$3.DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "adaptiveTitle", "adaptiveSubtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: i4.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "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: i4.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer", "inputAttributes"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "directive", type: i4.SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: ["kendoMultiSelectSummaryTag"] }, { kind: "component", type: CurrentTimezoneComponent, selector: "current-timezone" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2746
2783
|
}
|
|
2747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterComponent, decorators: [{
|
|
2748
2785
|
type: Component,
|
|
2749
|
-
args: [{ selector: 'activity-filter', standalone: false, 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\"
|
|
2786
|
+
args: [{ selector: 'activity-filter', standalone: false, 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 @if (showArchiveSwitcher) {\n <div class=\"flag\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"filter.switchToArchive\" type=\"checkbox\" />\n {{ 'ActivitiesFilter.SwitchToArchiveLabel' | translate }}\n </label>\n </div>\n </div>\n }\n @if (showSearhText) {\n <div>\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 }\n </div>\n </div>\n <div class=\"filter-row\">\n @for (field of customFilterElements; track field) {\n @switch (field.fieldType) {\n @case (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 }\n @case (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 }\n @case (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 }\n @case (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 }\n }\n }\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"] }]
|
|
2750
2787
|
}], ctorParameters: () => [{ type: i2.TranslateService }], propDecorators: { showArchiveSwitcher: [{
|
|
2751
2788
|
type: Input
|
|
2752
2789
|
}], showSearhText: [{
|
|
@@ -2760,11 +2797,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2760
2797
|
}] } });
|
|
2761
2798
|
|
|
2762
2799
|
class CurrentTimeZoneModule {
|
|
2763
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2764
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2765
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2800
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentTimeZoneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2801
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: CurrentTimeZoneModule, declarations: [CurrentTimezoneComponent], imports: [TranslateModule], exports: [CurrentTimezoneComponent] }); }
|
|
2802
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentTimeZoneModule, imports: [TranslateModule] }); }
|
|
2766
2803
|
}
|
|
2767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CurrentTimeZoneModule, decorators: [{
|
|
2768
2805
|
type: NgModule,
|
|
2769
2806
|
args: [{
|
|
2770
2807
|
declarations: [CurrentTimezoneComponent],
|
|
@@ -2785,15 +2822,15 @@ class ActivityFilterModule {
|
|
|
2785
2822
|
],
|
|
2786
2823
|
};
|
|
2787
2824
|
}
|
|
2788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2789
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2825
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2826
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterModule, declarations: [ActivityFilterComponent], imports: [CommonModule,
|
|
2790
2827
|
ReactiveFormsModule,
|
|
2791
2828
|
FormsModule,
|
|
2792
2829
|
TranslateModule,
|
|
2793
2830
|
DateInputsModule,
|
|
2794
2831
|
DropDownsModule,
|
|
2795
2832
|
CurrentTimeZoneModule], exports: [ActivityFilterComponent] }); }
|
|
2796
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2833
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterModule, imports: [CommonModule,
|
|
2797
2834
|
ReactiveFormsModule,
|
|
2798
2835
|
FormsModule,
|
|
2799
2836
|
TranslateModule,
|
|
@@ -2801,7 +2838,7 @@ class ActivityFilterModule {
|
|
|
2801
2838
|
DropDownsModule,
|
|
2802
2839
|
CurrentTimeZoneModule] }); }
|
|
2803
2840
|
}
|
|
2804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ActivityFilterModule, decorators: [{
|
|
2805
2842
|
type: NgModule,
|
|
2806
2843
|
args: [{
|
|
2807
2844
|
declarations: [ActivityFilterComponent],
|
|
@@ -2837,23 +2874,23 @@ class ConfirmDialogComponent {
|
|
|
2837
2874
|
actions: this.dialogActions,
|
|
2838
2875
|
});
|
|
2839
2876
|
}
|
|
2840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2841
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2877
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i2$3.DialogService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2878
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: ConfirmDialogComponent, isStandalone: false, 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: i2$3.DialogContainerDirective, selector: "[kendoDialogContainer]" }] }); }
|
|
2842
2879
|
}
|
|
2843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
2844
2881
|
type: Component,
|
|
2845
2882
|
args: [{ selector: 'confirm-dialog', standalone: false, 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" }]
|
|
2846
|
-
}], ctorParameters: () => [{ type:
|
|
2883
|
+
}], ctorParameters: () => [{ type: i2$3.DialogService }], propDecorators: { dialogActions: [{
|
|
2847
2884
|
type: ViewChild,
|
|
2848
2885
|
args: ['dialogActions', { static: true }]
|
|
2849
2886
|
}] } });
|
|
2850
2887
|
|
|
2851
2888
|
class ConfirmDialogModule {
|
|
2852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2853
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2854
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2889
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2890
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogModule, declarations: [ConfirmDialogComponent], imports: [TranslateModule, DialogModule], exports: [ConfirmDialogComponent] }); }
|
|
2891
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogModule, imports: [TranslateModule, DialogModule] }); }
|
|
2855
2892
|
}
|
|
2856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConfirmDialogModule, decorators: [{
|
|
2857
2894
|
type: NgModule,
|
|
2858
2895
|
args: [{
|
|
2859
2896
|
declarations: [ConfirmDialogComponent],
|
|
@@ -2867,10 +2904,10 @@ class EntityEditButtonsBarComponent {
|
|
|
2867
2904
|
this.save = new EventEmitter();
|
|
2868
2905
|
this.permissionTypes = [PermissionTypes.Create];
|
|
2869
2906
|
}
|
|
2870
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2871
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2907
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditButtonsBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2908
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: EntityEditButtonsBarComponent, isStandalone: false, 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 left-buttons\">\n <a\n [routerLink]=\"['../new']\"\n preserveFragment\n class=\"btn btn-succes\"\n translate=\"{{ defaultCreateButtonText ?? 'CreateNew' }}\"\n requirePermission\n [permissionType]=\"permissionTypes\"\n ></a>\n <div class=\"custom-buttons-wrapper\">\n <ng-content select=\"[custom-buttons]\"></ng-content>\n </div>\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", styles: [".left-buttons{display:flex;gap:5px}.custom-buttons-wrapper{display:flex;gap:5px;position:relative;z-index:10}\n"], dependencies: [{ kind: "directive", type: i1$2.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"] }] }); }
|
|
2872
2909
|
}
|
|
2873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2910
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditButtonsBarComponent, decorators: [{
|
|
2874
2911
|
type: Component,
|
|
2875
2912
|
args: [{ selector: 'entity-edit-buttons-bar', standalone: false, template: "<div class=\"form-group buttons-panel\">\n <div class=\"col-md-4 left-buttons\">\n <a\n [routerLink]=\"['../new']\"\n preserveFragment\n class=\"btn btn-succes\"\n translate=\"{{ defaultCreateButtonText ?? 'CreateNew' }}\"\n requirePermission\n [permissionType]=\"permissionTypes\"\n ></a>\n <div class=\"custom-buttons-wrapper\">\n <ng-content select=\"[custom-buttons]\"></ng-content>\n </div>\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", styles: [".left-buttons{display:flex;gap:5px}.custom-buttons-wrapper{display:flex;gap:5px;position:relative;z-index:10}\n"] }]
|
|
2876
2913
|
}], propDecorators: { valid: [{
|
|
@@ -2882,11 +2919,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2882
2919
|
}] } });
|
|
2883
2920
|
|
|
2884
2921
|
class EntityEditButtonsBarModule {
|
|
2885
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2886
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2887
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2922
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditButtonsBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2923
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EntityEditButtonsBarModule, declarations: [EntityEditButtonsBarComponent], imports: [RouterModule, RequirePermissionModule, TranslateModule], exports: [EntityEditButtonsBarComponent] }); }
|
|
2924
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditButtonsBarModule, imports: [RouterModule, RequirePermissionModule, TranslateModule] }); }
|
|
2888
2925
|
}
|
|
2889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditButtonsBarModule, decorators: [{
|
|
2890
2927
|
type: NgModule,
|
|
2891
2928
|
args: [{
|
|
2892
2929
|
declarations: [EntityEditButtonsBarComponent],
|
|
@@ -2956,12 +2993,12 @@ class EntityEditFormComponent {
|
|
|
2956
2993
|
},
|
|
2957
2994
|
});
|
|
2958
2995
|
}
|
|
2959
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2960
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2996
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditFormComponent, deps: [{ token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2997
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: EntityEditFormComponent, isStandalone: false, 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 @if (formGroup | async; as form) {\n <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 }\n </div>\n</div>\n", styles: [""], dependencies: [{ 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.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2961
2998
|
}
|
|
2962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditFormComponent, decorators: [{
|
|
2963
3000
|
type: Component,
|
|
2964
|
-
args: [{ selector: 'entity-edit-form', standalone: false, 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
|
|
3001
|
+
args: [{ selector: 'entity-edit-form', standalone: false, 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 @if (formGroup | async; as form) {\n <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 }\n </div>\n</div>\n" }]
|
|
2965
3002
|
}], ctorParameters: () => [{ type: i1$2.ActivatedRoute }], propDecorators: { title: [{
|
|
2966
3003
|
type: Input
|
|
2967
3004
|
}], entityId: [{
|
|
@@ -2971,21 +3008,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
2971
3008
|
}] } });
|
|
2972
3009
|
|
|
2973
3010
|
class EntityEditFormModule {
|
|
2974
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2975
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3011
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditFormModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3012
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EntityEditFormModule, declarations: [EntityEditFormComponent], imports: [CommonModule,
|
|
2976
3013
|
TranslateModule,
|
|
2977
3014
|
GeneralErrorsModule,
|
|
2978
3015
|
EntityEditButtonsBarModule,
|
|
2979
3016
|
FormsModule,
|
|
2980
3017
|
ReactiveFormsModule], exports: [EntityEditFormComponent] }); }
|
|
2981
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3018
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditFormModule, imports: [CommonModule,
|
|
2982
3019
|
TranslateModule,
|
|
2983
3020
|
GeneralErrorsModule,
|
|
2984
3021
|
EntityEditButtonsBarModule,
|
|
2985
3022
|
FormsModule,
|
|
2986
3023
|
ReactiveFormsModule] }); }
|
|
2987
3024
|
}
|
|
2988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityEditFormModule, decorators: [{
|
|
2989
3026
|
type: NgModule,
|
|
2990
3027
|
args: [{
|
|
2991
3028
|
declarations: [EntityEditFormComponent],
|
|
@@ -3131,16 +3168,16 @@ class FieldDropdownComponent extends FieldComponent {
|
|
|
3131
3168
|
writeSelectedEntityValue(value) {
|
|
3132
3169
|
this.kendoDropDown?.writeValue(value);
|
|
3133
3170
|
}
|
|
3134
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3135
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3171
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3172
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldDropdownComponent, isStandalone: false, selector: "field-dropdown", inputs: { service: "service", rebind: "rebind", filter: "filter", sort: "sort", defaultName: "defaultName", selectedItem: "selectedItem", data: "data", textField: "textField", valueField: "valueField" }, 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 for=\"{{ '_' + fieldName }}\" class=\"col-md-3 control-label\">{{\n labelKey | translate\n }}</label>\n @if (control) {\n <div class=\"col-md-9\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n #inputElement\n >\n </kendo-dropdownlist>\n @if (control.invalid && control.touched) {\n <div class=\"bg-danger\">\n @if (control.errors['required']) {\n <span>{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n }\n @if (control.errors['serverErrorMsg']) {\n <span>{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n", dependencies: [{ kind: "component", type: i4.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], viewProviders: [
|
|
3136
3173
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
3137
3174
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3138
3175
|
}
|
|
3139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownComponent, decorators: [{
|
|
3140
3177
|
type: Component,
|
|
3141
3178
|
args: [{ selector: 'field-dropdown', viewProviders: [
|
|
3142
3179
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
3143
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"form-group\">\n <label for=\"{{ '_' + fieldName }}\" class=\"col-md-3 control-label\">{{\n labelKey | translate\n }}</label>\n <div class=\"col-md-9\"
|
|
3180
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"form-group\">\n <label for=\"{{ '_' + fieldName }}\" class=\"col-md-3 control-label\">{{\n labelKey | translate\n }}</label>\n @if (control) {\n <div class=\"col-md-9\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n #inputElement\n >\n </kendo-dropdownlist>\n @if (control.invalid && control.touched) {\n <div class=\"bg-danger\">\n @if (control.errors['required']) {\n <span>{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n }\n @if (control.errors['serverErrorMsg']) {\n <span>{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n" }]
|
|
3144
3181
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }, { type: i2.TranslateService }], propDecorators: { service: [{
|
|
3145
3182
|
type: Input
|
|
3146
3183
|
}], rebind: [{
|
|
@@ -3222,16 +3259,16 @@ class ObjectDropdownComponent extends FieldComponent {
|
|
|
3222
3259
|
setControlValue(value) {
|
|
3223
3260
|
this.control.setValue(value);
|
|
3224
3261
|
}
|
|
3225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3226
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ObjectDropdownComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3263
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: ObjectDropdownComponent, isStandalone: false, 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 for=\"{{ '_' + fieldName }}\" class=\"col-md-3 control-label\">{{\n labelKey | translate\n }}</label>\n @if (control) {\n <div class=\"col-md-9\">\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 @if (control.invalid && control.touched) {\n <div class=\"bg-danger\">\n @if (control.errors['required']) {\n <span>{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n }\n @if (control.errors['serverErrorMsg']) {\n <span>{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n", dependencies: [{ kind: "component", type: i4.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
3227
3264
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
3228
3265
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3229
3266
|
}
|
|
3230
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ObjectDropdownComponent, decorators: [{
|
|
3231
3268
|
type: Component,
|
|
3232
3269
|
args: [{ selector: 'object-dropdown', viewProviders: [
|
|
3233
3270
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
3234
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"form-group\">\n <label for=\"{{ '_' + fieldName }}\" class=\"col-md-3 control-label\">{{\n labelKey | translate\n }}</label>\n <div class=\"col-md-9\"
|
|
3271
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"form-group\">\n <label for=\"{{ '_' + fieldName }}\" class=\"col-md-3 control-label\">{{\n labelKey | translate\n }}</label>\n @if (control) {\n <div class=\"col-md-9\">\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 @if (control.invalid && control.touched) {\n <div class=\"bg-danger\">\n @if (control.errors['required']) {\n <span>{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n }\n @if (control.errors['serverErrorMsg']) {\n <span>{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n }\n </div>\n }\n </div>\n }\n</div>\n" }]
|
|
3235
3272
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }, { type: i2.TranslateService }], propDecorators: { fieldName: [{
|
|
3236
3273
|
type: Input
|
|
3237
3274
|
}], labelKey: [{
|
|
@@ -3299,22 +3336,22 @@ class FieldMultiSelectComponent extends FieldComponent {
|
|
|
3299
3336
|
getData() {
|
|
3300
3337
|
return this.service.getPage(this.filter ? { filter: this.filter } : {});
|
|
3301
3338
|
}
|
|
3302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3303
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldMultiSelectComponent, deps: [{ token: i1.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3340
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: FieldMultiSelectComponent, isStandalone: false, selector: "field-multiselect", inputs: { service: "service", rebind: "rebind", filter: "filter", textField: "textField", valueField: "valueField", data: "data", 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\" [for]=\"'_' + fieldName\">{{\n labelKey | translate\n }}</label>\n @if (control) {\n <div class=\"col-md-9\">\n <kendo-multiselect\n [id]=\"'_' + fieldName\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n (valueChange)=\"onValueChange($event)\"\n ></kendo-multiselect>\n @if (control.invalid && control.touched) {\n <div class=\"bg-danger\">\n @if (control.errors['required']) {\n <span>\n {{ \"Required\" | translate : { param0: labelKey | translate } }}\n </span>\n }\n @if (control.errors['serverErrorMsg']) {\n <span>\n {{ control.errors[\"serverErrorMsg\"] }}\n </span>\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer", "inputAttributes"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }], viewProviders: [
|
|
3304
3341
|
{
|
|
3305
3342
|
provide: ControlContainer,
|
|
3306
3343
|
useExisting: FormGroupDirective,
|
|
3307
3344
|
},
|
|
3308
3345
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3309
3346
|
}
|
|
3310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldMultiSelectComponent, decorators: [{
|
|
3311
3348
|
type: Component,
|
|
3312
3349
|
args: [{ selector: 'field-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [
|
|
3313
3350
|
{
|
|
3314
3351
|
provide: ControlContainer,
|
|
3315
3352
|
useExisting: FormGroupDirective,
|
|
3316
3353
|
},
|
|
3317
|
-
], standalone: false, template: "<div class=\"form-group\">\n <label class=\"col-md-3 control-label\" [for]=\"'_' + fieldName\">{{\n labelKey | translate\n }}</label>\n
|
|
3354
|
+
], standalone: false, template: "<div class=\"form-group\">\n <label class=\"col-md-3 control-label\" [for]=\"'_' + fieldName\">{{\n labelKey | translate\n }}</label>\n @if (control) {\n <div class=\"col-md-9\">\n <kendo-multiselect\n [id]=\"'_' + fieldName\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n (valueChange)=\"onValueChange($event)\"\n ></kendo-multiselect>\n @if (control.invalid && control.touched) {\n <div class=\"bg-danger\">\n @if (control.errors['required']) {\n <span>\n {{ \"Required\" | translate : { param0: labelKey | translate } }}\n </span>\n }\n @if (control.errors['serverErrorMsg']) {\n <span>\n {{ control.errors[\"serverErrorMsg\"] }}\n </span>\n }\n </div>\n }\n </div>\n }\n</div>\n" }]
|
|
3318
3355
|
}], ctorParameters: () => [{ type: i1.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { service: [{
|
|
3319
3356
|
type: Input
|
|
3320
3357
|
}], rebind: [{
|
|
@@ -3336,17 +3373,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3336
3373
|
}] } });
|
|
3337
3374
|
|
|
3338
3375
|
class FieldMultiselectModule {
|
|
3339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3340
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3376
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldMultiselectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3377
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldMultiselectModule, declarations: [FieldMultiSelectComponent], imports: [ReactiveFormsModule,
|
|
3341
3378
|
MultiSelectModule,
|
|
3342
3379
|
TranslateModule,
|
|
3343
3380
|
CommonModule], exports: [FieldMultiSelectComponent] }); }
|
|
3344
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3381
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldMultiselectModule, imports: [ReactiveFormsModule,
|
|
3345
3382
|
MultiSelectModule,
|
|
3346
3383
|
TranslateModule,
|
|
3347
3384
|
CommonModule] }); }
|
|
3348
3385
|
}
|
|
3349
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldMultiselectModule, decorators: [{
|
|
3350
3387
|
type: NgModule,
|
|
3351
3388
|
args: [{
|
|
3352
3389
|
declarations: [
|
|
@@ -3368,18 +3405,18 @@ class PartnerService extends EntityService {
|
|
|
3368
3405
|
constructor(httpService) {
|
|
3369
3406
|
super(httpService, endpoints.partners);
|
|
3370
3407
|
}
|
|
3371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3372
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3408
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PartnerService, deps: [{ token: HttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3409
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PartnerService }); }
|
|
3373
3410
|
}
|
|
3374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PartnerService, decorators: [{
|
|
3375
3412
|
type: Injectable
|
|
3376
3413
|
}], ctorParameters: () => [{ type: HttpService }] });
|
|
3377
3414
|
|
|
3378
3415
|
class ExcelExportButtonComponent {
|
|
3379
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3380
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3416
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExcelExportButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3417
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: ExcelExportButtonComponent, isStandalone: false, 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: i5.ExcelCommandDirective, selector: "[kendoGridExcelCommand]" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
3381
3418
|
}
|
|
3382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExcelExportButtonComponent, decorators: [{
|
|
3383
3420
|
type: Component,
|
|
3384
3421
|
args: [{ selector: 'excel-export-button', standalone: false, template: "<button type=\"button\" kendoGridExcelCommand>\n <em ngClass=\"fa fa-file-excel-o\"></em>\n {{ 'Buttons.ExcelExport' | translate }}\n</button>\n" }]
|
|
3385
3422
|
}] });
|
|
@@ -3580,12 +3617,12 @@ class EntityListComponent {
|
|
|
3580
3617
|
this.onFilterChange();
|
|
3581
3618
|
this.getData();
|
|
3582
3619
|
}
|
|
3583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3584
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3620
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityListComponent, deps: [{ token: i2.TranslateService }, { token: i1$2.ActivatedRoute }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3621
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: EntityListComponent, isStandalone: false, 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\">{{\n \"Search\" | translate\n }}</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\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\n [fileName]=\"generateDateBasedExcelFileName()\"\n [fetchData]=\"getAllData\"\n ></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @if (!dataItem.suppressDeletion) {\n <button\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n @for (field of gridFields; track field) {\n <kendo-grid-column\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n }\n @if (commands.length > 0) {\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @for (command of commands; track command) {\n <button\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n @if (command.iconClass) {\n <em\n class=\"{{ command.iconClass }}\"\n ></em>\n }\n {{ command.name | translate }}\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n }\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <div class=\"pager\">\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 </div>\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: [".pager{display:flex;justify-content:center;align-items:center;width:100%}\n"], dependencies: [{ kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: i1$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i4$1.PagerInfoComponent, selector: "kendo-datapager-info, kendo-pager-info" }, { kind: "component", type: i4$1.PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: ["size"] }, { kind: "component", type: i4$1.PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons, kendo-pager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: i4$1.PagerPrevButtonsComponent, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: ["size"] }, { kind: "directive", type: i4$1.PagerTemplateDirective, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]" }, { kind: "component", type: i5.GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "adaptiveMode", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "gridResizable", "rowReorderable", "navigable", "autoSize", "rowClass", "rowSticky", "rowSelected", "isRowSelectable", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "showInactiveTools", "isDetailExpanded", "isGroupExpanded", "dataLayoutMode"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "gridStateChange", "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: i5.ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: i5.GridSpacerComponent, selector: "kendo-grid-spacer", inputs: ["width"] }, { kind: "directive", type: i5.SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: i5.GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: i5.ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: i5.FocusableDirective, selector: "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: i5.CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: i5.CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: i5.NoRecordsTemplateDirective, selector: "[kendoGridNoRecordsTemplate]" }, { kind: "component", type: i5.RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }, { kind: "component", type: i5.ExcelComponent, selector: "kendo-grid-excel", inputs: ["fileName", "filterable", "creator", "date", "forceProxy", "proxyURL", "fetchData", "paddingCellOptions", "headerPaddingCellOptions", "collapsible"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "component", type: ExcelExportButtonComponent, selector: "excel-export-button" }, { kind: "directive", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: ["permissionType", "permissionCategory"] }, { kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
3585
3622
|
}
|
|
3586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3623
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityListComponent, decorators: [{
|
|
3587
3624
|
type: Component,
|
|
3588
|
-
args: [{ selector: 'entity-list', standalone: false, 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\">{{\n \"Search\" | translate\n }}</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
|
|
3625
|
+
args: [{ selector: 'entity-list', standalone: false, 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\">{{\n \"Search\" | translate\n }}</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\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\n [fileName]=\"generateDateBasedExcelFileName()\"\n [fetchData]=\"getAllData\"\n ></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @if (!dataItem.suppressDeletion) {\n <button\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n @for (field of gridFields; track field) {\n <kendo-grid-column\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n }\n @if (commands.length > 0) {\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @for (command of commands; track command) {\n <button\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n @if (command.iconClass) {\n <em\n class=\"{{ command.iconClass }}\"\n ></em>\n }\n {{ command.name | translate }}\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n }\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <div class=\"pager\">\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 </div>\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: [".pager{display:flex;justify-content:center;align-items:center;width:100%}\n"] }]
|
|
3589
3626
|
}], ctorParameters: () => [{ type: i2.TranslateService }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }], propDecorators: { service: [{
|
|
3590
3627
|
type: Input
|
|
3591
3628
|
}], filters: [{
|
|
@@ -3624,20 +3661,20 @@ class UserListAdminComponent extends EntityListComponent {
|
|
|
3624
3661
|
}));
|
|
3625
3662
|
}
|
|
3626
3663
|
}
|
|
3627
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3628
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserListAdminComponent, deps: [{ token: i2.TranslateService }, { token: i1$2.ActivatedRoute }, { token: i1$2.Router }, { token: PartnerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3665
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: UserListAdminComponent, isStandalone: false, 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\">{{\n \"Search\" | translate\n }}</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\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\n [fileName]=\"generateDateBasedExcelFileName()\"\n [fetchData]=\"getAllData\"\n ></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @if (!dataItem.suppressDeletion) {\n <button\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n @for (field of gridFields; track field) {\n <kendo-grid-column\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n }\n @if (commands.length > 0) {\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @for (command of commands; track command) {\n <button\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n @if (command.iconClass) {\n <em\n class=\"{{ command.iconClass }}\"\n ></em>\n }\n {{ command.name | translate }}\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n }\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <div class=\"pager\">\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 </div>\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: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: i1$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i4$1.PagerInfoComponent, selector: "kendo-datapager-info, kendo-pager-info" }, { kind: "component", type: i4$1.PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: ["size"] }, { kind: "component", type: i4$1.PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons, kendo-pager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: i4$1.PagerPrevButtonsComponent, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: ["size"] }, { kind: "directive", type: i4$1.PagerTemplateDirective, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]" }, { kind: "component", type: i5.GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "adaptiveMode", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "gridResizable", "rowReorderable", "navigable", "autoSize", "rowClass", "rowSticky", "rowSelected", "isRowSelectable", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "showInactiveTools", "isDetailExpanded", "isGroupExpanded", "dataLayoutMode"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "gridStateChange", "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: i5.ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: i5.GridSpacerComponent, selector: "kendo-grid-spacer", inputs: ["width"] }, { kind: "directive", type: i5.SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: i5.GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: i5.ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: i5.FocusableDirective, selector: "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: i5.CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: i5.CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: i5.NoRecordsTemplateDirective, selector: "[kendoGridNoRecordsTemplate]" }, { kind: "component", type: i5.RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }, { kind: "component", type: i5.ExcelComponent, selector: "kendo-grid-excel", inputs: ["fileName", "filterable", "creator", "date", "forceProxy", "proxyURL", "fetchData", "paddingCellOptions", "headerPaddingCellOptions", "collapsible"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "component", type: ExcelExportButtonComponent, selector: "excel-export-button" }, { kind: "directive", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: ["permissionType", "permissionCategory"] }, { kind: "directive", type: i1.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2$1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
3629
3666
|
}
|
|
3630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserListAdminComponent, decorators: [{
|
|
3631
3668
|
type: Component,
|
|
3632
|
-
args: [{ selector: 'lib-user-list-admin', providers: [PartnerService], standalone: false, 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\">{{\n \"Search\" | translate\n }}</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
|
|
3669
|
+
args: [{ selector: 'lib-user-list-admin', providers: [PartnerService], standalone: false, 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\">{{\n \"Search\" | translate\n }}</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\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\n [fileName]=\"generateDateBasedExcelFileName()\"\n [fetchData]=\"getAllData\"\n ></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @if (!dataItem.suppressDeletion) {\n <button\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n @for (field of gridFields; track field) {\n <kendo-grid-column\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n }\n @if (commands.length > 0) {\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n @for (command of commands; track command) {\n <button\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n @if (command.iconClass) {\n <em\n class=\"{{ command.iconClass }}\"\n ></em>\n }\n {{ command.name | translate }}\n </button>\n }\n </ng-template>\n </kendo-grid-command-column>\n }\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <div class=\"pager\">\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 </div>\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" }]
|
|
3633
3670
|
}], ctorParameters: () => [{ type: i2.TranslateService }, { type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: PartnerService }] });
|
|
3634
3671
|
|
|
3635
3672
|
class ExcelExportButtonModule {
|
|
3636
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3637
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3638
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3673
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExcelExportButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3674
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ExcelExportButtonModule, declarations: [ExcelExportButtonComponent], imports: [TranslateModule, ExcelModule], exports: [ExcelExportButtonComponent] }); }
|
|
3675
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExcelExportButtonModule, imports: [TranslateModule, ExcelModule] }); }
|
|
3639
3676
|
}
|
|
3640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3677
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ExcelExportButtonModule, decorators: [{
|
|
3641
3678
|
type: NgModule,
|
|
3642
3679
|
args: [{
|
|
3643
3680
|
declarations: [ExcelExportButtonComponent],
|
|
@@ -3658,24 +3695,24 @@ class CreateNewComponent {
|
|
|
3658
3695
|
this.defaultLabelKey = labelKeyFromRoute;
|
|
3659
3696
|
}
|
|
3660
3697
|
}
|
|
3661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3662
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3698
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CreateNewComponent, deps: [{ token: i1$2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3699
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: CreateNewComponent, isStandalone: false, 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 translate=\"{{ defaultLabelKey }}\"\n [permissionType]=\"permissionTypes\"\n >\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1$2.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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3663
3700
|
}
|
|
3664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CreateNewComponent, decorators: [{
|
|
3665
3702
|
type: Component,
|
|
3666
3703
|
args: [{ selector: 'create-new', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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 translate=\"{{ defaultLabelKey }}\"\n [permissionType]=\"permissionTypes\"\n >\n </a>\n </div>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
3667
3704
|
}], ctorParameters: () => [{ type: i1$2.ActivatedRoute }] });
|
|
3668
3705
|
|
|
3669
3706
|
class CreateNewModule {
|
|
3670
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3671
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3707
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CreateNewModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3708
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: CreateNewModule, declarations: [CreateNewComponent], imports: [RouterModule,
|
|
3672
3709
|
RequirePermissionModule,
|
|
3673
3710
|
TranslateModule], exports: [CreateNewComponent] }); }
|
|
3674
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3711
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CreateNewModule, imports: [RouterModule,
|
|
3675
3712
|
RequirePermissionModule,
|
|
3676
3713
|
TranslateModule] }); }
|
|
3677
3714
|
}
|
|
3678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CreateNewModule, decorators: [{
|
|
3679
3716
|
type: NgModule,
|
|
3680
3717
|
args: [{
|
|
3681
3718
|
declarations: [CreateNewComponent],
|
|
@@ -3689,8 +3726,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3689
3726
|
}] });
|
|
3690
3727
|
|
|
3691
3728
|
class EntityListModule {
|
|
3692
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3693
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3729
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3730
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: EntityListModule, declarations: [EntityListComponent, UserListAdminComponent], imports: [CommonModule,
|
|
3694
3731
|
TranslateModule,
|
|
3695
3732
|
ConfirmDialogModule,
|
|
3696
3733
|
RouterModule,
|
|
@@ -3704,7 +3741,7 @@ class EntityListModule {
|
|
|
3704
3741
|
RequirePermissionModule,
|
|
3705
3742
|
FormsModule,
|
|
3706
3743
|
InputsModule], exports: [EntityListComponent, UserListAdminComponent] }); }
|
|
3707
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3744
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityListModule, imports: [CommonModule,
|
|
3708
3745
|
TranslateModule,
|
|
3709
3746
|
ConfirmDialogModule,
|
|
3710
3747
|
RouterModule,
|
|
@@ -3719,7 +3756,7 @@ class EntityListModule {
|
|
|
3719
3756
|
FormsModule,
|
|
3720
3757
|
InputsModule] }); }
|
|
3721
3758
|
}
|
|
3722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3759
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: EntityListModule, decorators: [{
|
|
3723
3760
|
type: NgModule,
|
|
3724
3761
|
args: [{
|
|
3725
3762
|
declarations: [EntityListComponent, UserListAdminComponent],
|
|
@@ -3775,10 +3812,10 @@ class FieldDropdownlistComponent {
|
|
|
3775
3812
|
initSelectedId(id) {
|
|
3776
3813
|
this.initialSelectedId = id;
|
|
3777
3814
|
}
|
|
3778
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3779
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3815
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownlistComponent, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3816
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: FieldDropdownlistComponent, isStandalone: false, 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: i4.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "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"] }] }); }
|
|
3780
3817
|
}
|
|
3781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownlistComponent, decorators: [{
|
|
3782
3819
|
type: Component,
|
|
3783
3820
|
args: [{ selector: 'field-dropdownlist', standalone: false, 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" }]
|
|
3784
3821
|
}], ctorParameters: () => [{ type: i2.TranslateService }], propDecorators: { service: [{
|
|
@@ -3799,11 +3836,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3799
3836
|
}] } });
|
|
3800
3837
|
|
|
3801
3838
|
class FieldDropdownlistModule {
|
|
3802
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3803
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3804
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3839
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownlistModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3840
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownlistModule, declarations: [FieldDropdownlistComponent], imports: [DropDownListModule], exports: [FieldDropdownlistComponent] }); }
|
|
3841
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownlistModule, imports: [DropDownListModule] }); }
|
|
3805
3842
|
}
|
|
3806
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownlistModule, decorators: [{
|
|
3807
3844
|
type: NgModule,
|
|
3808
3845
|
args: [{
|
|
3809
3846
|
declarations: [FieldDropdownlistComponent],
|
|
@@ -3813,20 +3850,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3813
3850
|
}] });
|
|
3814
3851
|
|
|
3815
3852
|
class FooterBarComponent {
|
|
3816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3817
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3853
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FooterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3854
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: FooterBarComponent, isStandalone: false, 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 }); }
|
|
3818
3855
|
}
|
|
3819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FooterBarComponent, decorators: [{
|
|
3820
3857
|
type: Component,
|
|
3821
3858
|
args: [{ selector: 'footer-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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" }]
|
|
3822
3859
|
}] });
|
|
3823
3860
|
|
|
3824
3861
|
class FooterBarModule {
|
|
3825
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3826
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3827
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FooterBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3863
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FooterBarModule, declarations: [FooterBarComponent], exports: [FooterBarComponent] }); }
|
|
3864
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FooterBarModule }); }
|
|
3828
3865
|
}
|
|
3829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FooterBarModule, decorators: [{
|
|
3830
3867
|
type: NgModule,
|
|
3831
3868
|
args: [{
|
|
3832
3869
|
declarations: [
|
|
@@ -3851,12 +3888,12 @@ class ModalWindowComponent {
|
|
|
3851
3888
|
fragment: this.route.snapshot?.fragment,
|
|
3852
3889
|
});
|
|
3853
3890
|
}
|
|
3854
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3855
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ModalWindowComponent, deps: [{ token: i1$2.ActivatedRoute }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3892
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: ModalWindowComponent, isStandalone: false, selector: "modal-window", inputs: { callbackPath: "callbackPath", title: "title" }, ngImport: i0, template: "<div class=\"modal-window window-wrapper\">\n @if (opened) {\n <div class=\"k-overlay\" (click)=\"close()\"></div>\n }\n @if (opened) {\n <kendo-window (close)=\"close()\" [height]=\"830\" [width]=\"800\">\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 }\n</div>\n", styles: [".modal-window{z-index:11002}\n"], dependencies: [{ kind: "component", type: i2$3.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: i2$3.WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "component", type: i2$3.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }] }); }
|
|
3856
3893
|
}
|
|
3857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ModalWindowComponent, decorators: [{
|
|
3858
3895
|
type: Component,
|
|
3859
|
-
args: [{ selector: 'modal-window', standalone: false, template: "<div class=\"modal-window window-wrapper\">\n <div class=\"k-overlay\"
|
|
3896
|
+
args: [{ selector: 'modal-window', standalone: false, template: "<div class=\"modal-window window-wrapper\">\n @if (opened) {\n <div class=\"k-overlay\" (click)=\"close()\"></div>\n }\n @if (opened) {\n <kendo-window (close)=\"close()\" [height]=\"830\" [width]=\"800\">\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 }\n</div>\n", styles: [".modal-window{z-index:11002}\n"] }]
|
|
3860
3897
|
}], ctorParameters: () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }], propDecorators: { callbackPath: [{
|
|
3861
3898
|
type: Input
|
|
3862
3899
|
}], title: [{
|
|
@@ -3864,11 +3901,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3864
3901
|
}] } });
|
|
3865
3902
|
|
|
3866
3903
|
class ModalWindowModule {
|
|
3867
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3868
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3869
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3904
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ModalWindowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3905
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ModalWindowModule, declarations: [ModalWindowComponent], imports: [CommonModule, RouterModule, WindowModule, TranslateModule], exports: [ModalWindowComponent] }); }
|
|
3906
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ModalWindowModule, imports: [CommonModule, RouterModule, WindowModule, TranslateModule] }); }
|
|
3870
3907
|
}
|
|
3871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3908
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ModalWindowModule, decorators: [{
|
|
3872
3909
|
type: NgModule,
|
|
3873
3910
|
args: [{
|
|
3874
3911
|
declarations: [ModalWindowComponent],
|
|
@@ -3938,12 +3975,12 @@ class MulticheckFilterComponent {
|
|
|
3938
3975
|
}),
|
|
3939
3976
|
], 'name');
|
|
3940
3977
|
}
|
|
3941
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3942
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
3978
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MulticheckFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3979
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: MulticheckFilterComponent, isStandalone: false, selector: "multicheck-filter", inputs: { currentFilter: "currentFilter", data: "data", filterService: "filterService", field: "field", valueField: "valueField", operator: "operator" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<ul>\n @if (showFilter) {\n <li>\n <input class=\"k-textbox\" (input)=\"onInput($event)\" />\n </li>\n }\n @for (item of currentData; track item) {\n <li\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 }\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: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
3943
3980
|
}
|
|
3944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MulticheckFilterComponent, decorators: [{
|
|
3945
3982
|
type: Component,
|
|
3946
|
-
args: [{ selector: 'multicheck-filter', standalone: false, template: "<ul>\n
|
|
3983
|
+
args: [{ selector: 'multicheck-filter', standalone: false, template: "<ul>\n @if (showFilter) {\n <li>\n <input class=\"k-textbox\" (input)=\"onInput($event)\" />\n </li>\n }\n @for (item of currentData; track item) {\n <li\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 }\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"] }]
|
|
3947
3984
|
}], propDecorators: { currentFilter: [{
|
|
3948
3985
|
type: Input
|
|
3949
3986
|
}], data: [{
|
|
@@ -3961,11 +3998,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3961
3998
|
}] } });
|
|
3962
3999
|
|
|
3963
4000
|
class MulticheckFilterModule {
|
|
3964
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3965
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3966
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MulticheckFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4002
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: MulticheckFilterModule, declarations: [MulticheckFilterComponent], imports: [CommonModule], exports: [MulticheckFilterComponent] }); }
|
|
4003
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MulticheckFilterModule, imports: [CommonModule] }); }
|
|
3967
4004
|
}
|
|
3968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: MulticheckFilterModule, decorators: [{
|
|
3969
4006
|
type: NgModule,
|
|
3970
4007
|
args: [{
|
|
3971
4008
|
declarations: [MulticheckFilterComponent],
|
|
@@ -3978,12 +4015,12 @@ class TopMenuComponent {
|
|
|
3978
4015
|
toggleButtonClick() {
|
|
3979
4016
|
document.body.classList.toggle('mini-navbar');
|
|
3980
4017
|
}
|
|
3981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3982
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
4018
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TopMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4019
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: TopMenuComponent, isStandalone: false, 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\n 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 @if (currentUser != null) {\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\">\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 }\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: i1$2.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 }); }
|
|
3983
4020
|
}
|
|
3984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TopMenuComponent, decorators: [{
|
|
3985
4022
|
type: Component,
|
|
3986
|
-
args: [{ selector: 'top-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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
|
|
4023
|
+
args: [{ selector: 'top-bar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, 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\n 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 @if (currentUser != null) {\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\">\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 }\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"] }]
|
|
3987
4024
|
}], propDecorators: { currentUser: [{
|
|
3988
4025
|
type: Input
|
|
3989
4026
|
}], menuItems: [{
|
|
@@ -3991,15 +4028,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
3991
4028
|
}] } });
|
|
3992
4029
|
|
|
3993
4030
|
class TopBarModule {
|
|
3994
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3995
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4031
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TopBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4032
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: TopBarModule, declarations: [TopMenuComponent], imports: [CommonModule,
|
|
3996
4033
|
RouterModule,
|
|
3997
4034
|
AccountMenuModule], exports: [TopMenuComponent] }); }
|
|
3998
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4035
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TopBarModule, imports: [CommonModule,
|
|
3999
4036
|
RouterModule,
|
|
4000
4037
|
AccountMenuModule] }); }
|
|
4001
4038
|
}
|
|
4002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TopBarModule, decorators: [{
|
|
4003
4040
|
type: NgModule,
|
|
4004
4041
|
args: [{
|
|
4005
4042
|
declarations: [
|
|
@@ -4017,17 +4054,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
4017
4054
|
}] });
|
|
4018
4055
|
|
|
4019
4056
|
class FieldDropdownModule {
|
|
4020
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4021
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4057
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4058
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownModule, declarations: [FieldDropdownComponent], imports: [TranslateModule,
|
|
4022
4059
|
DropDownsModule,
|
|
4023
4060
|
ReactiveFormsModule,
|
|
4024
4061
|
CommonModule], exports: [FieldDropdownComponent] }); }
|
|
4025
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4062
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownModule, imports: [TranslateModule,
|
|
4026
4063
|
DropDownsModule,
|
|
4027
4064
|
ReactiveFormsModule,
|
|
4028
4065
|
CommonModule] }); }
|
|
4029
4066
|
}
|
|
4030
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldDropdownModule, decorators: [{
|
|
4031
4068
|
type: NgModule,
|
|
4032
4069
|
args: [{
|
|
4033
4070
|
declarations: [FieldDropdownComponent],
|
|
@@ -4042,17 +4079,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
4042
4079
|
}] });
|
|
4043
4080
|
|
|
4044
4081
|
class ObjectDropdownModule {
|
|
4045
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4046
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4082
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ObjectDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4083
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ObjectDropdownModule, declarations: [ObjectDropdownComponent], imports: [CommonModule,
|
|
4047
4084
|
TranslateModule,
|
|
4048
4085
|
DropDownsModule,
|
|
4049
4086
|
ReactiveFormsModule], exports: [ObjectDropdownComponent] }); }
|
|
4050
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4087
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ObjectDropdownModule, imports: [CommonModule,
|
|
4051
4088
|
TranslateModule,
|
|
4052
4089
|
DropDownsModule,
|
|
4053
4090
|
ReactiveFormsModule] }); }
|
|
4054
4091
|
}
|
|
4055
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ObjectDropdownModule, decorators: [{
|
|
4056
4093
|
type: NgModule,
|
|
4057
4094
|
args: [{
|
|
4058
4095
|
declarations: [ObjectDropdownComponent],
|
|
@@ -4073,20 +4110,20 @@ class ForbiddenComponent {
|
|
|
4073
4110
|
logout() {
|
|
4074
4111
|
this.accountService.logout();
|
|
4075
4112
|
}
|
|
4076
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4077
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ForbiddenComponent, deps: [{ token: AccountService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
4114
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: ForbiddenComponent, isStandalone: false, 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"] }); }
|
|
4078
4115
|
}
|
|
4079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ForbiddenComponent, decorators: [{
|
|
4080
4117
|
type: Component,
|
|
4081
4118
|
args: [{ selector: 'app-forbidden', standalone: false, 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"] }]
|
|
4082
4119
|
}], ctorParameters: () => [{ type: AccountService }] });
|
|
4083
4120
|
|
|
4084
4121
|
class SideMenuModule {
|
|
4085
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4086
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4087
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4122
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SideMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4123
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: SideMenuModule, declarations: [SideMenuComponent, MenuItemGroupComponent], imports: [CommonModule, TranslateModule, RouterModule, FormsModule, LoadingBarHttpClientModule], exports: [SideMenuComponent, MenuItemGroupComponent] }); }
|
|
4124
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SideMenuModule, imports: [CommonModule, TranslateModule, RouterModule, FormsModule, LoadingBarHttpClientModule] }); }
|
|
4088
4125
|
}
|
|
4089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SideMenuModule, decorators: [{
|
|
4090
4127
|
type: NgModule,
|
|
4091
4128
|
args: [{
|
|
4092
4129
|
declarations: [SideMenuComponent, MenuItemGroupComponent],
|
|
@@ -4117,10 +4154,10 @@ class AuthHeadersInterceptor {
|
|
|
4117
4154
|
}
|
|
4118
4155
|
return next.handle(request);
|
|
4119
4156
|
}
|
|
4120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4121
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4157
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthHeadersInterceptor, deps: [{ token: SettingsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4158
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthHeadersInterceptor }); }
|
|
4122
4159
|
}
|
|
4123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthHeadersInterceptor, decorators: [{
|
|
4124
4161
|
type: Injectable
|
|
4125
4162
|
}], ctorParameters: () => [{ type: SettingsService }] });
|
|
4126
4163
|
|
|
@@ -4157,12 +4194,12 @@ class AppCoreModule {
|
|
|
4157
4194
|
],
|
|
4158
4195
|
};
|
|
4159
4196
|
}
|
|
4160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4161
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4197
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4198
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AppCoreModule, imports: [i2.TranslateModule, LoadingBarHttpClientModule, i1$1.ToastrModule, MsalModule], exports: [TranslateModule,
|
|
4162
4199
|
ClipboardModule,
|
|
4163
4200
|
LoadingBarHttpClientModule,
|
|
4164
4201
|
ToastrModule] }); }
|
|
4165
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4202
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCoreModule, providers: [
|
|
4166
4203
|
provideAppInitializer(() => {
|
|
4167
4204
|
const initializerFn = (LocaleServiceSettingsFactory)(inject(LocaleSettingsService));
|
|
4168
4205
|
return initializerFn();
|
|
@@ -4187,7 +4224,7 @@ class AppCoreModule {
|
|
|
4187
4224
|
PermissionsService,
|
|
4188
4225
|
SignalRService,
|
|
4189
4226
|
provideHttpClient(withInterceptorsFromDi()),
|
|
4190
|
-
], imports: [TranslateModule.
|
|
4227
|
+
], imports: [TranslateModule.forRoot({
|
|
4191
4228
|
loader: {
|
|
4192
4229
|
provide: TranslateLoader,
|
|
4193
4230
|
useFactory: TranslateLoaderFactory,
|
|
@@ -4198,12 +4235,13 @@ class AppCoreModule {
|
|
|
4198
4235
|
},
|
|
4199
4236
|
}),
|
|
4200
4237
|
LoadingBarHttpClientModule,
|
|
4201
|
-
ToastrModule.forRoot(),
|
|
4238
|
+
ToastrModule.forRoot(),
|
|
4239
|
+
MsalModule, TranslateModule,
|
|
4202
4240
|
ClipboardModule,
|
|
4203
4241
|
LoadingBarHttpClientModule,
|
|
4204
4242
|
ToastrModule] }); }
|
|
4205
4243
|
}
|
|
4206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppCoreModule, decorators: [{
|
|
4207
4245
|
type: NgModule,
|
|
4208
4246
|
args: [{
|
|
4209
4247
|
exports: [
|
|
@@ -4213,7 +4251,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
4213
4251
|
ToastrModule,
|
|
4214
4252
|
],
|
|
4215
4253
|
imports: [
|
|
4216
|
-
TranslateModule.
|
|
4254
|
+
TranslateModule.forRoot({
|
|
4217
4255
|
loader: {
|
|
4218
4256
|
provide: TranslateLoader,
|
|
4219
4257
|
useFactory: TranslateLoaderFactory,
|
|
@@ -4225,6 +4263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.5", ngImpor
|
|
|
4225
4263
|
}),
|
|
4226
4264
|
LoadingBarHttpClientModule,
|
|
4227
4265
|
ToastrModule.forRoot(),
|
|
4266
|
+
MsalModule,
|
|
4228
4267
|
],
|
|
4229
4268
|
providers: [
|
|
4230
4269
|
provideAppInitializer(() => {
|