@nettyapps/ntyui 21.1.12 → 21.1.13
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.13",
|
|
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 { AlertService } from '@nettyapps/ntybase';
|
|
5
6
|
|
|
6
7
|
declare class Ntyui {
|
|
7
8
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Ntyui, never>;
|
|
@@ -25,6 +26,7 @@ declare class UiBase {
|
|
|
25
26
|
validateRegex: _angular_core.InputSignal<string | RegExp | null>;
|
|
26
27
|
validateRegexErrorMessage: _angular_core.InputSignal<string>;
|
|
27
28
|
forFilter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
|
+
protected alertService: AlertService;
|
|
28
30
|
debounce: _angular_core.InputSignal<number>;
|
|
29
31
|
protected debounceTimer: any;
|
|
30
32
|
value: _angular_core.ModelSignal<string>;
|
|
@@ -67,16 +69,16 @@ declare class NettyUIEmailInput extends UiBase {
|
|
|
67
69
|
|
|
68
70
|
type DateRestriction$1 = 'past' | 'future' | 'any';
|
|
69
71
|
declare class NettyUIDateTime extends UiBase {
|
|
70
|
-
dateTimeValue: _angular_core.ModelSignal<Date | null>;
|
|
71
72
|
timeLabel: _angular_core.InputSignal<string>;
|
|
72
73
|
dateRestriction: _angular_core.InputSignal<DateRestriction$1>;
|
|
73
74
|
timeFormat: _angular_core.InputSignal<string>;
|
|
75
|
+
dateTimeValue: _angular_core.ModelSignal<Date | null>;
|
|
74
76
|
dateValue: _angular_core.WritableSignal<Date | null>;
|
|
75
77
|
timeValue: _angular_core.WritableSignal<Date>;
|
|
76
78
|
dateModel: _angular_core.Signal<NgModel | undefined>;
|
|
77
79
|
timeModel: _angular_core.Signal<NgModel | undefined>;
|
|
78
80
|
inputModel: _angular_core.Signal<NgModel | undefined>;
|
|
79
|
-
private readonly
|
|
81
|
+
private readonly _dateAdapter;
|
|
80
82
|
displayValue: _angular_core.Signal<string | null>;
|
|
81
83
|
minDate: _angular_core.Signal<Date | null>;
|
|
82
84
|
maxDate: _angular_core.Signal<Date | null>;
|
|
@@ -87,16 +89,18 @@ declare class NettyUIDateTime extends UiBase {
|
|
|
87
89
|
clearInput(): void;
|
|
88
90
|
writeValue(value: any): void;
|
|
89
91
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NettyUIDateTime, never>;
|
|
90
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyUIDateTime, "ntyui-date-time", 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>;
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
type DateRestriction = 'past' | 'future' | 'any';
|
|
94
96
|
declare class NettyUIDatePicker extends UiBase {
|
|
95
97
|
private readonly NULL_DATE;
|
|
98
|
+
private readonly _dateAdapter;
|
|
96
99
|
dateRestriction: _angular_core.InputSignal<DateRestriction>;
|
|
97
100
|
dateValue: _angular_core.ModelSignal<string | Date | null>;
|
|
98
101
|
selectedDate: _angular_core.ModelSignal<Date | null>;
|
|
99
102
|
displayValue: _angular_core.WritableSignal<string | null>;
|
|
103
|
+
timeFormat: _angular_core.InputSignal<string>;
|
|
100
104
|
minDate: _angular_core.WritableSignal<Date | null>;
|
|
101
105
|
maxDate: _angular_core.WritableSignal<Date | null>;
|
|
102
106
|
constructor();
|
|
@@ -114,9 +118,8 @@ declare class NettyUIDatePicker extends UiBase {
|
|
|
114
118
|
* @param event The blur event from the input element.
|
|
115
119
|
*/
|
|
116
120
|
onInputBlur(event: FocusEvent): void;
|
|
117
|
-
private parsePartialDate;
|
|
118
121
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NettyUIDatePicker, never>;
|
|
119
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyUIDatePicker, "ntyui-date-picker", never, { "dateRestriction": { "alias": "dateRestriction"; "required": false; "isSignal": true; }; "dateValue": { "alias": "dateValue"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; }, { "dateValue": "dateValueChange"; "selectedDate": "selectedDateChange"; }, never, never, true, never>;
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NettyUIDatePicker, "ntyui-date-picker", never, { "dateRestriction": { "alias": "dateRestriction"; "required": false; "isSignal": true; }; "dateValue": { "alias": "dateValue"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "timeFormat": { "alias": "timeFormat"; "required": false; "isSignal": true; }; }, { "dateValue": "dateValueChange"; "selectedDate": "selectedDateChange"; }, never, never, true, never>;
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
declare class NettyUIMaskedInput extends UiBase {
|