@ts-core/angular 13.0.64 → 13.1.1
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 +8 -3
- 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 +6 -0
- 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 +42 -4
- 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 +19 -0
- 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 +29 -25
- 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 +171 -133
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +171 -133
- 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 +2 -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
13
|
import { CommonModule, 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
|
// --------------------------------------------------------------------------
|
|
@@ -1483,6 +1465,24 @@ const APPLICATION_INJECTOR = (value) => {
|
|
|
1483
1465
|
return applicationInjector;
|
|
1484
1466
|
};
|
|
1485
1467
|
|
|
1468
|
+
class WindowClosedError extends ExtendedError {
|
|
1469
|
+
// --------------------------------------------------------------------------
|
|
1470
|
+
//
|
|
1471
|
+
// Constructor
|
|
1472
|
+
//
|
|
1473
|
+
// --------------------------------------------------------------------------
|
|
1474
|
+
constructor(message = WindowClosedError.MESSAGE, code = WindowClosedError.CODE) {
|
|
1475
|
+
super(message, code);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
// --------------------------------------------------------------------------
|
|
1479
|
+
//
|
|
1480
|
+
// Static Methods
|
|
1481
|
+
//
|
|
1482
|
+
// --------------------------------------------------------------------------
|
|
1483
|
+
WindowClosedError.CODE = ExtendedError.DEFAULT_ERROR_CODE;
|
|
1484
|
+
WindowClosedError.MESSAGE = 'Window was closed';
|
|
1485
|
+
|
|
1486
1486
|
class AssetBackgroundDirective extends Destroyable {
|
|
1487
1487
|
// --------------------------------------------------------------------------
|
|
1488
1488
|
//
|
|
@@ -1960,7 +1960,7 @@ class AspectRatioResizeDirective extends DestroyableContainer {
|
|
|
1960
1960
|
ngAfterViewInit() {
|
|
1961
1961
|
this.sensor = new ResizeManager(this.element);
|
|
1962
1962
|
this.sensor.changed
|
|
1963
|
-
.pipe(debounceTime(AspectRatioResizeDirective.UPDATE_DELAY), takeUntil
|
|
1963
|
+
.pipe(debounceTime(AspectRatioResizeDirective.UPDATE_DELAY), takeUntil(this.destroyed))
|
|
1964
1964
|
.subscribe(() => this.commitResizeProperties());
|
|
1965
1965
|
if (_.isNaN(this.ratio)) {
|
|
1966
1966
|
this.ratio = 4 / 3;
|
|
@@ -2566,66 +2566,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2566
2566
|
args: ['focus']
|
|
2567
2567
|
}] } });
|
|
2568
2568
|
|
|
2569
|
-
class HTMLTitleDirective extends Destroyable {
|
|
2570
|
-
// --------------------------------------------------------------------------
|
|
2571
|
-
//
|
|
2572
|
-
// Constructor
|
|
2573
|
-
//
|
|
2574
|
-
// --------------------------------------------------------------------------
|
|
2575
|
-
constructor(element) {
|
|
2576
|
-
super();
|
|
2577
|
-
this.element = element;
|
|
2578
|
-
}
|
|
2579
|
-
// --------------------------------------------------------------------------
|
|
2580
|
-
//
|
|
2581
|
-
// Private Methods
|
|
2582
|
-
//
|
|
2583
|
-
// --------------------------------------------------------------------------
|
|
2584
|
-
commitValueProperties() {
|
|
2585
|
-
ViewUtil.setProperty(this.element, 'title', LanguagePipe.removeTags(this.value));
|
|
2586
|
-
}
|
|
2587
|
-
// --------------------------------------------------------------------------
|
|
2588
|
-
//
|
|
2589
|
-
// Public Methods
|
|
2590
|
-
//
|
|
2591
|
-
// --------------------------------------------------------------------------
|
|
2592
|
-
destroy() {
|
|
2593
|
-
if (this.isDestroyed) {
|
|
2594
|
-
return;
|
|
2595
|
-
}
|
|
2596
|
-
super.destroy();
|
|
2597
|
-
this._value = null;
|
|
2598
|
-
}
|
|
2599
|
-
// --------------------------------------------------------------------------
|
|
2600
|
-
//
|
|
2601
|
-
// Public Properties
|
|
2602
|
-
//
|
|
2603
|
-
// --------------------------------------------------------------------------
|
|
2604
|
-
set value(value) {
|
|
2605
|
-
if (value === this._value) {
|
|
2606
|
-
return;
|
|
2607
|
-
}
|
|
2608
|
-
this._value = value;
|
|
2609
|
-
if (!_.isNil(value)) {
|
|
2610
|
-
this.commitValueProperties();
|
|
2611
|
-
}
|
|
2612
|
-
}
|
|
2613
|
-
get value() {
|
|
2614
|
-
return this._value;
|
|
2615
|
-
}
|
|
2616
|
-
}
|
|
2617
|
-
HTMLTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2618
|
-
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 });
|
|
2619
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HTMLTitleDirective, decorators: [{
|
|
2620
|
-
type: Directive,
|
|
2621
|
-
args: [{
|
|
2622
|
-
selector: '[vi-html-title]'
|
|
2623
|
-
}]
|
|
2624
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { value: [{
|
|
2625
|
-
type: Input,
|
|
2626
|
-
args: ['vi-html-title']
|
|
2627
|
-
}] } });
|
|
2628
|
-
|
|
2629
2569
|
class LanguagePipe extends DestroyableContainer {
|
|
2630
2570
|
// --------------------------------------------------------------------------
|
|
2631
2571
|
//
|
|
@@ -2691,6 +2631,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
2691
2631
|
}]
|
|
2692
2632
|
}], ctorParameters: function () { return [{ type: i1$1.LanguageService }]; } });
|
|
2693
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
|
+
|
|
2694
2694
|
class HTMLContentTitleDirective extends Destroyable {
|
|
2695
2695
|
// --------------------------------------------------------------------------
|
|
2696
2696
|
//
|
|
@@ -2842,7 +2842,7 @@ class ScrollCheckDirective extends DestroyableContainer {
|
|
|
2842
2842
|
this.isExceedLimit = false;
|
|
2843
2843
|
this._scrollValue = element.nativeElement.scrollTop;
|
|
2844
2844
|
fromEvent(element.nativeElement, 'scroll')
|
|
2845
|
-
.pipe(debounceTime
|
|
2845
|
+
.pipe(debounceTime(DateUtil.MILISECONDS_SECOND / 10), takeUntil(this.destroyed))
|
|
2846
2846
|
.subscribe(() => {
|
|
2847
2847
|
this._scrollValue = element.nativeElement.scrollTop;
|
|
2848
2848
|
this.check();
|
|
@@ -4105,10 +4105,10 @@ class WindowImpl extends WindowBase {
|
|
|
4105
4105
|
this._backdrop = this.properties.overlay.backdropElement;
|
|
4106
4106
|
this._container = this.properties.overlay.overlayElement;
|
|
4107
4107
|
this.setProperties();
|
|
4108
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
4109
|
-
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);
|
|
4110
4110
|
this.events
|
|
4111
|
-
.pipe(filter
|
|
4111
|
+
.pipe(filter(event => event === WindowEvent.CONTENT_READY), takeUntil(this.destroyed))
|
|
4112
4112
|
.subscribe(this.updatePosition);
|
|
4113
4113
|
}
|
|
4114
4114
|
// --------------------------------------------------------------------------
|
|
@@ -5014,8 +5014,8 @@ class BottomSheetImpl extends DestroyableContainer {
|
|
|
5014
5014
|
this._container = this.properties.overlay.overlayElement;
|
|
5015
5015
|
this.setProperties();
|
|
5016
5016
|
this.elementsCreate();
|
|
5017
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
5018
|
-
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);
|
|
5019
5019
|
}
|
|
5020
5020
|
// --------------------------------------------------------------------------
|
|
5021
5021
|
//
|
|
@@ -5432,10 +5432,10 @@ class NotificationImpl extends WindowBase {
|
|
|
5432
5432
|
// Have to save for unsubscribe on destroy
|
|
5433
5433
|
this._container = this.properties.overlay.overlayElement;
|
|
5434
5434
|
this.setProperties();
|
|
5435
|
-
this.getReference().afterOpened().pipe(takeUntil
|
|
5436
|
-
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);
|
|
5437
5437
|
this.observer
|
|
5438
|
-
.pipe(filter
|
|
5438
|
+
.pipe(filter(event => event === WindowEvent.CONTENT_READY), takeUntil(this.destroyed))
|
|
5439
5439
|
.subscribe(this.updatePosition);
|
|
5440
5440
|
}
|
|
5441
5441
|
// --------------------------------------------------------------------------
|
|
@@ -6450,11 +6450,11 @@ class ThemeAssetDirective extends Destroyable {
|
|
|
6450
6450
|
}
|
|
6451
6451
|
}
|
|
6452
6452
|
}
|
|
6453
|
-
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 });
|
|
6454
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 });
|
|
6455
6455
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetDirective, decorators: [{
|
|
6456
6456
|
type: Directive
|
|
6457
|
-
}], 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: [{
|
|
6458
6458
|
type: HostListener,
|
|
6459
6459
|
args: ['error', ['$event']]
|
|
6460
6460
|
}], isSound: [{
|
|
@@ -6497,14 +6497,14 @@ class ThemeAssetBackgroundDirective extends ThemeAssetDirective {
|
|
|
6497
6497
|
ViewUtil.removeStyle(this.element, 'backgroundImage');
|
|
6498
6498
|
}
|
|
6499
6499
|
}
|
|
6500
|
-
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 });
|
|
6501
6501
|
ThemeAssetBackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetBackgroundDirective, selector: "[vi-theme-background]", usesInheritance: true, ngImport: i0 });
|
|
6502
6502
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetBackgroundDirective, decorators: [{
|
|
6503
6503
|
type: Directive,
|
|
6504
6504
|
args: [{
|
|
6505
6505
|
selector: '[vi-theme-background]'
|
|
6506
6506
|
}]
|
|
6507
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6507
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; } });
|
|
6508
6508
|
|
|
6509
6509
|
class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
6510
6510
|
// --------------------------------------------------------------------------
|
|
@@ -6527,14 +6527,14 @@ class ThemeAssetImageDirective extends ThemeAssetDirective {
|
|
|
6527
6527
|
this.element.src = null;
|
|
6528
6528
|
}
|
|
6529
6529
|
}
|
|
6530
|
-
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 });
|
|
6531
6531
|
ThemeAssetImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ThemeAssetImageDirective, selector: "[vi-theme-image]", usesInheritance: true, ngImport: i0 });
|
|
6532
6532
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeAssetImageDirective, decorators: [{
|
|
6533
6533
|
type: Directive,
|
|
6534
6534
|
args: [{
|
|
6535
6535
|
selector: '[vi-theme-image]'
|
|
6536
6536
|
}]
|
|
6537
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6537
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }, { type: i1$1.ThemeAssetService }]; } });
|
|
6538
6538
|
|
|
6539
6539
|
class ThemeToggleDirective extends Destroyable {
|
|
6540
6540
|
// --------------------------------------------------------------------------
|
|
@@ -6582,14 +6582,14 @@ class ThemeToggleDirective extends Destroyable {
|
|
|
6582
6582
|
this.theme = null;
|
|
6583
6583
|
}
|
|
6584
6584
|
}
|
|
6585
|
-
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 });
|
|
6586
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 });
|
|
6587
6587
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeToggleDirective, decorators: [{
|
|
6588
6588
|
type: Directive,
|
|
6589
6589
|
args: [{
|
|
6590
6590
|
selector: '[vi-theme-toggle]'
|
|
6591
6591
|
}]
|
|
6592
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
6592
|
+
}], ctorParameters: function () { return [{ type: i1$1.ThemeService }]; }, propDecorators: { clickHandler: [{
|
|
6593
6593
|
type: HostListener,
|
|
6594
6594
|
args: ['click', ['$event']]
|
|
6595
6595
|
}] } });
|
|
@@ -6686,14 +6686,14 @@ class ThemeStyleDirective extends Destroyable {
|
|
|
6686
6686
|
}
|
|
6687
6687
|
}
|
|
6688
6688
|
}
|
|
6689
|
-
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 });
|
|
6690
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 });
|
|
6691
6691
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleDirective, decorators: [{
|
|
6692
6692
|
type: Directive,
|
|
6693
6693
|
args: [{
|
|
6694
6694
|
selector: '[vi-theme-style]'
|
|
6695
6695
|
}]
|
|
6696
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6696
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }]; }, propDecorators: { flags: [{
|
|
6697
6697
|
type: Input
|
|
6698
6698
|
}], styleName: [{
|
|
6699
6699
|
type: Input
|
|
@@ -6789,14 +6789,14 @@ class ThemeStyleHoverDirective extends ThemeStyleDirective {
|
|
|
6789
6789
|
super.flags = value;
|
|
6790
6790
|
}
|
|
6791
6791
|
}
|
|
6792
|
-
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 });
|
|
6793
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 });
|
|
6794
6794
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ThemeStyleHoverDirective, decorators: [{
|
|
6795
6795
|
type: Directive,
|
|
6796
6796
|
args: [{
|
|
6797
6797
|
selector: '[vi-theme-style-hover]'
|
|
6798
6798
|
}]
|
|
6799
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$
|
|
6799
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1$1.ThemeService }]; }, propDecorators: { key: [{
|
|
6800
6800
|
type: Input,
|
|
6801
6801
|
args: ['vi-theme-style-hover']
|
|
6802
6802
|
}], styleName: [{
|
|
@@ -7228,7 +7228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7228
7228
|
class MenuListComponent extends DestroyableContainer {
|
|
7229
7229
|
}
|
|
7230
7230
|
MenuListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
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$
|
|
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"] }] });
|
|
7232
7232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuListComponent, decorators: [{
|
|
7233
7233
|
type: Component,
|
|
7234
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" }]
|
|
@@ -7239,7 +7239,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7239
7239
|
class SelectListComponent extends DestroyableContainer {
|
|
7240
7240
|
}
|
|
7241
7241
|
SelectListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectListComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
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$
|
|
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]" }] });
|
|
7243
7243
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SelectListComponent, decorators: [{
|
|
7244
7244
|
type: Component,
|
|
7245
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" }]
|
|
@@ -7302,7 +7302,7 @@ class TabGroupComponent extends DestroyableContainer {
|
|
|
7302
7302
|
}
|
|
7303
7303
|
}
|
|
7304
7304
|
TabGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
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$
|
|
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"] }] });
|
|
7306
7306
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TabGroupComponent, decorators: [{
|
|
7307
7307
|
type: Component,
|
|
7308
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" }]
|
|
@@ -7723,23 +7723,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
7723
7723
|
}] });
|
|
7724
7724
|
|
|
7725
7725
|
class CdkTableCellValuePipe {
|
|
7726
|
+
// --------------------------------------------------------------------------
|
|
7727
|
+
//
|
|
7728
|
+
// Constructor
|
|
7729
|
+
//
|
|
7730
|
+
// --------------------------------------------------------------------------
|
|
7731
|
+
constructor(detection) {
|
|
7732
|
+
this.detection = detection;
|
|
7733
|
+
}
|
|
7726
7734
|
// --------------------------------------------------------------------------
|
|
7727
7735
|
//
|
|
7728
7736
|
// Public Methods
|
|
7729
7737
|
//
|
|
7730
7738
|
// --------------------------------------------------------------------------
|
|
7731
7739
|
transform(item, column) {
|
|
7732
|
-
|
|
7740
|
+
if (!_.isNil(this.value)) {
|
|
7741
|
+
return this.value;
|
|
7742
|
+
}
|
|
7743
|
+
let value = CdkTableCellValuePipe.PENDING_SYMBOL;
|
|
7744
|
+
if (_.isNil(column.format)) {
|
|
7745
|
+
value = this.value = item[column.name];
|
|
7746
|
+
return value;
|
|
7747
|
+
}
|
|
7748
|
+
let result = column.format(item, column);
|
|
7749
|
+
if (!(result instanceof Promise)) {
|
|
7750
|
+
value = this.value = result;
|
|
7751
|
+
return value;
|
|
7752
|
+
}
|
|
7753
|
+
result
|
|
7754
|
+
.then(item => {
|
|
7755
|
+
value = this.value = item;
|
|
7756
|
+
})
|
|
7757
|
+
.catch(error => {
|
|
7758
|
+
value = this.value = CdkTableCellValuePipe.ERROR_SYMBOL;
|
|
7759
|
+
})
|
|
7760
|
+
.finally(() => {
|
|
7761
|
+
this.detection.markForCheck();
|
|
7762
|
+
});
|
|
7763
|
+
return value;
|
|
7733
7764
|
}
|
|
7734
7765
|
}
|
|
7735
|
-
|
|
7766
|
+
// --------------------------------------------------------------------------
|
|
7767
|
+
//
|
|
7768
|
+
// Static Properties
|
|
7769
|
+
//
|
|
7770
|
+
// --------------------------------------------------------------------------
|
|
7771
|
+
CdkTableCellValuePipe.ERROR_SYMBOL = 'x';
|
|
7772
|
+
CdkTableCellValuePipe.PENDING_SYMBOL = '-';
|
|
7773
|
+
CdkTableCellValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
7736
7774
|
CdkTableCellValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, name: "viCdkTableCellValue" });
|
|
7737
7775
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableCellValuePipe, decorators: [{
|
|
7738
7776
|
type: Pipe,
|
|
7739
7777
|
args: [{
|
|
7740
7778
|
name: 'viCdkTableCellValue'
|
|
7741
7779
|
}]
|
|
7742
|
-
}] });
|
|
7780
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
7743
7781
|
|
|
7744
7782
|
class CdkTableRowClassNamePipe {
|
|
7745
7783
|
// --------------------------------------------------------------------------
|
|
@@ -7815,7 +7853,7 @@ class CdkTablePaginableComponent extends CdkTableBaseComponent {
|
|
|
7815
7853
|
}
|
|
7816
7854
|
}
|
|
7817
7855
|
CdkTablePaginableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7818
|
-
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$
|
|
7856
|
+
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 } });
|
|
7819
7857
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableComponent, decorators: [{
|
|
7820
7858
|
type: Component,
|
|
7821
7859
|
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" }]
|
|
@@ -7835,7 +7873,7 @@ class CdkTableFilterableComponent extends CdkTableBaseComponent {
|
|
|
7835
7873
|
}
|
|
7836
7874
|
}
|
|
7837
7875
|
CdkTableFilterableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableFilterableComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7838
|
-
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$
|
|
7876
|
+
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 } });
|
|
7839
7877
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTableFilterableComponent, decorators: [{
|
|
7840
7878
|
type: Component,
|
|
7841
7879
|
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" }]
|
|
@@ -7853,7 +7891,7 @@ class CdkTablePaginableBookmarkComponent extends CdkTableBaseComponent {
|
|
|
7853
7891
|
}
|
|
7854
7892
|
}
|
|
7855
7893
|
CdkTablePaginableBookmarkComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableBookmarkComponent, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
7856
|
-
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$
|
|
7894
|
+
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 } });
|
|
7857
7895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CdkTablePaginableBookmarkComponent, decorators: [{
|
|
7858
7896
|
type: Component,
|
|
7859
7897
|
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" }]
|
|
@@ -8513,7 +8551,7 @@ class LoginGuard extends LoginRequireResolver {
|
|
|
8513
8551
|
//
|
|
8514
8552
|
// --------------------------------------------------------------------------
|
|
8515
8553
|
LoginGuard.redirectUrl = '/login';
|
|
8516
|
-
LoginGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8554
|
+
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 });
|
|
8517
8555
|
LoginGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, providedIn: 'root' });
|
|
8518
8556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginGuard, decorators: [{
|
|
8519
8557
|
type: Injectable,
|
|
@@ -8522,7 +8560,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8522
8560
|
return [{ type: undefined, decorators: [{
|
|
8523
8561
|
type: Inject,
|
|
8524
8562
|
args: [LoginBaseService]
|
|
8525
|
-
}] }, { type: i1$
|
|
8563
|
+
}] }, { type: i1$8.Router }];
|
|
8526
8564
|
} });
|
|
8527
8565
|
|
|
8528
8566
|
class LoginNotGuard extends LoginRequireResolver {
|
|
@@ -8550,7 +8588,7 @@ class LoginNotGuard extends LoginRequireResolver {
|
|
|
8550
8588
|
//
|
|
8551
8589
|
// --------------------------------------------------------------------------
|
|
8552
8590
|
LoginNotGuard.redirectUrl = '/';
|
|
8553
|
-
LoginNotGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8591
|
+
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 });
|
|
8554
8592
|
LoginNotGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, providedIn: 'root' });
|
|
8555
8593
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginNotGuard, decorators: [{
|
|
8556
8594
|
type: Injectable,
|
|
@@ -8559,7 +8597,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8559
8597
|
return [{ type: undefined, decorators: [{
|
|
8560
8598
|
type: Inject,
|
|
8561
8599
|
args: [LoginBaseService]
|
|
8562
|
-
}] }, { type: i1$
|
|
8600
|
+
}] }, { type: i1$8.Router }];
|
|
8563
8601
|
} });
|
|
8564
8602
|
|
|
8565
8603
|
class LoginIfCanGuard extends LoginGuard {
|
|
@@ -8607,7 +8645,7 @@ class LoginIfCanGuard extends LoginGuard {
|
|
|
8607
8645
|
});
|
|
8608
8646
|
}
|
|
8609
8647
|
}
|
|
8610
|
-
LoginIfCanGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, deps: [{ token: LoginBaseService }, { token: i1$
|
|
8648
|
+
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 });
|
|
8611
8649
|
LoginIfCanGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, providedIn: 'root' });
|
|
8612
8650
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LoginIfCanGuard, decorators: [{
|
|
8613
8651
|
type: Injectable,
|
|
@@ -8616,7 +8654,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8616
8654
|
return [{ type: undefined, decorators: [{
|
|
8617
8655
|
type: Inject,
|
|
8618
8656
|
args: [LoginBaseService]
|
|
8619
|
-
}] }, { type: i1$
|
|
8657
|
+
}] }, { type: i1$8.Router }];
|
|
8620
8658
|
} });
|
|
8621
8659
|
|
|
8622
8660
|
class LoginResolver extends LoginRequireResolver {
|
|
@@ -9419,12 +9457,12 @@ BootstrapBreakpointService.DEFAULT_MD = 768;
|
|
|
9419
9457
|
BootstrapBreakpointService.DEFAULT_LG = 992;
|
|
9420
9458
|
BootstrapBreakpointService.DEFAULT_XL = 1200;
|
|
9421
9459
|
BootstrapBreakpointService.DEFAULT_XXL = 1400;
|
|
9422
|
-
BootstrapBreakpointService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, deps: [{ token: i1$
|
|
9460
|
+
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 });
|
|
9423
9461
|
BootstrapBreakpointService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, providedIn: 'root' });
|
|
9424
9462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BootstrapBreakpointService, decorators: [{
|
|
9425
9463
|
type: Injectable,
|
|
9426
9464
|
args: [{ providedIn: 'root' }]
|
|
9427
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
9465
|
+
}], ctorParameters: function () { return [{ type: i1$9.BreakpointObserver }]; } });
|
|
9428
9466
|
var BootstrapBreakpointServiceEvent;
|
|
9429
9467
|
(function (BootstrapBreakpointServiceEvent) {
|
|
9430
9468
|
BootstrapBreakpointServiceEvent["CHANGED"] = "CHANGED";
|
|
@@ -9677,7 +9715,7 @@ class UserBaseService extends DestroyableContainer {
|
|
|
9677
9715
|
if (this.login.isLoggedIn) {
|
|
9678
9716
|
this.loginedHandler();
|
|
9679
9717
|
}
|
|
9680
|
-
this.login.events.pipe(takeUntil
|
|
9718
|
+
this.login.events.pipe(takeUntil(this.destroyed)).subscribe(data => {
|
|
9681
9719
|
if (data.type === LoginBaseServiceEvent.LOGIN_COMPLETE) {
|
|
9682
9720
|
this.loginedHandler();
|
|
9683
9721
|
}
|
|
@@ -9740,13 +9778,13 @@ class UserBaseService extends DestroyableContainer {
|
|
|
9740
9778
|
return this.observer.asObservable();
|
|
9741
9779
|
}
|
|
9742
9780
|
get logined() {
|
|
9743
|
-
return this.events.pipe(filter
|
|
9781
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.LOGINED), map(item => item.data));
|
|
9744
9782
|
}
|
|
9745
9783
|
get changed() {
|
|
9746
|
-
return this.events.pipe(filter
|
|
9784
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.CHANGED), map(item => item.data));
|
|
9747
9785
|
}
|
|
9748
9786
|
get logouted() {
|
|
9749
|
-
return this.events.pipe(filter
|
|
9787
|
+
return this.events.pipe(filter(item => item.type === UserBaseServiceEvent.LOGOUTED), map(() => null));
|
|
9750
9788
|
}
|
|
9751
9789
|
get hasUser() {
|
|
9752
9790
|
return !_.isNil(this._user);
|
|
@@ -9993,11 +10031,11 @@ class TransportLazyModule {
|
|
|
9993
10031
|
}
|
|
9994
10032
|
}
|
|
9995
10033
|
|
|
9996
|
-
|
|
10034
|
+
//
|
|
9997
10035
|
|
|
9998
10036
|
/**
|
|
9999
10037
|
* Generated bundle index. Do not edit.
|
|
10000
10038
|
*/
|
|
10001
10039
|
|
|
10002
|
-
export { APPLICATION_INJECTOR, ApplicationBaseComponent, ApplicationComponent, AspectRatioResizeDirective, AssetBackgroundDirective, AssetBackgroundPipe, AssetFilePipe, AssetIconPipe, AssetImagePipe, AssetModule, AssetSoundPipe, AssetVideoPipe, AutoScrollBottomDirective, BootstrapBreakpoint, BootstrapBreakpointService, BootstrapBreakpointServiceEvent, BottomSheetBaseComponent, BottomSheetService, COOKIE_OPTIONS, CamelCasePipe, CanDeactivateGuard, CdkTableBaseComponent, CdkTableCellClassNamePipe, CdkTableCellStyleNamePipe, CdkTableCellValuePipe, CdkTableColumnClassNamePipe, CdkTableColumnStyleNamePipe, CdkTableDataSource, CdkTableFilterableComponent, CdkTableFilterableMapCollection, CdkTablePaginableBookmarkComponent, CdkTablePaginableBookmarkMapCollection, CdkTablePaginableComponent, CdkTablePaginableMapCollection, CdkTableRowClassNamePipe, CdkTableRowStyleNamePipe, ClickToCopyDirective, ClickToSelectDirective, CookieModule, CookieOptions, CookieService, Direction, FinancePipe, FocusDirective, FocusManager, FormElementAsync, FormElementSync, HTMLContentTitleDirective, HTMLTitleDirective, INotification, INotificationContent, IUser, IVICommonOptions, IWindow, IWindowContent, InfiniteScrollDirective, LANGUAGE_OPTIONS, LanguageDirective, LanguageHasDirective, LanguageMatPaginatorIntl, LanguageModule, LanguageMomentDateAdapter, LanguagePipe, LanguagePipeHas, LanguagePipeHasPure, LanguagePipePure, LanguageRequireResolver, LanguageResolver, LanguageSelectorComponent, LazyModuleLoader, ListItem, ListItems, LoginBaseService, LoginBaseServiceEvent, LoginGuard, LoginIfCanGuard, LoginNotGuard, LoginRequireResolver, LoginResolver, MenuItem, MenuItemBase, MenuItems, MenuListComponent, MenuTriggerForDirective, MessageBaseComponent, MomentDateAdaptivePipe, MomentDateFromNowPipe, MomentDatePipe, MomentTimePipe, NavigationMenuItem, NgModelErrorPipe, NotificationBaseComponent, NotificationComponent, NotificationConfig, NotificationEvent, NotificationFactory, NotificationModule, NotificationService, NotificationServiceEvent, PipeBaseService, PrettifyPipe, PropertiesManager, QuestionEvent, QuestionManager, QuestionMode, ResizeDirective, ResizeManager, RouterBaseService, SanitizePipe, ScrollCheckDirective, ScrollDirective, SelectListComponent, SelectListItem, SelectListItems, SelectOnFocusDirective, ShellBaseComponent, StartCasePipe, THEME_OPTIONS, TabGroupComponent, ThemeAssetBackgroundDirective, ThemeAssetDirective, ThemeAssetImageDirective, ThemeModule, ThemeStyleDirective, ThemeStyleHoverDirective, ThemeToggleDirective, TimePipe, TransportLazy, TransportLazyModule, TransportLazyModuleLoadedEvent, TruncatePipe, UserBaseService, UserBaseServiceEvent, VICommonModule, VIComponentModule, VI_ANGULAR_OPTIONS, ViewUtil, WINDOW_CONTENT_CONTAINER, WindowAlign, WindowBase, WindowBaseComponent, WindowCloseElementComponent, WindowConfig, WindowDragAreaDirective, WindowElement, WindowEvent, WindowExpandElementComponent, WindowFactory, WindowImpl, WindowMinimizeElementComponent, WindowModule, WindowQuestionBaseComponent, WindowQuestionComponent, WindowResizeElementComponent, WindowService, WindowServiceEvent, cookieServiceFactory, languageServiceFactory, loggerServiceFactory, notificationServiceFactory, themeAssetServiceFactory, themeServiceFactory };
|
|
10040
|
+
export { APPLICATION_INJECTOR, ApplicationBaseComponent, ApplicationComponent, AspectRatioResizeDirective, AssetBackgroundDirective, AssetBackgroundPipe, AssetFilePipe, AssetIconPipe, AssetImagePipe, AssetModule, AssetSoundPipe, AssetVideoPipe, AutoScrollBottomDirective, BootstrapBreakpoint, BootstrapBreakpointService, BootstrapBreakpointServiceEvent, BottomSheetBaseComponent, BottomSheetService, COOKIE_OPTIONS, CamelCasePipe, CanDeactivateGuard, CdkTableBaseComponent, CdkTableCellClassNamePipe, CdkTableCellStyleNamePipe, CdkTableCellValuePipe, CdkTableColumnClassNamePipe, CdkTableColumnStyleNamePipe, CdkTableDataSource, CdkTableFilterableComponent, CdkTableFilterableMapCollection, CdkTablePaginableBookmarkComponent, CdkTablePaginableBookmarkMapCollection, CdkTablePaginableComponent, CdkTablePaginableMapCollection, CdkTableRowClassNamePipe, CdkTableRowStyleNamePipe, ClickToCopyDirective, ClickToSelectDirective, CookieModule, CookieOptions, CookieService, Direction, FinancePipe, FocusDirective, FocusManager, FormElementAsync, FormElementSync, HTMLContentTitleDirective, HTMLTitleDirective, INotification, INotificationContent, IUser, IVICommonOptions, IWindow, IWindowContent, InfiniteScrollDirective, LANGUAGE_OPTIONS, LanguageDirective, LanguageHasDirective, LanguageMatPaginatorIntl, LanguageModule, LanguageMomentDateAdapter, LanguagePipe, LanguagePipeHas, LanguagePipeHasPure, LanguagePipePure, LanguageRequireResolver, LanguageResolver, LanguageSelectorComponent, LazyModuleLoader, ListItem, ListItems, LoginBaseService, LoginBaseServiceEvent, LoginGuard, LoginIfCanGuard, LoginNotGuard, LoginRequireResolver, LoginResolver, MenuItem, MenuItemBase, MenuItems, MenuListComponent, MenuTriggerForDirective, MessageBaseComponent, MomentDateAdaptivePipe, MomentDateFromNowPipe, MomentDatePipe, MomentTimePipe, NavigationMenuItem, NgModelErrorPipe, NotificationBaseComponent, NotificationComponent, NotificationConfig, NotificationEvent, NotificationFactory, NotificationModule, NotificationService, NotificationServiceEvent, PipeBaseService, PrettifyPipe, PropertiesManager, QuestionEvent, QuestionManager, QuestionMode, ResizeDirective, ResizeManager, RouterBaseService, SanitizePipe, ScrollCheckDirective, ScrollDirective, SelectListComponent, SelectListItem, SelectListItems, SelectOnFocusDirective, ShellBaseComponent, StartCasePipe, THEME_OPTIONS, TabGroupComponent, ThemeAssetBackgroundDirective, ThemeAssetDirective, ThemeAssetImageDirective, ThemeModule, ThemeStyleDirective, ThemeStyleHoverDirective, ThemeToggleDirective, TimePipe, TransportLazy, TransportLazyModule, TransportLazyModuleLoadedEvent, TruncatePipe, UserBaseService, UserBaseServiceEvent, VICommonModule, VIComponentModule, VI_ANGULAR_OPTIONS, ViewUtil, WINDOW_CONTENT_CONTAINER, WindowAlign, WindowBase, WindowBaseComponent, WindowCloseElementComponent, WindowClosedError, WindowConfig, WindowDragAreaDirective, WindowElement, WindowEvent, WindowExpandElementComponent, WindowFactory, WindowImpl, WindowMinimizeElementComponent, WindowModule, WindowQuestionBaseComponent, WindowQuestionComponent, WindowResizeElementComponent, WindowService, WindowServiceEvent, cookieServiceFactory, languageServiceFactory, loggerServiceFactory, notificationServiceFactory, themeAssetServiceFactory, themeServiceFactory };
|
|
10003
10041
|
//# sourceMappingURL=ts-core-angular.mjs.map
|