xmlui 0.10.19 → 0.10.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/lib/{apiInterceptorWorker-DPgtUtdA.mjs → apiInterceptorWorker-QiltRtq1.mjs} +1 -1
  2. package/dist/lib/{index-cuh97e2e.mjs → index-Ckhnrf1F.mjs} +848 -615
  3. package/dist/lib/index.css +1 -1
  4. package/dist/{metadata/initMock-C-cnv--V.mjs → lib/initMock-qnCFw6Zc.mjs} +25 -15
  5. package/dist/lib/language-server-web-worker.mjs +1 -1
  6. package/dist/lib/language-server.mjs +1 -1
  7. package/dist/lib/{metadata-utils-CtY0QcvH.mjs → metadata-utils-BTIt1_wE.mjs} +1 -1
  8. package/dist/lib/{server-common-Cine5nRR.mjs → server-common-DYZtsdM7.mjs} +51 -14
  9. package/dist/lib/{transform-bHBjkKSL.mjs → transform-Tooy42EB.mjs} +16 -18
  10. package/dist/lib/xmlui-parser.mjs +2 -2
  11. package/dist/lib/{xmlui-serializer-DB6BLiXK.mjs → xmlui-serializer-uCYa8_tZ.mjs} +1 -1
  12. package/dist/lib/xmlui.d.ts +11 -3
  13. package/dist/lib/xmlui.mjs +2 -2
  14. package/dist/metadata/{apiInterceptorWorker-BmKP8bnq.mjs → apiInterceptorWorker-Dql7QGw2.mjs} +1 -1
  15. package/dist/metadata/{collectedComponentMetadata-Cp-9lpnG.mjs → collectedComponentMetadata-Dg7P-zOz.mjs} +824 -600
  16. package/dist/{lib/initMock-BMxsanHc.mjs → metadata/initMock-ZyyFNOpL.mjs} +25 -15
  17. package/dist/metadata/style.css +1 -1
  18. package/dist/metadata/xmlui-metadata.mjs +1 -1
  19. package/dist/metadata/xmlui-metadata.umd.js +3 -3
  20. package/dist/scripts/package.json +1 -1
  21. package/dist/scripts/src/components/Animation/AnimationNative.js +28 -28
  22. package/dist/scripts/src/components/App/App.spec.js +17 -17
  23. package/dist/scripts/src/components/AppState/AppState.js +3 -2
  24. package/dist/scripts/src/components/AppState/AppState.spec.js +26 -2
  25. package/dist/scripts/src/components/AppState/AppStateNative.js +3 -4
  26. package/dist/scripts/src/components/AutoComplete/AutoComplete.js +15 -10
  27. package/dist/scripts/src/components/AutoComplete/AutoCompleteNative.js +4 -4
  28. package/dist/scripts/src/components/Carousel/Carousel.spec.js +214 -0
  29. package/dist/scripts/src/components/CodeBlock/CodeBlockNative.js +1 -1
  30. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.js +2 -0
  31. package/dist/scripts/src/components/ContentSeparator/ContentSeparator.spec.js +193 -0
  32. package/dist/scripts/src/components/DateInput/DateInput.spec.js +6 -6
  33. package/dist/scripts/src/components/DropdownMenu/DropdownMenu.spec.js +3 -3
  34. package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZoneNative.js +4 -13
  35. package/dist/scripts/src/components/Form/Form.spec.js +25 -9
  36. package/dist/scripts/src/components/Form/FormNative.js +7 -4
  37. package/dist/scripts/src/components/FormItem/FormItem.js +3 -1
  38. package/dist/scripts/src/components/FormItem/FormItem.spec.js +5 -14
  39. package/dist/scripts/src/components/FormItem/FormItemNative.js +12 -8
  40. package/dist/scripts/src/components/FormItem/Validations.js +2 -2
  41. package/dist/scripts/src/components/IconRegistryContext.js +1 -1
  42. package/dist/scripts/src/components/List/ListNative.js +2 -2
  43. package/dist/scripts/src/components/ModalDialog/ConfirmationModalContextProvider.js +3 -12
  44. package/dist/scripts/src/components/ModalDialog/ModalDialog.js +2 -2
  45. package/dist/scripts/src/components/ModalDialog/ModalDialogNative.js +6 -3
  46. package/dist/scripts/src/components/NestedApp/AppWithCodeViewNative.js +1 -1
  47. package/dist/scripts/src/components/NestedApp/NestedAppNative.js +3 -3
  48. package/dist/scripts/src/components/NumberBox/NumberBox.spec.js +2 -2
  49. package/dist/scripts/src/components/Pagination/Pagination.spec.js +5 -0
  50. package/dist/scripts/src/components/Pagination/PaginationNative.js +1 -3
  51. package/dist/scripts/src/components/Queue/Queue.spec.js +45 -47
  52. package/dist/scripts/src/components/Queue/QueueNative.js +1 -1
  53. package/dist/scripts/src/components/RadioGroup/RadioGroup.spec.js +5 -5
  54. package/dist/scripts/src/components/RealTimeAdapter/RealTimeAdapterNative.js +1 -1
  55. package/dist/scripts/src/components/Select/MultiSelectOption.js +42 -0
  56. package/dist/scripts/src/components/Select/Select.js +3 -3
  57. package/dist/scripts/src/components/Select/SelectContext.js +8 -1
  58. package/dist/scripts/src/components/Select/SelectNative.js +134 -142
  59. package/dist/scripts/src/components/Select/SelectOption.js +34 -0
  60. package/dist/scripts/src/components/Select/SimpleSelect.js +57 -0
  61. package/dist/scripts/src/components/Spinner/Spinner.spec.js +1 -1
  62. package/dist/scripts/src/components/Table/useRowSelection.js +14 -23
  63. package/dist/scripts/src/components/TextArea/TextArea.spec.js +8 -8
  64. package/dist/scripts/src/components/Theme/Theme.js +2 -1
  65. package/dist/scripts/src/components/Theme/Theme.spec.js +266 -0
  66. package/dist/scripts/src/components/Theme/ThemeNative.js +8 -1
  67. package/dist/scripts/src/components/TimeInput/TimeInput.spec.js +3 -3
  68. package/dist/scripts/src/components/Tree/TreeNative.js +9 -11
  69. package/dist/scripts/src/components-core/InspectorContext.js +1 -1
  70. package/dist/scripts/src/components-core/StandaloneApp.js +6 -8
  71. package/dist/scripts/src/components-core/action/FileUploadAction.js +1 -1
  72. package/dist/scripts/src/components-core/behaviors/BehaviorContext.js +50 -0
  73. package/dist/scripts/src/components-core/behaviors/CoreBehaviors.js +6 -1
  74. package/dist/scripts/src/components-core/interception/ApiInterceptor.js +9 -11
  75. package/dist/scripts/src/components-core/interception/ApiInterceptorProvider.js +3 -3
  76. package/dist/scripts/src/components-core/interception/Backend.js +1 -1
  77. package/dist/scripts/src/components-core/interception/IndexedDb.js +64 -66
  78. package/dist/scripts/src/components-core/interception/apiInterceptorWorker.js +2 -2
  79. package/dist/scripts/src/components-core/loader/DataLoader.js +6 -14
  80. package/dist/scripts/src/components-core/loader/Loader.js +11 -11
  81. package/dist/scripts/src/components-core/loader/MockLoaderRenderer.js +4 -2
  82. package/dist/scripts/src/components-core/loader/PageableLoader.js +10 -9
  83. package/dist/scripts/src/components-core/rendering/AppContent.js +1 -7
  84. package/dist/scripts/src/components-core/rendering/ErrorBoundary.js +1 -1
  85. package/dist/scripts/src/components-core/script-runner/bannedFunctions.js +1 -1
  86. package/dist/scripts/src/components-core/script-runner/eval-tree-async.js +180 -186
  87. package/dist/scripts/src/components-core/script-runner/eval-tree-sync.js +6 -6
  88. package/dist/scripts/src/components-core/script-runner/process-statement-sync.js +2 -2
  89. package/dist/scripts/src/components-core/utils/actionUtils.js +1 -1
  90. package/dist/scripts/src/components-core/utils/hooks.js +1 -1
  91. package/dist/scripts/src/components-core/utils/misc.js +4 -4
  92. package/dist/scripts/src/components-core/xmlui-parser.js +47 -31
  93. package/dist/scripts/src/language-server/server-common.js +25 -24
  94. package/dist/scripts/src/language-server/services/common/lsp-utils.js +2 -2
  95. package/dist/scripts/src/language-server/services/completion.js +20 -2
  96. package/dist/scripts/src/language-server/services/diagnostic.js +1 -1
  97. package/dist/scripts/src/language-server/services/hover.js +2 -2
  98. package/dist/scripts/src/parsers/common/utils.js +2 -2
  99. package/dist/scripts/src/parsers/scripting/Lexer.js +21 -15
  100. package/dist/scripts/src/parsers/scripting/Parser.js +8 -9
  101. package/dist/scripts/src/parsers/style-parser/StyleLexer.js +22 -22
  102. package/dist/scripts/src/parsers/style-parser/StyleParser.js +70 -68
  103. package/dist/scripts/src/testing/ComponentDrivers.js +20 -39
  104. package/dist/scripts/src/testing/component-test-helpers.js +34 -50
  105. package/dist/scripts/src/testing/fixtures.js +114 -113
  106. package/dist/scripts/src/testing/themed-app-test-helpers.js +7 -13
  107. package/dist/standalone/xmlui-standalone.es.d.ts +11 -3
  108. package/dist/standalone/xmlui-standalone.umd.js +12 -12
  109. package/package.json +1 -1
@@ -9,7 +9,7 @@ import { useQuery, useInfiniteQuery, QueryClientProvider, QueryClient } from "@t
9
9
  import produce, { createDraft, finishDraft, enableMapSet } from "immer";
10
10
  import { throttle, get, isNil, omitBy, isUndefined, noop as noop$2, isPlainObject, isEqual, isEmpty, union, uniq, orderBy as orderBy$1, isObject, isArray, groupBy, sortBy, omit, isNumber, isString as isString$1, set, isNaN as isNaN$1, cloneDeep, merge, defaultTo, capitalize, unset, setWith, keyBy, pick } from "lodash-es";
11
11
  import { formatDistanceToNow, parse, format, parseISO, isValid, isToday, isYesterday, isTomorrow, isThisWeek, formatRelative, isThisYear, isSameDay, differenceInMinutes } from "date-fns";
12
- import { l as labelPositionMd, o as orientationOptionMd, v as validationStatusMd, b as alignmentOptionValues, i as isSizeType, L as LinkTargetMd, c as alignmentOptionMd, d as iconPositionMd, e as buttonTypesMd, s as sizeMd, f as buttonThemeMd, g as buttonVariantMd, h as layoutOptionKeys, T as TextVariantElement, V as VariantPropsKeys, j as variantOptionsMd, k as scrollAnchoringValues, m as buttonThemeNames, n as iconPositionNames, p as buttonVariantNames, t as triggerPositionNames, q as httpMethodNames, r as orientationOptionValues, u as viewportSizeNames, M as MetadataProvider } from "./metadata-utils-CtY0QcvH.mjs";
12
+ import { l as labelPositionMd, o as orientationOptionMd, v as validationStatusMd, b as alignmentOptionValues, i as isSizeType, L as LinkTargetMd, c as alignmentOptionMd, d as iconPositionMd, e as buttonTypesMd, s as sizeMd, f as buttonThemeMd, g as buttonVariantMd, h as layoutOptionKeys, T as TextVariantElement, V as VariantPropsKeys, j as variantOptionsMd, k as scrollAnchoringValues, m as buttonThemeNames, n as iconPositionNames, p as buttonVariantNames, t as triggerPositionNames, q as httpMethodNames, r as orientationOptionValues, u as viewportSizeNames, M as MetadataProvider } from "./metadata-utils-BTIt1_wE.mjs";
13
13
  import classnames from "classnames";
14
14
  import Color from "color";
15
15
  import * as ReactDropdownMenu from "@radix-ui/react-dropdown-menu";
@@ -23,7 +23,7 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";
23
23
  import { useContextSelector, createContext as createContext$1 } from "use-context-selector";
24
24
  import { FixedSizeList } from "react-window";
25
25
  import AutoSizer from "react-virtualized-auto-sizer";
26
- import { F as Parser, G as T_CALCULATED_MEMBER_ACCESS_EXPRESSION, H as T_MEMBER_ACCESS_EXPRESSION, I as T_IDENTIFIER, J as T_PREFIX_OP_EXPRESSION, K as T_FUNCTION_DECLARATION, L as T_ARROW_EXPRESSION, M as createXmlUiTreeNodeId, O as T_EMPTY_STATEMENT, Q as T_SWITCH_STATEMENT, R as T_TRY_STATEMENT, V as T_THROW_STATEMENT, W as T_FOR_OF_STATEMENT, X as T_FOR_IN_STATEMENT, Y as T_FOR_STATEMENT, Z as T_EXPRESSION_STATEMENT, _ as T_BREAK_STATEMENT, $ as T_CONTINUE_STATEMENT, a0 as T_DO_WHILE_STATEMENT, a1 as T_WHILE_STATEMENT, a2 as T_RETURN_STATEMENT, a3 as T_IF_STATEMENT, a4 as T_CONST_STATEMENT, a5 as T_LET_STATEMENT, a6 as T_ARROW_EXPRESSION_STATEMENT, a7 as T_BLOCK_STATEMENT, a8 as T_VAR_STATEMENT, a9 as T_ASSIGNMENT_EXPRESSION, aa as T_LITERAL, ab as T_SPREAD_EXPRESSION, ac as T_FUNCTION_INVOCATION_EXPRESSION, ad as T_POSTFIX_OP_EXPRESSION, ae as T_CONDITIONAL_EXPRESSION, af as T_BINARY_EXPRESSION, ag as T_UNARY_EXPRESSION, ah as T_OBJECT_LITERAL, ai as T_ARRAY_LITERAL, aj as T_SEQUENCE_EXPRESSION, ak as T_TEMPLATE_LITERAL_EXPRESSION, al as T_VAR_DECLARATION, am as T_DESTRUCTURE, h as createXmlUiParser, w as nodeToComponentDef, D as DiagnosticCategory, E as ErrCodes, S as SyntaxKind, an as PARSED_MARK_PROP, ao as collectCodeBehindFromSource, ap as removeCodeBehindTokensFromTree } from "./transform-bHBjkKSL.mjs";
26
+ import { F as Parser, G as T_CALCULATED_MEMBER_ACCESS_EXPRESSION, H as T_MEMBER_ACCESS_EXPRESSION, I as T_IDENTIFIER, J as T_PREFIX_OP_EXPRESSION, K as T_FUNCTION_DECLARATION, L as T_ARROW_EXPRESSION, M as createXmlUiTreeNodeId, O as T_EMPTY_STATEMENT, Q as T_SWITCH_STATEMENT, R as T_TRY_STATEMENT, V as T_THROW_STATEMENT, W as T_FOR_OF_STATEMENT, X as T_FOR_IN_STATEMENT, Y as T_FOR_STATEMENT, Z as T_EXPRESSION_STATEMENT, _ as T_BREAK_STATEMENT, $ as T_CONTINUE_STATEMENT, a0 as T_DO_WHILE_STATEMENT, a1 as T_WHILE_STATEMENT, a2 as T_RETURN_STATEMENT, a3 as T_IF_STATEMENT, a4 as T_CONST_STATEMENT, a5 as T_LET_STATEMENT, a6 as T_ARROW_EXPRESSION_STATEMENT, a7 as T_BLOCK_STATEMENT, a8 as T_VAR_STATEMENT, a9 as T_ASSIGNMENT_EXPRESSION, aa as T_LITERAL, ab as T_SPREAD_EXPRESSION, ac as T_FUNCTION_INVOCATION_EXPRESSION, ad as T_POSTFIX_OP_EXPRESSION, ae as T_CONDITIONAL_EXPRESSION, af as T_BINARY_EXPRESSION, ag as T_UNARY_EXPRESSION, ah as T_OBJECT_LITERAL, ai as T_ARRAY_LITERAL, aj as T_SEQUENCE_EXPRESSION, ak as T_TEMPLATE_LITERAL_EXPRESSION, al as T_VAR_DECLARATION, am as T_DESTRUCTURE, h as createXmlUiParser, w as nodeToComponentDef, D as DiagnosticCategory, E as ErrCodes, S as SyntaxKind, an as PARSED_MARK_PROP, ao as collectCodeBehindFromSource, ap as removeCodeBehindTokensFromTree } from "./transform-Tooy42EB.mjs";
27
27
  import { useReactTable, getPaginationRowModel, getCoreRowModel, flexRender } from "@tanstack/react-table";
28
28
  import { useVirtualizer } from "@tanstack/react-virtual";
29
29
  import { RenderPropSticky } from "react-sticky-el";
@@ -31,10 +31,9 @@ import * as dropzone from "react-dropzone";
31
31
  import toast, { Toaster, ToastBar } from "react-hot-toast";
32
32
  import { Virtualizer } from "virtua";
33
33
  import memoizeOne from "memoize-one";
34
- import { Item as Item$1, ItemText, ItemIndicator, Root, Trigger, Icon as Icon$1, Portal as Portal$1, Content, ScrollUpButton, SelectViewport, ScrollDownButton, SelectItemText } from "@radix-ui/react-select";
35
- import { Popover, PopoverTrigger, Portal, PopoverContent, PopoverPortal } from "@radix-ui/react-popover";
36
- import { Command, CommandInput, CommandList, CommandEmpty, CommandItem } from "cmdk";
34
+ import { Popover, PopoverTrigger, Portal as Portal$1, PopoverContent, PopoverPortal } from "@radix-ui/react-popover";
37
35
  import { FocusScope } from "@radix-ui/react-focus-scope";
36
+ import { Item as Item$1, ItemText, ItemIndicator, Root, Trigger, Portal, Content, ScrollUpButton, Viewport, ScrollDownButton, SelectItemText } from "@radix-ui/react-select";
38
37
  import * as InnerRadioGroup from "@radix-ui/react-radio-group";
39
38
  import { DayPicker } from "react-day-picker";
40
39
  import { Root as Root$1, Track, Range, Thumb } from "@radix-ui/react-slider";
