@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,56 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { ViewUtil } from '../../../util/ViewUtil';
|
|
3
|
-
import { WindowElement } from '../WindowElement';
|
|
4
|
-
import * as _ from 'lodash';
|
|
5
|
-
import { WindowEvent } from '../../IWindow';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class WindowResizeElementComponent extends WindowElement {
|
|
8
|
-
// --------------------------------------------------------------------------
|
|
9
|
-
//
|
|
10
|
-
// Constructor
|
|
11
|
-
//
|
|
12
|
-
// --------------------------------------------------------------------------
|
|
13
|
-
constructor(element) {
|
|
14
|
-
super(element);
|
|
15
|
-
}
|
|
16
|
-
// --------------------------------------------------------------------------
|
|
17
|
-
//
|
|
18
|
-
// Private Methods
|
|
19
|
-
//
|
|
20
|
-
// --------------------------------------------------------------------------
|
|
21
|
-
createChildren() {
|
|
22
|
-
super.createChildren();
|
|
23
|
-
if (!_.isNil(WindowResizeElementComponent.ICON_VALUE)) {
|
|
24
|
-
ViewUtil.setProperty(this.nativeElement, 'innerHTML', WindowResizeElementComponent.ICON_VALUE);
|
|
25
|
-
}
|
|
26
|
-
if (!_.isNil(WindowResizeElementComponent.ICON_CLASS)) {
|
|
27
|
-
ViewUtil.addClasses(this.nativeElement, WindowResizeElementComponent.ICON_CLASS);
|
|
28
|
-
}
|
|
29
|
-
ViewUtil.setStyle(this.nativeElement, 'cursor', 'pointer');
|
|
30
|
-
}
|
|
31
|
-
// --------------------------------------------------------------------------
|
|
32
|
-
//
|
|
33
|
-
// Event Handlers
|
|
34
|
-
//
|
|
35
|
-
// --------------------------------------------------------------------------
|
|
36
|
-
clickHandler(event) {
|
|
37
|
-
super.clickHandler(event);
|
|
38
|
-
if (!_.isNil(this.window)) {
|
|
39
|
-
this.window.emit(WindowEvent.EXPAND);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
// --------------------------------------------------------------------------
|
|
44
|
-
//
|
|
45
|
-
// Constants
|
|
46
|
-
//
|
|
47
|
-
// --------------------------------------------------------------------------
|
|
48
|
-
WindowResizeElementComponent.ICON_CLASS = 'fas fa-arrows-alt';
|
|
49
|
-
WindowResizeElementComponent.ICON_VALUE = null;
|
|
50
|
-
WindowResizeElementComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: WindowResizeElementComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
WindowResizeElementComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: WindowResizeElementComponent, selector: "vi-window-resize-element", usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{display:block;position:absolute;color:#fff;background-color:#0006;border-radius:50%;padding:8px;font-size:14px;font-weight:700;text-align:center}:host:hover{background-color:#0009}:host.small{font-size:10px;padding:4px}\n"] });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: WindowResizeElementComponent, decorators: [{
|
|
53
|
-
type: Component,
|
|
54
|
-
args: [{ selector: 'vi-window-resize-element', template: '', styles: [":host{display:block;position:absolute;color:#fff;background-color:#0006;border-radius:50%;padding:8px;font-size:14px;font-weight:700;text-align:center}:host:hover{background-color:#0009}:host.small{font-size:10px;padding:4px}\n"] }]
|
|
55
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luZG93LXJlc2l6ZS1lbGVtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL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0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tXG4gICAgLy9cbiAgICAvLyBcdEV2ZW50IEhhbmRsZXJzXG4gICAgLy9cbiAgICAvLyAtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLVxuXG4gICAgcHVibGljIGNsaWNrSGFuZGxlcihldmVudDogTW91c2VFdmVudCk6IHZvaWQge1xuICAgICAgICBzdXBlci5jbGlja0hhbmRsZXIoZXZlbnQpO1xuICAgICAgICBpZiAoIV8uaXNOaWwodGhpcy53aW5kb3cpKSB7XG4gICAgICAgICAgICB0aGlzLndpbmRvdy5lbWl0KFdpbmRvd0V2ZW50LkVYUEFORCk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { MatPaginatorIntl } from '@angular/material/paginator';
|
|
2
|
-
import { LanguageService } from '@ts-core/frontend';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import { OnDestroy } from '@angular/core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class LanguageMatPaginatorIntl extends MatPaginatorIntl implements OnDestroy {
|
|
7
|
-
protected language: LanguageService;
|
|
8
|
-
lastPageLabel: string;
|
|
9
|
-
nextPageLabel: string;
|
|
10
|
-
firstPageLabel: string;
|
|
11
|
-
previousPageLabel: string;
|
|
12
|
-
itemsPerPageLabel: string;
|
|
13
|
-
protected subscription: Subscription;
|
|
14
|
-
constructor(language: LanguageService);
|
|
15
|
-
protected commitLanguageProperties(): void;
|
|
16
|
-
protected languageRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
17
|
-
ngOnDestroy(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LanguageMatPaginatorIntl, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LanguageMatPaginatorIntl>;
|
|
20
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { INotificationContent } from './INotificationContent';
|
|
3
|
-
import { NotificationConfig } from './NotificationConfig';
|
|
4
|
-
export declare abstract class INotification<T = any> {
|
|
5
|
-
abstract getX(): number;
|
|
6
|
-
abstract getY(): number;
|
|
7
|
-
abstract setX(value: number): void;
|
|
8
|
-
abstract setY(value: number): void;
|
|
9
|
-
abstract move(x: number, y: number): void;
|
|
10
|
-
abstract getWidth(): number;
|
|
11
|
-
abstract getHeight(): number;
|
|
12
|
-
abstract setWidth(value: number): void;
|
|
13
|
-
abstract setHeight(value: number): void;
|
|
14
|
-
abstract setSize(width: number, height: number): void;
|
|
15
|
-
abstract close(): void;
|
|
16
|
-
abstract remove(): void;
|
|
17
|
-
abstract destroy(): void;
|
|
18
|
-
abstract emit(event: string): void;
|
|
19
|
-
readonly events: Observable<string>;
|
|
20
|
-
readonly container: HTMLElement;
|
|
21
|
-
readonly config: NotificationConfig<T>;
|
|
22
|
-
readonly content: INotificationContent<T>;
|
|
23
|
-
}
|
|
24
|
-
export declare enum NotificationEvent {
|
|
25
|
-
REMOVED = "REMOVED"
|
|
26
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { INotification } from './INotification';
|
|
5
|
-
import { NotificationConfig } from './NotificationConfig';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare abstract class INotificationContent<T = any> extends DestroyableContainer implements AfterViewInit {
|
|
8
|
-
container: ViewContainerRef;
|
|
9
|
-
protected timer: any;
|
|
10
|
-
protected _config: NotificationConfig<T>;
|
|
11
|
-
protected _notification: INotification<T>;
|
|
12
|
-
constructor(container: ViewContainerRef);
|
|
13
|
-
protected commitNotificationProperties(): void;
|
|
14
|
-
protected commitConfigProperties(): void;
|
|
15
|
-
protected clearTimer(): void;
|
|
16
|
-
protected timerHandler: () => void;
|
|
17
|
-
close(): void;
|
|
18
|
-
remove(): void;
|
|
19
|
-
emit(event: string): void;
|
|
20
|
-
destroy(): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
handleCloseClick(): void;
|
|
23
|
-
get data(): T;
|
|
24
|
-
get events(): Observable<string>;
|
|
25
|
-
get notification(): INotification<T>;
|
|
26
|
-
set notification(value: INotification<T>);
|
|
27
|
-
set config(value: NotificationConfig<T>);
|
|
28
|
-
get config(): NotificationConfig<T>;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<INotificationContent<any>, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<INotificationContent<any>, "ng-component", never, { "config": "config"; }, {}, never, never, false, never>;
|
|
31
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { WindowConfig } from '../window/WindowConfig';
|
|
2
|
-
export declare class NotificationConfig<T = any> extends WindowConfig<T> {
|
|
3
|
-
icon: string;
|
|
4
|
-
sound: string;
|
|
5
|
-
iconId: string;
|
|
6
|
-
picture: string;
|
|
7
|
-
closeDuration: number;
|
|
8
|
-
isRemoveAfterClose: boolean;
|
|
9
|
-
constructor(data?: T);
|
|
10
|
-
}
|
|
11
|
-
export declare type NotificationConfigOptions<T = any> = {
|
|
12
|
-
[P in keyof NotificationConfig<T>]?: any;
|
|
13
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { INotification } from './INotification';
|
|
2
|
-
import { NotificationProperties } from './NotificationProperties';
|
|
3
|
-
export declare class NotificationFactory<U extends INotification> {
|
|
4
|
-
protected classType: {
|
|
5
|
-
new (properties: NotificationProperties): U;
|
|
6
|
-
};
|
|
7
|
-
constructor(classType: {
|
|
8
|
-
new (properties: NotificationProperties): U;
|
|
9
|
-
});
|
|
10
|
-
create(properties: NotificationProperties): U;
|
|
11
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { WindowBase } from '../window/WindowBase';
|
|
4
|
-
import { INotification } from './INotification';
|
|
5
|
-
import { INotificationContent } from './INotificationContent';
|
|
6
|
-
import { NotificationConfig } from './NotificationConfig';
|
|
7
|
-
import { NotificationProperties } from './NotificationProperties';
|
|
8
|
-
export declare class NotificationImpl<T = any> extends WindowBase implements INotification {
|
|
9
|
-
private _container;
|
|
10
|
-
protected properties: NotificationProperties;
|
|
11
|
-
protected timer: any;
|
|
12
|
-
protected observer: Subject<string>;
|
|
13
|
-
constructor(properties: NotificationProperties);
|
|
14
|
-
protected setProperties(): void;
|
|
15
|
-
protected setClosed: () => void;
|
|
16
|
-
protected setOpened: () => void;
|
|
17
|
-
protected getConfig(): NotificationConfig;
|
|
18
|
-
protected getContainer(): HTMLElement;
|
|
19
|
-
protected getReference(): MatDialogRef<INotificationContent>;
|
|
20
|
-
emit(event: string): void;
|
|
21
|
-
close(): void;
|
|
22
|
-
remove(): void;
|
|
23
|
-
destroy(): void;
|
|
24
|
-
getWidth(): number;
|
|
25
|
-
getHeight(): number;
|
|
26
|
-
setWidth(value: number): void;
|
|
27
|
-
setHeight(value: number): void;
|
|
28
|
-
setSize(width: number, height: number): void;
|
|
29
|
-
getX(): number;
|
|
30
|
-
setX(value: number): void;
|
|
31
|
-
getY(): number;
|
|
32
|
-
setY(value: number): void;
|
|
33
|
-
move(x: number, y: number): void;
|
|
34
|
-
get events(): Observable<string>;
|
|
35
|
-
get config(): NotificationConfig;
|
|
36
|
-
get content(): INotificationContent<T>;
|
|
37
|
-
get container(): HTMLElement;
|
|
38
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { LanguageService } from '@ts-core/frontend';
|
|
4
|
-
import { NotificationService } from './NotificationService';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./component/notification/notification.component";
|
|
7
|
-
import * as i2 from "@angular/common";
|
|
8
|
-
import * as i3 from "@angular/forms";
|
|
9
|
-
import * as i4 from "@angular/material/dialog";
|
|
10
|
-
import * as i5 from "@angular/material/button";
|
|
11
|
-
import * as i6 from "../language/LanguageModule";
|
|
12
|
-
export declare class NotificationModule {
|
|
13
|
-
static forRoot(): ModuleWithProviders<NotificationModule>;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NotificationModule, [typeof i1.NotificationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MatDialogModule, typeof i5.MatButtonModule, typeof i6.LanguageModule], [typeof i1.NotificationComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NotificationModule>;
|
|
17
|
-
}
|
|
18
|
-
export declare function notificationServiceFactory(dialog: MatDialog, language: LanguageService): NotificationService;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { INotificationContent } from './INotificationContent';
|
|
4
|
-
import { NotificationConfig } from './NotificationConfig';
|
|
5
|
-
export interface NotificationProperties {
|
|
6
|
-
reference?: MatDialogRef<INotificationContent>;
|
|
7
|
-
config?: NotificationConfig;
|
|
8
|
-
overlay?: OverlayRef;
|
|
9
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { ObservableData } from '@ts-core/common';
|
|
4
|
-
import { LanguageService } from '@ts-core/frontend';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import { IQuestion, IQuestionOptions } from '../question/IQuestion';
|
|
7
|
-
import { INotification } from './INotification';
|
|
8
|
-
import { INotificationContent } from './INotificationContent';
|
|
9
|
-
import { NotificationConfig, NotificationConfigOptions } from './NotificationConfig';
|
|
10
|
-
import { NotificationFactory } from './NotificationFactory';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class NotificationService {
|
|
13
|
-
factory: NotificationFactory<INotification>;
|
|
14
|
-
questionComponent: ComponentType<INotificationContent<any>>;
|
|
15
|
-
protected dialog: MatDialog;
|
|
16
|
-
protected language: LanguageService;
|
|
17
|
-
protected _configs: Array<NotificationConfig>;
|
|
18
|
-
protected _closedConfigs: Array<NotificationConfig>;
|
|
19
|
-
protected _notifications: Map<NotificationConfig, INotificationContent<any>>;
|
|
20
|
-
private observer;
|
|
21
|
-
gapY: number;
|
|
22
|
-
minWidth: number;
|
|
23
|
-
minHeight: number;
|
|
24
|
-
paddingTop: number;
|
|
25
|
-
paddingLeft: number;
|
|
26
|
-
paddingRight: number;
|
|
27
|
-
paddingBottom: number;
|
|
28
|
-
defaultCloseDuration: number;
|
|
29
|
-
constructor(dialog: MatDialog, language: LanguageService);
|
|
30
|
-
open<T>(component: ComponentType<INotificationContent<T>>, config: NotificationConfig): INotificationContent<T>;
|
|
31
|
-
private getById;
|
|
32
|
-
private setDefaultProperties;
|
|
33
|
-
private checkPosition;
|
|
34
|
-
private getPrevious;
|
|
35
|
-
private add;
|
|
36
|
-
get(value: NotificationId): NotificationConfig;
|
|
37
|
-
has(value: NotificationId): boolean;
|
|
38
|
-
remove(value: NotificationId): void;
|
|
39
|
-
removeAll(): void;
|
|
40
|
-
close(value: NotificationId): INotification;
|
|
41
|
-
info(translationId?: string, translation?: any, questionOptions?: IQuestionOptions, configOptions?: NotificationConfigOptions): IQuestion;
|
|
42
|
-
question(translationId?: string, translation?: any, questionOptions?: IQuestionOptions, configOptions?: NotificationConfigOptions): IQuestion;
|
|
43
|
-
get events(): Observable<ObservableData<NotificationServiceEvent, NotificationConfig | INotification>>;
|
|
44
|
-
get configs(): Array<NotificationConfig>;
|
|
45
|
-
get closedConfigs(): Array<NotificationConfig>;
|
|
46
|
-
get notifications(): Map<NotificationConfig, INotificationContent<any>>;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationService, never>;
|
|
48
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationService>;
|
|
49
|
-
}
|
|
50
|
-
export declare type NotificationId = string | NotificationConfig | NotificationConfigOptions;
|
|
51
|
-
export declare enum NotificationServiceEvent {
|
|
52
|
-
OPENED = "OPENED",
|
|
53
|
-
CLOSED = "CLOSED",
|
|
54
|
-
ADDED = "ADDED",
|
|
55
|
-
REMOVED = "REMOVED"
|
|
56
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { INotificationContent } from '../../notification/INotificationContent';
|
|
2
|
-
import { QuestionManager } from '../../question/QuestionManager';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare abstract class NotificationQuestionBaseComponent extends INotificationContent<QuestionManager> {
|
|
5
|
-
protected commitConfigProperties(): void;
|
|
6
|
-
clickHandler(): void;
|
|
7
|
-
protected get isInfo(): boolean;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationQuestionBaseComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationQuestionBaseComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { LanguageService } from '@ts-core/frontend';
|
|
3
|
-
import { NotificationService } from '../../NotificationService';
|
|
4
|
-
import { NotificationQuestionBaseComponent } from '../NotificationQuestionBaseComponent';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NotificationComponent extends NotificationQuestionBaseComponent {
|
|
7
|
-
private language;
|
|
8
|
-
private notifications;
|
|
9
|
-
constructor(container: ViewContainerRef, language: LanguageService, notifications: NotificationService);
|
|
10
|
-
protected commitConfigProperties(): void;
|
|
11
|
-
remove(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationComponent, "vi-notification", never, {}, {}, never, never, false, never>;
|
|
14
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
-
import { DestroyableContainer } from '@ts-core/common';
|
|
3
|
-
import { ObservableData } from '@ts-core/common';
|
|
4
|
-
import { Observable, Subject } from 'rxjs';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class BootstrapBreakpointService extends DestroyableContainer {
|
|
7
|
-
protected service: BreakpointObserver;
|
|
8
|
-
static DEFAULT_SM: number;
|
|
9
|
-
static DEFAULT_MD: number;
|
|
10
|
-
static DEFAULT_LG: number;
|
|
11
|
-
static DEFAULT_XL: number;
|
|
12
|
-
static DEFAULT_XXL: number;
|
|
13
|
-
protected _breakpoint: BootstrapBreakpoint;
|
|
14
|
-
protected items: Array<IBreakpointItem>;
|
|
15
|
-
protected observer: Subject<ObservableData<BootstrapBreakpointServiceEvent, BootstrapBreakpoint>>;
|
|
16
|
-
constructor(service: BreakpointObserver);
|
|
17
|
-
protected initialize(sm?: number, md?: number, lg?: number, xl?: number, xxl?: number): void;
|
|
18
|
-
protected getBreakpoint(): BootstrapBreakpoint;
|
|
19
|
-
protected setBreakpoint(value: BootstrapBreakpoint): void;
|
|
20
|
-
isEqual(item: BootstrapBreakpoint): boolean;
|
|
21
|
-
isUp(item: BootstrapBreakpoint): boolean;
|
|
22
|
-
isUpOrEqual(item: BootstrapBreakpoint): boolean;
|
|
23
|
-
isDown(item: BootstrapBreakpoint): boolean;
|
|
24
|
-
isDownOrEqual(item: BootstrapBreakpoint): boolean;
|
|
25
|
-
get breakpoint(): BootstrapBreakpoint;
|
|
26
|
-
get events(): Observable<ObservableData<BootstrapBreakpointServiceEvent, BootstrapBreakpoint>>;
|
|
27
|
-
get changed(): Observable<BootstrapBreakpoint>;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BootstrapBreakpointService, never>;
|
|
29
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BootstrapBreakpointService>;
|
|
30
|
-
}
|
|
31
|
-
interface IBreakpointItem {
|
|
32
|
-
name: BootstrapBreakpoint;
|
|
33
|
-
value: string;
|
|
34
|
-
}
|
|
35
|
-
export declare enum BootstrapBreakpointServiceEvent {
|
|
36
|
-
CHANGED = "CHANGED"
|
|
37
|
-
}
|
|
38
|
-
export declare enum BootstrapBreakpoint {
|
|
39
|
-
SM = "sm",
|
|
40
|
-
MD = "md",
|
|
41
|
-
LG = "lg",
|
|
42
|
-
XL = "xl",
|
|
43
|
-
XXL = "xxl"
|
|
44
|
-
}
|
|
45
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
@mixin vi-mat-theme-bootstrap-background($theme, $text-primary-default, $text-accent-default) {
|
|
2
|
-
$background: map-get($theme, background);
|
|
3
|
-
|
|
4
|
-
.background {
|
|
5
|
-
background-color: map-get($background, background) !important;
|
|
6
|
-
}
|
|
7
|
-
.background-body {
|
|
8
|
-
background-color: map-get($background, body) !important;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
@mixin vi-mat-theme-bootstrap-border($theme, $text-primary-default, $text-accent-default) {
|
|
2
|
-
$warn: map-get($theme, warn);
|
|
3
|
-
$accent: map-get($theme, accent);
|
|
4
|
-
$primary: map-get($theme, primary);
|
|
5
|
-
$is-dark: map-get($theme, is-dark);
|
|
6
|
-
$foreground: map-get($theme, foreground);
|
|
7
|
-
|
|
8
|
-
$border-color: map-get($foreground, divider);
|
|
9
|
-
$text-base-color: map-get($foreground, base);
|
|
10
|
-
|
|
11
|
-
$warn-color: mat-color($warn);
|
|
12
|
-
$accent-color: mat-color($accent, $text-accent-default);
|
|
13
|
-
$primary-color: mat-color($primary, $text-primary-default);
|
|
14
|
-
|
|
15
|
-
@if $is-dark {
|
|
16
|
-
$accent-color: mat-color($accent);
|
|
17
|
-
$primary-color: mat-color($primary);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
21
|
-
@include media-breakpoint-up($breakpoint) {
|
|
22
|
-
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
|
23
|
-
@include vi-mat-theme-bootstrap-border-mixin($infix, $border-width, $border-color);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Main colors
|
|
28
|
-
.border-warn {
|
|
29
|
-
border-color: $warn-color !important;
|
|
30
|
-
}
|
|
31
|
-
.border-warn-hover {
|
|
32
|
-
&:hover {
|
|
33
|
-
border-color: $warn-color !important;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.border-accent {
|
|
37
|
-
border-color: $accent-color !important;
|
|
38
|
-
}
|
|
39
|
-
.border-accent-hover {
|
|
40
|
-
&:hover {
|
|
41
|
-
border-color: $accent-color !important;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
.border-primary {
|
|
45
|
-
border-color: $primary-color !important;
|
|
46
|
-
}
|
|
47
|
-
.border-primary-hover {
|
|
48
|
-
&:hover {
|
|
49
|
-
border-color: $primary-color !important;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
.border-base {
|
|
53
|
-
border-color: $text-base-color !important;
|
|
54
|
-
}
|
|
55
|
-
.border-base-hover {
|
|
56
|
-
&:hover {
|
|
57
|
-
border-color: $text-base-color !important;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
.border-base-invert {
|
|
61
|
-
border-color: $text-base-color !important;
|
|
62
|
-
@include filter-invert(1);
|
|
63
|
-
}
|
|
64
|
-
.border-base-invert-hover {
|
|
65
|
-
&:hover {
|
|
66
|
-
border-color: $text-base-color !important;
|
|
67
|
-
@include filter-invert(1);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// Rounded
|
|
72
|
-
.rounded {
|
|
73
|
-
border-radius: $border-radius !important;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.rounded-top {
|
|
77
|
-
border-top-left-radius: $border-radius !important;
|
|
78
|
-
border-top-right-radius: $border-radius !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.rounded-right {
|
|
82
|
-
border-top-right-radius: $border-radius !important;
|
|
83
|
-
border-bottom-right-radius: $border-radius !important;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.rounded-bottom {
|
|
87
|
-
border-bottom-right-radius: $border-radius !important;
|
|
88
|
-
border-bottom-left-radius: $border-radius !important;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.rounded-left {
|
|
92
|
-
border-top-left-radius: $border-radius !important;
|
|
93
|
-
border-bottom-left-radius: $border-radius !important;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.rounded-circle {
|
|
97
|
-
border-radius: 50% !important;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
@mixin vi-mat-theme-bootstrap-border-mixin($infix, $width, $color) {
|
|
102
|
-
// Transparent
|
|
103
|
-
.border-transparent {
|
|
104
|
-
border-width: $width;
|
|
105
|
-
border-color: transparent !important;
|
|
106
|
-
border-style: solid !important;
|
|
107
|
-
}
|
|
108
|
-
// Top
|
|
109
|
-
.border#{$infix}-top {
|
|
110
|
-
border-top-width: $width;
|
|
111
|
-
border-top-color: $color !important;
|
|
112
|
-
border-top-style: solid !important;
|
|
113
|
-
&.dashed {
|
|
114
|
-
border-top-style: dashed !important;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
.border#{$infix}-top-0 {
|
|
118
|
-
border-top-style: none !important;
|
|
119
|
-
}
|
|
120
|
-
// Right
|
|
121
|
-
.border#{$infix}-right {
|
|
122
|
-
border-right-width: $width;
|
|
123
|
-
border-right-color: $color !important;
|
|
124
|
-
border-right-style: solid !important;
|
|
125
|
-
&.dashed {
|
|
126
|
-
border-right-style: dashed !important;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
.border#{$infix}-right-0 {
|
|
130
|
-
border-right-style: none !important;
|
|
131
|
-
}
|
|
132
|
-
// Bottom
|
|
133
|
-
.border#{$infix}-bottom {
|
|
134
|
-
border-bottom-width: $width;
|
|
135
|
-
border-bottom-color: $color !important;
|
|
136
|
-
border-bottom-style: solid !important;
|
|
137
|
-
&.dashed {
|
|
138
|
-
border-bottom-style: dashed !important;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
.border#{$infix}-bottom-0 {
|
|
142
|
-
border-bottom-style: none !important;
|
|
143
|
-
}
|
|
144
|
-
// Left
|
|
145
|
-
.border#{$infix}-left {
|
|
146
|
-
border-left-width: $width;
|
|
147
|
-
border-left-color: $color !important;
|
|
148
|
-
border-left-style: solid !important;
|
|
149
|
-
&.dashed {
|
|
150
|
-
border-left-style: dashed !important;
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
.border#{$infix}-left-0 {
|
|
154
|
-
border-left-style: none !important;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// X
|
|
158
|
-
.border#{$infix}-x {
|
|
159
|
-
border-left-width: $width;
|
|
160
|
-
border-left-color: $color !important;
|
|
161
|
-
border-left-style: solid !important;
|
|
162
|
-
|
|
163
|
-
border-right-width: $width;
|
|
164
|
-
border-right-color: $color !important;
|
|
165
|
-
border-right-style: solid !important;
|
|
166
|
-
&.dashed {
|
|
167
|
-
border-left-style: dashed !important;
|
|
168
|
-
border-right-style: dashed !important;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
.border#{$infix}-x-0 {
|
|
172
|
-
border-left-style: none !important;
|
|
173
|
-
border-right-style: none !important;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
// Default
|
|
177
|
-
.border#{$infix} {
|
|
178
|
-
border-width: $width;
|
|
179
|
-
border-color: $color !important;
|
|
180
|
-
border-style: solid !important;
|
|
181
|
-
&.dashed {
|
|
182
|
-
border-style: dashed !important;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
.border#{$infix}-0 {
|
|
186
|
-
border-style: none !important;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
// Y
|
|
190
|
-
.border#{$infix}-y {
|
|
191
|
-
border-top-width: $width;
|
|
192
|
-
border-top-color: $color !important;
|
|
193
|
-
border-top-style: solid !important;
|
|
194
|
-
|
|
195
|
-
border-bottom-width: $width;
|
|
196
|
-
border-bottom-color: $color;
|
|
197
|
-
border-bottom-style: solid !important;
|
|
198
|
-
&.dashed {
|
|
199
|
-
border-top-style: dashed !important;
|
|
200
|
-
border-bottom-style: dashed !important;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
.border#{$infix}-x-0 {
|
|
204
|
-
border-top-style: none !important;
|
|
205
|
-
border-bottom-style: none !important;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@mixin vi-mat-theme-bootstrap-text($theme, $text-primary-default, $text-accent-default) {
|
|
2
|
-
$warn: map-get($theme, warn);
|
|
3
|
-
$accent: map-get($theme, accent);
|
|
4
|
-
$primary: map-get($theme, primary);
|
|
5
|
-
$is-dark: map-get($theme, is-dark);
|
|
6
|
-
$foreground: map-get($theme, foreground);
|
|
7
|
-
|
|
8
|
-
$text-color: map-get($foreground, text);
|
|
9
|
-
$text-base-color: map-get($foreground, base);
|
|
10
|
-
$text-accent-color: mat-color($accent, $text-accent-default);
|
|
11
|
-
$text-primary-color: mat-color($primary, $text-primary-default);
|
|
12
|
-
|
|
13
|
-
@if $is-dark {
|
|
14
|
-
$text-accent-color: mat-color($accent);
|
|
15
|
-
$text-primary-color: mat-color($primary);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.text-base {
|
|
19
|
-
color: $text-base-color !important;
|
|
20
|
-
}
|
|
21
|
-
.text-base-invert {
|
|
22
|
-
color: $text-base-color !important;
|
|
23
|
-
@include filter-invert(1);
|
|
24
|
-
}
|
|
25
|
-
.text-accent {
|
|
26
|
-
color: $text-accent-color !important;
|
|
27
|
-
}
|
|
28
|
-
.text-primary {
|
|
29
|
-
color: $text-primary-color !important;
|
|
30
|
-
}
|
|
31
|
-
.text-danger {
|
|
32
|
-
color: mat-color($warn) !important;
|
|
33
|
-
}
|
|
34
|
-
.text-warning {
|
|
35
|
-
color: map-get($foreground, warning-text) !important;
|
|
36
|
-
}
|
|
37
|
-
.text-success {
|
|
38
|
-
color: map-get($foreground, success-text) !important;
|
|
39
|
-
}
|
|
40
|
-
.text-secondary {
|
|
41
|
-
color: map-get($foreground, secondary-text) !important;
|
|
42
|
-
}
|
|
43
|
-
}
|