ngx-lite-form 1.4.3 → 1.4.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/README.md +12 -3
- package/fesm2022/ngx-lite-form.mjs +146 -30
- package/fesm2022/ngx-lite-form.mjs.map +1 -1
- package/index.d.ts +41 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -472,6 +472,7 @@ declare class LiteTable<T = any> {
|
|
|
472
472
|
direction: SortDirection;
|
|
473
473
|
}>;
|
|
474
474
|
selectionChange: _angular_core.OutputEmitterRef<T[]>;
|
|
475
|
+
rowClick: _angular_core.OutputEmitterRef<T>;
|
|
475
476
|
private internalSortState;
|
|
476
477
|
private selectedRows;
|
|
477
478
|
openMenuIndex: number | null;
|
|
@@ -488,13 +489,14 @@ declare class LiteTable<T = any> {
|
|
|
488
489
|
areAllVisibleSelected(): boolean;
|
|
489
490
|
isSomeVisibleSelected(): boolean;
|
|
490
491
|
toggleSelectAllVisible(checked: boolean): void;
|
|
492
|
+
onRowClick(row: T): void;
|
|
491
493
|
toggleMenu(rowIndex: number, event?: MouseEvent): void;
|
|
492
494
|
onMenuItemClick(action: string, row: T, event?: MouseEvent): void;
|
|
493
495
|
onDocumentClick(): void;
|
|
494
496
|
onSort(column: TableColumn): void;
|
|
495
497
|
getSortDirection(columnKey: string): SortDirection;
|
|
496
498
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LiteTable<any>, never>;
|
|
497
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteTable<any>, "lite-table", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; }, { "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; "menuAction": "menuAction"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
|
|
499
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteTable<any>, "lite-table", never, { "table": { "alias": "table"; "required": true; "isSignal": true; }; }, { "pageChange": "pageChange"; "itemsPerPageChange": "itemsPerPageChange"; "menuAction": "menuAction"; "sortChange": "sortChange"; "selectionChange": "selectionChange"; "rowClick": "rowClick"; }, never, never, true, never>;
|
|
498
500
|
}
|
|
499
501
|
|
|
500
502
|
interface LitePanelAction {
|
|
@@ -593,5 +595,41 @@ declare class LiteLoading {
|
|
|
593
595
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteLoading, "lite-loading", never, { "view": { "alias": "view"; "required": false; "isSignal": true; }; "progress": { "alias": "progress"; "required": false; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "visible": { "alias": "visible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
594
596
|
}
|
|
595
597
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
+
declare class LiteTabContent {
|
|
599
|
+
template: TemplateRef<unknown>;
|
|
600
|
+
constructor(template: TemplateRef<unknown>);
|
|
601
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LiteTabContent, never>;
|
|
602
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LiteTabContent, "[libLiteTabContent]", never, {}, {}, never, never, true, never>;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
interface LiteTabItem {
|
|
606
|
+
label: string;
|
|
607
|
+
content?: string;
|
|
608
|
+
}
|
|
609
|
+
declare class LiteTabGroup implements AfterViewInit, OnDestroy {
|
|
610
|
+
tabContents: QueryList<LiteTabContent>;
|
|
611
|
+
tabWrapper?: ElementRef<HTMLDivElement>;
|
|
612
|
+
tabs: _angular_core.InputSignal<LiteTabItem[]>;
|
|
613
|
+
activeIndex: _angular_core.InputSignal<number>;
|
|
614
|
+
tabChange: _angular_core.OutputEmitterRef<number>;
|
|
615
|
+
private internalActiveIndex;
|
|
616
|
+
private wrapperWidth;
|
|
617
|
+
private resizeObserver?;
|
|
618
|
+
constructor();
|
|
619
|
+
ngAfterViewInit(): void;
|
|
620
|
+
onResize(): void;
|
|
621
|
+
private measure;
|
|
622
|
+
isActive(index: number): boolean;
|
|
623
|
+
onTabClick(index: number): void;
|
|
624
|
+
currentContent(): string | undefined;
|
|
625
|
+
getTabTemplate(index: number): TemplateRef<unknown> | null;
|
|
626
|
+
get activeSlideIndex(): number;
|
|
627
|
+
get paneWidthPx(): string;
|
|
628
|
+
get tabTransformPx(): string;
|
|
629
|
+
ngOnDestroy(): void;
|
|
630
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LiteTabGroup, never>;
|
|
631
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteTabGroup, "lite-tab-group", never, { "tabs": { "alias": "tabs"; "required": true; "isSignal": true; }; "activeIndex": { "alias": "activeIndex"; "required": false; "isSignal": true; }; }, { "tabChange": "tabChange"; }, ["tabContents"], never, true, never>;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export { BaseSelectFieldDto, FieldDto, FileFieldDto, FormUtils, LiteCheckbox, LiteDate, LiteDateTime, LiteFile, LiteInput, LiteLoading, LiteMultiSelect, LitePaginator, LitePanel, LitePassword, LiteRadio, LiteSelect, LiteSnackbarService, LiteTabContent, LiteTabGroup, LiteTable, LiteTextarea, MultiSelectFieldDto, PaginatorFieldDto, RadioFieldDto, SelectFieldDto, TableFieldDto };
|
|
635
|
+
export type { DateRangeFieldDto, FileItem, LitePanelAction, LiteTabItem, LoadingView, SnackbarType, SortDirection, SortState, TableColumn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-lite-form",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
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",
|