@nettyapps/ntyui 21.1.18 → 21.1.20
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": "@nettyapps/ntyui",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.20",
|
|
4
4
|
"description": "This library contains the common UI components for the netty projects. This components should not have any dependencies out side of this library. The ntyui component library provides modern and reusable UI components for Angular applications. Developed with Material Design principles in mind, this library helps your application maintain a consistent and aesthetic look.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -2,6 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { NgModel } from '@angular/forms';
|
|
4
4
|
import { MatFormFieldAppearance } from '@angular/material/form-field';
|
|
5
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
6
|
import { AlertService } from '@nettyapps/ntybase';
|
|
6
7
|
|
|
7
8
|
declare class Ntyui {
|
|
@@ -24,9 +25,10 @@ declare class UiBase {
|
|
|
24
25
|
maxLength: _angular_core.InputSignal<number | undefined>;
|
|
25
26
|
minLength: _angular_core.InputSignal<number | undefined>;
|
|
26
27
|
validateRegex: _angular_core.InputSignal<string | RegExp | null>;
|
|
27
|
-
validateRegexErrorMessage: _angular_core.InputSignal<string>;
|
|
28
|
+
validateRegexErrorMessage: _angular_core.InputSignal<string | undefined>;
|
|
28
29
|
forFilter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
30
|
protected alertService: AlertService;
|
|
31
|
+
protected translate: TranslateService;
|
|
30
32
|
debounce: _angular_core.InputSignal<number>;
|
|
31
33
|
protected debounceTimer: any;
|
|
32
34
|
value: _angular_core.ModelSignal<string>;
|
|
@@ -44,6 +46,7 @@ declare class UiBase {
|
|
|
44
46
|
protected onChange: (value: any) => void;
|
|
45
47
|
protected onTouched: () => void;
|
|
46
48
|
constructor();
|
|
49
|
+
requiredPlaceholder: _angular_core.Signal<any>;
|
|
47
50
|
writeValue(value: any): void;
|
|
48
51
|
registerOnChange(fn: any): void;
|
|
49
52
|
registerOnTouched(fn: any): void;
|
|
@@ -72,6 +75,8 @@ declare class NettyUIDateTime extends UiBase {
|
|
|
72
75
|
timeLabel: _angular_core.InputSignal<string>;
|
|
73
76
|
dateRestriction: _angular_core.InputSignal<DateRestriction$1>;
|
|
74
77
|
timeFormat: _angular_core.InputSignal<string>;
|
|
78
|
+
compareMinDate: _angular_core.InputSignal<Date | null>;
|
|
79
|
+
compareMaxDate: _angular_core.InputSignal<Date | null>;
|
|
75
80
|
dateTimeValue: _angular_core.ModelSignal<Date | null>;
|
|
76
81
|
dateValue: _angular_core.WritableSignal<Date | null>;
|
|
77
82
|
timeValue: _angular_core.WritableSignal<Date>;
|
|
@@ -80,16 +85,17 @@ declare class NettyUIDateTime extends UiBase {
|
|
|
80
85
|
inputModel: _angular_core.Signal<NgModel | undefined>;
|
|
81
86
|
private readonly _dateAdapter;
|
|
82
87
|
displayValue: _angular_core.Signal<string | null>;
|
|
83
|
-
|
|
84
|
-
|
|
88
|
+
calendarMin: _angular_core.Signal<Date | null>;
|
|
89
|
+
calendarMax: _angular_core.Signal<Date | null>;
|
|
85
90
|
constructor();
|
|
86
91
|
private updateCombinedValue;
|
|
87
92
|
onDateChange(event: any): void;
|
|
88
93
|
onTimeChange(newTime: Date): void;
|
|
89
94
|
clearInput(): void;
|
|
90
95
|
writeValue(value: any): void;
|
|
96
|
+
private checkComparisonDateTime;
|
|
91
97
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NettyUIDateTime, never>;
|
|
92
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyUIDateTime, "ntyui-date-time", never, { "timeLabel": { "alias": "timeLabel"; "required": false; "isSignal": true; }; "dateRestriction": { "alias": "dateRestriction"; "required": false; "isSignal": true; }; "timeFormat": { "alias": "timeFormat"; "required": false; "isSignal": true; }; "dateTimeValue": { "alias": "dateTimeValue"; "required": false; "isSignal": true; }; }, { "dateTimeValue": "dateTimeValueChange"; }, never, never, true, never>;
|
|
98
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyUIDateTime, "ntyui-date-time", never, { "timeLabel": { "alias": "timeLabel"; "required": false; "isSignal": true; }; "dateRestriction": { "alias": "dateRestriction"; "required": false; "isSignal": true; }; "timeFormat": { "alias": "timeFormat"; "required": false; "isSignal": true; }; "compareMinDate": { "alias": "compareMinDate"; "required": false; "isSignal": true; }; "compareMaxDate": { "alias": "compareMaxDate"; "required": false; "isSignal": true; }; "dateTimeValue": { "alias": "dateTimeValue"; "required": false; "isSignal": true; }; }, { "dateTimeValue": "dateTimeValueChange"; }, never, never, true, never>;
|
|
93
99
|
}
|
|
94
100
|
|
|
95
101
|
type DateRestriction = 'past' | 'future' | 'any';
|
|
@@ -381,10 +387,11 @@ declare class NettyUIColorPicker {
|
|
|
381
387
|
declare class NettyuUIDateTimeRange extends UiBase {
|
|
382
388
|
endValue: _angular_core.ModelSignal<Date | null>;
|
|
383
389
|
endLabel: _angular_core.InputSignal<string>;
|
|
390
|
+
value: _angular_core.ModelSignal<any>;
|
|
384
391
|
constructor();
|
|
385
392
|
writeValue(val: any): void;
|
|
386
393
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NettyuUIDateTimeRange, never>;
|
|
387
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyuUIDateTimeRange, "ntyui-date-time-range", never, { "endValue": { "alias": "endValue"; "required": false; "isSignal": true; }; "endLabel": { "alias": "endLabel"; "required": false; "isSignal": true; }; }, { "endValue": "endValueChange"; }, never, never, true, never>;
|
|
394
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyuUIDateTimeRange, "ntyui-date-time-range", never, { "endValue": { "alias": "endValue"; "required": false; "isSignal": true; }; "endLabel": { "alias": "endLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "endValue": "endValueChange"; "value": "valueChange"; }, never, never, true, never>;
|
|
388
395
|
}
|
|
389
396
|
|
|
390
397
|
declare class NettyEnumValues implements NettyEnum {
|