@acontplus/ng-components 2.1.0 → 2.1.1
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/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acontplus/ng-components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Comprehensive Angular Material UI component library featuring dynamic Tabulator tables, theme toggle with dark mode, dialog wrappers, autocomplete components, cards, buttons, icons, input chips, spinners, directives, pipes, and SCSS styling utilities.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@acontplus/ui-kit": "^1.0.2",
|
|
7
|
-
"@angular/cdk": "^21.0.
|
|
8
|
-
"@angular/common": "^21.0.
|
|
9
|
-
"@angular/core": "^21.0.
|
|
10
|
-
"@angular/material": "^21.0.
|
|
7
|
+
"@angular/cdk": "^21.0.0",
|
|
8
|
+
"@angular/common": "^21.0.0",
|
|
9
|
+
"@angular/core": "^21.0.0",
|
|
10
|
+
"@angular/material": "^21.0.0",
|
|
11
11
|
"tabulator-tables": "^6.3.1"
|
|
12
12
|
},
|
|
13
13
|
"sideEffects": true,
|
|
@@ -9,7 +9,7 @@ import { MatChipInputEvent, MatChipEditedEvent } from '@angular/material/chips';
|
|
|
9
9
|
import { LiveAnnouncer } from '@angular/cdk/a11y';
|
|
10
10
|
import { Tabulator } from 'tabulator-tables';
|
|
11
11
|
import * as rxjs from 'rxjs';
|
|
12
|
-
import { Observable } from 'rxjs';
|
|
12
|
+
import { Observable, Subject } from 'rxjs';
|
|
13
13
|
import { MatTable, MatRowDef, MatHeaderRowDef, MatFooterRowDef, MatTableDataSource } from '@angular/material/table';
|
|
14
14
|
import { PageEvent, MatPaginator } from '@angular/material/paginator';
|
|
15
15
|
import { SortDirection, MatSort, Sort } from '@angular/material/sort';
|
|
@@ -18,6 +18,9 @@ import { MatBadgePosition, MatBadgeSize } from '@angular/material/badge';
|
|
|
18
18
|
import { MatButtonAppearance } from '@angular/material/button';
|
|
19
19
|
import { ThemePalette } from '@angular/material/core';
|
|
20
20
|
import { TooltipPosition, TooltipTouchGestures } from '@angular/material/tooltip';
|
|
21
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
22
|
+
import { DatexOptions, DatexTheme } from 'datex-ui';
|
|
23
|
+
export { BOOTSTRAP_THEME, DEFAULT_THEME, Datex, DatexCallback, DatexLocale, DatexOptions, DatexTheme, MATERIAL_THEME, SPANISH_LOCALE, SPANISH_LOCALE_WITH_TIME } from 'datex-ui';
|
|
21
24
|
import { ComponentType } from '@angular/cdk/portal';
|
|
22
25
|
|
|
23
26
|
/**
|
|
@@ -1324,6 +1327,98 @@ declare class DataGrid<T = any> implements AfterViewInit, OnDestroy, OnChanges {
|
|
|
1324
1327
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataGrid<any>, "acp-data-grid", ["dataGrid"], { "showToolbar": { "alias": "showToolbar"; "required": false; "isSignal": true; }; "showColumnMenuButton": { "alias": "showColumnMenuButton"; "required": false; "isSignal": true; }; "toolbarTitle": { "alias": "toolbarTitle"; "required": false; "isSignal": true; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyValuePlaceholder": { "alias": "emptyValuePlaceholder"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "headerExtraTemplate": { "alias": "headerExtraTemplate"; "required": false; "isSignal": true; }; "noResultTemplate": { "alias": "noResultTemplate"; "required": false; "isSignal": true; }; "paginationTemplate": { "alias": "paginationTemplate"; "required": false; "isSignal": true; }; "summaryTemplate": { "alias": "summaryTemplate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "headerCellTemplate": { "alias": "headerCellTemplate"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; "expansionTemplate": { "alias": "expansionTemplate"; "required": false; "isSignal": true; }; "closeOthersOnExpand": { "alias": "closeOthersOnExpand"; "required": false; "isSignal": true; }; "pageOnFront": { "alias": "pageOnFront"; "required": false; "isSignal": true; }; "showPaginator": { "alias": "showPaginator"; "required": false; "isSignal": true; }; "pageDisabled": { "alias": "pageDisabled"; "required": false; "isSignal": true; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "hidePageSize": { "alias": "hidePageSize"; "required": false; "isSignal": true; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; "isSignal": true; }; "infiniteScrollThreshold": { "alias": "infiniteScrollThreshold"; "required": false; "isSignal": true; }; "infiniteScrollDisabled": { "alias": "infiniteScrollDisabled"; "required": false; "isSignal": true; }; "keyboardNavigation": { "alias": "keyboardNavigation"; "required": false; "isSignal": true; }; "highlightedRowIndex": { "alias": "highlightedRowIndex"; "required": false; "isSignal": true; }; "sortOnFront": { "alias": "sortOnFront"; "required": false; "isSignal": true; }; "sortActive": { "alias": "sortActive"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortDisableClear": { "alias": "sortDisableClear"; "required": false; "isSignal": true; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; "isSignal": true; }; "sortStart": { "alias": "sortStart"; "required": false; "isSignal": true; }; "rowHover": { "alias": "rowHover"; "required": false; "isSignal": true; }; "rowStriped": { "alias": "rowStriped"; "required": false; "isSignal": true; }; "rowSelectable": { "alias": "rowSelectable"; "required": false; "isSignal": true; }; "multiSelectable": { "alias": "multiSelectable"; "required": false; "isSignal": true; }; "multiSelectionWithClick": { "alias": "multiSelectionWithClick"; "required": false; "isSignal": true; }; "hideRowSelectionCheckbox": { "alias": "hideRowSelectionCheckbox"; "required": false; "isSignal": true; }; "disableRowClickSelection": { "alias": "disableRowClickSelection"; "required": false; "isSignal": true; }; "rowClassFormatter": { "alias": "rowClassFormatter"; "required": false; "isSignal": true; }; "rowSelected": { "alias": "rowSelected"; "required": false; "isSignal": true; }; "rowSelectionFormatter": { "alias": "rowSelectionFormatter"; "required": false; "isSignal": true; }; "cellSelectable": { "alias": "cellSelectable"; "required": false; "isSignal": true; }; "useContentRowTemplate": { "alias": "useContentRowTemplate"; "required": false; "isSignal": true; }; "useContentHeaderRowTemplate": { "alias": "useContentHeaderRowTemplate"; "required": false; "isSignal": true; }; "useContentFooterRowTemplate": { "alias": "useContentFooterRowTemplate"; "required": false; "isSignal": true; }; "showSummary": { "alias": "showSummary"; "required": false; "isSignal": true; }; "noResultText": { "alias": "noResultText"; "required": false; "isSignal": true; }; }, { "page": "page"; "sortChange": "sortChange"; "rowClick": "rowClick"; "rowSelectedChange": "rowSelectedChange"; "selectionChange": "selectionChange"; "cellClick": "cellClick"; "cellSelectedChange": "cellSelectedChange"; "expansionChange": "expansionChange"; "rowContextMenu": "rowContextMenu"; "infiniteScrollLoad": "infiniteScrollLoad"; "focusedRowChange": "focusedRowChange"; }, ["rowDefs", "headerRowDefs", "footerRowDefs"], never, true, never>;
|
|
1325
1328
|
}
|
|
1326
1329
|
|
|
1330
|
+
interface DateRangePickerOptions extends DatexOptions {
|
|
1331
|
+
presetTheme?: 'default' | 'bootstrap' | 'material' | 'custom';
|
|
1332
|
+
}
|
|
1333
|
+
interface DateRangeValue {
|
|
1334
|
+
startDate: Date;
|
|
1335
|
+
endDate: Date;
|
|
1336
|
+
}
|
|
1337
|
+
declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, MatFormFieldControl<DateRangeValue | Date> {
|
|
1338
|
+
static nextId: number;
|
|
1339
|
+
dateInput: ElementRef<HTMLInputElement>;
|
|
1340
|
+
readonly stateChanges: Subject<void>;
|
|
1341
|
+
readonly id: string;
|
|
1342
|
+
readonly controlType = "acp-date-range-picker";
|
|
1343
|
+
readonly autofilled = false;
|
|
1344
|
+
private _focused;
|
|
1345
|
+
private _required;
|
|
1346
|
+
private _value;
|
|
1347
|
+
get focused(): boolean;
|
|
1348
|
+
get empty(): boolean;
|
|
1349
|
+
get shouldLabelFloat(): boolean;
|
|
1350
|
+
get required(): boolean;
|
|
1351
|
+
get value(): DateRangeValue | Date | null;
|
|
1352
|
+
set value(val: DateRangeValue | Date | null);
|
|
1353
|
+
private readonly _errorState;
|
|
1354
|
+
get errorState(): boolean;
|
|
1355
|
+
get userAriaDescribedBy(): string | undefined;
|
|
1356
|
+
get placeholder(): string;
|
|
1357
|
+
get disabled(): boolean;
|
|
1358
|
+
ngControl: any;
|
|
1359
|
+
options: _angular_core.InputSignal<DateRangePickerOptions>;
|
|
1360
|
+
placeholderText: _angular_core.InputSignal<string>;
|
|
1361
|
+
isDisabled: _angular_core.InputSignal<boolean>;
|
|
1362
|
+
inputReadonly: _angular_core.InputSignal<boolean>;
|
|
1363
|
+
label: _angular_core.InputSignal<string | undefined>;
|
|
1364
|
+
hint: _angular_core.InputSignal<string | undefined>;
|
|
1365
|
+
errorMessage: _angular_core.InputSignal<string | undefined>;
|
|
1366
|
+
appearance: _angular_core.InputSignal<"fill" | "outline">;
|
|
1367
|
+
calendarIcon: _angular_core.InputSignal<string>;
|
|
1368
|
+
showCalendarButton: _angular_core.InputSignal<boolean>;
|
|
1369
|
+
showCheckbox: _angular_core.InputSignal<boolean>;
|
|
1370
|
+
checkboxChecked: _angular_core.InputSignal<boolean>;
|
|
1371
|
+
checkboxReadonly: _angular_core.InputSignal<boolean>;
|
|
1372
|
+
checkboxAriaLabel: _angular_core.InputSignal<string>;
|
|
1373
|
+
checkboxPosition: _angular_core.InputSignal<"prefix" | "suffix">;
|
|
1374
|
+
dateRangeSelected: _angular_core.OutputEmitterRef<{
|
|
1375
|
+
startDate: Date;
|
|
1376
|
+
endDate: Date;
|
|
1377
|
+
label?: string;
|
|
1378
|
+
}>;
|
|
1379
|
+
pickerShow: _angular_core.OutputEmitterRef<void>;
|
|
1380
|
+
pickerHide: _angular_core.OutputEmitterRef<void>;
|
|
1381
|
+
pickerApply: _angular_core.OutputEmitterRef<void>;
|
|
1382
|
+
pickerCancel: _angular_core.OutputEmitterRef<void>;
|
|
1383
|
+
checkboxChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1384
|
+
private picker?;
|
|
1385
|
+
private isInitialized;
|
|
1386
|
+
private onChange;
|
|
1387
|
+
private onTouched;
|
|
1388
|
+
constructor();
|
|
1389
|
+
ngOnInit(): void;
|
|
1390
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1391
|
+
ngOnDestroy(): void;
|
|
1392
|
+
setDescribedByIds(_ids: string[]): void;
|
|
1393
|
+
onContainerClick(_event: MouseEvent): void;
|
|
1394
|
+
focus(): void;
|
|
1395
|
+
blur(): void;
|
|
1396
|
+
private initializePicker;
|
|
1397
|
+
private updateOptions;
|
|
1398
|
+
private reinitializePicker;
|
|
1399
|
+
private buildDatexOptions;
|
|
1400
|
+
private getTheme;
|
|
1401
|
+
private setupEventListeners;
|
|
1402
|
+
writeValue(value: any): void;
|
|
1403
|
+
registerOnChange(fn: any): void;
|
|
1404
|
+
registerOnTouched(fn: any): void;
|
|
1405
|
+
setDisabledState(isDisabled: boolean): void;
|
|
1406
|
+
show(): void;
|
|
1407
|
+
hide(): void;
|
|
1408
|
+
toggle(): void;
|
|
1409
|
+
getStartDate(): Date | null;
|
|
1410
|
+
getEndDate(): Date | null;
|
|
1411
|
+
setStartDate(date: Date): void;
|
|
1412
|
+
setEndDate(date: Date): void;
|
|
1413
|
+
updateTheme(theme: DatexTheme): void;
|
|
1414
|
+
updateRanges(ranges: Record<string, [Date, Date]>): void;
|
|
1415
|
+
updateConfiguration(): void;
|
|
1416
|
+
forceReinitialize(): void;
|
|
1417
|
+
onCheckboxToggle(event: any): void;
|
|
1418
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangePicker, never>;
|
|
1419
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangePicker, "acp-date-range-picker", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "placeholderText": { "alias": "placeholderText"; "required": false; "isSignal": true; }; "isDisabled": { "alias": "isDisabled"; "required": false; "isSignal": true; }; "inputReadonly": { "alias": "inputReadonly"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "calendarIcon": { "alias": "calendarIcon"; "required": false; "isSignal": true; }; "showCalendarButton": { "alias": "showCalendarButton"; "required": false; "isSignal": true; }; "showCheckbox": { "alias": "showCheckbox"; "required": false; "isSignal": true; }; "checkboxChecked": { "alias": "checkboxChecked"; "required": false; "isSignal": true; }; "checkboxReadonly": { "alias": "checkboxReadonly"; "required": false; "isSignal": true; }; "checkboxAriaLabel": { "alias": "checkboxAriaLabel"; "required": false; "isSignal": true; }; "checkboxPosition": { "alias": "checkboxPosition"; "required": false; "isSignal": true; }; }, { "dateRangeSelected": "dateRangeSelected"; "pickerShow": "pickerShow"; "pickerHide": "pickerHide"; "pickerApply": "pickerApply"; "pickerCancel": "pickerCancel"; "checkboxChange": "checkboxChange"; }, never, never, true, never>;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1327
1422
|
declare class ToUpperCase implements ControlValueAccessor {
|
|
1328
1423
|
private el;
|
|
1329
1424
|
private renderer;
|
|
@@ -1367,5 +1462,5 @@ declare class StatusDisplayPipe implements PipeTransform {
|
|
|
1367
1462
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<StatusDisplayPipe, "statusDisplay", true>;
|
|
1368
1463
|
}
|
|
1369
1464
|
|
|
1370
|
-
export { AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG, AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG, AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG, AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG, AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG, AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG, AdvancedDialogService, AutocompleteWrapperService, Button, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DialogWrapper, DynamicCard, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, OverlayService, Pagination, ReusableAutocompleteComponent, Spinner, StatusDisplayPipe, SvgIcon, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, createAutocompleteWrapperConfig };
|
|
1371
|
-
export type { 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, DialogSize, DialogWrapperConfig, IconRegistryConfig, MatCustomDialogConfig, ReusableAutocompleteWrapperComponent, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };
|
|
1465
|
+
export { AUTOCOMPLETE_WRAPPER_CUSTOMER_CONFIG, AUTOCOMPLETE_WRAPPER_DEFAULT_CONFIG, AUTOCOMPLETE_WRAPPER_LOCAL_CONFIG, AUTOCOMPLETE_WRAPPER_PAGINATED_CONFIG, AUTOCOMPLETE_WRAPPER_PRODUCT_CONFIG, AUTOCOMPLETE_WRAPPER_SIMPLE_CONFIG, AdvancedDialogService, AutocompleteWrapperService, Button, DATA_GRID_DEFAULT_OPTIONS, DataGrid, DateRangePicker, DialogWrapper, DynamicCard, DynamicSelect, GetTotalPipe, IconRegistryService, InputChip, OverlayService, Pagination, ReusableAutocompleteComponent, Spinner, StatusDisplayPipe, SvgIcon, TabulatorTable, ThemeSwitcher, ThemeToggle, ToUpperCase, UserIcon, createAutocompleteWrapperConfig };
|
|
1466
|
+
export type { 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, DialogWrapperConfig, IconRegistryConfig, MatCustomDialogConfig, ReusableAutocompleteWrapperComponent, TabulatorColumn, TabulatorConfig, TabulatorEventHandlers, TabulatorTheme };
|