@addsign/moje-agenda-shared-lib 1.0.60 → 2.0.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.
Files changed (128) hide show
  1. package/dist/Dialog-DZMfjbGC.js +421 -0
  2. package/dist/Dialog-DZMfjbGC.js.map +1 -0
  3. package/dist/assets/style.css +4369 -0
  4. package/dist/assets/tailwind.css +1365 -1193
  5. package/dist/check-B7dJm08z.js +12 -0
  6. package/dist/check-B7dJm08z.js.map +1 -0
  7. package/dist/components/Button.js +1 -1
  8. package/dist/components/datatable/DataTable.js +6 -2
  9. package/dist/components/datatable/DataTable.js.map +1 -1
  10. package/dist/components/datatable/DataTableServer.js +6 -2
  11. package/dist/components/datatable/DataTableServer.js.map +1 -1
  12. package/dist/components/form/AutocompleteSearchBar.js +6 -2
  13. package/dist/components/form/AutocompleteSearchBar.js.map +1 -1
  14. package/dist/components/form/AutocompleteSearchBarServer.js +6 -2
  15. package/dist/components/form/AutocompleteSearchBarServer.js.map +1 -1
  16. package/dist/components/form/FileInput.js +7 -3
  17. package/dist/components/form/FileInput.js.map +1 -1
  18. package/dist/components/form/FileInputMultiple.js +7 -3
  19. package/dist/components/form/FileInputMultiple.js.map +1 -1
  20. package/dist/components/form/FormField.js +6 -2
  21. package/dist/components/form/FormField.js.map +1 -1
  22. package/dist/components/form/PositionsSelectorSingle.js +6 -2
  23. package/dist/components/form/PositionsSelectorSingle.js.map +1 -1
  24. package/dist/components/form/SelectField.js +6 -2
  25. package/dist/components/form/SelectField.js.map +1 -1
  26. package/dist/components/profiles/ProfileOverview.js +6 -2
  27. package/dist/components/profiles/ProfileOverview.js.map +1 -1
  28. package/dist/components/ui/Combobox.d.ts +1 -0
  29. package/dist/components/ui/Combobox.js +138 -0
  30. package/dist/components/ui/Combobox.js.map +1 -0
  31. package/dist/components/ui/DateTimePicker.js +19 -5
  32. package/dist/components/ui/DateTimePicker.js.map +1 -1
  33. package/dist/components/ui/Dialog.js +15 -413
  34. package/dist/components/ui/Dialog.js.map +1 -1
  35. package/dist/components/ui/ScrollArea.js +2 -1
  36. package/dist/components/ui/ScrollArea.js.map +1 -1
  37. package/dist/components/ui/command.d.ts +80 -0
  38. package/dist/components/ui/command.js +643 -0
  39. package/dist/components/ui/command.js.map +1 -0
  40. package/dist/components/ui/datepicker.js +14 -1
  41. package/dist/components/ui/datepicker.js.map +1 -1
  42. package/dist/components/ui/popover.js +3 -2
  43. package/dist/components/ui/popover.js.map +1 -1
  44. package/dist/components/ui/radioGroup.d.ts +5 -0
  45. package/dist/components/ui/radioGroup.js +586 -0
  46. package/dist/components/ui/radioGroup.js.map +1 -0
  47. package/dist/components/ui/select.js +9 -144
  48. package/dist/components/ui/select.js.map +1 -1
  49. package/dist/index-BXrwe-_7.js +1395 -0
  50. package/dist/index-BXrwe-_7.js.map +1 -0
  51. package/dist/index-Bk8dRTPE.js +11 -0
  52. package/dist/index-Bk8dRTPE.js.map +1 -0
  53. package/dist/index-BlzC-wss.js +140 -0
  54. package/dist/index-BlzC-wss.js.map +1 -0
  55. package/dist/index-Bp9GiUkg.js +2266 -0
  56. package/dist/index-Bp9GiUkg.js.map +1 -0
  57. package/dist/index-BzVVosDl.js +57 -0
  58. package/dist/index-BzVVosDl.js.map +1 -0
  59. package/dist/index-CbAQSs_C.js +40 -0
  60. package/dist/index-CbAQSs_C.js.map +1 -0
  61. package/dist/index-Dz_fWpFA.js +2203 -0
  62. package/dist/index-Dz_fWpFA.js.map +1 -0
  63. package/dist/index-IXOTxK3N.js +7 -0
  64. package/dist/index-IXOTxK3N.js.map +1 -0
  65. package/dist/main.d.ts +3 -0
  66. package/dist/main.js +29 -12
  67. package/dist/main.js.map +1 -1
  68. package/dist/parse-D2yb8751.js +1727 -0
  69. package/dist/parse-D2yb8751.js.map +1 -0
  70. package/dist/tailwind-l0sNRNKZ.js +2 -0
  71. package/dist/tailwind-l0sNRNKZ.js.map +1 -0
  72. package/lib/components/Button.tsx +57 -0
  73. package/lib/components/Calendar.tsx +242 -0
  74. package/lib/components/ConfirmationModalDialog.tsx +115 -0
  75. package/lib/components/Modal.tsx +73 -0
  76. package/lib/components/ModalDialog.tsx +63 -0
  77. package/lib/components/Spinner.tsx +25 -0
  78. package/lib/components/SpinnerIcon.tsx +12 -0
  79. package/lib/components/datatable/DataTable.tsx +442 -0
  80. package/lib/components/datatable/DataTableServer.tsx +939 -0
  81. package/lib/components/datatable/DatatableSettings.tsx +48 -0
  82. package/lib/components/datatable/Resizable.tsx +99 -0
  83. package/lib/components/datatable/types.ts +33 -0
  84. package/lib/components/form/AutocompleteSearchBar.tsx +424 -0
  85. package/lib/components/form/AutocompleteSearchBarServer.tsx +257 -0
  86. package/lib/components/form/DateField.tsx +124 -0
  87. package/lib/components/form/DateRangeField.tsx +116 -0
  88. package/lib/components/form/FileInput.tsx +188 -0
  89. package/lib/components/form/FileInputMultiple.tsx +186 -0
  90. package/lib/components/form/FormField.tsx +371 -0
  91. package/lib/components/form/InputField.tsx +230 -0
  92. package/lib/components/form/PositionsSelectorSingle.tsx +266 -0
  93. package/lib/components/form/RadioGroup.tsx +64 -0
  94. package/lib/components/form/SelectField.tsx +267 -0
  95. package/lib/components/layout/IconInCircle.tsx +29 -0
  96. package/lib/components/layout/PageTitle.tsx +19 -0
  97. package/lib/components/layout/SectionTitle.tsx +22 -0
  98. package/lib/components/profiles/ProfileOverview.tsx +212 -0
  99. package/lib/components/ui/Calendar.tsx +68 -0
  100. package/lib/components/ui/Combobox.tsx +122 -0
  101. package/lib/components/ui/DatePicker.tsx +124 -0
  102. package/lib/components/ui/DateTimePicker.tsx +187 -0
  103. package/lib/components/ui/Dialog.tsx +118 -0
  104. package/lib/components/ui/ScrollArea.tsx +45 -0
  105. package/lib/components/ui/button.tsx +56 -0
  106. package/lib/components/ui/command.tsx +153 -0
  107. package/lib/components/ui/form.tsx +177 -0
  108. package/lib/components/ui/input.tsx +22 -0
  109. package/lib/components/ui/label.tsx +24 -0
  110. package/lib/components/ui/popover.tsx +31 -0
  111. package/lib/components/ui/radioGroup.tsx +44 -0
  112. package/lib/components/ui/select.tsx +158 -0
  113. package/lib/contexts/FederationContext.tsx +28 -0
  114. package/lib/contexts/useFederationContext.ts +4 -0
  115. package/lib/css/tailwind.css +10 -0
  116. package/lib/fonts/arial.ts +3 -0
  117. package/lib/fonts/arialBold.ts +4 -0
  118. package/lib/main.ts +64 -0
  119. package/lib/types.ts +492 -0
  120. package/lib/utils/PdfManager.ts +224 -0
  121. package/lib/utils/getFullName.tsx +83 -0
  122. package/lib/utils/getIntersectingDays.ts +28 -0
  123. package/lib/utils/handleErrors.ts +28 -0
  124. package/lib/utils/hasRightInModule.ts +17 -0
  125. package/lib/utils/hasRole.ts +12 -0
  126. package/lib/utils/utils.ts +6 -0
  127. package/lib/vite-env.d.ts +1 -0
  128. package/package.json +5 -2
