@acontplus/ng-components 2.1.4 → 2.1.6
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acontplus/ng-components",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
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",
|
|
@@ -19,7 +19,7 @@ import { MatButtonAppearance } from '@angular/material/button';
|
|
|
19
19
|
import { ThemePalette } from '@angular/material/core';
|
|
20
20
|
import { TooltipPosition, TooltipTouchGestures } from '@angular/material/tooltip';
|
|
21
21
|
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
22
|
-
import { DatexOptions
|
|
22
|
+
import { DatexOptions } from 'datex-ui';
|
|
23
23
|
export { BOOTSTRAP_THEME, DEFAULT_THEME, Datex, DatexCallback, DatexLocale, DatexOptions, DatexTheme, MATERIAL_THEME, SPANISH_LOCALE, SPANISH_LOCALE_WITH_TIME } from 'datex-ui';
|
|
24
24
|
import { ComponentType } from '@angular/cdk/portal';
|
|
25
25
|
|
|
@@ -1221,7 +1221,7 @@ declare class DataGrid<T = any> implements AfterViewInit, OnDestroy, OnChanges {
|
|
|
1221
1221
|
noResultTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1222
1222
|
paginationTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1223
1223
|
summaryTemplate: _angular_core.InputSignal<TemplateRef<any> | DataGridCellTemplate | undefined>;
|
|
1224
|
-
size: _angular_core.InputSignal<"
|
|
1224
|
+
size: _angular_core.InputSignal<"medium" | "small" | "normal">;
|
|
1225
1225
|
headerCellTemplate: _angular_core.InputSignal<TemplateRef<any> | DataGridCellTemplate | undefined>;
|
|
1226
1226
|
expandable: _angular_core.InputSignal<boolean>;
|
|
1227
1227
|
expansionTemplate: _angular_core.InputSignal<TemplateRef<any> | null>;
|
|
@@ -1412,17 +1412,19 @@ declare class KeyboardNavigationService {
|
|
|
1412
1412
|
interface DateRangePickerOptions extends DatexOptions {
|
|
1413
1413
|
presetTheme?: 'default' | 'bootstrap' | 'material' | 'custom';
|
|
1414
1414
|
}
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1415
|
+
type DateValue<AsString extends boolean> = AsString extends true ? string : Date;
|
|
1416
|
+
interface DateRangeValue<AsString extends boolean> {
|
|
1417
|
+
from: DateValue<AsString>;
|
|
1418
|
+
to: DateValue<AsString>;
|
|
1419
|
+
label?: string;
|
|
1418
1420
|
}
|
|
1419
|
-
declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, MatFormFieldControl<
|
|
1421
|
+
declare class DateRangePicker<AsString extends boolean = true> implements OnInit, OnChanges, OnDestroy, ControlValueAccessor, MatFormFieldControl<any> {
|
|
1420
1422
|
static nextId: number;
|
|
1421
|
-
dateInput: ElementRef<HTMLInputElement>;
|
|
1422
|
-
readonly stateChanges: Subject<void>;
|
|
1423
1423
|
readonly id: string;
|
|
1424
1424
|
readonly controlType = "acp-date-range-picker";
|
|
1425
|
+
readonly stateChanges: Subject<void>;
|
|
1425
1426
|
readonly autofilled = false;
|
|
1427
|
+
dateInput: ElementRef<HTMLInputElement>;
|
|
1426
1428
|
private _focused;
|
|
1427
1429
|
private _required;
|
|
1428
1430
|
private _value;
|
|
@@ -1430,15 +1432,16 @@ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlVa
|
|
|
1430
1432
|
get empty(): boolean;
|
|
1431
1433
|
get shouldLabelFloat(): boolean;
|
|
1432
1434
|
get required(): boolean;
|
|
1433
|
-
get value(): DateRangeValue | Date | null;
|
|
1434
|
-
set value(val: DateRangeValue | Date | null);
|
|
1435
1435
|
private readonly _errorState;
|
|
1436
|
-
private currentDate;
|
|
1437
1436
|
get errorState(): boolean;
|
|
1438
|
-
get
|
|
1437
|
+
get value(): any;
|
|
1438
|
+
set value(val: any);
|
|
1439
1439
|
get placeholder(): string;
|
|
1440
1440
|
get disabled(): boolean;
|
|
1441
1441
|
ngControl: any;
|
|
1442
|
+
setDescribedByIds(_ids: string[]): void;
|
|
1443
|
+
onContainerClick(): void;
|
|
1444
|
+
focus(): void;
|
|
1442
1445
|
options: _angular_core.InputSignal<DateRangePickerOptions>;
|
|
1443
1446
|
placeholderText: _angular_core.InputSignal<string>;
|
|
1444
1447
|
isDisabled: _angular_core.InputSignal<boolean>;
|
|
@@ -1447,40 +1450,31 @@ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlVa
|
|
|
1447
1450
|
hint: _angular_core.InputSignal<string | undefined>;
|
|
1448
1451
|
errorMessage: _angular_core.InputSignal<string | undefined>;
|
|
1449
1452
|
appearance: _angular_core.InputSignal<"fill" | "outline">;
|
|
1453
|
+
formatOutputAsString: _angular_core.InputSignal<AsString>;
|
|
1450
1454
|
calendarIcon: _angular_core.InputSignal<string>;
|
|
1451
1455
|
showCalendarButton: _angular_core.InputSignal<boolean>;
|
|
1452
1456
|
showCheckbox: _angular_core.InputSignal<boolean>;
|
|
1453
|
-
checkboxChecked: _angular_core.
|
|
1457
|
+
checkboxChecked: _angular_core.ModelSignal<boolean>;
|
|
1454
1458
|
checkboxReadonly: _angular_core.InputSignal<boolean>;
|
|
1455
1459
|
checkboxAriaLabel: _angular_core.InputSignal<string>;
|
|
1456
1460
|
checkboxPosition: _angular_core.InputSignal<"prefix" | "suffix">;
|
|
1457
|
-
dateRangeSelected: _angular_core.OutputEmitterRef<
|
|
1458
|
-
startDate: Date;
|
|
1459
|
-
endDate: Date;
|
|
1460
|
-
label?: string;
|
|
1461
|
-
}>;
|
|
1461
|
+
dateRangeSelected: _angular_core.OutputEmitterRef<DateRangeValue<AsString>>;
|
|
1462
1462
|
pickerShow: _angular_core.OutputEmitterRef<void>;
|
|
1463
1463
|
pickerHide: _angular_core.OutputEmitterRef<void>;
|
|
1464
1464
|
pickerApply: _angular_core.OutputEmitterRef<void>;
|
|
1465
1465
|
pickerCancel: _angular_core.OutputEmitterRef<void>;
|
|
1466
1466
|
checkboxChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1467
1467
|
private picker?;
|
|
1468
|
-
private
|
|
1468
|
+
private currentDate;
|
|
1469
1469
|
private onChange;
|
|
1470
1470
|
private onTouched;
|
|
1471
|
-
constructor();
|
|
1472
1471
|
ngOnInit(): void;
|
|
1473
1472
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1474
1473
|
ngOnDestroy(): void;
|
|
1475
|
-
|
|
1476
|
-
onContainerClick(_event: MouseEvent): void;
|
|
1477
|
-
focus(): void;
|
|
1478
|
-
blur(): void;
|
|
1474
|
+
private mapDate;
|
|
1479
1475
|
private initializePicker;
|
|
1480
|
-
private updateOptions;
|
|
1481
1476
|
private reinitializePicker;
|
|
1482
1477
|
private buildDatexOptions;
|
|
1483
|
-
private getDateAddDay;
|
|
1484
1478
|
private getDefaultRanges;
|
|
1485
1479
|
private getTheme;
|
|
1486
1480
|
private setupEventListeners;
|
|
@@ -1491,17 +1485,9 @@ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlVa
|
|
|
1491
1485
|
show(): void;
|
|
1492
1486
|
hide(): void;
|
|
1493
1487
|
toggle(): void;
|
|
1494
|
-
getStartDate(): Date | null;
|
|
1495
|
-
getEndDate(): Date | null;
|
|
1496
|
-
setStartDate(date: Date): void;
|
|
1497
|
-
setEndDate(date: Date): void;
|
|
1498
|
-
updateTheme(theme: DatexTheme): void;
|
|
1499
|
-
updateRanges(ranges: Record<string, [Date, Date]>): void;
|
|
1500
|
-
updateConfiguration(): void;
|
|
1501
|
-
forceReinitialize(): void;
|
|
1502
1488
|
onCheckboxToggle(event: any): void;
|
|
1503
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangePicker
|
|
1504
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangePicker
|
|
1489
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangePicker<any>, never>;
|
|
1490
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DateRangePicker<any>, "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; }; "formatOutputAsString": { "alias": "formatOutputAsString"; "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; }; }, { "checkboxChecked": "checkboxCheckedChange"; "dateRangeSelected": "dateRangeSelected"; "pickerShow": "pickerShow"; "pickerHide": "pickerHide"; "pickerApply": "pickerApply"; "pickerCancel": "pickerCancel"; "checkboxChange": "checkboxChange"; }, never, never, true, never>;
|
|
1505
1491
|
}
|
|
1506
1492
|
|
|
1507
1493
|
declare class ToUpperCase implements ControlValueAccessor {
|