@anzusystems/common-admin 0.0.12 → 0.0.13

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.
@@ -1,6 +1,6 @@
1
1
  import type { AllowedComponentProps } from 'vue';
2
2
  import type { App } from 'vue';
3
- import { AxiosInstance } from 'axios';
3
+ import type { AxiosInstance } from 'axios';
4
4
  import type { AxiosRequestConfig } from 'axios';
5
5
  import type { ComponentCustomProps } from 'vue';
6
6
  import type { ComponentOptionsMixin } from 'vue';
@@ -11,14 +11,505 @@ import type { DefineComponent } from 'vue';
11
11
  import type { ExtractPropTypes } from 'vue';
12
12
  import type { I18n } from 'vue-i18n';
13
13
  import type { InjectionKey } from 'vue';
14
- import { LocaleMessages } from 'vue-i18n';
15
14
  import type { Method } from 'axios';
16
15
  import type { PropType } from 'vue';
17
16
  import type { Ref } from 'vue/dist/vue';
18
17
  import type { Ref as Ref_2 } from 'vue';
18
+ import type { RouteLocationRaw } from 'vue-router';
19
+ import type { Router } from 'vue-router';
19
20
  import type { UnwrapRef } from 'vue';
21
+ import { useI18n } from 'vue-i18n';
22
+ import type { ValidationRuleWithoutParams } from '@vuelidate/core';
23
+ import type { ValidationRuleWithParams } from '@vuelidate/core';
20
24
  import type { VNodeProps } from 'vue';
21
25
 
