wcz-test 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1845,6 +1845,90 @@ function _objectWithoutPropertiesLoose(r, e) {
1845
1845
  return t2;
1846
1846
  }
1847
1847
 
1848
+ // node_modules/@mui/x-date-pickers/esm/locales/utils/getPickersLocalization.js
1849
+ var getPickersLocalization = (pickersTranslations) => {
1850
+ return {
1851
+ components: {
1852
+ MuiLocalizationProvider: {
1853
+ defaultProps: {
1854
+ localeText: _extends({}, pickersTranslations)
1855
+ }
1856
+ }
1857
+ }
1858
+ };
1859
+ };
1860
+
1861
+ // node_modules/@mui/x-date-pickers/esm/locales/enUS.js
1862
+ var enUSPickers = {
1863
+ // Calendar navigation
1864
+ previousMonth: "Previous month",
1865
+ nextMonth: "Next month",
1866
+ // View navigation
1867
+ openPreviousView: "Open previous view",
1868
+ openNextView: "Open next view",
1869
+ calendarViewSwitchingButtonAriaLabel: (view) => view === "year" ? "year view is open, switch to calendar view" : "calendar view is open, switch to year view",
1870
+ // DateRange labels
1871
+ start: "Start",
1872
+ end: "End",
1873
+ startDate: "Start date",
1874
+ startTime: "Start time",
1875
+ endDate: "End date",
1876
+ endTime: "End time",
1877
+ // Action bar
1878
+ cancelButtonLabel: "Cancel",
1879
+ clearButtonLabel: "Clear",
1880
+ okButtonLabel: "OK",
1881
+ todayButtonLabel: "Today",
1882
+ nextStepButtonLabel: "Next",
1883
+ // Toolbar titles
1884
+ datePickerToolbarTitle: "Select date",
1885
+ dateTimePickerToolbarTitle: "Select date & time",
1886
+ timePickerToolbarTitle: "Select time",
1887
+ dateRangePickerToolbarTitle: "Select date range",
1888
+ timeRangePickerToolbarTitle: "Select time range",
1889
+ // Clock labels
1890
+ clockLabelText: (view, formattedTime) => `Select ${view}. ${!formattedTime ? "No time selected" : `Selected time is ${formattedTime}`}`,
1891
+ hoursClockNumberText: (hours) => `${hours} hours`,
1892
+ minutesClockNumberText: (minutes) => `${minutes} minutes`,
1893
+ secondsClockNumberText: (seconds) => `${seconds} seconds`,
1894
+ // Digital clock labels
1895
+ selectViewText: (view) => `Select ${view}`,
1896
+ // Calendar labels
1897
+ calendarWeekNumberHeaderLabel: "Week number",
1898
+ calendarWeekNumberHeaderText: "#",
1899
+ calendarWeekNumberAriaLabelText: (weekNumber) => `Week ${weekNumber}`,
1900
+ calendarWeekNumberText: (weekNumber) => `${weekNumber}`,
1901
+ // Open Picker labels
1902
+ openDatePickerDialogue: (formattedDate) => formattedDate ? `Choose date, selected date is ${formattedDate}` : "Choose date",
1903
+ openTimePickerDialogue: (formattedTime) => formattedTime ? `Choose time, selected time is ${formattedTime}` : "Choose time",
1904
+ openRangePickerDialogue: (formattedRange) => formattedRange ? `Choose range, selected range is ${formattedRange}` : "Choose range",
1905
+ fieldClearLabel: "Clear",
1906
+ // Table labels
1907
+ timeTableLabel: "pick time",
1908
+ dateTableLabel: "pick date",
1909
+ // Field section placeholders
1910
+ fieldYearPlaceholder: (params) => "Y".repeat(params.digitAmount),
1911
+ fieldMonthPlaceholder: (params) => params.contentType === "letter" ? "MMMM" : "MM",
1912
+ fieldDayPlaceholder: () => "DD",
1913
+ fieldWeekDayPlaceholder: (params) => params.contentType === "letter" ? "EEEE" : "EE",
1914
+ fieldHoursPlaceholder: () => "hh",
1915
+ fieldMinutesPlaceholder: () => "mm",
1916
+ fieldSecondsPlaceholder: () => "ss",
1917
+ fieldMeridiemPlaceholder: () => "aa",
1918
+ // View names
1919
+ year: "Year",
1920
+ month: "Month",
1921
+ day: "Day",
1922
+ weekDay: "Week day",
1923
+ hours: "Hours",
1924
+ minutes: "Minutes",
1925
+ seconds: "Seconds",
1926
+ meridiem: "Meridiem",
1927
+ // Common
1928
+ empty: "Empty"
1929
+ };
1930
+ var enUS = getPickersLocalization(enUSPickers);
1931
+
1848
1932
  // node_modules/@mui/x-date-pickers/esm/LocalizationProvider/LocalizationProvider.js
1849
1933
  var import_prop_types = __toESM(require_prop_types(), 1);
1850
1934
  import * as React9 from "react";
@@ -2504,7 +2588,7 @@ var AdapterDayjs = class {
2504
2588
 
2505
2589
  // src/providers/LayoutProvider.tsx
2506
2590
  import { useEffect as useEffect6, useState as useState10 } from "react";
2507
- import { useTranslation as useTranslation6 } from "react-i18next";
2591
+ import { useTranslation as useTranslation7 } from "react-i18next";
2508
2592
  import * as z from "zod";
2509
2593
  import { cs, en } from "zod/locales";
2510
2594
 
@@ -2609,8 +2693,8 @@ var LayoutContext = createContext4(null);
2609
2693
  // src/components/core/Layout.tsx
2610
2694
  import Menu3 from "@mui/icons-material/Menu";
2611
2695
  import MenuOpen from "@mui/icons-material/MenuOpen";
2612
- import { AppBar, Box as Box9, CssBaseline, IconButton as IconButton5, InitColorSchemeScript, LinearProgress, Toolbar } from "@mui/material";
2613
- import { ThemeProvider, createTheme, styled as styled2 } from "@mui/material/styles";
2696
+ import { AppBar, Box as Box9, CssBaseline, IconButton as IconButton5, LinearProgress, Toolbar } from "@mui/material";
2697
+ import { ThemeProvider, styled as styled2 } from "@mui/material/styles";
2614
2698
  import { useIsFetching, useIsMutating } from "@tanstack/react-query";
2615
2699
  import useLocalStorageState from "use-local-storage-state";
2616
2700
 
@@ -3091,6 +3175,714 @@ var ToolbarAccount = () => {
3091
3175
  ] });
3092
3176
  };
3093
3177
 
