@ts-core/angular 15.0.2 → 15.0.4
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/VIModule.d.ts +53 -0
- package/application/ApplicationComponent.d.ts +1 -3
- package/esm2020/VIModule.mjs +175 -0
- package/esm2020/application/ApplicationComponent.mjs +2 -3
- package/esm2020/application/MessageBaseComponent.mjs +1 -1
- package/esm2020/language/LanguageModule.mjs +1 -8
- 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 +2 -69
- package/esm2020/service/PipeBaseService.mjs +1 -1
- package/esm2020/theme/ThemeAssetDirective.mjs +1 -1
- package/fesm2015/ts-core-angular.mjs +3023 -7419
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +3005 -7399
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +3 -9
- package/pipe/CamelCasePipe.d.ts +0 -1
- package/public-api.d.ts +1 -61
- package/style/_core.scss +120 -0
- package/style/_text.scss +9 -1
- package/VICommonModule.d.ts +0 -56
- package/application/ShellBaseComponent.d.ts +0 -20
- package/bottomSheet/BottomSheetImpl.d.ts +0 -66
- package/bottomSheet/BottomSheetModule.d.ts +0 -13
- package/bottomSheet/BottomSheetService.d.ts +0 -31
- package/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -8
- 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 -18
- package/directive/MenuTriggerForDirective.d.ts +0 -11
- package/error/WindowClosedError.d.ts +0 -6
- package/esm2020/VICommonModule.mjs +0 -185
- package/esm2020/application/ShellBaseComponent.mjs +0 -78
- package/esm2020/bottomSheet/BottomSheetImpl.mjs +0 -228
- package/esm2020/bottomSheet/BottomSheetModule.mjs +0 -37
- package/esm2020/bottomSheet/BottomSheetService.mjs +0 -107
- package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +0 -44
- 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 -82
- package/esm2020/directive/MenuTriggerForDirective.mjs +0 -55
- package/esm2020/error/WindowClosedError.mjs +0 -19
- package/esm2020/language/LanguageMatPaginatorIntl.mjs +0 -60
- 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 -33
- 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 -354
- 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/_core.scss +0 -317
- package/style/mat/_index.scss +0 -169
- package/style/mat/_variables.scss +0 -1
- package/style/mat/bootstrap/_background.scss +0 -28
- package/style/mat/bootstrap/_border.scss +0 -202
- package/style/mat/bootstrap/_index.scss +0 -27
- package/style/mat/bootstrap/_text.scss +0 -47
- package/style/mat/helper/_theme.scss +0 -96
- package/style/mat/helper/_typography.scss +0 -15
- package/window/IWindow.d.ts +0 -42
- 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 -88
- 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2luZG93LXJlc2l6ZS1lbGVtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy93aW5kb3cvY29tcG9uZW50L3dpbmRvdy1yZXNpemUtZWxlbWVudC93aW5kb3ctcmVzaXplLWVsZW1lbnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7QUFDdEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ2xELE9BQU8sRUFBRSxhQUFh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ZGxlcihldmVudDogTW91c2VFdmVudCk6IHZvaWQge1xuICAgICAgICBzdXBlci5jbGlja0hhbmRsZXIoZXZlbnQpO1xuICAgICAgICBpZiAoIV8uaXNOaWwodGhpcy53aW5kb3cpKSB7XG4gICAgICAgICAgICB0aGlzLndpbmRvdy5lbWl0KFdpbmRvd0V2ZW50LkVYUEFORCk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -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 {};
|