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.
@@ -7,12 +7,13 @@ import require$$0, { flushSync, createPortal } from "react-dom";
7
7
  import yaml from "js-yaml";
8
8
  import { useQuery, useInfiniteQuery, QueryClientProvider, QueryClient } from "@tanstack/react-query";
9
9
  import produce, { createDraft, finishDraft, enableMapSet } from "immer";
10
- import { throttle, get, isNil, omitBy, isUndefined, isString, isPlainObject, noop as noop$2, isEmpty, isEqual, union, uniq, orderBy as orderBy$1, isObject, isArray, groupBy, sortBy, omit, isNumber, set, isNaN as isNaN$1, cloneDeep, merge, defaultTo, capitalize, unset, setWith, keyBy, pick } from "lodash-es";
10
+ import { throttle, get, isNil, omitBy, isUndefined, isString, isPlainObject, noop as noop$2, isEmpty, isEqual, union, uniq, orderBy as orderBy$1, isObject, isArray, groupBy, sortBy, omit, isNumber, set, cloneDeep, isNaN as isNaN$1, 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
12
  import classnames from "classnames";
13
13
  import { c as PART_LABELED_ITEM, d as PART_LABEL, b as PART_INPUT, e as PART_ICON, P as PART_START_ADORNMENT, a as PART_END_ADORNMENT, x as xmlUiMarkupToComponent, f as errReportComponent, g as errReportMessage, h as errReportScriptError, i as errReportModuleErrors } from "./xmlui-parser-9Yk-asFP.js";
14
14
  import Color from "color";
15
- import { Popover, PopoverTrigger, Portal, PopoverContent, PopoverPortal } from "@radix-ui/react-popover";
15
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
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 * as VisuallyHidden$1 from "@radix-ui/react-visually-hidden";
17
18
  import { VisuallyHidden as VisuallyHidden$2 } from "@radix-ui/react-visually-hidden";
18
19
  import TextareaAutosize from "react-textarea-autosize";
@@ -22,13 +23,13 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";
22
23
  import { useContextSelector, createContext as createContext$1 } from "use-context-selector";
23
24
  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, an as PARSED_MARK_PROP, ao as collectCodeBehindFromSource, ap as removeCodeBehindTokensFromTree } from "./transform-CQ_6R-43.js";
24
25
  import memoizeOne from "memoize-one";
25
- 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";
26
26
  import { Virtualizer } from "virtua";
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";
30
30
  import * as dropzone from "react-dropzone";
31
31
  import toast, { Toaster, ToastBar } from "react-hot-toast";
32
+ import { Popover, PopoverTrigger, Portal, PopoverContent, PopoverPortal } from "@radix-ui/react-popover";
32
33
  import * as InnerRadioGroup from "@radix-ui/react-radio-group";
33
34
  import { DayPicker } from "react-day-picker";
34
35
  import { Root, Track, Range, Thumb } from "@radix-ui/react-slider";
@@ -3416,36 +3417,8 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
3416
3417
  setOpen(false);
3417
3418
  }, []);
3418
3419
  const contentRef = useRef(null);