3178
+ // src/hooks/ThemeHook.ts
3179
+ import { createTheme, darken, lighten } from "@mui/material";
3180
+ import { grey as grey2 } from "@mui/material/colors";
3181
+ import { csCZ as csCZ3, enUS as enUS3 } from "@mui/material/locale";
3182
+
3183
+ // node_modules/@mui/x-data-grid/esm/utils/getGridLocalization.js
3184
+ var getGridLocalization = (gridTranslations) => ({
3185
+ components: {
3186
+ MuiDataGrid: {
3187
+ defaultProps: {
3188
+ localeText: gridTranslations
3189
+ }
3190
+ }
3191
+ }
3192
+ });
3193
+
3194
+ // node_modules/@mui/x-data-grid/esm/locales/csCZ.js
3195
+ var csCZGrid = {
3196
+ // Root
3197
+ noRowsLabel: "\u017D\xE1dn\xE9 z\xE1znamy",
3198
+ noResultsOverlayLabel: "Nena\u0161ly se \u017Eadn\xE9 v\xFDsledky.",
3199
+ noColumnsOverlayLabel: "\u017D\xE1dn\xE9 sloupce",
3200
+ noColumnsOverlayManageColumns: "Spravovat sloupce",
3201
+ // emptyPivotOverlayLabel: 'Add fields to rows, columns, and values to create a pivot table',
3202
+ // Density selector toolbar button text
3203
+ toolbarDensity: "Zobrazen\xED",
3204
+ toolbarDensityLabel: "Zobrazen\xED",
3205
+ toolbarDensityCompact: "Kompaktn\xED",
3206
+ toolbarDensityStandard: "Standartn\xED",
3207
+ toolbarDensityComfortable: "Komfortn\xED",
3208
+ // Columns selector toolbar button text
3209
+ toolbarColumns: "Sloupce",
3210
+ toolbarColumnsLabel: "Vybrat sloupec",
3211
+ // Filters toolbar button text
3212
+ toolbarFilters: "Filtry",
3213
+ toolbarFiltersLabel: "Zobrazit filtry",
3214
+ toolbarFiltersTooltipHide: "Skr\xFDt filtry",
3215
+ toolbarFiltersTooltipShow: "Zobrazit filtry",
3216
+ toolbarFiltersTooltipActive: (count) => {
3217
+ let pluralForm = "aktivn\xEDch filtr\u016F";
3218
+ if (count > 1 && count < 5) {
3219
+ pluralForm = "aktivn\xED filtry";
3220
+ } else if (count === 1) {
3221
+ pluralForm = "aktivn\xED filtr";
3222
+ }
3223
+ return `${count} ${pluralForm}`;
3224
+ },
3225
+ // Quick filter toolbar field
3226
+ toolbarQuickFilterPlaceholder: "Hledat\u2026",
3227
+ toolbarQuickFilterLabel: "Hledat",
3228
+ toolbarQuickFilterDeleteIconLabel: "Vymazat",
3229
+ // Export selector toolbar button text
3230
+ toolbarExport: "Export",
3231
+ toolbarExportLabel: "Export",
3232
+ toolbarExportCSV: "St\xE1hnout jako CSV",
3233
+ toolbarExportPrint: "Vytisknout",
3234
+ toolbarExportExcel: "St\xE1hnout jako Excel",
3235
+ // Toolbar pivot button
3236
+ // toolbarPivot: 'Pivot',
3237
+ // Toolbar AI Assistant button
3238
+ // toolbarAssistant: 'AI Assistant',
3239
+ // Columns management text
3240
+ columnsManagementSearchTitle: "Hledat sloupce",
3241
+ columnsManagementNoColumns: "\u017D\xE1dn\xE9 sloupce",
3242
+ columnsManagementShowHideAllText: "Zobrazit/skr\xFDt v\u0161e",
3243
+ columnsManagementReset: "Resetovat",
3244
+ columnsManagementDeleteIconLabel: "Vy\u010Distit",
3245
+ // Filter panel text
3246
+ filterPanelAddFilter: "P\u0159idat filtr",
3247
+ filterPanelRemoveAll: "Odstranit v\u0161e",
3248
+ filterPanelDeleteIconLabel: "Odstranit",
3249
+ filterPanelLogicOperator: "Logick\xFD oper\xE1tor",
3250
+ filterPanelOperator: "Oper\xE1tory",
3251
+ filterPanelOperatorAnd: "A",
3252
+ filterPanelOperatorOr: "Nebo",
3253
+ filterPanelColumns: "Sloupce",
3254
+ filterPanelInputLabel: "Hodnota",
3255
+ filterPanelInputPlaceholder: "Hodnota filtru",
3256
+ // Filter operators text
3257
+ filterOperatorContains: "obsahuje",
3258
+ filterOperatorDoesNotContain: "neobsahuje",
3259
+ filterOperatorEquals: "rovn\xE1 se",
3260
+ filterOperatorDoesNotEqual: "nerovn\xE1 se",
3261
+ filterOperatorStartsWith: "za\u010D\xEDn\xE1 na",
3262
+ filterOperatorEndsWith: "kon\u010D\xED na",
3263
+ filterOperatorIs: "je",
3264
+ filterOperatorNot: "nen\xED",
3265
+ filterOperatorAfter: "je po",
3266
+ filterOperatorOnOrAfter: "je po v\u010Detn\u011B",
3267
+ filterOperatorBefore: "je p\u0159ed",
3268
+ filterOperatorOnOrBefore: "je p\u0159ed v\u010Detn\u011B",
3269
+ filterOperatorIsEmpty: "je pr\xE1zdn\xFD",
3270
+ filterOperatorIsNotEmpty: "nen\xED pr\xE1zdn\xFD",
3271
+ filterOperatorIsAnyOf: "je jeden z",
3272
+ "filterOperator=": "=",
3273
+ "filterOperator!=": "!=",
3274
+ "filterOperator>": ">",
3275
+ "filterOperator>=": ">=",
3276
+ "filterOperator<": "<",
3277
+ "filterOperator<=": "<=",
3278
+ // Header filter operators text
3279
+ headerFilterOperatorContains: "Obsahuje",
3280
+ headerFilterOperatorDoesNotContain: "Neobsahuje",
3281
+ headerFilterOperatorEquals: "Rovn\xE1 se",
3282
+ headerFilterOperatorDoesNotEqual: "Nerovn\xE1 se",
3283
+ headerFilterOperatorStartsWith: "Za\u010D\xEDn\xE1 na",
3284
+ headerFilterOperatorEndsWith: "Kon\u010D\xED na",
3285
+ headerFilterOperatorIs: "Je",
3286
+ headerFilterOperatorNot: "Nen\xED",
3287
+ headerFilterOperatorAfter: "Je po",
3288
+ headerFilterOperatorOnOrAfter: "Je po v\u010Detn\u011B",
3289
+ headerFilterOperatorBefore: "Je p\u0159ed",
3290
+ headerFilterOperatorOnOrBefore: "Je p\u0159ed v\u010Detn\u011B",
3291
+ headerFilterOperatorIsEmpty: "Je pr\xE1zdn\xFD",
3292
+ headerFilterOperatorIsNotEmpty: "Nen\xED pr\xE1zdn\xFD",
3293
+ headerFilterOperatorIsAnyOf: "Je jeden z",
3294
+ "headerFilterOperator=": "Rovn\xE1 se",
3295
+ "headerFilterOperator!=": "Nerovn\xE1 se",
3296
+ "headerFilterOperator>": "V\u011Bt\u0161\xED ne\u017E",
3297
+ "headerFilterOperator>=": "V\u011Bt\u0161\xED ne\u017E nebo rovno",
3298
+ "headerFilterOperator<": "Men\u0161\xED ne\u017E",
3299
+ "headerFilterOperator<=": "Men\u0161\xED ne\u017E nebo rovno",
3300
+ headerFilterClear: "Zru\u0161it filtr",
3301
+ // Filter values text
3302
+ filterValueAny: "jak\xFDkoliv",
3303
+ filterValueTrue: "ano",
3304
+ filterValueFalse: "ne",
3305
+ // Column menu text
3306
+ columnMenuLabel: "Menu",
3307
+ columnMenuAriaLabel: (columnName) => `Mo\u017Enosti sloupce ${columnName}`,
3308
+ columnMenuShowColumns: "Zobrazit sloupce",
3309
+ columnMenuManageColumns: "Spravovat sloupce",
3310
+ columnMenuFilter: "Filtr",
3311
+ columnMenuHideColumn: "Skr\xFDt",
3312
+ columnMenuUnsort: "Zru\u0161it filtry",
3313
+ columnMenuSortAsc: "Se\u0159adit vzestupn\u011B",
3314
+ columnMenuSortDesc: "Se\u0159adit sestupn\u011B",
3315
+ // columnMenuManagePivot: 'Manage pivot',
3316
+ // Column header text
3317
+ columnHeaderFiltersTooltipActive: (count) => {
3318
+ let pluralForm = "aktivn\xEDch filtr\u016F";
3319
+ if (count > 1 && count < 5) {
3320
+ pluralForm = "aktivn\xED filtry";
3321
+ } else if (count === 1) {
3322
+ pluralForm = "aktivn\xED filtr";
3323
+ }
3324
+ return `${count} ${pluralForm}`;
3325
+ },
3326
+ columnHeaderFiltersLabel: "Zobrazit filtry",
3327
+ columnHeaderSortIconLabel: "Filtrovat",
3328
+ // Rows selected footer text
3329
+ footerRowSelected: (count) => {
3330
+ let pluralForm = "vybran\xFDch z\xE1znam\u016F";
3331
+ if (count > 1 && count < 5) {
3332
+ pluralForm = "vybran\xE9 z\xE1znamy";
3333
+ } else if (count === 1) {
3334
+ pluralForm = "vybran\xFD z\xE1znam";
3335
+ }
3336
+ return `${count} ${pluralForm}`;
3337
+ },
3338
+ // Total row amount footer text
3339
+ footerTotalRows: "Celkem \u0159\xE1dk\u016F:",
3340
+ // Total visible row amount footer text
3341
+ footerTotalVisibleRows: (visibleCount, totalCount) => {
3342
+ const str = totalCount.toString();
3343
+ const firstDigit = str[0];
3344
+ const op = ["4", "6", "7"].includes(firstDigit) || firstDigit === "1" && str.length % 3 === 0 ? "ze" : "z";
3345
+ return `${visibleCount.toLocaleString()} ${op} ${totalCount.toLocaleString()}`;
3346
+ },
3347
+ // Checkbox selection text
3348
+ checkboxSelectionHeaderName: "V\xFDb\u011Br \u0159\xE1dku",
3349
+ checkboxSelectionSelectAllRows: "Ozna\u010Dit v\u0161echny \u0159\xE1dky",
3350
+ checkboxSelectionUnselectAllRows: "Odzna\u010Dit v\u0161echny \u0159\xE1dky",
3351
+ checkboxSelectionSelectRow: "Ozna\u010Dit \u0159\xE1dek",
3352
+ checkboxSelectionUnselectRow: "Odzna\u010Dit \u0159\xE1dek",
3353
+ // Boolean cell text
3354
+ booleanCellTrueLabel: "ano",
3355
+ booleanCellFalseLabel: "ne",
3356
+ // Actions cell more text
3357
+ actionsCellMore: "v\xEDce",
3358
+ // Column pinning text
3359
+ pinToLeft: "P\u0159ipnout vlevo",
3360
+ pinToRight: "P\u0159ipnout vpravo",
3361
+ unpin: "Odepnout",
3362
+ // Tree Data
3363
+ treeDataGroupingHeaderName: "Skupina",
3364
+ treeDataExpand: "zobrazit potomky",
3365
+ treeDataCollapse: "skr\xFDt potomky",
3366
+ // Grouping columns
3367
+ groupingColumnHeaderName: "Skupina",
3368
+ groupColumn: (name) => `Seskupit podle ${name}`,
3369
+ unGroupColumn: (name) => `P\u0159estat seskupovat podle ${name}`,
3370
+ // Master/detail
3371
+ detailPanelToggle: "P\u0159epnout detail panelu",
3372
+ expandDetailPanel: "Rozbalit",
3373
+ collapseDetailPanel: "Sbalit",
3374
+ // Pagination
3375
+ paginationRowsPerPage: "\u0158\xE1dk\u016F na str\xE1nce:",
3376
+ paginationDisplayedRows: ({
3377
+ from,
3378
+ to,
3379
+ count,
3380
+ estimated
3381
+ }) => {
3382
+ if (!estimated) {
3383
+ return `${from}\u2013${to} z ${count !== -1 ? count : `v\xEDce ne\u017E ${to}`}`;
3384
+ }
3385
+ const estimatedLabel = estimated && estimated > to ? `p\u0159ibli\u017En\u011B ${estimated}` : `v\xEDce ne\u017E ${to}`;
3386
+ return `${from}\u2013${to} z ${count !== -1 ? count : estimatedLabel}`;
3387
+ },
3388
+ paginationItemAriaLabel: (type) => {
3389
+ if (type === "first") {
3390
+ return "J\xEDt na prvn\xED str\xE1nku";
3391
+ }
3392
+ if (type === "last") {
3393
+ return "J\xEDt na posledn\xED str\xE1nku";
3394
+ }
3395
+ if (type === "next") {
3396
+ return "J\xEDt na dal\u0161\xED str\xE1nku";
3397
+ }
3398
+ return "J\xEDt na p\u0159edchoz\xED str\xE1nku";
3399
+ },
3400
+ // Row reordering text
3401
+ rowReorderingHeaderName: "P\u0159euspo\u0159\xE1d\xE1v\xE1n\xED \u0159\xE1dk\u016F",
3402
+ // Aggregation
3403
+ aggregationMenuItemHeader: "Seskupov\xE1n\xED",
3404
+ aggregationFunctionLabelSum: "sou\u010Det",
3405
+ aggregationFunctionLabelAvg: "pr\u016Fm\u011Br",
3406
+ aggregationFunctionLabelMin: "min",
3407
+ aggregationFunctionLabelMax: "max",
3408
+ aggregationFunctionLabelSize: "po\u010Det",
3409
+ // Pivot panel
3410
+ // pivotToggleLabel: 'Pivot',
3411
+ // pivotRows: 'Rows',
3412
+ // pivotColumns: 'Columns',
3413
+ // pivotValues: 'Values',
3414
+ // pivotCloseButton: 'Close pivot settings',
3415
+ // pivotSearchButton: 'Search fields',
3416
+ // pivotSearchControlPlaceholder: 'Search fields',
3417
+ // pivotSearchControlLabel: 'Search fields',
3418
+ // pivotSearchControlClear: 'Clear search',
3419
+ // pivotNoFields: 'No fields',
3420
+ // pivotMenuMoveUp: 'Move up',
3421
+ // pivotMenuMoveDown: 'Move down',
3422
+ // pivotMenuMoveToTop: 'Move to top',
3423
+ // pivotMenuMoveToBottom: 'Move to bottom',
3424
+ // pivotMenuRows: 'Rows',
3425
+ // pivotMenuColumns: 'Columns',
3426
+ // pivotMenuValues: 'Values',
3427
+ // pivotMenuOptions: 'Field options',
3428
+ // pivotMenuAddToRows: 'Add to Rows',
3429
+ // pivotMenuAddToColumns: 'Add to Columns',
3430
+ // pivotMenuAddToValues: 'Add to Values',
3431
+ // pivotMenuRemove: 'Remove',
3432
+ // pivotDragToRows: 'Drag here to create rows',
3433
+ // pivotDragToColumns: 'Drag here to create columns',
3434
+ // pivotDragToValues: 'Drag here to create values',
3435
+ // pivotYearColumnHeaderName: '(Year)',
3436
+ // pivotQuarterColumnHeaderName: '(Quarter)',
3437
+ // AI Assistant panel
3438
+ // aiAssistantPanelTitle: 'AI Assistant',
3439
+ // aiAssistantPanelClose: 'Close AI Assistant',
3440
+ // aiAssistantPanelNewConversation: 'New conversation',
3441
+ // aiAssistantPanelConversationHistory: 'Conversation history',
3442
+ // aiAssistantPanelEmptyConversation: 'No prompt history',
3443
+ // aiAssistantSuggestions: 'Suggestions',
3444
+ // Prompt field
3445
+ promptFieldLabel: "Vstup po\u017Eadavku",
3446
+ promptFieldPlaceholder: "Napi\u0161te po\u017Eadavek\u2026",
3447
+ promptFieldPlaceholderWithRecording: "Napi\u0161te nebo nahrajte po\u017Eadavek\u2026",
3448
+ promptFieldPlaceholderListening: "Naslouch\xE1m po\u017Eadavku\u2026",
3449
+ // promptFieldSpeechRecognitionNotSupported: 'Speech recognition is not supported in this browser',
3450
+ promptFieldSend: "Odeslat",
3451
+ promptFieldRecord: "Nahr\xE1t",
3452
+ promptFieldStopRecording: "Zastavit nahr\xE1v\xE1n\xED"
3453
+ // Prompt
3454
+ // promptRerun: 'Run again',
3455
+ // promptProcessing: 'Processing…',
3456
+ // promptAppliedChanges: 'Applied changes',
3457
+ // Prompt changes
3458
+ // promptChangeGroupDescription: (column: string) => `Group by ${column}`,
3459
+ // promptChangeAggregationLabel: (column: string, aggregation: string) => `${column} (${aggregation})`,
3460
+ // promptChangeAggregationDescription: (column: string, aggregation: string) => `Aggregate ${column} (${aggregation})`,
3461
+ // promptChangeFilterLabel: (column: string, operator: string, value: string) => {
3462
+ // if (operator === 'is any of') {
3463
+ // return `${column} is any of: ${value}`;
3464
+ // }
3465
+ // return `${column} ${operator} ${value}`;
3466
+ // },
3467
+ // promptChangeFilterDescription: (column: string, operator: string, value: string) => {
3468
+ // if (operator === 'is any of') {
3469
+ // return `Filter where ${column} is any of: ${value}`;
3470
+ // }
3471
+ // return `Filter where ${column} ${operator} ${value}`;
3472
+ // },
3473
+ // promptChangeSortDescription: (column: string, direction: string) => `Sort by ${column} (${direction})`,
3474
+ // promptChangePivotEnableLabel: 'Pivot',
3475
+ // promptChangePivotEnableDescription: 'Enable pivot',
3476
+ // promptChangePivotColumnsLabel: (count: number) => `Columns (${count})`,
3477
+ // promptChangePivotColumnsDescription: (column: string, direction: string) => `${column}${direction ? ` (${direction})` : ''}`,
3478
+ // promptChangePivotRowsLabel: (count: number) => `Rows (${count})`,
3479
+ // promptChangePivotValuesLabel: (count: number) => `Values (${count})`,
3480
+ // promptChangePivotValuesDescription: (column: string, aggregation: string) => `${column} (${aggregation})`,
3481
+ };
3482
+ var csCZ = getGridLocalization(csCZGrid);
3483
+
3484
+ // node_modules/@mui/x-data-grid/esm/constants/localeTextConstants.js
3485
+ var GRID_DEFAULT_LOCALE_TEXT = {
3486
+ // Root
3487
+ noRowsLabel: "No rows",
3488
+ noResultsOverlayLabel: "No results found.",
3489
+ noColumnsOverlayLabel: "No columns",
3490
+ noColumnsOverlayManageColumns: "Manage columns",
3491
+ emptyPivotOverlayLabel: "Add fields to rows, columns, and values to create a pivot table",
3492
+ // Density selector toolbar button text
3493
+ toolbarDensity: "Density",
3494
+ toolbarDensityLabel: "Density",
3495
+ toolbarDensityCompact: "Compact",
3496
+ toolbarDensityStandard: "Standard",
3497
+ toolbarDensityComfortable: "Comfortable",
3498
+ // Columns selector toolbar button text
3499
+ toolbarColumns: "Columns",
3500
+ toolbarColumnsLabel: "Select columns",
3501
+ // Filters toolbar button text
3502
+ toolbarFilters: "Filters",
3503
+ toolbarFiltersLabel: "Show filters",
3504
+ toolbarFiltersTooltipHide: "Hide filters",
3505
+ toolbarFiltersTooltipShow: "Show filters",
3506
+ toolbarFiltersTooltipActive: (count) => count !== 1 ? `${count} active filters` : `${count} active filter`,
3507
+ // Quick filter toolbar field
3508
+ toolbarQuickFilterPlaceholder: "Search\u2026",
3509
+ toolbarQuickFilterLabel: "Search",
3510
+ toolbarQuickFilterDeleteIconLabel: "Clear",
3511
+ // Export selector toolbar button text
3512
+ toolbarExport: "Export",
3513
+ toolbarExportLabel: "Export",
3514
+ toolbarExportCSV: "Download as CSV",
3515
+ toolbarExportPrint: "Print",
3516
+ toolbarExportExcel: "Download as Excel",
3517
+ // Toolbar pivot button
3518
+ toolbarPivot: "Pivot",
3519
+ // Toolbar AI Assistant button
3520
+ toolbarAssistant: "AI Assistant",
3521
+ // Columns management text
3522
+ columnsManagementSearchTitle: "Search",
3523
+ columnsManagementNoColumns: "No columns",
3524
+ columnsManagementShowHideAllText: "Show/Hide All",
3525
+ columnsManagementReset: "Reset",
3526
+ columnsManagementDeleteIconLabel: "Clear",
3527
+ // Filter panel text
3528
+ filterPanelAddFilter: "Add filter",
3529
+ filterPanelRemoveAll: "Remove all",
3530
+ filterPanelDeleteIconLabel: "Delete",
3531
+ filterPanelLogicOperator: "Logic operator",
3532
+ filterPanelOperator: "Operator",
3533
+ filterPanelOperatorAnd: "And",
3534
+ filterPanelOperatorOr: "Or",
3535
+ filterPanelColumns: "Columns",
3536
+ filterPanelInputLabel: "Value",
3537
+ filterPanelInputPlaceholder: "Filter value",
3538
+ // Filter operators text
3539
+ filterOperatorContains: "contains",
3540
+ filterOperatorDoesNotContain: "does not contain",
3541
+ filterOperatorEquals: "equals",
3542
+ filterOperatorDoesNotEqual: "does not equal",
3543
+ filterOperatorStartsWith: "starts with",
3544
+ filterOperatorEndsWith: "ends with",
3545
+ filterOperatorIs: "is",
3546
+ filterOperatorNot: "is not",
3547
+ filterOperatorAfter: "is after",
3548
+ filterOperatorOnOrAfter: "is on or after",
3549
+ filterOperatorBefore: "is before",
3550
+ filterOperatorOnOrBefore: "is on or before",
3551
+ filterOperatorIsEmpty: "is empty",
3552
+ filterOperatorIsNotEmpty: "is not empty",
3553
+ filterOperatorIsAnyOf: "is any of",
3554
+ "filterOperator=": "=",
3555
+ "filterOperator!=": "!=",
3556
+ "filterOperator>": ">",
3557
+ "filterOperator>=": ">=",
3558
+ "filterOperator<": "<",
3559
+ "filterOperator<=": "<=",
3560
+ // Header filter operators text
3561
+ headerFilterOperatorContains: "Contains",
3562
+ headerFilterOperatorDoesNotContain: "Does not contain",
3563
+ headerFilterOperatorEquals: "Equals",
3564
+ headerFilterOperatorDoesNotEqual: "Does not equal",
3565
+ headerFilterOperatorStartsWith: "Starts with",
3566
+ headerFilterOperatorEndsWith: "Ends with",
3567
+ headerFilterOperatorIs: "Is",
3568
+ headerFilterOperatorNot: "Is not",
3569
+ headerFilterOperatorAfter: "Is after",
3570
+ headerFilterOperatorOnOrAfter: "Is on or after",
3571
+ headerFilterOperatorBefore: "Is before",
3572
+ headerFilterOperatorOnOrBefore: "Is on or before",
3573
+ headerFilterOperatorIsEmpty: "Is empty",
3574
+ headerFilterOperatorIsNotEmpty: "Is not empty",
3575
+ headerFilterOperatorIsAnyOf: "Is any of",
3576
+ "headerFilterOperator=": "Equals",
3577
+ "headerFilterOperator!=": "Not equals",
3578
+ "headerFilterOperator>": "Greater than",
3579
+ "headerFilterOperator>=": "Greater than or equal to",
3580
+ "headerFilterOperator<": "Less than",
3581
+ "headerFilterOperator<=": "Less than or equal to",
3582
+ headerFilterClear: "Clear filter",
3583
+ // Filter values text
3584
+ filterValueAny: "any",
3585
+ filterValueTrue: "true",
3586
+ filterValueFalse: "false",
3587
+ // Column menu text
3588
+ columnMenuLabel: "Menu",
3589
+ columnMenuAriaLabel: (columnName) => `${columnName} column menu`,
3590
+ columnMenuShowColumns: "Show columns",
3591
+ columnMenuManageColumns: "Manage columns",
3592
+ columnMenuFilter: "Filter",
3593
+ columnMenuHideColumn: "Hide column",
3594
+ columnMenuUnsort: "Unsort",
3595
+ columnMenuSortAsc: "Sort by ASC",
3596
+ columnMenuSortDesc: "Sort by DESC",
3597
+ columnMenuManagePivot: "Manage pivot",
3598
+ // Column header text
3599
+ columnHeaderFiltersTooltipActive: (count) => count !== 1 ? `${count} active filters` : `${count} active filter`,
3600
+ columnHeaderFiltersLabel: "Show filters",
3601
+ columnHeaderSortIconLabel: "Sort",
3602
+ // Rows selected footer text
3603
+ footerRowSelected: (count) => count !== 1 ? `${count.toLocaleString()} rows selected` : `${count.toLocaleString()} row selected`,
3604
+ // Total row amount footer text
3605
+ footerTotalRows: "Total Rows:",
3606
+ // Total visible row amount footer text
3607
+ footerTotalVisibleRows: (visibleCount, totalCount) => `${visibleCount.toLocaleString()} of ${totalCount.toLocaleString()}`,
3608
+ // Checkbox selection text
3609
+ checkboxSelectionHeaderName: "Checkbox selection",
3610
+ checkboxSelectionSelectAllRows: "Select all rows",
3611
+ checkboxSelectionUnselectAllRows: "Unselect all rows",
3612
+ checkboxSelectionSelectRow: "Select row",
3613
+ checkboxSelectionUnselectRow: "Unselect row",
3614
+ // Boolean cell text
3615
+ booleanCellTrueLabel: "yes",
3616
+ booleanCellFalseLabel: "no",
3617
+ // Actions cell more text
3618
+ actionsCellMore: "more",
3619
+ // Column pinning text
3620
+ pinToLeft: "Pin to left",
3621
+ pinToRight: "Pin to right",
3622
+ unpin: "Unpin",
3623
+ // Tree Data
3624
+ treeDataGroupingHeaderName: "Group",
3625
+ treeDataExpand: "see children",
3626
+ treeDataCollapse: "hide children",
3627
+ // Grouping columns
3628
+ groupingColumnHeaderName: "Group",
3629
+ groupColumn: (name) => `Group by ${name}`,
3630
+ unGroupColumn: (name) => `Stop grouping by ${name}`,
3631
+ // Master/detail
3632
+ detailPanelToggle: "Detail panel toggle",
3633
+ expandDetailPanel: "Expand",
3634
+ collapseDetailPanel: "Collapse",
3635
+ // Pagination
3636
+ paginationRowsPerPage: "Rows per page:",
3637
+ paginationDisplayedRows: ({
3638
+ from,
3639
+ to,
3640
+ count,
3641
+ estimated
3642
+ }) => {
3643
+ if (!estimated) {
3644
+ return `${from}\u2013${to} of ${count !== -1 ? count : `more than ${to}`}`;
3645
+ }
3646
+ const estimatedLabel = estimated && estimated > to ? `around ${estimated}` : `more than ${to}`;
3647
+ return `${from}\u2013${to} of ${count !== -1 ? count : estimatedLabel}`;
3648
+ },
3649
+ paginationItemAriaLabel: (type) => {
3650
+ if (type === "first") {
3651
+ return "Go to first page";
3652
+ }
3653
+ if (type === "last") {
3654
+ return "Go to last page";
3655
+ }
3656
+ if (type === "next") {
3657
+ return "Go to next page";
3658
+ }
3659
+ return "Go to previous page";
3660
+ },
3661
+ // Row reordering text
3662
+ rowReorderingHeaderName: "Row reordering",
3663
+ // Aggregation
3664
+ aggregationMenuItemHeader: "Aggregation",
3665
+ aggregationFunctionLabelSum: "sum",
3666
+ aggregationFunctionLabelAvg: "avg",
3667
+ aggregationFunctionLabelMin: "min",
3668
+ aggregationFunctionLabelMax: "max",
3669
+ aggregationFunctionLabelSize: "size",
3670
+ // Pivot panel
3671
+ pivotToggleLabel: "Pivot",
3672
+ pivotRows: "Rows",
3673
+ pivotColumns: "Columns",
3674
+ pivotValues: "Values",
3675
+ pivotCloseButton: "Close pivot settings",
3676
+ pivotSearchButton: "Search fields",
3677
+ pivotSearchControlPlaceholder: "Search fields",
3678
+ pivotSearchControlLabel: "Search fields",
3679
+ pivotSearchControlClear: "Clear search",
3680
+ pivotNoFields: "No fields",
3681
+ pivotMenuMoveUp: "Move up",
3682
+ pivotMenuMoveDown: "Move down",
3683
+ pivotMenuMoveToTop: "Move to top",
3684
+ pivotMenuMoveToBottom: "Move to bottom",
3685
+ pivotMenuRows: "Rows",
3686
+ pivotMenuColumns: "Columns",
3687
+ pivotMenuValues: "Values",
3688
+ pivotMenuOptions: "Field options",
3689
+ pivotMenuAddToRows: "Add to Rows",
3690
+ pivotMenuAddToColumns: "Add to Columns",
3691
+ pivotMenuAddToValues: "Add to Values",
3692
+ pivotMenuRemove: "Remove",
3693
+ pivotDragToRows: "Drag here to create rows",
3694
+ pivotDragToColumns: "Drag here to create columns",
3695
+ pivotDragToValues: "Drag here to create values",
3696
+ pivotYearColumnHeaderName: "(Year)",
3697
+ pivotQuarterColumnHeaderName: "(Quarter)",
3698
+ // AI Assistant panel
3699
+ aiAssistantPanelTitle: "AI Assistant",
3700
+ aiAssistantPanelClose: "Close AI Assistant",
3701
+ aiAssistantPanelNewConversation: "New conversation",
3702
+ aiAssistantPanelConversationHistory: "Conversation history",
3703
+ aiAssistantPanelEmptyConversation: "No prompt history",
3704
+ aiAssistantSuggestions: "Suggestions",
3705
+ // Prompt field
3706
+ promptFieldLabel: "Prompt",
3707
+ promptFieldPlaceholder: "Type a prompt\u2026",
3708
+ promptFieldPlaceholderWithRecording: "Type or record a prompt\u2026",
3709
+ promptFieldPlaceholderListening: "Listening for prompt\u2026",
3710
+ promptFieldSpeechRecognitionNotSupported: "Speech recognition is not supported in this browser",
3711
+ promptFieldSend: "Send",
3712
+ promptFieldRecord: "Record",
3713
+ promptFieldStopRecording: "Stop recording",
3714
+ // Prompt
3715
+ promptRerun: "Run again",
3716
+ promptProcessing: "Processing\u2026",
3717
+ promptAppliedChanges: "Applied changes",
3718
+ // Prompt changes
3719
+ promptChangeGroupDescription: (column) => `Group by ${column}`,
3720
+ promptChangeAggregationLabel: (column, aggregation) => `${column} (${aggregation})`,
3721
+ promptChangeAggregationDescription: (column, aggregation) => `Aggregate ${column} (${aggregation})`,
3722
+ promptChangeFilterLabel: (column, operator, value) => {
3723
+ if (operator === "is any of") {
3724
+ return `${column} is any of: ${value}`;
3725
+ }
3726
+ return `${column} ${operator} ${value}`;
3727
+ },
3728
+ promptChangeFilterDescription: (column, operator, value) => {
3729
+ if (operator === "is any of") {
3730
+ return `Filter where ${column} is any of: ${value}`;
3731
+ }
3732
+ return `Filter where ${column} ${operator} ${value}`;
3733
+ },
3734
+ promptChangeSortDescription: (column, direction) => `Sort by ${column} (${direction})`,
3735
+ promptChangePivotEnableLabel: "Pivot",
3736
+ promptChangePivotEnableDescription: "Enable pivot",
3737
+ promptChangePivotColumnsLabel: (count) => `Columns (${count})`,
3738
+ promptChangePivotColumnsDescription: (column, direction) => `${column}${direction ? ` (${direction})` : ""}`,
3739
+ promptChangePivotRowsLabel: (count) => `Rows (${count})`,
3740
+ promptChangePivotValuesLabel: (count) => `Values (${count})`,
3741
+ promptChangePivotValuesDescription: (column, aggregation) => `${column} (${aggregation})`
3742
+ };
3743
+
3744
+ // node_modules/@mui/x-data-grid/esm/locales/enUS.js
3745
+ var enUS2 = getGridLocalization(GRID_DEFAULT_LOCALE_TEXT);
3746
+
3747
+ // node_modules/@mui/x-date-pickers/esm/locales/csCZ.js
3748
+ var timeViews = {
3749
+ hours: "Hodiny",
3750
+ minutes: "Minuty",
3751
+ seconds: "Sekundy",
3752
+ meridiem: "Odpoledne"
3753
+ };
3754
+ var csCZPickers = {
3755
+ // Calendar navigation
3756
+ previousMonth: "P\u0159edchoz\xED m\u011Bs\xEDc",
3757
+ nextMonth: "Dal\u0161\xED m\u011Bs\xEDc",
3758
+ // View navigation
3759
+ openPreviousView: "Otev\u0159\xEDt p\u0159edchoz\xED zobrazen\xED",
3760
+ openNextView: "Otev\u0159\xEDt dal\u0161\xED zobrazen\xED",
3761
+ 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",
3762
+ // DateRange labels
3763
+ start: "Za\u010D\xE1tek",
3764
+ end: "Konec",
3765
+ startDate: "Datum za\u010D\xE1tku",
3766
+ startTime: "\u010Cas za\u010D\xE1tku",
3767
+ endDate: "Datum konce",
3768
+ endTime: "\u010Cas konce",
3769
+ // Action bar
3770
+ cancelButtonLabel: "Zru\u0161it",
3771
+ clearButtonLabel: "Vymazat",
3772
+ okButtonLabel: "Potvrdit",
3773
+ todayButtonLabel: "Dnes",
3774
+ nextStepButtonLabel: "Dal\u0161\xED",
3775
+ // Toolbar titles
3776
+ datePickerToolbarTitle: "Vyberte datum",
3777
+ dateTimePickerToolbarTitle: "Vyberte datum a \u010Das",
3778
+ timePickerToolbarTitle: "Vyberte \u010Das",
3779
+ dateRangePickerToolbarTitle: "Vyberte rozmez\xED dat",
3780
+ // timeRangePickerToolbarTitle: 'Select time range',
3781
+ // Clock labels
3782
+ clockLabelText: (view, formattedTime) => `${timeViews[view] ?? view} vybr\xE1ny. ${!formattedTime ? "Nen\xED vybr\xE1n \u010Das" : `Vybran\xFD \u010Das je ${formattedTime}`}`,
3783
+ hoursClockNumberText: (hours) => `${hours} hodin`,
3784
+ minutesClockNumberText: (minutes) => `${minutes} minut`,
3785
+ secondsClockNumberText: (seconds) => `${seconds} sekund`,
3786
+ // Digital clock labels
3787
+ selectViewText: (view) => `Vyberte ${timeViews[view]}`,
3788
+ // Calendar labels
3789
+ calendarWeekNumberHeaderLabel: "T\xFDden v roce",
3790
+ calendarWeekNumberHeaderText: "#",
3791
+ calendarWeekNumberAriaLabelText: (weekNumber) => `${weekNumber} t\xFDden v roce`,
3792
+ calendarWeekNumberText: (weekNumber) => `${weekNumber}`,
3793
+ // Open Picker labels
3794
+ openDatePickerDialogue: (formattedDate) => formattedDate ? `Vyberte datum, vybran\xE9 datum je ${formattedDate}` : "Vyberte datum",
3795
+ openTimePickerDialogue: (formattedTime) => formattedTime ? `Vyberte \u010Das, vybran\xFD \u010Das je ${formattedTime}` : "Vyberte \u010Das",
3796
+ // openRangePickerDialogue: formattedRange => formattedRange ? `Choose range, selected range is ${formattedRange}` : 'Choose range',
3797
+ fieldClearLabel: "Vymazat",
3798
+ // Table labels
3799
+ timeTableLabel: "vyberte \u010Das",
3800
+ dateTableLabel: "vyberte datum",
3801
+ // Field section placeholders
3802
+ fieldYearPlaceholder: (params) => "Y".repeat(params.digitAmount),
3803
+ fieldMonthPlaceholder: (params) => params.contentType === "letter" ? "MMMM" : "MM",
3804
+ fieldDayPlaceholder: () => "DD",
3805
+ fieldWeekDayPlaceholder: (params) => params.contentType === "letter" ? "EEEE" : "EE",
3806
+ fieldHoursPlaceholder: () => "hh",
3807
+ fieldMinutesPlaceholder: () => "mm",
3808
+ fieldSecondsPlaceholder: () => "ss",
3809
+ fieldMeridiemPlaceholder: () => "aa",
3810
+ // View names
3811
+ year: "Rok",
3812
+ month: "M\u011Bs\xEDc",
3813
+ day: "Den",
3814
+ weekDay: "Pracovn\xED den",
3815
+ hours: "Hodiny",
3816
+ minutes: "Minuty",
3817
+ seconds: "Sekundy",
3818
+ meridiem: "Odpoledne",
3819
+ // Common
3820
+ empty: "Pr\xE1zdn\xFD"
3821
+ };
3822
+ var csCZ2 = getPickersLocalization(csCZPickers);
3823
+
3824
+ // src/hooks/ThemeHook.ts
3825
+ import { useTranslation as useTranslation6 } from "react-i18next";
3826
+ var WISTRON_PRIMARY_COLOR = "#00506E";
3827
+ var WISTRON_SECONDARY_COLOR = "#64DC00";
3828
+ var useGetTheme = (theme) => {
3829
+ const { i18n: i18n2 } = useTranslation6();
3830
+ return createTheme(
3831
+ {
3832
+ cssVariables: {
3833
+ colorSchemeSelector: "data-mui-color-scheme"
3834
+ },
3835
+ colorSchemes: {
3836
+ light: {
3837
+ palette: {
3838
+ primary: { main: WISTRON_PRIMARY_COLOR },
3839
+ secondary: { main: WISTRON_SECONDARY_COLOR }
3840
+ }
3841
+ },
3842
+ dark: {
3843
+ palette: {
3844
+ primary: { main: lighten(WISTRON_PRIMARY_COLOR, 0.5) },
3845
+ secondary: { main: darken(WISTRON_SECONDARY_COLOR, 0.5) }
3846
+ }
3847
+ },
3848
+ ...theme?.colorSchemes
3849
+ },
3850
+ components: {
3851
+ MuiCssBaseline: {
3852
+ styleOverrides: ({ palette }) => {
3853
+ return {
3854
+ body: {
3855
+ "&::-webkit-scrollbar, & *::-webkit-scrollbar": {
3856
+ width: "0.7em",
3857
+ height: "0.7em"
3858
+ },
3859
+ "&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {
3860
+ backgroundColor: palette.mode === "dark" ? grey2[900] : grey2[200],
3861
+ borderRadius: "5px"
3862
+ },
3863
+ "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": {
3864
+ backgroundColor: palette.mode === "dark" ? grey2[800] : grey2[400],
3865
+ borderRadius: "10px"
3866
+ },
3867
+ "&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": {
3868
+ backgroundColor: palette.mode === "dark" ? grey2[700] : grey2[500]
3869
+ },
3870
+ "&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": {
3871
+ backgroundColor: "transparent"
3872
+ }
3873
+ }
3874
+ };
3875
+ }
3876
+ },
3877
+ ...theme?.components
3878
+ }
3879
+ },
3880
+ i18n2.resolvedLanguage === "cs" ? csCZ : enUS2,
3881
+ i18n2.resolvedLanguage === "cs" ? csCZ2 : enUS,
3882
+ i18n2.resolvedLanguage === "cs" ? csCZ3 : enUS3
3883
+ );
3884
+ };
3885
+
3094
3886
  // src/components/core/Layout.tsx
