@acorex/cdk 22.1.0-next.30 → 22.1.0-next.32
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/acorex-cdk-accordion.mjs +19 -19
- package/fesm2022/acorex-cdk-carousel.mjs +25 -7
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +6 -6
- package/fesm2022/acorex-cdk-common.mjs +169 -93
- package/fesm2022/acorex-cdk-common.mjs.map +1 -1
- package/fesm2022/acorex-cdk-dom.mjs +3 -3
- package/fesm2022/acorex-cdk-drag-drop.mjs +210 -68
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +10 -10
- package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
- package/fesm2022/acorex-cdk-full-screen.mjs +26 -147
- package/fesm2022/acorex-cdk-full-screen.mjs.map +1 -1
- package/fesm2022/acorex-cdk-gesture.mjs +202 -0
- package/fesm2022/acorex-cdk-gesture.mjs.map +1 -0
- package/fesm2022/acorex-cdk-highlight.mjs +108 -0
- package/fesm2022/acorex-cdk-highlight.mjs.map +1 -0
- package/fesm2022/acorex-cdk-horizontal-scroll.mjs +150 -125
- package/fesm2022/acorex-cdk-horizontal-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-input-mask.mjs +3 -3
- package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
- package/fesm2022/acorex-cdk-outline.mjs +277 -74
- package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
- package/fesm2022/acorex-cdk-overlay.mjs +192 -18
- package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
- package/fesm2022/acorex-cdk-pan-view.mjs +3 -3
- package/fesm2022/acorex-cdk-resizable.mjs +3 -3
- package/fesm2022/acorex-cdk-selection.mjs +10 -10
- package/fesm2022/acorex-cdk-shimmer.mjs +220 -0
- package/fesm2022/acorex-cdk-shimmer.mjs.map +1 -0
- package/fesm2022/acorex-cdk-sliding-item.mjs +72 -62
- package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sticky.mjs +3 -3
- package/fesm2022/acorex-cdk-uploader.mjs +9 -9
- package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
- package/fesm2022/acorex-cdk-z-index.mjs +3 -3
- package/gesture/README.md +3 -0
- package/horizontal-scroll/README.md +1 -1
- package/package.json +16 -7
- package/shimmer/README.md +11 -0
- package/sliding-item/README.md +4 -2
- package/types/acorex-cdk-carousel.d.ts +2 -0
- package/types/acorex-cdk-clipboard.d.ts +1 -1
- package/types/acorex-cdk-common.d.ts +36 -19
- package/types/acorex-cdk-drag-drop.d.ts +31 -4
- package/types/acorex-cdk-full-screen.d.ts +18 -43
- package/types/acorex-cdk-gesture.d.ts +132 -0
- package/types/acorex-cdk-highlight.d.ts +54 -0
- package/types/acorex-cdk-horizontal-scroll.d.ts +39 -28
- package/types/acorex-cdk-outline.d.ts +20 -0
- package/types/acorex-cdk-overlay.d.ts +47 -4
- package/types/acorex-cdk-shimmer.d.ts +68 -0
- package/types/acorex-cdk-sliding-item.d.ts +22 -4
- package/types/acorex-cdk-uploader.d.ts +1 -1
- package/fesm2022/acorex-cdk-double-click.mjs +0 -178
- package/fesm2022/acorex-cdk-double-click.mjs.map +0 -1
- package/types/acorex-cdk-double-click.d.ts +0 -66
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
Secondary entry point of `@acorex/cdk`. It can be used by importing from `@acorex/cdk/horizontal-scroll`.
|
|
4
4
|
|
|
5
|
-
Converts vertical mouse-wheel scrolling and
|
|
5
|
+
Converts vertical mouse-wheel scrolling and horizontal pan into horizontal scrolling on scrollable host elements. Pan is provided by a hosted `AXGestureDirective`. Do not put `axGesture` on the same element.
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/cdk",
|
|
3
|
-
"version": "22.1.0-next.
|
|
3
|
+
"version": "22.1.0-next.32",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "22.1.0-next.
|
|
5
|
+
"@acorex/core": "22.1.0-next.32",
|
|
6
6
|
"quill": ">=2.0.2",
|
|
7
7
|
"qrcode": ">=1.5.4",
|
|
8
8
|
"swiper": ">=11.1.15",
|
|
9
|
-
"maska": ">=3.1.1"
|
|
9
|
+
"maska": ">=3.1.1",
|
|
10
|
+
"hammerjs": ">=2.0.8"
|
|
10
11
|
},
|
|
11
12
|
"sideEffects": false,
|
|
12
13
|
"module": "fesm2022/acorex-cdk.mjs",
|
|
@@ -39,10 +40,6 @@
|
|
|
39
40
|
"types": "./types/acorex-cdk-dom.d.ts",
|
|
40
41
|
"default": "./fesm2022/acorex-cdk-dom.mjs"
|
|
41
42
|
},
|
|
42
|
-
"./double-click": {
|
|
43
|
-
"types": "./types/acorex-cdk-double-click.d.ts",
|
|
44
|
-
"default": "./fesm2022/acorex-cdk-double-click.mjs"
|
|
45
|
-
},
|
|
46
43
|
"./drag-drop": {
|
|
47
44
|
"types": "./types/acorex-cdk-drag-drop.d.ts",
|
|
48
45
|
"default": "./fesm2022/acorex-cdk-drag-drop.mjs"
|
|
@@ -59,6 +56,14 @@
|
|
|
59
56
|
"types": "./types/acorex-cdk-full-screen.d.ts",
|
|
60
57
|
"default": "./fesm2022/acorex-cdk-full-screen.mjs"
|
|
61
58
|
},
|
|
59
|
+
"./gesture": {
|
|
60
|
+
"types": "./types/acorex-cdk-gesture.d.ts",
|
|
61
|
+
"default": "./fesm2022/acorex-cdk-gesture.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./highlight": {
|
|
64
|
+
"types": "./types/acorex-cdk-highlight.d.ts",
|
|
65
|
+
"default": "./fesm2022/acorex-cdk-highlight.mjs"
|
|
66
|
+
},
|
|
62
67
|
"./horizontal-scroll": {
|
|
63
68
|
"types": "./types/acorex-cdk-horizontal-scroll.d.ts",
|
|
64
69
|
"default": "./fesm2022/acorex-cdk-horizontal-scroll.mjs"
|
|
@@ -95,6 +100,10 @@
|
|
|
95
100
|
"types": "./types/acorex-cdk-selection.d.ts",
|
|
96
101
|
"default": "./fesm2022/acorex-cdk-selection.mjs"
|
|
97
102
|
},
|
|
103
|
+
"./shimmer": {
|
|
104
|
+
"types": "./types/acorex-cdk-shimmer.d.ts",
|
|
105
|
+
"default": "./fesm2022/acorex-cdk-shimmer.mjs"
|
|
106
|
+
},
|
|
98
107
|
"./sliding-item": {
|
|
99
108
|
"types": "./types/acorex-cdk-sliding-item.d.ts",
|
|
100
109
|
"default": "./fesm2022/acorex-cdk-sliding-item.mjs"
|
package/sliding-item/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
# @acorex/cdk/sliding-
|
|
1
|
+
# @acorex/cdk/sliding-item
|
|
2
2
|
|
|
3
|
-
Secondary entry point of `@acorex/cdk`. It can be used by importing from `@acorex/cdk/sliding-
|
|
3
|
+
Secondary entry point of `@acorex/cdk`. It can be used by importing from `@acorex/cdk/sliding-item`.
|
|
4
|
+
|
|
5
|
+
Enables horizontal sliding on the host via a hosted `AXGestureDirective`. Do not put `axGesture` on the same element.
|
|
@@ -7,6 +7,8 @@ declare class AXCarouselDirective {
|
|
|
7
7
|
carousel: i0.WritableSignal<Swiper>;
|
|
8
8
|
private el;
|
|
9
9
|
private platformId;
|
|
10
|
+
private initId;
|
|
11
|
+
destroy(): void;
|
|
10
12
|
init(option: AXCarouselOptions): Promise<void>;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXCarouselDirective, never>;
|
|
12
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<AXCarouselDirective, "[axCarousel]", ["axCarousel"], {}, {}, never, never, true, never>;
|
|
@@ -4,7 +4,7 @@ import { ElementRef } from '@angular/core';
|
|
|
4
4
|
declare class AXClipBoardService {
|
|
5
5
|
copy(text: string): Promise<void>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXClipBoardService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -50,7 +50,7 @@ declare abstract class NXComponent {
|
|
|
50
50
|
*/
|
|
51
51
|
getHostElement<T = HTMLElement>(): T;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<NXComponent, never>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/**
|
|
@@ -243,7 +243,7 @@ declare abstract class MXBaseComponent {
|
|
|
243
243
|
*/
|
|
244
244
|
setOption<T = any>(option: MXComponentSetOption<T>): void;
|
|
245
245
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXBaseComponent, never>;
|
|
246
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
246
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
declare class MXInteractiveComponent extends MXBaseComponent {
|
|
@@ -419,7 +419,7 @@ declare class MXValueComponent<T = any> extends MXInteractiveComponent implement
|
|
|
419
419
|
*/
|
|
420
420
|
resetErrors(): void;
|
|
421
421
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
|
422
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
422
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
declare const TAB_META_KEY = "__meta__";
|
|
@@ -449,13 +449,13 @@ declare class AXComponentClosedPromise extends Promise<AXComponentResult> {
|
|
|
449
449
|
}
|
|
450
450
|
declare abstract class AXComponent {
|
|
451
451
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXComponent, never>;
|
|
452
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
452
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
453
453
|
}
|
|
454
454
|
declare abstract class AXClosableComponent extends AXComponent {
|
|
455
455
|
abstract close(): void;
|
|
456
456
|
abstract closeAll(): void;
|
|
457
457
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXClosableComponent, never>;
|
|
458
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
458
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
459
459
|
}
|
|
460
460
|
declare abstract class AXClearableComponent extends AXComponent {
|
|
461
461
|
abstract reset(u: boolean): void;
|
|
@@ -463,12 +463,12 @@ declare abstract class AXClearableComponent extends AXComponent {
|
|
|
463
463
|
abstract get disabled(): boolean;
|
|
464
464
|
abstract get value(): unknown;
|
|
465
465
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXClearableComponent, never>;
|
|
466
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
466
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
467
467
|
}
|
|
468
468
|
declare abstract class AXSearchableComponent extends AXComponent {
|
|
469
469
|
abstract search(value: string): void;
|
|
470
470
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXSearchableComponent, never>;
|
|
471
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
471
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
472
472
|
}
|
|
473
473
|
declare abstract class AXValuableComponent extends AXComponent {
|
|
474
474
|
abstract get isRequired(): boolean;
|
|
@@ -483,12 +483,12 @@ declare abstract class AXValuableComponent extends AXComponent {
|
|
|
483
483
|
abstract reset(e: boolean): void;
|
|
484
484
|
abstract resetErrors(): void;
|
|
485
485
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXValuableComponent, never>;
|
|
486
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
486
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
487
487
|
}
|
|
488
488
|
declare abstract class AXFocusableComponent extends AXComponent {
|
|
489
489
|
abstract focus(): any;
|
|
490
490
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXFocusableComponent, never>;
|
|
491
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
491
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
492
492
|
}
|
|
493
493
|
interface AXPagedComponentInterface {
|
|
494
494
|
goToPage(page: number): any;
|
|
@@ -502,7 +502,7 @@ declare abstract class AXPagedComponent extends AXComponent implements AXPagedCo
|
|
|
502
502
|
abstract pageSize: number;
|
|
503
503
|
abstract onPageChanged: EventEmitter<AXValueChangedEvent<number>>;
|
|
504
504
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXPagedComponent, never>;
|
|
505
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
505
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
506
506
|
}
|
|
507
507
|
declare abstract class AXAutocompleteParentComponent<T> extends MXValueComponent<T> {
|
|
508
508
|
oldInputEmitValue: T;
|
|
@@ -511,7 +511,7 @@ declare abstract class AXAutocompleteParentComponent<T> extends MXValueComponent
|
|
|
511
511
|
onItemSelected: EventEmitter<AXValueChangedEvent<T>>;
|
|
512
512
|
emitOnItemSelected(value: T, isUserInteraction?: boolean): void;
|
|
513
513
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXAutocompleteParentComponent<any>, never>;
|
|
514
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
514
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
517
|
/**
|
|
@@ -531,7 +531,7 @@ declare abstract class NXValueComponent extends NXComponent {
|
|
|
531
531
|
resetErrors(): void;
|
|
532
532
|
commitValue(value: unknown, _isUserInteraction?: boolean): void;
|
|
533
533
|
static ɵfac: i0.ɵɵFactoryDeclaration<NXValueComponent, never>;
|
|
534
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
534
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
/**
|
|
@@ -798,7 +798,7 @@ declare class MXColorComponent extends MXBaseComponent {
|
|
|
798
798
|
declare abstract class MXLookableComponent {
|
|
799
799
|
look: AXStyleLookType;
|
|
800
800
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXLookableComponent, never>;
|
|
801
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
801
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
802
802
|
}
|
|
803
803
|
declare class MXLookComponent extends MXBaseComponent {
|
|
804
804
|
lookChange: EventEmitter<AXStyleLookType>;
|
|
@@ -902,7 +902,7 @@ declare class MXInputBaseValueComponent<T = string> extends MXValueComponent<T>
|
|
|
902
902
|
protected emitOnTextChanged(value: string, isUserInteraction?: boolean): void;
|
|
903
903
|
focus(): void;
|
|
904
904
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXInputBaseValueComponent<any>, never>;
|
|
905
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
905
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
/**
|
|
@@ -914,7 +914,7 @@ declare class MXSelectionBridgeService {
|
|
|
914
914
|
/** Cache for normalized items keyed by their unique identifier */
|
|
915
915
|
cacheList: Record<string | number, unknown>;
|
|
916
916
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionBridgeService, never>;
|
|
917
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
917
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
918
918
|
}
|
|
919
919
|
/**
|
|
920
920
|
* Injection token for the selection bridge service
|
|
@@ -1104,7 +1104,7 @@ declare abstract class MXSelectionValueComponent<T = unknown> extends MXValueCom
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
private loadAndCacheItemByKey;
|
|
1106
1106
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionValueComponent<any>, never>;
|
|
1107
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1107
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
1108
1108
|
}
|
|
1109
1109
|
|
|
1110
1110
|
declare class AXNgModelDelayedValueChangedDirective implements OnDestroy {
|
|
@@ -1151,7 +1151,7 @@ declare class AXRippleDirective implements OnDestroy {
|
|
|
1151
1151
|
declare class AXDomService {
|
|
1152
1152
|
generateElementId(): string;
|
|
1153
1153
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXDomService, never>;
|
|
1154
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1154
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
1155
1155
|
}
|
|
1156
1156
|
|
|
1157
1157
|
type Options = {
|
|
@@ -1178,8 +1178,25 @@ declare class AXHotkeysService {
|
|
|
1178
1178
|
*/
|
|
1179
1179
|
addShortcut(options: Partial<Options>): Observable$1<unknown>;
|
|
1180
1180
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXHotkeysService, never>;
|
|
1181
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
1181
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
|
-
|
|
1184
|
+
/**
|
|
1185
|
+
* Scrolls `element` into view inside `container` using nearest-edge behavior.
|
|
1186
|
+
* Only adjusts the container's own scrollTop — never the document — so overlay
|
|
1187
|
+
* dismissal on document scroll is not triggered.
|
|
1188
|
+
*/
|
|
1189
|
+
declare function scrollNearestIntoView(container: HTMLElement, element: HTMLElement, topInset?: number): void;
|
|
1190
|
+
/**
|
|
1191
|
+
* Scrolls an option into view inside a scrollable container using nearest-edge behavior.
|
|
1192
|
+
* Uses bounding rects relative to the container so it works even when offsetParent differs.
|
|
1193
|
+
*/
|
|
1194
|
+
declare function scrollOptionWithinContainer(container: HTMLElement, option: HTMLElement): void;
|
|
1195
|
+
/**
|
|
1196
|
+
* Retries `fn` on successive animation frames until it returns true or `attempts` is exhausted.
|
|
1197
|
+
* Used when the target element appears only after an overlay has been positioned and laid out.
|
|
1198
|
+
*/
|
|
1199
|
+
declare function retryFrames(fn: () => boolean, attempts?: number): void;
|
|
1200
|
+
|
|
1201
|
+
export { AXAutoFocusDirective, AXAutocompleteParentComponent, AXButtonClickEvent, AXClearableComponent, AXClickEvent, AXClosableComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXDataSource, AXDomService, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXInvertedColorDirective, AXItemClickEvent, AXItemSelectedEvent, AXListDataSource, AXNgModelDelayedValueChangedDirective, AXOptionChangedEvent, AXPagedComponent, AXRangeChangedEvent, AXResponsiveDirective, AXRippleDirective, AXSearchableComponent, AXSelectionValueChangedEvent, AXValuableComponent, AXValueChangedEvent, AX_LOCATIONS, AX_PLACEMENT_BOTTOM, AX_PLACEMENT_BOTTOM_END, AX_PLACEMENT_BOTTOM_START, AX_PLACEMENT_END, AX_PLACEMENT_END_BOTTOM, AX_PLACEMENT_END_TOP, AX_PLACEMENT_MAP, AX_PLACEMENT_START, AX_PLACEMENT_START_BOTTOM, AX_PLACEMENT_START_TOP, AX_PLACEMENT_TOP, AX_PLACEMENT_TOP_END, AX_PLACEMENT_TOP_START, AX_SELECTION_DATA_TOKEN, AX_STYLE_COLOR_TYPES, AX_STYLE_LOOK_TYPES, MXBaseComponent, MXButtonBaseComponent, MXColorComponent, MXColorLookComponent, MXInputBaseValueComponent, MXInteractiveComponent, MXLookComponent, MXLookableComponent, MXSelectionBridgeService, MXSelectionValueComponent, MXValueComponent, NXButtonComponent, NXClickEvent, NXColorComponent, NXComponent, NXEvent, NXInteractiveComponent, NXLookComponent, NXNativeEvent, NXValueComponent, TAB_META_KEY, applyDataSourceQuery, convertArrayToDataSource, convertToPlacement, retryFrames, scrollNearestIntoView, scrollOptionWithinContainer };
|
|
1185
1202
|
export type { AXAnimationEasing, AXComponentState, AXConnectedPosition, AXDataListFetchCallbackResult, AXDataListFetchDataCallback, AXDataListItems, AXDataListQuery, AXDataSourceByKeyCallback, AXDataSourceCallbackResult, AXDataSourceChangedEvent, AXDataSourceConfig, AXDataSourceFilterOption, AXDataSourceItemExpandedEvent, AXDataSourceLoadCallback, AXDataSourceOperator, AXDataSourceQuery, AXDataSourceSortOption, AXDirection, AXExpandToggleIcons, AXFilterLogic, AXFormValidationRule, AXHotKeyAction, AXLocation, AXOrientation, AXPagedComponentInterface, AXPlacement, AXPlacementType, AXRange, AXScrollPosition, AXSelectionMode, AXSizeType, AXSortOrder, AXStyleColorClassType, AXStyleColorType, AXStyleInteractiveLookClassType, AXStyleLookClassType, AXStyleLookType, AXStyleSizeType, AXSurfaceType, DisabledCallback, MXComponentOptionChanged, MXComponentOptionChanging, MXComponentSetOption, NormalizedItem };
|
|
@@ -26,9 +26,15 @@ declare class AXDragDirective implements OnInit, OnDestroy {
|
|
|
26
26
|
dragResetOnDblClick: _angular_core.InputSignal<boolean>;
|
|
27
27
|
dragLockAxis: _angular_core.InputSignal<"x" | "y">;
|
|
28
28
|
dragClonedTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
29
|
-
dragCursor: _angular_core.InputSignal<"move" | "grab" | "none">;
|
|
29
|
+
dragCursor: _angular_core.InputSignal<"move" | "grab" | "grab-on-drag" | "none">;
|
|
30
30
|
dragBoundary: _angular_core.InputSignal<string | HTMLElement | ElementRef<HTMLElement>>;
|
|
31
31
|
dragTransitionDuration: _angular_core.InputSignal<number>;
|
|
32
|
+
readonly isDragDisabled: _angular_core.WritableSignal<boolean>;
|
|
33
|
+
readonly lockAxis: _angular_core.WritableSignal<"x" | "y">;
|
|
34
|
+
readonly dragBoundaryOverride: _angular_core.WritableSignal<string | HTMLElement | ElementRef<HTMLElement>>;
|
|
35
|
+
readonly startDelay: _angular_core.WritableSignal<number>;
|
|
36
|
+
readonly dragTouchAction: _angular_core.WritableSignal<"none" | "pan-x" | "pan-y">;
|
|
37
|
+
readonly dragCursorOverride: _angular_core.WritableSignal<"move" | "grab" | "grab-on-drag" | "none">;
|
|
32
38
|
dragPositionChanged: _angular_core.OutputEmitterRef<AXPositionType>;
|
|
33
39
|
isMoving: _angular_core.WritableSignal<boolean>;
|
|
34
40
|
clonedElement: _angular_core.WritableSignal<HTMLElement>;
|
|
@@ -43,10 +49,14 @@ declare class AXDragDirective implements OnInit, OnDestroy {
|
|
|
43
49
|
private activePointerId;
|
|
44
50
|
private prevDropZone;
|
|
45
51
|
private dragStartOffset;
|
|
52
|
+
private pointerDownPosition;
|
|
46
53
|
private clonePointerOffset;
|
|
47
54
|
private clonedElementViewRef;
|
|
48
55
|
private rafId;
|
|
49
56
|
private pendingPointerEvent;
|
|
57
|
+
private savedBodyCursor;
|
|
58
|
+
private holdDelayTimer;
|
|
59
|
+
private holdDelayReady;
|
|
50
60
|
private _parentDropList;
|
|
51
61
|
private _currentDropList;
|
|
52
62
|
readonly createCloneElement: _angular_core.Signal<boolean>;
|
|
@@ -61,11 +71,20 @@ declare class AXDragDirective implements OnInit, OnDestroy {
|
|
|
61
71
|
private listenersAttached;
|
|
62
72
|
ngOnInit(): void;
|
|
63
73
|
ngOnDestroy(): void;
|
|
74
|
+
private usesGrabDragCursor;
|
|
75
|
+
private resolveDropCursor;
|
|
76
|
+
private setActiveDragCursor;
|
|
77
|
+
private clearActiveDragCursor;
|
|
78
|
+
private clearHoldDelayTimer;
|
|
79
|
+
private scheduleHoldDelayFeedback;
|
|
80
|
+
private setElementDropCursor;
|
|
64
81
|
private setElementTransition;
|
|
65
82
|
private removeElementTransition;
|
|
66
83
|
private handlePointerDown;
|
|
67
84
|
private handleDblClick;
|
|
68
85
|
private handlePointerMove;
|
|
86
|
+
private abortDragSequence;
|
|
87
|
+
private resetHandleCursorAfterDrag;
|
|
69
88
|
private startDrag;
|
|
70
89
|
private handlePointerUp;
|
|
71
90
|
private preventClicking;
|
|
@@ -131,6 +150,8 @@ declare class AXDropListDirective extends NXComponent implements OnInit, AfterCo
|
|
|
131
150
|
dropListOrientation: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
132
151
|
/** Emits when an item is dropped into the list. */
|
|
133
152
|
dropListDropped: _angular_core.OutputEmitterRef<AXDropListDroppedEvent>;
|
|
153
|
+
/** Emits when the sort preview transforms change during an active drag. */
|
|
154
|
+
sortPreviewChanged: _angular_core.OutputEmitterRef<void>;
|
|
134
155
|
/** The `axDrag` directives that are direct children of this list. */
|
|
135
156
|
readonly _draggableItems: _angular_core.Signal<readonly AXDragDirective[]>;
|
|
136
157
|
/** The native element of the drop list. */
|
|
@@ -145,8 +166,12 @@ declare class AXDropListDirective extends NXComponent implements OnInit, AfterCo
|
|
|
145
166
|
private readonly _listInitialRect;
|
|
146
167
|
/** The detected `gap` of the list for the current orientation. */
|
|
147
168
|
private readonly _listGap;
|
|
148
|
-
/**
|
|
149
|
-
private readonly
|
|
169
|
+
/** Whether the list is in RTL direction (cached at drag start). */
|
|
170
|
+
private readonly _isRtl;
|
|
171
|
+
/** Internal orientation state; can be overridden programmatically by host components. */
|
|
172
|
+
readonly orientation: _angular_core.WritableSignal<"horizontal" | "vertical">;
|
|
173
|
+
/** Internal sorting-disabled state; can be overridden programmatically by host components. */
|
|
174
|
+
readonly isSortingDisabled: _angular_core.WritableSignal<boolean>;
|
|
150
175
|
/** DOM placeholder element for inter-list drags */
|
|
151
176
|
private _placeholderElement;
|
|
152
177
|
ngOnInit(): void;
|
|
@@ -154,6 +179,8 @@ declare class AXDropListDirective extends NXComponent implements OnInit, AfterCo
|
|
|
154
179
|
ngOnDestroy(): void;
|
|
155
180
|
/** Checks if the given drag item is the one currently active in this list. */
|
|
156
181
|
isDragActiveForThisList(dragItem: AXDragDirective): boolean;
|
|
182
|
+
/** Whether the list is horizontal and in RTL direction. */
|
|
183
|
+
private isHorizontalRtl;
|
|
157
184
|
/**
|
|
158
185
|
* Prepares the list for sorting when a drag operation starts from within this list.
|
|
159
186
|
* @param dragItem The item that is being dragged.
|
|
@@ -214,7 +241,7 @@ declare class AXDropListDirective extends NXComponent implements OnInit, AfterCo
|
|
|
214
241
|
/** Resets the internal state of the directive to its initial values. */
|
|
215
242
|
resetSortState(): void;
|
|
216
243
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXDropListDirective, never>;
|
|
217
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXDropListDirective, "[axDropList]", ["axDropList"], { "axDropList": { "alias": "axDropList"; "required": false; "isSignal": true; }; "sortingDisabled": { "alias": "sortingDisabled"; "required": false; "isSignal": true; }; "dropListGroup": { "alias": "dropListGroup"; "required": false; "isSignal": true; }; "dropListOrientation": { "alias": "dropListOrientation"; "required": false; "isSignal": true; }; }, { "dropListDropped": "dropListDropped"; }, ["_draggableItems"], never, true, never>;
|
|
244
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXDropListDirective, "[axDropList]", ["axDropList"], { "axDropList": { "alias": "axDropList"; "required": false; "isSignal": true; }; "sortingDisabled": { "alias": "sortingDisabled"; "required": false; "isSignal": true; }; "dropListGroup": { "alias": "dropListGroup"; "required": false; "isSignal": true; }; "dropListOrientation": { "alias": "dropListOrientation"; "required": false; "isSignal": true; }; }, { "dropListDropped": "dropListDropped"; "sortPreviewChanged": "sortPreviewChanged"; }, ["_draggableItems"], never, true, never>;
|
|
218
245
|
}
|
|
219
246
|
|
|
220
247
|
interface AXDropZoneDropEvent extends NXNativeEvent<AXDropZoneDirective, MouseEvent> {
|
|
@@ -1,69 +1,44 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
import { AXFullScreenMode } from '@acorex/core/full-screen';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
|
-
* Fullscreen directive
|
|
6
|
+
* Fullscreen directive with overlay and browser modes.
|
|
5
7
|
* Usage: <element axFullscreen #fullscreen="axFullscreen"></element>
|
|
6
8
|
* Then: fullscreen.toggle() or fullscreen.enter() or fullscreen.exit()
|
|
7
9
|
*/
|
|
8
|
-
declare class AXFullScreenDirective {
|
|
10
|
+
declare class AXFullScreenDirective implements OnDestroy {
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
12
|
+
* Fullscreen implementation mode.
|
|
13
|
+
* @defaultValue 'overlay'
|
|
11
14
|
*/
|
|
12
|
-
|
|
15
|
+
readonly mode: _angular_core.InputSignal<AXFullScreenMode>;
|
|
13
16
|
/**
|
|
14
|
-
*
|
|
17
|
+
* Fullscreen change event for this host element.
|
|
15
18
|
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Original parent element reference
|
|
19
|
-
*/
|
|
20
|
-
private originalParent;
|
|
21
|
-
/**
|
|
22
|
-
* Fullscreen container element
|
|
23
|
-
*/
|
|
24
|
-
private fullscreenContainer;
|
|
25
|
-
/**
|
|
26
|
-
* Fullscreen change event
|
|
27
|
-
*/
|
|
28
|
-
readonly fullscreenChange: i0.OutputEmitterRef<boolean>;
|
|
29
|
-
/**
|
|
30
|
-
* Z-index token for this fullscreen instance
|
|
31
|
-
*/
|
|
32
|
-
private zToken;
|
|
33
|
-
private readonly renderer;
|
|
19
|
+
readonly fullscreenChange: _angular_core.OutputEmitterRef<boolean>;
|
|
34
20
|
private readonly elementRef;
|
|
35
|
-
private readonly
|
|
21
|
+
private readonly fullScreenService;
|
|
36
22
|
constructor();
|
|
37
23
|
/**
|
|
38
|
-
* Toggle fullscreen state
|
|
24
|
+
* Toggle fullscreen state.
|
|
39
25
|
*/
|
|
40
26
|
toggle(): void;
|
|
41
27
|
/**
|
|
42
|
-
* Enter fullscreen mode
|
|
28
|
+
* Enter fullscreen mode.
|
|
43
29
|
*/
|
|
44
30
|
enter(): void;
|
|
45
31
|
/**
|
|
46
|
-
* Exit fullscreen mode
|
|
32
|
+
* Exit fullscreen mode.
|
|
47
33
|
*/
|
|
48
34
|
exit(): void;
|
|
49
35
|
/**
|
|
50
|
-
* Check if currently in fullscreen mode
|
|
36
|
+
* Check if this host is currently in fullscreen mode.
|
|
51
37
|
*/
|
|
52
38
|
isFullscreen(): boolean;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
private storeOriginalStyles;
|
|
57
|
-
/**
|
|
58
|
-
* Restore original element styles
|
|
59
|
-
*/
|
|
60
|
-
private restoreOriginalStyles;
|
|
61
|
-
/**
|
|
62
|
-
* Convert camelCase to kebab-case for CSS properties
|
|
63
|
-
*/
|
|
64
|
-
private camelToKebabCase;
|
|
65
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AXFullScreenDirective, never>;
|
|
66
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AXFullScreenDirective, "[axFullscreen]", ["axFullscreen"], {}, { "fullscreenChange": "fullscreenChange"; }, never, never, true, never>;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXFullScreenDirective, never>;
|
|
41
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXFullScreenDirective, "[axFullscreen]", ["axFullscreen"], { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "fullscreenChange": "fullscreenChange"; }, never, never, true, never>;
|
|
67
42
|
}
|
|
68
43
|
|
|
69
44
|
export { AXFullScreenDirective };
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, OutputEmitterRef } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Hammer.js event payload emitted by AXGestureDirective outputs.
|
|
6
|
+
*/
|
|
7
|
+
interface AXGestureEvent {
|
|
8
|
+
type: string;
|
|
9
|
+
deltaX: number;
|
|
10
|
+
deltaY: number;
|
|
11
|
+
deltaTime: number;
|
|
12
|
+
distance: number;
|
|
13
|
+
angle: number;
|
|
14
|
+
velocity: number;
|
|
15
|
+
velocityX: number;
|
|
16
|
+
velocityY: number;
|
|
17
|
+
direction: number;
|
|
18
|
+
offsetDirection: number;
|
|
19
|
+
scale: number;
|
|
20
|
+
rotation: number;
|
|
21
|
+
center: {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
};
|
|
25
|
+
srcEvent: Event;
|
|
26
|
+
target: HTMLElement;
|
|
27
|
+
pointerType: string;
|
|
28
|
+
eventType: number;
|
|
29
|
+
isFirst: boolean;
|
|
30
|
+
isFinal: boolean;
|
|
31
|
+
preventDefault: () => void;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Hammer.js constructor options passed through to the manager.
|
|
35
|
+
*/
|
|
36
|
+
interface AXGestureOptions {
|
|
37
|
+
touchAction?: string;
|
|
38
|
+
enable?: boolean;
|
|
39
|
+
cssProps?: Record<string, string | number>;
|
|
40
|
+
domEvents?: boolean;
|
|
41
|
+
inputTarget?: EventTarget;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Allowed pan and swipe directions. Maps to Hammer.DIRECTION_* constants.
|
|
45
|
+
*/
|
|
46
|
+
type AXGestureDirection = 'all' | 'horizontal' | 'vertical';
|
|
47
|
+
/**
|
|
48
|
+
* Public surface of the Hammer manager exposed via AXGestureDirective.manager.
|
|
49
|
+
*/
|
|
50
|
+
interface AXGestureManager {
|
|
51
|
+
get: (name: string) => {
|
|
52
|
+
set: (options: object) => unknown;
|
|
53
|
+
} | null;
|
|
54
|
+
on: (events: string, handler: (ev: AXGestureEvent) => void) => void;
|
|
55
|
+
off: (events: string, handler: (ev: AXGestureEvent) => void) => void;
|
|
56
|
+
destroy: () => void;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Attaches Hammer.js gesture recognition to the host element.
|
|
61
|
+
*
|
|
62
|
+
* Usage:
|
|
63
|
+
* <div axGesture [direction]="'all'" (tap)="onTap($event)" (pan)="onPan($event)"></div>
|
|
64
|
+
*/
|
|
65
|
+
declare class AXGestureDirective implements OnDestroy {
|
|
66
|
+
#private;
|
|
67
|
+
private readonly el;
|
|
68
|
+
private readonly zone;
|
|
69
|
+
private readonly platformId;
|
|
70
|
+
/**
|
|
71
|
+
* Extra Hammer.js options forwarded to the manager constructor.
|
|
72
|
+
*/
|
|
73
|
+
options: _angular_core.InputSignal<AXGestureOptions>;
|
|
74
|
+
/**
|
|
75
|
+
* Pan and swipe direction. Defaults to horizontal, matching Hammer.js.
|
|
76
|
+
*/
|
|
77
|
+
direction: _angular_core.InputSignal<AXGestureDirection>;
|
|
78
|
+
/** Internal direction state; can be overridden programmatically by host directives. */
|
|
79
|
+
readonly gestureDirection: _angular_core.WritableSignal<AXGestureDirection>;
|
|
80
|
+
/**
|
|
81
|
+
* Enables the multi-touch pinch recognizer. Disabled by default.
|
|
82
|
+
*/
|
|
83
|
+
enablePinch: _angular_core.InputSignal<boolean>;
|
|
84
|
+
/**
|
|
85
|
+
* Enables the multi-touch rotate recognizer. Disabled by default.
|
|
86
|
+
*/
|
|
87
|
+
enableRotate: _angular_core.InputSignal<boolean>;
|
|
88
|
+
/**
|
|
89
|
+
* Stops gesture recognition when true.
|
|
90
|
+
*/
|
|
91
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum interval in milliseconds between taps for double-tap recognition.
|
|
94
|
+
* Maps to Hammer.js tap recognizer `interval`. Defaults to Hammer's built-in value (300ms).
|
|
95
|
+
*/
|
|
96
|
+
tapInterval: _angular_core.InputSignal<number>;
|
|
97
|
+
tap: OutputEmitterRef<AXGestureEvent>;
|
|
98
|
+
doubletap: OutputEmitterRef<AXGestureEvent>;
|
|
99
|
+
press: OutputEmitterRef<AXGestureEvent>;
|
|
100
|
+
pan: OutputEmitterRef<AXGestureEvent>;
|
|
101
|
+
panstart: OutputEmitterRef<AXGestureEvent>;
|
|
102
|
+
panmove: OutputEmitterRef<AXGestureEvent>;
|
|
103
|
+
panend: OutputEmitterRef<AXGestureEvent>;
|
|
104
|
+
swipe: OutputEmitterRef<AXGestureEvent>;
|
|
105
|
+
pinch: OutputEmitterRef<AXGestureEvent>;
|
|
106
|
+
rotate: OutputEmitterRef<AXGestureEvent>;
|
|
107
|
+
private hammer;
|
|
108
|
+
private hammerLib;
|
|
109
|
+
private setupId;
|
|
110
|
+
private ready;
|
|
111
|
+
private readonly emitters;
|
|
112
|
+
/**
|
|
113
|
+
* The underlying Hammer manager, or null when not initialized.
|
|
114
|
+
*/
|
|
115
|
+
get manager(): AXGestureManager | null;
|
|
116
|
+
/**
|
|
117
|
+
* Suppresses native click propagation when Hammer.js is active so tap/doubletap
|
|
118
|
+
* outputs are the single source of click handling.
|
|
119
|
+
*/
|
|
120
|
+
protected onHostClick(event: MouseEvent): void;
|
|
121
|
+
ngOnDestroy(): void;
|
|
122
|
+
private setup;
|
|
123
|
+
private loadHammer;
|
|
124
|
+
private toHammerDirection;
|
|
125
|
+
private teardown;
|
|
126
|
+
private readonly onHammerEvent;
|
|
127
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXGestureDirective, never>;
|
|
128
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXGestureDirective, "[axGesture]", ["axGesture"], { "options": { "alias": "options"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "enablePinch": { "alias": "enablePinch"; "required": false; "isSignal": true; }; "enableRotate": { "alias": "enableRotate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "tapInterval": { "alias": "tapInterval"; "required": false; "isSignal": true; }; }, { "tap": "tap"; "doubletap": "doubletap"; "press": "press"; "pan": "pan"; "panstart": "panstart"; "panmove": "panmove"; "panend": "panend"; "swipe": "swipe"; "pinch": "pinch"; "rotate": "rotate"; }, never, never, true, never>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export { AXGestureDirective };
|
|
132
|
+
export type { AXGestureDirection, AXGestureEvent, AXGestureManager, AXGestureOptions };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { PipeTransform } from '@angular/core';
|
|
3
|
+
import { AXHighlightOptions, AXHighlightSegment } from '@acorex/core/utils';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Directive that highlights text within the host element or its descendants.
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* ```html
|
|
10
|
+
* <div [axHighlight]="query()">...</div>
|
|
11
|
+
* <table [axHighlight]="query()" highlightSelector="tbody td">...</table>
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
declare class AXHighlightDirective {
|
|
15
|
+
private readonly host;
|
|
16
|
+
private readonly destroyRef;
|
|
17
|
+
private readonly highlightService;
|
|
18
|
+
/**
|
|
19
|
+
* Text or list of texts to search and highlight.
|
|
20
|
+
*/
|
|
21
|
+
readonly axHighlight: _angular_core.InputSignal<string | readonly string[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Optional CSS selector scoped to the host element.
|
|
24
|
+
* When omitted, highlighting is applied to the host element itself.
|
|
25
|
+
*/
|
|
26
|
+
readonly highlightSelector: _angular_core.InputSignal<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Optional highlight behavior configuration.
|
|
29
|
+
*/
|
|
30
|
+
readonly highlightOptions: _angular_core.InputSignal<AXHighlightOptions>;
|
|
31
|
+
/**
|
|
32
|
+
* When true, highlighting is disabled and any existing highlights are cleared.
|
|
33
|
+
*/
|
|
34
|
+
readonly highlightDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
/**
|
|
36
|
+
* Emits the number of matches highlighted after each render cycle.
|
|
37
|
+
*/
|
|
38
|
+
readonly matchCount: _angular_core.OutputEmitterRef<number>;
|
|
39
|
+
constructor();
|
|
40
|
+
private resolveTarget;
|
|
41
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXHighlightDirective, never>;
|
|
42
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXHighlightDirective, "[axHighlight]", never, { "axHighlight": { "alias": "axHighlight"; "required": false; "isSignal": true; }; "highlightSelector": { "alias": "highlightSelector"; "required": false; "isSignal": true; }; "highlightOptions": { "alias": "highlightOptions"; "required": false; "isSignal": true; }; "highlightDisabled": { "alias": "highlightDisabled"; "required": false; "isSignal": true; }; }, { "matchCount": "matchCount"; }, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Pure pipe that splits text into highlight segments for template rendering.
|
|
47
|
+
*/
|
|
48
|
+
declare class AXHighlightTextPipe implements PipeTransform {
|
|
49
|
+
transform(text: string | null | undefined, query: string | readonly string[] | null | undefined, options?: AXHighlightOptions): AXHighlightSegment[];
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXHighlightTextPipe, never>;
|
|
51
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<AXHighlightTextPipe, "axHighlightText", true>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { AXHighlightDirective, AXHighlightTextPipe };
|