@ts-core/angular 13.0.47 → 13.0.50
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/bottomSheet/component/BottomSheetBaseComponent.d.ts +0 -2
- package/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.d.ts +1 -2
- package/esm2020/bottomSheet/BottomSheetImpl.mjs +7 -2
- package/esm2020/bottomSheet/BottomSheetModule.mjs +6 -4
- package/esm2020/bottomSheet/BottomSheetService.mjs +2 -2
- package/esm2020/bottomSheet/component/BottomSheetBaseComponent.mjs +3 -7
- package/esm2020/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.mjs +11 -16
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/window/WindowFactory.mjs +12 -4
- package/esm2020/window/WindowImpl.mjs +29 -3
- package/esm2020/window/WindowModule.mjs +5 -12
- package/esm2020/window/WindowService.mjs +6 -2
- package/esm2020/window/component/WindowBaseComponent.mjs +10 -47
- package/esm2020/window/component/WindowElement.mjs +12 -3
- package/esm2020/window/component/window-close-element/window-close-element.component.mjs +11 -16
- package/esm2020/window/component/window-minimize-element/window-minimize-element.component.mjs +11 -16
- package/esm2020/window/component/window-resize-element/window-resize-element.component.mjs +10 -15
- package/fesm2015/ts-core-angular.mjs +2586 -2598
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +2579 -2591
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/window/WindowFactory.d.ts +4 -2
- package/window/WindowImpl.d.ts +2 -0
- package/window/WindowModule.d.ts +0 -5
- package/window/component/WindowBaseComponent.d.ts +1 -9
- package/window/component/WindowElement.d.ts +2 -1
- package/window/component/window-close-element/window-close-element.component.d.ts +1 -2
- package/window/component/window-minimize-element/window-minimize-element.component.d.ts +1 -2
- package/window/component/window-resize-element/window-resize-element.component.d.ts +1 -2
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export * from './notification/NotificationService';
|
|
|
90
90
|
export * from './notification/component/NotificationBaseComponent';
|
|
91
91
|
export * from './notification/component/notification/notification.component';
|
|
92
92
|
export * from './bottomSheet/BottomSheetService';
|
|
93
|
+
export * from './bottomSheet/component/BottomSheetBaseComponent';
|
|
93
94
|
export * from './pipe/CamelCasePipe';
|
|
94
95
|
export * from './pipe/FinancePipe';
|
|
95
96
|
export * from './pipe/MomentDateAdaptivePipe';
|
|
@@ -133,6 +134,7 @@ export * from './window/WindowModule';
|
|
|
133
134
|
export * from './window/IWindowContent';
|
|
134
135
|
export * from './window/WindowService';
|
|
135
136
|
export * from './window/WindowProperties';
|
|
137
|
+
export * from './window/component/WindowElement';
|
|
136
138
|
export * from './window/component/WindowBaseComponent';
|
|
137
139
|
export * from './window/component/WindowDragAreaDirective';
|
|
138
140
|
export * from './window/component/WindowQuestionBaseComponent';
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IWindow } from './IWindow';
|
|
2
2
|
import { WindowProperties } from './WindowProperties';
|
|
3
3
|
export declare class WindowFactory<U extends IWindow> {
|
|
4
|
-
protected
|
|
5
|
-
|
|
4
|
+
protected defaultType: WindowType<U>;
|
|
5
|
+
createFunction: CreateFunction;
|
|
6
|
+
constructor(defaultType: WindowType<U>);
|
|
6
7
|
create(properties: WindowProperties): U;
|
|
7
8
|
}
|
|
9
|
+
export declare type CreateFunction = <U extends IWindow>(properties: WindowProperties) => U;
|
|
8
10
|
export interface WindowType<T> {
|
|
9
11
|
new (properties: WindowProperties): T;
|
|
10
12
|
}
|
package/window/WindowImpl.d.ts
CHANGED
|
@@ -30,8 +30,10 @@ export declare class WindowImpl<T = any> extends WindowBase<T> implements IWindo
|
|
|
30
30
|
protected observer: Subject<string>;
|
|
31
31
|
constructor(properties: WindowProperties);
|
|
32
32
|
protected elementsCreate(): void;
|
|
33
|
+
protected elementsDestroy(): void;
|
|
33
34
|
protected elementAdd(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
|
|
34
35
|
protected elementRemove(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
|
|
36
|
+
protected elementDestroy(item: ComponentRef<WindowElement>): ComponentRef<WindowElement>;
|
|
35
37
|
protected setClosed: () => void;
|
|
36
38
|
protected setOpened: () => void;
|
|
37
39
|
protected blinkToggle: () => void;
|
package/window/WindowModule.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { LanguageService } from '@ts-core/frontend/language';
|
|
4
|
-
import { CookieService } from '../cookie/CookieService';
|
|
5
|
-
import { WindowService } from './WindowService';
|
|
6
2
|
import * as i0 from "@angular/core";
|
|
7
3
|
import * as i1 from "./component/WindowDragAreaDirective";
|
|
8
4
|
import * as i2 from "./component/window-question/window-question.component";
|
|
@@ -21,4 +17,3 @@ export declare class WindowModule {
|
|
|
21
17
|
static ɵmod: i0.ɵɵNgModuleDeclaration<WindowModule, [typeof i1.WindowDragAreaDirective, typeof i2.WindowQuestionComponent, typeof i3.WindowCloseElementComponent, typeof i4.WindowResizeElementComponent, typeof i5.WindowMinimizeElementComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.MatButtonModule, typeof i9.MatDialogModule, typeof i10.CookieModule, typeof i11.LanguageModule], [typeof i1.WindowDragAreaDirective, typeof i2.WindowQuestionComponent, typeof i3.WindowCloseElementComponent, typeof i4.WindowResizeElementComponent, typeof i5.WindowMinimizeElementComponent]>;
|
|
22
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<WindowModule>;
|
|
23
19
|
}
|
|
24
|
-
export declare function windowServiceFactory(dialog: MatDialog, language: LanguageService, cookies: CookieService): WindowService;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, ComponentRef } from '@angular/core';
|
|
2
1
|
import { WindowCloseElementComponent } from './window-close-element/window-close-element.component';
|
|
3
2
|
import { WindowMinimizeElementComponent } from './window-minimize-element/window-minimize-element.component';
|
|
4
3
|
import { WindowResizeElementComponent } from './window-resize-element/window-resize-element.component';
|
|
@@ -7,20 +6,13 @@ export declare class WindowBaseComponent extends WindowDragable {
|
|
|
7
6
|
static CLOSE_COMPONENT: typeof WindowCloseElementComponent;
|
|
8
7
|
static RESIZE_COMPONENT: typeof WindowResizeElementComponent;
|
|
9
8
|
static MINIMIZE_COMPONENT: typeof WindowMinimizeElementComponent;
|
|
10
|
-
protected
|
|
11
|
-
protected resizedWindow: ComponentRef<any>;
|
|
12
|
-
protected minimizeWindow: ComponentRef<any>;
|
|
13
|
-
protected setProperties(): void;
|
|
14
|
-
protected createWindowComponents(): void;
|
|
9
|
+
protected elementsCreate(): void;
|
|
15
10
|
protected commitIsBlinkProperties(): void;
|
|
16
11
|
protected commitIsDisabledProperties(): void;
|
|
17
12
|
protected commitIsShakingProperties(): void;
|
|
18
13
|
protected commitIsMinimizedProperties(): void;
|
|
19
|
-
protected isNeedClickStopPropagation(event: MouseEvent): boolean;
|
|
20
|
-
protected get resolver(): ComponentFactoryResolver;
|
|
21
14
|
protected get blinkClass(): string;
|
|
22
15
|
protected get disabledClass(): string;
|
|
23
16
|
protected get minimizedClass(): string;
|
|
24
17
|
protected get shakingClass(): string;
|
|
25
|
-
destroy(): void;
|
|
26
18
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, ElementRef } from '@angular/core';
|
|
|
2
2
|
import { DestroyableContainer } from '@ts-core/common';
|
|
3
3
|
import { IWindow } from '../IWindow';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class WindowElement extends DestroyableContainer implements AfterViewInit {
|
|
5
|
+
export declare abstract class WindowElement extends DestroyableContainer implements AfterViewInit {
|
|
6
6
|
protected element: ElementRef;
|
|
7
7
|
protected _window: IWindow;
|
|
8
8
|
constructor(element: ElementRef);
|
|
@@ -13,6 +13,7 @@ export declare class WindowElement extends DestroyableContainer implements After
|
|
|
13
13
|
protected commitWindowProperties(): void;
|
|
14
14
|
ngAfterViewInit(): void;
|
|
15
15
|
destroy(): void;
|
|
16
|
+
clickHandler(event: MouseEvent): void;
|
|
16
17
|
protected get nativeElement(): HTMLElement;
|
|
17
18
|
get window(): IWindow;
|
|
18
19
|
set window(value: IWindow);
|
|
@@ -6,8 +6,7 @@ export declare class WindowCloseElementComponent extends WindowElement {
|
|
|
6
6
|
static ICON_VALUE: string;
|
|
7
7
|
constructor(element: ElementRef);
|
|
8
8
|
protected createChildren(): void;
|
|
9
|
-
|
|
10
|
-
private mouseClickHandler;
|
|
9
|
+
clickHandler(event: MouseEvent): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowCloseElementComponent, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<WindowCloseElementComponent, "vi-window-close-element", never, {}, {}, never, never>;
|
|
13
12
|
}
|
|
@@ -9,8 +9,7 @@ export declare class WindowMinimizeElementComponent extends WindowElement {
|
|
|
9
9
|
private commitIconProperties;
|
|
10
10
|
protected commitWindowProperties(): void;
|
|
11
11
|
protected createChildren(): void;
|
|
12
|
-
|
|
13
|
-
private mouseClickHandler;
|
|
12
|
+
clickHandler(event: MouseEvent): void;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowMinimizeElementComponent, never>;
|
|
15
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<WindowMinimizeElementComponent, "vi-window-minimize-element", never, {}, {}, never, never>;
|
|
16
15
|
}
|
|
@@ -6,8 +6,7 @@ export declare class WindowResizeElementComponent extends WindowElement {
|
|
|
6
6
|
static ICON_VALUE: string;
|
|
7
7
|
constructor(element: ElementRef);
|
|
8
8
|
protected createChildren(): void;
|
|
9
|
-
|
|
10
|
-
private mouseClickHandler;
|
|
9
|
+
clickHandler(event: MouseEvent): void;
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<WindowResizeElementComponent, never>;
|
|
12
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<WindowResizeElementComponent, "vi-window-resize-element", never, {}, {}, never, never>;
|
|
13
12
|
}
|