ngx-lite-form 1.3.9 → 1.4.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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { FormControl, AbstractControl, FormGroup, FormGroupDirective } from '@angular/forms';
2
2
  import * as _angular_core from '@angular/core';
3
- import { ElementRef, AfterViewInit, OnDestroy, Type, TemplateRef, ViewContainerRef, QueryList } from '@angular/core';
3
+ import { DoCheck, ElementRef, AfterViewInit, OnDestroy, Type, TemplateRef, ViewContainerRef, QueryList } from '@angular/core';
4
4
  import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
5
5
 
6
6
  declare class FieldDto {
@@ -145,24 +145,29 @@ declare class LiteTextarea {
145
145
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteTextarea, "lite-textarea", never, { "inEdit": { "alias": "inEdit"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
146
146
  }
147
147
 
148
- declare class LiteSelect {
148
+ declare class LiteSelect implements DoCheck {
149
149
  private _elementRef;
150
150
  inEdit: _angular_core.InputSignal<boolean>;
151
151
  control: _angular_core.InputSignal<SelectFieldDto<any>>;
152
152
  showOptions: string;
153
- inputText: string;
153
+ inputText: _angular_core.WritableSignal<string>;
154
+ private _previousOptionsLength;
155
+ private _previousOptionsReference;
156
+ private _optionsVersion;
154
157
  readonly FormUtils: typeof FormUtils;
158
+ filteredOptions: _angular_core.Signal<any[]>;
159
+ ngDoCheck(): void;
155
160
  constructor(_elementRef: ElementRef);
156
161
  onDocumentClick(event: MouseEvent): void;
162
+ private handleInputValidation;
157
163
  isRequired(): boolean;
158
164
  hasErrors(): boolean;
159
165
  getErrorMessage(): string[];
160
166
  optionSelected(option: any): void;
161
167
  onInputChange(event: Event): void;
162
- onInputBlur(): void;
163
168
  getDisplayValue(): string;
164
169
  hasTypedValue(): boolean;
165
- getFilteredOptions(): any[];
170
+ toggleOptionPanel(): void;
166
171
  shouldShowPlaceholder(): boolean;
167
172
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LiteSelect, never>;
168
173
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteSelect, "lite-select", never, { "inEdit": { "alias": "inEdit"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -306,6 +311,7 @@ declare class LiteDateTime {
306
311
  selectedHour: number;
307
312
  selectedMinute: number;
308
313
  selectedDateTime: CalendarDateTime | null;
314
+ private selectionChangeSignal;
309
315
  calendarDays: _angular_core.Signal<CalendarDateTime[]>;
310
316
  private getMonthDays;
311
317
  readonly FormUtils: typeof FormUtils;
package/package.json CHANGED
@@ -1,24 +1,44 @@
1
1
  {
2
2
  "name": "ngx-lite-form",
3
- "version": "1.3.9",
4
- "description": "A lightweight Angular form library with reusable input, textarea, select, multi-select, radio, checkbox, date picker and password components",
3
+ "version": "1.4.1",
4
+ "description": "Lightweight Angular 20+ form library with 15+ standalone components: input, textarea, select, multi-select, radio, checkbox, password, date picker, datetime picker, file upload, data table, pagination, modal panel, loading indicators, and toast notifications",
5
5
  "keywords": [
6
6
  "angular",
7
+ "angular20",
7
8
  "forms",
9
+ "reactive-forms",
8
10
  "components",
9
- "ui",
10
- "lite-form",
11
+ "ui-library",
12
+ "standalone-components",
13
+ "typescript",
11
14
  "input",
12
- "password",
15
+ "textarea",
13
16
  "select",
17
+ "dropdown",
14
18
  "multi-select",
15
- "textarea",
16
19
  "radio",
17
20
  "checkbox",
21
+ "password",
18
22
  "date-picker",
19
- "datetime-picker"
23
+ "datetime-picker",
24
+ "file-upload",
25
+ "drag-drop",
26
+ "data-table",
27
+ "table",
28
+ "pagination",
29
+ "paginator",
30
+ "modal",
31
+ "dialog",
32
+ "panel",
33
+ "loading",
34
+ "spinner",
35
+ "toast",
36
+ "snackbar",
37
+ "form-validation",
38
+ "ngx",
39
+ "angular-forms"
20
40
  ],
21
- "author": "liangk",
41
+ "author": "Ko-Hsin Liang",
22
42
  "license": "MIT",
23
43
  "repository": {
24
44
  "type": "git",