3095
3887
  import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
3096
3888
  var DrawerHeader = styled2("div")(({ theme }) => ({
@@ -3101,12 +3893,11 @@ var DrawerHeader = styled2("div")(({ theme }) => ({
3101
3893
  ...theme.mixins.toolbar
3102
3894
  }));
3103
3895
  var Layout = (props) => {
3104
- const theme = createTheme();
3896
+ const theme = useGetTheme(props.theme);
3105
3897
  const [navigationOpen, setNavigationOpen] = useLocalStorageState("navigationOpen", { defaultServerValue: false });
3106
3898
  const isFetching = !!useIsFetching();
3107
3899
  const isMutating = !!useIsMutating();
3108
3900
  return /* @__PURE__ */ jsxs15(ThemeProvider, { theme, children: [
3109
- /* @__PURE__ */ jsx27(InitColorSchemeScript, {}),
3110
3901
  /* @__PURE__ */ jsx27(CssBaseline, {}),
3111
3902
  /* @__PURE__ */ jsxs15(Box9, { sx: { display: "flex", height: "100dvh", maxHeight: "100dvh", overflow: "hidden", width: "100%" }, children: [
3112
3903
  /* @__PURE__ */ jsx27(
@@ -3144,18 +3935,15 @@ var Layout = (props) => {
3144
3935
  };
3145
3936
 
3146
3937
  // src/providers/LayoutProvider.tsx
3147
- import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
3938
+ import { jsx as jsx28 } from "react/jsx-runtime";
3148
3939
  var LayoutProvider = (props) => {
3149
3940
  const [user, setUser] = useState10({ employeeId: "", name: "Unknown", department: "", company: "", category: "" });
3150
- const { t: t2 } = useTranslation6();
3941
+ const { t: t2 } = useTranslation7();
3151
3942
  const navigation = props.getNavigation?.({ user, t: t2 });
3152
3943
  useEffect6(() => {
3153
3944
  z.config(default2.resolvedLanguage === "cs" ? cs() : en());
3154
3945
  }, []);
3155
- return /* @__PURE__ */ jsx28(LocalizationProvider, { dateAdapter: AdapterDayjs, adapterLocale: default2.resolvedLanguage, children: /* @__PURE__ */ jsx28(LayoutContext.Provider, { value: { user: { get: user, set: setUser } }, children: /* @__PURE__ */ jsxs16(Layout, { navigation, theme: props.theme, children: [
3156
- "\xA8",
3157
- /* @__PURE__ */ jsx28(DialogsProvider, { children: props.children })
3158
- ] }) }) });
3946
+ return /* @__PURE__ */ jsx28(LocalizationProvider, { dateAdapter: AdapterDayjs, adapterLocale: default2.resolvedLanguage, children: /* @__PURE__ */ jsx28(LayoutContext.Provider, { value: { user: { get: user, set: setUser } }, children: /* @__PURE__ */ jsx28(Layout, { navigation, theme: props.theme, children: /* @__PURE__ */ jsx28(DialogsProvider, { children: props.children }) }) }) });
3159
3947
  };
3160
3948
 
3161
3949
  // src/index.ts
@@ -3206,11 +3994,11 @@ var FormAutocomplete = ({ textFieldProps, ...autocompleteProps }) => {
3206
3994
 
3207
3995
  // src/components/form/FormCheckbox.tsx
3208
3996
  import { Checkbox, FormControl, FormControlLabel, FormHelperText } from "@mui/material";
3209
- import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
3997
+ import { jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
3210
3998
  var FormCheckbox = (props) => {
3211
3999
  const field = useFieldContext();
3212
4000
  const { isTouched, hasError, helperText } = getFieldStatus(field);
3213
- return /* @__PURE__ */ jsxs17(FormControl, { component: "fieldset", children: [
4001
+ return /* @__PURE__ */ jsxs16(FormControl, { component: "fieldset", children: [
3214
4002
  /* @__PURE__ */ jsx30(
3215
4003
  FormControlLabel,
3216
4004
  {
@@ -3314,11 +4102,11 @@ var FormNumberField = ({ options, ...props }) => {
3314
4102
 
3315
4103
  // src/components/form/FormRadioGroup.tsx
3316
4104
  import { FormControl as FormControl2, FormControlLabel as FormControlLabel2, FormHelperText as FormHelperText2, FormLabel, Radio, RadioGroup } from "@mui/material";
3317
- import { jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
4105
+ import { jsx as jsx34, jsxs as jsxs17 } from "react/jsx-runtime";
3318
4106
  var FormRadioGroup = ({ label, options, ...props }) => {
3319
4107
  const field = useFieldContext();
3320
4108
  const { isTouched, hasError, helperText } = getFieldStatus(field);
3321
- return /* @__PURE__ */ jsxs18(FormControl2, { component: "fieldset", children: [
4109
+ return /* @__PURE__ */ jsxs17(FormControl2, { component: "fieldset", children: [
3322
4110
  label && /* @__PURE__ */ jsx34(FormLabel, { component: "legend", children: label }),
3323
4111
  /* @__PURE__ */ jsx34(
3324
4112
  RadioGroup,
@@ -3346,11 +4134,11 @@ var FormRadioGroup = ({ label, options, ...props }) => {
3346
4134
 
3347
4135
  // src/components/form/FormSlider.tsx
3348
4136
  import { FormControl as FormControl3, FormHelperText as FormHelperText3, FormLabel as FormLabel2, Slider } from "@mui/material";
3349
- import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
4137
+ import { jsx as jsx35, jsxs as jsxs18 } from "react/jsx-runtime";
3350
4138
  var FormSlider = ({ label, ...props }) => {
3351
4139
  const field = useFieldContext();
3352
4140
  const { isTouched, hasError, helperText } = getFieldStatus(field);
3353
- return /* @__PURE__ */ jsxs19(FormControl3, { component: "fieldset", children: [
4141
+ return /* @__PURE__ */ jsxs18(FormControl3, { component: "fieldset", children: [
3354
4142
  label && /* @__PURE__ */ jsx35(FormLabel2, { children: label }),
3355
4143
  /* @__PURE__ */ jsx35(
3356
4144
  Slider,
@@ -3392,11 +4180,11 @@ var FormSubmitButton = (props) => {
3392
4180
 
3393
4181
  // src/components/form/FormSwitch.tsx
3394
4182
  import { FormControl as FormControl4, FormControlLabel as FormControlLabel3, FormHelperText as FormHelperText4, Switch } from "@mui/material";
3395
- import { jsx as jsx37, jsxs as jsxs20 } from "react/jsx-runtime";
4183
+ import { jsx as jsx37, jsxs as jsxs19 } from "react/jsx-runtime";
3396
4184
  var FormSwitch = (props) => {
3397
4185
  const field = useFieldContext();
3398
4186
  const { isTouched, hasError, helperText } = getFieldStatus(field);
3399
- return /* @__PURE__ */ jsxs20(FormControl4, { component: "fieldset", children: [
4187
+ return /* @__PURE__ */ jsxs19(FormControl4, { component: "fieldset", children: [
3400
4188
  /* @__PURE__ */ jsx37(
3401
4189
  FormControlLabel3,
3402
4190
  {
@@ -3462,7 +4250,7 @@ var { useAppForm: useLayoutForm, withForm: withLayoutForm } = createFormHook({
3462
4250
 
3463
4251
  // src/index.ts
3464
4252
  import { default as default3 } from "use-local-storage-state";
3465
- import { useTranslation as useTranslation7 } from "react-i18next";
4253
+ import { useTranslation as useTranslation8 } from "react-i18next";
3466
4254
  import { t } from "i18next";
3467
4255
  export {
3468
4256
  ChipInputCell,
@@ -3497,7 +4285,7 @@ export {
3497
4285
  useLayoutForm,
3498
4286
  default3 as useLocalStorageState,
3499
4287
  useOpenFile,
3500
- useTranslation7 as useTranslation,
4288
+ useTranslation8 as useTranslation,
3501
4289
  useUpdateFileMeta,
3502
4290
  useUploadFile,
3503
4291
  uuidv72 as uuidv7,