@acontplus/ng-components 2.1.31 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/acontplus-ng-components.mjs +489 -90
- package/fesm2022/acontplus-ng-components.mjs.map +1 -1
- package/package.json +26 -2
- package/src/core/color/_all-color.scss +0 -1
- package/src/core/density/_all-density.scss +0 -21
- package/src/core/theming/_all-theme.scss +15 -29
- package/src/core/theming/_palettes.scss +516 -0
- package/src/core/theming/prebuilt/aqua.scss +21 -0
- package/src/core/theming/prebuilt/blue.scss +21 -0
- package/src/core/theming/prebuilt/cyan.scss +21 -0
- package/src/core/theming/prebuilt/green.scss +21 -0
- package/src/core/theming/prebuilt/orange.scss +21 -0
- package/src/core/theming/prebuilt/pink.scss +21 -0
- package/src/core/theming/prebuilt/purple.scss +21 -0
- package/src/core/theming/prebuilt/rose.scss +21 -0
- package/src/core/tokens/_system.scss +6 -13
- package/src/core/typography/_all-typography.scss +0 -22
- package/src/lib/components/autocomplete-wrapper/autocomplete-wrapper.scss +22 -12
- package/src/lib/components/button/v2/button.scss +221 -0
- package/src/lib/components/cards/dynamic-card/dynamic-card.scss +0 -131
- package/src/lib/components/checkbox-group/checkbox-group.scss +14 -0
- package/src/lib/components/dialog-wrapper/dialog-wrapper.scss +0 -1
- package/src/lib/components/drawer/_m3-drawer.scss +0 -1
- package/src/lib/components/{data-grid → grid}/_grid-theme.scss +1 -1
- package/src/lib/components/{data-grid → grid}/cell/cell.scss +1 -8
- package/src/styles/index.scss +0 -1
- package/types/acontplus-ng-components.d.ts +172 -24
- package/src/lib/components/icons/user-icon/user-icon.scss +0 -0
- package/src/lib/components/input-chip/input-chip.scss +0 -0
- package/src/styles/_variables.scss +0 -0
- /package/src/lib/components/{data-grid → grid}/_m3-grid.scss +0 -0
- /package/src/lib/components/{data-grid → grid}/column-menu/column-menu.scss +0 -0
- /package/src/lib/components/{data-grid → grid}/column-resize/_column-resize.scss +0 -0
- /package/src/lib/components/{data-grid → grid}/grid.scss +0 -0
|
@@ -26,6 +26,7 @@ import { ComponentType } from '@angular/cdk/portal';
|
|
|
26
26
|
import { Direction } from '@angular/cdk/bidi';
|
|
27
27
|
import { DialogRole, CdkDialogContainer, DialogRef } from '@angular/cdk/dialog';
|
|
28
28
|
import { DateRange, MatCalendar } from '@angular/material/datepicker';
|
|
29
|
+
import { MatCheckbox, MatCheckboxChange } from '@angular/material/checkbox';
|
|
29
30
|
|
|
30
31
|
type AcpAlertType = 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
31
32
|
declare class AcpAlert {
|
|
@@ -381,6 +382,7 @@ interface AutocompleteWrapperSearchResult {
|
|
|
381
382
|
type AutocompleteWrapperSearchFunction = (query: string, filters: AutocompleteWrapperFilters, page?: number, pageSize?: number) => Observable<AutocompleteWrapperSearchResult>;
|
|
382
383
|
interface AutocompleteWrapperConfig {
|
|
383
384
|
placeholder?: string;
|
|
385
|
+
label?: string;
|
|
384
386
|
clearInput?: boolean;
|
|
385
387
|
disabled?: boolean;
|
|
386
388
|
debounceTime?: number;
|
|
@@ -504,7 +506,7 @@ type AutocompleteWrapperItemProperty = keyof AutocompleteWrapperItem;
|
|
|
504
506
|
type AutocompleteWrapperEventHandler<T = any> = (event: T) => void;
|
|
505
507
|
|
|
506
508
|
declare class AutocompleteWrapperService {
|
|
507
|
-
private historySubject;
|
|
509
|
+
private readonly historySubject;
|
|
508
510
|
history$: Observable<AutocompleteWrapperItem[]>;
|
|
509
511
|
constructor();
|
|
510
512
|
searchLocal(items: AutocompleteWrapperItem[], query: string, filters: AutocompleteWrapperFilters, config: AutocompleteWrapperConfig): Observable<AutocompleteWrapperSearchResult>;
|
|
@@ -594,10 +596,11 @@ declare class DialogWrapper implements AfterViewInit, OnDestroy {
|
|
|
594
596
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogWrapper, "acp-dialog-wrapper", never, {}, {}, never, never, true, never>;
|
|
595
597
|
}
|
|
596
598
|
|
|
599
|
+
type SelectValue = string | number | null;
|
|
597
600
|
declare class DynamicSelect implements OnInit, OnDestroy {
|
|
598
601
|
label: _angular_core.InputSignal<string>;
|
|
599
602
|
options: _angular_core.InputSignal<SelectOption[]>;
|
|
600
|
-
selectedValue: _angular_core.InputSignal<
|
|
603
|
+
selectedValue: _angular_core.InputSignal<SelectValue | undefined>;
|
|
601
604
|
className: _angular_core.InputSignal<string>;
|
|
602
605
|
placeholder: _angular_core.InputSignal<string | undefined>;
|
|
603
606
|
disabled: _angular_core.InputSignal<boolean>;
|
|
@@ -622,11 +625,11 @@ declare class DynamicSelect implements OnInit, OnDestroy {
|
|
|
622
625
|
loadingText: _angular_core.InputSignal<string>;
|
|
623
626
|
clearAllText: _angular_core.InputSignal<string>;
|
|
624
627
|
notFoundText: _angular_core.InputSignal<string>;
|
|
625
|
-
selectionChange: _angular_core.OutputEmitterRef<
|
|
626
|
-
selectControl: FormControl<
|
|
628
|
+
selectionChange: _angular_core.OutputEmitterRef<SelectValue>;
|
|
629
|
+
selectControl: FormControl<SelectValue>;
|
|
627
630
|
filteredOptions: SelectOption[];
|
|
628
631
|
loading: boolean;
|
|
629
|
-
private _onDestroy;
|
|
632
|
+
private readonly _onDestroy;
|
|
630
633
|
constructor();
|
|
631
634
|
ngOnInit(): void;
|
|
632
635
|
onSelectionChange(selectedItem: any): void;
|
|
@@ -821,6 +824,42 @@ declare class Button {
|
|
|
821
824
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Button, "acp-button", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "matStyle": { "alias": "matStyle"; "required": false; "isSignal": true; }; "customClass": { "alias": "customClass"; "required": false; "isSignal": true; }; "reportFormat": { "alias": "reportFormat"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "tabIndex": { "alias": "tabIndex"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, { "handleClick": "handleClick"; }, never, ["*"], true, never>;
|
|
822
825
|
}
|
|
823
826
|
|
|
827
|
+
type AcpButtonVariant = 'basic' | 'icon' | 'fab' | 'mini-fab';
|
|
828
|
+
type AcpButtonAppearance = 'text' | 'filled' | 'elevated' | 'outlined' | 'tonal';
|
|
829
|
+
type AcpButtonType = 'button' | 'submit' | 'reset';
|
|
830
|
+
type AcpButtonColor = 'primary' | 'secondary' | 'accent' | 'error' | 'success' | 'warning' | 'info' | 'dark';
|
|
831
|
+
declare abstract class BaseButton {
|
|
832
|
+
color: _angular_core.InputSignal<AcpButtonColor>;
|
|
833
|
+
square: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
834
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
835
|
+
suffixIcon: _angular_core.InputSignal<string | undefined>;
|
|
836
|
+
loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
837
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
838
|
+
disableRipple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
839
|
+
variant: _angular_core.InputSignal<AcpButtonVariant>;
|
|
840
|
+
appearance: _angular_core.InputSignal<AcpButtonAppearance>;
|
|
841
|
+
type: _angular_core.InputSignal<AcpButtonType>;
|
|
842
|
+
extended: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
843
|
+
size: _angular_core.InputSignal<"small" | "medium" | "large">;
|
|
844
|
+
text: _angular_core.InputSignal<string | undefined>;
|
|
845
|
+
hasText: _angular_core.Signal<boolean>;
|
|
846
|
+
clicked: _angular_core.OutputEmitterRef<void>;
|
|
847
|
+
focused: _angular_core.OutputEmitterRef<void>;
|
|
848
|
+
blurred: _angular_core.OutputEmitterRef<void>;
|
|
849
|
+
colorClass: _angular_core.Signal<string>;
|
|
850
|
+
sizeClass: _angular_core.Signal<string>;
|
|
851
|
+
squareClass: _angular_core.Signal<"" | "acp-square">;
|
|
852
|
+
isDisabled: _angular_core.Signal<boolean>;
|
|
853
|
+
pointerEvents: _angular_core.Signal<"auto" | "none">;
|
|
854
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BaseButton, never>;
|
|
855
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BaseButton, never, never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "square": { "alias": "square"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "suffixIcon": { "alias": "suffixIcon"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disableRipple": { "alias": "disableRipple"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; "focused": "focused"; "blurred": "blurred"; }, never, never, true, never>;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
declare class AcpButton extends BaseButton {
|
|
859
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpButton, never>;
|
|
860
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AcpButton, "acp-button", never, {}, {}, never, ["*", "*"], true, never>;
|
|
861
|
+
}
|
|
862
|
+
|
|
824
863
|
declare class Spinner {
|
|
825
864
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Spinner, never>;
|
|
826
865
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Spinner, "acp-spinner", never, {}, {}, never, never, true, never>;
|
|
@@ -1105,6 +1144,7 @@ declare class TabulatorTable implements OnChanges, AfterViewInit, OnDestroy {
|
|
|
1105
1144
|
readonly rowSelected: _angular_core.OutputEmitterRef<any>;
|
|
1106
1145
|
readonly tableReady: _angular_core.OutputEmitterRef<Tabulator>;
|
|
1107
1146
|
private _tabulator;
|
|
1147
|
+
private static instanceCounter;
|
|
1108
1148
|
containerId: string;
|
|
1109
1149
|
ngAfterViewInit(): void;
|
|
1110
1150
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -1152,6 +1192,12 @@ declare class ThemeToggle {
|
|
|
1152
1192
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThemeToggle, "acp-theme-toggle", never, { "lightModeIcon": { "alias": "lightModeIcon"; "required": false; "isSignal": true; }; "darkModeIcon": { "alias": "darkModeIcon"; "required": false; "isSignal": true; }; "lightModeLabel": { "alias": "lightModeLabel"; "required": false; "isSignal": true; }; "darkModeLabel": { "alias": "darkModeLabel"; "required": false; "isSignal": true; }; "testId": { "alias": "testId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
1153
1193
|
}
|
|
1154
1194
|
|
|
1195
|
+
interface PaginationOptions {
|
|
1196
|
+
hidePageSize?: boolean;
|
|
1197
|
+
showPageSizeOptions?: boolean;
|
|
1198
|
+
showFirstLastButtons?: boolean;
|
|
1199
|
+
disabled?: boolean;
|
|
1200
|
+
}
|
|
1155
1201
|
declare class Pagination {
|
|
1156
1202
|
totalRecords: number;
|
|
1157
1203
|
pageSize: number;
|
|
@@ -1166,13 +1212,10 @@ declare class Pagination {
|
|
|
1166
1212
|
* @param pageSize Number of records per page
|
|
1167
1213
|
* @param totalRecords Total number of records
|
|
1168
1214
|
* @param pageSizeOptions Available page size options
|
|
1169
|
-
* @param
|
|
1170
|
-
* @param showPageSizeOptions Whether to show page size options
|
|
1171
|
-
* @param showFirstLastButtons Whether to show first/last buttons
|
|
1172
|
-
* @param disabled Whether the paginator is disabled
|
|
1215
|
+
* @param options Display and behavior options
|
|
1173
1216
|
*/
|
|
1174
1217
|
constructor(pageIndex?: number, // MatPaginator starts at 0
|
|
1175
|
-
pageSize?: number, totalRecords?: number, pageSizeOptions?: number[],
|
|
1218
|
+
pageSize?: number, totalRecords?: number, pageSizeOptions?: number[], options?: PaginationOptions);
|
|
1176
1219
|
/**
|
|
1177
1220
|
* Calculates the total number of pages.
|
|
1178
1221
|
*/
|
|
@@ -1185,6 +1228,8 @@ declare class Pagination {
|
|
|
1185
1228
|
}
|
|
1186
1229
|
|
|
1187
1230
|
declare class ReusableAutocompleteComponent implements OnInit, OnDestroy {
|
|
1231
|
+
private static inputIdCounter;
|
|
1232
|
+
readonly inputId: string;
|
|
1188
1233
|
readonly dataSource: _angular_core.InputSignal<AutocompleteWrapperItem[]>;
|
|
1189
1234
|
config: AutocompleteWrapperConfig;
|
|
1190
1235
|
readonly itemTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
@@ -1224,8 +1269,8 @@ declare class ReusableAutocompleteComponent implements OnInit, OnDestroy {
|
|
|
1224
1269
|
endItem: _angular_core.Signal<number>;
|
|
1225
1270
|
sectionTitle: _angular_core.Signal<string>;
|
|
1226
1271
|
isNoResults: _angular_core.Signal<boolean>;
|
|
1227
|
-
private destroy$;
|
|
1228
|
-
private searchSubject;
|
|
1272
|
+
private readonly destroy$;
|
|
1273
|
+
private readonly searchSubject;
|
|
1229
1274
|
private autocompleteService;
|
|
1230
1275
|
ngOnInit(): void;
|
|
1231
1276
|
ngOnDestroy(): void;
|
|
@@ -1236,6 +1281,12 @@ declare class ReusableAutocompleteComponent implements OnInit, OnDestroy {
|
|
|
1236
1281
|
private searchSubjectNext;
|
|
1237
1282
|
onInput(event: Event): void;
|
|
1238
1283
|
onKeyDown(event: KeyboardEvent): void;
|
|
1284
|
+
private handleArrowDown;
|
|
1285
|
+
private handleArrowUp;
|
|
1286
|
+
private handleEnter;
|
|
1287
|
+
private handleEscape;
|
|
1288
|
+
private handlePageDown;
|
|
1289
|
+
private handlePageUp;
|
|
1239
1290
|
onFilterChange(): void;
|
|
1240
1291
|
updateSearchResults(result: AutocompleteWrapperSearchResult): void;
|
|
1241
1292
|
showOverlay(): void;
|
|
@@ -1452,9 +1503,9 @@ declare const DATA_GRID_DEFAULT_OPTIONS: InjectionToken<DataGridDefaultOptions>;
|
|
|
1452
1503
|
declare class DataGrid implements AfterViewInit, OnChanges {
|
|
1453
1504
|
size: _angular_core.InputSignal<"normal" | "small" | "medium">;
|
|
1454
1505
|
protected _animationsDisabled: boolean;
|
|
1455
|
-
private _utils;
|
|
1456
|
-
private _changeDetectorRef;
|
|
1457
|
-
private _defaultOptions;
|
|
1506
|
+
private readonly _utils;
|
|
1507
|
+
private readonly _changeDetectorRef;
|
|
1508
|
+
private readonly _defaultOptions;
|
|
1458
1509
|
table: MatTable<any>;
|
|
1459
1510
|
paginator: MatPaginator;
|
|
1460
1511
|
sort: MatSort;
|
|
@@ -1762,11 +1813,11 @@ interface FocusableElement {
|
|
|
1762
1813
|
*/
|
|
1763
1814
|
declare class KeyboardNavigationService {
|
|
1764
1815
|
/** Array privado que contiene todos los elementos registrados para la navegación */
|
|
1765
|
-
private focusableElements;
|
|
1816
|
+
private readonly focusableElements;
|
|
1766
1817
|
/** Signal que mantiene el índice del elemento actualmente enfocado en el array `focusableElements` */
|
|
1767
|
-
private currentFocusIndex;
|
|
1818
|
+
private readonly currentFocusIndex;
|
|
1768
1819
|
/** Subject para notificar la destrucción del servicio y limpiar suscripciones */
|
|
1769
|
-
private destroy$;
|
|
1820
|
+
private readonly destroy$;
|
|
1770
1821
|
/**
|
|
1771
1822
|
* Signal público que expone el índice de la fila enfocada (usado por componentes como DataGrid).
|
|
1772
1823
|
* Es un signal escribible porque el componente hijo (DataGrid) es quien actualiza su valor.
|
|
@@ -3100,9 +3151,105 @@ declare class AcpDateRangeInput implements OnInit, AfterViewInit {
|
|
|
3100
3151
|
|
|
3101
3152
|
declare const ACP_DEFAULT_DATE_OPTIONS: IAcpSelectDateOption[];
|
|
3102
3153
|
|
|
3154
|
+
interface AcpCheckboxGroupOption {
|
|
3155
|
+
ariaDescribedby?: string;
|
|
3156
|
+
ariaLabel?: string;
|
|
3157
|
+
ariaLabelledby?: string;
|
|
3158
|
+
label?: any;
|
|
3159
|
+
value?: any;
|
|
3160
|
+
color?: string;
|
|
3161
|
+
checked?: boolean;
|
|
3162
|
+
disabled?: boolean;
|
|
3163
|
+
disableRipple?: boolean;
|
|
3164
|
+
indeterminate?: boolean;
|
|
3165
|
+
labelPosition?: 'before' | 'after';
|
|
3166
|
+
id?: string;
|
|
3167
|
+
name?: string | null;
|
|
3168
|
+
required?: boolean;
|
|
3169
|
+
[k: string]: any;
|
|
3170
|
+
}
|
|
3171
|
+
|
|
3172
|
+
declare class AcpCheckboxBase {
|
|
3173
|
+
label?: any | undefined;
|
|
3174
|
+
value?: any | undefined;
|
|
3175
|
+
constructor(label?: any | undefined, value?: any | undefined);
|
|
3176
|
+
}
|
|
3177
|
+
declare class AcpCheckboxGroup implements AfterViewInit, OnDestroy, ControlValueAccessor {
|
|
3178
|
+
private _changeDetectorRef;
|
|
3179
|
+
private _focusMonitor;
|
|
3180
|
+
private _elementRef;
|
|
3181
|
+
_checkboxes: QueryList<MatCheckbox>;
|
|
3182
|
+
get trackBy(): TrackByFunction<any> | undefined;
|
|
3183
|
+
set trackBy(fn: TrackByFunction<any> | undefined);
|
|
3184
|
+
private _trackByFn?;
|
|
3185
|
+
get items(): any[];
|
|
3186
|
+
set items(value: any[]);
|
|
3187
|
+
private _items;
|
|
3188
|
+
private _originalItems;
|
|
3189
|
+
private _itemsAreUsed;
|
|
3190
|
+
bindLabel: _angular_core.InputSignal<string>;
|
|
3191
|
+
bindValue: _angular_core.InputSignal<string>;
|
|
3192
|
+
showSelectAll: boolean;
|
|
3193
|
+
selectAllLabel: string;
|
|
3194
|
+
get compareWith(): ((o1: any, o2: any) => boolean) | undefined;
|
|
3195
|
+
set compareWith(fn: ((o1: any, o2: any) => boolean) | undefined);
|
|
3196
|
+
private _compareWith?;
|
|
3197
|
+
disabled: boolean;
|
|
3198
|
+
selectionChange: _angular_core.OutputEmitterRef<{
|
|
3199
|
+
model: AcpCheckboxGroupOption[];
|
|
3200
|
+
index: number;
|
|
3201
|
+
}>;
|
|
3202
|
+
selectAll: boolean;
|
|
3203
|
+
selectAllIndeterminate: boolean;
|
|
3204
|
+
selectedItems: AcpCheckboxGroupOption[];
|
|
3205
|
+
_onChange: (value: AcpCheckboxGroupOption[]) => void;
|
|
3206
|
+
_onTouched: () => void;
|
|
3207
|
+
ngAfterViewInit(): void;
|
|
3208
|
+
private _setItemsFromContentCheckboxes;
|
|
3209
|
+
ngOnDestroy(): void;
|
|
3210
|
+
/**
|
|
3211
|
+
* Finds and selects and option based on its value.
|
|
3212
|
+
* @returns Option that has the corresponding value.
|
|
3213
|
+
*/
|
|
3214
|
+
private _selectValue;
|
|
3215
|
+
/**
|
|
3216
|
+
* Sets the model value. Implemented as part of ControlValueAccessor.
|
|
3217
|
+
* @param value New value to be written to the model.
|
|
3218
|
+
*/
|
|
3219
|
+
writeValue(value: any[]): void;
|
|
3220
|
+
/**
|
|
3221
|
+
* Registers a callback to be triggered when the model value changes.
|
|
3222
|
+
* Implemented as part of ControlValueAccessor.
|
|
3223
|
+
* @param fn Callback to be registered.
|
|
3224
|
+
*/
|
|
3225
|
+
registerOnChange(fn: (value: AcpCheckboxGroupOption[]) => Record<string, unknown>): void;
|
|
3226
|
+
/**
|
|
3227
|
+
* Registers a callback to be triggered when the control is touched.
|
|
3228
|
+
* Implemented as part of ControlValueAccessor.
|
|
3229
|
+
* @param fn Callback to be registered.
|
|
3230
|
+
*/
|
|
3231
|
+
registerOnTouched(fn: () => Record<string, unknown>): void;
|
|
3232
|
+
/**
|
|
3233
|
+
* Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.
|
|
3234
|
+
* @param isDisabled Whether the control should be disabled.
|
|
3235
|
+
*/
|
|
3236
|
+
setDisabledState(isDisabled: boolean): void;
|
|
3237
|
+
private _checkMasterCheckboxState;
|
|
3238
|
+
private _getSelectedItems;
|
|
3239
|
+
/** Handle normal checkbox toggle */
|
|
3240
|
+
_updateNormalCheckboxState(e: MatCheckboxChange, index: number): void;
|
|
3241
|
+
/** Handle master checkbox toggle */
|
|
3242
|
+
_updateMasterCheckboxState(e: MatCheckboxChange, index: number): void;
|
|
3243
|
+
_trackBy: (index: number, item: any) => any;
|
|
3244
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AcpCheckboxGroup, never>;
|
|
3245
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AcpCheckboxGroup, "acp-checkbox-group", ["acpCheckboxGroup"], { "trackBy": { "alias": "trackBy"; "required": false; }; "items": { "alias": "items"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; "isSignal": true; }; "bindValue": { "alias": "bindValue"; "required": false; "isSignal": true; }; "showSelectAll": { "alias": "showSelectAll"; "required": false; }; "selectAllLabel": { "alias": "selectAllLabel"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectionChange": "selectionChange"; }, ["_checkboxes"], never, true, never>;
|
|
3246
|
+
static ngAcceptInputType_showSelectAll: unknown;
|
|
3247
|
+
static ngAcceptInputType_disabled: unknown;
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3103
3250
|
declare class ToUpperCase implements ControlValueAccessor {
|
|
3104
|
-
private el;
|
|
3105
|
-
private renderer;
|
|
3251
|
+
private readonly el;
|
|
3252
|
+
private readonly renderer;
|
|
3106
3253
|
onInput(): void;
|
|
3107
3254
|
onChange: (_value: string) => void;
|
|
3108
3255
|
onTouched: () => void;
|
|
@@ -3133,15 +3280,16 @@ interface StatusOptions {
|
|
|
3133
3280
|
iconClass?: string;
|
|
3134
3281
|
}
|
|
3135
3282
|
declare class StatusDisplayPipe implements PipeTransform {
|
|
3136
|
-
private sanitizer;
|
|
3137
|
-
private transloco;
|
|
3283
|
+
private readonly sanitizer;
|
|
3284
|
+
private readonly transloco;
|
|
3138
3285
|
transform(isActive: boolean, options?: StatusOptions): SafeHtml;
|
|
3139
3286
|
private getStatusText;
|
|
3140
3287
|
private getTranslationKey;
|
|
3141
3288
|
private getFallbackText;
|
|
3289
|
+
private sanitizeClassName;
|
|
3142
3290
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<StatusDisplayPipe, never>;
|
|
3143
3291
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<StatusDisplayPipe, "statusDisplay", true>;
|
|
3144
3292
|
}
|
|
3145
3293
|
|
|
3146
|
-
export { ACP_ACTIVE_DATE_DEBOUNCE, ACP_DATE_OPTION_TYPE, ACP_DEFAULT_DATE_OPTIONS, ACP_DRAWER_DATA, ACP_DRAWER_DEFAULT_OPTIONS, ACP_POPOVER_CONTENT, ACP_POPOVER_DEFAULT_OPTIONS, ACP_POPOVER_SCROLL_STRATEGY, AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG, AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG, AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG, AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG, AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG, AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG, AcpAlert, AcpDateRangeInput, AcpDrawer, AcpDrawerConfig, AcpDrawerContainer, AcpDrawerRef, AcpPopover, AcpPopoverContent, AcpPopoverTarget, AcpPopoverTrigger, AcpSelectDateOption, AdvancedDialogService, AutocompleteWrapperService, Button, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DialogZIndexService, DynamicCard, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, KeyboardNavigationService, OverlayService, Pagination, ReusableAutocompleteComponent, Spinner, StatusDisplayPipe, SvgIcon, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, _AcpPopoverContentBase, createAutocompleteWrapperConfig };
|
|
3147
|
-
export type { AcpAlertType, AcpPopoverDefaultOptions, AcpPopoverPanel, AcpPopoverPosition, AcpPopoverPositionEnd, AcpPopoverPositionStart, AcpPopoverTriggerEvent, AcpSelectedDateEvent, AutoFocusTarget, AutocompleteWrapperActions, AutocompleteWrapperConfig, AutocompleteWrapperEventHandler, AutocompleteWrapperEvents, AutocompleteWrapperFilters, AutocompleteWrapperItem, AutocompleteWrapperItemProperty, AutocompleteWrapperPaginationInfo, AutocompleteWrapperSearchField, AutocompleteWrapperSearchFunction, AutocompleteWrapperSearchMode, AutocompleteWrapperSearchResult, AutocompleteWrapperState, AutocompleteWrapperStockOption, DataGridButtonType, DataGridCellTemplate, DataGridColumn, DataGridColumnButton, DataGridColumnButtonBadge, DataGridColumnButtonPop, DataGridColumnButtonTooltip, DataGridColumnPinOption, DataGridColumnPinValue, DataGridColumnTag, DataGridColumnTagValue, DataGridColumnType, DataGridColumnTypeParameter, DataGridDefaultOptions, DataGridMenuItem, DataGridRowClassFormatter, DataGridRowSelectionFormatter, DataGridSortProp, DateRangePickerOptions, DateRangeValue, DialogSize, DialogType, DialogWrapperConfig, DrawerPosition, FocusableElement, IAcpSelectDateOption, IconRegistryConfig, MatCustomDialogConfig, PopoverCloseReason, ReusableAutocompleteWrapperComponent, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };
|
|
3294
|
+
export { ACP_ACTIVE_DATE_DEBOUNCE, ACP_DATE_OPTION_TYPE, ACP_DEFAULT_DATE_OPTIONS, ACP_DRAWER_DATA, ACP_DRAWER_DEFAULT_OPTIONS, ACP_POPOVER_CONTENT, ACP_POPOVER_DEFAULT_OPTIONS, ACP_POPOVER_SCROLL_STRATEGY, AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG, AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG, AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG, AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG, AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG, AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG, AcpAlert, AcpButton, AcpCheckboxBase, AcpCheckboxGroup, AcpDateRangeInput, AcpDrawer, AcpDrawerConfig, AcpDrawerContainer, AcpDrawerRef, AcpPopover, AcpPopoverContent, AcpPopoverTarget, AcpPopoverTrigger, AcpSelectDateOption, AdvancedDialogService, AutocompleteWrapperService, Button, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DialogZIndexService, DynamicCard, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, KeyboardNavigationService, OverlayService, Pagination, ReusableAutocompleteComponent, Spinner, StatusDisplayPipe, SvgIcon, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, _AcpPopoverContentBase, createAutocompleteWrapperConfig };
|
|
3295
|
+
export type { AcpAlertType, AcpCheckboxGroupOption, AcpPopoverDefaultOptions, AcpPopoverPanel, AcpPopoverPosition, AcpPopoverPositionEnd, AcpPopoverPositionStart, AcpPopoverTriggerEvent, AcpSelectedDateEvent, AutoFocusTarget, AutocompleteWrapperActions, AutocompleteWrapperConfig, AutocompleteWrapperEventHandler, AutocompleteWrapperEvents, AutocompleteWrapperFilters, AutocompleteWrapperItem, AutocompleteWrapperItemProperty, AutocompleteWrapperPaginationInfo, AutocompleteWrapperSearchField, AutocompleteWrapperSearchFunction, AutocompleteWrapperSearchMode, AutocompleteWrapperSearchResult, AutocompleteWrapperState, AutocompleteWrapperStockOption, DataGridButtonType, DataGridCellTemplate, DataGridColumn, DataGridColumnButton, DataGridColumnButtonBadge, DataGridColumnButtonPop, DataGridColumnButtonTooltip, DataGridColumnPinOption, DataGridColumnPinValue, DataGridColumnTag, DataGridColumnTagValue, DataGridColumnType, DataGridColumnTypeParameter, DataGridDefaultOptions, DataGridMenuItem, DataGridRowClassFormatter, DataGridRowSelectionFormatter, DataGridSortProp, DateRangePickerOptions, DateRangeValue, DialogSize, DialogType, DialogWrapperConfig, DrawerPosition, FocusableElement, IAcpSelectDateOption, IconRegistryConfig, MatCustomDialogConfig, PaginationOptions, PopoverCloseReason, ReusableAutocompleteWrapperComponent, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|