@cundi/refine-xaf 1.0.3 → 1.0.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/dist/index.d.mts +194 -1
- package/dist/index.d.ts +194 -1
- package/dist/index.js +266 -30
- package/dist/index.mjs +266 -31
- package/package.json +4 -2
package/dist/index.d.mts
CHANGED
|
@@ -194,6 +194,199 @@ declare const keycloakService: {
|
|
|
194
194
|
logout: (idToken?: string) => void;
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
+
declare const refineXafTranslations: {
|
|
198
|
+
en: {
|
|
199
|
+
pages: {
|
|
200
|
+
login: {
|
|
201
|
+
title: string;
|
|
202
|
+
buttons: {
|
|
203
|
+
submit: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
buttons: {
|
|
208
|
+
create: string;
|
|
209
|
+
edit: string;
|
|
210
|
+
delete: string;
|
|
211
|
+
save: string;
|
|
212
|
+
cancel: string;
|
|
213
|
+
refresh: string;
|
|
214
|
+
list: string;
|
|
215
|
+
logout: string;
|
|
216
|
+
};
|
|
217
|
+
actions: {
|
|
218
|
+
create: string;
|
|
219
|
+
edit: string;
|
|
220
|
+
show: string;
|
|
221
|
+
list: string;
|
|
222
|
+
delete: string;
|
|
223
|
+
};
|
|
224
|
+
components: {
|
|
225
|
+
header: {
|
|
226
|
+
theme: {
|
|
227
|
+
light: string;
|
|
228
|
+
dark: string;
|
|
229
|
+
};
|
|
230
|
+
language: {
|
|
231
|
+
en: string;
|
|
232
|
+
"zh-TW": string;
|
|
233
|
+
};
|
|
234
|
+
menu: {
|
|
235
|
+
changePhoto: string;
|
|
236
|
+
manageAccount: string;
|
|
237
|
+
changePassword: string;
|
|
238
|
+
logout: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
base64Upload: {
|
|
242
|
+
upload: string;
|
|
243
|
+
};
|
|
244
|
+
relatedList: {
|
|
245
|
+
addDetail: string;
|
|
246
|
+
actions: string;
|
|
247
|
+
manageDetail: string;
|
|
248
|
+
deleteConfirm: string;
|
|
249
|
+
};
|
|
250
|
+
smartList: {
|
|
251
|
+
search: string;
|
|
252
|
+
refresh: string;
|
|
253
|
+
columns: string;
|
|
254
|
+
selectColumns: string;
|
|
255
|
+
reset: string;
|
|
256
|
+
};
|
|
257
|
+
tiptapEditor: {
|
|
258
|
+
placeholder: string;
|
|
259
|
+
textColor: string;
|
|
260
|
+
highlight: string;
|
|
261
|
+
insertTable: string;
|
|
262
|
+
deleteTable: string;
|
|
263
|
+
emoji: string;
|
|
264
|
+
addRowBefore: string;
|
|
265
|
+
addRowAfter: string;
|
|
266
|
+
deleteRow: string;
|
|
267
|
+
addColumnBefore: string;
|
|
268
|
+
addColumnAfter: string;
|
|
269
|
+
deleteColumn: string;
|
|
270
|
+
math: string;
|
|
271
|
+
youtube: string;
|
|
272
|
+
enterYoutubeUrl: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
common: {
|
|
276
|
+
actions: {
|
|
277
|
+
create: string;
|
|
278
|
+
edit: string;
|
|
279
|
+
delete: string;
|
|
280
|
+
save: string;
|
|
281
|
+
cancel: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
sider: {
|
|
285
|
+
dashboard: string;
|
|
286
|
+
dataTypeExamples: string;
|
|
287
|
+
tiptapExamples: string;
|
|
288
|
+
users: string;
|
|
289
|
+
roles: string;
|
|
290
|
+
settings: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
"zh-TW": {
|
|
294
|
+
pages: {
|
|
295
|
+
login: {
|
|
296
|
+
title: string;
|
|
297
|
+
buttons: {
|
|
298
|
+
submit: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
buttons: {
|
|
303
|
+
create: string;
|
|
304
|
+
edit: string;
|
|
305
|
+
delete: string;
|
|
306
|
+
save: string;
|
|
307
|
+
cancel: string;
|
|
308
|
+
refresh: string;
|
|
309
|
+
list: string;
|
|
310
|
+
logout: string;
|
|
311
|
+
};
|
|
312
|
+
actions: {
|
|
313
|
+
create: string;
|
|
314
|
+
edit: string;
|
|
315
|
+
show: string;
|
|
316
|
+
list: string;
|
|
317
|
+
delete: string;
|
|
318
|
+
};
|
|
319
|
+
components: {
|
|
320
|
+
header: {
|
|
321
|
+
theme: {
|
|
322
|
+
light: string;
|
|
323
|
+
dark: string;
|
|
324
|
+
};
|
|
325
|
+
language: {
|
|
326
|
+
en: string;
|
|
327
|
+
"zh-TW": string;
|
|
328
|
+
};
|
|
329
|
+
menu: {
|
|
330
|
+
changePhoto: string;
|
|
331
|
+
manageAccount: string;
|
|
332
|
+
changePassword: string;
|
|
333
|
+
logout: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
base64Upload: {
|
|
337
|
+
upload: string;
|
|
338
|
+
};
|
|
339
|
+
relatedList: {
|
|
340
|
+
addDetail: string;
|
|
341
|
+
actions: string;
|
|
342
|
+
manageDetail: string;
|
|
343
|
+
deleteConfirm: string;
|
|
344
|
+
};
|
|
345
|
+
smartList: {
|
|
346
|
+
search: string;
|
|
347
|
+
refresh: string;
|
|
348
|
+
columns: string;
|
|
349
|
+
selectColumns: string;
|
|
350
|
+
reset: string;
|
|
351
|
+
};
|
|
352
|
+
tiptapEditor: {
|
|
353
|
+
placeholder: string;
|
|
354
|
+
textColor: string;
|
|
355
|
+
highlight: string;
|
|
356
|
+
insertTable: string;
|
|
357
|
+
deleteTable: string;
|
|
358
|
+
emoji: string;
|
|
359
|
+
addRowBefore: string;
|
|
360
|
+
addRowAfter: string;
|
|
361
|
+
deleteRow: string;
|
|
362
|
+
addColumnBefore: string;
|
|
363
|
+
addColumnAfter: string;
|
|
364
|
+
deleteColumn: string;
|
|
365
|
+
math: string;
|
|
366
|
+
youtube: string;
|
|
367
|
+
enterYoutubeUrl: string;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
common: {
|
|
371
|
+
actions: {
|
|
372
|
+
create: string;
|
|
373
|
+
edit: string;
|
|
374
|
+
delete: string;
|
|
375
|
+
save: string;
|
|
376
|
+
cancel: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
sider: {
|
|
380
|
+
dashboard: string;
|
|
381
|
+
dataTypeExamples: string;
|
|
382
|
+
tiptapExamples: string;
|
|
383
|
+
users: string;
|
|
384
|
+
roles: string;
|
|
385
|
+
settings: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
|
|
197
390
|
declare const Header: React.FC;
|
|
198
391
|
|
|
199
392
|
interface SmartListProps {
|
|
@@ -275,4 +468,4 @@ interface IModelType {
|
|
|
275
468
|
}
|
|
276
469
|
declare const useModelTypes: () => _tanstack_react_query.UseQueryResult<IModelType[], Error>;
|
|
277
470
|
|
|
278
|
-
export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, Base64Upload, ColorModeContext, ColorModeContextProvider, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, useColorMode, useModelTypes, validatePasswordStrength };
|
|
471
|
+
export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, Base64Upload, ColorModeContext, ColorModeContextProvider, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
|
package/dist/index.d.ts
CHANGED
|
@@ -194,6 +194,199 @@ declare const keycloakService: {
|
|
|
194
194
|
logout: (idToken?: string) => void;
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
+
declare const refineXafTranslations: {
|
|
198
|
+
en: {
|
|
199
|
+
pages: {
|
|
200
|
+
login: {
|
|
201
|
+
title: string;
|
|
202
|
+
buttons: {
|
|
203
|
+
submit: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
buttons: {
|
|
208
|
+
create: string;
|
|
209
|
+
edit: string;
|
|
210
|
+
delete: string;
|
|
211
|
+
save: string;
|
|
212
|
+
cancel: string;
|
|
213
|
+
refresh: string;
|
|
214
|
+
list: string;
|
|
215
|
+
logout: string;
|
|
216
|
+
};
|
|
217
|
+
actions: {
|
|
218
|
+
create: string;
|
|
219
|
+
edit: string;
|
|
220
|
+
show: string;
|
|
221
|
+
list: string;
|
|
222
|
+
delete: string;
|
|
223
|
+
};
|
|
224
|
+
components: {
|
|
225
|
+
header: {
|
|
226
|
+
theme: {
|
|
227
|
+
light: string;
|
|
228
|
+
dark: string;
|
|
229
|
+
};
|
|
230
|
+
language: {
|
|
231
|
+
en: string;
|
|
232
|
+
"zh-TW": string;
|
|
233
|
+
};
|
|
234
|
+
menu: {
|
|
235
|
+
changePhoto: string;
|
|
236
|
+
manageAccount: string;
|
|
237
|
+
changePassword: string;
|
|
238
|
+
logout: string;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
base64Upload: {
|
|
242
|
+
upload: string;
|
|
243
|
+
};
|
|
244
|
+
relatedList: {
|
|
245
|
+
addDetail: string;
|
|
246
|
+
actions: string;
|
|
247
|
+
manageDetail: string;
|
|
248
|
+
deleteConfirm: string;
|
|
249
|
+
};
|
|
250
|
+
smartList: {
|
|
251
|
+
search: string;
|
|
252
|
+
refresh: string;
|
|
253
|
+
columns: string;
|
|
254
|
+
selectColumns: string;
|
|
255
|
+
reset: string;
|
|
256
|
+
};
|
|
257
|
+
tiptapEditor: {
|
|
258
|
+
placeholder: string;
|
|
259
|
+
textColor: string;
|
|
260
|
+
highlight: string;
|
|
261
|
+
insertTable: string;
|
|
262
|
+
deleteTable: string;
|
|
263
|
+
emoji: string;
|
|
264
|
+
addRowBefore: string;
|
|
265
|
+
addRowAfter: string;
|
|
266
|
+
deleteRow: string;
|
|
267
|
+
addColumnBefore: string;
|
|
268
|
+
addColumnAfter: string;
|
|
269
|
+
deleteColumn: string;
|
|
270
|
+
math: string;
|
|
271
|
+
youtube: string;
|
|
272
|
+
enterYoutubeUrl: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
common: {
|
|
276
|
+
actions: {
|
|
277
|
+
create: string;
|
|
278
|
+
edit: string;
|
|
279
|
+
delete: string;
|
|
280
|
+
save: string;
|
|
281
|
+
cancel: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
sider: {
|
|
285
|
+
dashboard: string;
|
|
286
|
+
dataTypeExamples: string;
|
|
287
|
+
tiptapExamples: string;
|
|
288
|
+
users: string;
|
|
289
|
+
roles: string;
|
|
290
|
+
settings: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
"zh-TW": {
|
|
294
|
+
pages: {
|
|
295
|
+
login: {
|
|
296
|
+
title: string;
|
|
297
|
+
buttons: {
|
|
298
|
+
submit: string;
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
buttons: {
|
|
303
|
+
create: string;
|
|
304
|
+
edit: string;
|
|
305
|
+
delete: string;
|
|
306
|
+
save: string;
|
|
307
|
+
cancel: string;
|
|
308
|
+
refresh: string;
|
|
309
|
+
list: string;
|
|
310
|
+
logout: string;
|
|
311
|
+
};
|
|
312
|
+
actions: {
|
|
313
|
+
create: string;
|
|
314
|
+
edit: string;
|
|
315
|
+
show: string;
|
|
316
|
+
list: string;
|
|
317
|
+
delete: string;
|
|
318
|
+
};
|
|
319
|
+
components: {
|
|
320
|
+
header: {
|
|
321
|
+
theme: {
|
|
322
|
+
light: string;
|
|
323
|
+
dark: string;
|
|
324
|
+
};
|
|
325
|
+
language: {
|
|
326
|
+
en: string;
|
|
327
|
+
"zh-TW": string;
|
|
328
|
+
};
|
|
329
|
+
menu: {
|
|
330
|
+
changePhoto: string;
|
|
331
|
+
manageAccount: string;
|
|
332
|
+
changePassword: string;
|
|
333
|
+
logout: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
base64Upload: {
|
|
337
|
+
upload: string;
|
|
338
|
+
};
|
|
339
|
+
relatedList: {
|
|
340
|
+
addDetail: string;
|
|
341
|
+
actions: string;
|
|
342
|
+
manageDetail: string;
|
|
343
|
+
deleteConfirm: string;
|
|
344
|
+
};
|
|
345
|
+
smartList: {
|
|
346
|
+
search: string;
|
|
347
|
+
refresh: string;
|
|
348
|
+
columns: string;
|
|
349
|
+
selectColumns: string;
|
|
350
|
+
reset: string;
|
|
351
|
+
};
|
|
352
|
+
tiptapEditor: {
|
|
353
|
+
placeholder: string;
|
|
354
|
+
textColor: string;
|
|
355
|
+
highlight: string;
|
|
356
|
+
insertTable: string;
|
|
357
|
+
deleteTable: string;
|
|
358
|
+
emoji: string;
|
|
359
|
+
addRowBefore: string;
|
|
360
|
+
addRowAfter: string;
|
|
361
|
+
deleteRow: string;
|
|
362
|
+
addColumnBefore: string;
|
|
363
|
+
addColumnAfter: string;
|
|
364
|
+
deleteColumn: string;
|
|
365
|
+
math: string;
|
|
366
|
+
youtube: string;
|
|
367
|
+
enterYoutubeUrl: string;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
common: {
|
|
371
|
+
actions: {
|
|
372
|
+
create: string;
|
|
373
|
+
edit: string;
|
|
374
|
+
delete: string;
|
|
375
|
+
save: string;
|
|
376
|
+
cancel: string;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
sider: {
|
|
380
|
+
dashboard: string;
|
|
381
|
+
dataTypeExamples: string;
|
|
382
|
+
tiptapExamples: string;
|
|
383
|
+
users: string;
|
|
384
|
+
roles: string;
|
|
385
|
+
settings: string;
|
|
386
|
+
};
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
|
|
197
390
|
declare const Header: React.FC;
|
|
198
391
|
|
|
199
392
|
interface SmartListProps {
|
|
@@ -275,4 +468,4 @@ interface IModelType {
|
|
|
275
468
|
}
|
|
276
469
|
declare const useModelTypes: () => _tanstack_react_query.UseQueryResult<IModelType[], Error>;
|
|
277
470
|
|
|
278
|
-
export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, Base64Upload, ColorModeContext, ColorModeContextProvider, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, useColorMode, useModelTypes, validatePasswordStrength };
|
|
471
|
+
export { ApplicationUserCreate, ApplicationUserEdit, ApplicationUserList, AuthCallback, Base64Upload, ColorModeContext, ColorModeContextProvider, Header, HttpError, type IApplicationUser, type IJwtClaims, type IModelType, type IPermissionPolicyRole, type IPermissionPolicyTypePermissionObject, type IXafEntity, KeycloakLoginPage, type KeycloakTokenResponse, LoginPage, RelatedList, type RequestOptions, RoleCreate, RoleEdit, RoleList, SecurityPermissionPolicy, SecurityPermissionState, SmartList, TOKEN_KEY, TiptapEditor, type TiptapEditorProps, authProvider, authService, dataProvider, generatePassword, getBaseUrl, httpClient, keycloakService, parseJwt, refineXafTranslations, useColorMode, useModelTypes, validatePasswordStrength };
|