@ng-matero/extensions 20.3.0 → 21.0.0
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/fesm2022/mtxAlert.mjs +8 -8
- package/fesm2022/mtxAlert.mjs.map +1 -1
- package/fesm2022/mtxButton.mjs +7 -7
- package/fesm2022/mtxButton.mjs.map +1 -1
- package/fesm2022/mtxCheckboxGroup.mjs +7 -7
- package/fesm2022/mtxCheckboxGroup.mjs.map +1 -1
- package/fesm2022/mtxColorpicker.mjs +27 -101
- package/fesm2022/mtxColorpicker.mjs.map +1 -1
- package/fesm2022/mtxColumnResize.mjs +43 -43
- package/fesm2022/mtxColumnResize.mjs.map +1 -1
- package/fesm2022/mtxCore.mjs +21 -21
- package/fesm2022/mtxCore.mjs.map +1 -1
- package/fesm2022/mtxDatetimepicker.mjs +76 -267
- package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
- package/fesm2022/mtxDialog.mjs +11 -11
- package/fesm2022/mtxDialog.mjs.map +1 -1
- package/fesm2022/mtxDrawer.mjs +27 -88
- package/fesm2022/mtxDrawer.mjs.map +1 -1
- package/fesm2022/mtxGrid.mjs +75 -75
- package/fesm2022/mtxGrid.mjs.map +1 -1
- package/fesm2022/mtxLoader.mjs +7 -7
- package/fesm2022/mtxLoader.mjs.map +1 -1
- package/fesm2022/mtxPhotoviewer.mjs +7 -7
- package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
- package/fesm2022/mtxPopover.mjs +93 -188
- package/fesm2022/mtxPopover.mjs.map +1 -1
- package/fesm2022/mtxProgress.mjs +8 -8
- package/fesm2022/mtxProgress.mjs.map +1 -1
- package/fesm2022/mtxSelect.mjs +53 -60
- package/fesm2022/mtxSelect.mjs.map +1 -1
- package/fesm2022/mtxSplit.mjs +10 -10
- package/fesm2022/mtxSplit.mjs.map +1 -1
- package/fesm2022/mtxTooltip.mjs +38 -127
- package/fesm2022/mtxTooltip.mjs.map +1 -1
- package/package.json +39 -39
- package/prebuilt-themes/deeppurple-amber.css +1 -1
- package/prebuilt-themes/indigo-pink.css +1 -1
- package/prebuilt-themes/pink-bluegrey.css +1 -1
- package/prebuilt-themes/purple-green.css +1 -1
- package/{colorpicker/index.d.ts → types/mtxColorpicker.d.ts} +3 -29
- package/{datetimepicker/index.d.ts → types/mtxDatetimepicker.d.ts} +6 -34
- package/{drawer/index.d.ts → types/mtxDrawer.d.ts} +12 -13
- package/{grid/index.d.ts → types/mtxGrid.d.ts} +5 -6
- package/{popover/index.d.ts → types/mtxPopover.d.ts} +2 -38
- package/{select/index.d.ts → types/mtxSelect.d.ts} +2 -3
- package/{tooltip/index.d.ts → types/mtxTooltip.d.ts} +9 -41
- /package/{alert/index.d.ts → types/mtxAlert.d.ts} +0 -0
- /package/{button/index.d.ts → types/mtxButton.d.ts} +0 -0
- /package/{checkbox-group/index.d.ts → types/mtxCheckboxGroup.d.ts} +0 -0
- /package/{column-resize/index.d.ts → types/mtxColumnResize.d.ts} +0 -0
- /package/{core/index.d.ts → types/mtxCore.d.ts} +0 -0
- /package/{dialog/index.d.ts → types/mtxDialog.d.ts} +0 -0
- /package/{loader/index.d.ts → types/mtxLoader.d.ts} +0 -0
- /package/{photoviewer/index.d.ts → types/mtxPhotoviewer.d.ts} +0 -0
- /package/{progress/index.d.ts → types/mtxProgress.d.ts} +0 -0
- /package/{split/index.d.ts → types/mtxSplit.d.ts} +0 -0
- /package/{index.d.ts → types/ng-matero-extensions.d.ts} +0 -0
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnDestroy, AfterViewInit, ElementRef, TemplateRef, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/cdk/a11y';
|
|
4
|
-
import * as i2 from '@angular/
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import * as
|
|
8
|
-
import * as i5 from '@ng-matero/extensions/core';
|
|
4
|
+
import * as i2 from '@angular/cdk/overlay';
|
|
5
|
+
import { OverlayRef, ConnectedPosition, OriginConnectionPosition, OverlayConnectionPosition, ScrollStrategy } from '@angular/cdk/overlay';
|
|
6
|
+
import * as i3 from '@ng-matero/extensions/core';
|
|
7
|
+
import * as i5 from '@angular/cdk/bidi';
|
|
9
8
|
import { Directionality } from '@angular/cdk/bidi';
|
|
10
9
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
11
10
|
import { Observable } from 'rxjs';
|
|
12
|
-
import * as
|
|
11
|
+
import * as i6 from '@angular/cdk/scrolling';
|
|
13
12
|
|
|
14
13
|
/** Possible positions for a tooltip. */
|
|
15
14
|
type TooltipPosition = 'left' | 'right' | 'above' | 'below' | 'before' | 'after';
|
|
@@ -29,28 +28,6 @@ declare const SCROLL_THROTTLE_MS = 20;
|
|
|
29
28
|
declare function getMtxTooltipInvalidPositionError(position: string): Error;
|
|
30
29
|
/** Injection token that determines the scroll handling while a tooltip is visible. */
|
|
31
30
|
declare const MTX_TOOLTIP_SCROLL_STRATEGY: InjectionToken<() => ScrollStrategy>;
|
|
32
|
-
/**
|
|
33
|
-
* @docs-private
|
|
34
|
-
* @deprecated No longer used, will be removed.
|
|
35
|
-
* @breaking-change 21.0.0
|
|
36
|
-
*/
|
|
37
|
-
declare function MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY(overlay: Overlay): () => ScrollStrategy;
|
|
38
|
-
/**
|
|
39
|
-
* @docs-private
|
|
40
|
-
* @deprecated No longer used, will be removed.
|
|
41
|
-
* @breaking-change 21.0.0
|
|
42
|
-
*/
|
|
43
|
-
declare const MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER: {
|
|
44
|
-
provide: InjectionToken<() => ScrollStrategy>;
|
|
45
|
-
deps: (typeof Overlay)[];
|
|
46
|
-
useFactory: typeof MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* @docs-private
|
|
50
|
-
* @deprecated No longer used, will be removed.
|
|
51
|
-
* @breaking-change 21.0.0
|
|
52
|
-
*/
|
|
53
|
-
declare function MTX_TOOLTIP_DEFAULT_OPTIONS_FACTORY(): MtxTooltipDefaultOptions;
|
|
54
31
|
/** Injection token to be used to override the default options for `mtxTooltip`. */
|
|
55
32
|
declare const MTX_TOOLTIP_DEFAULT_OPTIONS: InjectionToken<MtxTooltipDefaultOptions>;
|
|
56
33
|
/** Default `mtxTooltip` options that can be overridden. */
|
|
@@ -101,9 +78,11 @@ declare class MtxTooltip implements OnDestroy, AfterViewInit {
|
|
|
101
78
|
protected _dir: Directionality;
|
|
102
79
|
private _injector;
|
|
103
80
|
private _viewContainerRef;
|
|
81
|
+
private _animationsDisabled;
|
|
104
82
|
private _defaultOptions;
|
|
105
83
|
_overlayRef: OverlayRef | null;
|
|
106
84
|
_tooltipInstance: TooltipComponent | null;
|
|
85
|
+
_overlayPanelClass: string[] | undefined;
|
|
107
86
|
private _portal;
|
|
108
87
|
private _position;
|
|
109
88
|
private _positionAtOrigin;
|
|
@@ -278,7 +257,6 @@ declare class TooltipComponent implements OnDestroy {
|
|
|
278
257
|
private readonly _showAnimation;
|
|
279
258
|
/** Name of the hide animation and the class that toggles it. */
|
|
280
259
|
private readonly _hideAnimation;
|
|
281
|
-
constructor();
|
|
282
260
|
/**
|
|
283
261
|
* Shows the tooltip with an animation originating from the provided origin
|
|
284
262
|
* @param delay Amount of milliseconds to the delay showing the tooltip.
|
|
@@ -329,19 +307,9 @@ declare class TooltipComponent implements OnDestroy {
|
|
|
329
307
|
|
|
330
308
|
declare class MtxTooltipModule {
|
|
331
309
|
static ɵfac: i0.ɵɵFactoryDeclaration<MtxTooltipModule, never>;
|
|
332
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxTooltipModule, never, [typeof i1.A11yModule, typeof i2.
|
|
310
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MtxTooltipModule, never, [typeof i1.A11yModule, typeof i2.OverlayModule, typeof i3.MtxPipesModule, typeof MtxTooltip, typeof TooltipComponent], [typeof MtxTooltip, typeof TooltipComponent, typeof i5.BidiModule, typeof i6.CdkScrollableModule]>;
|
|
333
311
|
static ɵinj: i0.ɵɵInjectorDeclaration<MtxTooltipModule>;
|
|
334
312
|
}
|
|
335
313
|
|
|
336
|
-
|
|
337
|
-
* Animations used by MatTooltip.
|
|
338
|
-
* @docs-private
|
|
339
|
-
* @deprecated No longer being used, to be removed.
|
|
340
|
-
* @breaking-change 21.0.0
|
|
341
|
-
*/
|
|
342
|
-
declare const matTooltipAnimations: {
|
|
343
|
-
readonly tooltipState: any;
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
export { MTX_TOOLTIP_DEFAULT_OPTIONS, MTX_TOOLTIP_DEFAULT_OPTIONS_FACTORY, MTX_TOOLTIP_SCROLL_STRATEGY, MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY, MTX_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER, MtxTooltip, MtxTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMtxTooltipInvalidPositionError, matTooltipAnimations };
|
|
314
|
+
export { MTX_TOOLTIP_DEFAULT_OPTIONS, MTX_TOOLTIP_SCROLL_STRATEGY, MtxTooltip, MtxTooltipModule, SCROLL_THROTTLE_MS, TOOLTIP_PANEL_CLASS, TooltipComponent, getMtxTooltipInvalidPositionError };
|
|
347
315
|
export type { MtxTooltipDefaultOptions, TooltipPosition, TooltipTouchGestures, TooltipVisibility };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|