ngx-lite-form 1.4.9 → 1.4.10
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 +59 -4
- package/fesm2022/ngx-lite-form.mjs +68 -31
- package/fesm2022/ngx-lite-form.mjs.map +1 -1
- package/index.d.ts +22 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -75,6 +75,16 @@ declare class TableFieldDto<T = any> {
|
|
|
75
75
|
sortState?: SortState;
|
|
76
76
|
constructor(columns: TableColumn[], data: T[], showPaginator?: boolean, paginatorConfig?: PaginatorFieldDto, sortState?: SortState);
|
|
77
77
|
}
|
|
78
|
+
type BadgeVariant = 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
79
|
+
type BadgeSize = 'small' | 'medium' | 'large';
|
|
80
|
+
declare class BadgeFieldDto {
|
|
81
|
+
label: string;
|
|
82
|
+
variant?: BadgeVariant;
|
|
83
|
+
size?: BadgeSize;
|
|
84
|
+
removable?: boolean;
|
|
85
|
+
icon?: string;
|
|
86
|
+
constructor(label: string, variant?: BadgeVariant, size?: BadgeSize, removable?: boolean, icon?: string);
|
|
87
|
+
}
|
|
78
88
|
|
|
79
89
|
/**
|
|
80
90
|
* Utility class for form-related helper functions
|
|
@@ -634,5 +644,15 @@ declare class LiteTabGroup implements AfterViewInit, OnDestroy {
|
|
|
634
644
|
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>;
|
|
635
645
|
}
|
|
636
646
|
|
|
637
|
-
|
|
638
|
-
|
|
647
|
+
declare class LiteBadge {
|
|
648
|
+
badge: _angular_core.InputSignal<BadgeFieldDto>;
|
|
649
|
+
remove: _angular_core.OutputEmitterRef<void>;
|
|
650
|
+
onRemove(event: Event): void;
|
|
651
|
+
getVariantClass(): string;
|
|
652
|
+
getSizeClass(): string;
|
|
653
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LiteBadge, never>;
|
|
654
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LiteBadge, "lite-badge", never, { "badge": { "alias": "badge"; "required": true; "isSignal": true; }; }, { "remove": "remove"; }, never, never, true, never>;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
export { BadgeFieldDto, BaseSelectFieldDto, FieldDto, FileFieldDto, FormUtils, LiteBadge, LiteCheckbox, LiteDate, LiteDateTime, LiteFile, LiteInput, LiteLoading, LiteMultiSelect, LitePaginator, LitePanel, LitePassword, LiteRadio, LiteSelect, LiteSnackbarService, LiteTabContent, LiteTabGroup, LiteTable, LiteTextarea, MultiSelectFieldDto, PaginatorFieldDto, RadioFieldDto, SelectFieldDto, TableFieldDto };
|
|
658
|
+
export type { BadgeSize, BadgeVariant, 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.10",
|
|
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",
|