@telamonjs/ui 1.3.1 → 1.4.0
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/CHANGELOG.md +94 -0
- package/README.md +7 -8
- package/dist/components/data/DataTableActions.js +4 -3
- package/dist/data/ExportMenu.js +6 -3
- package/dist/data/InfiniteList.js +6 -2
- package/dist/data/datatable/sort-field.d.ts +14 -0
- package/dist/data/datatable/sort-field.js +24 -0
- package/dist/data/datatable/useDataTableInstance.js +3 -2
- package/dist/data/exportUtils.d.ts +14 -9
- package/dist/data/exportUtils.js +56 -56
- package/dist/data/missing-peer.d.ts +17 -0
- package/dist/data/missing-peer.js +22 -0
- package/dist/data/xlsx-writer.d.ts +24 -0
- package/dist/data/xlsx-writer.js +141 -0
- package/dist/exports/types-constants.d.ts +1 -1
- package/dist/exports/types-constants.js +1 -1
- package/dist/i18n/messages/en/data.d.ts +1 -0
- package/dist/i18n/messages/en/data.js +1 -0
- package/dist/i18n/messages/en/index.d.ts +3 -0
- package/dist/i18n/messages/en/queue.d.ts +2 -0
- package/dist/i18n/messages/en/queue.js +3 -1
- package/dist/i18n/messages/es/data.d.ts +1 -0
- package/dist/i18n/messages/es/data.js +1 -0
- package/dist/i18n/messages/es/index.d.ts +3 -0
- package/dist/i18n/messages/es/queue.d.ts +2 -0
- package/dist/i18n/messages/es/queue.js +3 -1
- package/dist/i18n/messages/pt-BR/data.d.ts +1 -0
- package/dist/i18n/messages/pt-BR/data.js +1 -0
- package/dist/i18n/messages/pt-BR/index.d.ts +3 -0
- package/dist/i18n/messages/pt-BR/queue.d.ts +2 -0
- package/dist/i18n/messages/pt-BR/queue.js +3 -1
- package/dist/i18n/use-t.d.ts +3 -0
- package/dist/pages/ListPage.js +6 -1
- package/dist/queue/components/DispatchJobModal.js +157 -115
- package/dist/queue/components/JobEventTimeline.js +321 -210
- package/dist/queue/hooks/use-queue-events-timeline.d.ts +7 -1
- package/dist/queue/hooks/use-queue-events-timeline.js +14 -43
- package/dist/queue/hooks/use-queue-sse.js +3 -1
- package/dist/queue/types.d.ts +2 -0
- package/dist/server/pagination/factory.js +5 -1
- package/dist/server/pagination/types.d.ts +6 -2
- package/dist/server/pagination/utils.d.ts +6 -3
- package/dist/server/pagination/utils.js +13 -7
- package/dist/server/prisma-helpers.d.ts +27 -19
- package/dist/server/prisma-helpers.js +37 -19
- package/dist/stores/datatable-store.d.ts +0 -4
- package/dist/stores/datatable-store.js +0 -5
- package/dist/stores/form-store.d.ts +5 -0
- package/dist/stores/form-store.js +8 -4
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +1 -3
- package/dist/stores/sidebar-store.d.ts +1 -1
- package/dist/types/actions.d.ts +4 -1
- package/dist/types/crud.d.ts +14 -1
- package/dist/types/system-config.d.ts +5 -0
- package/dist/ui/chart.d.ts +22 -27
- package/dist/ui/chart.js +2 -8
- package/dist/ui/form.d.ts +1 -1
- package/package.json +67 -64
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telamonjs/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Admin framework for Next.js + React: declarative CRUD (CrudConfig + TanStack Query), 36-type field system, rich dialogs, app shell, dashboards and charts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -75,66 +75,66 @@
|
|
|
75
75
|
"@dnd-kit/sortable": "^10.0.0",
|
|
76
76
|
"@dnd-kit/utilities": "^3.2.2",
|
|
77
77
|
"@hookform/resolvers": "^5.2.2",
|
|
78
|
-
"@radix-ui/react-accordion": "^1.
|
|
79
|
-
"@radix-ui/react-alert-dialog": "^1.1
|
|
80
|
-
"@radix-ui/react-aspect-ratio": "^1.
|
|
81
|
-
"@radix-ui/react-avatar": "^1.1
|
|
82
|
-
"@radix-ui/react-checkbox": "^1.
|
|
83
|
-
"@radix-ui/react-collapsible": "^1.1
|
|
84
|
-
"@radix-ui/react-dialog": "^1.1
|
|
85
|
-
"@radix-ui/react-dropdown-menu": "^2.1
|
|
86
|
-
"@radix-ui/react-hover-card": "^1.1
|
|
87
|
-
"@radix-ui/react-label": "^2.1.
|
|
88
|
-
"@radix-ui/react-popover": "^1.1
|
|
89
|
-
"@radix-ui/react-progress": "^1.1
|
|
90
|
-
"@radix-ui/react-radio-group": "^1.
|
|
91
|
-
"@radix-ui/react-scroll-area": "^1.
|
|
92
|
-
"@radix-ui/react-select": "^2.
|
|
93
|
-
"@radix-ui/react-separator": "^1.
|
|
94
|
-
"@radix-ui/react-slider": "^1.
|
|
95
|
-
"@radix-ui/react-slot": "^1.
|
|
96
|
-
"@radix-ui/react-switch": "^1.
|
|
97
|
-
"@radix-ui/react-tabs": "^1.1
|
|
98
|
-
"@radix-ui/react-toast": "^1.
|
|
99
|
-
"@radix-ui/react-toggle": "^1.1
|
|
100
|
-
"@radix-ui/react-toggle-group": "^1.1
|
|
101
|
-
"@radix-ui/react-tooltip": "^1.
|
|
78
|
+
"@radix-ui/react-accordion": "^1.3.1",
|
|
79
|
+
"@radix-ui/react-alert-dialog": "^1.2.1",
|
|
80
|
+
"@radix-ui/react-aspect-ratio": "^1.2.0",
|
|
81
|
+
"@radix-ui/react-avatar": "^1.3.1",
|
|
82
|
+
"@radix-ui/react-checkbox": "^1.4.1",
|
|
83
|
+
"@radix-ui/react-collapsible": "^1.2.1",
|
|
84
|
+
"@radix-ui/react-dialog": "^1.3.1",
|
|
85
|
+
"@radix-ui/react-dropdown-menu": "^2.2.1",
|
|
86
|
+
"@radix-ui/react-hover-card": "^1.2.1",
|
|
87
|
+
"@radix-ui/react-label": "^2.1.17",
|
|
88
|
+
"@radix-ui/react-popover": "^1.3.1",
|
|
89
|
+
"@radix-ui/react-progress": "^1.2.1",
|
|
90
|
+
"@radix-ui/react-radio-group": "^1.5.1",
|
|
91
|
+
"@radix-ui/react-scroll-area": "^1.4.0",
|
|
92
|
+
"@radix-ui/react-select": "^2.4.1",
|
|
93
|
+
"@radix-ui/react-separator": "^1.2.0",
|
|
94
|
+
"@radix-ui/react-slider": "^1.6.1",
|
|
95
|
+
"@radix-ui/react-slot": "^1.5.0",
|
|
96
|
+
"@radix-ui/react-switch": "^1.4.1",
|
|
97
|
+
"@radix-ui/react-tabs": "^1.2.1",
|
|
98
|
+
"@radix-ui/react-toast": "^1.3.1",
|
|
99
|
+
"@radix-ui/react-toggle": "^1.2.1",
|
|
100
|
+
"@radix-ui/react-toggle-group": "^1.2.1",
|
|
101
|
+
"@radix-ui/react-tooltip": "^1.4.1",
|
|
102
102
|
"@react-input/mask": "^2.0.4",
|
|
103
103
|
"@tanstack/react-table": "^8.21.3",
|
|
104
|
-
"@tanstack/react-virtual": "^3.
|
|
105
|
-
"@tiptap/core": "^3.
|
|
106
|
-
"@tiptap/extension-image": "^3.
|
|
107
|
-
"@tiptap/extension-link": "^3.
|
|
108
|
-
"@tiptap/extension-placeholder": "^3.
|
|
109
|
-
"@tiptap/extension-table": "^3.
|
|
110
|
-
"@tiptap/extension-table-cell": "^3.
|
|
111
|
-
"@tiptap/extension-table-header": "^3.
|
|
112
|
-
"@tiptap/extension-table-row": "^3.
|
|
113
|
-
"@tiptap/pm": "^3.
|
|
114
|
-
"@tiptap/react": "^3.
|
|
115
|
-
"@tiptap/starter-kit": "^3.
|
|
116
|
-
"@uiw/react-textarea-code-editor": "^3.1.
|
|
117
|
-
"@vis.gl/react-google-maps": "^1.
|
|
104
|
+
"@tanstack/react-virtual": "^3.14.26",
|
|
105
|
+
"@tiptap/core": "^3.35.0",
|
|
106
|
+
"@tiptap/extension-image": "^3.35.0",
|
|
107
|
+
"@tiptap/extension-link": "^3.35.0",
|
|
108
|
+
"@tiptap/extension-placeholder": "^3.35.0",
|
|
109
|
+
"@tiptap/extension-table": "^3.35.0",
|
|
110
|
+
"@tiptap/extension-table-cell": "^3.35.0",
|
|
111
|
+
"@tiptap/extension-table-header": "^3.35.0",
|
|
112
|
+
"@tiptap/extension-table-row": "^3.35.0",
|
|
113
|
+
"@tiptap/pm": "^3.35.0",
|
|
114
|
+
"@tiptap/react": "^3.35.0",
|
|
115
|
+
"@tiptap/starter-kit": "^3.35.0",
|
|
116
|
+
"@uiw/react-textarea-code-editor": "^3.1.3",
|
|
117
|
+
"@vis.gl/react-google-maps": "^1.10.2",
|
|
118
118
|
"class-variance-authority": "^0.7.1",
|
|
119
119
|
"clsx": "^2.1.1",
|
|
120
120
|
"cmdk": "^1.1.1",
|
|
121
|
-
"date-fns": "^4.
|
|
122
|
-
"dompurify": "^3.4.
|
|
121
|
+
"date-fns": "^4.4.0",
|
|
122
|
+
"dompurify": "^3.4.18",
|
|
123
123
|
"embla-carousel-react": "^8.6.0",
|
|
124
124
|
"input-otp": "^1.4.2",
|
|
125
125
|
"lucide-react": "^0.545.0",
|
|
126
126
|
"next-themes": "^0.4.6",
|
|
127
|
-
"react-aria": "^3.
|
|
127
|
+
"react-aria": "^3.53.1",
|
|
128
128
|
"react-day-picker": "^9.11.1",
|
|
129
|
-
"react-grid-layout": "^2.
|
|
130
|
-
"react-is": "^19.
|
|
129
|
+
"react-grid-layout": "^2.3.0",
|
|
130
|
+
"react-is": "^19.3.1",
|
|
131
131
|
"react-resizable-panels": "^3.0.6",
|
|
132
|
-
"react-stately": "^3.
|
|
133
|
-
"recharts": "~3.
|
|
132
|
+
"react-stately": "^3.51.0",
|
|
133
|
+
"recharts": "~3.11.0",
|
|
134
134
|
"tailwind-merge": "^3.3.1",
|
|
135
135
|
"tailwindcss-animate": "^1.0.7",
|
|
136
|
-
"zustand": "^5.0
|
|
137
|
-
"@telamonjs/logger": "^1.0
|
|
136
|
+
"zustand": "^5.1.0",
|
|
137
|
+
"@telamonjs/logger": "^1.1.0"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
140
|
"@prisma/client": "^5.0.0 || ^6.0.0",
|
|
@@ -143,12 +143,10 @@
|
|
|
143
143
|
"jspdf-autotable": "^5.0.7",
|
|
144
144
|
"next": "^15.5.29 || ^16.4.6",
|
|
145
145
|
"next-auth": "^5.0.0-beta.20",
|
|
146
|
-
"papaparse": "^5.5.0",
|
|
147
146
|
"react": "^18.0.0 || ^19.0.0",
|
|
148
147
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
149
148
|
"react-hook-form": "^7.0.0",
|
|
150
149
|
"sonner": "^1.7.1 || ^2.0.7",
|
|
151
|
-
"xlsx": "^0.18.0",
|
|
152
150
|
"zod": "^3.0.0",
|
|
153
151
|
"next-intl": "^4.14.0",
|
|
154
152
|
"@tanstack/react-query": "^5.90.2"
|
|
@@ -156,6 +154,12 @@
|
|
|
156
154
|
"peerDependenciesMeta": {
|
|
157
155
|
"@prisma/client": {
|
|
158
156
|
"optional": true
|
|
157
|
+
},
|
|
158
|
+
"jspdf": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"jspdf-autotable": {
|
|
162
|
+
"optional": true
|
|
159
163
|
}
|
|
160
164
|
},
|
|
161
165
|
"devDependencies": {
|
|
@@ -167,29 +171,28 @@
|
|
|
167
171
|
"@storybook/react": "^8.6.14",
|
|
168
172
|
"@storybook/react-vite": "^8.6.14",
|
|
169
173
|
"@storybook/test": "^8.6.14",
|
|
170
|
-
"@tanstack/react-query": "^5.
|
|
171
|
-
"@testing-library/dom": "^10.4.
|
|
174
|
+
"@tanstack/react-query": "^5.108.2",
|
|
175
|
+
"@testing-library/dom": "^10.4.2",
|
|
172
176
|
"@testing-library/jest-dom": "^6.9.1",
|
|
173
177
|
"@testing-library/react": "^16.3.0",
|
|
174
|
-
"@testing-library/user-event": "^14.6.
|
|
178
|
+
"@testing-library/user-event": "^14.6.13",
|
|
175
179
|
"@types/node": "^20.19.21",
|
|
176
|
-
"@types/
|
|
177
|
-
"@types/react": "^19.
|
|
178
|
-
"@types/react-
|
|
179
|
-
"@types/react-grid-layout": "^1.3.5",
|
|
180
|
+
"@types/react": "^19.3.0",
|
|
181
|
+
"@types/react-dom": "^19.3.0",
|
|
182
|
+
"@types/react-grid-layout": "^2.1.0",
|
|
180
183
|
"@vitejs/plugin-react": "^5.0.4",
|
|
181
184
|
"@vitest/coverage-v8": "^3.2.4",
|
|
182
185
|
"@vitest/ui": "^3.2.4",
|
|
183
|
-
"autoprefixer": "^10.
|
|
186
|
+
"autoprefixer": "^10.7.0",
|
|
184
187
|
"framer-motion": "^12.23.24",
|
|
185
188
|
"jsdom": "^27.0.0",
|
|
186
189
|
"next": "^15.5.29",
|
|
187
|
-
"next-intl": "^4.
|
|
188
|
-
"postcss": "^8.5.
|
|
189
|
-
"prettier": "^3.
|
|
190
|
-
"react": "^19.
|
|
191
|
-
"react-dom": "^19.
|
|
192
|
-
"react-hook-form": "^7.
|
|
190
|
+
"next-intl": "^4.15.3",
|
|
191
|
+
"postcss": "^8.5.33",
|
|
192
|
+
"prettier": "^3.10.1",
|
|
193
|
+
"react": "^19.3.1",
|
|
194
|
+
"react-dom": "^19.3.1",
|
|
195
|
+
"react-hook-form": "^7.92.0",
|
|
193
196
|
"sonner": "^2.0.7",
|
|
194
197
|
"storybook": "8.6.14",
|
|
195
198
|
"tailwindcss": "^3.4.17",
|