@ts-core/angular 13.0.65 → 13.1.2
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/VICommonModule.d.ts +4 -4
- package/application/ApplicationBaseComponent.d.ts +1 -1
- package/application/ApplicationComponent.d.ts +3 -3
- package/application/MessageBaseComponent.d.ts +1 -1
- package/bottomSheet/BottomSheetService.d.ts +2 -2
- package/component/cdk-table/CdkTableDataSource.d.ts +1 -1
- package/component/cdk-table/CdkTableFilterableMapCollection.d.ts +1 -1
- package/component/cdk-table/CdkTablePaginableBookmarkMapCollection.d.ts +1 -1
- package/component/cdk-table/CdkTablePaginableMapCollection.d.ts +1 -1
- package/component/cdk-table/cell/CdkTableCellValuePipe.d.ts +9 -4
- package/component/cdk-table/column/ICdkTableColumn.d.ts +2 -1
- package/component/language/language-selector/language-selector.component.d.ts +1 -1
- package/cookie/CookieModule.d.ts +1 -1
- package/cookie/CookieOptions.d.ts +1 -1
- package/cookie/CookieService.d.ts +1 -1
- package/error/WindowClosedError.d.ts +1 -1
- package/esm2020/VICommonModule.mjs +5 -5
- package/esm2020/application/ApplicationBaseComponent.mjs +2 -2
- package/esm2020/application/ApplicationComponent.mjs +4 -4
- package/esm2020/application/MessageBaseComponent.mjs +2 -2
- package/esm2020/application/ShellBaseComponent.mjs +2 -2
- package/esm2020/asset/AssetBackgroundDirective.mjs +2 -2
- package/esm2020/asset/AssetBackgroundPipe.mjs +2 -2
- package/esm2020/asset/AssetFilePipe.mjs +2 -2
- package/esm2020/asset/AssetIconPipe.mjs +2 -2
- package/esm2020/asset/AssetImagePipe.mjs +2 -2
- package/esm2020/asset/AssetSoundPipe.mjs +2 -2
- package/esm2020/asset/AssetVideoPipe.mjs +2 -2
- package/esm2020/bottomSheet/BottomSheetImpl.mjs +2 -2
- package/esm2020/bottomSheet/BottomSheetService.mjs +3 -3
- package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +1 -1
- package/esm2020/component/cdk-table/CdkTableDataSource.mjs +3 -3
- package/esm2020/component/cdk-table/CdkTableFilterableMapCollection.mjs +3 -3
- package/esm2020/component/cdk-table/CdkTablePaginableBookmarkMapCollection.mjs +2 -2
- package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +2 -2
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +37 -5
- package/esm2020/component/cdk-table/column/ICdkTableColumn.mjs +1 -1
- package/esm2020/component/language/language-selector/language-selector.component.mjs +2 -2
- package/esm2020/cookie/CookieModule.mjs +1 -1
- package/esm2020/cookie/CookieOptions.mjs +1 -1
- package/esm2020/cookie/CookieService.mjs +1 -1
- package/esm2020/directive/ClickToCopyDirective.mjs +2 -2
- package/esm2020/directive/HTMLTitleDirective.mjs +2 -2
- package/esm2020/directive/ScrollCheckDirective.mjs +3 -3
- package/esm2020/error/WindowClosedError.mjs +2 -2
- package/esm2020/form/FormElementAsync.mjs +2 -2
- package/esm2020/form/FormElementSync.mjs +1 -1
- package/esm2020/language/LanguageDirective.mjs +3 -3
- package/esm2020/language/LanguageHasDirective.mjs +3 -3
- package/esm2020/language/LanguageMatPaginatorIntl.mjs +2 -2
- package/esm2020/language/LanguageModule.mjs +2 -2
- package/esm2020/language/LanguageMomentDateAdapter.mjs +1 -1
- package/esm2020/language/LanguagePipe.mjs +3 -3
- package/esm2020/language/LanguagePipeHas.mjs +3 -3
- package/esm2020/language/LanguagePipeHasPure.mjs +2 -2
- package/esm2020/language/LanguagePipePure.mjs +2 -2
- package/esm2020/language/LanguageRequireResolver.mjs +2 -2
- package/esm2020/language/LanguageResolver.mjs +2 -2
- package/esm2020/list/IListItem.mjs +1 -1
- package/esm2020/list/ListItems.mjs +3 -3
- package/esm2020/list/select/SelectListItems.mjs +1 -1
- package/esm2020/login/LoginBaseService.mjs +5 -5
- package/esm2020/login/LoginRequireResolver.mjs +2 -2
- package/esm2020/menu/MenuItems.mjs +3 -3
- package/esm2020/module/LazyModuleLoader.mjs +4 -4
- package/esm2020/notification/NotificationModule.mjs +2 -2
- package/esm2020/notification/NotificationService.mjs +4 -4
- package/esm2020/notification/component/notification/notification.component.mjs +2 -2
- package/esm2020/pipe/MomentDatePipe.mjs +2 -2
- package/esm2020/pipe/NgModelErrorPipe.mjs +2 -2
- package/esm2020/pipe/TimePipe.mjs +2 -2
- package/esm2020/public-api.mjs +28 -26
- package/esm2020/question/QuestionManager.mjs +2 -2
- package/esm2020/service/BootstrapBreakpointService.mjs +3 -3
- package/esm2020/service/PipeBaseService.mjs +2 -2
- package/esm2020/service/RouterBaseService.mjs +3 -3
- package/esm2020/theme/ThemeAssetBackgroundDirective.mjs +2 -2
- package/esm2020/theme/ThemeAssetDirective.mjs +3 -3
- package/esm2020/theme/ThemeAssetImageDirective.mjs +2 -2
- package/esm2020/theme/ThemeModule.mjs +2 -2
- package/esm2020/theme/ThemeStyleDirective.mjs +3 -3
- package/esm2020/theme/ThemeStyleHoverDirective.mjs +2 -2
- package/esm2020/theme/ThemeToggleDirective.mjs +2 -2
- package/esm2020/transport/TransportLazy.mjs +2 -2
- package/esm2020/transport/TransportLazyModule.mjs +1 -1
- package/esm2020/transport/TransportLazyModuleLoadedEvent.mjs +2 -2
- package/esm2020/user/UserBaseService.mjs +2 -2
- package/esm2020/util/ViewUtil.mjs +2 -2
- package/esm2020/window/WindowImpl.mjs +2 -2
- package/esm2020/window/WindowService.mjs +3 -3
- package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +2 -2
- package/esm2020/window/component/window-question/window-question.component.mjs +2 -2
- package/fesm2015/ts-core-angular.mjs +146 -134
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +146 -134
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/language/LanguageDirective.d.ts +1 -1
- package/language/LanguageHasDirective.d.ts +1 -1
- package/language/LanguageMatPaginatorIntl.d.ts +1 -1
- package/language/LanguageModule.d.ts +2 -2
- package/language/LanguageMomentDateAdapter.d.ts +1 -1
- package/language/LanguagePipe.d.ts +1 -1
- package/language/LanguagePipeHas.d.ts +1 -1
- package/language/LanguagePipeHasPure.d.ts +1 -1
- package/language/LanguagePipePure.d.ts +1 -1
- package/language/LanguageRequireResolver.d.ts +1 -1
- package/language/LanguageResolver.d.ts +1 -1
- package/list/IListItem.d.ts +1 -1
- package/list/ListItems.d.ts +2 -2
- package/list/select/SelectListItems.d.ts +1 -1
- package/login/LoginBaseService.d.ts +1 -1
- package/menu/MenuItems.d.ts +1 -1
- package/module/LazyModuleLoader.d.ts +1 -1
- package/notification/NotificationModule.d.ts +1 -1
- package/notification/NotificationService.d.ts +2 -2
- package/notification/component/notification/notification.component.d.ts +1 -1
- package/package.json +3 -3
- package/pipe/NgModelErrorPipe.d.ts +1 -1
- package/public-api.d.ts +1 -1
- package/question/QuestionManager.d.ts +1 -1
- package/service/BootstrapBreakpointService.d.ts +1 -1
- package/service/PipeBaseService.d.ts +1 -1
- package/service/RouterBaseService.d.ts +1 -1
- package/theme/ThemeAssetBackgroundDirective.d.ts +1 -1
- package/theme/ThemeAssetDirective.d.ts +1 -1
- package/theme/ThemeAssetImageDirective.d.ts +1 -1
- package/theme/ThemeModule.d.ts +2 -2
- package/theme/ThemeStyleDirective.d.ts +1 -1
- package/theme/ThemeStyleHoverDirective.d.ts +1 -1
- package/theme/ThemeToggleDirective.d.ts +1 -1
- package/transport/TransportLazy.d.ts +3 -3
- package/transport/TransportLazyModule.d.ts +1 -1
- package/transport/TransportLazyModuleLoadedEvent.d.ts +1 -1
- package/user/UserBaseService.d.ts +1 -1
- package/window/WindowService.d.ts +2 -2
- package/window/component/window-question/window-question.component.d.ts +1 -1
|
@@ -1,29 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, ViewContainerRef, Injectable, Directive, Input, Pipe, NgModule, InjectionToken, EventEmitter, Output, HostListener, Optional, Inject, RendererStyleFlags2, NgModuleFactory } from '@angular/core';
|
|
3
|
-
import { DestroyableContainer, LoadableEvent, Destroyable, IDestroyable, Loadable, LoadableStatus } from '@ts-core/common';
|
|
4
|
-
import { PromiseHandler } from '@ts-core/common/promise';
|
|
3
|
+
import { DestroyableContainer, PromiseHandler, ExtendedError, LoadableEvent, Destroyable, IDestroyable, DateUtil, ObservableData, ObjectUtil, ArrayUtil, RemoveFilterableCondition, GetFilterableCondition, Logger, LoggerLevel, DataSourceMapCollectionEvent, FilterableDataSourceMapCollection, PaginableDataSourceMapCollection, PaginableBookmarkDataSourceMapCollection, Loadable, LoadableStatus, TransportTimeoutError, TransportNoConnectionError, FilterableMapCollection, MapCollection, TransportEvent, TransportLocal } from '@ts-core/common';
|
|
5
4
|
import * as _ from 'lodash';
|
|
6
|
-
import
|
|
7
|
-
import { AssetUrlProvider } from '@ts-core/frontend
|
|
8
|
-
import { takeUntil, filter,
|
|
9
|
-
import { ExtendedError } from '@ts-core/common/error';
|
|
5
|
+
import * as i1$1 from '@ts-core/frontend';
|
|
6
|
+
import { Assets, AssetUrlProvider, LanguageService, ThemeService, ThemeAssetService, LoadingService, NativeWindowService, ICookieOptions, DefaultLogger } from '@ts-core/frontend';
|
|
7
|
+
import { takeUntil, Subject, filter, BehaviorSubject, distinctUntilChanged, debounceTime, fromEvent, of, map, merge } from 'rxjs';
|
|
10
8
|
import moment from 'moment';
|
|
11
9
|
import numeral from 'numeral';
|
|
12
|
-
import { ObservableData } from '@ts-core/common/observer';
|
|
13
|
-
import { DateUtil, ObjectUtil, ArrayUtil } from '@ts-core/common/util';
|
|
14
|
-
import { Subject, BehaviorSubject, distinctUntilChanged, debounceTime, takeUntil as takeUntil$1, fromEvent, filter as filter$1, of, merge, map as map$1 } from 'rxjs';
|
|
15
10
|
import * as i1 from '@angular/material/dialog';
|
|
16
11
|
import { MatDialogConfig, MatDialogModule, MatDialog } from '@angular/material/dialog';
|
|
17
|
-
import * as i1$1 from '@ts-core/frontend/language';
|
|
18
|
-
import { LanguageService } from '@ts-core/frontend/language';
|
|
19
12
|
import * as i4 from '@angular/common';
|
|
20
|
-
import { CommonModule, DatePipe } from '@angular/common';
|
|
13
|
+
import { CommonModule, AsyncPipe, DatePipe } from '@angular/common';
|
|
21
14
|
import * as i5 from '@angular/forms';
|
|
22
15
|
import { FormsModule, Validators } from '@angular/forms';
|
|
23
|
-
import { Logger, LoggerLevel } from '@ts-core/common/logger';
|
|
24
|
-
import { ICookieOptions } from '@ts-core/frontend/cookie';
|
|
25
|
-
import { DefaultLogger } from '@ts-core/frontend/logger';
|
|
26
|
-
import { LoadingService, NativeWindowService } from '@ts-core/frontend/service';
|
|
27
16
|
import * as Cookie from 'ngx-cookie';
|
|
28
17
|
import { ResizeSensor } from 'css-element-queries';
|
|
29
18
|
import * as interact from 'interactjs';
|
|
@@ -33,35 +22,28 @@ import * as i2 from '@angular/material/button';
|
|
|
33
22
|
import { MatButtonModule } from '@angular/material/button';
|
|
34
23
|
import * as i1$2 from '@angular/material/bottom-sheet';
|
|
35
24
|
import { MatBottomSheetModule } from '@angular/material/bottom-sheet';
|
|
36
|
-
import { RemoveFilterableCondition, GetFilterableCondition } from '@ts-core/common/dto';
|
|
37
25
|
import * as i1$3 from '@angular/platform-browser';
|
|
38
|
-
import * as i1$4 from '@
|
|
39
|
-
import { ThemeService, ThemeAssetService } from '@ts-core/frontend/theme';
|
|
40
|
-
import * as i1$5 from '@angular/material/menu';
|
|
26
|
+
import * as i1$4 from '@angular/material/menu';
|
|
41
27
|
import { MatMenuTrigger, MatMenuModule } from '@angular/material/menu';
|
|
42
28
|
import { FlexibleConnectedPositionStrategy } from '@angular/cdk/overlay';
|
|
43
29
|
import * as i2$1 from '@angular/material/form-field';
|
|
44
30
|
import * as i3 from '@angular/material/select';
|
|
45
31
|
import { MatSelectModule } from '@angular/material/select';
|
|
46
32
|
import * as i4$1 from '@angular/material/core';
|
|
47
|
-
import * as i1$
|
|
33
|
+
import * as i1$5 from '@angular/material/list';
|
|
48
34
|
import { MatListModule } from '@angular/material/list';
|
|
49
|
-
import * as i1$
|
|
35
|
+
import * as i1$6 from '@angular/material/tabs';
|
|
50
36
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
51
|
-
import
|
|
52
|
-
import * as i1$8 from '@angular/material/table';
|
|
37
|
+
import * as i1$7 from '@angular/material/table';
|
|
53
38
|
import { MatTableModule } from '@angular/material/table';
|
|
54
39
|
import * as i2$2 from '@angular/material/sort';
|
|
55
40
|
import { MatSortModule } from '@angular/material/sort';
|
|
56
41
|
import * as i3$1 from '@angular/material/progress-bar';
|
|
57
42
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
58
43
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
59
|
-
import
|
|
60
|
-
import * as i1$9 from '@angular/router';
|
|
44
|
+
import * as i1$8 from '@angular/router';
|
|
61
45
|
import { NavigationStart, NavigationEnd, NavigationCancel, NavigationError, ActivatedRoute } from '@angular/router';
|
|
62
|
-
import
|
|
63
|
-
import * as i1$a from '@angular/cdk/layout';
|
|
64
|
-
import { TransportLocal } from '@ts-core/common/transport/local';
|
|
46
|
+
import * as i1$9 from '@angular/cdk/layout';
|
|
65
47
|
|
|
66
48
|
class ApplicationBaseComponent extends DestroyableContainer {
|
|
67
49
|
// --------------------------------------------------------------------------
|
|
@@ -1977,7 +1959,7 @@ class AspectRatioResizeDirective extends DestroyableContainer {
|
|
|
1977
1959
|
ngAfterViewInit() {
|
|
1978
1960
|
this.sensor = new ResizeManager(this.element);
|
|
1979
1961
|
this.sensor.changed
|
|
1980
|
-
.pipe(debounceTime(AspectRatioResizeDirective.UPDATE_DELAY), takeUntil
|
|
1962
|
+
.pipe(debounceTime(AspectRatioResizeDirective.UPDATE_DELAY), takeUntil(this.destroyed))
|
|
1981
1963
|
.subscribe(() => this.commitResizeProperties());
|
|
1982
1964
|
if (_.isNaN(this.ratio)) {
|
|
1983
1965
|
this.ratio = 4 / 3;
|
|
@@ -2583,66 +2565,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2583
2565
|
args: ['focus']
|
|
2584
2566
|
}] } });
|
|
2585
2567
|
|
|
2586
|
-
class HTMLTitleDirective extends Destroyable {
|
|
2587
|
-
// --------------------------------------------------------------------------
|
|
2588
|
-
//
|
|
2589
|
-
// Constructor
|
|
2590
|
-
//
|
|
2591
|
-
// --------------------------------------------------------------------------
|
|
2592
|
-
constructor(element) {
|
|
2593
|
-
super();
|
|
2594
|
-
this.element = element;
|
|
2595
|
-
}
|
|
2596
|
-
// --------------------------------------------------------------------------
|
|
2597
|
-
//
|
|
2598
|
-
// Private Methods
|
|
2599
|
-
//
|
|
2600
|
-
// --------------------------------------------------------------------------
|
|
2601
|
-
commitValueProperties() {
|
|
2602
|
-
ViewUtil.setProperty(this.element, 'title', LanguagePipe.removeTags(this.value));
|
|
2603
|
-
}
|
|
2604
|
-
// --------------------------------------------------------------------------
|
|
2605
|
-
//
|
|
2606
|
-
// Public Methods
|
|
2607
|
-
//
|
|
2608
|
-
// --------------------------------------------------------------------------
|
|
2609
|
-
destroy() {
|
|
2610
|
-
if (this.isDestroyed) {
|
|
2611
|
-
return;
|
|
2612
|
-
}
|
|
2613
|
-
super.destroy();
|
|
2614
|
-
this._value = null;
|
|
2615
|
-
}
|
|
2616
|
-
// --------------------------------------------------------------------------
|
|
2617
|
-
//
|
|
2618
|
-
// Public Properties
|
|
2619
|
-
//
|
|
2620
|
-
// --------------------------------------------------------------------------
|
|
2621
|
-
set value(value) {
|
|
2622
|
-
if (value === this._value) {
|
|
2623
|
-
return;
|
|
2624
|
-
}
|
|
2625
|
-
this._value = value;
|
|
2626
|
-
if (!_.isNil(value)) {
|
|
2627
|
-
this.commitValueProperties();
|
|
2628
|
-
}
|
|
2629
|
-
}
|
|
2630
|
-
get value() {
|
|
2631
|
-
return this._value;
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
HTMLTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2635
|
-
HTMLTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HTMLTitleDirective, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2637
|
-
type: Directive,
|
|
2638
|
-
args: [{
|
|
2639
|
-
selector: '[vi-html-title]'
|
|
2640
|
-
}]
|
|
2641
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
2642
|
-
type: Input,
|
|
2643
|
-
args: ['vi-html-title']
|
|
2644
|
-
}] } });
|
|
2645
|
-
|
|
2646
2568
|
class LanguagePipe extends DestroyableContainer {
|
|
2647
2569
|
// --------------------------------------------------------------------------
|
|
2648
2570
|
//
|
|
@@ -2708,6 +2630,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2708
2630
|
}]
|
|
2709
2631
|
}], ctorParameters: function () { return [{ type: i1$1.LanguageService }]; } });
|
|
2710
2632
|
|
|
2633
|
+
class HTMLTitleDirective extends Destroyable {
|
|
2634
|
+
// --------------------------------------------------------------------------
|
|
2635
|
+
//
|
|
2636
|
+
// Constructor
|
|
2637
|
+
//
|
|
2638
|
+
// --------------------------------------------------------------------------
|
|
2639
|
+
constructor(element) {
|
|
2640
|
+
super();
|
|
2641
|
+
this.element = element;
|
|
2642
|
+
}
|
|
2643
|
+
// --------------------------------------------------------------------------
|
|
2644
|
+
//
|
|
2645
|
+
// Private Methods
|
|
2646
|
+
//
|
|
2647
|
+
// --------------------------------------------------------------------------
|
|
2648
|
+
commitValueProperties() {
|
|
2649
|
+
ViewUtil.setProperty(this.element, 'title', LanguagePipe.removeTags(this.value));
|
|
2650
|
+
}
|
|
2651
|
+
// --------------------------------------------------------------------------
|
|
2652
|
+
//
|
|
2653
|
+
// Public Methods
|
|
2654
|
+
//
|
|
2655
|
+
// --------------------------------------------------------------------------
|
|
2656
|
+
destroy() {
|
|
2657
|
+
if (this.isDestroyed) {
|
|
2658
|
+
return;
|
|
2659
|
+
}
|
|
2660
|
+
super.destroy();
|
|
2661
|
+
this._value = null;
|
|
2662
|
+
}
|
|
2663
|
+
// --------------------------------------------------------------------------
|
|
2664
|
+
//
|
|
2665
|
+
// Public Properties
|
|
2666
|
+
//
|
|
2667
|
+
// --------------------------------------------------------------------------
|
|
2668
|
+
set value(value) {
|
|
2669
|
+
if (value === this._value) {
|
|
2670
|
+
return;
|
|
2671
|
+
}
|
|
2672
|
+
this._value = value;
|
|
2673
|
+
if (!_.isNil(value)) {
|
|
2674
|
+
this.commitValueProperties();
|
|
2675
|
+
}
|
|
2676
|
+
}
|
|
2677
|
+
get value() {
|
|
2678
|
+
return this._value;
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
HTMLTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2682
|
+
HTMLTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HTMLTitleDirective, selector: "[vi-html-title]", inputs: { value: ["vi-html-title", "value"] }, usesInheritance: true, ngImport: i0 });
|
|
2683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2684
|
+
type: Directive,
|
|
2685
|
+
args: [{
|
|
2686
|
+
selector: '[vi-html-title]'
|
|
2687
|
+
}]
|
|
2688
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
2689
|
+
type: Input,
|
|
2690
|
+
args: ['vi-html-title']
|
|
2691
|
+
}] } });
|
|
2692
|
+
|
|
2711
2693
|
class HTMLContentTitleDirective extends Destroyable {
|
|
2712
2694
|
// --------------------------------------------------------------------------
|
|
2713
2695
|
//
|
|
@@ -2859,7 +2841,7 @@ class ScrollCheckDirective extends DestroyableContainer {
|
|
|
2859
2841
|
this.isExceedLimit = false;
|
|
2860
2842
|
this._scrollValue = element.nativeElement.scrollTop;
|
|
2861
2843
|
fromEvent(element.nativeElement, 'scroll')
|
|
2862
|
-
.pipe(debounceTime
|
|
2844
|
+
.pipe(debounceTime(DateUtil.MILISECONDS_SECOND / 10), takeUntil(this.destroyed))
|
|
2863
2845
|
.subscribe(() => {
|
|
2864
2846
|
this._scrollValue = element.nativeElement.scrollTop;
|
|
2865
2847
|
this.check();
|
|
@@ -4120,10 +4102,10 @@ class WindowImpl extends WindowBase {
|
|
|
4120
4102
|
this._backdrop = this.properties.overlay.backdropElement;
|
|
4121
4103
|
this._container = this.properties.overlay.overlayElement;
|
|
4122
4104
|
this.setProperties();
|
|
4123
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
4124
|
-
this.getReference().afterClosed().pipe(takeUntil
|
|
4105
|
+
this.getReference().afterOpened().pipe(takeUntil(this.destroyed)).subscribe(this.setOpened);
|
|
4106
|
+
this.getReference().afterClosed().pipe(takeUntil(this.destroyed)).subscribe(this.setClosed);
|
|
4125
4107
|
this.events
|
|
4126
|
-
.pipe(filter
|
|
4108
|
+
.pipe(filter(event => event === WindowEvent.CONTENT_READY), takeUntil(this.destroyed))
|
|
4127
4109
|
.subscribe(this.updatePosition);
|
|
4128
4110
|
}
|
|
4129
4111
|
// --------------------------------------------------------------------------
|
|
@@ -5029,8 +5011,8 @@ class BottomSheetImpl extends DestroyableContainer {
|
|
|
5029
5011
|
this._container = this.properties.overlay.overlayElement;
|
|
5030
5012
|
this.setProperties();
|
|
5031
5013
|
this.elementsCreate();
|
|
5032
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
5033
|
-
this.getReference().afterDismissed().pipe(takeUntil
|
|
5014
|
+
this.getReference().afterOpened().pipe(takeUntil(this.destroyed)).subscribe(this.setOpened);
|
|
5015
|
+
this.getReference().afterDismissed().pipe(takeUntil(this.destroyed)).subscribe(this.setClosed);
|
|
5034
5016
|
}
|
|
5035
5017
|
// --------------------------------------------------------------------------
|
|
5036
5018
|
//
|
|
@@ -5447,10 +5429,10 @@ class NotificationImpl extends WindowBase {
|
|
|
5447
5429
|
// Have to save for unsubscribe on destroy
|
|
5448
5430
|
this._container = this.properties.overlay.overlayElement;
|
|
5449
5431
|
this.setProperties();
|
|
5450
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
5451
|
-
this.getReference().afterClosed().pipe(takeUntil
|
|
5432
|
+
this.getReference().afterOpened().pipe(takeUntil(this.destroyed)).subscribe(this.setOpened);
|
|
5433
|
+
this.getReference().afterClosed().pipe(takeUntil(this.destroyed)).subscribe(this.setClosed);
|
|
5452
5434
|
this.observer
|
|
5453
|
-
.pipe(filter
|
|
5435
|
+
.pipe(filter(event => event === WindowEvent.CONTENT_READY), takeUntil(this.destroyed))
|
|
5454
5436
|
.subscribe(this.updatePosition);
|
|
5455
5437
|
}
|
|
5456
5438
|
// --------------------------------------------------------------------------
|
|
@@ -6465,11 +6447,11 @@ class ThemeAssetDirective extends Destroyable {
|
|
|
6465
6447
|
}
|
|
6466
6448
|
}
|
|
6467
6449
|
}
|
|
6468
|
-
ThemeAssetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6450
|
+
ThemeAssetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.ThemeService }, { token: i1$1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6469
6451
|
ThemeAssetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetDirective, inputs: { isSound: "isSound", isVideo: "isVideo", isFile: "isFile", isImage: "isImage", isBackground: "isBackground", isIgnoreTheme: "isIgnoreTheme", name: "name", extension: "extension" }, host: { listeners: { "error": "errorLoadingHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
6470
6452
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
6471
6453
|
type: Directive
|
|
6472
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6454
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; }, propDecorators: { errorLoadingHandler: [{
|
|
6473
6455
|
type: HostListener,
|
|
6474
6456
|
args: ['error', ['$event']]
|
|
6475
6457
|
}], isSound: [{
|
|
@@ -6512,14 +6494,14 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
6512
6494
|
ViewUtil.removeStyle(this.element, 'backgroundImage');
|
|
6513
6495
|
}
|
|
6514
6496
|
}
|
|
6515
|
-
ThemeAssetBackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6497
|
+
ThemeAssetBackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.ThemeService }, { token: i1$1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6516
6498
|
ThemeAssetBackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetBackgroundDirective, selector: "[vi-theme-background]", usesInheritance: true, ngImport: i0 });
|
|
6517
6499
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
6518
6500
|
type: Directive,
|
|
6519
6501
|
args: [{
|
|
6520
6502
|
selector: '[vi-theme-background]'
|
|
6521
6503
|
}]
|
|
6522
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6504
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; } });
|
|
6523
6505
|
|
|
6524
6506
|
class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
6525
6507
|
// --------------------------------------------------------------------------
|
|
@@ -6542,14 +6524,14 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
6542
6524
|
this.element.src = null;
|
|
6543
6525
|
}
|
|
6544
6526
|
}
|
|
6545
|
-
ThemeAssetImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6527
|
+
ThemeAssetImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.ThemeService }, { token: i1$1.ThemeAssetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6546
6528
|
ThemeAssetImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetImageDirective, selector: "[vi-theme-image]", usesInheritance: true, ngImport: i0 });
|
|
6547
6529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
6548
6530
|
type: Directive,
|
|
6549
6531
|
args: [{
|
|
6550
6532
|
selector: '[vi-theme-image]'
|
|
6551
6533
|
}]
|
|
6552
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6534
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; } });
|
|
6553
6535
|
|
|
6554
6536
|
class ThemeToggleDirective extends Destroyable {
|
|
6555
6537
|
// --------------------------------------------------------------------------
|
|
@@ -6597,14 +6579,14 @@ class ThemeToggleDirective extends Destroyable {
|
|
|
6597
6579
|
this.theme = null;
|
|
6598
6580
|
}
|
|
6599
6581
|
}
|
|
6600
|
-
ThemeToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1$
|
|
6582
|
+
ThemeToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1$1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6601
6583
|
ThemeToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeToggleDirective, selector: "[vi-theme-toggle]", host: { listeners: { "click": "clickHandler($event)" } }, usesInheritance: true, ngImport: i0 });
|
|
6602
6584
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
6603
6585
|
type: Directive,
|
|
6604
6586
|
args: [{
|
|
6605
6587
|
selector: '[vi-theme-toggle]'
|
|
6606
6588
|
}]
|
|
6607
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6589
|
+
}], ctorParameters: function () { return [{ type: i1$1.ThemeService }]; }, propDecorators: { clickHandler: [{
|
|
6608
6590
|
type: HostListener,
|
|
6609
6591
|
args: ['click', ['$event']]
|
|
6610
6592
|
}] } });
|
|
@@ -6701,14 +6683,14 @@ class ThemeStyleDirective extends Destroyable {
|
|
|
6701
6683
|
}
|
|
6702
6684
|
}
|
|
6703
6685
|
}
|
|
6704
|
-
ThemeStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6686
|
+
ThemeStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6705
6687
|
ThemeStyleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeStyleDirective, selector: "[vi-theme-style]", inputs: { flags: "flags", styleName: "styleName", key: ["vi-theme-style", "key"] }, usesInheritance: true, ngImport: i0 });
|
|
6706
6688
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
6707
6689
|
type: Directive,
|
|
6708
6690
|
args: [{
|
|
6709
6691
|
selector: '[vi-theme-style]'
|
|
6710
6692
|
}]
|
|
6711
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6693
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }]; }, propDecorators: { flags: [{
|
|
6712
6694
|
type: Input
|
|
6713
6695
|
}], styleName: [{
|
|
6714
6696
|
type: Input
|
|
@@ -6804,14 +6786,14 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
6804
6786
|
super.flags = value;
|
|
6805
6787
|
}
|
|
6806
6788
|
}
|
|
6807
|
-
ThemeStyleHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6789
|
+
ThemeStyleHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1$1.ThemeService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6808
6790
|
ThemeStyleHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeStyleHoverDirective, selector: "[vi-theme-style-hover]", inputs: { key: ["vi-theme-style-hover", "key"], styleName: "styleName", flags: "flags" }, usesInheritance: true, ngImport: i0 });
|
|
6809
6791
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
6810
6792
|
type: Directive,
|
|
6811
6793
|
args: [{
|
|
6812
6794
|
selector: '[vi-theme-style-hover]'
|
|
6813
6795
|
}]
|
|
6814
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6796
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }]; }, propDecorators: { key: [{
|
|
6815
6797
|
type: Input,
|
|
6816
6798
|
args: ['vi-theme-style-hover']
|
|
6817
6799
|
}], styleName: [{
|
|
@@ -7243,7 +7225,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7243
7225
|
class MenuListComponent extends DestroyableContainer {
|
|
7244
7226
|
}
|
|
7245
7227
|
MenuListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7246
|
-
MenuListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuListComponent, selector: "vi-menu-list", inputs: { list: "list" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of list?.filtered\">\n <button mat-menu-item [ngClass]=\"item.className\" (click)=\"list?.actionItem(item)\">\n <span [ngClass]=\"item.iconId\" *ngIf=\"item.iconId\"></span>\n <span [innerHTML]=\"item.label\" [title]=\"item.label\"></span>\n </button>\n</ng-container>\n", components: [{ type: i1$
|
|
7228
|
+
MenuListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuListComponent, selector: "vi-menu-list", inputs: { list: "list" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of list?.filtered\">\n <button mat-menu-item [ngClass]=\"item.className\" (click)=\"list?.actionItem(item)\">\n <span [ngClass]=\"item.iconId\" *ngIf=\"item.iconId\"></span>\n <span [innerHTML]=\"item.label\" [title]=\"item.label\"></span>\n </button>\n</ng-container>\n", components: [{ type: i1$4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
7247
7229
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuListComponent, decorators: [{
|
|
7248
7230
|
type: Component,
|
|
7249
7231
|
args: [{ selector: 'vi-menu-list', template: "<ng-container *ngFor=\"let item of list?.filtered\">\n <button mat-menu-item [ngClass]=\"item.className\" (click)=\"list?.actionItem(item)\">\n <span [ngClass]=\"item.iconId\" *ngIf=\"item.iconId\"></span>\n <span [innerHTML]=\"item.label\" [title]=\"item.label\"></span>\n </button>\n</ng-container>\n" }]
|
|
@@ -7254,7 +7236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7254
7236
|
class SelectListComponent extends DestroyableContainer {
|
|
7255
7237
|
}
|
|
7256
7238
|
SelectListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7257
|
-
SelectListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SelectListComponent, selector: "vi-select-list", inputs: { list: "list" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of list?.collection\">\n\n <mat-list-item [ngClass]=\"item.isSelected? item.selectedClassName : item.className\" *ngIf=\"item.isEnabled\" (click)=\"list.actionItem(item)\" >\n <span [ngClass]=\"item.iconId\" *ngIf=\"item.iconId\" matListIcon></span>\n <span [innerHTML]=\"item.label\" [title]=\"item.label\" matLine></span>\n </mat-list-item>\n\n</ng-container>\n", components: [{ type: i1$
|
|
7239
|
+
SelectListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: SelectListComponent, selector: "vi-select-list", inputs: { list: "list" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngFor=\"let item of list?.collection\">\n\n <mat-list-item [ngClass]=\"item.isSelected? item.selectedClassName : item.className\" *ngIf=\"item.isEnabled\" (click)=\"list.actionItem(item)\" >\n <span [ngClass]=\"item.iconId\" *ngIf=\"item.iconId\" matListIcon></span>\n <span [innerHTML]=\"item.label\" [title]=\"item.label\" matLine></span>\n </mat-list-item>\n\n</ng-container>\n", components: [{ type: i1$5.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }], directives: [{ type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$5.MatListIconCssMatStyler, selector: "[mat-list-icon], [matListIcon]" }, { type: i4$1.MatLine, selector: "[mat-line], [matLine]" }] });
|
|
7258
7240
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectListComponent, decorators: [{
|
|
7259
7241
|
type: Component,
|
|
7260
7242
|
args: [{ selector: 'vi-select-list', template: "<ng-container *ngFor=\"let item of list?.collection\">\n\n <mat-list-item [ngClass]=\"item.isSelected? item.selectedClassName : item.className\" *ngIf=\"item.isEnabled\" (click)=\"list.actionItem(item)\" >\n <span [ngClass]=\"item.iconId\" *ngIf=\"item.iconId\" matListIcon></span>\n <span [innerHTML]=\"item.label\" [title]=\"item.label\" matLine></span>\n </mat-list-item>\n\n</ng-container>\n" }]
|
|
@@ -7317,7 +7299,7 @@ class TabGroupComponent extends DestroyableContainer {
|
|
|
7317
7299
|
}
|
|
7318
7300
|
}
|
|
7319
7301
|
TabGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7320
|
-
TabGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabGroupComponent, selector: "vi-tab-group", inputs: { className: "className", list: "list" }, usesInheritance: true, ngImport: i0, template: "<mat-tab-group [ngClass]=\"className\" (selectedIndexChange)=\"list.selectedIndex = $event\" [selectedIndex]=\"list?.selectedIndex\"\n (selectedTabChange)=\"selectedTabChange($event)\">\n <ng-container *ngFor=\"let item of list?.collection\">\n <mat-tab [ngClass]=\"item.className\" [label]=\"item.label\" [disabled]=\"!item.isEnabled\" (click)=\"list?.actionItem(item)\"></mat-tab>\n </ng-container>\n</mat-tab-group>\n", components: [{ type: i1$
|
|
7302
|
+
TabGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TabGroupComponent, selector: "vi-tab-group", inputs: { className: "className", list: "list" }, usesInheritance: true, ngImport: i0, template: "<mat-tab-group [ngClass]=\"className\" (selectedIndexChange)=\"list.selectedIndex = $event\" [selectedIndex]=\"list?.selectedIndex\"\n (selectedTabChange)=\"selectedTabChange($event)\">\n <ng-container *ngFor=\"let item of list?.collection\">\n <mat-tab [ngClass]=\"item.className\" [label]=\"item.label\" [disabled]=\"!item.isEnabled\" (click)=\"list?.actionItem(item)\"></mat-tab>\n </ng-container>\n</mat-tab-group>\n", components: [{ type: i1$6.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { type: i1$6.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
7321
7303
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabGroupComponent, decorators: [{
|
|
7322
7304
|
type: Component,
|
|
7323
7305
|
args: [{ selector: 'vi-tab-group', template: "<mat-tab-group [ngClass]=\"className\" (selectedIndexChange)=\"list.selectedIndex = $event\" [selectedIndex]=\"list?.selectedIndex\"\n (selectedTabChange)=\"selectedTabChange($event)\">\n <ng-container *ngFor=\"let item of list?.collection\">\n <mat-tab [ngClass]=\"item.className\" [label]=\"item.label\" [disabled]=\"!item.isEnabled\" (click)=\"list?.actionItem(item)\"></mat-tab>\n </ng-container>\n</mat-tab-group>\n" }]
|
|
@@ -7737,24 +7719,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7737
7719
|
}]
|
|
7738
7720
|
}] });
|
|
7739
7721
|
|
|
7740
|
-
class CdkTableCellValuePipe {
|
|
7722
|
+
class CdkTableCellValuePipe extends DestroyableContainer {
|
|
7723
|
+
// --------------------------------------------------------------------------
|
|
7724
|
+
//
|
|
7725
|
+
// Constructor
|
|
7726
|
+
//
|
|
7727
|
+
// --------------------------------------------------------------------------
|
|
7728
|
+
constructor(detection) {
|
|
7729
|
+
super();
|
|
7730
|
+
this.detection = detection;
|
|
7731
|
+
}
|
|
7741
7732
|
// --------------------------------------------------------------------------
|
|
7742
7733
|
//
|
|
7743
7734
|
// Public Methods
|
|
7744
7735
|
//
|
|
7745
7736
|
// --------------------------------------------------------------------------
|
|
7746
7737
|
transform(item, column) {
|
|
7747
|
-
|
|
7738
|
+
if (_.isNil(column.format)) {
|
|
7739
|
+
return item[column.name];
|
|
7740
|
+
}
|
|
7741
|
+
let result = column.format(item, column);
|
|
7742
|
+
if (!(result instanceof Promise)) {
|
|
7743
|
+
return result;
|
|
7744
|
+
}
|
|
7745
|
+
if (_.isNil(this.asyncPipe)) {
|
|
7746
|
+
this.asyncPipe = new AsyncPipe(this.detection);
|
|
7747
|
+
}
|
|
7748
|
+
return this.asyncPipe.transform(result);
|
|
7749
|
+
}
|
|
7750
|
+
destroy() {
|
|
7751
|
+
if (this.isDestroyed) {
|
|
7752
|
+
return;
|
|
7753
|
+
}
|
|
7754
|
+
super.destroy();
|
|
7755
|
+
if (!_.isNil(this.asyncPipe)) {
|
|
7756
|
+
this.asyncPipe.ngOnDestroy();
|
|
7757
|
+
this.asyncPipe = null;
|
|
7758
|
+
}
|
|
7759
|
+
this.detection = null;
|
|
7748
7760
|
}
|
|
7749
7761
|
}
|
|
7750
|
-
CdkTableCellValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7762
|
+
CdkTableCellValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7751
7763
|
CdkTableCellValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, name: "viCdkTableCellValue" });
|
|
7752
7764
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, decorators: [{
|
|
7753
7765
|
type: Pipe,
|
|
7754
7766
|
args: [{
|
|
7755
7767
|
name: 'viCdkTableCellValue'
|
|
7756
7768
|
}]
|
|
7757
|
-
}] });
|
|
7769
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
7758
7770
|
|
|
7759
7771
|
class CdkTableRowClassNamePipe {
|
|
7760
7772
|
// --------------------------------------------------------------------------
|
|
@@ -7830,7 +7842,7 @@ class CdkTablePaginableComponent extends CdkTableBaseComponent {
|
|
|
7830
7842
|
}
|
|
7831
7843
|
}
|
|
7832
7844
|
CdkTablePaginableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7833
|
-
CdkTablePaginableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CdkTablePaginableComponent, selector: "vi-cdk-table-paginable", inputs: { paginator: "paginator" }, usesInheritance: true, ngImport: i0, template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [trackBy]=\"table.trackByFn\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n \n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n\n<div class=\"paginator-container d-flex align-items-center justify-content-end flex-shrink-0\">\n <ng-content></ng-content>\n <mat-paginator\n class=\"flex-shrink-0\"\n [pageSize]=\"table?.pageSize\"\n [pageIndex]=\"table?.pageIndex\"\n [length]=\"table?.total\"\n (page)=\"table?.pageEventHandler($event)\"\n [pageSizeOptions]=\"paginator?.pageSizes\"\n [showFirstLastButtons]=\"paginator?.showFirstLastButtons\"\n [hidePageSize]=\"paginator?.hidePageSize\"\n *ngIf=\"paginator\"\n ></mat-paginator>\n</div>\n", components: [{ type: i1$
|
|
7845
|
+
CdkTablePaginableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CdkTablePaginableComponent, selector: "vi-cdk-table-paginable", inputs: { paginator: "paginator" }, usesInheritance: true, ngImport: i0, template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [trackBy]=\"table.trackByFn\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n \n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n\n<div class=\"paginator-container d-flex align-items-center justify-content-end flex-shrink-0\">\n <ng-content></ng-content>\n <mat-paginator\n class=\"flex-shrink-0\"\n [pageSize]=\"table?.pageSize\"\n [pageIndex]=\"table?.pageIndex\"\n [length]=\"table?.total\"\n (page)=\"table?.pageEventHandler($event)\"\n [pageSizeOptions]=\"paginator?.pageSizes\"\n [showFirstLastButtons]=\"paginator?.showFirstLastButtons\"\n [hidePageSize]=\"paginator?.hidePageSize\"\n *ngIf=\"paginator\"\n ></mat-paginator>\n</div>\n", components: [{ type: i1$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i2$2.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i1$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { type: i3$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { type: i4$2.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }], directives: [{ type: i2$2.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$7.MatCellDef, selector: "[matCellDef]" }, { type: i1$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: ["vi-html-content-title"] }, { type: i1$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i1$7.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { type: LanguageDirective, selector: "[vi-translate]", inputs: ["isNeedTitle", "vi-translate", "params"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "viTranslate": LanguagePipe, "viCdkTableColumnClassName": CdkTableColumnClassNamePipe, "viCdkTableColumnStyleName": CdkTableColumnStyleNamePipe, "viCdkTableCellClassName": CdkTableCellClassNamePipe, "viCdkTableCellStyleName": CdkTableCellStyleNamePipe, "viCdkTableCellValue": CdkTableCellValuePipe, "viCdkTableRowClassName": CdkTableRowClassNamePipe, "viCdkTableRowStyleName": CdkTableRowStyleNamePipe } });
|
|
7834
7846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableComponent, decorators: [{
|
|
7835
7847
|
type: Component,
|
|
7836
7848
|
args: [{ selector: 'vi-cdk-table-paginable', template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [trackBy]=\"table.trackByFn\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n \n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n\n<div class=\"paginator-container d-flex align-items-center justify-content-end flex-shrink-0\">\n <ng-content></ng-content>\n <mat-paginator\n class=\"flex-shrink-0\"\n [pageSize]=\"table?.pageSize\"\n [pageIndex]=\"table?.pageIndex\"\n [length]=\"table?.total\"\n (page)=\"table?.pageEventHandler($event)\"\n [pageSizeOptions]=\"paginator?.pageSizes\"\n [showFirstLastButtons]=\"paginator?.showFirstLastButtons\"\n [hidePageSize]=\"paginator?.hidePageSize\"\n *ngIf=\"paginator\"\n ></mat-paginator>\n</div>\n" }]
|
|
@@ -7850,7 +7862,7 @@ class CdkTableFilterableComponent extends CdkTableBaseComponent {
|
|
|
7850
7862
|
}
|
|
7851
7863
|
}
|
|
7852
7864
|
CdkTableFilterableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableFilterableComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7853
|
-
CdkTableFilterableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CdkTableFilterableComponent, selector: "vi-cdk-table-filterable", usesInheritance: true, ngImport: i0, template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border transparent\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n\n<div class=\"paginator-container d-flex align-items-center justify-content-end flex-shrink-0\">\n <ng-content></ng-content>\n</div>\n", components: [{ type: i1$
|
|
7865
|
+
CdkTableFilterableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CdkTableFilterableComponent, selector: "vi-cdk-table-filterable", usesInheritance: true, ngImport: i0, template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border transparent\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n\n<div class=\"paginator-container d-flex align-items-center justify-content-end flex-shrink-0\">\n <ng-content></ng-content>\n</div>\n", components: [{ type: i1$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i2$2.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i1$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { type: i3$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2$2.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$7.MatCellDef, selector: "[matCellDef]" }, { type: i1$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: ["vi-html-content-title"] }, { type: i1$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i1$7.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { type: LanguageDirective, selector: "[vi-translate]", inputs: ["isNeedTitle", "vi-translate", "params"] }], pipes: { "viTranslate": LanguagePipe, "viCdkTableColumnClassName": CdkTableColumnClassNamePipe, "viCdkTableColumnStyleName": CdkTableColumnStyleNamePipe, "viCdkTableCellClassName": CdkTableCellClassNamePipe, "viCdkTableCellStyleName": CdkTableCellStyleNamePipe, "viCdkTableCellValue": CdkTableCellValuePipe, "viCdkTableRowClassName": CdkTableRowClassNamePipe, "viCdkTableRowStyleName": CdkTableRowStyleNamePipe } });
|
|
7854
7866
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableFilterableComponent, decorators: [{
|
|
7855
7867
|
type: Component,
|
|
7856
7868
|
args: [{ selector: 'vi-cdk-table-filterable', template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border transparent\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n\n<div class=\"paginator-container d-flex align-items-center justify-content-end flex-shrink-0\">\n <ng-content></ng-content>\n</div>\n" }]
|
|
@@ -7868,7 +7880,7 @@ class CdkTablePaginableBookmarkComponent extends CdkTableBaseComponent {
|
|
|
7868
7880
|
}
|
|
7869
7881
|
}
|
|
7870
7882
|
CdkTablePaginableBookmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableBookmarkComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7871
|
-
CdkTablePaginableBookmarkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CdkTablePaginableBookmarkComponent, selector: "vi-cdk-table-paginable-bookmark", usesInheritance: true, ngImport: i0, template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border transparent\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n", components: [{ type: i1$
|
|
7883
|
+
CdkTablePaginableBookmarkComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: CdkTablePaginableBookmarkComponent, selector: "vi-cdk-table-paginable-bookmark", usesInheritance: true, ngImport: i0, template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border transparent\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n", components: [{ type: i1$7.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { type: i2$2.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { type: i1$7.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { type: i1$7.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { type: i3$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], directives: [{ type: i2$2.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$7.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { type: i1$7.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { type: i1$7.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$7.MatCellDef, selector: "[matCellDef]" }, { type: i1$7.MatCell, selector: "mat-cell, td[mat-cell]" }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: HTMLContentTitleDirective, selector: "[vi-html-content-title]", inputs: ["vi-html-content-title"] }, { type: i1$7.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { type: i1$7.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { type: i1$7.MatNoDataRow, selector: "ng-template[matNoDataRow]" }, { type: LanguageDirective, selector: "[vi-translate]", inputs: ["isNeedTitle", "vi-translate", "params"] }], pipes: { "viTranslate": LanguagePipe, "viCdkTableColumnClassName": CdkTableColumnClassNamePipe, "viCdkTableColumnStyleName": CdkTableColumnStyleNamePipe, "viCdkTableCellClassName": CdkTableCellClassNamePipe, "viCdkTableCellStyleName": CdkTableCellStyleNamePipe, "viCdkTableCellValue": CdkTableCellValuePipe, "viCdkTableRowClassName": CdkTableRowClassNamePipe, "viCdkTableRowStyleName": CdkTableRowStyleNamePipe } });
|
|
7872
7884
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableBookmarkComponent, decorators: [{
|
|
7873
7885
|
type: Component,
|
|
7874
7886
|
args: [{ selector: 'vi-cdk-table-paginable-bookmark', template: "<mat-table\n class=\"flex-grow-1 vertical-scroll-only\"\n matSort\n [dataSource]=\"table?.table?.dataSource\"\n [matSortActive]=\"sortActive\"\n [matSortDirection]=\"sortDirection\"\n [class.mat-nav-list]=\"settings?.isInteractive\"\n (matSortChange)=\"table.sortEventHandler($event)\"\n>\n <ng-container *ngFor=\"let column of columns; trackBy: columnTrackBy\">\n <ng-container [matColumnDef]=\"column.name\">\n <mat-header-cell\n class=\"px-2\"\n mat-sort-header\n [disableClear]=\"true\"\n [disabled]=\"column.isDisableSort\"\n [ngClass]=\"column.headerClassName\"\n *matHeaderCellDef\n >\n <span [innerHTML]=\"column.headerId | viTranslate\"></span>\n </mat-header-cell>\n <mat-cell\n class=\"p-2\"\n (click)=\"cellClickHandler(row, column, $event)\"\n *matCellDef=\"let row\"\n [ngClass]=\"row | viCdkTableColumnClassName: column\"\n [ngStyle]=\"row | viCdkTableColumnStyleName: column\"\n >\n <ng-container [ngSwitch]=\"column.isImage\">\n <img\n *ngSwitchCase=\"true\"\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [src]=\"row | viCdkTableCellValue: column\"\n />\n <span\n *ngSwitchDefault\n [ngClass]=\"row | viCdkTableCellClassName: column\"\n [ngStyle]=\"row | viCdkTableCellStyleName: column\"\n [vi-html-content-title]=\"row | viCdkTableCellValue: column\"\n ></span>\n </ng-container>\n </mat-cell>\n </ng-container>\n </ng-container>\n\n <mat-header-row *matHeaderRowDef=\"columnNames\"></mat-header-row>\n\n <mat-row\n class=\"mat-list-item\"\n *matRowDef=\"let row; columns: columnNames\"\n [ngClass]=\"row | viCdkTableRowClassName: rows:selectedRows\"\n [ngStyle]=\"row | viCdkTableRowStyleName: rows:selectedRows\"\n (click)=\"rowClickHandler(row, $event)\"\n ></mat-row>\n\n <p class=\"p-3 flex-shrink-0 text-center mouse-inactive\" [vi-translate]=\"settings?.noDataId\" *matNoDataRow></p>\n</mat-table>\n\n<mat-progress-bar class=\"flex-shrink-0 border transparent\" [mode]=\"table?.isLoading ? 'indeterminate' : 'determinate'\"></mat-progress-bar>\n" }]
|
|
@@ -8518,7 +8530,7 @@ class LoginGuard extends LoginRequireResolver {
|
|
|
8518
8530
|
//
|
|
8519
8531
|
// --------------------------------------------------------------------------
|
|
8520
8532
|
LoginGuard.redirectUrl = '/login';
|
|
8521
|
-
LoginGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8533
|
+
LoginGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$8.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8522
8534
|
LoginGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, providedIn: 'root' });
|
|
8523
8535
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, decorators: [{
|
|
8524
8536
|
type: Injectable,
|
|
@@ -8526,7 +8538,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8526
8538
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
8527
8539
|
type: Inject,
|
|
8528
8540
|
args: [LoginBaseService]
|
|
8529
|
-
}] }, { type: i1$
|
|
8541
|
+
}] }, { type: i1$8.Router }]; } });
|
|
8530
8542
|
|
|
8531
8543
|
class LoginNotGuard extends LoginRequireResolver {
|
|
8532
8544
|
// --------------------------------------------------------------------------
|
|
@@ -8553,7 +8565,7 @@ class LoginNotGuard extends LoginRequireResolver {
|
|
|
8553
8565
|
//
|
|
8554
8566
|
// --------------------------------------------------------------------------
|
|
8555
8567
|
LoginNotGuard.redirectUrl = '/';
|
|
8556
|
-
LoginNotGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8568
|
+
LoginNotGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$8.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8557
8569
|
LoginNotGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
|
|
8558
8570
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, decorators: [{
|
|
8559
8571
|
type: Injectable,
|
|
@@ -8561,7 +8573,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8561
8573
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
8562
8574
|
type: Inject,
|
|
8563
8575
|
args: [LoginBaseService]
|
|
8564
|
-
}] }, { type: i1$
|
|
8576
|
+
}] }, { type: i1$8.Router }]; } });
|
|
8565
8577
|
|
|
8566
8578
|
class LoginIfCanGuard extends LoginGuard {
|
|
8567
8579
|
// --------------------------------------------------------------------------
|
|
@@ -8601,7 +8613,7 @@ class LoginIfCanGuard extends LoginGuard {
|
|
|
8601
8613
|
return super.canActivate(route, state);
|
|
8602
8614
|
}
|
|
8603
8615
|
}
|
|
8604
|
-
LoginIfCanGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8616
|
+
LoginIfCanGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$8.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8605
8617
|
LoginIfCanGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
|
|
8606
8618
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, decorators: [{
|
|
8607
8619
|
type: Injectable,
|
|
@@ -8609,7 +8621,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8609
8621
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
8610
8622
|
type: Inject,
|
|
8611
8623
|
args: [LoginBaseService]
|
|
8612
|
-
}] }, { type: i1$
|
|
8624
|
+
}] }, { type: i1$8.Router }]; } });
|
|
8613
8625
|
|
|
8614
8626
|
class LoginResolver extends LoginRequireResolver {
|
|
8615
8627
|
// --------------------------------------------------------------------------
|
|
@@ -9409,12 +9421,12 @@ BootstrapBreakpointService.DEFAULT_MD = 768;
|
|
|
9409
9421
|
BootstrapBreakpointService.DEFAULT_LG = 992;
|
|
9410
9422
|
BootstrapBreakpointService.DEFAULT_XL = 1200;
|
|
9411
9423
|
BootstrapBreakpointService.DEFAULT_XXL = 1400;
|
|
9412
|
-
BootstrapBreakpointService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, deps: [{ token: i1$
|
|
9424
|
+
BootstrapBreakpointService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, deps: [{ token: i1$9.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9413
9425
|
BootstrapBreakpointService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, providedIn: 'root' });
|
|
9414
9426
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, decorators: [{
|
|
9415
9427
|
type: Injectable,
|
|
9416
9428
|
args: [{ providedIn: 'root' }]
|
|
9417
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
9429
|
+
}], ctorParameters: function () { return [{ type: i1$9.BreakpointObserver }]; } });
|
|
9418
9430
|
var BootstrapBreakpointServiceEvent;
|
|
9419
9431
|
(function (BootstrapBreakpointServiceEvent) {
|
|
9420
9432
|
BootstrapBreakpointServiceEvent["CHANGED"] = "CHANGED";
|
|
@@ -9659,7 +9671,7 @@ class UserBaseService extends DestroyableContainer {
|
|
|
9659
9671
|
if (this.login.isLoggedIn) {
|
|
9660
9672
|
this.loginedHandler();
|
|
9661
9673
|
}
|
|
9662
|
-
this.login.events.pipe(takeUntil
|
|
9674
|
+
this.login.events.pipe(takeUntil(this.destroyed)).subscribe(data => {
|
|
9663
9675
|
if (data.type === LoginBaseServiceEvent.LOGIN_COMPLETE) {
|
|
9664
9676
|
this.loginedHandler();
|
|
9665
9677
|
}
|
|
@@ -9722,13 +9734,13 @@ class UserBaseService extends DestroyableContainer {
|
|
|
9722
9734
|
return this.observer.asObservable();
|
|
9723
9735
|
}
|
|
9724
9736
|
get logined() {
|
|
9725
|
-
return this.events.pipe(filter
|
|
9737
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.LOGINED), map(item => item.data));
|
|
9726
9738
|
}
|
|
9727
9739
|
get changed() {
|
|
9728
|
-
return this.events.pipe(filter
|
|
9740
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.CHANGED), map(item => item.data));
|
|
9729
9741
|
}
|
|
9730
9742
|
get logouted() {
|
|
9731
|
-
return this.events.pipe(filter
|
|
9743
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.LOGOUTED), map(() => null));
|
|
9732
9744
|
}
|
|
9733
9745
|
get hasUser() {
|
|
9734
9746
|
return !_.isNil(this._user);
|
|
@@ -9964,7 +9976,7 @@ class TransportLazyModule {
|
|
|
9964
9976
|
}
|
|
9965
9977
|
}
|
|
9966
9978
|
|
|
9967
|
-
|
|
9979
|
+
//
|
|
9968
9980
|
|
|
9969
9981
|
/**
|
|
9970
9982
|
* Generated bundle index. Do not edit.
|