cmat 0.0.80 → 0.0.81
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/cmat-components-carousel.mjs +34 -9
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-drawer.mjs +49 -14
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs +49 -27
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
- package/fesm2022/cmat-components-navigation.mjs +149 -169
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +73 -63
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-popover.mjs +25 -14
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +9 -19
- package/fesm2022/cmat-components-select-search.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +45 -5
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +69 -18
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs.map +1 -1
- package/fesm2022/cmat-directives-arrow-cursor.mjs +66 -43
- package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
- package/fesm2022/cmat.mjs +559 -374
- package/fesm2022/cmat.mjs.map +1 -1
- package/package.json +1 -1
- package/types/cmat-components-carousel.d.ts +16 -9
- package/types/cmat-components-drawer.d.ts +6 -0
- package/types/cmat-components-material-datetimepicker.d.ts +10 -7
- package/types/cmat-components-navigation.d.ts +13 -8
- package/types/cmat-components-opt-input.d.ts +11 -8
- package/types/cmat-components-popover.d.ts +3 -3
- package/types/cmat-components-select-search.d.ts +1 -1
- package/types/cmat-components-speed-dial.d.ts +5 -1
- package/types/cmat-components-toast.d.ts +12 -2
- package/types/cmat-directives-arrow-cursor.d.ts +9 -4
- package/types/cmat.d.ts +83 -40
package/types/cmat.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateAdapter, MatDateFormats, ThemePalette, MatOption } from '@angular/material/core';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { InjectionToken, TemplateRef, OnChanges, SimpleChanges, AfterContentInit, AfterContentChecked, OnDestroy, ElementRef, NgZone, EventEmitter, QueryList, OnInit, AfterViewInit, Type as Type$2,
|
|
3
|
+
import { InjectionToken, TemplateRef, OnChanges, SimpleChanges, AfterContentInit, AfterContentChecked, OnDestroy, ElementRef, NgZone, EventEmitter, QueryList, OnInit, AfterViewInit, Type as Type$2, PipeTransform, WritableSignal, Injector } from '@angular/core';
|
|
4
4
|
import { Dayjs } from 'dayjs';
|
|
5
5
|
import { Observable, Subject, ReplaySubject } from 'rxjs';
|
|
6
6
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
@@ -370,22 +370,29 @@ declare class CmatCarouselComponent implements AfterContentInit, OnChanges, Afte
|
|
|
370
370
|
headerFacet: QueryList<CmatCarouselHeaderComponent> | undefined;
|
|
371
371
|
footerFacet: QueryList<CmatCarouselFooterComponent> | undefined;
|
|
372
372
|
templates: QueryList<CmatCarouselTemplateDirective> | undefined;
|
|
373
|
-
prevState:
|
|
373
|
+
prevState: {
|
|
374
|
+
numScroll: number;
|
|
375
|
+
numVisible: number;
|
|
376
|
+
value: any[];
|
|
377
|
+
};
|
|
374
378
|
defaultNumScroll: number;
|
|
375
379
|
defaultNumVisible: number;
|
|
376
|
-
carouselStyle:
|
|
380
|
+
carouselStyle: HTMLStyleElement | null;
|
|
377
381
|
id: string | undefined;
|
|
378
382
|
totalShiftedItems: number;
|
|
379
383
|
isRemainingItemsAdded: boolean;
|
|
380
|
-
animationTimeout:
|
|
381
|
-
translateTimeout:
|
|
384
|
+
animationTimeout: number | null;
|
|
385
|
+
translateTimeout: number | null;
|
|
382
386
|
remainingItems: number;
|
|
383
|
-
startPos:
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
+
startPos: {
|
|
388
|
+
x: number;
|
|
389
|
+
y: number;
|
|
390
|
+
} | null;
|
|
391
|
+
documentResizeListener: VoidFunction | null;
|
|
392
|
+
clonedItemsForStarting: any[];
|
|
393
|
+
clonedItemsForFinishing: any[];
|
|
387
394
|
allowAutoplay: boolean | undefined;
|
|
388
|
-
interval:
|
|
395
|
+
interval: number | null;
|
|
389
396
|
isCreated: boolean | undefined;
|
|
390
397
|
swipeThreshold: number;
|
|
391
398
|
itemTemplate: TemplateRef<any> | null;
|
|
@@ -1385,6 +1392,9 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
1385
1392
|
private _hovered;
|
|
1386
1393
|
private _overlay;
|
|
1387
1394
|
private _overlayClickDestroyFn;
|
|
1395
|
+
private _overlayLeaveTimeoutId;
|
|
1396
|
+
private _modeChangeTimeoutId;
|
|
1397
|
+
private _destroyed;
|
|
1388
1398
|
get classList(): any;
|
|
1389
1399
|
get styleList(): any;
|
|
1390
1400
|
onMouseenter(): void;
|
|
@@ -1395,6 +1405,9 @@ declare class CmatDrawerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
1395
1405
|
open(): void;
|
|
1396
1406
|
close(): void;
|
|
1397
1407
|
toggle(): void;
|
|
1408
|
+
private _removeOverlayElement;
|
|
1409
|
+
private _cleanupOverlay;
|
|
1410
|
+
private _clearOverlayLeaveTimeout;
|
|
1398
1411
|
private _enableAnimations;
|
|
1399
1412
|
private _disableAnimations;
|
|
1400
1413
|
private _showOverlay;
|
|
@@ -1749,7 +1762,7 @@ declare const CLOCK_RADIUS = 50;
|
|
|
1749
1762
|
declare const CLOCK_INNER_RADIUS = 27.5;
|
|
1750
1763
|
declare const CLOCK_OUTER_RADIUS = 41.25;
|
|
1751
1764
|
declare const CLOCK_TICK_RADIUS = 7.0833;
|
|
1752
|
-
declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
|
|
1765
|
+
declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit, OnDestroy {
|
|
1753
1766
|
userSelection: EventEmitter<void>;
|
|
1754
1767
|
dateFilter: (date: D, type: CmatDatetimepickerFilterType) => boolean;
|
|
1755
1768
|
interval: number;
|
|
@@ -1785,8 +1798,10 @@ declare class CmatDatetimepickerClockComponent<D> implements AfterContentInit {
|
|
|
1785
1798
|
get hand(): any;
|
|
1786
1799
|
handleMousedown(event: MouseEvent): void;
|
|
1787
1800
|
ngAfterContentInit(): void;
|
|
1788
|
-
|
|
1801
|
+
ngOnDestroy(): void;
|
|
1802
|
+
handleMousemove(event: MouseEvent | TouchEvent): void;
|
|
1789
1803
|
handleMouseup(): void;
|
|
1804
|
+
private _removeDocumentListeners;
|
|
1790
1805
|
private _init;
|
|
1791
1806
|
private _setTime;
|
|
1792
1807
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerClockComponent<any>, never>;
|
|
@@ -1815,8 +1830,8 @@ declare class CmatDatetimepickerCalendarComponent<D> implements AfterContentInit
|
|
|
1815
1830
|
private _intl;
|
|
1816
1831
|
private _adapter;
|
|
1817
1832
|
private _dateFormats;
|
|
1833
|
+
private readonly _destroyRef;
|
|
1818
1834
|
private _currentView;
|
|
1819
|
-
private _intlChanges;
|
|
1820
1835
|
private _clampedActiveDate;
|
|
1821
1836
|
private _type;
|
|
1822
1837
|
private _startAt;
|
|
@@ -1936,6 +1951,7 @@ declare class CmatDatetimepickerInputDirective<D> implements AfterContentInit, C
|
|
|
1936
1951
|
private _formField;
|
|
1937
1952
|
private _datepickerSubscription;
|
|
1938
1953
|
private _localeSubscription;
|
|
1954
|
+
private _valueChangeTimeoutId;
|
|
1939
1955
|
private _lastValueValid;
|
|
1940
1956
|
private _value;
|
|
1941
1957
|
private _min;
|
|
@@ -2034,6 +2050,7 @@ declare class CmatDatetimepickerComponent<D> implements OnDestroy {
|
|
|
2034
2050
|
private _focusedElementBeforeOpen;
|
|
2035
2051
|
private _backdropHarnessClass;
|
|
2036
2052
|
private _inputStateChanges;
|
|
2053
|
+
private _closeAnimationTimeoutId;
|
|
2037
2054
|
private _multiYearSelector;
|
|
2038
2055
|
private _twelvehour;
|
|
2039
2056
|
private _panelClass;
|
|
@@ -2120,7 +2137,7 @@ declare class CmatDatetimepickerToggleIconDirective {
|
|
|
2120
2137
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatDatetimepickerToggleIconDirective, never>;
|
|
2121
2138
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatDatetimepickerToggleIconDirective, "[cmatDatetimepickerToggleIcon]", never, {}, {}, never, never, true, never>;
|
|
2122
2139
|
}
|
|
2123
|
-
declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit, OnChanges
|
|
2140
|
+
declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit, OnChanges {
|
|
2124
2141
|
datetimepicker: CmatDatetimepickerComponent<D>;
|
|
2125
2142
|
tabIndex: number;
|
|
2126
2143
|
ariaLabel?: string;
|
|
@@ -2130,12 +2147,11 @@ declare class CmatDatetimepickerToggleComponent<D> implements AfterContentInit,
|
|
|
2130
2147
|
class: string;
|
|
2131
2148
|
readonly refreshVersion: i0.WritableSignal<number>;
|
|
2132
2149
|
protected intl: CmatDatetimepickerIntl;
|
|
2133
|
-
private
|
|
2150
|
+
private readonly _destroyRef;
|
|
2134
2151
|
private _disabled;
|
|
2135
2152
|
get disabled(): boolean;
|
|
2136
2153
|
set disabled(value: boolean);
|
|
2137
2154
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2138
|
-
ngOnDestroy(): void;
|
|
2139
2155
|
ngAfterContentInit(): void;
|
|
2140
2156
|
open(event: Event): void;
|
|
2141
2157
|
private _watchStateChanges;
|
|
@@ -2295,6 +2311,7 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
|
|
|
2295
2311
|
readonly positionChanged: EventEmitter<CmatVerticalNavigationPosition>;
|
|
2296
2312
|
readonly editSelectedItemChanged: EventEmitter<CmatNavigationItem>;
|
|
2297
2313
|
readonly activeAsideItemId: i0.WritableSignal<string | null>;
|
|
2314
|
+
readonly asideOverlayVisible: i0.WritableSignal<boolean>;
|
|
2298
2315
|
onCollapsableItemCollapsed: ReplaySubject<CmatNavigationItem>;
|
|
2299
2316
|
onCollapsableItemExpanded: ReplaySubject<CmatNavigationItem>;
|
|
2300
2317
|
readonly refreshToken: i0.WritableSignal<number>;
|
|
@@ -2307,10 +2324,14 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
|
|
|
2307
2324
|
private readonly _destroyRef;
|
|
2308
2325
|
private _animationsEnabled;
|
|
2309
2326
|
private _asideOverlay;
|
|
2310
|
-
private
|
|
2327
|
+
private _asideOverlayClickDestroyFn;
|
|
2328
|
+
private _asideOverlayLeaveTimeoutId;
|
|
2311
2329
|
private readonly _handleOverlayClick;
|
|
2312
2330
|
private _hovered;
|
|
2313
2331
|
private _overlay;
|
|
2332
|
+
private _overlayClickDestroyFn;
|
|
2333
|
+
private _overlayLeaveTimeoutId;
|
|
2334
|
+
private _modeChangeTimeoutId;
|
|
2314
2335
|
private _scrollStrategy;
|
|
2315
2336
|
constructor();
|
|
2316
2337
|
onMouseenter(): void;
|
|
@@ -2330,6 +2351,12 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
|
|
|
2330
2351
|
selectItem(item: CmatNavigationItem): void;
|
|
2331
2352
|
goToRouterLink(link: string): void;
|
|
2332
2353
|
isItemVisible(item: CmatNavigationItem): boolean;
|
|
2354
|
+
private _removeOverlayElement;
|
|
2355
|
+
private _removeAsideOverlayElement;
|
|
2356
|
+
private _forceCleanupOverlay;
|
|
2357
|
+
private _forceCleanupAsideOverlay;
|
|
2358
|
+
private _clearOverlayLeaveTimeout;
|
|
2359
|
+
private _clearAsideOverlayLeaveTimeout;
|
|
2333
2360
|
private _enableAnimations;
|
|
2334
2361
|
private _disableAnimations;
|
|
2335
2362
|
private _showOverlay;
|
|
@@ -2340,8 +2367,6 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
|
|
|
2340
2367
|
private _setNavigationOpened;
|
|
2341
2368
|
private _applyOpenedState;
|
|
2342
2369
|
private _setAsideActive;
|
|
2343
|
-
private _removeOverlayElement;
|
|
2344
|
-
private _removeOverlayAfterTransition;
|
|
2345
2370
|
private _syncHostBindings;
|
|
2346
2371
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatVerticalNavigationComponent, never>;
|
|
2347
2372
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatVerticalNavigationComponent, "cmat-vertical-navigation", ["cmatVerticalNavigation"], { "appearance": { "alias": "appearance"; "required": false; }; "autoCollapse": { "alias": "autoCollapse"; "required": false; }; "editState": { "alias": "editState"; "required": false; }; "inner": { "alias": "inner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "name": { "alias": "name"; "required": false; }; "navigation": { "alias": "navigation"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "position": { "alias": "position"; "required": false; }; "transparentOverlay": { "alias": "transparentOverlay"; "required": false; }; "hasRouteReuseStrategy": { "alias": "hasRouteReuseStrategy"; "required": false; }; }, { "routeReuseStrategyEmitUrl": "routeReuseStrategyEmitUrl"; "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; "editSelectedItemChanged": "editSelectedItemChanged"; }, never, ["[cmatVerticalNavigationHeader]", "[cmatVerticalNavigationContentHeader]", "[cmatVerticalNavigationContentFooter]", "[cmatVerticalNavigationFooter]"], true, never>;
|
|
@@ -2349,14 +2374,10 @@ declare class CmatVerticalNavigationComponent implements OnChanges, OnInit, Afte
|
|
|
2349
2374
|
|
|
2350
2375
|
declare class CmatNavigationService {
|
|
2351
2376
|
private readonly _componentRegistry;
|
|
2352
|
-
private readonly _refreshTokenRegistry;
|
|
2353
2377
|
private readonly _navigationStore;
|
|
2354
2378
|
registerComponent(name: string, component: unknown): void;
|
|
2355
2379
|
deregisterComponent(name: string): void;
|
|
2356
2380
|
getComponent<T = unknown>(name: string): T;
|
|
2357
|
-
registerRefreshToken(name: string, refreshToken: Signal<number>): void;
|
|
2358
|
-
deregisterRefreshToken(name: string): void;
|
|
2359
|
-
getRefreshToken(name: string): Signal<number> | undefined;
|
|
2360
2381
|
storeNavigation(key: string, navigation: CmatNavigationItem[]): void;
|
|
2361
2382
|
getNavigation(key: string): CmatNavigationItem[];
|
|
2362
2383
|
deleteNavigation(key: string): void;
|
|
@@ -2384,8 +2405,8 @@ declare class OptInputConfig {
|
|
|
2384
2405
|
|
|
2385
2406
|
declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterViewInit, OnDestroy, OnChanges, ControlValueAccessor {
|
|
2386
2407
|
id: string;
|
|
2387
|
-
onBlur:
|
|
2388
|
-
onInputChange:
|
|
2408
|
+
onBlur: EventEmitter<void>;
|
|
2409
|
+
onInputChange: EventEmitter<string | null>;
|
|
2389
2410
|
config: OptInputConfig;
|
|
2390
2411
|
otpForm: UntypedFormGroup;
|
|
2391
2412
|
currentVal: string | null;
|
|
@@ -2396,7 +2417,9 @@ declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterVi
|
|
|
2396
2417
|
private _document;
|
|
2397
2418
|
private _formBuilder;
|
|
2398
2419
|
private readonly _destroyRef;
|
|
2420
|
+
private _valueChangesSub;
|
|
2399
2421
|
private _activeFocusCount;
|
|
2422
|
+
private _pendingTimeouts;
|
|
2400
2423
|
constructor();
|
|
2401
2424
|
get inputType(): string;
|
|
2402
2425
|
get controlKeys(): string[];
|
|
@@ -2426,17 +2449,18 @@ declare class CmatOtpInputComponent implements MatFormFieldControl<any>, AfterVi
|
|
|
2426
2449
|
protected _disabled: boolean;
|
|
2427
2450
|
setDescribedByIds(ids: string[]): void;
|
|
2428
2451
|
onContainerClick(): void;
|
|
2429
|
-
onKeyDown($event:
|
|
2430
|
-
onInput($event:
|
|
2431
|
-
onKeyUp($event:
|
|
2432
|
-
validateNumber(val: string): boolean
|
|
2452
|
+
onKeyDown($event: KeyboardEvent, inputIdx: number): void;
|
|
2453
|
+
onInput($event: Event, inputIdx: number): void;
|
|
2454
|
+
onKeyUp($event: KeyboardEvent, inputIdx: number): void;
|
|
2455
|
+
validateNumber(val: string): boolean;
|
|
2433
2456
|
getBoxId(idx: string | number): string;
|
|
2434
2457
|
focusTo(eleId: string): void;
|
|
2435
2458
|
setValue(value: any): void;
|
|
2436
|
-
handlePaste(e:
|
|
2459
|
+
handlePaste(e: ClipboardEvent): void;
|
|
2437
2460
|
getFormControl(key: string): FormControl;
|
|
2438
2461
|
private _onModelChange;
|
|
2439
2462
|
private _onTouchedChange;
|
|
2463
|
+
private _removePendingTimeout;
|
|
2440
2464
|
private _getControlName;
|
|
2441
2465
|
private _clearInput;
|
|
2442
2466
|
private _setSelected;
|
|
@@ -2823,9 +2847,8 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
|
|
|
2823
2847
|
private _overlayRef;
|
|
2824
2848
|
private _popoverOpen;
|
|
2825
2849
|
private _halt;
|
|
2826
|
-
private _backdropSubscription;
|
|
2827
2850
|
private _positionSubscription;
|
|
2828
|
-
private
|
|
2851
|
+
private _leaveTimeoutId;
|
|
2829
2852
|
private _mouseoverTimer;
|
|
2830
2853
|
private _openedByMouse;
|
|
2831
2854
|
get popoverOpen(): boolean;
|
|
@@ -2854,7 +2877,8 @@ declare class CmatPopoverTriggerDirective implements OnChanges, AfterViewInit, O
|
|
|
2854
2877
|
private _getOverlayScrollStrategy;
|
|
2855
2878
|
private _subscribeToPositions;
|
|
2856
2879
|
private _getPosition;
|
|
2857
|
-
private
|
|
2880
|
+
private _cleanUpPositionSubscription;
|
|
2881
|
+
private _clearLeaveTimeout;
|
|
2858
2882
|
private _setCurrentConfig;
|
|
2859
2883
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPopoverTriggerDirective, never>;
|
|
2860
2884
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatPopoverTriggerDirective, "[cmatPopoverTriggerFor],[cmatPopoverTargetAt],[cmatPopoverTriggerOn]", ["cmatPopoverTrigger"], { "popover": { "alias": "cmatPopoverTriggerFor"; "required": false; }; "targetElement": { "alias": "cmatPopoverTargetAt"; "required": false; }; "triggerEvent": { "alias": "cmatPopoverTriggerOn"; "required": false; }; }, { "popoverOpened": "popoverOpened"; "popoverClosed": "popoverClosed"; }, never, never, true, never>;
|
|
@@ -3036,7 +3060,7 @@ declare class CmatSelectSearchComponent implements OnInit, ControlValueAccessor
|
|
|
3036
3060
|
get value(): string;
|
|
3037
3061
|
get _options(): QueryList<MatOption> | null;
|
|
3038
3062
|
set _options(_options: QueryList<MatOption>);
|
|
3039
|
-
onTouched: () =>
|
|
3063
|
+
onTouched: () => void;
|
|
3040
3064
|
ngOnInit(): void;
|
|
3041
3065
|
emitSelectAllBooleanToParent(state: boolean): void;
|
|
3042
3066
|
isToggleAllCheckboxVisible(): boolean;
|
|
@@ -3299,18 +3323,22 @@ declare class CmatSelectTreeComponent implements MatFormFieldControl<any>, Contr
|
|
|
3299
3323
|
|
|
3300
3324
|
type Direction = 'up' | 'down' | 'left' | 'right';
|
|
3301
3325
|
type AnimationMode = 'fling' | 'scale';
|
|
3302
|
-
declare class CmatSpeedDialActionsComponent implements AfterContentInit {
|
|
3326
|
+
declare class CmatSpeedDialActionsComponent implements AfterContentInit, OnDestroy {
|
|
3303
3327
|
private _buttons;
|
|
3304
3328
|
readonly miniFabVisible: i0.WritableSignal<boolean>;
|
|
3305
3329
|
private readonly _renderer;
|
|
3330
|
+
private readonly _destroyRef;
|
|
3306
3331
|
private readonly _parent;
|
|
3307
3332
|
private _showMiniFabAnimation;
|
|
3308
3333
|
private _hideMiniFab;
|
|
3334
|
+
private _hideTimeoutId;
|
|
3309
3335
|
ngAfterContentInit(): void;
|
|
3336
|
+
ngOnDestroy(): void;
|
|
3310
3337
|
show(): void;
|
|
3311
3338
|
hide(): void;
|
|
3312
3339
|
private _initButtonStates;
|
|
3313
3340
|
private _resetAnimationState;
|
|
3341
|
+
private _clearHideTimeout;
|
|
3314
3342
|
private _getTranslateFunction;
|
|
3315
3343
|
private _changeElementStyle;
|
|
3316
3344
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatSpeedDialActionsComponent, never>;
|
|
@@ -3455,16 +3483,26 @@ interface CmatToastModel extends GlobalConfigModel {
|
|
|
3455
3483
|
message: string;
|
|
3456
3484
|
}
|
|
3457
3485
|
|
|
3458
|
-
declare class CmatToastModalComponent implements AfterViewInit {
|
|
3486
|
+
declare class CmatToastModalComponent implements AfterViewInit, OnDestroy {
|
|
3459
3487
|
toast: CmatToastModel;
|
|
3460
3488
|
closeToastEvent: EventEmitter<number>;
|
|
3461
3489
|
readonly progressPercent: i0.WritableSignal<number>;
|
|
3490
|
+
readonly displayTitle: i0.WritableSignal<string>;
|
|
3491
|
+
readonly displayType: i0.WritableSignal<string>;
|
|
3492
|
+
readonly displayMessage: i0.WritableSignal<string>;
|
|
3493
|
+
readonly leaving: i0.WritableSignal<boolean>;
|
|
3462
3494
|
timeout: number;
|
|
3463
3495
|
private _progressInterval;
|
|
3464
3496
|
private _startTime;
|
|
3497
|
+
private _leaveTimeoutId;
|
|
3498
|
+
private _elementRef;
|
|
3465
3499
|
ngAfterViewInit(): void;
|
|
3500
|
+
ngOnDestroy(): void;
|
|
3466
3501
|
handleProgress(): void;
|
|
3467
3502
|
close(toast: CmatToastModel): void;
|
|
3503
|
+
private _emitClose;
|
|
3504
|
+
private _clearInterval;
|
|
3505
|
+
private _clearLeaveTimeout;
|
|
3468
3506
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatToastModalComponent, never>;
|
|
3469
3507
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatToastModalComponent, "cmat-toast-modal", ["cmatToastModal"], { "toast": { "alias": "toast"; "required": false; }; }, { "closeToastEvent": "closeToastEvent"; }, never, never, true, never>;
|
|
3470
3508
|
}
|
|
@@ -3900,7 +3938,7 @@ declare class CmatArrowCursorDirective implements AfterViewInit, OnDestroy {
|
|
|
3900
3938
|
enabled: boolean;
|
|
3901
3939
|
selector: string;
|
|
3902
3940
|
clickEvent: EventEmitter<string | null>;
|
|
3903
|
-
cursorAnimationFrame:
|
|
3941
|
+
cursorAnimationFrame: number | null;
|
|
3904
3942
|
isPhone: boolean;
|
|
3905
3943
|
arrowCursor: HTMLDivElement | null;
|
|
3906
3944
|
cursorClientX: number;
|
|
@@ -3911,13 +3949,18 @@ declare class CmatArrowCursorDirective implements AfterViewInit, OnDestroy {
|
|
|
3911
3949
|
private _document;
|
|
3912
3950
|
private _cmatMediaWatcherService;
|
|
3913
3951
|
private readonly _destroyRef;
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3952
|
+
private _isCursorActive;
|
|
3953
|
+
private readonly _boundMoveCursor;
|
|
3954
|
+
onMouseEnter(event: MouseEvent): void;
|
|
3955
|
+
onMouseLeave(event: MouseEvent): void;
|
|
3956
|
+
onMouseOver(event: MouseEvent): void;
|
|
3917
3957
|
onClick(event: Event): void;
|
|
3918
3958
|
ngAfterViewInit(): void;
|
|
3919
3959
|
ngOnDestroy(): void;
|
|
3920
3960
|
moveCursor(): void;
|
|
3961
|
+
private _startCursorLoop;
|
|
3962
|
+
private _stopCursorLoop;
|
|
3963
|
+
private _applyCursorRotation;
|
|
3921
3964
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatArrowCursorDirective, never>;
|
|
3922
3965
|
static ɵdir: i0.ɵɵDirectiveDeclaration<CmatArrowCursorDirective, "[cmatArrowCursor]", never, { "animationDuration": { "alias": "animationDuration"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "enabled": { "alias": "enabled"; "required": false; }; "selector": { "alias": "selector"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, never, true, never>;
|
|
3923
3966
|
}
|