@ts-core/angular 15.0.1 → 15.0.3
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 +10 -13
- package/application/ApplicationComponent.d.ts +1 -3
- package/directive/ResizeDirective.d.ts +2 -2
- package/directive/SelectOnFocusDirective.d.ts +1 -1
- package/esm2020/VICommonModule.mjs +4 -14
- package/esm2020/application/ApplicationComponent.mjs +2 -3
- package/esm2020/application/MessageBaseComponent.mjs +1 -1
- package/esm2020/directive/AutoScrollBottomDirective.mjs +2 -2
- package/esm2020/directive/ResizeDirective.mjs +5 -5
- package/esm2020/directive/SelectOnFocusDirective.mjs +2 -2
- package/esm2020/language/LanguageModule.mjs +1 -8
- package/esm2020/manager/ResizeManager.mjs +3 -11
- package/esm2020/pipe/CamelCasePipe.mjs +4 -12
- package/esm2020/pipe/StartCasePipe.mjs +4 -5
- package/esm2020/pipe/TimePipe.mjs +3 -2
- package/esm2020/pipe/TruncatePipe.mjs +3 -5
- package/esm2020/public-api.mjs +1 -68
- package/esm2020/service/PipeBaseService.mjs +1 -1
- package/esm2020/theme/ThemeAssetDirective.mjs +1 -1
- package/esm2020/theme/ThemeStyleDirective.mjs +2 -2
- package/esm2020/util/ViewUtil.mjs +1 -1
- package/fesm2015/ts-core-angular.mjs +3091 -7551
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +3057 -7515
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/htdocs/common.js +3 -3
- package/manager/ResizeManager.d.ts +1 -1
- package/package.json +3 -10
- package/pipe/CamelCasePipe.d.ts +0 -1
- package/public-api.d.ts +0 -60
- package/style/_core.scss +120 -0
- package/style/_filter.scss +14 -0
- package/style/_mouse.scss +27 -0
- package/style/_scroll.scss +20 -0
- package/style/_text.scss +20 -0
- package/application/ShellBaseComponent.d.ts +0 -20
- package/bottomSheet/BottomSheetImpl.d.ts +0 -77
- package/bottomSheet/BottomSheetModule.d.ts +0 -13
- package/bottomSheet/BottomSheetService.d.ts +0 -31
- package/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -13
- package/component/VIComponentModule.d.ts +0 -33
- package/component/cdk-table/CdkTableBaseComponent.d.ts +0 -60
- package/component/cdk-table/CdkTableDataSource.d.ts +0 -13
- package/component/cdk-table/CdkTableFilterableMapCollection.d.ts +0 -14
- package/component/cdk-table/CdkTablePaginableBookmarkMapCollection.d.ts +0 -11
- package/component/cdk-table/CdkTablePaginableMapCollection.d.ts +0 -13
- package/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.d.ts +0 -9
- package/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.d.ts +0 -18
- package/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.d.ts +0 -9
- package/component/cdk-table/cell/CdkTableCellClassNamePipe.d.ts +0 -8
- package/component/cdk-table/cell/CdkTableCellStyleNamePipe.d.ts +0 -10
- package/component/cdk-table/cell/CdkTableCellValuePipe.d.ts +0 -17
- package/component/cdk-table/cell/CdkTableCellValuePipePure.d.ts +0 -8
- package/component/cdk-table/column/CdkTableColumnClassNamePipe.d.ts +0 -8
- package/component/cdk-table/column/CdkTableColumnStyleNamePipe.d.ts +0 -10
- package/component/cdk-table/column/ICdkTableColumn.d.ts +0 -25
- package/component/cdk-table/row/CdkTableRowClassNamePipe.d.ts +0 -8
- package/component/cdk-table/row/CdkTableRowStyleNamePipe.d.ts +0 -10
- package/component/cdk-table/row/ICdkTableRow.d.ts +0 -8
- package/component/language/language-selector/language-selector.component.d.ts +0 -19
- package/component/menu-list/menu-list.component.d.ts +0 -9
- package/component/select-list/select-list.component.d.ts +0 -9
- package/component/tab-group/tab-group.component.d.ts +0 -16
- package/directive/MenuTriggerForDirective.d.ts +0 -11
- package/error/WindowClosedError.d.ts +0 -6
- package/esm2020/application/ShellBaseComponent.mjs +0 -78
- package/esm2020/bottomSheet/BottomSheetImpl.mjs +0 -273
- package/esm2020/bottomSheet/BottomSheetModule.mjs +0 -37
- package/esm2020/bottomSheet/BottomSheetService.mjs +0 -107
- package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +0 -59
- package/esm2020/component/VIComponentModule.mjs +0 -117
- package/esm2020/component/cdk-table/CdkTableBaseComponent.mjs +0 -192
- package/esm2020/component/cdk-table/CdkTableDataSource.mjs +0 -58
- package/esm2020/component/cdk-table/CdkTableFilterableMapCollection.mjs +0 -94
- package/esm2020/component/cdk-table/CdkTablePaginableBookmarkMapCollection.mjs +0 -49
- package/esm2020/component/cdk-table/CdkTablePaginableMapCollection.mjs +0 -57
- package/esm2020/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.mjs +0 -37
- package/esm2020/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.mjs +0 -65
- package/esm2020/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.mjs +0 -37
- package/esm2020/component/cdk-table/cell/CdkTableCellClassNamePipe.mjs +0 -25
- package/esm2020/component/cdk-table/cell/CdkTableCellStyleNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipe.mjs +0 -77
- package/esm2020/component/cdk-table/cell/CdkTableCellValuePipePure.mjs +0 -22
- package/esm2020/component/cdk-table/column/CdkTableColumnClassNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/column/CdkTableColumnStyleNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/column/ICdkTableColumn.mjs +0 -2
- package/esm2020/component/cdk-table/row/CdkTableRowClassNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/row/CdkTableRowStyleNamePipe.mjs +0 -22
- package/esm2020/component/cdk-table/row/ICdkTableRow.mjs +0 -2
- package/esm2020/component/language/language-selector/language-selector.component.mjs +0 -79
- package/esm2020/component/menu-list/menu-list.component.mjs +0 -16
- package/esm2020/component/select-list/select-list.component.mjs +0 -16
- package/esm2020/component/tab-group/tab-group.component.mjs +0 -71
- package/esm2020/directive/MenuTriggerForDirective.mjs +0 -53
- package/esm2020/error/WindowClosedError.mjs +0 -19
- package/esm2020/language/LanguageMatPaginatorIntl.mjs +0 -62
- package/esm2020/language/LanguageMomentDateAdapter.mjs +0 -13
- package/esm2020/notification/INotification.mjs +0 -7
- package/esm2020/notification/INotificationContent.mjs +0 -132
- package/esm2020/notification/NotificationConfig.mjs +0 -16
- package/esm2020/notification/NotificationFactory.mjs +0 -19
- package/esm2020/notification/NotificationImpl.mjs +0 -139
- package/esm2020/notification/NotificationModule.mjs +0 -53
- package/esm2020/notification/NotificationProperties.mjs +0 -2
- package/esm2020/notification/NotificationService.mjs +0 -239
- package/esm2020/notification/component/NotificationBaseComponent.mjs +0 -4
- package/esm2020/notification/component/NotificationQuestionBaseComponent.mjs +0 -50
- package/esm2020/notification/component/notification/notification.component.mjs +0 -61
- package/esm2020/service/BootstrapBreakpointService.mjs +0 -116
- package/esm2020/window/IWindow.mjs +0 -32
- package/esm2020/window/IWindowContent.mjs +0 -132
- package/esm2020/window/WindowBase.mjs +0 -168
- package/esm2020/window/WindowConfig.mjs +0 -232
- package/esm2020/window/WindowFactory.mjs +0 -27
- package/esm2020/window/WindowImpl.mjs +0 -361
- package/esm2020/window/WindowModule.mjs +0 -58
- package/esm2020/window/WindowProperties.mjs +0 -2
- package/esm2020/window/WindowService.mjs +0 -366
- package/esm2020/window/WindowServiceEvent.mjs +0 -9
- package/esm2020/window/component/WindowBaseComponent.mjs +0 -75
- package/esm2020/window/component/WindowDragAreaDirective.mjs +0 -97
- package/esm2020/window/component/WindowDragable.mjs +0 -69
- package/esm2020/window/component/WindowElement.mjs +0 -95
- package/esm2020/window/component/WindowQuestionBaseComponent.mjs +0 -17
- package/esm2020/window/component/WindowResizeable.mjs +0 -88
- package/esm2020/window/component/window-close-element/window-close-element.component.mjs +0 -55
- package/esm2020/window/component/window-expand-element/window-expand-element.component.mjs +0 -56
- package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +0 -75
- package/esm2020/window/component/window-question/window-question.component.mjs +0 -50
- package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +0 -56
- package/language/LanguageMatPaginatorIntl.d.ts +0 -20
- package/language/LanguageMomentDateAdapter.d.ts +0 -5
- package/notification/INotification.d.ts +0 -26
- package/notification/INotificationContent.d.ts +0 -31
- package/notification/NotificationConfig.d.ts +0 -13
- package/notification/NotificationFactory.d.ts +0 -11
- package/notification/NotificationImpl.d.ts +0 -38
- package/notification/NotificationModule.d.ts +0 -18
- package/notification/NotificationProperties.d.ts +0 -9
- package/notification/NotificationService.d.ts +0 -56
- package/notification/component/NotificationBaseComponent.d.ts +0 -3
- package/notification/component/NotificationQuestionBaseComponent.d.ts +0 -10
- package/notification/component/notification/notification.component.d.ts +0 -14
- package/service/BootstrapBreakpointService.d.ts +0 -45
- package/style/mat/bootstrap/_background.scss +0 -10
- package/style/mat/bootstrap/_border.scss +0 -207
- package/style/mat/bootstrap/_text.scss +0 -43
- package/style/mat/bootstrap/_variables.scss +0 -8
- package/style/mat/vi-mat-bootstrap.scss +0 -50
- package/style/mat/vi-mat.scss +0 -570
- package/style/mixin.scss +0 -69
- package/style/mouse.scss +0 -47
- package/window/IWindow.d.ts +0 -41
- package/window/IWindowContent.d.ts +0 -34
- package/window/WindowBase.d.ts +0 -33
- package/window/WindowConfig.d.ts +0 -64
- package/window/WindowFactory.d.ts +0 -12
- package/window/WindowImpl.d.ts +0 -89
- package/window/WindowModule.d.ts +0 -20
- package/window/WindowProperties.d.ts +0 -9
- package/window/WindowService.d.ts +0 -71
- package/window/WindowServiceEvent.d.ts +0 -7
- package/window/component/WindowBaseComponent.d.ts +0 -20
- package/window/component/WindowDragAreaDirective.d.ts +0 -19
- package/window/component/WindowDragable.d.ts +0 -13
- package/window/component/WindowElement.d.ts +0 -22
- package/window/component/WindowQuestionBaseComponent.d.ts +0 -5
- package/window/component/WindowResizeable.d.ts +0 -10
- package/window/component/window-close-element/window-close-element.component.d.ts +0 -12
- package/window/component/window-expand-element/window-expand-element.component.d.ts +0 -12
- package/window/component/window-minimize-element/window-minimize-element.component.d.ts +0 -15
- package/window/component/window-question/window-question.component.d.ts +0 -12
- package/window/component/window-resize-element/window-resize-element.component.d.ts +0 -12
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CdkTableDataSource } from './CdkTableDataSource';
|
|
2
|
-
import { FilterableDataSourceMapCollection } from '@ts-core/common';
|
|
3
|
-
import { Sort } from '@angular/material/sort';
|
|
4
|
-
export declare abstract class CdkTableFilterableMapCollection<U, V, T = any> extends FilterableDataSourceMapCollection<U, V, T> {
|
|
5
|
-
static getSort<U, V = any, T = any>(collection: FilterableDataSourceMapCollection<U, V, T>): Sort;
|
|
6
|
-
static applySortEvent<U, V = any>(item: FilterableDataSourceMapCollection<U, V>, event: Sort): boolean;
|
|
7
|
-
protected _table: CdkTableDataSource<U>;
|
|
8
|
-
protected initialize(): void;
|
|
9
|
-
protected getTable(): CdkTableDataSource<U>;
|
|
10
|
-
sortEventHandler(event: Sort): void;
|
|
11
|
-
protected sortFunction(first: U, second: U, event: Sort): number;
|
|
12
|
-
destroy(): void;
|
|
13
|
-
get table(): CdkTableDataSource<U>;
|
|
14
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PaginableBookmarkDataSourceMapCollection } from '@ts-core/common';
|
|
2
|
-
import { CdkTableDataSource } from './CdkTableDataSource';
|
|
3
|
-
import { Sort } from '@angular/material/sort';
|
|
4
|
-
export declare abstract class CdkTablePaginableBookmarkMapCollection<U, V> extends PaginableBookmarkDataSourceMapCollection<U, V> {
|
|
5
|
-
protected _table: CdkTableDataSource<U>;
|
|
6
|
-
protected initialize(): void;
|
|
7
|
-
protected getTable(): CdkTableDataSource<U>;
|
|
8
|
-
sortEventHandler(event: Sort): void;
|
|
9
|
-
destroy(): void;
|
|
10
|
-
get table(): CdkTableDataSource<U>;
|
|
11
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CdkTableDataSource } from './CdkTableDataSource';
|
|
2
|
-
import { PaginableDataSourceMapCollection } from '@ts-core/common';
|
|
3
|
-
import { Sort } from '@angular/material/sort';
|
|
4
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
5
|
-
export declare abstract class CdkTablePaginableMapCollection<U, V, T = any> extends PaginableDataSourceMapCollection<U, V, T> {
|
|
6
|
-
protected _table: CdkTableDataSource<U>;
|
|
7
|
-
protected initialize(): void;
|
|
8
|
-
protected getTable(): CdkTableDataSource<U>;
|
|
9
|
-
sortEventHandler(event: Sort): void;
|
|
10
|
-
pageEventHandler(event: PageEvent): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
get table(): CdkTableDataSource<U>;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CdkTableBaseComponent } from '../CdkTableBaseComponent';
|
|
2
|
-
import { CdkTableFilterableMapCollection } from '../CdkTableFilterableMapCollection';
|
|
3
|
-
import { ViewContainerRef } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CdkTableFilterableComponent<U = any, V = any> extends CdkTableBaseComponent<CdkTableFilterableMapCollection<U, V>, U, V> {
|
|
6
|
-
constructor(container: ViewContainerRef);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableFilterableComponent<any, any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkTableFilterableComponent<any, any>, "vi-cdk-table-filterable", never, {}, {}, never, ["*"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CdkTableBaseComponent } from '../CdkTableBaseComponent';
|
|
2
|
-
import { CdkTablePaginableMapCollection } from '../CdkTablePaginableMapCollection';
|
|
3
|
-
import { ViewContainerRef } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CdkTablePaginableComponent<U = any, V = any> extends CdkTableBaseComponent<CdkTablePaginableMapCollection<U, V>, U, V> {
|
|
6
|
-
protected _paginator: ICdkTablePaginatorSettings;
|
|
7
|
-
constructor(container: ViewContainerRef);
|
|
8
|
-
protected commitPaginatorProperties(): void;
|
|
9
|
-
get paginator(): ICdkTablePaginatorSettings;
|
|
10
|
-
set paginator(value: ICdkTablePaginatorSettings);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTablePaginableComponent<any, any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkTablePaginableComponent<any, any>, "vi-cdk-table-paginable", never, { "paginator": "paginator"; }, {}, never, ["*"], false, never>;
|
|
13
|
-
}
|
|
14
|
-
export interface ICdkTablePaginatorSettings {
|
|
15
|
-
pageSizes?: Array<number>;
|
|
16
|
-
hidePageSize?: boolean;
|
|
17
|
-
showFirstLastButtons?: boolean;
|
|
18
|
-
}
|
package/component/cdk-table/cdk-table-paginable-bookmark/cdk-table-paginable-bookmark.component.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CdkTableBaseComponent } from '../CdkTableBaseComponent';
|
|
2
|
-
import { ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { CdkTablePaginableBookmarkMapCollection } from '../CdkTablePaginableBookmarkMapCollection';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CdkTablePaginableBookmarkComponent<U = any, V = any> extends CdkTableBaseComponent<CdkTablePaginableBookmarkMapCollection<U, V>, U, V> {
|
|
6
|
-
constructor(container: ViewContainerRef);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTablePaginableBookmarkComponent<any, any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CdkTablePaginableBookmarkComponent<any, any>, "vi-cdk-table-paginable-bookmark", never, {}, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ICdkTableColumn } from '../column/ICdkTableColumn';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableCellClassNamePipe implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, column: ICdkTableColumn<U>): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableCellClassNamePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableCellClassNamePipe, "viCdkTableCellClassName", false>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ICdkTableColumn } from '../column/ICdkTableColumn';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableCellStyleNamePipe implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, column: ICdkTableColumn<U>): {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableCellStyleNamePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableCellStyleNamePipe, "viCdkTableCellStyleName", false>;
|
|
10
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, PipeTransform } from '@angular/core';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { CdkTableCellValue, ICdkTableColumn } from '../column/ICdkTableColumn';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CdkTableCellValuePipe<U> extends DestroyableContainer implements PipeTransform {
|
|
6
|
-
private detection;
|
|
7
|
-
static ERROR_SYMBOL: string;
|
|
8
|
-
static PENDING_SYMBOL: string;
|
|
9
|
-
private lastItem;
|
|
10
|
-
private lastColumn;
|
|
11
|
-
private lastValue;
|
|
12
|
-
constructor(detection: ChangeDetectorRef);
|
|
13
|
-
transform(item: U, column: ICdkTableColumn<U>): CdkTableCellValue<U> | Promise<CdkTableCellValue<U>>;
|
|
14
|
-
destroy(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableCellValuePipe<any>, never>;
|
|
16
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableCellValuePipe<any>, "viCdkTableCellValue", false>;
|
|
17
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { CdkTableCellValue, ICdkTableColumn } from '../column/ICdkTableColumn';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableCellValuePipePure implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, column: ICdkTableColumn<U>): CdkTableCellValue<U>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableCellValuePipePure, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableCellValuePipePure, "viCdkTableCellValuePure", false>;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ICdkTableColumn } from './ICdkTableColumn';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableColumnClassNamePipe implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, column: ICdkTableColumn<U>): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableColumnClassNamePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableColumnClassNamePipe, "viCdkTableColumnClassName", false>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ICdkTableColumn } from './ICdkTableColumn';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableColumnStyleNamePipe implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, column: ICdkTableColumn<U>): {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableColumnStyleNamePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableColumnStyleNamePipe, "viCdkTableColumnStyleName", false>;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface ICdkTableColumn<U = any> {
|
|
2
|
-
name: string;
|
|
3
|
-
className?: ICdkTableColumnClassNameFunction<U> | string;
|
|
4
|
-
styleName?: ICdkTableColumnStyleNameFunction<U>;
|
|
5
|
-
format?: ICdkTableCellValueFunction<U>;
|
|
6
|
-
cellStyleName?: ICdkTableColumnStyleNameFunction<U>;
|
|
7
|
-
cellClassName?: ICdkTableCellClassNameFunction<U> | string;
|
|
8
|
-
headerId?: string;
|
|
9
|
-
headerClassName?: string;
|
|
10
|
-
headerStyleName?: string;
|
|
11
|
-
isImage?: boolean;
|
|
12
|
-
isAsync?: boolean;
|
|
13
|
-
isMultiline?: boolean;
|
|
14
|
-
isDisableSort?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare type CdkTableCellValue<U = any> = string | number | U[keyof U];
|
|
17
|
-
export declare type ICdkTableCellValueFunction<U> = (item: U, column: ICdkTableColumn<U>) => CdkTableCellValue<U> | Promise<CdkTableCellValue<U>>;
|
|
18
|
-
export declare type ICdkTableCellClassNameFunction<U> = (item: U, column: ICdkTableColumn<U>) => string;
|
|
19
|
-
export declare type ICdkTableCellStyleNameFunction<U> = (item: U, column: ICdkTableColumn<U>) => {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
export declare type ICdkTableColumnClassNameFunction<U> = (item: U, column: ICdkTableColumn<U>) => string;
|
|
23
|
-
export declare type ICdkTableColumnStyleNameFunction<U> = (item: U, column: ICdkTableColumn<U>) => {
|
|
24
|
-
[key: string]: any;
|
|
25
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ICdkTableRow } from './ICdkTableRow';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableRowClassNamePipe implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, row: ICdkTableRow<U>, selectedRows: Array<U>): string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableRowClassNamePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableRowClassNamePipe, "viCdkTableRowClassName", false>;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { ICdkTableRow } from './ICdkTableRow';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CdkTableRowStyleNamePipe implements PipeTransform {
|
|
5
|
-
transform<U>(item: U, row: ICdkTableRow<U>, selectedRows: Array<U>, isInteractive?: boolean): {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
};
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CdkTableRowStyleNamePipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<CdkTableRowStyleNamePipe, "viCdkTableRowStyleName", false>;
|
|
10
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface ICdkTableRow<U = any> {
|
|
2
|
-
className?: ICdkTableRowClassNameFunction<U> | string;
|
|
3
|
-
styleName?: ICdkTableRowStyleNameFunction<U>;
|
|
4
|
-
}
|
|
5
|
-
export declare type ICdkTableRowClassNameFunction<U> = (item: U, selectedItems: Array<U>) => string;
|
|
6
|
-
export declare type ICdkTableRowStyleNameFunction<U> = (item: U, selectedItems: Array<U>) => {
|
|
7
|
-
[key: string]: string;
|
|
8
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { LanguageService } from '@ts-core/frontend';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LanguageSelectorComponent extends DestroyableContainer {
|
|
6
|
-
protected element: ElementRef;
|
|
7
|
-
language: LanguageService;
|
|
8
|
-
private _isNeedIcon;
|
|
9
|
-
private _isNeedLabel;
|
|
10
|
-
constructor(element: ElementRef, language: LanguageService);
|
|
11
|
-
protected commitIsNeedLabelProperties(): void;
|
|
12
|
-
protected commitIsNeedIconProperties(): void;
|
|
13
|
-
get isNeedIcon(): boolean;
|
|
14
|
-
set isNeedIcon(value: boolean);
|
|
15
|
-
get isNeedLabel(): boolean;
|
|
16
|
-
set isNeedLabel(value: boolean);
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageSelectorComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LanguageSelectorComponent, "vi-language-selector", never, { "isNeedIcon": "isNeedIcon"; "isNeedLabel": "isNeedLabel"; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
2
|
-
import { ListItems } from '../../list/ListItems';
|
|
3
|
-
import { IListItem } from '../../list/IListItem';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MenuListComponent<T = any> extends DestroyableContainer {
|
|
6
|
-
list: ListItems<IListItem<T>>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuListComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuListComponent<any>, "vi-menu-list", never, { "list": "list"; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
2
|
-
import { ISelectListItem } from '../../list/select/ISelectListItem';
|
|
3
|
-
import { SelectListItems } from '../../list/select/SelectListItems';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SelectListComponent<T = any> extends DestroyableContainer {
|
|
6
|
-
list: SelectListItems<ISelectListItem<T>>;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectListComponent<any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectListComponent<any>, "vi-select-list", never, { "list": "list"; }, {}, never, never, false, never>;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MatTabChangeEvent } from '@angular/material/tabs';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { ISelectListItem } from '../../list/select/ISelectListItem';
|
|
4
|
-
import { SelectListItems } from '../../list/select/SelectListItems';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TabGroupComponent<T = any> extends DestroyableContainer {
|
|
7
|
-
className: string;
|
|
8
|
-
protected _list: SelectListItems<ISelectListItem<T>>;
|
|
9
|
-
protected commitListProperties(): void;
|
|
10
|
-
selectedTabChange(event: MatTabChangeEvent): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
get list(): SelectListItems<ISelectListItem<T>>;
|
|
13
|
-
set list(value: SelectListItems<ISelectListItem<T>>);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent<any>, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent<any>, "vi-tab-group", never, { "className": "className"; "list": "list"; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MatMenuPanel, MatMenuTrigger } from '@angular/material/menu';
|
|
2
|
-
import { PositionStrategy } from '@angular/cdk/overlay';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MenuTriggerForDirective extends MatMenuTrigger {
|
|
5
|
-
openMenuOn(target: any): void;
|
|
6
|
-
protected getPositionStrategy(): PositionStrategy;
|
|
7
|
-
set menu(value: MatMenuPanel);
|
|
8
|
-
get menu(): MatMenuPanel;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuTriggerForDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuTriggerForDirective, "[vi-menu-trigger-for]", never, { "menu": "vi-menu-trigger-for"; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
2
|
-
import * as _ from 'lodash';
|
|
3
|
-
import { filter, takeUntil } from 'rxjs';
|
|
4
|
-
import { NotificationServiceEvent } from '../notification/NotificationService';
|
|
5
|
-
export class ShellBaseComponent extends DestroyableContainer {
|
|
6
|
-
// --------------------------------------------------------------------------
|
|
7
|
-
//
|
|
8
|
-
// Constructor
|
|
9
|
-
//
|
|
10
|
-
// --------------------------------------------------------------------------
|
|
11
|
-
constructor(notifications, breakpointObserver) {
|
|
12
|
-
super();
|
|
13
|
-
this.notifications = notifications;
|
|
14
|
-
this.breakpointObserver = breakpointObserver;
|
|
15
|
-
// --------------------------------------------------------------------------
|
|
16
|
-
//
|
|
17
|
-
// Properties
|
|
18
|
-
//
|
|
19
|
-
// --------------------------------------------------------------------------
|
|
20
|
-
this.isNeedSide = false;
|
|
21
|
-
this.isHasNotifications = false;
|
|
22
|
-
this.isShowMenu = true;
|
|
23
|
-
this.isShowNotifications = false;
|
|
24
|
-
}
|
|
25
|
-
// --------------------------------------------------------------------------
|
|
26
|
-
//
|
|
27
|
-
// Protected Methods
|
|
28
|
-
//
|
|
29
|
-
// --------------------------------------------------------------------------
|
|
30
|
-
initialize() {
|
|
31
|
-
// Notifications
|
|
32
|
-
this.isHasNotificationsCheck();
|
|
33
|
-
this.notifications.events
|
|
34
|
-
.pipe(filter(data => data.type === NotificationServiceEvent.CLOSED || data.type === NotificationServiceEvent.REMOVED), takeUntil(this.destroyed))
|
|
35
|
-
.subscribe(() => this.isHasNotificationsCheck());
|
|
36
|
-
// Menu Size
|
|
37
|
-
this.isNeedSideCheck();
|
|
38
|
-
this.breakpointObserver
|
|
39
|
-
.observe(this.sideMediaQueryToCheck)
|
|
40
|
-
.pipe(takeUntil(this.destroyed))
|
|
41
|
-
.subscribe(() => this.isNeedSideCheck());
|
|
42
|
-
}
|
|
43
|
-
isHasNotificationsCheck() {
|
|
44
|
-
this.isHasNotifications = !_.isEmpty(this.notificationItems);
|
|
45
|
-
if (!this.isHasNotifications) {
|
|
46
|
-
this.isShowNotifications = false;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
isNeedSideCheck() {
|
|
50
|
-
this.isNeedSide = this.breakpointObserver.isMatched(this.sideMediaQueryToCheck);
|
|
51
|
-
this.isShowMenu = this.isNeedSide;
|
|
52
|
-
}
|
|
53
|
-
// --------------------------------------------------------------------------
|
|
54
|
-
//
|
|
55
|
-
// Public Methods
|
|
56
|
-
//
|
|
57
|
-
// --------------------------------------------------------------------------
|
|
58
|
-
toggleMenu() {
|
|
59
|
-
if (!this.isNeedSide) {
|
|
60
|
-
this.isShowMenu = !this.isShowMenu;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
toggleNotifications() {
|
|
64
|
-
this.isShowNotifications = !this.isShowNotifications;
|
|
65
|
-
}
|
|
66
|
-
// --------------------------------------------------------------------------
|
|
67
|
-
//
|
|
68
|
-
// Public Properties
|
|
69
|
-
//
|
|
70
|
-
// --------------------------------------------------------------------------
|
|
71
|
-
get sideMediaQueryToCheck() {
|
|
72
|
-
return `(min-width: 1000px)`;
|
|
73
|
-
}
|
|
74
|
-
get notificationItems() {
|
|
75
|
-
return this.notifications.closedConfigs;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2hlbGxCYXNlQ29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2FwcGxpY2F0aW9uL1NoZWxsQmFzZUNvb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