@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,23 +22,19 @@ 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';
|
|
@@ -57,12 +42,9 @@ 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
44
|
import { __awaiter } from 'tslib';
|
|
60
|
-
import
|
|
61
|
-
import * as i1$9 from '@angular/router';
|
|
45
|
+
import * as i1$8 from '@angular/router';
|
|
62
46
|
import { NavigationStart, NavigationEnd, NavigationCancel, NavigationError, ActivatedRoute } from '@angular/router';
|
|
63
|
-
import
|
|
64
|
-
import * as i1$a from '@angular/cdk/layout';
|
|
65
|
-
import { TransportLocal } from '@ts-core/common/transport/local';
|
|
47
|
+
import * as i1$9 from '@angular/cdk/layout';
|
|
66
48
|
|
|
67
49
|
class ApplicationBaseComponent extends DestroyableContainer {
|
|
68
50
|
// --------------------------------------------------------------------------
|
|
@@ -1978,7 +1960,7 @@ class AspectRatioResizeDirective extends DestroyableContainer {
|
|
|
1978
1960
|
ngAfterViewInit() {
|
|
1979
1961
|
this.sensor = new ResizeManager(this.element);
|
|
1980
1962
|
this.sensor.changed
|
|
1981
|
-
.pipe(debounceTime(AspectRatioResizeDirective.UPDATE_DELAY), takeUntil
|
|
1963
|
+
.pipe(debounceTime(AspectRatioResizeDirective.UPDATE_DELAY), takeUntil(this.destroyed))
|
|
1982
1964
|
.subscribe(() => this.commitResizeProperties());
|
|
1983
1965
|
if (_.isNaN(this.ratio)) {
|
|
1984
1966
|
this.ratio = 4 / 3;
|
|
@@ -2584,66 +2566,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2584
2566
|
args: ['focus']
|
|
2585
2567
|
}] } });
|
|
2586
2568
|
|
|
2587
|
-
class HTMLTitleDirective extends Destroyable {
|
|
2588
|
-
// --------------------------------------------------------------------------
|
|
2589
|
-
//
|
|
2590
|
-
// Constructor
|
|
2591
|
-
//
|
|
2592
|
-
// --------------------------------------------------------------------------
|
|
2593
|
-
constructor(element) {
|
|
2594
|
-
super();
|
|
2595
|
-
this.element = element;
|
|
2596
|
-
}
|
|
2597
|
-
// --------------------------------------------------------------------------
|
|
2598
|
-
//
|
|
2599
|
-
// Private Methods
|
|
2600
|
-
//
|
|
2601
|
-
// --------------------------------------------------------------------------
|
|
2602
|
-
commitValueProperties() {
|
|
2603
|
-
ViewUtil.setProperty(this.element, 'title', LanguagePipe.removeTags(this.value));
|
|
2604
|
-
}
|
|
2605
|
-
// --------------------------------------------------------------------------
|
|
2606
|
-
//
|
|
2607
|
-
// Public Methods
|
|
2608
|
-
//
|
|
2609
|
-
// --------------------------------------------------------------------------
|
|
2610
|
-
destroy() {
|
|
2611
|
-
if (this.isDestroyed) {
|
|
2612
|
-
return;
|
|
2613
|
-
}
|
|
2614
|
-
super.destroy();
|
|
2615
|
-
this._value = null;
|
|
2616
|
-
}
|
|
2617
|
-
// --------------------------------------------------------------------------
|
|
2618
|
-
//
|
|
2619
|
-
// Public Properties
|
|
2620
|
-
//
|
|
2621
|
-
// --------------------------------------------------------------------------
|
|
2622
|
-
set value(value) {
|
|
2623
|
-
if (value === this._value) {
|
|
2624
|
-
return;
|
|
2625
|
-
}
|
|
2626
|
-
this._value = value;
|
|
2627
|
-
if (!_.isNil(value)) {
|
|
2628
|
-
this.commitValueProperties();
|
|
2629
|
-
}
|
|
2630
|
-
}
|
|
2631
|
-
get value() {
|
|
2632
|
-
return this._value;
|
|
2633
|
-
}
|
|
2634
|
-
}
|
|
2635
|
-
HTMLTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2636
|
-
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 });
|
|
2637
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2638
|
-
type: Directive,
|
|
2639
|
-
args: [{
|
|
2640
|
-
selector: '[vi-html-title]'
|
|
2641
|
-
}]
|
|
2642
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
2643
|
-
type: Input,
|
|
2644
|
-
args: ['vi-html-title']
|
|
2645
|
-
}] } });
|
|
2646
|
-
|
|
2647
2569
|
class LanguagePipe extends DestroyableContainer {
|
|
2648
2570
|
// --------------------------------------------------------------------------
|
|
2649
2571
|
//
|
|
@@ -2709,6 +2631,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2709
2631
|
}]
|
|
2710
2632
|
}], ctorParameters: function () { return [{ type: i1$1.LanguageService }]; } });
|
|
2711
2633
|
|
|
2634
|
+
class HTMLTitleDirective extends Destroyable {
|
|
2635
|
+
// --------------------------------------------------------------------------
|
|
2636
|
+
//
|
|
2637
|
+
// Constructor
|
|
2638
|
+
//
|
|
2639
|
+
// --------------------------------------------------------------------------
|
|
2640
|
+
constructor(element) {
|
|
2641
|
+
super();
|
|
2642
|
+
this.element = element;
|
|
2643
|
+
}
|
|
2644
|
+
// --------------------------------------------------------------------------
|
|
2645
|
+
//
|
|
2646
|
+
// Private Methods
|
|
2647
|
+
//
|
|
2648
|
+
// --------------------------------------------------------------------------
|
|
2649
|
+
commitValueProperties() {
|
|
2650
|
+
ViewUtil.setProperty(this.element, 'title', LanguagePipe.removeTags(this.value));
|
|
2651
|
+
}
|
|
2652
|
+
// --------------------------------------------------------------------------
|
|
2653
|
+
//
|
|
2654
|
+
// Public Methods
|
|
2655
|
+
//
|
|
2656
|
+
// --------------------------------------------------------------------------
|
|
2657
|
+
destroy() {
|
|
2658
|
+
if (this.isDestroyed) {
|
|
2659
|
+
return;
|
|
2660
|
+
}
|
|
2661
|
+
super.destroy();
|
|
2662
|
+
this._value = null;
|
|
2663
|
+
}
|
|
2664
|
+
// --------------------------------------------------------------------------
|
|
2665
|
+
//
|
|
2666
|
+
// Public Properties
|
|
2667
|
+
//
|
|
2668
|
+
// --------------------------------------------------------------------------
|
|
2669
|
+
set value(value) {
|
|
2670
|
+
if (value === this._value) {
|
|
2671
|
+
return;
|
|
2672
|
+
}
|
|
2673
|
+
this._value = value;
|
|
2674
|
+
if (!_.isNil(value)) {
|
|
2675
|
+
this.commitValueProperties();
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
get value() {
|
|
2679
|
+
return this._value;
|
|
2680
|
+
}
|
|
2681
|
+
}
|
|
2682
|
+
HTMLTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2683
|
+
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 });
|
|
2684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2685
|
+
type: Directive,
|
|
2686
|
+
args: [{
|
|
2687
|
+
selector: '[vi-html-title]'
|
|
2688
|
+
}]
|
|
2689
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
2690
|
+
type: Input,
|
|
2691
|
+
args: ['vi-html-title']
|
|
2692
|
+
}] } });
|
|
2693
|
+
|
|
2712
2694
|
class HTMLContentTitleDirective extends Destroyable {
|
|
2713
2695
|
// --------------------------------------------------------------------------
|
|
2714
2696
|
//
|
|
@@ -2860,7 +2842,7 @@ class ScrollCheckDirective extends DestroyableContainer {
|
|
|
2860
2842
|
this.isExceedLimit = false;
|
|
2861
2843
|
this._scrollValue = element.nativeElement.scrollTop;
|
|
2862
2844
|
fromEvent(element.nativeElement, 'scroll')
|
|
2863
|
-
.pipe(debounceTime
|
|
2845
|
+
.pipe(debounceTime(DateUtil.MILISECONDS_SECOND / 10), takeUntil(this.destroyed))
|
|
2864
2846
|
.subscribe(() => {
|
|
2865
2847
|
this._scrollValue = element.nativeElement.scrollTop;
|
|
2866
2848
|
this.check();
|
|
@@ -4123,10 +4105,10 @@ class WindowImpl extends WindowBase {
|
|
|
4123
4105
|
this._backdrop = this.properties.overlay.backdropElement;
|
|
4124
4106
|
this._container = this.properties.overlay.overlayElement;
|
|
4125
4107
|
this.setProperties();
|
|
4126
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
4127
|
-
this.getReference().afterClosed().pipe(takeUntil
|
|
4108
|
+
this.getReference().afterOpened().pipe(takeUntil(this.destroyed)).subscribe(this.setOpened);
|
|
4109
|
+
this.getReference().afterClosed().pipe(takeUntil(this.destroyed)).subscribe(this.setClosed);
|
|
4128
4110
|
this.events
|
|
4129
|
-
.pipe(filter
|
|
4111
|
+
.pipe(filter(event => event === WindowEvent.CONTENT_READY), takeUntil(this.destroyed))
|
|
4130
4112
|
.subscribe(this.updatePosition);
|
|
4131
4113
|
}
|
|
4132
4114
|
// --------------------------------------------------------------------------
|
|
@@ -5032,8 +5014,8 @@ class BottomSheetImpl extends DestroyableContainer {
|
|
|
5032
5014
|
this._container = this.properties.overlay.overlayElement;
|
|
5033
5015
|
this.setProperties();
|
|
5034
5016
|
this.elementsCreate();
|
|
5035
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
5036
|
-
this.getReference().afterDismissed().pipe(takeUntil
|
|
5017
|
+
this.getReference().afterOpened().pipe(takeUntil(this.destroyed)).subscribe(this.setOpened);
|
|
5018
|
+
this.getReference().afterDismissed().pipe(takeUntil(this.destroyed)).subscribe(this.setClosed);
|
|
5037
5019
|
}
|
|
5038
5020
|
// --------------------------------------------------------------------------
|
|
5039
5021
|
//
|
|
@@ -5450,10 +5432,10 @@ class NotificationImpl extends WindowBase {
|
|
|
5450
5432
|
// Have to save for unsubscribe on destroy
|
|
5451
5433
|
this._container = this.properties.overlay.overlayElement;
|
|
5452
5434
|
this.setProperties();
|
|
5453
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
5454
|
-
this.getReference().afterClosed().pipe(takeUntil
|
|
5435
|
+
this.getReference().afterOpened().pipe(takeUntil(this.destroyed)).subscribe(this.setOpened);
|
|
5436
|
+
this.getReference().afterClosed().pipe(takeUntil(this.destroyed)).subscribe(this.setClosed);
|
|
5455
5437
|
this.observer
|
|
5456
|
-
.pipe(filter
|
|
5438
|
+
.pipe(filter(event => event === WindowEvent.CONTENT_READY), takeUntil(this.destroyed))
|
|
5457
5439
|
.subscribe(this.updatePosition);
|
|
5458
5440
|
}
|
|
5459
5441
|
// --------------------------------------------------------------------------
|
|
@@ -6468,11 +6450,11 @@ class ThemeAssetDirective extends Destroyable {
|
|
|
6468
6450
|
}
|
|
6469
6451
|
}
|
|
6470
6452
|
}
|
|
6471
|
-
ThemeAssetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6453
|
+
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 });
|
|
6472
6454
|
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 });
|
|
6473
6455
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
6474
6456
|
type: Directive
|
|
6475
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6457
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; }, propDecorators: { errorLoadingHandler: [{
|
|
6476
6458
|
type: HostListener,
|
|
6477
6459
|
args: ['error', ['$event']]
|
|
6478
6460
|
}], isSound: [{
|
|
@@ -6515,14 +6497,14 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
6515
6497
|
ViewUtil.removeStyle(this.element, 'backgroundImage');
|
|
6516
6498
|
}
|
|
6517
6499
|
}
|
|
6518
|
-
ThemeAssetBackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetBackgroundDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6500
|
+
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 });
|
|
6519
6501
|
ThemeAssetBackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetBackgroundDirective, selector: "[vi-theme-background]", usesInheritance: true, ngImport: i0 });
|
|
6520
6502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
6521
6503
|
type: Directive,
|
|
6522
6504
|
args: [{
|
|
6523
6505
|
selector: '[vi-theme-background]'
|
|
6524
6506
|
}]
|
|
6525
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6507
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; } });
|
|
6526
6508
|
|
|
6527
6509
|
class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
6528
6510
|
// --------------------------------------------------------------------------
|
|
@@ -6545,14 +6527,14 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
6545
6527
|
this.element.src = null;
|
|
6546
6528
|
}
|
|
6547
6529
|
}
|
|
6548
|
-
ThemeAssetImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetImageDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6530
|
+
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 });
|
|
6549
6531
|
ThemeAssetImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetImageDirective, selector: "[vi-theme-image]", usesInheritance: true, ngImport: i0 });
|
|
6550
6532
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
6551
6533
|
type: Directive,
|
|
6552
6534
|
args: [{
|
|
6553
6535
|
selector: '[vi-theme-image]'
|
|
6554
6536
|
}]
|
|
6555
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6537
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; } });
|
|
6556
6538
|
|
|
6557
6539
|
class ThemeToggleDirective extends Destroyable {
|
|
6558
6540
|
// --------------------------------------------------------------------------
|
|
@@ -6600,14 +6582,14 @@ class ThemeToggleDirective extends Destroyable {
|
|
|
6600
6582
|
this.theme = null;
|
|
6601
6583
|
}
|
|
6602
6584
|
}
|
|
6603
|
-
ThemeToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeToggleDirective, deps: [{ token: i1$
|
|
6585
|
+
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 });
|
|
6604
6586
|
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 });
|
|
6605
6587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
6606
6588
|
type: Directive,
|
|
6607
6589
|
args: [{
|
|
6608
6590
|
selector: '[vi-theme-toggle]'
|
|
6609
6591
|
}]
|
|
6610
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6592
|
+
}], ctorParameters: function () { return [{ type: i1$1.ThemeService }]; }, propDecorators: { clickHandler: [{
|
|
6611
6593
|
type: HostListener,
|
|
6612
6594
|
args: ['click', ['$event']]
|
|
6613
6595
|
}] } });
|
|
@@ -6704,14 +6686,14 @@ class ThemeStyleDirective extends Destroyable {
|
|
|
6704
6686
|
}
|
|
6705
6687
|
}
|
|
6706
6688
|
}
|
|
6707
|
-
ThemeStyleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6689
|
+
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 });
|
|
6708
6690
|
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 });
|
|
6709
6691
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
6710
6692
|
type: Directive,
|
|
6711
6693
|
args: [{
|
|
6712
6694
|
selector: '[vi-theme-style]'
|
|
6713
6695
|
}]
|
|
6714
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6696
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }]; }, propDecorators: { flags: [{
|
|
6715
6697
|
type: Input
|
|
6716
6698
|
}], styleName: [{
|
|
6717
6699
|
type: Input
|
|
@@ -6807,14 +6789,14 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
6807
6789
|
super.flags = value;
|
|
6808
6790
|
}
|
|
6809
6791
|
}
|
|
6810
|
-
ThemeStyleHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleHoverDirective, deps: [{ token: i0.ElementRef }, { token: i1$
|
|
6792
|
+
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 });
|
|
6811
6793
|
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 });
|
|
6812
6794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
6813
6795
|
type: Directive,
|
|
6814
6796
|
args: [{
|
|
6815
6797
|
selector: '[vi-theme-style-hover]'
|
|
6816
6798
|
}]
|
|
6817
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6799
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }]; }, propDecorators: { key: [{
|
|
6818
6800
|
type: Input,
|
|
6819
6801
|
args: ['vi-theme-style-hover']
|
|
6820
6802
|
}], styleName: [{
|
|
@@ -7246,7 +7228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7246
7228
|
class MenuListComponent extends DestroyableContainer {
|
|
7247
7229
|
}
|
|
7248
7230
|
MenuListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7249
|
-
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$
|
|
7231
|
+
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"] }] });
|
|
7250
7232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuListComponent, decorators: [{
|
|
7251
7233
|
type: Component,
|
|
7252
7234
|
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" }]
|
|
@@ -7257,7 +7239,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7257
7239
|
class SelectListComponent extends DestroyableContainer {
|
|
7258
7240
|
}
|
|
7259
7241
|
SelectListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7260
|
-
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$
|
|
7242
|
+
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]" }] });
|
|
7261
7243
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectListComponent, decorators: [{
|
|
7262
7244
|
type: Component,
|
|
7263
7245
|
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" }]
|
|
@@ -7320,7 +7302,7 @@ class TabGroupComponent extends DestroyableContainer {
|
|
|
7320
7302
|
}
|
|
7321
7303
|
}
|
|
7322
7304
|
TabGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7323
|
-
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$
|
|
7305
|
+
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"] }] });
|
|
7324
7306
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabGroupComponent, decorators: [{
|
|
7325
7307
|
type: Component,
|
|
7326
7308
|
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" }]
|
|
@@ -7740,24 +7722,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7740
7722
|
}]
|
|
7741
7723
|
}] });
|
|
7742
7724
|
|
|
7743
|
-
class CdkTableCellValuePipe {
|
|
7725
|
+
class CdkTableCellValuePipe extends DestroyableContainer {
|
|
7726
|
+
// --------------------------------------------------------------------------
|
|
7727
|
+
//
|
|
7728
|
+
// Constructor
|
|
7729
|
+
//
|
|
7730
|
+
// --------------------------------------------------------------------------
|
|
7731
|
+
constructor(detection) {
|
|
7732
|
+
super();
|
|
7733
|
+
this.detection = detection;
|
|
7734
|
+
}
|
|
7744
7735
|
// --------------------------------------------------------------------------
|
|
7745
7736
|
//
|
|
7746
7737
|
// Public Methods
|
|
7747
7738
|
//
|
|
7748
7739
|
// --------------------------------------------------------------------------
|
|
7749
7740
|
transform(item, column) {
|
|
7750
|
-
|
|
7741
|
+
if (_.isNil(column.format)) {
|
|
7742
|
+
return item[column.name];
|
|
7743
|
+
}
|
|
7744
|
+
let result = column.format(item, column);
|
|
7745
|
+
if (!(result instanceof Promise)) {
|
|
7746
|
+
return result;
|
|
7747
|
+
}
|
|
7748
|
+
if (_.isNil(this.asyncPipe)) {
|
|
7749
|
+
this.asyncPipe = new AsyncPipe(this.detection);
|
|
7750
|
+
}
|
|
7751
|
+
return this.asyncPipe.transform(result);
|
|
7752
|
+
}
|
|
7753
|
+
destroy() {
|
|
7754
|
+
if (this.isDestroyed) {
|
|
7755
|
+
return;
|
|
7756
|
+
}
|
|
7757
|
+
super.destroy();
|
|
7758
|
+
if (!_.isNil(this.asyncPipe)) {
|
|
7759
|
+
this.asyncPipe.ngOnDestroy();
|
|
7760
|
+
this.asyncPipe = null;
|
|
7761
|
+
}
|
|
7762
|
+
this.detection = null;
|
|
7751
7763
|
}
|
|
7752
7764
|
}
|
|
7753
|
-
CdkTableCellValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7765
|
+
CdkTableCellValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7754
7766
|
CdkTableCellValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, name: "viCdkTableCellValue" });
|
|
7755
7767
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, decorators: [{
|
|
7756
7768
|
type: Pipe,
|
|
7757
7769
|
args: [{
|
|
7758
7770
|
name: 'viCdkTableCellValue'
|
|
7759
7771
|
}]
|
|
7760
|
-
}] });
|
|
7772
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
7761
7773
|
|
|
7762
7774
|
class CdkTableRowClassNamePipe {
|
|
7763
7775
|
// --------------------------------------------------------------------------
|
|
@@ -7833,7 +7845,7 @@ class CdkTablePaginableComponent extends CdkTableBaseComponent {
|
|
|
7833
7845
|
}
|
|
7834
7846
|
}
|
|
7835
7847
|
CdkTablePaginableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7836
|
-
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$
|
|
7848
|
+
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 } });
|
|
7837
7849
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableComponent, decorators: [{
|
|
7838
7850
|
type: Component,
|
|
7839
7851
|
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" }]
|
|
@@ -7853,7 +7865,7 @@ class CdkTableFilterableComponent extends CdkTableBaseComponent {
|
|
|
7853
7865
|
}
|
|
7854
7866
|
}
|
|
7855
7867
|
CdkTableFilterableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableFilterableComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7856
|
-
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$
|
|
7868
|
+
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 } });
|
|
7857
7869
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableFilterableComponent, decorators: [{
|
|
7858
7870
|
type: Component,
|
|
7859
7871
|
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" }]
|
|
@@ -7871,7 +7883,7 @@ class CdkTablePaginableBookmarkComponent extends CdkTableBaseComponent {
|
|
|
7871
7883
|
}
|
|
7872
7884
|
}
|
|
7873
7885
|
CdkTablePaginableBookmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableBookmarkComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7874
|
-
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$
|
|
7886
|
+
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 } });
|
|
7875
7887
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableBookmarkComponent, decorators: [{
|
|
7876
7888
|
type: Component,
|
|
7877
7889
|
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" }]
|
|
@@ -8531,7 +8543,7 @@ class LoginGuard extends LoginRequireResolver {
|
|
|
8531
8543
|
//
|
|
8532
8544
|
// --------------------------------------------------------------------------
|
|
8533
8545
|
LoginGuard.redirectUrl = '/login';
|
|
8534
|
-
LoginGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8546
|
+
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 });
|
|
8535
8547
|
LoginGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, providedIn: 'root' });
|
|
8536
8548
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, decorators: [{
|
|
8537
8549
|
type: Injectable,
|
|
@@ -8540,7 +8552,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8540
8552
|
return [{ type: undefined, decorators: [{
|
|
8541
8553
|
type: Inject,
|
|
8542
8554
|
args: [LoginBaseService]
|
|
8543
|
-
}] }, { type: i1$
|
|
8555
|
+
}] }, { type: i1$8.Router }];
|
|
8544
8556
|
} });
|
|
8545
8557
|
|
|
8546
8558
|
class LoginNotGuard extends LoginRequireResolver {
|
|
@@ -8568,7 +8580,7 @@ class LoginNotGuard extends LoginRequireResolver {
|
|
|
8568
8580
|
//
|
|
8569
8581
|
// --------------------------------------------------------------------------
|
|
8570
8582
|
LoginNotGuard.redirectUrl = '/';
|
|
8571
|
-
LoginNotGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8583
|
+
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 });
|
|
8572
8584
|
LoginNotGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
|
|
8573
8585
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, decorators: [{
|
|
8574
8586
|
type: Injectable,
|
|
@@ -8577,7 +8589,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8577
8589
|
return [{ type: undefined, decorators: [{
|
|
8578
8590
|
type: Inject,
|
|
8579
8591
|
args: [LoginBaseService]
|
|
8580
|
-
}] }, { type: i1$
|
|
8592
|
+
}] }, { type: i1$8.Router }];
|
|
8581
8593
|
} });
|
|
8582
8594
|
|
|
8583
8595
|
class LoginIfCanGuard extends LoginGuard {
|
|
@@ -8625,7 +8637,7 @@ class LoginIfCanGuard extends LoginGuard {
|
|
|
8625
8637
|
});
|
|
8626
8638
|
}
|
|
8627
8639
|
}
|
|
8628
|
-
LoginIfCanGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8640
|
+
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 });
|
|
8629
8641
|
LoginIfCanGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
|
|
8630
8642
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, decorators: [{
|
|
8631
8643
|
type: Injectable,
|
|
@@ -8634,7 +8646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8634
8646
|
return [{ type: undefined, decorators: [{
|
|
8635
8647
|
type: Inject,
|
|
8636
8648
|
args: [LoginBaseService]
|
|
8637
|
-
}] }, { type: i1$
|
|
8649
|
+
}] }, { type: i1$8.Router }];
|
|
8638
8650
|
} });
|
|
8639
8651
|
|
|
8640
8652
|
class LoginResolver extends LoginRequireResolver {
|
|
@@ -9437,12 +9449,12 @@ BootstrapBreakpointService.DEFAULT_MD = 768;
|
|
|
9437
9449
|
BootstrapBreakpointService.DEFAULT_LG = 992;
|
|
9438
9450
|
BootstrapBreakpointService.DEFAULT_XL = 1200;
|
|
9439
9451
|
BootstrapBreakpointService.DEFAULT_XXL = 1400;
|
|
9440
|
-
BootstrapBreakpointService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, deps: [{ token: i1$
|
|
9452
|
+
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 });
|
|
9441
9453
|
BootstrapBreakpointService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, providedIn: 'root' });
|
|
9442
9454
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, decorators: [{
|
|
9443
9455
|
type: Injectable,
|
|
9444
9456
|
args: [{ providedIn: 'root' }]
|
|
9445
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
9457
|
+
}], ctorParameters: function () { return [{ type: i1$9.BreakpointObserver }]; } });
|
|
9446
9458
|
var BootstrapBreakpointServiceEvent;
|
|
9447
9459
|
(function (BootstrapBreakpointServiceEvent) {
|
|
9448
9460
|
BootstrapBreakpointServiceEvent["CHANGED"] = "CHANGED";
|
|
@@ -9695,7 +9707,7 @@ class UserBaseService extends DestroyableContainer {
|
|
|
9695
9707
|
if (this.login.isLoggedIn) {
|
|
9696
9708
|
this.loginedHandler();
|
|
9697
9709
|
}
|
|
9698
|
-
this.login.events.pipe(takeUntil
|
|
9710
|
+
this.login.events.pipe(takeUntil(this.destroyed)).subscribe(data => {
|
|
9699
9711
|
if (data.type === LoginBaseServiceEvent.LOGIN_COMPLETE) {
|
|
9700
9712
|
this.loginedHandler();
|
|
9701
9713
|
}
|
|
@@ -9758,13 +9770,13 @@ class UserBaseService extends DestroyableContainer {
|
|
|
9758
9770
|
return this.observer.asObservable();
|
|
9759
9771
|
}
|
|
9760
9772
|
get logined() {
|
|
9761
|
-
return this.events.pipe(filter
|
|
9773
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.LOGINED), map(item => item.data));
|
|
9762
9774
|
}
|
|
9763
9775
|
get changed() {
|
|
9764
|
-
return this.events.pipe(filter
|
|
9776
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.CHANGED), map(item => item.data));
|
|
9765
9777
|
}
|
|
9766
9778
|
get logouted() {
|
|
9767
|
-
return this.events.pipe(filter
|
|
9779
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.LOGOUTED), map(() => null));
|
|
9768
9780
|
}
|
|
9769
9781
|
get hasUser() {
|
|
9770
9782
|
return !_.isNil(this._user);
|
|
@@ -10011,7 +10023,7 @@ class TransportLazyModule {
|
|
|
10011
10023
|
}
|
|
10012
10024
|
}
|
|
10013
10025
|
|
|
10014
|
-
|
|
10026
|
+
//
|
|
10015
10027
|
|
|
10016
10028
|
/**
|
|
10017
10029
|
* Generated bundle index. Do not edit.
|