package/lib/main.ts ADDED
@@ -0,0 +1,64 @@
1
+ import "./css/tailwind.css";
2
+
3
+ export { default as Button } from "./components/Button.tsx";
4
+ export { default as AutocompleteSearchBar } from "./components/form/AutocompleteSearchBar.tsx";
5
+ export { default as AutocompleteSearchBarServer } from "./components/form/AutocompleteSearchBarServer.tsx";
6
+ export { default as FormField } from "./components/form/FormField.tsx";
7
+ export { default as InputField } from "./components/form/InputField.tsx";
8
+ export { default as SelectField } from "./components/form/SelectField.tsx";
9
+ export { default as RadioGroup } from "./components/form/RadioGroup.tsx";
10
+
11
+ export { default as FileInput } from "./components/form/FileInput.tsx";
12
+ export { default as FileInputMultiple } from "./components/form/FileInputMultiple.tsx";
13
+
14
+
15
+
16
+ export { default as SectionTitle } from "./components/layout/SectionTitle.tsx";
17
+ export { default as PageTitle } from "./components/layout/PageTitle.tsx";
18
+ export { default as Spinner } from "./components/Spinner.tsx";
19
+ export { default as ConfirmationModalDialog } from "./components/ConfirmationModalDialog.tsx";
20
+ export { default as ModalDialog } from "./components/ModalDialog.tsx";
21
+ export { default as Modal } from "./components/Modal.tsx";
22
+
23
+ export { default as PositionsSelectorSingle } from "./components/form/PositionsSelectorSingle.tsx";
24
+ export { default as Calendar } from "./components/Calendar.tsx";
25
+ export { default as DataTable } from "./components/datatable/DataTable.tsx";
26
+ export {
27
+ default as DataTableServer,
28
+ resetAllDataTablePaging,
29
+ } from "./components/datatable/DataTableServer.tsx";
30
+
31
+ export { default as DateRangeField } from "./components/form/DateRangeField.tsx";
32
+ export { default as DateField } from "./components/form/DateField.tsx";
33
+ export { default as SpinnerIcon } from "./components/SpinnerIcon.tsx";
34
+ export { default as PdfManager } from "./utils/PdfManager.ts";
35
+
36
+ export * from "./components/datatable/types.ts";
37
+
38
+ export * from "./contexts/FederationContext.tsx";
39
+ export * from "./contexts/useFederationContext.ts";
40
+
41
+ export * from "./utils/getFullName.tsx";
42
+ export * from "./utils/getIntersectingDays.ts";
43
+ export * from "./utils/handleErrors.ts";
44
+ export * from "./utils/hasRightInModule.ts";
45
+ export * from "./utils/hasRole.ts";
46
+
47
+ export * from "./types.ts";
48
+
49
+
50
+ //**SHADCN */
51
+
52
+ export * from "./components/ui/Dialog.tsx";
53
+ export * from "./components/ui/ScrollArea.tsx";
54
+ export * from "./components/ui/input.tsx";
55
+ export * from "./components/ui/form.tsx";
56
+ export * from "./components/ui/radioGroup.tsx";
57
+ export * from "./components/ui/command.tsx";
58
+ export * from "./components/ui/Combobox.tsx";
59
+
60
+
61
+
62
+ export { Calendar as CalendarCn } from "./components/ui/Calendar.tsx";
63
+ export { default as DateTimePicker } from "./components/ui/DateTimePicker.tsx";
64
+ export { default as DatePicker } from "./components/ui/DatePicker.tsx";
package/lib/types.ts ADDED
@@ -0,0 +1,492 @@
1
+ import { AxiosInstance } from "axios";
2
+ import { Emitter } from "mitt";
3
+
4
+
5
+ import { UseFormReturn } from "react-hook-form";
6
+
7
+ export interface IUserInfo {
8
+ contractGroup: number;
9
+ degreeAfter: string;
10
+ degreeBefore: string;
11
+ departmentId: string;
12
+ departmentName: string;
13
+ departmentNameLong: string;
14
+ email: string;
15
+ employeeId: number;
16
+ firstName: string;
17
+ lastName: string;
18
+ positionName: string;
19
+ positionNumber: string;
20
+ userId: string;
21
+ }
22
+ export interface IBuilding {
23
+ buildingId: string;
24
+ nameFull: string;
25
+
26
+ }export interface IBuildingLOV {
27
+ buildingId: string;
28
+ name: string;
29
+ ofsId?: number;
30
+
31
+ }
32
+ export interface IEmployee extends IUserInfo {
33
+
34
+ deleted: boolean
35
+ hasComputer: string
36
+ language: string
37
+ manager: string
38
+ parentFrId: number
39
+ positionId: number
40
+ validFrom: string
41
+ validTo: string
42
+ contractType: number
43
+ exemption: number
44
+ activatedOn: string
45
+ building?: IBuilding | null
46
+ }
47
+
48
+ export interface IAuthApp {
49
+ name: string;
50
+ label: string;
51
+ roles: string[];
52
+ }
53
+
54
+ export type IAuthApps = IAuthApp[];
55
+
56
+ export interface IEventMessage {
57
+ title?: string;
58
+ message?: string;
59
+ timeout?: number;
60
+ classes?: string;
61
+ }
62
+
63
+ export type Events = {
64
+ message?: IEventMessage;
65
+ loading?: boolean;
66
+ };
67
+
68
+ export interface IContextValue {
69
+ userInfo: IUserInfo;
70
+ apiClient: AxiosInstance;
71
+ authApps: IAuthApps;
72
+ emitter: Emitter<Events>;
73
+ isAdminApp?: boolean;
74
+ }
75
+ export interface IOptionItem {
76
+ value: string | number | null;
77
+ label: string;
78
+ description?: string;
79
+ }
80
+
81
+ export type IFormProps = {
82
+ formName: string;
83
+ entityId: string;
84
+ entityName: string;
85
+ context: IContextValue;
86
+ onSuccess: (path: string, message?: string) => void;
87
+ };
88
+ export type IListProps = {
89
+ id?: string;
90
+ listName: string;
91
+ filters: object; //{ [key: string]: any };
92
+ context: IContextValue;
93
+ title?: string;
94
+ };
95
+ export type IPageProps = {
96
+ pageName: string;
97
+ context: IContextValue;
98
+ };
99
+
100
+ export type IStartProcessProps = {
101
+ context: IContextValue;
102
+
103
+ onNavigate: (path: string) => void;
104
+ };
105
+
106
+ export interface IModuleProcess {
107
+
108
+ key: string;
109
+ name: string;
110
+ description: string;
111
+ disabled?: boolean;
112
+
113
+ }
114
+ export interface IModulePage {
115
+
116
+ pageName: string;
117
+ name: string;
118
+ description: string;
119
+ disabled?: boolean;
120
+ roles?: string[];
121
+ admin?: boolean;
122
+ }
123
+ export interface IModuleSettings {
124
+
125
+ key: string;
126
+ name: string;
127
+ description: string;
128
+ disabled?: boolean;
129
+ roles?: string[];
130
+ admin?: boolean;
131
+
132
+ }
133
+
134
+ export interface IModuleConstants {
135
+
136
+ key: string
137
+ name: string
138
+ processes: IModuleProcess[],
139
+ reports?: IModulePage[],
140
+ pages?: IModulePage[],
141
+
142
+ }
143
+
144
+
145
+ export interface IPosition {
146
+ id: number;
147
+ departmentId: string;
148
+ positionName: string;
149
+ positionNumber: string;
150
+ manager: string;
151
+ virtual: boolean;
152
+ title: string;
153
+ }
154
+ export interface IPositionEmployee extends IPosition {
155
+ employee: IEmployee;
156
+ }
157
+ export interface IEmployeePosition extends IEmployee {
158
+ position: IPosition;
159
+ }
160
+ export type { ICalendarItem } from "./components/Calendar";
161
+
162
+
163
+ export interface ITimeOffCategoryDto {
164
+ id?: number;
165
+ name?: string;
166
+ }
167
+ export interface ITimeOffData {
168
+ id: number;
169
+ startDate: string;
170
+ endDate: string;
171
+ days?: number;
172
+ year?: number;
173
+ comment?: string;
174
+ applicant?: IEmployee;
175
+ place?: string;
176
+ leaveType?: string;
177
+ initiator?: string;
178
+ dateFromEvidence?: string;
179
+ dateToEvidence?: string;
180
+ status?: number;
181
+ statusText?: string;
182
+ timeOffCategoryDto: ITimeOffCategoryDto;
183
+ applicantContractGroup?: number;
184
+ name?: string;
185
+ daysOfEvidence?: number;
186
+ daysInStartMonth?: number;
187
+ daysInEndMonth?: number;
188
+ lastChange?: string;
189
+ created?: string;
190
+ updated?: string;
191
+ attachment?: IAttachment;
192
+ steps?: IStep[];
193
+ }
194
+
195
+ export interface IDepartment {
196
+ departmentId: string;
197
+ nameLong: string;
198
+ parentDepartmentId: string;
199
+ parentLocationId: number;
200
+ nameShort: string;
201
+ }
202
+
203
+ export interface IPageable<T> {
204
+ content: T[];
205
+ empty: boolean;
206
+ first: boolean;
207
+ last: boolean;
208
+ number: number;
209
+ numberOfElements: number;
210
+ size: number;
211
+ totalElements: number;
212
+ totalPages: number;
213
+ }
214
+
215
+
216
+ export interface IFormFieldGlobalProps {
217
+ label?: string;
218
+ description?: string;
219
+ name: string;
220
+ type?: string;
221
+ value?: any;
222
+
223
+ methods?: UseFormReturn<any>;
224
+
225
+ errors?: any;
226
+ register?: any;
227
+ disabled?: boolean;
228
+ required?: boolean;
229
+ clearable?: boolean;
230
+ placeholder?: string;
231
+ children?: React.ReactNode;
232
+ className?: string;
233
+ rounded?: boolean;
234
+ onInputChange: (
235
+ e: React.ChangeEvent<
236
+ HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement | any
237
+ >
238
+ ) => void;
239
+
240
+ onFocus?: () => void;
241
+ onBlur?: () => void;
242
+ inline?: boolean,
243
+ ref?: any;
244
+ }
245
+
246
+
247
+ export interface SysConfigHolidayEntityResponse {
248
+ "id": number,
249
+ "date": string,
250
+ "day": number,
251
+ "month": number,
252
+ "year": number,
253
+ "dayOfWeek": number
254
+ }
255
+
256
+
257
+ export interface IProfileApprover {
258
+ id: number;
259
+ role: number;
260
+ roleTxt: string;
261
+ approverOrder: number;
262
+ approver: IEmployee;
263
+ position: IPositionEmployee;
264
+ isEmployee: boolean;
265
+ ignore: boolean;
266
+ makePreapprover: boolean;
267
+ }
268
+
269
+
270
+ export enum EApproverRoles {
271
+ predschvalovatel = 10,
272
+ zastupce = 20,
273
+ zastupce9 = 30,
274
+ vedouci = 40,
275
+ vyssiSchvalovatel = 60,
276
+ vyssiSchvalovatelZastupce = 61,
277
+ vyssiSchvalovatelZastupce9 = 62,
278
+ dochazkovyVedouci = 90,
279
+ }
280
+ export enum EApproverTypes {
281
+ vyssiSchvalovatel = "vyssiSchvalovatel",
282
+ vyssiSchvalovatelZastupce = "vyssiSchvalovatelZastupce",
283
+ vyssiSchvalovatelZastupce9 = "vyssiSchvalovatelZastupce9",
284
+ vedouci = "vedouci",
285
+ zastupce9 = "zastupce9",
286
+ zastupce = "zastupce",
287
+ predschvalovatel1 = "predschvalovatel1",
288
+ predschvalovatel2 = "predschvalovatel2",
289
+ predschvalovatel3 = "predschvalovatel3",
290
+ dochazkovyVedouci = "dochazkovyVedouci",
291
+ }
292
+
293
+ export interface IAttachment {
294
+
295
+
296
+ id: number;
297
+ created: string;
298
+ createdByEmpId: string;
299
+ updated: string;
300
+ updatedByEmpId: string;
301
+ mimeType: string;
302
+ size: number;
303
+ filename: string;
304
+
305
+ }
306
+
307
+
308
+
309
+ export interface IStep {
310
+
311
+
312
+ date: string;
313
+ type: number;
314
+ comment: string;
315
+ decision: string;
316
+ employee: IEmployee;
317
+
318
+ }
319
+
320
+
321
+ export enum EDecisionsTranslations {
322
+ approved = 'Schváleno',
323
+ rejected = 'Zamítnuto',
324
+ cancelled = 'Stornováno',
325
+ evided = 'Zaevidováno',
326
+ }
327
+
328
+
329
+ export interface ProcessDefinitionDto {
330
+ /**
331
+ * The id of the process definition
332
+ *
333
+ * @type {string}
334
+ * @memberof ProcessDefinitionDto
335
+ */
336
+ id?: string | null;
337
+
338
+ /**
339
+ * The key of the process definition, i.e., the id of the BPMN 2.0 XML process definition.
340
+ *
341
+ * @type {string}
342
+ * @memberof ProcessDefinitionDto
343
+ */
344
+ key?: string | null;
345
+
346
+ /**
347
+ * The category of the process definition.
348
+ *
349
+ * @type {string}
350
+ * @memberof ProcessDefinitionDto
351
+ */
352
+ category?: string | null;
353
+
354
+ /**
355
+ * The description of the process definition.
356
+ *
357
+ * @type {string}
358
+ * @memberof ProcessDefinitionDto
359
+ */
360
+ description?: string | null;
361
+
362
+ /**
363
+ * The name of the process definition.
364
+ *
365
+ * @type {string}
366
+ * @memberof ProcessDefinitionDto
367
+ */
368
+ name?: string | null;
369
+
370
+ /**
371
+ * The version of the process definition that the engine assigned to it.
372
+ *
373
+ * @type {number}
374
+ * @memberof ProcessDefinitionDto
375
+ */
376
+ version?: number | null;
377
+
378
+ /**
379
+ * The file name of the process definition.
380
+ *
381
+ * @type {string}
382
+ * @memberof ProcessDefinitionDto
383
+ */
384
+ resource?: string | null;
385
+
386
+ /**
387
+ * The deployment id of the process definition.
388
+ *
389
+ * @type {string}
390
+ * @memberof ProcessDefinitionDto
391
+ */
392
+ deploymentId?: string | null;
393
+
394
+ /**
395
+ * The file name of the process definition diagram, if it exists.
396
+ *
397
+ * @type {string}
398
+ * @memberof ProcessDefinitionDto
399
+ */
400
+ diagram?: string | null;
401
+
402
+ /**
403
+ * A flag indicating whether the definition is suspended or not.
404
+ *
405
+ * @type {boolean}
406
+ * @memberof ProcessDefinitionDto
407
+ */
408
+ suspended?: boolean | null;
409
+
410
+ /**
411
+ * The tenant id of the process definition.
412
+ *
413
+ * @type {string}
414
+ * @memberof ProcessDefinitionDto
415
+ */
416
+ tenantId?: string | null;
417
+
418
+ /**
419
+ * The version tag of the process definition.
420
+ *
421
+ * @type {string}
422
+ * @memberof ProcessDefinitionDto
423
+ */
424
+ versionTag?: string | null;
425
+
426
+ /**
427
+ * History time to live value of the process definition. Is used within [History cleanup](https://docs.camunda.org/manual/7.20/user-guide/process-engine/history/#history-cleanup).
428
+ *
429
+ * @type {number}
430
+ * @memberof ProcessDefinitionDto
431
+ */
432
+ historyTimeToLive?: number | null;
433
+
434
+ /**
435
+ * A flag indicating whether the process definition is startable in Tasklist or not.
436
+ *
437
+ * @type {boolean}
438
+ * @memberof ProcessDefinitionDto
439
+ */
440
+ startableInTasklist?: boolean | null;
441
+ }
442
+
443
+ export interface VariableValueDto {
444
+ /**
445
+ * @type {AnyValue}
446
+ * @memberof VariableValueDto
447
+ */
448
+ value?: unknown;
449
+
450
+ /**
451
+ * The value type of the variable.
452
+ *
453
+ * @type {string}
454
+ * @memberof VariableValueDto
455
+ */
456
+ type?: string | null;
457
+
458
+ /**
459
+ * A JSON object containing additional, value-type-dependent properties. For serialized variables of type Object, the following properties can be provided: * `objectTypeName`: A string representation of the object's type name. * `serializationDataFormat`: The serialization format used to store the variable. For serialized variables of type File, the following properties can be provided: * `filename`: The name of the file. This is not the variable name but the name that will be used when downloading the file again. * `mimetype`: The MIME type of the file that is being uploaded. * `encoding`: The encoding of the file that is being uploaded. The following property can be provided for all value types: * `transient`: Indicates whether the variable should be transient or not. See [documentation](https://docs.camunda.org/manual/7.20/user-guide/process-engine/variables#transient-variables) for more informations. (Not applicable for `decision-definition`, ` /process-instance/variables-async`, and `/migration/executeAsync` endpoints)
460
+ *
461
+ * @type {{ [key: string]: any; }}
462
+ * @memberof VariableValueDto
463
+ */
464
+ valueInfo?: { [key: string]: unknown };
465
+ }
466
+
467
+
468
+
469
+ export interface FormValues {
470
+ [key: string]: VariableValueDto;
471
+ }
472
+
473
+
474
+ export enum Eagendy {
475
+ all = "Všechny",
476
+ timeoff = "Nepřítomnost",
477
+ vacatransfer = "Převod dovolené",
478
+ }
479
+ export enum Estavy {
480
+ active = "Ke zpracování",
481
+ done = "Hotové",
482
+ all = 'Všechny',
483
+ }
484
+ export enum Eassignments {
485
+ my = "Moje",
486
+ sub = "Podřízených",
487
+ all = 'Všechny',
488
+ }
489
+ export enum EEntity {
490
+ task = "Úkoly",
491
+ application = "Žádosti",
492
+ }