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/README.md
CHANGED
|
@@ -68,6 +68,7 @@ Lite Form provides 15+ form and UI components. Click on any component below for
|
|
|
68
68
|
### UI Components
|
|
69
69
|
- **[LitePanel](docs/lite-panel.md)** - Modal panel for dialogs and forms
|
|
70
70
|
- **[LiteLoading](docs/lite-loading.md)** - Loading spinner and progress bar
|
|
71
|
+
- **[LiteTabGroup](docs/lite-tab-group.md)** - Tabs with sliding track and Angular projection
|
|
71
72
|
- **[LiteSnackbar](docs/lite-snackbar.md)** - Toast notifications service
|
|
72
73
|
|
|
73
74
|
---
|
|
@@ -238,6 +239,12 @@ export class AppComponent {
|
|
|
238
239
|
// Enable bulk actions, update UI, etc.
|
|
239
240
|
}
|
|
240
241
|
|
|
242
|
+
// Handle row clicks
|
|
243
|
+
onRowClick(row: any) {
|
|
244
|
+
console.log('Row clicked:', row);
|
|
245
|
+
// Navigate to detail page, open modal, etc.
|
|
246
|
+
}
|
|
247
|
+
|
|
241
248
|
// Standalone paginator
|
|
242
249
|
paginator = new PaginatorFieldDto(1, 500, 25);
|
|
243
250
|
|
|
@@ -277,11 +284,12 @@ export class AppComponent {
|
|
|
277
284
|
<lite-file [control]="fileField"></lite-file>
|
|
278
285
|
</form>
|
|
279
286
|
|
|
280
|
-
<!-- Data Table with Sorting and
|
|
287
|
+
<!-- Data Table with Sorting, Selection, and Row Click -->
|
|
281
288
|
<lite-table
|
|
282
289
|
[table]="employeeTable"
|
|
283
290
|
(sortChange)="onTableSort($event)"
|
|
284
|
-
(selectionChange)="onSelectionChange($event)"
|
|
291
|
+
(selectionChange)="onSelectionChange($event)"
|
|
292
|
+
(rowClick)="onRowClick($event)">
|
|
285
293
|
</lite-table>
|
|
286
294
|
|
|
287
295
|
<!-- Paginated Table with Sorting -->
|
|
@@ -359,6 +367,7 @@ For detailed API documentation, examples, and usage guides for each component, p
|
|
|
359
367
|
- [LitePaginator Documentation](docs/lite-paginator.md)
|
|
360
368
|
- [LitePanel Documentation](docs/lite-panel.md)
|
|
361
369
|
- [LiteLoading Documentation](docs/lite-loading.md)
|
|
370
|
+
- [LiteTabGroup Documentation](docs/lite-tab-group.md)
|
|
362
371
|
- [LiteSnackbar Documentation](docs/lite-snackbar.md)
|
|
363
372
|
|
|
364
373
|
---
|
|
@@ -541,4 +550,4 @@ This project is licensed under the MIT License - see the [LICENSE](https://githu
|
|
|
541
550
|
|
|
542
551
|
---
|
|
543
552
|
## Changelog
|
|
544
|
-
- See [docs/CHANGELOG.md](https://github.com/liangk/lite-form/blob/main/docs/CHANGELOG.md) for the full historical record, including the latest `v1.4.
|
|
553
|
+
- See [docs/CHANGELOG.md](https://github.com/liangk/lite-form/blob/main/docs/CHANGELOG.md) for the full historical record, including the latest `v1.4.5` release with LiteTabGroup and tab sliding/size fixes.
|