@acontplus/ng-components 2.1.3 → 2.1.5
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.5",
|
|
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,14 +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
1436
|
get errorState(): boolean;
|
|
1437
|
-
get
|
|
1437
|
+
get value(): any;
|
|
1438
|
+
set value(val: any);
|
|
1438
1439
|
get placeholder(): string;
|
|
1439
1440
|
get disabled(): boolean;
|
|
1440
1441
|
ngControl: any;
|
|
1442
|
+
setDescribedByIds(_ids: string[]): void;
|
|
1443
|
+
onContainerClick(): void;
|
|
1444
|
+
focus(): void;
|
|
1441
1445
|
options: _angular_core.InputSignal<DateRangePickerOptions>;
|
|
1442
1446
|
placeholderText: _angular_core.InputSignal<string>;
|
|
1443
1447
|
isDisabled: _angular_core.InputSignal<boolean>;
|
|
@@ -1446,6 +1450,7 @@ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlVa
|
|
|
1446
1450
|
hint: _angular_core.InputSignal<string | undefined>;
|
|
1447
1451
|
errorMessage: _angular_core.InputSignal<string | undefined>;
|
|
1448
1452
|
appearance: _angular_core.InputSignal<"fill" | "outline">;
|
|
1453
|
+
formatOutputAsString: _angular_core.InputSignal<AsString>;
|
|
1449
1454
|
calendarIcon: _angular_core.InputSignal<string>;
|
|
1450
1455
|
showCalendarButton: _angular_core.InputSignal<boolean>;
|
|
1451
1456
|
showCheckbox: _angular_core.InputSignal<boolean>;
|
|
@@ -1453,30 +1458,21 @@ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlVa
|
|
|
1453
1458
|
checkboxReadonly: _angular_core.InputSignal<boolean>;
|
|
1454
1459
|
checkboxAriaLabel: _angular_core.InputSignal<string>;
|
|
1455
1460
|
checkboxPosition: _angular_core.InputSignal<"prefix" | "suffix">;
|
|
1456
|
-
dateRangeSelected: _angular_core.OutputEmitterRef<
|
|
1457
|
-
startDate: Date;
|
|
1458
|
-
endDate: Date;
|
|
1459
|
-
label?: string;
|
|
1460
|
-
}>;
|
|
1461
|
+
dateRangeSelected: _angular_core.OutputEmitterRef<DateRangeValue<AsString>>;
|
|
1461
1462
|
pickerShow: _angular_core.OutputEmitterRef<void>;
|
|
1462
1463
|
pickerHide: _angular_core.OutputEmitterRef<void>;
|
|
1463
1464
|
pickerApply: _angular_core.OutputEmitterRef<void>;
|
|
1464
1465
|
pickerCancel: _angular_core.OutputEmitterRef<void>;
|
|
1465
1466
|
checkboxChange: _angular_core.OutputEmitterRef<boolean>;
|
|
1466
1467
|
private picker?;
|
|
1467
|
-
private
|
|
1468
|
+
private currentDate;
|
|
1468
1469
|
private onChange;
|
|
1469
1470
|
private onTouched;
|
|
1470
|
-
constructor();
|
|
1471
1471
|
ngOnInit(): void;
|
|
1472
1472
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1473
1473
|
ngOnDestroy(): void;
|
|
1474
|
-
|
|
1475
|
-
onContainerClick(_event: MouseEvent): void;
|
|
1476
|
-
focus(): void;
|
|
1477
|
-
blur(): void;
|
|
1474
|
+
private mapDate;
|
|
1478
1475
|
private initializePicker;
|
|
1479
|
-
private updateOptions;
|
|
1480
1476
|
private reinitializePicker;
|
|
1481
1477
|
private buildDatexOptions;
|
|
1482
1478
|
private getDefaultRanges;
|
|
@@ -1489,17 +1485,9 @@ declare class DateRangePicker implements OnInit, OnChanges, OnDestroy, ControlVa
|
|
|
1489
1485
|
show(): void;
|
|
1490
1486
|
hide(): void;
|
|
1491
1487
|
toggle(): void;
|
|
1492
|
-
getStartDate(): Date | null;
|
|
1493
|
-
getEndDate(): Date | null;
|
|
1494
|
-
setStartDate(date: Date): void;
|
|
1495
|
-
setEndDate(date: Date): void;
|
|
1496
|
-
updateTheme(theme: DatexTheme): void;
|
|
1497
|
-
updateRanges(ranges: Record<string, [Date, Date]>): void;
|
|
1498
|
-
updateConfiguration(): void;
|
|
1499
|
-
forceReinitialize(): void;
|
|
1500
1488
|
onCheckboxToggle(event: any): void;
|
|
1501
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateRangePicker
|
|
1502
|
-
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; }; }, { "dateRangeSelected": "dateRangeSelected"; "pickerShow": "pickerShow"; "pickerHide": "pickerHide"; "pickerApply": "pickerApply"; "pickerCancel": "pickerCancel"; "checkboxChange": "checkboxChange"; }, never, never, true, never>;
|
|
1503
1491
|
}
|
|
1504
1492
|
|
|
1505
1493
|
declare class ToUpperCase implements ControlValueAccessor {
|