3419
- const handleKeyDown = useCallback((event) => {
3420
- if (event.key === "Escape") {
3421
- setOpen(false);
3422
- return;
3423
- }
3424
- if (event.key === "ArrowDown" || event.key === "ArrowUp") {
3425
- event.preventDefault();
3426
- const content2 = contentRef.current;
3427
- if (!content2) return;
3428
- const menuItems = Array.from(
3429
- content2.querySelectorAll('[role="menuitem"]:not([class*="disabled"])')
3430
- );
3431
- if (menuItems.length === 0) return;
3432
- const currentIndex = menuItems.findIndex((item2) => item2 === document.activeElement);
3433
- let nextIndex;
3434
- if (currentIndex === -1) {
3435
- nextIndex = event.key === "ArrowDown" ? 0 : menuItems.length - 1;
3436
- } else if (event.key === "ArrowDown") {
3437
- nextIndex = currentIndex < menuItems.length - 1 ? currentIndex + 1 : 0;
3438
- } else {
3439
- nextIndex = currentIndex > 0 ? currentIndex - 1 : menuItems.length - 1;
3440
- }
3441
- menuItems[nextIndex]?.focus();
3442
- }
3443
- if (event.key === "Enter" || event.key === " ") {
3444
- return;
3445
- }
3446
- }, []);
3447
3420
  return /* @__PURE__ */ jsx(DropdownMenuContext.Provider, { value: { closeMenu }, children: /* @__PURE__ */ jsxs(
3448
- Popover,
3421
+ DropdownMenuPrimitive.Root,
3449
3422
  {
3450
3423
  open,
3451
3424
  onOpenChange: async (isOpen) => {
@@ -3469,31 +3442,20 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
3469
3442
  },
3470
3443
  modal,
3471
3444
  children: [
3472
- /* @__PURE__ */ jsx(
3473
- PopoverTrigger,
3445
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.Trigger, { ...rest, asChild: true, disabled: disabled2, ref, children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx(
3446
+ Button,
3474
3447
  {
3475
- ...rest,
3476
- asChild: true,
3448
+ icon: /* @__PURE__ */ jsx(Icon, { name: triggerButtonIcon, fallback: "chevrondown" }),
3449
+ iconPosition: triggerButtonIconPosition,
3450
+ type: "button",
3451
+ variant: triggerButtonVariant,
3452
+ themeColor: triggerButtonThemeColor,
3477
3453
  disabled: disabled2,
3478
- ref,
3479
- "aria-haspopup": "menu",
3480
- "aria-expanded": open,
3481
- children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx(
3482
- Button,
3483
- {
3484
- icon: /* @__PURE__ */ jsx(Icon, { name: triggerButtonIcon, fallback: "chevrondown" }),
3485
- iconPosition: triggerButtonIconPosition,
3486
- type: "button",
3487
- variant: triggerButtonVariant,
3488
- themeColor: triggerButtonThemeColor,
3489
- disabled: disabled2,
3490
- children: label2
3491
- }
3492
- )
3454
+ children: label2
3493
3455
  }
3494
- ),
3495
- /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
3496
- PopoverContent,
3456
+ ) }),
3457
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: root2, children: /* @__PURE__ */ jsx(
3458
+ DropdownMenuPrimitive.Content,
3497
3459
  {
3498
3460
  ref: contentRef,
3499
3461
  align: alignment,
@@ -3501,13 +3463,8 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
3501
3463
  className: classnames(styles$1i.DropdownMenuContent, className, {
3502
3464
  [styles$1i.compact]: compact2
3503
3465
  }),
3504
- onOpenAutoFocus: (e) => {
3505
- e.preventDefault();
3506
- contentRef.current?.focus();
3507
- },
3508
- onKeyDownCapture: handleKeyDown,
3509
- role: "menu",
3510
3466
  tabIndex: -1,
3467
+ loop: true,
3511
3468
  children
3512
3469
  }
3513
3470
  ) })
@@ -3541,25 +3498,8 @@ const MenuItem = forwardRef(function MenuItem2({
3541
3498
  },
3542
3499
  [enabled2, onClick, context]
3543
3500
  );
3544
- const handleKeyDown = useCallback(
3545
- (event) => {
3546
- if (!enabled2) return;
3547
- if (event.key === "Enter") {
3548
- event.preventDefault();
3549
- event.stopPropagation();
3550
- onClick(event);
3551
- context?.closeMenu();
3552
- } else if (event.key === " ") {
3553
- event.preventDefault();
3554
- event.stopPropagation();
3555
- onClick(event);
3556
- context?.closeMenu();
3557
- }
3558
- },
3559
- [enabled2, onClick, context]
3560
- );
3561
3501
  return /* @__PURE__ */ jsxs(
3562
- "div",
3502
+ DropdownMenuPrimitive.Item,
3563
3503
  {
3564
3504
  style: style2,
3565
3505
  className: classnames(className, styles$1i.DropdownMenuItem, {
@@ -3569,7 +3509,6 @@ const MenuItem = forwardRef(function MenuItem2({
3569
3509
  }),
3570
3510
  ref,
3571
3511
  onClick: handleClick,
3572
- onKeyDown: handleKeyDown,
3573
3512
  role: "menuitem",
3574
3513
  tabIndex: enabled2 ? 0 : -1,
3575
3514
  children: [
@@ -3583,28 +3522,14 @@ const MenuItem = forwardRef(function MenuItem2({
3583
3522
  const SubMenuItem = forwardRef(function SubMenuItem2({ children, label: label2, triggerTemplate }, ref) {
3584
3523
  const { root: root2 } = useTheme();
3585
3524
  const [open, setOpen] = useState(false);
3586
- return /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, modal: false, children: [
3587
- /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
3588
- "div",
3589
- {
3590
- className: styles$1i.DropdownMenuSubTrigger,
3591
- role: "menuitem",
3592
- tabIndex: 0,
3593
- ref,
3594
- onMouseEnter: () => setOpen(true),
3595
- onMouseLeave: () => setOpen(false),
3596
- children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx("div", { children: label2 })
3597
- }
3598
- ) }),
3599
- /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
3600
- PopoverContent,
3525
+ return /* @__PURE__ */ jsxs(DropdownMenuPrimitive.Sub, { open, onOpenChange: setOpen, children: [
3526
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.SubTrigger, { ref, className: styles$1i.DropdownMenuSubTrigger, asChild: true, children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx("div", { children: label2 }) }),
3527
+ /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: root2, children: /* @__PURE__ */ jsx(
3528
+ DropdownMenuPrimitive.SubContent,
3601
3529
  {
3602
3530
  className: styles$1i.DropdownMenuSubContent,
3603
- side: "right",
3604
- align: "start",
3605
- onMouseEnter: () => setOpen(true),
3606
- onMouseLeave: () => setOpen(false),
3607
- onOpenAutoFocus: (e) => e.preventDefault(),
3531
+ sideOffset: 2,
3532
+ loop: true,
3608
3533
  children
3609
3534
  }
3610
3535
  ) })
@@ -8723,37 +8648,20 @@ const localLinkComponentRenderer = createComponentRenderer(
8723
8648
  const MemoizedItem = memo(
8724
8649
  ({
8725
8650
  node,
8726
- item: item2,
8727
- context,
8728
8651
  renderChild: renderChild2,
8729
8652
  layoutContext,
8730
- contextVars = EMPTY_OBJECT,
8731
- itemKey = "$item",
8732
- contextKey = "$context"
8653
+ contextVars = EMPTY_OBJECT
8733
8654
  }) => {
8734
8655
  const shallowMemoedContextVars = useShallowCompareMemoize(contextVars);
8735
- const nodeWithItem = useMemo(() => {
8736
- if (itemKey === contextKey) {
8737
- return {
8738
- type: "Container",
8739
- contextVars: {
8740
- [itemKey]: { ...item2, ...context },
8741
- ...shallowMemoedContextVars
8742
- },
8743
- children: Array.isArray(node) ? node : [node]
8744
- };
8745
- }
8746
- return {
8656
+ const nodeWithContextVars = useMemo(
8657
+ () => ({
8747
8658
  type: "Container",
8748
- contextVars: {
8749
- [itemKey]: item2,
8750
- [contextKey]: context,
8751
- ...shallowMemoedContextVars
8752
- },
8659
+ contextVars: shallowMemoedContextVars,
8753
8660
  children: Array.isArray(node) ? node : [node]
8754
- };
8755
- }, [context, item2, node, shallowMemoedContextVars, itemKey, contextKey]);
8756
- return /* @__PURE__ */ jsx(Fragment, { children: renderChild2(nodeWithItem, layoutContext) });
8661
+ }),
8662
+ [node, shallowMemoedContextVars]
8663
+ );
8664
+ return /* @__PURE__ */ jsx(Fragment, { children: renderChild2(nodeWithContextVars, layoutContext) });
8757
8665
  }
8758
8666
  );
8759
8667
  MemoizedItem.displayName = "MemoizedItem";
@@ -10481,7 +10389,7 @@ const treeComponentRenderer = createComponentRenderer(
10481
10389
  // - All original source data properties (custom fields)
10482
10390
  ...flatTreeNode
10483
10391
  };
10484
- return node.props.itemTemplate ? /* @__PURE__ */ jsx(MemoizedItem, { node: node.props.itemTemplate, item: itemContext, renderChild: renderChild2 }) : /* @__PURE__ */ jsx(MemoizedItem, { node: defaultItemTemplate, item: itemContext, renderChild: renderChild2 });
10392
+ 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 });
10485
10393
  }
10486
10394
  }
10487
10395
  );
@@ -11905,7 +11813,7 @@ const defaultCompResult = {
11905
11813
  cssProps: {},
11906
11814
  issues: /* @__PURE__ */ new Set()
11907
11815
  };
11908
- function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
11816
+ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext, disableInlineStyle) {
11909
11817
  const result = {
11910
11818
  cssProps: {},
11911
11819
  issues: /* @__PURE__ */ new Set()
@@ -11913,128 +11821,128 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
11913
11821
  if (!!getOrientation(layoutContext)) {
11914
11822
  result.cssProps.flexShrink = 0;
11915
11823
  }
11916
- collectCss("width");
11824
+ collectCss("width", false);
11917
11825
  const horizontalStarSize = getHorizontalStarSize(result.cssProps.width, layoutContext);
11918
11826
  if (horizontalStarSize !== null) {
11919
11827
  result.cssProps.flex = horizontalStarSize;
11920
11828
  result.cssProps.flexShrink = 1;
11921
11829
  }
11922
- collectCss("minWidth");
11923
- collectCss("maxWidth");
11924
- collectCss("height");
11830
+ collectCss("minWidth", false);
11831
+ collectCss("maxWidth", false);
11832
+ collectCss("height", false);
11925
11833
  const verticalStarSize = getVerticalStarSize(result.cssProps.height, layoutContext);
11926
11834
  if (verticalStarSize !== null) {
11927
11835
  result.cssProps.flex = verticalStarSize;
11928
11836
  result.cssProps.flexShrink = 1;
11929
11837
  }
11930
- collectCss("minHeight");
11931
- collectCss("maxHeight");
11932
- collectCss("top");
11933
- collectCss("right");
11934
- collectCss("bottom");
11935
- collectCss("left");
11936
- collectCss("gap");
11937
- collectCss("padding");
11838
+ collectCss("minHeight", false);
11839
+ collectCss("maxHeight", false);
11840
+ collectCss("top", disableInlineStyle);
11841
+ collectCss("right", disableInlineStyle);
11842
+ collectCss("bottom", disableInlineStyle);
11843
+ collectCss("left", disableInlineStyle);
11844
+ collectCss("gap", disableInlineStyle);
11845
+ collectCss("padding", disableInlineStyle);
11938
11846
  const paddingHorizontal = transformLayoutValue("paddingHorizontal");
11939
11847
  if (paddingHorizontal) {
11940
11848
  result.cssProps.paddingLeft = paddingHorizontal;
11941
11849
  result.cssProps.paddingRight = paddingHorizontal;
11942
11850
  }
11943
- collectCss("paddingRight");
11944
- collectCss("paddingLeft");
11851
+ collectCss("paddingRight", disableInlineStyle);
11852
+ collectCss("paddingLeft", disableInlineStyle);
11945
11853
  const paddingVertical = transformLayoutValue("paddingVertical");
11946
11854
  if (paddingVertical) {
11947
11855
  result.cssProps.paddingTop = paddingVertical;
11948
11856
  result.cssProps.paddingBottom = paddingVertical;
11949
11857
  }
11950
- collectCss("paddingTop");
11951
- collectCss("paddingBottom");
11952
- collectCss("margin");
11858
+ collectCss("paddingTop", disableInlineStyle);
11859
+ collectCss("paddingBottom", disableInlineStyle);
11860
+ collectCss("margin", disableInlineStyle);
11953
11861
  const marginHorizontal = transformLayoutValue("marginHorizontal");
11954
11862
  if (marginHorizontal) {
11955
11863
  result.cssProps.marginLeft = marginHorizontal;
11956
11864
  result.cssProps.marginRight = marginHorizontal;
11957
11865
  }
11958
- collectCss("marginRight");
11959
- collectCss("marginLeft");
11866
+ collectCss("marginRight", disableInlineStyle);
11867
+ collectCss("marginLeft", disableInlineStyle);
11960
11868
  const marginVertical = transformLayoutValue("marginVertical");
11961
11869
  if (marginVertical) {
11962
11870
  result.cssProps.marginTop = marginVertical;
11963
11871
  result.cssProps.marginBottom = marginVertical;
11964
11872
  }
11965
- collectCss("marginTop");
11966
- collectCss("marginBottom");
11967
- collectCss("border");
11873
+ collectCss("marginTop", disableInlineStyle);
11874
+ collectCss("marginBottom", disableInlineStyle);
11875
+ collectCss("border", disableInlineStyle);
11968
11876
  const horizontalBorder = transformLayoutValue("borderHorizontal");
11969
11877
  if (horizontalBorder) {
11970
11878
  result.cssProps.borderLeft = horizontalBorder;
11971
11879
  result.cssProps.borderRight = horizontalBorder;
11972
11880
  }
11973
- collectCss("borderRight");
11974
- collectCss("borderLeft");
11881
+ collectCss("borderRight", disableInlineStyle);
11882
+ collectCss("borderLeft", disableInlineStyle);
11975
11883
  const verticalBorder = transformLayoutValue("borderVertical");
11976
11884
  if (verticalBorder) {
11977
11885
  result.cssProps.borderTop = verticalBorder;
11978
11886
  result.cssProps.borderBottom = verticalBorder;
11979
11887
  }
11980
- collectCss("borderTop");
11981
- collectCss("borderBottom");
11982
- collectCss("borderColor");
11983
- collectCss("borderStyle");
11984
- collectCss("borderWidth");
11985
- collectCss("borderRadius");
11986
- collectCss("radiusTopLeft", "borderTopLeftRadius");
11987
- collectCss("radiusTopRight", "borderTopRightRadius");
11988
- collectCss("radiusBottomLeft", "borderBottomLeftRadius");
11989
- collectCss("radiusBottomRight", "borderBottomRightRadius");
11990
- collectCss("color");
11991
- collectCss("fontFamily");
11992
- collectCss("fontSize");
11993
- collectCss("fontWeight");
11994
- collectCss("fontStyle");
11995
- collectCss("fontVariant");
11996
- collectCss("lineBreak");
11997
- collectCss("textDecoration");
11998
- collectCss("textDecorationLine");
11999
- collectCss("textDecorationColor");
12000
- collectCss("textDecorationStyle");
12001
- collectCss("textDecorationThickness");
12002
- collectCss("textIndent");
12003
- collectCss("textShadow");
12004
- collectCss("textUnderlineOffset");
12005
- collectCss("userSelect");
12006
- collectCss("letterSpacing");
12007
- collectCss("textTransform");
12008
- collectCss("lineHeight");
12009
- collectCss("textAlign");
12010
- collectCss("textAlignLast");
12011
- collectCss("textWrap");
12012
- collectCss("wordBreak");
12013
- collectCss("wordSpacing");
12014
- collectCss("wordWrap");
12015
- collectCss("writingMode");
12016
- collectCss("backgroundColor");
12017
- collectCss("background");
12018
- collectCss("boxShadow");
12019
- collectCss("direction");
12020
- collectCss("overflowX");
12021
- collectCss("overflowY");
12022
- collectCss("zIndex");
12023
- collectCss("opacity");
12024
- collectCss("zoom");
12025
- collectCss("cursor");
12026
- collectCss("whiteSpace");
12027
- collectCss("transform");
12028
- collectCss("outline");
12029
- collectCss("outlineWidth");
12030
- collectCss("outlineColor");
12031
- collectCss("outlineStyle");
12032
- collectCss("outlineOffset");
11888
+ collectCss("borderTop", disableInlineStyle);
11889
+ collectCss("borderBottom", disableInlineStyle);
11890
+ collectCss("borderColor", disableInlineStyle);
11891
+ collectCss("borderStyle", disableInlineStyle);
11892
+ collectCss("borderWidth", disableInlineStyle);
11893
+ collectCss("borderRadius", disableInlineStyle);
11894
+ collectCss("radiusTopLeft", disableInlineStyle, "borderTopLeftRadius");
11895
+ collectCss("radiusTopRight", disableInlineStyle, "borderTopRightRadius");
11896
+ collectCss("radiusBottomLeft", disableInlineStyle, "borderBottomLeftRadius");
11897
+ collectCss("radiusBottomRight", disableInlineStyle, "borderBottomRightRadius");
11898
+ collectCss("color", disableInlineStyle);
11899
+ collectCss("fontFamily", disableInlineStyle);
11900
+ collectCss("fontSize", disableInlineStyle);
11901
+ collectCss("fontWeight", disableInlineStyle);
11902
+ collectCss("fontStyle", disableInlineStyle);
11903
+ collectCss("fontVariant", disableInlineStyle);
11904
+ collectCss("lineBreak", disableInlineStyle);
11905
+ collectCss("textDecoration", disableInlineStyle);
11906
+ collectCss("textDecorationLine", disableInlineStyle);
11907
+ collectCss("textDecorationColor", disableInlineStyle);
11908
+ collectCss("textDecorationStyle", disableInlineStyle);
11909
+ collectCss("textDecorationThickness", disableInlineStyle);
11910
+ collectCss("textIndent", disableInlineStyle);
11911
+ collectCss("textShadow", disableInlineStyle);
11912
+ collectCss("textUnderlineOffset", disableInlineStyle);
11913
+ collectCss("userSelect", disableInlineStyle);
11914
+ collectCss("letterSpacing", disableInlineStyle);
11915
+ collectCss("textTransform", disableInlineStyle);
11916
+ collectCss("lineHeight", disableInlineStyle);
11917
+ collectCss("textAlign", disableInlineStyle);
11918
+ collectCss("textAlignLast", disableInlineStyle);
11919
+ collectCss("textWrap", disableInlineStyle);
11920
+ collectCss("wordBreak", disableInlineStyle);
11921
+ collectCss("wordSpacing", disableInlineStyle);
11922
+ collectCss("wordWrap", disableInlineStyle);
11923
+ collectCss("writingMode", disableInlineStyle);
11924
+ collectCss("backgroundColor", disableInlineStyle);
11925
+ collectCss("background", disableInlineStyle);
11926
+ collectCss("boxShadow", disableInlineStyle);
11927
+ collectCss("direction", disableInlineStyle);
11928
+ collectCss("overflowX", disableInlineStyle);
11929
+ collectCss("overflowY", disableInlineStyle);
11930
+ collectCss("zIndex", disableInlineStyle);
11931
+ collectCss("opacity", disableInlineStyle);
11932
+ collectCss("zoom", disableInlineStyle);
11933
+ collectCss("cursor", disableInlineStyle);
11934
+ collectCss("whiteSpace", disableInlineStyle);
11935
+ collectCss("transform", disableInlineStyle);
11936
+ collectCss("outline", disableInlineStyle);
11937
+ collectCss("outlineWidth", disableInlineStyle);
11938
+ collectCss("outlineColor", disableInlineStyle);
11939
+ collectCss("outlineStyle", disableInlineStyle);
11940
+ collectCss("outlineOffset", disableInlineStyle);
12033
11941
  const wrapContent = transformLayoutValue("wrapContent");
12034
11942
  if (wrapContent) {
12035
11943
  result.cssProps.flexWrap = wrapContent === "true" ? "wrap" : "nowrap";
12036
11944
  }
12037
- collectCss("canShrink", "flexShrink");
11945
+ collectCss("canShrink", disableInlineStyle, "flexShrink");
12038
11946
  const canShrink = transformLayoutValue("canShrink");
12039
11947
  if (canShrink) {
12040
11948
  result.cssProps.flexShrink = canShrink === "true" ? 1 : 0;
@@ -12108,7 +12016,8 @@ function resolveLayoutProps(layoutProps = EMPTY_OBJECT, layoutContext) {
12108
12016
  return value;
12109
12017
  }
12110
12018
  }
12111
- function collectCss(prop, propCssName = "") {
12019
+ function collectCss(prop, disableInlineStyle2 = false, propCssName = "") {
12020
+ if (disableInlineStyle2) return;
12112
12021
  const value = transformLayoutValue(prop);
12113
12022
  if (value) {
12114
12023
  result.cssProps[propCssName || prop] = value;
@@ -12607,33 +12516,36 @@ const fragmentComponentRenderer = createComponentRenderer(
12607
12516
  }
12608
12517
  );
12609
12518
  const themeVars$L = `'{"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)"}'`;
12610
- const wrapper$i = "_wrapper_fw2wb_14";
12611
- const noScroll = "_noScroll_fw2wb_42";
12612
- const headerWrapper$1 = "_headerWrapper_fw2wb_45";
12613
- const tableBody = "_tableBody_fw2wb_46";
12614
- const clickableHeader = "_clickableHeader_fw2wb_51";
12615
- const headerContent = "_headerContent_fw2wb_65";
12616
- const headerRow = "_headerRow_fw2wb_97";
12617
- const columnCell = "_columnCell_fw2wb_101";
12618
- const cell = "_cell_fw2wb_102";
12619
- const alignTop = "_alignTop_fw2wb_110";
12620
- const alignCenter$1 = "_alignCenter_fw2wb_114";
12621
- const alignBottom = "_alignBottom_fw2wb_118";
12622
- const table = "_table_fw2wb_46";
12623
- const row$1 = "_row_fw2wb_126";
12624
- const checkBoxWrapper = "_checkBoxWrapper_fw2wb_133";
12625
- const showInHeader = "_showInHeader_fw2wb_138";
12626
- const selected$1 = "_selected_fw2wb_142";
12627
- const allSelected = "_allSelected_fw2wb_142";
12628
- const cellContent = "_cellContent_fw2wb_173";
12629
- const focused$1 = "_focused_fw2wb_200";
12630
- const disabled$8 = "_disabled_fw2wb_212";
12631
- const noBottomBorder = "_noBottomBorder_fw2wb_219";
12632
- const noRows$1 = "_noRows_fw2wb_244";
12633
- const loadingWrapper$1 = "_loadingWrapper_fw2wb_283";
12634
- const forceHoverWrapper = "_forceHoverWrapper_fw2wb_296";
12635
- const resizer$1 = "_resizer_fw2wb_299";
12636
- const isResizing = "_isResizing_fw2wb_320";
12519
+ const wrapper$i = "_wrapper_17ovr_14";
12520
+ const noScroll = "_noScroll_17ovr_42";
12521
+ const headerWrapper$1 = "_headerWrapper_17ovr_45";
12522
+ const tableBody = "_tableBody_17ovr_46";
12523
+ const clickableHeader = "_clickableHeader_17ovr_51";
12524
+ const headerContent = "_headerContent_17ovr_65";
12525
+ const orderingIndicator = "_orderingIndicator_17ovr_68";
12526
+ const activeOrdering = "_activeOrdering_17ovr_73";
12527
+ const alwaysShow = "_alwaysShow_17ovr_73";
12528
+ const headerRow = "_headerRow_17ovr_111";
12529
+ const columnCell = "_columnCell_17ovr_115";
12530
+ const cell = "_cell_17ovr_116";
12531
+ const alignTop = "_alignTop_17ovr_124";
12532
+ const alignCenter$1 = "_alignCenter_17ovr_128";
12533
+ const alignBottom = "_alignBottom_17ovr_132";
12534
+ const table = "_table_17ovr_46";
12535
+ const row$1 = "_row_17ovr_140";
12536
+ const checkBoxWrapper = "_checkBoxWrapper_17ovr_147";
12537
+ const showInHeader = "_showInHeader_17ovr_152";
12538
+ const selected$1 = "_selected_17ovr_156";
12539
+ const allSelected = "_allSelected_17ovr_156";
12540
+ const cellContent = "_cellContent_17ovr_187";
12541
+ const focused$1 = "_focused_17ovr_214";
12542
+ const disabled$8 = "_disabled_17ovr_226";
12543
+ const noBottomBorder = "_noBottomBorder_17ovr_233";
12544
+ const noRows$1 = "_noRows_17ovr_258";
12545
+ const loadingWrapper$1 = "_loadingWrapper_17ovr_297";
12546
+ const forceHoverWrapper = "_forceHoverWrapper_17ovr_310";
12547
+ const resizer$1 = "_resizer_17ovr_313";
12548
+ const isResizing = "_isResizing_17ovr_334";
12637
12549
  const styles$13 = {
12638
12550
  themeVars: themeVars$L,
12639
12551
  wrapper: wrapper$i,
@@ -12642,6 +12554,9 @@ const styles$13 = {
12642
12554
  tableBody,
12643
12555
  clickableHeader,
12644
12556
  headerContent,
12557
+ orderingIndicator,
12558
+ activeOrdering,
12559
+ alwaysShow,
12645
12560
  headerRow,
12646
12561
  columnCell,
12647
12562
  cell,
@@ -14512,6 +14427,7 @@ const Table = forwardRef(
14512
14427
  hideHeader = defaultProps$$.hideHeader,
14513
14428
  hideNoDataView = defaultProps$$.hideNoDataView,
14514
14429
  alwaysShowSelectionHeader = defaultProps$$.alwaysShowSelectionHeader,
14430
+ alwaysShowSortingIndicator = defaultProps$$.alwaysShowSortingIndicator,
14515
14431
  registerComponentApi,
14516
14432
  onSelectionDidChange,
14517
14433
  noBottomBorder: noBottomBorder2 = defaultProps$$.noBottomBorder,
@@ -15004,13 +14920,22 @@ const Table = forwardRef(
15004
14920
  header2.column.columnDef.header,
15005
14921
  header2.getContext()
15006
14922
  ),
15007
- header2.column.columnDef.enableSorting && /* @__PURE__ */ jsx("span", { style: { display: "inline-flex", maxWidth: 16 }, children: /* @__PURE__ */ jsx(
15008
- ColumnOrderingIndicator,
14923
+ header2.column.columnDef.enableSorting && /* @__PURE__ */ jsx(Part, { partId: "orderIndicator", children: /* @__PURE__ */ jsx(
14924
+ "span",
15009
14925
  {
15010
- iconSortAsc,
15011
- iconSortDesc,
15012
- iconNoSort,
15013
- direction: header2.column.columnDef.meta?.accessorKey === _sortBy ? _sortingDirection : void 0
14926
+ className: classnames(styles$13.orderingIndicator, {
14927
+ [styles$13.activeOrdering]: header2.column.columnDef.meta?.accessorKey === _sortBy,
14928
+ [styles$13.alwaysShow]: alwaysShowSortingIndicator
14929
+ }),
14930
+ children: /* @__PURE__ */ jsx(
14931
+ ColumnOrderingIndicator,
14932
+ {
14933
+ iconSortAsc,
14934
+ iconSortDesc,
14935
+ iconNoSort,
14936
+ direction: header2.column.columnDef.meta?.accessorKey === _sortBy ? _sortingDirection : void 0
14937
+ }
14938
+ )
15014
14939
  }
15015
14940
  ) })
15016
14941
  ] })
@@ -15197,6 +15122,7 @@ const defaultProps$$ = {
15197
15122
  hideHeader: false,
15198
15123
  hideNoDataView: false,
15199
15124
  alwaysShowSelectionHeader: false,
15125
+ alwaysShowSortingIndicator: false,
15200
15126
  noBottomBorder: false,
15201
15127
  paginationControlsLocation: "bottom",
15202
15128
  cellVerticalAlign: "center",
@@ -15326,12 +15252,17 @@ const TableMd = createMetadata({
15326
15252
  alwaysShowSelectionHeader: {
15327
15253
  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.",
15328
15254
  valueType: "boolean",
15329
- defaultValue: false
15255
+ defaultValue: defaultProps$$.alwaysShowSelectionHeader
15256
+ },
15257
+ alwaysShowSortingIndicator: {
15258
+ 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.`,
15259
+ valueType: "boolean",
15260
+ defaultValue: defaultProps$$.alwaysShowSortingIndicator
15330
15261
  },
15331
15262
  noBottomBorder: {
15332
15263
  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.`,
15333
15264
  valueType: "boolean",
15334
- defaultValue: false
15265
+ defaultValue: defaultProps$$.noBottomBorder
15335
15266
  },
15336
15267
  paginationControlsLocation: {
15337
15268
  description: `This property determines the location of the pagination controls. It can be set to \`top\`, \`bottom\`, or \`both\`.`,
@@ -15343,7 +15274,7 @@ const TableMd = createMetadata({
15343
15274
  description: `This property controls the vertical alignment of cell content. It can be set to \`top\`, \`center\`, or \`bottom\`.`,
15344
15275
  valueType: "string",
15345
15276
  availableValues: ["top", "center", "bottom"],
15346
- defaultValue: "center"
15277
+ defaultValue: defaultProps$$.cellVerticalAlign
15347
15278
  },
15348
15279
  checkboxTolerance: {
15349
15280
  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.`,
@@ -15398,6 +15329,7 @@ const TableMd = createMetadata({
15398
15329
  [`outlineWidth-heading-${COMP$1n}--focus`]: "$outlineWidth--focus",
15399
15330
  [`outlineStyle-heading-${COMP$1n}--focus`]: "$outlineStyle--focus",
15400
15331
  [`outlineOffset-heading-${COMP$1n}--focus`]: "$outlineOffset--focus",
15332
+ [`outlineColor-heading-${COMP$1n}--focus`]: "$outlineColor--focus",
15401
15333
  [`fontSize-heading-${COMP$1n}`]: "$fontSize-tiny",
15402
15334
  [`fontWeight-heading-${COMP$1n}`]: "$fontWeight-bold",
15403
15335
  [`textTransform-heading-${COMP$1n}`]: "uppercase",
@@ -15406,7 +15338,6 @@ const TableMd = createMetadata({
15406
15338
  // [`backgroundColor-row-${COMP}`]: "inherit",
15407
15339
  [`backgroundColor-selected-${COMP$1n}--hover`]: `$backgroundColor-row-${COMP$1n}--hover`,
15408
15340
  [`backgroundColor-pagination-${COMP$1n}`]: `$backgroundColor-${COMP$1n}`,
15409
- [`outlineColor-heading-${COMP$1n}--focus`]: "$outlineColor--focus",
15410
15341
  [`textColor-pagination-${COMP$1n}`]: "$color-secondary",
15411
15342
  [`backgroundColor-row-${COMP$1n}--hover`]: "$color-primary-50",
15412
15343
  [`backgroundColor-selected-${COMP$1n}`]: "$color-primary-100",
@@ -15527,6 +15458,9 @@ const TableWithColumns = memo(
15527
15458
  alwaysShowSelectionHeader: extractValue.asOptionalBoolean(
15528
15459
  node.props.alwaysShowSelectionHeader
15529
15460
  ),
15461
+ alwaysShowSortingIndicator: extractValue.asOptionalBoolean(
15462
+ node.props.alwaysShowSortingIndicator
15463
+ ),
15530
15464
  noBottomBorder: extractValue.asOptionalBoolean(node.props.noBottomBorder),
15531
15465
  paginationControlsLocation: extractValue.asOptionalString(
15532
15466
  node.props.paginationControlsLocation
@@ -16188,7 +16122,7 @@ const FlowLayoutContext = createContext({
16188
16122
  const FlowItemBreak = ({ force }) => /* @__PURE__ */ jsx("div", { className: classnames(styles$X.break, { [styles$X.forceBreak]: force }) });
16189
16123
  const FlowItemWrapper = forwardRef(function FlowItemWrapper2({ children, forceBreak: forceBreak2, ...restProps }, ref) {
16190
16124
  const { rowGap, columnGap, setNumberOfChildren } = useContext(FlowLayoutContext);
16191
- const { mediaSize } = useAppContext();
16125
+ const { mediaSize, appGlobals } = useAppContext();
16192
16126
  useIsomorphicLayoutEffect(() => {
16193
16127
  setNumberOfChildren((prev) => prev + 1);
16194
16128
  return () => {
@@ -16212,10 +16146,11 @@ const FlowItemWrapper = forwardRef(function FlowItemWrapper2({ children, forceBr
16212
16146
  {
16213
16147
  type: "Stack",
16214
16148
  orientation: "horizontal"
16215
- }
16149
+ },
16150
+ appGlobals?.disableInlineStyle
16216
16151
  ).cssProps || {}
16217
16152
  );
16218
- }, [_maxWidth, _minWidth, _width]);
16153
+ }, [_maxWidth, _minWidth, _width, appGlobals]);
16219
16154
  const resolvedWidth = useMemo(() => {
16220
16155
  if (width && typeof width === "string" && width.startsWith("var(")) {
16221
16156
  if (!resolvedCssVars[width]) {
@@ -18819,11 +18754,8 @@ function MemoizedSection({
18819
18754
  {
18820
18755
  node,
18821
18756
  renderChild: renderChild2,
18822
- item: item2,
18823
- context: sectionContext,
18824
- itemKey: "$group",
18825
- contextKey: "$group",
18826
18757
  contextVars: {
18758
+ $group: { ...item2, ...sectionContext },
18827
18759
  ...contextVars,
18828
18760
  $isFirst: item2.index === 0,
18829
18761
  $isLast: item2.index === item2.count - 1
@@ -18976,10 +18908,10 @@ const dynamicHeightListComponentRenderer = createComponentRenderer(
18976
18908
  MemoizedItem,
18977
18909
  {
18978
18910
  node: itemTemplate,
18979
- item: item2,
18980
18911
  renderChild: renderChild2,
18981
18912
  layoutContext,
18982
18913
  contextVars: {
18914
+ $item: item2,
18983
18915
  $itemIndex: rowIndex,
18984
18916
  $isFirst: rowIndex === 0,
18985
18917
  $isLast: rowIndex === count - 1
@@ -19001,10 +18933,10 @@ const dynamicHeightListComponentRenderer = createComponentRenderer(
19001
18933
  MemoizedItem,
19002
18934
  {
19003
18935
  node: node.props.groupFooterTemplate ?? { type: "Fragment" },
19004
- item: item2,
19005
18936
  renderChild: renderChild2,
19006
- itemKey: "$group",
19007
- contextKey: "$group"
18937
+ contextVars: {
18938
+ $group: item2
18939
+ }
19008
18940
  },
19009
18941
  key
19010
18942
  ) : null : void 0
@@ -21271,9 +21203,10 @@ const SelectTriggerActions = ({
21271
21203
  }) => {
21272
21204
  const hasValue = multiSelect ? Array.isArray(value) && value.length > 0 : value !== void 0 && value !== null && value !== "";
21273
21205
  return /* @__PURE__ */ jsxs("div", { className: styles$K.actions, children: [
21274
- hasValue && enabled2 && !readOnly2 && clearable && /* @__PURE__ */ jsx(Part, { partId: PART_CLEAR_BUTTON$1, children: /* @__PURE__ */ jsx(
21206
+ hasValue && enabled2 && !readOnly2 && clearable && /* @__PURE__ */ jsx(
21275
21207
  "span",
21276
21208
  {
21209
+ "data-part-id": PART_CLEAR_BUTTON$1,
21277
21210
  className: styles$K.action,
21278
21211
  onClick: (event) => {
21279
21212
  event.stopPropagation();
@@ -21281,7 +21214,7 @@ const SelectTriggerActions = ({
21281
21214
  },
21282
21215
  children: /* @__PURE__ */ jsx(Icon, { name: "close" })
21283
21216
  }
21284
- ) }),
21217
+ ),
21285
21218
  showChevron && /* @__PURE__ */ jsx("span", { className: styles$K.action, children: /* @__PURE__ */ jsx(Icon, { name: "chevrondown" }) })
21286
21219
  ] });
21287
21220
  };
@@ -21550,7 +21483,7 @@ const Select = forwardRef(function Select2({
21550
21483
  },
21551
21484
  modal,
21552
21485
  children: [
21553
- /* @__PURE__ */ jsx(Part, { partId: PART_LIST_WRAPPER$1, children: /* @__PURE__ */ jsxs(
21486
+ /* @__PURE__ */ jsxs(
21554
21487
  PopoverTrigger,
21555
21488
  {
21556
21489
  ...rest,
@@ -21562,6 +21495,7 @@ const Select = forwardRef(function Select2({
21562
21495
  onBlur,
21563
21496
  disabled: !enabled2,
21564
21497
  "aria-expanded": open,
21498
+ "data-part-id": PART_LIST_WRAPPER$1,
21565
21499
  className: classnames(className, styles$K.selectTrigger, styles$K[validationStatus], {
21566
21500
  [styles$K.disabled]: !enabled2,
21567
21501
  [styles$K.multi]: multiSelect
@@ -21614,7 +21548,7 @@ const Select = forwardRef(function Select2({
21614
21548
  )
21615
21549
  ]
21616
21550
  }
21617
- ) }),
21551
+ ),
21618
21552
  open && /* @__PURE__ */ jsx(Portal, { container: root2, children: /* @__PURE__ */ jsx(
21619
21553
  PopoverContent,
21620
21554
  {
@@ -23039,18 +22973,26 @@ const Form = forwardRef(function({
23039
22973
  children: cancelLabel
23040
22974
  },
23041
22975
  "cancel"
23042
- ) });
22976
+ ) }, PART_CANCEL_BUTTON);
23043
22977
  const submitButton = useMemo(
23044
- () => /* @__PURE__ */ jsx(Part, { partId: PART_SUBMIT_BUTTON, children: /* @__PURE__ */ jsx(Button, { type: "submit", disabled: !isEnabled2 || !enableSubmit, children: formState.submitInProgress ? saveInProgressLabel : saveLabel }, "submit") }),
22978
+ () => /* @__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),
23045
22979
  [isEnabled2, enableSubmit, formState.submitInProgress, saveInProgressLabel, saveLabel]
23046
22980
  );
22981
+ const getData = useCallback(() => {
22982
+ return cloneDeep(cleanUpSubject(formState.subject, formState.noSubmitFields));
22983
+ }, [formState.subject, formState.noSubmitFields]);
22984
+ const getIsDirtyFlag = useCallback(() => {
22985
+ return isDirty;
22986
+ }, [isDirty]);
23047
22987
  useEffect(() => {
23048
22988
  registerComponentApi?.({
23049
22989
  reset: doReset,
23050
22990
  update: updateData,
23051
- validate: doValidate
22991
+ validate: doValidate,
22992
+ getData,
22993
+ isDirty: getIsDirtyFlag
23052
22994
  });
23053
- }, [doReset, updateData, doValidate, registerComponentApi]);
22995
+ }, [doReset, updateData, doValidate, getData, registerComponentApi, getIsDirtyFlag]);
23054
22996
  let safeButtonRow = /* @__PURE__ */ jsx(Fragment, { children: buttonRow2 || /* @__PURE__ */ jsxs("div", { className: styles$H.buttonRow, children: [
23055
22997
  swapCancelAndSave && [submitButton, cancelButton],
23056
22998
  !swapCancelAndSave && [cancelButton, submitButton]
@@ -23112,7 +23054,8 @@ const FormWithContextVar = forwardRef(function({
23112
23054
  style: style2,
23113
23055
  className,
23114
23056
  lookupEventHandler,
23115
- registerComponentApi
23057
+ registerComponentApi,
23058
+ appContext
23116
23059
  }, ref) {
23117
23060
  const [formState, dispatch] = useReducer(formReducer, initialState);
23118
23061
  const $data = useMemo(() => {
@@ -23148,7 +23091,7 @@ const FormWithContextVar = forwardRef(function({
23148
23091
  const errorNotificationMessage = extractValue.asOptionalString(node.props.errorNotificationMessage) || "";
23149
23092
  const submitUrl = extractValue.asOptionalString(node.props.submitUrl) || extractValue.asOptionalString(node.props._data_url);
23150
23093
  const itemLabelWidth = extractValue.asOptionalString(node.props.itemLabelWidth);
23151
- const { cssProps: itemLabelWidthCssProps } = resolveLayoutProps({ width: itemLabelWidth });
23094
+ const { cssProps: itemLabelWidthCssProps } = resolveLayoutProps({ width: itemLabelWidth }, void 0, appContext?.appGlobals?.disableInlineStyle);
23152
23095
  return /* @__PURE__ */ jsx(Slot, { ref, style: style2, children: /* @__PURE__ */ jsx(
23153
23096
  Form,
23154
23097
  {
@@ -24770,7 +24713,7 @@ function ApiInterceptorProvider({
24770
24713
  return;
24771
24714
  }
24772
24715
  void (async () => {
24773
- const { initMock } = await import("./initMock-B4QMy8Go.js");
24716
+ const { initMock } = await import("./initMock-DoewYSkg.js");
24774
24717
  const apiInstance2 = await initMock(interceptor);
24775
24718
  setApiInstance(apiInstance2);
24776
24719
  setInitialized(true);
@@ -24787,7 +24730,7 @@ function ApiInterceptorProvider({
24787
24730
  if (process.env.VITE_MOCK_ENABLED) {
24788
24731
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24789
24732
  useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
24790
- import("./initMock-B4QMy8Go.js")
24733
+ import("./initMock-DoewYSkg.js")
24791
24734
  ]);
24792
24735
  if (interceptor || forceInitialize) {
24793
24736
  const apiInstance2 = await initMock(interceptor || {});
@@ -24824,7 +24767,7 @@ function ApiInterceptorProvider({
24824
24767
  void (async () => {
24825
24768
  const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
24826
24769
  import("./apiInterceptorWorker-dwrAyq6l.js"),
24827
- import("./initMock-B4QMy8Go.js")
24770
+ import("./initMock-DoewYSkg.js")
24828
24771
  ]);
24829
24772
  const apiInstance2 = await initMock(interceptor);
24830
24773
  await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
@@ -27206,7 +27149,7 @@ const FormItem = memo(function FormItem2({
27206
27149
  const initialValueFromSubject = useFormContextPart(
27207
27150
  (value2) => getByPath(value2?.originalSubject, formItemId)
27208
27151
  );
27209
- const initialValue = initialValueFromSubject === void 0 ? initialValueFromProps : initialValueFromSubject;
27152
+ const initialValue = initialValueFromSubject === void 0 || initialValueFromSubject === null ? initialValueFromProps : initialValueFromSubject;
27210
27153
  const value = useFormContextPart((value2) => getByPath(value2?.subject, formItemId));
27211
27154
  const validationResult = useFormContextPart((value2) => value2?.validationResults[formItemId]);
27212
27155
  const dispatch = useFormContextPart((value2) => value2?.dispatch);
@@ -28711,6 +28654,11 @@ const FormMd = createMetadata({
28711
28654
  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.",
28712
28655
  signature: "validate(): Promise<{ isValid: boolean, data: Record<string, any>, errors: ValidationResult[], warnings: ValidationResult[], validationResults: Record<string, ValidationResult> }>",
28713
28656
  returns: "A promise that resolves to an object containing validation status, cleaned data, and detailed validation results."
28657
+ },
28658
+ getData: {
28659
+ 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.",
28660
+ signature: "getData(): Record<string, any>",
28661
+ returns: "A deep clone of the current form data object."
28714
28662
  }
28715
28663
  },
28716
28664
  themeVars: parseScssVar(styles$H.themeVars),
@@ -28735,7 +28683,7 @@ const FormMd = createMetadata({
28735
28683
  const formComponentRenderer = createComponentRenderer(
28736
28684
  COMP$Z,
28737
28685
  FormMd,
28738
- ({ node, renderChild: renderChild2, extractValue, className, lookupEventHandler, registerComponentApi }) => {
28686
+ ({ node, renderChild: renderChild2, extractValue, className, lookupEventHandler, registerComponentApi, appContext }) => {
28739
28687
  return /* @__PURE__ */ jsx(
28740
28688
  FormWithContextVar,
28741
28689
  {
@@ -28744,7 +28692,8 @@ const formComponentRenderer = createComponentRenderer(
28744
28692
  extractValue,
28745
28693
  lookupEventHandler,
28746
28694
  className,
28747
- registerComponentApi
28695
+ registerComponentApi,
28696
+ appContext
28748
28697
  }
28749
28698
  );
28750
28699
  }
@@ -31444,10 +31393,10 @@ const selectComponentRenderer = createComponentRenderer(
31444
31393
  MemoizedItem,
31445
31394
  {
31446
31395
  contextVars: {
31396
+ $item: item2,
31447
31397
  $itemContext: { removeItem }
31448
31398
  },
31449
31399
  node: node.props.valueTemplate,
31450
- item: item2,
31451
31400
  renderChild: renderChild2
31452
31401
  }
31453
31402
  );
@@ -31457,8 +31406,8 @@ const selectComponentRenderer = createComponentRenderer(
31457
31406
  MemoizedItem,
31458
31407
  {
31459
31408
  node: node.props.optionTemplate,
31460
- item: item2,
31461
31409
  contextVars: {
31410
+ $item: item2,
31462
31411
  $selectedValue: val,
31463
31412
  $inTrigger: inTrigger
31464
31413
  },
@@ -33815,6 +33764,7 @@ function Theme({
33815
33764
  id,
33816
33765
  isRoot = defaultProps$n.isRoot,
33817
33766
  applyIf,
33767
+ disableInlineStyle,
33818
33768
  renderChild: renderChild2,
33819
33769
  node,
33820
33770
  tone,
@@ -33911,7 +33861,8 @@ function Theme({
33911
33861
  themeStyles: themeCssVars,
33912
33862
  themeVars: allThemeVarsWithResolvedHierarchicalVars,
33913
33863
  getResourceUrl,
33914
- getThemeVar
33864
+ getThemeVar,
33865
+ disableInlineStyle
33915
33866
  };
33916
33867
  return themeVal;
33917
33868
  }, [
@@ -33922,7 +33873,8 @@ function Theme({
33922
33873
  getResourceUrl,
33923
33874
  getThemeVar,
33924
33875
  themeCssVars,
33925
- themeTone
33876
+ themeTone,
33877
+ disableInlineStyle
33926
33878
  ]);
33927
33879
  const { indexing } = useIndexerContext();
33928
33880
  const rootClasses = useMemo(() => {
@@ -34017,6 +33969,11 @@ const ThemeMd = createMetadata({
34017
33969
  void 0,
34018
33970
  "boolean",
34019
33971
  true
33972
+ ),
33973
+ disableInlineStyle: d(
33974
+ `This property controls whether inline styles are disabled for components within this theme. When undefined, uses the appGlobals.disableInlineStyle setting.`,
33975
+ void 0,
33976
+ "boolean"
34020
33977
  )
34021
33978
  },
34022
33979
  opaque: true
@@ -34037,6 +33994,7 @@ const themeComponentRenderer = createComponentRenderer(
34037
33994
  id: extractValue.asOptionalString(node.props.themeId),
34038
33995
  isRoot: extractValue.asOptionalBoolean(node.props.root),
34039
33996
  applyIf: extractValue.asOptionalBoolean(node.props.applyIf),
33997
+ disableInlineStyle: extractValue.asOptionalBoolean(node.props.disableInlineStyle),
34040
33998
  layoutContext,
34041
33999
  renderChild: renderChild2,
34042
34000
  tone: themeTone,
@@ -34060,8 +34018,8 @@ function Column({ nodeChildren, renderChild: renderChild2, ...columnMetadata })
34060
34018
  MemoizedItem,
34061
34019
  {
34062
34020
  node: nodeChildren,
34063
- item: row2,
34064
34021
  contextVars: {
34022
+ $item: row2,
34065
34023
  $rowIndex: rowIndex,
34066
34024
  $colIndex: colIndex,
34067
34025
  $row: row2,
@@ -39313,7 +39271,6 @@ const tabsComponentRenderer = createComponentRenderer(
39313
39271
  MemoizedItem,
39314
39272
  {
39315
39273
  node: node.props.headerTemplate,
39316
- itemKey: "$header",
39317
39274
  contextVars: {
39318
39275
  $header: item2
39319
39276
  },
@@ -40068,7 +40025,6 @@ const tabItemComponentRenderer = createComponentRenderer(
40068
40025
  MemoizedItem,
40069
40026
  {
40070
40027
  node: node.props.headerTemplate,
40071
- itemKey: "$header",
40072
40028
  contextVars: {
40073
40029
  $header: {
40074
40030
  id: item2.id,
@@ -40215,7 +40171,9 @@ const accordionItemComponentRenderer = createComponentRenderer(
40215
40171
  MemoizedItem,
40216
40172
  {
40217
40173
  node: node.props.headerTemplate ?? { type: "Fragment" },
40218
- item: item2,
40174
+ contextVars: {
40175
+ $item: item2
40176
+ },
40219
40177
  renderChild: renderChild2
40220
40178
  }
40221
40179
  ) : void 0,
@@ -40853,12 +40811,51 @@ const carouselItemComponentRenderer = createComponentRenderer(
40853
40811
  return /* @__PURE__ */ jsx(CarouselItemComponent, { children: renderChild2(node.children) });
40854
40812
  }
40855
40813
  );
40856
- const breakout = "_breakout_puy20_2";
40814
+ const breakout = "_breakout_z3cnt_2";
40857
40815
  const styles$g = {
40858
40816
  breakout
40859
40817
  };
40860
40818
  const Breakout = ({ children, style: style2, ...rest }) => {
40861
- return /* @__PURE__ */ jsx("div", { ...rest, style: style2, className: styles$g.breakout, children });
40819
+ const ref = useRef(null);
40820
+ const [breakoutStyle, setBreakoutStyle] = useState({});
40821
+ const calculatedRef = useRef(false);
40822
+ useLayoutEffect(() => {
40823
+ const updateBreakoutStyle = () => {
40824
+ if (!ref.current) return;
40825
+ const currentMarginLeft = ref.current.style.marginLeft;
40826
+ const currentMarginRight = ref.current.style.marginRight;
40827
+ const currentWidth = ref.current.style.width;
40828
+ ref.current.style.marginLeft = "0px";
40829
+ ref.current.style.marginRight = "0px";
40830
+ ref.current.style.width = "auto";
40831
+ const rect = ref.current.getBoundingClientRect();
40832
+ const viewportWidth = window.innerWidth;
40833
+ ref.current.style.marginLeft = currentMarginLeft;
40834
+ ref.current.style.marginRight = currentMarginRight;
40835
+ ref.current.style.width = currentWidth;
40836
+ const offsetLeft = rect.left;
40837
+ const offsetRight = viewportWidth - rect.right;
40838
+ const newStyle = {
40839
+ marginLeft: `-${offsetLeft}px`,
40840
+ marginRight: `-${offsetRight}px`,
40841
+ width: `${viewportWidth}px`
40842
+ };
40843
+ setBreakoutStyle(newStyle);
40844
+ calculatedRef.current = true;
40845
+ };
40846
+ if (!calculatedRef.current) {
40847
+ updateBreakoutStyle();
40848
+ }
40849
+ const handleResize = () => {
40850
+ calculatedRef.current = false;
40851
+ updateBreakoutStyle();
40852
+ };
40853
+ window.addEventListener("resize", handleResize);
40854
+ return () => {
40855
+ window.removeEventListener("resize", handleResize);
40856
+ };
40857
+ }, []);
40858
+ return /* @__PURE__ */ jsx("div", { ...rest, ref, style: { ...breakoutStyle, ...style2 }, className: styles$g.breakout, children });
40862
40859
  };
40863
40860
  const COMP$n = "Breakout";
40864
40861
  const BreakoutMd = createMetadata({
@@ -41391,8 +41388,8 @@ const autoCompleteComponentRenderer = createComponentRenderer(
41391
41388
  MemoizedItem,
41392
41389
  {
41393
41390
  node: node.props.optionTemplate,
41394
- item: item2,
41395
- context: {
41391
+ contextVars: {
41392
+ $item: item2,
41396
41393
  $selectedValue: val,
41397
41394
  $inTrigger: inTrigger
41398
41395
  },
@@ -44419,7 +44416,6 @@ const areaChartComponentRenderer = createComponentRenderer(
44419
44416
  MemoizedItem,
44420
44417
  {
44421
44418
  node: node.props.tooltipTemplate,
44422
- item: tooltipData,
44423
44419
  contextVars: {
44424
44420
  $tooltip: tooltipData
44425
44421
  },
@@ -44888,7 +44884,6 @@ const barChartComponentRenderer = createComponentRenderer(
44888
44884
  MemoizedItem,
44889
44885
  {
44890
44886
  node: node.props.tooltipTemplate,
44891
- item: tooltipData,
44892
44887
  contextVars: {
44893
44888
  $tooltip: tooltipData
44894
44889
  },
@@ -45669,7 +45664,6 @@ const lineChartComponentRenderer = createComponentRenderer(
45669
45664
  MemoizedItem,
45670
45665
  {
45671
45666
  node: node.props.tooltipTemplate,
45672
- item: tooltipData,
45673
45667
  contextVars: {
45674
45668
  $tooltip: tooltipData
45675
45669
  },
@@ -45970,7 +45964,6 @@ const radarChartComponentRenderer = createComponentRenderer(
45970
45964
  MemoizedItem,
45971
45965
  {
45972
45966
  node: node.props.tooltipTemplate,
45973
- item: tooltipData,
45974
45967
  contextVars: {
45975
45968
  $tooltip: tooltipData
45976
45969
  },
@@ -46357,8 +46350,6 @@ const toastComponentRenderer = createComponentRenderer(
46357
46350
  MemoizedItem,
46358
46351
  {
46359
46352
  node: template || node.children,
46360
- itemKey: "$_TEMP",
46361
- contextKey: "$_TEMP",
46362
46353
  contextVars: {
46363
46354
  $param: context
46364
46355
  },
@@ -47895,7 +47886,7 @@ function IconProvider({ children }) {
47895
47886
  /* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
47896
47887
  ] });
47897
47888
  }
47898
- const version = "0.11.19";
47889
+ const version = "0.11.20";
47899
47890
  const miscellaneousUtils = {
47900
47891
  capitalize,
47901
47892
  pluralize: pluralize$1,
@@ -51201,7 +51192,7 @@ const ComponentAdapter = forwardRef(function ComponentAdapter2({
51201
51192
  memoedLookupEventHandler,
51202
51193
  descriptor?.nonVisual || isApiBound || isCompoundComponent
51203
51194
  );
51204
- const { getResourceUrl } = useTheme();
51195
+ const { getResourceUrl, disableInlineStyle: themeDisableInlineStyle } = useTheme();
51205
51196
  const extractResourceUrl = useCallback(
51206
51197
  (url) => {
51207
51198
  const extractedUrl = valueExtractor(url);
@@ -51219,10 +51210,14 @@ const ComponentAdapter = forwardRef(function ComponentAdapter2({
51219
51210
  resolvedLayoutProps[key] = valueExtractor(safeNode.props[key], true);
51220
51211
  }
51221
51212
  });
51222
- return resolveLayoutProps(resolvedLayoutProps, {
51223
- ...layoutContextRef?.current,
51224
- mediaSize: appContext.mediaSize
51225
- });
51213
+ return resolveLayoutProps(
51214
+ resolvedLayoutProps,
51215
+ {
51216
+ ...layoutContextRef?.current,
51217
+ mediaSize: appContext.mediaSize
51218
+ },
51219
+ themeDisableInlineStyle ?? appContext.appGlobals?.disableInlineStyle
51220
+ );
51226
51221
  }, [appContext.mediaSize, layoutContextRef, safeNode.props, valueExtractor]);
51227
51222
  const stableLayoutCss = useShallowCompareMemoize(cssProps);
51228
51223
  const className = useComponentStyle(stableLayoutCss);