@devjuliovilla/jv-ui 1.5.2 → 1.5.4
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 +36 -2
- package/fesm2022/devjuliovilla-jv-ui.mjs +19006 -516
- package/fesm2022/devjuliovilla-jv-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/devjuliovilla-jv-ui.d.ts +145 -7
package/README.md
CHANGED
|
@@ -36,13 +36,14 @@ export class App {}
|
|
|
36
36
|
|---|---|
|
|
37
37
|
| Buttons | `JvButton`, `JvButtonGroup`, `JvIconButton` |
|
|
38
38
|
| Forms | `JvInput`, `JvSelect`, `JvCheckbox`, `JvRadio`, `JvSwitch`, `JvFormContainer` |
|
|
39
|
-
| Data Grid | `JvGrid` — sortable, searchable, paged, selectable, row actions, density modes |
|
|
39
|
+
| Data Grid | `JvGrid` — sortable, searchable, paged, selectable, row actions, density modes, sticky columns, column resize/reorder, grouped headers, per-column filters, inline editing, virtual scrolling, CSV/Excel export, server-side mode |
|
|
40
40
|
| Containers | `JvCard`, `JvSection`, `JvDivider` |
|
|
41
41
|
| Feedback | `JvAlert`, `JvBadge`, `JvLoader`, `JvToast` |
|
|
42
42
|
| Dialogs | `JvDialog`, `JvConfirmDialog` |
|
|
43
43
|
| Layout | `JvDashboardShell`, `JvSidebar`, `JvTopbar`, `JvBreadcrumb`, `JvPage` |
|
|
44
44
|
| Auth Pages | `JvLoginPage`, `JvForgotPasswordPage`, `JvChangePasswordPage` |
|
|
45
|
-
| Icon | `JvIcon` — Lucide-based icon component |
|
|
45
|
+
| Icon | `JvIcon` — Lucide-based icon component with 1500+ icons auto-generated from lucide-static |
|
|
46
|
+
| Pagination | `JvPagination` — standalone pagination with page size selector, max visible pages, i18n, and full event handling |
|
|
46
47
|
|
|
47
48
|
## Services
|
|
48
49
|
|
|
@@ -55,11 +56,44 @@ export class App {}
|
|
|
55
56
|
| `JvDialogService` | Programmatic confirm dialogs |
|
|
56
57
|
| `JvAnnouncementService` | Screen-reader live-region announcements |
|
|
57
58
|
|
|
59
|
+
## Grid Features
|
|
60
|
+
|
|
61
|
+
`JvGrid` includes the following capabilities:
|
|
62
|
+
|
|
63
|
+
| Feature | Description |
|
|
64
|
+
|---|---|
|
|
65
|
+
| Sorting | Client-side multi-column sorting with sort icons |
|
|
66
|
+
| Search | Global text search across all visible columns |
|
|
67
|
+
| Pagination | Built-in pagination with configurable page sizes |
|
|
68
|
+
| Selection | Checkbox row selection with `selectedIds` input / `selectionChange` output |
|
|
69
|
+
| Row actions | Custom action buttons per row via `rowActions` template |
|
|
70
|
+
| Density modes | Compact / comfortable / spacious |
|
|
71
|
+
| Sticky columns | Pin columns to left or right via `sticky` column option |
|
|
72
|
+
| Column resizing | Drag column header borders to resize (`resizableColumns` option) |
|
|
73
|
+
| Column reordering | Drag and drop column headers to reorder (`reorderableColumns` option) |
|
|
74
|
+
| Grouped headers | Multi-row header with `colspan` via `children` on column definitions |
|
|
75
|
+
| Per-column filters | Filter input row below headers with operator selection (`filterable` option) |
|
|
76
|
+
| Inline editing | Edit cells inline with text/number/select/boolean editors (`editable` option) |
|
|
77
|
+
| Virtual scrolling | Render only visible rows for large datasets (`virtualScroll` option) |
|
|
78
|
+
| CSV/Excel export | Export toolbar buttons (`exportable` option), no external dependencies |
|
|
79
|
+
| Server-side mode | Disable client-side sorting/filtering/paging, emit events for server handling |
|
|
80
|
+
| TrackBy | Custom trackBy function or property key for optimized rendering |
|
|
81
|
+
|
|
58
82
|
## Requirements
|
|
59
83
|
|
|
60
84
|
- Angular 21.2+
|
|
61
85
|
- TypeScript 5.9+
|
|
62
86
|
|
|
87
|
+
## Icon generation
|
|
88
|
+
|
|
89
|
+
Icons are auto-generated from [lucide-static](https://www.npmjs.com/package/lucide-static) via:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
node tools/generate-icons.mjs
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The script reads all ~1500 SVG files from `lucide-static/icons` and produces `jv-icon-registry.ts` with the complete set. Run it after updating lucide-static to keep icons in sync.
|
|
96
|
+
|
|
63
97
|
## License
|
|
64
98
|
|
|
65
99
|
MIT
|