26
+ export declare const AActionCloseButton: DefineComponent<{
27
+ routeName: {
28
+ type: PropType<string>;
29
+ required: true;
30
+ };
31
+ buttonT: {
32
+ type: PropType<string | undefined>;
33
+ required: false;
34
+ default: string;
35
+ };
36
+ buttonClass: {
37
+ type: PropType<string | undefined>;
38
+ required: false;
39
+ default: string;
40
+ };
41
+ dataCy: {
42
+ type: PropType<string | undefined>;
43
+ required: false;
44
+ default: string;
45
+ };
46
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
47
+ routeName: {
48
+ type: PropType<string>;
49
+ required: true;
50
+ };
51
+ buttonT: {
52
+ type: PropType<string | undefined>;
53
+ required: false;
54
+ default: string;
55
+ };
56
+ buttonClass: {
57
+ type: PropType<string | undefined>;
58
+ required: false;
59
+ default: string;
60
+ };
61
+ dataCy: {
62
+ type: PropType<string | undefined>;
63
+ required: false;
64
+ default: string;
65
+ };
66
+ }>>, {
67
+ dataCy: string | undefined;
68
+ buttonT: string | undefined;
69
+ buttonClass: string | undefined;
70
+ }>;
71
+
72
+ export declare const AActionCreateButton: DefineComponent<{
73
+ routeName: {
74
+ type: PropType<string>;
75
+ required: true;
76
+ };
77
+ buttonT: {
78
+ type: PropType<string | undefined>;
79
+ required: false;
80
+ default: string;
81
+ };
82
+ buttonClass: {
83
+ type: PropType<string | undefined>;
84
+ required: false;
85
+ default: string;
86
+ };
87
+ dataCy: {
88
+ type: PropType<string | undefined>;
89
+ required: false;
90
+ default: string;
91
+ };
92
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
93
+ routeName: {
94
+ type: PropType<string>;
95
+ required: true;
96
+ };
97
+ buttonT: {
98
+ type: PropType<string | undefined>;
99
+ required: false;
100
+ default: string;
101
+ };
102
+ buttonClass: {
103
+ type: PropType<string | undefined>;
104
+ required: false;
105
+ default: string;
106
+ };
107
+ dataCy: {
108
+ type: PropType<string | undefined>;
109
+ required: false;
110
+ default: string;
111
+ };
112
+ }>>, {
113
+ dataCy: string | undefined;
114
+ buttonT: string | undefined;
115
+ buttonClass: string | undefined;
116
+ }>;
117
+
118
+ export declare const AActionDeleteButton: DefineComponent<{
119
+ variant: {
120
+ type: PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined>;
121
+ required: false;
122
+ default: string;
123
+ };
124
+ buttonT: {
125
+ type: PropType<string | undefined>;
126
+ required: false;
127
+ default: string;
128
+ };
129
+ buttonClass: {
130
+ type: PropType<string | undefined>;
131
+ required: false;
132
+ default: string;
133
+ };
134
+ dialogMessageT: {
135
+ type: PropType<string | undefined>;
136
+ required: false;
137
+ default: string;
138
+ };
139
+ dialogConfirmButtonT: {
140
+ type: PropType<string | undefined>;
141
+ required: false;
142
+ default: string;
143
+ };
144
+ dialogCancelButtonT: {
145
+ type: PropType<string | undefined>;
146
+ required: false;
147
+ default: string;
148
+ };
149
+ dialogConfirmColor: {
150
+ type: PropType<string | undefined>;
151
+ required: false;
152
+ default: string;
153
+ };
154
+ dialogCancelColor: {
155
+ type: PropType<string | undefined>;
156
+ required: false;
157
+ default: string;
158
+ };
159
+ dialogZIndex: {
160
+ type: PropType<number | undefined>;
161
+ required: false;
162
+ default: number;
163
+ };
164
+ dialogMaxWidth: {
165
+ type: PropType<number | undefined>;
166
+ required: false;
167
+ default: number;
168
+ };
169
+ dataCy: {
170
+ type: PropType<string | undefined>;
171
+ required: false;
172
+ default: string;
173
+ };
174
+ disabled: {
175
+ type: PropType<boolean | undefined>;
176
+ required: false;
177
+ default: boolean;
178
+ };
179
+ disableCloseAfterConfirm: {
180
+ type: PropType<boolean | undefined>;
181
+ required: false;
182
+ default: boolean;
183
+ };
184
+ loading: {
185
+ type: PropType<boolean | undefined>;
186
+ required: false;
187
+ };
188
+ color: {
189
+ type: PropType<string | undefined>;
190
+ required: false;
191
+ default: undefined;
192
+ };
193
+ width: {
194
+ type: PropType<number | undefined>;
195
+ required: false;
196
+ default: undefined;
197
+ };
198
+ height: {
199
+ type: PropType<number | undefined>;
200
+ required: false;
201
+ default: undefined;
202
+ };
203
+ }, {
204
+ closeDialog: () => void;
205
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "deleteRecord"[], "deleteRecord", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
206
+ variant: {
207
+ type: PropType<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined>;
208
+ required: false;
209
+ default: string;
210
+ };
211
+ buttonT: {
212
+ type: PropType<string | undefined>;
213
+ required: false;
214
+ default: string;
215
+ };
216
+ buttonClass: {
217
+ type: PropType<string | undefined>;
218
+ required: false;
219
+ default: string;
220
+ };
221
+ dialogMessageT: {
222
+ type: PropType<string | undefined>;
223
+ required: false;
224
+ default: string;
225
+ };
226
+ dialogConfirmButtonT: {
227
+ type: PropType<string | undefined>;
228
+ required: false;
229
+ default: string;
230
+ };
231
+ dialogCancelButtonT: {
232
+ type: PropType<string | undefined>;
233
+ required: false;
234
+ default: string;
235
+ };
236
+ dialogConfirmColor: {
237
+ type: PropType<string | undefined>;
238
+ required: false;
239
+ default: string;
240
+ };
241
+ dialogCancelColor: {
242
+ type: PropType<string | undefined>;
243
+ required: false;
244
+ default: string;
245
+ };
246
+ dialogZIndex: {
247
+ type: PropType<number | undefined>;
248
+ required: false;
249
+ default: number;
250
+ };
251
+ dialogMaxWidth: {
252
+ type: PropType<number | undefined>;
253
+ required: false;
254
+ default: number;
255
+ };
256
+ dataCy: {
257
+ type: PropType<string | undefined>;
258
+ required: false;
259
+ default: string;
260
+ };
261
+ disabled: {
262
+ type: PropType<boolean | undefined>;
263
+ required: false;
264
+ default: boolean;
265
+ };
266
+ disableCloseAfterConfirm: {
267
+ type: PropType<boolean | undefined>;
268
+ required: false;
269
+ default: boolean;
270
+ };
271
+ loading: {
272
+ type: PropType<boolean | undefined>;
273
+ required: false;
274
+ };
275
+ color: {
276
+ type: PropType<string | undefined>;
277
+ required: false;
278
+ default: undefined;
279
+ };
280
+ width: {
281
+ type: PropType<number | undefined>;
282
+ required: false;
283
+ default: undefined;
284
+ };
285
+ height: {
286
+ type: PropType<number | undefined>;
287
+ required: false;
288
+ default: undefined;
289
+ };
290
+ }>> & {
291
+ onDeleteRecord?: ((...args: any[]) => any) | undefined;
292
+ }, {
293
+ variant: "flat" | "text" | "elevated" | "tonal" | "outlined" | "plain" | undefined;
294
+ dataCy: string | undefined;
295
+ width: number | undefined;
296
+ buttonT: string | undefined;
297
+ buttonClass: string | undefined;
298
+ dialogMessageT: string | undefined;
299
+ dialogConfirmButtonT: string | undefined;
300
+ dialogCancelButtonT: string | undefined;
301
+ dialogConfirmColor: string | undefined;
302
+ dialogCancelColor: string | undefined;
303
+ dialogZIndex: number | undefined;
304
+ dialogMaxWidth: number | undefined;
305
+ disabled: boolean | undefined;
306
+ disableCloseAfterConfirm: boolean | undefined;
307
+ color: string | undefined;
308
+ height: number | undefined;
309
+ }>;
310
+
311
+ export declare const AActionEditButton: DefineComponent<{
312
+ routeName: {
313
+ type: PropType<string>;
314
+ required: true;
315
+ };
316
+ recordId: {
317
+ type: PropType<string | number>;
318
+ required: true;
319
+ };
320
+ buttonT: {
321
+ type: PropType<string | undefined>;
322
+ required: false;
323
+ default: string;
324
+ };
325
+ buttonClass: {
326
+ type: PropType<string | undefined>;
327
+ required: false;
328
+ default: string;
329
+ };
330
+ dataCy: {
331
+ type: PropType<string | undefined>;
332
+ required: false;
333
+ default: string;
334
+ };
335
+ loading: {
336
+ type: PropType<boolean | undefined>;
337
+ required: false;
338
+ default: boolean;
339
+ };
340
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "editRecord"[], "editRecord", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
341
+ routeName: {
342
+ type: PropType<string>;
343
+ required: true;
344
+ };
345
+ recordId: {
346
+ type: PropType<string | number>;
347
+ required: true;
348
+ };
349
+ buttonT: {
350
+ type: PropType<string | undefined>;
351
+ required: false;
352
+ default: string;
353
+ };
354
+ buttonClass: {
355
+ type: PropType<string | undefined>;
356
+ required: false;
357
+ default: string;
358
+ };
359
+ dataCy: {
360
+ type: PropType<string | undefined>;
361
+ required: false;
362
+ default: string;
363
+ };
364
+ loading: {
365
+ type: PropType<boolean | undefined>;
366
+ required: false;
367
+ default: boolean;
368
+ };
369
+ }>> & {
370
+ onEditRecord?: ((...args: any[]) => any) | undefined;
371
+ }, {
372
+ loading: boolean | undefined;
373
+ dataCy: string | undefined;
374
+ buttonT: string | undefined;
375
+ buttonClass: string | undefined;
376
+ }>;
377
+
378
+ export declare const AActionSaveAndCloseButton: DefineComponent<{
379
+ buttonT: {
380
+ type: PropType<string | undefined>;
381
+ required: false;
382
+ default: string;
383
+ };
384
+ buttonClass: {
385
+ type: PropType<string | undefined>;
386
+ required: false;
387
+ default: string;
388
+ };
389
+ dataCy: {
390
+ type: PropType<string | undefined>;
391
+ required: false;
392
+ default: string;
393
+ };
394
+ loading: {
395
+ type: PropType<boolean | undefined>;
396
+ required: false;
397
+ default: undefined;
398
+ };
399
+ disabled: {
400
+ type: PropType<boolean | undefined>;
401
+ required: false;
402
+ default: undefined;
403
+ };
404
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "saveRecordAndClose"[], "saveRecordAndClose", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
405
+ buttonT: {
406
+ type: PropType<string | undefined>;
407
+ required: false;
408
+ default: string;
409
+ };
410
+ buttonClass: {
411
+ type: PropType<string | undefined>;
412
+ required: false;
413
+ default: string;
414
+ };
415
+ dataCy: {
416
+ type: PropType<string | undefined>;
417
+ required: false;
418
+ default: string;
419
+ };
420
+ loading: {
421
+ type: PropType<boolean | undefined>;
422
+ required: false;
423
+ default: undefined;
424
+ };
425
+ disabled: {
426
+ type: PropType<boolean | undefined>;
427
+ required: false;
428
+ default: undefined;
429
+ };
430
+ }>> & {
431
+ onSaveRecordAndClose?: ((...args: any[]) => any) | undefined;
432
+ }, {
433
+ loading: boolean | undefined;
434
+ dataCy: string | undefined;
435
+ buttonT: string | undefined;
436
+ buttonClass: string | undefined;
437
+ disabled: boolean | undefined;
438
+ }>;
439
+
440
+ export declare const AActionSaveButton: DefineComponent<{
441
+ buttonT: {
442
+ type: PropType<string | undefined>;
443
+ required: false;
444
+ default: string;
445
+ };
446
+ buttonClass: {
447
+ type: PropType<string | undefined>;
448
+ required: false;
449
+ default: string;
450
+ };
451
+ icon: {
452
+ type: PropType<boolean | undefined>;
453
+ required: false;
454
+ default: boolean;
455
+ };
456
+ dataCy: {
457
+ type: PropType<string | undefined>;
458
+ required: false;
459
+ default: string;
460
+ };
461
+ loading: {
462
+ type: PropType<boolean | undefined>;
463
+ required: false;
464
+ default: undefined;
465
+ };
466
+ disabled: {
467
+ type: PropType<boolean | undefined>;
468
+ required: false;
469
+ default: undefined;
470
+ };
471
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "saveRecord"[], "saveRecord", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
472
+ buttonT: {
473
+ type: PropType<string | undefined>;
474
+ required: false;
475
+ default: string;
476
+ };
477
+ buttonClass: {
478
+ type: PropType<string | undefined>;
479
+ required: false;
480
+ default: string;
481
+ };
482
+ icon: {
483
+ type: PropType<boolean | undefined>;
484
+ required: false;
485
+ default: boolean;
486
+ };
487
+ dataCy: {
488
+ type: PropType<string | undefined>;
489
+ required: false;
490
+ default: string;
491
+ };
492
+ loading: {
493
+ type: PropType<boolean | undefined>;
494
+ required: false;
495
+ default: undefined;
496
+ };
497
+ disabled: {
498
+ type: PropType<boolean | undefined>;
499
+ required: false;
500
+ default: undefined;
501
+ };
502
+ }>> & {
503
+ onSaveRecord?: ((...args: any[]) => any) | undefined;
504
+ }, {
505
+ loading: boolean | undefined;
506
+ dataCy: string | undefined;
507
+ icon: boolean | undefined;
508
+ buttonT: string | undefined;
509
+ buttonClass: string | undefined;
510
+ disabled: boolean | undefined;
511
+ }>;
512
+
22
513
  export declare const AAlerts: DefineComponent<{
23
514
  max: {
24
515
  type: PropType<number | undefined>;
@@ -195,6 +686,41 @@ declare type AclResolverConfig = {
195
686
 
196
687
  export declare type AclValue = `${string}_${string}_${string}`;
197
688
 
689
+ export declare const ACopyText: DefineComponent<{
690
+ value: {
691
+ type: PropType<string | number>;
692
+ required: true;
693
+ };
694
+ notifyT: {
695
+ type: PropType<string | undefined>;
696
+ required: false;
697
+ default: string;
698
+ };
699
+ dataCy: {
700
+ type: PropType<string | undefined>;
701
+ required: false;
702
+ default: string;
703
+ };
704
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
705
+ value: {
706
+ type: PropType<string | number>;
707
+ required: true;
708
+ };
709
+ notifyT: {
710
+ type: PropType<string | undefined>;
711
+ required: false;
712
+ default: string;
713
+ };
714
+ dataCy: {
715
+ type: PropType<string | undefined>;
716
+ required: false;
717
+ default: string;
718
+ };
719
+ }>>, {
720
+ dataCy: string | undefined;
721
+ notifyT: string | undefined;
722
+ }>;
723
+
198
724
  export declare const ADatatable: DefineComponent<{
199
725
  data: {
200
726
  type: PropType<any>;
@@ -291,6 +817,46 @@ export declare const ADatetime: DefineComponent<{
291
817
  edgeDateValue: string | undefined;
292
818
  }>;
293
819
 
820
+ export declare const AFilterAdvancedButton: DefineComponent<{
821
+ tooltipT: {
822
+ type: PropType<string | undefined>;
823
+ required: false;
824
+ default: string;
825
+ };
826
+ buttonClass: {
827
+ type: PropType<string | undefined>;
828
+ required: false;
829
+ default: string;
830
+ };
831
+ dataCy: {
832
+ type: PropType<string | undefined>;
833
+ required: false;
834
+ default: string;
835
+ };
836
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "advancedFilter"[], "advancedFilter", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
837
+ tooltipT: {
838
+ type: PropType<string | undefined>;
839
+ required: false;
840
+ default: string;
841
+ };
842
+ buttonClass: {
843
+ type: PropType<string | undefined>;
844
+ required: false;
845
+ default: string;
846
+ };
847
+ dataCy: {
848
+ type: PropType<string | undefined>;
849
+ required: false;
850
+ default: string;
851
+ };
852
+ }>> & {
853
+ onAdvancedFilter?: ((...args: any[]) => any) | undefined;
854
+ }, {
855
+ dataCy: string | undefined;
856
+ buttonClass: string | undefined;
857
+ tooltipT: string | undefined;
858
+ }>;
859
+
294
860
  export declare const AFilterBooleanGroup: DefineComponent<{
295
861
  modelValue: {
296
862
  type: PropType<Filter<any>>;
@@ -319,6 +885,32 @@ export declare const AFilterDatetimePicker: DefineComponent<{
319
885
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
320
886
  }, {}>;
321
887
 
888
+ export declare const AFilterInteger: DefineComponent<{
889
+ modelValue: {
890
+ type: PropType<Filter<any>>;
891
+ required: true;
892
+ };
893
+ dataCy: {
894
+ type: PropType<string | undefined>;
895
+ required: false;
896
+ default: string;
897
+ };
898
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
899
+ modelValue: {
900
+ type: PropType<Filter<any>>;
901
+ required: true;
902
+ };
903
+ dataCy: {
904
+ type: PropType<string | undefined>;
905
+ required: false;
906
+ default: string;
907
+ };
908
+ }>> & {
909
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
910
+ }, {
911
+ dataCy: string | undefined;
912
+ }>;
913
+
322
914
  export declare const AFilterRemoteAutocomplete: DefineComponent<{
323
915
  modelValue: {
324
916
  type: PropType<Filter<any>>;
@@ -369,6 +961,46 @@ export declare const AFilterRemoteAutocomplete: DefineComponent<{
369
961
  filterByField: string | undefined;
370
962
  }>;
371
963
 
964
+ export declare const AFilterResetButton: DefineComponent<{
965
+ tooltipT: {
966
+ type: PropType<string | undefined>;
967
+ required: false;
968
+ default: string;
969
+ };
970
+ buttonClass: {
971
+ type: PropType<string | undefined>;
972
+ required: false;
973
+ default: string;
974
+ };
975
+ dataCy: {
976
+ type: PropType<string | undefined>;
977
+ required: false;
978
+ default: string;
979
+ };
980
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "reset"[], "reset", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
981
+ tooltipT: {
982
+ type: PropType<string | undefined>;
983
+ required: false;
984
+ default: string;
985
+ };
986
+ buttonClass: {
987
+ type: PropType<string | undefined>;
988
+ required: false;
989
+ default: string;
990
+ };
991
+ dataCy: {
992
+ type: PropType<string | undefined>;
993
+ required: false;
994
+ default: string;
995
+ };
996
+ }>> & {
997
+ onReset?: ((...args: any[]) => any) | undefined;
998
+ }, {
999
+ dataCy: string | undefined;
1000
+ buttonClass: string | undefined;
1001
+ tooltipT: string | undefined;
1002
+ }>;
1003
+
372
1004
  export declare const AFilterString: DefineComponent<{
373
1005
  modelValue: {
374
1006
  type: PropType<Filter<any>>;
@@ -395,6 +1027,46 @@ export declare const AFilterString: DefineComponent<{
395
1027
  dataCy: string | undefined;
396
1028
  }>;
397
1029
 
1030
+ export declare const AFilterSubmitButton: DefineComponent<{
1031
+ buttonT: {
1032
+ type: PropType<string | undefined>;
1033
+ required: false;
1034
+ default: string;
1035
+ };
1036
+ buttonClass: {
1037
+ type: PropType<string | undefined>;
1038
+ required: false;
1039
+ default: string;
1040
+ };
1041
+ dataCy: {
1042
+ type: PropType<string | undefined>;
1043
+ required: false;
1044
+ default: string;
1045
+ };
1046
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1047
+ buttonT: {
1048
+ type: PropType<string | undefined>;
1049
+ required: false;
1050
+ default: string;
1051
+ };
1052
+ buttonClass: {
1053
+ type: PropType<string | undefined>;
1054
+ required: false;
1055
+ default: string;
1056
+ };
1057
+ dataCy: {
1058
+ type: PropType<string | undefined>;
1059
+ required: false;
1060
+ default: string;
1061
+ };
1062
+ }>> & {
1063
+ onSubmit?: ((...args: any[]) => any) | undefined;
1064
+ }, {
1065
+ dataCy: string | undefined;
1066
+ buttonT: string | undefined;
1067
+ buttonClass: string | undefined;
1068
+ }>;
1069
+
398
1070
  export declare const AFilterValueObjectOptionsSelect: DefineComponent<{
399
1071
  modelValue: {
400
1072
  type: PropType<Filter<any>>;
@@ -649,7 +1321,7 @@ export declare const AFormDatetimePicker: DefineComponent<{
649
1321
 
650
1322
  export declare const AFormRemoteAutocomplete: DefineComponent<{
651
1323
  modelValue: {
652
- type: PropType<any>;
1324
+ type: PropType<string | number | string[] | number[] | null>;
653
1325
  required: true;
654
1326
  };
655
1327
  label: {
@@ -693,7 +1365,7 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
693
1365
  default: boolean;
694
1366
  };
695
1367
  fetchItems: {
696
- type: PropType<(pagination: Pagination, filterBag: FilterBag) => Promise<ValueObjectOption<string | number>[]>>;
1368
+ type: PropType<FetchItemsType>;
697
1369
  required: true;
698
1370
  };
699
1371
  fetchItemsByIds: {
@@ -709,7 +1381,7 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
709
1381
  required: false;
710
1382
  default: string;
711
1383
  };
712
- fetchFewOnInit: {
1384
+ disableInitFetch: {
713
1385
  type: PropType<boolean | undefined>;
714
1386
  required: false;
715
1387
  default: boolean;
@@ -729,9 +1401,9 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
729
1401
  required: false;
730
1402
  default: boolean;
731
1403
  };
732
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "blur" | "searchChange")[], "update:modelValue" | "blur" | "searchChange", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1404
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("update:modelValue" | "blur" | "focus" | "searchChange" | "searchChangeDebounced")[], "update:modelValue" | "blur" | "focus" | "searchChange" | "searchChangeDebounced", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
733
1405
  modelValue: {
734
- type: PropType<any>;
1406
+ type: PropType<string | number | string[] | number[] | null>;
735
1407
  required: true;
736
1408
  };
737
1409
  label: {
@@ -775,7 +1447,7 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
775
1447
  default: boolean;
776
1448
  };
777
1449
  fetchItems: {
778
- type: PropType<(pagination: Pagination, filterBag: FilterBag) => Promise<ValueObjectOption<string | number>[]>>;
1450
+ type: PropType<FetchItemsType>;
779
1451
  required: true;
780
1452
  };
781
1453
  fetchItemsByIds: {
@@ -791,7 +1463,7 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
791
1463
  required: false;
792
1464
  default: string;
793
1465
  };
794
- fetchFewOnInit: {
1466
+ disableInitFetch: {
795
1467
  type: PropType<boolean | undefined>;
796
1468
  required: false;
797
1469
  default: boolean;
@@ -814,7 +1486,9 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
814
1486
  }>> & {
815
1487
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
816
1488
  onBlur?: ((...args: any[]) => any) | undefined;
1489
+ onFocus?: ((...args: any[]) => any) | undefined;
817
1490
  onSearchChange?: ((...args: any[]) => any) | undefined;
1491
+ onSearchChangeDebounced?: ((...args: any[]) => any) | undefined;
818
1492
  }, {
819
1493
  required: boolean | undefined;
820
1494
  loading: boolean | undefined;
@@ -826,7 +1500,7 @@ export declare const AFormRemoteAutocomplete: DefineComponent<{
826
1500
  clearable: boolean | undefined;
827
1501
  hideDetails: boolean | undefined;
828
1502
  filterByField: string | undefined;
829
- fetchFewOnInit: boolean | undefined;
1503
+ disableInitFetch: boolean | undefined;
830
1504
  lazyLoader: LazyLoaderType | undefined;
831
1505
  chips: boolean | undefined;
832
1506
  }>;
@@ -1197,6 +1871,80 @@ export declare const AFormValueObjectOptionsSelect: DefineComponent<{
1197
1871
  hideDetails: boolean | undefined;
1198
1872
  }>;
1199
1873
 
1874
+ export declare const AIconGroup: DefineComponent<{
1875
+ mainIcon: {
1876
+ type: PropType<string>;
1877
+ required: true;
1878
+ };
1879
+ secondaryIcon: {
1880
+ type: PropType<string | null | undefined>;
1881
+ required: false;
1882
+ default: null;
1883
+ };
1884
+ secondaryText: {
1885
+ type: PropType<string | null | undefined>;
1886
+ required: false;
1887
+ default: null;
1888
+ };
1889
+ size: {
1890
+ type: PropType<string | undefined>;
1891
+ required: false;
1892
+ default: string;
1893
+ };
1894
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1895
+ mainIcon: {
1896
+ type: PropType<string>;
1897
+ required: true;
1898
+ };
1899
+ secondaryIcon: {
1900
+ type: PropType<string | null | undefined>;
1901
+ required: false;
1902
+ default: null;
1903
+ };
1904
+ secondaryText: {
1905
+ type: PropType<string | null | undefined>;
1906
+ required: false;
1907
+ default: null;
1908
+ };
1909
+ size: {
1910
+ type: PropType<string | undefined>;
1911
+ required: false;
1912
+ default: string;
1913
+ };
1914
+ }>>, {
1915
+ secondaryIcon: string | null | undefined;
1916
+ secondaryText: string | null | undefined;
1917
+ size: string | undefined;
1918
+ }>;
1919
+
1920
+ export declare const AJobStatusChip: DefineComponent<{
1921
+ value: {
1922
+ type: PropType<JobStatus>;
1923
+ required: true;
1924
+ };
1925
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1926
+ value: {
1927
+ type: PropType<JobStatus>;
1928
+ required: true;
1929
+ };
1930
+ }>>, {}>;
1931
+
1932
+ export declare const ALanguageSelect: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "afterChange"[], "afterChange", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>> & {
1933
+ onAfterChange?: ((...args: any[]) => any) | undefined;
1934
+ }, {}>;
1935
+
1936
+ export declare const ALogLevelChip: DefineComponent<{
1937
+ level: {
1938
+ type: PropType<LogLevel>;
1939
+ required: true;
1940
+ };
1941
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1942
+ level: {
1943
+ type: PropType<LogLevel>;
1944
+ required: true;
1945
+ };
1946
+ }>>, {}>;
1947
+
1200
1948
  export declare class AnzuApiResponseCodeError extends Error {
1201
1949
  private date;
1202
1950
  constructor();
@@ -1224,24 +1972,62 @@ export declare interface AnzuUser extends AnzuUserAndTimeTrackingAware {
1224
1972
  lastName: string;
1225
1973
  fullName: string;
1226
1974
  };
1227
- avatar: {
1228
- color: string;
1229
- text: string;
1975
+ avatar: {
1976
+ color: string;
1977
+ text: string;
1978
+ };
1979
+ enabled: boolean;
1980
+ roles: string[];
1981
+ permissionGroups: IntegerId[];
1982
+ permissions: Permissions_2;
1983
+ resolvedPermissions: Permissions_2;
1984
+ _resourceName: string;
1985
+ _system: string;
1986
+ }
1987
+
1988
+ export declare interface AnzuUserAndTimeTrackingAware extends CreatedByAware {
1989
+ createdAt: DatetimeUTC;
1990
+ modifiedAt: DatetimeUTC;
1991
+ modifiedBy: IntegerIdNullable;
1992
+ }
1993
+
1994
+ export declare const APageTitle: DefineComponent<{
1995
+ heading: {
1996
+ type: PropType<string | undefined>;
1997
+ required: false;
1998
+ default: string;
1999
+ };
2000
+ icon: {
2001
+ type: PropType<string | undefined>;
2002
+ required: false;
2003
+ default: undefined;
2004
+ };
2005
+ dataCy: {
2006
+ type: PropType<string | undefined>;
2007
+ required: false;
2008
+ default: string;
2009
+ };
2010
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2011
+ heading: {
2012
+ type: PropType<string | undefined>;
2013
+ required: false;
2014
+ default: string;
2015
+ };
2016
+ icon: {
2017
+ type: PropType<string | undefined>;
2018
+ required: false;
2019
+ default: undefined;
2020
+ };
2021
+ dataCy: {
2022
+ type: PropType<string | undefined>;
2023
+ required: false;
2024
+ default: string;
1230
2025
  };
1231
- enabled: boolean;
1232
- roles: string[];
1233
- permissionGroups: IntegerId[];
1234
- permissions: Permissions_2;
1235
- resolvedPermissions: Permissions_2;
1236
- _resourceName: string;
1237
- _system: string;
1238
- }
1239
-
1240
- export declare interface AnzuUserAndTimeTrackingAware extends CreatedByAware {
1241
- createdAt: DatetimeUTC;
1242
- modifiedAt: DatetimeUTC;
1243
- modifiedBy: IntegerIdNullable;
1244
- }
2026
+ }>>, {
2027
+ dataCy: string | undefined;
2028
+ heading: string | undefined;
2029
+ icon: string | undefined;
2030
+ }>;
1245
2031
 
1246
2032
  export declare const APermissionGrantEditor: DefineComponent<{
1247
2033
  availableGrants: {
@@ -1303,7 +2089,7 @@ export declare const apiCreateOne: <T, R = T>(client: () => AxiosInstance, objec
1303
2089
  */
1304
2090
  export declare const apiDeleteOne: <T, R = T>(client: () => AxiosInstance, urlTemplate: string, urlParams: UrlParams | undefined, system: string, entity: string, options?: AxiosRequestConfig) => Promise<R>;
1305
2091
 
1306
- declare interface ApiErrors {
2092
+ export declare interface ApiErrors {
1307
2093
  field: string;
1308
2094
  errors: string[];
1309
2095
  }
@@ -1365,6 +2151,49 @@ export declare const ARow: DefineComponent<{
1365
2151
  dataCy: string | undefined;
1366
2152
  }>;
1367
2153
 
2154
+ export declare const arrayFlatten: (arr: any) => any;
2155
+
2156
+ export declare const arrayFromArgs: (...args: any) => unknown[];
2157
+
2158
+ export declare const arrayItemToggle: <T>(array: T[], value: T) => void;
2159
+
2160
+ export declare const arrayToString: (values: number[] | string[], separator?: string) => string;
2161
+
2162
+ export declare const ASystemBar: DefineComponent<{
2163
+ currentVersion: {
2164
+ type: PropType<string>;
2165
+ required: true;
2166
+ };
2167
+ checkInterval: {
2168
+ type: PropType<number | undefined>;
2169
+ required: false;
2170
+ default: number;
2171
+ };
2172
+ jsonRelativePath: {
2173
+ type: PropType<string | undefined>;
2174
+ required: false;
2175
+ default: string;
2176
+ };
2177
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2178
+ currentVersion: {
2179
+ type: PropType<string>;
2180
+ required: true;
2181
+ };
2182
+ checkInterval: {
2183
+ type: PropType<number | undefined>;
2184
+ required: false;
2185
+ default: number;
2186
+ };
2187
+ jsonRelativePath: {
2188
+ type: PropType<string | undefined>;
2189
+ required: false;
2190
+ default: string;
2191
+ };
2192
+ }>>, {
2193
+ checkInterval: number | undefined;
2194
+ jsonRelativePath: string | undefined;
2195
+ }>;
2196
+
1368
2197
  export declare const ASystemEntityScope: DefineComponent<{
1369
2198
  system: {
1370
2199
  type: PropType<string>;
@@ -1385,21 +2214,291 @@ export declare const ASystemEntityScope: DefineComponent<{
1385
2214
  };
1386
2215
  }>>, {}>;
1387
2216
 
1388
- declare type ColumnConfig = {
1389
- name: string;
1390
- label?: string;
1391
- type?: 'default' | 'datetime';
1392
- getLabel?: (system: string | undefined, subject: string | undefined) => string | undefined;
1393
- };
2217
+ export declare const ATableCopyIdButton: DefineComponent<{
2218
+ id: {
2219
+ type: PropType<string | number>;
2220
+ required: true;
2221
+ };
2222
+ buttonT: {
2223
+ type: PropType<string | undefined>;
2224
+ required: false;
2225
+ default: string;
2226
+ };
2227
+ buttonClass: {
2228
+ type: PropType<string | undefined>;
2229
+ required: false;
2230
+ default: string;
2231
+ };
2232
+ iconT: {
2233
+ type: PropType<string | undefined>;
2234
+ required: false;
2235
+ default: string;
2236
+ };
2237
+ notifyT: {
2238
+ type: PropType<string | undefined>;
2239
+ required: false;
2240
+ default: string;
2241
+ };
2242
+ dataCy: {
2243
+ type: PropType<string | undefined>;
2244
+ required: false;
2245
+ default: string;
2246
+ };
2247
+ size: {
2248
+ type: PropType<"small" | "x-small" | undefined>;
2249
+ required: false;
2250
+ default: string;
2251
+ };
2252
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2253
+ id: {
2254
+ type: PropType<string | number>;
2255
+ required: true;
2256
+ };
2257
+ buttonT: {
2258
+ type: PropType<string | undefined>;
2259
+ required: false;
2260
+ default: string;
2261
+ };
2262
+ buttonClass: {
2263
+ type: PropType<string | undefined>;
2264
+ required: false;
2265
+ default: string;
2266
+ };
2267
+ iconT: {
2268
+ type: PropType<string | undefined>;
2269
+ required: false;
2270
+ default: string;
2271
+ };
2272
+ notifyT: {
2273
+ type: PropType<string | undefined>;
2274
+ required: false;
2275
+ default: string;
2276
+ };
2277
+ dataCy: {
2278
+ type: PropType<string | undefined>;
2279
+ required: false;
2280
+ default: string;
2281
+ };
2282
+ size: {
2283
+ type: PropType<"small" | "x-small" | undefined>;
2284
+ required: false;
2285
+ default: string;
2286
+ };
2287
+ }>>, {
2288
+ dataCy: string | undefined;
2289
+ notifyT: string | undefined;
2290
+ size: "small" | "x-small" | undefined;
2291
+ buttonT: string | undefined;
2292
+ buttonClass: string | undefined;
2293
+ iconT: string | undefined;
2294
+ }>;
2295
+
2296
+ export declare const ATableDetailButton: DefineComponent<{
2297
+ recordId: {
2298
+ type: PropType<string | number>;
2299
+ required: true;
2300
+ };
2301
+ routeName: {
2302
+ type: PropType<string>;
2303
+ required: true;
2304
+ };
2305
+ buttonT: {
2306
+ type: PropType<string | undefined>;
2307
+ required: false;
2308
+ default: string;
2309
+ };
2310
+ buttonClass: {
2311
+ type: PropType<string | undefined>;
2312
+ required: false;
2313
+ default: string;
2314
+ };
2315
+ target: {
2316
+ type: PropType<string | undefined>;
2317
+ required: false;
2318
+ default: string;
2319
+ };
2320
+ dataCy: {
2321
+ type: PropType<string | undefined>;
2322
+ required: false;
2323
+ default: string;
2324
+ };
2325
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2326
+ recordId: {
2327
+ type: PropType<string | number>;
2328
+ required: true;
2329
+ };
2330
+ routeName: {
2331
+ type: PropType<string>;
2332
+ required: true;
2333
+ };
2334
+ buttonT: {
2335
+ type: PropType<string | undefined>;
2336
+ required: false;
2337
+ default: string;
2338
+ };
2339
+ buttonClass: {
2340
+ type: PropType<string | undefined>;
2341
+ required: false;
2342
+ default: string;
2343
+ };
2344
+ target: {
2345
+ type: PropType<string | undefined>;
2346
+ required: false;
2347
+ default: string;
2348
+ };
2349
+ dataCy: {
2350
+ type: PropType<string | undefined>;
2351
+ required: false;
2352
+ default: string;
2353
+ };
2354
+ }>>, {
2355
+ dataCy: string | undefined;
2356
+ buttonT: string | undefined;
2357
+ buttonClass: string | undefined;
2358
+ target: string | undefined;
2359
+ }>;
2360
+
2361
+ export declare const ATableEditButton: DefineComponent<{
2362
+ recordId: {
2363
+ type: PropType<string | number>;
2364
+ required: true;
2365
+ };
2366
+ routeName: {
2367
+ type: PropType<string>;
2368
+ required: true;
2369
+ };
2370
+ buttonT: {
2371
+ type: PropType<string | undefined>;
2372
+ required: false;
2373
+ default: string;
2374
+ };
2375
+ buttonClass: {
2376
+ type: PropType<string | undefined>;
2377
+ required: false;
2378
+ default: string;
2379
+ };
2380
+ target: {
2381
+ type: PropType<string | undefined>;
2382
+ required: false;
2383
+ default: string;
2384
+ };
2385
+ dataCy: {
2386
+ type: PropType<string | undefined>;
2387
+ required: false;
2388
+ default: string;
2389
+ };
2390
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2391
+ recordId: {
2392
+ type: PropType<string | number>;
2393
+ required: true;
2394
+ };
2395
+ routeName: {
2396
+ type: PropType<string>;
2397
+ required: true;
2398
+ };
2399
+ buttonT: {
2400
+ type: PropType<string | undefined>;
2401
+ required: false;
2402
+ default: string;
2403
+ };
2404
+ buttonClass: {
2405
+ type: PropType<string | undefined>;
2406
+ required: false;
2407
+ default: string;
2408
+ };
2409
+ target: {
2410
+ type: PropType<string | undefined>;
2411
+ required: false;
2412
+ default: string;
2413
+ };
2414
+ dataCy: {
2415
+ type: PropType<string | undefined>;
2416
+ required: false;
2417
+ default: string;
2418
+ };
2419
+ }>>, {
2420
+ dataCy: string | undefined;
2421
+ buttonT: string | undefined;
2422
+ buttonClass: string | undefined;
2423
+ target: string | undefined;
2424
+ }>;
2425
+
2426
+ export declare const AThemeSelect: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
2427
+
2428
+ export declare const AUserAndTimeTrackingFields: DefineComponent<{
2429
+ data: {
2430
+ type: PropType<any>;
2431
+ required: true;
2432
+ };
2433
+ hideCreatedAt: {
2434
+ type: PropType<boolean | undefined>;
2435
+ required: false;
2436
+ default: boolean;
2437
+ };
2438
+ hideModifiedAt: {
2439
+ type: PropType<boolean | undefined>;
2440
+ required: false;
2441
+ default: boolean;
2442
+ };
2443
+ hideCreatedBy: {
2444
+ type: PropType<boolean | undefined>;
2445
+ required: false;
2446
+ default: boolean;
2447
+ };
2448
+ hideModifiedBy: {
2449
+ type: PropType<boolean | undefined>;
2450
+ required: false;
2451
+ default: boolean;
2452
+ };
2453
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
2454
+ data: {
2455
+ type: PropType<any>;
2456
+ required: true;
2457
+ };
2458
+ hideCreatedAt: {
2459
+ type: PropType<boolean | undefined>;
2460
+ required: false;
2461
+ default: boolean;
2462
+ };
2463
+ hideModifiedAt: {
2464
+ type: PropType<boolean | undefined>;
2465
+ required: false;
2466
+ default: boolean;
2467
+ };
2468
+ hideCreatedBy: {
2469
+ type: PropType<boolean | undefined>;
2470
+ required: false;
2471
+ default: boolean;
2472
+ };
2473
+ hideModifiedBy: {
2474
+ type: PropType<boolean | undefined>;
2475
+ required: false;
2476
+ default: boolean;
2477
+ };
2478
+ }>>, {
2479
+ hideCreatedAt: boolean | undefined;
2480
+ hideModifiedAt: boolean | undefined;
2481
+ hideCreatedBy: boolean | undefined;
2482
+ hideModifiedBy: boolean | undefined;
2483
+ }>;
2484
+
2485
+ export declare const AvailableLanguagesSymbol: unique symbol;
2486
+
2487
+ export declare const booleanToInteger: (value: boolean) => 1 | 0;
2488
+
2489
+ export declare const browserHistoryReplaceUrlByRouter: (router: Router, to: RouteLocationRaw) => void;
1394
2490
 
1395
- export declare const commonMessages: LocaleMessages<Record<string, string>, string, string>;
2491
+ export declare const browserHistoryReplaceUrlByString: (path: string) => void;
2492
+
2493
+ /**
2494
+ * Use only for objects with some primitives like number, string, boolean, null. Not supported: function, undefined, symbol, ...
2495
+ */
2496
+ export declare const cloneDeep: <T>(object: T) => T;
1396
2497
 
1397
2498
  export declare interface CreatedByAware {
1398
2499
  createdBy: IntegerIdNullable;
1399
2500
  }
1400
2501
 
1401
- export declare const currentTimestamp: () => number;
1402
-
1403
2502
  export declare type CurrentUserType = DeepReadonly<Ref_2<UnwrapRef<AnzuUser | undefined>>>;
1404
2503
 
1405
2504
  declare type CustomAclResolver<T extends AclValue = AclValue> = undefined | {
@@ -1407,14 +2506,29 @@ declare type CustomAclResolver<T extends AclValue = AclValue> = undefined | {
1407
2506
  canOwner?: (subject: object) => boolean;
1408
2507
  };
1409
2508
 
2509
+ export declare type DatatableColumnConfig = {
2510
+ name: string;
2511
+ label?: string;
2512
+ type?: 'default' | 'datetime';
2513
+ getLabel?: (system: string | undefined, subject: string | undefined) => string | undefined;
2514
+ };
2515
+
2516
+ export declare const dateModifyMinutes: (minutes?: number, date?: null | Date) => Date | undefined;
2517
+
2518
+ export declare const dateNow: () => Date;
2519
+
1410
2520
  export declare const DATETIME_MAX = "2100-01-01T00:00:00.000000Z";
1411
2521
 
1412
2522
  export declare const DATETIME_MIN = "1970-01-01T00:00:00.000000Z";
1413
2523
 
1414
2524
  export declare const dateTimeEndOfDay: (days?: number) => string;
1415
2525
 
2526
+ export declare const dateTimeFriendly: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
2527
+
1416
2528
  export declare const dateTimeNow: (ignoreFractionalSeconds?: boolean, ignoreSeconds?: boolean) => string;
1417
2529
 
2530
+ export declare const dateTimePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
2531
+
1418
2532
  export declare const dateTimeStartOfDay: (days?: number) => string;
1419
2533
 
1420
2534
  export declare type DatetimeUTC = string;
@@ -1423,9 +2537,7 @@ export declare type DatetimeUTCNullable = string | null;
1423
2537
 
1424
2538
  export declare const dateToUtc: (date: dayjs.ConfigType) => string;
1425
2539
 
1426
- export declare const deepFreeze: <T>(obj: T) => Readonly<T>;
1427
-
1428
- export declare function deletePropertyByPath<T>(obj: T, path: string, splitChar?: string): T;
2540
+ export declare const DefaultLanguageSymbol: unique symbol;
1429
2541
 
1430
2542
  export declare type DocId = string;
1431
2543
 
@@ -1439,10 +2551,14 @@ declare interface Error_2 {
1439
2551
  };
1440
2552
  }
1441
2553
 
1442
- declare type FetchItemsByIdsType = ((ids: number[]) => Promise<ValueObjectOption<number>[]>) | ((ids: string[]) => Promise<ValueObjectOption<string>[]>);
2554
+ export declare const eventClickBlur: (event?: Event) => void;
2555
+
2556
+ declare type FetchItemsByIdsType = ((ids: IntegerId[]) => Promise<ValueObjectOption<IntegerId>[]>) | ((ids: DocId[]) => Promise<ValueObjectOption<DocId>[]>);
1443
2557
 
1444
2558
  declare type FetchItemsByIdsType_2 = ((ids: number[]) => Promise<ValueObjectOption<number>[]>) | ((ids: string[]) => Promise<ValueObjectOption<string>[]>);
1445
2559
 
2560
+ declare type FetchItemsType = (pagination: Pagination, filterBag: FilterBag) => Promise<ValueObjectOption<DocId | IntegerId>[]>;
2561
+
1446
2562
  export declare interface Filter<T = any> {
1447
2563
  field: string;
1448
2564
  multiple: boolean;
@@ -1461,10 +2577,6 @@ export declare interface FilterBag {
1461
2577
 
1462
2578
  export declare type FilterVariant = 'lt' | 'in' | 'notIn' | 'endsWith' | 'startsWith' | 'memberOf' | 'contains' | 'neq' | 'gte' | 'gt' | 'eq' | 'lte';
1463
2579
 
1464
- export declare const friendlyDateTime: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
1465
-
1466
- export declare const getValueByPath: (obj: any, path: string, splitChar?: string) => any;
1467
-
1468
2580
  export declare enum Grant {
1469
2581
  Deny = 0,
1470
2582
  AllowOwner = 1,
@@ -1492,6 +2604,12 @@ export declare const HTTP_STATUS_UNAUTHORIZED = 401;
1492
2604
 
1493
2605
  export declare const HTTP_STATUS_UNPROCESSABLE_ENTITY = 422;
1494
2606
 
2607
+ export declare const i18n: I18n<{}, {}, {}, string, true>;
2608
+
2609
+ export declare type Immutable<T> = {
2610
+ readonly [K in keyof T]: Immutable<T[K]>;
2611
+ };
2612
+
1495
2613
  export declare type IntegerId = number;
1496
2614
 
1497
2615
  export declare type IntegerIdNullable = number | null;
@@ -1518,11 +2636,6 @@ export declare const isEmptyObject: <T>(value: T) => value is T;
1518
2636
 
1519
2637
  export declare const isInt: (value: any) => value is number;
1520
2638
 
1521
- /**
1522
- * @deprecated use isDefined
1523
- */
1524
- export declare const isNotUndefined: (value: unknown) => boolean;
1525
-
1526
2639
  export declare const isNull: (value: unknown) => value is null;
1527
2640
 
1528
2641
  export declare const isNumber: (value: unknown) => value is number;
@@ -1562,27 +2675,59 @@ export declare enum JobStatus {
1562
2675
  Default = "waiting"
1563
2676
  }
1564
2677
 
1565
- export declare const JobStatusChip: DefineComponent<{
1566
- value: {
1567
- type: PropType<JobStatus>;
1568
- required: true;
1569
- };
1570
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
1571
- value: {
1572
- type: PropType<JobStatus>;
1573
- required: true;
1574
- };
1575
- }>>, {}>;
1576
-
1577
2678
  declare type Kebab<T extends string, A extends string = ''> = T extends `${infer F}${infer R}` ? Kebab<R, `${A}${F extends Lowercase<F> ? '' : '-'}${Lowercase<F>}`> : A;
1578
2679
 
2680
+ declare interface Language {
2681
+ code: LanguageCode;
2682
+ title: string;
2683
+ adminOnly?: boolean;
2684
+ }
2685
+
2686
+ export declare type LanguageCode = 'en' | 'sk' | 'cs' | 'xx';
2687
+
1579
2688
  declare type LazyLoaderType = () => {
1580
- allValues: Ref<ValueObjectOption<string | number>[]>;
1581
- hasId: (id: string | number) => boolean;
2689
+ allValues: Ref<ValueObjectOption<DocId | IntegerId>[]>;
2690
+ hasId: (id: DocId | IntegerId) => boolean;
1582
2691
  loadedAll: Ref<boolean>;
1583
2692
  [key: string]: any;
1584
2693
  };
1585
2694
 
2695
+ export declare interface Log {
2696
+ id: string;
2697
+ message: string;
2698
+ datetime: DatetimeUTC;
2699
+ levelName: LogLevel;
2700
+ context: {
2701
+ appVersion: string;
2702
+ appSystem: string;
2703
+ requestOriginAppVersion: string;
2704
+ path: string;
2705
+ method: string;
2706
+ contextId: string;
2707
+ userId: IntegerIdNullable;
2708
+ ip: string;
2709
+ response: string;
2710
+ content?: string;
2711
+ params: string;
2712
+ httpStatus: number;
2713
+ };
2714
+ _resourceName: string;
2715
+ _system: string;
2716
+ _type: string;
2717
+ }
2718
+
2719
+ export declare enum LogLevel {
2720
+ Debug = "DEBUG",
2721
+ Info = "INFO",
2722
+ Notice = "NOTICE",
2723
+ Warning = "WARNING",
2724
+ Error = "ERROR",
2725
+ Critical = "CRITICAL",
2726
+ Alert = "ALERT",
2727
+ Emergency = "EMERGENCY",
2728
+ Default = "INFO"
2729
+ }
2730
+
1586
2731
  export declare function makeFilterHelper<T = any>(system?: string, subject?: string): (options?: Partial<MakeFilterOptions<T>>) => Filter<T>;
1587
2732
 
1588
2733
  export declare interface MakeFilterOptions<T = any> {
@@ -1596,16 +2741,617 @@ export declare interface MakeFilterOptions<T = any> {
1596
2741
  exclude: boolean;
1597
2742
  }
1598
2743
 
1599
- export declare const modifyMinutesOfDate: (minutes?: number, date?: null | Date) => Date | undefined;
2744
+ export declare const messagesEn: {
2745
+ validations: {
2746
+ api: {
2747
+ error_field_length_min: string;
2748
+ error_field_length_max: string;
2749
+ error_field_not_unique: string;
2750
+ error_compromised_password: string;
2751
+ };
2752
+ js: {
2753
+ required: string;
2754
+ minLength: string;
2755
+ maxLength: string;
2756
+ email: string;
2757
+ stringArrayItemLength: string;
2758
+ };
2759
+ };
2760
+ $vuetify: {
2761
+ badge: string;
2762
+ close: string;
2763
+ dataIterator: {
2764
+ noResultsText: string;
2765
+ loadingText: string;
2766
+ };
2767
+ dataTable: {
2768
+ itemsPerPageText: string;
2769
+ ariaLabel: {
2770
+ sortDescending: string;
2771
+ sortAscending: string;
2772
+ sortNone: string;
2773
+ activateNone: string;
2774
+ activateDescending: string;
2775
+ activateAscending: string;
2776
+ };
2777
+ sortBy: string;
2778
+ };
2779
+ dataFooter: {
2780
+ itemsPerPageText: string;
2781
+ itemsPerPageAll: string;
2782
+ nextPage: string;
2783
+ prevPage: string;
2784
+ firstPage: string;
2785
+ lastPage: string;
2786
+ pageText: string;
2787
+ };
2788
+ datePicker: {
2789
+ itemsSelected: string;
2790
+ nextMonthAriaLabel: string;
2791
+ nextYearAriaLabel: string;
2792
+ prevMonthAriaLabel: string;
2793
+ prevYearAriaLabel: string;
2794
+ };
2795
+ noDataText: string;
2796
+ carousel: {
2797
+ prev: string;
2798
+ next: string;
2799
+ ariaLabel: {
2800
+ delimiter: string;
2801
+ };
2802
+ };
2803
+ calendar: {
2804
+ moreEvents: string;
2805
+ };
2806
+ input: {
2807
+ clear: string;
2808
+ prependAction: string;
2809
+ appendAction: string;
2810
+ };
2811
+ fileInput: {
2812
+ counter: string;
2813
+ counterSize: string;
2814
+ };
2815
+ timePicker: {
2816
+ am: string;
2817
+ pm: string;
2818
+ };
2819
+ pagination: {
2820
+ ariaLabel: {
2821
+ root: string;
2822
+ next: string;
2823
+ previous: string;
2824
+ page: string;
2825
+ currentPage: string;
2826
+ first: string;
2827
+ last: string;
2828
+ };
2829
+ };
2830
+ rating: {
2831
+ ariaLabel: {
2832
+ item: string;
2833
+ };
2834
+ };
2835
+ };
2836
+ common: {
2837
+ alert: {
2838
+ unknownError: string;
2839
+ fixValidationErrors: string;
2840
+ fixApiValidationErrors: string;
2841
+ recordWas: {
2842
+ created: string;
2843
+ updated: string;
2844
+ deleted: string;
2845
+ published: string;
2846
+ unpublished: string;
2847
+ enabled: string;
2848
+ disabled: string;
2849
+ };
2850
+ idWasCopied: string;
2851
+ textWasCopied: string;
2852
+ };
2853
+ button: {
2854
+ create: string;
2855
+ createAndClose: string;
2856
+ save: string;
2857
+ saveAndClose: string;
2858
+ close: string;
2859
+ edit: string;
2860
+ submitFilter: string;
2861
+ resetFilter: string;
2862
+ advancedFilters: string;
2863
+ cancel: string;
2864
+ delete: string;
2865
+ id: string;
2866
+ now: string;
2867
+ logout: string;
2868
+ confirm: string;
2869
+ copyId: string;
2870
+ add: string;
2871
+ download: string;
2872
+ upload: string;
2873
+ };
2874
+ model: {
2875
+ boolean: {
2876
+ true: string;
2877
+ false: string;
2878
+ };
2879
+ tracking: {
2880
+ createdAt: string;
2881
+ modifiedAt: string;
2882
+ created: string;
2883
+ modified: string;
2884
+ };
2885
+ };
2886
+ system: {
2887
+ version: string;
2888
+ newVersionText: string;
2889
+ newVersionReload: string;
2890
+ theme: {
2891
+ light: string;
2892
+ dark: string;
2893
+ auto: string;
2894
+ };
2895
+ datatable: {
2896
+ displayCols: string;
2897
+ itemsPerPage: string;
2898
+ from: string;
2899
+ noDataText: string;
2900
+ };
2901
+ modal: {
2902
+ confirmDelete: string;
2903
+ hide: string;
2904
+ show: string;
2905
+ };
2906
+ };
2907
+ anzuUser: {
2908
+ meta: {
2909
+ detail: string;
2910
+ list: string;
2911
+ edit: string;
2912
+ create: string;
2913
+ };
2914
+ model: {
2915
+ id: string;
2916
+ enabled: string;
2917
+ email: string;
2918
+ roles: string;
2919
+ permissionGroups: string;
2920
+ permissions: string;
2921
+ };
2922
+ filter: {
2923
+ id: string;
2924
+ enabled: string;
2925
+ email: string;
2926
+ };
2927
+ table: {
2928
+ grants: string;
2929
+ permissions: string;
2930
+ resolvedPermissions: string;
2931
+ noPermissions: string;
2932
+ };
2933
+ };
2934
+ job: {
2935
+ meta: {
2936
+ detail: string;
2937
+ list: string;
2938
+ create: string;
2939
+ };
2940
+ model: {
2941
+ id: string;
2942
+ _resourceName: string;
2943
+ status: string;
2944
+ startedAt: string;
2945
+ finishedAt: string;
2946
+ result: string;
2947
+ targetUserId: string;
2948
+ anonymizeUser: string;
2949
+ };
2950
+ jobResource: {
2951
+ jobUserDataDelete: string;
2952
+ };
2953
+ status: {
2954
+ waiting: string;
2955
+ processing: string;
2956
+ awaitingBatchProcess: string;
2957
+ done: string;
2958
+ error: string;
2959
+ };
2960
+ };
2961
+ log: {
2962
+ meta: {
2963
+ detail: string;
2964
+ list: string;
2965
+ };
2966
+ system: string;
2967
+ filter: {
2968
+ system: string;
2969
+ type: string;
2970
+ levelName: string;
2971
+ id: string;
2972
+ contextId: string;
2973
+ userId: string;
2974
+ datetimeFrom: string;
2975
+ datetimeTo: string;
2976
+ message: string;
2977
+ appVersion: string;
2978
+ };
2979
+ model: {
2980
+ id: string;
2981
+ datetime: string;
2982
+ levelName: string;
2983
+ message: string;
2984
+ context: {
2985
+ appVersion: string;
2986
+ requestOriginAppVersion: string;
2987
+ contextId: string;
2988
+ userId: string;
2989
+ ip: string;
2990
+ content: string;
2991
+ response: string;
2992
+ path: string;
2993
+ httpStatus: string;
2994
+ };
2995
+ };
2996
+ };
2997
+ permission: {
2998
+ table: {
2999
+ actions: string;
3000
+ permissions: string;
3001
+ };
3002
+ grant: {
3003
+ allow: string;
3004
+ allowOwner: string;
3005
+ deny: string;
3006
+ };
3007
+ grantOrigin: {
3008
+ role: string;
3009
+ group: string;
3010
+ user: string;
3011
+ defaultGrant: string;
3012
+ };
3013
+ };
3014
+ permissionGroup: {
3015
+ meta: {
3016
+ detail: string;
3017
+ list: string;
3018
+ create: string;
3019
+ edit: string;
3020
+ };
3021
+ model: {
3022
+ id: string;
3023
+ title: string;
3024
+ description: string;
3025
+ permissions: string;
3026
+ };
3027
+ filter: {
3028
+ id: string;
3029
+ title: string;
3030
+ };
3031
+ button: {
3032
+ deleteConfirm: string;
3033
+ };
3034
+ };
3035
+ };
3036
+ };
3037
+
3038
+ export declare const messagesSk: {
3039
+ validations: {
3040
+ api: {
3041
+ error_field_length_min: string;
3042
+ error_field_length_max: string;
3043
+ error_field_not_unique: string;
3044
+ error_compromised_password: string;
3045
+ };
3046
+ js: {
3047
+ required: string;
3048
+ minLength: string;
3049
+ maxLength: string;
3050
+ email: string;
3051
+ stringArrayItemLength: string;
3052
+ };
3053
+ };
3054
+ $vuetify: {
3055
+ badge: string;
3056
+ close: string;
3057
+ dataIterator: {
3058
+ noResultsText: string;
3059
+ loadingText: string;
3060
+ };
3061
+ dataTable: {
3062
+ itemsPerPageText: string;
3063
+ ariaLabel: {
3064
+ sortDescending: string;
3065
+ sortAscending: string;
3066
+ sortNone: string;
3067
+ activateNone: string;
3068
+ activateDescending: string;
3069
+ activateAscending: string;
3070
+ };
3071
+ sortBy: string;
3072
+ };
3073
+ dataFooter: {
3074
+ itemsPerPageText: string;
3075
+ itemsPerPageAll: string;
3076
+ nextPage: string;
3077
+ prevPage: string;
3078
+ firstPage: string;
3079
+ lastPage: string;
3080
+ pageText: string;
3081
+ };
3082
+ datePicker: {
3083
+ itemsSelected: string;
3084
+ nextMonthAriaLabel: string;
3085
+ nextYearAriaLabel: string;
3086
+ prevMonthAriaLabel: string;
3087
+ prevYearAriaLabel: string;
3088
+ };
3089
+ noDataText: string;
3090
+ carousel: {
3091
+ prev: string;
3092
+ next: string;
3093
+ ariaLabel: {
3094
+ delimiter: string;
3095
+ };
3096
+ };
3097
+ calendar: {
3098
+ moreEvents: string;
3099
+ };
3100
+ input: {
3101
+ clear: string;
3102
+ prependAction: string;
3103
+ appendAction: string;
3104
+ };
3105
+ fileInput: {
3106
+ counter: string;
3107
+ counterSize: string;
3108
+ };
3109
+ timePicker: {
3110
+ am: string;
3111
+ pm: string;
3112
+ };
3113
+ pagination: {
3114
+ ariaLabel: {
3115
+ root: string;
3116
+ next: string;
3117
+ previous: string;
3118
+ page: string;
3119
+ currentPage: string;
3120
+ first: string;
3121
+ last: string;
3122
+ };
3123
+ };
3124
+ rating: {
3125
+ ariaLabel: {
3126
+ item: string;
3127
+ };
3128
+ };
3129
+ };
3130
+ common: {
3131
+ alert: {
3132
+ unknownError: string;
3133
+ fixValidationErrors: string;
3134
+ fixApiValidationErrors: string;
3135
+ recordWas: {
3136
+ created: string;
3137
+ updated: string;
3138
+ deleted: string;
3139
+ published: string;
3140
+ unpublished: string;
3141
+ enabled: string;
3142
+ disabled: string;
3143
+ };
3144
+ idWasCopied: string;
3145
+ textWasCopied: string;
3146
+ };
3147
+ button: {
3148
+ create: string;
3149
+ createAndClose: string;
3150
+ save: string;
3151
+ saveAndClose: string;
3152
+ close: string;
3153
+ edit: string;
3154
+ submitFilter: string;
3155
+ resetFilter: string;
3156
+ advancedFilters: string;
3157
+ cancel: string;
3158
+ delete: string;
3159
+ id: string;
3160
+ now: string;
3161
+ logout: string;
3162
+ confirm: string;
3163
+ copyId: string;
3164
+ add: string;
3165
+ download: string;
3166
+ Upload: string;
3167
+ };
3168
+ model: {
3169
+ boolean: {
3170
+ true: string;
3171
+ false: string;
3172
+ };
3173
+ tracking: {
3174
+ createdAt: string;
3175
+ modifiedAt: string;
3176
+ created: string;
3177
+ modified: string;
3178
+ };
3179
+ };
3180
+ system: {
3181
+ version: string;
3182
+ newVersionText: string;
3183
+ newVersionReload: string;
3184
+ theme: {
3185
+ light: string;
3186
+ dark: string;
3187
+ auto: string;
3188
+ };
3189
+ datatable: {
3190
+ displayCols: string;
3191
+ itemsPerPage: string;
3192
+ from: string;
3193
+ noDataText: string;
3194
+ };
3195
+ modal: {
3196
+ confirmDelete: string;
3197
+ hide: string;
3198
+ show: string;
3199
+ };
3200
+ };
3201
+ anzuUser: {
3202
+ meta: {
3203
+ detail: string;
3204
+ list: string;
3205
+ edit: string;
3206
+ create: string;
3207
+ };
3208
+ model: {
3209
+ id: string;
3210
+ enabled: string;
3211
+ email: string;
3212
+ roles: string;
3213
+ permissionGroups: string;
3214
+ permissions: string;
3215
+ };
3216
+ filter: {
3217
+ id: string;
3218
+ enabled: string;
3219
+ email: string;
3220
+ };
3221
+ table: {
3222
+ grants: string;
3223
+ permissions: string;
3224
+ resolvedPermissions: string;
3225
+ noPermissions: string;
3226
+ };
3227
+ };
3228
+ job: {
3229
+ meta: {
3230
+ detail: string;
3231
+ list: string;
3232
+ create: string;
3233
+ };
3234
+ model: {
3235
+ id: string;
3236
+ _resourceName: string;
3237
+ status: string;
3238
+ startedAt: string;
3239
+ finishedAt: string;
3240
+ result: string;
3241
+ targetUserId: string;
3242
+ anonymizeUser: string;
3243
+ };
3244
+ jobResource: {
3245
+ jobUserDataDelete: string;
3246
+ };
3247
+ status: {
3248
+ waiting: string;
3249
+ processing: string;
3250
+ awaitingBatchProcess: string;
3251
+ done: string;
3252
+ error: string;
3253
+ };
3254
+ };
3255
+ log: {
3256
+ meta: {
3257
+ detail: string;
3258
+ list: string;
3259
+ };
3260
+ system: string;
3261
+ filter: {
3262
+ system: string;
3263
+ type: string;
3264
+ levelName: string;
3265
+ id: string;
3266
+ contextId: string;
3267
+ userId: string;
3268
+ datetimeFrom: string;
3269
+ datetimeTo: string;
3270
+ message: string;
3271
+ appVersion: string;
3272
+ };
3273
+ model: {
3274
+ id: string;
3275
+ datetime: string;
3276
+ levelName: string;
3277
+ message: string;
3278
+ context: {
3279
+ appVersion: string;
3280
+ requestOriginAppVersion: string;
3281
+ contextId: string;
3282
+ userId: string;
3283
+ ip: string;
3284
+ content: string;
3285
+ response: string;
3286
+ path: string;
3287
+ httpStatus: string;
3288
+ };
3289
+ };
3290
+ };
3291
+ permission: {
3292
+ table: {
3293
+ actions: string;
3294
+ permissions: string;
3295
+ };
3296
+ grant: {
3297
+ allow: string;
3298
+ allowOwner: string;
3299
+ deny: string;
3300
+ };
3301
+ grantOrigin: {
3302
+ role: string;
3303
+ group: string;
3304
+ user: string;
3305
+ defaultGrant: string;
3306
+ };
3307
+ };
3308
+ permissionGroup: {
3309
+ meta: {
3310
+ detail: string;
3311
+ list: string;
3312
+ create: string;
3313
+ edit: string;
3314
+ };
3315
+ model: {
3316
+ id: string;
3317
+ title: string;
3318
+ description: string;
3319
+ permissions: string;
3320
+ };
3321
+ filter: {
3322
+ id: string;
3323
+ title: string;
3324
+ };
3325
+ button: {
3326
+ deleteConfirm: string;
3327
+ };
3328
+ };
3329
+ };
3330
+ };
3331
+
3332
+ export declare function modifyLanguageSettings(configAvailableLanguages: LanguageCode[], configDefaultLanguage: LanguageCode): {
3333
+ addMessages: (language: LanguageCode, messages: any) => void;
3334
+ initializeLanguage: () => void;
3335
+ currentLanguageCode: Readonly<Ref_2<LanguageCode | "default">>;
3336
+ setLanguage: (code: LanguageCode) => false | LanguageCode;
3337
+ allLanguages: Language[];
3338
+ };
1600
3339
 
1601
3340
  export declare const NEW_LINE_MARK = "\n";
1602
3341
 
1603
- export declare const newDateNow: () => Date;
3342
+ export declare const numberToString: (value: number) => string;
1604
3343
 
1605
- /**
1606
- * Slot names with dots are not valid, Vue takes dots as modifiers, so we must replace dots with dash.
1607
- */
1608
- export declare const normalizeForSlotName: (name: string) => string;
3344
+ export declare const objectDeepFreeze: <T>(obj: T) => Readonly<T>;
3345
+
3346
+ export declare function objectDeletePropertyByPath<T>(obj: T, path: string, splitChar?: string): T;
3347
+
3348
+ export declare const objectGetValueByPath: (obj: any, path: string, splitChar?: string) => any;
3349
+
3350
+ export declare const objectGetValues: <T>(obj: {
3351
+ [key: string]: T;
3352
+ }) => T[];
3353
+
3354
+ export declare const objectSetValueByPath: (obj: any, path: string, value: any, splitChar?: string) => void;
1609
3355
 
1610
3356
  export declare interface OwnerAware {
1611
3357
  owners: IntegerId[];
@@ -1671,43 +3417,68 @@ export declare type PermissionTranslationGroup = 'subjects' | 'actions' | 'roles
1671
3417
 
1672
3418
  export declare type PluginOptions<T extends AclValue = AclValue> = {
1673
3419
  currentUser: CurrentUserType;
3420
+ languages: {
3421
+ available: LanguageCode[];
3422
+ default: LanguageCode;
3423
+ };
1674
3424
  customAclResolver?: CustomAclResolver<T>;
1675
- i18n: I18n;
1676
3425
  };
1677
3426
 
1678
3427
  export declare const prettyBytes: (bytes: number, decimals?: number) => string;
1679
3428
 
1680
- export declare const prettyDateTime: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
1681
-
1682
3429
  declare type RecordWasType = 'created' | 'deleted' | 'updated' | 'published' | 'unpublished' | 'enabled' | 'disabled';
1683
3430
 
1684
- export declare const ROLE_SUPER_ADMIN = "ROLE_ADMIN";
3431
+ export declare interface ResourceNameSystemAware {
3432
+ _resourceName: string;
3433
+ _system: string;
3434
+ }
1685
3435
 
1686
- export declare const setValueByPath: (obj: any, path: string, value: any, splitChar?: string) => void;
3436
+ export declare const ROLE_SUPER_ADMIN = "ROLE_ADMIN";
1687
3437
 
1688
3438
  /**
1689
- * Use only for objects with some primitives like number, string, boolean, null. Not supported: function, undefined, symbol, ...
3439
+ * Slot names with dots are not valid, Vue takes dots as modifiers, so we must replace dots with dash.
1690
3440
  */
1691
- export declare const simpleCloneObject: <T>(object: T) => T;
1692
-
1693
- export declare const slugify: (value: string) => string;
3441
+ export declare const stringNormalizeForSlotName: (name: string) => string;
1694
3442
 
1695
- export declare const splitOnFirstOccurrence: (value: string, delimiter?: string) => {
3443
+ export declare const stringSplitOnFirstOccurrence: (value: string, delimiter?: string) => {
1696
3444
  start: string;
1697
3445
  end: string;
1698
3446
  };
1699
3447
 
3448
+ export declare const stringToFloat: (value: any, fallbackValue?: number) => number;
3449
+
3450
+ export declare const stringToInt: (value: any, fallbackValue?: number) => number;
3451
+
3452
+ export declare const stringToKebabCase: <T extends string>(value: T) => Kebab<T, "">;
3453
+
3454
+ export declare const stringToSlug: (value: string) => string;
3455
+
3456
+ export declare const stringTrimLength: (value: string, maxLength?: number) => string;
3457
+
3458
+ /**
3459
+ * Converts colon parameters to real values.
3460
+ *
3461
+ * @param template url containing colon parameters, example: '/:id/edit'
3462
+ * @param params object containing real values to be replaced, example: { id:5 }
3463
+ */
3464
+ export declare const stringUrlTemplateReplace: (template: string, params: UrlParams) => string;
3465
+
1700
3466
  export declare const SubjectScopeSymbol: InjectionKey<string>;
1701
3467
 
1702
3468
  export declare const SystemScopeSymbol: InjectionKey<string>;
1703
3469
 
1704
- export declare const toFloat: (value: any, fallbackValue?: number) => number;
1705
-
1706
- export declare const toInt: (value: any, fallbackValue?: number) => number;
3470
+ declare enum Theme {
3471
+ Light = "light",
3472
+ Dark = "dark"
3473
+ }
1707
3474
 
1708
- export declare const toKebabCase: <T extends string>(value: T) => Kebab<T, "">;
3475
+ declare enum ThemeSettings {
3476
+ Light = "light",
3477
+ Dark = "dark",
3478
+ Auto = "auto"
3479
+ }
1709
3480
 
1710
- export declare const trimLength: (value: string, maxLength?: number) => string;
3481
+ export declare const timestampCurrent: () => number;
1711
3482
 
1712
3483
  declare type UrlParams = {
1713
3484
  [key: string]: number | string;
@@ -1738,6 +3509,21 @@ export declare function useAnzuUserFactory(system?: string, resourceName?: strin
1738
3509
  createAnzuUser: (system?: string, resourceName?: string) => AnzuUser;
1739
3510
  };
1740
3511
 
3512
+ /**
3513
+ * Docs: /doc/Admin-Cms-Doc/Filters.md
3514
+ */
3515
+ export declare function useApiQueryBuilder(): {
3516
+ querySetLimit: (value: number) => void;
3517
+ querySetOffset: (page: number, limit: number) => void;
3518
+ querySetOrder: (field: string | null, desc: boolean) => void;
3519
+ queryAddFilter: (filterVariant: FilterVariant, field: string, value: string | number | boolean) => void;
3520
+ querySetFilters: (filterBag: FilterBag) => void;
3521
+ queryAdd: (key: string, value: any) => void;
3522
+ queryBuild: () => string;
3523
+ };
3524
+
3525
+ export declare function useDatatableColumns(config: DatatableColumnConfig[]): UseTableColumns;
3526
+
1741
3527
  export declare function useErrorHandler(): {
1742
3528
  handleError: (error: unknown) => void;
1743
3529
  handleValidationError: (error: Error_2, system?: string, entity?: string) => void;
@@ -1772,6 +3558,8 @@ export declare function useGrantOrigin(): {
1772
3558
  getGrantOriginOption: (value: GrantOrigin) => ValueObjectOption<GrantOrigin>;
1773
3559
  };
1774
3560
 
3561
+ export { useI18n }
3562
+
1775
3563
  export declare function useJobApi<JobType extends Job = Job>(client: () => AxiosInstance, system: string): {
1776
3564
  fetchJobList: (pagination: Pagination, filterBag: FilterBag) => Promise<JobType[]>;
1777
3565
  fetchJob: (id: number) => Promise<JobType>;
@@ -1799,6 +3587,25 @@ export declare function useJobStatus(): {
1799
3587
  getJobStatusOption: (value: JobStatus) => ValueObjectOption<JobStatus>;
1800
3588
  };
1801
3589
 
3590
+ export declare function useLanguageSettings(): {
3591
+ currentLanguageCode: Readonly<Ref_2<LanguageCode | "default">>;
3592
+ };
3593
+
3594
+ export declare function useLogLevel(): {
3595
+ logLevelOptions: Ref_2<{
3596
+ value: LogLevel;
3597
+ title: string;
3598
+ color?: string | undefined;
3599
+ active?: false | undefined;
3600
+ }[]>;
3601
+ getLogLevelOption: (value: LogLevel) => {
3602
+ value: LogLevel;
3603
+ title: string;
3604
+ color?: string | undefined;
3605
+ active?: false | undefined;
3606
+ } | undefined;
3607
+ };
3608
+
1802
3609
  export declare function usePagination(): {
1803
3610
  sortBy: string | null;
1804
3611
  descending: boolean;
@@ -1822,25 +3629,92 @@ export declare function usePermissionGroupFactory(): {
1822
3629
  createPermissionGroup: () => PermissionGroup;
1823
3630
  };
1824
3631
 
1825
- /**
1826
- * Docs: /doc/Admin-Cms-Doc/Filters.md
1827
- */
1828
- export declare function useQueryBuilder(): {
1829
- querySetLimit: (value: number) => void;
1830
- querySetOffset: (page: number, limit: number) => void;
1831
- querySetOrder: (field: string | null, desc: boolean) => void;
1832
- queryAddFilter: (filterVariant: FilterVariant, field: string, value: string | number | boolean) => void;
1833
- querySetFilters: (filterBag: FilterBag) => void;
1834
- queryAdd: (key: string, value: any) => void;
1835
- queryBuild: () => string;
3632
+ declare interface UseTableColumns {
3633
+ availableColumns: Ref_2<DatatableColumnConfig[]>;
3634
+ get: (name: string) => DatatableColumnConfig | undefined;
3635
+ }
3636
+
3637
+ export declare function useTheme(): {
3638
+ settings: Readonly<Ref_2<ThemeSettings>>;
3639
+ theme: Readonly<Ref_2<Theme>>;
3640
+ toolbarColor: Readonly<Ref_2<"white" | "#1A1A1A">>;
3641
+ toggleTheme: () => void;
3642
+ setThemeAuto: () => void;
3643
+ setThemeDark: () => void;
3644
+ setThemeLight: () => void;
1836
3645
  };
1837
3646
 
1838
- declare interface UseTableColumns {
1839
- availableColumns: Ref_2<ColumnConfig[]>;
1840
- get: (name: string) => ColumnConfig | undefined;
3647
+ export declare function useValidateBetween(): (min: number | Ref_2<number>, max: number | Ref_2<number>) => ValidationRuleWithParams<{
3648
+ min: number;
3649
+ max: number;
3650
+ }, any>;
3651
+
3652
+ export declare function useValidateEmail(): ValidationRuleWithoutParams<any>;
3653
+
3654
+ export declare function useValidateLatitude(): any;
3655
+
3656
+ export declare function useValidateLatitudeNotZeroAsLongitude(): (value: string, siblings: {
3657
+ longitudeText: Ref_2<string>;
3658
+ }, vm: {
3659
+ required: boolean;
3660
+ }) => boolean;
3661
+
3662
+ export declare function useValidateLongitude(): any;
3663
+
3664
+ export declare function useValidateLongitudeNotZeroAsLatitude(): (value: string, siblings: {
3665
+ latitudeText: Ref_2<string>;
3666
+ }, vm: {
3667
+ required: boolean;
3668
+ }) => boolean;
3669
+
3670
+ export declare function useValidateMaxLength(): (max: number | Ref_2<number>) => ValidationRuleWithParams<{
3671
+ max: number;
3672
+ }, any>;
3673
+
3674
+ export declare function useValidateMaxValue(): (max: string | number | Ref_2<number> | Ref_2<string>) => ValidationRuleWithParams<{
3675
+ max: number;
3676
+ }, any>;
3677
+
3678
+ export declare function useValidateMinLength(): (min: number | Ref_2<number>) => ValidationRuleWithParams<{
3679
+ min: number;
3680
+ }, any>;
3681
+
3682
+ export declare function useValidateMinValue(): (min: string | number | Ref_2<number> | Ref_2<string>) => ValidationRuleWithParams<{
3683
+ min: number;
3684
+ }, any>;
3685
+
3686
+ export declare function useValidateNumeric(): ValidationRuleWithoutParams<any>;
3687
+
3688
+ export declare function useValidatePhoneNumber(): any;
3689
+
3690
+ export declare function useValidateRequired(): ValidationRuleWithoutParams<any>;
3691
+
3692
+ export declare function useValidateRequiredIf(): (prop: string | boolean | Ref_2<boolean> | (() => boolean | Promise<boolean>)) => ValidationRuleWithoutParams<any>;
3693
+
3694
+ export declare function useValidateSlug(): any;
3695
+
3696
+ export declare function useValidateStringArrayItemLength(): (min: number, max: number) => {
3697
+ $validator: (value: string[]) => boolean;
3698
+ $params: {
3699
+ min: number;
3700
+ max: number;
3701
+ type: string;
3702
+ };
3703
+ };
3704
+
3705
+ export declare function useValidateUrl(): ValidationRuleWithoutParams<any>;
3706
+
3707
+ export declare interface ValidationResponseData {
3708
+ contextId: string;
3709
+ error: string;
3710
+ fields: ValidationResponseDataFields;
3711
+ }
3712
+
3713
+ declare interface ValidationResponseDataFields {
3714
+ [key: string]: string[];
1841
3715
  }
1842
3716
 
1843
- export declare function useTableColumns(config: ColumnConfig[]): UseTableColumns;
3717
+ export declare type ValidationScope = string | number | boolean | symbol | undefined;
1844
3718
 
1845
3719
  export declare interface ValueObjectOption<T> {
1846
3720
  value: T;