@ostack.tech/ui-kform 1.3.0 → 1.3.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/ostack-ui-kform.css +3 -3
- package/dist/ostack-ui-kform.js +456 -456
- package/dist/ostack-ui-kform.js.map +1 -1
- package/package.json +3 -3
- package/scss/components/FileControl/_FileControl.scss +1 -1
- package/scss/components/TopBar/_TopBar.scss +1 -1
- package/types/utils/validationIssueKey.d.ts +7 -0
package/dist/ostack-ui-kform.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "react/compiler-runtime";
|
|
2
2
|
import { AtPathError, CurrentPath, FormContext, FormattedValue, InvalidPathError, equals, formatNumericAsString, formatTemporalAsString, toFileList, useController, useControllerState, useCurrentPath, useFileInput, useForm, useFormContext, useFormController, useFormManager, useFormattedValue, useFormatter, useInput, useIssuesTracker, useListableInput, useNumericInput, useResolvedPath, useSubmitting, useTemporalInput } from "@ostack.tech/kform-react";
|
|
3
|
-
import { Action, ActionMenu, ActionMenuRadioGroup, ActionMenuRadioItem, ActionSplit, Actions, ActionsSecondary, Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, Button, Card, CardBody, CardHeader, CardTitle, Checkbox, CheckboxGroup, CloseButton, Code, Container, ControlAddon, DataTable, DataTableCell, DataTableContent, DataTablePagination, DataTableRow, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogContent, DialogHeader, DialogTitle, DialogTrigger, DocumentTitle, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, Feedback, FeedbackList, FeedbackPopover, FeedbackProvider, Field, Icon, IconButton, Input, Layer, Link, LocalizationProvider as LocalizationProvider$1, MenuList, MenuListItem, NATIVE_CONTROLS, NumericInput, Option, OptionsGroup, Popover, PopoverContent, PopoverTrigger, PrefixProvider, PrinterTrigger, Radio, RadioGroup, Root, Select, Slot, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Tabs, TextArea, Tooltip, VisuallyHidden, boolDataAttr, combineAriaIds, computed, controlStatusToAccent, cx, localeLabel, parseChildren, setBoolDataAttr, useActionsContext, useAlertDialog, useCombinedEventHandler, useCombinedRef, useConstant, useControllableState, useCssVars, useDataTableApiRef, useDataTableColumnLabel, useDateTransformer, useErrorReporter, useIntersectionObserver, useIsInFeedbackProvider, useIsInRoot, useIsInTableCell, useKeyboardShortcut, useLatestRef, useMeasure, useMediaBreakpointUp, useOnLabelChange, usePrefix as usePrefix$1, usePrevious, usePrint, usePrintClassNames, usePrintInProgress, usePrinterDocumentTitle, usePrinting, useResponsiveValue, useScrollPosition, useSpacing,
|
|
3
|
+
import { Action, ActionMenu, ActionMenuRadioGroup, ActionMenuRadioItem, ActionSplit, Actions, ActionsSecondary, Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, Button, Card, CardBody, CardHeader, CardTitle, Checkbox, CheckboxGroup, CloseButton, Code, Container, ControlAddon, DataTable, DataTableCell, DataTableContent, DataTablePagination, DataTableRow, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogContent, DialogHeader, DialogTitle, DialogTrigger, DocumentTitle, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ErrorBoundary, Feedback, FeedbackList, FeedbackPopover, FeedbackProvider, Field, Icon, IconButton, Input, Layer, Link, LocalizationProvider as LocalizationProvider$1, MenuList, MenuListItem, NATIVE_CONTROLS, NumericInput, Option, OptionsGroup, Popover, PopoverContent, PopoverTrigger, PrefixProvider, PrinterTrigger, Radio, RadioGroup, Root, Select, Slot, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Tabs, TextArea, Tooltip, VisuallyHidden, boolDataAttr, combineAriaIds, computed, controlStatusToAccent, cx, localeLabel, parseChildren, setBoolDataAttr, useActionsContext, useAlertDialog, useCombinedEventHandler, useCombinedRef, useConstant, useControllableState, useCssVars, useDataTableApiRef, useDataTableColumnLabel, useDateTransformer, useErrorReporter, useIntersectionObserver, useIsInFeedbackProvider, useIsInRoot, useIsInTableCell, useKeyboardShortcut, useLatestRef, useMeasure, useMediaBreakpointUp, useOnLabelChange, usePrefix as usePrefix$1, usePrevious, usePrint, usePrintClassNames, usePrintInProgress, usePrinterDocumentTitle, usePrinting, usePrintingTask, useResponsiveValue, useScrollPosition, useSpacing, useToastManager, warnOnce, withCleanup } from "@ostack.tech/ui";
|
|
4
4
|
import { Children, Fragment, Suspense, createContext, isValidElement, startTransition, useContext, useDeferredValue, useEffect, useEffectEvent, useId, useImperativeHandle, useRef, useState } from "react";
|
|
5
5
|
import { createStore, useStore } from "zustand";
|
|
6
6
|
import { useShallow } from "zustand/react/shallow";
|
|
@@ -562,7 +562,7 @@ function _temp4$22(state) {
|
|
|
562
562
|
function useRegisterController(controller) {
|
|
563
563
|
const $ = c(6);
|
|
564
564
|
const store = useFormAppContext().store;
|
|
565
|
-
const path_0 = useControllerState(controller, _temp5$
|
|
565
|
+
const path_0 = useControllerState(controller, _temp5$16);
|
|
566
566
|
const printing = usePrinting();
|
|
567
567
|
let t0;
|
|
568
568
|
let t1;
|
|
@@ -588,7 +588,7 @@ function useRegisterController(controller) {
|
|
|
588
588
|
}
|
|
589
589
|
useEffect(t0, t1);
|
|
590
590
|
}
|
|
591
|
-
function _temp5$
|
|
591
|
+
function _temp5$16(t0) {
|
|
592
592
|
const { path } = t0;
|
|
593
593
|
return path;
|
|
594
594
|
}
|
|
@@ -612,9 +612,9 @@ function _temp6$9(state) {
|
|
|
612
612
|
}
|
|
613
613
|
/** Hook exposing a function to set the latest path the user has interacted with. */
|
|
614
614
|
function useSetLatestInteraction() {
|
|
615
|
-
return useStore(useFormAppContext().store, _temp7$
|
|
615
|
+
return useStore(useFormAppContext().store, _temp7$4);
|
|
616
616
|
}
|
|
617
|
-
function _temp7$
|
|
617
|
+
function _temp7$4(state) {
|
|
618
618
|
return state.actions.setLatestInteraction;
|
|
619
619
|
}
|
|
620
620
|
/** Hook used to register issue messages within the form app. */
|
|
@@ -738,7 +738,7 @@ function useOnPathFocus(cb, t0) {
|
|
|
738
738
|
let t5;
|
|
739
739
|
if ($[2] !== cb || $[3] !== enabled || $[4] !== fireImmediately || $[5] !== printing || $[6] !== store) {
|
|
740
740
|
t4 = () => {
|
|
741
|
-
if (enabled && !printing) return store.subscribe(_temp10$
|
|
741
|
+
if (enabled && !printing) return store.subscribe(_temp10$2, (t6) => {
|
|
742
742
|
const { focusedPath: focusedPath_0 } = t6;
|
|
743
743
|
return focusedPath_0 && cb(focusedPath_0);
|
|
744
744
|
}, {
|
|
@@ -766,7 +766,7 @@ function useOnPathFocus(cb, t0) {
|
|
|
766
766
|
}
|
|
767
767
|
useEffect(t4, t5);
|
|
768
768
|
}
|
|
769
|
-
function _temp10$
|
|
769
|
+
function _temp10$2(t0) {
|
|
770
770
|
const { focusedPath, focusCounter } = t0;
|
|
771
771
|
return {
|
|
772
772
|
focusedPath,
|
|
@@ -1603,7 +1603,7 @@ function FormApp(t0) {
|
|
|
1603
1603
|
t12 = $[109];
|
|
1604
1604
|
}
|
|
1605
1605
|
useEffect(t11, t12);
|
|
1606
|
-
const absolutePath = useControllerState(controller, _temp5$
|
|
1606
|
+
const absolutePath = useControllerState(controller, _temp5$15);
|
|
1607
1607
|
let t13;
|
|
1608
1608
|
let t14;
|
|
1609
1609
|
if ($[110] !== absolutePath || $[111] !== issuesPanelLabel || $[112] !== store) {
|
|
@@ -1779,7 +1779,7 @@ function FormApp(t0) {
|
|
|
1779
1779
|
function _temp6$8(state) {
|
|
1780
1780
|
return state.actions;
|
|
1781
1781
|
}
|
|
1782
|
-
function _temp5$
|
|
1782
|
+
function _temp5$15(t0) {
|
|
1783
1783
|
const { path } = t0;
|
|
1784
1784
|
return path;
|
|
1785
1785
|
}
|
|
@@ -2012,7 +2012,7 @@ function useCreateAnnexesContext(t0) {
|
|
|
2012
2012
|
store.getState().actions.setAnnexes(resolvedAnnexes);
|
|
2013
2013
|
if (activeAnnex !== void 0) {
|
|
2014
2014
|
const { activeAnnex: oldActiveAnnex_0, tabStates: tabStates_2, waitingRegistration: waitingRegistration_0 } = store.getState();
|
|
2015
|
-
const newActiveAnnex_0 = mostSpecificPath(activeAnnex === null ? null : basePath.resolve(activeAnnex), [...tabStates_2().map(_temp5$
|
|
2015
|
+
const newActiveAnnex_0 = mostSpecificPath(activeAnnex === null ? null : basePath.resolve(activeAnnex), [...tabStates_2().map(_temp5$14), ...waitingRegistration_0()], oldActiveAnnex_0) ?? null;
|
|
2016
2016
|
store.getState().actions.setActiveAnnex(newActiveAnnex_0);
|
|
2017
2017
|
}
|
|
2018
2018
|
};
|
|
@@ -2048,7 +2048,7 @@ function useCreateAnnexesContext(t0) {
|
|
|
2048
2048
|
function _temp6$7(tab_0) {
|
|
2049
2049
|
return tab_0.path;
|
|
2050
2050
|
}
|
|
2051
|
-
function _temp5$
|
|
2051
|
+
function _temp5$14(tab) {
|
|
2052
2052
|
return tab.path;
|
|
2053
2053
|
}
|
|
2054
2054
|
function _temp4$19(annexes_1, t0, t1) {
|
|
@@ -2505,11 +2505,10 @@ function _temp2$42(state) {
|
|
|
2505
2505
|
// src/components/Annexes/AnnexRegistrar.tsx
|
|
2506
2506
|
/** Component used to register a form annex. */
|
|
2507
2507
|
function AnnexRegistrar(t0) {
|
|
2508
|
-
const $ = c(
|
|
2508
|
+
const $ = c(49);
|
|
2509
2509
|
const { path, title, subtitle, description, issuesPanelLabel, itemTitle, itemIssuesPanelLabel, index, documentTitle } = t0;
|
|
2510
2510
|
const store = useAnnexesContext();
|
|
2511
2511
|
const printing = usePrinting();
|
|
2512
|
-
const finishPrintingTask = useStartPrintingTask();
|
|
2513
2512
|
const observeDescendants = typeof itemTitle === "function" || typeof title === "function" || typeof subtitle === "function" || typeof documentTitle === "function";
|
|
2514
2513
|
let t1;
|
|
2515
2514
|
if ($[0] !== observeDescendants || $[1] !== path) {
|
|
@@ -2520,72 +2519,72 @@ function AnnexRegistrar(t0) {
|
|
|
2520
2519
|
} else t1 = $[2];
|
|
2521
2520
|
const t2 = !useFormIsLoading();
|
|
2522
2521
|
let t3;
|
|
2523
|
-
if ($[3] !==
|
|
2522
|
+
if ($[3] !== t2) {
|
|
2524
2523
|
t3 = {
|
|
2525
2524
|
enabled: t2,
|
|
2526
|
-
onInitialized: finishPrintingTask,
|
|
2527
2525
|
format: _temp$45
|
|
2528
2526
|
};
|
|
2529
|
-
$[3] =
|
|
2530
|
-
$[4] =
|
|
2531
|
-
|
|
2532
|
-
} else t3 = $[5];
|
|
2527
|
+
$[3] = t2;
|
|
2528
|
+
$[4] = t3;
|
|
2529
|
+
} else t3 = $[4];
|
|
2533
2530
|
const [t4, controller] = useFormattedValue(t1, t3);
|
|
2534
2531
|
const isNull = t4 === void 0 ? true : t4;
|
|
2532
|
+
const initialized_0 = useControllerState(controller, _temp2$41);
|
|
2533
|
+
usePrintingTask(!initialized_0);
|
|
2535
2534
|
const isRepetitive = index != null;
|
|
2536
|
-
const absolutePath = useControllerState(controller,
|
|
2537
|
-
const schema_0 = useControllerState(controller,
|
|
2538
|
-
const exists_0 = useControllerState(controller,
|
|
2539
|
-
const dirty_0 = useControllerState(controller,
|
|
2535
|
+
const absolutePath = useControllerState(controller, _temp3$24);
|
|
2536
|
+
const schema_0 = useControllerState(controller, _temp4$18);
|
|
2537
|
+
const exists_0 = useControllerState(controller, _temp5$13);
|
|
2538
|
+
const dirty_0 = useControllerState(controller, _temp6$6);
|
|
2540
2539
|
let t5;
|
|
2541
|
-
if ($[
|
|
2540
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2542
2541
|
t5 = { equalityFn: shallow };
|
|
2543
|
-
$[
|
|
2544
|
-
} else t5 = $[
|
|
2545
|
-
const value_1 = useControllerState(controller,
|
|
2542
|
+
$[5] = t5;
|
|
2543
|
+
} else t5 = $[5];
|
|
2544
|
+
const value_1 = useControllerState(controller, _temp7$3, t5).value;
|
|
2546
2545
|
const deferredValue = useDeferredValue(value_1);
|
|
2547
2546
|
const relevantValue = printing ? value_1 : deferredValue;
|
|
2548
2547
|
let t6;
|
|
2549
|
-
if ($[
|
|
2548
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2550
2549
|
t6 = { equalityFn: shallow };
|
|
2551
|
-
$[
|
|
2552
|
-
} else t6 = $[
|
|
2553
|
-
const deferredIssuesToDisplay = useDeferredValue(useControllerState(controller,
|
|
2554
|
-
const deferredDisplayStatus = useDeferredValue(useControllerState(controller,
|
|
2550
|
+
$[6] = t6;
|
|
2551
|
+
} else t6 = $[6];
|
|
2552
|
+
const deferredIssuesToDisplay = useDeferredValue(useControllerState(controller, _temp8$2, t6));
|
|
2553
|
+
const deferredDisplayStatus = useDeferredValue(useControllerState(controller, _temp9$1));
|
|
2555
2554
|
let t7;
|
|
2556
|
-
if ($[
|
|
2555
|
+
if ($[7] !== index || $[8] !== isRepetitive || $[9] !== itemTitle || $[10] !== relevantValue || $[11] !== title) {
|
|
2557
2556
|
t7 = isRepetitive ? typeof itemTitle === "function" ? relevantValue === void 0 ? null : itemTitle(relevantValue, index) : itemTitle === void 0 ? title : itemTitle : typeof title === "function" ? relevantValue === void 0 ? null : title(relevantValue) : title;
|
|
2558
|
-
$[
|
|
2559
|
-
$[
|
|
2560
|
-
$[
|
|
2561
|
-
$[
|
|
2562
|
-
$[
|
|
2563
|
-
$[
|
|
2564
|
-
} else t7 = $[
|
|
2557
|
+
$[7] = index;
|
|
2558
|
+
$[8] = isRepetitive;
|
|
2559
|
+
$[9] = itemTitle;
|
|
2560
|
+
$[10] = relevantValue;
|
|
2561
|
+
$[11] = title;
|
|
2562
|
+
$[12] = t7;
|
|
2563
|
+
} else t7 = $[12];
|
|
2565
2564
|
const actualTitle = t7;
|
|
2566
2565
|
let t8;
|
|
2567
|
-
if ($[
|
|
2566
|
+
if ($[13] !== index || $[14] !== relevantValue || $[15] !== subtitle) {
|
|
2568
2567
|
t8 = typeof subtitle === "function" ? relevantValue === void 0 ? null : subtitle(relevantValue, index) : subtitle;
|
|
2569
|
-
$[
|
|
2570
|
-
$[
|
|
2571
|
-
$[
|
|
2572
|
-
$[
|
|
2573
|
-
} else t8 = $[
|
|
2568
|
+
$[13] = index;
|
|
2569
|
+
$[14] = relevantValue;
|
|
2570
|
+
$[15] = subtitle;
|
|
2571
|
+
$[16] = t8;
|
|
2572
|
+
} else t8 = $[16];
|
|
2574
2573
|
const actualSubtitle = t8;
|
|
2575
2574
|
let t9;
|
|
2576
|
-
if ($[
|
|
2577
|
-
t9 = typeof documentTitle === "function" ? relevantValue === void 0 ? null : documentTitle(relevantValue, index) : documentTitle === void 0 ? (actualTitle === null || typeof actualTitle === "string") && (actualSubtitle == null || typeof actualSubtitle === "string") ? [actualTitle, actualSubtitle].filter(
|
|
2578
|
-
$[
|
|
2579
|
-
$[
|
|
2580
|
-
$[
|
|
2581
|
-
$[
|
|
2582
|
-
$[
|
|
2583
|
-
$[
|
|
2584
|
-
} else t9 = $[
|
|
2575
|
+
if ($[17] !== actualSubtitle || $[18] !== actualTitle || $[19] !== documentTitle || $[20] !== index || $[21] !== relevantValue) {
|
|
2576
|
+
t9 = typeof documentTitle === "function" ? relevantValue === void 0 ? null : documentTitle(relevantValue, index) : documentTitle === void 0 ? (actualTitle === null || typeof actualTitle === "string") && (actualSubtitle == null || typeof actualSubtitle === "string") ? [actualTitle, actualSubtitle].filter(_temp10$1).join(" — ") : void 0 : documentTitle;
|
|
2577
|
+
$[17] = actualSubtitle;
|
|
2578
|
+
$[18] = actualTitle;
|
|
2579
|
+
$[19] = documentTitle;
|
|
2580
|
+
$[20] = index;
|
|
2581
|
+
$[21] = relevantValue;
|
|
2582
|
+
$[22] = t9;
|
|
2583
|
+
} else t9 = $[22];
|
|
2585
2584
|
const actualDocumentTitle = t9;
|
|
2586
2585
|
let t10;
|
|
2587
2586
|
let t11;
|
|
2588
|
-
if ($[
|
|
2587
|
+
if ($[23] !== absolutePath || $[24] !== actualDocumentTitle || $[25] !== actualSubtitle || $[26] !== actualTitle || $[27] !== deferredDisplayStatus || $[28] !== deferredIssuesToDisplay || $[29] !== description || $[30] !== dirty_0 || $[31] !== exists_0 || $[32] !== isNull || $[33] !== isRepetitive || $[34] !== schema_0 || $[35] !== store) {
|
|
2589
2588
|
t10 = () => {
|
|
2590
2589
|
if (exists_0) {
|
|
2591
2590
|
const { registerAnnexState } = store.getState().actions;
|
|
@@ -2619,93 +2618,97 @@ function AnnexRegistrar(t0) {
|
|
|
2619
2618
|
store,
|
|
2620
2619
|
actualDocumentTitle
|
|
2621
2620
|
];
|
|
2622
|
-
$[
|
|
2623
|
-
$[
|
|
2624
|
-
$[
|
|
2625
|
-
$[
|
|
2626
|
-
$[
|
|
2627
|
-
$[
|
|
2628
|
-
$[
|
|
2629
|
-
$[
|
|
2630
|
-
$[
|
|
2631
|
-
$[
|
|
2632
|
-
$[
|
|
2633
|
-
$[
|
|
2634
|
-
$[
|
|
2635
|
-
$[
|
|
2636
|
-
$[
|
|
2621
|
+
$[23] = absolutePath;
|
|
2622
|
+
$[24] = actualDocumentTitle;
|
|
2623
|
+
$[25] = actualSubtitle;
|
|
2624
|
+
$[26] = actualTitle;
|
|
2625
|
+
$[27] = deferredDisplayStatus;
|
|
2626
|
+
$[28] = deferredIssuesToDisplay;
|
|
2627
|
+
$[29] = description;
|
|
2628
|
+
$[30] = dirty_0;
|
|
2629
|
+
$[31] = exists_0;
|
|
2630
|
+
$[32] = isNull;
|
|
2631
|
+
$[33] = isRepetitive;
|
|
2632
|
+
$[34] = schema_0;
|
|
2633
|
+
$[35] = store;
|
|
2634
|
+
$[36] = t10;
|
|
2635
|
+
$[37] = t11;
|
|
2637
2636
|
} else {
|
|
2638
|
-
t10 = $[
|
|
2639
|
-
t11 = $[
|
|
2637
|
+
t10 = $[36];
|
|
2638
|
+
t11 = $[37];
|
|
2640
2639
|
}
|
|
2641
2640
|
useEffect(t10, t11);
|
|
2642
2641
|
useRegisterController(controller);
|
|
2643
2642
|
let t12;
|
|
2644
|
-
if ($[
|
|
2643
|
+
if ($[38] !== actualSubtitle || $[39] !== actualTitle || $[40] !== deferredValue || $[41] !== index || $[42] !== isRepetitive || $[43] !== issuesPanelLabel || $[44] !== itemIssuesPanelLabel) {
|
|
2645
2644
|
t12 = isRepetitive ? typeof itemIssuesPanelLabel === "function" ? deferredValue === void 0 ? null : itemIssuesPanelLabel(deferredValue, index) : itemIssuesPanelLabel === void 0 ? actualSubtitle ?? index + 1 : itemIssuesPanelLabel : issuesPanelLabel ? typeof issuesPanelLabel === "function" ? deferredValue === void 0 ? null : issuesPanelLabel(deferredValue) : issuesPanelLabel : /* @__PURE__ */ jsxs(Fragment$1, { children: [actualTitle, actualSubtitle && /* @__PURE__ */ jsxs(Fragment$1, { children: [" — ", actualSubtitle] })] });
|
|
2646
|
-
$[
|
|
2647
|
-
$[
|
|
2648
|
-
$[
|
|
2649
|
-
$[
|
|
2650
|
-
$[
|
|
2651
|
-
$[
|
|
2652
|
-
$[
|
|
2653
|
-
$[
|
|
2654
|
-
} else t12 = $[
|
|
2645
|
+
$[38] = actualSubtitle;
|
|
2646
|
+
$[39] = actualTitle;
|
|
2647
|
+
$[40] = deferredValue;
|
|
2648
|
+
$[41] = index;
|
|
2649
|
+
$[42] = isRepetitive;
|
|
2650
|
+
$[43] = issuesPanelLabel;
|
|
2651
|
+
$[44] = itemIssuesPanelLabel;
|
|
2652
|
+
$[45] = t12;
|
|
2653
|
+
} else t12 = $[45];
|
|
2655
2654
|
let t13;
|
|
2656
|
-
if ($[
|
|
2655
|
+
if ($[46] !== absolutePath || $[47] !== t12) {
|
|
2657
2656
|
t13 = /* @__PURE__ */ jsx(CurrentPath, {
|
|
2658
2657
|
path: absolutePath,
|
|
2659
2658
|
children: t12
|
|
2660
2659
|
});
|
|
2661
|
-
$[
|
|
2662
|
-
$[
|
|
2663
|
-
$[
|
|
2664
|
-
} else t13 = $[
|
|
2660
|
+
$[46] = absolutePath;
|
|
2661
|
+
$[47] = t12;
|
|
2662
|
+
$[48] = t13;
|
|
2663
|
+
} else t13 = $[48];
|
|
2665
2664
|
useRegisterLabel(absolutePath, t13);
|
|
2666
2665
|
return null;
|
|
2667
2666
|
}
|
|
2668
|
-
function
|
|
2667
|
+
function _temp10$1(s) {
|
|
2669
2668
|
return s;
|
|
2670
2669
|
}
|
|
2671
|
-
function
|
|
2670
|
+
function _temp9$1(t0) {
|
|
2672
2671
|
const { displayStatus } = t0;
|
|
2673
2672
|
return displayStatus;
|
|
2674
2673
|
}
|
|
2675
|
-
function
|
|
2674
|
+
function _temp8$2(t0) {
|
|
2676
2675
|
const { touched, issues } = t0;
|
|
2677
2676
|
return touched ? issues : [];
|
|
2678
2677
|
}
|
|
2679
|
-
function
|
|
2678
|
+
function _temp7$3(t0) {
|
|
2680
2679
|
const { _valueRev, value: value_0 } = t0;
|
|
2681
2680
|
return {
|
|
2682
2681
|
_valueRev,
|
|
2683
2682
|
value: value_0
|
|
2684
2683
|
};
|
|
2685
2684
|
}
|
|
2686
|
-
function
|
|
2685
|
+
function _temp6$6(t0) {
|
|
2687
2686
|
const { dirty } = t0;
|
|
2688
2687
|
return dirty;
|
|
2689
2688
|
}
|
|
2690
|
-
function
|
|
2691
|
-
const { initialized, exists } = t0;
|
|
2692
|
-
return
|
|
2689
|
+
function _temp5$13(t0) {
|
|
2690
|
+
const { initialized: initialized_1, exists } = t0;
|
|
2691
|
+
return initialized_1 && exists;
|
|
2693
2692
|
}
|
|
2694
|
-
function
|
|
2693
|
+
function _temp4$18(t0) {
|
|
2695
2694
|
const { schema } = t0;
|
|
2696
2695
|
return schema;
|
|
2697
2696
|
}
|
|
2698
|
-
function
|
|
2697
|
+
function _temp3$24(t0) {
|
|
2699
2698
|
const { path: path_0 } = t0;
|
|
2700
2699
|
return path_0;
|
|
2701
2700
|
}
|
|
2701
|
+
function _temp2$41(t0) {
|
|
2702
|
+
const { initialized } = t0;
|
|
2703
|
+
return initialized;
|
|
2704
|
+
}
|
|
2702
2705
|
function _temp$45(value) {
|
|
2703
2706
|
return value === null;
|
|
2704
2707
|
}
|
|
2705
2708
|
// src/components/Annexes/RepetitiveAnnexRegistrar.tsx
|
|
2706
2709
|
/** Component used to register a repetitive form annex. */
|
|
2707
2710
|
function RepetitiveAnnexRegistrar(t0) {
|
|
2708
|
-
const $ = c(
|
|
2711
|
+
const $ = c(24);
|
|
2709
2712
|
let annexProps;
|
|
2710
2713
|
let maxAnnexes;
|
|
2711
2714
|
let path;
|
|
@@ -2721,7 +2724,6 @@ function RepetitiveAnnexRegistrar(t0) {
|
|
|
2721
2724
|
path = $[3];
|
|
2722
2725
|
}
|
|
2723
2726
|
const store = useAnnexesContext();
|
|
2724
|
-
const finishPrintingTask = useStartPrintingTask();
|
|
2725
2727
|
let t1;
|
|
2726
2728
|
if ($[4] !== path) {
|
|
2727
2729
|
t1 = path.parent();
|
|
@@ -2730,29 +2732,29 @@ function RepetitiveAnnexRegistrar(t0) {
|
|
|
2730
2732
|
} else t1 = $[5];
|
|
2731
2733
|
const t2 = !useFormIsLoading();
|
|
2732
2734
|
let t3;
|
|
2733
|
-
if ($[6] !==
|
|
2735
|
+
if ($[6] !== t2) {
|
|
2734
2736
|
t3 = {
|
|
2735
2737
|
enabled: t2,
|
|
2736
|
-
onInitialized: finishPrintingTask,
|
|
2737
2738
|
format: _temp$44
|
|
2738
2739
|
};
|
|
2739
|
-
$[6] =
|
|
2740
|
-
$[7] =
|
|
2741
|
-
|
|
2742
|
-
} else t3 = $[8];
|
|
2740
|
+
$[6] = t2;
|
|
2741
|
+
$[7] = t3;
|
|
2742
|
+
} else t3 = $[7];
|
|
2743
2743
|
const [rowIds, controller] = useFormattedValue(t1, t3);
|
|
2744
|
-
const
|
|
2745
|
-
|
|
2744
|
+
const initialized_0 = useControllerState(controller, _temp2$40);
|
|
2745
|
+
usePrintingTask(!initialized_0);
|
|
2746
|
+
const schema_0 = useControllerState(controller, _temp3$23);
|
|
2747
|
+
const absolutePath = useControllerState(controller, _temp4$17);
|
|
2746
2748
|
let t4;
|
|
2747
|
-
if ($[
|
|
2749
|
+
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
2748
2750
|
t4 = { equalityFn: shallow };
|
|
2749
|
-
$[
|
|
2750
|
-
} else t4 = $[
|
|
2751
|
-
const deferredIssuesToDisplay = useDeferredValue(useControllerState(controller,
|
|
2751
|
+
$[8] = t4;
|
|
2752
|
+
} else t4 = $[8];
|
|
2753
|
+
const deferredIssuesToDisplay = useDeferredValue(useControllerState(controller, _temp5$12, t4));
|
|
2752
2754
|
if (schema_0.typeInfo.name !== "Table") throw new InvalidPathError(absolutePath, `Unsupported schema: Expected (possibly nullable) table schema, but got schema representing values of type '${schema_0.typeInfo.toString()}'.`);
|
|
2753
2755
|
let t5;
|
|
2754
2756
|
let t6;
|
|
2755
|
-
if ($[
|
|
2757
|
+
if ($[9] !== absolutePath || $[10] !== deferredIssuesToDisplay || $[11] !== maxAnnexes || $[12] !== rowIds || $[13] !== schema_0 || $[14] !== store) {
|
|
2756
2758
|
t5 = () => {
|
|
2757
2759
|
const { registerRepetitiveAnnexState } = store.getState().actions;
|
|
2758
2760
|
registerRepetitiveAnnexState(absolutePath, {
|
|
@@ -2771,59 +2773,63 @@ function RepetitiveAnnexRegistrar(t0) {
|
|
|
2771
2773
|
schema_0,
|
|
2772
2774
|
store
|
|
2773
2775
|
];
|
|
2774
|
-
$[
|
|
2775
|
-
$[
|
|
2776
|
-
$[
|
|
2777
|
-
$[
|
|
2778
|
-
$[
|
|
2779
|
-
$[
|
|
2780
|
-
$[
|
|
2781
|
-
$[
|
|
2776
|
+
$[9] = absolutePath;
|
|
2777
|
+
$[10] = deferredIssuesToDisplay;
|
|
2778
|
+
$[11] = maxAnnexes;
|
|
2779
|
+
$[12] = rowIds;
|
|
2780
|
+
$[13] = schema_0;
|
|
2781
|
+
$[14] = store;
|
|
2782
|
+
$[15] = t5;
|
|
2783
|
+
$[16] = t6;
|
|
2782
2784
|
} else {
|
|
2783
|
-
t5 = $[
|
|
2784
|
-
t6 = $[
|
|
2785
|
+
t5 = $[15];
|
|
2786
|
+
t6 = $[16];
|
|
2785
2787
|
}
|
|
2786
2788
|
useEffect(t5, t6);
|
|
2787
2789
|
if (typeof annexProps.title === "function" || typeof annexProps.issuesPanelLabel === "function") throw new Error("Repetitive annexes must not set `title` or `issuesPanelLabel` as a function. Use `itemTitle` or `itemIssuesPanelLabel` instead.");
|
|
2788
2790
|
const actualIssuesPanelLabel = annexProps.issuesPanelLabel ? annexProps.issuesPanelLabel : annexProps.title;
|
|
2789
2791
|
useRegisterController(controller);
|
|
2790
2792
|
let t7;
|
|
2791
|
-
if ($[
|
|
2793
|
+
if ($[17] !== absolutePath || $[18] !== actualIssuesPanelLabel) {
|
|
2792
2794
|
t7 = /* @__PURE__ */ jsx(CurrentPath, {
|
|
2793
2795
|
path: absolutePath,
|
|
2794
2796
|
children: actualIssuesPanelLabel
|
|
2795
2797
|
});
|
|
2796
|
-
$[
|
|
2797
|
-
$[
|
|
2798
|
-
$[
|
|
2799
|
-
} else t7 = $[
|
|
2798
|
+
$[17] = absolutePath;
|
|
2799
|
+
$[18] = actualIssuesPanelLabel;
|
|
2800
|
+
$[19] = t7;
|
|
2801
|
+
} else t7 = $[19];
|
|
2800
2802
|
useRegisterLabel(absolutePath, t7);
|
|
2801
2803
|
let t8;
|
|
2802
|
-
if ($[
|
|
2804
|
+
if ($[20] !== absolutePath || $[21] !== annexProps || $[22] !== rowIds) {
|
|
2803
2805
|
t8 = rowIds?.map((rowId, i) => /* @__PURE__ */ jsx(AnnexRegistrar, {
|
|
2804
2806
|
path: absolutePath.append(new AbsolutePathFragment.Id(rowId)),
|
|
2805
2807
|
index: i,
|
|
2806
2808
|
...annexProps
|
|
2807
2809
|
}, rowId));
|
|
2808
|
-
$[
|
|
2809
|
-
$[
|
|
2810
|
-
$[
|
|
2811
|
-
$[
|
|
2812
|
-
} else t8 = $[
|
|
2810
|
+
$[20] = absolutePath;
|
|
2811
|
+
$[21] = annexProps;
|
|
2812
|
+
$[22] = rowIds;
|
|
2813
|
+
$[23] = t8;
|
|
2814
|
+
} else t8 = $[23];
|
|
2813
2815
|
return t8;
|
|
2814
2816
|
}
|
|
2815
|
-
function
|
|
2817
|
+
function _temp5$12(t0) {
|
|
2816
2818
|
const { touched, issues } = t0;
|
|
2817
2819
|
return touched ? issues : [];
|
|
2818
2820
|
}
|
|
2819
|
-
function
|
|
2821
|
+
function _temp4$17(t0) {
|
|
2820
2822
|
const { path: path_0 } = t0;
|
|
2821
2823
|
return path_0;
|
|
2822
2824
|
}
|
|
2823
|
-
function
|
|
2825
|
+
function _temp3$23(t0) {
|
|
2824
2826
|
const { schema } = t0;
|
|
2825
2827
|
return schema;
|
|
2826
2828
|
}
|
|
2829
|
+
function _temp2$40(t0) {
|
|
2830
|
+
const { initialized } = t0;
|
|
2831
|
+
return initialized;
|
|
2832
|
+
}
|
|
2827
2833
|
function _temp$44(value) {
|
|
2828
2834
|
return value ? tableIdsToArray(value) : [];
|
|
2829
2835
|
}
|
|
@@ -3055,6 +3061,27 @@ function useReportValidationFailures(info) {
|
|
|
3055
3061
|
}
|
|
3056
3062
|
useEffect(t0, t1);
|
|
3057
3063
|
}
|
|
3064
|
+
// src/utils/validationIssueKey.ts
|
|
3065
|
+
var keyCache = /* @__PURE__ */ new WeakMap();
|
|
3066
|
+
/**
|
|
3067
|
+
* Returns a React key uniquely identifying the provided validation issue, matching `equals`
|
|
3068
|
+
* semantics.
|
|
3069
|
+
*/
|
|
3070
|
+
function validationIssueKey(validationIssue) {
|
|
3071
|
+
let key = keyCache.get(validationIssue);
|
|
3072
|
+
if (key === void 0) {
|
|
3073
|
+
const { code, severity, data } = validationIssue;
|
|
3074
|
+
keyCache.set(validationIssue, key = JSON.stringify([
|
|
3075
|
+
code,
|
|
3076
|
+
severity,
|
|
3077
|
+
Object.entries(data).sort(compareEntriesByKey)
|
|
3078
|
+
]));
|
|
3079
|
+
}
|
|
3080
|
+
return key;
|
|
3081
|
+
}
|
|
3082
|
+
function compareEntriesByKey([k1], [k2]) {
|
|
3083
|
+
return k1 < k2 ? -1 : k1 > k2 ? 1 : 0;
|
|
3084
|
+
}
|
|
3058
3085
|
// src/components/IssueMessages/IssueMessages.tsx
|
|
3059
3086
|
/**
|
|
3060
3087
|
* Component used to display all issues associated with the relevant path.
|
|
@@ -3161,7 +3188,7 @@ function IssueMessages(t0) {
|
|
|
3161
3188
|
if ($[27] !== absolutePath || $[28] !== actualSchema || $[29] !== deferredIssuesToDisplay || $[30] !== displayIssueCodes || $[31] !== messagesDataKey || $[32] !== prefix || $[33] !== unknownErrorMessage || $[34] !== unknownWarningMessage || $[35] !== visuallyHiddenErrorCodePrefix || $[36] !== visuallyHiddenWarningCodePrefix) {
|
|
3162
3189
|
let t8;
|
|
3163
3190
|
if ($[38] !== absolutePath || $[39] !== actualSchema || $[40] !== displayIssueCodes || $[41] !== messagesDataKey || $[42] !== prefix || $[43] !== unknownErrorMessage || $[44] !== unknownWarningMessage || $[45] !== visuallyHiddenErrorCodePrefix || $[46] !== visuallyHiddenWarningCodePrefix) {
|
|
3164
|
-
t8 = (issue
|
|
3191
|
+
t8 = (issue) => /* @__PURE__ */ jsx(Feedback, {
|
|
3165
3192
|
type: issue.severity,
|
|
3166
3193
|
children: /* @__PURE__ */ jsx(IssueMessage, {
|
|
3167
3194
|
path: absolutePath,
|
|
@@ -3175,7 +3202,7 @@ function IssueMessages(t0) {
|
|
|
3175
3202
|
unknownWarningMessage,
|
|
3176
3203
|
issueCodeProps: { className: prefix("issue-messages__issue-code") }
|
|
3177
3204
|
})
|
|
3178
|
-
},
|
|
3205
|
+
}, validationIssueKey(issue));
|
|
3179
3206
|
$[38] = absolutePath;
|
|
3180
3207
|
$[39] = actualSchema;
|
|
3181
3208
|
$[40] = displayIssueCodes;
|
|
@@ -3846,9 +3873,9 @@ function AnnexesMenuItem(t0) {
|
|
|
3846
3873
|
const formIsReadOnly = useFormIsReadOnly();
|
|
3847
3874
|
const { confirm } = useAlertDialog();
|
|
3848
3875
|
const deferredDisplayStatus = useAnnexState(path, _temp4$15);
|
|
3849
|
-
const isRemovable = useAnnexState(path, _temp5$
|
|
3876
|
+
const isRemovable = useAnnexState(path, _temp5$11);
|
|
3850
3877
|
const title = useAnnexState(path, _temp6$5);
|
|
3851
|
-
const subtitle = useAnnexState(path, _temp7$
|
|
3878
|
+
const subtitle = useAnnexState(path, _temp7$2);
|
|
3852
3879
|
const nonRepetitiveDescription = useAnnexState(path, _temp8$1);
|
|
3853
3880
|
let t1;
|
|
3854
3881
|
if ($[0] !== confirm || $[1] !== formContext || $[2] !== menuRef || $[3] !== path || $[4] !== removeAnnexConfirmDialogCancelText || $[5] !== removeAnnexConfirmDialogMessage || $[6] !== removeAnnexConfirmDialogOkText || $[7] !== removeAnnexConfirmDialogTitle || $[8] !== setOpen || $[9] !== store) {
|
|
@@ -4071,13 +4098,13 @@ function AnnexesMenuItem(t0) {
|
|
|
4071
4098
|
function _temp8$1(state_3) {
|
|
4072
4099
|
return state_3 && !state_3.isRepetitive && state_3.description;
|
|
4073
4100
|
}
|
|
4074
|
-
function _temp7$
|
|
4101
|
+
function _temp7$2(state_2) {
|
|
4075
4102
|
return state_2?.subtitle;
|
|
4076
4103
|
}
|
|
4077
4104
|
function _temp6$5(state_1) {
|
|
4078
4105
|
return state_1?.title;
|
|
4079
4106
|
}
|
|
4080
|
-
function _temp5$
|
|
4107
|
+
function _temp5$11(state_0) {
|
|
4081
4108
|
return state_0 != null && (state_0.schema.typeInfo.nullable || state_0.isRepetitive);
|
|
4082
4109
|
}
|
|
4083
4110
|
function _temp4$15(state) {
|
|
@@ -4237,7 +4264,7 @@ function AnnexTab(t0) {
|
|
|
4237
4264
|
const schema = useAnnexState(path, _temp2$37);
|
|
4238
4265
|
const deferredDisplayStatus = useAnnexState(path, _temp3$20);
|
|
4239
4266
|
const title = useAnnexState(path, _temp4$14);
|
|
4240
|
-
const subtitle = useAnnexState(path, _temp5$
|
|
4267
|
+
const subtitle = useAnnexState(path, _temp5$10);
|
|
4241
4268
|
const tabRef = useRef(null);
|
|
4242
4269
|
const resetFocus = useResetFocus();
|
|
4243
4270
|
let t1;
|
|
@@ -4456,7 +4483,7 @@ function AnnexTab(t0) {
|
|
|
4456
4483
|
} else t24 = $[67];
|
|
4457
4484
|
return t24;
|
|
4458
4485
|
}
|
|
4459
|
-
function _temp5$
|
|
4486
|
+
function _temp5$10(state_3) {
|
|
4460
4487
|
return state_3?.subtitle;
|
|
4461
4488
|
}
|
|
4462
4489
|
function _temp4$14(state_2) {
|
|
@@ -4946,9 +4973,9 @@ function AnnexesManager(t0) {
|
|
|
4946
4973
|
return t29;
|
|
4947
4974
|
}
|
|
4948
4975
|
function _temp6$4(issues_0) {
|
|
4949
|
-
return issues_0.some(_temp5$
|
|
4976
|
+
return issues_0.some(_temp5$9);
|
|
4950
4977
|
}
|
|
4951
|
-
function _temp5$
|
|
4978
|
+
function _temp5$9(issue) {
|
|
4952
4979
|
return issue.severity === "error";
|
|
4953
4980
|
}
|
|
4954
4981
|
function _temp4$13(issues) {
|
|
@@ -5133,7 +5160,7 @@ function useControlIssues(t0) {
|
|
|
5133
5160
|
t3 = displayIssues && /* @__PURE__ */ jsx(FeedbackList, {
|
|
5134
5161
|
...feedbackListProps,
|
|
5135
5162
|
hidden: issuesDisplayMode === "panel",
|
|
5136
|
-
children: Object.entries(issuesToDisplay).map((t4
|
|
5163
|
+
children: Object.entries(issuesToDisplay).map((t4) => {
|
|
5137
5164
|
const [path, issues] = t4;
|
|
5138
5165
|
return /* @__PURE__ */ jsx(IssueMessages, {
|
|
5139
5166
|
path,
|
|
@@ -5144,7 +5171,7 @@ function useControlIssues(t0) {
|
|
|
5144
5171
|
unknownErrorMessage,
|
|
5145
5172
|
unknownWarningMessage,
|
|
5146
5173
|
unwrapped: true
|
|
5147
|
-
},
|
|
5174
|
+
}, path);
|
|
5148
5175
|
})
|
|
5149
5176
|
});
|
|
5150
5177
|
$[7] = displayIssueCodes;
|
|
@@ -5194,7 +5221,7 @@ function useControlIssues(t0) {
|
|
|
5194
5221
|
// src/utils/useRegisterControl.tsx
|
|
5195
5222
|
/** Hook used to register a control within the form app. */
|
|
5196
5223
|
function useRegisterControl(t0) {
|
|
5197
|
-
const $ = c(
|
|
5224
|
+
const $ = c(20);
|
|
5198
5225
|
const { controller, issuesPanelLabel, ariaLabel, issuesPanelLabelSuffix, preventAutoFocus, apiRef } = t0;
|
|
5199
5226
|
const printing = usePrinting();
|
|
5200
5227
|
const path_0 = useControllerState(controller, _temp$37);
|
|
@@ -5208,91 +5235,75 @@ function useRegisterControl(t0) {
|
|
|
5208
5235
|
t1 = { equalityFn: shallow };
|
|
5209
5236
|
$[0] = t1;
|
|
5210
5237
|
} else t1 = $[0];
|
|
5211
|
-
const issuesToDisplay = useDeferredValue(useControllerState(controller, _temp5$
|
|
5212
|
-
|
|
5213
|
-
let t2;
|
|
5214
|
-
let t3;
|
|
5215
|
-
if ($[1] !== finishPrintingTask || $[2] !== initialized_0) {
|
|
5216
|
-
t2 = () => {
|
|
5217
|
-
if (initialized_0) finishPrintingTask();
|
|
5218
|
-
};
|
|
5219
|
-
t3 = [finishPrintingTask, initialized_0];
|
|
5220
|
-
$[1] = finishPrintingTask;
|
|
5221
|
-
$[2] = initialized_0;
|
|
5222
|
-
$[3] = t2;
|
|
5223
|
-
$[4] = t3;
|
|
5224
|
-
} else {
|
|
5225
|
-
t2 = $[3];
|
|
5226
|
-
t3 = $[4];
|
|
5227
|
-
}
|
|
5228
|
-
useEffect(t2, t3);
|
|
5238
|
+
const issuesToDisplay = useDeferredValue(useControllerState(controller, _temp5$8, t1));
|
|
5239
|
+
usePrintingTask(!initialized_0);
|
|
5229
5240
|
const columnLabel = useDataTableColumnLabel();
|
|
5230
5241
|
useRegisterLabel(path_0, issuesPanelLabel || columnLabel || ariaLabel, issuesPanelLabel ? 1 : -1);
|
|
5231
5242
|
useRegisterFieldLabel(path_0, issuesPanelLabelSuffix);
|
|
5232
5243
|
useRegisterController(controller);
|
|
5233
|
-
let
|
|
5234
|
-
let
|
|
5235
|
-
if ($[
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
$[
|
|
5239
|
-
$[
|
|
5240
|
-
$[
|
|
5244
|
+
let t2;
|
|
5245
|
+
let t3;
|
|
5246
|
+
if ($[1] !== controller) {
|
|
5247
|
+
t2 = () => controller;
|
|
5248
|
+
t3 = [controller];
|
|
5249
|
+
$[1] = controller;
|
|
5250
|
+
$[2] = t2;
|
|
5251
|
+
$[3] = t3;
|
|
5241
5252
|
} else {
|
|
5242
|
-
|
|
5243
|
-
|
|
5253
|
+
t2 = $[2];
|
|
5254
|
+
t3 = $[3];
|
|
5244
5255
|
}
|
|
5245
|
-
useImperativeHandle(apiRef,
|
|
5256
|
+
useImperativeHandle(apiRef, t2, t3);
|
|
5246
5257
|
const autofocusRef = useControlAutofocus(controller, !preventAutoFocus && !printing);
|
|
5247
5258
|
const setLatestInteraction = useSetLatestInteraction();
|
|
5248
|
-
let
|
|
5249
|
-
if ($[
|
|
5250
|
-
|
|
5259
|
+
let t4;
|
|
5260
|
+
if ($[4] !== controller || $[5] !== printing || $[6] !== setLatestInteraction) {
|
|
5261
|
+
t4 = (event) => {
|
|
5251
5262
|
if (!printing && event.target === event.currentTarget && !event.defaultPrevented) setLatestInteraction(controller.getState().path);
|
|
5252
5263
|
};
|
|
5253
|
-
$[
|
|
5264
|
+
$[4] = controller;
|
|
5265
|
+
$[5] = printing;
|
|
5266
|
+
$[6] = setLatestInteraction;
|
|
5267
|
+
$[7] = t4;
|
|
5268
|
+
} else t4 = $[7];
|
|
5269
|
+
const handleFocus = t4;
|
|
5270
|
+
const t5 = printing ? false : !initialized_0;
|
|
5271
|
+
const t6 = printing ? false : formIsDisabled;
|
|
5272
|
+
const t7 = printing ? false : displayReadOnly;
|
|
5273
|
+
const t8 = printing ? void 0 : displayStatusToDisplay;
|
|
5274
|
+
const t9 = printing ? false : displayValidating;
|
|
5275
|
+
let t10;
|
|
5276
|
+
if ($[8] !== issuesToDisplay || $[9] !== printing) {
|
|
5277
|
+
t10 = printing ? [] : issuesToDisplay;
|
|
5278
|
+
$[8] = issuesToDisplay;
|
|
5254
5279
|
$[9] = printing;
|
|
5255
|
-
$[10] =
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
t12 = printing ? [] : issuesToDisplay;
|
|
5267
|
-
$[12] = issuesToDisplay;
|
|
5268
|
-
$[13] = printing;
|
|
5269
|
-
$[14] = t12;
|
|
5270
|
-
} else t12 = $[14];
|
|
5271
|
-
let t13;
|
|
5272
|
-
if ($[15] !== autofocusRef || $[16] !== handleFocus || $[17] !== t10 || $[18] !== t11 || $[19] !== t12 || $[20] !== t7 || $[21] !== t8 || $[22] !== t9) {
|
|
5273
|
-
t13 = {
|
|
5274
|
-
displayLoading: t7,
|
|
5275
|
-
displayDisabled: t8,
|
|
5276
|
-
displayReadOnly: t9,
|
|
5277
|
-
displayStatusToDisplay: t10,
|
|
5278
|
-
displayValidating: t11,
|
|
5279
|
-
issuesToDisplay: t12,
|
|
5280
|
+
$[10] = t10;
|
|
5281
|
+
} else t10 = $[10];
|
|
5282
|
+
let t11;
|
|
5283
|
+
if ($[11] !== autofocusRef || $[12] !== handleFocus || $[13] !== t10 || $[14] !== t5 || $[15] !== t6 || $[16] !== t7 || $[17] !== t8 || $[18] !== t9) {
|
|
5284
|
+
t11 = {
|
|
5285
|
+
displayLoading: t5,
|
|
5286
|
+
displayDisabled: t6,
|
|
5287
|
+
displayReadOnly: t7,
|
|
5288
|
+
displayStatusToDisplay: t8,
|
|
5289
|
+
displayValidating: t9,
|
|
5290
|
+
issuesToDisplay: t10,
|
|
5280
5291
|
autofocusRef,
|
|
5281
5292
|
handleFocus
|
|
5282
5293
|
};
|
|
5283
|
-
$[
|
|
5284
|
-
$[
|
|
5285
|
-
$[
|
|
5286
|
-
$[
|
|
5287
|
-
$[
|
|
5288
|
-
$[
|
|
5289
|
-
$[
|
|
5290
|
-
$[
|
|
5291
|
-
$[
|
|
5292
|
-
} else
|
|
5293
|
-
return
|
|
5294
|
+
$[11] = autofocusRef;
|
|
5295
|
+
$[12] = handleFocus;
|
|
5296
|
+
$[13] = t10;
|
|
5297
|
+
$[14] = t5;
|
|
5298
|
+
$[15] = t6;
|
|
5299
|
+
$[16] = t7;
|
|
5300
|
+
$[17] = t8;
|
|
5301
|
+
$[18] = t9;
|
|
5302
|
+
$[19] = t11;
|
|
5303
|
+
} else t11 = $[19];
|
|
5304
|
+
return t11;
|
|
5294
5305
|
}
|
|
5295
|
-
function _temp5$
|
|
5306
|
+
function _temp5$8(t0) {
|
|
5296
5307
|
const { touched, issues } = t0;
|
|
5297
5308
|
return touched ? issues : [];
|
|
5298
5309
|
}
|
|
@@ -5507,7 +5518,7 @@ function _temp2$33(issue, i_0) {
|
|
|
5507
5518
|
return /* @__PURE__ */ jsxs(Fragment, { children: [i_0 !== 0 && ", ", /* @__PURE__ */ jsx(Code, {
|
|
5508
5519
|
color: issue.severity === "error" ? "danger" : "warning",
|
|
5509
5520
|
children: issue.code
|
|
5510
|
-
})] },
|
|
5521
|
+
})] }, validationIssueKey(issue));
|
|
5511
5522
|
}
|
|
5512
5523
|
function _temp$36(validation, i) {
|
|
5513
5524
|
return /* @__PURE__ */ jsxs(Fragment, { children: [i !== 0 && ", ", /* @__PURE__ */ jsx(Code, { children: validation.toString() })] }, i);
|
|
@@ -6495,7 +6506,7 @@ function CheckboxGroupControl(t0) {
|
|
|
6495
6506
|
const controller = useListableInput(path, t6);
|
|
6496
6507
|
const { inputProps } = controller;
|
|
6497
6508
|
const schema_0 = useControllerState(controller, _temp4$11);
|
|
6498
|
-
const absolutePath = useControllerState(controller, _temp5$
|
|
6509
|
+
const absolutePath = useControllerState(controller, _temp5$7);
|
|
6499
6510
|
const { restrictions } = schema_0.typeInfo;
|
|
6500
6511
|
const showDebugInfo = useFormInDebugMode() || debug;
|
|
6501
6512
|
const t7 = otherProps["aria-label"];
|
|
@@ -6636,7 +6647,7 @@ function CheckboxGroupControl(t0) {
|
|
|
6636
6647
|
value: v,
|
|
6637
6648
|
label: unknownValueLabel
|
|
6638
6649
|
})
|
|
6639
|
-
}, i);
|
|
6650
|
+
}, -i - 1);
|
|
6640
6651
|
$[88] = unknownValueLabel;
|
|
6641
6652
|
$[89] = t30;
|
|
6642
6653
|
} else t30 = $[89];
|
|
@@ -6707,7 +6718,7 @@ function _temp6$3(t0, i_0) {
|
|
|
6707
6718
|
children: text ?? value?.toString() ?? ""
|
|
6708
6719
|
}, key ?? i_0);
|
|
6709
6720
|
}
|
|
6710
|
-
function _temp5$
|
|
6721
|
+
function _temp5$7(t0) {
|
|
6711
6722
|
const { path: path_0 } = t0;
|
|
6712
6723
|
return path_0;
|
|
6713
6724
|
}
|
|
@@ -9392,11 +9403,10 @@ function _temp$28(state) {
|
|
|
9392
9403
|
// src/components/FormPages/FormPageRegistrar.tsx
|
|
9393
9404
|
/** Component used to register a form page. */
|
|
9394
9405
|
function FormPageRegistrar(t0) {
|
|
9395
|
-
const $ = c(
|
|
9406
|
+
const $ = c(32);
|
|
9396
9407
|
const { path, title, documentTitle, code, issuesPanelLabel } = t0;
|
|
9397
9408
|
const store = useFormPagesContext();
|
|
9398
9409
|
const printing = usePrinting();
|
|
9399
|
-
const finishPrintingTask = useStartPrintingTask();
|
|
9400
9410
|
const observeDescendants = typeof title === "function" || typeof documentTitle === "function";
|
|
9401
9411
|
let t1;
|
|
9402
9412
|
if ($[0] !== observeDescendants || $[1] !== path) {
|
|
@@ -9407,54 +9417,52 @@ function FormPageRegistrar(t0) {
|
|
|
9407
9417
|
} else t1 = $[2];
|
|
9408
9418
|
const t2 = !useFormIsLoading();
|
|
9409
9419
|
let t3;
|
|
9410
|
-
if ($[3] !==
|
|
9411
|
-
t3 = {
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
$[3] = finishPrintingTask;
|
|
9416
|
-
$[4] = t2;
|
|
9417
|
-
$[5] = t3;
|
|
9418
|
-
} else t3 = $[5];
|
|
9420
|
+
if ($[3] !== t2) {
|
|
9421
|
+
t3 = { enabled: t2 };
|
|
9422
|
+
$[3] = t2;
|
|
9423
|
+
$[4] = t3;
|
|
9424
|
+
} else t3 = $[4];
|
|
9419
9425
|
const controller = useController(t1, t3);
|
|
9420
|
-
const
|
|
9421
|
-
|
|
9422
|
-
const
|
|
9426
|
+
const initialized_0 = useControllerState(controller, _temp$27);
|
|
9427
|
+
usePrintingTask(!initialized_0);
|
|
9428
|
+
const absolutePath = useControllerState(controller, _temp2$24);
|
|
9429
|
+
const schema_0 = useControllerState(controller, _temp3$13);
|
|
9430
|
+
const exists_0 = useControllerState(controller, _temp4$9);
|
|
9423
9431
|
let t4;
|
|
9424
|
-
if ($[
|
|
9432
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9425
9433
|
t4 = { equalityFn: shallow };
|
|
9426
|
-
$[
|
|
9427
|
-
} else t4 = $[
|
|
9428
|
-
const value_0 = useControllerState(controller,
|
|
9434
|
+
$[5] = t4;
|
|
9435
|
+
} else t4 = $[5];
|
|
9436
|
+
const value_0 = useControllerState(controller, _temp5$6, t4).value;
|
|
9429
9437
|
const deferredValue = useDeferredValue(value_0);
|
|
9430
9438
|
const relevantValue = printing ? value_0 : deferredValue;
|
|
9431
9439
|
let t5;
|
|
9432
|
-
if ($[
|
|
9440
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
9433
9441
|
t5 = { equalityFn: shallow };
|
|
9434
|
-
$[
|
|
9435
|
-
} else t5 = $[
|
|
9436
|
-
const deferredIssuesToDisplay = useDeferredValue(useControllerState(controller,
|
|
9437
|
-
const deferredDisplayStatus = useDeferredValue(useControllerState(controller,
|
|
9442
|
+
$[6] = t5;
|
|
9443
|
+
} else t5 = $[6];
|
|
9444
|
+
const deferredIssuesToDisplay = useDeferredValue(useControllerState(controller, _temp6$2, t5));
|
|
9445
|
+
const deferredDisplayStatus = useDeferredValue(useControllerState(controller, _temp7$1));
|
|
9438
9446
|
let t6;
|
|
9439
|
-
if ($[
|
|
9447
|
+
if ($[7] !== relevantValue || $[8] !== title) {
|
|
9440
9448
|
t6 = typeof title === "function" ? relevantValue === void 0 ? null : title(relevantValue) : title;
|
|
9441
|
-
$[
|
|
9442
|
-
$[
|
|
9443
|
-
$[
|
|
9444
|
-
} else t6 = $[
|
|
9449
|
+
$[7] = relevantValue;
|
|
9450
|
+
$[8] = title;
|
|
9451
|
+
$[9] = t6;
|
|
9452
|
+
} else t6 = $[9];
|
|
9445
9453
|
const actualTitle = t6;
|
|
9446
9454
|
let t7;
|
|
9447
|
-
if ($[
|
|
9455
|
+
if ($[10] !== actualTitle || $[11] !== documentTitle || $[12] !== relevantValue) {
|
|
9448
9456
|
t7 = typeof documentTitle === "function" ? relevantValue === void 0 ? null : documentTitle(relevantValue) : documentTitle === void 0 ? actualTitle === null || typeof actualTitle === "string" ? actualTitle : void 0 : documentTitle;
|
|
9449
|
-
$[
|
|
9450
|
-
$[
|
|
9451
|
-
$[
|
|
9452
|
-
$[
|
|
9453
|
-
} else t7 = $[
|
|
9457
|
+
$[10] = actualTitle;
|
|
9458
|
+
$[11] = documentTitle;
|
|
9459
|
+
$[12] = relevantValue;
|
|
9460
|
+
$[13] = t7;
|
|
9461
|
+
} else t7 = $[13];
|
|
9454
9462
|
const actualDocumentTitle = t7;
|
|
9455
9463
|
let t8;
|
|
9456
9464
|
let t9;
|
|
9457
|
-
if ($[
|
|
9465
|
+
if ($[14] !== absolutePath || $[15] !== actualDocumentTitle || $[16] !== actualTitle || $[17] !== code || $[18] !== deferredDisplayStatus || $[19] !== deferredIssuesToDisplay || $[20] !== exists_0 || $[21] !== schema_0 || $[22] !== store) {
|
|
9458
9466
|
t8 = () => {
|
|
9459
9467
|
const { registerPageState } = store.getState().actions;
|
|
9460
9468
|
registerPageState(absolutePath, {
|
|
@@ -9479,71 +9487,75 @@ function FormPageRegistrar(t0) {
|
|
|
9479
9487
|
schema_0,
|
|
9480
9488
|
store
|
|
9481
9489
|
];
|
|
9482
|
-
$[
|
|
9483
|
-
$[
|
|
9484
|
-
$[
|
|
9485
|
-
$[
|
|
9486
|
-
$[
|
|
9487
|
-
$[
|
|
9488
|
-
$[
|
|
9489
|
-
$[
|
|
9490
|
-
$[
|
|
9491
|
-
$[
|
|
9492
|
-
$[
|
|
9490
|
+
$[14] = absolutePath;
|
|
9491
|
+
$[15] = actualDocumentTitle;
|
|
9492
|
+
$[16] = actualTitle;
|
|
9493
|
+
$[17] = code;
|
|
9494
|
+
$[18] = deferredDisplayStatus;
|
|
9495
|
+
$[19] = deferredIssuesToDisplay;
|
|
9496
|
+
$[20] = exists_0;
|
|
9497
|
+
$[21] = schema_0;
|
|
9498
|
+
$[22] = store;
|
|
9499
|
+
$[23] = t8;
|
|
9500
|
+
$[24] = t9;
|
|
9493
9501
|
} else {
|
|
9494
|
-
t8 = $[
|
|
9495
|
-
t9 = $[
|
|
9502
|
+
t8 = $[23];
|
|
9503
|
+
t9 = $[24];
|
|
9496
9504
|
}
|
|
9497
9505
|
useEffect(t8, t9);
|
|
9498
9506
|
useRegisterController(controller);
|
|
9499
9507
|
let t10;
|
|
9500
|
-
if ($[
|
|
9508
|
+
if ($[25] !== actualTitle || $[26] !== deferredValue || $[27] !== issuesPanelLabel) {
|
|
9501
9509
|
t10 = typeof issuesPanelLabel === "function" ? deferredValue === void 0 ? null : issuesPanelLabel(deferredValue) : issuesPanelLabel || actualTitle;
|
|
9502
|
-
$[
|
|
9503
|
-
$[
|
|
9504
|
-
$[
|
|
9505
|
-
$[
|
|
9506
|
-
} else t10 = $[
|
|
9510
|
+
$[25] = actualTitle;
|
|
9511
|
+
$[26] = deferredValue;
|
|
9512
|
+
$[27] = issuesPanelLabel;
|
|
9513
|
+
$[28] = t10;
|
|
9514
|
+
} else t10 = $[28];
|
|
9507
9515
|
let t11;
|
|
9508
|
-
if ($[
|
|
9516
|
+
if ($[29] !== absolutePath || $[30] !== t10) {
|
|
9509
9517
|
t11 = /* @__PURE__ */ jsx(CurrentPath, {
|
|
9510
9518
|
path: absolutePath,
|
|
9511
9519
|
children: t10
|
|
9512
9520
|
});
|
|
9513
|
-
$[
|
|
9514
|
-
$[
|
|
9515
|
-
$[
|
|
9516
|
-
} else t11 = $[
|
|
9521
|
+
$[29] = absolutePath;
|
|
9522
|
+
$[30] = t10;
|
|
9523
|
+
$[31] = t11;
|
|
9524
|
+
} else t11 = $[31];
|
|
9517
9525
|
useRegisterLabel(absolutePath, t11);
|
|
9518
9526
|
return null;
|
|
9519
9527
|
}
|
|
9520
|
-
function
|
|
9528
|
+
function _temp7$1(t0) {
|
|
9521
9529
|
const { displayStatus } = t0;
|
|
9522
9530
|
return displayStatus;
|
|
9523
9531
|
}
|
|
9524
|
-
function
|
|
9532
|
+
function _temp6$2(t0) {
|
|
9525
9533
|
const { touched, issues } = t0;
|
|
9526
9534
|
return touched ? issues : [];
|
|
9527
9535
|
}
|
|
9528
|
-
function
|
|
9536
|
+
function _temp5$6(t0) {
|
|
9529
9537
|
const { _valueRev, value } = t0;
|
|
9530
9538
|
return {
|
|
9531
9539
|
_valueRev,
|
|
9532
9540
|
value
|
|
9533
9541
|
};
|
|
9534
9542
|
}
|
|
9535
|
-
function
|
|
9536
|
-
const { initialized, exists } = t0;
|
|
9537
|
-
return
|
|
9543
|
+
function _temp4$9(t0) {
|
|
9544
|
+
const { initialized: initialized_1, exists } = t0;
|
|
9545
|
+
return initialized_1 && exists;
|
|
9538
9546
|
}
|
|
9539
|
-
function
|
|
9547
|
+
function _temp3$13(t0) {
|
|
9540
9548
|
const { schema } = t0;
|
|
9541
9549
|
return schema;
|
|
9542
9550
|
}
|
|
9543
|
-
function
|
|
9551
|
+
function _temp2$24(t0) {
|
|
9544
9552
|
const { path: path_0 } = t0;
|
|
9545
9553
|
return path_0;
|
|
9546
9554
|
}
|
|
9555
|
+
function _temp$27(t0) {
|
|
9556
|
+
const { initialized } = t0;
|
|
9557
|
+
return initialized;
|
|
9558
|
+
}
|
|
9547
9559
|
// src/components/FormPages/FormPages.tsx
|
|
9548
9560
|
/**
|
|
9549
9561
|
* The form pages component can be used to split parts of a form into separate pages, while
|
|
@@ -9682,7 +9694,7 @@ function FormPages(t0) {
|
|
|
9682
9694
|
useEffect(t6, t7);
|
|
9683
9695
|
const T0 = CurrentPath;
|
|
9684
9696
|
const T1 = FormPagesContext;
|
|
9685
|
-
const t8 = resolvedPages.map(_temp5$
|
|
9697
|
+
const t8 = resolvedPages.map(_temp5$5);
|
|
9686
9698
|
let t9;
|
|
9687
9699
|
if ($[25] !== className || $[26] !== prefix) {
|
|
9688
9700
|
t9 = cx(prefix("form-pages"), className);
|
|
@@ -9739,7 +9751,7 @@ function FormPages(t0) {
|
|
|
9739
9751
|
} else t15 = $[44];
|
|
9740
9752
|
return t15;
|
|
9741
9753
|
}
|
|
9742
|
-
function _temp5$
|
|
9754
|
+
function _temp5$5(page_1) {
|
|
9743
9755
|
return /* @__PURE__ */ jsx(FormPageRegistrar, { ...page_1 }, page_1.path.toString());
|
|
9744
9756
|
}
|
|
9745
9757
|
function _temp4$8(t0) {
|
|
@@ -10114,7 +10126,7 @@ function FormPageSidebarItem(t0) {
|
|
|
10114
10126
|
const disabled = useFormPageState(path, _temp2$20);
|
|
10115
10127
|
const deferredDisplayStatus = useFormPageState(path, _temp3$9);
|
|
10116
10128
|
const code = useFormPageState(path, _temp4$6);
|
|
10117
|
-
const title = useFormPageState(path, _temp5$
|
|
10129
|
+
const title = useFormPageState(path, _temp5$4);
|
|
10118
10130
|
let t2;
|
|
10119
10131
|
if ($[3] !== locale) {
|
|
10120
10132
|
t2 = (state_4) => state_4?.visuallyHiddenCodePrefix ?? locale.FormPage.visuallyHiddenCodePrefix;
|
|
@@ -10302,7 +10314,7 @@ function FormPageSidebarItem(t0) {
|
|
|
10302
10314
|
} else t19 = $[65];
|
|
10303
10315
|
return t19;
|
|
10304
10316
|
}
|
|
10305
|
-
function _temp5$
|
|
10317
|
+
function _temp5$4(state_3) {
|
|
10306
10318
|
return state_3?.title;
|
|
10307
10319
|
}
|
|
10308
10320
|
function _temp4$6(state_2) {
|
|
@@ -10893,11 +10905,10 @@ function _temp$18(state) {
|
|
|
10893
10905
|
// src/components/FormStepper/FormStepRegistrar.tsx
|
|
10894
10906
|
/** Component used to register a form step. */
|
|
10895
10907
|
function FormStepRegistrar(t0) {
|
|
10896
|
-
const $ = c(
|
|
10908
|
+
const $ = c(29);
|
|
10897
10909
|
const { index, path, title, documentTitle, issuesPanelLabel } = t0;
|
|
10898
10910
|
const store = useFormStepperContext();
|
|
10899
10911
|
const printing = usePrinting();
|
|
10900
|
-
const finishPrintingTask = useStartPrintingTask();
|
|
10901
10912
|
const observeDescendants = typeof title === "function" || typeof documentTitle === "function";
|
|
10902
10913
|
let t1;
|
|
10903
10914
|
if ($[0] !== observeDescendants || $[1] !== path) {
|
|
@@ -10908,47 +10919,45 @@ function FormStepRegistrar(t0) {
|
|
|
10908
10919
|
} else t1 = $[2];
|
|
10909
10920
|
const t2 = !useFormIsLoading();
|
|
10910
10921
|
let t3;
|
|
10911
|
-
if ($[3] !==
|
|
10912
|
-
t3 = {
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
$[3] = finishPrintingTask;
|
|
10917
|
-
$[4] = t2;
|
|
10918
|
-
$[5] = t3;
|
|
10919
|
-
} else t3 = $[5];
|
|
10922
|
+
if ($[3] !== t2) {
|
|
10923
|
+
t3 = { enabled: t2 };
|
|
10924
|
+
$[3] = t2;
|
|
10925
|
+
$[4] = t3;
|
|
10926
|
+
} else t3 = $[4];
|
|
10920
10927
|
const controller = useController(t1, t3);
|
|
10921
|
-
const
|
|
10922
|
-
|
|
10928
|
+
const initialized_0 = useControllerState(controller, _temp$17);
|
|
10929
|
+
usePrintingTask(!initialized_0);
|
|
10930
|
+
const absolutePath = useControllerState(controller, _temp2$14);
|
|
10931
|
+
const exists_0 = useControllerState(controller, _temp3$5);
|
|
10923
10932
|
let t4;
|
|
10924
|
-
if ($[
|
|
10933
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
10925
10934
|
t4 = { equalityFn: shallow };
|
|
10926
|
-
$[
|
|
10927
|
-
} else t4 = $[
|
|
10928
|
-
const value_0 = useControllerState(controller,
|
|
10935
|
+
$[5] = t4;
|
|
10936
|
+
} else t4 = $[5];
|
|
10937
|
+
const value_0 = useControllerState(controller, _temp4$5, t4).value;
|
|
10929
10938
|
const deferredValue = useDeferredValue(value_0);
|
|
10930
10939
|
const relevantValue = printing ? value_0 : deferredValue;
|
|
10931
|
-
const deferredDisplayStatus = useDeferredValue(useControllerState(controller,
|
|
10940
|
+
const deferredDisplayStatus = useDeferredValue(useControllerState(controller, _temp5$3));
|
|
10932
10941
|
let t5;
|
|
10933
|
-
if ($[
|
|
10942
|
+
if ($[6] !== relevantValue || $[7] !== title) {
|
|
10934
10943
|
t5 = typeof title === "function" ? relevantValue === void 0 ? null : title(relevantValue) : title;
|
|
10935
|
-
$[
|
|
10936
|
-
$[
|
|
10937
|
-
$[
|
|
10938
|
-
} else t5 = $[
|
|
10944
|
+
$[6] = relevantValue;
|
|
10945
|
+
$[7] = title;
|
|
10946
|
+
$[8] = t5;
|
|
10947
|
+
} else t5 = $[8];
|
|
10939
10948
|
const actualTitle = t5;
|
|
10940
10949
|
let t6;
|
|
10941
|
-
if ($[
|
|
10950
|
+
if ($[9] !== actualTitle || $[10] !== documentTitle || $[11] !== relevantValue) {
|
|
10942
10951
|
t6 = typeof documentTitle === "function" ? relevantValue === void 0 ? null : documentTitle(relevantValue) : documentTitle === void 0 ? actualTitle === null || typeof actualTitle === "string" ? actualTitle : void 0 : documentTitle;
|
|
10943
|
-
$[
|
|
10944
|
-
$[
|
|
10945
|
-
$[
|
|
10946
|
-
$[
|
|
10947
|
-
} else t6 = $[
|
|
10952
|
+
$[9] = actualTitle;
|
|
10953
|
+
$[10] = documentTitle;
|
|
10954
|
+
$[11] = relevantValue;
|
|
10955
|
+
$[12] = t6;
|
|
10956
|
+
} else t6 = $[12];
|
|
10948
10957
|
const actualDocumentTitle = t6;
|
|
10949
10958
|
let t7;
|
|
10950
10959
|
let t8;
|
|
10951
|
-
if ($[
|
|
10960
|
+
if ($[13] !== absolutePath || $[14] !== actualDocumentTitle || $[15] !== actualTitle || $[16] !== deferredDisplayStatus || $[17] !== exists_0 || $[18] !== index || $[19] !== store) {
|
|
10952
10961
|
t7 = () => {
|
|
10953
10962
|
const { registerStepState } = store.getState().actions;
|
|
10954
10963
|
registerStepState(absolutePath, {
|
|
@@ -10969,61 +10978,65 @@ function FormStepRegistrar(t0) {
|
|
|
10969
10978
|
index,
|
|
10970
10979
|
store
|
|
10971
10980
|
];
|
|
10972
|
-
$[
|
|
10973
|
-
$[
|
|
10974
|
-
$[
|
|
10975
|
-
$[
|
|
10976
|
-
$[
|
|
10977
|
-
$[
|
|
10978
|
-
$[
|
|
10979
|
-
$[
|
|
10980
|
-
$[
|
|
10981
|
+
$[13] = absolutePath;
|
|
10982
|
+
$[14] = actualDocumentTitle;
|
|
10983
|
+
$[15] = actualTitle;
|
|
10984
|
+
$[16] = deferredDisplayStatus;
|
|
10985
|
+
$[17] = exists_0;
|
|
10986
|
+
$[18] = index;
|
|
10987
|
+
$[19] = store;
|
|
10988
|
+
$[20] = t7;
|
|
10989
|
+
$[21] = t8;
|
|
10981
10990
|
} else {
|
|
10982
|
-
t7 = $[
|
|
10983
|
-
t8 = $[
|
|
10991
|
+
t7 = $[20];
|
|
10992
|
+
t8 = $[21];
|
|
10984
10993
|
}
|
|
10985
10994
|
useEffect(t7, t8);
|
|
10986
10995
|
useRegisterController(controller);
|
|
10987
10996
|
let t9;
|
|
10988
|
-
if ($[
|
|
10997
|
+
if ($[22] !== actualTitle || $[23] !== deferredValue || $[24] !== issuesPanelLabel) {
|
|
10989
10998
|
t9 = typeof issuesPanelLabel === "function" ? deferredValue === void 0 ? null : issuesPanelLabel(deferredValue) : issuesPanelLabel || actualTitle;
|
|
10990
|
-
$[
|
|
10991
|
-
$[
|
|
10992
|
-
$[
|
|
10993
|
-
$[
|
|
10994
|
-
} else t9 = $[
|
|
10999
|
+
$[22] = actualTitle;
|
|
11000
|
+
$[23] = deferredValue;
|
|
11001
|
+
$[24] = issuesPanelLabel;
|
|
11002
|
+
$[25] = t9;
|
|
11003
|
+
} else t9 = $[25];
|
|
10995
11004
|
let t10;
|
|
10996
|
-
if ($[
|
|
11005
|
+
if ($[26] !== absolutePath || $[27] !== t9) {
|
|
10997
11006
|
t10 = /* @__PURE__ */ jsx(CurrentPath, {
|
|
10998
11007
|
path: absolutePath,
|
|
10999
11008
|
children: t9
|
|
11000
11009
|
});
|
|
11001
|
-
$[
|
|
11002
|
-
$[
|
|
11003
|
-
$[
|
|
11004
|
-
} else t10 = $[
|
|
11010
|
+
$[26] = absolutePath;
|
|
11011
|
+
$[27] = t9;
|
|
11012
|
+
$[28] = t10;
|
|
11013
|
+
} else t10 = $[28];
|
|
11005
11014
|
useRegisterLabel(absolutePath, t10);
|
|
11006
11015
|
return null;
|
|
11007
11016
|
}
|
|
11008
|
-
function
|
|
11017
|
+
function _temp5$3(t0) {
|
|
11009
11018
|
const { displayStatus } = t0;
|
|
11010
11019
|
return displayStatus;
|
|
11011
11020
|
}
|
|
11012
|
-
function
|
|
11021
|
+
function _temp4$5(t0) {
|
|
11013
11022
|
const { _valueRev, value } = t0;
|
|
11014
11023
|
return {
|
|
11015
11024
|
_valueRev,
|
|
11016
11025
|
value
|
|
11017
11026
|
};
|
|
11018
11027
|
}
|
|
11019
|
-
function
|
|
11020
|
-
const { initialized, exists } = t0;
|
|
11021
|
-
return
|
|
11028
|
+
function _temp3$5(t0) {
|
|
11029
|
+
const { initialized: initialized_1, exists } = t0;
|
|
11030
|
+
return initialized_1 && exists;
|
|
11022
11031
|
}
|
|
11023
|
-
function
|
|
11032
|
+
function _temp2$14(t0) {
|
|
11024
11033
|
const { path: path_0 } = t0;
|
|
11025
11034
|
return path_0;
|
|
11026
11035
|
}
|
|
11036
|
+
function _temp$17(t0) {
|
|
11037
|
+
const { initialized } = t0;
|
|
11038
|
+
return initialized;
|
|
11039
|
+
}
|
|
11027
11040
|
// src/components/FormStepper/FormStepper.tsx
|
|
11028
11041
|
/**
|
|
11029
11042
|
* The form stepper component can be used to split parts of a form into separate steps. It is built
|
|
@@ -11366,7 +11379,7 @@ function IssuesAlert(t0) {
|
|
|
11366
11379
|
if ($[29] !== absolutePath || $[30] !== deferredIssuesToDisplay || $[31] !== displayIssueCodes || $[32] !== messagesDataKey || $[33] !== prefix || $[34] !== schema || $[35] !== unknownErrorMessage || $[36] !== unknownWarningMessage || $[37] !== visuallyHiddenErrorCodePrefix || $[38] !== visuallyHiddenWarningCodePrefix) {
|
|
11367
11380
|
let t12;
|
|
11368
11381
|
if ($[40] !== absolutePath || $[41] !== displayIssueCodes || $[42] !== messagesDataKey || $[43] !== prefix || $[44] !== schema || $[45] !== unknownErrorMessage || $[46] !== unknownWarningMessage || $[47] !== visuallyHiddenErrorCodePrefix || $[48] !== visuallyHiddenWarningCodePrefix) {
|
|
11369
|
-
t12 = (issue_0
|
|
11382
|
+
t12 = (issue_0) => /* @__PURE__ */ jsx(Feedback, {
|
|
11370
11383
|
type: issue_0.severity,
|
|
11371
11384
|
children: /* @__PURE__ */ jsx(IssueMessage, {
|
|
11372
11385
|
path: absolutePath,
|
|
@@ -11380,7 +11393,7 @@ function IssuesAlert(t0) {
|
|
|
11380
11393
|
unknownWarningMessage,
|
|
11381
11394
|
issueCodeProps: { className: prefix("issue-messages__issue-code") }
|
|
11382
11395
|
})
|
|
11383
|
-
},
|
|
11396
|
+
}, validationIssueKey(issue_0));
|
|
11384
11397
|
$[40] = absolutePath;
|
|
11385
11398
|
$[41] = displayIssueCodes;
|
|
11386
11399
|
$[42] = messagesDataKey;
|
|
@@ -11947,7 +11960,7 @@ function IssuesPanelMessagesCard(t0) {
|
|
|
11947
11960
|
children: severity === "error" ? errorsLabel?.() : warningsLabel?.()
|
|
11948
11961
|
}), /* @__PURE__ */ jsx("ul", {
|
|
11949
11962
|
className: prefix("issues-panel__issues-list"),
|
|
11950
|
-
children: currentInfo.issues.filter((issue_0) => issue_0.severity === severity).map((issue_1
|
|
11963
|
+
children: currentInfo.issues.filter((issue_0) => issue_0.severity === severity).map((issue_1) => /* @__PURE__ */ jsx("li", {
|
|
11951
11964
|
className: prefix("issues-panel__issue"),
|
|
11952
11965
|
"data-severity": issue_1.severity,
|
|
11953
11966
|
children: /* @__PURE__ */ jsx(IssueMessage, {
|
|
@@ -11959,7 +11972,7 @@ function IssuesPanelMessagesCard(t0) {
|
|
|
11959
11972
|
unknownWarningMessage,
|
|
11960
11973
|
issueCodeProps: { className: prefix("issues-panel__issue-code") }
|
|
11961
11974
|
})
|
|
11962
|
-
},
|
|
11975
|
+
}, validationIssueKey(issue_1)))
|
|
11963
11976
|
})] });
|
|
11964
11977
|
const T0 = Card;
|
|
11965
11978
|
const t4 = "subtle";
|
|
@@ -12324,7 +12337,7 @@ var DEFAULT_FIRST_ISSUE_KEYBINDS = "Alt+Shift+Home";
|
|
|
12324
12337
|
var DEFAULT_LAST_ISSUE_KEYBINDS = "Alt+Shift+End";
|
|
12325
12338
|
/** Component used to navigate through the issues of the form. */
|
|
12326
12339
|
function IssuesPanel(t0) {
|
|
12327
|
-
const $ = c(
|
|
12340
|
+
const $ = c(170);
|
|
12328
12341
|
let bodyProps;
|
|
12329
12342
|
let closeButtonProps;
|
|
12330
12343
|
let containerProps;
|
|
@@ -12447,6 +12460,7 @@ function IssuesPanel(t0) {
|
|
|
12447
12460
|
const defaultOpen = t1 === void 0 ? false : t1;
|
|
12448
12461
|
const prefix = usePrefix();
|
|
12449
12462
|
const printing = usePrinting();
|
|
12463
|
+
const { printHidden } = usePrintClassNames();
|
|
12450
12464
|
const [locale] = useLocale();
|
|
12451
12465
|
const errorsLabel = errorsLabelProp ?? locale.IssuesPanel.errorsLabel;
|
|
12452
12466
|
const warningsLabel = warningsLabelProp ?? locale.IssuesPanel.warningsLabel;
|
|
@@ -12712,7 +12726,10 @@ function IssuesPanel(t0) {
|
|
|
12712
12726
|
const formAppEl = useFormAppElement();
|
|
12713
12727
|
let t27;
|
|
12714
12728
|
if ($[107] !== containerEl) {
|
|
12715
|
-
t27 = (
|
|
12729
|
+
t27 = (t28) => {
|
|
12730
|
+
const [e] = t28;
|
|
12731
|
+
return setBoolDataAttr(containerEl, "stuck", e.intersectionRatio === 1);
|
|
12732
|
+
};
|
|
12716
12733
|
$[107] = containerEl;
|
|
12717
12734
|
$[108] = t27;
|
|
12718
12735
|
} else t27 = $[108];
|
|
@@ -12806,12 +12823,12 @@ function IssuesPanel(t0) {
|
|
|
12806
12823
|
} else t32 = $[142];
|
|
12807
12824
|
const combinedContainerRef = useCombinedRef(t32);
|
|
12808
12825
|
let t33;
|
|
12809
|
-
if ($[143] !== bodyProps || $[144] !== combinedContainerRef || $[145] !== containerProps || $[146] !== currentPageController || $[147] !== currentPageIndex || $[148] !== currentPagePath || $[149] !== deferredIssuesTrackerResult || $[150] !== displayIssueCodes || $[151] !== displayMode || $[152] !== errorsLabel || $[153] !== headerProps || $[154] !== iconProps || $[155] !== loadingSpinnerProps || $[156] !== noIssuesMessage || $[157] !== open || $[158] !== otherProps || $[159] !== prefix || $[160] !==
|
|
12826
|
+
if ($[143] !== bodyProps || $[144] !== combinedContainerRef || $[145] !== containerProps || $[146] !== currentPageController || $[147] !== currentPageIndex || $[148] !== currentPagePath || $[149] !== deferredIssuesTrackerResult || $[150] !== displayIssueCodes || $[151] !== displayMode || $[152] !== errorsLabel || $[153] !== headerProps || $[154] !== iconProps || $[155] !== loadingSpinnerProps || $[156] !== noIssuesMessage || $[157] !== open || $[158] !== otherProps || $[159] !== prefix || $[160] !== printHidden || $[161] !== printing || $[162] !== renderControls || $[163] !== resolvedMessage || $[164] !== resolvedTitle || $[165] !== titleProps || $[166] !== unknownErrorMessage || $[167] !== unknownWarningMessage || $[168] !== warningsLabel) {
|
|
12810
12827
|
t33 = open && !printing && /* @__PURE__ */ jsx(Layer, {
|
|
12811
12828
|
zIndex: ["docked", 1],
|
|
12812
12829
|
children: /* @__PURE__ */ jsx("div", {
|
|
12813
12830
|
...containerProps,
|
|
12814
|
-
className: cx(prefix("issues-panel__container"), containerProps?.className),
|
|
12831
|
+
className: cx(prefix("issues-panel__container"), printHidden, containerProps?.className),
|
|
12815
12832
|
ref: combinedContainerRef,
|
|
12816
12833
|
children: /* @__PURE__ */ jsx(Container, {
|
|
12817
12834
|
asChild: true,
|
|
@@ -12868,16 +12885,17 @@ function IssuesPanel(t0) {
|
|
|
12868
12885
|
$[157] = open;
|
|
12869
12886
|
$[158] = otherProps;
|
|
12870
12887
|
$[159] = prefix;
|
|
12871
|
-
$[160] =
|
|
12872
|
-
$[161] =
|
|
12873
|
-
$[162] =
|
|
12874
|
-
$[163] =
|
|
12875
|
-
$[164] =
|
|
12876
|
-
$[165] =
|
|
12877
|
-
$[166] =
|
|
12878
|
-
$[167] =
|
|
12879
|
-
$[168] =
|
|
12880
|
-
|
|
12888
|
+
$[160] = printHidden;
|
|
12889
|
+
$[161] = printing;
|
|
12890
|
+
$[162] = renderControls;
|
|
12891
|
+
$[163] = resolvedMessage;
|
|
12892
|
+
$[164] = resolvedTitle;
|
|
12893
|
+
$[165] = titleProps;
|
|
12894
|
+
$[166] = unknownErrorMessage;
|
|
12895
|
+
$[167] = unknownWarningMessage;
|
|
12896
|
+
$[168] = warningsLabel;
|
|
12897
|
+
$[169] = t33;
|
|
12898
|
+
} else t33 = $[169];
|
|
12881
12899
|
return t33;
|
|
12882
12900
|
}
|
|
12883
12901
|
/**
|
|
@@ -15228,7 +15246,7 @@ function SelectMultipleControlItemGroup(_props) {
|
|
|
15228
15246
|
* ```
|
|
15229
15247
|
*/
|
|
15230
15248
|
function SelectMultipleControl(t0) {
|
|
15231
|
-
const $ = c(
|
|
15249
|
+
const $ = c(114);
|
|
15232
15250
|
let apiRef;
|
|
15233
15251
|
let children;
|
|
15234
15252
|
let debug;
|
|
@@ -15408,7 +15426,6 @@ function SelectMultipleControl(t0) {
|
|
|
15408
15426
|
inputOnChange(newValue);
|
|
15409
15427
|
setArrayValue(newValue);
|
|
15410
15428
|
};
|
|
15411
|
-
const optionNodes = selectionItemObjectsToNodes(groupedOptions);
|
|
15412
15429
|
const absolutePathStr = absolutePath.toString();
|
|
15413
15430
|
let t9;
|
|
15414
15431
|
if ($[52] !== absolutePathStr || $[53] !== issuesToDisplay) {
|
|
@@ -15527,14 +15544,20 @@ function SelectMultipleControl(t0) {
|
|
|
15527
15544
|
value: v,
|
|
15528
15545
|
label: unknownValueLabel
|
|
15529
15546
|
})
|
|
15530
|
-
}, i);
|
|
15547
|
+
}, -i - 1);
|
|
15531
15548
|
$[87] = unknownValueLabel;
|
|
15532
15549
|
$[88] = t30;
|
|
15533
15550
|
} else t30 = $[88];
|
|
15534
15551
|
const t31 = unknownValues.map(t30);
|
|
15535
15552
|
let t32;
|
|
15536
|
-
if ($[89] !==
|
|
15537
|
-
t32 =
|
|
15553
|
+
if ($[89] !== groupedOptions) {
|
|
15554
|
+
t32 = selectionItemObjectsToNodes(groupedOptions);
|
|
15555
|
+
$[89] = groupedOptions;
|
|
15556
|
+
$[90] = t32;
|
|
15557
|
+
} else t32 = $[90];
|
|
15558
|
+
let t33;
|
|
15559
|
+
if ($[91] !== T1 || $[92] !== formattedValue || $[93] !== handleValueChange || $[94] !== inputProps.name || $[95] !== otherProps || $[96] !== t15 || $[97] !== t16 || $[98] !== t17 || $[99] !== t18 || $[100] !== t19 || $[101] !== t20 || $[102] !== t21 || $[103] !== t23 || $[104] !== t25 || $[105] !== t27 || $[106] !== t29 || $[107] !== t31 || $[108] !== t32) {
|
|
15560
|
+
t33 = /* @__PURE__ */ jsxs(T1, {
|
|
15538
15561
|
multiple: t13,
|
|
15539
15562
|
value: formattedValue,
|
|
15540
15563
|
name: t14,
|
|
@@ -15551,37 +15574,37 @@ function SelectMultipleControl(t0) {
|
|
|
15551
15574
|
onBlurToOutside: t27,
|
|
15552
15575
|
...otherProps,
|
|
15553
15576
|
ref: t29,
|
|
15554
|
-
children: [t31,
|
|
15577
|
+
children: [t31, t32]
|
|
15555
15578
|
});
|
|
15556
|
-
$[
|
|
15557
|
-
$[
|
|
15558
|
-
$[
|
|
15559
|
-
$[
|
|
15560
|
-
$[
|
|
15561
|
-
$[
|
|
15562
|
-
$[
|
|
15563
|
-
$[
|
|
15564
|
-
$[
|
|
15565
|
-
$[
|
|
15566
|
-
$[
|
|
15567
|
-
$[
|
|
15568
|
-
$[
|
|
15569
|
-
$[
|
|
15570
|
-
$[
|
|
15571
|
-
$[
|
|
15572
|
-
$[
|
|
15573
|
-
$[
|
|
15574
|
-
$[
|
|
15575
|
-
} else
|
|
15576
|
-
let
|
|
15577
|
-
if ($[
|
|
15578
|
-
|
|
15579
|
-
$[
|
|
15580
|
-
$[
|
|
15581
|
-
$[
|
|
15582
|
-
$[
|
|
15583
|
-
} else
|
|
15584
|
-
return
|
|
15579
|
+
$[91] = T1;
|
|
15580
|
+
$[92] = formattedValue;
|
|
15581
|
+
$[93] = handleValueChange;
|
|
15582
|
+
$[94] = inputProps.name;
|
|
15583
|
+
$[95] = otherProps;
|
|
15584
|
+
$[96] = t15;
|
|
15585
|
+
$[97] = t16;
|
|
15586
|
+
$[98] = t17;
|
|
15587
|
+
$[99] = t18;
|
|
15588
|
+
$[100] = t19;
|
|
15589
|
+
$[101] = t20;
|
|
15590
|
+
$[102] = t21;
|
|
15591
|
+
$[103] = t23;
|
|
15592
|
+
$[104] = t25;
|
|
15593
|
+
$[105] = t27;
|
|
15594
|
+
$[106] = t29;
|
|
15595
|
+
$[107] = t31;
|
|
15596
|
+
$[108] = t32;
|
|
15597
|
+
$[109] = t33;
|
|
15598
|
+
} else t33 = $[109];
|
|
15599
|
+
let t34;
|
|
15600
|
+
if ($[110] !== T0 || $[111] !== inlineIssues || $[112] !== t33) {
|
|
15601
|
+
t34 = /* @__PURE__ */ jsxs(T0, { children: [t33, inlineIssues] });
|
|
15602
|
+
$[110] = T0;
|
|
15603
|
+
$[111] = inlineIssues;
|
|
15604
|
+
$[112] = t33;
|
|
15605
|
+
$[113] = t34;
|
|
15606
|
+
} else t34 = $[113];
|
|
15607
|
+
return t34;
|
|
15585
15608
|
}
|
|
15586
15609
|
function _temp6$1(t0) {
|
|
15587
15610
|
const { path: path_0 } = t0;
|
|
@@ -16195,7 +16218,7 @@ function TableControlColumns(_props) {
|
|
|
16195
16218
|
// src/components/TableControl/TableControlRow.tsx
|
|
16196
16219
|
/** Row of a table control. */
|
|
16197
16220
|
function TableControlRow(t0) {
|
|
16198
|
-
const $ = c(
|
|
16221
|
+
const $ = c(21);
|
|
16199
16222
|
let index;
|
|
16200
16223
|
let otherProps;
|
|
16201
16224
|
let row;
|
|
@@ -16239,63 +16262,40 @@ function TableControlRow(t0) {
|
|
|
16239
16262
|
useRegisterController(controller);
|
|
16240
16263
|
useRegisterLabel(path_0, row == null ? null : index + 1);
|
|
16241
16264
|
const initialized_0 = useControllerState(controller, _temp2$4);
|
|
16242
|
-
|
|
16243
|
-
let
|
|
16244
|
-
if ($[11] !==
|
|
16245
|
-
|
|
16246
|
-
$[11] = t5;
|
|
16247
|
-
$[12] = t6;
|
|
16248
|
-
} else t6 = $[12];
|
|
16249
|
-
const finishPrintingTask = useStartPrintingTask(t6);
|
|
16250
|
-
let t7;
|
|
16251
|
-
let t8;
|
|
16252
|
-
if ($[13] !== finishPrintingTask || $[14] !== initialized_0) {
|
|
16253
|
-
t7 = () => {
|
|
16254
|
-
if (initialized_0) finishPrintingTask();
|
|
16255
|
-
};
|
|
16256
|
-
t8 = [finishPrintingTask, initialized_0];
|
|
16257
|
-
$[13] = finishPrintingTask;
|
|
16258
|
-
$[14] = initialized_0;
|
|
16259
|
-
$[15] = t7;
|
|
16260
|
-
$[16] = t8;
|
|
16261
|
-
} else {
|
|
16262
|
-
t7 = $[15];
|
|
16263
|
-
t8 = $[16];
|
|
16264
|
-
}
|
|
16265
|
-
useEffect(t7, t8);
|
|
16266
|
-
let t9;
|
|
16267
|
-
if ($[17] !== index || $[18] !== otherProps || $[19] !== row) {
|
|
16268
|
-
t9 = /* @__PURE__ */ jsx(DataTableRow, {
|
|
16265
|
+
usePrintingTask(row == null || !initialized_0);
|
|
16266
|
+
let t5;
|
|
16267
|
+
if ($[11] !== index || $[12] !== otherProps || $[13] !== row) {
|
|
16268
|
+
t5 = /* @__PURE__ */ jsx(DataTableRow, {
|
|
16269
16269
|
row,
|
|
16270
16270
|
index,
|
|
16271
16271
|
...otherProps
|
|
16272
16272
|
});
|
|
16273
|
-
$[
|
|
16274
|
-
$[
|
|
16275
|
-
$[
|
|
16276
|
-
$[
|
|
16277
|
-
} else
|
|
16278
|
-
let
|
|
16279
|
-
if ($[
|
|
16280
|
-
|
|
16273
|
+
$[11] = index;
|
|
16274
|
+
$[12] = otherProps;
|
|
16275
|
+
$[13] = row;
|
|
16276
|
+
$[14] = t5;
|
|
16277
|
+
} else t5 = $[14];
|
|
16278
|
+
let t6;
|
|
16279
|
+
if ($[15] !== t5 || $[16] !== tableControlRowController) {
|
|
16280
|
+
t6 = /* @__PURE__ */ jsx(TableControlRowContext, {
|
|
16281
16281
|
value: tableControlRowController,
|
|
16282
|
-
children:
|
|
16282
|
+
children: t5
|
|
16283
16283
|
});
|
|
16284
|
-
$[
|
|
16285
|
-
$[
|
|
16286
|
-
$[
|
|
16287
|
-
} else
|
|
16288
|
-
let
|
|
16289
|
-
if ($[
|
|
16290
|
-
|
|
16284
|
+
$[15] = t5;
|
|
16285
|
+
$[16] = tableControlRowController;
|
|
16286
|
+
$[17] = t6;
|
|
16287
|
+
} else t6 = $[17];
|
|
16288
|
+
let t7;
|
|
16289
|
+
if ($[18] !== path_0 || $[19] !== t6) {
|
|
16290
|
+
t7 = /* @__PURE__ */ jsx(CurrentPath, {
|
|
16291
16291
|
path: path_0,
|
|
16292
|
-
children:
|
|
16292
|
+
children: t6
|
|
16293
16293
|
});
|
|
16294
|
-
$[
|
|
16295
|
-
$[
|
|
16296
|
-
$[
|
|
16297
|
-
} else
|
|
16298
|
-
return
|
|
16294
|
+
$[18] = path_0;
|
|
16295
|
+
$[19] = t6;
|
|
16296
|
+
$[20] = t7;
|
|
16297
|
+
} else t7 = $[20];
|
|
16298
|
+
return t7;
|
|
16299
16299
|
}
|
|
16300
16300
|
function _temp2$4(t0) {
|
|
16301
16301
|
const { initialized } = t0;
|