wcz-test 6.7.6 → 6.8.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 (141) hide show
  1. package/dist/ApprovalStatus-C9HPyMiS.js +24 -0
  2. package/dist/ApprovalStatus-C9HPyMiS.js.map +1 -0
  3. package/dist/{chunk-4UULRYGW.js → DialogsHooks-BlUsVlfv.js} +7 -14
  4. package/dist/DialogsHooks-BlUsVlfv.js.map +1 -0
  5. package/dist/{chunk-MIVD2XWB.js → FileHooks-hWKTwLCr.js} +36 -46
  6. package/dist/FileHooks-hWKTwLCr.js.map +1 -0
  7. package/dist/{chunk-TME53DAF.js → FileMeta-G1oT3mYK.js} +3 -5
  8. package/dist/FileMeta-G1oT3mYK.js.map +1 -0
  9. package/dist/{chunk-ZMWQQXZT.js → RouterListItemButton-Cx7rXEfm.js} +6 -8
  10. package/dist/RouterListItemButton-Cx7rXEfm.js.map +1 -0
  11. package/dist/android-chrome-192x192.png +0 -0
  12. package/dist/android-chrome-512x512.png +0 -0
  13. package/dist/apple-touch-icon.png +0 -0
  14. package/dist/auth-client-D9snEe6B.js +79 -0
  15. package/dist/auth-client-D9snEe6B.js.map +1 -0
  16. package/dist/client-utils.d.ts +3 -702
  17. package/dist/client-utils.js +7 -17
  18. package/dist/client-utils.js.map +1 -1
  19. package/dist/components/core/AppTitle.d.ts +2 -0
  20. package/dist/components/core/Fullscreen.d.ts +3 -0
  21. package/dist/components/core/Layout.d.ts +8 -0
  22. package/dist/components/core/ToolbarAccount.d.ts +2 -0
  23. package/dist/components/core/TypographyWithIcon.d.ts +7 -0
  24. package/dist/components/core/navigation/NavigationList.d.ts +22 -0
  25. package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
  26. package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
  27. package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
  28. package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
  29. package/dist/components/file/Dropzone.d.ts +8 -0
  30. package/dist/components/file/FileViewer.d.ts +20 -0
  31. package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
  32. package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
  33. package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
  34. package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
  35. package/dist/components/form/FormAutocomplete.d.ts +7 -0
  36. package/dist/components/form/FormCheckbox.d.ts +7 -0
  37. package/dist/components/form/FormDatePicker.d.ts +8 -0
  38. package/dist/components/form/FormDateRangePicker.d.ts +8 -0
  39. package/dist/components/form/FormDateTimePicker.d.ts +8 -0
  40. package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
  41. package/dist/components/form/FormNumberField.d.ts +9 -0
  42. package/dist/components/form/FormRadioGroup.d.ts +13 -0
  43. package/dist/components/form/FormSlider.d.ts +7 -0
  44. package/dist/components/form/FormSubmitButton.d.ts +4 -0
  45. package/dist/components/form/FormSwitch.d.ts +7 -0
  46. package/dist/components/form/FormTextField.d.ts +7 -0
  47. package/dist/components/form/FormTimePicker.d.ts +8 -0
  48. package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
  49. package/dist/components/router/RouterButton.d.ts +6 -0
  50. package/dist/components/router/RouterError.d.ts +7 -0
  51. package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
  52. package/dist/components/router/RouterIconButton.d.ts +6 -0
  53. package/dist/components/router/RouterLink.d.ts +6 -0
  54. package/dist/components/router/RouterListItemButton.d.ts +6 -0
  55. package/dist/components/router/RouterNotFound.d.ts +1 -0
  56. package/dist/components/router/RouterTab.d.ts +6 -0
  57. package/dist/components.d.ts +14 -89
  58. package/dist/components.js +124 -227
  59. package/dist/components.js.map +1 -1
  60. package/dist/contexts/DialogsContext.d.ts +6 -0
  61. package/dist/contexts/FileContext.d.ts +13 -0
  62. package/dist/env-CoxTjaDr.js +27 -0
  63. package/dist/env-CoxTjaDr.js.map +1 -0
  64. package/dist/env.d.ts +10 -0
  65. package/dist/favicon-16x16.png +0 -0
  66. package/dist/favicon-32x32.png +0 -0
  67. package/dist/favicon.ico +0 -0
  68. package/dist/favicon.png +0 -0
  69. package/dist/hooks/DialogsHooks.d.ts +42 -0
  70. package/dist/hooks/FormHooks.d.ts +52 -0
  71. package/dist/hooks/ThemeHook.d.ts +4 -0
  72. package/dist/hooks.d.ts +3 -159
  73. package/dist/hooks.js +56 -121
  74. package/dist/hooks.js.map +1 -1
  75. package/dist/index.d.ts +3 -36
  76. package/dist/index.js +173 -1882
  77. package/dist/index.js.map +1 -1
  78. package/dist/lib/auth/auth-client.d.ts +688 -0
  79. package/dist/lib/auth/auth.d.ts +24 -0
  80. package/dist/lib/db/index.d.ts +4 -0
  81. package/dist/lib/db/schemas/auth.d.ts +606 -0
  82. package/dist/{utils-ChipkRJ9.d.ts → lib/utils.d.ts} +11 -10
  83. package/dist/lib/vite-plugin.d.ts +2 -0
  84. package/dist/manifest.webmanifest +18 -0
  85. package/dist/models/Navigation.d.ts +18 -0
  86. package/dist/models/User.d.ts +8 -0
  87. package/dist/models/approval/Approval.d.ts +177 -0
  88. package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
  89. package/dist/models/approval/ApprovalFlow.d.ts +49 -0
  90. package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
  91. package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
  92. package/dist/models/approval/ApprovalStatus.d.ts +9 -0
  93. package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
  94. package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
  95. package/dist/models/email/Email.d.ts +13 -0
  96. package/dist/models/email/EmailAttachment.d.ts +6 -0
  97. package/dist/models/file/FileActions.d.ts +6 -0
  98. package/dist/{FileMeta-CC014fnB.d.ts → models/file/FileMeta.d.ts} +3 -6
  99. package/dist/models/peoplesoft/Department.d.ts +58 -0
  100. package/dist/models/peoplesoft/Employee.d.ts +46 -0
  101. package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
  102. package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
  103. package/dist/models.d.ts +25 -161
  104. package/dist/models.js +109 -160
  105. package/dist/models.js.map +1 -1
  106. package/dist/providers/DialogsProvider.d.ts +6 -0
  107. package/dist/providers/LayoutProvider.d.ts +11 -0
  108. package/dist/queries/Approval.d.ts +585 -0
  109. package/dist/queries/ApprovalHooks.d.ts +315 -0
  110. package/dist/queries/FileHooks.d.ts +151 -0
  111. package/dist/queries/PeopleSoftHooks.d.ts +537 -0
  112. package/dist/queries.d.ts +4 -1585
  113. package/dist/queries.js +59 -86
  114. package/dist/queries.js.map +1 -1
  115. package/dist/robots.txt +3 -0
  116. package/dist/server-utils.d.ts +2 -35
  117. package/dist/server-utils.js +13 -26
  118. package/dist/server-utils.js.map +1 -1
  119. package/dist/{chunk-2ROTNT7W.js → utils-DKyKGba7.js} +13 -18
  120. package/dist/utils-DKyKGba7.js.map +1 -0
  121. package/dist/utils.d.ts +1 -2
  122. package/dist/utils.js +3 -9
  123. package/dist/utils.js.map +1 -1
  124. package/dist/vite.d.ts +1 -5
  125. package/dist/vite.js +3 -6
  126. package/dist/vite.js.map +1 -1
  127. package/package.json +5 -4
  128. package/dist/Approval-CWQn-kah.d.ts +0 -284
  129. package/dist/chunk-2ROTNT7W.js.map +0 -1
  130. package/dist/chunk-4FRZRIAO.js +0 -29
  131. package/dist/chunk-4FRZRIAO.js.map +0 -1
  132. package/dist/chunk-4UULRYGW.js.map +0 -1
  133. package/dist/chunk-5WRI5ZAA.js +0 -31
  134. package/dist/chunk-5WRI5ZAA.js.map +0 -1
  135. package/dist/chunk-CNDRHYQK.js +0 -883
  136. package/dist/chunk-CNDRHYQK.js.map +0 -1
  137. package/dist/chunk-DXXZZHAK.js +0 -28
  138. package/dist/chunk-DXXZZHAK.js.map +0 -1
  139. package/dist/chunk-MIVD2XWB.js.map +0 -1
  140. package/dist/chunk-TME53DAF.js.map +0 -1
  141. package/dist/chunk-ZMWQQXZT.js.map +0 -1
