@indigina/kendo 1.2.50 → 1.2.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/angular/indigina.module.mjs +4 -15
- package/esm2022/lib/components/account-menu/account-menu.component.mjs +9 -9
- package/esm2022/lib/components/account-menu/account-menu.module.mjs +40 -0
- package/esm2022/lib/components/account-menu/index.mjs +3 -0
- package/esm2022/lib/components/language-selector/index.mjs +3 -0
- package/esm2022/lib/components/language-selector/language-selector.component.mjs +4 -4
- package/esm2022/lib/components/language-selector/language-selector.module.mjs +32 -0
- package/esm2022/lib/kendo.module.mjs +35 -31
- package/esm2022/lib/widgets/entity-edit/field-multiselect/field-multiselect.component.mjs +9 -9
- package/esm2022/lib/widgets/entity-edit/field-multiselect/field-multiselect.module.mjs +36 -0
- package/esm2022/lib/widgets/entity-edit/field-multiselect/index.mjs +3 -0
- package/esm2022/lib/widgets/footer-bar/footer-bar.component.mjs +4 -4
- package/esm2022/lib/widgets/footer-bar/footer-bar.module.mjs +20 -0
- package/esm2022/lib/widgets/footer-bar/index.mjs +3 -0
- package/esm2022/lib/widgets/top-bar/index.mjs +3 -0
- package/esm2022/lib/widgets/top-bar/top-bar.component.mjs +4 -4
- package/esm2022/lib/widgets/top-bar/top-bar.module.mjs +32 -0
- package/esm2022/public-api.mjs +6 -6
- package/fesm2022/indigina-kendo.mjs +270 -147
- package/fesm2022/indigina-kendo.mjs.map +1 -1
- package/lib/angular/indigina.module.d.ts +12 -14
- package/lib/components/account-menu/account-menu.component.d.ts +1 -1
- package/lib/components/account-menu/account-menu.module.d.ts +12 -0
- package/lib/components/account-menu/index.d.ts +2 -0
- package/lib/components/language-selector/index.d.ts +2 -0
- package/lib/components/language-selector/language-selector.module.d.ts +10 -0
- package/lib/kendo.module.d.ts +35 -35
- package/lib/widgets/entity-edit/field-multiselect/field-multiselect.component.d.ts +2 -2
- package/lib/widgets/entity-edit/field-multiselect/field-multiselect.module.d.ts +11 -0
- package/lib/widgets/entity-edit/field-multiselect/index.d.ts +2 -0
- package/lib/widgets/footer-bar/footer-bar.module.d.ts +7 -0
- package/lib/widgets/footer-bar/index.d.ts +2 -0
- package/lib/widgets/top-bar/index.d.ts +2 -0
- package/lib/widgets/top-bar/top-bar.module.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -5
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as momentModule from 'moment-timezone';
|
|
2
|
-
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
3
2
|
export * from '@angular/platform-browser/animations';
|
|
4
3
|
import * as i1 from '@azure/msal-angular';
|
|
5
4
|
import { MSAL_INSTANCE, MsalModule, MsalService } from '@azure/msal-angular';
|
|
@@ -25,7 +24,6 @@ import * as i0 from '@angular/core';
|
|
|
25
24
|
import { EventEmitter, Directive, Input, Output, HostListener, NgModule, Component, ChangeDetectionStrategy, Injectable, ViewChildren, APP_INITIALIZER, ViewChild, InjectionToken, Inject } from '@angular/core';
|
|
26
25
|
import * as i1$3 from '@angular/forms';
|
|
27
26
|
import { UntypedFormControl, Validators, ControlContainer, FormGroupDirective, ReactiveFormsModule, FormsModule, UntypedFormGroup } from '@angular/forms';
|
|
28
|
-
import { BrowserModule } from '@angular/platform-browser';
|
|
29
27
|
import * as i1$4 from '@angular/router';
|
|
30
28
|
import { NavigationEnd, RouterModule } from '@angular/router';
|
|
31
29
|
import { Subject, of, BehaviorSubject, throwError, from, tap as tap$1, map as map$1 } from 'rxjs';
|
|
@@ -38,16 +36,16 @@ import * as i4$1 from '@progress/kendo-angular-inputs';
|
|
|
38
36
|
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
39
37
|
import { toODataString, filterBy, distinct } from '@progress/kendo-data-query';
|
|
40
38
|
import { InteractionRequiredAuthError, BrowserCacheLocation, PublicClientApplication } from '@azure/msal-browser';
|
|
41
|
-
import * as
|
|
39
|
+
import * as i4$2 from '@progress/kendo-angular-popup';
|
|
42
40
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
43
41
|
import * as i3 from '@progress/kendo-angular-dialog';
|
|
44
|
-
import { DialogModule, DialogsModule
|
|
45
|
-
import * as i6
|
|
42
|
+
import { WindowModule, DialogModule, DialogsModule } from '@progress/kendo-angular-dialog';
|
|
43
|
+
import * as i6 from '@progress/kendo-angular-grid';
|
|
46
44
|
import { PagerModule, GridModule, ExcelModule } from '@progress/kendo-angular-grid';
|
|
47
45
|
import * as i5 from '@progress/kendo-angular-dateinputs';
|
|
48
46
|
import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
|
|
49
|
-
import * as i4$
|
|
50
|
-
import { DropDownListModule, DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
47
|
+
import * as i4$3 from '@progress/kendo-angular-dropdowns';
|
|
48
|
+
import { DropDownListModule, DropDownsModule, MultiSelectModule } from '@progress/kendo-angular-dropdowns';
|
|
51
49
|
import { TooltipModule } from '@progress/kendo-angular-tooltip';
|
|
52
50
|
|
|
53
51
|
class DebounceDirective {
|
|
@@ -932,12 +930,10 @@ class IndiginaModule {
|
|
|
932
930
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: IndiginaModule, declarations: [SideMenuComponent,
|
|
933
931
|
MenuItemGroupComponent,
|
|
934
932
|
TreeViewComponent,
|
|
935
|
-
TreeViewNodeComponent], imports: [
|
|
936
|
-
HttpClientModule, i2.TranslateModule, LoadingBarHttpClientModule,
|
|
933
|
+
TreeViewNodeComponent], imports: [HttpClientModule, i2.TranslateModule, LoadingBarHttpClientModule,
|
|
937
934
|
CommonModule,
|
|
938
935
|
RouterModule,
|
|
939
|
-
ReactiveFormsModule, i1$2.ToastrModule,
|
|
940
|
-
FieldInputModule,
|
|
936
|
+
ReactiveFormsModule, i1$2.ToastrModule, FieldInputModule,
|
|
941
937
|
GeneralErrorsModule,
|
|
942
938
|
DebounceModule], exports: [SideMenuComponent,
|
|
943
939
|
TreeViewComponent,
|
|
@@ -947,7 +943,6 @@ class IndiginaModule {
|
|
|
947
943
|
ClipboardModule,
|
|
948
944
|
LoadingBarHttpClientModule,
|
|
949
945
|
ToastrModule,
|
|
950
|
-
BrowserAnimationsModule,
|
|
951
946
|
FieldInputModule] }); }
|
|
952
947
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: IndiginaModule, providers: [
|
|
953
948
|
{
|
|
@@ -966,8 +961,7 @@ class IndiginaModule {
|
|
|
966
961
|
deps: [IndiginaConfiguration],
|
|
967
962
|
},
|
|
968
963
|
TranslateStore,
|
|
969
|
-
], imports: [
|
|
970
|
-
HttpClientModule,
|
|
964
|
+
], imports: [HttpClientModule,
|
|
971
965
|
TranslateModule.forChild({
|
|
972
966
|
loader: {
|
|
973
967
|
provide: TranslateLoader,
|
|
@@ -980,7 +974,6 @@ class IndiginaModule {
|
|
|
980
974
|
RouterModule,
|
|
981
975
|
ReactiveFormsModule,
|
|
982
976
|
ToastrModule.forRoot(),
|
|
983
|
-
BrowserAnimationsModule,
|
|
984
977
|
FieldInputModule,
|
|
985
978
|
GeneralErrorsModule,
|
|
986
979
|
DebounceModule, DebounceModule,
|
|
@@ -989,7 +982,6 @@ class IndiginaModule {
|
|
|
989
982
|
ClipboardModule,
|
|
990
983
|
LoadingBarHttpClientModule,
|
|
991
984
|
ToastrModule,
|
|
992
|
-
BrowserAnimationsModule,
|
|
993
985
|
FieldInputModule] }); }
|
|
994
986
|
}
|
|
995
987
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: IndiginaModule, decorators: [{
|
|
@@ -1002,7 +994,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1002
994
|
TreeViewNodeComponent,
|
|
1003
995
|
],
|
|
1004
996
|
imports: [
|
|
1005
|
-
BrowserModule,
|
|
1006
997
|
HttpClientModule,
|
|
1007
998
|
TranslateModule.forChild({
|
|
1008
999
|
loader: {
|
|
@@ -1016,7 +1007,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1016
1007
|
RouterModule,
|
|
1017
1008
|
ReactiveFormsModule,
|
|
1018
1009
|
ToastrModule.forRoot(),
|
|
1019
|
-
BrowserAnimationsModule,
|
|
1020
1010
|
FieldInputModule,
|
|
1021
1011
|
GeneralErrorsModule,
|
|
1022
1012
|
DebounceModule,
|
|
@@ -1048,7 +1038,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1048
1038
|
ClipboardModule,
|
|
1049
1039
|
LoadingBarHttpClientModule,
|
|
1050
1040
|
ToastrModule,
|
|
1051
|
-
BrowserAnimationsModule,
|
|
1052
1041
|
FieldInputModule,
|
|
1053
1042
|
],
|
|
1054
1043
|
}]
|
|
@@ -1850,11 +1839,11 @@ class LanguageSelectorComponent {
|
|
|
1850
1839
|
}
|
|
1851
1840
|
}
|
|
1852
1841
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: LanguageSelectorComponent, deps: [{ token: i0.ElementRef }, { token: LocaleSettingsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1853
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: LanguageSelectorComponent, selector: "language-selector", inputs: { visible: "visible" }, outputs: { visibleChange: "visibleChange" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, ngImport: i0, template: "<kendo-window
|
|
1842
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: LanguageSelectorComponent, selector: "language-selector", inputs: { visible: "visible" }, outputs: { visibleChange: "visibleChange" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, ngImport: i0, template: "<kendo-window *ngIf=\"visible\"\n class=\"language-selector\"\n [draggable]=\"false\"\n [resizable]=\"false\">\n <kendo-window-titlebar>\n <div>{{ \"ChangeLanguage\" | translate }}</div>\n <button kendoWindowCloseAction (click)=\"close()\"></button>\n </kendo-window-titlebar>\n <div *ngIf=\"languages\" class=\"languages\">\n <div *ngFor=\"let language of languages\" class=\"language-change-action\">\n <button class=\"btn\" (click)=\"changeLanguage(language.code)\">\n <span *ngIf=\"currentLanguageCode === language.code\"\n class=\"fa fa-check\" aria-hidden=\"true\"\n ></span>\n {{ language.name }}\n </button>\n </div>\n </div>\n</kendo-window>\n", styles: [".language-selector{right:40px;top:52px!important;left:auto}.language-selector kendo-window-titlebar{padding:5px 8px}.language-selector kendo-window-titlebar div{width:100%}.language-selector .btn{width:95%}.language-selector .fa{margin-right:5px}.language-change-action{padding:5px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.WindowComponent, selector: "kendo-window", inputs: ["autoFocusedElement", "title", "draggable", "resizable", "themeColor", "keepContent", "state", "minWidth", "minHeight", "width", "height", "top", "left"], outputs: ["dragStart", "dragEnd", "resizeStart", "resizeEnd", "close", "widthChange", "heightChange", "topChange", "leftChange", "stateChange"], exportAs: ["kendoWindow"] }, { kind: "component", type: i3.WindowCloseActionDirective, selector: "button[kendoWindowCloseAction]", inputs: ["window"], exportAs: ["kendoWindowCloseAction"] }, { kind: "component", type: i3.WindowTitleBarComponent, selector: "kendo-window-titlebar", inputs: ["template", "id"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1854
1843
|
}
|
|
1855
1844
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: LanguageSelectorComponent, decorators: [{
|
|
1856
1845
|
type: Component,
|
|
1857
|
-
args: [{ selector: 'language-selector', template: "<kendo-window
|
|
1846
|
+
args: [{ selector: 'language-selector', changeDetection: ChangeDetectionStrategy.OnPush, template: "<kendo-window *ngIf=\"visible\"\n class=\"language-selector\"\n [draggable]=\"false\"\n [resizable]=\"false\">\n <kendo-window-titlebar>\n <div>{{ \"ChangeLanguage\" | translate }}</div>\n <button kendoWindowCloseAction (click)=\"close()\"></button>\n </kendo-window-titlebar>\n <div *ngIf=\"languages\" class=\"languages\">\n <div *ngFor=\"let language of languages\" class=\"language-change-action\">\n <button class=\"btn\" (click)=\"changeLanguage(language.code)\">\n <span *ngIf=\"currentLanguageCode === language.code\"\n class=\"fa fa-check\" aria-hidden=\"true\"\n ></span>\n {{ language.name }}\n </button>\n </div>\n </div>\n</kendo-window>\n", styles: [".language-selector{right:40px;top:52px!important;left:auto}.language-selector kendo-window-titlebar{padding:5px 8px}.language-selector kendo-window-titlebar div{width:100%}.language-selector .btn{width:95%}.language-selector .fa{margin-right:5px}.language-change-action{padding:5px}\n"] }]
|
|
1858
1847
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: LocaleSettingsService }], propDecorators: { visible: [{
|
|
1859
1848
|
type: Input
|
|
1860
1849
|
}], visibleChange: [{
|
|
@@ -1878,7 +1867,7 @@ class AccountMenuComponent {
|
|
|
1878
1867
|
get accountUrl() {
|
|
1879
1868
|
return this.appSettings.accountUrl;
|
|
1880
1869
|
}
|
|
1881
|
-
|
|
1870
|
+
toggle() {
|
|
1882
1871
|
this.expand = !this.expand;
|
|
1883
1872
|
}
|
|
1884
1873
|
logout() {
|
|
@@ -1886,20 +1875,20 @@ class AccountMenuComponent {
|
|
|
1886
1875
|
}
|
|
1887
1876
|
openLanguageSelector(event) {
|
|
1888
1877
|
event.stopPropagation();
|
|
1889
|
-
this.
|
|
1878
|
+
this.toggle();
|
|
1890
1879
|
this.languageSelectorVisible = true;
|
|
1891
1880
|
}
|
|
1892
1881
|
clickedOutside(event) {
|
|
1893
1882
|
if (!this.eref.nativeElement.contains(event.target) && this.expand) {
|
|
1894
|
-
this.
|
|
1883
|
+
this.toggle();
|
|
1895
1884
|
}
|
|
1896
1885
|
}
|
|
1897
1886
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: AccountMenuComponent, deps: [{ token: i0.ElementRef }, { token: AccountService }, { token: AppSettings }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1898
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: AccountMenuComponent, selector: "account-menu", inputs: { user: "user", menuItems: "menuItems" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, viewQueries: [{ propertyName: "accountMenu", first: true, predicate: ["accountMenuElement"], descendants: true }], ngImport: i0, template: "<div class=\"profile-img left\" id=\"accountMenu\">\n <div #accountMenuElement title=\"User Account\" (click)=\"
|
|
1887
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: AccountMenuComponent, selector: "account-menu", inputs: { user: "user", menuItems: "menuItems" }, host: { listeners: { "document:click": "clickedOutside($event)" } }, viewQueries: [{ propertyName: "accountMenu", first: true, predicate: ["accountMenuElement"], descendants: true }], ngImport: i0, template: "<div class=\"profile-img left\" id=\"accountMenu\">\n <div #accountMenuElement title=\"User Account\" (click)=\"toggle()\">\n <div class=\"img-circle top-bar-profile left\"></div>\n </div>\n <kendo-popup *ngIf=\"expand\"\n [anchor]=\"accountMenu\"\n popupClass=\"k-widget dropdown open\">\n <ul class=\"dropdown-menu top-bar-dropdown animated fadeInLeft\">\n <li class=\"top-bar-header-row media\">\n <div class=\"media-left\">\n <div class=\"img-circle\"></div>\n </div>\n <div class=\"media-body\">\n <span class=\"left fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"left pad5left\">{{ fullName }}</span>\n </div>\n </li>\n <li class=\"pad5top\">\n <a data-icon=\"globe\" (click)=\"openLanguageSelector($event)\">\n {{ \"ChangeLanguage\" | translate }}</a>\n </li>\n <li>\n <a data-icon=\"desktop\" translate=\"Account\" [href]=\"accountUrl\"></a>\n </li>\n <li *ngFor=\"let menuItem of menuItems\">\n <a *ngIf=\"menuItem.useRouter; else hrefLink\"\n [routerLink]=\"menuItem.link\"\n [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n <ng-template #hrefLink>\n <a [href]=\"menuItem.link\" [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n </ng-template>\n </li>\n <li>\n <a translate=\"Logout\" data-icon=\"sign-out\" (click)=\"logout()\"></a>\n </li>\n </ul>\n </kendo-popup>\n\n <language-selector [(visible)]=\"languageSelectorVisible\"\n ></language-selector>\n</div>\n", styles: [".top-bar-dropdown{right:-24px;top:42px}.top-bar-profile{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$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$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: LanguageSelectorComponent, selector: "language-selector", inputs: ["visible"], outputs: ["visibleChange"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1899
1888
|
}
|
|
1900
1889
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: AccountMenuComponent, decorators: [{
|
|
1901
1890
|
type: Component,
|
|
1902
|
-
args: [{ selector: 'account-menu', template: "<div class=\"profile-img left\" id=\"accountMenu\">\n <div #accountMenuElement title=\"User Account\" (click)=\"
|
|
1891
|
+
args: [{ selector: 'account-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"profile-img left\" id=\"accountMenu\">\n <div #accountMenuElement title=\"User Account\" (click)=\"toggle()\">\n <div class=\"img-circle top-bar-profile left\"></div>\n </div>\n <kendo-popup *ngIf=\"expand\"\n [anchor]=\"accountMenu\"\n popupClass=\"k-widget dropdown open\">\n <ul class=\"dropdown-menu top-bar-dropdown animated fadeInLeft\">\n <li class=\"top-bar-header-row media\">\n <div class=\"media-left\">\n <div class=\"img-circle\"></div>\n </div>\n <div class=\"media-body\">\n <span class=\"left fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"left pad5left\">{{ fullName }}</span>\n </div>\n </li>\n <li class=\"pad5top\">\n <a data-icon=\"globe\" (click)=\"openLanguageSelector($event)\">\n {{ \"ChangeLanguage\" | translate }}</a>\n </li>\n <li>\n <a data-icon=\"desktop\" translate=\"Account\" [href]=\"accountUrl\"></a>\n </li>\n <li *ngFor=\"let menuItem of menuItems\">\n <a *ngIf=\"menuItem.useRouter; else hrefLink\"\n [routerLink]=\"menuItem.link\"\n [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n <ng-template #hrefLink>\n <a [href]=\"menuItem.link\" [attr.data-icon]=\"menuItem.iconClass\">\n {{ menuItem.text | translate }}\n </a>\n </ng-template>\n </li>\n <li>\n <a translate=\"Logout\" data-icon=\"sign-out\" (click)=\"logout()\"></a>\n </li>\n </ul>\n </kendo-popup>\n\n <language-selector [(visible)]=\"languageSelectorVisible\"\n ></language-selector>\n</div>\n", styles: [".top-bar-dropdown{right:-24px;top:42px}.top-bar-profile{cursor:pointer}\n"] }]
|
|
1903
1892
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: AccountService }, { type: AppSettings }], propDecorators: { accountMenu: [{
|
|
1904
1893
|
type: ViewChild,
|
|
1905
1894
|
args: ['accountMenuElement']
|
|
@@ -1912,6 +1901,64 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
1912
1901
|
args: ['document:click', ['$event']]
|
|
1913
1902
|
}] } });
|
|
1914
1903
|
|
|
1904
|
+
class LanguageSelectorModule {
|
|
1905
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: LanguageSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1906
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: LanguageSelectorModule, declarations: [LanguageSelectorComponent], imports: [CommonModule,
|
|
1907
|
+
WindowModule,
|
|
1908
|
+
TranslateModule], exports: [LanguageSelectorComponent] }); }
|
|
1909
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: LanguageSelectorModule, imports: [CommonModule,
|
|
1910
|
+
WindowModule,
|
|
1911
|
+
TranslateModule] }); }
|
|
1912
|
+
}
|
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: LanguageSelectorModule, decorators: [{
|
|
1914
|
+
type: NgModule,
|
|
1915
|
+
args: [{
|
|
1916
|
+
declarations: [
|
|
1917
|
+
LanguageSelectorComponent
|
|
1918
|
+
],
|
|
1919
|
+
imports: [
|
|
1920
|
+
CommonModule,
|
|
1921
|
+
WindowModule,
|
|
1922
|
+
TranslateModule,
|
|
1923
|
+
],
|
|
1924
|
+
exports: [
|
|
1925
|
+
LanguageSelectorComponent,
|
|
1926
|
+
]
|
|
1927
|
+
}]
|
|
1928
|
+
}] });
|
|
1929
|
+
|
|
1930
|
+
class AccountMenuModule {
|
|
1931
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: AccountMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1932
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: AccountMenuModule, declarations: [AccountMenuComponent], imports: [CommonModule,
|
|
1933
|
+
PopupModule,
|
|
1934
|
+
TranslateModule,
|
|
1935
|
+
RouterModule,
|
|
1936
|
+
LanguageSelectorModule], exports: [AccountMenuComponent] }); }
|
|
1937
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: AccountMenuModule, imports: [CommonModule,
|
|
1938
|
+
PopupModule,
|
|
1939
|
+
TranslateModule,
|
|
1940
|
+
RouterModule,
|
|
1941
|
+
LanguageSelectorModule] }); }
|
|
1942
|
+
}
|
|
1943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: AccountMenuModule, decorators: [{
|
|
1944
|
+
type: NgModule,
|
|
1945
|
+
args: [{
|
|
1946
|
+
declarations: [
|
|
1947
|
+
AccountMenuComponent,
|
|
1948
|
+
],
|
|
1949
|
+
imports: [
|
|
1950
|
+
CommonModule,
|
|
1951
|
+
PopupModule,
|
|
1952
|
+
TranslateModule,
|
|
1953
|
+
RouterModule,
|
|
1954
|
+
LanguageSelectorModule,
|
|
1955
|
+
],
|
|
1956
|
+
exports: [
|
|
1957
|
+
AccountMenuComponent,
|
|
1958
|
+
],
|
|
1959
|
+
}]
|
|
1960
|
+
}] });
|
|
1961
|
+
|
|
1915
1962
|
const resetPasswordCanceledErrorCode = 'AADB2C90091';
|
|
1916
1963
|
class AzureLoginCallbackComponent {
|
|
1917
1964
|
constructor(authService, settingsService, router) {
|
|
@@ -2418,7 +2465,7 @@ class EntityListComponent {
|
|
|
2418
2465
|
this.getData();
|
|
2419
2466
|
}
|
|
2420
2467
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: EntityListComponent, deps: [{ token: i2.TranslateService }, { token: i1$4.ActivatedRoute }, { token: i1$4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2421
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: EntityListComponent, selector: "entity-list", inputs: { service: "service", filters: "filters", fields: "fields", commands: "commands", rowClass: "rowClass", defaultSort: "defaultSort", mapItemFn: "mapItemFn", pageButtonsCount: "pageButtonsCount" }, outputs: { filterChange: "filterChange" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["confirmDialog"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: i1$4.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i6
|
|
2468
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: EntityListComponent, selector: "entity-list", inputs: { service: "service", filters: "filters", fields: "fields", commands: "commands", rowClass: "rowClass", defaultSort: "defaultSort", mapItemFn: "mapItemFn", pageButtonsCount: "pageButtonsCount" }, outputs: { filterChange: "filterChange" }, viewQueries: [{ propertyName: "dialog", first: true, predicate: ["confirmDialog"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: i1$4.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: i6.PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons" }, { kind: "component", type: i6.PagerNextButtonsComponent, selector: "kendo-pager-next-buttons" }, { kind: "component", type: i6.PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: ["buttonCount"] }, { kind: "component", type: i6.PagerInfoComponent, selector: "kendo-pager-info" }, { kind: "directive", type: i6.PagerTemplateDirective, selector: "[kendoPagerTemplate]" }, { kind: "component", type: i6.GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: i6.ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: i6.GridSpacerComponent, selector: "kendo-grid-spacer, kendo-pager-spacer", inputs: ["width"] }, { kind: "directive", type: i6.SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: i6.GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: i6.ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: i6.FocusableDirective, selector: "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: i6.CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: i6.CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: i6.NoRecordsTemplateDirective, selector: "[kendoGridNoRecordsTemplate]" }, { kind: "component", type: i6.RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }, { kind: "component", type: i6.ExcelComponent, selector: "kendo-grid-excel", inputs: ["fileName", "filterable", "creator", "date", "forceProxy", "proxyURL", "fetchData", "paddingCellOptions", "headerPaddingCellOptions", "collapsible"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "component", type: ExcelExportButtonComponent, selector: "excel-export-button" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2422
2469
|
}
|
|
2423
2470
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: EntityListComponent, decorators: [{
|
|
2424
2471
|
type: Component,
|
|
@@ -2462,7 +2509,7 @@ class UserListAdminComponent extends EntityListComponent {
|
|
|
2462
2509
|
}
|
|
2463
2510
|
}
|
|
2464
2511
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UserListAdminComponent, deps: [{ token: i2.TranslateService }, { token: i1$4.ActivatedRoute }, { token: i1$4.Router }, { token: PartnerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2465
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: UserListAdminComponent, selector: "lib-user-list-admin", providers: [PartnerService], usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n", dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i6
|
|
2512
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: UserListAdminComponent, selector: "lib-user-list-admin", providers: [PartnerService], usesInheritance: true, ngImport: i0, template: "<div class=\"row\">\n <div class=\"col-md-4\">\n <header class=\"header-page-bg\"></header>\n <div class=\"panel search-panel hero-unit\">\n <div class=\"header-selection-field\">\n <label for=\"searchinput\" class=\"title-field\" translate=\"Search\"></label>\n <input\n kendoTextBox\n class=\"quick-filter input input-field\"\n title=\"\"\n id=\"searchinput\"\n type=\"text\"\n appDebounce\n (debounceKeyup)=\"onSearch($event.target.value)\"\n [ngModel]=\"searchTerm\"\n [debounceTime]=\"600\"\n />\n </div>\n <ng-content></ng-content>\n <div class=\"divide-line\"></div>\n\n <kendo-grid\n [data]=\"page | async\"\n [pageSize]=\"gridState.take\"\n [skip]=\"gridState.skip\"\n [sort]=\"gridState.sort\"\n [pageable]=\"true\"\n [sortable]=\"true\"\n [style.maxHeight.px]=\"480\"\n (remove)=\"removeHandler($event)\"\n (dataStateChange)=\"dataStateChange($event)\"\n [loading]=\"loadings > 0\"\n (cellClick)=\"selectItem($event)\"\n culture\n class=\"rows-pointable\"\n kendoGridSelectBy=\"id\"\n [selectedKeys]=\"selected\"\n [rowClass]=\"getRowClass\"\n >\n <ng-template kendoGridToolbarTemplate>\n <excel-export-button></excel-export-button>\n </ng-template>\n <kendo-grid-excel [fetchData]=\"getAllData\"></kendo-grid-excel>\n <kendo-grid-command-column width=\"65\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngIf=\"!dataItem.suppressDeletion\"\n kendoGridRemoveCommand\n requirePermission\n permissionType=\"Delete\"\n >\n <em class=\"k-icon glyphicon glyphicon-trash\"></em>\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <kendo-grid-column\n *ngFor=\"let field of gridFields\"\n field=\"{{ field.name }}\"\n title=\"{{ field.label | translate }}\"\n [sortable]=\"field.sortable !== false\"\n >\n </kendo-grid-column>\n <kendo-grid-command-column width=\"65\" *ngIf=\"commands.length > 0\">\n <ng-template kendoGridCellTemplate let-dataItem>\n <button\n *ngFor=\"let command of commands\"\n (click)=\"command.handler(dataItem)\"\n title=\"{{ command.title | translate }}\"\n class=\"k-button\"\n >\n <em\n *ngIf=\"command.iconClass\"\n class=\"{{ command.iconClass }}\"\n ></em>\n {{ command.name | translate }}\n </button>\n </ng-template>\n </kendo-grid-command-column>\n <ng-template kendoGridNoRecordsTemplate>\n {{ \"Messages.NoRecords\" | translate }}\n </ng-template>\n <ng-template kendoPagerTemplate>\n <kendo-grid-spacer></kendo-grid-spacer>\n <kendo-pager-prev-buttons></kendo-pager-prev-buttons>\n <kendo-pager-numeric-buttons\n [buttonCount]=\"pageButtonsCount\"\n ></kendo-pager-numeric-buttons>\n <kendo-pager-next-buttons></kendo-pager-next-buttons>\n <kendo-pager-info></kendo-pager-info>\n </ng-template>\n </kendo-grid>\n </div>\n </div>\n <router-outlet\n (activate)=\"onActivate($event)\"\n (deactivate)=\"onDeactivate($event)\"\n ></router-outlet>\n</div>\n<confirm-dialog #confirmDialog></confirm-dialog>\n", dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: DebounceDirective, selector: "[appDebounce]", inputs: ["debounceTime"], outputs: ["debounceKeyup"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i6.GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: i6.ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: i6.GridSpacerComponent, selector: "kendo-grid-spacer, kendo-pager-spacer", inputs: ["width"] }, { kind: "directive", type: i6.SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: i6.GridToolbarFocusableDirective, selector: " [kendoGridToolbarFocusable], [kendoGridAddCommand], [kendoGridCancelCommand], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridExcelCommand], [kendoGridPDFCommand] " }, { kind: "component", type: i6.ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: i6.FocusableDirective, selector: "[kendoGridFocusable], [kendoGridEditCommand], [kendoGridRemoveCommand], [kendoGridSaveCommand], [kendoGridCancelCommand], [kendoGridSelectionCheckbox] ", inputs: ["kendoGridFocusable"] }, { kind: "component", type: i6.CommandColumnComponent, selector: "kendo-grid-command-column" }, { kind: "directive", type: i6.CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "directive", type: i6.NoRecordsTemplateDirective, selector: "[kendoGridNoRecordsTemplate]" }, { kind: "component", type: i6.RemoveCommandDirective, selector: "[kendoGridRemoveCommand]" }, { kind: "component", type: i6.PagerPrevButtonsComponent, selector: "kendo-pager-prev-buttons" }, { kind: "component", type: i6.PagerNextButtonsComponent, selector: "kendo-pager-next-buttons" }, { kind: "component", type: i6.PagerNumericButtonsComponent, selector: "kendo-pager-numeric-buttons", inputs: ["buttonCount"] }, { kind: "component", type: i6.PagerInfoComponent, selector: "kendo-pager-info" }, { kind: "directive", type: i6.PagerTemplateDirective, selector: "[kendoPagerTemplate]" }, { kind: "component", type: i6.ExcelComponent, selector: "kendo-grid-excel", inputs: ["fileName", "filterable", "creator", "date", "forceProxy", "proxyURL", "fetchData", "paddingCellOptions", "headerPaddingCellOptions", "collapsible"] }, { kind: "directive", type: i4$1.TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ConfirmDialogComponent, selector: "confirm-dialog" }, { kind: "directive", type: RequirePermissionDirective, selector: "[requirePermission]", inputs: ["permissionType", "permissionCategory"] }, { kind: "component", type: ExcelExportButtonComponent, selector: "excel-export-button" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2466
2513
|
}
|
|
2467
2514
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: UserListAdminComponent, decorators: [{
|
|
2468
2515
|
type: Component,
|
|
@@ -2619,7 +2666,7 @@ class ActivityFilterComponent {
|
|
|
2619
2666
|
});
|
|
2620
2667
|
}
|
|
2621
2668
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ActivityFilterComponent, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2622
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: ActivityFilterComponent, selector: "activity-filter", inputs: { showArchiveSwitcher: "showArchiveSwitcher", showSearhText: "showSearhText", customFilterElements: "customFilterElements", filterService: "filterService" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"header-selection-field activity-filter\">\n <div class=\"filter-row\">\n <div>\n <label for=\"datefrom\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateFrom' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateFrom\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label for=\"dateto\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateTo' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateTo\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label class=\"title-field\">\n <span class=\"link-button\" (click)=\"setTodayFilter()\">\n {{ 'ActivitiesFilter.FilterToday' | translate }}\n </span>\n </label>\n </div>\n <div class=\"filter-row\">\n <div class=\"flag\" *ngIf=\"showArchiveSwitcher\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"filter.switchToArchive\" type=\"checkbox\" />\n {{ 'ActivitiesFilter.SwitchToArchiveLabel' | translate }}\n </label>\n </div>\n </div>\n <div *ngIf=\"showSearhText\">\n <label class=\"title-field\">\n <span>{{ 'ActivitiesFilter.SearchLabel' | translate }}:</span>\n </label>\n <input\n type=\"text\"\n k-input\n class=\"input k-input searchtext-input\"\n [(ngModel)]=\"filter.searchText\"\n (keyup.enter)=\"applyFilter()\"\n [disabled]=\"filter.switchToArchive\"\n />\n </div>\n </div>\n </div>\n <div class=\"filter-row\">\n <ng-container *ngFor=\"let field of customFilterElements\">\n <ng-container [ngSwitch]=\"field.fieldType\">\n <ng-template [ngSwitchCase]=\"FieldTypes.Text\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <input\n type=\"text\"\n class=\"input k-input\"\n [(ngModel)]=\"field.filter.value\"\n [placeholder]=\"field.placeholder | translate\"\n />\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Dropdown\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-dropdownlist\n [data]=\"field.data\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [defaultItem]=\"defaultNamedModel\"\n [(ngModel)]=\"field.filter.value\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-dropdownlist>\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Checkbox\">\n <div class=\"flag\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"field.filter.value\" type=\"checkbox\" />\n {{ field.title | translate }}\n </label>\n </div>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Multiselect\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-multiselect\n kendoMultiSelectSummaryTag\n [autoClose]=\"false\"\n [data]=\"field.data\"\n [(ngModel)]=\"field.filter.values\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [valuePrimitive]=\"true\"\n [placeholder]=\"field.placeholder | translate\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-multiselect>\n </div>\n </label>\n </div>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div class=\"row\">\n <div class=\"col-md-12\">\n <button class=\"btn btn-inverse\" (click)=\"applyFilter()\">\n {{ 'Buttons.Apply' | translate }}\n </button>\n <button class=\"btn btn-inverse\" (click)=\"clearFilter()\">\n {{ 'Buttons.Clear' | translate }}\n </button>\n </div>\n </div>\n</div>\n<current-timezone></current-timezone>\n", styles: ["::ng-deep .filter-row{display:flex;flex-flow:row wrap;margin-bottom:20px}::ng-deep .filter-row>div{margin:0 10px 30px 5px;min-width:100px}::ng-deep .filter-row .title-field{margin:0;width:100%}::ng-deep .filter-row .flag{margin-top:10px!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$
|
|
2669
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: ActivityFilterComponent, selector: "activity-filter", inputs: { showArchiveSwitcher: "showArchiveSwitcher", showSearhText: "showSearhText", customFilterElements: "customFilterElements", filterService: "filterService" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"header-selection-field activity-filter\">\n <div class=\"filter-row\">\n <div>\n <label for=\"datefrom\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateFrom' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateFrom\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label for=\"dateto\" class=\"title-field\">\n <span>{{ 'ActivitiesFilter.DateTo' | translate }}:</span>\n <div>\n <kendo-datetimepicker\n format=\"dd/MM/yyyy HH:mm\"\n [(value)]=\"filter.dateTo\"\n ></kendo-datetimepicker>\n </div>\n </label>\n </div>\n <div>\n <label class=\"title-field\">\n <span class=\"link-button\" (click)=\"setTodayFilter()\">\n {{ 'ActivitiesFilter.FilterToday' | translate }}\n </span>\n </label>\n </div>\n <div class=\"filter-row\">\n <div class=\"flag\" *ngIf=\"showArchiveSwitcher\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"filter.switchToArchive\" type=\"checkbox\" />\n {{ 'ActivitiesFilter.SwitchToArchiveLabel' | translate }}\n </label>\n </div>\n </div>\n <div *ngIf=\"showSearhText\">\n <label class=\"title-field\">\n <span>{{ 'ActivitiesFilter.SearchLabel' | translate }}:</span>\n </label>\n <input\n type=\"text\"\n k-input\n class=\"input k-input searchtext-input\"\n [(ngModel)]=\"filter.searchText\"\n (keyup.enter)=\"applyFilter()\"\n [disabled]=\"filter.switchToArchive\"\n />\n </div>\n </div>\n </div>\n <div class=\"filter-row\">\n <ng-container *ngFor=\"let field of customFilterElements\">\n <ng-container [ngSwitch]=\"field.fieldType\">\n <ng-template [ngSwitchCase]=\"FieldTypes.Text\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <input\n type=\"text\"\n class=\"input k-input\"\n [(ngModel)]=\"field.filter.value\"\n [placeholder]=\"field.placeholder | translate\"\n />\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Dropdown\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-dropdownlist\n [data]=\"field.data\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [defaultItem]=\"defaultNamedModel\"\n [(ngModel)]=\"field.filter.value\"\n [valuePrimitive]=\"true\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-dropdownlist>\n </div>\n </label>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Checkbox\">\n <div class=\"flag\">\n <div class=\"checkbox\">\n <label>\n <input [(ngModel)]=\"field.filter.value\" type=\"checkbox\" />\n {{ field.title | translate }}\n </label>\n </div>\n </div>\n </ng-template>\n <ng-template [ngSwitchCase]=\"FieldTypes.Multiselect\">\n <div>\n <label class=\"title-field\">\n <span>{{ field.title | translate }}:</span>\n <div>\n <kendo-multiselect\n kendoMultiSelectSummaryTag\n [autoClose]=\"false\"\n [data]=\"field.data\"\n [(ngModel)]=\"field.filter.values\"\n textField=\"name\"\n [valueField]=\"field.valueField\"\n [valuePrimitive]=\"true\"\n [placeholder]=\"field.placeholder | translate\"\n (valueChange)=\"fieldChange($event, field)\"\n ></kendo-multiselect>\n </div>\n </label>\n </div>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div class=\"row\">\n <div class=\"col-md-12\">\n <button class=\"btn btn-inverse\" (click)=\"applyFilter()\">\n {{ 'Buttons.Apply' | translate }}\n </button>\n <button class=\"btn btn-inverse\" (click)=\"clearFilter()\">\n {{ 'Buttons.Clear' | translate }}\n </button>\n </div>\n </div>\n</div>\n<current-timezone></current-timezone>\n", styles: ["::ng-deep .filter-row{display:flex;flex-flow:row wrap;margin-bottom:20px}::ng-deep .filter-row>div{margin:0 10px 30px 5px;min-width:100px}::ng-deep .filter-row .title-field{margin:0;width:100%}::ng-deep .filter-row .flag{margin-top:10px!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1$3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$3.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "component", type: i4$3.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "title", "subtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "directive", type: i4$3.SummaryTagDirective, selector: "[kendoMultiSelectSummaryTag]", inputs: ["kendoMultiSelectSummaryTag"] }, { kind: "component", type: i5.DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "autoFill", "adaptiveMode", "defaultTab", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: CurrentTimezoneComponent, selector: "current-timezone" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
2623
2670
|
}
|
|
2624
2671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ActivityFilterComponent, decorators: [{
|
|
2625
2672
|
type: Component,
|
|
@@ -2793,70 +2840,6 @@ class EntityEditComponent {
|
|
|
2793
2840
|
}
|
|
2794
2841
|
}
|
|
2795
2842
|
|
|
2796
|
-
class FieldMultiSelectComponent extends FieldComponent {
|
|
2797
|
-
get control() {
|
|
2798
|
-
return this.parent.form.get(this.fieldName);
|
|
2799
|
-
}
|
|
2800
|
-
constructor(parent, eref) {
|
|
2801
|
-
super(parent, eref, []);
|
|
2802
|
-
this.parent = parent;
|
|
2803
|
-
this.eref = eref;
|
|
2804
|
-
this.singleMode = false;
|
|
2805
|
-
this.autoClose = false;
|
|
2806
|
-
this.changed = new EventEmitter();
|
|
2807
|
-
this.data = [];
|
|
2808
|
-
this.textField = this.textField ?? 'name';
|
|
2809
|
-
this.valueField = this.valueField ?? 'id';
|
|
2810
|
-
}
|
|
2811
|
-
ngOnChanges() {
|
|
2812
|
-
this.getData().subscribe((data) => {
|
|
2813
|
-
this.data = data.data;
|
|
2814
|
-
this.control.setValue(this.control.value.filter((x) => this.data.filter((d) => d.id === x).length));
|
|
2815
|
-
});
|
|
2816
|
-
}
|
|
2817
|
-
onPopupOpen(event) {
|
|
2818
|
-
if (!this.singleMode) {
|
|
2819
|
-
return;
|
|
2820
|
-
}
|
|
2821
|
-
this.control.value.length > 0 && event.preventDefault();
|
|
2822
|
-
}
|
|
2823
|
-
getData() {
|
|
2824
|
-
return this.service.getPage(this.filter ? { filter: this.filter } : {});
|
|
2825
|
-
}
|
|
2826
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiSelectComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2827
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FieldMultiSelectComponent, selector: "field-multiselect", inputs: { service: "service", rebind: "rebind", filter: "filter", textField: "textField", valueField: "valueField", singleMode: "singleMode", autoClose: "autoClose" }, outputs: { changed: "changed" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div *ngIf=\"control\" class=\"col-md-9\">\n <kendo-multiselect\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n >\n </kendo-multiselect>\n\n <div *ngIf=\"control.invalid && control.touched\" class=\"bg-danger\">\n <span *ngIf=\"control.errors['required']\">{{\n 'Required' | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors['serverErrorMsg']\n }}</span>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$2.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "title", "subtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
2828
|
-
{
|
|
2829
|
-
provide: ControlContainer,
|
|
2830
|
-
useExisting: FormGroupDirective,
|
|
2831
|
-
},
|
|
2832
|
-
] }); }
|
|
2833
|
-
}
|
|
2834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiSelectComponent, decorators: [{
|
|
2835
|
-
type: Component,
|
|
2836
|
-
args: [{ selector: 'field-multiselect', viewProviders: [
|
|
2837
|
-
{
|
|
2838
|
-
provide: ControlContainer,
|
|
2839
|
-
useExisting: FormGroupDirective,
|
|
2840
|
-
},
|
|
2841
|
-
], template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div *ngIf=\"control\" class=\"col-md-9\">\n <kendo-multiselect\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n >\n </kendo-multiselect>\n\n <div *ngIf=\"control.invalid && control.touched\" class=\"bg-danger\">\n <span *ngIf=\"control.errors['required']\">{{\n 'Required' | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors['serverErrorMsg']\n }}</span>\n </div>\n </div>\n</div>\n" }]
|
|
2842
|
-
}], ctorParameters: () => [{ type: i1$3.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { service: [{
|
|
2843
|
-
type: Input
|
|
2844
|
-
}], rebind: [{
|
|
2845
|
-
type: Input
|
|
2846
|
-
}], filter: [{
|
|
2847
|
-
type: Input
|
|
2848
|
-
}], textField: [{
|
|
2849
|
-
type: Input
|
|
2850
|
-
}], valueField: [{
|
|
2851
|
-
type: Input
|
|
2852
|
-
}], singleMode: [{
|
|
2853
|
-
type: Input
|
|
2854
|
-
}], autoClose: [{
|
|
2855
|
-
type: Input
|
|
2856
|
-
}], changed: [{
|
|
2857
|
-
type: Output
|
|
2858
|
-
}] } });
|
|
2859
|
-
|
|
2860
2843
|
class ConfirmDialogModule {
|
|
2861
2844
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ConfirmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2862
2845
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: ConfirmDialogModule, declarations: [ConfirmDialogComponent], imports: [TranslateModule, DialogModule], exports: [ConfirmDialogComponent] }); }
|
|
@@ -2965,7 +2948,7 @@ class FieldDropdownlistComponent {
|
|
|
2965
2948
|
this.initialSelectedId = id;
|
|
2966
2949
|
}
|
|
2967
2950
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldDropdownlistComponent, deps: [{ token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2968
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FieldDropdownlistComponent, selector: "field-dropdownlist", inputs: { service: "service", label: "label", sort: "sort" }, 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$
|
|
2951
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FieldDropdownlistComponent, selector: "field-dropdownlist", inputs: { service: "service", label: "label", sort: "sort" }, 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$3.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }] }); }
|
|
2969
2952
|
}
|
|
2970
2953
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldDropdownlistComponent, decorators: [{
|
|
2971
2954
|
type: Component,
|
|
@@ -2997,15 +2980,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
2997
2980
|
}]
|
|
2998
2981
|
}] });
|
|
2999
2982
|
|
|
3000
|
-
class FooterBarComponent {
|
|
3001
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3002
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FooterBarComponent, selector: "footer-bar", ngImport: i0, template: "<nav class=\"footer navbar navbar-default navbar-fixed-bottom\">\n <div class=\"container\">\n <a class=\"navbar-brand pull-right\" href=\"http://www.indigina.com/\">\n <ng-content></ng-content>\n </a>\n </div>\n</nav>\n", styles: [""] }); }
|
|
3003
|
-
}
|
|
3004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarComponent, decorators: [{
|
|
3005
|
-
type: Component,
|
|
3006
|
-
args: [{ selector: 'footer-bar', 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" }]
|
|
3007
|
-
}] });
|
|
3008
|
-
|
|
3009
2983
|
class ModalWindowComponent {
|
|
3010
2984
|
constructor(route, router) {
|
|
3011
2985
|
this.route = route;
|
|
@@ -3112,22 +3086,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3112
3086
|
type: Output
|
|
3113
3087
|
}] } });
|
|
3114
3088
|
|
|
3115
|
-
class TopMenuComponent {
|
|
3116
|
-
toggleButtonClick() {
|
|
3117
|
-
document.body.classList.toggle('mini-navbar');
|
|
3118
|
-
}
|
|
3119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: TopMenuComponent, selector: "top-bar", inputs: { currentUser: "currentUser", menuItems: "menuItems" }, ngImport: i0, template: "<div id=\"supply-top-navbar\" class=\"top-bar supply-nav-margin\">\n <nav class=\"navbar navbar-static-top white-bg\">\n <div class=\"navbar-header\" [style.display]=\"currentUser != null\">\n <button\n type=\"button\"\n class=\"navbar-minimalize minimalize-style-2 btn btn-primary\"\n (click)=\"toggleButtonClick()\"\n >\n <i class=\"fa fa-bars\"></i>\n </button>\n </div>\n <ng-content></ng-content>\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\" *ngIf=\"currentUser != null\">\n <a\n [routerLink]=\"['/security/admins', currentUser.id]\"\n class=\"message-icons left container-login\"\n >\n <span class=\"fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"pad5left\">{{ currentUser.userName }}</span>\n <ng-content select=\".pad5left\"></ng-content>\n </a>\n <account-menu [user]=\"currentUser\" [menuItems]=\"menuItems\"></account-menu>\n </div>\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AccountMenuComponent, selector: "account-menu", inputs: ["user", "menuItems"] }] }); }
|
|
3121
|
-
}
|
|
3122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopMenuComponent, decorators: [{
|
|
3123
|
-
type: Component,
|
|
3124
|
-
args: [{ selector: 'top-bar', 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 >\n <i class=\"fa fa-bars\"></i>\n </button>\n </div>\n <ng-content></ng-content>\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\" *ngIf=\"currentUser != null\">\n <a\n [routerLink]=\"['/security/admins', currentUser.id]\"\n class=\"message-icons left container-login\"\n >\n <span class=\"fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"pad5left\">{{ currentUser.userName }}</span>\n <ng-content select=\".pad5left\"></ng-content>\n </a>\n <account-menu [user]=\"currentUser\" [menuItems]=\"menuItems\"></account-menu>\n </div>\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"] }]
|
|
3125
|
-
}], propDecorators: { currentUser: [{
|
|
3126
|
-
type: Input
|
|
3127
|
-
}], menuItems: [{
|
|
3128
|
-
type: Input
|
|
3129
|
-
}] } });
|
|
3130
|
-
|
|
3131
3089
|
const SelectValue$1 = 'Select value';
|
|
3132
3090
|
const defaultFieldName = 'name';
|
|
3133
3091
|
class FieldDropdownComponent extends FieldComponent {
|
|
@@ -3233,7 +3191,7 @@ class FieldDropdownComponent extends FieldComponent {
|
|
|
3233
3191
|
this.kendoDropDown.writeValue(selectedEntityId);
|
|
3234
3192
|
}
|
|
3235
3193
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldDropdownComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3236
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FieldDropdownComponent, selector: "field-dropdown", inputs: { service: "service", rebind: "rebind", filter: "filter", defaultName: "defaultName", selectedItem: "selectedItem", data: "data", textField: "textField" }, outputs: { selectedChange: "selectedChange" }, viewQueries: [{ propertyName: "kendoDropDown", first: true, predicate: ["inputElement"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\" *ngIf=\"control\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"textField\"\n valueField=\"id\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n #inputElement\n >\n </kendo-dropdownlist>\n\n <div class=\"bg-danger\" *ngIf=\"control.invalid && control.touched\">\n <span *ngIf=\"control.errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i4$
|
|
3194
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FieldDropdownComponent, selector: "field-dropdown", inputs: { service: "service", rebind: "rebind", filter: "filter", defaultName: "defaultName", selectedItem: "selectedItem", data: "data", textField: "textField" }, outputs: { selectedChange: "selectedChange" }, viewQueries: [{ propertyName: "kendoDropDown", first: true, predicate: ["inputElement"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\" *ngIf=\"control\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"textField\"\n valueField=\"id\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n #inputElement\n >\n </kendo-dropdownlist>\n\n <div class=\"bg-danger\" *ngIf=\"control.invalid && control.touched\">\n <span *ngIf=\"control.errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i4$3.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }], viewProviders: [
|
|
3237
3195
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
3238
3196
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3239
3197
|
}
|
|
@@ -3322,6 +3280,167 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3322
3280
|
}]
|
|
3323
3281
|
}] });
|
|
3324
3282
|
|
|
3283
|
+
class FieldMultiSelectComponent extends FieldComponent {
|
|
3284
|
+
get control() {
|
|
3285
|
+
return this.parent.form.get(this.fieldName);
|
|
3286
|
+
}
|
|
3287
|
+
constructor(parent, eref) {
|
|
3288
|
+
super(parent, eref, []);
|
|
3289
|
+
this.parent = parent;
|
|
3290
|
+
this.eref = eref;
|
|
3291
|
+
this.singleMode = false;
|
|
3292
|
+
this.autoClose = false;
|
|
3293
|
+
this.changed = new EventEmitter();
|
|
3294
|
+
this.data = [];
|
|
3295
|
+
this.textField = this.textField ?? 'name';
|
|
3296
|
+
this.valueField = this.valueField ?? 'id';
|
|
3297
|
+
}
|
|
3298
|
+
ngOnChanges() {
|
|
3299
|
+
this.getData().subscribe((data) => {
|
|
3300
|
+
this.data = data.data;
|
|
3301
|
+
this.control.setValue(this.control.value.filter((x) => this.data.filter((d) => d.id === x).length));
|
|
3302
|
+
});
|
|
3303
|
+
}
|
|
3304
|
+
onPopupOpen(event) {
|
|
3305
|
+
if (!this.singleMode) {
|
|
3306
|
+
return;
|
|
3307
|
+
}
|
|
3308
|
+
this.control.value.length > 0 && event.preventDefault();
|
|
3309
|
+
}
|
|
3310
|
+
getData() {
|
|
3311
|
+
return this.service.getPage(this.filter ? { filter: this.filter } : {});
|
|
3312
|
+
}
|
|
3313
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiSelectComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3314
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FieldMultiSelectComponent, selector: "field-multiselect", inputs: { service: "service", rebind: "rebind", filter: "filter", textField: "textField", valueField: "valueField", singleMode: "singleMode", autoClose: "autoClose" }, outputs: { changed: "changed" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label class=\"col-md-3 control-label\"\n [translate]=\"labelKey\"\n [for]=\"'_' + fieldName\"\n ></label>\n <div *ngIf=\"control\" class=\"col-md-9\">\n <kendo-multiselect\n [id]=\"'_' + fieldName\"\n [formControl]=\"control\"\n [data]=\"data\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n ></kendo-multiselect>\n\n <div *ngIf=\"control.invalid && control.touched\" class=\"bg-danger\">\n <span *ngIf=\"control.errors['required']\">\n {{ \"Required\" | translate : { param0: labelKey | translate } }}\n </span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">\n {{ control.errors['serverErrorMsg'] }}\n </span>\n </div>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4$3.MultiSelectComponent, selector: "kendo-multiselect", inputs: ["showStickyHeader", "focusableId", "autoClose", "loading", "data", "value", "valueField", "textField", "tabindex", "tabIndex", "size", "rounded", "fillMode", "placeholder", "adaptiveMode", "title", "subtitle", "disabled", "itemDisabled", "checkboxes", "readonly", "filterable", "virtual", "popupSettings", "listHeight", "valuePrimitive", "clearButton", "tagMapper", "allowCustom", "valueNormalizer"], outputs: ["filterChange", "valueChange", "open", "opened", "close", "closed", "focus", "blur", "removeTag"], exportAs: ["kendoMultiSelect"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
3315
|
+
{
|
|
3316
|
+
provide: ControlContainer,
|
|
3317
|
+
useExisting: FormGroupDirective,
|
|
3318
|
+
},
|
|
3319
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3320
|
+
}
|
|
3321
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiSelectComponent, decorators: [{
|
|
3322
|
+
type: Component,
|
|
3323
|
+
args: [{ selector: 'field-multiselect', changeDetection: ChangeDetectionStrategy.OnPush, viewProviders: [
|
|
3324
|
+
{
|
|
3325
|
+
provide: ControlContainer,
|
|
3326
|
+
useExisting: FormGroupDirective,
|
|
3327
|
+
},
|
|
3328
|
+
], template: "<div class=\"form-group\">\n <label class=\"col-md-3 control-label\"\n [translate]=\"labelKey\"\n [for]=\"'_' + fieldName\"\n ></label>\n <div *ngIf=\"control\" class=\"col-md-9\">\n <kendo-multiselect\n [id]=\"'_' + fieldName\"\n [formControl]=\"control\"\n [data]=\"data\"\n [autoClose]=\"autoClose\"\n [textField]=\"textField\"\n [valueField]=\"valueField\"\n [valuePrimitive]=\"true\"\n (open)=\"onPopupOpen($event)\"\n ></kendo-multiselect>\n\n <div *ngIf=\"control.invalid && control.touched\" class=\"bg-danger\">\n <span *ngIf=\"control.errors['required']\">\n {{ \"Required\" | translate : { param0: labelKey | translate } }}\n </span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">\n {{ control.errors['serverErrorMsg'] }}\n </span>\n </div>\n </div>\n</div>\n" }]
|
|
3329
|
+
}], ctorParameters: () => [{ type: i1$3.FormGroupDirective }, { type: i0.ElementRef }], propDecorators: { service: [{
|
|
3330
|
+
type: Input
|
|
3331
|
+
}], rebind: [{
|
|
3332
|
+
type: Input
|
|
3333
|
+
}], filter: [{
|
|
3334
|
+
type: Input
|
|
3335
|
+
}], textField: [{
|
|
3336
|
+
type: Input
|
|
3337
|
+
}], valueField: [{
|
|
3338
|
+
type: Input
|
|
3339
|
+
}], singleMode: [{
|
|
3340
|
+
type: Input
|
|
3341
|
+
}], autoClose: [{
|
|
3342
|
+
type: Input
|
|
3343
|
+
}], changed: [{
|
|
3344
|
+
type: Output
|
|
3345
|
+
}] } });
|
|
3346
|
+
|
|
3347
|
+
class FieldMultiselectModule {
|
|
3348
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiselectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3349
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiselectModule, declarations: [FieldMultiSelectComponent], imports: [ReactiveFormsModule,
|
|
3350
|
+
MultiSelectModule,
|
|
3351
|
+
TranslateModule,
|
|
3352
|
+
CommonModule], exports: [FieldMultiSelectComponent] }); }
|
|
3353
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiselectModule, imports: [ReactiveFormsModule,
|
|
3354
|
+
MultiSelectModule,
|
|
3355
|
+
TranslateModule,
|
|
3356
|
+
CommonModule] }); }
|
|
3357
|
+
}
|
|
3358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FieldMultiselectModule, decorators: [{
|
|
3359
|
+
type: NgModule,
|
|
3360
|
+
args: [{
|
|
3361
|
+
declarations: [
|
|
3362
|
+
FieldMultiSelectComponent,
|
|
3363
|
+
],
|
|
3364
|
+
imports: [
|
|
3365
|
+
ReactiveFormsModule,
|
|
3366
|
+
MultiSelectModule,
|
|
3367
|
+
TranslateModule,
|
|
3368
|
+
CommonModule,
|
|
3369
|
+
],
|
|
3370
|
+
exports: [
|
|
3371
|
+
FieldMultiSelectComponent,
|
|
3372
|
+
],
|
|
3373
|
+
}]
|
|
3374
|
+
}] });
|
|
3375
|
+
|
|
3376
|
+
class FooterBarComponent {
|
|
3377
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3378
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: FooterBarComponent, selector: "footer-bar", ngImport: i0, template: "<nav class=\"footer navbar navbar-default navbar-fixed-bottom\">\n <div class=\"container\">\n <a class=\"navbar-brand pull-right\" href=\"http://www.indigina.com/\">\n <ng-content></ng-content>\n </a>\n </div>\n</nav>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3379
|
+
}
|
|
3380
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarComponent, decorators: [{
|
|
3381
|
+
type: Component,
|
|
3382
|
+
args: [{ selector: 'footer-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav class=\"footer navbar navbar-default navbar-fixed-bottom\">\n <div class=\"container\">\n <a class=\"navbar-brand pull-right\" href=\"http://www.indigina.com/\">\n <ng-content></ng-content>\n </a>\n </div>\n</nav>\n" }]
|
|
3383
|
+
}] });
|
|
3384
|
+
|
|
3385
|
+
class FooterBarModule {
|
|
3386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3387
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: FooterBarModule, declarations: [FooterBarComponent], exports: [FooterBarComponent] }); }
|
|
3388
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarModule }); }
|
|
3389
|
+
}
|
|
3390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: FooterBarModule, decorators: [{
|
|
3391
|
+
type: NgModule,
|
|
3392
|
+
args: [{
|
|
3393
|
+
declarations: [
|
|
3394
|
+
FooterBarComponent,
|
|
3395
|
+
],
|
|
3396
|
+
exports: [
|
|
3397
|
+
FooterBarComponent,
|
|
3398
|
+
],
|
|
3399
|
+
}]
|
|
3400
|
+
}] });
|
|
3401
|
+
|
|
3402
|
+
class TopMenuComponent {
|
|
3403
|
+
toggleButtonClick() {
|
|
3404
|
+
document.body.classList.toggle('mini-navbar');
|
|
3405
|
+
}
|
|
3406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3407
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: TopMenuComponent, selector: "top-bar", inputs: { currentUser: "currentUser", menuItems: "menuItems" }, ngImport: i0, template: "<div id=\"supply-top-navbar\" class=\"top-bar supply-nav-margin\">\n <nav class=\"navbar navbar-static-top white-bg\">\n <div class=\"navbar-header\" [style.display]=\"currentUser != null\">\n <button type=\"button\"\n class=\"navbar-minimalize minimalize-style-2 btn btn-primary\"\n (click)=\"toggleButtonClick()\">\n <i class=\"fa fa-bars\"></i>\n </button>\n </div>\n <ng-content></ng-content>\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\" *ngIf=\"currentUser != null\">\n <a class=\"message-icons left container-login\"\n [routerLink]=\"['/security/admins', currentUser.id]\">\n <span class=\"fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"pad5left\">\n {{ currentUser.userName }}\n </span>\n <ng-content select=\".pad5left\"></ng-content>\n </a>\n <account-menu [user]=\"currentUser\"\n [menuItems]=\"menuItems\"\n ></account-menu>\n </div>\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AccountMenuComponent, selector: "account-menu", inputs: ["user", "menuItems"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3408
|
+
}
|
|
3409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopMenuComponent, decorators: [{
|
|
3410
|
+
type: Component,
|
|
3411
|
+
args: [{ selector: 'top-bar', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div id=\"supply-top-navbar\" class=\"top-bar supply-nav-margin\">\n <nav class=\"navbar navbar-static-top white-bg\">\n <div class=\"navbar-header\" [style.display]=\"currentUser != null\">\n <button type=\"button\"\n class=\"navbar-minimalize minimalize-style-2 btn btn-primary\"\n (click)=\"toggleButtonClick()\">\n <i class=\"fa fa-bars\"></i>\n </button>\n </div>\n <ng-content></ng-content>\n <div id=\"topBarIcons\" class=\"clearfix top-bar-user\" *ngIf=\"currentUser != null\">\n <a class=\"message-icons left container-login\"\n [routerLink]=\"['/security/admins', currentUser.id]\">\n <span class=\"fa fa-user\" aria-hidden=\"true\"></span>\n <span class=\"pad5left\">\n {{ currentUser.userName }}\n </span>\n <ng-content select=\".pad5left\"></ng-content>\n </a>\n <account-menu [user]=\"currentUser\"\n [menuItems]=\"menuItems\"\n ></account-menu>\n </div>\n </nav>\n</div>\n", styles: [".top-bar-user{display:flex;align-items:center}.top-bar .container-login{padding-top:0}\n"] }]
|
|
3412
|
+
}], propDecorators: { currentUser: [{
|
|
3413
|
+
type: Input
|
|
3414
|
+
}], menuItems: [{
|
|
3415
|
+
type: Input
|
|
3416
|
+
}] } });
|
|
3417
|
+
|
|
3418
|
+
class TopBarModule {
|
|
3419
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3420
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: TopBarModule, declarations: [TopMenuComponent], imports: [CommonModule,
|
|
3421
|
+
RouterModule,
|
|
3422
|
+
AccountMenuModule], exports: [TopMenuComponent] }); }
|
|
3423
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopBarModule, imports: [CommonModule,
|
|
3424
|
+
RouterModule,
|
|
3425
|
+
AccountMenuModule] }); }
|
|
3426
|
+
}
|
|
3427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: TopBarModule, decorators: [{
|
|
3428
|
+
type: NgModule,
|
|
3429
|
+
args: [{
|
|
3430
|
+
declarations: [
|
|
3431
|
+
TopMenuComponent,
|
|
3432
|
+
],
|
|
3433
|
+
imports: [
|
|
3434
|
+
CommonModule,
|
|
3435
|
+
RouterModule,
|
|
3436
|
+
AccountMenuModule,
|
|
3437
|
+
],
|
|
3438
|
+
exports: [
|
|
3439
|
+
TopMenuComponent,
|
|
3440
|
+
],
|
|
3441
|
+
}]
|
|
3442
|
+
}] });
|
|
3443
|
+
|
|
3325
3444
|
class KendoModule {
|
|
3326
3445
|
static forRoot(config, servicesConfig) {
|
|
3327
3446
|
let module = {
|
|
@@ -3348,12 +3467,7 @@ class KendoModule {
|
|
|
3348
3467
|
return module;
|
|
3349
3468
|
}
|
|
3350
3469
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: KendoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3351
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: KendoModule, declarations: [
|
|
3352
|
-
FooterBarComponent,
|
|
3353
|
-
AccountMenuComponent,
|
|
3354
|
-
LanguageSelectorComponent,
|
|
3355
|
-
FieldMultiSelectComponent,
|
|
3356
|
-
MulticheckFilterComponent,
|
|
3470
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0", ngImport: i0, type: KendoModule, declarations: [MulticheckFilterComponent,
|
|
3357
3471
|
ActivityFilterComponent,
|
|
3358
3472
|
ModalWindowComponent,
|
|
3359
3473
|
LiveUpdatesControlComponent,
|
|
@@ -3385,11 +3499,12 @@ class KendoModule {
|
|
|
3385
3499
|
ExcelExportButtonModule,
|
|
3386
3500
|
EntityEditFormModule,
|
|
3387
3501
|
EntityEditButtonsBarModule,
|
|
3388
|
-
FieldDropdownlistModule
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3502
|
+
FieldDropdownlistModule,
|
|
3503
|
+
FieldMultiselectModule,
|
|
3504
|
+
FooterBarModule,
|
|
3505
|
+
TopBarModule,
|
|
3506
|
+
AccountMenuModule,
|
|
3507
|
+
LanguageSelectorModule], exports: [IndiginaModule,
|
|
3393
3508
|
PopupModule,
|
|
3394
3509
|
DropDownsModule,
|
|
3395
3510
|
TooltipModule,
|
|
@@ -3403,7 +3518,6 @@ class KendoModule {
|
|
|
3403
3518
|
EntityEditButtonsBarModule,
|
|
3404
3519
|
EntityEditFormModule,
|
|
3405
3520
|
EntityListModule,
|
|
3406
|
-
FieldMultiSelectComponent,
|
|
3407
3521
|
FieldDropdownlistModule,
|
|
3408
3522
|
ConfirmDialogModule,
|
|
3409
3523
|
ExcelExportButtonModule,
|
|
@@ -3417,7 +3531,10 @@ class KendoModule {
|
|
|
3417
3531
|
AzureLoginCallbackComponent,
|
|
3418
3532
|
UserListAdminComponent,
|
|
3419
3533
|
FieldDropdownModule,
|
|
3420
|
-
ForbiddenComponent
|
|
3534
|
+
ForbiddenComponent,
|
|
3535
|
+
FieldMultiselectModule,
|
|
3536
|
+
AccountMenuModule,
|
|
3537
|
+
LanguageSelectorModule] }); }
|
|
3421
3538
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: KendoModule, providers: [
|
|
3422
3539
|
{
|
|
3423
3540
|
provide: HTTP_INTERCEPTORS,
|
|
@@ -3454,7 +3571,12 @@ class KendoModule {
|
|
|
3454
3571
|
ExcelExportButtonModule,
|
|
3455
3572
|
EntityEditFormModule,
|
|
3456
3573
|
EntityEditButtonsBarModule,
|
|
3457
|
-
FieldDropdownlistModule,
|
|
3574
|
+
FieldDropdownlistModule,
|
|
3575
|
+
FieldMultiselectModule,
|
|
3576
|
+
FooterBarModule,
|
|
3577
|
+
TopBarModule,
|
|
3578
|
+
AccountMenuModule,
|
|
3579
|
+
LanguageSelectorModule, IndiginaModule,
|
|
3458
3580
|
PopupModule,
|
|
3459
3581
|
DropDownsModule,
|
|
3460
3582
|
TooltipModule,
|
|
@@ -3474,17 +3596,15 @@ class KendoModule {
|
|
|
3474
3596
|
RequirePermissionModule,
|
|
3475
3597
|
CurrentTimeZoneModule,
|
|
3476
3598
|
MsalModule,
|
|
3477
|
-
FieldDropdownModule
|
|
3599
|
+
FieldDropdownModule,
|
|
3600
|
+
FieldMultiselectModule,
|
|
3601
|
+
AccountMenuModule,
|
|
3602
|
+
LanguageSelectorModule] }); }
|
|
3478
3603
|
}
|
|
3479
3604
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: KendoModule, decorators: [{
|
|
3480
3605
|
type: NgModule,
|
|
3481
3606
|
args: [{
|
|
3482
3607
|
declarations: [
|
|
3483
|
-
TopMenuComponent,
|
|
3484
|
-
FooterBarComponent,
|
|
3485
|
-
AccountMenuComponent,
|
|
3486
|
-
LanguageSelectorComponent,
|
|
3487
|
-
FieldMultiSelectComponent,
|
|
3488
3608
|
MulticheckFilterComponent,
|
|
3489
3609
|
ActivityFilterComponent,
|
|
3490
3610
|
ModalWindowComponent,
|
|
@@ -3521,6 +3641,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3521
3641
|
EntityEditFormModule,
|
|
3522
3642
|
EntityEditButtonsBarModule,
|
|
3523
3643
|
FieldDropdownlistModule,
|
|
3644
|
+
FieldMultiselectModule,
|
|
3645
|
+
FooterBarModule,
|
|
3646
|
+
TopBarModule,
|
|
3647
|
+
AccountMenuModule,
|
|
3648
|
+
LanguageSelectorModule,
|
|
3524
3649
|
],
|
|
3525
3650
|
providers: [
|
|
3526
3651
|
{
|
|
@@ -3534,10 +3659,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3534
3659
|
MsalService,
|
|
3535
3660
|
],
|
|
3536
3661
|
exports: [
|
|
3537
|
-
TopMenuComponent,
|
|
3538
|
-
FooterBarComponent,
|
|
3539
|
-
AccountMenuComponent,
|
|
3540
|
-
LanguageSelectorComponent,
|
|
3541
3662
|
IndiginaModule,
|
|
3542
3663
|
PopupModule,
|
|
3543
3664
|
DropDownsModule,
|
|
@@ -3552,7 +3673,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3552
3673
|
EntityEditButtonsBarModule,
|
|
3553
3674
|
EntityEditFormModule,
|
|
3554
3675
|
EntityListModule,
|
|
3555
|
-
FieldMultiSelectComponent,
|
|
3556
3676
|
FieldDropdownlistModule,
|
|
3557
3677
|
ConfirmDialogModule,
|
|
3558
3678
|
ExcelExportButtonModule,
|
|
@@ -3567,6 +3687,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImpor
|
|
|
3567
3687
|
UserListAdminComponent,
|
|
3568
3688
|
FieldDropdownModule,
|
|
3569
3689
|
ForbiddenComponent,
|
|
3690
|
+
FieldMultiselectModule,
|
|
3691
|
+
AccountMenuModule,
|
|
3692
|
+
LanguageSelectorModule,
|
|
3570
3693
|
],
|
|
3571
3694
|
}]
|
|
3572
3695
|
}] });
|
|
@@ -3940,7 +4063,7 @@ class ObjectDropdownComponent extends FieldComponent {
|
|
|
3940
4063
|
this.control.setValue(value);
|
|
3941
4064
|
}
|
|
3942
4065
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: ObjectDropdownComponent, deps: [{ token: i1$3.FormGroupDirective }, { token: i0.ElementRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3943
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: ObjectDropdownComponent, selector: "object-dropdown", inputs: { fieldName: "fieldName", labelKey: "labelKey", data: "data", selectedItem: "selectedItem", defaultName: "defaultName", rebind: "rebind" }, outputs: { selectedChange: "selectedChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\" *ngIf=\"control\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"'description'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-dropdownlist>\n\n <div class=\"bg-danger\" *ngIf=\"control.invalid && control.touched\">\n <span *ngIf=\"control.errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i4$
|
|
4066
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0", type: ObjectDropdownComponent, selector: "object-dropdown", inputs: { fieldName: "fieldName", labelKey: "labelKey", data: "data", selectedItem: "selectedItem", defaultName: "defaultName", rebind: "rebind" }, outputs: { selectedChange: "selectedChange" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<div class=\"form-group\">\n <label\n for=\"{{ '_' + fieldName }}\"\n class=\"col-md-3 control-label\"\n translate=\"{{ labelKey }}\"\n ></label>\n <div class=\"col-md-9\" *ngIf=\"control\">\n <kendo-dropdownlist\n id=\"{{ '_' + fieldName }}\"\n [formControl]=\"control\"\n [data]=\"data$ | async\"\n [textField]=\"'description'\"\n [valueField]=\"'value'\"\n [valuePrimitive]=\"true\"\n [defaultItem]=\"defaultItem\"\n (valueChange)=\"onValueChange($event)\"\n >\n </kendo-dropdownlist>\n\n <div class=\"bg-danger\" *ngIf=\"control.invalid && control.touched\">\n <span *ngIf=\"control.errors['required']\">{{\n \"Required\" | translate : { param0: labelKey | translate }\n }}</span>\n <span *ngIf=\"control.errors['serverErrorMsg']\">{{\n control.errors[\"serverErrorMsg\"]\n }}</span>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.TranslateDirective, selector: "[translate],[ngx-translate]", inputs: ["translate", "translateParams"] }, { kind: "component", type: i4$3.DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: i1$3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i2$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], viewProviders: [
|
|
3944
4067
|
{ provide: ControlContainer, useExisting: FormGroupDirective },
|
|
3945
4068
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3946
4069
|
}
|
|
@@ -3996,5 +4119,5 @@ const momentTimezone = momentModule;
|
|
|
3996
4119
|
* Generated bundle index. Do not edit.
|
|
3997
4120
|
*/
|
|
3998
4121
|
|
|
3999
|
-
export { AccountMenuComponent, AccountService, ActivityFilterComponent, ActivityFilterService, AppSettings, AppToastrService, AuthProvider, AuthProviderResolver, AzureLoginCallbackComponent, BaseAccountService, ConfirmDialogComponent, ConfirmDialogModule, ContentTypesFormat, CurrentTimeZoneModule, CurrentTimezoneComponent, DebounceDirective, DebounceModule, EntityEditButtonsBarComponent, EntityEditButtonsBarModule, EntityEditComponent, EntityEditFormComponent, EntityEditFormModule, EntityListComponent, EntityListModule, EntityService, EventNames, ExcelExportButtonComponent, ExcelExportButtonModule, FieldComponent, FieldDropdownComponent, FieldDropdownModule, FieldDropdownlistComponent, FieldDropdownlistModule, FieldFileSelectComponent, FieldFileSelectModule, FieldFileUploadComponent, FieldFileUploadModule, FieldInputComponent, FieldInputModule, FieldMultiSelectComponent, FieldTextAreaComponent, FieldTextAreaModule, FieldTypes, FilterTargets, FooterBarComponent, ForbiddenComponent, FormGroupWithErrors, GeneralErrorsComponent, GeneralErrorsModule, HttpCodes, HttpMethods, HttpService, IndiginaConfiguration, IndiginaModule, KendoModule, LanguageSelectorComponent, LiveUpdatesControlComponent, LocaleSettingsService, MSALInstanceFactory, MemberTypes, ModalWindowComponent, MulticheckFilterComponent, NumberInputComponent, ObjectDropdownComponent, ObjectDropdownModule, Operators, PermissionTypes, PermissionsService, PrettifierFactory, ReEntrySubscription, RequirePermissionDirective, RequirePermissionModule, SettingsService, SideMenuComponent, SignalRService, TopMenuComponent, TreeViewComponent, UserListAdminComponent, buildActivityEndpoints, buildEntityEndpoints, endpoints, momentTimezone, urlDeserialize, urlSerialize };
|
|
4122
|
+
export { AccountMenuComponent, AccountMenuModule, AccountService, ActivityFilterComponent, ActivityFilterService, AppSettings, AppToastrService, AuthProvider, AuthProviderResolver, AzureLoginCallbackComponent, BaseAccountService, ConfirmDialogComponent, ConfirmDialogModule, ContentTypesFormat, CurrentTimeZoneModule, CurrentTimezoneComponent, DebounceDirective, DebounceModule, EntityEditButtonsBarComponent, EntityEditButtonsBarModule, EntityEditComponent, EntityEditFormComponent, EntityEditFormModule, EntityListComponent, EntityListModule, EntityService, EventNames, ExcelExportButtonComponent, ExcelExportButtonModule, FieldComponent, FieldDropdownComponent, FieldDropdownModule, FieldDropdownlistComponent, FieldDropdownlistModule, FieldFileSelectComponent, FieldFileSelectModule, FieldFileUploadComponent, FieldFileUploadModule, FieldInputComponent, FieldInputModule, FieldMultiSelectComponent, FieldMultiselectModule, FieldTextAreaComponent, FieldTextAreaModule, FieldTypes, FilterTargets, FooterBarComponent, FooterBarModule, ForbiddenComponent, FormGroupWithErrors, GeneralErrorsComponent, GeneralErrorsModule, HttpCodes, HttpMethods, HttpService, IndiginaConfiguration, IndiginaModule, KendoModule, LanguageSelectorComponent, LanguageSelectorModule, LiveUpdatesControlComponent, LocaleSettingsService, MSALInstanceFactory, MemberTypes, ModalWindowComponent, MulticheckFilterComponent, NumberInputComponent, ObjectDropdownComponent, ObjectDropdownModule, Operators, PermissionTypes, PermissionsService, PrettifierFactory, ReEntrySubscription, RequirePermissionDirective, RequirePermissionModule, SettingsService, SideMenuComponent, SignalRService, TopBarModule, TopMenuComponent, TreeViewComponent, UserListAdminComponent, buildActivityEndpoints, buildEntityEndpoints, endpoints, momentTimezone, urlDeserialize, urlSerialize };
|
|
4000
4123
|
//# sourceMappingURL=indigina-kendo.mjs.map
|