@acorex/cdk 20.2.0-next.2 → 20.2.0-next.21
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/carousel/index.d.ts +1 -0
- package/common/index.d.ts +254 -28
- package/drag-drop/index.d.ts +1 -0
- package/drawer/index.d.ts +15 -0
- package/fesm2022/acorex-cdk-accordion.mjs +19 -19
- package/fesm2022/acorex-cdk-accordion.mjs.map +1 -1
- package/fesm2022/acorex-cdk-carousel.mjs +11 -5
- package/fesm2022/acorex-cdk-carousel.mjs.map +1 -1
- package/fesm2022/acorex-cdk-clipboard.mjs +6 -6
- package/fesm2022/acorex-cdk-clipboard.mjs.map +1 -1
- package/fesm2022/acorex-cdk-common.mjs +672 -222
- package/fesm2022/acorex-cdk-common.mjs.map +1 -1
- package/fesm2022/acorex-cdk-dom.mjs +3 -3
- package/fesm2022/acorex-cdk-dom.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drag-drop.mjs +22 -19
- package/fesm2022/acorex-cdk-drag-drop.mjs.map +1 -1
- package/fesm2022/acorex-cdk-drawer.mjs +27 -14
- package/fesm2022/acorex-cdk-drawer.mjs.map +1 -1
- package/fesm2022/acorex-cdk-focus-trap.mjs +3 -3
- package/fesm2022/acorex-cdk-focus-trap.mjs.map +1 -1
- package/fesm2022/acorex-cdk-input-mask.mjs +3 -3
- package/fesm2022/acorex-cdk-input-mask.mjs.map +1 -1
- package/fesm2022/acorex-cdk-list-navigation.mjs +10 -10
- package/fesm2022/acorex-cdk-list-navigation.mjs.map +1 -1
- package/fesm2022/acorex-cdk-outline.mjs +19 -13
- package/fesm2022/acorex-cdk-outline.mjs.map +1 -1
- package/fesm2022/acorex-cdk-overlay.mjs +3 -3
- package/fesm2022/acorex-cdk-overlay.mjs.map +1 -1
- package/fesm2022/acorex-cdk-pan-view.mjs +3 -3
- package/fesm2022/acorex-cdk-pan-view.mjs.map +1 -1
- package/fesm2022/acorex-cdk-qrcode.mjs.map +1 -1
- package/fesm2022/acorex-cdk-resizable.mjs +3 -3
- package/fesm2022/acorex-cdk-resizable.mjs.map +1 -1
- package/fesm2022/acorex-cdk-selection.mjs +10 -10
- package/fesm2022/acorex-cdk-selection.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sliding-item.mjs +7 -7
- package/fesm2022/acorex-cdk-sliding-item.mjs.map +1 -1
- package/fesm2022/acorex-cdk-sticky.mjs +3 -3
- package/fesm2022/acorex-cdk-sticky.mjs.map +1 -1
- package/fesm2022/acorex-cdk-virtual-scroll.mjs +10 -10
- package/fesm2022/acorex-cdk-virtual-scroll.mjs.map +1 -1
- package/fesm2022/acorex-cdk-wysiwyg.mjs.map +1 -1
- package/outline/index.d.ts +2 -0
- package/package.json +1 -2
- package/selection/index.d.ts +2 -2
package/carousel/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ declare class AXCarouselDirective {
|
|
|
8
8
|
carousel: _angular_core.WritableSignal<Swiper>;
|
|
9
9
|
carouselOptions: _angular_core.InputSignal<SwiperOptions>;
|
|
10
10
|
private el;
|
|
11
|
+
private platformId;
|
|
11
12
|
private init;
|
|
12
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXCarouselDirective, never>;
|
|
13
14
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AXCarouselDirective, "[axCarousel]", ["axCarousel"], { "carouselOptions": { "alias": "carouselOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
package/common/index.d.ts
CHANGED
|
@@ -210,6 +210,13 @@ declare class AXItemClickEvent<T = any> extends AXClickEvent {
|
|
|
210
210
|
name?: string;
|
|
211
211
|
item: T;
|
|
212
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* Fires each time the user select the element.
|
|
215
|
+
* @category Events
|
|
216
|
+
*/
|
|
217
|
+
declare class AXItemSelectedEvent<T = any> extends AXEvent {
|
|
218
|
+
item: T;
|
|
219
|
+
}
|
|
213
220
|
/**
|
|
214
221
|
* Fires each time the component gets focused.
|
|
215
222
|
* @category Events
|
|
@@ -262,6 +269,11 @@ declare abstract class MXBaseComponent {
|
|
|
262
269
|
get id(): string;
|
|
263
270
|
set id(v: string);
|
|
264
271
|
protected get cdr(): ChangeDetectorRef;
|
|
272
|
+
/**
|
|
273
|
+
* Gets the host HTML element of the component.
|
|
274
|
+
*
|
|
275
|
+
* @returns T - The native DOM element associated with this component.
|
|
276
|
+
*/
|
|
265
277
|
getHostElement<T = HTMLElement>(): T;
|
|
266
278
|
protected getViewContainer(): ViewContainerRef;
|
|
267
279
|
protected internalOptionChanging(option: MXComponentOptionChanging): any;
|
|
@@ -276,6 +288,11 @@ declare abstract class MXBaseComponent {
|
|
|
276
288
|
* @event
|
|
277
289
|
*/
|
|
278
290
|
onOptionChanged: EventEmitter<AXOptionChangedEvent>;
|
|
291
|
+
/**
|
|
292
|
+
* Sets a component option with optional lifecycle callbacks.
|
|
293
|
+
*
|
|
294
|
+
* @param option - The option configuration containing the name, value and optional before/after callbacks.
|
|
295
|
+
*/
|
|
279
296
|
setOption<T = any>(option: MXComponentSetOption<T>): void;
|
|
280
297
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXBaseComponent, never>;
|
|
281
298
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXBaseComponent>;
|
|
@@ -286,6 +303,11 @@ declare class MXInteractiveComponent extends MXBaseComponent {
|
|
|
286
303
|
* @ignore
|
|
287
304
|
*/
|
|
288
305
|
protected onTouchedCallback: () => void;
|
|
306
|
+
/**
|
|
307
|
+
* Registers a touched callback function (ControlValueAccessor method).
|
|
308
|
+
*
|
|
309
|
+
* @param fn - The callback function to register.
|
|
310
|
+
*/
|
|
289
311
|
registerOnTouched(fn: () => void): void;
|
|
290
312
|
private _touched;
|
|
291
313
|
/**
|
|
@@ -309,6 +331,11 @@ declare class MXInteractiveComponent extends MXBaseComponent {
|
|
|
309
331
|
*/
|
|
310
332
|
get disabled(): boolean;
|
|
311
333
|
set disabled(value: boolean);
|
|
334
|
+
/**
|
|
335
|
+
* Sets the disabled state of the component.
|
|
336
|
+
*
|
|
337
|
+
* @param isDisabled - Whether the component should be disabled.
|
|
338
|
+
*/
|
|
312
339
|
setDisabledState(isDisabled: boolean): void;
|
|
313
340
|
_tabIndex: number;
|
|
314
341
|
/**
|
|
@@ -328,10 +355,18 @@ declare class MXInteractiveComponent extends MXBaseComponent {
|
|
|
328
355
|
*/
|
|
329
356
|
onBlur: EventEmitter<AXFocusEvent>;
|
|
330
357
|
protected emitOnBlurEvent(e?: FocusEvent): void;
|
|
358
|
+
/**
|
|
359
|
+
* Focuses the component.
|
|
360
|
+
*/
|
|
331
361
|
focus(): void;
|
|
362
|
+
/**
|
|
363
|
+
* Removes focus from the component.
|
|
364
|
+
*/
|
|
332
365
|
blur(): void;
|
|
333
366
|
/**
|
|
334
|
-
*
|
|
367
|
+
* Checks if the component is focused or has any focused element.
|
|
368
|
+
*
|
|
369
|
+
* @returns boolean - True if the component has focus.
|
|
335
370
|
*/
|
|
336
371
|
hasFocus(): boolean;
|
|
337
372
|
}
|
|
@@ -385,15 +420,54 @@ declare class MXValueComponent<T = any> extends MXInteractiveComponent implement
|
|
|
385
420
|
validationRulesChange: EventEmitter<AXFormValidationRule[]>;
|
|
386
421
|
private validationRules;
|
|
387
422
|
get isRequired(): boolean;
|
|
423
|
+
/**
|
|
424
|
+
* Adds a validation rule.
|
|
425
|
+
*
|
|
426
|
+
* @param rule - The validation rule to add.
|
|
427
|
+
*/
|
|
388
428
|
addValidationRule(rule: AXFormValidationRule): void;
|
|
429
|
+
/**
|
|
430
|
+
* Removes a validation rule.
|
|
431
|
+
*
|
|
432
|
+
* @param ruleToRemove - The validation rule to remove.
|
|
433
|
+
*/
|
|
389
434
|
removeValidationRule(ruleToRemove: AXFormValidationRule): void;
|
|
435
|
+
/**
|
|
436
|
+
* Validates the component.
|
|
437
|
+
*
|
|
438
|
+
* @returns Promise<AXValidationSummary> - Validation result.
|
|
439
|
+
*/
|
|
390
440
|
validate(): Promise<AXValidationSummary>;
|
|
391
441
|
protected setState(state: AXComponentState, ...args: any[]): void;
|
|
392
442
|
protected onChangeCallback: (value: T) => void;
|
|
443
|
+
/**
|
|
444
|
+
* Registers a change callback function (ControlValueAccessor method).
|
|
445
|
+
*
|
|
446
|
+
* @param fn - The callback function to register.
|
|
447
|
+
*/
|
|
393
448
|
registerOnChange(fn: (value: T) => void): void;
|
|
449
|
+
/**
|
|
450
|
+
* Writes a value to the component (ControlValueAccessor method).
|
|
451
|
+
*
|
|
452
|
+
* @param value - The value to write.
|
|
453
|
+
*/
|
|
394
454
|
writeValue(value: T): void;
|
|
455
|
+
/**
|
|
456
|
+
* Commits a value with optional user interaction flag.
|
|
457
|
+
*
|
|
458
|
+
* @param value - The value to commit.
|
|
459
|
+
* @param u - Optional flag indicating if this is a user interaction.
|
|
460
|
+
*/
|
|
395
461
|
commitValue(value: T, u?: boolean): void;
|
|
462
|
+
/**
|
|
463
|
+
* Resets the component value.
|
|
464
|
+
*
|
|
465
|
+
* @param e - Optional flag indicating if this is a user interaction.
|
|
466
|
+
*/
|
|
396
467
|
reset(e?: boolean): void;
|
|
468
|
+
/**
|
|
469
|
+
* Resets validation errors.
|
|
470
|
+
*/
|
|
397
471
|
resetErrors(): void;
|
|
398
472
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXValueComponent<any>, never>;
|
|
399
473
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXValueComponent<any>>;
|
|
@@ -492,7 +566,7 @@ declare abstract class AXAutocompleteParentComponent<T> extends MXValueComponent
|
|
|
492
566
|
}
|
|
493
567
|
|
|
494
568
|
type AXDataSourceOperator = {
|
|
495
|
-
type: 'equal' | 'isNull' | 'isEmpty' | 'lt' | 'lte' | 'gt' | 'gte' | 'startsWith' | 'endsWith' | 'contains';
|
|
569
|
+
type: 'equal' | 'isNull' | 'isEmpty' | 'lt' | 'lte' | 'gt' | 'gte' | 'startsWith' | 'endsWith' | 'contains' | 'in';
|
|
496
570
|
negative?: boolean;
|
|
497
571
|
};
|
|
498
572
|
type AXFilterLogic = 'and' | 'or';
|
|
@@ -575,10 +649,11 @@ declare class AXDataSource<T = unknown> {
|
|
|
575
649
|
}): void;
|
|
576
650
|
find(key: unknown): T | Promise<T>;
|
|
577
651
|
}
|
|
578
|
-
declare function convertArrayToDataSource<T>(items: T[], options?: {
|
|
652
|
+
declare function convertArrayToDataSource<T = unknown>(items: T[], options?: {
|
|
579
653
|
key: string;
|
|
580
654
|
pageSize: number;
|
|
581
|
-
}): AXDataSource
|
|
655
|
+
}): AXDataSource<T>;
|
|
656
|
+
declare function applyDataSourceQuery<T extends Record<string, unknown>>(items: T[], filter: AXDataSourceFilterOption): T[];
|
|
582
657
|
|
|
583
658
|
interface AXDataListQuery {
|
|
584
659
|
take?: number;
|
|
@@ -803,53 +878,204 @@ declare class MXInputBaseValueComponent<T = string> extends MXValueComponent<T>
|
|
|
803
878
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXInputBaseValueComponent<any>>;
|
|
804
879
|
}
|
|
805
880
|
|
|
881
|
+
/**
|
|
882
|
+
* Service that manages selection state and caching for selection components
|
|
883
|
+
*/
|
|
806
884
|
declare class MXSelectionBridgeService {
|
|
885
|
+
/** Array of currently selected items */
|
|
807
886
|
selectedItems: unknown[];
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
};
|
|
887
|
+
/** Cache for normalized items keyed by their unique identifier */
|
|
888
|
+
cacheList: Record<string | number, unknown>;
|
|
811
889
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionBridgeService, never>;
|
|
812
890
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXSelectionBridgeService>;
|
|
813
891
|
}
|
|
892
|
+
/**
|
|
893
|
+
* Injection token for the selection bridge service
|
|
894
|
+
*/
|
|
814
895
|
declare const AX_SELECTION_DATA_TOKEN: InjectionToken<MXSelectionBridgeService>;
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
896
|
+
/**
|
|
897
|
+
* Type definition for disabled callback function
|
|
898
|
+
*/
|
|
899
|
+
type DisabledCallback<T> = (event: {
|
|
900
|
+
item: T;
|
|
901
|
+
index: number;
|
|
902
|
+
}) => boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Type definition for normalized item object
|
|
905
|
+
*/
|
|
906
|
+
interface NormalizedItem {
|
|
907
|
+
[key: string]: unknown;
|
|
908
|
+
isLoading?: boolean;
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* Abstract base component for selection-based value components
|
|
912
|
+
* Provides common functionality for components that support item selection
|
|
913
|
+
*/
|
|
914
|
+
declare abstract class MXSelectionValueComponent<T = unknown> extends MXValueComponent<unknown> {
|
|
915
|
+
private readonly formatService;
|
|
916
|
+
private readonly dataService;
|
|
917
|
+
/** Callback function to determine if an item should be disabled */
|
|
918
|
+
disabledCallback: DisabledCallback<T>;
|
|
822
919
|
private _valueField;
|
|
920
|
+
/** Field name used to extract the unique value from items */
|
|
823
921
|
get valueField(): string;
|
|
824
|
-
set valueField(
|
|
825
|
-
private _textTemplate;
|
|
826
|
-
get textTemplate(): string;
|
|
827
|
-
set textTemplate(v: string);
|
|
922
|
+
set valueField(value: string);
|
|
828
923
|
private _textField;
|
|
924
|
+
/** Field name used to extract the display text from items */
|
|
829
925
|
get textField(): string;
|
|
830
|
-
set textField(
|
|
926
|
+
set textField(value: string);
|
|
927
|
+
private _textTemplate;
|
|
928
|
+
/** Template string for formatting item display text */
|
|
929
|
+
get textTemplate(): string;
|
|
930
|
+
set textTemplate(value: string);
|
|
931
|
+
private _defaultText;
|
|
932
|
+
/** Text to display when neither textField nor valueField exist on the item */
|
|
933
|
+
get defaultText(): string;
|
|
934
|
+
set defaultText(value: string);
|
|
831
935
|
private _disabledField;
|
|
936
|
+
/** Field name used to determine if an item is disabled */
|
|
832
937
|
get disabledField(): string;
|
|
833
|
-
set disabledField(
|
|
938
|
+
set disabledField(value: string);
|
|
834
939
|
private _multiple;
|
|
940
|
+
/** Whether multiple items can be selected */
|
|
835
941
|
get multiple(): boolean;
|
|
836
|
-
set multiple(
|
|
942
|
+
set multiple(value: boolean);
|
|
943
|
+
/** Gets the currently selected items */
|
|
837
944
|
get selectedItems(): unknown[];
|
|
838
|
-
|
|
839
|
-
|
|
945
|
+
onItemSelected: EventEmitter<AXItemSelectedEvent>;
|
|
946
|
+
/**
|
|
947
|
+
* Emitted when an item in the list is clicked.
|
|
948
|
+
*
|
|
949
|
+
* @event
|
|
950
|
+
*/
|
|
951
|
+
onItemClick: EventEmitter<AXItemClickEvent>;
|
|
952
|
+
/**
|
|
953
|
+
* Abstract method to retrieve an item by its key
|
|
954
|
+
* @param key The unique identifier of the item
|
|
955
|
+
* @returns The item or a Promise that resolves to the item
|
|
956
|
+
*/
|
|
840
957
|
abstract getItemByKey(key: unknown): unknown | Promise<unknown>;
|
|
841
|
-
|
|
958
|
+
/**
|
|
959
|
+
* Internal method to set and normalize the component value
|
|
960
|
+
* @param value The value to set (can be single item or array)
|
|
961
|
+
* @returns Normalized value based on multiple selection mode
|
|
962
|
+
*/
|
|
963
|
+
internalSetValue(value: unknown): unknown;
|
|
964
|
+
/**
|
|
965
|
+
* Override to normalize selected items when value changes
|
|
966
|
+
*/
|
|
967
|
+
emitOnValueChangedEvent(oldValue?: unknown, newValue?: unknown): void;
|
|
968
|
+
/**
|
|
969
|
+
* Normalizes a list of items, filtering out null values
|
|
970
|
+
* @param items Array of items to normalize
|
|
971
|
+
* @param findByKey Whether to attempt finding items by key
|
|
972
|
+
* @returns Array of normalized items
|
|
973
|
+
*/
|
|
974
|
+
protected normalizeItemsList(items: unknown[], findByKey?: boolean): NormalizedItem[];
|
|
975
|
+
/**
|
|
976
|
+
* Normalizes a single item, handling caching and async loading
|
|
977
|
+
* @param item Item to normalize
|
|
978
|
+
* @param findByKey Whether to attempt finding the item by key
|
|
979
|
+
* @returns Normalized item object
|
|
980
|
+
*/
|
|
842
981
|
private normalizeItem;
|
|
982
|
+
/**
|
|
983
|
+
* Handles the normalization logic for items that need property assignment
|
|
984
|
+
*/
|
|
985
|
+
private handleItemNormalization;
|
|
986
|
+
/**
|
|
987
|
+
* Handles async item loading with loading state
|
|
988
|
+
*/
|
|
989
|
+
private handleAsyncItem;
|
|
990
|
+
/**
|
|
991
|
+
* Assigns value and text properties to the normalized object
|
|
992
|
+
*/
|
|
993
|
+
private assignItemProperties;
|
|
994
|
+
/**
|
|
995
|
+
* Creates a consistent cache key for an item
|
|
996
|
+
*/
|
|
997
|
+
private createCacheKey;
|
|
998
|
+
/**
|
|
999
|
+
* Normalizes currently selected items and updates the data service
|
|
1000
|
+
*/
|
|
843
1001
|
private _normalizeSelectedItems;
|
|
1002
|
+
/**
|
|
1003
|
+
* Unselects the specified items from the selection
|
|
1004
|
+
* @param items Items to unselect
|
|
1005
|
+
*/
|
|
844
1006
|
unselectItems(...items: T[]): void;
|
|
1007
|
+
/**
|
|
1008
|
+
* Selects the specified items
|
|
1009
|
+
* @param items Items to select
|
|
1010
|
+
*/
|
|
845
1011
|
selectItems(...items: T[]): void;
|
|
1012
|
+
/**
|
|
1013
|
+
* Toggles the selection state of the specified items
|
|
1014
|
+
* @param items Items to toggle
|
|
1015
|
+
*/
|
|
846
1016
|
toggleSelect(...items: T[]): void;
|
|
1017
|
+
/**
|
|
1018
|
+
* Checks if an item is currently selected
|
|
1019
|
+
* @param item Item to check
|
|
1020
|
+
* @returns True if the item is selected
|
|
1021
|
+
*/
|
|
847
1022
|
isItemSelected(item: T): boolean;
|
|
1023
|
+
/**
|
|
1024
|
+
* Checks if an item is disabled
|
|
1025
|
+
* @param item Item to check
|
|
1026
|
+
* @returns True if the item is disabled
|
|
1027
|
+
*/
|
|
848
1028
|
isItemDisabled(item: T): boolean;
|
|
849
|
-
|
|
850
|
-
|
|
1029
|
+
/**
|
|
1030
|
+
* Checks if an item is currently loading
|
|
1031
|
+
* @param item Item to check
|
|
1032
|
+
* @returns True if the item is loading
|
|
1033
|
+
*/
|
|
1034
|
+
isItemLoading(item: T): boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Gets the display text for an item using template or text field
|
|
1037
|
+
* @param item Item to get display text for
|
|
1038
|
+
* @returns Formatted display text
|
|
1039
|
+
*/
|
|
1040
|
+
protected getDisplayText(item: T): string;
|
|
1041
|
+
/**
|
|
1042
|
+
* Gets the value of an item
|
|
1043
|
+
* @param item Item to get value from
|
|
1044
|
+
* @returns Item value
|
|
1045
|
+
*/
|
|
1046
|
+
protected getValue(item: T): unknown;
|
|
1047
|
+
/**
|
|
1048
|
+
* Clears the selection cache and selected items
|
|
1049
|
+
*/
|
|
851
1050
|
protected clearSelectionCache(): void;
|
|
1051
|
+
/**
|
|
1052
|
+
* Clears only the cache while preserving selected items
|
|
1053
|
+
*/
|
|
852
1054
|
protected softClearSelectionCache(): void;
|
|
1055
|
+
/**
|
|
1056
|
+
* Clears the debouncing cache for specific items to ensure fresh data is displayed
|
|
1057
|
+
*/
|
|
1058
|
+
protected clearItemDebouncingCache(item: T): void;
|
|
1059
|
+
/**
|
|
1060
|
+
* Forces a refresh of the display when items are loaded asynchronously
|
|
1061
|
+
* This should be called when the data source is updated
|
|
1062
|
+
*/
|
|
1063
|
+
protected refreshDisplay(): void;
|
|
1064
|
+
/**
|
|
1065
|
+
* Refreshes the display for all selected items to ensure consistency
|
|
1066
|
+
* This is useful when the data source has been updated
|
|
1067
|
+
*/
|
|
1068
|
+
protected refreshSelectedItemsDisplay(): void;
|
|
1069
|
+
/**
|
|
1070
|
+
* Forces a refresh of all selected items by clearing their debouncing cache
|
|
1071
|
+
* This ensures fresh data is displayed when the data source is updated
|
|
1072
|
+
*/
|
|
1073
|
+
protected forceRefreshSelectedItems(): void;
|
|
1074
|
+
/**
|
|
1075
|
+
* Asynchronously loads an item by its key and caches the result
|
|
1076
|
+
* @param key Key to load item by
|
|
1077
|
+
*/
|
|
1078
|
+
private loadAndCacheItemByKey;
|
|
853
1079
|
static ɵfac: i0.ɵɵFactoryDeclaration<MXSelectionValueComponent<any>, never>;
|
|
854
1080
|
static ɵprov: i0.ɵɵInjectableDeclaration<MXSelectionValueComponent<any>>;
|
|
855
1081
|
}
|
|
@@ -928,5 +1154,5 @@ declare class AXHotkeysService {
|
|
|
928
1154
|
static ɵprov: i0.ɵɵInjectableDeclaration<AXHotkeysService>;
|
|
929
1155
|
}
|
|
930
1156
|
|
|
931
|
-
export { AXAutoFocusDirective, AXAutocompleteParentComponent, AXButtonClickEvent, AXClearableComponent, AXClickEvent, AXClosableComponent, AXCommonModule, AXComponent, AXComponentCloseEvent, AXComponentClosedPromise, AXComponentClosing, AXComponentResult, AXDataSource, AXDomService, AXEvent, AXFocusEvent, AXFocusableComponent, AXHotkeyDirective, AXHotkeysService, AXHtmlEvent, AXInfiniteScrollerDirective, AXInvertedColorDirective, AXItemClickEvent, 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, convertArrayToDataSource, convertToPlacement };
|
|
932
|
-
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, AXStyleColorType, AXStyleLookType, AXStyleSizeType, AXSurfaceType, MXComponentOptionChanged, MXComponentOptionChanging, MXComponentSetOption };
|
|
1157
|
+
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 };
|
|
1158
|
+
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, AXStyleColorType, AXStyleLookType, AXStyleSizeType, AXSurfaceType, DisabledCallback, MXComponentOptionChanged, MXComponentOptionChanging, MXComponentSetOption, NormalizedItem };
|
package/drag-drop/index.d.ts
CHANGED
|
@@ -154,6 +154,7 @@ declare class AXDropListDirective extends NXComponent implements OnInit, AfterCo
|
|
|
154
154
|
private readonly _zone;
|
|
155
155
|
private readonly _renderer;
|
|
156
156
|
private readonly _cdr;
|
|
157
|
+
private readonly _platformId;
|
|
157
158
|
private readonly _hostEl;
|
|
158
159
|
/** Whether sorting within this list is disabled. */
|
|
159
160
|
sortingDisabled: _angular_core.InputSignal<boolean>;
|
package/drawer/index.d.ts
CHANGED
|
@@ -28,8 +28,23 @@ declare class AXDrawerItemDirective implements OnDestroy {
|
|
|
28
28
|
closeOnBackdropClick: _angular_core.ModelSignal<boolean>;
|
|
29
29
|
backdropClass: _angular_core.ModelSignal<string>;
|
|
30
30
|
onBackdropClick: _angular_core.OutputEmitterRef<AXClickEvent>;
|
|
31
|
+
/**
|
|
32
|
+
* Shows the drawer by animating it into view.
|
|
33
|
+
*
|
|
34
|
+
* @returns void - No return value. The drawer becomes visible.
|
|
35
|
+
*/
|
|
31
36
|
show(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Hides the drawer by animating it out of view.
|
|
39
|
+
*
|
|
40
|
+
* @returns void - No return value. The drawer becomes hidden.
|
|
41
|
+
*/
|
|
32
42
|
hide(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Toggles the drawer state between visible and hidden.
|
|
45
|
+
*
|
|
46
|
+
* @returns void - No return value. The drawer state is toggled.
|
|
47
|
+
*/
|
|
33
48
|
toggle(): void;
|
|
34
49
|
private addBackdrop;
|
|
35
50
|
private removeBackdrop;
|
|
@@ -7,10 +7,10 @@ class AXAccordionCloseButtonDirective {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
this.elm = inject(ElementRef);
|
|
9
9
|
}
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
11
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionCloseButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXAccordionCloseButtonDirective, isStandalone: true, selector: "[axAccordionCloseButton]", ngImport: i0 }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionCloseButtonDirective, decorators: [{
|
|
14
14
|
type: Directive,
|
|
15
15
|
args: [{ selector: '[axAccordionCloseButton]' }]
|
|
16
16
|
}] });
|
|
@@ -19,10 +19,10 @@ class AXAccordionItemHeaderDirective {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
this.elm = inject(ElementRef);
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionItemHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.8", type: AXAccordionItemHeaderDirective, isStandalone: true, selector: "[axAccordionItemHeader]", exportAs: ["axAccordionItemHeader"], ngImport: i0 }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionItemHeaderDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: '[axAccordionItemHeader]',
|
|
@@ -58,10 +58,10 @@ class AXAccordionItemDirective {
|
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
60
|
#init;
|
|
61
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
62
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.1.
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
62
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.1.8", type: AXAccordionItemDirective, isStandalone: true, selector: "[axAccordionItem]", inputs: { isCollapsed: { classPropertyName: "isCollapsed", publicName: "isCollapsed", isSignal: true, isRequired: false, transformFunction: null }, collapsedOnItemClick: { classPropertyName: "collapsedOnItemClick", publicName: "collapsedOnItemClick", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { isCollapsed: "isCollapsedChange", onClick: "onClick", collapsedOnItemClick: "collapsedOnItemClickChange" }, queries: [{ propertyName: "close", first: true, predicate: AXAccordionCloseButtonDirective, descendants: true, isSignal: true }, { propertyName: "header", first: true, predicate: AXAccordionItemHeaderDirective, descendants: true, isSignal: true }], exportAs: ["axAccordionItem"], ngImport: i0 }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionItemDirective, decorators: [{
|
|
65
65
|
type: Directive,
|
|
66
66
|
args: [{
|
|
67
67
|
selector: '[axAccordionItem]',
|
|
@@ -116,10 +116,10 @@ class AXAccordionGroupDirective {
|
|
|
116
116
|
#init;
|
|
117
117
|
#eff2;
|
|
118
118
|
#eff3;
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
120
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.1.
|
|
119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
120
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.1.8", type: AXAccordionGroupDirective, isStandalone: true, selector: "[axAccordionGroup]", inputs: { accordion: { classPropertyName: "accordion", publicName: "accordion", isSignal: true, isRequired: false, transformFunction: null }, activeIndex: { classPropertyName: "activeIndex", publicName: "activeIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { accordion: "accordionChange", activeIndex: "activeIndexChange" }, queries: [{ propertyName: "content", predicate: AXAccordionItemDirective, isSignal: true }], exportAs: ["axAccordionGroup"], ngImport: i0 }); }
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionGroupDirective, decorators: [{
|
|
123
123
|
type: Directive,
|
|
124
124
|
args: [{
|
|
125
125
|
selector: '[axAccordionGroup]',
|
|
@@ -163,10 +163,10 @@ class AXAccordionItemContentDirective {
|
|
|
163
163
|
}
|
|
164
164
|
#init;
|
|
165
165
|
#eff;
|
|
166
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
167
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.
|
|
166
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionItemContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
167
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.1.8", type: AXAccordionItemContentDirective, isStandalone: true, selector: "[axAccordionItemContent]", inputs: { transition: { classPropertyName: "transition", publicName: "transition", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["axAccordionItemContent"], ngImport: i0 }); }
|
|
168
168
|
}
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionItemContentDirective, decorators: [{
|
|
170
170
|
type: Directive,
|
|
171
171
|
args: [{
|
|
172
172
|
selector: '[axAccordionItemContent]',
|
|
@@ -183,8 +183,8 @@ const COMPONENT = [
|
|
|
183
183
|
];
|
|
184
184
|
const MODULES = [CommonModule];
|
|
185
185
|
class AXAccordionCdkModule {
|
|
186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.
|
|
187
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.
|
|
186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionCdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
187
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionCdkModule, imports: [CommonModule, AXAccordionGroupDirective,
|
|
188
188
|
AXAccordionItemContentDirective,
|
|
189
189
|
AXAccordionItemHeaderDirective,
|
|
190
190
|
AXAccordionItemDirective,
|
|
@@ -193,9 +193,9 @@ class AXAccordionCdkModule {
|
|
|
193
193
|
AXAccordionItemHeaderDirective,
|
|
194
194
|
AXAccordionItemDirective,
|
|
195
195
|
AXAccordionCloseButtonDirective] }); }
|
|
196
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.
|
|
196
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionCdkModule, imports: [MODULES] }); }
|
|
197
197
|
}
|
|
198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.8", ngImport: i0, type: AXAccordionCdkModule, decorators: [{
|
|
199
199
|
type: NgModule,
|
|
200
200
|
args: [{
|
|
201
201
|
imports: [...MODULES, ...COMPONENT],
|