@ts-core/angular 11.0.79 → 11.0.83
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/BottomSheetImpl.d.ts → BottomSheetImpl.d.ts} +12 -4
- package/bottomSheet/component/BottomSheetBaseComponent.d.ts +19 -0
- package/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.d.ts +10 -0
- package/bundles/ts-core-angular.umd.js +329 -109
- package/bundles/ts-core-angular.umd.js.map +1 -1
- package/bundles/ts-core-angular.umd.min.js +1 -1
- package/bundles/ts-core-angular.umd.min.js.map +1 -1
- package/esm2015/bottomSheet/BottomSheetImpl.js +231 -0
- package/esm2015/bottomSheet/BottomSheetModule.js +3 -3
- package/esm2015/bottomSheet/BottomSheetService.js +3 -3
- package/esm2015/bottomSheet/component/BottomSheetBaseComponent.js +86 -0
- package/esm2015/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.js +63 -0
- package/esm2015/component/cdk-table/cdk-table-filterable/cdk-table-filterable.component.js +2 -2
- package/esm2015/component/cdk-table/cdk-table-paginable/cdk-table-paginable.component.js +2 -2
- package/esm2015/service/RouterBaseService.js +15 -5
- package/esm2015/ts-core-angular.js +11 -10
- package/esm2015/window/component/WindowBaseComponent.js +2 -2
- package/fesm2015/ts-core-angular.js +269 -90
- package/fesm2015/ts-core-angular.js.map +1 -1
- package/package.json +1 -1
- package/service/RouterBaseService.d.ts +10 -2
- package/style/mat/vi-mat.scss +7 -3
- package/ts-core-angular.d.ts +11 -10
- package/ts-core-angular.metadata.json +1 -1
- package/esm2015/bottomSheet/component/BottomSheetImpl.js +0 -201
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { Observable, Subject, Subscription } from 'rxjs';
|
|
2
2
|
import { DestroyableContainer } from '@ts-core/common';
|
|
3
3
|
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
|
|
4
|
-
import { WindowConfig } from '
|
|
5
|
-
import { IWindow } from '
|
|
6
|
-
import { IWindowContent } from '
|
|
7
|
-
import { WindowProperties } from '
|
|
4
|
+
import { WindowConfig } from '../window/WindowConfig';
|
|
5
|
+
import { IWindow } from '../window/IWindow';
|
|
6
|
+
import { IWindowContent } from '../window/IWindowContent';
|
|
7
|
+
import { WindowProperties } from '../window/WindowProperties';
|
|
8
8
|
export declare class BottomSheetImpl<T = any> extends DestroyableContainer implements IWindow {
|
|
9
9
|
static BLINK_DELAY: number;
|
|
10
10
|
static SHAKE_DELAY: number;
|
|
11
11
|
private _isBlink;
|
|
12
12
|
private blinkTimer;
|
|
13
13
|
private _isDisabled;
|
|
14
|
+
private _wrapper;
|
|
15
|
+
private _backdrop;
|
|
16
|
+
private _container;
|
|
14
17
|
protected properties: WindowProperties;
|
|
15
18
|
protected subscription: Subscription;
|
|
16
19
|
protected observer: Subject<string>;
|
|
@@ -24,7 +27,12 @@ export declare class BottomSheetImpl<T = any> extends DestroyableContainer imple
|
|
|
24
27
|
protected getConfig(): WindowConfig;
|
|
25
28
|
protected getContainer(): HTMLElement;
|
|
26
29
|
protected getReference(): MatBottomSheetRef<IWindowContent<T>>;
|
|
30
|
+
protected isNeedClickStopPropagation(event: MouseEvent): boolean;
|
|
27
31
|
private stopBlinkIfNeed;
|
|
32
|
+
protected mouseDownHandler(event: MouseEvent): void;
|
|
33
|
+
protected mouseClickHandler(event: MouseEvent): void;
|
|
34
|
+
private mouseDownHandlerProxy;
|
|
35
|
+
private mouseClickHandlerProxy;
|
|
28
36
|
emit(event: string): void;
|
|
29
37
|
close(): void;
|
|
30
38
|
destroy(): void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ComponentFactoryResolver, ComponentRef } from '@angular/core';
|
|
2
|
+
import { BottomSheetImpl } from '../BottomSheetImpl';
|
|
3
|
+
import { BottomSheetCloseElementComponent } from './bottom-sheet-close-element/bottom-sheet-close-element.component';
|
|
4
|
+
export declare class BottomSheetBaseComponent extends BottomSheetImpl {
|
|
5
|
+
static CLOSE_COMPONENT: typeof BottomSheetCloseElementComponent;
|
|
6
|
+
protected closeWindow: ComponentRef<any>;
|
|
7
|
+
protected setProperties(): void;
|
|
8
|
+
protected createWindowComponents(): void;
|
|
9
|
+
protected commitIsBlinkProperties(): void;
|
|
10
|
+
protected commitIsDisabledProperties(): void;
|
|
11
|
+
protected commitIsShakingProperties(): void;
|
|
12
|
+
protected isNeedClickStopPropagation(event: MouseEvent): boolean;
|
|
13
|
+
protected get resolver(): ComponentFactoryResolver;
|
|
14
|
+
protected get blinkClass(): string;
|
|
15
|
+
protected get disabledClass(): string;
|
|
16
|
+
protected get minimizedClass(): string;
|
|
17
|
+
protected get shakingClass(): string;
|
|
18
|
+
destroy(): void;
|
|
19
|
+
}
|
package/bottomSheet/component/bottom-sheet-close-element/bottom-sheet-close-element.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { WindowElement } from '../../../window/component/WindowElement';
|
|
3
|
+
export declare class BottomSheetCloseElementComponent extends WindowElement {
|
|
4
|
+
static ICON_CLASS: string;
|
|
5
|
+
static ICON_VALUE: string;
|
|
6
|
+
constructor(element: ElementRef);
|
|
7
|
+
protected createChildren(): void;
|
|
8
|
+
protected destroyChildren(): void;
|
|
9
|
+
private mouseClickHandler;
|
|
10
|
+
}
|