@@ -1,883 +0,0 @@
1
- import {
2
- clientEnv
3
- } from "./chunk-DXXZZHAK.js";
4
-
5
- // src/hooks/ThemeHook.ts
6
- import { createTheme, darken, lighten } from "@mui/material";
7
- import { grey } from "@mui/material/colors";
8
- import { csCZ as csCZ3, enUS as enUS3 } from "@mui/material/locale";
9
-
10
- // node_modules/@mui/x-data-grid/esm/utils/getGridLocalization.js
11
- var getGridLocalization = (gridTranslations) => ({
12
- components: {
13
- MuiDataGrid: {
14
- defaultProps: {
15
- localeText: gridTranslations
16
- }
17
- }
18
- }
19
- });
20
-
21
- // node_modules/@mui/x-data-grid/esm/locales/csCZ.js
22
- var csCZGrid = {
23
- // Root
24
- noRowsLabel: "\u017D\xE1dn\xE9 z\xE1znamy",
25
- noResultsOverlayLabel: "Nena\u0161ly se \u017Eadn\xE9 v\xFDsledky.",
26
- noColumnsOverlayLabel: "\u017D\xE1dn\xE9 sloupce",
27
- noColumnsOverlayManageColumns: "Spravovat sloupce",
28
- // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
29
- // Density selector toolbar button text
30
- toolbarDensity: "Zobrazen\xED",
31
- toolbarDensityLabel: "Zobrazen\xED",
32
- toolbarDensityCompact: "Kompaktn\xED",
33
- toolbarDensityStandard: "Standartn\xED",
34
- toolbarDensityComfortable: "Komfortn\xED",
35
- // Columns selector toolbar button text
36
- toolbarColumns: "Sloupce",
37
- toolbarColumnsLabel: "Vybrat sloupec",
38
- // Filters toolbar button text
39
- toolbarFilters: "Filtry",
40
- toolbarFiltersLabel: "Zobrazit filtry",
41
- toolbarFiltersTooltipHide: "Skr\xFDt filtry",
42
- toolbarFiltersTooltipShow: "Zobrazit filtry",
43
- toolbarFiltersTooltipActive: (count) => {
44
- let pluralForm = "aktivn\xEDch filtr\u016F";
45
- if (count > 1 && count < 5) {
46
- pluralForm = "aktivn\xED filtry";
47
- } else if (count === 1) {
48
- pluralForm = "aktivn\xED filtr";
49
- }
50
- return `${count} ${pluralForm}`;
51
- },
52
- // Quick filter toolbar field
53
- toolbarQuickFilterPlaceholder: "Hledat\u2026",
54
- toolbarQuickFilterLabel: "Hledat",
55
- toolbarQuickFilterDeleteIconLabel: "Vymazat",
56
- // Export selector toolbar button text
57
- toolbarExport: "Export",
58
- toolbarExportLabel: "Export",
59
- toolbarExportCSV: "St\xE1hnout jako CSV",
60
- toolbarExportPrint: "Vytisknout",
61
- toolbarExportExcel: "St\xE1hnout jako Excel",
62
- // Toolbar pivot button
63
- // toolbarPivot: 'Pivot',
64
- // Toolbar charts button
65
- // toolbarCharts: 'Charts',
66
- // Toolbar AI Assistant button
67
- // toolbarAssistant: 'AI Assistant',
68
- // Columns management text
69
- columnsManagementSearchTitle: "Hledat sloupce",
70
- columnsManagementNoColumns: "\u017D\xE1dn\xE9 sloupce",
71
- columnsManagementShowHideAllText: "Zobrazit/skr\xFDt v\u0161e",
72
- columnsManagementReset: "Resetovat",
73
- columnsManagementDeleteIconLabel: "Vy\u010Distit",
74
- // Filter panel text
75
- filterPanelAddFilter: "P\u0159idat filtr",
76
- filterPanelRemoveAll: "Odstranit v\u0161e",
77
- filterPanelDeleteIconLabel: "Odstranit",
78
- filterPanelLogicOperator: "Logick\xFD oper\xE1tor",
79
- filterPanelOperator: "Oper\xE1tory",
80
- filterPanelOperatorAnd: "A",
81
- filterPanelOperatorOr: "Nebo",
82
- filterPanelColumns: "Sloupce",
83
- filterPanelInputLabel: "Hodnota",
84
- filterPanelInputPlaceholder: "Hodnota filtru",
85
- // Filter operators text
86
- filterOperatorContains: "obsahuje",
87
- filterOperatorDoesNotContain: "neobsahuje",
88
- filterOperatorEquals: "rovn\xE1 se",
89
- filterOperatorDoesNotEqual: "nerovn\xE1 se",
90
- filterOperatorStartsWith: "za\u010D\xEDn\xE1 na",
91
- filterOperatorEndsWith: "kon\u010D\xED na",
92
- filterOperatorIs: "je",
93
- filterOperatorNot: "nen\xED",
94
- filterOperatorAfter: "je po",
95
- filterOperatorOnOrAfter: "je po v\u010Detn\u011B",
96
- filterOperatorBefore: "je p\u0159ed",
97
- filterOperatorOnOrBefore: "je p\u0159ed v\u010Detn\u011B",
98
- filterOperatorIsEmpty: "je pr\xE1zdn\xFD",
99
- filterOperatorIsNotEmpty: "nen\xED pr\xE1zdn\xFD",
100
- filterOperatorIsAnyOf: "je jeden z",
101
- "filterOperator=": "=",
102
- "filterOperator!=": "!=",
103
- "filterOperator>": ">",
104
- "filterOperator>=": ">=",
105
- "filterOperator<": "<",
106
- "filterOperator<=": "<=",
107
- // Header filter operators text
108
- headerFilterOperatorContains: "Obsahuje",
109
- headerFilterOperatorDoesNotContain: "Neobsahuje",
110
- headerFilterOperatorEquals: "Rovn\xE1 se",
111
- headerFilterOperatorDoesNotEqual: "Nerovn\xE1 se",
112
- headerFilterOperatorStartsWith: "Za\u010D\xEDn\xE1 na",
113
- headerFilterOperatorEndsWith: "Kon\u010D\xED na",
114
- headerFilterOperatorIs: "Je",
115
- headerFilterOperatorNot: "Nen\xED",
116
- headerFilterOperatorAfter: "Je po",
117
- headerFilterOperatorOnOrAfter: "Je po v\u010Detn\u011B",
118
- headerFilterOperatorBefore: "Je p\u0159ed",
119
- headerFilterOperatorOnOrBefore: "Je p\u0159ed v\u010Detn\u011B",
120
- headerFilterOperatorIsEmpty: "Je pr\xE1zdn\xFD",
121
- headerFilterOperatorIsNotEmpty: "Nen\xED pr\xE1zdn\xFD",
122
- headerFilterOperatorIsAnyOf: "Je jeden z",
123
- "headerFilterOperator=": "Rovn\xE1 se",
124
- "headerFilterOperator!=": "Nerovn\xE1 se",
125
- "headerFilterOperator>": "V\u011Bt\u0161\xED ne\u017E",
126
- "headerFilterOperator>=": "V\u011Bt\u0161\xED ne\u017E nebo rovno",
127
- "headerFilterOperator<": "Men\u0161\xED ne\u017E",
128
- "headerFilterOperator<=": "Men\u0161\xED ne\u017E nebo rovno",
129
- headerFilterClear: "Zru\u0161it filtr",
130
- // Filter values text
131
- filterValueAny: "jak\xFDkoliv",
132
- filterValueTrue: "ano",
133
- filterValueFalse: "ne",
134
- // Column menu text
135
- columnMenuLabel: "Menu",
136
- columnMenuAriaLabel: (columnName) => `Mo\u017Enosti sloupce ${columnName}`,
137
- columnMenuShowColumns: "Zobrazit sloupce",
138
- columnMenuManageColumns: "Spravovat sloupce",
139
- columnMenuFilter: "Filtr",
140
- columnMenuHideColumn: "Skr\xFDt",
141
- columnMenuUnsort: "Zru\u0161it filtry",
142
- columnMenuSortAsc: "Se\u0159adit vzestupn\u011B",
143
- columnMenuSortDesc: "Se\u0159adit sestupn\u011B",
144
- // columnMenuManagePivot: 'Manage pivot',
145
- // columnMenuManageCharts: 'Manage charts',
146
- // Column header text
147
- columnHeaderFiltersTooltipActive: (count) => {
148
- let pluralForm = "aktivn\xEDch filtr\u016F";
149
- if (count > 1 && count < 5) {
150
- pluralForm = "aktivn\xED filtry";
151
- } else if (count === 1) {
152
- pluralForm = "aktivn\xED filtr";
153
- }
154
- return `${count} ${pluralForm}`;
155
- },
156
- columnHeaderFiltersLabel: "Zobrazit filtry",
157
- columnHeaderSortIconLabel: "Filtrovat",
158
- // Rows selected footer text
159
- footerRowSelected: (count) => {
160
- let pluralForm = "vybran\xFDch z\xE1znam\u016F";
161
- if (count > 1 && count < 5) {
162
- pluralForm = "vybran\xE9 z\xE1znamy";
163
- } else if (count === 1) {
164
- pluralForm = "vybran\xFD z\xE1znam";
165
- }
166
- return `${count} ${pluralForm}`;
167
- },
168
- // Total row amount footer text
169
- footerTotalRows: "Celkem \u0159\xE1dk\u016F:",
170
- // Total visible row amount footer text
171
- footerTotalVisibleRows: (visibleCount, totalCount) => {
172
- const str = totalCount.toString();
173
- const firstDigit = str[0];
174
- const op = ["4", "6", "7"].includes(firstDigit) || firstDigit === "1" && str.length % 3 === 0 ? "ze" : "z";
175
- return `${visibleCount.toLocaleString()} ${op} ${totalCount.toLocaleString()}`;
176
- },
177
- // Checkbox selection text
178
- checkboxSelectionHeaderName: "V\xFDb\u011Br \u0159\xE1dku",
179
- checkboxSelectionSelectAllRows: "Ozna\u010Dit v\u0161echny \u0159\xE1dky",
180
- checkboxSelectionUnselectAllRows: "Odzna\u010Dit v\u0161echny \u0159\xE1dky",
181
- checkboxSelectionSelectRow: "Ozna\u010Dit \u0159\xE1dek",
182
- checkboxSelectionUnselectRow: "Odzna\u010Dit \u0159\xE1dek",
183
- // Boolean cell text
184
- booleanCellTrueLabel: "ano",
185
- booleanCellFalseLabel: "ne",
186
- // Actions cell more text
187
- actionsCellMore: "v\xEDce",
188
- // Column pinning text
189
- pinToLeft: "P\u0159ipnout vlevo",
190
- pinToRight: "P\u0159ipnout vpravo",
191
- unpin: "Odepnout",
192
- // Tree Data
193
- treeDataGroupingHeaderName: "Skupina",
194
- treeDataExpand: "zobrazit potomky",
195
- treeDataCollapse: "skr\xFDt potomky",
196
- // Grouping columns
197
- groupingColumnHeaderName: "Skupina",
198
- groupColumn: (name) => `Seskupit podle ${name}`,
199
- unGroupColumn: (name) => `P\u0159estat seskupovat podle ${name}`,
200
- // Master/detail
201
- detailPanelToggle: "P\u0159epnout detail panelu",
202
- expandDetailPanel: "Rozbalit",
203
- collapseDetailPanel: "Sbalit",
204
- // Pagination
205
- paginationRowsPerPage: "\u0158\xE1dk\u016F na str\xE1nce:",
206
- paginationDisplayedRows: ({
207
- from,
208
- to,
209
- count,
210
- estimated
211
- }) => {
212
- if (!estimated) {
213
- return `${from}\u2013${to} z ${count !== -1 ? count : `v\xEDce ne\u017E ${to}`}`;
214
- }
215
- const estimatedLabel = estimated && estimated > to ? `p\u0159ibli\u017En\u011B ${estimated}` : `v\xEDce ne\u017E ${to}`;
216
- return `${from}\u2013${to} z ${count !== -1 ? count : estimatedLabel}`;
217
- },
218
- paginationItemAriaLabel: (type) => {
219
- if (type === "first") {
220
- return "J\xEDt na prvn\xED str\xE1nku";
221
- }
222
- if (type === "last") {
223
- return "J\xEDt na posledn\xED str\xE1nku";
224
- }
225
- if (type === "next") {
226
- return "J\xEDt na dal\u0161\xED str\xE1nku";
227
- }
228
- return "J\xEDt na p\u0159edchoz\xED str\xE1nku";
229
- },
230
- // Row reordering text
231
- rowReorderingHeaderName: "P\u0159euspo\u0159\xE1d\xE1v\xE1n\xED \u0159\xE1dk\u016F",
232
- // Aggregation
233
- aggregationMenuItemHeader: "Seskupov\xE1n\xED",
234
- // aggregationFunctionLabelNone: 'none',
235
- aggregationFunctionLabelSum: "sou\u010Det",
236
- aggregationFunctionLabelAvg: "pr\u016Fm\u011Br",
237
- aggregationFunctionLabelMin: "min",
238
- aggregationFunctionLabelMax: "max",
239
- aggregationFunctionLabelSize: "po\u010Det",
240
- // Pivot panel
241
- // pivotToggleLabel: 'Pivot',
242
- // pivotRows: 'Rows',
243
- // pivotColumns: 'Columns',
244
- // pivotValues: 'Values',
245
- // pivotCloseButton: 'Close pivot settings',
246
- // pivotSearchButton: 'Search fields',
247
- // pivotSearchControlPlaceholder: 'Search fields',
248
- // pivotSearchControlLabel: 'Search fields',
249
- // pivotSearchControlClear: 'Clear search',
250
- // pivotNoFields: 'No fields',
251
- // pivotMenuMoveUp: 'Move up',
252
- // pivotMenuMoveDown: 'Move down',
253
- // pivotMenuMoveToTop: 'Move to top',
254
- // pivotMenuMoveToBottom: 'Move to bottom',
255
- // pivotMenuRows: 'Rows',
256
- // pivotMenuColumns: 'Columns',
257
- // pivotMenuValues: 'Values',
258
- // pivotMenuOptions: 'Field options',
259
- // pivotMenuAddToRows: 'Add to Rows',
260
- // pivotMenuAddToColumns: 'Add to Columns',
261
- // pivotMenuAddToValues: 'Add to Values',
262
- // pivotMenuRemove: 'Remove',
263
- // pivotDragToRows: 'Drag here to create rows',
264
- // pivotDragToColumns: 'Drag here to create columns',
265
- // pivotDragToValues: 'Drag here to create values',
266
- // pivotYearColumnHeaderName: '(Year)',
267
- // pivotQuarterColumnHeaderName: '(Quarter)',
268
- // Charts configuration panel
269
- // chartsNoCharts: 'There are no charts available',
270
- // chartsChartNotSelected: 'Select a chart type to configure its options',
271
- // chartsTabChart: 'Chart',
272
- // chartsTabFields: 'Fields',
273
- // chartsTabCustomize: 'Customize',
274
- // chartsCloseButton: 'Close charts configuration',
275
- // chartsSyncButtonLabel: 'Sync chart',
276
- // chartsSearchPlaceholder: 'Search fields',
277
- // chartsSearchLabel: 'Search fields',
278
- // chartsSearchClear: 'Clear search',
279
- // chartsNoFields: 'No fields',
280
- // chartsFieldBlocked: 'This field cannot be added to any section',
281
- // chartsCategories: 'Categories',
282
- // chartsSeries: 'Series',
283
- // chartsMenuAddToDimensions: (dimensionLabel: string) => `Add to ${dimensionLabel}`,
284
- // chartsMenuAddToValues: (valuesLabel: string) => `Add to ${valuesLabel}`,
285
- // chartsMenuMoveUp: 'Move up',
286
- // chartsMenuMoveDown: 'Move down',
287
- // chartsMenuMoveToTop: 'Move to top',
288
- // chartsMenuMoveToBottom: 'Move to bottom',
289
- // chartsMenuOptions: 'Field options',
290
- // chartsMenuRemove: 'Remove',
291
- // chartsDragToDimensions: (dimensionLabel: string) => `Drag here to use column as ${dimensionLabel}`,
292
- // chartsDragToValues: (valuesLabel: string) => `Drag here to use column as ${valuesLabel}`,
293
- // AI Assistant panel
294
- // aiAssistantPanelTitle: 'AI Assistant',
295
- // aiAssistantPanelClose: 'Close AI Assistant',
296
- // aiAssistantPanelNewConversation: 'New conversation',
297
- // aiAssistantPanelConversationHistory: 'Conversation history',
298
- // aiAssistantPanelEmptyConversation: 'No prompt history',
299
- // aiAssistantSuggestions: 'Suggestions',
300
- // Prompt field
301
- promptFieldLabel: "Vstup po\u017Eadavku",
302
- promptFieldPlaceholder: "Napi\u0161te po\u017Eadavek\u2026",
303
- promptFieldPlaceholderWithRecording: "Napi\u0161te nebo nahrajte po\u017Eadavek\u2026",
304
- promptFieldPlaceholderListening: "Naslouch\xE1m po\u017Eadavku\u2026",
305
- // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
306
- promptFieldSend: "Odeslat",
307
- promptFieldRecord: "Nahr\xE1t",
308
- promptFieldStopRecording: "Zastavit nahr\xE1v\xE1n\xED"
309
- // Prompt
310
- // promptRerun: 'Run again',
311
- // promptProcessing: 'Processing…',
312
- // promptAppliedChanges: 'Applied changes',
313
- // Prompt changes
314
- // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
315
- // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
316
- // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
317
- // promptChangeFilterLabel: (column: string, operator: string, value: string) => {
318
- // if (operator === 'is any of') {
319
- // return `${column} is any of: ${value}`;
320
- // }
321
- // return `${column} ${operator} ${value}`;
322
- // },
323
- // promptChangeFilterDescription: (column: string, operator: string, value: string) => {
324
- // if (operator === 'is any of') {
325
- // return `Filter where ${column} is any of: ${value}`;
326
- // }
327
- // return `Filter where ${column} ${operator} ${value}`;
328
- // },
329
- // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
330
- // promptChangePivotEnableLabel: 'Pivot',
331
- // promptChangePivotEnableDescription: 'Enable pivot',
332
- // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
333
- // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
334
- // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
335
- // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
336
- // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
337
- // promptChangeChartsLabel: (dimensionsCount: number, valuesCount: number) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`,
338
- };
339
- var csCZ = getGridLocalization(csCZGrid);
340
-
341
- // node_modules/@mui/x-data-grid/esm/constants/localeTextConstants.js
342
- var GRID_DEFAULT_LOCALE_TEXT = {
343
- // Root
344
- noRowsLabel: "No rows",
345
- noResultsOverlayLabel: "No results found.",
346
- noColumnsOverlayLabel: "No columns",
347
- noColumnsOverlayManageColumns: "Manage columns",
348
- emptyPivotOverlayLabel: "Add fields to rows, columns, and values to create a pivot table",
349
- // Density selector toolbar button text
350
- toolbarDensity: "Density",
351
- toolbarDensityLabel: "Density",
352
- toolbarDensityCompact: "Compact",
353
- toolbarDensityStandard: "Standard",
354
- toolbarDensityComfortable: "Comfortable",
355
- // Columns selector toolbar button text
356
- toolbarColumns: "Columns",
357
- toolbarColumnsLabel: "Select columns",
358
- // Filters toolbar button text
359
- toolbarFilters: "Filters",
360
- toolbarFiltersLabel: "Show filters",
361
- toolbarFiltersTooltipHide: "Hide filters",
362
- toolbarFiltersTooltipShow: "Show filters",
363
- toolbarFiltersTooltipActive: (count) => count !== 1 ? `${count} active filters` : `${count} active filter`,
364
- // Quick filter toolbar field
365
- toolbarQuickFilterPlaceholder: "Search\u2026",
366
- toolbarQuickFilterLabel: "Search",
367
- toolbarQuickFilterDeleteIconLabel: "Clear",
368
- // Export selector toolbar button text
369
- toolbarExport: "Export",
370
- toolbarExportLabel: "Export",
371
- toolbarExportCSV: "Download as CSV",
372
- toolbarExportPrint: "Print",
373
- toolbarExportExcel: "Download as Excel",
374
- // Toolbar pivot button
375
- toolbarPivot: "Pivot",
376
- // Toolbar charts button
377
- toolbarCharts: "Charts",
378
- // Toolbar AI Assistant button
379
- toolbarAssistant: "AI Assistant",
380
- // Columns management text
381
- columnsManagementSearchTitle: "Search",
382
- columnsManagementNoColumns: "No columns",
383
- columnsManagementShowHideAllText: "Show/Hide All",
384
- columnsManagementReset: "Reset",
385
- columnsManagementDeleteIconLabel: "Clear",
386
- // Filter panel text
387
- filterPanelAddFilter: "Add filter",
388
- filterPanelRemoveAll: "Remove all",
389
- filterPanelDeleteIconLabel: "Delete",
390
- filterPanelLogicOperator: "Logic operator",
391
- filterPanelOperator: "Operator",
392
- filterPanelOperatorAnd: "And",
393
- filterPanelOperatorOr: "Or",
394
- filterPanelColumns: "Columns",
395
- filterPanelInputLabel: "Value",
396
- filterPanelInputPlaceholder: "Filter value",
397
- // Filter operators text
398
- filterOperatorContains: "contains",
399
- filterOperatorDoesNotContain: "does not contain",
400
- filterOperatorEquals: "equals",
401
- filterOperatorDoesNotEqual: "does not equal",
402
- filterOperatorStartsWith: "starts with",
403
- filterOperatorEndsWith: "ends with",
404
- filterOperatorIs: "is",
405
- filterOperatorNot: "is not",
406
- filterOperatorAfter: "is after",
407
- filterOperatorOnOrAfter: "is on or after",
408
- filterOperatorBefore: "is before",
409
- filterOperatorOnOrBefore: "is on or before",
410
- filterOperatorIsEmpty: "is empty",
411
- filterOperatorIsNotEmpty: "is not empty",
412
- filterOperatorIsAnyOf: "is any of",
413
- "filterOperator=": "=",
414
- "filterOperator!=": "!=",
415
- "filterOperator>": ">",
416
- "filterOperator>=": ">=",
417
- "filterOperator<": "<",
418
- "filterOperator<=": "<=",
419
- // Header filter operators text
420
- headerFilterOperatorContains: "Contains",
421
- headerFilterOperatorDoesNotContain: "Does not contain",
422
- headerFilterOperatorEquals: "Equals",
423
- headerFilterOperatorDoesNotEqual: "Does not equal",
424
- headerFilterOperatorStartsWith: "Starts with",
425
- headerFilterOperatorEndsWith: "Ends with",
426
- headerFilterOperatorIs: "Is",
427
- headerFilterOperatorNot: "Is not",
428
- headerFilterOperatorAfter: "Is after",
429
- headerFilterOperatorOnOrAfter: "Is on or after",
430
- headerFilterOperatorBefore: "Is before",
431
- headerFilterOperatorOnOrBefore: "Is on or before",
432
- headerFilterOperatorIsEmpty: "Is empty",
433
- headerFilterOperatorIsNotEmpty: "Is not empty",
434
- headerFilterOperatorIsAnyOf: "Is any of",
435
- "headerFilterOperator=": "Equals",
436
- "headerFilterOperator!=": "Not equals",
437
- "headerFilterOperator>": "Greater than",
438
- "headerFilterOperator>=": "Greater than or equal to",
439
- "headerFilterOperator<": "Less than",
440
- "headerFilterOperator<=": "Less than or equal to",
441
- headerFilterClear: "Clear filter",
442
- // Filter values text
443
- filterValueAny: "any",
444
- filterValueTrue: "true",
445
- filterValueFalse: "false",
446
- // Column menu text
447
- columnMenuLabel: "Menu",
448
- columnMenuAriaLabel: (columnName) => `${columnName} column menu`,
449
- columnMenuShowColumns: "Show columns",
450
- columnMenuManageColumns: "Manage columns",
451
- columnMenuFilter: "Filter",
452
- columnMenuHideColumn: "Hide column",
453
- columnMenuUnsort: "Unsort",
454
- columnMenuSortAsc: "Sort by ASC",
455
- columnMenuSortDesc: "Sort by DESC",
456
- columnMenuManagePivot: "Manage pivot",
457
- columnMenuManageCharts: "Manage charts",
458
- // Column header text
459
- columnHeaderFiltersTooltipActive: (count) => count !== 1 ? `${count} active filters` : `${count} active filter`,
460
- columnHeaderFiltersLabel: "Show filters",
461
- columnHeaderSortIconLabel: "Sort",
462
- // Rows selected footer text
463
- footerRowSelected: (count) => count !== 1 ? `${count.toLocaleString()} rows selected` : `${count.toLocaleString()} row selected`,
464
- // Total row amount footer text
465
- footerTotalRows: "Total Rows:",
466
- // Total visible row amount footer text
467
- footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} of ${totalCount.toLocaleString()}`,
468
- // Checkbox selection text
469
- checkboxSelectionHeaderName: "Checkbox selection",
470
- checkboxSelectionSelectAllRows: "Select all rows",
471
- checkboxSelectionUnselectAllRows: "Unselect all rows",
472
- checkboxSelectionSelectRow: "Select row",
473
- checkboxSelectionUnselectRow: "Unselect row",
474
- // Boolean cell text
475
- booleanCellTrueLabel: "yes",
476
- booleanCellFalseLabel: "no",
477
- // Actions cell more text
478
- actionsCellMore: "more",
479
- // Column pinning text
480
- pinToLeft: "Pin to left",
481
- pinToRight: "Pin to right",
482
- unpin: "Unpin",
483
- // Tree Data
484
- treeDataGroupingHeaderName: "Group",
485
- treeDataExpand: "see children",
486
- treeDataCollapse: "hide children",
487
- // Grouping columns
488
- groupingColumnHeaderName: "Group",
489
- groupColumn: (name) => `Group by ${name}`,
490
- unGroupColumn: (name) => `Stop grouping by ${name}`,
491
- // Master/detail
492
- detailPanelToggle: "Detail panel toggle",
493
- expandDetailPanel: "Expand",
494
- collapseDetailPanel: "Collapse",
495
- // Pagination
496
- paginationRowsPerPage: "Rows per page:",
497
- paginationDisplayedRows: ({
498
- from,
499
- to,
500
- count,
501
- estimated
502
- }) => {
503
- if (!estimated) {
504
- return `${from}\u2013${to} of ${count !== -1 ? count : `more than ${to}`}`;
505
- }
506
- const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
507
- return `${from}\u2013${to} of ${count !== -1 ? count : estimatedLabel}`;
508
- },
509
- paginationItemAriaLabel: (type) => {
510
- if (type === "first") {
511
- return "Go to first page";
512
- }
513
- if (type === "last") {
514
- return "Go to last page";
515
- }
516
- if (type === "next") {
517
- return "Go to next page";
518
- }
519
- return "Go to previous page";
520
- },
521
- // Row reordering text
522
- rowReorderingHeaderName: "Row reordering",
523
- // Aggregation
524
- aggregationMenuItemHeader: "Aggregation",
525
- aggregationFunctionLabelNone: "none",
526
- aggregationFunctionLabelSum: "sum",
527
- aggregationFunctionLabelAvg: "avg",
528
- aggregationFunctionLabelMin: "min",
529
- aggregationFunctionLabelMax: "max",
530
- aggregationFunctionLabelSize: "size",
531
- // Pivot panel
532
- pivotToggleLabel: "Pivot",
533
- pivotRows: "Rows",
534
- pivotColumns: "Columns",
535
- pivotValues: "Values",
536
- pivotCloseButton: "Close pivot settings",
537
- pivotSearchButton: "Search fields",
538
- pivotSearchControlPlaceholder: "Search fields",
539
- pivotSearchControlLabel: "Search fields",
540
- pivotSearchControlClear: "Clear search",
541
- pivotNoFields: "No fields",
542
- pivotMenuMoveUp: "Move up",
543
- pivotMenuMoveDown: "Move down",
544
- pivotMenuMoveToTop: "Move to top",
545
- pivotMenuMoveToBottom: "Move to bottom",
546
- pivotMenuRows: "Rows",
547
- pivotMenuColumns: "Columns",
548
- pivotMenuValues: "Values",
549
- pivotMenuOptions: "Field options",
550
- pivotMenuAddToRows: "Add to Rows",
551
- pivotMenuAddToColumns: "Add to Columns",
552
- pivotMenuAddToValues: "Add to Values",
553
- pivotMenuRemove: "Remove",
554
- pivotDragToRows: "Drag here to create rows",
555
- pivotDragToColumns: "Drag here to create columns",
556
- pivotDragToValues: "Drag here to create values",
557
- pivotYearColumnHeaderName: "(Year)",
558
- pivotQuarterColumnHeaderName: "(Quarter)",
559
- // Charts configuration panel
560
- chartsNoCharts: "There are no charts available",
561
- chartsChartNotSelected: "Select a chart type to configure its options",
562
- chartsTabChart: "Chart",
563
- chartsTabFields: "Fields",
564
- chartsTabCustomize: "Customize",
565
- chartsCloseButton: "Close charts configuration",
566
- chartsSyncButtonLabel: "Sync chart",
567
- chartsSearchPlaceholder: "Search fields",
568
- chartsSearchLabel: "Search fields",
569
- chartsSearchClear: "Clear search",
570
- chartsNoFields: "No fields",
571
- chartsFieldBlocked: "This field cannot be added to any section",
572
- chartsCategories: "Categories",
573
- chartsSeries: "Series",
574
- chartsMenuAddToDimensions: (dimensionLabel) => `Add to ${dimensionLabel}`,
575
- chartsMenuAddToValues: (valuesLabel) => `Add to ${valuesLabel}`,
576
- chartsMenuMoveUp: "Move up",
577
- chartsMenuMoveDown: "Move down",
578
- chartsMenuMoveToTop: "Move to top",
579
- chartsMenuMoveToBottom: "Move to bottom",
580
- chartsMenuOptions: "Field options",
581
- chartsMenuRemove: "Remove",
582
- chartsDragToDimensions: (dimensionLabel) => `Drag here to use column as ${dimensionLabel}`,
583
- chartsDragToValues: (valuesLabel) => `Drag here to use column as ${valuesLabel}`,
584
- // AI Assistant panel
585
- aiAssistantPanelTitle: "AI Assistant",
586
- aiAssistantPanelClose: "Close AI Assistant",
587
- aiAssistantPanelNewConversation: "New conversation",
588
- aiAssistantPanelConversationHistory: "Conversation history",
589
- aiAssistantPanelEmptyConversation: "No prompt history",
590
- aiAssistantSuggestions: "Suggestions",
591
- // Prompt field
592
- promptFieldLabel: "Prompt",
593
- promptFieldPlaceholder: "Type a prompt\u2026",
594
- promptFieldPlaceholderWithRecording: "Type or record a prompt\u2026",
595
- promptFieldPlaceholderListening: "Listening for prompt\u2026",
596
- promptFieldSpeechRecognitionNotSupported: "Speech recognition is not supported in this browser",
597
- promptFieldSend: "Send",
598
- promptFieldRecord: "Record",
599
- promptFieldStopRecording: "Stop recording",
600
- // Prompt
601
- promptRerun: "Run again",
602
- promptProcessing: "Processing\u2026",
603
- promptAppliedChanges: "Applied changes",
604
- // Prompt changes
605
- promptChangeGroupDescription: (column) => `Group by ${column}`,
606
- promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
607
- promptChangeAggregationDescription: (column, aggregation) => `Aggregate ${column} (${aggregation})`,
608
- promptChangeFilterLabel: (column, operator, value) => {
609
- if (operator === "is any of") {
610
- return `${column} is any of: ${value}`;
611
- }
612
- return `${column} ${operator} ${value}`;
613
- },
614
- promptChangeFilterDescription: (column, operator, value) => {
615
- if (operator === "is any of") {
616
- return `Filter where ${column} is any of: ${value}`;
617
- }
618
- return `Filter where ${column} ${operator} ${value}`;
619
- },
620
- promptChangeSortDescription: (column, direction) => `Sort by ${column} (${direction})`,
621
- promptChangePivotEnableLabel: "Pivot",
622
- promptChangePivotEnableDescription: "Enable pivot",
623
- promptChangePivotColumnsLabel: (count) => `Columns (${count})`,
624
- promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ""}`,
625
- promptChangePivotRowsLabel: (count) => `Rows (${count})`,
626
- promptChangePivotValuesLabel: (count) => `Values (${count})`,
627
- promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`,
628
- promptChangeChartsLabel: (dimensionsCount, valuesCount) => `Dimensions (${dimensionsCount}), Values (${valuesCount})`
629
- };
630
-
631
- // node_modules/@mui/x-data-grid/esm/locales/enUS.js
632
- var enUS = getGridLocalization(GRID_DEFAULT_LOCALE_TEXT);
633
-
634
- // node_modules/@babel/runtime/helpers/esm/extends.js
635
- function _extends() {
636
- return _extends = Object.assign ? Object.assign.bind() : function(n) {
637
- for (var e = 1; e < arguments.length; e++) {
638
- var t = arguments[e];
639
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
640
- }
641
- return n;
642
- }, _extends.apply(null, arguments);
643
- }
644
-
645
- // node_modules/@mui/x-date-pickers/esm/locales/utils/getPickersLocalization.js
646
- var getPickersLocalization = (pickersTranslations) => {
647
- return {
648
- components: {
649
- MuiLocalizationProvider: {
650
- defaultProps: {
651
- localeText: _extends({}, pickersTranslations)
652
- }
653
- }
654
- }
655
- };
656
- };
657
-
658
- // node_modules/@mui/x-date-pickers/esm/locales/csCZ.js
659
- var timeViews = {
660
- hours: "Hodiny",
661
- minutes: "Minuty",
662
- seconds: "Sekundy",
663
- meridiem: "Odpoledne"
664
- };
665
- var csCZPickers = {
666
- // Calendar navigation
667
- previousMonth: "P\u0159edchoz\xED m\u011Bs\xEDc",
668
- nextMonth: "Dal\u0161\xED m\u011Bs\xEDc",
669
- // View navigation
670
- openPreviousView: "Otev\u0159\xEDt p\u0159edchoz\xED zobrazen\xED",
671
- openNextView: "Otev\u0159\xEDt dal\u0161\xED zobrazen\xED",
672
- calendarViewSwitchingButtonAriaLabel: (view) => view === "year" ? "ro\u010Dn\xED zobrazen\xED otev\u0159eno, p\u0159epn\u011Bte do zobrazen\xED kalend\xE1\u0159e" : "zobrazen\xED kalend\xE1\u0159e otev\u0159eno, p\u0159epn\u011Bte do zobrazen\xED roku",
673
- // DateRange labels
674
- start: "Za\u010D\xE1tek",
675
- end: "Konec",
676
- startDate: "Datum za\u010D\xE1tku",
677
- startTime: "\u010Cas za\u010D\xE1tku",
678
- endDate: "Datum konce",
679
- endTime: "\u010Cas konce",
680
- // Action bar
681
- cancelButtonLabel: "Zru\u0161it",
682
- clearButtonLabel: "Vymazat",
683
- okButtonLabel: "Potvrdit",
684
- todayButtonLabel: "Dnes",
685
- nextStepButtonLabel: "Dal\u0161\xED",
686
- // Toolbar titles
687
- datePickerToolbarTitle: "Vyberte datum",
688
- dateTimePickerToolbarTitle: "Vyberte datum a \u010Das",
689
- timePickerToolbarTitle: "Vyberte \u010Das",
690
- dateRangePickerToolbarTitle: "Vyberte rozmez\xED dat",
691
- // timeRangePickerToolbarTitle: 'Select time range',
692
- // Clock labels
693
- clockLabelText: (view, formattedTime) => `${timeViews[view] ?? view} vybr\xE1ny. ${!formattedTime ? "Nen\xED vybr\xE1n \u010Das" : `Vybran\xFD \u010Das je ${formattedTime}`}`,
694
- hoursClockNumberText: (hours) => `${hours} hodin`,
695
- minutesClockNumberText: (minutes) => `${minutes} minut`,
696
- secondsClockNumberText: (seconds) => `${seconds} sekund`,
697
- // Digital clock labels
698
- selectViewText: (view) => `Vyberte ${timeViews[view]}`,
699
- // Calendar labels
700
- calendarWeekNumberHeaderLabel: "T\xFDden v roce",
701
- calendarWeekNumberHeaderText: "#",
702
- calendarWeekNumberAriaLabelText: (weekNumber) => `${weekNumber} t\xFDden v roce`,
703
- calendarWeekNumberText: (weekNumber) => `${weekNumber}`,
704
- // Open Picker labels
705
- openDatePickerDialogue: (formattedDate) => formattedDate ? `Vyberte datum, vybran\xE9 datum je ${formattedDate}` : "Vyberte datum",
706
- openTimePickerDialogue: (formattedTime) => formattedTime ? `Vyberte \u010Das, vybran\xFD \u010Das je ${formattedTime}` : "Vyberte \u010Das",
707
- // openRangePickerDialogue: formattedRange => formattedRange ? `Choose range, selected range is ${formattedRange}` : 'Choose range',
708
- fieldClearLabel: "Vymazat",
709
- // Table labels
710
- timeTableLabel: "vyberte \u010Das",
711
- dateTableLabel: "vyberte datum",
712
- // Field section placeholders
713
- fieldYearPlaceholder: (params) => "Y".repeat(params.digitAmount),
714
- fieldMonthPlaceholder: (params) => params.contentType === "letter" ? "MMMM" : "MM",
715
- fieldDayPlaceholder: () => "DD",
716
- fieldWeekDayPlaceholder: (params) => params.contentType === "letter" ? "EEEE" : "EE",
717
- fieldHoursPlaceholder: () => "hh",
718
- fieldMinutesPlaceholder: () => "mm",
719
- fieldSecondsPlaceholder: () => "ss",
720
- fieldMeridiemPlaceholder: () => "aa",
721
- // View names
722
- year: "Rok",
723
- month: "M\u011Bs\xEDc",
724
- day: "Den",
725
- weekDay: "Pracovn\xED den",
726
- hours: "Hodiny",
727
- minutes: "Minuty",
728
- seconds: "Sekundy",
729
- meridiem: "Odpoledne",
730
- // Common
731
- empty: "Pr\xE1zdn\xFD"
732
- };
733
- var csCZ2 = getPickersLocalization(csCZPickers);
734
-
735
- // node_modules/@mui/x-date-pickers/esm/locales/enUS.js
736
- var enUSPickers = {
737
- // Calendar navigation
738
- previousMonth: "Previous month",
739
- nextMonth: "Next month",
740
- // View navigation
741
- openPreviousView: "Open previous view",
742
- openNextView: "Open next view",
743
- calendarViewSwitchingButtonAriaLabel: (view) => view === "year" ? "year view is open, switch to calendar view" : "calendar view is open, switch to year view",
744
- // DateRange labels
745
- start: "Start",
746
- end: "End",
747
- startDate: "Start date",
748
- startTime: "Start time",
749
- endDate: "End date",
750
- endTime: "End time",
751
- // Action bar
752
- cancelButtonLabel: "Cancel",
753
- clearButtonLabel: "Clear",
754
- okButtonLabel: "OK",
755
- todayButtonLabel: "Today",
756
- nextStepButtonLabel: "Next",
757
- // Toolbar titles
758
- datePickerToolbarTitle: "Select date",
759
- dateTimePickerToolbarTitle: "Select date & time",
760
- timePickerToolbarTitle: "Select time",
761
- dateRangePickerToolbarTitle: "Select date range",
762
- timeRangePickerToolbarTitle: "Select time range",
763
- // Clock labels
764
- clockLabelText: (view, formattedTime) => `Select ${view}. ${!formattedTime ? "No time selected" : `Selected time is ${formattedTime}`}`,
765
- hoursClockNumberText: (hours) => `${hours} hours`,
766
- minutesClockNumberText: (minutes) => `${minutes} minutes`,
767
- secondsClockNumberText: (seconds) => `${seconds} seconds`,
768
- // Digital clock labels
769
- selectViewText: (view) => `Select ${view}`,
770
- // Calendar labels
771
- calendarWeekNumberHeaderLabel: "Week number",
772
- calendarWeekNumberHeaderText: "#",
773
- calendarWeekNumberAriaLabelText: (weekNumber) => `Week ${weekNumber}`,
774
- calendarWeekNumberText: (weekNumber) => `${weekNumber}`,
775
- // Open Picker labels
776
- openDatePickerDialogue: (formattedDate) => formattedDate ? `Choose date, selected date is ${formattedDate}` : "Choose date",
777
- openTimePickerDialogue: (formattedTime) => formattedTime ? `Choose time, selected time is ${formattedTime}` : "Choose time",
778
- openRangePickerDialogue: (formattedRange) => formattedRange ? `Choose range, selected range is ${formattedRange}` : "Choose range",
779
- fieldClearLabel: "Clear",
780
- // Table labels
781
- timeTableLabel: "pick time",
782
- dateTableLabel: "pick date",
783
- // Field section placeholders
784
- fieldYearPlaceholder: (params) => "Y".repeat(params.digitAmount),
785
- fieldMonthPlaceholder: (params) => params.contentType === "letter" ? "MMMM" : "MM",
786
- fieldDayPlaceholder: () => "DD",
787
- fieldWeekDayPlaceholder: (params) => params.contentType === "letter" ? "EEEE" : "EE",
788
- fieldHoursPlaceholder: () => "hh",
789
- fieldMinutesPlaceholder: () => "mm",
790
- fieldSecondsPlaceholder: () => "ss",
791
- fieldMeridiemPlaceholder: () => "aa",
792
- // View names
793
- year: "Year",
794
- month: "Month",
795
- day: "Day",
796
- weekDay: "Week day",
797
- hours: "Hours",
798
- minutes: "Minutes",
799
- seconds: "Seconds",
800
- meridiem: "Meridiem",
801
- // Common
802
- empty: "Empty"
803
- };
804
- var enUS2 = getPickersLocalization(enUSPickers);
805
-
806
- // src/hooks/ThemeHook.ts
807
- import { useTranslation } from "react-i18next";
808
- var WISTRON_PRIMARY_COLOR = "#00506E";
809
- var WISTRON_SECONDARY_COLOR = "#64DC00";
810
- var LOCALE_MAP = {
811
- cs: [csCZ, csCZ2, csCZ3],
812
- en: [enUS, enUS2, enUS3]
813
- };
814
- var useGetTheme = (theme) => {
815
- const { i18n } = useTranslation();
816
- return createTheme(
817
- {
818
- cssVariables: {
819
- colorSchemeSelector: "data-mui-color-scheme"
820
- },
821
- colorSchemes: {
822
- light: {
823
- palette: {
824
- primary: { main: WISTRON_PRIMARY_COLOR },
825
- secondary: { main: WISTRON_SECONDARY_COLOR }
826
- }
827
- },
828
- dark: {
829
- palette: {
830
- primary: { main: lighten(WISTRON_PRIMARY_COLOR, 0.5) },
831
- secondary: { main: darken(WISTRON_SECONDARY_COLOR, 0.5) }
832
- }
833
- },
834
- ...theme?.colorSchemes
835
- },
836
- components: {
837
- MuiCssBaseline: {
838
- styleOverrides: ({ palette }) => {
839
- return {
840
- body: {
841
- "&::-webkit-scrollbar, & *::-webkit-scrollbar": {
842
- width: "0.7em",
843
- height: "0.7em"
844
- },
845
- "&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {
846
- backgroundColor: palette.mode === "dark" ? grey[900] : grey[200],
847
- borderRadius: "5px"
848
- },
849
- "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
850
- backgroundColor: palette.mode === "dark" ? grey[800] : grey[400],
851
- borderRadius: "10px"
852
- },
853
- "&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": {
854
- backgroundColor: palette.mode === "dark" ? grey[700] : grey[500]
855
- },
856
- "&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": {
857
- backgroundColor: "transparent"
858
- }
859
- }
860
- };
861
- }
862
- },
863
- ...theme?.components
864
- }
865
- },
866
- ...LOCALE_MAP[i18n.language]
867
- );
868
- };
869
-
870
- // src/lib/auth/auth-client.ts
871
- import { createAuthClient } from "better-auth/react";
872
- var authClient = createAuthClient({
873
- baseURL: clientEnv.VITE_API_URL
874
- });
875
-
876
- export {
877
- _extends,
878
- WISTRON_PRIMARY_COLOR,
879
- WISTRON_SECONDARY_COLOR,
880
- useGetTheme,
881
- authClient
882
- };
883
- //# sourceMappingURL=chunk-CNDRHYQK.js.map