@@ -57,7 +56,7 @@ import { Area, ResponsiveContainer, AreaChart as AreaChart$1, XAxis, YAxis, Cart
57
56
  import { MemoryRouter, HashRouter, BrowserRouter } from "react-router-dom";
58
57
  import { useSpring, useInView, animated } from "@react-spring/web";
59
58
  import { AnimatePresence, motion } from "framer-motion";
60
- import { c as componentFileExtension, a as codeBehindFileExtension, g as getLintSeverity, L as LintSeverity, l as lintApp, p as printComponentLints, d as lintErrorsComponent } from "./xmlui-serializer-DB6BLiXK.mjs";
59
+ import { c as componentFileExtension, a as codeBehindFileExtension, g as getLintSeverity, L as LintSeverity, l as lintApp, p as printComponentLints, d as lintErrorsComponent } from "./xmlui-serializer-uCYa8_tZ.mjs";
61
60
  var client = {};
62
61
  var m = require$$0;
63
62
  if (process.env.NODE_ENV === "production") {
@@ -300,10 +299,13 @@ const useEvent = (callback) => {
300
299
  useInsertionEffect(() => {
301
300
  callbackRef.current = callback;
302
301
  }, [callback]);
303
- return useCallback((...args) => {
304
- const latestFn = callbackRef.current;
305
- return latestFn == null ? void 0 : latestFn(...args);
306
- }, [callbackRef]);
302
+ return useCallback(
303
+ (...args) => {
304
+ const latestFn = callbackRef.current;
305
+ return latestFn == null ? void 0 : latestFn(...args);
306
+ },
307
+ [callbackRef]
308
+ );
307
309
  };
308
310
  function humanFileSize(bytes, si = false, dp = 1) {
309
311
  const thresh = si ? 1e3 : 1024;
@@ -592,7 +594,7 @@ function distinct(arr) {
592
594
  function asyncThrottle(func, wait, options2) {
593
595
  const throttled = throttle(
594
596
  (resolve, reject, args) => {
595
- func(...args).then(resolve).catch(reject);
597
+ void func(...args).then(resolve).catch(reject);
596
598
  },
597
599
  wait,
598
600
  options2
@@ -751,18 +753,18 @@ function getElementRef(element) {
751
753
  return element.props.ref || element.ref;
752
754
  }
753
755
  const themeVars$10 = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)", "fontFamily-FormItemLabel": "var(--xmlui-fontFamily-FormItemLabel)", "fontSize-FormItemLabel": "var(--xmlui-fontSize-FormItemLabel)", "fontWeight-FormItemLabel": "var(--xmlui-fontWeight-FormItemLabel)", "fontStyle-FormItemLabel": "var(--xmlui-fontStyle-FormItemLabel)", "textTransform-FormItemLabel": "var(--xmlui-textTransform-FormItemLabel)", "textColor-FormItemLabel-required": "var(--xmlui-textColor-FormItemLabel-required)", "fontSize-FormItemLabel-required": "var(--xmlui-fontSize-FormItemLabel-required)", "fontWeight-FormItemLabel-required": "var(--xmlui-fontWeight-FormItemLabel-required)", "fontStyle-FormItemLabel-required": "var(--xmlui-fontStyle-FormItemLabel-required)", "textTransform-FormItemLabel-required": "var(--xmlui-textTransform-FormItemLabel-required)", "textColor-FormItemLabel-requiredMark": "var(--xmlui-textColor-FormItemLabel-requiredMark)"}'`;
754
- const container$3 = "_container_1tt0f_14";
755
- const top$1 = "_top_1tt0f_21";
756
- const end = "_end_1tt0f_26";
757
- const bottom$1 = "_bottom_1tt0f_32";
758
- const start = "_start_1tt0f_37";
759
- const shrinkToLabel = "_shrinkToLabel_1tt0f_43";
760
- const inputLabel = "_inputLabel_1tt0f_46";
761
- const disabled$b = "_disabled_1tt0f_59";
762
- const labelBreak = "_labelBreak_1tt0f_63";
763
- const required = "_required_1tt0f_68";
764
- const requiredMark = "_requiredMark_1tt0f_75";
765
- const itemWithLabel = "_itemWithLabel_1tt0f_79";
756
+ const container$3 = "_container_1pi4w_14";
757
+ const top$1 = "_top_1pi4w_21";
758
+ const end = "_end_1pi4w_26";
759
+ const bottom$1 = "_bottom_1pi4w_32";
760
+ const start = "_start_1pi4w_37";
761
+ const shrinkToLabel = "_shrinkToLabel_1pi4w_43";
762
+ const inputLabel = "_inputLabel_1pi4w_46";
763
+ const disabled$c = "_disabled_1pi4w_59";
764
+ const labelBreak = "_labelBreak_1pi4w_63";
765
+ const required = "_required_1pi4w_68";
766
+ const requiredMark = "_requiredMark_1pi4w_75";
767
+ const itemWithLabel = "_itemWithLabel_1pi4w_79";
766
768
  const styles$1k = {
767
769
  themeVars: themeVars$10,
768
770
  container: container$3,
@@ -772,7 +774,7 @@ const styles$1k = {
772
774
  start,
773
775
  shrinkToLabel,
774
776
  inputLabel,
775
- disabled: disabled$b,
777
+ disabled: disabled$c,
776
778
  labelBreak,
777
779
  required,
778
780
  requiredMark,
@@ -1392,10 +1394,7 @@ const useRealBackground = (element) => {
1392
1394
  useEffect(() => {
1393
1395
  return setCounter((prev) => prev + 1);
1394
1396
  }, [activeThemeTone, activeThemeId]);
1395
- return useMemo(
1396
- () => element ? realBackgroundColor(element) : "transparent",
1397
- [element, counter]
1398
- );
1397
+ return useMemo(() => element ? realBackgroundColor(element) : "transparent", [element]);
1399
1398
  };
1400
1399
  const useStartMargin = (hasOutsideScroll2, parentRef, scrollRef) => {
1401
1400
  const [startMargin, setStartMargin] = useState(0);
@@ -1719,7 +1718,7 @@ const DropdownMenuSubContent = "_DropdownMenuSubContent_iu9k6_19";
1719
1718
  const DropdownMenuItem = "_DropdownMenuItem_iu9k6_29";
1720
1719
  const DropdownMenuSubTrigger = "_DropdownMenuSubTrigger_iu9k6_30";
1721
1720
  const active$3 = "_active_iu9k6_53";
1722
- const disabled$a = "_disabled_iu9k6_63";
1721
+ const disabled$b = "_disabled_iu9k6_63";
1723
1722
  const wrapper$m = "_wrapper_iu9k6_74";
1724
1723
  const DropdownMenuSeparator = "_DropdownMenuSeparator_iu9k6_78";
1725
1724
  const styles$1h = {
@@ -1729,7 +1728,7 @@ const styles$1h = {
1729
1728
  DropdownMenuItem,
1730
1729
  DropdownMenuSubTrigger,
1731
1730
  active: active$3,
1732
- disabled: disabled$a,
1731
+ disabled: disabled$b,
1733
1732
  wrapper: wrapper$m,
1734
1733
  DropdownMenuSeparator
1735
1734
  };
@@ -2132,7 +2131,7 @@ function useCustomSvgIconRenderer(resourceUrl) {
2132
2131
  if (!resourceUrl) {
2133
2132
  return;
2134
2133
  }
2135
- ensureCustomSvgIcon(resourceUrl);
2134
+ void ensureCustomSvgIcon(resourceUrl);
2136
2135
  }, [ensureCustomSvgIcon, resourceUrl]);
2137
2136
  const customSvg = resourceUrl ? customSvgs[resourceUrl] : null;
2138
2137
  const iconRenderer = useCallback(
@@ -2324,7 +2323,6 @@ class StyleLexer {
2324
2323
  * Fetches the next token from the input stream
2325
2324
  */
2326
2325
  fetch() {
2327
- const lexer = this;
2328
2326
  const input2 = this.input;
2329
2327
  const startPos = this._prefetchedPos || input2.position;
2330
2328
  this._lastFetchPosition = this.input.position;
@@ -2334,6 +2332,19 @@ class StyleLexer {
2334
2332
  let ch = null;
2335
2333
  let useResolver = false;
2336
2334
  let stringWrapper = "";
2335
+ const appendTokenChar = () => {
2336
+ text2 += ch;
2337
+ this._prefetched = null;
2338
+ this._prefetchedPos = null;
2339
+ lastEndPos = input2.position;
2340
+ };
2341
+ const fetchNextChar = () => {
2342
+ if (!this._prefetched) {
2343
+ this._prefetchedPos = input2.position;
2344
+ this._prefetched = input2.get();
2345
+ }
2346
+ return this._prefetched;
2347
+ };
2337
2348
  let phase = 0;
2338
2349
  while (true) {
2339
2350
  ch = fetchNextChar();
@@ -2450,19 +2461,6 @@ class StyleLexer {
2450
2461
  }
2451
2462
  appendTokenChar();
2452
2463
  }
2453
- function appendTokenChar() {
2454
- text2 += ch;
2455
- lexer._prefetched = null;
2456
- lexer._prefetchedPos = null;
2457
- lastEndPos = input2.position;
2458
- }
2459
- function fetchNextChar() {
2460
- if (!lexer._prefetched) {
2461
- lexer._prefetchedPos = input2.position;
2462
- lexer._prefetched = input2.get();
2463
- }
2464
- return lexer._prefetched;
2465
- }
2466
2464
  function makeToken() {
2467
2465
  if (useResolver) {
2468
2466
  tokenType = styleKeywords[text2] ?? (isIdStart(text2[0]) ? StyleTokenType.Identifier : StyleTokenType.Unknown);
@@ -2913,7 +2911,78 @@ class StyleParser {
2913
2911
  const startToken = this._lexer.peek();
2914
2912
  const themeIdNode = this.tryThemeId();
2915
2913
  if (themeIdNode) return themeIdNode;
2916
- const parser = this;
2914
+ const parseColorParameters = (pars) => {
2915
+ this._lexer.get();
2916
+ this.expectToken(StyleTokenType.LParent, "S007");
2917
+ for (let i = 0; i < pars.length; i++) {
2918
+ const value = this.getNumber();
2919
+ if (value === null) return false;
2920
+ const unit = this._lexer.peek(true);
2921
+ switch (pars[i]) {
2922
+ case "V%":
2923
+ if (unit.type === StyleTokenType.Percentage) {
2924
+ if (value < 0 || value > 100) {
2925
+ this.reportError("S008");
2926
+ return false;
2927
+ }
2928
+ this._lexer.get();
2929
+ } else {
2930
+ if (value < 0 || value > 255) {
2931
+ this.reportError("S009");
2932
+ return false;
2933
+ }
2934
+ }
2935
+ break;
2936
+ case "%":
2937
+ if (unit.type !== StyleTokenType.Percentage || value < 0 || value > 100) {
2938
+ this.reportError("S008");
2939
+ return false;
2940
+ }
2941
+ this._lexer.get();
2942
+ break;
2943
+ case "angle":
2944
+ if (unit.type === StyleTokenType.Angle) {
2945
+ this._lexer.get();
2946
+ }
2947
+ break;
2948
+ case "alpha":
2949
+ if (unit.type === StyleTokenType.Percentage) {
2950
+ if (value < 0 || value > 100) {
2951
+ this.reportError("S008");
2952
+ return false;
2953
+ }
2954
+ this._lexer.get();
2955
+ } else {
2956
+ if (value < 0 || value > 1) {
2957
+ this.reportError("S011");
2958
+ return false;
2959
+ }
2960
+ }
2961
+ break;
2962
+ }
2963
+ if (i === pars.length - 1) continue;
2964
+ let sepToken = this._lexer.peek(true);
2965
+ if (sepToken.type === StyleTokenType.Ws) {
2966
+ this._lexer.get();
2967
+ sepToken = this._lexer.peek(true);
2968
+ if (sepToken.type === StyleTokenType.Comma) {
2969
+ this._lexer.get();
2970
+ }
2971
+ } else {
2972
+ this.expectToken(StyleTokenType.Comma);
2973
+ }
2974
+ sepToken = this._lexer.peek();
2975
+ if (sepToken.type === StyleTokenType.Ws) {
2976
+ this._lexer.get();
2977
+ }
2978
+ }
2979
+ let aSepToken = this._lexer.peek();
2980
+ if (aSepToken.type === StyleTokenType.Ws) {
2981
+ this._lexer.get();
2982
+ }
2983
+ this.expectToken(StyleTokenType.RParent, "S010");
2984
+ return true;
2985
+ };
2917
2986
  switch (startToken.type) {
2918
2987
  case StyleTokenType.ColorName:
2919
2988
  this._lexer.get();
@@ -2965,78 +3034,6 @@ class StyleParser {
2965
3034
  this.reportError("S005", startToken);
2966
3035
  return null;
2967
3036
  }
2968
- function parseColorParameters(pars) {
2969
- parser._lexer.get();
2970
- parser.expectToken(StyleTokenType.LParent, "S007");
2971
- for (let i = 0; i < pars.length; i++) {
2972
- const value = parser.getNumber();
2973
- if (value === null) return false;
2974
- const unit = parser._lexer.peek(true);
2975
- switch (pars[i]) {
2976
- case "V%":
2977
- if (unit.type === StyleTokenType.Percentage) {
2978
- if (value < 0 || value > 100) {
2979
- parser.reportError("S008");
2980
- return false;
2981
- }
2982
- parser._lexer.get();
2983
- } else {
2984
- if (value < 0 || value > 255) {
2985
- parser.reportError("S009");
2986
- return false;
2987
- }
2988
- }
2989
- break;
2990
- case "%":
2991
- if (unit.type !== StyleTokenType.Percentage || value < 0 || value > 100) {
2992
- parser.reportError("S008");
2993
- return false;
2994
- }
2995
- parser._lexer.get();
2996
- break;
2997
- case "angle":
2998
- if (unit.type === StyleTokenType.Angle) {
2999
- parser._lexer.get();
3000
- }
3001
- break;
3002
- case "alpha":
3003
- if (unit.type === StyleTokenType.Percentage) {
3004
- if (value < 0 || value > 100) {
3005
- parser.reportError("S008");
3006
- return false;
3007
- }
3008
- parser._lexer.get();
3009
- } else {
3010
- if (value < 0 || value > 1) {
3011
- parser.reportError("S011");
3012
- return false;
3013
- }
3014
- }
3015
- break;
3016
- }
3017
- if (i === pars.length - 1) continue;
3018
- let sepToken = parser._lexer.peek(true);
3019
- if (sepToken.type === StyleTokenType.Ws) {
3020
- parser._lexer.get();
3021
- sepToken = parser._lexer.peek(true);
3022
- if (sepToken.type === StyleTokenType.Comma) {
3023
- parser._lexer.get();
3024
- }
3025
- } else {
3026
- parser.expectToken(StyleTokenType.Comma);
3027
- }
3028
- sepToken = parser._lexer.peek();
3029
- if (sepToken.type === StyleTokenType.Ws) {
3030
- parser._lexer.get();
3031
- }
3032
- }
3033
- let aSepToken = parser._lexer.peek();
3034
- if (aSepToken.type === StyleTokenType.Ws) {
3035
- parser._lexer.get();
3036
- }
3037
- parser.expectToken(StyleTokenType.RParent, "S010");
3038
- return true;
3039
- }
3040
3037
  }
3041
3038
  getNumber() {
3042
3039
  const token = this._lexer.get();
@@ -4277,7 +4274,7 @@ const icon$4 = "_icon_8uiju_65";
4277
4274
  const includeHoverIndicator = "_includeHoverIndicator_8uiju_71";
4278
4275
  const displayActive = "_displayActive_8uiju_106";
4279
4276
  const navItemActive = "_navItemActive_8uiju_118";
4280
- const disabled$9 = "_disabled_8uiju_153";
4277
+ const disabled$a = "_disabled_8uiju_153";
4281
4278
  const vertical$6 = "_vertical_8uiju_157";
4282
4279
  const innerContent$1 = "_innerContent_8uiju_170";
4283
4280
  const navLinkStyles = {
@@ -4288,7 +4285,7 @@ const navLinkStyles = {
4288
4285
  includeHoverIndicator,
4289
4286
  displayActive,
4290
4287
  navItemActive,
4291
- disabled: disabled$9,
4288
+ disabled: disabled$a,
4292
4289
  vertical: vertical$6,
4293
4290
  innerContent: innerContent$1
4294
4291
  };
@@ -5851,13 +5848,13 @@ const navLinkComponentRenderer = createComponentRenderer(
5851
5848
  const themeVars$N = `'{"padding-Link": "var(--xmlui-padding-Link)", "paddingHorizontal-Link": "var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link))", "paddingVertical-Link": "var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link))", "paddingLeft-Link": "var(--xmlui-paddingLeft-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingRight-Link": "var(--xmlui-paddingRight-Link, var(--xmlui-paddingHorizontal-Link, var(--xmlui-padding-Link)))", "paddingTop-Link": "var(--xmlui-paddingTop-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "paddingBottom-Link": "var(--xmlui-paddingBottom-Link, var(--xmlui-paddingVertical-Link, var(--xmlui-padding-Link)))", "padding-icon-Link": "var(--xmlui-padding-icon-Link)", "paddingHorizontal-icon-Link": "var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link))", "paddingVertical-icon-Link": "var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link))", "paddingLeft-icon-Link": "var(--xmlui-paddingLeft-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingRight-icon-Link": "var(--xmlui-paddingRight-icon-Link, var(--xmlui-paddingHorizontal-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingTop-icon-Link": "var(--xmlui-paddingTop-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "paddingBottom-icon-Link": "var(--xmlui-paddingBottom-icon-Link, var(--xmlui-paddingVertical-icon-Link, var(--xmlui-padding-icon-Link)))", "border-Link": "var(--xmlui-border-Link)", "borderHorizontal-Link": "var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link))", "borderVertical-Link": "var(--xmlui-borderVertical-Link, var(--xmlui-border-Link))", "borderLeft-Link": "var(--xmlui-borderLeft-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderRight-Link": "var(--xmlui-borderRight-Link, var(--xmlui-borderHorizontal-Link, var(--xmlui-border-Link)))", "borderTop-Link": "var(--xmlui-borderTop-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderBottom-Link": "var(--xmlui-borderBottom-Link, var(--xmlui-borderVertical-Link, var(--xmlui-border-Link)))", "borderWidth-Link": "var(--xmlui-borderWidth-Link)", "borderHorizontalWidth-Link": "var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link))", "borderLeftWidth-Link": "var(--xmlui-borderLeftWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderRightWidth-Link": "var(--xmlui-borderRightWidth-Link, var(--xmlui-borderHorizontalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderVerticalWidth-Link": "var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link))", "borderTopWidth-Link": "var(--xmlui-borderTopWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderBottomWidth-Link": "var(--xmlui-borderBottomWidth-Link, var(--xmlui-borderVerticalWidth-Link, var(--xmlui-borderWidth-Link)))", "borderStyle-Link": "var(--xmlui-borderStyle-Link)", "borderHorizontalStyle-Link": "var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link))", "borderLeftStyle-Link": "var(--xmlui-borderLeftStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderRightStyle-Link": "var(--xmlui-borderRightStyle-Link, var(--xmlui-borderHorizontalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderVerticalStyle-Link": "var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link))", "borderTopStyle-Link": "var(--xmlui-borderTopStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderBottomStyle-Link": "var(--xmlui-borderBottomStyle-Link, var(--xmlui-borderVerticalStyle-Link, var(--xmlui-borderStyle-Link)))", "borderColor-Link": "var(--xmlui-borderColor-Link)", "borderHorizontalColor-Link": "var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link))", "borderLeftColor-Link": "var(--xmlui-borderLeftColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderRightColor-Link": "var(--xmlui-borderRightColor-Link, var(--xmlui-borderHorizontalColor-Link, var(--xmlui-borderColor-Link)))", "borderVerticalColor-Link": "var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link))", "borderTopColor-Link": "var(--xmlui-borderTopColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderBottomColor-Link": "var(--xmlui-borderBottomColor-Link, var(--xmlui-borderVerticalColor-Link, var(--xmlui-borderColor-Link)))", "borderStartStartRadius-Link": "var(--xmlui-borderStartStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderStartEndRadius-Link": "var(--xmlui-borderStartEndRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndStartRadius-Link": "var(--xmlui-borderEndStartRadius-Link, var(--xmlui-borderRadius-Link))", "borderEndEndRadius-Link": "var(--xmlui-borderEndEndRadius-Link, var(--xmlui-borderRadius-Link))", "textColor-Link": "var(--xmlui-textColor-Link)", "fontFamily-Link": "var(--xmlui-fontFamily-Link)", "fontSize-Link": "var(--xmlui-fontSize-Link)", "fontStyle-Link": "var(--xmlui-fontStyle-Link)", "fontVariant-Link": "var(--xmlui-fontVariant-Link)", "fontWeight-Link": "var(--xmlui-fontWeight-Link)", "fontStretch-Link": "var(--xmlui-fontStretch-Link)", "textDecorationLine-Link": "var(--xmlui-textDecorationLine-Link)", "textDecorationColor-Link": "var(--xmlui-textDecorationColor-Link)", "textDecorationStyle-Link": "var(--xmlui-textDecorationStyle-Link)", "textDecorationThickness-Link": "var(--xmlui-textDecorationThickness-Link)", "textUnderlineOffset-Link": "var(--xmlui-textUnderlineOffset-Link)", "lineHeight-Link": "var(--xmlui-lineHeight-Link)", "backgroundColor-Link": "var(--xmlui-backgroundColor-Link)", "textTransform-Link": "var(--xmlui-textTransform-Link)", "letterSpacing-Link": "var(--xmlui-letterSpacing-Link)", "wordSpacing-Link": "var(--xmlui-wordSpacing-Link)", "textShadow-Link": "var(--xmlui-textShadow-Link)", "textIndent-Link": "var(--xmlui-textIndent-Link)", "textAlign-Link": "var(--xmlui-textAlign-Link)", "textAlignLast-Link": "var(--xmlui-textAlignLast-Link)", "wordBreak-Link": "var(--xmlui-wordBreak-Link)", "wordWrap-Link": "var(--xmlui-wordWrap-Link)", "direction-Link": "var(--xmlui-direction-Link)", "writingMode-Link": "var(--xmlui-writingMode-Link)", "lineBreak-Link": "var(--xmlui-lineBreak-Link)", "textColor-Link--active": "var(--xmlui-textColor-Link--active)", "textColor-Link--hover": "var(--xmlui-textColor-Link--hover)", "textColor-Link--hover--active": "var(--xmlui-textColor-Link--hover--active)", "fontWeight-Link--active": "var(--xmlui-fontWeight-Link--active)", "gap-icon-Link": "var(--xmlui-gap-icon-Link)", "textDecorationColor-Link--hover": "var(--xmlui-textDecorationColor-Link--hover)", "textDecorationColor-Link--active": "var(--xmlui-textDecorationColor-Link--active)", "outlineWidth-Link--focus": "var(--xmlui-outlineWidth-Link--focus)", "outlineColor-Link--focus": "var(--xmlui-outlineColor-Link--focus)", "outlineStyle-Link--focus": "var(--xmlui-outlineStyle-Link--focus)", "outlineOffset-Link--focus": "var(--xmlui-outlineOffset-Link--focus)"}'`;
5852
5849
  const container$2 = "_container_1iujp_14";
5853
5850
  const active$2 = "_active_1iujp_75";
5854
- const disabled$8 = "_disabled_1iujp_79";
5851
+ const disabled$9 = "_disabled_1iujp_79";
5855
5852
  const iconWrapper = "_iconWrapper_1iujp_94";
5856
5853
  const styles$17 = {
5857
5854
  themeVars: themeVars$N,
5858
5855
  container: container$2,
5859
5856
  active: active$2,
5860
- disabled: disabled$8,
5857
+ disabled: disabled$9,
5861
5858
  iconWrapper
5862
5859
  };
5863
5860
  const defaultProps$15 = {
@@ -6032,7 +6029,7 @@ const themeVars$M = `'{"backgroundColor-Tree-row--selected": "var(--xmlui-backgr
6032
6029
  const wrapper$j = "_wrapper_eyur1_14";
6033
6030
  const rowWrapper = "_rowWrapper_eyur1_22";
6034
6031
  const selected$2 = "_selected_eyur1_39";
6035
- const focused$2 = "_focused_eyur1_46";
6032
+ const focused$3 = "_focused_eyur1_46";
6036
6033
  const gutter = "_gutter_eyur1_56";
6037
6034
  const toggleWrapper = "_toggleWrapper_eyur1_63";
6038
6035
  const hidden$2 = "_hidden_eyur1_72";
@@ -6044,7 +6041,7 @@ const styles$16 = {
6044
6041
  wrapper: wrapper$j,
6045
6042
  rowWrapper,
6046
6043
  selected: selected$2,
6047
- focused: focused$2,
6044
+ focused: focused$3,
6048
6045
  gutter,
6049
6046
  toggleWrapper,
6050
6047
  hidden: hidden$2,
@@ -6810,7 +6807,7 @@ const TreeComponent = memo((props) => {
6810
6807
  if (currentIndex >= 0) {
6811
6808
  const currentNode = flatTreeData[currentIndex];
6812
6809
  if (currentNode.hasChildren && !currentNode.isExpanded) {
6813
- toggleNode(currentNode);
6810
+ void toggleNode(currentNode);
6814
6811
  } else if (currentNode.hasChildren && currentNode.isExpanded && currentIndex + 1 < flatTreeData.length) {
6815
6812
  newIndex = currentIndex + 1;
6816
6813
  }
@@ -6822,7 +6819,7 @@ const TreeComponent = memo((props) => {
6822
6819
  if (currentIndex >= 0) {
6823
6820
  const currentNode = flatTreeData[currentIndex];
6824
6821
  if (currentNode.hasChildren && currentNode.isExpanded) {
6825
- toggleNode(currentNode);
6822
+ void toggleNode(currentNode);
6826
6823
  } else if (currentNode.depth > 0) {
6827
6824
  for (let i = currentIndex - 1; i >= 0; i--) {
6828
6825
  if (flatTreeData[i].depth < currentNode.depth) {
@@ -6854,7 +6851,7 @@ const TreeComponent = memo((props) => {
6854
6851
  newIndex = currentIndex;
6855
6852
  }
6856
6853
  if (e.key === "Enter" && currentNode.hasChildren) {
6857
- toggleNode(currentNode);
6854
+ void toggleNode(currentNode);
6858
6855
  }
6859
6856
  }
6860
6857
  handled = true;
@@ -9168,7 +9165,7 @@ function processStatementQueue(statements, evalContext, thread) {
9168
9165
  thread.breakLabelValue = queue.length > 0 ? queue.peek().label : -1;
9169
9166
  let outcome;
9170
9167
  try {
9171
- (_a2 = evalContext == null ? void 0 : evalContext.onStatementStarted) == null ? void 0 : _a2.call(evalContext, evalContext, queueItem.statement);
9168
+ void ((_a2 = evalContext == null ? void 0 : evalContext.onStatementStarted) == null ? void 0 : _a2.call(evalContext, evalContext, queueItem.statement));
9172
9169
  outcome = processStatement(
9173
9170
  queueItem.statement,
9174
9171
  queueItem.execInfo ?? {},
@@ -9208,7 +9205,7 @@ function processStatementQueue(statements, evalContext, thread) {
9208
9205
  diagInfo.clearToLabels++;
9209
9206
  }
9210
9207
  }
9211
- (_b = evalContext == null ? void 0 : evalContext.onStatementCompleted) == null ? void 0 : _b.call(evalContext, evalContext, queueItem.statement);
9208
+ void ((_b = evalContext == null ? void 0 : evalContext.onStatementCompleted) == null ? void 0 : _b.call(evalContext, evalContext, queueItem.statement));
9212
9209
  if (queue.length > diagInfo.maxQueueLength) {
9213
9210
  diagInfo.maxQueueLength = queue.length;
9214
9211
  }
@@ -9925,7 +9922,7 @@ function evalAssignment(evaluator, thisStack, expr, evalContext, thread) {
9925
9922
  const rootScope = getRootIdScope(leftValue, evalContext, thread);
9926
9923
  const updatesState = rootScope && rootScope.type !== "block";
9927
9924
  if (updatesState && evalContext.onWillUpdate) {
9928
- evalContext.onWillUpdate(rootScope, rootScope.name, "assignment");
9925
+ void evalContext.onWillUpdate(rootScope, rootScope.name, "assignment");
9929
9926
  }
9930
9927
  evaluator(thisStack, leftValue, evalContext, thread);
9931
9928
  thisStack.pop();
@@ -9933,7 +9930,7 @@ function evalAssignment(evaluator, thisStack, expr, evalContext, thread) {
9933
9930
  thisStack.pop();
9934
9931
  const value = evalAssignmentCore(thisStack, expr, evalContext, thread);
9935
9932
  if (updatesState && evalContext.onDidUpdate) {
9936
- evalContext.onDidUpdate(rootScope, rootScope.name, "assignment");
9933
+ void evalContext.onDidUpdate(rootScope, rootScope.name, "assignment");
9937
9934
  }
9938
9935
  return value;
9939
9936
  }
@@ -9941,13 +9938,13 @@ function evalPreOrPost(evaluator, thisStack, expr, evalContext, thread) {
9941
9938
  const rootScope = getRootIdScope(expr.expr, evalContext, thread);
9942
9939
  const updatesState = rootScope && rootScope.type !== "block";
9943
9940
  if (updatesState && evalContext.onWillUpdate) {
9944
- evalContext.onWillUpdate(rootScope, rootScope.name, "pre-post");
9941
+ void evalContext.onWillUpdate(rootScope, rootScope.name, "pre-post");
9945
9942
  }
9946
9943
  evaluator(thisStack, expr.expr, evalContext, thread);
9947
9944
  thisStack.pop();
9948
9945
  const value = evalPreOrPostCore(thisStack, expr, evalContext, thread);
9949
9946
  if (updatesState && evalContext.onDidUpdate) {
9950
- evalContext.onDidUpdate(rootScope, rootScope.name, "pre-post");
9947
+ void evalContext.onDidUpdate(rootScope, rootScope.name, "pre-post");
9951
9948
  }
9952
9949
  return value;
9953
9950
  }
@@ -10026,11 +10023,11 @@ function evalFunctionInvocation(evaluator, thisStack, expr, evalContext, thread)
10026
10023
  const rootScope = getRootIdScope(expr.obj, evalContext, thread);
10027
10024
  const updatesState = rootScope && rootScope.type !== "block";
10028
10025
  if (updatesState && evalContext.onWillUpdate) {
10029
- evalContext.onWillUpdate(rootScope, rootScope.name, "function-call");
10026
+ void evalContext.onWillUpdate(rootScope, rootScope.name, "function-call");
10030
10027
  }
10031
10028
  const value = ((_b = evalContext.options) == null ? void 0 : _b.defaultToOptionalMemberAccess) ? functionObj == null ? void 0 : functionObj.call(currentContext, ...functionArgs) : functionObj.call(currentContext, ...functionArgs);
10032
10029
  if (updatesState && evalContext.onDidUpdate) {
10033
- evalContext.onDidUpdate(rootScope, rootScope.name, "function-call");
10030
+ void evalContext.onDidUpdate(rootScope, rootScope.name, "function-call");
10034
10031
  }
10035
10032
  setExprValue(expr, { value }, thread);
10036
10033
  thisStack.push(value);
@@ -11125,8 +11122,8 @@ const showInHeader = "_showInHeader_1ylgd_138";
11125
11122
  const selected$1 = "_selected_1ylgd_142";
11126
11123
  const allSelected = "_allSelected_1ylgd_142";
11127
11124
  const cellContent = "_cellContent_1ylgd_173";
11128
- const focused$1 = "_focused_1ylgd_200";
11129
- const disabled$7 = "_disabled_1ylgd_212";
11125
+ const focused$2 = "_focused_1ylgd_200";
11126
+ const disabled$8 = "_disabled_1ylgd_212";
11130
11127
  const noBottomBorder = "_noBottomBorder_1ylgd_219";
11131
11128
  const noRows$1 = "_noRows_1ylgd_244";
11132
11129
  const loadingWrapper$1 = "_loadingWrapper_1ylgd_283";
@@ -11154,8 +11151,8 @@ const styles$12 = {
11154
11151
  selected: selected$1,
11155
11152
  allSelected,
11156
11153
  cellContent,
11157
- focused: focused$1,
11158
- disabled: disabled$7,
11154
+ focused: focused$2,
11155
+ disabled: disabled$8,
11159
11156
  noBottomBorder,
11160
11157
  noRows: noRows$1,
11161
11158
  loadingWrapper: loadingWrapper$1,
@@ -12621,14 +12618,7 @@ function useRowSelection({
12621
12618
  lastUpdateSourceRef.current = "table";
12622
12619
  (_a3 = syncWithAppState.update) == null ? void 0 : _a3.call(syncWithAppState, { selectedIds: currentSelectionIds });
12623
12620
  }
12624
- }, [
12625
- selectedItems,
12626
- syncWithAppState,
12627
- appStateSelection,
12628
- idKey,
12629
- rowsSelectable,
12630
- syncState
12631
- ]);
12621
+ }, [selectedItems, syncWithAppState, appStateSelection, idKey, rowsSelectable, syncState]);
12632
12622
  useEffect(() => {
12633
12623
  if (syncState !== "idle") {
12634
12624
  const resetTimer = requestAnimationFrame(() => {
@@ -12807,7 +12797,7 @@ function useRowSelection({
12807
12797
  }
12808
12798
  });
12809
12799
  useEffect(() => {
12810
- onSelectionDidChange == null ? void 0 : onSelectionDidChange(selectedItems);
12800
+ void (onSelectionDidChange == null ? void 0 : onSelectionDidChange(selectedItems));
12811
12801
  }, [selectedItems, onSelectionDidChange]);
12812
12802
  const checkAllRows = useEvent((checked) => {
12813
12803
  if (!rowsSelectable) {
@@ -13212,7 +13202,6 @@ const PaginationNative = forwardRef(function PaginationNative2({
13212
13202
  style: style2,
13213
13203
  className,
13214
13204
  labelPosition: orientation === "vertical" ? "top" : "start",
13215
- isInputTemplateUsed: true,
13216
13205
  children: /* @__PURE__ */ jsx(
13217
13206
  "select",
13218
13207
  {
@@ -14696,10 +14685,10 @@ const avatarComponentRenderer = createComponentRenderer(
14696
14685
  );
14697
14686
  }
14698
14687
  );
14699
- const themeVars$C = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)"}'`;
14700
- const separator = "_separator_k49rs_14";
14701
- const horizontal$3 = "_horizontal_k49rs_17";
14702
- const vertical$3 = "_vertical_k49rs_21";
14688
+ const themeVars$C = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "size-ContentSeparator": "var(--xmlui-size-ContentSeparator)", "marginTop-ContentSeparator": "var(--xmlui-marginTop-ContentSeparator)", "marginBottom-ContentSeparator": "var(--xmlui-marginBottom-ContentSeparator)", "marginVertical-ContentSeparator": "var(--xmlui-marginVertical-ContentSeparator)", "marginLeft-ContentSeparator": "var(--xmlui-marginLeft-ContentSeparator)", "marginRight-ContentSeparator": "var(--xmlui-marginRight-ContentSeparator)", "marginHorizontal-ContentSeparator": "var(--xmlui-marginHorizontal-ContentSeparator)"}'`;
14689
+ const separator = "_separator_13z1k_14";
14690
+ const horizontal$3 = "_horizontal_13z1k_21";
14691
+ const vertical$3 = "_vertical_13z1k_25";
14703
14692
  const styles$Y = {
14704
14693
  themeVars: themeVars$C,
14705
14694
  separator,
@@ -14753,6 +14742,8 @@ const ContentSeparatorMd = createMetadata({
14753
14742
  defaultThemeVars: {
14754
14743
  [`backgroundColor-${COMP$1h}`]: "$color-surface-200",
14755
14744
  [`size-${COMP$1h}`]: "1px",
14745
+ [`marginVertical-${COMP$1h}`]: "0",
14746
+ [`marginHorizontal-${COMP$1h}`]: "0",
14756
14747
  light: {
14757
14748
  // --- No light-specific theme vars
14758
14749
  },
@@ -15129,14 +15120,15 @@ const flowLayoutComponentRenderer = createComponentRenderer(
15129
15120
  }
15130
15121
  );
15131
15122
  const themeVars$z = `'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`;
15132
- const overlay$2 = "_overlay_r7ppn_14";
15133
- const fullScreen = "_fullScreen_r7ppn_22";
15134
- const content$5 = "_content_r7ppn_28";
15135
- const overlayBg$1 = "_overlayBg_r7ppn_37";
15136
- const nested = "_nested_r7ppn_43";
15137
- const dialogTitle = "_dialogTitle_r7ppn_78";
15138
- const innerContent = "_innerContent_r7ppn_83";
15139
- const closeButton = "_closeButton_r7ppn_108";
15123
+ const overlay$2 = "_overlay_do4x4_14";
15124
+ const fullScreen = "_fullScreen_do4x4_22";
15125
+ const content$5 = "_content_do4x4_28";
15126
+ const overlayBg$1 = "_overlayBg_do4x4_37";
15127
+ const nested = "_nested_do4x4_43";
15128
+ const contentAnimation = "_contentAnimation_do4x4_74";
15129
+ const dialogTitle = "_dialogTitle_do4x4_80";
15130
+ const innerContent = "_innerContent_do4x4_85";
15131
+ const closeButton = "_closeButton_do4x4_110";
15140
15132
  const styles$V = {
15141
15133
  themeVars: themeVars$z,
15142
15134
  overlay: overlay$2,
@@ -15144,6 +15136,7 @@ const styles$V = {
15144
15136
  content: content$5,
15145
15137
  overlayBg: overlayBg$1,
15146
15138
  nested,
15139
+ contentAnimation,
15147
15140
  dialogTitle,
15148
15141
  innerContent,
15149
15142
  closeButton
@@ -15253,6 +15246,7 @@ const ModalDialog = React__default.forwardRef(
15253
15246
  className,
15254
15247
  onOpen,
15255
15248
  onClose,
15249
+ externalAnimation = true,
15256
15250
  ...rest
15257
15251
  }, ref) => {
15258
15252
  const { root: root2 } = useTheme();
@@ -15301,7 +15295,13 @@ const ModalDialog = React__default.forwardRef(
15301
15295
  {
15302
15296
  ...rest,
15303
15297
  "data-part-id": PART_CONTENT,
15304
- className: classnames(styles$V.content, className),
15298
+ className: classnames(
15299
+ {
15300
+ [styles$V.contentAnimation]: !externalAnimation
15301
+ },
15302
+ styles$V.content,
15303
+ className
15304
+ ),
15305
15305
  onPointerDownOutside: (event) => {
15306
15306
  if (event.target instanceof Element && (event.target.closest("._debug-inspect-button") !== null || event.target.localName === "com-1password-button")) {
15307
15307
  event.preventDefault();
@@ -15462,6 +15462,7 @@ const modalViewComponentRenderer = createComponentRenderer(
15462
15462
  fullScreen: extractValue.asOptionalBoolean((_a2 = node.props) == null ? void 0 : _a2.fullScreen),
15463
15463
  title: extractValue((_b = node.props) == null ? void 0 : _b.title),
15464
15464
  closeButtonVisible: extractValue.asOptionalBoolean(node.props.closeButtonVisible),
15465
+ externalAnimation: extractValue.asOptionalBoolean(node.props.externalAnimation),
15465
15466
  children: renderChild2(node.children, { type: "Stack" })
15466
15467
  }
15467
15468
  );
@@ -15580,7 +15581,7 @@ const FileUploadDropZone = forwardRef(function FileUploadDropZone2({
15580
15581
  }, forwardedRef) {
15581
15582
  const accept = acceptedFileTypes ? acceptedFileTypes.split(",").reduce((acc, type) => ({ ...acc, [type.trim()]: [] }), {}) : void 0;
15582
15583
  const onDrop = useCallback(
15583
- async (acceptedFiles) => {
15584
+ (acceptedFiles) => {
15584
15585
  if (!acceptedFiles.length) {
15585
15586
  return;
15586
15587
  }
@@ -16823,7 +16824,7 @@ function Queue({
16823
16824
  return;
16824
16825
  }
16825
16826
  let queueItem = queue[0];
16826
- (async () => {
16827
+ void (async () => {
16827
16828
  await doSingle(queueItem);
16828
16829
  })();
16829
16830
  }, [doComplete, doSingle, prevQueue, queue]);
@@ -17323,26 +17324,26 @@ const ListNative = forwardRef(function DynamicHeightList({
17323
17324
  const tryToFetchPrevPage = useCallback(() => {
17324
17325
  if (virtualizerRef.current && virtualizerRef.current.findStartIndex() < 10 && pageInfo && pageInfo.hasPrevPage && !pageInfo.isFetchingPrevPage && !isFetchingPrevPage.current) {
17325
17326
  isFetchingPrevPage.current = true;
17326
- (async function doFetch() {
17327
+ void async function doFetch() {
17327
17328
  try {
17328
17329
  await requestFetchPrevPage();
17329
17330
  } finally {
17330
17331
  isFetchingPrevPage.current = false;
17331
17332
  }
17332
- })();
17333
+ }();
17333
17334
  }
17334
17335
  }, [pageInfo, requestFetchPrevPage]);
17335
17336
  const isFetchingNextPage = useRef(false);
17336
17337
  const tryToFetchNextPage = useCallback(() => {
17337
17338
  if (virtualizerRef.current && virtualizerRef.current.findEndIndex() + 10 > rows.length && pageInfo && pageInfo.hasNextPage && !pageInfo.isFetchingNextPage && !isFetchingNextPage.current) {
17338
17339
  isFetchingNextPage.current = true;
17339
- (async function doFetch() {
17340
+ void async function doFetch() {
17340
17341
  try {
17341
17342
  await requestFetchNextPage();
17342
17343
  } finally {
17343
17344
  isFetchingNextPage.current = false;
17344
17345
  }
17345
- })();
17346
+ }();
17346
17347
  }
17347
17348
  }, [rows.length, pageInfo, requestFetchNextPage]);
17348
17349
  const initiallyFetchedExtraPages = useRef(false);
@@ -18247,7 +18248,7 @@ function useValidation(validations, onValidate, value, dispatch, bindTo, throttl
18247
18248
  if (!ignore) {
18248
18249
  dispatch(fieldValidated(bindTo, partialResult));
18249
18250
  if (partialResult.partial) {
18250
- (async () => {
18251
+ void (async () => {
18251
18252
  const result = await throttledAsyncValidate(validations, onValidate, deferredValue);
18252
18253
  if (!ignore) {
18253
18254
  dispatch(fieldValidated(bindTo, result));
@@ -18263,7 +18264,7 @@ function useValidation(validations, onValidate, value, dispatch, bindTo, throttl
18263
18264
  );
18264
18265
  }
18265
18266
  function useValidationDisplay(bindTo, value, validationResult, validationMode = defaultValidationMode) {
18266
- const interactionFlags = useFormContextPart((value2) => value2.interactionFlags[bindTo]) || EMPTY_OBJECT;
18267
+ const interactionFlags = useFormContextPart((value2) => value2 == null ? void 0 : value2.interactionFlags[bindTo]) || EMPTY_OBJECT;
18267
18268
  const forceShowValidationResult = interactionFlags.forceShowValidationResult;
18268
18269
  const focused2 = interactionFlags.focused;
18269
18270
  const afterFirstDirtyBlur = interactionFlags.afterFirstDirtyBlur;
@@ -20249,62 +20250,99 @@ function useLongPress(elementRef, action2, delay2 = 500) {
20249
20250
  };
20250
20251
  }, [elementRef, action2, delay2]);
20251
20252
  }
20252
- const themeVars$o = `'{"padding-item-Select": "var(--xmlui-padding-item-Select)", "paddingHorizontal-item-Select": "var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select))", "paddingVertical-item-Select": "var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select))", "paddingLeft-item-Select": "var(--xmlui-paddingLeft-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingRight-item-Select": "var(--xmlui-paddingRight-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingTop-item-Select": "var(--xmlui-paddingTop-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "paddingBottom-item-Select": "var(--xmlui-paddingBottom-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "padding-Select": "var(--xmlui-padding-Select)", "paddingHorizontal-Select": "var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select))", "paddingVertical-Select": "var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select))", "paddingLeft-Select": "var(--xmlui-paddingLeft-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingRight-Select": "var(--xmlui-paddingRight-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingTop-Select": "var(--xmlui-paddingTop-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "paddingBottom-Select": "var(--xmlui-paddingBottom-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "Input:fontSize-Select-default": "var(--xmlui-fontSize-Select-default)", "Input:textColor-placeholder-Select-default": "var(--xmlui-textColor-placeholder-Select-default)", "Input:textColor-Select-default": "var(--xmlui-textColor-Select-default)", "Input:fontSize-Select-error": "var(--xmlui-fontSize-Select-error)", "Input:textColor-placeholder-Select-error": "var(--xmlui-textColor-placeholder-Select-error)", "Input:textColor-Select-error": "var(--xmlui-textColor-Select-error)", "Input:fontSize-Select-warning": "var(--xmlui-fontSize-Select-warning)", "Input:textColor-placeholder-Select-warning": "var(--xmlui-textColor-placeholder-Select-warning)", "Input:textColor-Select-warning": "var(--xmlui-textColor-Select-warning)", "Input:fontSize-Select-success": "var(--xmlui-fontSize-Select-success)", "Input:textColor-placeholder-Select-success": "var(--xmlui-textColor-placeholder-Select-success)", "Input:textColor-Select-success": "var(--xmlui-textColor-Select-success)", "Input:borderRadius-Select-default": "var(--xmlui-borderRadius-Select-default)", "Input:borderColor-Select-default": "var(--xmlui-borderColor-Select-default)", "Input:borderWidth-Select-default": "var(--xmlui-borderWidth-Select-default)", "Input:borderStyle-Select-default": "var(--xmlui-borderStyle-Select-default)", "Input:backgroundColor-Select-default": "var(--xmlui-backgroundColor-Select-default)", "Input:boxShadow-Select-default": "var(--xmlui-boxShadow-Select-default)", "Input:borderColor-Select-default--hover": "var(--xmlui-borderColor-Select-default--hover)", "Input:backgroundColor-Select-default--hover": "var(--xmlui-backgroundColor-Select-default--hover)", "Input:boxShadow-Select-default--hover": "var(--xmlui-boxShadow-Select-default--hover)", "Input:textColor-Select-default--hover": "var(--xmlui-textColor-Select-default--hover)", "Input:outlineWidth-Select-default--focus": "var(--xmlui-outlineWidth-Select-default--focus)", "Input:outlineColor-Select-default--focus": "var(--xmlui-outlineColor-Select-default--focus)", "Input:outlineStyle-Select-default--focus": "var(--xmlui-outlineStyle-Select-default--focus)", "Input:outlineOffset-Select-default--focus": "var(--xmlui-outlineOffset-Select-default--focus)", "Input:fontSize-placeholder-Select-default": "var(--xmlui-fontSize-placeholder-Select-default)", "Input:borderRadius-Select-error": "var(--xmlui-borderRadius-Select-error)", "Input:borderColor-Select-error": "var(--xmlui-borderColor-Select-error)", "Input:borderWidth-Select-error": "var(--xmlui-borderWidth-Select-error)", "Input:borderStyle-Select-error": "var(--xmlui-borderStyle-Select-error)", "Input:backgroundColor-Select-error": "var(--xmlui-backgroundColor-Select-error)", "Input:boxShadow-Select-error": "var(--xmlui-boxShadow-Select-error)", "Input:borderColor-Select-error--hover": "var(--xmlui-borderColor-Select-error--hover)", "Input:backgroundColor-Select-error--hover": "var(--xmlui-backgroundColor-Select-error--hover)", "Input:boxShadow-Select-error--hover": "var(--xmlui-boxShadow-Select-error--hover)", "Input:textColor-Select-error--hover": "var(--xmlui-textColor-Select-error--hover)", "Input:outlineWidth-Select-error--focus": "var(--xmlui-outlineWidth-Select-error--focus)", "Input:outlineColor-Select-error--focus": "var(--xmlui-outlineColor-Select-error--focus)", "Input:outlineStyle-Select-error--focus": "var(--xmlui-outlineStyle-Select-error--focus)", "Input:outlineOffset-Select-error--focus": "var(--xmlui-outlineOffset-Select-error--focus)", "Input:fontSize-placeholder-Select-error": "var(--xmlui-fontSize-placeholder-Select-error)", "Input:borderRadius-Select-warning": "var(--xmlui-borderRadius-Select-warning)", "Input:borderColor-Select-warning": "var(--xmlui-borderColor-Select-warning)", "Input:borderWidth-Select-warning": "var(--xmlui-borderWidth-Select-warning)", "Input:borderStyle-Select-warning": "var(--xmlui-borderStyle-Select-warning)", "Input:backgroundColor-Select-warning": "var(--xmlui-backgroundColor-Select-warning)", "Input:boxShadow-Select-warning": "var(--xmlui-boxShadow-Select-warning)", "Input:borderColor-Select-warning--hover": "var(--xmlui-borderColor-Select-warning--hover)", "Input:backgroundColor-Select-warning--hover": "var(--xmlui-backgroundColor-Select-warning--hover)", "Input:boxShadow-Select-warning--hover": "var(--xmlui-boxShadow-Select-warning--hover)", "Input:textColor-Select-warning--hover": "var(--xmlui-textColor-Select-warning--hover)", "Input:outlineWidth-Select-warning--focus": "var(--xmlui-outlineWidth-Select-warning--focus)", "Input:outlineColor-Select-warning--focus": "var(--xmlui-outlineColor-Select-warning--focus)", "Input:outlineStyle-Select-warning--focus": "var(--xmlui-outlineStyle-Select-warning--focus)", "Input:outlineOffset-Select-warning--focus": "var(--xmlui-outlineOffset-Select-warning--focus)", "Input:fontSize-placeholder-Select-warning": "var(--xmlui-fontSize-placeholder-Select-warning)", "Input:borderRadius-Select-success": "var(--xmlui-borderRadius-Select-success)", "Input:borderColor-Select-success": "var(--xmlui-borderColor-Select-success)", "Input:borderWidth-Select-success": "var(--xmlui-borderWidth-Select-success)", "Input:borderStyle-Select-success": "var(--xmlui-borderStyle-Select-success)", "Input:backgroundColor-Select-success": "var(--xmlui-backgroundColor-Select-success)", "Input:boxShadow-Select-success": "var(--xmlui-boxShadow-Select-success)", "Input:borderColor-Select-success--hover": "var(--xmlui-borderColor-Select-success--hover)", "Input:backgroundColor-Select-success--hover": "var(--xmlui-backgroundColor-Select-success--hover)", "Input:boxShadow-Select-success--hover": "var(--xmlui-boxShadow-Select-success--hover)", "Input:textColor-Select-success--hover": "var(--xmlui-textColor-Select-success--hover)", "Input:outlineWidth-Select-success--focus": "var(--xmlui-outlineWidth-Select-success--focus)", "Input:outlineColor-Select-success--focus": "var(--xmlui-outlineColor-Select-success--focus)", "Input:outlineStyle-Select-success--focus": "var(--xmlui-outlineStyle-Select-success--focus)", "Input:outlineOffset-Select-success--focus": "var(--xmlui-outlineOffset-Select-success--focus)", "Input:fontSize-placeholder-Select-success": "var(--xmlui-fontSize-placeholder-Select-success)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "borderRadius-Select-badge": "var(--xmlui-borderRadius-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "fontSize-Select": "var(--xmlui-fontSize-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)"}'`;
20253
- const selectValue = "_selectValue_11axh_14";
20254
- const error$9 = "_error_11axh_22";
20255
- const warning$a = "_warning_11axh_30";
20256
- const valid$9 = "_valid_11axh_38";
20257
- const selectTrigger = "_selectTrigger_11axh_46";
20258
- const badgeListContainer = "_badgeListContainer_11axh_175";
20259
- const badgeList$1 = "_badgeList_11axh_175";
20260
- const badge$1 = "_badge_11axh_175";
20261
- const actions$1 = "_actions_11axh_212";
20262
- const placeholder$1 = "_placeholder_11axh_217";
20263
- const emptyList = "_emptyList_11axh_221";
20264
- const selectScrollUpButton = "_selectScrollUpButton_11axh_230";
20265
- const selectScrollDownButton = "_selectScrollDownButton_11axh_238";
20266
- const command$1 = "_command_11axh_246";
20267
- const commandInputContainer = "_commandInputContainer_11axh_255";
20268
- const commandInput$1 = "_commandInput_11axh_255";
20269
- const commandList$1 = "_commandList_11axh_278";
20270
- const selectContent = "_selectContent_11axh_282";
20271
- const fadeIn = "_fadeIn_11axh_1";
20272
- const zoomIn = "_zoomIn_11axh_1";
20273
- const fadeOut = "_fadeOut_11axh_1";
20274
- const zoomOut = "_zoomOut_11axh_1";
20275
- const slideInFromTop = "_slideInFromTop_11axh_1";
20276
- const slideInFromRight = "_slideInFromRight_11axh_1";
20277
- const slideInFromLeft = "_slideInFromLeft_11axh_1";
20278
- const slideInFromBottom = "_slideInFromBottom_11axh_1";
20279
- const multiComboboxOption = "_multiComboboxOption_11axh_323";
20280
- const multiComboboxOptionContent = "_multiComboboxOptionContent_11axh_323";
20281
- const selectItem = "_selectItem_11axh_347";
20282
- const selectItemContent = "_selectItemContent_11axh_362";
20283
- const selectItemIndicator = "_selectItemIndicator_11axh_381";
20284
- const selectViewport = "_selectViewport_11axh_391";
20285
- const selectEmpty = "_selectEmpty_11axh_396";
20286
- const loading = "_loading_11axh_406";
20287
- const srOnly = "_srOnly_11axh_409";
20253
+ const SelectContext = createContext({
20254
+ value: null,
20255
+ onChange: (selectedValue) => {
20256
+ },
20257
+ setOpen: (open) => {
20258
+ },
20259
+ setSelectedIndex: (index) => {
20260
+ },
20261
+ options: /* @__PURE__ */ new Set(),
20262
+ optionRenderer: void 0
20263
+ });
20264
+ function useSelect() {
20265
+ return useContext(SelectContext);
20266
+ }
20267
+ const OptionContext = createContext({
20268
+ onOptionAdd: () => {
20269
+ },
20270
+ onOptionRemove: () => {
20271
+ }
20272
+ });
20273
+ function useOption() {
20274
+ return useContext(OptionContext);
20275
+ }
20276
+ const themeVars$o = `'{"border-Select": "var(--xmlui-border-Select)", "borderHorizontal-Select": "var(--xmlui-borderHorizontal-Select, var(--xmlui-border-Select))", "borderVertical-Select": "var(--xmlui-borderVertical-Select, var(--xmlui-border-Select))", "borderLeft-Select": "var(--xmlui-borderLeft-Select, var(--xmlui-borderHorizontal-Select, var(--xmlui-border-Select)))", "borderRight-Select": "var(--xmlui-borderRight-Select, var(--xmlui-borderHorizontal-Select, var(--xmlui-border-Select)))", "borderTop-Select": "var(--xmlui-borderTop-Select, var(--xmlui-borderVertical-Select, var(--xmlui-border-Select)))", "borderBottom-Select": "var(--xmlui-borderBottom-Select, var(--xmlui-borderVertical-Select, var(--xmlui-border-Select)))", "borderWidth-Select": "var(--xmlui-borderWidth-Select)", "borderHorizontalWidth-Select": "var(--xmlui-borderHorizontalWidth-Select, var(--xmlui-borderWidth-Select))", "borderLeftWidth-Select": "var(--xmlui-borderLeftWidth-Select, var(--xmlui-borderHorizontalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderRightWidth-Select": "var(--xmlui-borderRightWidth-Select, var(--xmlui-borderHorizontalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderVerticalWidth-Select": "var(--xmlui-borderVerticalWidth-Select, var(--xmlui-borderWidth-Select))", "borderTopWidth-Select": "var(--xmlui-borderTopWidth-Select, var(--xmlui-borderVerticalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderBottomWidth-Select": "var(--xmlui-borderBottomWidth-Select, var(--xmlui-borderVerticalWidth-Select, var(--xmlui-borderWidth-Select)))", "borderStyle-Select": "var(--xmlui-borderStyle-Select)", "borderHorizontalStyle-Select": "var(--xmlui-borderHorizontalStyle-Select, var(--xmlui-borderStyle-Select))", "borderLeftStyle-Select": "var(--xmlui-borderLeftStyle-Select, var(--xmlui-borderHorizontalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderRightStyle-Select": "var(--xmlui-borderRightStyle-Select, var(--xmlui-borderHorizontalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderVerticalStyle-Select": "var(--xmlui-borderVerticalStyle-Select, var(--xmlui-borderStyle-Select))", "borderTopStyle-Select": "var(--xmlui-borderTopStyle-Select, var(--xmlui-borderVerticalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderBottomStyle-Select": "var(--xmlui-borderBottomStyle-Select, var(--xmlui-borderVerticalStyle-Select, var(--xmlui-borderStyle-Select)))", "borderColor-Select": "var(--xmlui-borderColor-Select)", "borderHorizontalColor-Select": "var(--xmlui-borderHorizontalColor-Select, var(--xmlui-borderColor-Select))", "borderLeftColor-Select": "var(--xmlui-borderLeftColor-Select, var(--xmlui-borderHorizontalColor-Select, var(--xmlui-borderColor-Select)))", "borderRightColor-Select": "var(--xmlui-borderRightColor-Select, var(--xmlui-borderHorizontalColor-Select, var(--xmlui-borderColor-Select)))", "borderVerticalColor-Select": "var(--xmlui-borderVerticalColor-Select, var(--xmlui-borderColor-Select))", "borderTopColor-Select": "var(--xmlui-borderTopColor-Select, var(--xmlui-borderVerticalColor-Select, var(--xmlui-borderColor-Select)))", "borderBottomColor-Select": "var(--xmlui-borderBottomColor-Select, var(--xmlui-borderVerticalColor-Select, var(--xmlui-borderColor-Select)))", "borderStartStartRadius-Select": "var(--xmlui-borderStartStartRadius-Select, var(--xmlui-borderRadius-Select))", "borderStartEndRadius-Select": "var(--xmlui-borderStartEndRadius-Select, var(--xmlui-borderRadius-Select))", "borderEndStartRadius-Select": "var(--xmlui-borderEndStartRadius-Select, var(--xmlui-borderRadius-Select))", "borderEndEndRadius-Select": "var(--xmlui-borderEndEndRadius-Select, var(--xmlui-borderRadius-Select))", "padding-Select": "var(--xmlui-padding-Select)", "paddingHorizontal-Select": "var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select))", "paddingVertical-Select": "var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select))", "paddingLeft-Select": "var(--xmlui-paddingLeft-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingRight-Select": "var(--xmlui-paddingRight-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingTop-Select": "var(--xmlui-paddingTop-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "paddingBottom-Select": "var(--xmlui-paddingBottom-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "padding-item-Select": "var(--xmlui-padding-item-Select)", "paddingHorizontal-item-Select": "var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select))", "paddingVertical-item-Select": "var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select))", "paddingLeft-item-Select": "var(--xmlui-paddingLeft-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingRight-item-Select": "var(--xmlui-paddingRight-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingTop-item-Select": "var(--xmlui-paddingTop-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "paddingBottom-item-Select": "var(--xmlui-paddingBottom-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "Input:borderRadius-Select-default": "var(--xmlui-borderRadius-Select-default)", "Input:borderColor-Select-default": "var(--xmlui-borderColor-Select-default)", "Input:borderWidth-Select-default": "var(--xmlui-borderWidth-Select-default)", "Input:borderStyle-Select-default": "var(--xmlui-borderStyle-Select-default)", "Input:fontSize-Select-default": "var(--xmlui-fontSize-Select-default)", "Input:backgroundColor-Select-default": "var(--xmlui-backgroundColor-Select-default)", "Input:boxShadow-Select-default": "var(--xmlui-boxShadow-Select-default)", "Input:textColor-Select-default": "var(--xmlui-textColor-Select-default)", "Input:borderColor-Select-default--hover": "var(--xmlui-borderColor-Select-default--hover)", "Input:backgroundColor-Select-default--hover": "var(--xmlui-backgroundColor-Select-default--hover)", "Input:boxShadow-Select-default--hover": "var(--xmlui-boxShadow-Select-default--hover)", "Input:textColor-Select-default--hover": "var(--xmlui-textColor-Select-default--hover)", "Input:outlineWidth-Select-default--focus": "var(--xmlui-outlineWidth-Select-default--focus)", "Input:outlineColor-Select-default--focus": "var(--xmlui-outlineColor-Select-default--focus)", "Input:outlineStyle-Select-default--focus": "var(--xmlui-outlineStyle-Select-default--focus)", "Input:outlineOffset-Select-default--focus": "var(--xmlui-outlineOffset-Select-default--focus)", "Input:textColor-placeholder-Select-default": "var(--xmlui-textColor-placeholder-Select-default)", "Input:fontSize-placeholder-Select-default": "var(--xmlui-fontSize-placeholder-Select-default)", "Input:borderRadius-Select-error": "var(--xmlui-borderRadius-Select-error)", "Input:borderColor-Select-error": "var(--xmlui-borderColor-Select-error)", "Input:borderWidth-Select-error": "var(--xmlui-borderWidth-Select-error)", "Input:borderStyle-Select-error": "var(--xmlui-borderStyle-Select-error)", "Input:fontSize-Select-error": "var(--xmlui-fontSize-Select-error)", "Input:backgroundColor-Select-error": "var(--xmlui-backgroundColor-Select-error)", "Input:boxShadow-Select-error": "var(--xmlui-boxShadow-Select-error)", "Input:textColor-Select-error": "var(--xmlui-textColor-Select-error)", "Input:borderColor-Select-error--hover": "var(--xmlui-borderColor-Select-error--hover)", "Input:backgroundColor-Select-error--hover": "var(--xmlui-backgroundColor-Select-error--hover)", "Input:boxShadow-Select-error--hover": "var(--xmlui-boxShadow-Select-error--hover)", "Input:textColor-Select-error--hover": "var(--xmlui-textColor-Select-error--hover)", "Input:outlineWidth-Select-error--focus": "var(--xmlui-outlineWidth-Select-error--focus)", "Input:outlineColor-Select-error--focus": "var(--xmlui-outlineColor-Select-error--focus)", "Input:outlineStyle-Select-error--focus": "var(--xmlui-outlineStyle-Select-error--focus)", "Input:outlineOffset-Select-error--focus": "var(--xmlui-outlineOffset-Select-error--focus)", "Input:textColor-placeholder-Select-error": "var(--xmlui-textColor-placeholder-Select-error)", "Input:fontSize-placeholder-Select-error": "var(--xmlui-fontSize-placeholder-Select-error)", "Input:borderRadius-Select-warning": "var(--xmlui-borderRadius-Select-warning)", "Input:borderColor-Select-warning": "var(--xmlui-borderColor-Select-warning)", "Input:borderWidth-Select-warning": "var(--xmlui-borderWidth-Select-warning)", "Input:borderStyle-Select-warning": "var(--xmlui-borderStyle-Select-warning)", "Input:fontSize-Select-warning": "var(--xmlui-fontSize-Select-warning)", "Input:backgroundColor-Select-warning": "var(--xmlui-backgroundColor-Select-warning)", "Input:boxShadow-Select-warning": "var(--xmlui-boxShadow-Select-warning)", "Input:textColor-Select-warning": "var(--xmlui-textColor-Select-warning)", "Input:borderColor-Select-warning--hover": "var(--xmlui-borderColor-Select-warning--hover)", "Input:backgroundColor-Select-warning--hover": "var(--xmlui-backgroundColor-Select-warning--hover)", "Input:boxShadow-Select-warning--hover": "var(--xmlui-boxShadow-Select-warning--hover)", "Input:textColor-Select-warning--hover": "var(--xmlui-textColor-Select-warning--hover)", "Input:outlineWidth-Select-warning--focus": "var(--xmlui-outlineWidth-Select-warning--focus)", "Input:outlineColor-Select-warning--focus": "var(--xmlui-outlineColor-Select-warning--focus)", "Input:outlineStyle-Select-warning--focus": "var(--xmlui-outlineStyle-Select-warning--focus)", "Input:outlineOffset-Select-warning--focus": "var(--xmlui-outlineOffset-Select-warning--focus)", "Input:textColor-placeholder-Select-warning": "var(--xmlui-textColor-placeholder-Select-warning)", "Input:fontSize-placeholder-Select-warning": "var(--xmlui-fontSize-placeholder-Select-warning)", "Input:borderRadius-Select-success": "var(--xmlui-borderRadius-Select-success)", "Input:borderColor-Select-success": "var(--xmlui-borderColor-Select-success)", "Input:borderWidth-Select-success": "var(--xmlui-borderWidth-Select-success)", "Input:borderStyle-Select-success": "var(--xmlui-borderStyle-Select-success)", "Input:fontSize-Select-success": "var(--xmlui-fontSize-Select-success)", "Input:backgroundColor-Select-success": "var(--xmlui-backgroundColor-Select-success)", "Input:boxShadow-Select-success": "var(--xmlui-boxShadow-Select-success)", "Input:textColor-Select-success": "var(--xmlui-textColor-Select-success)", "Input:borderColor-Select-success--hover": "var(--xmlui-borderColor-Select-success--hover)", "Input:backgroundColor-Select-success--hover": "var(--xmlui-backgroundColor-Select-success--hover)", "Input:boxShadow-Select-success--hover": "var(--xmlui-boxShadow-Select-success--hover)", "Input:textColor-Select-success--hover": "var(--xmlui-textColor-Select-success--hover)", "Input:outlineWidth-Select-success--focus": "var(--xmlui-outlineWidth-Select-success--focus)", "Input:outlineColor-Select-success--focus": "var(--xmlui-outlineColor-Select-success--focus)", "Input:outlineStyle-Select-success--focus": "var(--xmlui-outlineStyle-Select-success--focus)", "Input:outlineOffset-Select-success--focus": "var(--xmlui-outlineOffset-Select-success--focus)", "Input:textColor-placeholder-Select-success": "var(--xmlui-textColor-placeholder-Select-success)", "Input:fontSize-placeholder-Select-success": "var(--xmlui-fontSize-placeholder-Select-success)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "Input:outlineWidth-Select--focus": "var(--xmlui-outlineWidth-Select--focus)", "Input:outlineColor-Select--focus": "var(--xmlui-outlineColor-Select--focus)", "Input:outlineStyle-Select--focus": "var(--xmlui-outlineStyle-Select--focus)", "Input:outlineOffset-Select--focus": "var(--xmlui-outlineOffset-Select--focus)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "borderRadius-Select-badge": "var(--xmlui-borderRadius-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "textColor-item-Select--disabled": "var(--xmlui-textColor-item-Select--disabled)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)"}'`;
20277
+ const selectTrigger = "_selectTrigger_1v71t_17";
20278
+ const error$9 = "_error_1v71t_54";
20279
+ const warning$a = "_warning_1v71t_80";
20280
+ const valid$9 = "_valid_1v71t_106";
20281
+ const disabled$7 = "_disabled_1v71t_132";
20282
+ const focused$1 = "_focused_1v71t_139";
20283
+ const placeholder$1 = "_placeholder_1v71t_145";
20284
+ const actions$1 = "_actions_1v71t_162";
20285
+ const action$1 = "_action_1v71t_162";
20286
+ const emptyList = "_emptyList_1v71t_173";
20287
+ const badgeListContainer = "_badgeListContainer_1v71t_185";
20288
+ const badgeList$1 = "_badgeList_1v71t_185";
20289
+ const inputWrapper$1 = "_inputWrapper_1v71t_198";
20290
+ const badge$1 = "_badge_1v71t_185";
20291
+ const selectContent = "_selectContent_1v71t_233";
20292
+ const command$1 = "_command_1v71t_241";
20293
+ const commandInputContainer = "_commandInputContainer_1v71t_246";
20294
+ const commandInput$1 = "_commandInput_1v71t_246";
20295
+ const commandList$1 = "_commandList_1v71t_265";
20296
+ const multiSelectOption = "_multiSelectOption_1v71t_272";
20297
+ const multiSelectOptionContent = "_multiSelectOptionContent_1v71t_286";
20298
+ const highlighted$1 = "_highlighted_1v71t_295";
20299
+ const disabledOption$1 = "_disabledOption_1v71t_301";
20300
+ const selectValue = "_selectValue_1v71t_316";
20301
+ const selectDropdownContent = "_selectDropdownContent_1v71t_331";
20302
+ const fadeIn = "_fadeIn_1v71t_1";
20303
+ const zoomIn = "_zoomIn_1v71t_1";
20304
+ const fadeOut = "_fadeOut_1v71t_1";
20305
+ const zoomOut = "_zoomOut_1v71t_1";
20306
+ const slideInFromTop = "_slideInFromTop_1v71t_1";
20307
+ const slideInFromRight = "_slideInFromRight_1v71t_1";
20308
+ const slideInFromLeft = "_slideInFromLeft_1v71t_1";
20309
+ const slideInFromBottom = "_slideInFromBottom_1v71t_1";
20310
+ const selectViewport = "_selectViewport_1v71t_364";
20311
+ const selectScrollUpButton = "_selectScrollUpButton_1v71t_368";
20312
+ const selectScrollDownButton = "_selectScrollDownButton_1v71t_376";
20313
+ const selectEmpty = "_selectEmpty_1v71t_384";
20314
+ const selectOption = "_selectOption_1v71t_397";
20315
+ const selectOptionContent = "_selectOptionContent_1v71t_420";
20316
+ const selectOptionIndicator = "_selectOptionIndicator_1v71t_434";
20317
+ const loading = "_loading_1v71t_444";
20318
+ const srOnly = "_srOnly_1v71t_447";
20288
20319
  const styles$J = {
20289
20320
  themeVars: themeVars$o,
20290
- selectValue,
20321
+ selectTrigger,
20291
20322
  error: error$9,
20292
20323
  warning: warning$a,
20293
20324
  valid: valid$9,
20294
- selectTrigger,
20325
+ disabled: disabled$7,
20326
+ focused: focused$1,
20327
+ placeholder: placeholder$1,
20328
+ actions: actions$1,
20329
+ action: action$1,
20330
+ emptyList,
20295
20331
  badgeListContainer,
20296
20332
  badgeList: badgeList$1,
20333
+ inputWrapper: inputWrapper$1,
20297
20334
  badge: badge$1,
20298
- actions: actions$1,
20299
- placeholder: placeholder$1,
20300
- emptyList,
20301
- selectScrollUpButton,
20302
- selectScrollDownButton,
20335
+ selectContent,
20303
20336
  command: command$1,
20304
20337
  commandInputContainer,
20305
20338
  commandInput: commandInput$1,
20306
20339
  commandList: commandList$1,
20307
- selectContent,
20340
+ multiSelectOption,
20341
+ multiSelectOptionContent,
20342
+ highlighted: highlighted$1,
20343
+ disabledOption: disabledOption$1,
20344
+ selectValue,
20345
+ selectDropdownContent,
20308
20346
  fadeIn,
20309
20347
  zoomIn,
20310
20348
  fadeOut,
@@ -20313,20 +20351,67 @@ const styles$J = {
20313
20351
  slideInFromRight,
20314
20352
  slideInFromLeft,
20315
20353
  slideInFromBottom,
20316
- multiComboboxOption,
20317
- multiComboboxOptionContent,
20318
- selectItem,
20319
- selectItemContent,
20320
- selectItemIndicator,
20321
20354
  selectViewport,
20355
+ selectScrollUpButton,
20356
+ selectScrollDownButton,
20322
20357
  selectEmpty,
20358
+ selectOption,
20359
+ selectOptionContent,
20360
+ selectOptionIndicator,
20323
20361
  loading,
20324
20362
  srOnly
20325
20363
  };
20326
- const SelectContext = createContext(null);
20327
- function useSelect() {
20328
- return useContext(SelectContext);
20329
- }
20364
+ const SelectOption = forwardRef(
20365
+ function SelectOption2(option, ref) {
20366
+ const visibleContentRef = useRef(null);
20367
+ const { value, label: label2, enabled: enabled2 = true, children, className } = option;
20368
+ const { value: selectedValue, optionRenderer } = useSelect();
20369
+ const { onOptionRemove, onOptionAdd } = useOption();
20370
+ const opt = useMemo(() => {
20371
+ return {
20372
+ ...option,
20373
+ label: label2 ?? "",
20374
+ keywords: [label2 ?? ""]
20375
+ };
20376
+ }, [option, label2]);
20377
+ useEffect(() => {
20378
+ onOptionAdd(opt);
20379
+ return () => onOptionRemove(opt);
20380
+ }, [opt, onOptionAdd, onOptionRemove]);
20381
+ return /* @__PURE__ */ jsxs(
20382
+ Item$1,
20383
+ {
20384
+ ref,
20385
+ className: classnames(className, styles$J.selectOption),
20386
+ value,
20387
+ textValue: label2,
20388
+ disabled: !enabled2,
20389
+ onClick: (event) => {
20390
+ event.stopPropagation();
20391
+ },
20392
+ "data-state": selectedValue === value && "checked",
20393
+ children: [
20394
+ /* @__PURE__ */ jsx("span", { style: { display: "none" }, children: /* @__PURE__ */ jsx(ItemText, { children: label2 }) }),
20395
+ children ? /* @__PURE__ */ jsxs(Fragment, { children: [
20396
+ /* @__PURE__ */ jsx("div", { className: styles$J.selectOptionContent, ref: visibleContentRef, children }),
20397
+ selectedValue === value && /* @__PURE__ */ jsx(ItemIndicator, { className: styles$J.selectOptionIndicator, children: /* @__PURE__ */ jsx(Icon, { name: "checkmark" }) })
20398
+ ] }) : optionRenderer ? /* @__PURE__ */ jsx("div", { className: styles$J.selectOptionContent, ref: visibleContentRef, children: optionRenderer(
20399
+ {
20400
+ label: label2,
20401
+ value,
20402
+ enabled: enabled2
20403
+ },
20404
+ selectedValue,
20405
+ false
20406
+ ) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
20407
+ /* @__PURE__ */ jsx("div", { className: styles$J.selectOptionContent, ref: visibleContentRef, children: label2 }),
20408
+ selectedValue === value && /* @__PURE__ */ jsx(ItemIndicator, { className: styles$J.selectItemIndicator, children: /* @__PURE__ */ jsx(Icon, { name: "checkmark" }) })
20409
+ ] })
20410
+ ]
20411
+ }
20412
+ );
20413
+ }
20414
+ );
20330
20415
  const OptionTypeContext = React__default.createContext(null);
20331
20416
  function useOptionType() {
20332
20417
  return React__default.useContext(OptionTypeContext);
@@ -20337,15 +20422,6 @@ function OptionTypeProvider({
20337
20422
  }) {
20338
20423
  return /* @__PURE__ */ jsx(OptionTypeContext.Provider, { value: Component, children });
20339
20424
  }
20340
- const OptionContext = createContext({
20341
- onOptionAdd: () => {
20342
- },
20343
- onOptionRemove: () => {
20344
- }
20345
- });
20346
- function useOption() {
20347
- return useContext(OptionContext);
20348
- }
20349
20425
  function HiddenOption(option) {
20350
20426
  const { label: label2 } = option;
20351
20427
  const { onOptionRemove, onOptionAdd } = useOption();
@@ -20364,18 +20440,6 @@ function HiddenOption(option) {
20364
20440
  }, [opt, onOptionAdd, onOptionRemove]);
20365
20441
  return /* @__PURE__ */ jsx("div", { ref: (el) => setNode(el), style: { display: "none" }, children: option.children });
20366
20442
  }
20367
- const defaultProps$F = {
20368
- enabled: true,
20369
- placeholder: "",
20370
- autoFocus: false,
20371
- searchable: false,
20372
- multiSelect: false,
20373
- required: false,
20374
- inProgress: false,
20375
- inProgressNotificationMessage: "",
20376
- readOnly: false,
20377
- validationStatus: "none"
20378
- };
20379
20443
  const SimpleSelect = forwardRef(
20380
20444
  function SimpleSelect2(props, forwardedRef) {
20381
20445
  const { root: root2 } = useTheme();
@@ -20441,25 +20505,24 @@ const SimpleSelect = forwardRef(
20441
20505
  "div",
20442
20506
  {
20443
20507
  className: classnames(styles$J.selectValue, {
20444
- [styles$J.selectValue]: value !== void 0,
20445
20508
  [styles$J.placeholder]: value === void 0
20446
20509
  }),
20447
20510
  children: selectedOption ? selectedOption.label : readOnly2 ? "" : placeholder2
20448
20511
  }
20449
20512
  ),
20450
- /* @__PURE__ */ jsx(Icon$1, { asChild: true, children: /* @__PURE__ */ jsx(Icon, { name: "chevrondown" }) })
20513
+ /* @__PURE__ */ jsx("span", { className: styles$J.action, children: /* @__PURE__ */ jsx(Icon, { name: "chevrondown" }) })
20451
20514
  ]
20452
20515
  }
20453
20516
  ),
20454
- /* @__PURE__ */ jsx(Portal$1, { container: root2, children: /* @__PURE__ */ jsxs(
20517
+ /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsxs(
20455
20518
  Content,
20456
20519
  {
20457
- className: styles$J.selectContent,
20520
+ className: styles$J.selectDropdownContent,
20458
20521
  position: "popper",
20459
20522
  style: { maxHeight: height, minWidth: width },
20460
20523
  children: [
20461
20524
  /* @__PURE__ */ jsx(ScrollUpButton, { className: styles$J.selectScrollUpButton, children: /* @__PURE__ */ jsx(Icon, { name: "chevronup" }) }),
20462
- /* @__PURE__ */ jsxs(SelectViewport, { className: styles$J.selectViewport, role: "listbox", children: [
20525
+ /* @__PURE__ */ jsxs(Viewport, { className: styles$J.selectViewport, role: "listbox", children: [
20463
20526
  children,
20464
20527
  optionsArray.length === 0 && emptyListNode
20465
20528
  ] }),
@@ -20470,6 +20533,148 @@ const SimpleSelect = forwardRef(
20470
20533
  ] });
20471
20534
  }
20472
20535
  );
20536
+ const MultiSelectOption = forwardRef(function MultiSelectOption2(option, forwardedRef) {
20537
+ const id = useId();
20538
+ const {
20539
+ label: label2,
20540
+ value,
20541
+ enabled: enabled2 = true,
20542
+ keywords,
20543
+ readOnly: readOnly2,
20544
+ children,
20545
+ isHighlighted = false,
20546
+ itemIndex
20547
+ } = option;
20548
+ const {
20549
+ value: selectedValue,
20550
+ onChange,
20551
+ multiSelect,
20552
+ setOpen,
20553
+ setSelectedIndex,
20554
+ optionRenderer
20555
+ } = useSelect();
20556
+ const selected2 = useMemo(() => {
20557
+ return Array.isArray(selectedValue) && multiSelect ? selectedValue.map((v) => String(v)).includes(value) : String(selectedValue) === String(value);
20558
+ }, [selectedValue, value, multiSelect]);
20559
+ const handleClick = () => {
20560
+ if (readOnly2) {
20561
+ setOpen(false);
20562
+ return;
20563
+ }
20564
+ if (enabled2) {
20565
+ onChange(value);
20566
+ }
20567
+ };
20568
+ return /* @__PURE__ */ jsx(
20569
+ "div",
20570
+ {
20571
+ id,
20572
+ ref: forwardedRef,
20573
+ role: "option",
20574
+ "aria-disabled": !enabled2,
20575
+ "aria-selected": selected2,
20576
+ className: classnames(styles$J.multiSelectOption, {
20577
+ [styles$J.disabledOption]: !enabled2,
20578
+ [styles$J.highlighted]: isHighlighted
20579
+ }),
20580
+ onMouseDown: (e) => {
20581
+ e.preventDefault();
20582
+ e.stopPropagation();
20583
+ },
20584
+ onMouseEnter: () => {
20585
+ if (itemIndex !== void 0 && setSelectedIndex && enabled2) {
20586
+ setSelectedIndex(itemIndex);
20587
+ }
20588
+ },
20589
+ onClick: handleClick,
20590
+ "data-state": selected2 ? "checked" : void 0,
20591
+ children: /* @__PURE__ */ jsx("div", { className: styles$J.multiSelectOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }, selectedValue, false) : /* @__PURE__ */ jsxs(Fragment, { children: [
20592
+ children || label2,
20593
+ selected2 && /* @__PURE__ */ jsx(Icon, { name: "checkmark" })
20594
+ ] }) })
20595
+ }
20596
+ );
20597
+ });
20598
+ const defaultProps$F = {
20599
+ enabled: true,
20600
+ placeholder: "",
20601
+ autoFocus: false,
20602
+ searchable: false,
20603
+ multiSelect: false,
20604
+ required: false,
20605
+ inProgress: false,
20606
+ inProgressNotificationMessage: "",
20607
+ readOnly: false,
20608
+ validationStatus: "none"
20609
+ };
20610
+ const SelectTriggerValue = ({
20611
+ value,
20612
+ placeholder: placeholder2,
20613
+ readOnly: readOnly2,
20614
+ multiSelect,
20615
+ options: options2,
20616
+ valueRenderer,
20617
+ toggleOption
20618
+ }) => {
20619
+ if (multiSelect) {
20620
+ if (Array.isArray(value) && value.length > 0) {
20621
+ return /* @__PURE__ */ jsx("div", { className: styles$J.badgeListContainer, children: /* @__PURE__ */ jsx("div", { className: styles$J.badgeList, children: value.map(
20622
+ (v) => {
20623
+ var _a2;
20624
+ return valueRenderer ? valueRenderer(
20625
+ Array.from(options2).find((o) => o.value === `${v}`),
20626
+ () => {
20627
+ toggleOption(v);
20628
+ }
20629
+ ) : /* @__PURE__ */ jsxs("span", { className: styles$J.badge, children: [
20630
+ (_a2 = Array.from(options2).find((o) => o.value === `${v}`)) == null ? void 0 : _a2.label,
20631
+ /* @__PURE__ */ jsx(
20632
+ Icon,
20633
+ {
20634
+ name: "close",
20635
+ size: "sm",
20636
+ onClick: (event) => {
20637
+ event.stopPropagation();
20638
+ toggleOption(v);
20639
+ }
20640
+ }
20641
+ )
20642
+ ] }, v);
20643
+ }
20644
+ ) }) });
20645
+ }
20646
+ return /* @__PURE__ */ jsx("span", { placeholder: placeholder2, className: styles$J.placeholder, children: placeholder2 });
20647
+ }
20648
+ if (value !== void 0 && value !== null && value !== "") {
20649
+ const selectedOption = Array.from(options2).find((o) => o.value === value);
20650
+ return /* @__PURE__ */ jsx("div", { className: styles$J.selectValue, children: selectedOption == null ? void 0 : selectedOption.label });
20651
+ }
20652
+ return /* @__PURE__ */ jsx("div", { "aria-placeholder": placeholder2, className: styles$J.placeholder, children: readOnly2 ? "" : placeholder2 || "" });
20653
+ };
20654
+ const SelectTriggerActions = ({
20655
+ value,
20656
+ multiSelect,
20657
+ enabled: enabled2,
20658
+ readOnly: readOnly2,
20659
+ clearValue,
20660
+ showChevron = true
20661
+ }) => {
20662
+ const hasValue = multiSelect ? Array.isArray(value) && value.length > 0 : value !== void 0 && value !== null && value !== "";
20663
+ return /* @__PURE__ */ jsxs("div", { className: styles$J.actions, children: [
20664
+ hasValue && enabled2 && !readOnly2 && /* @__PURE__ */ jsx(
20665
+ "span",
20666
+ {
20667
+ className: styles$J.action,
20668
+ onClick: (event) => {
20669
+ event.stopPropagation();
20670
+ clearValue();
20671
+ },
20672
+ children: /* @__PURE__ */ jsx(Icon, { name: "close" })
20673
+ }
20674
+ ),
20675
+ showChevron && /* @__PURE__ */ jsx("span", { className: styles$J.action, children: /* @__PURE__ */ jsx(Icon, { name: "chevrondown" }) })
20676
+ ] });
20677
+ };
20473
20678
  const Select = forwardRef(function Select2({
20474
20679
  // Basic props
20475
20680
  id,
@@ -20505,7 +20710,6 @@ const Select = forwardRef(function Select2({
20505
20710
  children,
20506
20711
  ...rest
20507
20712
  }, forwardedRef) {
20508
- var _a2;
20509
20713
  const [referenceElement, setReferenceElement] = useState(null);
20510
20714
  const [open, setOpen] = useState(false);
20511
20715
  const [width, setWidth] = useState(0);
@@ -20513,22 +20717,40 @@ const Select = forwardRef(function Select2({
20513
20717
  const { root: root2 } = useTheme();
20514
20718
  const [options2, setOptions] = useState(/* @__PURE__ */ new Set());
20515
20719
  const isInForm = useIsInsideForm();
20720
+ const [searchTerm, setSearchTerm] = useState("");
20721
+ const [selectedIndex, setSelectedIndex] = useState(-1);
20722
+ const filteredOptions = useMemo(() => {
20723
+ if (!searchTerm || searchTerm.trim() === "") {
20724
+ return Array.from(options2);
20725
+ }
20726
+ const searchLower = searchTerm.toLowerCase();
20727
+ return Array.from(options2).filter((option) => {
20728
+ const extendedValue = option.value + " " + option.label + " " + (option.keywords || []).join(" ");
20729
+ return extendedValue.toLowerCase().includes(searchLower);
20730
+ });
20731
+ }, [options2, searchTerm]);
20732
+ useEffect(() => {
20733
+ if (!open) {
20734
+ setSelectedIndex(-1);
20735
+ setSearchTerm("");
20736
+ }
20737
+ }, [open]);
20516
20738
  useEffect(() => {
20517
20739
  if (initialValue !== void 0) {
20518
20740
  updateState({ value: initialValue }, { initial: true });
20519
20741
  }
20520
20742
  }, [initialValue, updateState]);
20521
20743
  useEffect(() => {
20522
- var _a3;
20744
+ var _a2;
20523
20745
  const current = referenceElement;
20524
- (_a3 = observer.current) == null ? void 0 : _a3.disconnect();
20746
+ (_a2 = observer.current) == null ? void 0 : _a2.disconnect();
20525
20747
  if (current) {
20526
20748
  observer.current = new ResizeObserver(() => setWidth(current.clientWidth));
20527
20749
  observer.current.observe(current);
20528
20750
  }
20529
20751
  return () => {
20530
- var _a4;
20531
- (_a4 = observer.current) == null ? void 0 : _a4.disconnect();
20752
+ var _a3;
20753
+ (_a3 = observer.current) == null ? void 0 : _a3.disconnect();
20532
20754
  };
20533
20755
  }, [referenceElement]);
20534
20756
  const toggleOption = useCallback(
@@ -20547,6 +20769,84 @@ const Select = forwardRef(function Select2({
20547
20769
  updateState({ value: newValue });
20548
20770
  onDidChange(newValue);
20549
20771
  }, [multiSelect, updateState, onDidChange]);
20772
+ const findNextEnabledIndex = useCallback(
20773
+ (currentIndex) => {
20774
+ for (let i = currentIndex + 1; i < filteredOptions.length; i++) {
20775
+ const item2 = filteredOptions[i];
20776
+ if (item2.enabled !== false) {
20777
+ return i;
20778
+ }
20779
+ }
20780
+ for (let i = 0; i <= currentIndex; i++) {
20781
+ const item2 = filteredOptions[i];
20782
+ if (item2.enabled !== false) {
20783
+ return i;
20784
+ }
20785
+ }
20786
+ return -1;
20787
+ },
20788
+ [filteredOptions]
20789
+ );
20790
+ const findPreviousEnabledIndex = useCallback(
20791
+ (currentIndex) => {
20792
+ for (let i = currentIndex - 1; i >= 0; i--) {
20793
+ const item2 = filteredOptions[i];
20794
+ if (item2.enabled !== false) {
20795
+ return i;
20796
+ }
20797
+ }
20798
+ for (let i = filteredOptions.length - 1; i >= currentIndex; i--) {
20799
+ const item2 = filteredOptions[i];
20800
+ if (item2.enabled !== false) {
20801
+ return i;
20802
+ }
20803
+ }
20804
+ return -1;
20805
+ },
20806
+ [filteredOptions]
20807
+ );
20808
+ const handleKeyDown = useCallback(
20809
+ (event) => {
20810
+ if (!open) return;
20811
+ switch (event.key) {
20812
+ case "ArrowDown":
20813
+ event.preventDefault();
20814
+ setSelectedIndex((prev) => {
20815
+ const nextIndex = findNextEnabledIndex(prev);
20816
+ return nextIndex !== -1 ? nextIndex : prev;
20817
+ });
20818
+ break;
20819
+ case "ArrowUp":
20820
+ event.preventDefault();
20821
+ setSelectedIndex((prev) => {
20822
+ const prevIndex = findPreviousEnabledIndex(prev);
20823
+ return prevIndex !== -1 ? prevIndex : prev;
20824
+ });
20825
+ break;
20826
+ case "Enter":
20827
+ event.preventDefault();
20828
+ if (selectedIndex >= 0 && selectedIndex < filteredOptions.length) {
20829
+ const selectedItem = filteredOptions[selectedIndex];
20830
+ if (selectedItem.enabled !== false) {
20831
+ toggleOption(selectedItem.value);
20832
+ }
20833
+ }
20834
+ break;
20835
+ case "Escape":
20836
+ event.preventDefault();
20837
+ setOpen(false);
20838
+ break;
20839
+ }
20840
+ },
20841
+ [
20842
+ open,
20843
+ selectedIndex,
20844
+ filteredOptions,
20845
+ toggleOption,
20846
+ findNextEnabledIndex,
20847
+ findPreviousEnabledIndex
20848
+ ]
20849
+ );
20550
20850
  const focus = useCallback(() => {
20551
20851
  referenceElement == null ? void 0 : referenceElement.focus();
20552
20852
  }, [referenceElement]);
@@ -20598,14 +20898,15 @@ const Select = forwardRef(function Select2({
20598
20898
  value,
20599
20899
  onChange: toggleOption,
20600
20900
  setOpen,
20901
+ setSelectedIndex,
20601
20902
  options: options2,
20602
20903
  optionRenderer
20603
20904
  }),
20604
- [multiSelect, toggleOption, value, options2]
20905
+ [multiSelect, toggleOption, value, options2, optionRenderer]
20605
20906
  );
20606
20907
  return /* @__PURE__ */ jsx(SelectContext.Provider, { value: selectContextValue, children: /* @__PURE__ */ jsx(OptionContext.Provider, { value: optionContextValue, children: searchable || multiSelect ? /* @__PURE__ */ jsxs(OptionTypeProvider, { Component: HiddenOption, children: [
20607
20908
  /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, modal: false, children: [
20608
- /* @__PURE__ */ jsx(
20909
+ /* @__PURE__ */ jsxs(
20609
20910
  PopoverTrigger,
20610
20911
  {
20611
20912
  ...rest,
@@ -20631,96 +20932,71 @@ const Select = forwardRef(function Select2({
20631
20932
  className
20632
20933
  ),
20633
20934
  autoFocus,
20634
- children: /* @__PURE__ */ jsxs(Fragment, { children: [
20635
- multiSelect ? Array.isArray(value) && value.length > 0 ? /* @__PURE__ */ jsx("div", { className: styles$J.badgeListContainer, children: /* @__PURE__ */ jsx("div", { className: styles$J.badgeList, children: value.map(
20636
- (v) => {
20637
- var _a3;
20638
- return valueRenderer ? valueRenderer(
20639
- Array.from(options2).find((o) => o.value === `${v}`),
20640
- () => {
20641
- toggleOption(v);
20642
- }
20643
- ) : /* @__PURE__ */ jsxs("span", { className: styles$J.badge, children: [
20644
- (_a3 = Array.from(options2).find((o) => o.value === `${v}`)) == null ? void 0 : _a3.label,
20645
- /* @__PURE__ */ jsx(
20646
- Icon,
20647
- {
20648
- name: "close",
20649
- size: "sm",
20650
- onClick: (event) => {
20651
- event.stopPropagation();
20652
- toggleOption(v);
20653
- }
20654
- }
20655
- )
20656
- ] }, v);
20935
+ children: [
20936
+ /* @__PURE__ */ jsx(
20937
+ SelectTriggerValue,
20938
+ {
20939
+ value,
20940
+ placeholder: placeholder2,
20941
+ readOnly: readOnly2,
20942
+ multiSelect,
20943
+ options: options2,
20944
+ valueRenderer,
20945
+ toggleOption
20657
20946
  }
20658
- ) }) }) : /* @__PURE__ */ jsx("span", { placeholder: placeholder2, className: styles$J.placeholder, children: placeholder2 }) : value !== void 0 && value !== null ? /* @__PURE__ */ jsx("div", { children: (_a2 = Array.from(options2).find((o) => o.value === value)) == null ? void 0 : _a2.label }) : /* @__PURE__ */ jsx("span", { "aria-placeholder": placeholder2, className: styles$J.placeholder, children: placeholder2 || "" }),
20659
- /* @__PURE__ */ jsxs("div", { className: styles$J.actions, children: [
20660
- multiSelect && Array.isArray(value) && value.length > 0 && /* @__PURE__ */ jsx(
20661
- Icon,
20662
- {
20663
- name: "close",
20664
- onClick: (event) => {
20665
- event.stopPropagation();
20666
- clearValue();
20667
- }
20668
- }
20669
- ),
20670
- /* @__PURE__ */ jsx(Icon, { name: "chevrondown" })
20671
- ] })
20672
- ] })
20947
+ ),
20948
+ /* @__PURE__ */ jsx(
20949
+ SelectTriggerActions,
20950
+ {
20951
+ value,
20952
+ multiSelect,
20953
+ enabled: enabled2,
20954
+ readOnly: readOnly2,
20955
+ clearValue
20956
+ }
20957
+ )
20958
+ ]
20673
20959
  }
20674
20960
  ),
20675
- open && /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(FocusScope, { asChild: true, loop: true, trapped: true, children: /* @__PURE__ */ jsx(
20961
+ open && /* @__PURE__ */ jsx(Portal$1, { container: root2, children: /* @__PURE__ */ jsx(FocusScope, { asChild: true, loop: true, trapped: true, children: /* @__PURE__ */ jsx(
20676
20962
  PopoverContent,
20677
20963
  {
20678
20964
  style: { minWidth: width, height: dropdownHeight },
20679
20965
  className: styles$J.selectContent,
20680
- children: /* @__PURE__ */ jsxs(
20681
- Command,
20682
- {
20683
- className: styles$J.command,
20684
- shouldFilter: searchable,
20685
- filter: (_, search, keywords) => {
20686
- const lowSearch = search.toLowerCase();
20687
- for (const kw of keywords) {
20688
- if (kw.toLowerCase().includes(lowSearch)) return 1;
20966
+ onKeyDown: handleKeyDown,
20967
+ children: /* @__PURE__ */ jsxs("div", { className: styles$J.command, children: [
20968
+ searchable ? /* @__PURE__ */ jsxs("div", { className: styles$J.commandInputContainer, children: [
20969
+ /* @__PURE__ */ jsx(Icon, { name: "search" }),
20970
+ /* @__PURE__ */ jsx(
20971
+ "input",
20972
+ {
20973
+ role: "combobox",
20974
+ className: classnames(styles$J.commandInput),
20975
+ placeholder: "Search...",
20976
+ value: searchTerm,
20977
+ onChange: (e) => setSearchTerm(e.target.value),
20978
+ autoFocus: true
20689
20979
  }
20690
- return 0;
20691
- },
20692
- children: [
20693
- searchable ? /* @__PURE__ */ jsxs("div", { className: styles$J.commandInputContainer, children: [
20694
- /* @__PURE__ */ jsx(Icon, { name: "search" }),
20695
- /* @__PURE__ */ jsx(
20696
- CommandInput,
20697
- {
20698
- className: classnames(styles$J.commandInput),
20699
- placeholder: "Search..."
20700
- }
20701
- )
20702
- ] }) : (
20703
- // https://github.com/pacocoursey/cmdk/issues/322#issuecomment-2444703817
20704
- /* @__PURE__ */ jsx("button", { autoFocus: true, "aria-hidden": "true", className: styles$J.srOnly })
20705
- ),
20706
- /* @__PURE__ */ jsxs(CommandList, { className: styles$J.commandList, children: [
20707
- inProgress && /* @__PURE__ */ jsx("div", { className: styles$J.loading, children: inProgressNotificationMessage }),
20708
- Array.from(options2).map(({ value: value2, label: label2, enabled: enabled22, keywords }) => /* @__PURE__ */ jsx(
20709
- ComboboxOption,
20710
- {
20711
- readOnly: readOnly2,
20712
- value: value2,
20713
- label: label2,
20714
- enabled: enabled22,
20715
- keywords
20716
- },
20717
- value2
20718
- )),
20719
- !inProgress && /* @__PURE__ */ jsx(CommandEmpty, { children: emptyListNode })
20720
- ] })
20721
- ]
20722
- }
20723
- )
20980
+ )
20981
+ ] }) : /* @__PURE__ */ jsx("button", { autoFocus: true, "aria-hidden": "true", className: styles$J.srOnly }),
20982
+ /* @__PURE__ */ jsxs("div", { role: "listbox", className: styles$J.commandList, children: [
20983
+ inProgress && /* @__PURE__ */ jsx("div", { className: styles$J.loading, children: inProgressNotificationMessage }),
20984
+ filteredOptions.map(({ value: value2, label: label2, enabled: enabled22, keywords }, index) => /* @__PURE__ */ jsx(
20985
+ MultiSelectOption,
20986
+ {
20987
+ readOnly: readOnly2,
20988
+ value: value2,
20989
+ label: label2,
20990
+ enabled: enabled22,
20991
+ keywords,
20992
+ isHighlighted: selectedIndex === index,
20993
+ itemIndex: index
20994
+ },
20995
+ value2
20996
+ )),
20997
+ !inProgress && filteredOptions.length === 0 && /* @__PURE__ */ jsx("div", { children: emptyListNode })
20998
+ ] })
20999
+ ] })
20724
21000
  }
20725
21001
  ) }) })
20726
21002
  ] }),
@@ -20751,104 +21027,6 @@ const Select = forwardRef(function Select2({
20751
21027
  children
20752
21028
  ) }) }) });
20753
21029
  });
20754
- const ComboboxOption = forwardRef(function Combobox(option, forwardedRef) {
20755
- const id = useId();
20756
- const { label: label2, value, enabled: enabled2 = true, keywords, readOnly: readOnly2, children } = option;
20757
- const { value: selectedValue, onChange, multiSelect, setOpen, optionRenderer } = useSelect();
20758
- const selected2 = useMemo(() => {
20759
- return Array.isArray(selectedValue) && multiSelect ? selectedValue.map((v) => String(v)).includes(value) : String(selectedValue) === String(value);
20760
- }, [selectedValue, value, multiSelect]);
20761
- return /* @__PURE__ */ jsx(
20762
- CommandItem,
20763
- {
20764
- id,
20765
- ref: forwardedRef,
20766
- disabled: !enabled2,
20767
- value,
20768
- className: styles$J.multiComboboxOption,
20769
- onSelect: () => {
20770
- if (readOnly2) {
20771
- setOpen(false);
20772
- return;
20773
- }
20774
- onChange(value);
20775
- },
20776
- onClick: (event) => {
20777
- event.stopPropagation();
20778
- },
20779
- "data-state": selected2 ? "checked" : void 0,
20780
- keywords: [...keywords, label2],
20781
- children: /* @__PURE__ */ jsx("div", { className: styles$J.multiComboboxOptionContent, children: optionRenderer ? optionRenderer({ label: label2, value, enabled: enabled2, keywords }, selectedValue, false) : /* @__PURE__ */ jsxs(Fragment, { children: [
20782
- children || label2,
20783
- selected2 && /* @__PURE__ */ jsx(Icon, { name: "checkmark" })
20784
- ] }) })
20785
- },
20786
- id
20787
- );
20788
- });
20789
- const SelectOption = React__default.forwardRef(
20790
- (option, ref) => {
20791
- var _a2;
20792
- const visibleContentRef = useRef(null);
20793
- const { value, label: label2, enabled: enabled2 = true, children, className } = option;
20794
- const { value: selectedValue, optionRenderer } = useSelect();
20795
- const { onOptionRemove, onOptionAdd } = useOption();
20796
- const opt = useMemo(() => {
20797
- var _a3, _b;
20798
- return {
20799
- ...option,
20800
- label: label2 ?? ((_a3 = visibleContentRef.current) == null ? void 0 : _a3.textContent) ?? "",
20801
- keywords: [label2 ?? ((_b = visibleContentRef.current) == null ? void 0 : _b.textContent) ?? ""]
20802
- // Store the rendered ReactNode for dropdown display
20803
- };
20804
- }, [option, label2, visibleContentRef.current]);
20805
- useEffect(() => {
20806
- onOptionAdd(opt);
20807
- return () => onOptionRemove(opt);
20808
- }, [opt, onOptionAdd, onOptionRemove]);
20809
- return /* @__PURE__ */ jsxs(
20810
- Item$1,
20811
- {
20812
- ref,
20813
- className: classnames(styles$J.selectItem, className),
20814
- value,
20815
- textValue: label2 || ((_a2 = visibleContentRef.current) == null ? void 0 : _a2.textContent),
20816
- disabled: !enabled2,
20817
- onClick: (event) => {
20818
- event.stopPropagation();
20819
- },
20820
- onMouseEnter: (event) => {
20821
- const target2 = event.currentTarget;
20822
- target2.setAttribute("data-highlighted", "");
20823
- },
20824
- onMouseLeave: (event) => {
20825
- const target2 = event.currentTarget;
20826
- target2.removeAttribute("data-highlighted");
20827
- },
20828
- "data-state": selectedValue === value && "checked",
20829
- children: [
20830
- /* @__PURE__ */ jsx("span", { style: { display: "none" }, children: /* @__PURE__ */ jsx(ItemText, { children: label2 }) }),
20831
- children ? /* @__PURE__ */ jsxs(Fragment, { children: [
20832
- /* @__PURE__ */ jsx("div", { className: styles$J.selectItemContent, ref: visibleContentRef, children }),
20833
- selectedValue === value && /* @__PURE__ */ jsx(ItemIndicator, { className: styles$J.selectItemIndicator, children: /* @__PURE__ */ jsx(Icon, { name: "checkmark" }) })
20834
- ] }) : optionRenderer ? /* @__PURE__ */ jsx("div", { className: styles$J.selectItemContent, ref: visibleContentRef, children: optionRenderer(
20835
- {
20836
- label: label2,
20837
- value,
20838
- enabled: enabled2
20839
- },
20840
- selectedValue,
20841
- false
20842
- ) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
20843
- /* @__PURE__ */ jsx("div", { className: styles$J.selectItemContent, ref: visibleContentRef, children: label2 }),
20844
- selectedValue === value && /* @__PURE__ */ jsx(ItemIndicator, { className: styles$J.selectItemIndicator, children: /* @__PURE__ */ jsx(Icon, { name: "checkmark" }) })
20845
- ] })
20846
- ]
20847
- }
20848
- );
20849
- }
20850
- );
20851
- SelectOption.displayName = "SelectOption";
20852
21030
  const themeVars$n = `'{"gap-RadioGroupOption": "var(--xmlui-gap-RadioGroupOption)", "borderWidth-RadioGroupOption": "var(--xmlui-borderWidth-RadioGroupOption)", "borderWidth-RadioGroupOption-validation": "var(--xmlui-borderWidth-RadioGroupOption-validation)", "Input:borderColor-RadioGroupOption-default": "var(--xmlui-borderColor-RadioGroupOption-default)", "Input:borderColor-checked-RadioGroupOption": "var(--xmlui-borderColor-checked-RadioGroupOption)", "Input:borderColor-RadioGroupOption-default--hover": "var(--xmlui-borderColor-RadioGroupOption-default--hover)", "Input:borderColor-RadioGroupOption-default--active": "var(--xmlui-borderColor-RadioGroupOption-default--active)", "Input:borderColor-RadioGroupOption--disabled": "var(--xmlui-borderColor-RadioGroupOption--disabled)", "Input:borderColor-RadioGroupOption-error": "var(--xmlui-borderColor-RadioGroupOption-error)", "Input:borderColor-RadioGroupOption-warning": "var(--xmlui-borderColor-RadioGroupOption-warning)", "Input:borderColor-RadioGroupOption-success": "var(--xmlui-borderColor-RadioGroupOption-success)", "Input:backgroundColor-RadioGroupOption-default": "var(--xmlui-backgroundColor-RadioGroupOption-default)", "Input:backgroundColor-checked-RadioGroupOption": "var(--xmlui-backgroundColor-checked-RadioGroupOption)", "Input:backgroundColor-checked-RadioGroupOption--disabled": "var(--xmlui-backgroundColor-checked-RadioGroupOption--disabled)", "Input:color-RadioGroupOption--disabled": "var(--xmlui-color-RadioGroupOption--disabled)", "Input:fontSize-RadioGroupOption": "var(--xmlui-fontSize-RadioGroupOption)", "Input:fontWeight-RadioGroupOption": "var(--xmlui-fontWeight-RadioGroupOption)", "Input:textColor-RadioGroupOption-default": "var(--xmlui-textColor-RadioGroupOption-default)", "Input:textColor-RadioGroupOption-error": "var(--xmlui-textColor-RadioGroupOption-error)", "Input:textColor-RadioGroupOption-warning": "var(--xmlui-textColor-RadioGroupOption-warning)", "Input:textColor-RadioGroupOption-success": "var(--xmlui-textColor-RadioGroupOption-success)", "Input:outlineWidth-RadioGroupOption--focus": "var(--xmlui-outlineWidth-RadioGroupOption--focus)", "Input:outlineColor-RadioGroupOption--focus": "var(--xmlui-outlineColor-RadioGroupOption--focus)", "Input:outlineStyle-RadioGroupOption--focus": "var(--xmlui-outlineStyle-RadioGroupOption--focus)", "Input:outlineOffset-RadioGroupOption--focus": "var(--xmlui-outlineOffset-RadioGroupOption--focus)"}'`;
20853
21031
  const radioGroupContainer = "_radioGroupContainer_fn2iu_14";
20854
21032
  const radioOptionContainer = "_radioOptionContainer_fn2iu_20";
@@ -21966,7 +22144,7 @@ const Form = forwardRef(function({
21966
22144
  ]);
21967
22145
  const doCancel = useEvent(() => {
21968
22146
  onCancel == null ? void 0 : onCancel();
21969
- requestModalFormClose();
22147
+ void requestModalFormClose();
21970
22148
  });
21971
22149
  const doSubmit = useEvent(async (event) => {
21972
22150
  var _a2;
@@ -21996,7 +22174,7 @@ const Form = forwardRef(function({
21996
22174
  dispatch(formSubmitted());
21997
22175
  await (onSuccess == null ? void 0 : onSuccess(result));
21998
22176
  if (!keepModalOpenOnSubmit) {
21999
- requestModalFormClose();
22177
+ void requestModalFormClose();
22000
22178
  }
22001
22179
  if (initialValue === EMPTY_OBJECT) {
22002
22180
  flushSync(() => {
@@ -22176,13 +22354,15 @@ const FormWithContextVar = forwardRef(function({
22176
22354
  const completedNotificationMessage = extractValue.asOptionalString(node.props.completedNotificationMessage) || "";
22177
22355
  const errorNotificationMessage = extractValue.asOptionalString(node.props.errorNotificationMessage) || "";
22178
22356
  const submitUrl = extractValue.asOptionalString(node.props.submitUrl) || extractValue.asOptionalString(node.props._data_url);
22357
+ const itemLabelWidth = extractValue.asOptionalString(node.props.itemLabelWidth);
22358
+ const { cssProps: itemLabelWidthCssProps } = resolveLayoutProps({ width: itemLabelWidth });
22179
22359
  return /* @__PURE__ */ jsx(Slot, { ref, style: style2, children: /* @__PURE__ */ jsx(
22180
22360
  Form,
22181
22361
  {
22182
22362
  keepModalOpenOnSubmit: extractValue.asOptionalBoolean(node.props.keepModalOpenOnSubmit),
22183
22363
  itemLabelPosition: extractValue.asOptionalString(node.props.itemLabelPosition),
22184
22364
  itemLabelBreak: extractValue.asOptionalBoolean(node.props.itemLabelBreak),
22185
- itemLabelWidth: extractValue.asOptionalString(node.props.itemLabelWidth),
22365
+ itemLabelWidth: itemLabelWidthCssProps.width,
22186
22366
  hideButtonRowUntilDirty: extractValue.asOptionalBoolean(node.props.hideButtonRowUntilDirty),
22187
22367
  formState,
22188
22368
  dispatch,
@@ -22222,24 +22402,25 @@ const FormWithContextVar = forwardRef(function({
22222
22402
  ) });
22223
22403
  });
22224
22404
  FormWithContextVar.displayName = "FormWithContextVar";
22225
- const themeVars$k = `'{"border-AutoComplete": "var(--xmlui-border-AutoComplete)", "borderHorizontal-AutoComplete": "var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete))", "borderVertical-AutoComplete": "var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete))", "borderLeft-AutoComplete": "var(--xmlui-borderLeft-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderRight-AutoComplete": "var(--xmlui-borderRight-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderTop-AutoComplete": "var(--xmlui-borderTop-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderBottom-AutoComplete": "var(--xmlui-borderBottom-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderWidth-AutoComplete": "var(--xmlui-borderWidth-AutoComplete)", "borderHorizontalWidth-AutoComplete": "var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderLeftWidth-AutoComplete": "var(--xmlui-borderLeftWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderRightWidth-AutoComplete": "var(--xmlui-borderRightWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderVerticalWidth-AutoComplete": "var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderTopWidth-AutoComplete": "var(--xmlui-borderTopWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderBottomWidth-AutoComplete": "var(--xmlui-borderBottomWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderStyle-AutoComplete": "var(--xmlui-borderStyle-AutoComplete)", "borderHorizontalStyle-AutoComplete": "var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderLeftStyle-AutoComplete": "var(--xmlui-borderLeftStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderRightStyle-AutoComplete": "var(--xmlui-borderRightStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderVerticalStyle-AutoComplete": "var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderTopStyle-AutoComplete": "var(--xmlui-borderTopStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderBottomStyle-AutoComplete": "var(--xmlui-borderBottomStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderColor-AutoComplete": "var(--xmlui-borderColor-AutoComplete)", "borderHorizontalColor-AutoComplete": "var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderLeftColor-AutoComplete": "var(--xmlui-borderLeftColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderRightColor-AutoComplete": "var(--xmlui-borderRightColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderVerticalColor-AutoComplete": "var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderTopColor-AutoComplete": "var(--xmlui-borderTopColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderBottomColor-AutoComplete": "var(--xmlui-borderBottomColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderStartStartRadius-AutoComplete": "var(--xmlui-borderStartStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderStartEndRadius-AutoComplete": "var(--xmlui-borderStartEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndStartRadius-AutoComplete": "var(--xmlui-borderEndStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndEndRadius-AutoComplete": "var(--xmlui-borderEndEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "padding-AutoComplete": "var(--xmlui-padding-AutoComplete)", "paddingHorizontal-AutoComplete": "var(--xmlui-paddingHorizontal-AutoComplete, var(--xmlui-padding-AutoComplete))", "paddingVertical-AutoComplete": "var(--xmlui-paddingVertical-AutoComplete, var(--xmlui-padding-AutoComplete))", "paddingLeft-AutoComplete": "var(--xmlui-paddingLeft-AutoComplete, var(--xmlui-paddingHorizontal-AutoComplete, var(--xmlui-padding-AutoComplete)))", "paddingRight-AutoComplete": "var(--xmlui-paddingRight-AutoComplete, var(--xmlui-paddingHorizontal-AutoComplete, var(--xmlui-padding-AutoComplete)))", "paddingTop-AutoComplete": "var(--xmlui-paddingTop-AutoComplete, var(--xmlui-paddingVertical-AutoComplete, var(--xmlui-padding-AutoComplete)))", "paddingBottom-AutoComplete": "var(--xmlui-paddingBottom-AutoComplete, var(--xmlui-paddingVertical-AutoComplete, var(--xmlui-padding-AutoComplete)))", "Input:borderRadius-AutoComplete-default": "var(--xmlui-borderRadius-AutoComplete-default)", "Input:borderColor-AutoComplete-default": "var(--xmlui-borderColor-AutoComplete-default)", "Input:borderWidth-AutoComplete-default": "var(--xmlui-borderWidth-AutoComplete-default)", "Input:borderStyle-AutoComplete-default": "var(--xmlui-borderStyle-AutoComplete-default)", "Input:fontSize-AutoComplete-default": "var(--xmlui-fontSize-AutoComplete-default)", "Input:backgroundColor-AutoComplete-default": "var(--xmlui-backgroundColor-AutoComplete-default)", "Input:boxShadow-AutoComplete-default": "var(--xmlui-boxShadow-AutoComplete-default)", "Input:textColor-AutoComplete-default": "var(--xmlui-textColor-AutoComplete-default)", "Input:borderColor-AutoComplete-default--hover": "var(--xmlui-borderColor-AutoComplete-default--hover)", "Input:backgroundColor-AutoComplete-default--hover": "var(--xmlui-backgroundColor-AutoComplete-default--hover)", "Input:boxShadow-AutoComplete-default--hover": "var(--xmlui-boxShadow-AutoComplete-default--hover)", "Input:textColor-AutoComplete-default--hover": "var(--xmlui-textColor-AutoComplete-default--hover)", "Input:textColor-placeholder-AutoComplete-default": "var(--xmlui-textColor-placeholder-AutoComplete-default)", "Input:fontSize-placeholder-AutoComplete-default": "var(--xmlui-fontSize-placeholder-AutoComplete-default)", "Input:borderRadius-AutoComplete-error": "var(--xmlui-borderRadius-AutoComplete-error)", "Input:borderColor-AutoComplete-error": "var(--xmlui-borderColor-AutoComplete-error)", "Input:borderWidth-AutoComplete-error": "var(--xmlui-borderWidth-AutoComplete-error)", "Input:borderStyle-AutoComplete-error": "var(--xmlui-borderStyle-AutoComplete-error)", "Input:fontSize-AutoComplete-error": "var(--xmlui-fontSize-AutoComplete-error)", "Input:backgroundColor-AutoComplete-error": "var(--xmlui-backgroundColor-AutoComplete-error)", "Input:boxShadow-AutoComplete-error": "var(--xmlui-boxShadow-AutoComplete-error)", "Input:textColor-AutoComplete-error": "var(--xmlui-textColor-AutoComplete-error)", "Input:borderColor-AutoComplete-error--hover": "var(--xmlui-borderColor-AutoComplete-error--hover)", "Input:backgroundColor-AutoComplete-error--hover": "var(--xmlui-backgroundColor-AutoComplete-error--hover)", "Input:boxShadow-AutoComplete-error--hover": "var(--xmlui-boxShadow-AutoComplete-error--hover)", "Input:textColor-AutoComplete-error--hover": "var(--xmlui-textColor-AutoComplete-error--hover)", "Input:textColor-placeholder-AutoComplete-error": "var(--xmlui-textColor-placeholder-AutoComplete-error)", "Input:fontSize-placeholder-AutoComplete-error": "var(--xmlui-fontSize-placeholder-AutoComplete-error)", "Input:borderRadius-AutoComplete-warning": "var(--xmlui-borderRadius-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning": "var(--xmlui-borderColor-AutoComplete-warning)", "Input:borderWidth-AutoComplete-warning": "var(--xmlui-borderWidth-AutoComplete-warning)", "Input:borderStyle-AutoComplete-warning": "var(--xmlui-borderStyle-AutoComplete-warning)", "Input:fontSize-AutoComplete-warning": "var(--xmlui-fontSize-AutoComplete-warning)", "Input:backgroundColor-AutoComplete-warning": "var(--xmlui-backgroundColor-AutoComplete-warning)", "Input:boxShadow-AutoComplete-warning": "var(--xmlui-boxShadow-AutoComplete-warning)", "Input:textColor-AutoComplete-warning": "var(--xmlui-textColor-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning--hover": "var(--xmlui-borderColor-AutoComplete-warning--hover)", "Input:backgroundColor-AutoComplete-warning--hover": "var(--xmlui-backgroundColor-AutoComplete-warning--hover)", "Input:boxShadow-AutoComplete-warning--hover": "var(--xmlui-boxShadow-AutoComplete-warning--hover)", "Input:textColor-AutoComplete-warning--hover": "var(--xmlui-textColor-AutoComplete-warning--hover)", "Input:textColor-placeholder-AutoComplete-warning": "var(--xmlui-textColor-placeholder-AutoComplete-warning)", "Input:fontSize-placeholder-AutoComplete-warning": "var(--xmlui-fontSize-placeholder-AutoComplete-warning)", "Input:borderRadius-AutoComplete-success": "var(--xmlui-borderRadius-AutoComplete-success)", "Input:borderColor-AutoComplete-success": "var(--xmlui-borderColor-AutoComplete-success)", "Input:borderWidth-AutoComplete-success": "var(--xmlui-borderWidth-AutoComplete-success)", "Input:borderStyle-AutoComplete-success": "var(--xmlui-borderStyle-AutoComplete-success)", "Input:fontSize-AutoComplete-success": "var(--xmlui-fontSize-AutoComplete-success)", "Input:backgroundColor-AutoComplete-success": "var(--xmlui-backgroundColor-AutoComplete-success)", "Input:boxShadow-AutoComplete-success": "var(--xmlui-boxShadow-AutoComplete-success)", "Input:textColor-AutoComplete-success": "var(--xmlui-textColor-AutoComplete-success)", "Input:borderColor-AutoComplete-success--hover": "var(--xmlui-borderColor-AutoComplete-success--hover)", "Input:backgroundColor-AutoComplete-success--hover": "var(--xmlui-backgroundColor-AutoComplete-success--hover)", "Input:boxShadow-AutoComplete-success--hover": "var(--xmlui-boxShadow-AutoComplete-success--hover)", "Input:textColor-AutoComplete-success--hover": "var(--xmlui-textColor-AutoComplete-success--hover)", "Input:textColor-placeholder-AutoComplete-success": "var(--xmlui-textColor-placeholder-AutoComplete-success)", "Input:fontSize-placeholder-AutoComplete-success": "var(--xmlui-fontSize-placeholder-AutoComplete-success)", "Input:backgroundColor-AutoComplete--disabled": "var(--xmlui-backgroundColor-AutoComplete--disabled)", "Input:textColor-AutoComplete--disabled": "var(--xmlui-textColor-AutoComplete--disabled)", "Input:borderColor-AutoComplete--disabled": "var(--xmlui-borderColor-AutoComplete--disabled)", "Input:outlineWidth-AutoComplete--focus": "var(--xmlui-outlineWidth-AutoComplete--focus)", "Input:outlineColor-AutoComplete--focus": "var(--xmlui-outlineColor-AutoComplete--focus)", "Input:outlineStyle-AutoComplete--focus": "var(--xmlui-outlineStyle-AutoComplete--focus)", "Input:outlineOffset-AutoComplete--focus": "var(--xmlui-outlineOffset-AutoComplete--focus)", "paddingVertical-AutoComplete-badge": "var(--xmlui-paddingVertical-AutoComplete-badge)", "paddingHorizontal-AutoComplete-badge": "var(--xmlui-paddingHorizontal-AutoComplete-badge)", "borderRadius-AutoComplete-badge": "var(--xmlui-borderRadius-AutoComplete-badge)", "Input:fontSize-AutoComplete-badge": "var(--xmlui-fontSize-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge": "var(--xmlui-backgroundColor-AutoComplete-badge)", "Input:textColor-AutoComplete-badge": "var(--xmlui-textColor-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge--hover": "var(--xmlui-backgroundColor-AutoComplete-badge--hover)", "Input:textColor-AutoComplete-badge--hover": "var(--xmlui-textColor-AutoComplete-badge--hover)", "Input:backgroundColor-AutoComplete-badge--active": "var(--xmlui-backgroundColor-AutoComplete-badge--active)", "Input:textColor-AutoComplete-badge--active": "var(--xmlui-textColor-AutoComplete-badge--active)", "Input:textColor-placeholder-AutoComplete": "var(--xmlui-textColor-placeholder-AutoComplete)", "Input:backgroundColor-menu-AutoComplete": "var(--xmlui-backgroundColor-menu-AutoComplete)", "Input:borderRadius-menu-AutoComplete": "var(--xmlui-borderRadius-menu-AutoComplete)", "Input:boxShadow-menu-AutoComplete": "var(--xmlui-boxShadow-menu-AutoComplete)", "backgroundColor-item-AutoComplete": "var(--xmlui-backgroundColor-item-AutoComplete)", "backgroundColor-item-AutoComplete--hover": "var(--xmlui-backgroundColor-item-AutoComplete--hover)", "textColor-item-AutoComplete--disabled": "var(--xmlui-textColor-item-AutoComplete--disabled)"}'`;
22226
- const command = "_command_eqfil_14";
22227
- const badgeListWrapper = "_badgeListWrapper_eqfil_20";
22228
- const error$5 = "_error_eqfil_53";
22229
- const warning$6 = "_warning_eqfil_73";
22230
- const valid$5 = "_valid_eqfil_93";
22231
- const disabled$4 = "_disabled_eqfil_113";
22232
- const focused = "_focused_eqfil_120";
22233
- const badgeList = "_badgeList_eqfil_20";
22234
- const inputWrapper = "_inputWrapper_eqfil_133";
22235
- const badge = "_badge_eqfil_20";
22236
- const commandInput = "_commandInput_eqfil_165";
22237
- const actions = "_actions_eqfil_180";
22238
- const action = "_action_eqfil_180";
22239
- const autoCompleteEmpty = "_autoCompleteEmpty_eqfil_188";
22240
- const commandList = "_commandList_eqfil_197";
22241
- const autoCompleteOption = "_autoCompleteOption_eqfil_210";
22242
- const disabledOption = "_disabledOption_eqfil_223";
22405
+ const themeVars$k = `'{"border-AutoComplete": "var(--xmlui-border-AutoComplete)", "borderHorizontal-AutoComplete": "var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete))", "borderVertical-AutoComplete": "var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete))", "borderLeft-AutoComplete": "var(--xmlui-borderLeft-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderRight-AutoComplete": "var(--xmlui-borderRight-AutoComplete, var(--xmlui-borderHorizontal-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderTop-AutoComplete": "var(--xmlui-borderTop-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderBottom-AutoComplete": "var(--xmlui-borderBottom-AutoComplete, var(--xmlui-borderVertical-AutoComplete, var(--xmlui-border-AutoComplete)))", "borderWidth-AutoComplete": "var(--xmlui-borderWidth-AutoComplete)", "borderHorizontalWidth-AutoComplete": "var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderLeftWidth-AutoComplete": "var(--xmlui-borderLeftWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderRightWidth-AutoComplete": "var(--xmlui-borderRightWidth-AutoComplete, var(--xmlui-borderHorizontalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderVerticalWidth-AutoComplete": "var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete))", "borderTopWidth-AutoComplete": "var(--xmlui-borderTopWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderBottomWidth-AutoComplete": "var(--xmlui-borderBottomWidth-AutoComplete, var(--xmlui-borderVerticalWidth-AutoComplete, var(--xmlui-borderWidth-AutoComplete)))", "borderStyle-AutoComplete": "var(--xmlui-borderStyle-AutoComplete)", "borderHorizontalStyle-AutoComplete": "var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderLeftStyle-AutoComplete": "var(--xmlui-borderLeftStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderRightStyle-AutoComplete": "var(--xmlui-borderRightStyle-AutoComplete, var(--xmlui-borderHorizontalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderVerticalStyle-AutoComplete": "var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete))", "borderTopStyle-AutoComplete": "var(--xmlui-borderTopStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderBottomStyle-AutoComplete": "var(--xmlui-borderBottomStyle-AutoComplete, var(--xmlui-borderVerticalStyle-AutoComplete, var(--xmlui-borderStyle-AutoComplete)))", "borderColor-AutoComplete": "var(--xmlui-borderColor-AutoComplete)", "borderHorizontalColor-AutoComplete": "var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderLeftColor-AutoComplete": "var(--xmlui-borderLeftColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderRightColor-AutoComplete": "var(--xmlui-borderRightColor-AutoComplete, var(--xmlui-borderHorizontalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderVerticalColor-AutoComplete": "var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete))", "borderTopColor-AutoComplete": "var(--xmlui-borderTopColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderBottomColor-AutoComplete": "var(--xmlui-borderBottomColor-AutoComplete, var(--xmlui-borderVerticalColor-AutoComplete, var(--xmlui-borderColor-AutoComplete)))", "borderStartStartRadius-AutoComplete": "var(--xmlui-borderStartStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderStartEndRadius-AutoComplete": "var(--xmlui-borderStartEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndStartRadius-AutoComplete": "var(--xmlui-borderEndStartRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "borderEndEndRadius-AutoComplete": "var(--xmlui-borderEndEndRadius-AutoComplete, var(--xmlui-borderRadius-AutoComplete))", "padding-AutoComplete": "var(--xmlui-padding-AutoComplete)", "paddingHorizontal-AutoComplete": "var(--xmlui-paddingHorizontal-AutoComplete, var(--xmlui-padding-AutoComplete))", "paddingVertical-AutoComplete": "var(--xmlui-paddingVertical-AutoComplete, var(--xmlui-padding-AutoComplete))", "paddingLeft-AutoComplete": "var(--xmlui-paddingLeft-AutoComplete, var(--xmlui-paddingHorizontal-AutoComplete, var(--xmlui-padding-AutoComplete)))", "paddingRight-AutoComplete": "var(--xmlui-paddingRight-AutoComplete, var(--xmlui-paddingHorizontal-AutoComplete, var(--xmlui-padding-AutoComplete)))", "paddingTop-AutoComplete": "var(--xmlui-paddingTop-AutoComplete, var(--xmlui-paddingVertical-AutoComplete, var(--xmlui-padding-AutoComplete)))", "paddingBottom-AutoComplete": "var(--xmlui-paddingBottom-AutoComplete, var(--xmlui-paddingVertical-AutoComplete, var(--xmlui-padding-AutoComplete)))", "padding-item-AutoComplete": "var(--xmlui-padding-item-AutoComplete)", "paddingHorizontal-item-AutoComplete": "var(--xmlui-paddingHorizontal-item-AutoComplete, var(--xmlui-padding-item-AutoComplete))", "paddingVertical-item-AutoComplete": "var(--xmlui-paddingVertical-item-AutoComplete, var(--xmlui-padding-item-AutoComplete))", "paddingLeft-item-AutoComplete": "var(--xmlui-paddingLeft-item-AutoComplete, var(--xmlui-paddingHorizontal-item-AutoComplete, var(--xmlui-padding-item-AutoComplete)))", "paddingRight-item-AutoComplete": "var(--xmlui-paddingRight-item-AutoComplete, var(--xmlui-paddingHorizontal-item-AutoComplete, var(--xmlui-padding-item-AutoComplete)))", "paddingTop-item-AutoComplete": "var(--xmlui-paddingTop-item-AutoComplete, var(--xmlui-paddingVertical-item-AutoComplete, var(--xmlui-padding-item-AutoComplete)))", "paddingBottom-item-AutoComplete": "var(--xmlui-paddingBottom-item-AutoComplete, var(--xmlui-paddingVertical-item-AutoComplete, var(--xmlui-padding-item-AutoComplete)))", "Input:borderRadius-AutoComplete-default": "var(--xmlui-borderRadius-AutoComplete-default)", "Input:borderColor-AutoComplete-default": "var(--xmlui-borderColor-AutoComplete-default)", "Input:borderWidth-AutoComplete-default": "var(--xmlui-borderWidth-AutoComplete-default)", "Input:borderStyle-AutoComplete-default": "var(--xmlui-borderStyle-AutoComplete-default)", "Input:fontSize-AutoComplete-default": "var(--xmlui-fontSize-AutoComplete-default)", "Input:backgroundColor-AutoComplete-default": "var(--xmlui-backgroundColor-AutoComplete-default)", "Input:boxShadow-AutoComplete-default": "var(--xmlui-boxShadow-AutoComplete-default)", "Input:textColor-AutoComplete-default": "var(--xmlui-textColor-AutoComplete-default)", "Input:borderColor-AutoComplete-default--hover": "var(--xmlui-borderColor-AutoComplete-default--hover)", "Input:backgroundColor-AutoComplete-default--hover": "var(--xmlui-backgroundColor-AutoComplete-default--hover)", "Input:boxShadow-AutoComplete-default--hover": "var(--xmlui-boxShadow-AutoComplete-default--hover)", "Input:textColor-AutoComplete-default--hover": "var(--xmlui-textColor-AutoComplete-default--hover)", "Input:textColor-placeholder-AutoComplete-default": "var(--xmlui-textColor-placeholder-AutoComplete-default)", "Input:fontSize-placeholder-AutoComplete-default": "var(--xmlui-fontSize-placeholder-AutoComplete-default)", "Input:borderRadius-AutoComplete-error": "var(--xmlui-borderRadius-AutoComplete-error)", "Input:borderColor-AutoComplete-error": "var(--xmlui-borderColor-AutoComplete-error)", "Input:borderWidth-AutoComplete-error": "var(--xmlui-borderWidth-AutoComplete-error)", "Input:borderStyle-AutoComplete-error": "var(--xmlui-borderStyle-AutoComplete-error)", "Input:fontSize-AutoComplete-error": "var(--xmlui-fontSize-AutoComplete-error)", "Input:backgroundColor-AutoComplete-error": "var(--xmlui-backgroundColor-AutoComplete-error)", "Input:boxShadow-AutoComplete-error": "var(--xmlui-boxShadow-AutoComplete-error)", "Input:textColor-AutoComplete-error": "var(--xmlui-textColor-AutoComplete-error)", "Input:borderColor-AutoComplete-error--hover": "var(--xmlui-borderColor-AutoComplete-error--hover)", "Input:backgroundColor-AutoComplete-error--hover": "var(--xmlui-backgroundColor-AutoComplete-error--hover)", "Input:boxShadow-AutoComplete-error--hover": "var(--xmlui-boxShadow-AutoComplete-error--hover)", "Input:textColor-AutoComplete-error--hover": "var(--xmlui-textColor-AutoComplete-error--hover)", "Input:textColor-placeholder-AutoComplete-error": "var(--xmlui-textColor-placeholder-AutoComplete-error)", "Input:fontSize-placeholder-AutoComplete-error": "var(--xmlui-fontSize-placeholder-AutoComplete-error)", "Input:borderRadius-AutoComplete-warning": "var(--xmlui-borderRadius-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning": "var(--xmlui-borderColor-AutoComplete-warning)", "Input:borderWidth-AutoComplete-warning": "var(--xmlui-borderWidth-AutoComplete-warning)", "Input:borderStyle-AutoComplete-warning": "var(--xmlui-borderStyle-AutoComplete-warning)", "Input:fontSize-AutoComplete-warning": "var(--xmlui-fontSize-AutoComplete-warning)", "Input:backgroundColor-AutoComplete-warning": "var(--xmlui-backgroundColor-AutoComplete-warning)", "Input:boxShadow-AutoComplete-warning": "var(--xmlui-boxShadow-AutoComplete-warning)", "Input:textColor-AutoComplete-warning": "var(--xmlui-textColor-AutoComplete-warning)", "Input:borderColor-AutoComplete-warning--hover": "var(--xmlui-borderColor-AutoComplete-warning--hover)", "Input:backgroundColor-AutoComplete-warning--hover": "var(--xmlui-backgroundColor-AutoComplete-warning--hover)", "Input:boxShadow-AutoComplete-warning--hover": "var(--xmlui-boxShadow-AutoComplete-warning--hover)", "Input:textColor-AutoComplete-warning--hover": "var(--xmlui-textColor-AutoComplete-warning--hover)", "Input:textColor-placeholder-AutoComplete-warning": "var(--xmlui-textColor-placeholder-AutoComplete-warning)", "Input:fontSize-placeholder-AutoComplete-warning": "var(--xmlui-fontSize-placeholder-AutoComplete-warning)", "Input:borderRadius-AutoComplete-success": "var(--xmlui-borderRadius-AutoComplete-success)", "Input:borderColor-AutoComplete-success": "var(--xmlui-borderColor-AutoComplete-success)", "Input:borderWidth-AutoComplete-success": "var(--xmlui-borderWidth-AutoComplete-success)", "Input:borderStyle-AutoComplete-success": "var(--xmlui-borderStyle-AutoComplete-success)", "Input:fontSize-AutoComplete-success": "var(--xmlui-fontSize-AutoComplete-success)", "Input:backgroundColor-AutoComplete-success": "var(--xmlui-backgroundColor-AutoComplete-success)", "Input:boxShadow-AutoComplete-success": "var(--xmlui-boxShadow-AutoComplete-success)", "Input:textColor-AutoComplete-success": "var(--xmlui-textColor-AutoComplete-success)", "Input:borderColor-AutoComplete-success--hover": "var(--xmlui-borderColor-AutoComplete-success--hover)", "Input:backgroundColor-AutoComplete-success--hover": "var(--xmlui-backgroundColor-AutoComplete-success--hover)", "Input:boxShadow-AutoComplete-success--hover": "var(--xmlui-boxShadow-AutoComplete-success--hover)", "Input:textColor-AutoComplete-success--hover": "var(--xmlui-textColor-AutoComplete-success--hover)", "Input:textColor-placeholder-AutoComplete-success": "var(--xmlui-textColor-placeholder-AutoComplete-success)", "Input:fontSize-placeholder-AutoComplete-success": "var(--xmlui-fontSize-placeholder-AutoComplete-success)", "Input:backgroundColor-AutoComplete--disabled": "var(--xmlui-backgroundColor-AutoComplete--disabled)", "Input:textColor-AutoComplete--disabled": "var(--xmlui-textColor-AutoComplete--disabled)", "Input:borderColor-AutoComplete--disabled": "var(--xmlui-borderColor-AutoComplete--disabled)", "Input:outlineWidth-AutoComplete--focus": "var(--xmlui-outlineWidth-AutoComplete--focus)", "Input:outlineColor-AutoComplete--focus": "var(--xmlui-outlineColor-AutoComplete--focus)", "Input:outlineStyle-AutoComplete--focus": "var(--xmlui-outlineStyle-AutoComplete--focus)", "Input:outlineOffset-AutoComplete--focus": "var(--xmlui-outlineOffset-AutoComplete--focus)", "paddingVertical-AutoComplete-badge": "var(--xmlui-paddingVertical-AutoComplete-badge)", "paddingHorizontal-AutoComplete-badge": "var(--xmlui-paddingHorizontal-AutoComplete-badge)", "borderRadius-AutoComplete-badge": "var(--xmlui-borderRadius-AutoComplete-badge)", "Input:fontSize-AutoComplete-badge": "var(--xmlui-fontSize-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge": "var(--xmlui-backgroundColor-AutoComplete-badge)", "Input:textColor-AutoComplete-badge": "var(--xmlui-textColor-AutoComplete-badge)", "Input:backgroundColor-AutoComplete-badge--hover": "var(--xmlui-backgroundColor-AutoComplete-badge--hover)", "Input:textColor-AutoComplete-badge--hover": "var(--xmlui-textColor-AutoComplete-badge--hover)", "Input:backgroundColor-AutoComplete-badge--active": "var(--xmlui-backgroundColor-AutoComplete-badge--active)", "Input:textColor-AutoComplete-badge--active": "var(--xmlui-textColor-AutoComplete-badge--active)", "Input:textColor-placeholder-AutoComplete": "var(--xmlui-textColor-placeholder-AutoComplete)", "Input:borderRadius-menu-AutoComplete": "var(--xmlui-borderRadius-menu-AutoComplete)", "Input:borderWidth-menu-AutoComplete": "var(--xmlui-borderWidth-menu-AutoComplete)", "Input:borderColor-menu-AutoComplete": "var(--xmlui-borderColor-menu-AutoComplete)", "Input:backgroundColor-menu-AutoComplete": "var(--xmlui-backgroundColor-menu-AutoComplete)", "Input:boxShadow-menu-AutoComplete": "var(--xmlui-boxShadow-menu-AutoComplete)", "backgroundColor-item-AutoComplete": "var(--xmlui-backgroundColor-item-AutoComplete)", "backgroundColor-item-AutoComplete--active": "var(--xmlui-backgroundColor-item-AutoComplete--active)", "backgroundColor-item-AutoComplete--hover": "var(--xmlui-backgroundColor-item-AutoComplete--hover)", "textColor-item-AutoComplete--disabled": "var(--xmlui-textColor-item-AutoComplete--disabled)"}'`;
22406
+ const command = "_command_1gtkp_14";
22407
+ const badgeListWrapper = "_badgeListWrapper_1gtkp_20";
22408
+ const error$5 = "_error_1gtkp_51";
22409
+ const warning$6 = "_warning_1gtkp_71";
22410
+ const valid$5 = "_valid_1gtkp_91";
22411
+ const disabled$4 = "_disabled_1gtkp_111";
22412
+ const focused = "_focused_1gtkp_118";
22413
+ const badgeList = "_badgeList_1gtkp_20";
22414
+ const inputWrapper = "_inputWrapper_1gtkp_131";
22415
+ const badge = "_badge_1gtkp_20";
22416
+ const commandInput = "_commandInput_1gtkp_163";
22417
+ const actions = "_actions_1gtkp_178";
22418
+ const action = "_action_1gtkp_178";
22419
+ const autoCompleteEmpty = "_autoCompleteEmpty_1gtkp_186";
22420
+ const commandList = "_commandList_1gtkp_195";
22421
+ const autoCompleteOption = "_autoCompleteOption_1gtkp_208";
22422
+ const highlighted = "_highlighted_1gtkp_225";
22423
+ const disabledOption = "_disabledOption_1gtkp_228";
22243
22424
  const styles$E = {
22244
22425
  themeVars: themeVars$k,
22245
22426
  command,
@@ -22257,8 +22438,9 @@ const styles$E = {
22257
22438
  action,
22258
22439
  autoCompleteEmpty,
22259
22440
  commandList,
22260
- "fade-in": "_fade-in_eqfil_1",
22441
+ "fade-in": "_fade-in_1gtkp_1",
22261
22442
  autoCompleteOption,
22443
+ highlighted,
22262
22444
  disabledOption
22263
22445
  };
22264
22446
  const AutoCompleteContext = createContext({
@@ -22619,12 +22801,18 @@ const AutoComplete = forwardRef(function AutoComplete2({
22619
22801
  /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, ref: setReferenceElement, children: /* @__PURE__ */ jsxs(
22620
22802
  "div",
22621
22803
  {
22804
+ ref: forwardedRef,
22622
22805
  style: style2,
22623
22806
  "data-part-id": PART_LIST_WRAPPER,
22624
- className: classnames(className, styles$E.badgeListWrapper, styles$E[validationStatus], {
22625
- [styles$E.disabled]: !enabled2,
22626
- [styles$E.focused]: isFocused
22627
- }),
22807
+ className: classnames(
22808
+ className,
22809
+ styles$E.badgeListWrapper,
22810
+ styles$E[validationStatus],
22811
+ {
22812
+ [styles$E.disabled]: !enabled2,
22813
+ [styles$E.focused]: isFocused
22814
+ }
22815
+ ),
22628
22816
  "aria-expanded": open,
22629
22817
  children: [
22630
22818
  Array.isArray(selectedValue) && selectedValue.length > 0 && /* @__PURE__ */ jsx("div", { className: styles$E.badgeList, children: selectedValue.map((v, index) => /* @__PURE__ */ jsxs("span", { className: styles$E.badge, children: [
@@ -22723,7 +22911,7 @@ const AutoComplete = forwardRef(function AutoComplete2({
22723
22911
  ]
22724
22912
  }
22725
22913
  ) }),
22726
- open && /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
22914
+ open && /* @__PURE__ */ jsx(Portal$1, { container: root2, children: /* @__PURE__ */ jsx(
22727
22915
  PopoverContent,
22728
22916
  {
22729
22917
  style: { width, height: dropdownHeight },
@@ -22802,7 +22990,7 @@ function CreatableItem({ onNewItem, isHighlighted = false }) {
22802
22990
  },
22803
22991
  onClick: handleClick,
22804
22992
  role: "option",
22805
- "aria-selected": isHighlighted,
22993
+ "aria-selected": false,
22806
22994
  children: `Create "${searchTerm}"`
22807
22995
  }
22808
22996
  );
@@ -22816,7 +23004,6 @@ function AutoCompleteOption(option) {
22816
23004
  value,
22817
23005
  label: label2,
22818
23006
  enabled: enabled2 = true,
22819
- keywords,
22820
23007
  readOnly: readOnly2,
22821
23008
  children,
22822
23009
  isHighlighted = false,
@@ -22844,7 +23031,7 @@ function AutoCompleteOption(option) {
22844
23031
  id,
22845
23032
  role: "option",
22846
23033
  "aria-disabled": !enabled2,
22847
- "aria-selected": isHighlighted,
23034
+ "aria-selected": selected2,
22848
23035
  className: classnames(styles$E.autoCompleteOption, {
22849
23036
  [styles$E.disabledOption]: !enabled2,
22850
23037
  [styles$E.highlighted]: isHighlighted
@@ -23266,7 +23453,7 @@ function CodeBlock({
23266
23453
  icon: /* @__PURE__ */ jsx(Icon, { name: "copy", "aria-hidden": true }),
23267
23454
  onClick: () => {
23268
23455
  if (!textToCopy) return;
23269
- navigator.clipboard.writeText(textToCopy);
23456
+ void navigator.clipboard.writeText(textToCopy);
23270
23457
  toast.success("Code copied!");
23271
23458
  }
23272
23459
  }
@@ -23518,13 +23705,7 @@ function xmlUiMarkupToComponent(source, fileId = 0) {
23518
23705
  const { parse: parse2, getText } = createXmlUiParser(source);
23519
23706
  const { node, errors } = parse2();
23520
23707
  if (errors.length > 0) {
23521
- const newlinePositions = [];
23522
- for (let i = 0; i < source.length; ++i) {
23523
- if (source[i] === "\n") {
23524
- newlinePositions.push(i);
23525
- }
23526
- }
23527
- const errorsForDisplay = addDisplayFieldsToErrors(errors, source, newlinePositions);
23708
+ const errorsForDisplay = addDisplayFieldsToErrors(errors, source);
23528
23709
  const erroneousCompoundComponentName = getCompoundCompName(node, getText);
23529
23710
  return { component: null, errors: errorsForDisplay, erroneousCompoundComponentName };
23530
23711
  }
@@ -23953,21 +24134,6 @@ function errReportModuleErrors(errors, fileName) {
23953
24134
  comp.component = createModuleErrorsComponent(errors, fileName);
23954
24135
  return comp;
23955
24136
  }
23956
- function offsetToPosition(offset, newlinePositions) {
23957
- let left2 = 0;
23958
- let right2 = newlinePositions.length;
23959
- while (left2 < right2) {
23960
- const mid = Math.floor((left2 + right2) / 2);
23961
- if (newlinePositions[mid] < offset) {
23962
- left2 = mid + 1;
23963
- } else {
23964
- right2 = mid;
23965
- }
23966
- }
23967
- let line2 = left2 + 1;
23968
- let col = left2 === 0 ? offset + 1 : offset - newlinePositions[left2 - 1];
23969
- return { line: line2, col };
23970
- }
23971
24137
  function getCompoundCompName(node, getText) {
23972
24138
  var _a2, _b, _c, _d, _e, _f;
23973
24139
  const rootTag = (_a2 = node == null ? void 0 : node.children) == null ? void 0 : _a2[0];
@@ -23989,10 +24155,11 @@ function getCompoundCompName(node, getText) {
23989
24155
  }
23990
24156
  return void 0;
23991
24157
  }
23992
- function addDisplayFieldsToErrors(errors, source, newlinePositions) {
24158
+ function addDisplayFieldsToErrors(errors, source) {
24159
+ const { offsetToPosForDisplay } = createDocumentCursor(source);
23993
24160
  return errors.map((err) => {
23994
- const { line: errPosLine, col: errPosCol } = offsetToPosition(err.pos, newlinePositions);
23995
- const { line: contextStartLine } = offsetToPosition(err.contextPos, newlinePositions);
24161
+ const { line: errPosLine, character: errPosCol } = offsetToPosForDisplay(err.pos);
24162
+ const { line: contextStartLine } = offsetToPosForDisplay(err.contextPos);
23996
24163
  return {
23997
24164
  ...err,
23998
24165
  errPosLine,
@@ -24002,6 +24169,38 @@ function addDisplayFieldsToErrors(errors, source, newlinePositions) {
24002
24169
  };
24003
24170
  });
24004
24171
  }
24172
+ function createDocumentCursor(text2) {
24173
+ const newlinePositions = [];
24174
+ for (let i = 0; i < text2.length; ++i) {
24175
+ if (text2[i] === "\n") {
24176
+ newlinePositions.push(i);
24177
+ }
24178
+ }
24179
+ return {
24180
+ offsetToPos,
24181
+ offsetToPosForDisplay
24182
+ };
24183
+ function offsetToPos(offset) {
24184
+ let left2 = 0;
24185
+ let right2 = newlinePositions.length;
24186
+ while (left2 < right2) {
24187
+ const mid = Math.floor((left2 + right2) / 2);
24188
+ if (newlinePositions[mid] < offset) {
24189
+ left2 = mid + 1;
24190
+ } else {
24191
+ right2 = mid;
24192
+ }
24193
+ }
24194
+ let col = left2 === 0 ? offset : offset - newlinePositions[left2 - 1] - 1;
24195
+ return { line: left2, character: col };
24196
+ }
24197
+ function offsetToPosForDisplay(offset) {
24198
+ let pos = offsetToPos(offset);
24199
+ pos.line += 1;
24200
+ pos.character += 1;
24201
+ return pos;
24202
+ }
24203
+ }
24005
24204
  const ApiInterceptorContext = createContext(null);
24006
24205
  function useApiInterceptorContext() {
24007
24206
  return useContext(ApiInterceptorContext);
@@ -24027,8 +24226,8 @@ function ApiInterceptorProvider({
24027
24226
  if (!interceptor) {
24028
24227
  return;
24029
24228
  }
24030
- (async () => {
24031
- const { initMock } = await import("./initMock-BMxsanHc.mjs");
24229
+ void (async () => {
24230
+ const { initMock } = await import("./initMock-qnCFw6Zc.mjs");
24032
24231
  const apiInstance2 = await initMock(interceptor);
24033
24232
  setApiInstance(apiInstance2);
24034
24233
  setInitialized(true);
@@ -24041,11 +24240,11 @@ function ApiInterceptorProvider({
24041
24240
  if (!hasParentInterceptorContext) {
24042
24241
  if (interceptor || forceInitialize) {
24043
24242
  let interceptorWorker2;
24044
- (async () => {
24243
+ void (async () => {
24045
24244
  if (process.env.VITE_MOCK_ENABLED) {
24046
24245
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24047
- useWorker ? import("./apiInterceptorWorker-DPgtUtdA.mjs") : Promise.resolve({ createApiInterceptorWorker: () => null }),
24048
- import("./initMock-BMxsanHc.mjs")
24246
+ useWorker ? import("./apiInterceptorWorker-QiltRtq1.mjs") : Promise.resolve({ createApiInterceptorWorker: () => null }),
24247
+ import("./initMock-qnCFw6Zc.mjs")
24049
24248
  ]);
24050
24249
  if (interceptor || forceInitialize) {
24051
24250
  const apiInstance2 = await initMock(interceptor || {});
@@ -24079,10 +24278,10 @@ function ApiInterceptorProvider({
24079
24278
  return;
24080
24279
  }
24081
24280
  if (parentInterceptorWorker) {
24082
- (async () => {
24281
+ void (async () => {
24083
24282
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24084
- import("./apiInterceptorWorker-DPgtUtdA.mjs"),
24085
- import("./initMock-BMxsanHc.mjs")
24283
+ import("./apiInterceptorWorker-QiltRtq1.mjs"),
24284
+ import("./initMock-qnCFw6Zc.mjs")
24086
24285
  ]);
24087
24286
  const apiInstance2 = await initMock(interceptor);
24088
24287
  await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
@@ -24140,8 +24339,8 @@ class ErrorBoundary extends React__default.Component {
24140
24339
  * This method implements the Error Boundaries for the React application.
24141
24340
  * It is invoked if errors occur during the rendering phase of any lifecycle
24142
24341
  * methods or children components.
24143
- *
24144
- * DO NOT DELETE this method! Though it is not referenced directly from the code,
24342
+ *
24343
+ * DO NOT DELETE this method! Though it is not referenced directly from the code,
24145
24344
  * it is a required part of the React component lifecycle.
24146
24345
  */
24147
24346
  static getDerivedStateFromError(error2) {
@@ -24174,7 +24373,7 @@ class ErrorBoundary extends React__default.Component {
24174
24373
  */
24175
24374
  render() {
24176
24375
  var _a2;
24177
- return this.state.hasError ? /* @__PURE__ */ jsxs("div", { className: styles$x.errorOverlay, children: [
24376
+ return this.state.hasError ? /* @__PURE__ */ jsxs("div", { "data-error-boundary": true, className: styles$x.errorOverlay, children: [
24178
24377
  /* @__PURE__ */ jsx("div", { className: styles$x.title, children: "There was an error!" }),
24179
24378
  /* @__PURE__ */ jsx("div", { className: styles$x.errorItem, children: (_a2 = this.state.error) == null ? void 0 : _a2.message })
24180
24379
  ] }) : this.props.children;
@@ -24569,7 +24768,7 @@ function NestedApp({
24569
24768
  }
24570
24769
  return null;
24571
24770
  });
24572
- Promise.all(sheetPromises).then((sheets) => {
24771
+ void Promise.all(sheetPromises).then((sheets) => {
24573
24772
  const validSheets = sheets.filter(Boolean);
24574
24773
  shadowRef.current.adoptedStyleSheets = validSheets;
24575
24774
  });
@@ -24688,7 +24887,10 @@ function NestedApp({
24688
24887
  )
24689
24888
  ] });
24690
24889
  }
24691
- function NestedAppRoot({ children, themeStylesToReset }) {
24890
+ function NestedAppRoot({
24891
+ children,
24892
+ themeStylesToReset
24893
+ }) {
24692
24894
  const themeVarReset = useMemo(() => {
24693
24895
  const vars2 = {};
24694
24896
  Object.keys(themeStylesToReset).forEach((key) => {
@@ -24911,7 +25113,7 @@ function AppWithCodeViewNative({
24911
25113
  {
24912
25114
  className: styles$w.headerButton,
24913
25115
  onClick: () => {
24914
- openPlayground();
25116
+ void openPlayground();
24915
25117
  },
24916
25118
  children: /* @__PURE__ */ jsx(RxOpenInNewWindow, {})
24917
25119
  }
@@ -26642,21 +26844,21 @@ const FormItem = memo(function FormItem2({
26642
26844
  return safeBindTo;
26643
26845
  }
26644
26846
  }, [bindTo, defaultId, itemIndex, parentFormItemId]);
26645
- const labelWidthValue = useFormContextPart((value2) => labelWidth || value2.itemLabelWidth);
26847
+ const labelWidthValue = useFormContextPart((value2) => labelWidth || (value2 == null ? void 0 : value2.itemLabelWidth));
26646
26848
  const labelBreakValue = useFormContextPart(
26647
- (value2) => labelBreak2 !== void 0 ? labelBreak2 : value2.itemLabelBreak
26849
+ (value2) => labelBreak2 !== void 0 ? labelBreak2 : value2 == null ? void 0 : value2.itemLabelBreak
26648
26850
  );
26649
26851
  const labelPositionValue = useFormContextPart(
26650
- (value2) => labelPosition || value2.itemLabelPosition || DEFAULT_LABEL_POSITIONS[type]
26852
+ (value2) => labelPosition || (value2 == null ? void 0 : value2.itemLabelPosition) || DEFAULT_LABEL_POSITIONS[type]
26651
26853
  );
26652
26854
  const initialValueFromSubject = useFormContextPart(
26653
- (value2) => getByPath(value2.originalSubject, formItemId)
26855
+ (value2) => getByPath(value2 == null ? void 0 : value2.originalSubject, formItemId)
26654
26856
  );
26655
26857
  const initialValue = initialValueFromSubject === void 0 ? initialValueFromProps : initialValueFromSubject;
26656
- const value = useFormContextPart((value2) => getByPath(value2.subject, formItemId));
26657
- const validationResult = useFormContextPart((value2) => value2.validationResults[formItemId]);
26658
- const dispatch = useFormContextPart((value2) => value2.dispatch);
26659
- const formEnabled = useFormContextPart((value2) => value2.enabled);
26858
+ const value = useFormContextPart((value2) => getByPath(value2 == null ? void 0 : value2.subject, formItemId));
26859
+ const validationResult = useFormContextPart((value2) => value2 == null ? void 0 : value2.validationResults[formItemId]);
26860
+ const dispatch = useFormContextPart((value2) => value2 == null ? void 0 : value2.dispatch);
26861
+ const formEnabled = useFormContextPart((value2) => value2 == null ? void 0 : value2.enabled);
26660
26862
  const isEnabled2 = enabled2 && formEnabled;
26661
26863
  useEffect(() => {
26662
26864
  if (initialValue !== void 0) {
@@ -26926,6 +27128,10 @@ const FormItem = memo(function FormItem2({
26926
27128
  }
26927
27129
  }
26928
27130
  const [animateContainerRef] = useAutoAnimate({ duration: 100 });
27131
+ const isInsideForm = useIsInsideForm();
27132
+ if (!isInsideForm) {
27133
+ throw new Error("FormItem must be used inside a Form");
27134
+ }
26929
27135
  return /* @__PURE__ */ jsx(
26930
27136
  ItemWithLabel,
26931
27137
  {
@@ -26994,7 +27200,7 @@ const filteredValidationSeverityValues = validationSeverityValues.filter(
26994
27200
  const FormItemMd = createMetadata({
26995
27201
  status: "stable",
26996
27202
  allowArbitraryProps: true,
26997
- description: "`FormItem` wraps individual input controls within a `Form`, providing data binding, validation, labeling, and layout functionality. It connects form controls to the parent form's data model and handles validation feedback automatically.",
27203
+ description: "`FormItem` wraps individual input controls within a `Form`, providing data binding, validation, labeling, and layout functionality. It connects form controls to the parent form's data model and handles validation feedback automatically.\n\n> **Note:** `FormItem` must be used inside a `Form` component.",
26998
27204
  props: {
26999
27205
  bindTo: {
27000
27206
  description: "This property binds a particular input field to one of the attributes of the `Form` data. It names the property of the form's `data` data to get the input's initial value.When the field is saved, its value will be stored in the `data` property with this name. If the property is not set, the input will be bound to an internal data field but not submitted."
@@ -27953,7 +28159,7 @@ class PollClient {
27953
28159
  this.polling = true;
27954
28160
  this.tries = 0;
27955
28161
  this.abortController = new AbortController();
27956
- this.poll(this.abortController.signal);
28162
+ void this.poll(this.abortController.signal);
27957
28163
  }
27958
28164
  stopPoll() {
27959
28165
  this.polling = false;
@@ -29701,7 +29907,7 @@ const SelectMd = createMetadata({
29701
29907
  [`backgroundColor-${COMP$I}-badge--hover`]: "$color-primary-400",
29702
29908
  [`backgroundColor-${COMP$I}-badge--active`]: "$color-primary-500",
29703
29909
  [`textColor-item-${COMP$I}--disabled`]: "$color-surface-200",
29704
- [`textColor-${COMP$I}-badge`]: "$color-surface-50",
29910
+ [`textColor-${COMP$I}-badge`]: "$const-color-surface-50",
29705
29911
  [`backgroundColor-item-${COMP$I}`]: "$backgroundColor-dropdown-item",
29706
29912
  [`backgroundColor-item-${COMP$I}--hover`]: "$backgroundColor-dropdown-item--hover",
29707
29913
  [`backgroundColor-item-${COMP$I}--active`]: "$backgroundColor-dropdown-item--active",
@@ -32058,6 +32264,7 @@ const NotificationToast = ({ toastDuration }) => {
32058
32264
  };
32059
32265
  const defaultProps$n = {
32060
32266
  isRoot: false,
32267
+ applyIf: true,
32061
32268
  toastDuration: 5e3,
32062
32269
  themeVars: EMPTY_OBJECT,
32063
32270
  root: false
@@ -32065,6 +32272,7 @@ const defaultProps$n = {
32065
32272
  function Theme({
32066
32273
  id,
32067
32274
  isRoot = defaultProps$n.isRoot,
32275
+ applyIf,
32068
32276
  renderChild: renderChild2,
32069
32277
  node,
32070
32278
  tone,
@@ -32185,6 +32393,13 @@ function Theme({
32185
32393
  if (indexing) {
32186
32394
  return children;
32187
32395
  }
32396
+ const shouldApplyTheme = applyIf ?? defaultProps$n.applyIf;
32397
+ if (!shouldApplyTheme) {
32398
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
32399
+ renderChild2 && renderChild2(node.children),
32400
+ children
32401
+ ] });
32402
+ }
32188
32403
  if (isRoot) {
32189
32404
  const faviconUrl = getResourceUrl("resource:favicon") || "/resources/favicon.ico";
32190
32405
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -32255,6 +32470,12 @@ const ThemeMd = createMetadata({
32255
32470
  void 0,
32256
32471
  "boolean",
32257
32472
  defaultProps$n.root
32473
+ ),
32474
+ applyIf: d(
32475
+ `This property controls whether the theme wrapper is applied. When true (default), the theme wraps the children. When false, children are rendered unwrapped.`,
32476
+ void 0,
32477
+ "boolean",
32478
+ true
32258
32479
  )
32259
32480
  },
32260
32481
  opaque: true
@@ -32275,6 +32496,7 @@ const themeComponentRenderer = createComponentRenderer(
32275
32496
  {
32276
32497
  id: extractValue.asOptionalString(node.props.themeId),
32277
32498
  isRoot: extractValue.asOptionalBoolean(node.props.root),
32499
+ applyIf: extractValue.asOptionalBoolean(node.props.applyIf),
32278
32500
  layoutContext,
32279
32501
  renderChild: renderChild2,
32280
32502
  tone: themeTone,
@@ -32462,7 +32684,7 @@ async function invalidateQueries(invalidates, appContext, state) {
32462
32684
  }
32463
32685
  arrayToInvalidate.forEach((invalidate) => {
32464
32686
  var _a3;
32465
- (_a3 = appContext.queryClient) == null ? void 0 : _a3.invalidateQueries(
32687
+ void ((_a3 = appContext.queryClient) == null ? void 0 : _a3.invalidateQueries(
32466
32688
  new DataLoaderQueryKeyGenerator(
32467
32689
  extractParam(state, invalidate, appContext),
32468
32690
  void 0,
@@ -32470,7 +32692,7 @@ async function invalidateQueries(invalidates, appContext, state) {
32470
32692
  void 0,
32471
32693
  void 0
32472
32694
  ).asPredicate()
32473
- );
32695
+ ));
32474
32696
  });
32475
32697
  } else {
32476
32698
  await ((_a2 = appContext.queryClient) == null ? void 0 : _a2.invalidateQueries());
@@ -32938,7 +33160,7 @@ async function uploadFile({ appContext, state, lookupAction, uid }, {
32938
33160
  throw e;
32939
33161
  }
32940
33162
  }
32941
- invalidateQueries(invalidates, appContext, state);
33163
+ void invalidateQueries(invalidates, appContext, state);
32942
33164
  return result;
32943
33165
  }
32944
33166
  const uploadAction = createAction("upload", uploadFile);
@@ -33020,7 +33242,7 @@ function Loader({
33020
33242
  let intervalId;
33021
33243
  if (pollIntervalInSeconds) {
33022
33244
  intervalId = setInterval(() => {
33023
- refetch();
33245
+ void refetch();
33024
33246
  }, pollIntervalInSeconds * 1e3);
33025
33247
  }
33026
33248
  return () => {
@@ -33054,8 +33276,8 @@ function Loader({
33054
33276
  }, [loaderLoaded2, uid]);
33055
33277
  useEffect(() => {
33056
33278
  registerComponentApi == null ? void 0 : registerComponentApi({
33057
- refetch: async (options2) => {
33058
- refetch(options2);
33279
+ refetch: (options2) => {
33280
+ void refetch(options2);
33059
33281
  },
33060
33282
  update: async (updater) => {
33061
33283
  var _a2, _b;
@@ -33073,7 +33295,7 @@ function Loader({
33073
33295
  }
33074
33296
  (_b = appContext.queryClient) == null ? void 0 : _b.setQueryData(queryId, newData);
33075
33297
  },
33076
- addItem: async (element, indexToInsert) => {
33298
+ addItem: (element, indexToInsert) => {
33077
33299
  var _a2, _b;
33078
33300
  const oldData = (_a2 = appContext.queryClient) == null ? void 0 : _a2.getQueryData(queryId);
33079
33301
  const draft = createDraft(oldData);
@@ -33085,10 +33307,10 @@ function Loader({
33085
33307
  const newData = finishDraft(draft);
33086
33308
  (_b = appContext.queryClient) == null ? void 0 : _b.setQueryData(queryId, newData);
33087
33309
  },
33088
- getItems: async () => {
33310
+ getItems: () => {
33089
33311
  return data;
33090
33312
  },
33091
- deleteItem: async (element) => {
33313
+ deleteItem: (element) => {
33092
33314
  throw new Error("not implemented");
33093
33315
  }
33094
33316
  });
@@ -33249,7 +33471,9 @@ function MockLoader({
33249
33471
  const waitTime = extractParam(state, loader.props.waitTime, appContext);
33250
33472
  const responseObj = extractParam(state, loader.props.data, appContext);
33251
33473
  const doLoad = useCallback(async () => {
33252
- waitTime && await asyncWait(waitTime);
33474
+ if (waitTime) {
33475
+ await asyncWait(waitTime);
33476
+ }
33253
33477
  return responseObj;
33254
33478
  }, [responseObj, waitTime]);
33255
33479
  return /* @__PURE__ */ jsx(
@@ -33397,7 +33621,7 @@ function PageableLoader({
33397
33621
  const queryKey2 = thizRef.current;
33398
33622
  return () => {
33399
33623
  var _a2, _b;
33400
- (_a2 = appContext.queryClient) == null ? void 0 : _a2.cancelQueries(queryKey2);
33624
+ void ((_a2 = appContext.queryClient) == null ? void 0 : _a2.cancelQueries(queryKey2));
33401
33625
  (_b = appContext.queryClient) == null ? void 0 : _b.setQueryData(queryKey2, (old) => {
33402
33626
  if (!old) {
33403
33627
  return old;
@@ -33439,6 +33663,7 @@ function PageableLoader({
33439
33663
  }, [
33440
33664
  data,
33441
33665
  error2,
33666
+ isRefetching,
33442
33667
  loaderError2,
33443
33668
  loaderLoaded2,
33444
33669
  onLoaded,
@@ -33452,7 +33677,7 @@ function PageableLoader({
33452
33677
  let intervalId;
33453
33678
  if (pollIntervalInSeconds) {
33454
33679
  intervalId = setInterval(() => {
33455
- refetch();
33680
+ void refetch();
33456
33681
  }, pollIntervalInSeconds * 1e3);
33457
33682
  }
33458
33683
  return () => {
@@ -33471,8 +33696,8 @@ function PageableLoader({
33471
33696
  registerComponentApi({
33472
33697
  fetchPrevPage,
33473
33698
  fetchNextPage: stableFetchNextPage,
33474
- refetch: async (options2) => {
33475
- refetch(options2);
33699
+ refetch: (options2) => {
33700
+ void refetch(options2);
33476
33701
  },
33477
33702
  update: async (updater) => {
33478
33703
  var _a2, _b;
@@ -33496,7 +33721,7 @@ function PageableLoader({
33496
33721
  const newData = finishDraft(draft);
33497
33722
  (_b = appContext.queryClient) == null ? void 0 : _b.setQueryData(queryId, newData);
33498
33723
  },
33499
- addItem: async (element, indexToInsert) => {
33724
+ addItem: (element, indexToInsert) => {
33500
33725
  var _a2, _b;
33501
33726
  const oldData = (_a2 = appContext.queryClient) == null ? void 0 : _a2.getQueryData(queryId);
33502
33727
  const draft = createDraft(oldData);
@@ -33511,7 +33736,7 @@ function PageableLoader({
33511
33736
  getItems: () => {
33512
33737
  return data;
33513
33738
  },
33514
- deleteItem: async (element) => {
33739
+ deleteItem: (element) => {
33515
33740
  throw new Error("not implemented");
33516
33741
  }
33517
33742
  });
@@ -33655,8 +33880,14 @@ function DataLoader({
33655
33880
  }
33656
33881
  const response = await fetch(queryUrl, fetchOptions);
33657
33882
  if (!response.ok) {
33658
- console.error("[SQL DataLoader] Failed response:", response.status, response.statusText);
33659
- throw new Error(`Failed to execute SQL query: ${response.status} ${response.statusText}`);
33883
+ console.error(
33884
+ "[SQL DataLoader] Failed response:",
33885
+ response.status,
33886
+ response.statusText
33887
+ );
33888
+ throw new Error(
33889
+ `Failed to execute SQL query: ${response.status} ${response.statusText}`
33890
+ );
33660
33891
  }
33661
33892
  const jsonResult = await response.json();
33662
33893
  if (jsonResult && typeof jsonResult === "object") {
@@ -33684,15 +33915,7 @@ function DataLoader({
33684
33915
  });
33685
33916
  }
33686
33917
  },
33687
- [
33688
- api,
33689
- loader.props,
33690
- state,
33691
- url,
33692
- body,
33693
- rawBody,
33694
- appContext
33695
- ]
33918
+ [api, loader.props, state, url, body, rawBody, appContext]
33696
33919
  );
33697
33920
  const queryId = useMemo(() => {
33698
33921
  return new DataLoaderQueryKeyGenerator(
@@ -33725,7 +33948,7 @@ function DataLoader({
33725
33948
  }
33726
33949
  }
33727
33950
  },
33728
- [loader.props.inProgressNotificationMessage, loaderInProgressChanged2, loader.props.dataType]
33951
+ [loader.props.inProgressNotificationMessage, loaderInProgressChanged2]
33729
33952
  );
33730
33953
  const loaded = useCallback(
33731
33954
  (data, pageInfo) => {
@@ -33748,7 +33971,7 @@ function DataLoader({
33748
33971
  }
33749
33972
  }
33750
33973
  },
33751
- [loader.props.completedNotificationMessage, loaderLoaded2, loader.props.dataType]
33974
+ [loader.props.completedNotificationMessage, loaderLoaded2]
33752
33975
  );
33753
33976
  const error2 = useCallback(
33754
33977
  async (error22) => {
@@ -33873,7 +34096,9 @@ const dataLoaderRenderer = createLoaderRenderer(
33873
34096
  }) => {
33874
34097
  var _a2, _b, _c;
33875
34098
  if (!((_a2 = loader.props) == null ? void 0 : _a2.url) || !loader.props.url.trim()) {
33876
- throw new Error("You must specify a non-empty (not whitespace-only) 'url' property for DataSource");
34099
+ throw new Error(
34100
+ "You must specify a non-empty (not whitespace-only) 'url' property for DataSource"
34101
+ );
33877
34102
  }
33878
34103
  return /* @__PURE__ */ jsx(
33879
34104
  IndexAwareDataLoader,
@@ -37248,14 +37473,16 @@ function AppState({
37248
37473
  registerComponentApi,
37249
37474
  onDidUpdate
37250
37475
  }) {
37251
- const registerAppState = useAppStateContextPart((value2) => value2.registerAppState);
37252
37476
  const update = useAppStateContextPart((value2) => value2.update);
37477
+ const value = useAppStateContextPart((value2) => {
37478
+ var _a2;
37479
+ return (_a2 = value2 == null ? void 0 : value2.appState) == null ? void 0 : _a2[bucket];
37480
+ });
37253
37481
  useIsomorphicLayoutEffect(() => {
37254
37482
  if (initialValue !== void 0) {
37255
- registerAppState(bucket, initialValue);
37483
+ update(bucket, initialValue);
37256
37484
  }
37257
- }, [bucket, initialValue, registerAppState]);
37258
- const value = useAppStateContextPart((value2) => value2.appState[bucket]);
37485
+ }, [bucket, initialValue]);
37259
37486
  useIsomorphicLayoutEffect(() => {
37260
37487
  updateState({ value });
37261
37488
  if (onDidUpdate) {
@@ -37304,7 +37531,7 @@ const AppStateMd = createMetadata({
37304
37531
  defaultValue: defaultProps$f.bucket
37305
37532
  },
37306
37533
  initialValue: {
37307
- description: `This property contains the initial state value. Though you can use multiple \`${COMP$u}\`component instances for the same bucket with their \`initialValue\` set, it may result in faulty app logic. When xmlui instantiates an \`${COMP$u}\` with an explicit initial value, that value is immediately set. Multiple initial values may result in undesired initialization. By default, the bucked's initial state is undefined.`
37534
+ description: `This property contains the initial state value. Though you can use multiple \`${COMP$u}\`component instances for the same bucket with their \`initialValue\` set, it may result in faulty app logic. When xmlui instantiates an \`${COMP$u}\` with an explicit initial value, that value is immediately merged with the existing state. The issue may come from the behavior that \`initialValue\` is set (merged) only when a component mounts. By default, the bucket's initial state is undefined.`
37308
37535
  }
37309
37536
  },
37310
37537
  apis: {
@@ -39107,26 +39334,31 @@ const AutoCompleteMd = createMetadata({
39107
39334
  },
39108
39335
  themeVars: parseScssVar(styles$E.themeVars),
39109
39336
  defaultThemeVars: {
39110
- [`backgroundColor-menu-${COMP$h}`]: "$backgroundColor-primary",
39337
+ [`backgroundColor-menu-${COMP$h}`]: "$color-surface-raised",
39111
39338
  [`boxShadow-menu-${COMP$h}`]: "$boxShadow-md",
39112
39339
  [`borderRadius-menu-${COMP$h}`]: "$borderRadius",
39113
39340
  [`borderWidth-menu-${COMP$h}`]: "1px",
39114
39341
  [`borderColor-menu-${COMP$h}`]: "$borderColor",
39115
- [`backgroundColor-item-${COMP$h}`]: "$backgroundColor-dropdown-item",
39116
- [`backgroundColor-item-${COMP$h}--hover`]: "$backgroundColor-dropdown-item--active",
39117
- [`backgroundColor-item-${COMP$h}--active`]: "$backgroundColor-dropdown-item--active",
39118
- [`minHeight-Input`]: "39px",
39119
39342
  [`backgroundColor-${COMP$h}-badge`]: "$color-primary-500",
39120
39343
  [`fontSize-${COMP$h}-badge`]: "$fontSize-sm",
39344
+ [`paddingHorizontal-${COMP$h}-badge`]: "$space-2_5",
39345
+ [`paddingVertical-${COMP$h}-badge`]: "$space-0_5",
39121
39346
  [`borderRadius-${COMP$h}-badge`]: "$borderRadius",
39122
- [`paddingHorizontal-${COMP$h}-badge`]: "$space-2",
39123
- [`paddingVertical-${COMP$h}-badge`]: "$space-1",
39124
- [`paddingHorizontal-${COMP$h}`]: "$space-1",
39347
+ [`paddingHorizontal-item-${COMP$h}`]: "$space-2",
39348
+ [`paddingVertical-item-${COMP$h}`]: "$space-2",
39349
+ [`paddingHorizontal-${COMP$h}`]: "$space-2",
39125
39350
  [`paddingVertical-${COMP$h}`]: "$space-2",
39351
+ [`opacity-text-item-${COMP$h}--disabled`]: "0.5",
39352
+ [`opacity-${COMP$h}--disabled`]: "0.5",
39126
39353
  [`backgroundColor-${COMP$h}-badge--hover`]: "$color-primary-400",
39127
39354
  [`backgroundColor-${COMP$h}-badge--active`]: "$color-primary-500",
39128
39355
  [`textColor-item-${COMP$h}--disabled`]: "$color-surface-200",
39129
- [`textColor-${COMP$h}-badge`]: "$const-color-surface-50"
39356
+ [`textColor-${COMP$h}-badge`]: "$const-color-surface-50",
39357
+ [`backgroundColor-item-${COMP$h}`]: "$backgroundColor-dropdown-item",
39358
+ [`backgroundColor-item-${COMP$h}--hover`]: "$backgroundColor-dropdown-item--hover",
39359
+ [`backgroundColor-item-${COMP$h}--active`]: "$backgroundColor-dropdown-item--active",
39360
+ // Default borderColor-Input--disabled is too light so the disabled component is barely visible
39361
+ [`borderColor-${COMP$h}--disabled`]: "initial"
39130
39362
  }
39131
39363
  });
39132
39364
  const autoCompleteComponentRenderer = createComponentRenderer(
@@ -41454,7 +41686,7 @@ function InspectButton$1({
41454
41686
  htmlElement.removeEventListener("mouseenter", mouseenter);
41455
41687
  htmlElement.removeEventListener("mouseleave", mouseleave);
41456
41688
  };
41457
- }, [inspectId, node, inspectMode, setShowCode]);
41689
+ }, [inspectId, node, inspectMode, setShowCode, setInspectedNode]);
41458
41690
  return /* @__PURE__ */ jsx(Fragment, { children: inspectMode ? null : visible && !!root2 && createPortal(
41459
41691
  /* @__PURE__ */ jsx(
41460
41692
  Button,
@@ -44718,7 +44950,7 @@ const Dialog = ({
44718
44950
  ] });
44719
44951
  };
44720
44952
  const ConfirmationModalContext = React__default.createContext({
44721
- confirm: async (title2, message, actionLabel) => false
44953
+ confirm: (title2, message, actionLabel) => Promise.resolve(false)
44722
44954
  });
44723
44955
  const useConfirm = () => useContext(ConfirmationModalContext);
44724
44956
  const ConfirmationModalContextProvider = ({ children }) => {
@@ -44740,7 +44972,7 @@ const ConfirmationModalContextProvider = ({ children }) => {
44740
44972
  }
44741
44973
  }, [showConfirmationModal]);
44742
44974
  const handleShow = useCallback(
44743
- async (title22, message2, actionLabel) => {
44975
+ (title22, message2, actionLabel) => {
44744
44976
  if (typeof title22 === "string") {
44745
44977
  setTitle(title22);
44746
44978
  setButtons([
@@ -45524,7 +45756,7 @@ function IconProvider({ children }) {
45524
45756
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
45525
45757
  ] });
45526
45758
  }
45527
- const version = "0.10.19";
45759
+ const version = "0.10.20";
45528
45760
  const miscellaneousUtils = {
45529
45761
  capitalize,
45530
45762
  pluralize: pluralize$1,
@@ -46031,7 +46263,7 @@ async function evalCalculatedMemberAccessAsync(evaluator, thisStack, expr, evalC
46031
46263
  await completeExprValue(expr.member, thread);
46032
46264
  return evalCalculatedMemberAccessCore(thisStack, expr, evalContext, thread);
46033
46265
  }
46034
- async function evalSequenceAsync(evaluator, thisStack, expr, evalContext, thread) {
46266
+ function evalSequenceAsync(evaluator, thisStack, expr, evalContext, thread) {
46035
46267
  if (!expr.exprs || expr.exprs.length === 0) {
46036
46268
  throw new Error(`Missing expression sequence`);
46037
46269
  }
@@ -46143,7 +46375,7 @@ async function evalAssignmentAsync(evaluator, thisStack, expr, evalContext, thre
46143
46375
  const rootScope = getRootIdScope(leftValue, evalContext, thread);
46144
46376
  const updatesState = rootScope && rootScope.type !== "block";
46145
46377
  if (updatesState && evalContext.onWillUpdate) {
46146
- evalContext.onWillUpdate(rootScope, rootScope.name, "assignment");
46378
+ void evalContext.onWillUpdate(rootScope, rootScope.name, "assignment");
46147
46379
  }
46148
46380
  await evaluator(thisStack, leftValue, evalContext, thread);
46149
46381
  thisStack.pop();
@@ -46153,7 +46385,7 @@ async function evalAssignmentAsync(evaluator, thisStack, expr, evalContext, thre
46153
46385
  await completeExprValue(expr.expr, thread);
46154
46386
  const value = evalAssignmentCore(thisStack, expr, evalContext, thread);
46155
46387
  if (updatesState && evalContext.onDidUpdate) {
46156
- evalContext.onDidUpdate(rootScope, rootScope.name, "assignment");
46388
+ void evalContext.onDidUpdate(rootScope, rootScope.name, "assignment");
46157
46389
  }
46158
46390
  return value;
46159
46391
  }
@@ -46161,14 +46393,14 @@ async function evalPreOrPostAsync(evaluator, thisStack, expr, evalContext, threa
46161
46393
  const rootScope = getRootIdScope(expr.expr, evalContext, thread);
46162
46394
  const updatesState = rootScope && rootScope.type !== "block";
46163
46395
  if (updatesState && evalContext.onWillUpdate) {
46164
- evalContext.onWillUpdate(rootScope, rootScope.name, "pre-post");
46396
+ void evalContext.onWillUpdate(rootScope, rootScope.name, "pre-post");
46165
46397
  }
46166
46398
  await evaluator(thisStack, expr.expr, evalContext, thread);
46167
46399
  thisStack.pop();
46168
46400
  await completeExprValue(expr.expr, thread);
46169
46401
  const value = evalPreOrPostCore(thisStack, expr, evalContext, thread);
46170
46402
  if (updatesState && evalContext.onDidUpdate) {
46171
- evalContext.onDidUpdate(rootScope, rootScope.name, "pre-post");
46403
+ void evalContext.onDidUpdate(rootScope, rootScope.name, "pre-post");
46172
46404
  }
46173
46405
  return value;
46174
46406
  }
@@ -46216,8 +46448,8 @@ async function evalFunctionInvocationAsync(evaluator, thisStack, expr, evalConte
46216
46448
  functionArgs.push(...funcArg);
46217
46449
  } else {
46218
46450
  if (arg.type === T_ARROW_EXPRESSION) {
46219
- const funcArg = await createArrowFunctionAsync(evaluator, arg);
46220
- const wrappedFunc = async (...args) => {
46451
+ const funcArg = createArrowFunctionAsync(evaluator, arg);
46452
+ const wrappedFunc = (...args) => {
46221
46453
  return funcArg(arg.args, evalContext, thread, ...args);
46222
46454
  };
46223
46455
  functionArgs.push(wrappedFunc);
@@ -46225,7 +46457,7 @@ async function evalFunctionInvocationAsync(evaluator, thisStack, expr, evalConte
46225
46457
  await evaluator([], arg, evalContext, thread);
46226
46458
  const funcArg = await completeExprValue(arg, thread);
46227
46459
  if (funcArg == null ? void 0 : funcArg._ARROW_EXPR_) {
46228
- const wrappedFuncArg = await createArrowFunctionAsync(evaluator, funcArg);
46460
+ const wrappedFuncArg = createArrowFunctionAsync(evaluator, funcArg);
46229
46461
  const wrappedFunc = (...args) => wrappedFuncArg(funcArg.args, evalContext, thread, ...args);
46230
46462
  functionArgs.push(wrappedFunc);
46231
46463
  } else {
@@ -46254,18 +46486,18 @@ async function evalFunctionInvocationAsync(evaluator, thisStack, expr, evalConte
46254
46486
  const rootScope = getRootIdScope(expr.obj, evalContext, thread);
46255
46487
  const updatesState = rootScope && rootScope.type !== "block";
46256
46488
  if (updatesState && evalContext.onWillUpdate) {
46257
- evalContext.onWillUpdate(rootScope, rootScope.name, "function-call");
46489
+ void evalContext.onWillUpdate(rootScope, rootScope.name, "function-call");
46258
46490
  }
46259
46491
  const value = ((_b = evalContext.options) == null ? void 0 : _b.defaultToOptionalMemberAccess) ? functionObj == null ? void 0 : functionObj.call(currentContext, ...functionArgs) : functionObj.call(currentContext, ...functionArgs);
46260
46492
  let returnValue = await completePromise(value);
46261
46493
  if (updatesState && evalContext.onDidUpdate) {
46262
- evalContext.onDidUpdate(rootScope, rootScope.name, "function-call");
46494
+ void evalContext.onDidUpdate(rootScope, rootScope.name, "function-call");
46263
46495
  }
46264
46496
  setExprValue(expr, { value: returnValue }, thread);
46265
46497
  thisStack.push(returnValue);
46266
46498
  return returnValue;
46267
46499
  }
46268
- async function createArrowFunctionAsync(evaluator, expr) {
46500
+ function createArrowFunctionAsync(evaluator, expr) {
46269
46501
  return async (...args) => {
46270
46502
  const runTimeEvalContext = args[1];
46271
46503
  const runtimeThread = args[2];
@@ -46391,7 +46623,7 @@ async function createArrowFunctionAsync(evaluator, expr) {
46391
46623
  return returnValue;
46392
46624
  };
46393
46625
  }
46394
- async function completePromise(input2) {
46626
+ function completePromise(input2) {
46395
46627
  const visited = /* @__PURE__ */ new Map();
46396
46628
  return completePromiseInternal(input2);
46397
46629
  async function completePromiseInternal(input22) {
@@ -48872,7 +49104,7 @@ const Animation$1 = forwardRef(function Animation2({
48872
49104
  const [reset, setReset] = useState(false);
48873
49105
  const [count, setCount] = useState(0);
48874
49106
  const times = 1;
48875
- const animationId = useId();
49107
+ useId();
48876
49108
  const animationSettings = useMemo(
48877
49109
  () => ({
48878
49110
  from: _animation.from,
@@ -48915,9 +49147,9 @@ const Animation$1 = forwardRef(function Animation2({
48915
49147
  onStart,
48916
49148
  onStop,
48917
49149
  reset,
49150
+ once,
48918
49151
  reverse2,
48919
- toggle,
48920
- animationId
49152
+ toggle
48921
49153
  ]
48922
49154
  );
48923
49155
  const [springs, api] = useSpring(
@@ -48931,7 +49163,7 @@ const Animation$1 = forwardRef(function Animation2({
48931
49163
  });
48932
49164
  const composedRef = ref ? composeRefs(ref, forwardedRef) : forwardedRef;
48933
49165
  const startAnimation = useCallback(() => {
48934
- api.start(_animation);
49166
+ void api.start(_animation);
48935
49167
  return () => {
48936
49168
  api.stop();
48937
49169
  };
@@ -48950,7 +49182,7 @@ const Animation$1 = forwardRef(function Animation2({
48950
49182
  children,
48951
49183
  (child, index) => animateWhenInView ? /* @__PURE__ */ jsx(AnimatedComponent, { ...rest, style: animationStyles, ref: composedRef, children: child }, index) : /* @__PURE__ */ jsx(AnimatedComponent, { ...rest, style: springs, ref: forwardedRef, children: child }, index)
48952
49184
  );
48953
- }, [animateWhenInView, animationStyles, children, springs, rest]);
49185
+ }, [animateWhenInView, animationStyles, children, springs, rest, composedRef, forwardedRef]);
48954
49186
  return content2;
48955
49187
  });
48956
49188
  const tooltipBehavior = {
@@ -48981,12 +49213,11 @@ const animationBehavior = {
48981
49213
  var _a2, _b;
48982
49214
  const { extractValue } = context;
48983
49215
  const animation = extractValue((_a2 = context.node.props) == null ? void 0 : _a2.animation, true);
48984
- const animationOptions = extractValue(
48985
- (_b = context.node.props) == null ? void 0 : _b.animationOptions,
48986
- true
48987
- );
49216
+ const animationOptions = extractValue((_b = context.node.props) == null ? void 0 : _b.animationOptions, true);
48988
49217
  const parsedOptions = parseAnimationOptions(animationOptions);
48989
- return /* @__PURE__ */ jsx(Animation$1, { animation: parseAnimation(animation), ...parsedOptions, children: node });
49218
+ return /* @__PURE__ */ jsx(Animation$1, { animation: parseAnimation(animation), ...parsedOptions, children: context.node.type === "ModalDialog" ? cloneElement(node, {
49219
+ externalAnimation: true
49220
+ }) : node });
48990
49221
  }
48991
49222
  };
48992
49223
  const labelBehavior = {
@@ -49980,11 +50211,6 @@ function AppContent({
49980
50211
  root2
49981
50212
  ]);
49982
50213
  const [appState, setAppState] = useState(EMPTY_OBJECT);
49983
- const registerAppState = useCallback((bucket, initialValue) => {
49984
- setAppState((prev) => {
49985
- return { ...prev, [bucket]: initialValue };
49986
- });
49987
- }, []);
49988
50214
  const update = useCallback((bucket, patch) => {
49989
50215
  setAppState((prev) => {
49990
50216
  return {
@@ -49998,11 +50224,10 @@ function AppContent({
49998
50224
  }, []);
49999
50225
  const appStateContextValue = useMemo(() => {
50000
50226
  return {
50001
- registerAppState,
50002
50227
  appState,
50003
50228
  update
50004
50229
  };
50005
- }, [appState, registerAppState, update]);
50230
+ }, [appState, update]);
50006
50231
  return /* @__PURE__ */ jsx(AppContext.Provider, { value: appContextValue, children: /* @__PURE__ */ jsx(AppStateContext.Provider, { value: appStateContextValue, children: /* @__PURE__ */ jsx(StandaloneComponent, { node: rootContainer, children }) }) });
50007
50232
  }
50008
50233
  function signError(error2) {
@@ -51068,26 +51293,34 @@ function StandaloneApp({
51068
51293
  const shouldDecorateWithTestId = decorateComponentsWithTestId || // @ts-ignore
51069
51294
  (typeof window !== "undefined" ? window.XMLUI_MOCK_TEST_ID : false);
51070
51295
  const useHashBasedRouting = (appGlobals == null ? void 0 : appGlobals.useHashBasedRouting) ?? true;
51071
- return /* @__PURE__ */ jsx(ApiInterceptorProvider, { interceptor: mockedApi, useHashBasedRouting, waitForApiInterceptor, children: /* @__PURE__ */ jsx(
51072
- AppRoot,
51296
+ return /* @__PURE__ */ jsx(
51297
+ ApiInterceptorProvider,
51073
51298
  {
51074
- projectCompilation,
51075
- decorateComponentsWithTestId: shouldDecorateWithTestId,
51076
- node: entryPoint,
51077
- standalone: true,
51078
- debugEnabled,
51079
- routerBaseName: typeof window !== "undefined" ? window.__PUBLIC_PATH || "" : "",
51080
- globalProps,
51081
- defaultTheme,
51082
- defaultTone,
51083
- resources,
51084
- resourceMap,
51085
- sources,
51086
- extensionManager,
51087
- contributes,
51088
- children
51299
+ interceptor: mockedApi,
51300
+ useHashBasedRouting,
51301
+ waitForApiInterceptor,
51302
+ children: /* @__PURE__ */ jsx(
51303
+ AppRoot,
51304
+ {
51305
+ projectCompilation,
51306
+ decorateComponentsWithTestId: shouldDecorateWithTestId,
51307
+ node: entryPoint,
51308
+ standalone: true,
51309
+ debugEnabled,
51310
+ routerBaseName: typeof window !== "undefined" ? window.__PUBLIC_PATH || "" : "",
51311
+ globalProps,
51312
+ defaultTheme,
51313
+ defaultTone,
51314
+ resources,
51315
+ resourceMap,
51316
+ sources,
51317
+ extensionManager,
51318
+ contributes,
51319
+ children
51320
+ }
51321
+ )
51089
51322
  }
51090
- ) });
51323
+ );
51091
51324
  }
51092
51325
  async function parseComponentMarkupResponse(response) {
51093
51326
  if (!response.ok) {
@@ -51316,7 +51549,7 @@ async function loadThemeFile(url) {
51316
51549
  }
51317
51550
  }
51318
51551
  }
51319
- async function fetchWithoutCache(url) {
51552
+ function fetchWithoutCache(url) {
51320
51553
  return fetch(normalizePath(url), {
51321
51554
  headers: {
51322
51555
  "Cache-Control": "no-cache, no-store"
@@ -51337,7 +51570,7 @@ function useStandalone(standaloneAppDef, runtime = EMPTY_OBJECT, extensionManage
51337
51570
  });
51338
51571
  const [projectCompilation, setProjectCompilation] = useState(null);
51339
51572
  useIsomorphicLayoutEffect(() => {
51340
- (async function() {
51573
+ void async function() {
51341
51574
  var _a2, _b, _c, _d, _e;
51342
51575
  const resolvedRuntime = resolveRuntime(runtime);
51343
51576
  const appDef = mergeAppDefWithRuntime(resolvedRuntime.standaloneApp, standaloneAppDef);
@@ -51623,7 +51856,7 @@ function useStandalone(standaloneAppDef, runtime = EMPTY_OBJECT, extensionManage
51623
51856
  });
51624
51857
  setProjectCompilation(resolvedRuntime.projectCompilation);
51625
51858
  setStandaloneApp(newAppDef);
51626
- })();
51859
+ }();
51627
51860
  }, [runtime, standaloneAppDef]);
51628
51861
  return { standaloneApp, projectCompilation };
51629
51862
  }