xmlui 0.11.19 → 0.11.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.
@@ -12,6 +12,7 @@ import Color from "color";
12
12
  import toast, { Toaster, ToastBar } from "react-hot-toast";
13
13
  import { useLocation, NavLink as NavLink$1, useNavigate, Link, Routes, Route, Navigate, useParams, useSearchParams } from "@remix-run/react";
14
14
  import * as SheetPrimitive from "@radix-ui/react-dialog";
15
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
15
16
  import { DropdownMenu as DropdownMenu$1, DropdownMenuTrigger, DropdownMenuPortal, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuSub, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuSubContent as DropdownMenuSubContent$1 } from "@radix-ui/react-dropdown-menu";
16
17
  import { createContext as createContext$1, useContextSelector } from "use-context-selector";
17
18
  import { parseRegExpLiteral } from "@eslint-community/regexpp";
@@ -3966,7 +3967,7 @@ const defaultCompResult = {
3966
3967
  cssProps: {},
3967
3968
  issues: /* @__PURE__ */ new Set()
3968
3969
  };
3969
- function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
3970
+ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext, disableInlineStyle) {
3970
3971
  const result = {
3971
3972
  cssProps: {},
3972
3973
  issues: /* @__PURE__ */ new Set()
@@ -3974,128 +3975,128 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
3974
3975
  if (!!getOrientation(layoutContext)) {
3975
3976
  result.cssProps.flexShrink = 0;
3976
3977
  }
3977
- collectCss("width");
3978
+ collectCss("width", false);
3978
3979
  const horizontalStarSize = getHorizontalStarSize(result.cssProps.width, layoutContext);
3979
3980
  if (horizontalStarSize !== null) {
3980
3981
  result.cssProps.flex = horizontalStarSize;
3981
3982
  result.cssProps.flexShrink = 1;
3982
3983
  }
3983
- collectCss("minWidth");
3984
- collectCss("maxWidth");
3985
- collectCss("height");
3984
+ collectCss("minWidth", false);
3985
+ collectCss("maxWidth", false);
3986
+ collectCss("height", false);
3986
3987
  const verticalStarSize = getVerticalStarSize(result.cssProps.height, layoutContext);
3987
3988
  if (verticalStarSize !== null) {
3988
3989
  result.cssProps.flex = verticalStarSize;
3989
3990
  result.cssProps.flexShrink = 1;
3990
3991
  }
3991
- collectCss("minHeight");
3992
- collectCss("maxHeight");
3993
- collectCss("top");
3994
- collectCss("right");
3995
- collectCss("bottom");
3996
- collectCss("left");
3997
- collectCss("gap");
3998
- collectCss("padding");
3992
+ collectCss("minHeight", false);
3993
+ collectCss("maxHeight", false);
3994
+ collectCss("top", disableInlineStyle);
3995
+ collectCss("right", disableInlineStyle);
3996
+ collectCss("bottom", disableInlineStyle);
3997
+ collectCss("left", disableInlineStyle);
3998
+ collectCss("gap", disableInlineStyle);
3999
+ collectCss("padding", disableInlineStyle);
3999
4000
  const paddingHorizontal = transformLayoutValue("paddingHorizontal");
4000
4001
  if (paddingHorizontal) {
4001
4002
  result.cssProps.paddingLeft = paddingHorizontal;
4002
4003
  result.cssProps.paddingRight = paddingHorizontal;
4003
4004
  }
4004
- collectCss("paddingRight");
4005
- collectCss("paddingLeft");
4005
+ collectCss("paddingRight", disableInlineStyle);
4006
+ collectCss("paddingLeft", disableInlineStyle);
4006
4007
  const paddingVertical = transformLayoutValue("paddingVertical");
4007
4008
  if (paddingVertical) {
4008
4009
  result.cssProps.paddingTop = paddingVertical;
4009
4010
  result.cssProps.paddingBottom = paddingVertical;
4010
4011
  }
4011
- collectCss("paddingTop");
4012
- collectCss("paddingBottom");
4013
- collectCss("margin");
4012
+ collectCss("paddingTop", disableInlineStyle);
4013
+ collectCss("paddingBottom", disableInlineStyle);
4014
+ collectCss("margin", disableInlineStyle);
4014
4015
  const marginHorizontal = transformLayoutValue("marginHorizontal");
4015
4016
  if (marginHorizontal) {
4016
4017
  result.cssProps.marginLeft = marginHorizontal;
4017
4018
  result.cssProps.marginRight = marginHorizontal;
4018
4019
  }
4019
- collectCss("marginRight");
4020
- collectCss("marginLeft");
4020
+ collectCss("marginRight", disableInlineStyle);
4021
+ collectCss("marginLeft", disableInlineStyle);
4021
4022
  const marginVertical = transformLayoutValue("marginVertical");
4022
4023
  if (marginVertical) {
4023
4024
  result.cssProps.marginTop = marginVertical;
4024
4025
  result.cssProps.marginBottom = marginVertical;
4025
4026
  }
4026
- collectCss("marginTop");
4027
- collectCss("marginBottom");
4028
- collectCss("border");
4027
+ collectCss("marginTop", disableInlineStyle);
4028
+ collectCss("marginBottom", disableInlineStyle);
4029
+ collectCss("border", disableInlineStyle);
4029
4030
  const horizontalBorder = transformLayoutValue("borderHorizontal");
4030
4031
  if (horizontalBorder) {
4031
4032
  result.cssProps.borderLeft = horizontalBorder;
4032
4033
  result.cssProps.borderRight = horizontalBorder;
4033
4034
  }
4034
- collectCss("borderRight");
4035
- collectCss("borderLeft");
4035
+ collectCss("borderRight", disableInlineStyle);
4036
+ collectCss("borderLeft", disableInlineStyle);
4036
4037
  const verticalBorder = transformLayoutValue("borderVertical");
4037
4038
  if (verticalBorder) {
4038
4039
  result.cssProps.borderTop = verticalBorder;
4039
4040
  result.cssProps.borderBottom = verticalBorder;
4040
4041
  }
4041
- collectCss("borderTop");
4042
- collectCss("borderBottom");
4043
- collectCss("borderColor");
4044
- collectCss("borderStyle");
4045
- collectCss("borderWidth");
4046
- collectCss("borderRadius");
4047
- collectCss("radiusTopLeft", "borderTopLeftRadius");
4048
- collectCss("radiusTopRight", "borderTopRightRadius");
4049
- collectCss("radiusBottomLeft", "borderBottomLeftRadius");
4050
- collectCss("radiusBottomRight", "borderBottomRightRadius");
4051
- collectCss("color");
4052
- collectCss("fontFamily");
4053
- collectCss("fontSize");
4054
- collectCss("fontWeight");
4055
- collectCss("fontStyle");
4056
- collectCss("fontVariant");
4057
- collectCss("lineBreak");
4058
- collectCss("textDecoration");
4059
- collectCss("textDecorationLine");
4060
- collectCss("textDecorationColor");
4061
- collectCss("textDecorationStyle");
4062
- collectCss("textDecorationThickness");
4063
- collectCss("textIndent");
4064
- collectCss("textShadow");
4065
- collectCss("textUnderlineOffset");
4066
- collectCss("userSelect");
4067
- collectCss("letterSpacing");
4068
- collectCss("textTransform");
4069
- collectCss("lineHeight");
4070
- collectCss("textAlign");
4071
- collectCss("textAlignLast");
4072
- collectCss("textWrap");
4073
- collectCss("wordBreak");
4074
- collectCss("wordSpacing");
4075
- collectCss("wordWrap");
4076
- collectCss("writingMode");
4077
- collectCss("backgroundColor");
4078
- collectCss("background");
4079
- collectCss("boxShadow");
4080
- collectCss("direction");
4081
- collectCss("overflowX");
4082
- collectCss("overflowY");
4083
- collectCss("zIndex");
4084
- collectCss("opacity");
4085
- collectCss("zoom");
4086
- collectCss("cursor");
4087
- collectCss("whiteSpace");
4088
- collectCss("transform");
4089
- collectCss("outline");
4090
- collectCss("outlineWidth");
4091
- collectCss("outlineColor");
4092
- collectCss("outlineStyle");
4093
- collectCss("outlineOffset");
4042
+ collectCss("borderTop", disableInlineStyle);
4043
+ collectCss("borderBottom", disableInlineStyle);
4044
+ collectCss("borderColor", disableInlineStyle);
4045
+ collectCss("borderStyle", disableInlineStyle);
4046
+ collectCss("borderWidth", disableInlineStyle);
4047
+ collectCss("borderRadius", disableInlineStyle);
4048
+ collectCss("radiusTopLeft", disableInlineStyle, "borderTopLeftRadius");
4049
+ collectCss("radiusTopRight", disableInlineStyle, "borderTopRightRadius");
4050
+ collectCss("radiusBottomLeft", disableInlineStyle, "borderBottomLeftRadius");
4051
+ collectCss("radiusBottomRight", disableInlineStyle, "borderBottomRightRadius");
4052
+ collectCss("color", disableInlineStyle);
4053
+ collectCss("fontFamily", disableInlineStyle);
4054
+ collectCss("fontSize", disableInlineStyle);
4055
+ collectCss("fontWeight", disableInlineStyle);
4056
+ collectCss("fontStyle", disableInlineStyle);
4057
+ collectCss("fontVariant", disableInlineStyle);
4058
+ collectCss("lineBreak", disableInlineStyle);
4059
+ collectCss("textDecoration", disableInlineStyle);
4060
+ collectCss("textDecorationLine", disableInlineStyle);
4061
+ collectCss("textDecorationColor", disableInlineStyle);
4062
+ collectCss("textDecorationStyle", disableInlineStyle);
4063
+ collectCss("textDecorationThickness", disableInlineStyle);
4064
+ collectCss("textIndent", disableInlineStyle);
4065
+ collectCss("textShadow", disableInlineStyle);
4066
+ collectCss("textUnderlineOffset", disableInlineStyle);
4067
+ collectCss("userSelect", disableInlineStyle);
4068
+ collectCss("letterSpacing", disableInlineStyle);
4069
+ collectCss("textTransform", disableInlineStyle);
4070
+ collectCss("lineHeight", disableInlineStyle);
4071
+ collectCss("textAlign", disableInlineStyle);
4072
+ collectCss("textAlignLast", disableInlineStyle);
4073
+ collectCss("textWrap", disableInlineStyle);
4074
+ collectCss("wordBreak", disableInlineStyle);
4075
+ collectCss("wordSpacing", disableInlineStyle);
4076
+ collectCss("wordWrap", disableInlineStyle);
4077
+ collectCss("writingMode", disableInlineStyle);
4078
+ collectCss("backgroundColor", disableInlineStyle);
4079
+ collectCss("background", disableInlineStyle);
4080
+ collectCss("boxShadow", disableInlineStyle);
4081
+ collectCss("direction", disableInlineStyle);
4082
+ collectCss("overflowX", disableInlineStyle);
4083
+ collectCss("overflowY", disableInlineStyle);
4084
+ collectCss("zIndex", disableInlineStyle);
4085
+ collectCss("opacity", disableInlineStyle);
4086
+ collectCss("zoom", disableInlineStyle);
4087
+ collectCss("cursor", disableInlineStyle);
4088
+ collectCss("whiteSpace", disableInlineStyle);
4089
+ collectCss("transform", disableInlineStyle);
4090
+ collectCss("outline", disableInlineStyle);
4091
+ collectCss("outlineWidth", disableInlineStyle);
4092
+ collectCss("outlineColor", disableInlineStyle);
4093
+ collectCss("outlineStyle", disableInlineStyle);
4094
+ collectCss("outlineOffset", disableInlineStyle);
4094
4095
  const wrapContent = transformLayoutValue("wrapContent");
4095
4096
  if (wrapContent) {
4096
4097
  result.cssProps.flexWrap = wrapContent === "true" ? "wrap" : "nowrap";
4097
4098
  }
4098
- collectCss("canShrink", "flexShrink");
4099
+ collectCss("canShrink", disableInlineStyle, "flexShrink");
4099
4100
  const canShrink = transformLayoutValue("canShrink");
4100
4101
  if (canShrink) {
4101
4102
  result.cssProps.flexShrink = canShrink === "true" ? 1 : 0;
@@ -4169,7 +4170,8 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
4169
4170
  return value;
4170
4171
  }
4171
4172
  }
4172
- function collectCss(prop, propCssName = "") {
4173
+ function collectCss(prop, disableInlineStyle2 = false, propCssName = "") {
4174
+ if (disableInlineStyle2) return;
4173
4175
  const value = transformLayoutValue(prop);
4174
4176
  if (value) {
4175
4177
  result.cssProps[propCssName || prop] = value;
@@ -7277,6 +7279,7 @@ function Theme({
7277
7279
  id,
7278
7280
  isRoot = defaultProps$1d.isRoot,
7279
7281
  applyIf,
7282
+ disableInlineStyle,
7280
7283
  renderChild: renderChild2,
7281
7284
  node,
7282
7285
  tone,
@@ -7373,7 +7376,8 @@ function Theme({
7373
7376
  themeStyles: themeCssVars,
7374
7377
  themeVars: allThemeVarsWithResolvedHierarchicalVars,
7375
7378
  getResourceUrl,
7376
- getThemeVar
7379
+ getThemeVar,
7380
+ disableInlineStyle
7377
7381
  };
7378
7382
  return themeVal;
7379
7383
  }, [
@@ -7384,7 +7388,8 @@ function Theme({
7384
7388
  getResourceUrl,
7385
7389
  getThemeVar,
7386
7390
  themeCssVars,
7387
- themeTone
7391
+ themeTone,
7392
+ disableInlineStyle
7388
7393
  ]);
7389
7394
  const { indexing } = useIndexerContext();
7390
7395
  const rootClasses = useMemo(() => {
@@ -7479,6 +7484,11 @@ const ThemeMd = createMetadata({
7479
7484
  void 0,
7480
7485
  "boolean",
7481
7486
  true
7487
+ ),
7488
+ disableInlineStyle: d(
7489
+ `This property controls whether inline styles are disabled for components within this theme. When undefined, uses the appGlobals.disableInlineStyle setting.`,
7490
+ void 0,
7491
+ "boolean"
7482
7492
  )
7483
7493
  },
7484
7494
  opaque: true
@@ -7499,6 +7509,7 @@ const themeComponentRenderer = createComponentRenderer(
7499
7509
  id: extractValue.asOptionalString(node.props.themeId),
7500
7510
  isRoot: extractValue.asOptionalBoolean(node.props.root),
7501
7511
  applyIf: extractValue.asOptionalBoolean(node.props.applyIf),
7512
+ disableInlineStyle: extractValue.asOptionalBoolean(node.props.disableInlineStyle),
7502
7513
  layoutContext,
7503
7514
  renderChild: renderChild2,
7504
7515
  tone: themeTone,
@@ -17508,37 +17519,20 @@ const Toggle = forwardRef(function Toggle2({
17508
17519
  const MemoizedItem = memo(
17509
17520
  ({
17510
17521
  node,
17511
- item: item2,
17512
- context,
17513
17522
  renderChild: renderChild2,
17514
17523
  layoutContext,
17515
- contextVars = EMPTY_OBJECT,
17516
- itemKey = "$item",
17517
- contextKey = "$context"
17524
+ contextVars = EMPTY_OBJECT
17518
17525
  }) => {
17519
17526
  const shallowMemoedContextVars = useShallowCompareMemoize(contextVars);
17520
- const nodeWithItem = useMemo(() => {
17521
- if (itemKey === contextKey) {
17522
- return {
17523
- type: "Container",
17524
- contextVars: {
17525
- [itemKey]: { ...item2, ...context },
17526
- ...shallowMemoedContextVars
17527
- },
17528
- children: Array.isArray(node) ? node : [node]
17529
- };
17530
- }
17531
- return {
17527
+ const nodeWithContextVars = useMemo(
17528
+ () => ({
17532
17529
  type: "Container",
17533
- contextVars: {
17534
- [itemKey]: item2,
17535
- [contextKey]: context,
17536
- ...shallowMemoedContextVars
17537
- },
17530
+ contextVars: shallowMemoedContextVars,
17538
17531
  children: Array.isArray(node) ? node : [node]
17539
- };
17540
- }, [context, item2, node, shallowMemoedContextVars, itemKey, contextKey]);
17541
- return /* @__PURE__ */ jsx(Fragment, { children: renderChild2(nodeWithItem, layoutContext) });
17532
+ }),
17533
+ [node, shallowMemoedContextVars]
17534
+ );
17535
+ return /* @__PURE__ */ jsx(Fragment, { children: renderChild2(nodeWithContextVars, layoutContext) });
17542
17536
  }
17543
17537
  );
17544
17538
  MemoizedItem.displayName = "MemoizedItem";
@@ -18492,36 +18486,8 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
18492
18486
  setOpen(false);
18493
18487
  }, []);
18494
18488
  const contentRef = useRef(null);
18495
- const handleKeyDown = useCallback((event) => {
18496
- if (event.key === "Escape") {
18497
- setOpen(false);
18498
- return;
18499
- }
18500
- if (event.key === "ArrowDown" || event.key === "ArrowUp") {
18501
- event.preventDefault();
18502
- const content2 = contentRef.current;
18503
- if (!content2) return;
18504
- const menuItems = Array.from(
18505
- content2.querySelectorAll('[role="menuitem"]:not([class*="disabled"])')
18506
- );
18507
- if (menuItems.length === 0) return;
18508
- const currentIndex = menuItems.findIndex((item2) => item2 === document.activeElement);
18509
- let nextIndex;
18510
- if (currentIndex === -1) {
18511
- nextIndex = event.key === "ArrowDown" ? 0 : menuItems.length - 1;
18512
- } else if (event.key === "ArrowDown") {
18513
- nextIndex = currentIndex < menuItems.length - 1 ? currentIndex + 1 : 0;
18514
- } else {
18515
- nextIndex = currentIndex > 0 ? currentIndex - 1 : menuItems.length - 1;
18516
- }
18517
- menuItems[nextIndex]?.focus();
18518
- }
18519
- if (event.key === "Enter" || event.key === " ") {
18520
- return;
18521
- }
18522
- }, []);
18523
18489
  return /* @__PURE__ */ jsx(DropdownMenuContext.Provider, { value: { closeMenu }, children: /* @__PURE__ */ jsxs(
18524
- Popover,
18490
+ DropdownMenuPrimitive.Root,
18525
18491
  {
18526
18492
  open,
18527
18493
  onOpenChange: async (isOpen) => {
@@ -18545,31 +18511,20 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
18545
18511
  },
18546
18512
  modal,
18547
18513
  children: [
18548
- /* @__PURE__ */ jsx(
18549
- PopoverTrigger,
18514
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.Trigger, { ...rest, asChild: true, disabled: disabled2, ref, children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx(
18515
+ Button,
18550
18516
  {
18551
- ...rest,
18552
- asChild: true,
18517
+ icon: /* @__PURE__ */ jsx(Icon$l, { name: triggerButtonIcon, fallback: "chevrondown" }),
18518
+ iconPosition: triggerButtonIconPosition,
18519
+ type: "button",
18520
+ variant: triggerButtonVariant,
18521
+ themeColor: triggerButtonThemeColor,
18553
18522
  disabled: disabled2,
18554
- ref,
18555
- "aria-haspopup": "menu",
18556
- "aria-expanded": open,
18557
- children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx(
18558
- Button,
18559
- {
18560
- icon: /* @__PURE__ */ jsx(Icon$l, { name: triggerButtonIcon, fallback: "chevrondown" }),
18561
- iconPosition: triggerButtonIconPosition,
18562
- type: "button",
18563
- variant: triggerButtonVariant,
18564
- themeColor: triggerButtonThemeColor,
18565
- disabled: disabled2,
18566
- children: label2
18567
- }
18568
- )
18523
+ children: label2
18569
18524
  }
18570
- ),
18571
- /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
18572
- PopoverContent,
18525
+ ) }),
18526
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: root2, children: /* @__PURE__ */ jsx(
18527
+ DropdownMenuPrimitive.Content,
18573
18528
  {
18574
18529
  ref: contentRef,
18575
18530
  align: alignment,
@@ -18577,13 +18532,8 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
18577
18532
  className: classnames(styles$_.DropdownMenuContent, className, {
18578
18533
  [styles$_.compact]: compact2
18579
18534
  }),
18580
- onOpenAutoFocus: (e) => {
18581
- e.preventDefault();
18582
- contentRef.current?.focus();
18583
- },
18584
- onKeyDownCapture: handleKeyDown,
18585
- role: "menu",
18586
18535
  tabIndex: -1,
18536
+ loop: true,
18587
18537
  children
18588
18538
  }
18589
18539
  ) })
@@ -18617,25 +18567,8 @@ const MenuItem = forwardRef(function MenuItem2({
18617
18567
  },
18618
18568
  [enabled2, onClick, context]
18619
18569
  );
18620
- const handleKeyDown = useCallback(
18621
- (event) => {
18622
- if (!enabled2) return;
18623
- if (event.key === "Enter") {
18624
- event.preventDefault();
18625
- event.stopPropagation();
18626
- onClick(event);
18627
- context?.closeMenu();
18628
- } else if (event.key === " ") {
18629
- event.preventDefault();
18630
- event.stopPropagation();
18631
- onClick(event);
18632
- context?.closeMenu();
18633
- }
18634
- },
18635
- [enabled2, onClick, context]
18636
- );
18637
18570
  return /* @__PURE__ */ jsxs(
18638
- "div",
18571
+ DropdownMenuPrimitive.Item,
18639
18572
  {
18640
18573
  style: style2,
18641
18574
  className: classnames(className, styles$_.DropdownMenuItem, {
@@ -18645,7 +18578,6 @@ const MenuItem = forwardRef(function MenuItem2({
18645
18578
  }),
18646
18579
  ref,
18647
18580
  onClick: handleClick,
18648
- onKeyDown: handleKeyDown,
18649
18581
  role: "menuitem",
18650
18582
  tabIndex: enabled2 ? 0 : -1,
18651
18583
  children: [
@@ -18659,28 +18591,14 @@ const MenuItem = forwardRef(function MenuItem2({
18659
18591
  const SubMenuItem = forwardRef(function SubMenuItem2({ children, label: label2, triggerTemplate }, ref) {
18660
18592
  const { root: root2 } = useTheme();
18661
18593
  const [open, setOpen] = useState(false);
18662
- return /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, modal: false, children: [
18663
- /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
18664
- "div",
18665
- {
18666
- className: styles$_.DropdownMenuSubTrigger,
18667
- role: "menuitem",
18668
- tabIndex: 0,
18669
- ref,
18670
- onMouseEnter: () => setOpen(true),
18671
- onMouseLeave: () => setOpen(false),
18672
- children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx("div", { children: label2 })
18673
- }
18674
- ) }),
18675
- /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
18676
- PopoverContent,
18594
+ return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.Sub, { open, onOpenChange: setOpen, children: [
18595
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubTrigger, { ref, className: styles$_.DropdownMenuSubTrigger, asChild: true, children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx("div", { children: label2 }) }),
18596
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: root2, children: /* @__PURE__ */ jsx(
18597
+ DropdownMenuPrimitive.SubContent,
18677
18598
  {
18678
18599
  className: styles$_.DropdownMenuSubContent,
18679
- side: "right",
18680
- align: "start",
18681
- onMouseEnter: () => setOpen(true),
18682
- onMouseLeave: () => setOpen(false),
18683
- onOpenAutoFocus: (e) => e.preventDefault(),
18600
+ sideOffset: 2,
18601
+ loop: true,
18684
18602
  children
18685
18603
  }
18686
18604
  ) })
@@ -19484,7 +19402,7 @@ const FlowLayoutContext = createContext({
19484
19402
  const FlowItemBreak = ({ force }) => /* @__PURE__ */ jsx("div", { className: classnames(styles$X.break, { [styles$X.forceBreak]: force }) });
19485
19403
  const FlowItemWrapper = forwardRef(function FlowItemWrapper2({ children, forceBreak: forceBreak2, ...restProps }, ref) {
19486
19404
  const { rowGap, columnGap, setNumberOfChildren } = useContext(FlowLayoutContext);
19487
- const { mediaSize } = useAppContext();
19405
+ const { mediaSize, appGlobals } = useAppContext();
19488
19406
  useIsomorphicLayoutEffect(() => {
19489
19407
  setNumberOfChildren((prev) => prev + 1);
19490
19408
  return () => {
@@ -19508,10 +19426,11 @@ const FlowItemWrapper = forwardRef(function FlowItemWrapper2({ children, forceBr
19508
19426
  {
19509
19427
  type: "Stack",
19510
19428
  orientation: "horizontal"
19511
- }
19429
+ },
19430
+ appGlobals?.disableInlineStyle
19512
19431
  ).cssProps || {}
19513
19432
  );
19514
- }, [_maxWidth, _minWidth, _width]);
19433
+ }, [_maxWidth, _minWidth, _width, appGlobals]);
19515
19434
  const resolvedWidth = useMemo(() => {
19516
19435
  if (width && typeof width === "string" && width.startsWith("var(")) {
19517
19436
  if (!resolvedCssVars[width]) {
@@ -21451,18 +21370,26 @@ const Form = forwardRef(function({
21451
21370
  children: cancelLabel
21452
21371
  },
21453
21372
  "cancel"
21454
- ) });
21373
+ ) }, PART_CANCEL_BUTTON);
21455
21374
  const submitButton = useMemo(
21456
- () => /* @__PURE__ */ jsx(Part, { partId: PART_SUBMIT_BUTTON, children: /* @__PURE__ */ jsx(Button, { type: "submit", disabled: !isEnabled2 || !enableSubmit, children: formState.submitInProgress ? saveInProgressLabel : saveLabel }, "submit") }),
21375
+ () => /* @__PURE__ */ jsx(Part, { partId: PART_SUBMIT_BUTTON, children: /* @__PURE__ */ jsx(Button, { type: "submit", disabled: !isEnabled2 || !enableSubmit, children: formState.submitInProgress ? saveInProgressLabel : saveLabel }, "submit") }, PART_SUBMIT_BUTTON),
21457
21376
  [isEnabled2, enableSubmit, formState.submitInProgress, saveInProgressLabel, saveLabel]
21458
21377
  );
21378
+ const getData = useCallback(() => {
21379
+ return cloneDeep(cleanUpSubject(formState.subject, formState.noSubmitFields));
21380
+ }, [formState.subject, formState.noSubmitFields]);
21381
+ const getIsDirtyFlag = useCallback(() => {
21382
+ return isDirty;
21383
+ }, [isDirty]);
21459
21384
  useEffect(() => {
21460
21385
  registerComponentApi?.({
21461
21386
  reset: doReset,
21462
21387
  update: updateData,
21463
- validate: doValidate
21388
+ validate: doValidate,
21389
+ getData,
21390
+ isDirty: getIsDirtyFlag
21464
21391
  });
21465
- }, [doReset, updateData, doValidate, registerComponentApi]);
21392
+ }, [doReset, updateData, doValidate, getData, registerComponentApi, getIsDirtyFlag]);
21466
21393
  let safeButtonRow = /* @__PURE__ */ jsx(Fragment, { children: buttonRow2 || /* @__PURE__ */ jsxs("div", { className: styles$V.buttonRow, children: [
21467
21394
  swapCancelAndSave && [submitButton, cancelButton],
21468
21395
  !swapCancelAndSave && [cancelButton, submitButton]
@@ -21524,7 +21451,8 @@ const FormWithContextVar = forwardRef(function({
21524
21451
  style: style2,
21525
21452
  className,
21526
21453
  lookupEventHandler,
21527
- registerComponentApi
21454
+ registerComponentApi,
21455
+ appContext
21528
21456
  }, ref) {
21529
21457
  const [formState, dispatch] = useReducer(formReducer, initialState);
21530
21458
  const $data = useMemo(() => {
@@ -21560,7 +21488,7 @@ const FormWithContextVar = forwardRef(function({
21560
21488
  const errorNotificationMessage = extractValue.asOptionalString(node.props.errorNotificationMessage) || "";
21561
21489
  const submitUrl = extractValue.asOptionalString(node.props.submitUrl) || extractValue.asOptionalString(node.props._data_url);
21562
21490
  const itemLabelWidth = extractValue.asOptionalString(node.props.itemLabelWidth);
21563
- const { cssProps: itemLabelWidthCssProps } = resolveLayoutProps({ width: itemLabelWidth });
21491
+ const { cssProps: itemLabelWidthCssProps } = resolveLayoutProps({ width: itemLabelWidth }, void 0, appContext?.appGlobals?.disableInlineStyle);
21564
21492
  return /* @__PURE__ */ jsx(Slot, { ref, style: style2, children: /* @__PURE__ */ jsx(
21565
21493
  Form,
21566
21494
  {
@@ -21731,6 +21659,11 @@ const FormMd = createMetadata({
21731
21659
  description: "This method triggers validation on all form fields without submitting the form. It displays validation errors and returns the validation result along with the cleaned form data. This is useful for implementing custom submit buttons or performing operations that require validated data without actually submitting the form.",
21732
21660
  signature: "validate(): Promise<{ isValid: boolean, data: Record<string, any>, errors: ValidationResult[], warnings: ValidationResult[], validationResults: Record<string, ValidationResult> }>",
21733
21661
  returns: "A promise that resolves to an object containing validation status, cleaned data, and detailed validation results."
21662
+ },
21663
+ getData: {
21664
+ description: "This method returns a deep clone of the current form data object. Changes to the returned object do not affect the form's internal state.",
21665
+ signature: "getData(): Record<string, any>",
21666
+ returns: "A deep clone of the current form data object."
21734
21667
  }
21735
21668
  },
21736
21669
  themeVars: parseScssVar(styles$V.themeVars),
@@ -21755,7 +21688,7 @@ const FormMd = createMetadata({
21755
21688
  const formComponentRenderer = createComponentRenderer(
21756
21689
  COMP$1f,
21757
21690
  FormMd,
21758
- ({ node, renderChild: renderChild2, extractValue, className, lookupEventHandler, registerComponentApi }) => {
21691
+ ({ node, renderChild: renderChild2, extractValue, className, lookupEventHandler, registerComponentApi, appContext }) => {
21759
21692
  return /* @__PURE__ */ jsx(
21760
21693
  FormWithContextVar,
21761
21694
  {
@@ -21764,7 +21697,8 @@ const formComponentRenderer = createComponentRenderer(
21764
21697
  extractValue,
21765
21698
  lookupEventHandler,
21766
21699
  className,
21767
- registerComponentApi
21700
+ registerComponentApi,
21701
+ appContext
21768
21702
  }
21769
21703
  );
21770
21704
  }
@@ -22566,9 +22500,10 @@ const SelectTriggerActions = ({
22566
22500
  }) => {
22567
22501
  const hasValue = multiSelect ? Array.isArray(value) && value.length > 0 : value !== void 0 && value !== null && value !== "";
22568
22502
  return /* @__PURE__ */ jsxs("div", { className: styles$Q.actions, children: [
22569
- hasValue && enabled2 && !readOnly2 && clearable && /* @__PURE__ */ jsx(Part, { partId: PART_CLEAR_BUTTON$1, children: /* @__PURE__ */ jsx(
22503
+ hasValue && enabled2 && !readOnly2 && clearable && /* @__PURE__ */ jsx(
22570
22504
  "span",
22571
22505
  {
22506
+ "data-part-id": PART_CLEAR_BUTTON$1,
22572
22507
  className: styles$Q.action,
22573
22508
  onClick: (event) => {
22574
22509
  event.stopPropagation();
@@ -22576,7 +22511,7 @@ const SelectTriggerActions = ({
22576
22511
  },
22577
22512
  children: /* @__PURE__ */ jsx(Icon$l, { name: "close" })
22578
22513
  }
22579
- ) }),
22514
+ ),
22580
22515
  showChevron && /* @__PURE__ */ jsx("span", { className: styles$Q.action, children: /* @__PURE__ */ jsx(Icon$l, { name: "chevrondown" }) })
22581
22516
  ] });
22582
22517
  };
@@ -22845,7 +22780,7 @@ const Select = forwardRef(function Select2({
22845
22780
  },
22846
22781
  modal,
22847
22782
  children: [
22848
- /* @__PURE__ */ jsx(Part, { partId: PART_LIST_WRAPPER$1, children: /* @__PURE__ */ jsxs(
22783
+ /* @__PURE__ */ jsxs(
22849
22784
  PopoverTrigger,
22850
22785
  {
22851
22786
  ...rest,
@@ -22857,6 +22792,7 @@ const Select = forwardRef(function Select2({
22857
22792
  onBlur,
22858
22793
  disabled: !enabled2,
22859
22794
  "aria-expanded": open,
22795
+ "data-part-id": PART_LIST_WRAPPER$1,
22860
22796
  className: classnames(className, styles$Q.selectTrigger, styles$Q[validationStatus], {
22861
22797
  [styles$Q.disabled]: !enabled2,
22862
22798
  [styles$Q.multi]: multiSelect
@@ -22909,7 +22845,7 @@ const Select = forwardRef(function Select2({
22909
22845
  )
22910
22846
  ]
22911
22847
  }
22912
- ) }),
22848
+ ),
22913
22849
  open && /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
22914
22850
  PopoverContent,
22915
22851
  {
@@ -27903,7 +27839,7 @@ const treeComponentRenderer = createComponentRenderer(
27903
27839
  // - All original source data properties (custom fields)
27904
27840
  ...flatTreeNode
27905
27841
  };
27906
- return node.props.itemTemplate ? /* @__PURE__ */ jsx(MemoizedItem, { node: node.props.itemTemplate, item: itemContext, renderChild: renderChild2 }) : /* @__PURE__ */ jsx(MemoizedItem, { node: defaultItemTemplate, item: itemContext, renderChild: renderChild2 });
27842
+ return node.props.itemTemplate ? /* @__PURE__ */ jsx(MemoizedItem, { node: node.props.itemTemplate, contextVars: { $item: itemContext }, renderChild: renderChild2 }) : /* @__PURE__ */ jsx(MemoizedItem, { node: defaultItemTemplate, contextVars: { $item: itemContext }, renderChild: renderChild2 });
27907
27843
  }
27908
27844
  }
27909
27845
  );
@@ -28570,33 +28506,36 @@ const fragmentComponentRenderer = createComponentRenderer(
28570
28506
  }
28571
28507
  );
28572
28508
  const themeVars$p = `'{"textColor-pagination-Table": "var(--xmlui-textColor-pagination-Table)", "backgroundColor-Table": "var(--xmlui-backgroundColor-Table)", "textColor-Table": "var(--xmlui-textColor-Table)", "backgroundColor-row-Table": "var(--xmlui-backgroundColor-row-Table)", "backgroundColor-row-Table--hover": "var(--xmlui-backgroundColor-row-Table--hover)", "backgroundColor-selected-Table": "var(--xmlui-backgroundColor-selected-Table)", "backgroundColor-selected-Table--hover": "var(--xmlui-backgroundColor-selected-Table--hover)", "backgroundColor-heading-Table": "var(--xmlui-backgroundColor-heading-Table)", "backgroundColor-heading-Table--hover": "var(--xmlui-backgroundColor-heading-Table--hover)", "backgroundColor-heading-Table--active": "var(--xmlui-backgroundColor-heading-Table--active)", "padding-heading-Table": "var(--xmlui-padding-heading-Table)", "paddingHorizontal-heading-Table": "var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table))", "paddingVertical-heading-Table": "var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table))", "paddingLeft-heading-Table": "var(--xmlui-paddingLeft-heading-Table, var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingRight-heading-Table": "var(--xmlui-paddingRight-heading-Table, var(--xmlui-paddingHorizontal-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingTop-heading-Table": "var(--xmlui-paddingTop-heading-Table, var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table)))", "paddingBottom-heading-Table": "var(--xmlui-paddingBottom-heading-Table, var(--xmlui-paddingVertical-heading-Table, var(--xmlui-padding-heading-Table)))", "padding-cell-Table": "var(--xmlui-padding-cell-Table)", "paddingHorizontal-cell-Table": "var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table))", "paddingVertical-cell-Table": "var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table))", "paddingLeft-cell-Table": "var(--xmlui-paddingLeft-cell-Table, var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingRight-cell-Table": "var(--xmlui-paddingRight-cell-Table, var(--xmlui-paddingHorizontal-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingTop-cell-Table": "var(--xmlui-paddingTop-cell-Table, var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingBottom-cell-Table": "var(--xmlui-paddingBottom-cell-Table, var(--xmlui-paddingVertical-cell-Table, var(--xmlui-padding-cell-Table)))", "paddingHorizontal-cell-first-Table": "var(--xmlui-paddingHorizontal-cell-first-Table)", "paddingHorizontal-cell-last-Table": "var(--xmlui-paddingHorizontal-cell-last-Table)", "border-cell-Table": "var(--xmlui-border-cell-Table)", "borderHorizontal-cell-Table": "var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table))", "borderVertical-cell-Table": "var(--xmlui-borderVertical-cell-Table, var(--xmlui-border-cell-Table))", "borderLeft-cell-Table": "var(--xmlui-borderLeft-cell-Table, var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table)))", "borderRight-cell-Table": "var(--xmlui-borderRight-cell-Table, var(--xmlui-borderHorizontal-cell-Table, var(--xmlui-border-cell-Table)))", "borderTop-cell-Table": "var(--xmlui-borderTop-cell-Table, var(--xmlui-borderVertical-cell-Table, var(--xmlui-border-cell-Table)))", "borderBottom-cell-Table": "var(--xmlui-borderBottom-cell-Table)", "borderWidth-cell-Table": "var(--xmlui-borderWidth-cell-Table)", "borderHorizontalWidth-cell-Table": "var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table))", "borderLeftWidth-cell-Table": "var(--xmlui-borderLeftWidth-cell-Table, var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderRightWidth-cell-Table": "var(--xmlui-borderRightWidth-cell-Table, var(--xmlui-borderHorizontalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderVerticalWidth-cell-Table": "var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table))", "borderTopWidth-cell-Table": "var(--xmlui-borderTopWidth-cell-Table, var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderBottomWidth-cell-Table": "var(--xmlui-borderBottomWidth-cell-Table, var(--xmlui-borderVerticalWidth-cell-Table, var(--xmlui-borderWidth-cell-Table)))", "borderStyle-cell-Table": "var(--xmlui-borderStyle-cell-Table)", "borderHorizontalStyle-cell-Table": "var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table))", "borderLeftStyle-cell-Table": "var(--xmlui-borderLeftStyle-cell-Table, var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderRightStyle-cell-Table": "var(--xmlui-borderRightStyle-cell-Table, var(--xmlui-borderHorizontalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderVerticalStyle-cell-Table": "var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table))", "borderTopStyle-cell-Table": "var(--xmlui-borderTopStyle-cell-Table, var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderBottomStyle-cell-Table": "var(--xmlui-borderBottomStyle-cell-Table, var(--xmlui-borderVerticalStyle-cell-Table, var(--xmlui-borderStyle-cell-Table)))", "borderColor-cell-Table": "var(--xmlui-borderColor-cell-Table)", "borderHorizontalColor-cell-Table": "var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table))", "borderLeftColor-cell-Table": "var(--xmlui-borderLeftColor-cell-Table, var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderRightColor-cell-Table": "var(--xmlui-borderRightColor-cell-Table, var(--xmlui-borderHorizontalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderVerticalColor-cell-Table": "var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table))", "borderTopColor-cell-Table": "var(--xmlui-borderTopColor-cell-Table, var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderBottomColor-cell-Table": "var(--xmlui-borderBottomColor-cell-Table, var(--xmlui-borderVerticalColor-cell-Table, var(--xmlui-borderColor-cell-Table)))", "borderStartStartRadius-cell-Table": "var(--xmlui-borderStartStartRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderStartEndRadius-cell-Table": "var(--xmlui-borderStartEndRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderEndStartRadius-cell-Table": "var(--xmlui-borderEndStartRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "borderEndEndRadius-cell-Table": "var(--xmlui-borderEndEndRadius-cell-Table, var(--xmlui-borderRadius-cell-Table))", "border-Table": "var(--xmlui-border-Table)", "borderHorizontal-Table": "var(--xmlui-borderHorizontal-Table, var(--xmlui-border-Table))", "borderVertical-Table": "var(--xmlui-borderVertical-Table, var(--xmlui-border-Table))", "borderLeft-Table": "var(--xmlui-borderLeft-Table, var(--xmlui-borderHorizontal-Table, var(--xmlui-border-Table)))", "borderRight-Table": "var(--xmlui-borderRight-Table, var(--xmlui-borderHorizontal-Table, var(--xmlui-border-Table)))", "borderTop-Table": "var(--xmlui-borderTop-Table, var(--xmlui-borderVertical-Table, var(--xmlui-border-Table)))", "borderBottom-Table": "var(--xmlui-borderBottom-Table, var(--xmlui-borderVertical-Table, var(--xmlui-border-Table)))", "borderWidth-Table": "var(--xmlui-borderWidth-Table)", "borderHorizontalWidth-Table": "var(--xmlui-borderHorizontalWidth-Table, var(--xmlui-borderWidth-Table))", "borderLeftWidth-Table": "var(--xmlui-borderLeftWidth-Table, var(--xmlui-borderHorizontalWidth-Table, var(--xmlui-borderWidth-Table)))", "borderRightWidth-Table": "var(--xmlui-borderRightWidth-Table, var(--xmlui-borderHorizontalWidth-Table, var(--xmlui-borderWidth-Table)))", "borderVerticalWidth-Table": "var(--xmlui-borderVerticalWidth-Table, var(--xmlui-borderWidth-Table))", "borderTopWidth-Table": "var(--xmlui-borderTopWidth-Table, var(--xmlui-borderVerticalWidth-Table, var(--xmlui-borderWidth-Table)))", "borderBottomWidth-Table": "var(--xmlui-borderBottomWidth-Table, var(--xmlui-borderVerticalWidth-Table, var(--xmlui-borderWidth-Table)))", "borderStyle-Table": "var(--xmlui-borderStyle-Table)", "borderHorizontalStyle-Table": "var(--xmlui-borderHorizontalStyle-Table, var(--xmlui-borderStyle-Table))", "borderLeftStyle-Table": "var(--xmlui-borderLeftStyle-Table, var(--xmlui-borderHorizontalStyle-Table, var(--xmlui-borderStyle-Table)))", "borderRightStyle-Table": "var(--xmlui-borderRightStyle-Table, var(--xmlui-borderHorizontalStyle-Table, var(--xmlui-borderStyle-Table)))", "borderVerticalStyle-Table": "var(--xmlui-borderVerticalStyle-Table, var(--xmlui-borderStyle-Table))", "borderTopStyle-Table": "var(--xmlui-borderTopStyle-Table, var(--xmlui-borderVerticalStyle-Table, var(--xmlui-borderStyle-Table)))", "borderBottomStyle-Table": "var(--xmlui-borderBottomStyle-Table, var(--xmlui-borderVerticalStyle-Table, var(--xmlui-borderStyle-Table)))", "borderColor-Table": "var(--xmlui-borderColor-Table)", "borderHorizontalColor-Table": "var(--xmlui-borderHorizontalColor-Table, var(--xmlui-borderColor-Table))", "borderLeftColor-Table": "var(--xmlui-borderLeftColor-Table, var(--xmlui-borderHorizontalColor-Table, var(--xmlui-borderColor-Table)))", "borderRightColor-Table": "var(--xmlui-borderRightColor-Table, var(--xmlui-borderHorizontalColor-Table, var(--xmlui-borderColor-Table)))", "borderVerticalColor-Table": "var(--xmlui-borderVerticalColor-Table, var(--xmlui-borderColor-Table))", "borderTopColor-Table": "var(--xmlui-borderTopColor-Table, var(--xmlui-borderVerticalColor-Table, var(--xmlui-borderColor-Table)))", "borderBottomColor-Table": "var(--xmlui-borderBottomColor-Table, var(--xmlui-borderVerticalColor-Table, var(--xmlui-borderColor-Table)))", "borderStartStartRadius-Table": "var(--xmlui-borderStartStartRadius-Table, var(--xmlui-borderRadius-Table))", "borderStartEndRadius-Table": "var(--xmlui-borderStartEndRadius-Table, var(--xmlui-borderRadius-Table))", "borderEndStartRadius-Table": "var(--xmlui-borderEndStartRadius-Table, var(--xmlui-borderRadius-Table))", "borderEndEndRadius-Table": "var(--xmlui-borderEndEndRadius-Table, var(--xmlui-borderRadius-Table))", "backgroundColor-pagination-Table": "var(--xmlui-backgroundColor-pagination-Table)", "textColor-heading-Table": "var(--xmlui-textColor-heading-Table)", "fontWeight-row-Table": "var(--xmlui-fontWeight-row-Table)", "fontSize-row-Table": "var(--xmlui-fontSize-row-Table)", "fontWeight-heading-Table": "var(--xmlui-fontWeight-heading-Table)", "fontSize-heading-Table": "var(--xmlui-fontSize-heading-Table)", "textTransform-heading-Table": "var(--xmlui-textTransform-heading-Table)", "borderRadius-Table": "var(--xmlui-borderRadius-Table)", "outlineWidth-heading-Table--focus": "var(--xmlui-outlineWidth-heading-Table--focus)", "outlineColor-heading-Table--focus": "var(--xmlui-outlineColor-heading-Table--focus)", "outlineStyle-heading-Table--focus": "var(--xmlui-outlineStyle-heading-Table--focus)", "outlineOffset-heading-Table--focus": "var(--xmlui-outlineOffset-heading-Table--focus)", "borderBottom-last-row-Table": "var(--xmlui-borderBottom-last-row-Table)"}'`;
28573
- const wrapper$c = "_wrapper_fw2wb_14";
28574
- const noScroll = "_noScroll_fw2wb_42";
28575
- const headerWrapper$1 = "_headerWrapper_fw2wb_45";
28576
- const tableBody = "_tableBody_fw2wb_46";
28577
- const clickableHeader = "_clickableHeader_fw2wb_51";
28578
- const headerContent = "_headerContent_fw2wb_65";
28579
- const headerRow = "_headerRow_fw2wb_97";
28580
- const columnCell = "_columnCell_fw2wb_101";
28581
- const cell = "_cell_fw2wb_102";
28582
- const alignTop = "_alignTop_fw2wb_110";
28583
- const alignCenter$1 = "_alignCenter_fw2wb_114";
28584
- const alignBottom = "_alignBottom_fw2wb_118";
28585
- const table = "_table_fw2wb_46";
28586
- const row$1 = "_row_fw2wb_126";
28587
- const checkBoxWrapper = "_checkBoxWrapper_fw2wb_133";
28588
- const showInHeader = "_showInHeader_fw2wb_138";
28589
- const selected = "_selected_fw2wb_142";
28590
- const allSelected = "_allSelected_fw2wb_142";
28591
- const cellContent = "_cellContent_fw2wb_173";
28592
- const focused = "_focused_fw2wb_200";
28593
- const disabled$2 = "_disabled_fw2wb_212";
28594
- const noBottomBorder = "_noBottomBorder_fw2wb_219";
28595
- const noRows$1 = "_noRows_fw2wb_244";
28596
- const loadingWrapper$1 = "_loadingWrapper_fw2wb_283";
28597
- const forceHoverWrapper = "_forceHoverWrapper_fw2wb_296";
28598
- const resizer$1 = "_resizer_fw2wb_299";
28599
- const isResizing = "_isResizing_fw2wb_320";
28509
+ const wrapper$c = "_wrapper_17ovr_14";
28510
+ const noScroll = "_noScroll_17ovr_42";
28511
+ const headerWrapper$1 = "_headerWrapper_17ovr_45";
28512
+ const tableBody = "_tableBody_17ovr_46";
28513
+ const clickableHeader = "_clickableHeader_17ovr_51";
28514
+ const headerContent = "_headerContent_17ovr_65";
28515
+ const orderingIndicator = "_orderingIndicator_17ovr_68";
28516
+ const activeOrdering = "_activeOrdering_17ovr_73";
28517
+ const alwaysShow = "_alwaysShow_17ovr_73";
28518
+ const headerRow = "_headerRow_17ovr_111";
28519
+ const columnCell = "_columnCell_17ovr_115";
28520
+ const cell = "_cell_17ovr_116";
28521
+ const alignTop = "_alignTop_17ovr_124";
28522
+ const alignCenter$1 = "_alignCenter_17ovr_128";
28523
+ const alignBottom = "_alignBottom_17ovr_132";
28524
+ const table = "_table_17ovr_46";
28525
+ const row$1 = "_row_17ovr_140";
28526
+ const checkBoxWrapper = "_checkBoxWrapper_17ovr_147";
28527
+ const showInHeader = "_showInHeader_17ovr_152";
28528
+ const selected = "_selected_17ovr_156";
28529
+ const allSelected = "_allSelected_17ovr_156";
28530
+ const cellContent = "_cellContent_17ovr_187";
28531
+ const focused = "_focused_17ovr_214";
28532
+ const disabled$2 = "_disabled_17ovr_226";
28533
+ const noBottomBorder = "_noBottomBorder_17ovr_233";
28534
+ const noRows$1 = "_noRows_17ovr_258";
28535
+ const loadingWrapper$1 = "_loadingWrapper_17ovr_297";
28536
+ const forceHoverWrapper = "_forceHoverWrapper_17ovr_310";
28537
+ const resizer$1 = "_resizer_17ovr_313";
28538
+ const isResizing = "_isResizing_17ovr_334";
28600
28539
  const styles$E = {
28601
28540
  themeVars: themeVars$p,
28602
28541
  wrapper: wrapper$c,
@@ -28605,6 +28544,9 @@ const styles$E = {
28605
28544
  tableBody,
28606
28545
  clickableHeader,
28607
28546
  headerContent,
28547
+ orderingIndicator,
28548
+ activeOrdering,
28549
+ alwaysShow,
28608
28550
  headerRow,
28609
28551
  columnCell,
28610
28552
  cell,
@@ -29490,6 +29432,7 @@ const Table = forwardRef(
29490
29432
  hideHeader = defaultProps$C.hideHeader,
29491
29433
  hideNoDataView = defaultProps$C.hideNoDataView,
29492
29434
  alwaysShowSelectionHeader = defaultProps$C.alwaysShowSelectionHeader,
29435
+ alwaysShowSortingIndicator = defaultProps$C.alwaysShowSortingIndicator,
29493
29436
  registerComponentApi,
29494
29437
  onSelectionDidChange,
29495
29438
  noBottomBorder: noBottomBorder2 = defaultProps$C.noBottomBorder,
@@ -29982,13 +29925,22 @@ const Table = forwardRef(
29982
29925
  header2.column.columnDef.header,
29983
29926
  header2.getContext()
29984
29927
  ),
29985
- header2.column.columnDef.enableSorting && /* @__PURE__ */ jsx("span", { style: { display: "inline-flex", maxWidth: 16 }, children: /* @__PURE__ */ jsx(
29986
- ColumnOrderingIndicator,
29928
+ header2.column.columnDef.enableSorting && /* @__PURE__ */ jsx(Part, { partId: "orderIndicator", children: /* @__PURE__ */ jsx(
29929
+ "span",
29987
29930
  {
29988
- iconSortAsc,
29989
- iconSortDesc,
29990
- iconNoSort,
29991
- direction: header2.column.columnDef.meta?.accessorKey === _sortBy ? _sortingDirection : void 0
29931
+ className: classnames(styles$E.orderingIndicator, {
29932
+ [styles$E.activeOrdering]: header2.column.columnDef.meta?.accessorKey === _sortBy,
29933
+ [styles$E.alwaysShow]: alwaysShowSortingIndicator
29934
+ }),
29935
+ children: /* @__PURE__ */ jsx(
29936
+ ColumnOrderingIndicator,
29937
+ {
29938
+ iconSortAsc,
29939
+ iconSortDesc,
29940
+ iconNoSort,
29941
+ direction: header2.column.columnDef.meta?.accessorKey === _sortBy ? _sortingDirection : void 0
29942
+ }
29943
+ )
29992
29944
  }
29993
29945
  ) })
29994
29946
  ] })
@@ -30175,6 +30127,7 @@ const defaultProps$C = {
30175
30127
  hideHeader: false,
30176
30128
  hideNoDataView: false,
30177
30129
  alwaysShowSelectionHeader: false,
30130
+ alwaysShowSortingIndicator: false,
30178
30131
  noBottomBorder: false,
30179
30132
  paginationControlsLocation: "bottom",
30180
30133
  cellVerticalAlign: "center",
@@ -30304,12 +30257,17 @@ const TableMd = createMetadata({
30304
30257
  alwaysShowSelectionHeader: {
30305
30258
  description: "This property indicates when the row selection header is displayed. When the value is `true,` the selection header is always visible. Otherwise, it is displayed only when hovered.",
30306
30259
  valueType: "boolean",
30307
- defaultValue: false
30260
+ defaultValue: defaultProps$C.alwaysShowSelectionHeader
30261
+ },
30262
+ alwaysShowSortingIndicator: {
30263
+ description: `This property indicates whether the sorting indicator is always visible in the column headers. When set to \`true\`, the sorting indicator is always visible. Otherwise, it is visible only when the user hovers over/focuses the column header or the column is sorted.`,
30264
+ valueType: "boolean",
30265
+ defaultValue: defaultProps$C.alwaysShowSortingIndicator
30308
30266
  },
30309
30267
  noBottomBorder: {
30310
30268
  description: `This property indicates whether the table should have a bottom border. When set to \`true\`, the table does not have a bottom border. Otherwise, it has a bottom border.`,
30311
30269
  valueType: "boolean",
30312
- defaultValue: false
30270
+ defaultValue: defaultProps$C.noBottomBorder
30313
30271
  },
30314
30272
  paginationControlsLocation: {
30315
30273
  description: `This property determines the location of the pagination controls. It can be set to \`top\`, \`bottom\`, or \`both\`.`,
@@ -30321,7 +30279,7 @@ const TableMd = createMetadata({
30321
30279
  description: `This property controls the vertical alignment of cell content. It can be set to \`top\`, \`center\`, or \`bottom\`.`,
30322
30280
  valueType: "string",
30323
30281
  availableValues: ["top", "center", "bottom"],
30324
- defaultValue: "center"
30282
+ defaultValue: defaultProps$C.cellVerticalAlign
30325
30283
  },
30326
30284
  checkboxTolerance: {
30327
30285
  description: `This property controls the tolerance area around checkboxes for easier interaction. This property only has an effect when the rowsSelectable property is set to \`true\`. \`none\` provides no tolerance (0px), \`compact\` provides minimal tolerance (8px), \`comfortable\` provides medium tolerance (12px), and \`spacious\` provides generous tolerance (16px) for improved accessibility.`,
@@ -30376,6 +30334,7 @@ const TableMd = createMetadata({
30376
30334
  [`outlineWidth-heading-${COMP$14}--focus`]: "$outlineWidth--focus",
30377
30335
  [`outlineStyle-heading-${COMP$14}--focus`]: "$outlineStyle--focus",
30378
30336
  [`outlineOffset-heading-${COMP$14}--focus`]: "$outlineOffset--focus",
30337
+ [`outlineColor-heading-${COMP$14}--focus`]: "$outlineColor--focus",
30379
30338
  [`fontSize-heading-${COMP$14}`]: "$fontSize-tiny",
30380
30339
  [`fontWeight-heading-${COMP$14}`]: "$fontWeight-bold",
30381
30340
  [`textTransform-heading-${COMP$14}`]: "uppercase",
@@ -30384,7 +30343,6 @@ const TableMd = createMetadata({
30384
30343
  // [`backgroundColor-row-${COMP}`]: "inherit",
30385
30344
  [`backgroundColor-selected-${COMP$14}--hover`]: `$backgroundColor-row-${COMP$14}--hover`,
30386
30345
  [`backgroundColor-pagination-${COMP$14}`]: `$backgroundColor-${COMP$14}`,
30387
- [`outlineColor-heading-${COMP$14}--focus`]: "$outlineColor--focus",
30388
30346
  [`textColor-pagination-${COMP$14}`]: "$color-secondary",
30389
30347
  [`backgroundColor-row-${COMP$14}--hover`]: "$color-primary-50",
30390
30348
  [`backgroundColor-selected-${COMP$14}`]: "$color-primary-100",
@@ -30505,6 +30463,9 @@ const TableWithColumns = memo(
30505
30463
  alwaysShowSelectionHeader: extractValue.asOptionalBoolean(
30506
30464
  node.props.alwaysShowSelectionHeader
30507
30465
  ),
30466
+ alwaysShowSortingIndicator: extractValue.asOptionalBoolean(
30467
+ node.props.alwaysShowSortingIndicator
30468
+ ),
30508
30469
  noBottomBorder: extractValue.asOptionalBoolean(node.props.noBottomBorder),
30509
30470
  paginationControlsLocation: extractValue.asOptionalString(
30510
30471
  node.props.paginationControlsLocation
@@ -32689,11 +32650,8 @@ function MemoizedSection({
32689
32650
  {
32690
32651
  node,
32691
32652
  renderChild: renderChild2,
32692
- item: item2,
32693
- context: sectionContext,
32694
- itemKey: "$group",
32695
- contextKey: "$group",
32696
32653
  contextVars: {
32654
+ $group: { ...item2, ...sectionContext },
32697
32655
  ...contextVars,
32698
32656
  $isFirst: item2.index === 0,
32699
32657
  $isLast: item2.index === item2.count - 1
@@ -32846,10 +32804,10 @@ const dynamicHeightListComponentRenderer = createComponentRenderer(
32846
32804
  MemoizedItem,
32847
32805
  {
32848
32806
  node: itemTemplate,
32849
- item: item2,
32850
32807
  renderChild: renderChild2,
32851
32808
  layoutContext,
32852
32809
  contextVars: {
32810
+ $item: item2,
32853
32811
  $itemIndex: rowIndex,
32854
32812
  $isFirst: rowIndex === 0,
32855
32813
  $isLast: rowIndex === count - 1
@@ -32871,10 +32829,10 @@ const dynamicHeightListComponentRenderer = createComponentRenderer(
32871
32829
  MemoizedItem,
32872
32830
  {
32873
32831
  node: node.props.groupFooterTemplate ?? { type: "Fragment" },
32874
- item: item2,
32875
32832
  renderChild: renderChild2,
32876
- itemKey: "$group",
32877
- contextKey: "$group"
32833
+ contextVars: {
32834
+ $group: item2
32835
+ }
32878
32836
  },
32879
32837
  key
32880
32838
  ) : null : void 0
@@ -35373,10 +35331,10 @@ const selectComponentRenderer = createComponentRenderer(
35373
35331
  MemoizedItem,
35374
35332
  {
35375
35333
  contextVars: {
35334
+ $item: item2,
35376
35335
  $itemContext: { removeItem }
35377
35336
  },
35378
35337
  node: node.props.valueTemplate,
35379
- item: item2,
35380
35338
  renderChild: renderChild2
35381
35339
  }
35382
35340
  );
@@ -35386,8 +35344,8 @@ const selectComponentRenderer = createComponentRenderer(
35386
35344
  MemoizedItem,
35387
35345
  {
35388
35346
  node: node.props.optionTemplate,
35389
- item: item2,
35390
35347
  contextVars: {
35348
+ $item: item2,
35391
35349
  $selectedValue: val,
35392
35350
  $inTrigger: inTrigger
35393
35351
  },
@@ -35772,8 +35730,8 @@ function Column({ nodeChildren, renderChild: renderChild2, ...columnMetadata })
35772
35730
  MemoizedItem,
35773
35731
  {
35774
35732
  node: nodeChildren,
35775
- item: row2,
35776
35733
  contextVars: {
35734
+ $item: row2,
35777
35735
  $rowIndex: rowIndex,
35778
35736
  $colIndex: colIndex,
35779
35737
  $row: row2,
@@ -40865,7 +40823,6 @@ const tabsComponentRenderer = createComponentRenderer(
40865
40823
  MemoizedItem,
40866
40824
  {
40867
40825
  node: node.props.headerTemplate,
40868
- itemKey: "$header",
40869
40826
  contextVars: {
40870
40827
  $header: item2
40871
40828
  },
@@ -41401,7 +41358,6 @@ const tabItemComponentRenderer = createComponentRenderer(
41401
41358
  MemoizedItem,
41402
41359
  {
41403
41360
  node: node.props.headerTemplate,
41404
- itemKey: "$header",
41405
41361
  contextVars: {
41406
41362
  $header: {
41407
41363
  id: item2.id,
@@ -41548,7 +41504,9 @@ const accordionItemComponentRenderer = createComponentRenderer(
41548
41504
  MemoizedItem,
41549
41505
  {
41550
41506
  node: node.props.headerTemplate ?? { type: "Fragment" },
41551
- item: item2,
41507
+ contextVars: {
41508
+ $item: item2
41509
+ },
41552
41510
  renderChild: renderChild2
41553
41511
  }
41554
41512
  ) : void 0,
@@ -42186,12 +42144,51 @@ const carouselItemComponentRenderer = createComponentRenderer(
42186
42144
  return /* @__PURE__ */ jsx(CarouselItemComponent, { children: renderChild2(node.children) });
42187
42145
  }
42188
42146
  );
42189
- const breakout = "_breakout_puy20_2";
42147
+ const breakout = "_breakout_z3cnt_2";
42190
42148
  const styles$l = {
42191
42149
  breakout
42192
42150
  };
42193
42151
  const Breakout = ({ children, style: style2, ...rest }) => {
42194
- return /* @__PURE__ */ jsx("div", { ...rest, style: style2, className: styles$l.breakout, children });
42152
+ const ref = useRef(null);
42153
+ const [breakoutStyle, setBreakoutStyle] = useState({});
42154
+ const calculatedRef = useRef(false);
42155
+ useLayoutEffect(() => {
42156
+ const updateBreakoutStyle = () => {
42157
+ if (!ref.current) return;
42158
+ const currentMarginLeft = ref.current.style.marginLeft;
42159
+ const currentMarginRight = ref.current.style.marginRight;
42160
+ const currentWidth = ref.current.style.width;
42161
+ ref.current.style.marginLeft = "0px";
42162
+ ref.current.style.marginRight = "0px";
42163
+ ref.current.style.width = "auto";
42164
+ const rect = ref.current.getBoundingClientRect();
42165
+ const viewportWidth = window.innerWidth;
42166
+ ref.current.style.marginLeft = currentMarginLeft;
42167
+ ref.current.style.marginRight = currentMarginRight;
42168
+ ref.current.style.width = currentWidth;
42169
+ const offsetLeft = rect.left;
42170
+ const offsetRight = viewportWidth - rect.right;
42171
+ const newStyle = {
42172
+ marginLeft: `-${offsetLeft}px`,
42173
+ marginRight: `-${offsetRight}px`,
42174
+ width: `${viewportWidth}px`
42175
+ };
42176
+ setBreakoutStyle(newStyle);
42177
+ calculatedRef.current = true;
42178
+ };
42179
+ if (!calculatedRef.current) {
42180
+ updateBreakoutStyle();
42181
+ }
42182
+ const handleResize = () => {
42183
+ calculatedRef.current = false;
42184
+ updateBreakoutStyle();
42185
+ };
42186
+ window.addEventListener("resize", handleResize);
42187
+ return () => {
42188
+ window.removeEventListener("resize", handleResize);
42189
+ };
42190
+ }, []);
42191
+ return /* @__PURE__ */ jsx("div", { ...rest, ref, style: { ...breakoutStyle, ...style2 }, className: styles$l.breakout, children });
42195
42192
  };
42196
42193
  const COMP$p = "Breakout";
42197
42194
  const BreakoutMd = createMetadata({
@@ -42724,8 +42721,8 @@ const autoCompleteComponentRenderer = createComponentRenderer(
42724
42721
  MemoizedItem,
42725
42722
  {
42726
42723
  node: node.props.optionTemplate,
42727
- item: item2,
42728
- context: {
42724
+ contextVars: {
42725
+ $item: item2,
42729
42726
  $selectedValue: val,
42730
42727
  $inTrigger: inTrigger
42731
42728
  },
@@ -45986,7 +45983,6 @@ const areaChartComponentRenderer = createComponentRenderer(
45986
45983
  MemoizedItem,
45987
45984
  {
45988
45985
  node: node.props.tooltipTemplate,
45989
- item: tooltipData,
45990
45986
  contextVars: {
45991
45987
  $tooltip: tooltipData
45992
45988
  },
@@ -46455,7 +46451,6 @@ const barChartComponentRenderer = createComponentRenderer(
46455
46451
  MemoizedItem,
46456
46452
  {
46457
46453
  node: node.props.tooltipTemplate,
46458
- item: tooltipData,
46459
46454
  contextVars: {
46460
46455
  $tooltip: tooltipData
46461
46456
  },
@@ -47236,7 +47231,6 @@ const lineChartComponentRenderer = createComponentRenderer(
47236
47231
  MemoizedItem,
47237
47232
  {
47238
47233
  node: node.props.tooltipTemplate,
47239
- item: tooltipData,
47240
47234
  contextVars: {
47241
47235
  $tooltip: tooltipData
47242
47236
  },
@@ -47537,7 +47531,6 @@ const radarChartComponentRenderer = createComponentRenderer(
47537
47531
  MemoizedItem,
47538
47532
  {
47539
47533
  node: node.props.tooltipTemplate,
47540
- item: tooltipData,
47541
47534
  contextVars: {
47542
47535
  $tooltip: tooltipData
47543
47536
  },
@@ -47924,8 +47917,6 @@ const toastComponentRenderer = createComponentRenderer(
47924
47917
  MemoizedItem,
47925
47918
  {
47926
47919
  node: template || node.children,
47927
- itemKey: "$_TEMP",
47928
- contextKey: "$_TEMP",
47929
47920
  contextVars: {
47930
47921
  $param: context
47931
47922
  },
@@ -49501,7 +49492,7 @@ function IconProvider({ children }) {
49501
49492
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
49502
49493
  ] });
49503
49494
  }
49504
- const version = "0.11.19";
49495
+ const version = "0.11.20";
49505
49496
  const miscellaneousUtils = {
49506
49497
  capitalize,
49507
49498
  pluralize: pluralize$1,
@@ -52940,7 +52931,7 @@ const ComponentAdapter = forwardRef(function ComponentAdapter2({
52940
52931
  memoedLookupEventHandler,
52941
52932
  descriptor?.nonVisual || isApiBound || isCompoundComponent
52942
52933
  );
52943
- const { getResourceUrl } = useTheme();
52934
+ const { getResourceUrl, disableInlineStyle: themeDisableInlineStyle } = useTheme();
52944
52935
  const extractResourceUrl = useCallback(
52945
52936
  (url) => {
52946
52937
  const extractedUrl = valueExtractor(url);
@@ -52958,10 +52949,14 @@ const ComponentAdapter = forwardRef(function ComponentAdapter2({
52958
52949
  resolvedLayoutProps[key] = valueExtractor(safeNode.props[key], true);
52959
52950
  }
52960
52951
  });
52961
- return resolveLayoutProps(resolvedLayoutProps, {
52962
- ...layoutContextRef?.current,
52963
- mediaSize: appContext.mediaSize
52964
- });
52952
+ return resolveLayoutProps(
52953
+ resolvedLayoutProps,
52954
+ {
52955
+ ...layoutContextRef?.current,
52956
+ mediaSize: appContext.mediaSize
52957
+ },
52958
+ themeDisableInlineStyle ?? appContext.appGlobals?.disableInlineStyle
52959
+ );
52965
52960
  }, [appContext.mediaSize, layoutContextRef, safeNode.props, valueExtractor]);
52966
52961
  const stableLayoutCss = useShallowCompareMemoize(cssProps);
52967
52962
  const className = useComponentStyle(stableLayoutCss);
@@ -57141,7 +57136,7 @@ function ApiInterceptorProvider({
57141
57136
  return;
57142
57137
  }
57143
57138
  void (async () => {
57144
- const { initMock } = await import("./initMock-DhLoHW95.js");
57139
+ const { initMock } = await import("./initMock-CYmQLPJo.js");
57145
57140
  const apiInstance2 = await initMock(interceptor);
57146
57141
  setApiInstance(apiInstance2);
57147
57142
  setInitialized(true);
@@ -57158,7 +57153,7 @@ function ApiInterceptorProvider({
57158
57153
  if (define_process_env_default.VITE_MOCK_ENABLED) {
57159
57154
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
57160
57155
  useWorker ? import("./apiInterceptorWorker-Wgm2_zjg.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
57161
- import("./initMock-DhLoHW95.js")
57156
+ import("./initMock-CYmQLPJo.js")
57162
57157
  ]);
57163
57158
  if (interceptor || forceInitialize) {
57164
57159
  const apiInstance2 = await initMock(interceptor || {});
@@ -57195,7 +57190,7 @@ function ApiInterceptorProvider({
57195
57190
  void (async () => {
57196
57191
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
57197
57192
  import("./apiInterceptorWorker-Wgm2_zjg.js"),
57198
- import("./initMock-DhLoHW95.js")
57193
+ import("./initMock-CYmQLPJo.js")
57199
57194
  ]);
57200
57195
  const apiInstance2 = await initMock(interceptor);
57201
57196
  await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
@@ -59233,7 +59228,7 @@ const FormItem = memo(function FormItem2({
59233
59228
  const initialValueFromSubject = useFormContextPart(
59234
59229
  (value2) => getByPath(value2?.originalSubject, formItemId)
59235
59230
  );
59236
- const initialValue = initialValueFromSubject === void 0 ? initialValueFromProps : initialValueFromSubject;
59231
+ const initialValue = initialValueFromSubject === void 0 || initialValueFromSubject === null ? initialValueFromProps : initialValueFromSubject;
59237
59232
  const value = useFormContextPart((value2) => getByPath(value2?.subject, formItemId));
59238
59233
  const validationResult = useFormContextPart((value2) => value2?.validationResults[formItemId]);
59239
59234
  const dispatch = useFormContextPart((value2) => value2?.dispatch);