xmlui 0.10.12 → 0.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/{index-CDOoBf2R.mjs → index-Db5iQkFp.mjs} +1132 -1118
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-BAV9RKui.mjs → initMock-B9LtmFJG.mjs} +1 -1
- package/dist/lib/scss/components-core/theming/_themes.scss +1 -1
- package/dist/lib/xmlui.d.ts +1 -1
- package/dist/lib/xmlui.mjs +1 -1
- package/dist/metadata/{collectedComponentMetadata-Dp8BqWQO.mjs → collectedComponentMetadata-BN8eg9Gr.mjs} +1127 -1113
- package/dist/metadata/{initMock-BvEO8W8r.mjs → initMock-J7pN8owj.mjs} +1 -1
- package/dist/metadata/style.css +1 -1
- package/dist/metadata/xmlui-metadata.mjs +1 -1
- package/dist/metadata/xmlui-metadata.umd.js +3 -3
- package/dist/scripts/package.json +1 -1
- package/dist/scripts/src/components/ColorPicker/ColorPicker.js +3 -3
- package/dist/scripts/src/components/ColorPicker/ColorPickerNative.js +33 -5
- package/dist/scripts/src/components/ComponentProvider.js +0 -4
- package/dist/scripts/src/components/DropdownMenu/DropdownMenuNative.js +1 -1
- package/dist/scripts/src/components/FileInput/FileInputNative.js +14 -10
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZoneNative.js +1 -1
- package/dist/scripts/src/components/Form/Form.js +6 -0
- package/dist/scripts/src/components/Form/FormNative.js +13 -3
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +2 -2
- package/dist/scripts/src/components/Fragment/Fragment.js +5 -1
- package/dist/scripts/src/components/Heading/Heading.js +0 -12
- package/dist/scripts/src/components/ModalDialog/ModalDialog.js +1 -1
- package/dist/scripts/src/components/ModalDialog/ModalDialogNative.js +1 -1
- package/dist/scripts/src/components/RadioGroup/RadioGroupNative.js +17 -1
- package/dist/scripts/src/components/Table/Table.js +8 -5
- package/dist/scripts/src/components/Table/TableNative.js +1 -1
- package/dist/scripts/src/components/Text/Text.js +0 -13
- package/dist/scripts/src/components/TextArea/TextAreaNative.js +8 -1
- package/dist/scripts/src/components/Theme/NotificationToast.js +4 -1
- package/dist/scripts/src/components-core/CompoundComponent.js +4 -4
- package/dist/scripts/src/components-core/RestApiProxy.js +4 -3
- package/dist/scripts/src/components-core/rendering/ComponentAdapter.js +1 -1
- package/dist/scripts/src/components-core/rendering/Container.js +19 -8
- package/dist/scripts/src/components-core/rendering/reducer.js +1 -1
- package/dist/scripts/src/components-core/theming/themes/root.js +13 -20
- package/dist/standalone/xmlui-standalone.es.d.ts +1 -1
- package/dist/standalone/xmlui-standalone.umd.js +8 -8
- package/package.json +1 -1
- package/dist/scripts/src/components/RadioGroup/RadioItem.js +0 -28
|
@@ -860,6 +860,7 @@ const ItemWithLabel = forwardRef(function ItemWithLabel2({
|
|
|
860
860
|
labelStyle,
|
|
861
861
|
validationResult,
|
|
862
862
|
isInputTemplateUsed = false,
|
|
863
|
+
onLabelClick,
|
|
863
864
|
...rest
|
|
864
865
|
}, ref) {
|
|
865
866
|
if (rest.layoutContext !== void 0) {
|
|
@@ -898,10 +899,10 @@ const ItemWithLabel = forwardRef(function ItemWithLabel2({
|
|
|
898
899
|
{
|
|
899
900
|
"data-part-id": PART_LABEL,
|
|
900
901
|
htmlFor: inputId,
|
|
901
|
-
onClick: () => {
|
|
902
|
+
onClick: onLabelClick || (() => {
|
|
902
903
|
var _a2;
|
|
903
904
|
return (_a2 = document.getElementById(inputId)) == null ? void 0 : _a2.focus();
|
|
904
|
-
},
|
|
905
|
+
}),
|
|
905
906
|
style: {
|
|
906
907
|
...labelStyle,
|
|
907
908
|
width: labelWidth && numberRegex.test(labelWidth) ? `${labelWidth}px` : labelWidth,
|
|
@@ -1431,7 +1432,7 @@ const Stack = forwardRef(function Stack2({
|
|
|
1431
1432
|
}
|
|
1432
1433
|
);
|
|
1433
1434
|
});
|
|
1434
|
-
const COMP$
|
|
1435
|
+
const COMP$1x = "Stack";
|
|
1435
1436
|
const HORIZONTAL_ALIGNMENT = {
|
|
1436
1437
|
description: "Manages the horizontal content alignment for each child element in the Stack.",
|
|
1437
1438
|
availableValues: alignmentOptionValues,
|
|
@@ -1481,7 +1482,7 @@ const stackMd = createMetadata({
|
|
|
1481
1482
|
}
|
|
1482
1483
|
},
|
|
1483
1484
|
events: {
|
|
1484
|
-
click: dClick(COMP$
|
|
1485
|
+
click: dClick(COMP$1x),
|
|
1485
1486
|
mounted: dInternal("Reserved for future use")
|
|
1486
1487
|
},
|
|
1487
1488
|
themeVars: parseScssVar(styles$1l.themeVars)
|
|
@@ -1494,7 +1495,7 @@ const StackMd = {
|
|
|
1494
1495
|
};
|
|
1495
1496
|
const VStackMd = {
|
|
1496
1497
|
...StackMd,
|
|
1497
|
-
specializedFrom: COMP$
|
|
1498
|
+
specializedFrom: COMP$1x,
|
|
1498
1499
|
description: `This component represents a stack rendering its contents vertically.`,
|
|
1499
1500
|
props: {
|
|
1500
1501
|
...stackMd.props
|
|
@@ -1502,7 +1503,7 @@ const VStackMd = {
|
|
|
1502
1503
|
};
|
|
1503
1504
|
const HStackMd = {
|
|
1504
1505
|
...StackMd,
|
|
1505
|
-
specializedFrom: COMP$
|
|
1506
|
+
specializedFrom: COMP$1x,
|
|
1506
1507
|
description: `This component represents a stack rendering its contents horizontally.`,
|
|
1507
1508
|
props: {
|
|
1508
1509
|
...stackMd.props
|
|
@@ -1510,12 +1511,12 @@ const HStackMd = {
|
|
|
1510
1511
|
};
|
|
1511
1512
|
const CVStackMd = {
|
|
1512
1513
|
...StackMd,
|
|
1513
|
-
specializedFrom: COMP$
|
|
1514
|
+
specializedFrom: COMP$1x,
|
|
1514
1515
|
description: `This component represents a stack that renders its contents vertically and aligns that in the center along both axes.`
|
|
1515
1516
|
};
|
|
1516
1517
|
const CHStackMd = {
|
|
1517
1518
|
...StackMd,
|
|
1518
|
-
specializedFrom: COMP$
|
|
1519
|
+
specializedFrom: COMP$1x,
|
|
1519
1520
|
description: `This component represents a stack that renders its contents horizontally and aligns that in the center along both axes.`
|
|
1520
1521
|
};
|
|
1521
1522
|
function renderStack({
|
|
@@ -1551,7 +1552,7 @@ function renderStack({
|
|
|
1551
1552
|
);
|
|
1552
1553
|
}
|
|
1553
1554
|
const stackComponentRenderer = createComponentRenderer(
|
|
1554
|
-
COMP$
|
|
1555
|
+
COMP$1x,
|
|
1555
1556
|
StackMd,
|
|
1556
1557
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
1557
1558
|
var _a2, _b, _c;
|
|
@@ -1655,14 +1656,14 @@ const styles$1i = {
|
|
|
1655
1656
|
overflowDropdown
|
|
1656
1657
|
};
|
|
1657
1658
|
const themeVars$Y = `'{"backgroundColor-DropdownMenu": "var(--xmlui-backgroundColor-DropdownMenu)", "borderRadius-DropdownMenu": "var(--xmlui-borderRadius-DropdownMenu)", "boxShadow-DropdownMenu": "var(--xmlui-boxShadow-DropdownMenu)", "borderColor-DropdownMenu-content": "var(--xmlui-borderColor-DropdownMenu-content)", "borderWidth-DropdownMenu-content": "var(--xmlui-borderWidth-DropdownMenu-content)", "borderStyle-DropdownMenu-content": "var(--xmlui-borderStyle-DropdownMenu-content)", "minWidth-DropdownMenu": "var(--xmlui-minWidth-DropdownMenu)", "backgroundColor-MenuItem": "var(--xmlui-backgroundColor-MenuItem)", "color-MenuItem": "var(--xmlui-color-MenuItem)", "fontFamily-MenuItem": "var(--xmlui-fontFamily-MenuItem)", "gap-MenuItem": "var(--xmlui-gap-MenuItem)", "fontSize-MenuItem": "var(--xmlui-fontSize-MenuItem)", "paddingVertical-MenuItem": "var(--xmlui-paddingVertical-MenuItem)", "paddingHorizontal-MenuItem": "var(--xmlui-paddingHorizontal-MenuItem)", "backgroundColor-MenuItem--hover": "var(--xmlui-backgroundColor-MenuItem--hover)", "backgroundColor-MenuItem--active": "var(--xmlui-backgroundColor-MenuItem--active)", "backgroundColor-MenuItem--active--hover": "var(--xmlui-backgroundColor-MenuItem--active--hover)", "color-MenuItem--hover": "var(--xmlui-color-MenuItem--hover)", "color-MenuItem--active": "var(--xmlui-color-MenuItem--active)", "color-MenuItem--active--hover": "var(--xmlui-color-MenuItem--active--hover)", "color-MenuItem--disabled": "var(--xmlui-color-MenuItem--disabled)", "marginTop-MenuSeparator": "var(--xmlui-marginTop-MenuSeparator)", "marginBottom-MenuSeparator": "var(--xmlui-marginBottom-MenuSeparator)", "width-MenuSeparator": "var(--xmlui-width-MenuSeparator)", "height-MenuSeparator": "var(--xmlui-height-MenuSeparator)", "color-MenuSeparator": "var(--xmlui-color-MenuSeparator)"}'`;
|
|
1658
|
-
const DropdownMenuContent = "
|
|
1659
|
-
const DropdownMenuSubContent = "
|
|
1660
|
-
const DropdownMenuItem = "
|
|
1661
|
-
const DropdownMenuSubTrigger = "
|
|
1662
|
-
const active$3 = "
|
|
1663
|
-
const disabled$a = "
|
|
1664
|
-
const wrapper$m = "
|
|
1665
|
-
const DropdownMenuSeparator = "
|
|
1659
|
+
const DropdownMenuContent = "_DropdownMenuContent_iu9k6_14";
|
|
1660
|
+
const DropdownMenuSubContent = "_DropdownMenuSubContent_iu9k6_19";
|
|
1661
|
+
const DropdownMenuItem = "_DropdownMenuItem_iu9k6_29";
|
|
1662
|
+
const DropdownMenuSubTrigger = "_DropdownMenuSubTrigger_iu9k6_30";
|
|
1663
|
+
const active$3 = "_active_iu9k6_53";
|
|
1664
|
+
const disabled$a = "_disabled_iu9k6_63";
|
|
1665
|
+
const wrapper$m = "_wrapper_iu9k6_74";
|
|
1666
|
+
const DropdownMenuSeparator = "_DropdownMenuSeparator_iu9k6_78";
|
|
1666
1667
|
const styles$1h = {
|
|
1667
1668
|
themeVars: themeVars$Y,
|
|
1668
1669
|
DropdownMenuContent,
|
|
@@ -3333,7 +3334,7 @@ const DropdownMenu = forwardRef(function DropdownMenu2({
|
|
|
3333
3334
|
}
|
|
3334
3335
|
},
|
|
3335
3336
|
children: [
|
|
3336
|
-
/* @__PURE__ */ jsx(ReactDropdownMenu.Trigger, { ...rest, asChild: true, disabled: disabled2, ref, children: triggerTemplate ?
|
|
3337
|
+
/* @__PURE__ */ jsx(ReactDropdownMenu.Trigger, { ...rest, asChild: true, disabled: disabled2, ref, children: triggerTemplate ? triggerTemplate : /* @__PURE__ */ jsx(
|
|
3337
3338
|
Button,
|
|
3338
3339
|
{
|
|
3339
3340
|
icon: /* @__PURE__ */ jsx(Icon, { name: triggerButtonIcon, fallback: "chevrondown" }),
|
|
@@ -3708,11 +3709,11 @@ const ResponsiveBar = forwardRef(function ResponsiveBar2({
|
|
|
3708
3709
|
}
|
|
3709
3710
|
);
|
|
3710
3711
|
});
|
|
3711
|
-
const COMP$
|
|
3712
|
+
const COMP$1w = "ResponsiveBar";
|
|
3712
3713
|
const ResponsiveBarMd = createMetadata({
|
|
3713
3714
|
status: "stable",
|
|
3714
3715
|
description: "`ResponsiveBar` is a layout container that automatically manages child component overflow by moving items that don't fit into a dropdown menu. It supports both horizontal and vertical orientations and provides a space-efficient way to display navigation items, toolbar buttons, or other components that need to adapt to varying container dimensions while maintaining full functionality.",
|
|
3715
|
-
docFolder: COMP$
|
|
3716
|
+
docFolder: COMP$1w,
|
|
3716
3717
|
props: {
|
|
3717
3718
|
orientation: {
|
|
3718
3719
|
description: "Layout direction of the responsive bar. In horizontal mode, items are arranged left-to-right and overflow is based on container width. In vertical mode, items are arranged top-to-bottom and overflow is based on container height.",
|
|
@@ -3732,20 +3733,20 @@ const ResponsiveBarMd = createMetadata({
|
|
|
3732
3733
|
}
|
|
3733
3734
|
},
|
|
3734
3735
|
events: {
|
|
3735
|
-
click: dClick(COMP$
|
|
3736
|
+
click: dClick(COMP$1w)
|
|
3736
3737
|
},
|
|
3737
3738
|
apis: {},
|
|
3738
3739
|
contextVars: {},
|
|
3739
3740
|
themeVars: parseScssVar(styles$1i.themeVars),
|
|
3740
3741
|
limitThemeVarsToComponent: true,
|
|
3741
3742
|
defaultThemeVars: {
|
|
3742
|
-
[`backgroundColor-${COMP$
|
|
3743
|
-
[`padding-${COMP$
|
|
3744
|
-
[`margin-${COMP$
|
|
3743
|
+
[`backgroundColor-${COMP$1w}`]: "transparent",
|
|
3744
|
+
[`padding-${COMP$1w}`]: "0",
|
|
3745
|
+
[`margin-${COMP$1w}`]: "0"
|
|
3745
3746
|
}
|
|
3746
3747
|
});
|
|
3747
3748
|
const responsiveBarComponentRenderer = createComponentRenderer(
|
|
3748
|
-
COMP$
|
|
3749
|
+
COMP$1w,
|
|
3749
3750
|
ResponsiveBarMd,
|
|
3750
3751
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
3751
3752
|
var _a2, _b, _c;
|
|
@@ -3769,13 +3770,13 @@ const styles$1e = {
|
|
|
3769
3770
|
spacer
|
|
3770
3771
|
};
|
|
3771
3772
|
const SpaceFiller = () => /* @__PURE__ */ jsx("div", { className: styles$1e.spacer });
|
|
3772
|
-
const COMP$
|
|
3773
|
+
const COMP$1v = "SpaceFiller";
|
|
3773
3774
|
const SpaceFillerMd = createMetadata({
|
|
3774
3775
|
status: "stable",
|
|
3775
3776
|
description: "`SpaceFiller` works well in layout containers to fill remaining (unused) space. Its behavior depends on the layout container in which it is used.",
|
|
3776
3777
|
themeVars: parseScssVar(styles$1e.themeVars)
|
|
3777
3778
|
});
|
|
3778
|
-
const spaceFillerComponentRenderer = createComponentRenderer(COMP$
|
|
3779
|
+
const spaceFillerComponentRenderer = createComponentRenderer(COMP$1v, SpaceFillerMd, () => /* @__PURE__ */ jsx(SpaceFiller, {}));
|
|
3779
3780
|
const themeVars$U = `'{"padding-TextArea": "var(--xmlui-padding-TextArea)", "paddingHorizontal-TextArea": "var(--xmlui-paddingHorizontal-TextArea, var(--xmlui-padding-TextArea))", "paddingVertical-TextArea": "var(--xmlui-paddingVertical-TextArea, var(--xmlui-padding-TextArea))", "paddingLeft-TextArea": "var(--xmlui-paddingLeft-TextArea, var(--xmlui-paddingHorizontal-TextArea, var(--xmlui-padding-TextArea)))", "paddingRight-TextArea": "var(--xmlui-paddingRight-TextArea, var(--xmlui-paddingHorizontal-TextArea, var(--xmlui-padding-TextArea)))", "paddingTop-TextArea": "var(--xmlui-paddingTop-TextArea, var(--xmlui-paddingVertical-TextArea, var(--xmlui-padding-TextArea)))", "paddingBottom-TextArea": "var(--xmlui-paddingBottom-TextArea, var(--xmlui-paddingVertical-TextArea, var(--xmlui-padding-TextArea)))", "Input:borderRadius-TextArea-default": "var(--xmlui-borderRadius-TextArea-default)", "Input:borderColor-TextArea-default": "var(--xmlui-borderColor-TextArea-default)", "Input:borderWidth-TextArea-default": "var(--xmlui-borderWidth-TextArea-default)", "Input:borderStyle-TextArea-default": "var(--xmlui-borderStyle-TextArea-default)", "Input:fontSize-TextArea-default": "var(--xmlui-fontSize-TextArea-default)", "Input:backgroundColor-TextArea-default": "var(--xmlui-backgroundColor-TextArea-default)", "Input:boxShadow-TextArea-default": "var(--xmlui-boxShadow-TextArea-default)", "Input:textColor-TextArea-default": "var(--xmlui-textColor-TextArea-default)", "Input:borderColor-TextArea-default--hover": "var(--xmlui-borderColor-TextArea-default--hover)", "Input:backgroundColor-TextArea-default--hover": "var(--xmlui-backgroundColor-TextArea-default--hover)", "Input:boxShadow-TextArea-default--hover": "var(--xmlui-boxShadow-TextArea-default--hover)", "Input:textColor-TextArea-default--hover": "var(--xmlui-textColor-TextArea-default--hover)", "Input:borderColor-TextArea-default--focus": "var(--xmlui-borderColor-TextArea-default--focus)", "Input:backgroundColor-TextArea-default--focus": "var(--xmlui-backgroundColor-TextArea-default--focus)", "Input:boxShadow-TextArea-default--focus": "var(--xmlui-boxShadow-TextArea-default--focus)", "Input:textColor-TextArea-default--focus": "var(--xmlui-textColor-TextArea-default--focus)", "Input:outlineWidth-TextArea-default--focus": "var(--xmlui-outlineWidth-TextArea-default--focus)", "Input:outlineColor-TextArea-default--focus": "var(--xmlui-outlineColor-TextArea-default--focus)", "Input:outlineStyle-TextArea-default--focus": "var(--xmlui-outlineStyle-TextArea-default--focus)", "Input:outlineOffset-TextArea-default--focus": "var(--xmlui-outlineOffset-TextArea-default--focus)", "Input:textColor-placeholder-TextArea-default": "var(--xmlui-textColor-placeholder-TextArea-default)", "Input:fontSize-placeholder-TextArea-default": "var(--xmlui-fontSize-placeholder-TextArea-default)", "Input:borderRadius-TextArea-error": "var(--xmlui-borderRadius-TextArea-error)", "Input:borderColor-TextArea-error": "var(--xmlui-borderColor-TextArea-error)", "Input:borderWidth-TextArea-error": "var(--xmlui-borderWidth-TextArea-error)", "Input:borderStyle-TextArea-error": "var(--xmlui-borderStyle-TextArea-error)", "Input:fontSize-TextArea-error": "var(--xmlui-fontSize-TextArea-error)", "Input:backgroundColor-TextArea-error": "var(--xmlui-backgroundColor-TextArea-error)", "Input:boxShadow-TextArea-error": "var(--xmlui-boxShadow-TextArea-error)", "Input:textColor-TextArea-error": "var(--xmlui-textColor-TextArea-error)", "Input:borderColor-TextArea-error--hover": "var(--xmlui-borderColor-TextArea-error--hover)", "Input:backgroundColor-TextArea-error--hover": "var(--xmlui-backgroundColor-TextArea-error--hover)", "Input:boxShadow-TextArea-error--hover": "var(--xmlui-boxShadow-TextArea-error--hover)", "Input:textColor-TextArea-error--hover": "var(--xmlui-textColor-TextArea-error--hover)", "Input:borderColor-TextArea-error--focus": "var(--xmlui-borderColor-TextArea-error--focus)", "Input:backgroundColor-TextArea-error--focus": "var(--xmlui-backgroundColor-TextArea-error--focus)", "Input:boxShadow-TextArea-error--focus": "var(--xmlui-boxShadow-TextArea-error--focus)", "Input:textColor-TextArea-error--focus": "var(--xmlui-textColor-TextArea-error--focus)", "Input:outlineWidth-TextArea-error--focus": "var(--xmlui-outlineWidth-TextArea-error--focus)", "Input:outlineColor-TextArea-error--focus": "var(--xmlui-outlineColor-TextArea-error--focus)", "Input:outlineStyle-TextArea-error--focus": "var(--xmlui-outlineStyle-TextArea-error--focus)", "Input:outlineOffset-TextArea-error--focus": "var(--xmlui-outlineOffset-TextArea-error--focus)", "Input:textColor-placeholder-TextArea-error": "var(--xmlui-textColor-placeholder-TextArea-error)", "Input:fontSize-placeholder-TextArea-error": "var(--xmlui-fontSize-placeholder-TextArea-error)", "Input:borderRadius-TextArea-warning": "var(--xmlui-borderRadius-TextArea-warning)", "Input:borderColor-TextArea-warning": "var(--xmlui-borderColor-TextArea-warning)", "Input:borderWidth-TextArea-warning": "var(--xmlui-borderWidth-TextArea-warning)", "Input:borderStyle-TextArea-warning": "var(--xmlui-borderStyle-TextArea-warning)", "Input:fontSize-TextArea-warning": "var(--xmlui-fontSize-TextArea-warning)", "Input:backgroundColor-TextArea-warning": "var(--xmlui-backgroundColor-TextArea-warning)", "Input:boxShadow-TextArea-warning": "var(--xmlui-boxShadow-TextArea-warning)", "Input:textColor-TextArea-warning": "var(--xmlui-textColor-TextArea-warning)", "Input:borderColor-TextArea-warning--hover": "var(--xmlui-borderColor-TextArea-warning--hover)", "Input:backgroundColor-TextArea-warning--hover": "var(--xmlui-backgroundColor-TextArea-warning--hover)", "Input:boxShadow-TextArea-warning--hover": "var(--xmlui-boxShadow-TextArea-warning--hover)", "Input:textColor-TextArea-warning--hover": "var(--xmlui-textColor-TextArea-warning--hover)", "Input:borderColor-TextArea-warning--focus": "var(--xmlui-borderColor-TextArea-warning--focus)", "Input:backgroundColor-TextArea-warning--focus": "var(--xmlui-backgroundColor-TextArea-warning--focus)", "Input:boxShadow-TextArea-warning--focus": "var(--xmlui-boxShadow-TextArea-warning--focus)", "Input:textColor-TextArea-warning--focus": "var(--xmlui-textColor-TextArea-warning--focus)", "Input:outlineWidth-TextArea-warning--focus": "var(--xmlui-outlineWidth-TextArea-warning--focus)", "Input:outlineColor-TextArea-warning--focus": "var(--xmlui-outlineColor-TextArea-warning--focus)", "Input:outlineStyle-TextArea-warning--focus": "var(--xmlui-outlineStyle-TextArea-warning--focus)", "Input:outlineOffset-TextArea-warning--focus": "var(--xmlui-outlineOffset-TextArea-warning--focus)", "Input:textColor-placeholder-TextArea-warning": "var(--xmlui-textColor-placeholder-TextArea-warning)", "Input:fontSize-placeholder-TextArea-warning": "var(--xmlui-fontSize-placeholder-TextArea-warning)", "Input:borderRadius-TextArea-success": "var(--xmlui-borderRadius-TextArea-success)", "Input:borderColor-TextArea-success": "var(--xmlui-borderColor-TextArea-success)", "Input:borderWidth-TextArea-success": "var(--xmlui-borderWidth-TextArea-success)", "Input:borderStyle-TextArea-success": "var(--xmlui-borderStyle-TextArea-success)", "Input:fontSize-TextArea-success": "var(--xmlui-fontSize-TextArea-success)", "Input:backgroundColor-TextArea-success": "var(--xmlui-backgroundColor-TextArea-success)", "Input:boxShadow-TextArea-success": "var(--xmlui-boxShadow-TextArea-success)", "Input:textColor-TextArea-success": "var(--xmlui-textColor-TextArea-success)", "Input:borderColor-TextArea-success--hover": "var(--xmlui-borderColor-TextArea-success--hover)", "Input:backgroundColor-TextArea-success--hover": "var(--xmlui-backgroundColor-TextArea-success--hover)", "Input:boxShadow-TextArea-success--hover": "var(--xmlui-boxShadow-TextArea-success--hover)", "Input:textColor-TextArea-success--hover": "var(--xmlui-textColor-TextArea-success--hover)", "Input:borderColor-TextArea-success--focus": "var(--xmlui-borderColor-TextArea-success--focus)", "Input:backgroundColor-TextArea-success--focus": "var(--xmlui-backgroundColor-TextArea-success--focus)", "Input:boxShadow-TextArea-success--focus": "var(--xmlui-boxShadow-TextArea-success--focus)", "Input:textColor-TextArea-success--focus": "var(--xmlui-textColor-TextArea-success--focus)", "Input:outlineWidth-TextArea-success--focus": "var(--xmlui-outlineWidth-TextArea-success--focus)", "Input:outlineColor-TextArea-success--focus": "var(--xmlui-outlineColor-TextArea-success--focus)", "Input:outlineStyle-TextArea-success--focus": "var(--xmlui-outlineStyle-TextArea-success--focus)", "Input:outlineOffset-TextArea-success--focus": "var(--xmlui-outlineOffset-TextArea-success--focus)", "Input:textColor-placeholder-TextArea-success": "var(--xmlui-textColor-placeholder-TextArea-success)", "Input:fontSize-placeholder-TextArea-success": "var(--xmlui-fontSize-placeholder-TextArea-success)", "Input:backgroundColor-TextArea--disabled": "var(--xmlui-backgroundColor-TextArea--disabled)", "Input:textColor-TextArea--disabled": "var(--xmlui-textColor-TextArea--disabled)", "Input:borderColor-TextArea--disabled": "var(--xmlui-borderColor-TextArea--disabled)"}'`;
|
|
3780
3781
|
const textarea = "_textarea_9c161_14";
|
|
3781
3782
|
const error$d = "_error_9c161_59";
|
|
@@ -3915,6 +3916,14 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
3915
3916
|
useEffect(() => {
|
|
3916
3917
|
updateState({ value: initialValue }, { initial: true });
|
|
3917
3918
|
}, [initialValue, updateState]);
|
|
3919
|
+
useEffect(() => {
|
|
3920
|
+
if (autoFocus) {
|
|
3921
|
+
setTimeout(() => {
|
|
3922
|
+
var _a2;
|
|
3923
|
+
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
3924
|
+
}, 0);
|
|
3925
|
+
}
|
|
3926
|
+
}, [autoFocus, inputRef.current]);
|
|
3918
3927
|
const handleCopy = (event) => {
|
|
3919
3928
|
if (allowCopy) {
|
|
3920
3929
|
return true;
|
|
@@ -4003,7 +4012,6 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
4003
4012
|
style: style2,
|
|
4004
4013
|
value: controlled ? value || "" : void 0,
|
|
4005
4014
|
disabled: !enabled2,
|
|
4006
|
-
autoFocus,
|
|
4007
4015
|
name: id,
|
|
4008
4016
|
placeholder: placeholder2,
|
|
4009
4017
|
required: required2,
|
|
@@ -4107,7 +4115,7 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
4107
4115
|
}
|
|
4108
4116
|
);
|
|
4109
4117
|
});
|
|
4110
|
-
const COMP$
|
|
4118
|
+
const COMP$1u = "TextArea";
|
|
4111
4119
|
const resizeOptionsMd = [
|
|
4112
4120
|
{ value: "(undefined)", description: "No resizing" },
|
|
4113
4121
|
{ value: "horizontal", description: "Can only resize horizontally" },
|
|
@@ -4138,15 +4146,15 @@ const TextAreaMd = createMetadata({
|
|
|
4138
4146
|
defaultValue: defaultProps$1c.enterSubmits
|
|
4139
4147
|
},
|
|
4140
4148
|
escResets: {
|
|
4141
|
-
description: `This boolean property indicates whether the ${COMP$
|
|
4149
|
+
description: `This boolean property indicates whether the ${COMP$1u} contents should be reset when pressing the ESC key.`,
|
|
4142
4150
|
valueType: "boolean",
|
|
4143
4151
|
defaultValue: false
|
|
4144
4152
|
},
|
|
4145
4153
|
maxRows: d(
|
|
4146
|
-
`This optional property sets the maximum number of text rows the \`${COMP$
|
|
4154
|
+
`This optional property sets the maximum number of text rows the \`${COMP$1u}\` can grow. If not set, the number of rows is unlimited.`
|
|
4147
4155
|
),
|
|
4148
4156
|
minRows: d(
|
|
4149
|
-
`This optional property sets the minimum number of text rows the \`${COMP$
|
|
4157
|
+
`This optional property sets the minimum number of text rows the \`${COMP$1u}\` can shrink. If not set, the minimum number of rows is 1.`
|
|
4150
4158
|
),
|
|
4151
4159
|
rows: {
|
|
4152
4160
|
description: `Specifies the number of rows the component initially has.`,
|
|
@@ -4154,7 +4162,7 @@ const TextAreaMd = createMetadata({
|
|
|
4154
4162
|
defaultValue: defaultProps$1c.rows
|
|
4155
4163
|
},
|
|
4156
4164
|
autoSize: {
|
|
4157
|
-
description: `If set to \`true\`, this boolean property enables the \`${COMP$
|
|
4165
|
+
description: `If set to \`true\`, this boolean property enables the \`${COMP$1u}\` to resize automatically based on the number of lines inside it.`,
|
|
4158
4166
|
valueType: "boolean",
|
|
4159
4167
|
defaultValue: false
|
|
4160
4168
|
},
|
|
@@ -4162,8 +4170,8 @@ const TextAreaMd = createMetadata({
|
|
|
4162
4170
|
initialValue: dInitialValue(),
|
|
4163
4171
|
label: dLabel(),
|
|
4164
4172
|
labelPosition: dLabelPosition("top"),
|
|
4165
|
-
labelWidth: dLabelWidth(COMP$
|
|
4166
|
-
labelBreak: dLabelBreak(COMP$
|
|
4173
|
+
labelWidth: dLabelWidth(COMP$1u),
|
|
4174
|
+
labelBreak: dLabelBreak(COMP$1u),
|
|
4167
4175
|
maxLength: dMaxLength(),
|
|
4168
4176
|
autoFocus: dAutoFocus(),
|
|
4169
4177
|
required: dRequired(),
|
|
@@ -4176,13 +4184,13 @@ const TextAreaMd = createMetadata({
|
|
|
4176
4184
|
}
|
|
4177
4185
|
},
|
|
4178
4186
|
events: {
|
|
4179
|
-
gotFocus: dGotFocus(COMP$
|
|
4180
|
-
lostFocus: dLostFocus(COMP$
|
|
4181
|
-
didChange: dDidChange(COMP$
|
|
4187
|
+
gotFocus: dGotFocus(COMP$1u),
|
|
4188
|
+
lostFocus: dLostFocus(COMP$1u),
|
|
4189
|
+
didChange: dDidChange(COMP$1u)
|
|
4182
4190
|
},
|
|
4183
4191
|
apis: {
|
|
4184
4192
|
focus: {
|
|
4185
|
-
description: `This method sets the focus on the \`${COMP$
|
|
4193
|
+
description: `This method sets the focus on the \`${COMP$1u}\` component.`,
|
|
4186
4194
|
signature: "focus(): void"
|
|
4187
4195
|
},
|
|
4188
4196
|
value: {
|
|
@@ -4193,12 +4201,12 @@ const TextAreaMd = createMetadata({
|
|
|
4193
4201
|
},
|
|
4194
4202
|
themeVars: parseScssVar(styles$1d.themeVars),
|
|
4195
4203
|
defaultThemeVars: {
|
|
4196
|
-
[`paddingVertical-${COMP$
|
|
4197
|
-
[`paddingHorizontal-${COMP$
|
|
4204
|
+
[`paddingVertical-${COMP$1u}`]: "$space-2",
|
|
4205
|
+
[`paddingHorizontal-${COMP$1u}`]: "$space-2"
|
|
4198
4206
|
}
|
|
4199
4207
|
});
|
|
4200
4208
|
const textAreaComponentRenderer = createComponentRenderer(
|
|
4201
|
-
COMP$
|
|
4209
|
+
COMP$1u,
|
|
4202
4210
|
TextAreaMd,
|
|
4203
4211
|
({
|
|
4204
4212
|
node,
|
|
@@ -4415,13 +4423,13 @@ function extractPaddings(extractValue, props) {
|
|
|
4415
4423
|
};
|
|
4416
4424
|
}
|
|
4417
4425
|
const themeVars$R = `'{"maxWidth-Drawer": "var(--xmlui-maxWidth-Drawer)"}'`;
|
|
4418
|
-
const overlay$3 = "
|
|
4419
|
-
const sheetContent = "
|
|
4420
|
-
const top = "
|
|
4421
|
-
const bottom = "
|
|
4422
|
-
const left = "
|
|
4423
|
-
const right = "
|
|
4424
|
-
const close = "
|
|
4426
|
+
const overlay$3 = "_overlay_12sgv_39";
|
|
4427
|
+
const sheetContent = "_sheetContent_12sgv_55";
|
|
4428
|
+
const top = "_top_12sgv_70";
|
|
4429
|
+
const bottom = "_bottom_12sgv_76";
|
|
4430
|
+
const left = "_left_12sgv_82";
|
|
4431
|
+
const right = "_right_12sgv_91";
|
|
4432
|
+
const close = "_close_12sgv_101";
|
|
4425
4433
|
const drawerStyles = {
|
|
4426
4434
|
themeVars: themeVars$R,
|
|
4427
4435
|
overlay: overlay$3,
|
|
@@ -5695,7 +5703,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
5695
5703
|
}
|
|
5696
5704
|
return content2;
|
|
5697
5705
|
});
|
|
5698
|
-
const COMP$
|
|
5706
|
+
const COMP$1t = "NavLink";
|
|
5699
5707
|
const NavLinkMd = createMetadata({
|
|
5700
5708
|
status: "stable",
|
|
5701
5709
|
description: "`NavLink` creates interactive navigation items that connect users to different destinations within an app or external URLs. It automatically indicates active states, supports custom icons and labels, and can execute custom actions instead of navigation when needed.",
|
|
@@ -5714,7 +5722,7 @@ const NavLinkMd = createMetadata({
|
|
|
5714
5722
|
},
|
|
5715
5723
|
label: dLabel(),
|
|
5716
5724
|
vertical: {
|
|
5717
|
-
description: `This property sets how the active status is displayed on the \`${COMP$
|
|
5725
|
+
description: `This property sets how the active status is displayed on the \`${COMP$1t}\` component. If set to true, the indicator is displayed on the side which lends itself to a vertically aligned navigation menu. By default, it displays a horizontal indicator.`,
|
|
5718
5726
|
valueType: "boolean"
|
|
5719
5727
|
},
|
|
5720
5728
|
displayActive: {
|
|
@@ -5727,37 +5735,37 @@ const NavLinkMd = createMetadata({
|
|
|
5727
5735
|
)
|
|
5728
5736
|
},
|
|
5729
5737
|
events: {
|
|
5730
|
-
click: dClick(COMP$
|
|
5738
|
+
click: dClick(COMP$1t)
|
|
5731
5739
|
},
|
|
5732
5740
|
themeVars: parseScssVar(navLinkStyles.themeVars),
|
|
5733
5741
|
themeVarDescriptions: {
|
|
5734
|
-
[`color-indicator-${COMP$
|
|
5742
|
+
[`color-indicator-${COMP$1t}`]: "Provides the following states: `--hover`, `--active`, `--pressed`"
|
|
5735
5743
|
},
|
|
5736
5744
|
defaultThemeVars: {
|
|
5737
|
-
[`border-${COMP$
|
|
5738
|
-
[`borderRadius-${COMP$
|
|
5739
|
-
[`backgroundColor-${COMP$
|
|
5740
|
-
[`paddingHorizontal-${COMP$
|
|
5741
|
-
[`paddingVertical-${COMP$
|
|
5742
|
-
[`fontSize-${COMP$
|
|
5743
|
-
[`fontWeight-${COMP$
|
|
5744
|
-
[`fontFamily-${COMP$
|
|
5745
|
-
[`textColor-${COMP$
|
|
5746
|
-
[`fontWeight-${COMP$
|
|
5747
|
-
[`thickness-indicator-${COMP$
|
|
5748
|
-
[`outlineColor-${COMP$
|
|
5749
|
-
[`outlineWidth-${COMP$
|
|
5750
|
-
[`outlineStyle-${COMP$
|
|
5751
|
-
[`outlineOffset-${COMP$
|
|
5752
|
-
[`borderRadius-indicator-${COMP$
|
|
5753
|
-
[`color-icon-${COMP$
|
|
5754
|
-
[`color-indicator-${COMP$
|
|
5755
|
-
[`color-indicator-${COMP$
|
|
5756
|
-
[`color-indicator-${COMP$
|
|
5745
|
+
[`border-${COMP$1t}`]: "0px solid $borderColor",
|
|
5746
|
+
[`borderRadius-${COMP$1t}`]: "$borderRadius",
|
|
5747
|
+
[`backgroundColor-${COMP$1t}`]: "transparent",
|
|
5748
|
+
[`paddingHorizontal-${COMP$1t}`]: "$space-4",
|
|
5749
|
+
[`paddingVertical-${COMP$1t}`]: "$space-2",
|
|
5750
|
+
[`fontSize-${COMP$1t}`]: "$fontSize-sm",
|
|
5751
|
+
[`fontWeight-${COMP$1t}`]: "$fontWeight-normal",
|
|
5752
|
+
[`fontFamily-${COMP$1t}`]: "$fontFamily",
|
|
5753
|
+
[`textColor-${COMP$1t}`]: "$textColor-primary",
|
|
5754
|
+
[`fontWeight-${COMP$1t}--pressed`]: "$fontWeight-normal",
|
|
5755
|
+
[`thickness-indicator-${COMP$1t}`]: "$space-0_5",
|
|
5756
|
+
[`outlineColor-${COMP$1t}--focus`]: "$outlineColor--focus",
|
|
5757
|
+
[`outlineWidth-${COMP$1t}--focus`]: "$outlineWidth--focus",
|
|
5758
|
+
[`outlineStyle-${COMP$1t}--focus`]: "$outlineStyle--focus",
|
|
5759
|
+
[`outlineOffset-${COMP$1t}--focus`]: "-1px",
|
|
5760
|
+
[`borderRadius-indicator-${COMP$1t}`]: "$borderRadius",
|
|
5761
|
+
[`color-icon-${COMP$1t}`]: "$color-surface-500",
|
|
5762
|
+
[`color-indicator-${COMP$1t}--active`]: "$color-primary-500",
|
|
5763
|
+
[`color-indicator-${COMP$1t}--pressed`]: "$color-primary-500",
|
|
5764
|
+
[`color-indicator-${COMP$1t}--hover`]: "$color-primary-600"
|
|
5757
5765
|
}
|
|
5758
5766
|
});
|
|
5759
5767
|
const navLinkComponentRenderer = createComponentRenderer(
|
|
5760
|
-
COMP$
|
|
5768
|
+
COMP$1t,
|
|
5761
5769
|
NavLinkMd,
|
|
5762
5770
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
5763
5771
|
var _a2;
|
|
@@ -5842,7 +5850,7 @@ function specifyTypes(props) {
|
|
|
5842
5850
|
referrerPolicy
|
|
5843
5851
|
};
|
|
5844
5852
|
}
|
|
5845
|
-
const COMP$
|
|
5853
|
+
const COMP$1s = "Link";
|
|
5846
5854
|
const LinkMd = createMetadata({
|
|
5847
5855
|
status: "stable",
|
|
5848
5856
|
description: "`Link` creates clickable navigation elements for internal app routes or external URLs. You can use the `label` and `icon` properties for simple text links, or embed custom components like buttons, cards, or complex layouts for rich interactive link presentations.",
|
|
@@ -5857,7 +5865,7 @@ const LinkMd = createMetadata({
|
|
|
5857
5865
|
defaultValue: defaultProps$14.active
|
|
5858
5866
|
},
|
|
5859
5867
|
target: {
|
|
5860
|
-
description: `This property specifies where to open the link represented by the \`${COMP$
|
|
5868
|
+
description: `This property specifies where to open the link represented by the \`${COMP$1s}\`. This property accepts the following values (in accordance with the HTML standard):`,
|
|
5861
5869
|
availableValues: LinkTargetMd,
|
|
5862
5870
|
type: "string"
|
|
5863
5871
|
},
|
|
@@ -5873,37 +5881,37 @@ const LinkMd = createMetadata({
|
|
|
5873
5881
|
},
|
|
5874
5882
|
themeVars: parseScssVar(styles$17.themeVars),
|
|
5875
5883
|
themeVarDescriptions: {
|
|
5876
|
-
[`gap-icon-${COMP$
|
|
5884
|
+
[`gap-icon-${COMP$1s}`]: "This property defines the size of the gap between the icon and the label."
|
|
5877
5885
|
},
|
|
5878
5886
|
defaultThemeVars: {
|
|
5879
|
-
[`border-${COMP$
|
|
5880
|
-
[`textColor-${COMP$
|
|
5881
|
-
[`textDecorationColor-${COMP$
|
|
5882
|
-
[`textColor-${COMP$
|
|
5883
|
-
[`textDecorationColor-${COMP$
|
|
5884
|
-
[`textColor-${COMP$
|
|
5885
|
-
[`textDecorationColor-${COMP$
|
|
5886
|
-
[`textColor-${COMP$
|
|
5887
|
-
[`textUnderlineOffset-${COMP$
|
|
5888
|
-
[`textDecorationLine-${COMP$
|
|
5889
|
-
[`textDecorationStyle-${COMP$
|
|
5890
|
-
[`outlineColor-${COMP$
|
|
5891
|
-
[`outlineWidth-${COMP$
|
|
5892
|
-
[`outlineStyle-${COMP$
|
|
5893
|
-
[`outlineOffset-${COMP$
|
|
5894
|
-
[`fontSize-${COMP$
|
|
5895
|
-
[`fontWeight-${COMP$
|
|
5896
|
-
[`gap-icon-${COMP$
|
|
5897
|
-
[`padding-icon-${COMP$
|
|
5887
|
+
[`border-${COMP$1s}`]: "0px solid $borderColor",
|
|
5888
|
+
[`textColor-${COMP$1s}`]: "$color-primary-500",
|
|
5889
|
+
[`textDecorationColor-${COMP$1s}`]: `textDecorationColor-${COMP$1s}`,
|
|
5890
|
+
[`textColor-${COMP$1s}--hover`]: `$color-primary-400`,
|
|
5891
|
+
[`textDecorationColor-${COMP$1s}--hover`]: `textColor-${COMP$1s}--hover`,
|
|
5892
|
+
[`textColor-${COMP$1s}--active`]: "$color-primary-400",
|
|
5893
|
+
[`textDecorationColor-${COMP$1s}--active`]: `textColor-${COMP$1s}--active`,
|
|
5894
|
+
[`textColor-${COMP$1s}--hover--active`]: `$textColor-${COMP$1s}--active`,
|
|
5895
|
+
[`textUnderlineOffset-${COMP$1s}`]: "$space-1",
|
|
5896
|
+
[`textDecorationLine-${COMP$1s}`]: "underline",
|
|
5897
|
+
[`textDecorationStyle-${COMP$1s}`]: "solid",
|
|
5898
|
+
[`outlineColor-${COMP$1s}--focus`]: "$outlineColor--focus",
|
|
5899
|
+
[`outlineWidth-${COMP$1s}--focus`]: "$outlineWidth--focus",
|
|
5900
|
+
[`outlineStyle-${COMP$1s}--focus`]: "$outlineStyle--focus",
|
|
5901
|
+
[`outlineOffset-${COMP$1s}--focus`]: "$outlineOffset--focus",
|
|
5902
|
+
[`fontSize-${COMP$1s}`]: "inherit",
|
|
5903
|
+
[`fontWeight-${COMP$1s}--active`]: "$fontWeight-bold",
|
|
5904
|
+
[`gap-icon-${COMP$1s}`]: "$gap-tight",
|
|
5905
|
+
[`padding-icon-${COMP$1s}`]: "$space-0_5",
|
|
5898
5906
|
dark: {
|
|
5899
|
-
[`textColor-${COMP$
|
|
5900
|
-
[`textColor-${COMP$
|
|
5901
|
-
[`textColor-${COMP$
|
|
5907
|
+
[`textColor-${COMP$1s}`]: "$color-primary-600",
|
|
5908
|
+
[`textColor-${COMP$1s}--hover`]: `$color-primary-500`,
|
|
5909
|
+
[`textColor-${COMP$1s}--active`]: "$color-primary-500"
|
|
5902
5910
|
}
|
|
5903
5911
|
}
|
|
5904
5912
|
});
|
|
5905
5913
|
const localLinkComponentRenderer = createComponentRenderer(
|
|
5906
|
-
COMP$
|
|
5914
|
+
COMP$1s,
|
|
5907
5915
|
LinkMd,
|
|
5908
5916
|
({ node, extractValue, renderChild: renderChild2, lookupEventHandler, className }) => {
|
|
5909
5917
|
var _a2;
|
|
@@ -6097,10 +6105,10 @@ function TreeComponent({
|
|
|
6097
6105
|
}
|
|
6098
6106
|
) }) });
|
|
6099
6107
|
}
|
|
6100
|
-
const COMP$
|
|
6108
|
+
const COMP$1r = "Tree";
|
|
6101
6109
|
const TreeMd = createMetadata({
|
|
6102
6110
|
status: "in progress",
|
|
6103
|
-
description: `The \`${COMP$
|
|
6111
|
+
description: `The \`${COMP$1r}\` component is a virtualized tree component that displays hierarchical data.`,
|
|
6104
6112
|
props: {
|
|
6105
6113
|
data: {
|
|
6106
6114
|
description: `The data source of the tree.`,
|
|
@@ -6113,7 +6121,7 @@ const TreeMd = createMetadata({
|
|
|
6113
6121
|
}
|
|
6114
6122
|
});
|
|
6115
6123
|
const treeComponentRenderer = createComponentRenderer(
|
|
6116
|
-
COMP$
|
|
6124
|
+
COMP$1r,
|
|
6117
6125
|
TreeMd,
|
|
6118
6126
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
6119
6127
|
return /* @__PURE__ */ jsx(
|
|
@@ -6320,10 +6328,10 @@ const TreeDisplay = forwardRef(function TreeDisplay2({ style: style2, className,
|
|
|
6320
6328
|
const treeNodes = useMemo(() => parseTreeContent(contentString), [contentString]);
|
|
6321
6329
|
return /* @__PURE__ */ jsx("div", { className: classnames(styles$15.treeDisplay, className), style: style2, ref: forwardedRef, children: /* @__PURE__ */ jsx("div", { className: styles$15.content, children: treeNodes.map((node, index) => renderTreeNode(node, index, itemHeight, 0, [])) }) });
|
|
6322
6330
|
});
|
|
6323
|
-
const COMP$
|
|
6331
|
+
const COMP$1q = "TreeDisplay";
|
|
6324
6332
|
const TreeDisplayMd = createMetadata({
|
|
6325
6333
|
status: "stable",
|
|
6326
|
-
description: `The \`${COMP$
|
|
6334
|
+
description: `The \`${COMP$1q}\` component displays hierarchical data in a tree structure. It accepts an indented text format where each line is an entry in the tree, and the number of leading spaces determines the nesting level. The component renders the tree with SVG lines and continuous vertical guides to clearly visualize parent-child relationships in the hierarchy.`,
|
|
6327
6335
|
props: {
|
|
6328
6336
|
content: {
|
|
6329
6337
|
description: "The indented text content to display as a tree structure. Each level of indentation (using spaces) represents one level in the tree hierarchy.",
|
|
@@ -6338,21 +6346,21 @@ const TreeDisplayMd = createMetadata({
|
|
|
6338
6346
|
},
|
|
6339
6347
|
themeVars: parseScssVar(styles$15.themeVars),
|
|
6340
6348
|
defaultThemeVars: {
|
|
6341
|
-
[`backgroundColor-${COMP$
|
|
6342
|
-
[`borderRadius-${COMP$
|
|
6343
|
-
[`padding-${COMP$
|
|
6344
|
-
[`paddingLeft-${COMP$
|
|
6345
|
-
[`fontSize-${COMP$
|
|
6346
|
-
[`fontWeight-${COMP$
|
|
6347
|
-
[`fontFamily-${COMP$
|
|
6348
|
-
[`color-${COMP$
|
|
6349
|
-
[`color-connect-${COMP$
|
|
6350
|
-
[`boxShadow-${COMP$
|
|
6351
|
-
[`border-${COMP$
|
|
6349
|
+
[`backgroundColor-${COMP$1q}`]: "$backgroundColor-CodeBlock",
|
|
6350
|
+
[`borderRadius-${COMP$1q}`]: "8px",
|
|
6351
|
+
[`padding-${COMP$1q}`]: "$space-4",
|
|
6352
|
+
[`paddingLeft-${COMP$1q}`]: "$space-2",
|
|
6353
|
+
[`fontSize-${COMP$1q}`]: "$fontSize-code",
|
|
6354
|
+
[`fontWeight-${COMP$1q}`]: "$fontWeight-normal",
|
|
6355
|
+
[`fontFamily-${COMP$1q}`]: "$fontFamily-monospace",
|
|
6356
|
+
[`color-${COMP$1q}`]: "$textColor-primary",
|
|
6357
|
+
[`color-connect-${COMP$1q}`]: "$color-surface-200",
|
|
6358
|
+
[`boxShadow-${COMP$1q}`]: "none",
|
|
6359
|
+
[`border-${COMP$1q}`]: "0.5px solid $borderColor"
|
|
6352
6360
|
}
|
|
6353
6361
|
});
|
|
6354
6362
|
const treeDisplayComponentRenderer = createComponentRenderer(
|
|
6355
|
-
COMP$
|
|
6363
|
+
COMP$1q,
|
|
6356
6364
|
TreeDisplayMd,
|
|
6357
6365
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
6358
6366
|
return /* @__PURE__ */ jsx(
|
|
@@ -6366,7 +6374,7 @@ const treeDisplayComponentRenderer = createComponentRenderer(
|
|
|
6366
6374
|
);
|
|
6367
6375
|
}
|
|
6368
6376
|
);
|
|
6369
|
-
const COMP$
|
|
6377
|
+
const COMP$1p = "Button";
|
|
6370
6378
|
const ButtonMd = createMetadata({
|
|
6371
6379
|
status: "stable",
|
|
6372
6380
|
description: "`Button` is the primary interactive component for triggering actions like form submissions, navigation, opening modals, and API calls. It supports multiple visual styles and sizes to match different UI contexts and importance levels.",
|
|
@@ -6399,11 +6407,11 @@ const ButtonMd = createMetadata({
|
|
|
6399
6407
|
defaultValue: defaultProps$1d.size
|
|
6400
6408
|
},
|
|
6401
6409
|
label: {
|
|
6402
|
-
description: `This property is an optional string to set a label for the ${COMP$
|
|
6410
|
+
description: `This property is an optional string to set a label for the ${COMP$1p}. If no label is specified and an icon is set, the ${COMP$1p} will modify its styling to look like a small icon button. When the ${COMP$1p} has nested children, it will display them and ignore the value of the \`label\` prop.`,
|
|
6403
6411
|
type: "string"
|
|
6404
6412
|
},
|
|
6405
6413
|
type: {
|
|
6406
|
-
description: `This optional string describes how the ${COMP$
|
|
6414
|
+
description: `This optional string describes how the ${COMP$1p} appears in an HTML context. You rarely need to set this property explicitly.`,
|
|
6407
6415
|
availableValues: buttonTypesMd,
|
|
6408
6416
|
valueType: "string",
|
|
6409
6417
|
defaultValue: defaultProps$1d.type
|
|
@@ -6415,86 +6423,86 @@ const ButtonMd = createMetadata({
|
|
|
6415
6423
|
},
|
|
6416
6424
|
orientation: dOrientation(defaultProps$1d.orientation),
|
|
6417
6425
|
icon: {
|
|
6418
|
-
description: `This string value denotes an icon name. The framework will render an icon if XMLUI recognizes the icon by its name. If no label is specified and an icon is set, the ${COMP$
|
|
6426
|
+
description: `This string value denotes an icon name. The framework will render an icon if XMLUI recognizes the icon by its name. If no label is specified and an icon is set, the ${COMP$1p} displays only that icon.`,
|
|
6419
6427
|
type: "string"
|
|
6420
6428
|
},
|
|
6421
6429
|
iconPosition: {
|
|
6422
|
-
description: `This optional string determines the location of the icon in the ${COMP$
|
|
6430
|
+
description: `This optional string determines the location of the icon in the ${COMP$1p}.`,
|
|
6423
6431
|
availableValues: iconPositionMd,
|
|
6424
6432
|
type: "string",
|
|
6425
6433
|
defaultValue: defaultProps$1d.iconPosition
|
|
6426
6434
|
},
|
|
6427
6435
|
contentPosition: {
|
|
6428
|
-
description: `This optional value determines how the label and icon (or nested children) should be placedinside the ${COMP$
|
|
6436
|
+
description: `This optional value determines how the label and icon (or nested children) should be placedinside the ${COMP$1p} component.`,
|
|
6429
6437
|
availableValues: alignmentOptionMd,
|
|
6430
6438
|
type: "string",
|
|
6431
6439
|
defaultValue: defaultProps$1d.contentPosition
|
|
6432
6440
|
},
|
|
6433
6441
|
contextualLabel: {
|
|
6434
|
-
description: `This optional value is used to provide an accessible name for the ${COMP$
|
|
6442
|
+
description: `This optional value is used to provide an accessible name for the ${COMP$1p} in the context of its usage.`,
|
|
6435
6443
|
type: "string"
|
|
6436
6444
|
}
|
|
6437
6445
|
},
|
|
6438
6446
|
events: {
|
|
6439
|
-
click: dClick(COMP$
|
|
6440
|
-
gotFocus: dGotFocus(COMP$
|
|
6441
|
-
lostFocus: dLostFocus(COMP$
|
|
6447
|
+
click: dClick(COMP$1p),
|
|
6448
|
+
gotFocus: dGotFocus(COMP$1p),
|
|
6449
|
+
lostFocus: dLostFocus(COMP$1p)
|
|
6442
6450
|
},
|
|
6443
6451
|
themeVars: parseScssVar(styles$1g.themeVars),
|
|
6444
6452
|
defaultThemeVars: {
|
|
6445
|
-
[`width-${COMP$
|
|
6446
|
-
[`height-${COMP$
|
|
6447
|
-
[`borderRadius-${COMP$
|
|
6448
|
-
[`fontSize-${COMP$
|
|
6449
|
-
[`fontWeight-${COMP$
|
|
6450
|
-
[`backgroundColor-${COMP$
|
|
6451
|
-
[`backgroundColor-${COMP$
|
|
6452
|
-
[`borderColor-${COMP$
|
|
6453
|
-
[`backgroundColor-${COMP$
|
|
6454
|
-
[`borderColor-${COMP$
|
|
6455
|
-
[`borderStyle-${COMP$
|
|
6456
|
-
[`textColor-${COMP$
|
|
6457
|
-
[`outlineColor-${COMP$
|
|
6458
|
-
[`borderWidth-${COMP$
|
|
6459
|
-
[`outlineWidth-${COMP$
|
|
6460
|
-
[`outlineStyle-${COMP$
|
|
6461
|
-
[`outlineOffset-${COMP$
|
|
6462
|
-
[`paddingHorizontal-${COMP$
|
|
6463
|
-
[`paddingVertical-${COMP$
|
|
6464
|
-
[`paddingHorizontal-${COMP$
|
|
6465
|
-
[`paddingVertical-${COMP$
|
|
6466
|
-
[`paddingHorizontal-${COMP$
|
|
6467
|
-
[`paddingVertical-${COMP$
|
|
6468
|
-
[`paddingHorizontal-${COMP$
|
|
6469
|
-
[`paddingVertical-${COMP$
|
|
6470
|
-
[`textColor-${COMP$
|
|
6471
|
-
[`textColor-${COMP$
|
|
6472
|
-
[`borderColor-${COMP$
|
|
6473
|
-
[`backgroundColor-${COMP$
|
|
6474
|
-
[`backgroundColor-${COMP$
|
|
6475
|
-
[`backgroundColor-${COMP$
|
|
6476
|
-
[`backgroundColor-${COMP$
|
|
6477
|
-
[`borderColor-${COMP$
|
|
6478
|
-
[`borderColor-${COMP$
|
|
6479
|
-
[`textColor-${COMP$
|
|
6480
|
-
[`textColor-${COMP$
|
|
6481
|
-
[`textColor-${COMP$
|
|
6482
|
-
[`backgroundColor-${COMP$
|
|
6483
|
-
[`backgroundColor-${COMP$
|
|
6484
|
-
[`borderColor-${COMP$
|
|
6485
|
-
[`backgroundColor-${COMP$
|
|
6486
|
-
[`backgroundColor-${COMP$
|
|
6487
|
-
[`backgroundColor-${COMP$
|
|
6488
|
-
[`backgroundColor-${COMP$
|
|
6489
|
-
[`backgroundColor-${COMP$
|
|
6490
|
-
[`backgroundColor-${COMP$
|
|
6491
|
-
[`backgroundColor-${COMP$
|
|
6492
|
-
[`backgroundColor-${COMP$
|
|
6493
|
-
[`backgroundColor-${COMP$
|
|
6494
|
-
[`backgroundColor-${COMP$
|
|
6495
|
-
[`backgroundColor-${COMP$
|
|
6496
|
-
[`backgroundColor-${COMP$
|
|
6497
|
-
[`backgroundColor-${COMP$
|
|
6453
|
+
[`width-${COMP$1p}`]: "fit-content",
|
|
6454
|
+
[`height-${COMP$1p}`]: "fit-content",
|
|
6455
|
+
[`borderRadius-${COMP$1p}`]: "$borderRadius",
|
|
6456
|
+
[`fontSize-${COMP$1p}`]: "$fontSize-sm",
|
|
6457
|
+
[`fontWeight-${COMP$1p}`]: "$fontWeight-medium",
|
|
6458
|
+
[`backgroundColor-${COMP$1p}-primary`]: "$color-primary-500",
|
|
6459
|
+
[`backgroundColor-${COMP$1p}-attention`]: "$backgroundColor-attention",
|
|
6460
|
+
[`borderColor-${COMP$1p}-attention`]: "$color-attention",
|
|
6461
|
+
[`backgroundColor-${COMP$1p}--disabled`]: "$backgroundColor--disabled",
|
|
6462
|
+
[`borderColor-${COMP$1p}--disabled`]: "$borderColor--disabled",
|
|
6463
|
+
[`borderStyle-${COMP$1p}`]: "solid",
|
|
6464
|
+
[`textColor-${COMP$1p}--disabled`]: "$textColor--disabled",
|
|
6465
|
+
[`outlineColor-${COMP$1p}--focus`]: "$outlineColor--focus",
|
|
6466
|
+
[`borderWidth-${COMP$1p}`]: "1px",
|
|
6467
|
+
[`outlineWidth-${COMP$1p}--focus`]: "$outlineWidth--focus",
|
|
6468
|
+
[`outlineStyle-${COMP$1p}--focus`]: "$outlineStyle--focus",
|
|
6469
|
+
[`outlineOffset-${COMP$1p}--focus`]: "$outlineOffset--focus",
|
|
6470
|
+
[`paddingHorizontal-${COMP$1p}-xs`]: "$space-1",
|
|
6471
|
+
[`paddingVertical-${COMP$1p}-xs`]: "$space-0_5",
|
|
6472
|
+
[`paddingHorizontal-${COMP$1p}-sm`]: "$space-4",
|
|
6473
|
+
[`paddingVertical-${COMP$1p}-sm`]: "$space-2",
|
|
6474
|
+
[`paddingHorizontal-${COMP$1p}-md`]: "$space-4",
|
|
6475
|
+
[`paddingVertical-${COMP$1p}-md`]: "$space-3",
|
|
6476
|
+
[`paddingHorizontal-${COMP$1p}-lg`]: "$space-5",
|
|
6477
|
+
[`paddingVertical-${COMP$1p}-lg`]: "$space-4",
|
|
6478
|
+
[`textColor-${COMP$1p}`]: "$color-surface-950",
|
|
6479
|
+
[`textColor-${COMP$1p}-solid`]: "$const-color-surface-50",
|
|
6480
|
+
[`borderColor-${COMP$1p}-primary`]: "$color-primary-500",
|
|
6481
|
+
[`backgroundColor-${COMP$1p}-primary--hover`]: "$color-primary-400",
|
|
6482
|
+
[`backgroundColor-${COMP$1p}-primary--active`]: "$color-primary-500",
|
|
6483
|
+
[`backgroundColor-${COMP$1p}-primary-outlined--hover`]: "$color-primary-50",
|
|
6484
|
+
[`backgroundColor-${COMP$1p}-primary-outlined--active`]: "$color-primary-100",
|
|
6485
|
+
[`borderColor-${COMP$1p}-primary-outlined`]: "$color-primary-600",
|
|
6486
|
+
[`borderColor-${COMP$1p}-primary-outlined--hover`]: "$color-primary-500",
|
|
6487
|
+
[`textColor-${COMP$1p}-primary-outlined`]: "$color-primary-900",
|
|
6488
|
+
[`textColor-${COMP$1p}-primary-outlined--hover`]: "$color-primary-950",
|
|
6489
|
+
[`textColor-${COMP$1p}-primary-outlined--active`]: "$color-primary-900",
|
|
6490
|
+
[`backgroundColor-${COMP$1p}-primary-ghost--hover`]: "$color-primary-50",
|
|
6491
|
+
[`backgroundColor-${COMP$1p}-primary-ghost--active`]: "$color-primary-100",
|
|
6492
|
+
[`borderColor-${COMP$1p}-secondary`]: "$color-secondary-100",
|
|
6493
|
+
[`backgroundColor-${COMP$1p}-secondary`]: "$color-secondary-500",
|
|
6494
|
+
[`backgroundColor-${COMP$1p}-secondary--hover`]: "$color-secondary-400",
|
|
6495
|
+
[`backgroundColor-${COMP$1p}-secondary--active`]: "$color-secondary-500",
|
|
6496
|
+
[`backgroundColor-${COMP$1p}-secondary-outlined--hover`]: "$color-secondary-50",
|
|
6497
|
+
[`backgroundColor-${COMP$1p}-secondary-outlined--active`]: "$color-secondary-100",
|
|
6498
|
+
[`backgroundColor-${COMP$1p}-secondary-ghost--hover`]: "$color-secondary-100",
|
|
6499
|
+
[`backgroundColor-${COMP$1p}-secondary-ghost--active`]: "$color-secondary-100",
|
|
6500
|
+
[`backgroundColor-${COMP$1p}-attention--hover`]: "$color-danger-400",
|
|
6501
|
+
[`backgroundColor-${COMP$1p}-attention--active`]: "$color-danger-500",
|
|
6502
|
+
[`backgroundColor-${COMP$1p}-attention-outlined--hover`]: "$color-danger-50",
|
|
6503
|
+
[`backgroundColor-${COMP$1p}-attention-outlined--active`]: "$color-danger-100",
|
|
6504
|
+
[`backgroundColor-${COMP$1p}-attention-ghost--hover`]: "$color-danger-50",
|
|
6505
|
+
[`backgroundColor-${COMP$1p}-attention-ghost--active`]: "$color-danger-100"
|
|
6498
6506
|
}
|
|
6499
6507
|
});
|
|
6500
6508
|
const buttonComponentRenderer = createComponentRenderer(
|
|
@@ -8702,9 +8710,9 @@ class PropsTrasform {
|
|
|
8702
8710
|
return this.mapValues(filteredKeys, this.extractValue);
|
|
8703
8711
|
}
|
|
8704
8712
|
}
|
|
8705
|
-
const COMP$
|
|
8713
|
+
const COMP$1o = "Heading";
|
|
8706
8714
|
const VALUE_DESC = d(
|
|
8707
|
-
`This property determines the text displayed in the heading. \`${COMP$
|
|
8715
|
+
`This property determines the text displayed in the heading. \`${COMP$1o}\` also accepts nested text instead of specifying the \`value\`. If both \`value\` and a nested text are used, the \`value\` will be displayed.`
|
|
8708
8716
|
);
|
|
8709
8717
|
const MAX_LINES_DESC = d(
|
|
8710
8718
|
"This optional property determines the maximum number of lines the component can wrap to. If there is not enough space for all of the text, the component wraps the text up to as many lines as specified. If the value is not specified, there is no limit on the number of displayed lines."
|
|
@@ -8761,13 +8769,13 @@ const HeadingMd = createMetadata({
|
|
|
8761
8769
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8762
8770
|
limitThemeVarsToComponent: true,
|
|
8763
8771
|
defaultThemeVars: {
|
|
8764
|
-
[`fontFamily-${COMP$
|
|
8765
|
-
[`textColor-${COMP$
|
|
8766
|
-
[`fontWeight-${COMP$
|
|
8767
|
-
[`letterSpacing-${COMP$
|
|
8768
|
-
[`color-anchor-${COMP$
|
|
8769
|
-
[`gap-anchor-${COMP$
|
|
8770
|
-
[`textDecorationLine-anchor-${COMP$
|
|
8772
|
+
[`fontFamily-${COMP$1o}`]: "$fontFamily",
|
|
8773
|
+
[`textColor-${COMP$1o}`]: "inherit",
|
|
8774
|
+
[`fontWeight-${COMP$1o}`]: "$fontWeight-bold",
|
|
8775
|
+
[`letterSpacing-${COMP$1o} `]: "0",
|
|
8776
|
+
[`color-anchor-${COMP$1o} `]: "$color-surface-400",
|
|
8777
|
+
[`gap-anchor-${COMP$1o} `]: "$space-2",
|
|
8778
|
+
[`textDecorationLine-anchor-${COMP$1o} `]: "underline",
|
|
8771
8779
|
light: {
|
|
8772
8780
|
// --- No light-specific theme vars
|
|
8773
8781
|
},
|
|
@@ -8780,7 +8788,7 @@ const H1 = "H1";
|
|
|
8780
8788
|
const H1Md = createMetadata({
|
|
8781
8789
|
status: "stable",
|
|
8782
8790
|
description: LEVEL_DESC(1),
|
|
8783
|
-
specializedFrom: COMP$
|
|
8791
|
+
specializedFrom: COMP$1o,
|
|
8784
8792
|
props: {
|
|
8785
8793
|
value: VALUE_DESC,
|
|
8786
8794
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8793,11 +8801,9 @@ const H1Md = createMetadata({
|
|
|
8793
8801
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8794
8802
|
defaultThemeVars: {
|
|
8795
8803
|
[`fontSize-${H1}`]: "$fontSize-2xl",
|
|
8796
|
-
[`lineHeight-${H1}`]: "$lineHeight-2xl",
|
|
8797
8804
|
[`marginTop-${H1}`]: "0",
|
|
8798
8805
|
[`marginBottom-${H1}`]: "0",
|
|
8799
8806
|
[`fontSize-${H1}-markdown`]: "$fontSize-2xl",
|
|
8800
|
-
[`lineHeight-${H1}-markdown`]: "$lineHeight-2xl",
|
|
8801
8807
|
[`marginTop-${H1}-markdown`]: "0",
|
|
8802
8808
|
[`marginBottom-${H1}-markdown`]: "$space-6",
|
|
8803
8809
|
light: {
|
|
@@ -8812,7 +8818,7 @@ const H2 = "H2";
|
|
|
8812
8818
|
const H2Md = createMetadata({
|
|
8813
8819
|
status: "stable",
|
|
8814
8820
|
description: LEVEL_DESC(2),
|
|
8815
|
-
specializedFrom: COMP$
|
|
8821
|
+
specializedFrom: COMP$1o,
|
|
8816
8822
|
props: {
|
|
8817
8823
|
value: VALUE_DESC,
|
|
8818
8824
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8825,11 +8831,9 @@ const H2Md = createMetadata({
|
|
|
8825
8831
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8826
8832
|
defaultThemeVars: {
|
|
8827
8833
|
[`fontSize-${H2}`]: "$fontSize-xl",
|
|
8828
|
-
[`lineHeight-${H2}`]: "$lineHeight-xl",
|
|
8829
8834
|
[`marginTop-${H2}`]: "0",
|
|
8830
8835
|
[`marginBottom-${H2}`]: "0",
|
|
8831
8836
|
[`fontSize-${H2}-markdown`]: "$fontSize-xl",
|
|
8832
|
-
[`lineHeight-${H2}-markdown`]: "$lineHeight-xl",
|
|
8833
8837
|
[`marginTop-${H2}-markdown`]: "$space-10",
|
|
8834
8838
|
[`marginBottom-${H2}-markdown`]: "$space-3",
|
|
8835
8839
|
light: {
|
|
@@ -8844,7 +8848,7 @@ const H3 = "H3";
|
|
|
8844
8848
|
const H3Md = createMetadata({
|
|
8845
8849
|
status: "stable",
|
|
8846
8850
|
description: LEVEL_DESC(3),
|
|
8847
|
-
specializedFrom: COMP$
|
|
8851
|
+
specializedFrom: COMP$1o,
|
|
8848
8852
|
props: {
|
|
8849
8853
|
value: VALUE_DESC,
|
|
8850
8854
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8857,11 +8861,9 @@ const H3Md = createMetadata({
|
|
|
8857
8861
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8858
8862
|
defaultThemeVars: {
|
|
8859
8863
|
[`fontSize-${H3}`]: "$fontSize-lg",
|
|
8860
|
-
[`lineHeight-${H3}`]: "$lineHeight-lg",
|
|
8861
8864
|
[`marginTop-${H3}`]: "0",
|
|
8862
8865
|
[`marginBottom-${H3}`]: "0",
|
|
8863
8866
|
[`fontSize-${H3}-markdown`]: "$fontSize-lg",
|
|
8864
|
-
[`lineHeight-${H3}-markdown`]: "$lineHeight-lg",
|
|
8865
8867
|
[`marginTop-${H3}-markdown`]: "$space-6",
|
|
8866
8868
|
[`marginBottom-${H3}-markdown`]: "$space-2",
|
|
8867
8869
|
light: {
|
|
@@ -8876,7 +8878,7 @@ const H4 = "H4";
|
|
|
8876
8878
|
const H4Md = createMetadata({
|
|
8877
8879
|
status: "stable",
|
|
8878
8880
|
description: LEVEL_DESC(4),
|
|
8879
|
-
specializedFrom: COMP$
|
|
8881
|
+
specializedFrom: COMP$1o,
|
|
8880
8882
|
props: {
|
|
8881
8883
|
value: VALUE_DESC,
|
|
8882
8884
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8889,11 +8891,9 @@ const H4Md = createMetadata({
|
|
|
8889
8891
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8890
8892
|
defaultThemeVars: {
|
|
8891
8893
|
[`fontSize-${H4}`]: "$fontSize-base",
|
|
8892
|
-
[`lineHeight-${H4}`]: "$lineHeight-base",
|
|
8893
8894
|
[`marginTop-${H4}`]: "0",
|
|
8894
8895
|
[`marginBottom-${H4}`]: "0",
|
|
8895
8896
|
[`fontSize-${H4}-markdown`]: "$fontSize-base",
|
|
8896
|
-
[`lineHeight-${H4}-markdown`]: "$lineHeight-base",
|
|
8897
8897
|
[`marginTop-${H4}-markdown`]: "$space-5",
|
|
8898
8898
|
[`marginBottom-${H4}-markdown`]: "$space-1",
|
|
8899
8899
|
light: {
|
|
@@ -8908,7 +8908,7 @@ const H5 = "H5";
|
|
|
8908
8908
|
const H5Md = createMetadata({
|
|
8909
8909
|
status: "stable",
|
|
8910
8910
|
description: LEVEL_DESC(5),
|
|
8911
|
-
specializedFrom: COMP$
|
|
8911
|
+
specializedFrom: COMP$1o,
|
|
8912
8912
|
props: {
|
|
8913
8913
|
value: VALUE_DESC,
|
|
8914
8914
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8921,11 +8921,9 @@ const H5Md = createMetadata({
|
|
|
8921
8921
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8922
8922
|
defaultThemeVars: {
|
|
8923
8923
|
[`fontSize-${H5}`]: "$fontSize-sm",
|
|
8924
|
-
[`lineHeight-${H5}`]: "$lineHeight-sm",
|
|
8925
8924
|
[`marginTop-${H5}`]: "0",
|
|
8926
8925
|
[`marginBottom-${H5}`]: "0",
|
|
8927
8926
|
[`fontSize-${H5}-markdown`]: "$fontSize-sm",
|
|
8928
|
-
[`lineHeight-${H5}-markdown`]: "$lineHeight-sm",
|
|
8929
8927
|
[`marginTop-${H5}-markdown`]: "0",
|
|
8930
8928
|
[`marginBottom-${H5}-markdown`]: "$space-0",
|
|
8931
8929
|
light: {
|
|
@@ -8940,7 +8938,7 @@ const H6 = "H6";
|
|
|
8940
8938
|
const H6Md = createMetadata({
|
|
8941
8939
|
status: "stable",
|
|
8942
8940
|
description: LEVEL_DESC(6),
|
|
8943
|
-
specializedFrom: COMP$
|
|
8941
|
+
specializedFrom: COMP$1o,
|
|
8944
8942
|
props: {
|
|
8945
8943
|
value: VALUE_DESC,
|
|
8946
8944
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8953,11 +8951,9 @@ const H6Md = createMetadata({
|
|
|
8953
8951
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8954
8952
|
defaultThemeVars: {
|
|
8955
8953
|
[`fontSize-${H6}`]: "$fontSize-xs",
|
|
8956
|
-
[`lineHeight-${H6}`]: "$lineHeight-xs",
|
|
8957
8954
|
[`marginTop-${H6}`]: "0",
|
|
8958
8955
|
[`marginBottom-${H6}`]: "0",
|
|
8959
8956
|
[`fontSize-${H6}-markdown`]: "$fontSize-xs",
|
|
8960
|
-
[`lineHeight-${H6}-markdown`]: "$lineHeight-xs",
|
|
8961
8957
|
[`marginTop-${H6}-markdown`]: "0",
|
|
8962
8958
|
[`marginBottom-${H6}-markdown`]: "$space-0",
|
|
8963
8959
|
light: {
|
|
@@ -8998,7 +8994,7 @@ function renderHeading({
|
|
|
8998
8994
|
);
|
|
8999
8995
|
}
|
|
9000
8996
|
const headingComponentRenderer = createComponentRenderer(
|
|
9001
|
-
COMP$
|
|
8997
|
+
COMP$1o,
|
|
9002
8998
|
HeadingMd,
|
|
9003
8999
|
({ node, extractValue, className, renderChild: renderChild2, registerComponentApi }) => {
|
|
9004
9000
|
return renderHeading({
|
|
@@ -9282,13 +9278,13 @@ const Text = forwardRef(function Text2({
|
|
|
9282
9278
|
}
|
|
9283
9279
|
);
|
|
9284
9280
|
});
|
|
9285
|
-
const COMP$
|
|
9281
|
+
const COMP$1n = "Text";
|
|
9286
9282
|
const TextMd = createMetadata({
|
|
9287
9283
|
status: "stable",
|
|
9288
|
-
description: `The \`${COMP$
|
|
9284
|
+
description: `The \`${COMP$1n}\` component displays textual information in a number of optional styles and variants.`,
|
|
9289
9285
|
props: {
|
|
9290
9286
|
value: d(
|
|
9291
|
-
`The text to be displayed. This value can also be set via nesting the text into the \`${COMP$
|
|
9287
|
+
`The text to be displayed. This value can also be set via nesting the text into the \`${COMP$1n}\` component.`
|
|
9292
9288
|
),
|
|
9293
9289
|
variant: {
|
|
9294
9290
|
description: "An optional string value that provides named presets for text variants with a unique combination of font style, weight, size, color, and other parameters. If not defined, the text uses the current style of its context.",
|
|
@@ -9348,89 +9344,76 @@ const TextMd = createMetadata({
|
|
|
9348
9344
|
},
|
|
9349
9345
|
themeVars: parseScssVar(styles$13.themeVars),
|
|
9350
9346
|
defaultThemeVars: {
|
|
9351
|
-
[`borderRadius-${COMP$
|
|
9352
|
-
[`borderStyle-${COMP$
|
|
9353
|
-
[`fontSize-${COMP$
|
|
9354
|
-
[`
|
|
9355
|
-
[`
|
|
9356
|
-
[`
|
|
9357
|
-
[`
|
|
9358
|
-
[`
|
|
9359
|
-
[`
|
|
9360
|
-
[`
|
|
9361
|
-
[`
|
|
9362
|
-
[`
|
|
9363
|
-
[`
|
|
9364
|
-
[`
|
|
9365
|
-
[`fontSize-${COMP$
|
|
9366
|
-
[`
|
|
9367
|
-
[`
|
|
9368
|
-
[`
|
|
9369
|
-
[`
|
|
9370
|
-
[`
|
|
9371
|
-
[`
|
|
9372
|
-
[`
|
|
9373
|
-
[`
|
|
9374
|
-
[`
|
|
9375
|
-
[`
|
|
9376
|
-
[`
|
|
9377
|
-
[`
|
|
9378
|
-
[`
|
|
9379
|
-
[`
|
|
9380
|
-
[`
|
|
9381
|
-
[`
|
|
9382
|
-
[`
|
|
9383
|
-
[`
|
|
9384
|
-
[`
|
|
9385
|
-
[`
|
|
9386
|
-
[`
|
|
9387
|
-
[`
|
|
9388
|
-
[`fontSize-${COMP$
|
|
9389
|
-
[`
|
|
9390
|
-
[`
|
|
9391
|
-
[`
|
|
9392
|
-
[`
|
|
9393
|
-
[`
|
|
9394
|
-
[`
|
|
9395
|
-
[`
|
|
9396
|
-
[`fontSize-${COMP$
|
|
9397
|
-
[`
|
|
9398
|
-
[`
|
|
9399
|
-
[`
|
|
9400
|
-
[`
|
|
9401
|
-
[`
|
|
9402
|
-
[`
|
|
9403
|
-
[`
|
|
9404
|
-
[`
|
|
9405
|
-
[`
|
|
9406
|
-
[`
|
|
9407
|
-
[`
|
|
9408
|
-
[`
|
|
9409
|
-
[`
|
|
9410
|
-
[`
|
|
9411
|
-
[`
|
|
9412
|
-
[`
|
|
9413
|
-
[`
|
|
9414
|
-
[`paddingHorizontal-${COMP$1o}-tableheading`]: "$space-1",
|
|
9415
|
-
[`fontSize-${COMP$1o}-tableheading`]: "$fontSize-H6",
|
|
9416
|
-
[`lineHeight-${COMP$1o}-tableheading`]: "$lineHeight-sm",
|
|
9417
|
-
[`fontWeight-${COMP$1o}-tableheading`]: "$fontWeight-bold",
|
|
9418
|
-
[`backgroundColor-${COMP$1o}-code`]: "rgb(from $color-surface-100 r g b / 0.4)",
|
|
9419
|
-
[`borderColor-${COMP$1o}-code`]: "$color-surface-100",
|
|
9420
|
-
[`backgroundColor-${COMP$1o}-keyboard`]: "rgb(from $color-surface-100 r g b / 0.4)",
|
|
9421
|
-
[`borderColor-${COMP$1o}-keyboard`]: "$color-surface-300",
|
|
9422
|
-
[`backgroundColor-${COMP$1o}-marked`]: "rgb(from $color-primary-200 r g b / 0.4)",
|
|
9423
|
-
[`color-${COMP$1o}-placeholder`]: "$color-surface-500",
|
|
9424
|
-
[`color-${COMP$1o}-codefence`]: "$color-surface-900",
|
|
9425
|
-
[`color-${COMP$1o}-subheading`]: "$textColor-secondary",
|
|
9426
|
-
[`color-${COMP$1o}-secondary`]: "$textColor-secondary",
|
|
9347
|
+
[`borderRadius-${COMP$1n}`]: "$borderRadius",
|
|
9348
|
+
[`borderStyle-${COMP$1n}`]: "solid",
|
|
9349
|
+
[`fontSize-${COMP$1n}`]: "$fontSize-sm",
|
|
9350
|
+
[`borderWidth-${COMP$1n}`]: "$space-0",
|
|
9351
|
+
[`lineHeight-${COMP$1n}-codefence`]: "1.5",
|
|
9352
|
+
[`fontWeight-${COMP$1n}-abbr`]: "$fontWeight-bold",
|
|
9353
|
+
[`textTransform-${COMP$1n}-abbr`]: "uppercase",
|
|
9354
|
+
[`fontSize-${COMP$1n}-secondary`]: "$fontSize-sm",
|
|
9355
|
+
[`fontStyle-${COMP$1n}-cite`]: "italic",
|
|
9356
|
+
[`textColor-${COMP$1n}`]: "$textColor-primary",
|
|
9357
|
+
[`fontFamily-${COMP$1n}`]: "$fontFamily",
|
|
9358
|
+
[`fontWeight-${COMP$1n}`]: "$fontWeight-normal",
|
|
9359
|
+
[`fontSize-${COMP$1n}-codefence`]: "$fontSize-code",
|
|
9360
|
+
[`fontFamily-${COMP$1n}-code`]: "$fontFamily-monospace",
|
|
9361
|
+
[`fontSize-${COMP$1n}-code`]: "$fontSize-sm",
|
|
9362
|
+
[`borderWidth-${COMP$1n}-code`]: "1px",
|
|
9363
|
+
[`borderStyle-${COMP$1n}-code`]: "solid",
|
|
9364
|
+
[`borderRadius-${COMP$1n}-code`]: "4px",
|
|
9365
|
+
[`paddingHorizontal-${COMP$1n}-code`]: "$space-0_5",
|
|
9366
|
+
[`paddingBottom-${COMP$1n}-code`]: "2px",
|
|
9367
|
+
[`textDecorationLine-${COMP$1n}-deleted`]: "line-through",
|
|
9368
|
+
[`textDecorationLine-${COMP$1n}-inserted`]: "underline",
|
|
9369
|
+
[`fontFamily-${COMP$1n}-keyboard`]: "$fontFamily-monospace",
|
|
9370
|
+
[`fontSize-${COMP$1n}-keyboard`]: "$fontSize-sm",
|
|
9371
|
+
[`fontWeight-${COMP$1n}-keyboard`]: "$fontWeight-bold",
|
|
9372
|
+
[`borderWidth-${COMP$1n}-keyboard`]: "1px",
|
|
9373
|
+
[`paddingHorizontal-${COMP$1n}-keyboard`]: "$space-1",
|
|
9374
|
+
[`fontFamily-${COMP$1n}-sample`]: "$fontFamily-monospace",
|
|
9375
|
+
[`fontSize-${COMP$1n}-sample`]: "$fontSize-sm",
|
|
9376
|
+
[`fontSize-${COMP$1n}-sup`]: "$fontSize-xs",
|
|
9377
|
+
[`verticalAlignment-${COMP$1n}-sup`]: "super",
|
|
9378
|
+
[`fontSize-${COMP$1n}-sub`]: "$fontSize-xs",
|
|
9379
|
+
[`verticalAlignment-${COMP$1n}-sub`]: "sub",
|
|
9380
|
+
[`fontStyle-${COMP$1n}-var`]: "italic",
|
|
9381
|
+
[`fontStyle-${COMP$1n}-em`]: "italic",
|
|
9382
|
+
[`fontFamily-${COMP$1n}-mono`]: "$fontFamily-monospace",
|
|
9383
|
+
[`fontSize-${COMP$1n}-title`]: "$fontSize-2xl",
|
|
9384
|
+
[`fontSize-${COMP$1n}-subtitle`]: "$fontSize-xl",
|
|
9385
|
+
[`fontSize-${COMP$1n}-small`]: "$fontSize-sm",
|
|
9386
|
+
[`letterSpacing-${COMP$1n}-caption`]: "0.05rem",
|
|
9387
|
+
[`fontSize-${COMP$1n}-placeholder`]: "$fontSize-xs",
|
|
9388
|
+
[`fontFamily-${COMP$1n}-codefence`]: "$fontFamily-monospace",
|
|
9389
|
+
[`paddingHorizontal-${COMP$1n}-codefence`]: "$space-4",
|
|
9390
|
+
[`paddingVertical-${COMP$1n}-codefence`]: "$space-3",
|
|
9391
|
+
[`paddingVertical-${COMP$1n}-paragraph`]: "$space-1",
|
|
9392
|
+
[`fontSize-${COMP$1n}-subheading`]: "$fontSize-H6",
|
|
9393
|
+
[`fontWeight-${COMP$1n}-subheading`]: "$fontWeight-bold",
|
|
9394
|
+
[`letterSpacing-${COMP$1n}-subheading`]: "0.04em",
|
|
9395
|
+
[`textTransform-${COMP$1n}-subheading`]: "uppercase",
|
|
9396
|
+
[`marginTop-${COMP$1n}-tableheading`]: "$space-1",
|
|
9397
|
+
[`marginBottom-${COMP$1n}-tableheading`]: "$space-4",
|
|
9398
|
+
[`paddingHorizontal-${COMP$1n}-tableheading`]: "$space-1",
|
|
9399
|
+
[`fontSize-${COMP$1n}-tableheading`]: "$fontSize-H6",
|
|
9400
|
+
[`fontWeight-${COMP$1n}-tableheading`]: "$fontWeight-bold",
|
|
9401
|
+
[`backgroundColor-${COMP$1n}-code`]: "rgb(from $color-surface-100 r g b / 0.4)",
|
|
9402
|
+
[`borderColor-${COMP$1n}-code`]: "$color-surface-100",
|
|
9403
|
+
[`backgroundColor-${COMP$1n}-keyboard`]: "rgb(from $color-surface-100 r g b / 0.4)",
|
|
9404
|
+
[`borderColor-${COMP$1n}-keyboard`]: "$color-surface-300",
|
|
9405
|
+
[`backgroundColor-${COMP$1n}-marked`]: "rgb(from $color-primary-200 r g b / 0.4)",
|
|
9406
|
+
[`color-${COMP$1n}-placeholder`]: "$color-surface-500",
|
|
9407
|
+
[`color-${COMP$1n}-codefence`]: "$color-surface-900",
|
|
9408
|
+
[`color-${COMP$1n}-subheading`]: "$textColor-secondary",
|
|
9409
|
+
[`color-${COMP$1n}-secondary`]: "$textColor-secondary",
|
|
9427
9410
|
dark: {
|
|
9428
|
-
[`backgroundColor-${COMP$
|
|
9411
|
+
[`backgroundColor-${COMP$1n}-marked`]: "rgb(from $color-primary-400 r g b / 0.4)"
|
|
9429
9412
|
}
|
|
9430
9413
|
}
|
|
9431
9414
|
});
|
|
9432
9415
|
const textComponentRenderer = createComponentRenderer(
|
|
9433
|
-
COMP$
|
|
9416
|
+
COMP$1n,
|
|
9434
9417
|
TextMd,
|
|
9435
9418
|
({ node, extractValue, className, renderChild: renderChild2, registerComponentApi }) => {
|
|
9436
9419
|
const {
|
|
@@ -9466,7 +9449,7 @@ const textComponentRenderer = createComponentRenderer(
|
|
|
9466
9449
|
);
|
|
9467
9450
|
}
|
|
9468
9451
|
);
|
|
9469
|
-
const COMP$
|
|
9452
|
+
const COMP$1m = "Fragment";
|
|
9470
9453
|
const FragmentMd = createMetadata({
|
|
9471
9454
|
status: "stable",
|
|
9472
9455
|
description: "`Fragment` provides conditional rendering. You can use `when=` on any component to render it conditionally, use `Fragment` to apply `when` to a group of components.",
|
|
@@ -9476,39 +9459,43 @@ const FragmentMd = createMetadata({
|
|
|
9476
9459
|
}
|
|
9477
9460
|
});
|
|
9478
9461
|
const fragmentComponentRenderer = createComponentRenderer(
|
|
9479
|
-
COMP$
|
|
9462
|
+
COMP$1m,
|
|
9480
9463
|
FragmentMd,
|
|
9481
9464
|
({ node, extractValue, renderChild: renderChild2, layoutContext }) => {
|
|
9482
|
-
|
|
9465
|
+
let renderedChild = renderChild2(node.children, layoutContext);
|
|
9466
|
+
if (Array.isArray(renderedChild)) {
|
|
9467
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: renderedChild }, extractValue(node.uid));
|
|
9468
|
+
}
|
|
9469
|
+
return renderedChild;
|
|
9483
9470
|
}
|
|
9484
9471
|
);
|
|
9485
|
-
const themeVars$I = `'{"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))", "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)", "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)"}'`;
|
|
9486
|
-
const wrapper$i = "
|
|
9487
|
-
const noScroll = "
|
|
9488
|
-
const headerWrapper = "
|
|
9489
|
-
const tableBody = "
|
|
9490
|
-
const clickableHeader = "
|
|
9491
|
-
const headerContent = "
|
|
9492
|
-
const headerRow = "
|
|
9493
|
-
const columnCell = "
|
|
9494
|
-
const cell = "
|
|
9495
|
-
const alignTop = "
|
|
9496
|
-
const alignCenter = "
|
|
9497
|
-
const alignBottom = "
|
|
9498
|
-
const table = "
|
|
9499
|
-
const row$1 = "
|
|
9500
|
-
const checkBoxWrapper = "
|
|
9501
|
-
const showInHeader = "
|
|
9502
|
-
const selected$1 = "
|
|
9503
|
-
const allSelected = "
|
|
9504
|
-
const cellContent = "
|
|
9505
|
-
const focused$1 = "
|
|
9506
|
-
const disabled$7 = "
|
|
9507
|
-
const noBottomBorder = "
|
|
9508
|
-
const noRows$1 = "
|
|
9509
|
-
const loadingWrapper$1 = "
|
|
9510
|
-
const resizer$1 = "
|
|
9511
|
-
const isResizing = "
|
|
9472
|
+
const themeVars$I = `'{"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)"}'`;
|
|
9473
|
+
const wrapper$i = "_wrapper_uqop0_14";
|
|
9474
|
+
const noScroll = "_noScroll_uqop0_42";
|
|
9475
|
+
const headerWrapper = "_headerWrapper_uqop0_45";
|
|
9476
|
+
const tableBody = "_tableBody_uqop0_46";
|
|
9477
|
+
const clickableHeader = "_clickableHeader_uqop0_51";
|
|
9478
|
+
const headerContent = "_headerContent_uqop0_65";
|
|
9479
|
+
const headerRow = "_headerRow_uqop0_97";
|
|
9480
|
+
const columnCell = "_columnCell_uqop0_101";
|
|
9481
|
+
const cell = "_cell_uqop0_102";
|
|
9482
|
+
const alignTop = "_alignTop_uqop0_110";
|
|
9483
|
+
const alignCenter = "_alignCenter_uqop0_114";
|
|
9484
|
+
const alignBottom = "_alignBottom_uqop0_118";
|
|
9485
|
+
const table = "_table_uqop0_46";
|
|
9486
|
+
const row$1 = "_row_uqop0_126";
|
|
9487
|
+
const checkBoxWrapper = "_checkBoxWrapper_uqop0_133";
|
|
9488
|
+
const showInHeader = "_showInHeader_uqop0_138";
|
|
9489
|
+
const selected$1 = "_selected_uqop0_142";
|
|
9490
|
+
const allSelected = "_allSelected_uqop0_142";
|
|
9491
|
+
const cellContent = "_cellContent_uqop0_173";
|
|
9492
|
+
const focused$1 = "_focused_uqop0_200";
|
|
9493
|
+
const disabled$7 = "_disabled_uqop0_212";
|
|
9494
|
+
const noBottomBorder = "_noBottomBorder_uqop0_219";
|
|
9495
|
+
const noRows$1 = "_noRows_uqop0_244";
|
|
9496
|
+
const loadingWrapper$1 = "_loadingWrapper_uqop0_283";
|
|
9497
|
+
const resizer$1 = "_resizer_uqop0_296";
|
|
9498
|
+
const isResizing = "_isResizing_uqop0_317";
|
|
9512
9499
|
const styles$12 = {
|
|
9513
9500
|
themeVars: themeVars$I,
|
|
9514
9501
|
wrapper: wrapper$i,
|
|
@@ -11971,7 +11958,6 @@ const Table = forwardRef(
|
|
|
11971
11958
|
{
|
|
11972
11959
|
className: styles$12.table,
|
|
11973
11960
|
ref: tableRef,
|
|
11974
|
-
style: { borderRight: "1px solid transparent" },
|
|
11975
11961
|
children: [
|
|
11976
11962
|
!hideHeader && /* @__PURE__ */ jsx("thead", { style: { height: headerHeight }, className: styles$12.headerWrapper, children: table2.getHeaderGroups().map((headerGroup, headerGroupIndex) => /* @__PURE__ */ jsx(
|
|
11977
11963
|
"tr",
|
|
@@ -12163,7 +12149,7 @@ const defaultProps$Z = {
|
|
|
12163
12149
|
pageSizeSelectorPosition: "start",
|
|
12164
12150
|
pageInfoPosition: "end"
|
|
12165
12151
|
};
|
|
12166
|
-
const COMP$
|
|
12152
|
+
const COMP$1l = "Table";
|
|
12167
12153
|
const TableMd = createMetadata({
|
|
12168
12154
|
status: "stable",
|
|
12169
12155
|
description: "`Table` presents structured data for viewing, sorting, selection, and interaction.",
|
|
@@ -12175,7 +12161,7 @@ const TableMd = createMetadata({
|
|
|
12175
12161
|
`The component receives data via this property. The \`data\` property is a list of items that the \`Table\` can display.`
|
|
12176
12162
|
),
|
|
12177
12163
|
isPaginated: {
|
|
12178
|
-
description: `This property adds pagination controls to the \`${COMP$
|
|
12164
|
+
description: `This property adds pagination controls to the \`${COMP$1l}\`.`,
|
|
12179
12165
|
valueType: "boolean",
|
|
12180
12166
|
defaultValue: defaultProps$Z.isPaginated
|
|
12181
12167
|
},
|
|
@@ -12245,13 +12231,13 @@ const TableMd = createMetadata({
|
|
|
12245
12231
|
defaultValue: defaultProps$Z.hideHeader
|
|
12246
12232
|
},
|
|
12247
12233
|
iconNoSort: d(
|
|
12248
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
12234
|
+
`Allows setting an alternate icon displayed in the ${COMP$1l} column header when sorting is enabled, but the column remains unsorted. You can change the default icon for all ${COMP$1l} instances with the "icon.nosort:Table" declaration in the app configuration file.`
|
|
12249
12235
|
),
|
|
12250
12236
|
iconSortAsc: d(
|
|
12251
|
-
`Allows setting an alernate icon displayed in the ${COMP$
|
|
12237
|
+
`Allows setting an alernate icon displayed in the ${COMP$1l} column header when sorting is enabled, and the column is sorted in ascending order. You can change the default icon for all ${COMP$1l} instances with the "icon.sortasc:Table" declaration in the app configuration file.`
|
|
12252
12238
|
),
|
|
12253
12239
|
iconSortDesc: d(
|
|
12254
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
12240
|
+
`Allows setting an alternate icon displayed in the ${COMP$1l} column header when sorting is enabled, and the column is sorted in descending order. You can change the default icon for all ${COMP$1l} instances with the "icon.sortdesc:Table" declaration in the app configuration file.`
|
|
12255
12241
|
),
|
|
12256
12242
|
enableMultiRowSelection: {
|
|
12257
12243
|
description: `This boolean property indicates whether you can select multiple rows in the table. This property only has an effect when the rowsSelectable property is set. Setting it to \`false\` limits selection to a single row.`,
|
|
@@ -12319,33 +12305,36 @@ const TableMd = createMetadata({
|
|
|
12319
12305
|
},
|
|
12320
12306
|
themeVars: parseScssVar(styles$12.themeVars),
|
|
12321
12307
|
defaultThemeVars: {
|
|
12322
|
-
[`padding-heading-${COMP$
|
|
12323
|
-
[`padding-cell-${COMP$
|
|
12324
|
-
[`paddingHorizontal-cell-first-${COMP$
|
|
12325
|
-
[`paddingHorizontal-cell-last-${COMP$
|
|
12326
|
-
[`border-cell-${COMP$
|
|
12327
|
-
[`outlineWidth-heading-${COMP$
|
|
12328
|
-
[`outlineStyle-heading-${COMP$
|
|
12329
|
-
[`outlineOffset-heading-${COMP$
|
|
12330
|
-
[`fontSize-heading-${COMP$
|
|
12331
|
-
[`fontWeight-heading-${COMP$
|
|
12332
|
-
[`textTransform-heading-${COMP$
|
|
12333
|
-
[`fontSize-row-${COMP$
|
|
12308
|
+
[`padding-heading-${COMP$1l}`]: `$space-2 $space-1 $space-2 $space-2`,
|
|
12309
|
+
[`padding-cell-${COMP$1l}`]: "$space-2 $space-1 $space-2 $space-2",
|
|
12310
|
+
[`paddingHorizontal-cell-first-${COMP$1l}`]: "$space-5",
|
|
12311
|
+
[`paddingHorizontal-cell-last-${COMP$1l}`]: "$space-1",
|
|
12312
|
+
[`border-cell-${COMP$1l}`]: "1px solid $borderColor",
|
|
12313
|
+
[`outlineWidth-heading-${COMP$1l}--focus`]: "$outlineWidth--focus",
|
|
12314
|
+
[`outlineStyle-heading-${COMP$1l}--focus`]: "$outlineStyle--focus",
|
|
12315
|
+
[`outlineOffset-heading-${COMP$1l}--focus`]: "$outlineOffset--focus",
|
|
12316
|
+
[`fontSize-heading-${COMP$1l}`]: "$fontSize-tiny",
|
|
12317
|
+
[`fontWeight-heading-${COMP$1l}`]: "$fontWeight-bold",
|
|
12318
|
+
[`textTransform-heading-${COMP$1l}`]: "uppercase",
|
|
12319
|
+
[`fontSize-row-${COMP$1l}`]: "$fontSize-sm",
|
|
12334
12320
|
// [`backgroundColor-${COMP}`]: "transparent",
|
|
12335
12321
|
// [`backgroundColor-row-${COMP}`]: "inherit",
|
|
12336
|
-
[`backgroundColor-selected-${COMP$
|
|
12337
|
-
[`backgroundColor-pagination-${COMP$
|
|
12338
|
-
[`outlineColor-heading-${COMP$
|
|
12339
|
-
[`textColor-pagination-${COMP$
|
|
12340
|
-
[`backgroundColor-row-${COMP$
|
|
12341
|
-
[`backgroundColor-selected-${COMP$
|
|
12342
|
-
[`backgroundColor-heading-${COMP$
|
|
12343
|
-
[`backgroundColor-heading-${COMP$
|
|
12344
|
-
[`backgroundColor-heading-${COMP$
|
|
12345
|
-
[`textColor-heading-${COMP$
|
|
12346
|
-
|
|
12347
|
-
}
|
|
12348
|
-
|
|
12322
|
+
[`backgroundColor-selected-${COMP$1l}--hover`]: `$backgroundColor-row-${COMP$1l}--hover`,
|
|
12323
|
+
[`backgroundColor-pagination-${COMP$1l}`]: `$backgroundColor-${COMP$1l}`,
|
|
12324
|
+
[`outlineColor-heading-${COMP$1l}--focus`]: "$outlineColor--focus",
|
|
12325
|
+
[`textColor-pagination-${COMP$1l}`]: "$color-secondary",
|
|
12326
|
+
[`backgroundColor-row-${COMP$1l}--hover`]: "$color-primary-50",
|
|
12327
|
+
[`backgroundColor-selected-${COMP$1l}`]: "$color-primary-100",
|
|
12328
|
+
[`backgroundColor-heading-${COMP$1l}--hover`]: "$color-surface-200",
|
|
12329
|
+
[`backgroundColor-heading-${COMP$1l}--active`]: "$color-surface-300",
|
|
12330
|
+
[`backgroundColor-heading-${COMP$1l}`]: "$color-surface-100",
|
|
12331
|
+
[`textColor-heading-${COMP$1l}`]: "$color-surface-500",
|
|
12332
|
+
[`border-${COMP$1l}`]: "0px solid transparent",
|
|
12333
|
+
[`borderBottom-last-row-${COMP$1l}`]: `$borderBottom-cell-${COMP$1l}`,
|
|
12334
|
+
[`borderRadius-${COMP$1l}`]: "$borderRadius"
|
|
12335
|
+
}
|
|
12336
|
+
});
|
|
12337
|
+
const TableWithColumns = memo(forwardRef(
|
|
12349
12338
|
({
|
|
12350
12339
|
extractValue,
|
|
12351
12340
|
node,
|
|
@@ -12471,10 +12460,10 @@ const TableWithColumns = forwardRef(
|
|
|
12471
12460
|
}
|
|
12472
12461
|
return tableContent;
|
|
12473
12462
|
}
|
|
12474
|
-
);
|
|
12463
|
+
));
|
|
12475
12464
|
TableWithColumns.displayName = "TableWithColumns";
|
|
12476
12465
|
const tableComponentRenderer = createComponentRenderer(
|
|
12477
|
-
COMP$
|
|
12466
|
+
COMP$1l,
|
|
12478
12467
|
TableMd,
|
|
12479
12468
|
({
|
|
12480
12469
|
extractValue,
|
|
@@ -12558,7 +12547,7 @@ function StickyBox({ children, uid, style: style2, to = defaultProps$Y.to, class
|
|
|
12558
12547
|
)
|
|
12559
12548
|
] });
|
|
12560
12549
|
}
|
|
12561
|
-
const COMP$
|
|
12550
|
+
const COMP$1k = "StickyBox";
|
|
12562
12551
|
const StickyBoxMd = createMetadata({
|
|
12563
12552
|
status: "stable",
|
|
12564
12553
|
description: "`StickyBox` remains fixed at the top or bottom of the screen as the user scrolls.",
|
|
@@ -12572,11 +12561,11 @@ const StickyBoxMd = createMetadata({
|
|
|
12572
12561
|
},
|
|
12573
12562
|
themeVars: parseScssVar(styles$$.themeVars),
|
|
12574
12563
|
defaultThemeVars: {
|
|
12575
|
-
[`backgroundColor-${COMP$
|
|
12564
|
+
[`backgroundColor-${COMP$1k}`]: "$backgroundColor"
|
|
12576
12565
|
}
|
|
12577
12566
|
});
|
|
12578
12567
|
const stickyBoxComponentRenderer = createComponentRenderer(
|
|
12579
|
-
COMP$
|
|
12568
|
+
COMP$1k,
|
|
12580
12569
|
StickyBoxMd,
|
|
12581
12570
|
({ node, renderChild: renderChild2, extractValue, className }) => {
|
|
12582
12571
|
var _a2;
|
|
@@ -12619,7 +12608,7 @@ const Badge = forwardRef(function Badge2({ children, color, variant = defaultPro
|
|
|
12619
12608
|
}
|
|
12620
12609
|
);
|
|
12621
12610
|
});
|
|
12622
|
-
const COMP$
|
|
12611
|
+
const COMP$1j = "Badge";
|
|
12623
12612
|
const BadgeMd = createMetadata({
|
|
12624
12613
|
status: "stable",
|
|
12625
12614
|
description: "`Badge` displays small text labels with colored backgrounds, commonly used for status indicators, categories, tags, and counts. It supports dynamic color mapping based on content values, useful for status systems and data categorization.",
|
|
@@ -12636,7 +12625,7 @@ const BadgeMd = createMetadata({
|
|
|
12636
12625
|
defaultValue: defaultProps$X.variant
|
|
12637
12626
|
},
|
|
12638
12627
|
colorMap: {
|
|
12639
|
-
description: `The \`${COMP$
|
|
12628
|
+
description: `The \`${COMP$1j}\` component supports the mapping of a list of colors using the \`value\` prop as the key. If this property is not set, no color mapping is used.`
|
|
12640
12629
|
},
|
|
12641
12630
|
themeColor: dInternal(`(**NOT IMPLEMENTED YET**) The theme color of the component.`),
|
|
12642
12631
|
indicatorText: dInternal(
|
|
@@ -12651,18 +12640,18 @@ const BadgeMd = createMetadata({
|
|
|
12651
12640
|
events: {},
|
|
12652
12641
|
themeVars: parseScssVar(styles$_.themeVars),
|
|
12653
12642
|
defaultThemeVars: {
|
|
12654
|
-
[`padding-${COMP$
|
|
12655
|
-
[`border-${COMP$
|
|
12656
|
-
[`padding-${COMP$
|
|
12657
|
-
[`borderRadius-${COMP$
|
|
12658
|
-
[`fontSize-${COMP$
|
|
12659
|
-
[`fontSize-${COMP$
|
|
12660
|
-
[`backgroundColor-${COMP$
|
|
12661
|
-
[`textColor-${COMP$
|
|
12643
|
+
[`padding-${COMP$1j}`]: `$space-0_5 $space-2`,
|
|
12644
|
+
[`border-${COMP$1j}`]: `0px solid $borderColor`,
|
|
12645
|
+
[`padding-${COMP$1j}-pill`]: `$space-0_5 $space-2`,
|
|
12646
|
+
[`borderRadius-${COMP$1j}`]: "4px",
|
|
12647
|
+
[`fontSize-${COMP$1j}`]: "0.8em",
|
|
12648
|
+
[`fontSize-${COMP$1j}-pill`]: "0.8em",
|
|
12649
|
+
[`backgroundColor-${COMP$1j}`]: "rgb(from $color-secondary-500 r g b / 0.6)",
|
|
12650
|
+
[`textColor-${COMP$1j}`]: "$const-color-surface-0"
|
|
12662
12651
|
}
|
|
12663
12652
|
});
|
|
12664
12653
|
const badgeComponentRenderer = createComponentRenderer(
|
|
12665
|
-
COMP$
|
|
12654
|
+
COMP$1j,
|
|
12666
12655
|
BadgeMd,
|
|
12667
12656
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
12668
12657
|
var _a2;
|
|
@@ -12762,23 +12751,23 @@ function abbrevName(name) {
|
|
|
12762
12751
|
}
|
|
12763
12752
|
return null;
|
|
12764
12753
|
}
|
|
12765
|
-
const COMP$
|
|
12754
|
+
const COMP$1i = "Avatar";
|
|
12766
12755
|
const AvatarMd = createMetadata({
|
|
12767
12756
|
status: "stable",
|
|
12768
12757
|
description: "`Avatar` displays a user or entity's profile picture as a circular image, with automatic fallback to initials when no image is provided. It's commonly used in headers, user lists, comments, and anywhere you need to represent a person or organization.",
|
|
12769
12758
|
props: {
|
|
12770
12759
|
size: {
|
|
12771
|
-
description: `This property defines the display size of the ${COMP$
|
|
12760
|
+
description: `This property defines the display size of the ${COMP$1i}.`,
|
|
12772
12761
|
availableValues: sizeMd,
|
|
12773
12762
|
valueType: "string",
|
|
12774
12763
|
defaultValue: defaultProps$W.size
|
|
12775
12764
|
},
|
|
12776
12765
|
name: {
|
|
12777
|
-
description: `This property sets the name value the ${COMP$
|
|
12766
|
+
description: `This property sets the name value the ${COMP$1i} uses to display initials. If neither this property nor \`url\` is defined, an empty avatar is displayed.`,
|
|
12778
12767
|
valueType: "string"
|
|
12779
12768
|
},
|
|
12780
12769
|
url: {
|
|
12781
|
-
description: `This property specifies the URL of the image to display in the ${COMP$
|
|
12770
|
+
description: `This property specifies the URL of the image to display in the ${COMP$1i}. If neither this property nor \`name\` is defined, an empty avatar is displayed.`,
|
|
12782
12771
|
valueType: "string"
|
|
12783
12772
|
}
|
|
12784
12773
|
},
|
|
@@ -12787,16 +12776,16 @@ const AvatarMd = createMetadata({
|
|
|
12787
12776
|
},
|
|
12788
12777
|
themeVars: parseScssVar(styles$Z.themeVars),
|
|
12789
12778
|
defaultThemeVars: {
|
|
12790
|
-
[`borderRadius-${COMP$
|
|
12791
|
-
[`boxShadow-${COMP$
|
|
12792
|
-
[`textColor-${COMP$
|
|
12793
|
-
[`fontWeight-${COMP$
|
|
12794
|
-
[`border-${COMP$
|
|
12795
|
-
[`backgroundColor-${COMP$
|
|
12779
|
+
[`borderRadius-${COMP$1i}`]: "4px",
|
|
12780
|
+
[`boxShadow-${COMP$1i}`]: "inset 0 0 0 1px rgba(4,32,69,0.1)",
|
|
12781
|
+
[`textColor-${COMP$1i}`]: "$textColor-secondary",
|
|
12782
|
+
[`fontWeight-${COMP$1i}`]: "$fontWeight-bold",
|
|
12783
|
+
[`border-${COMP$1i}`]: "0px solid $color-surface-400A80",
|
|
12784
|
+
[`backgroundColor-${COMP$1i}`]: "$color-surface-100"
|
|
12796
12785
|
}
|
|
12797
12786
|
});
|
|
12798
12787
|
const avatarComponentRenderer = createComponentRenderer(
|
|
12799
|
-
COMP$
|
|
12788
|
+
COMP$1i,
|
|
12800
12789
|
AvatarMd,
|
|
12801
12790
|
({ node, extractValue, lookupEventHandler, className, extractResourceUrl }) => {
|
|
12802
12791
|
var _a2;
|
|
@@ -12849,7 +12838,7 @@ const ContentSeparator = forwardRef(
|
|
|
12849
12838
|
);
|
|
12850
12839
|
}
|
|
12851
12840
|
);
|
|
12852
|
-
const COMP$
|
|
12841
|
+
const COMP$1h = "ContentSeparator";
|
|
12853
12842
|
const ContentSeparatorMd = createMetadata({
|
|
12854
12843
|
status: "stable",
|
|
12855
12844
|
description: "`ContentSeparator` creates visual dividers between content sections using horizontal or vertical lines. It's essential for improving readability by breaking up dense content, separating list items, or creating clear boundaries between different UI sections.",
|
|
@@ -12867,8 +12856,8 @@ const ContentSeparatorMd = createMetadata({
|
|
|
12867
12856
|
},
|
|
12868
12857
|
themeVars: parseScssVar(styles$Y.themeVars),
|
|
12869
12858
|
defaultThemeVars: {
|
|
12870
|
-
[`backgroundColor-${COMP$
|
|
12871
|
-
[`size-${COMP$
|
|
12859
|
+
[`backgroundColor-${COMP$1h}`]: "$color-surface-200",
|
|
12860
|
+
[`size-${COMP$1h}`]: "1px",
|
|
12872
12861
|
light: {
|
|
12873
12862
|
// --- No light-specific theme vars
|
|
12874
12863
|
},
|
|
@@ -12878,7 +12867,7 @@ const ContentSeparatorMd = createMetadata({
|
|
|
12878
12867
|
}
|
|
12879
12868
|
});
|
|
12880
12869
|
const contentSeparatorComponentRenderer = createComponentRenderer(
|
|
12881
|
-
COMP$
|
|
12870
|
+
COMP$1h,
|
|
12882
12871
|
ContentSeparatorMd,
|
|
12883
12872
|
({ node, className, extractValue }) => {
|
|
12884
12873
|
return /* @__PURE__ */ jsx(
|
|
@@ -12958,13 +12947,13 @@ const Card = forwardRef(function Card2({
|
|
|
12958
12947
|
}
|
|
12959
12948
|
);
|
|
12960
12949
|
});
|
|
12961
|
-
const COMP$
|
|
12950
|
+
const COMP$1g = "Card";
|
|
12962
12951
|
const CardMd = createMetadata({
|
|
12963
12952
|
status: "stable",
|
|
12964
12953
|
description: "`Card` is a versatile container that groups related content with a visual boundary, typically featuring background color, padding, borders, and rounded corners. It's ideal for organizing information, creating sections, and establishing visual hierarchy in your interface.",
|
|
12965
12954
|
props: {
|
|
12966
12955
|
avatarUrl: {
|
|
12967
|
-
description: `The url for an avarar image. If not specified, but [\`showAvatar\`](#showAvatar) is true, ${COMP$
|
|
12956
|
+
description: `The url for an avarar image. If not specified, but [\`showAvatar\`](#showAvatar) is true, ${COMP$1g} will show the first letters of the [\`title\`](#title).`,
|
|
12968
12957
|
type: "string"
|
|
12969
12958
|
},
|
|
12970
12959
|
showAvatar: {
|
|
@@ -12990,33 +12979,33 @@ const CardMd = createMetadata({
|
|
|
12990
12979
|
valueType: "string"
|
|
12991
12980
|
},
|
|
12992
12981
|
orientation: {
|
|
12993
|
-
description: `An optional property that governs the ${COMP$
|
|
12982
|
+
description: `An optional property that governs the ${COMP$1g}'s orientation (whether the ${COMP$1g} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${COMP$1g} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,
|
|
12994
12983
|
availableValues: orientationOptionMd,
|
|
12995
12984
|
valueType: "string",
|
|
12996
12985
|
defaultValue: defaultProps$U.orientation
|
|
12997
12986
|
}
|
|
12998
12987
|
},
|
|
12999
12988
|
events: {
|
|
13000
|
-
click: dClick(COMP$
|
|
12989
|
+
click: dClick(COMP$1g)
|
|
13001
12990
|
},
|
|
13002
12991
|
themeVars: parseScssVar(styles$X.themeVars),
|
|
13003
12992
|
defaultThemeVars: {
|
|
13004
|
-
[`padding-${COMP$
|
|
13005
|
-
[`border-${COMP$
|
|
13006
|
-
[`borderRadius-${COMP$
|
|
13007
|
-
[`boxShadow-${COMP$
|
|
13008
|
-
[`backgroundColor-${COMP$
|
|
13009
|
-
[`gap-${COMP$
|
|
13010
|
-
[`gap-title-${COMP$
|
|
13011
|
-
[`gap-avatar-${COMP$
|
|
13012
|
-
[`verticalAlignment-title-${COMP$
|
|
12993
|
+
[`padding-${COMP$1g}`]: "$space-4",
|
|
12994
|
+
[`border-${COMP$1g}`]: "1px solid $borderColor",
|
|
12995
|
+
[`borderRadius-${COMP$1g}`]: "$borderRadius",
|
|
12996
|
+
[`boxShadow-${COMP$1g}`]: "none",
|
|
12997
|
+
[`backgroundColor-${COMP$1g}`]: "$color-surface-raised",
|
|
12998
|
+
[`gap-${COMP$1g}`]: "var(--stack-gap-default)",
|
|
12999
|
+
[`gap-title-${COMP$1g}`]: "$gap-none",
|
|
13000
|
+
[`gap-avatar-${COMP$1g}`]: "$gap-normal",
|
|
13001
|
+
[`verticalAlignment-title-${COMP$1g}`]: "center"
|
|
13013
13002
|
},
|
|
13014
13003
|
themeVarDescriptions: {
|
|
13015
|
-
[`gap-${COMP$
|
|
13016
|
-
[`gap-title-${COMP$
|
|
13017
|
-
[`gap-avatar-${COMP$
|
|
13018
|
-
[`horizontalAlignment-title-${COMP$
|
|
13019
|
-
[`verticalAlignment-title-${COMP$
|
|
13004
|
+
[`gap-${COMP$1g}`]: "The gap between the component's children.",
|
|
13005
|
+
[`gap-title-${COMP$1g}`]: "The gap between the title and the subtitle",
|
|
13006
|
+
[`gap-avatar-${COMP$1g}`]: "The gap between the avatar and the title panel",
|
|
13007
|
+
[`horizontalAlignment-title-${COMP$1g}`]: "The horizontal alignment of panel with the title and subtitle",
|
|
13008
|
+
[`verticalAlignment-title-${COMP$1g}`]: "The vertical alignment of the title and subtitle to the avatar"
|
|
13020
13009
|
}
|
|
13021
13010
|
});
|
|
13022
13011
|
const cardComponentRenderer = createComponentRenderer(
|
|
@@ -13187,13 +13176,13 @@ const FlowLayout = forwardRef(function FlowLayout2({ style: style2, className, c
|
|
|
13187
13176
|
}, [_columnGap, _rowGap]);
|
|
13188
13177
|
return /* @__PURE__ */ jsx(FlowLayoutContext.Provider, { value: flowLayoutContextValue, children: /* @__PURE__ */ jsx("div", { style: style2, className, ref: forwardedRef, ...rest, children: /* @__PURE__ */ jsx("div", { className: styles$W.outer, children: /* @__PURE__ */ jsx("div", { className: classnames(styles$W.flowContainer, styles$W.horizontal), style: innerStyle, children }) }) }) });
|
|
13189
13178
|
});
|
|
13190
|
-
const COMP$
|
|
13179
|
+
const COMP$1f = "FlowLayout";
|
|
13191
13180
|
const FlowLayoutMd = createMetadata({
|
|
13192
13181
|
status: "stable",
|
|
13193
13182
|
description: "`FlowLayout` positions content in rows with automatic wrapping. When items exceed the available horizontal space, they automatically wrap to a new line.",
|
|
13194
13183
|
props: {
|
|
13195
13184
|
gap: {
|
|
13196
|
-
description: `This property defines the gap between items in the same row and between rows. The ${COMP$
|
|
13185
|
+
description: `This property defines the gap between items in the same row and between rows. The ${COMP$1f} component creates a new row when an item is about to overflow the current row.`,
|
|
13197
13186
|
type: "string",
|
|
13198
13187
|
defaultValue: "$gap-normal"
|
|
13199
13188
|
},
|
|
@@ -13202,14 +13191,14 @@ const FlowLayoutMd = createMetadata({
|
|
|
13202
13191
|
defaultValue: defaultProps$T.columnGap
|
|
13203
13192
|
},
|
|
13204
13193
|
rowGap: {
|
|
13205
|
-
description: `The \`rowGap\` property specifies the space between the ${COMP$
|
|
13194
|
+
description: `The \`rowGap\` property specifies the space between the ${COMP$1f} rows; it overrides the \`gap\` value.`,
|
|
13206
13195
|
defaultValue: defaultProps$T.rowGap
|
|
13207
13196
|
}
|
|
13208
13197
|
},
|
|
13209
13198
|
themeVars: parseScssVar(styles$W.themeVars)
|
|
13210
13199
|
});
|
|
13211
13200
|
const flowLayoutComponentRenderer = createComponentRenderer(
|
|
13212
|
-
COMP$
|
|
13201
|
+
COMP$1f,
|
|
13213
13202
|
FlowLayoutMd,
|
|
13214
13203
|
({ node, renderChild: renderChild2, className, extractValue }) => {
|
|
13215
13204
|
var _a2, _b, _c, _d;
|
|
@@ -13419,7 +13408,7 @@ const ModalDialog = React__default.forwardRef(
|
|
|
13419
13408
|
"data-part-id": PART_CONTENT,
|
|
13420
13409
|
className: classnames(styles$V.content, className),
|
|
13421
13410
|
onPointerDownOutside: (event) => {
|
|
13422
|
-
if (event.target instanceof Element && event.target.closest("._debug-inspect-button") !== null) {
|
|
13411
|
+
if (event.target instanceof Element && (event.target.closest("._debug-inspect-button") !== null || event.target.localName === "com-1password-button")) {
|
|
13423
13412
|
event.preventDefault();
|
|
13424
13413
|
}
|
|
13425
13414
|
},
|
|
@@ -13472,7 +13461,7 @@ const ModalDialog = React__default.forwardRef(
|
|
|
13472
13461
|
}
|
|
13473
13462
|
);
|
|
13474
13463
|
ModalDialog.displayName = "ModalDialog";
|
|
13475
|
-
const COMP$
|
|
13464
|
+
const COMP$1e = "ModalDialog";
|
|
13476
13465
|
const ModalDialogMd = createMetadata({
|
|
13477
13466
|
status: "stable",
|
|
13478
13467
|
description: "`ModalDialog` creates overlay dialogs that appear on top of the main interface, ideal for forms, confirmations, detailed views, or any content that requires focused user attention. Dialogs are programmatically opened using the `open()` method and can receive parameters for dynamic content.",
|
|
@@ -13499,15 +13488,15 @@ const ModalDialogMd = createMetadata({
|
|
|
13499
13488
|
},
|
|
13500
13489
|
events: {
|
|
13501
13490
|
open: d(
|
|
13502
|
-
`This event is fired when the \`${COMP$
|
|
13491
|
+
`This event is fired when the \`${COMP$1e}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`
|
|
13503
13492
|
),
|
|
13504
13493
|
close: d(
|
|
13505
|
-
`This event is fired when the close button is pressed or the user clicks outside the \`${COMP$
|
|
13494
|
+
`This event is fired when the close button is pressed or the user clicks outside the \`${COMP$1e}\`.`
|
|
13506
13495
|
)
|
|
13507
13496
|
},
|
|
13508
13497
|
apis: {
|
|
13509
13498
|
close: {
|
|
13510
|
-
description: `This method is used to close the \`${COMP$
|
|
13499
|
+
description: `This method is used to close the \`${COMP$1e}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`,
|
|
13511
13500
|
signature: "close(): void"
|
|
13512
13501
|
},
|
|
13513
13502
|
open: {
|
|
@@ -13526,18 +13515,18 @@ const ModalDialogMd = createMetadata({
|
|
|
13526
13515
|
},
|
|
13527
13516
|
themeVars: parseScssVar(styles$V.themeVars),
|
|
13528
13517
|
defaultThemeVars: {
|
|
13529
|
-
...paddingSubject(COMP$
|
|
13530
|
-
[`backgroundColor-${COMP$
|
|
13531
|
-
[`backgroundColor-overlay-${COMP$
|
|
13532
|
-
[`textColor-${COMP$
|
|
13533
|
-
[`borderRadius-${COMP$
|
|
13534
|
-
[`fontFamily-${COMP$
|
|
13535
|
-
[`maxWidth-${COMP$
|
|
13536
|
-
[`marginBottom-title-${COMP$
|
|
13518
|
+
...paddingSubject(COMP$1e, { all: "$space-7" }),
|
|
13519
|
+
[`backgroundColor-${COMP$1e}`]: "$backgroundColor-primary",
|
|
13520
|
+
[`backgroundColor-overlay-${COMP$1e}`]: "$backgroundColor-overlay",
|
|
13521
|
+
[`textColor-${COMP$1e}`]: "$textColor-primary",
|
|
13522
|
+
[`borderRadius-${COMP$1e}`]: "$borderRadius",
|
|
13523
|
+
[`fontFamily-${COMP$1e}`]: "$fontFamily",
|
|
13524
|
+
[`maxWidth-${COMP$1e}`]: "450px",
|
|
13525
|
+
[`marginBottom-title-${COMP$1e}`]: "0"
|
|
13537
13526
|
}
|
|
13538
13527
|
});
|
|
13539
13528
|
const modalViewComponentRenderer = createComponentRenderer(
|
|
13540
|
-
COMP$
|
|
13529
|
+
COMP$1e,
|
|
13541
13530
|
ModalDialogMd,
|
|
13542
13531
|
({
|
|
13543
13532
|
node,
|
|
@@ -13553,7 +13542,7 @@ const modalViewComponentRenderer = createComponentRenderer(
|
|
|
13553
13542
|
return /* @__PURE__ */ jsx(
|
|
13554
13543
|
ModalDialogFrame,
|
|
13555
13544
|
{
|
|
13556
|
-
isInitiallyOpen: node.when !== void 0,
|
|
13545
|
+
isInitiallyOpen: extractValue(node.when) !== void 0,
|
|
13557
13546
|
registerComponentApi,
|
|
13558
13547
|
onClose: lookupEventHandler("close"),
|
|
13559
13548
|
onOpen: lookupEventHandler("open"),
|
|
@@ -13617,7 +13606,7 @@ const NoResult = forwardRef(function NoResult2({
|
|
|
13617
13606
|
}
|
|
13618
13607
|
);
|
|
13619
13608
|
});
|
|
13620
|
-
const COMP$
|
|
13609
|
+
const COMP$1d = "NoResult";
|
|
13621
13610
|
const NoResultMd = createMetadata({
|
|
13622
13611
|
status: "stable",
|
|
13623
13612
|
description: "`NoResult` displays a visual indication that a query or search returned nothing.",
|
|
@@ -13636,10 +13625,10 @@ const NoResultMd = createMetadata({
|
|
|
13636
13625
|
},
|
|
13637
13626
|
themeVars: parseScssVar(styles$U.themeVars),
|
|
13638
13627
|
defaultThemeVars: {
|
|
13639
|
-
[`border-${COMP$
|
|
13640
|
-
[`paddingVertical-${COMP$
|
|
13641
|
-
[`gap-icon-${COMP$
|
|
13642
|
-
[`size-icon-${COMP$
|
|
13628
|
+
[`border-${COMP$1d}`]: "0px solid $borderColor",
|
|
13629
|
+
[`paddingVertical-${COMP$1d}`]: "$space-2",
|
|
13630
|
+
[`gap-icon-${COMP$1d}`]: "$space-2",
|
|
13631
|
+
[`size-icon-${COMP$1d}`]: "$space-8",
|
|
13643
13632
|
light: {
|
|
13644
13633
|
// --- No light-specific theme vars
|
|
13645
13634
|
},
|
|
@@ -13649,7 +13638,7 @@ const NoResultMd = createMetadata({
|
|
|
13649
13638
|
}
|
|
13650
13639
|
});
|
|
13651
13640
|
const noResultComponentRenderer = createComponentRenderer(
|
|
13652
|
-
COMP$
|
|
13641
|
+
COMP$1d,
|
|
13653
13642
|
NoResultMd,
|
|
13654
13643
|
({ node, extractValue, className }) => {
|
|
13655
13644
|
return /* @__PURE__ */ jsx(
|
|
@@ -13762,7 +13751,7 @@ const FileUploadDropZone = forwardRef(function FileUploadDropZone2({
|
|
|
13762
13751
|
onPaste: handleOnPaste
|
|
13763
13752
|
});
|
|
13764
13753
|
const rootRef = getComposedRef(ref, forwardedRef);
|
|
13765
|
-
return /* @__PURE__ */ jsxs("div", { ...rootProps, ref: rootRef, children: [
|
|
13754
|
+
return /* @__PURE__ */ jsxs("div", { ...rootProps, "data-drop-enabled": !disabled2, ref: rootRef, children: [
|
|
13766
13755
|
/* @__PURE__ */ jsx("input", { ...getInputProps() }),
|
|
13767
13756
|
children,
|
|
13768
13757
|
isDragActive && isDragAccept && /* @__PURE__ */ jsxs("div", { className: styles$T.dropPlaceholder, children: [
|
|
@@ -13771,7 +13760,7 @@ const FileUploadDropZone = forwardRef(function FileUploadDropZone2({
|
|
|
13771
13760
|
] })
|
|
13772
13761
|
] });
|
|
13773
13762
|
});
|
|
13774
|
-
const COMP$
|
|
13763
|
+
const COMP$1c = "FileUploadDropZone";
|
|
13775
13764
|
const FileUploadDropZoneMd = createMetadata({
|
|
13776
13765
|
status: "stable",
|
|
13777
13766
|
description: "`FileUploadDropZone` enables users to upload files by dragging and dropping files from their local file system onto a designated area within the UI.",
|
|
@@ -13815,7 +13804,7 @@ const FileUploadDropZoneMd = createMetadata({
|
|
|
13815
13804
|
}
|
|
13816
13805
|
});
|
|
13817
13806
|
const fileUploadDropZoneComponentRenderer = createComponentRenderer(
|
|
13818
|
-
COMP$
|
|
13807
|
+
COMP$1c,
|
|
13819
13808
|
FileUploadDropZoneMd,
|
|
13820
13809
|
({ node, extractValue, updateState, renderChild: renderChild2, lookupEventHandler, registerComponentApi, className }) => {
|
|
13821
13810
|
return /* @__PURE__ */ jsx(
|
|
@@ -13836,7 +13825,7 @@ const fileUploadDropZoneComponentRenderer = createComponentRenderer(
|
|
|
13836
13825
|
);
|
|
13837
13826
|
}
|
|
13838
13827
|
);
|
|
13839
|
-
const COMP$
|
|
13828
|
+
const COMP$1b = "Icon";
|
|
13840
13829
|
const IconMd = createMetadata({
|
|
13841
13830
|
status: "stable",
|
|
13842
13831
|
description: "`Icon` displays scalable vector icons from XMLUI's built-in icon registry using simple name references. Icons are commonly used in buttons, navigation elements, and status indicators.",
|
|
@@ -13845,7 +13834,7 @@ const IconMd = createMetadata({
|
|
|
13845
13834
|
"This string property specifies the name of the icon to display. All icons have unique, case-sensitive names identifying them. If the icon name is not set, the `fallback` value is used."
|
|
13846
13835
|
),
|
|
13847
13836
|
size: {
|
|
13848
|
-
description: `This property defines the size of the \`${COMP$
|
|
13837
|
+
description: `This property defines the size of the \`${COMP$1b}\`. Note that setting the \`height\` and/or the \`width\` of the component will override this property. You can use az explicit size value (e.g., 32px) or one of these predefined values: \`xs\`, \`sm\`, \`md\`, \`lg\`.`,
|
|
13849
13838
|
availableValues: ["xs", "sm", "md", "lg"]
|
|
13850
13839
|
},
|
|
13851
13840
|
fallback: d(
|
|
@@ -13857,11 +13846,11 @@ const IconMd = createMetadata({
|
|
|
13857
13846
|
},
|
|
13858
13847
|
themeVars: parseScssVar(styles$1f.themeVars),
|
|
13859
13848
|
defaultThemeVars: {
|
|
13860
|
-
[`size-${COMP$
|
|
13849
|
+
[`size-${COMP$1b}`]: "1.25em"
|
|
13861
13850
|
}
|
|
13862
13851
|
});
|
|
13863
13852
|
const iconComponentRenderer = createComponentRenderer(
|
|
13864
|
-
COMP$
|
|
13853
|
+
COMP$1b,
|
|
13865
13854
|
IconMd,
|
|
13866
13855
|
({ node, extractValue, className, lookupEventHandler }) => {
|
|
13867
13856
|
return /* @__PURE__ */ jsx(
|
|
@@ -13933,7 +13922,7 @@ const IFrame = memo(forwardRef(function IFrame2({
|
|
|
13933
13922
|
}
|
|
13934
13923
|
);
|
|
13935
13924
|
}));
|
|
13936
|
-
const COMP$
|
|
13925
|
+
const COMP$1a = "IFrame";
|
|
13937
13926
|
const IFrameMd = createMetadata({
|
|
13938
13927
|
status: "stable",
|
|
13939
13928
|
description: "`IFrame` embeds external content from another HTML document into the current page. It provides security controls through sandbox and allow attributes, and supports features like fullscreen display and referrer policy configuration.",
|
|
@@ -13970,7 +13959,7 @@ const IFrameMd = createMetadata({
|
|
|
13970
13959
|
},
|
|
13971
13960
|
events: {
|
|
13972
13961
|
load: {
|
|
13973
|
-
description: `This event is triggered when the ${COMP$
|
|
13962
|
+
description: `This event is triggered when the ${COMP$1a} content has finished loading.`
|
|
13974
13963
|
}
|
|
13975
13964
|
},
|
|
13976
13965
|
apis: {
|
|
@@ -13993,14 +13982,14 @@ const IFrameMd = createMetadata({
|
|
|
13993
13982
|
},
|
|
13994
13983
|
themeVars: parseScssVar(styles$S.themeVars),
|
|
13995
13984
|
defaultThemeVars: {
|
|
13996
|
-
[`width-${COMP$
|
|
13997
|
-
[`height-${COMP$
|
|
13998
|
-
[`borderRadius-${COMP$
|
|
13999
|
-
[`border-${COMP$
|
|
13985
|
+
[`width-${COMP$1a}`]: "100%",
|
|
13986
|
+
[`height-${COMP$1a}`]: "300px",
|
|
13987
|
+
[`borderRadius-${COMP$1a}`]: "$borderRadius",
|
|
13988
|
+
[`border-${COMP$1a}`]: "1px solid $borderColor"
|
|
14000
13989
|
}
|
|
14001
13990
|
});
|
|
14002
13991
|
const iframeComponentRenderer = createComponentRenderer(
|
|
14003
|
-
COMP$
|
|
13992
|
+
COMP$1a,
|
|
14004
13993
|
IFrameMd,
|
|
14005
13994
|
({ node, extractValue, className, extractResourceUrl, lookupEventHandler, registerComponentApi }) => {
|
|
14006
13995
|
return /* @__PURE__ */ jsx(
|
|
@@ -14048,7 +14037,7 @@ function Items({ items, renderItem, reverse: reverse2 = defaultProps$P.reverse }
|
|
|
14048
14037
|
) }, index);
|
|
14049
14038
|
}) });
|
|
14050
14039
|
}
|
|
14051
|
-
const COMP$
|
|
14040
|
+
const COMP$19 = "Items";
|
|
14052
14041
|
const ItemsMd = createMetadata({
|
|
14053
14042
|
status: "stable",
|
|
14054
14043
|
description: "`Items` renders data arrays without built-in layout or styling, providing a lightweight alternative to `List`. Unlike `List`, it provides no virtualization, grouping, or visual formatting — just pure data iteration.",
|
|
@@ -14075,7 +14064,7 @@ const ItemsMd = createMetadata({
|
|
|
14075
14064
|
},
|
|
14076
14065
|
opaque: true
|
|
14077
14066
|
});
|
|
14078
|
-
const itemsComponentRenderer = createComponentRenderer(COMP$
|
|
14067
|
+
const itemsComponentRenderer = createComponentRenderer(COMP$19, ItemsMd, (rendererContext) => {
|
|
14079
14068
|
const { node, renderChild: renderChild2, extractValue, layoutContext } = rendererContext;
|
|
14080
14069
|
return /* @__PURE__ */ jsx(
|
|
14081
14070
|
Items,
|
|
@@ -14097,10 +14086,10 @@ const itemsComponentRenderer = createComponentRenderer(COMP$1a, ItemsMd, (render
|
|
|
14097
14086
|
}
|
|
14098
14087
|
);
|
|
14099
14088
|
});
|
|
14100
|
-
const COMP$
|
|
14089
|
+
const COMP$18 = "SelectionStore";
|
|
14101
14090
|
const SelectionStoreMd = createMetadata({
|
|
14102
14091
|
status: "deprecated",
|
|
14103
|
-
description: `The \`${COMP$
|
|
14092
|
+
description: `The \`${COMP$18}\` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.`,
|
|
14104
14093
|
props: {
|
|
14105
14094
|
idKey: {
|
|
14106
14095
|
description: `The selected items in the selection store needs to have a unique ID to use as an unambiguous key for that particular item. This property uniquely identifies the selected object item via a given property. By default, the key attribute is \`"id"\`.`,
|
|
@@ -14109,7 +14098,7 @@ const SelectionStoreMd = createMetadata({
|
|
|
14109
14098
|
}
|
|
14110
14099
|
});
|
|
14111
14100
|
const selectionStoreComponentRenderer = createComponentRenderer(
|
|
14112
|
-
COMP$
|
|
14101
|
+
COMP$18,
|
|
14113
14102
|
SelectionStoreMd,
|
|
14114
14103
|
(rendererContext) => {
|
|
14115
14104
|
const { node, state, updateState, renderChild: renderChild2, registerComponentApi } = rendererContext;
|
|
@@ -14125,7 +14114,7 @@ const selectionStoreComponentRenderer = createComponentRenderer(
|
|
|
14125
14114
|
);
|
|
14126
14115
|
}
|
|
14127
14116
|
);
|
|
14128
|
-
const COMP$
|
|
14117
|
+
const COMP$17 = "Image";
|
|
14129
14118
|
const ImageMd = createMetadata({
|
|
14130
14119
|
status: "stable",
|
|
14131
14120
|
description: "`Image` displays pictures from URLs or local sources with built-in responsive sizing, aspect ratio control, and accessibility features. It handles different image formats and provides options for lazy loading and click interactions.",
|
|
@@ -14155,12 +14144,12 @@ const ImageMd = createMetadata({
|
|
|
14155
14144
|
animation: dInternal(`The optional animation object to be applied to the component`)
|
|
14156
14145
|
},
|
|
14157
14146
|
events: {
|
|
14158
|
-
click: dClick(COMP$
|
|
14147
|
+
click: dClick(COMP$17)
|
|
14159
14148
|
},
|
|
14160
14149
|
themeVars: parseScssVar(styles$1a.themeVars)
|
|
14161
14150
|
});
|
|
14162
14151
|
const imageComponentRenderer = createComponentRenderer(
|
|
14163
|
-
COMP$
|
|
14152
|
+
COMP$17,
|
|
14164
14153
|
ImageMd,
|
|
14165
14154
|
({ node, extractValue, className, extractResourceUrl }) => {
|
|
14166
14155
|
return /* @__PURE__ */ jsx(
|
|
@@ -14184,7 +14173,7 @@ const defaultProps$O = {
|
|
|
14184
14173
|
const PageMetaTitle = ({ title: title2 = defaultProps$O.title }) => {
|
|
14185
14174
|
return /* @__PURE__ */ jsx(Helmet, { title: title2 });
|
|
14186
14175
|
};
|
|
14187
|
-
const COMP$
|
|
14176
|
+
const COMP$16 = "PageMetaTitle";
|
|
14188
14177
|
const PageMetaTitleMd = createMetadata({
|
|
14189
14178
|
status: "stable",
|
|
14190
14179
|
description: "`PageMetaTitle` dynamically sets or updates the browser tab title, enabling pages and components to override the default application name with context-specific titles.",
|
|
@@ -14196,7 +14185,7 @@ const PageMetaTitleMd = createMetadata({
|
|
|
14196
14185
|
}
|
|
14197
14186
|
});
|
|
14198
14187
|
const pageMetaTitleComponentRenderer = createComponentRenderer(
|
|
14199
|
-
COMP$
|
|
14188
|
+
COMP$16,
|
|
14200
14189
|
PageMetaTitleMd,
|
|
14201
14190
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
14202
14191
|
return /* @__PURE__ */ jsx(PageMetaTitle, { title: extractValue(node.props.value) || renderChild2(node.children) });
|
|
@@ -14235,7 +14224,7 @@ const ProgressBar = forwardRef(function ProgressBar2({ value = defaultProps$N.va
|
|
|
14235
14224
|
}
|
|
14236
14225
|
);
|
|
14237
14226
|
});
|
|
14238
|
-
const COMP$
|
|
14227
|
+
const COMP$15 = "ProgressBar";
|
|
14239
14228
|
const ProgressBarMd = createMetadata({
|
|
14240
14229
|
status: "stable",
|
|
14241
14230
|
description: "`ProgressBar` provides a visual indicator showing the completion percentage of tasks, processes, or any measurable progress. It displays as a horizontal bar that fills from left to right based on the provided value between 0 (empty) and 1 (complete).",
|
|
@@ -14248,15 +14237,15 @@ const ProgressBarMd = createMetadata({
|
|
|
14248
14237
|
},
|
|
14249
14238
|
themeVars: parseScssVar(styles$R.themeVars),
|
|
14250
14239
|
defaultThemeVars: {
|
|
14251
|
-
[`borderRadius-${COMP$
|
|
14252
|
-
[`borderRadius-indicator-${COMP$
|
|
14253
|
-
[`thickness-${COMP$
|
|
14254
|
-
[`backgroundColor-${COMP$
|
|
14255
|
-
[`color-indicator-${COMP$
|
|
14240
|
+
[`borderRadius-${COMP$15}`]: "$borderRadius",
|
|
14241
|
+
[`borderRadius-indicator-${COMP$15}`]: "0px",
|
|
14242
|
+
[`thickness-${COMP$15}`]: "$space-2",
|
|
14243
|
+
[`backgroundColor-${COMP$15}`]: "$color-surface-200",
|
|
14244
|
+
[`color-indicator-${COMP$15}`]: "$color-primary-500"
|
|
14256
14245
|
}
|
|
14257
14246
|
});
|
|
14258
14247
|
const progressBarComponentRenderer = createComponentRenderer(
|
|
14259
|
-
COMP$
|
|
14248
|
+
COMP$15,
|
|
14260
14249
|
ProgressBarMd,
|
|
14261
14250
|
({ node, extractValue, className }) => {
|
|
14262
14251
|
return /* @__PURE__ */ jsx(
|
|
@@ -14485,13 +14474,13 @@ const Splitter = ({
|
|
|
14485
14474
|
}
|
|
14486
14475
|
);
|
|
14487
14476
|
};
|
|
14488
|
-
const COMP$
|
|
14477
|
+
const COMP$14 = "Splitter";
|
|
14489
14478
|
const baseSplitterMd = createMetadata({
|
|
14490
14479
|
status: "stable",
|
|
14491
14480
|
description: "`Splitter` component divides a container into two resizable sections. These are are identified by their names: primary and secondary. They have a draggable bar between them.",
|
|
14492
14481
|
props: {
|
|
14493
14482
|
swapped: {
|
|
14494
|
-
description: `This optional booelan property indicates whether the \`${COMP$
|
|
14483
|
+
description: `This optional booelan property indicates whether the \`${COMP$14}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`,
|
|
14495
14484
|
valueType: "boolean",
|
|
14496
14485
|
defaultValue: defaultProps$M.swapped
|
|
14497
14486
|
},
|
|
@@ -14530,10 +14519,10 @@ const baseSplitterMd = createMetadata({
|
|
|
14530
14519
|
},
|
|
14531
14520
|
themeVars: parseScssVar(styles$Q.themeVars),
|
|
14532
14521
|
defaultThemeVars: {
|
|
14533
|
-
[`backgroundColor-resizer-${COMP$
|
|
14534
|
-
[`thickness-resizer-${COMP$
|
|
14535
|
-
[`cursor-resizer-horizontal-${COMP$
|
|
14536
|
-
[`cursor-resizer-vertical-${COMP$
|
|
14522
|
+
[`backgroundColor-resizer-${COMP$14}`]: "$color-surface-100",
|
|
14523
|
+
[`thickness-resizer-${COMP$14}`]: "5px",
|
|
14524
|
+
[`cursor-resizer-horizontal-${COMP$14}`]: "ew-resize",
|
|
14525
|
+
[`cursor-resizer-vertical-${COMP$14}`]: "ns-resize"
|
|
14537
14526
|
}
|
|
14538
14527
|
});
|
|
14539
14528
|
const SplitterMd = {
|
|
@@ -14542,8 +14531,8 @@ const SplitterMd = {
|
|
|
14542
14531
|
...baseSplitterMd.props
|
|
14543
14532
|
}
|
|
14544
14533
|
};
|
|
14545
|
-
const HSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$
|
|
14546
|
-
const VSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$
|
|
14534
|
+
const HSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$14 };
|
|
14535
|
+
const VSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$14 };
|
|
14547
14536
|
const DEFAULT_ORIENTATION = "vertical";
|
|
14548
14537
|
function renderSplitter({
|
|
14549
14538
|
node,
|
|
@@ -14574,7 +14563,7 @@ function renderSplitter({
|
|
|
14574
14563
|
);
|
|
14575
14564
|
}
|
|
14576
14565
|
const splitterComponentRenderer = createComponentRenderer(
|
|
14577
|
-
COMP$
|
|
14566
|
+
COMP$14,
|
|
14578
14567
|
SplitterMd,
|
|
14579
14568
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
14580
14569
|
return renderSplitter({
|
|
@@ -14941,7 +14930,7 @@ function Queue({
|
|
|
14941
14930
|
}, [doComplete, doSingle, prevQueue, queue]);
|
|
14942
14931
|
return null;
|
|
14943
14932
|
}
|
|
14944
|
-
const COMP$
|
|
14933
|
+
const COMP$13 = "Queue";
|
|
14945
14934
|
const QueueMd = createMetadata({
|
|
14946
14935
|
status: "stable",
|
|
14947
14936
|
description: "`Queue` manages sequential processing of items in FIFO (first-in, first-out) order. It is a non-visual component but provides UI progress reporting and result display.",
|
|
@@ -15014,7 +15003,7 @@ const QueueMd = createMetadata({
|
|
|
15014
15003
|
}
|
|
15015
15004
|
});
|
|
15016
15005
|
const queueComponentRenderer = createComponentRenderer(
|
|
15017
|
-
COMP$
|
|
15006
|
+
COMP$13,
|
|
15018
15007
|
QueueMd,
|
|
15019
15008
|
({ node, registerComponentApi, lookupEventHandler, renderChild: renderChild2, extractValue }) => {
|
|
15020
15009
|
return /* @__PURE__ */ jsx(
|
|
@@ -15069,7 +15058,13 @@ const CompoundComponent = forwardRef(
|
|
|
15069
15058
|
extractValue,
|
|
15070
15059
|
layoutContext,
|
|
15071
15060
|
uid,
|
|
15072
|
-
updateState
|
|
15061
|
+
updateState,
|
|
15062
|
+
registerComponentApi,
|
|
15063
|
+
extractResourceUrl,
|
|
15064
|
+
appContext,
|
|
15065
|
+
state,
|
|
15066
|
+
lookupAction,
|
|
15067
|
+
...restProps
|
|
15073
15068
|
}, forwardedRef) => {
|
|
15074
15069
|
const resolvedPropsInner = useMemo(() => {
|
|
15075
15070
|
const resolvedProps2 = {};
|
|
@@ -15152,7 +15147,11 @@ const CompoundComponent = forwardRef(
|
|
|
15152
15147
|
const ret = renderChild2(nodeWithPropsAndEvents, safeLayoutContext, memoedParentRenderContext);
|
|
15153
15148
|
if (forwardedRef && ret && isValidElement(ret)) {
|
|
15154
15149
|
return React__default.cloneElement(ret, {
|
|
15155
|
-
ref: composeRefs(forwardedRef, ret.ref)
|
|
15150
|
+
ref: composeRefs(forwardedRef, ret.ref),
|
|
15151
|
+
...mergeProps(
|
|
15152
|
+
ret.props,
|
|
15153
|
+
restProps
|
|
15154
|
+
)
|
|
15156
15155
|
});
|
|
15157
15156
|
}
|
|
15158
15157
|
return React__default.isValidElement(ret) ? ret : /* @__PURE__ */ jsx(Fragment, { children: ret });
|
|
@@ -15601,7 +15600,7 @@ function MemoizedSection({
|
|
|
15601
15600
|
}
|
|
15602
15601
|
);
|
|
15603
15602
|
}
|
|
15604
|
-
const COMP$
|
|
15603
|
+
const COMP$12 = "List";
|
|
15605
15604
|
const ListMd = createMetadata({
|
|
15606
15605
|
status: "stable",
|
|
15607
15606
|
description: "`List` is a high-performance, virtualized container for rendering large datasets with built-in grouping, sorting, and visual formatting. It only renders visible items in the viewport, making it ideal for displaying thousands of records while maintaining smooth scrolling performance.",
|
|
@@ -15616,7 +15615,7 @@ const ListMd = createMetadata({
|
|
|
15616
15615
|
`This property delays the rendering of children until it is set to \`false\`, or the component receives usable list items via the [\`data\`](#data) property.`
|
|
15617
15616
|
),
|
|
15618
15617
|
limit: d(
|
|
15619
|
-
`This property limits the number of items displayed in the \`${COMP$
|
|
15618
|
+
`This property limits the number of items displayed in the \`${COMP$12}\`. If not set, all items are displayed.`
|
|
15620
15619
|
),
|
|
15621
15620
|
scrollAnchor: {
|
|
15622
15621
|
description: `This property pins the scroll position to a specified location of the list. Available values are shown below.`,
|
|
@@ -15631,7 +15630,7 @@ const ListMd = createMetadata({
|
|
|
15631
15630
|
`This optioanl property enables the ordering of list items by specifying an attribute in the data.`
|
|
15632
15631
|
),
|
|
15633
15632
|
availableGroups: d(
|
|
15634
|
-
`This property is an array of group names that the \`${COMP$
|
|
15633
|
+
`This property is an array of group names that the \`${COMP$12}\` will display. If not set, all groups in the data are displayed.`
|
|
15635
15634
|
),
|
|
15636
15635
|
groupHeaderTemplate: dComponent(
|
|
15637
15636
|
`Enables the customization of how the groups are displayed, similarly to the [\`itemTemplate\`](#itemtemplate). You can use the \`$item\` context variable to access an item group and map its individual attributes.`
|
|
@@ -15646,7 +15645,7 @@ const ListMd = createMetadata({
|
|
|
15646
15645
|
`This property defines the template to display when the list is empty.`
|
|
15647
15646
|
),
|
|
15648
15647
|
pageInfo: d(
|
|
15649
|
-
`This property contains the current page information. Setting this property also enures the \`${COMP$
|
|
15648
|
+
`This property contains the current page information. Setting this property also enures the \`${COMP$12}\` uses pagination.`
|
|
15650
15649
|
),
|
|
15651
15650
|
idKey: {
|
|
15652
15651
|
description: "Denotes which attribute of an item acts as the ID or key of the item",
|
|
@@ -15660,7 +15659,7 @@ const ListMd = createMetadata({
|
|
|
15660
15659
|
defaultProps$K.groupsInitiallyExpanded
|
|
15661
15660
|
),
|
|
15662
15661
|
defaultGroups: d(
|
|
15663
|
-
`This property adds an optional list of default groups for the \`${COMP$
|
|
15662
|
+
`This property adds an optional list of default groups for the \`${COMP$12}\` and displays the group headers in the specified order. If the data contains group headers not in this list, those headers are also displayed (after the ones in this list); however, their order is not deterministic.`
|
|
15664
15663
|
),
|
|
15665
15664
|
hideEmptyGroups: {
|
|
15666
15665
|
description: "This boolean property indicates if empty groups should be hidden (no header and footer are displayed).",
|
|
@@ -15708,7 +15707,7 @@ const ListMd = createMetadata({
|
|
|
15708
15707
|
themeVars: parseScssVar(styles$P.themeVars)
|
|
15709
15708
|
});
|
|
15710
15709
|
const dynamicHeightListComponentRenderer = createComponentRenderer(
|
|
15711
|
-
COMP$
|
|
15710
|
+
COMP$12,
|
|
15712
15711
|
ListMd,
|
|
15713
15712
|
({
|
|
15714
15713
|
node,
|
|
@@ -15811,7 +15810,7 @@ function PositionedContainer({
|
|
|
15811
15810
|
}
|
|
15812
15811
|
);
|
|
15813
15812
|
}
|
|
15814
|
-
const COMP$
|
|
15813
|
+
const COMP$11 = "PositionedContainer";
|
|
15815
15814
|
const PositionedContainerMd = createMetadata({
|
|
15816
15815
|
status: "deprecated",
|
|
15817
15816
|
description: "(**OBSOLETE**) This component was created for the ChatEngine app.",
|
|
@@ -15821,7 +15820,7 @@ const PositionedContainerMd = createMetadata({
|
|
|
15821
15820
|
themeVars: parseScssVar(styles$O.themeVars)
|
|
15822
15821
|
});
|
|
15823
15822
|
const positionedContainerComponentRenderer = createComponentRenderer(
|
|
15824
|
-
COMP$
|
|
15823
|
+
COMP$11,
|
|
15825
15824
|
PositionedContainerMd,
|
|
15826
15825
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
15827
15826
|
return /* @__PURE__ */ jsx(
|
|
@@ -15857,7 +15856,7 @@ function ChangeListener({ listenTo, onChange, throttleWaitInMs = defaultProps$J.
|
|
|
15857
15856
|
}, [listenTo, throttledOnChange, prevValue]);
|
|
15858
15857
|
return null;
|
|
15859
15858
|
}
|
|
15860
|
-
const COMP$
|
|
15859
|
+
const COMP$10 = "ChangeListener";
|
|
15861
15860
|
const ChangeListenerMd = createMetadata({
|
|
15862
15861
|
status: "stable",
|
|
15863
15862
|
description: "`ChangeListener` is an invisible component that watches for changes in values and triggers actions in response. It's essential for creating reactive behavior when you need to respond to data changes, state updates, or component property modifications outside of normal event handlers.",
|
|
@@ -15873,11 +15872,11 @@ const ChangeListenerMd = createMetadata({
|
|
|
15873
15872
|
}
|
|
15874
15873
|
},
|
|
15875
15874
|
events: {
|
|
15876
|
-
didChange: dDidChange(COMP$
|
|
15875
|
+
didChange: dDidChange(COMP$10)
|
|
15877
15876
|
}
|
|
15878
15877
|
});
|
|
15879
15878
|
const changeListenerComponentRenderer = createComponentRenderer(
|
|
15880
|
-
COMP$
|
|
15879
|
+
COMP$10,
|
|
15881
15880
|
ChangeListenerMd,
|
|
15882
15881
|
({ node, lookupEventHandler, extractValue }) => {
|
|
15883
15882
|
return /* @__PURE__ */ jsx(
|
|
@@ -17580,11 +17579,11 @@ const TextBox = forwardRef(function TextBox2({
|
|
|
17580
17579
|
);
|
|
17581
17580
|
});
|
|
17582
17581
|
const themeVars$q = `'{"Input:borderRadius-FileInput--focus": "var(--xmlui-borderRadius-FileInput--focus)", "Input:borderColor-FileInput--focus": "var(--xmlui-borderColor-FileInput--focus)", "Input:backgroundColor-FileInput--focus": "var(--xmlui-backgroundColor-FileInput--focus)", "Input:boxShadow-FileInput--focus": "var(--xmlui-boxShadow-FileInput--focus)", "Input:textColor-FileInput--focus": "var(--xmlui-textColor-FileInput--focus)", "Input:outlineWidth-FileInput--focus": "var(--xmlui-outlineWidth-FileInput--focus)", "Input:outlineColor-FileInput--focus": "var(--xmlui-outlineColor-FileInput--focus)", "Input:outlineStyle-FileInput--focus": "var(--xmlui-outlineStyle-FileInput--focus)", "Input:outlineOffset-FileInput--focus": "var(--xmlui-outlineOffset-FileInput--focus)"}'`;
|
|
17583
|
-
const container = "
|
|
17584
|
-
const buttonStart = "
|
|
17585
|
-
const buttonEnd = "
|
|
17586
|
-
const textBoxWrapper = "
|
|
17587
|
-
const button$1 = "
|
|
17582
|
+
const container = "_container_fnmi1_14";
|
|
17583
|
+
const buttonStart = "_buttonStart_fnmi1_22";
|
|
17584
|
+
const buttonEnd = "_buttonEnd_fnmi1_25";
|
|
17585
|
+
const textBoxWrapper = "_textBoxWrapper_fnmi1_28";
|
|
17586
|
+
const button$1 = "_button_fnmi1_22";
|
|
17588
17587
|
const styles$L = {
|
|
17589
17588
|
themeVars: themeVars$q,
|
|
17590
17589
|
container,
|
|
@@ -17655,8 +17654,15 @@ const FileInput = ({
|
|
|
17655
17654
|
useEffect(() => {
|
|
17656
17655
|
updateState({ value: _initialValue }, { initial: true });
|
|
17657
17656
|
}, [_initialValue, updateState]);
|
|
17658
|
-
const
|
|
17659
|
-
|
|
17657
|
+
const handleOnFocus = useCallback((e) => {
|
|
17658
|
+
if (!e.currentTarget.contains(e.relatedTarget)) {
|
|
17659
|
+
onFocus == null ? void 0 : onFocus();
|
|
17660
|
+
}
|
|
17661
|
+
}, [onFocus]);
|
|
17662
|
+
const handleOnBlur = useCallback((e) => {
|
|
17663
|
+
if (!e.currentTarget.contains(e.relatedTarget)) {
|
|
17664
|
+
onBlur == null ? void 0 : onBlur();
|
|
17665
|
+
}
|
|
17660
17666
|
}, [onBlur]);
|
|
17661
17667
|
const focus = useCallback(() => {
|
|
17662
17668
|
var _a2;
|
|
@@ -17679,9 +17685,6 @@ const FileInput = ({
|
|
|
17679
17685
|
noDragEventsBubbling: true,
|
|
17680
17686
|
useFsAccessApi: directory === false
|
|
17681
17687
|
});
|
|
17682
|
-
const handleOnFocus = useCallback(() => {
|
|
17683
|
-
onFocus == null ? void 0 : onFocus();
|
|
17684
|
-
}, [onFocus]);
|
|
17685
17688
|
const doOpen = useEvent(() => {
|
|
17686
17689
|
open();
|
|
17687
17690
|
});
|
|
@@ -17702,8 +17705,6 @@ const FileInput = ({
|
|
|
17702
17705
|
labelBreak: labelBreak2,
|
|
17703
17706
|
required: required2,
|
|
17704
17707
|
enabled: enabled2,
|
|
17705
|
-
onFocus,
|
|
17706
|
-
onBlur,
|
|
17707
17708
|
style: style2,
|
|
17708
17709
|
className,
|
|
17709
17710
|
isInputTemplateUsed: true,
|
|
@@ -17714,6 +17715,9 @@ const FileInput = ({
|
|
|
17714
17715
|
[styles$L.buttonStart]: buttonPosition === "start",
|
|
17715
17716
|
[styles$L.buttonEnd]: buttonPosition === "end"
|
|
17716
17717
|
}),
|
|
17718
|
+
onFocus: handleOnFocus,
|
|
17719
|
+
onBlur: handleOnBlur,
|
|
17720
|
+
tabIndex: -1,
|
|
17717
17721
|
children: [
|
|
17718
17722
|
/* @__PURE__ */ jsxs(
|
|
17719
17723
|
"button",
|
|
@@ -17721,8 +17725,6 @@ const FileInput = ({
|
|
|
17721
17725
|
id,
|
|
17722
17726
|
...getRootProps({
|
|
17723
17727
|
tabIndex: 0,
|
|
17724
|
-
onFocus: handleOnFocus,
|
|
17725
|
-
onBlur: handleOnBlur,
|
|
17726
17728
|
disabled: !enabled2,
|
|
17727
17729
|
className: styles$L.textBoxWrapper,
|
|
17728
17730
|
onClick: open,
|
|
@@ -18373,41 +18375,41 @@ function useLongPress(elementRef, action2, delay2 = 500) {
|
|
|
18373
18375
|
}, [elementRef, action2, delay2]);
|
|
18374
18376
|
}
|
|
18375
18377
|
const themeVars$o = `'{"padding-item-Select": "var(--xmlui-padding-item-Select)", "paddingHorizontal-item-Select": "var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select))", "paddingVertical-item-Select": "var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select))", "paddingLeft-item-Select": "var(--xmlui-paddingLeft-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingRight-item-Select": "var(--xmlui-paddingRight-item-Select, var(--xmlui-paddingHorizontal-item-Select, var(--xmlui-padding-item-Select)))", "paddingTop-item-Select": "var(--xmlui-paddingTop-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "paddingBottom-item-Select": "var(--xmlui-paddingBottom-item-Select, var(--xmlui-paddingVertical-item-Select, var(--xmlui-padding-item-Select)))", "padding-Select": "var(--xmlui-padding-Select)", "paddingHorizontal-Select": "var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select))", "paddingVertical-Select": "var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select))", "paddingLeft-Select": "var(--xmlui-paddingLeft-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingRight-Select": "var(--xmlui-paddingRight-Select, var(--xmlui-paddingHorizontal-Select, var(--xmlui-padding-Select)))", "paddingTop-Select": "var(--xmlui-paddingTop-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "paddingBottom-Select": "var(--xmlui-paddingBottom-Select, var(--xmlui-paddingVertical-Select, var(--xmlui-padding-Select)))", "Input:fontSize-Select-default": "var(--xmlui-fontSize-Select-default)", "Input:textColor-placeholder-Select-default": "var(--xmlui-textColor-placeholder-Select-default)", "Input:textColor-Select-default": "var(--xmlui-textColor-Select-default)", "Input:fontSize-Select-error": "var(--xmlui-fontSize-Select-error)", "Input:textColor-placeholder-Select-error": "var(--xmlui-textColor-placeholder-Select-error)", "Input:textColor-Select-error": "var(--xmlui-textColor-Select-error)", "Input:fontSize-Select-warning": "var(--xmlui-fontSize-Select-warning)", "Input:textColor-placeholder-Select-warning": "var(--xmlui-textColor-placeholder-Select-warning)", "Input:textColor-Select-warning": "var(--xmlui-textColor-Select-warning)", "Input:fontSize-Select-success": "var(--xmlui-fontSize-Select-success)", "Input:textColor-placeholder-Select-success": "var(--xmlui-textColor-placeholder-Select-success)", "Input:textColor-Select-success": "var(--xmlui-textColor-Select-success)", "Input:borderRadius-Select-default": "var(--xmlui-borderRadius-Select-default)", "Input:borderColor-Select-default": "var(--xmlui-borderColor-Select-default)", "Input:borderWidth-Select-default": "var(--xmlui-borderWidth-Select-default)", "Input:borderStyle-Select-default": "var(--xmlui-borderStyle-Select-default)", "Input:backgroundColor-Select-default": "var(--xmlui-backgroundColor-Select-default)", "Input:boxShadow-Select-default": "var(--xmlui-boxShadow-Select-default)", "Input:borderColor-Select-default--hover": "var(--xmlui-borderColor-Select-default--hover)", "Input:backgroundColor-Select-default--hover": "var(--xmlui-backgroundColor-Select-default--hover)", "Input:boxShadow-Select-default--hover": "var(--xmlui-boxShadow-Select-default--hover)", "Input:textColor-Select-default--hover": "var(--xmlui-textColor-Select-default--hover)", "Input:outlineWidth-Select-default--focus": "var(--xmlui-outlineWidth-Select-default--focus)", "Input:outlineColor-Select-default--focus": "var(--xmlui-outlineColor-Select-default--focus)", "Input:outlineStyle-Select-default--focus": "var(--xmlui-outlineStyle-Select-default--focus)", "Input:outlineOffset-Select-default--focus": "var(--xmlui-outlineOffset-Select-default--focus)", "Input:fontSize-placeholder-Select-default": "var(--xmlui-fontSize-placeholder-Select-default)", "Input:borderRadius-Select-error": "var(--xmlui-borderRadius-Select-error)", "Input:borderColor-Select-error": "var(--xmlui-borderColor-Select-error)", "Input:borderWidth-Select-error": "var(--xmlui-borderWidth-Select-error)", "Input:borderStyle-Select-error": "var(--xmlui-borderStyle-Select-error)", "Input:backgroundColor-Select-error": "var(--xmlui-backgroundColor-Select-error)", "Input:boxShadow-Select-error": "var(--xmlui-boxShadow-Select-error)", "Input:borderColor-Select-error--hover": "var(--xmlui-borderColor-Select-error--hover)", "Input:backgroundColor-Select-error--hover": "var(--xmlui-backgroundColor-Select-error--hover)", "Input:boxShadow-Select-error--hover": "var(--xmlui-boxShadow-Select-error--hover)", "Input:textColor-Select-error--hover": "var(--xmlui-textColor-Select-error--hover)", "Input:outlineWidth-Select-error--focus": "var(--xmlui-outlineWidth-Select-error--focus)", "Input:outlineColor-Select-error--focus": "var(--xmlui-outlineColor-Select-error--focus)", "Input:outlineStyle-Select-error--focus": "var(--xmlui-outlineStyle-Select-error--focus)", "Input:outlineOffset-Select-error--focus": "var(--xmlui-outlineOffset-Select-error--focus)", "Input:fontSize-placeholder-Select-error": "var(--xmlui-fontSize-placeholder-Select-error)", "Input:borderRadius-Select-warning": "var(--xmlui-borderRadius-Select-warning)", "Input:borderColor-Select-warning": "var(--xmlui-borderColor-Select-warning)", "Input:borderWidth-Select-warning": "var(--xmlui-borderWidth-Select-warning)", "Input:borderStyle-Select-warning": "var(--xmlui-borderStyle-Select-warning)", "Input:backgroundColor-Select-warning": "var(--xmlui-backgroundColor-Select-warning)", "Input:boxShadow-Select-warning": "var(--xmlui-boxShadow-Select-warning)", "Input:borderColor-Select-warning--hover": "var(--xmlui-borderColor-Select-warning--hover)", "Input:backgroundColor-Select-warning--hover": "var(--xmlui-backgroundColor-Select-warning--hover)", "Input:boxShadow-Select-warning--hover": "var(--xmlui-boxShadow-Select-warning--hover)", "Input:textColor-Select-warning--hover": "var(--xmlui-textColor-Select-warning--hover)", "Input:outlineWidth-Select-warning--focus": "var(--xmlui-outlineWidth-Select-warning--focus)", "Input:outlineColor-Select-warning--focus": "var(--xmlui-outlineColor-Select-warning--focus)", "Input:outlineStyle-Select-warning--focus": "var(--xmlui-outlineStyle-Select-warning--focus)", "Input:outlineOffset-Select-warning--focus": "var(--xmlui-outlineOffset-Select-warning--focus)", "Input:fontSize-placeholder-Select-warning": "var(--xmlui-fontSize-placeholder-Select-warning)", "Input:borderRadius-Select-success": "var(--xmlui-borderRadius-Select-success)", "Input:borderColor-Select-success": "var(--xmlui-borderColor-Select-success)", "Input:borderWidth-Select-success": "var(--xmlui-borderWidth-Select-success)", "Input:borderStyle-Select-success": "var(--xmlui-borderStyle-Select-success)", "Input:backgroundColor-Select-success": "var(--xmlui-backgroundColor-Select-success)", "Input:boxShadow-Select-success": "var(--xmlui-boxShadow-Select-success)", "Input:borderColor-Select-success--hover": "var(--xmlui-borderColor-Select-success--hover)", "Input:backgroundColor-Select-success--hover": "var(--xmlui-backgroundColor-Select-success--hover)", "Input:boxShadow-Select-success--hover": "var(--xmlui-boxShadow-Select-success--hover)", "Input:textColor-Select-success--hover": "var(--xmlui-textColor-Select-success--hover)", "Input:outlineWidth-Select-success--focus": "var(--xmlui-outlineWidth-Select-success--focus)", "Input:outlineColor-Select-success--focus": "var(--xmlui-outlineColor-Select-success--focus)", "Input:outlineStyle-Select-success--focus": "var(--xmlui-outlineStyle-Select-success--focus)", "Input:outlineOffset-Select-success--focus": "var(--xmlui-outlineOffset-Select-success--focus)", "Input:fontSize-placeholder-Select-success": "var(--xmlui-fontSize-placeholder-Select-success)", "opacity-Select--disabled": "var(--xmlui-opacity-Select--disabled)", "Input:backgroundColor-Select--disabled": "var(--xmlui-backgroundColor-Select--disabled)", "Input:textColor-Select--disabled": "var(--xmlui-textColor-Select--disabled)", "Input:borderColor-Select--disabled": "var(--xmlui-borderColor-Select--disabled)", "paddingVertical-Select-badge": "var(--xmlui-paddingVertical-Select-badge)", "paddingHorizontal-Select-badge": "var(--xmlui-paddingHorizontal-Select-badge)", "borderRadius-Select-badge": "var(--xmlui-borderRadius-Select-badge)", "Input:fontSize-Select-badge": "var(--xmlui-fontSize-Select-badge)", "Input:backgroundColor-Select-badge": "var(--xmlui-backgroundColor-Select-badge)", "Input:textColor-Select-badge": "var(--xmlui-textColor-Select-badge)", "Input:backgroundColor-Select-badge--hover": "var(--xmlui-backgroundColor-Select-badge--hover)", "Input:textColor-Select-badge--hover": "var(--xmlui-textColor-Select-badge--hover)", "Input:backgroundColor-Select-badge--active": "var(--xmlui-backgroundColor-Select-badge--active)", "Input:textColor-Select-badge--active": "var(--xmlui-textColor-Select-badge--active)", "Input:textColor-placeholder-Select": "var(--xmlui-textColor-placeholder-Select)", "Input:backgroundColor-menu-Select": "var(--xmlui-backgroundColor-menu-Select)", "Input:borderRadius-menu-Select": "var(--xmlui-borderRadius-menu-Select)", "Input:boxShadow-menu-Select": "var(--xmlui-boxShadow-menu-Select)", "Input:borderWidth-menu-Select": "var(--xmlui-borderWidth-menu-Select)", "Input:borderColor-menu-Select": "var(--xmlui-borderColor-menu-Select)", "backgroundColor-item-Select": "var(--xmlui-backgroundColor-item-Select)", "backgroundColor-item-Select--hover": "var(--xmlui-backgroundColor-item-Select--hover)", "opacity-text-item-Select--disabled": "var(--xmlui-opacity-text-item-Select--disabled)", "fontSize-Select": "var(--xmlui-fontSize-Select)", "backgroundColor-item-Select--active": "var(--xmlui-backgroundColor-item-Select--active)", "textColor-indicator-Select": "var(--xmlui-textColor-indicator-Select)"}'`;
|
|
18376
|
-
const selectValue = "
|
|
18377
|
-
const error$9 = "
|
|
18378
|
-
const warning$a = "
|
|
18379
|
-
const valid$9 = "
|
|
18380
|
-
const selectTrigger = "
|
|
18381
|
-
const badgeListContainer = "
|
|
18382
|
-
const badgeList$1 = "
|
|
18383
|
-
const badge$1 = "
|
|
18384
|
-
const actions$1 = "
|
|
18385
|
-
const placeholder$1 = "
|
|
18386
|
-
const emptyList = "
|
|
18387
|
-
const selectScrollUpButton = "
|
|
18388
|
-
const selectScrollDownButton = "
|
|
18389
|
-
const command$1 = "
|
|
18390
|
-
const commandInputContainer = "
|
|
18391
|
-
const commandInput$1 = "
|
|
18392
|
-
const commandList$1 = "
|
|
18393
|
-
const selectContent = "
|
|
18394
|
-
const fadeIn = "
|
|
18395
|
-
const zoomIn = "
|
|
18396
|
-
const fadeOut = "
|
|
18397
|
-
const zoomOut = "
|
|
18398
|
-
const slideInFromTop = "
|
|
18399
|
-
const slideInFromRight = "
|
|
18400
|
-
const slideInFromLeft = "
|
|
18401
|
-
const slideInFromBottom = "
|
|
18402
|
-
const multiComboboxOption = "
|
|
18403
|
-
const multiComboboxOptionContent = "
|
|
18404
|
-
const selectItem = "
|
|
18405
|
-
const selectItemContent = "
|
|
18406
|
-
const selectItemIndicator = "
|
|
18407
|
-
const selectViewport = "
|
|
18408
|
-
const selectEmpty = "
|
|
18409
|
-
const loading = "
|
|
18410
|
-
const srOnly = "
|
|
18378
|
+
const selectValue = "_selectValue_1gf24_14";
|
|
18379
|
+
const error$9 = "_error_1gf24_22";
|
|
18380
|
+
const warning$a = "_warning_1gf24_30";
|
|
18381
|
+
const valid$9 = "_valid_1gf24_38";
|
|
18382
|
+
const selectTrigger = "_selectTrigger_1gf24_46";
|
|
18383
|
+
const badgeListContainer = "_badgeListContainer_1gf24_176";
|
|
18384
|
+
const badgeList$1 = "_badgeList_1gf24_176";
|
|
18385
|
+
const badge$1 = "_badge_1gf24_176";
|
|
18386
|
+
const actions$1 = "_actions_1gf24_213";
|
|
18387
|
+
const placeholder$1 = "_placeholder_1gf24_218";
|
|
18388
|
+
const emptyList = "_emptyList_1gf24_222";
|
|
18389
|
+
const selectScrollUpButton = "_selectScrollUpButton_1gf24_231";
|
|
18390
|
+
const selectScrollDownButton = "_selectScrollDownButton_1gf24_239";
|
|
18391
|
+
const command$1 = "_command_1gf24_247";
|
|
18392
|
+
const commandInputContainer = "_commandInputContainer_1gf24_256";
|
|
18393
|
+
const commandInput$1 = "_commandInput_1gf24_256";
|
|
18394
|
+
const commandList$1 = "_commandList_1gf24_279";
|
|
18395
|
+
const selectContent = "_selectContent_1gf24_283";
|
|
18396
|
+
const fadeIn = "_fadeIn_1gf24_1";
|
|
18397
|
+
const zoomIn = "_zoomIn_1gf24_1";
|
|
18398
|
+
const fadeOut = "_fadeOut_1gf24_1";
|
|
18399
|
+
const zoomOut = "_zoomOut_1gf24_1";
|
|
18400
|
+
const slideInFromTop = "_slideInFromTop_1gf24_1";
|
|
18401
|
+
const slideInFromRight = "_slideInFromRight_1gf24_1";
|
|
18402
|
+
const slideInFromLeft = "_slideInFromLeft_1gf24_1";
|
|
18403
|
+
const slideInFromBottom = "_slideInFromBottom_1gf24_1";
|
|
18404
|
+
const multiComboboxOption = "_multiComboboxOption_1gf24_324";
|
|
18405
|
+
const multiComboboxOptionContent = "_multiComboboxOptionContent_1gf24_324";
|
|
18406
|
+
const selectItem = "_selectItem_1gf24_348";
|
|
18407
|
+
const selectItemContent = "_selectItemContent_1gf24_363";
|
|
18408
|
+
const selectItemIndicator = "_selectItemIndicator_1gf24_382";
|
|
18409
|
+
const selectViewport = "_selectViewport_1gf24_392";
|
|
18410
|
+
const selectEmpty = "_selectEmpty_1gf24_397";
|
|
18411
|
+
const loading = "_loading_1gf24_407";
|
|
18412
|
+
const srOnly = "_srOnly_1gf24_410";
|
|
18411
18413
|
const styles$J = {
|
|
18412
18414
|
themeVars: themeVars$o,
|
|
18413
18415
|
selectValue,
|
|
@@ -19063,15 +19065,6 @@ const defaultProps$D = {
|
|
|
19063
19065
|
checked: false,
|
|
19064
19066
|
value: ""
|
|
19065
19067
|
};
|
|
19066
|
-
const RadioItem = ({
|
|
19067
|
-
checked = defaultProps$D.checked,
|
|
19068
|
-
style: style2,
|
|
19069
|
-
value = defaultProps$D.value,
|
|
19070
|
-
onDidChange = noop$1
|
|
19071
|
-
}) => {
|
|
19072
|
-
const id = useId();
|
|
19073
|
-
return /* @__PURE__ */ jsx("div", { className: styles$I.radioOptionContainer, style: style2, children: /* @__PURE__ */ jsx(UnwrappedRadioItem, { id, checked, value, onDidChange }) }, id);
|
|
19074
|
-
};
|
|
19075
19068
|
const UnwrappedRadioItem = ({
|
|
19076
19069
|
id,
|
|
19077
19070
|
checked = defaultProps$D.checked,
|
|
@@ -19147,6 +19140,19 @@ const RadioGroup = forwardRef(function RadioGroup2({
|
|
|
19147
19140
|
}
|
|
19148
19141
|
}
|
|
19149
19142
|
}, [autofocus]);
|
|
19143
|
+
const focusActiveOption = useCallback(() => {
|
|
19144
|
+
if (radioGroupRef.current) {
|
|
19145
|
+
const selectedRadio = radioGroupRef.current.querySelector('[role="radio"][aria-checked="true"]');
|
|
19146
|
+
if (selectedRadio) {
|
|
19147
|
+
selectedRadio.focus();
|
|
19148
|
+
return;
|
|
19149
|
+
}
|
|
19150
|
+
const firstRadio = radioGroupRef.current.querySelector('[role="radio"]');
|
|
19151
|
+
if (firstRadio) {
|
|
19152
|
+
firstRadio.focus();
|
|
19153
|
+
}
|
|
19154
|
+
}
|
|
19155
|
+
}, []);
|
|
19150
19156
|
const updateValue = useCallback(
|
|
19151
19157
|
(value2) => {
|
|
19152
19158
|
updateState({ value: value2 });
|
|
@@ -19206,6 +19212,7 @@ const RadioGroup = forwardRef(function RadioGroup2({
|
|
|
19206
19212
|
onBlur,
|
|
19207
19213
|
style: style2,
|
|
19208
19214
|
className,
|
|
19215
|
+
onLabelClick: focusActiveOption,
|
|
19209
19216
|
children: /* @__PURE__ */ jsx(
|
|
19210
19217
|
InnerRadioGroup.Root,
|
|
19211
19218
|
{
|
|
@@ -19796,9 +19803,9 @@ const parseDate = (dateString) => {
|
|
|
19796
19803
|
}
|
|
19797
19804
|
return void 0;
|
|
19798
19805
|
};
|
|
19799
|
-
const themeVars$l = `'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)"}'`;
|
|
19800
|
-
const wrapper$a = "
|
|
19801
|
-
const buttonRow = "
|
|
19806
|
+
const themeVars$l = `'{"gap-Form": "var(--xmlui-gap-Form)", "gap-buttonRow-Form": "var(--xmlui-gap-buttonRow-Form)", "marginTop-buttonRow-Form": "var(--xmlui-marginTop-buttonRow-Form)"}'`;
|
|
19807
|
+
const wrapper$a = "_wrapper_1frqo_14";
|
|
19808
|
+
const buttonRow = "_buttonRow_1frqo_19";
|
|
19802
19809
|
const styles$G = {
|
|
19803
19810
|
themeVars: themeVars$l,
|
|
19804
19811
|
wrapper: wrapper$a,
|
|
@@ -20076,7 +20083,8 @@ const defaultProps$z = {
|
|
|
20076
20083
|
itemLabelPosition: "top",
|
|
20077
20084
|
itemLabelBreak: true,
|
|
20078
20085
|
keepModalOpenOnSubmit: false,
|
|
20079
|
-
swapCancelAndSave: false
|
|
20086
|
+
swapCancelAndSave: false,
|
|
20087
|
+
hideButtonRowUntilDirty: false
|
|
20080
20088
|
};
|
|
20081
20089
|
function cleanUpSubject(subject) {
|
|
20082
20090
|
return Object.entries(subject || {}).reduce(
|
|
@@ -20112,6 +20120,7 @@ const Form = forwardRef(function({
|
|
|
20112
20120
|
itemLabelWidth,
|
|
20113
20121
|
itemLabelPosition = defaultProps$z.itemLabelPosition,
|
|
20114
20122
|
keepModalOpenOnSubmit = defaultProps$z.keepModalOpenOnSubmit,
|
|
20123
|
+
hideButtonRowUntilDirty,
|
|
20115
20124
|
...rest
|
|
20116
20125
|
}, ref) {
|
|
20117
20126
|
const formRef = useRef(null);
|
|
@@ -20119,6 +20128,14 @@ const Form = forwardRef(function({
|
|
|
20119
20128
|
const [confirmSubmitModalVisible, setConfirmSubmitModalVisible] = useState(false);
|
|
20120
20129
|
const requestModalFormClose = useModalFormClose();
|
|
20121
20130
|
const isEnabled2 = enabled2 && !formState.submitInProgress;
|
|
20131
|
+
const isDirty = useMemo(() => {
|
|
20132
|
+
return Object.entries(formState.interactionFlags).some(([key, flags]) => {
|
|
20133
|
+
if (flags.isDirty) {
|
|
20134
|
+
return true;
|
|
20135
|
+
}
|
|
20136
|
+
return false;
|
|
20137
|
+
});
|
|
20138
|
+
}, [formState.interactionFlags]);
|
|
20122
20139
|
const formContextValue = useMemo(() => {
|
|
20123
20140
|
return {
|
|
20124
20141
|
itemLabelBreak,
|
|
@@ -20258,6 +20275,10 @@ const Form = forwardRef(function({
|
|
|
20258
20275
|
update: updateData
|
|
20259
20276
|
});
|
|
20260
20277
|
}, [doReset, updateData, registerComponentApi]);
|
|
20278
|
+
let safeButtonRow = /* @__PURE__ */ jsx(Fragment, { children: buttonRow2 || /* @__PURE__ */ jsxs("div", { className: styles$G.buttonRow, children: [
|
|
20279
|
+
swapCancelAndSave && [submitButton, cancelButton],
|
|
20280
|
+
!swapCancelAndSave && [cancelButton, submitButton]
|
|
20281
|
+
] }) });
|
|
20261
20282
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
20262
20283
|
/* @__PURE__ */ createElement(
|
|
20263
20284
|
"form",
|
|
@@ -20273,10 +20294,7 @@ const Form = forwardRef(function({
|
|
|
20273
20294
|
},
|
|
20274
20295
|
/* @__PURE__ */ jsx(ValidationSummary, { generalValidationResults: formState.generalValidationResults }),
|
|
20275
20296
|
/* @__PURE__ */ jsx(FormContext.Provider, { value: formContextValue, children }),
|
|
20276
|
-
|
|
20277
|
-
swapCancelAndSave && [submitButton, cancelButton],
|
|
20278
|
-
!swapCancelAndSave && [cancelButton, submitButton]
|
|
20279
|
-
] })
|
|
20297
|
+
(!hideButtonRowUntilDirty || isDirty) && safeButtonRow
|
|
20280
20298
|
),
|
|
20281
20299
|
confirmSubmitModalVisible && /* @__PURE__ */ jsx(
|
|
20282
20300
|
ModalDialog,
|
|
@@ -20360,6 +20378,7 @@ function FormWithContextVar({
|
|
|
20360
20378
|
itemLabelPosition: extractValue.asOptionalString(node.props.itemLabelPosition),
|
|
20361
20379
|
itemLabelBreak: extractValue.asOptionalBoolean(node.props.itemLabelBreak),
|
|
20362
20380
|
itemLabelWidth: extractValue.asOptionalString(node.props.itemLabelWidth),
|
|
20381
|
+
hideButtonRowUntilDirty: extractValue.asOptionalBoolean(node.props.hideButtonRowUntilDirty),
|
|
20363
20382
|
formState,
|
|
20364
20383
|
dispatch,
|
|
20365
20384
|
id: node.uid,
|
|
@@ -22024,7 +22043,7 @@ function ApiInterceptorProvider({
|
|
|
22024
22043
|
return;
|
|
22025
22044
|
}
|
|
22026
22045
|
(async () => {
|
|
22027
|
-
const { initMock } = await import("./initMock-
|
|
22046
|
+
const { initMock } = await import("./initMock-B9LtmFJG.mjs");
|
|
22028
22047
|
const apiInstance2 = await initMock(interceptor);
|
|
22029
22048
|
setApiInstance(apiInstance2);
|
|
22030
22049
|
setInitialized(true);
|
|
@@ -22041,7 +22060,7 @@ function ApiInterceptorProvider({
|
|
|
22041
22060
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
22042
22061
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
22043
22062
|
useWorker ? import("./apiInterceptorWorker-DPgtUtdA.mjs") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
22044
|
-
import("./initMock-
|
|
22063
|
+
import("./initMock-B9LtmFJG.mjs")
|
|
22045
22064
|
]);
|
|
22046
22065
|
if (interceptor || forceInitialize) {
|
|
22047
22066
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -22078,7 +22097,7 @@ function ApiInterceptorProvider({
|
|
|
22078
22097
|
(async () => {
|
|
22079
22098
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
22080
22099
|
import("./apiInterceptorWorker-DPgtUtdA.mjs"),
|
|
22081
|
-
import("./initMock-
|
|
22100
|
+
import("./initMock-B9LtmFJG.mjs")
|
|
22082
22101
|
]);
|
|
22083
22102
|
const apiInstance2 = await initMock(interceptor);
|
|
22084
22103
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -23828,7 +23847,7 @@ function convertTreeDisplayToMarkdown(content2) {
|
|
|
23828
23847
|
`;
|
|
23829
23848
|
}
|
|
23830
23849
|
}
|
|
23831
|
-
const COMP
|
|
23850
|
+
const COMP$$ = "Markdown";
|
|
23832
23851
|
const MarkdownMd = createMetadata({
|
|
23833
23852
|
status: "stable",
|
|
23834
23853
|
description: "`Markdown` renders formatted text using markdown syntax. Use [Text](/working-with-text) for simple, styled text content, and `Markdown` when you need [rich formatting](/working-with-markdown).",
|
|
@@ -23895,7 +23914,7 @@ const MarkdownMd = createMetadata({
|
|
|
23895
23914
|
}
|
|
23896
23915
|
});
|
|
23897
23916
|
const markdownComponentRenderer = createComponentRenderer(
|
|
23898
|
-
COMP
|
|
23917
|
+
COMP$$,
|
|
23899
23918
|
MarkdownMd,
|
|
23900
23919
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
23901
23920
|
let renderedChildren = "";
|
|
@@ -24333,7 +24352,8 @@ const defaultProps$t = {
|
|
|
24333
24352
|
initialValue: "#000000",
|
|
24334
24353
|
value: "#000000",
|
|
24335
24354
|
enabled: true,
|
|
24336
|
-
validationStatus: "none"
|
|
24355
|
+
validationStatus: "none",
|
|
24356
|
+
debounceDelayInMs: 200
|
|
24337
24357
|
};
|
|
24338
24358
|
const ColorPicker = forwardRef(
|
|
24339
24359
|
({
|
|
@@ -24345,9 +24365,10 @@ const ColorPicker = forwardRef(
|
|
|
24345
24365
|
onBlur = noop$1,
|
|
24346
24366
|
registerComponentApi,
|
|
24347
24367
|
enabled: enabled2 = defaultProps$t.enabled,
|
|
24368
|
+
readOnly: readOnly2,
|
|
24348
24369
|
value = defaultProps$t.value,
|
|
24349
24370
|
autoFocus,
|
|
24350
|
-
tabIndex =
|
|
24371
|
+
tabIndex = 0,
|
|
24351
24372
|
label: label2,
|
|
24352
24373
|
labelPosition,
|
|
24353
24374
|
labelWidth,
|
|
@@ -24355,9 +24376,11 @@ const ColorPicker = forwardRef(
|
|
|
24355
24376
|
required: required2,
|
|
24356
24377
|
validationStatus = defaultProps$t.validationStatus,
|
|
24357
24378
|
initialValue = defaultProps$t.initialValue,
|
|
24379
|
+
debounceDelayInMs = defaultProps$t.debounceDelayInMs,
|
|
24358
24380
|
...rest
|
|
24359
24381
|
}, forwardedRef) => {
|
|
24360
24382
|
const inputRef = useRef(null);
|
|
24383
|
+
const debounceTimeoutRef = useRef(null);
|
|
24361
24384
|
const updateValue = useCallback(
|
|
24362
24385
|
(value2) => {
|
|
24363
24386
|
updateState({ value: value2 });
|
|
@@ -24365,19 +24388,45 @@ const ColorPicker = forwardRef(
|
|
|
24365
24388
|
},
|
|
24366
24389
|
[onDidChange, updateState]
|
|
24367
24390
|
);
|
|
24391
|
+
const debouncedUpdateValue = useCallback(
|
|
24392
|
+
(value2, immediate = false) => {
|
|
24393
|
+
if (debounceTimeoutRef.current) {
|
|
24394
|
+
clearTimeout(debounceTimeoutRef.current);
|
|
24395
|
+
}
|
|
24396
|
+
if (immediate) {
|
|
24397
|
+
updateValue(value2);
|
|
24398
|
+
} else {
|
|
24399
|
+
debounceTimeoutRef.current = setTimeout(() => {
|
|
24400
|
+
updateValue(value2);
|
|
24401
|
+
}, debounceDelayInMs);
|
|
24402
|
+
}
|
|
24403
|
+
},
|
|
24404
|
+
[updateValue, debounceDelayInMs]
|
|
24405
|
+
);
|
|
24368
24406
|
const onInputChange = useCallback(
|
|
24369
24407
|
(event) => {
|
|
24370
|
-
|
|
24408
|
+
debouncedUpdateValue(event.target.value);
|
|
24371
24409
|
},
|
|
24372
|
-
[
|
|
24410
|
+
[debouncedUpdateValue]
|
|
24373
24411
|
);
|
|
24374
24412
|
useEffect(() => {
|
|
24375
24413
|
updateState({ value: initialValue }, { initial: true });
|
|
24376
24414
|
}, [initialValue, updateState]);
|
|
24415
|
+
useEffect(() => {
|
|
24416
|
+
return () => {
|
|
24417
|
+
if (debounceTimeoutRef.current) {
|
|
24418
|
+
clearTimeout(debounceTimeoutRef.current);
|
|
24419
|
+
}
|
|
24420
|
+
};
|
|
24421
|
+
}, []);
|
|
24377
24422
|
const handleOnFocus = useCallback(() => {
|
|
24378
24423
|
onFocus == null ? void 0 : onFocus();
|
|
24379
24424
|
}, [onFocus]);
|
|
24380
24425
|
const handleOnBlur = useCallback(() => {
|
|
24426
|
+
if (debounceTimeoutRef.current) {
|
|
24427
|
+
clearTimeout(debounceTimeoutRef.current);
|
|
24428
|
+
debounceTimeoutRef.current = null;
|
|
24429
|
+
}
|
|
24381
24430
|
onBlur == null ? void 0 : onBlur();
|
|
24382
24431
|
}, [onBlur]);
|
|
24383
24432
|
const focus = useCallback(() => {
|
|
@@ -24385,7 +24434,7 @@ const ColorPicker = forwardRef(
|
|
|
24385
24434
|
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
24386
24435
|
}, []);
|
|
24387
24436
|
const setValue = useEvent((newValue) => {
|
|
24388
|
-
|
|
24437
|
+
debouncedUpdateValue(newValue, true);
|
|
24389
24438
|
});
|
|
24390
24439
|
useEffect(() => {
|
|
24391
24440
|
registerComponentApi == null ? void 0 : registerComponentApi({
|
|
@@ -24420,14 +24469,15 @@ const ColorPicker = forwardRef(
|
|
|
24420
24469
|
disabled: !enabled2,
|
|
24421
24470
|
onFocus: handleOnFocus,
|
|
24422
24471
|
onChange: onInputChange,
|
|
24472
|
+
readOnly: readOnly2,
|
|
24423
24473
|
autoFocus,
|
|
24474
|
+
tabIndex,
|
|
24424
24475
|
onBlur: handleOnBlur,
|
|
24425
24476
|
required: required2,
|
|
24426
24477
|
type: "color",
|
|
24427
24478
|
inputMode: "text",
|
|
24428
24479
|
ref: inputRef,
|
|
24429
|
-
value
|
|
24430
|
-
tabIndex
|
|
24480
|
+
value
|
|
24431
24481
|
}
|
|
24432
24482
|
)
|
|
24433
24483
|
}
|
|
@@ -24933,7 +24983,7 @@ function CustomFormItem({
|
|
|
24933
24983
|
}, [bindTo, dispatch, node.children, node.vars, validationResult, value]);
|
|
24934
24984
|
return /* @__PURE__ */ jsx(Fragment, { children: renderChild2(decoratedMetadata) });
|
|
24935
24985
|
}
|
|
24936
|
-
const COMP
|
|
24986
|
+
const COMP$_ = "FormItem";
|
|
24937
24987
|
const filteredValidationSeverityValues = validationSeverityValues.filter(
|
|
24938
24988
|
(value) => value !== "none"
|
|
24939
24989
|
);
|
|
@@ -24948,7 +24998,7 @@ const FormItemMd = createMetadata({
|
|
|
24948
24998
|
autoFocus: dAutoFocus(),
|
|
24949
24999
|
label: dLabel(),
|
|
24950
25000
|
labelPosition: dLabelPosition(),
|
|
24951
|
-
labelWidth: dLabelWidth(COMP
|
|
25001
|
+
labelWidth: dLabelWidth(COMP$_),
|
|
24952
25002
|
labelBreak: {
|
|
24953
25003
|
description: `This boolean value indicates if the label can be split into multiple lines if it would overflow the available label width.`,
|
|
24954
25004
|
type: "boolean",
|
|
@@ -25087,7 +25137,7 @@ const FormItemMd = createMetadata({
|
|
|
25087
25137
|
}
|
|
25088
25138
|
});
|
|
25089
25139
|
const formItemComponentRenderer = createComponentRenderer(
|
|
25090
|
-
COMP
|
|
25140
|
+
COMP$_,
|
|
25091
25141
|
FormItemMd,
|
|
25092
25142
|
({
|
|
25093
25143
|
node,
|
|
@@ -25198,7 +25248,7 @@ const formItemComponentRenderer = createComponentRenderer(
|
|
|
25198
25248
|
);
|
|
25199
25249
|
}
|
|
25200
25250
|
);
|
|
25201
|
-
const COMP$
|
|
25251
|
+
const COMP$Z = "TextBox";
|
|
25202
25252
|
const TextBoxMd = createMetadata({
|
|
25203
25253
|
status: "stable",
|
|
25204
25254
|
description: "`TextBox` captures user text input for forms, search fields, and data entry with support for validation, icons, and formatting hints.",
|
|
@@ -25225,8 +25275,8 @@ const TextBoxMd = createMetadata({
|
|
|
25225
25275
|
},
|
|
25226
25276
|
label: dLabel(),
|
|
25227
25277
|
labelPosition: dLabelPosition("top"),
|
|
25228
|
-
labelWidth: dLabelWidth(COMP$
|
|
25229
|
-
labelBreak: dLabelBreak(COMP$
|
|
25278
|
+
labelWidth: dLabelWidth(COMP$Z),
|
|
25279
|
+
labelBreak: dLabelBreak(COMP$Z),
|
|
25230
25280
|
maxLength: dMaxLength(),
|
|
25231
25281
|
autoFocus: dAutoFocus(),
|
|
25232
25282
|
required: dRequired(),
|
|
@@ -25262,13 +25312,13 @@ const TextBoxMd = createMetadata({
|
|
|
25262
25312
|
}
|
|
25263
25313
|
},
|
|
25264
25314
|
events: {
|
|
25265
|
-
gotFocus: dGotFocus(COMP$
|
|
25266
|
-
lostFocus: dLostFocus(COMP$
|
|
25267
|
-
didChange: dDidChange(COMP$
|
|
25315
|
+
gotFocus: dGotFocus(COMP$Z),
|
|
25316
|
+
lostFocus: dLostFocus(COMP$Z),
|
|
25317
|
+
didChange: dDidChange(COMP$Z)
|
|
25268
25318
|
},
|
|
25269
25319
|
apis: {
|
|
25270
25320
|
focus: {
|
|
25271
|
-
description: `This method sets the focus on the \`${COMP$
|
|
25321
|
+
description: `This method sets the focus on the \`${COMP$Z}\` component.`,
|
|
25272
25322
|
signature: "focus(): void"
|
|
25273
25323
|
},
|
|
25274
25324
|
value: {
|
|
@@ -25276,7 +25326,7 @@ const TextBoxMd = createMetadata({
|
|
|
25276
25326
|
signature: "get value(): string | undefined"
|
|
25277
25327
|
},
|
|
25278
25328
|
setValue: {
|
|
25279
|
-
description: `This API sets the value of the \`${COMP$
|
|
25329
|
+
description: `This API sets the value of the \`${COMP$Z}\`. You can use it to programmatically change the value.`,
|
|
25280
25330
|
signature: "setValue(value: string): void",
|
|
25281
25331
|
parameters: {
|
|
25282
25332
|
value: "The new value to set. If the value is empty, it will clear the input."
|
|
@@ -25291,8 +25341,8 @@ const TextBoxMd = createMetadata({
|
|
|
25291
25341
|
"backgroundColor-Input--disabled": "$backgroundColor--disabled",
|
|
25292
25342
|
"borderWidth-Input": "1px",
|
|
25293
25343
|
"minHeight-Input": "39px",
|
|
25294
|
-
[`paddingHorizontal-${COMP$
|
|
25295
|
-
[`paddingVertical-${COMP$
|
|
25344
|
+
[`paddingHorizontal-${COMP$Z}`]: "$space-2",
|
|
25345
|
+
[`paddingVertical-${COMP$Z}`]: "$space-2",
|
|
25296
25346
|
"gap-adornment-Input": "$space-2",
|
|
25297
25347
|
"borderStyle-Input": "solid",
|
|
25298
25348
|
"borderColor-Input--disabled": "$borderColor--disabled",
|
|
@@ -25351,7 +25401,7 @@ function renderTextBox(className, state, updateState, extractValue, node, lookup
|
|
|
25351
25401
|
);
|
|
25352
25402
|
}
|
|
25353
25403
|
const textBoxComponentRenderer = createComponentRenderer(
|
|
25354
|
-
COMP$
|
|
25404
|
+
COMP$Z,
|
|
25355
25405
|
TextBoxMd,
|
|
25356
25406
|
({
|
|
25357
25407
|
node,
|
|
@@ -25641,8 +25691,9 @@ class RestApiProxy {
|
|
|
25641
25691
|
const includeClientTxId = method && method !== "get" && !!transactionId;
|
|
25642
25692
|
const headersWithoutContentType = { ...this.getHeaders(), ["Content-Type"]: void 0 };
|
|
25643
25693
|
let url = this.generateFullApiUrl(relativePath, queryParams);
|
|
25694
|
+
const hasBody = body !== void 0;
|
|
25644
25695
|
const aggregatedHeaders = omitBy(
|
|
25645
|
-
{ ...
|
|
25696
|
+
{ ...hasBody ? this.getHeaders() : headersWithoutContentType, ...headers },
|
|
25646
25697
|
isUndefined
|
|
25647
25698
|
);
|
|
25648
25699
|
if (includeClientTxId) {
|
|
@@ -25655,7 +25706,7 @@ class RestApiProxy {
|
|
|
25655
25706
|
}
|
|
25656
25707
|
}
|
|
25657
25708
|
let requestBody;
|
|
25658
|
-
if (rawBody) {
|
|
25709
|
+
if (rawBody !== void 0) {
|
|
25659
25710
|
requestBody = rawBody;
|
|
25660
25711
|
} else {
|
|
25661
25712
|
if (payloadType === "multipart-form" || payloadType === "form") {
|
|
@@ -25671,7 +25722,7 @@ class RestApiProxy {
|
|
|
25671
25722
|
aggregatedHeaders["Content-Type"] = "application/x-www-form-urlencoded";
|
|
25672
25723
|
}
|
|
25673
25724
|
} else {
|
|
25674
|
-
requestBody =
|
|
25725
|
+
requestBody = hasBody ? JSON.stringify(body) : void 0;
|
|
25675
25726
|
}
|
|
25676
25727
|
}
|
|
25677
25728
|
const options2 = {
|
|
@@ -25894,7 +25945,7 @@ function RealTimeAdapter({ url, onEvent }) {
|
|
|
25894
25945
|
}, [appContext, onEvent, url]);
|
|
25895
25946
|
return null;
|
|
25896
25947
|
}
|
|
25897
|
-
const COMP$
|
|
25948
|
+
const COMP$Y = "RealTimeAdapter";
|
|
25898
25949
|
const RealTimeAdapterMd = createMetadata({
|
|
25899
25950
|
status: "experimental",
|
|
25900
25951
|
description: "`RealTimeAdapter` is a non-visual component that listens to real-time events.",
|
|
@@ -25909,7 +25960,7 @@ const RealTimeAdapterMd = createMetadata({
|
|
|
25909
25960
|
}
|
|
25910
25961
|
});
|
|
25911
25962
|
const realTimeAdapterComponentRenderer = createComponentRenderer(
|
|
25912
|
-
COMP$
|
|
25963
|
+
COMP$Y,
|
|
25913
25964
|
RealTimeAdapterMd,
|
|
25914
25965
|
({ node, lookupEventHandler, extractValue }) => {
|
|
25915
25966
|
return /* @__PURE__ */ jsx(
|
|
@@ -25921,7 +25972,7 @@ const realTimeAdapterComponentRenderer = createComponentRenderer(
|
|
|
25921
25972
|
);
|
|
25922
25973
|
}
|
|
25923
25974
|
);
|
|
25924
|
-
const COMP$
|
|
25975
|
+
const COMP$X = "Form";
|
|
25925
25976
|
const FormMd = createMetadata({
|
|
25926
25977
|
status: "stable",
|
|
25927
25978
|
description: "`Form` provides a structured container for collecting and validating user input, with built-in data binding, validation, and submission handling. It automatically manages form state and provides context for nested form controls to work together.",
|
|
@@ -25972,6 +26023,11 @@ const FormMd = createMetadata({
|
|
|
25972
26023
|
type: "boolean",
|
|
25973
26024
|
defaultValue: defaultProps$z.swapCancelAndSave
|
|
25974
26025
|
},
|
|
26026
|
+
hideButtonRowUntilDirty: {
|
|
26027
|
+
description: `This property hides the button row until the form data is modified (dirty).`,
|
|
26028
|
+
type: "boolean",
|
|
26029
|
+
defaultValue: defaultProps$z.hideButtonRowUntilDirty
|
|
26030
|
+
},
|
|
25975
26031
|
submitUrl: d(`URL to submit the form data.`),
|
|
25976
26032
|
submitMethod: {
|
|
25977
26033
|
description: "This property sets the HTTP method to use when submitting the form data. If not defined, `put` is used when the form has initial data; otherwise, `post`."
|
|
@@ -26023,11 +26079,12 @@ const FormMd = createMetadata({
|
|
|
26023
26079
|
"textColor-ValidationDisplay-error": "$color-error",
|
|
26024
26080
|
"textColor-ValidationDisplay-warning": "$color-warning",
|
|
26025
26081
|
"textColor-ValidationDisplay-info": "$color-info",
|
|
26026
|
-
"textColor-ValidationDisplay-valid": "$color-valid"
|
|
26082
|
+
"textColor-ValidationDisplay-valid": "$color-valid",
|
|
26083
|
+
"marginTop-buttonRow-Form": "$space-4"
|
|
26027
26084
|
}
|
|
26028
26085
|
});
|
|
26029
26086
|
const formComponentRenderer = createComponentRenderer(
|
|
26030
|
-
COMP$
|
|
26087
|
+
COMP$X,
|
|
26031
26088
|
FormMd,
|
|
26032
26089
|
({ node, renderChild: renderChild2, extractValue, className, lookupEventHandler, registerComponentApi }) => {
|
|
26033
26090
|
return /* @__PURE__ */ jsx(
|
|
@@ -26078,7 +26135,7 @@ const EmojiSelector = forwardRef(
|
|
|
26078
26135
|
}
|
|
26079
26136
|
)
|
|
26080
26137
|
);
|
|
26081
|
-
const COMP$
|
|
26138
|
+
const COMP$W = "EmojiSelector";
|
|
26082
26139
|
const EmojiSelectorMd = createMetadata({
|
|
26083
26140
|
status: "experimental",
|
|
26084
26141
|
description: "`EmojiSelector` enables users to browse, search and select emojis from their system's native emoji set.",
|
|
@@ -26093,7 +26150,7 @@ const EmojiSelectorMd = createMetadata({
|
|
|
26093
26150
|
}
|
|
26094
26151
|
});
|
|
26095
26152
|
const emojiSelectorRenderer = createComponentRenderer(
|
|
26096
|
-
COMP$
|
|
26153
|
+
COMP$W,
|
|
26097
26154
|
EmojiSelectorMd,
|
|
26098
26155
|
({ node, lookupEventHandler, extractValue }) => {
|
|
26099
26156
|
const onActionSelect = lookupEventHandler("select");
|
|
@@ -26108,7 +26165,7 @@ const emojiSelectorRenderer = createComponentRenderer(
|
|
|
26108
26165
|
);
|
|
26109
26166
|
}
|
|
26110
26167
|
);
|
|
26111
|
-
const COMP$
|
|
26168
|
+
const COMP$V = "NumberBox";
|
|
26112
26169
|
const NumberBoxMd = createMetadata({
|
|
26113
26170
|
status: "stable",
|
|
26114
26171
|
description: "`NumberBox` provides a specialized input field for numeric values with built-in validation, spinner buttons, and flexible formatting options. It supports both integer and floating-point numbers, handles empty states as null values, and integrates seamlessly with form validation.",
|
|
@@ -26131,8 +26188,8 @@ const NumberBoxMd = createMetadata({
|
|
|
26131
26188
|
initialValue: dInitialValue(),
|
|
26132
26189
|
label: dLabel(),
|
|
26133
26190
|
labelPosition: dLabelPosition("top"),
|
|
26134
|
-
labelWidth: dLabelWidth(COMP$
|
|
26135
|
-
labelBreak: dLabelBreak(COMP$
|
|
26191
|
+
labelWidth: dLabelWidth(COMP$V),
|
|
26192
|
+
labelBreak: dLabelBreak(COMP$V),
|
|
26136
26193
|
maxLength: dMaxLength(),
|
|
26137
26194
|
autoFocus: dAutoFocus(),
|
|
26138
26195
|
required: dRequired(),
|
|
@@ -26152,10 +26209,10 @@ const NumberBoxMd = createMetadata({
|
|
|
26152
26209
|
defaultValue: defaultProps$G.hasSpinBox
|
|
26153
26210
|
},
|
|
26154
26211
|
spinnerUpIcon: d(
|
|
26155
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
26212
|
+
`Allows setting an alternate icon displayed in the ${COMP$V} spinner for incrementing values. You can change the default icon for all ${COMP$V} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`
|
|
26156
26213
|
),
|
|
26157
26214
|
spinnerDownIcon: d(
|
|
26158
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
26215
|
+
`Allows setting an alternate icon displayed in the ${COMP$V} spinner for decrementing values. You can change the default icon for all ${COMP$V} instances with the "icon.spinnerDown:NumberBox" declaration in the app configuration file.`
|
|
26159
26216
|
),
|
|
26160
26217
|
step: {
|
|
26161
26218
|
description: `This prop governs how big the step when clicking on the spinner of the field.`,
|
|
@@ -26182,32 +26239,32 @@ const NumberBoxMd = createMetadata({
|
|
|
26182
26239
|
}
|
|
26183
26240
|
},
|
|
26184
26241
|
events: {
|
|
26185
|
-
gotFocus: dGotFocus(COMP$
|
|
26186
|
-
lostFocus: dLostFocus(COMP$
|
|
26187
|
-
didChange: dDidChange(COMP$
|
|
26242
|
+
gotFocus: dGotFocus(COMP$V),
|
|
26243
|
+
lostFocus: dLostFocus(COMP$V),
|
|
26244
|
+
didChange: dDidChange(COMP$V)
|
|
26188
26245
|
},
|
|
26189
26246
|
apis: {
|
|
26190
26247
|
focus: {
|
|
26191
|
-
description: `This API focuses the input field of the \`${COMP$
|
|
26248
|
+
description: `This API focuses the input field of the \`${COMP$V}\`. You can use it to programmatically focus the field.`,
|
|
26192
26249
|
signature: "focus(): void"
|
|
26193
26250
|
},
|
|
26194
26251
|
value: {
|
|
26195
|
-
description: `This API retrieves the current value of the \`${COMP$
|
|
26252
|
+
description: `This API retrieves the current value of the \`${COMP$V}\`. You can use it to get the value programmatically.`,
|
|
26196
26253
|
signature: "get value(): number | undefined"
|
|
26197
26254
|
},
|
|
26198
26255
|
setValue: {
|
|
26199
|
-
description: `This API sets the value of the \`${COMP$
|
|
26256
|
+
description: `This API sets the value of the \`${COMP$V}\`. You can use it to programmatically change the value.`,
|
|
26200
26257
|
signature: "setValue(value: number | undefined): void"
|
|
26201
26258
|
}
|
|
26202
26259
|
},
|
|
26203
26260
|
themeVars: parseScssVar(styles$K.themeVars),
|
|
26204
26261
|
defaultThemeVars: {
|
|
26205
|
-
[`paddingVertical-${COMP$
|
|
26206
|
-
[`paddingHorizontal-${COMP$
|
|
26262
|
+
[`paddingVertical-${COMP$V}`]: "$space-2",
|
|
26263
|
+
[`paddingHorizontal-${COMP$V}`]: "$space-2"
|
|
26207
26264
|
}
|
|
26208
26265
|
});
|
|
26209
26266
|
const numberBoxComponentRenderer = createComponentRenderer(
|
|
26210
|
-
COMP$
|
|
26267
|
+
COMP$V,
|
|
26211
26268
|
NumberBoxMd,
|
|
26212
26269
|
({
|
|
26213
26270
|
node,
|
|
@@ -26268,7 +26325,7 @@ const HoverCardComponent = ({ triggerTemplate, children }) => {
|
|
|
26268
26325
|
/* @__PURE__ */ jsx(HoverCard.Portal, { container: root2, children: /* @__PURE__ */ jsx(HoverCard.Content, { side: "bottom", sideOffset: 5, children }) })
|
|
26269
26326
|
] });
|
|
26270
26327
|
};
|
|
26271
|
-
const COMP$
|
|
26328
|
+
const COMP$U = "HoverCard";
|
|
26272
26329
|
const HoverCardMd = createMetadata({
|
|
26273
26330
|
status: "deprecated",
|
|
26274
26331
|
description: "(**OBSOLETE**) This component displays some content when its parent component is hovered.",
|
|
@@ -26277,13 +26334,13 @@ const HoverCardMd = createMetadata({
|
|
|
26277
26334
|
}
|
|
26278
26335
|
});
|
|
26279
26336
|
const hoverCardComponentRenderer = createComponentRenderer(
|
|
26280
|
-
COMP$
|
|
26337
|
+
COMP$U,
|
|
26281
26338
|
HoverCardMd,
|
|
26282
26339
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
26283
26340
|
return /* @__PURE__ */ jsx(HoverCardComponent, { triggerTemplate: renderChild2(extractValue(node.props.triggerTemplate)), children: renderChild2(node.children) });
|
|
26284
26341
|
}
|
|
26285
26342
|
);
|
|
26286
|
-
const COMP$
|
|
26343
|
+
const COMP$T = "App";
|
|
26287
26344
|
const AppMd = createMetadata({
|
|
26288
26345
|
status: "stable",
|
|
26289
26346
|
description: "The `App` component is the root container that defines your application's overall structure and layout. It provides a complete UI framework with built-in navigation, header, footer, and content areas that work together seamlessly.",
|
|
@@ -26342,10 +26399,10 @@ const AppMd = createMetadata({
|
|
|
26342
26399
|
},
|
|
26343
26400
|
events: {
|
|
26344
26401
|
ready: {
|
|
26345
|
-
description: `This event fires when the \`${COMP$
|
|
26402
|
+
description: `This event fires when the \`${COMP$T}\` component finishes rendering on the page.`
|
|
26346
26403
|
},
|
|
26347
26404
|
messageReceived: {
|
|
26348
|
-
description: `This event fires when the \`${COMP$
|
|
26405
|
+
description: `This event fires when the \`${COMP$T}\` component receives a message from another window or iframe via the window.postMessage API.`
|
|
26349
26406
|
}
|
|
26350
26407
|
},
|
|
26351
26408
|
themeVars: { ...parseScssVar(styles$1c.themeVars), ...parseScssVar(drawerStyles.themeVars) },
|
|
@@ -26358,11 +26415,11 @@ const AppMd = createMetadata({
|
|
|
26358
26415
|
},
|
|
26359
26416
|
defaultThemeVars: {
|
|
26360
26417
|
"maxWidth-Drawer": "100%",
|
|
26361
|
-
[`width-navPanel-${COMP$
|
|
26362
|
-
[`backgroundColor-navPanel-${COMP$
|
|
26363
|
-
[`maxWidth-content-${COMP$
|
|
26364
|
-
[`boxShadow-header-${COMP$
|
|
26365
|
-
[`boxShadow-navPanel-${COMP$
|
|
26418
|
+
[`width-navPanel-${COMP$T}`]: "$space-64",
|
|
26419
|
+
[`backgroundColor-navPanel-${COMP$T}`]: "$backgroundColor",
|
|
26420
|
+
[`maxWidth-content-${COMP$T}`]: "$maxWidth-content",
|
|
26421
|
+
[`boxShadow-header-${COMP$T}`]: "none",
|
|
26422
|
+
[`boxShadow-navPanel-${COMP$T}`]: "$boxShadow-spread",
|
|
26366
26423
|
[`scroll-padding-block-Pages`]: "$space-4",
|
|
26367
26424
|
[`backgroundColor-content-App`]: "$backgroundColor",
|
|
26368
26425
|
light: {
|
|
@@ -26718,7 +26775,7 @@ function PageIndexer({
|
|
|
26718
26775
|
return /* @__PURE__ */ jsx("div", { ref: contentRef, children: renderChild2(Page.children) });
|
|
26719
26776
|
}
|
|
26720
26777
|
const appRenderer = createComponentRenderer(
|
|
26721
|
-
COMP$
|
|
26778
|
+
COMP$T,
|
|
26722
26779
|
AppMd,
|
|
26723
26780
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
26724
26781
|
return /* @__PURE__ */ jsx(
|
|
@@ -26829,7 +26886,7 @@ function extractNavPanelFromPages(Pages2, NavPanel3, processedNavRef, extractVal
|
|
|
26829
26886
|
});
|
|
26830
26887
|
return extraNavs;
|
|
26831
26888
|
}
|
|
26832
|
-
const COMP$
|
|
26889
|
+
const COMP$S = "NavPanel";
|
|
26833
26890
|
const NavPanelMd = createMetadata({
|
|
26834
26891
|
status: "stable",
|
|
26835
26892
|
description: "`NavPanel` defines the navigation structure within an App, serving as a container for NavLink and NavGroup components that create your application's primary navigation menu. Its appearance and behavior automatically adapt based on the App's layout configuration.",
|
|
@@ -26846,15 +26903,15 @@ const NavPanelMd = createMetadata({
|
|
|
26846
26903
|
themeVars: parseScssVar(styles$19.themeVars),
|
|
26847
26904
|
limitThemeVarsToComponent: true,
|
|
26848
26905
|
defaultThemeVars: {
|
|
26849
|
-
[`horizontalAlignment-logo-${COMP$
|
|
26850
|
-
[`backgroundColor-${COMP$
|
|
26851
|
-
[`backgroundColor-${COMP$
|
|
26852
|
-
[`border-${COMP$
|
|
26853
|
-
[`paddingHorizontal-${COMP$
|
|
26854
|
-
[`paddingVertical-logo-${COMP$
|
|
26855
|
-
[`paddingHorizontal-logo-${COMP$
|
|
26856
|
-
[`marginBottom-logo-${COMP$
|
|
26857
|
-
[`boxShadow-${COMP$
|
|
26906
|
+
[`horizontalAlignment-logo-${COMP$S}`]: "center",
|
|
26907
|
+
[`backgroundColor-${COMP$S}`]: "$backgroundColor",
|
|
26908
|
+
[`backgroundColor-${COMP$S}-horizontal`]: "$backgroundColor-AppHeader",
|
|
26909
|
+
[`border-${COMP$S}`]: "0px solid $borderColor",
|
|
26910
|
+
[`paddingHorizontal-${COMP$S}`]: "0",
|
|
26911
|
+
[`paddingVertical-logo-${COMP$S}`]: "$space-4",
|
|
26912
|
+
[`paddingHorizontal-logo-${COMP$S}`]: "$space-4",
|
|
26913
|
+
[`marginBottom-logo-${COMP$S}`]: "$space-4",
|
|
26914
|
+
[`boxShadow-${COMP$S}-vertical`]: "4px 0 4px 0 rgb(0 0 0 / 10%)"
|
|
26858
26915
|
}
|
|
26859
26916
|
});
|
|
26860
26917
|
function NavPanelWithBuiltNavHierarchy({
|
|
@@ -26880,7 +26937,7 @@ function NavPanelWithBuiltNavHierarchy({
|
|
|
26880
26937
|
);
|
|
26881
26938
|
}
|
|
26882
26939
|
const navPanelRenderer = createComponentRenderer(
|
|
26883
|
-
COMP$
|
|
26940
|
+
COMP$S,
|
|
26884
26941
|
NavPanelMd,
|
|
26885
26942
|
({ node, renderChild: renderChild2, className, layoutContext, extractValue }) => {
|
|
26886
26943
|
return /* @__PURE__ */ jsx(
|
|
@@ -26996,7 +27053,7 @@ const pageRenderer = createComponentRenderer(
|
|
|
26996
27053
|
) });
|
|
26997
27054
|
}
|
|
26998
27055
|
);
|
|
26999
|
-
const COMP$
|
|
27056
|
+
const COMP$R = "Pages";
|
|
27000
27057
|
const PagesMd = createMetadata({
|
|
27001
27058
|
status: "stable",
|
|
27002
27059
|
description: "`Pages` serves as the routing coordinator within an [App](/components/App), managing which [Page](/components/Page) displays based on the current URL.",
|
|
@@ -27008,7 +27065,7 @@ const PagesMd = createMetadata({
|
|
|
27008
27065
|
}
|
|
27009
27066
|
});
|
|
27010
27067
|
const pagesRenderer = createComponentRenderer(
|
|
27011
|
-
COMP$
|
|
27068
|
+
COMP$R,
|
|
27012
27069
|
PagesMd,
|
|
27013
27070
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
27014
27071
|
return /* @__PURE__ */ jsx(
|
|
@@ -27050,22 +27107,22 @@ const Footer = forwardRef(function Footer2({
|
|
|
27050
27107
|
}
|
|
27051
27108
|
) });
|
|
27052
27109
|
});
|
|
27053
|
-
const COMP$
|
|
27110
|
+
const COMP$Q = "Footer";
|
|
27054
27111
|
const FooterMd = createMetadata({
|
|
27055
27112
|
status: "stable",
|
|
27056
27113
|
description: "`Footer` provides a designated area at the bottom of your application for footer content such as branding, copyright notices, or utility controls like theme toggles.",
|
|
27057
27114
|
themeVars: parseScssVar(styles$q.themeVars),
|
|
27058
27115
|
limitThemeVarsToComponent: true,
|
|
27059
27116
|
defaultThemeVars: {
|
|
27060
|
-
[`backgroundColor-${COMP$
|
|
27061
|
-
[`verticalAlignment-${COMP$
|
|
27062
|
-
[`fontSize-${COMP$
|
|
27063
|
-
[`textColor-${COMP$
|
|
27064
|
-
[`maxWidth-content-${COMP$
|
|
27065
|
-
[`borderTop-${COMP$
|
|
27066
|
-
[`padding-${COMP$
|
|
27067
|
-
[`gap-${COMP$
|
|
27068
|
-
[`margin-${COMP$
|
|
27117
|
+
[`backgroundColor-${COMP$Q}`]: "$backgroundColor-AppHeader",
|
|
27118
|
+
[`verticalAlignment-${COMP$Q}`]: "center",
|
|
27119
|
+
[`fontSize-${COMP$Q}`]: "$fontSize-sm",
|
|
27120
|
+
[`textColor-${COMP$Q}`]: "$textColor-secondary",
|
|
27121
|
+
[`maxWidth-content-${COMP$Q}`]: "$maxWidth-content",
|
|
27122
|
+
[`borderTop-${COMP$Q}`]: `1px solid $borderColor`,
|
|
27123
|
+
[`padding-${COMP$Q}`]: "$space-2 $space-4",
|
|
27124
|
+
[`gap-${COMP$Q}`]: "$space-normal",
|
|
27125
|
+
[`margin-${COMP$Q}`]: `0 auto`,
|
|
27069
27126
|
light: {
|
|
27070
27127
|
// --- No light-specific theme vars
|
|
27071
27128
|
},
|
|
@@ -27075,7 +27132,7 @@ const FooterMd = createMetadata({
|
|
|
27075
27132
|
}
|
|
27076
27133
|
});
|
|
27077
27134
|
const footerRenderer = createComponentRenderer(
|
|
27078
|
-
COMP$
|
|
27135
|
+
COMP$Q,
|
|
27079
27136
|
FooterMd,
|
|
27080
27137
|
({ node, renderChild: renderChild2, className, layoutContext }) => {
|
|
27081
27138
|
return /* @__PURE__ */ jsx(Footer, { className: classnames(layoutContext == null ? void 0 : layoutContext.themeClassName, className), children: renderChild2(node.children, {
|
|
@@ -27084,7 +27141,7 @@ const footerRenderer = createComponentRenderer(
|
|
|
27084
27141
|
}) });
|
|
27085
27142
|
}
|
|
27086
27143
|
);
|
|
27087
|
-
const COMP$
|
|
27144
|
+
const COMP$P = "NavGroup";
|
|
27088
27145
|
const NavGroupMd = createMetadata({
|
|
27089
27146
|
status: "stable",
|
|
27090
27147
|
description: "`NavGroup` creates collapsible containers for organizing related navigation items into hierarchical menu structures. It groups `NavLink` components and other `NavGroup` components, providing expandable submenus with customizable icons and states.",
|
|
@@ -27099,7 +27156,7 @@ const NavGroupMd = createMetadata({
|
|
|
27099
27156
|
valueType: "string"
|
|
27100
27157
|
},
|
|
27101
27158
|
icon: {
|
|
27102
|
-
description: `This property defines an optional icon to display along with the \`${COMP$
|
|
27159
|
+
description: `This property defines an optional icon to display along with the \`${COMP$P}\` label.`,
|
|
27103
27160
|
valueType: "string"
|
|
27104
27161
|
},
|
|
27105
27162
|
iconHorizontalExpanded: {
|
|
@@ -27125,13 +27182,13 @@ const NavGroupMd = createMetadata({
|
|
|
27125
27182
|
},
|
|
27126
27183
|
themeVars: parseScssVar(styles$18.themeVars),
|
|
27127
27184
|
defaultThemeVars: {
|
|
27128
|
-
[`backgroundColor-dropdown-${COMP$
|
|
27129
|
-
[`borderRadius-dropdown-${COMP$
|
|
27130
|
-
[`boxShadow-dropdown-${COMP$
|
|
27185
|
+
[`backgroundColor-dropdown-${COMP$P}`]: "$backgroundColor-primary",
|
|
27186
|
+
[`borderRadius-dropdown-${COMP$P}`]: "$borderRadius",
|
|
27187
|
+
[`boxShadow-dropdown-${COMP$P}`]: "$boxShadow-spread"
|
|
27131
27188
|
}
|
|
27132
27189
|
});
|
|
27133
27190
|
const navGroupComponentRenderer = createComponentRenderer(
|
|
27134
|
-
COMP$
|
|
27191
|
+
COMP$P,
|
|
27135
27192
|
NavGroupMd,
|
|
27136
27193
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
27137
27194
|
return /* @__PURE__ */ jsx(
|
|
@@ -27152,7 +27209,7 @@ const navGroupComponentRenderer = createComponentRenderer(
|
|
|
27152
27209
|
);
|
|
27153
27210
|
}
|
|
27154
27211
|
);
|
|
27155
|
-
const COMP$
|
|
27212
|
+
const COMP$O = "Logo";
|
|
27156
27213
|
const LogoMd = createMetadata({
|
|
27157
27214
|
status: "stable",
|
|
27158
27215
|
description: "`Logo` displays your application's brand symbol by automatically loading logo images defined in the app manifest. While logos are typically configured using App-level properties (`logo`, `logo-dark`), this component provides direct control when you need custom logo placement or templating.",
|
|
@@ -27170,7 +27227,7 @@ const LogoMd = createMetadata({
|
|
|
27170
27227
|
}
|
|
27171
27228
|
});
|
|
27172
27229
|
const logoComponentRenderer = createComponentRenderer(
|
|
27173
|
-
COMP$
|
|
27230
|
+
COMP$O,
|
|
27174
27231
|
LogoMd,
|
|
27175
27232
|
({ node, className, extractValue }) => {
|
|
27176
27233
|
return /* @__PURE__ */ jsx(
|
|
@@ -27183,7 +27240,7 @@ const logoComponentRenderer = createComponentRenderer(
|
|
|
27183
27240
|
);
|
|
27184
27241
|
}
|
|
27185
27242
|
);
|
|
27186
|
-
const COMP$
|
|
27243
|
+
const COMP$N = "RadioGroup";
|
|
27187
27244
|
const RGOption = `RadioGroupOption`;
|
|
27188
27245
|
const RadioGroupMd = createMetadata({
|
|
27189
27246
|
status: "stable",
|
|
@@ -27212,13 +27269,13 @@ const RadioGroupMd = createMetadata({
|
|
|
27212
27269
|
),
|
|
27213
27270
|
label: dLabel(),
|
|
27214
27271
|
labelPosition: dLabelPosition("top"),
|
|
27215
|
-
labelWidth: dLabelWidth(COMP$
|
|
27216
|
-
labelBreak: dLabelBreak(COMP$
|
|
27272
|
+
labelWidth: dLabelWidth(COMP$N),
|
|
27273
|
+
labelBreak: dLabelBreak(COMP$N)
|
|
27217
27274
|
},
|
|
27218
27275
|
events: {
|
|
27219
|
-
gotFocus: dGotFocus(COMP$
|
|
27220
|
-
lostFocus: dLostFocus(COMP$
|
|
27221
|
-
didChange: dDidChange(COMP$
|
|
27276
|
+
gotFocus: dGotFocus(COMP$N),
|
|
27277
|
+
lostFocus: dLostFocus(COMP$N),
|
|
27278
|
+
didChange: dDidChange(COMP$N)
|
|
27222
27279
|
},
|
|
27223
27280
|
themeVars: parseScssVar(styles$I.themeVars),
|
|
27224
27281
|
defaultThemeVars: {
|
|
@@ -27240,7 +27297,7 @@ const RadioGroupMd = createMetadata({
|
|
|
27240
27297
|
}
|
|
27241
27298
|
});
|
|
27242
27299
|
const radioGroupRenderer = createComponentRenderer(
|
|
27243
|
-
COMP$
|
|
27300
|
+
COMP$N,
|
|
27244
27301
|
RadioGroupMd,
|
|
27245
27302
|
({
|
|
27246
27303
|
node,
|
|
@@ -27277,7 +27334,7 @@ const radioGroupRenderer = createComponentRenderer(
|
|
|
27277
27334
|
);
|
|
27278
27335
|
}
|
|
27279
27336
|
);
|
|
27280
|
-
const COMP$
|
|
27337
|
+
const COMP$M = "Slot";
|
|
27281
27338
|
const SlotMd = createMetadata({
|
|
27282
27339
|
status: "experimental",
|
|
27283
27340
|
description: "Placeholder in a reusable component. Signs the slot where the component's injected children should be rendered.",
|
|
@@ -27287,8 +27344,8 @@ const SlotMd = createMetadata({
|
|
|
27287
27344
|
allowArbitraryProps: true,
|
|
27288
27345
|
opaque: true
|
|
27289
27346
|
});
|
|
27290
|
-
const SlotHolder = createPropHolderComponent(COMP$
|
|
27291
|
-
const COMP$
|
|
27347
|
+
const SlotHolder = createPropHolderComponent(COMP$M, SlotMd);
|
|
27348
|
+
const COMP$L = "FileInput";
|
|
27292
27349
|
const DEFAULT_ICON = "browse:FileInput";
|
|
27293
27350
|
const FileInputMd = createMetadata({
|
|
27294
27351
|
status: "stable",
|
|
@@ -27303,12 +27360,12 @@ const FileInputMd = createMetadata({
|
|
|
27303
27360
|
validationStatus: dValidationStatus(),
|
|
27304
27361
|
label: dLabel(),
|
|
27305
27362
|
labelPosition: dLabelPosition("top"),
|
|
27306
|
-
labelWidth: dLabelWidth(COMP$
|
|
27307
|
-
labelBreak: dLabelBreak(COMP$
|
|
27363
|
+
labelWidth: dLabelWidth(COMP$L),
|
|
27364
|
+
labelBreak: dLabelBreak(COMP$L),
|
|
27308
27365
|
buttonVariant: d("The button variant to use", buttonVariantNames),
|
|
27309
27366
|
buttonLabel: d(`This property is an optional string to set a label for the button part.`),
|
|
27310
27367
|
buttonIcon: d(
|
|
27311
|
-
`The ID of the icon to display in the button. You can change the default icon for all ${COMP$
|
|
27368
|
+
`The ID of the icon to display in the button. You can change the default icon for all ${COMP$L} instances with the "icon.browse:FileInput" declaration in the app configuration file.`
|
|
27312
27369
|
),
|
|
27313
27370
|
buttonIconPosition: d(
|
|
27314
27371
|
`This optional string determines the location of the button icon.`,
|
|
@@ -27351,9 +27408,9 @@ const FileInputMd = createMetadata({
|
|
|
27351
27408
|
)
|
|
27352
27409
|
},
|
|
27353
27410
|
events: {
|
|
27354
|
-
didChange: dDidChange(COMP$
|
|
27355
|
-
gotFocus: dGotFocus(COMP$
|
|
27356
|
-
lostFocus: dLostFocus(COMP$
|
|
27411
|
+
didChange: dDidChange(COMP$L),
|
|
27412
|
+
gotFocus: dGotFocus(COMP$L),
|
|
27413
|
+
lostFocus: dLostFocus(COMP$L)
|
|
27357
27414
|
},
|
|
27358
27415
|
apis: {
|
|
27359
27416
|
value: {
|
|
@@ -27379,7 +27436,7 @@ const FileInputMd = createMetadata({
|
|
|
27379
27436
|
themeVars: parseScssVar(styles$L.themeVars)
|
|
27380
27437
|
});
|
|
27381
27438
|
const fileInputRenderer = createComponentRenderer(
|
|
27382
|
-
COMP$
|
|
27439
|
+
COMP$L,
|
|
27383
27440
|
FileInputMd,
|
|
27384
27441
|
({ node, state, updateState, extractValue, lookupEventHandler, registerComponentApi, className }) => {
|
|
27385
27442
|
const iconName = extractValue.asOptionalString(node.props.buttonIcon) || DEFAULT_ICON;
|
|
@@ -27417,7 +27474,7 @@ const fileInputRenderer = createComponentRenderer(
|
|
|
27417
27474
|
);
|
|
27418
27475
|
}
|
|
27419
27476
|
);
|
|
27420
|
-
const COMP$
|
|
27477
|
+
const COMP$K = "Spinner";
|
|
27421
27478
|
const SpinnerMd = createMetadata({
|
|
27422
27479
|
status: "stable",
|
|
27423
27480
|
description: "`Spinner` is an animated indicator that represents an action in progress with no deterministic progress value.",
|
|
@@ -27435,13 +27492,13 @@ const SpinnerMd = createMetadata({
|
|
|
27435
27492
|
},
|
|
27436
27493
|
themeVars: parseScssVar(styles$1j.themeVars),
|
|
27437
27494
|
defaultThemeVars: {
|
|
27438
|
-
[`size-${COMP$
|
|
27439
|
-
[`thickness-${COMP$
|
|
27440
|
-
[`borderColor-${COMP$
|
|
27495
|
+
[`size-${COMP$K}`]: "$space-10",
|
|
27496
|
+
[`thickness-${COMP$K}`]: "$space-0_5",
|
|
27497
|
+
[`borderColor-${COMP$K}`]: "$color-surface-400"
|
|
27441
27498
|
}
|
|
27442
27499
|
});
|
|
27443
27500
|
const spinnerComponentRenderer = createComponentRenderer(
|
|
27444
|
-
COMP$
|
|
27501
|
+
COMP$K,
|
|
27445
27502
|
SpinnerMd,
|
|
27446
27503
|
({ node, className, extractValue }) => {
|
|
27447
27504
|
return /* @__PURE__ */ jsx(
|
|
@@ -27454,7 +27511,7 @@ const spinnerComponentRenderer = createComponentRenderer(
|
|
|
27454
27511
|
);
|
|
27455
27512
|
}
|
|
27456
27513
|
);
|
|
27457
|
-
const COMP$
|
|
27514
|
+
const COMP$J = "Select";
|
|
27458
27515
|
const SelectMd = createMetadata({
|
|
27459
27516
|
status: "stable",
|
|
27460
27517
|
description: "`Select` provides a dropdown interface for choosing from a list of options, supporting both single and multiple selection modes. It offers extensive customization capabilities including search functionality, custom templates, and comprehensive form integration.",
|
|
@@ -27491,9 +27548,9 @@ const SelectMd = createMetadata({
|
|
|
27491
27548
|
},
|
|
27492
27549
|
label: dLabel(),
|
|
27493
27550
|
labelPosition: dLabelPosition("top"),
|
|
27494
|
-
labelWidth: dLabelWidth(COMP$
|
|
27551
|
+
labelWidth: dLabelWidth(COMP$J),
|
|
27495
27552
|
labelBreak: {
|
|
27496
|
-
...dLabelBreak(COMP$
|
|
27553
|
+
...dLabelBreak(COMP$J),
|
|
27497
27554
|
defaultValue: defaultProps$F.labelBreak
|
|
27498
27555
|
},
|
|
27499
27556
|
optionLabelTemplate: dComponent(
|
|
@@ -27529,24 +27586,24 @@ const SelectMd = createMetadata({
|
|
|
27529
27586
|
}
|
|
27530
27587
|
},
|
|
27531
27588
|
events: {
|
|
27532
|
-
gotFocus: dGotFocus(COMP$
|
|
27533
|
-
lostFocus: dLostFocus(COMP$
|
|
27534
|
-
didChange: dDidChange(COMP$
|
|
27589
|
+
gotFocus: dGotFocus(COMP$J),
|
|
27590
|
+
lostFocus: dLostFocus(COMP$J),
|
|
27591
|
+
didChange: dDidChange(COMP$J)
|
|
27535
27592
|
},
|
|
27536
27593
|
apis: {
|
|
27537
27594
|
focus: {
|
|
27538
|
-
description: `This method focuses the \`${COMP$
|
|
27595
|
+
description: `This method focuses the \`${COMP$J}\` component. You can use it to programmatically focus the component.`,
|
|
27539
27596
|
signature: "focus(): void"
|
|
27540
27597
|
},
|
|
27541
27598
|
setValue: {
|
|
27542
|
-
description: `This API sets the value of the \`${COMP$
|
|
27599
|
+
description: `This API sets the value of the \`${COMP$J}\`. You can use it to programmatically change the value.`,
|
|
27543
27600
|
signature: "setValue(value: string | string[] | undefined): void",
|
|
27544
27601
|
parameters: {
|
|
27545
27602
|
value: "The new value to set. Can be a single value or an array of values for multi-select."
|
|
27546
27603
|
}
|
|
27547
27604
|
},
|
|
27548
27605
|
value: {
|
|
27549
|
-
description: `This API retrieves the current value of the \`${COMP$
|
|
27606
|
+
description: `This API retrieves the current value of the \`${COMP$J}\`. You can use it to get the value programmatically.`,
|
|
27550
27607
|
signature: "get value(): string | string[] | undefined"
|
|
27551
27608
|
},
|
|
27552
27609
|
reset: {
|
|
@@ -27560,35 +27617,35 @@ const SelectMd = createMetadata({
|
|
|
27560
27617
|
},
|
|
27561
27618
|
themeVars: parseScssVar(styles$J.themeVars),
|
|
27562
27619
|
defaultThemeVars: {
|
|
27563
|
-
[`backgroundColor-menu-${COMP$
|
|
27564
|
-
[`boxShadow-menu-${COMP$
|
|
27565
|
-
[`borderRadius-menu-${COMP$
|
|
27566
|
-
[`borderWidth-menu-${COMP$
|
|
27567
|
-
[`borderColor-menu-${COMP$
|
|
27568
|
-
[`backgroundColor-${COMP$
|
|
27569
|
-
[`fontSize-${COMP$
|
|
27570
|
-
[`paddingHorizontal-${COMP$
|
|
27571
|
-
[`paddingVertical-${COMP$
|
|
27572
|
-
[`borderRadius-${COMP$
|
|
27573
|
-
[`paddingHorizontal-item-${COMP$
|
|
27574
|
-
[`paddingVertical-item-${COMP$
|
|
27575
|
-
[`paddingHorizontal-${COMP$
|
|
27576
|
-
[`paddingVertical-${COMP$
|
|
27577
|
-
[`opacity-text-item-${COMP$
|
|
27578
|
-
[`opacity-${COMP$
|
|
27579
|
-
[`backgroundColor-${COMP$
|
|
27580
|
-
[`backgroundColor-${COMP$
|
|
27581
|
-
[`textColor-item-${COMP$
|
|
27582
|
-
[`textColor-${COMP$
|
|
27583
|
-
[`backgroundColor-item-${COMP$
|
|
27584
|
-
[`backgroundColor-item-${COMP$
|
|
27585
|
-
[`backgroundColor-item-${COMP$
|
|
27620
|
+
[`backgroundColor-menu-${COMP$J}`]: "$color-surface-raised",
|
|
27621
|
+
[`boxShadow-menu-${COMP$J}`]: "$boxShadow-md",
|
|
27622
|
+
[`borderRadius-menu-${COMP$J}`]: "$borderRadius",
|
|
27623
|
+
[`borderWidth-menu-${COMP$J}`]: "1px",
|
|
27624
|
+
[`borderColor-menu-${COMP$J}`]: "$borderColor",
|
|
27625
|
+
[`backgroundColor-${COMP$J}-badge`]: "$color-primary-500",
|
|
27626
|
+
[`fontSize-${COMP$J}-badge`]: "$fontSize-sm",
|
|
27627
|
+
[`paddingHorizontal-${COMP$J}-badge`]: "$space-2_5",
|
|
27628
|
+
[`paddingVertical-${COMP$J}-badge`]: "$space-0_5",
|
|
27629
|
+
[`borderRadius-${COMP$J}-badge`]: "$borderRadius",
|
|
27630
|
+
[`paddingHorizontal-item-${COMP$J}`]: "$space-2",
|
|
27631
|
+
[`paddingVertical-item-${COMP$J}`]: "$space-2",
|
|
27632
|
+
[`paddingHorizontal-${COMP$J}`]: "$space-2",
|
|
27633
|
+
[`paddingVertical-${COMP$J}`]: "$space-2",
|
|
27634
|
+
[`opacity-text-item-${COMP$J}--disabled`]: "0.5",
|
|
27635
|
+
[`opacity-${COMP$J}--disabled`]: "0.5",
|
|
27636
|
+
[`backgroundColor-${COMP$J}-badge--hover`]: "$color-primary-400",
|
|
27637
|
+
[`backgroundColor-${COMP$J}-badge--active`]: "$color-primary-500",
|
|
27638
|
+
[`textColor-item-${COMP$J}--disabled`]: "$color-surface-200",
|
|
27639
|
+
[`textColor-${COMP$J}-badge`]: "$color-surface-50",
|
|
27640
|
+
[`backgroundColor-item-${COMP$J}`]: "$backgroundColor-dropdown-item",
|
|
27641
|
+
[`backgroundColor-item-${COMP$J}--hover`]: "$backgroundColor-dropdown-item--hover",
|
|
27642
|
+
[`backgroundColor-item-${COMP$J}--active`]: "$backgroundColor-dropdown-item--active",
|
|
27586
27643
|
// Default borderColor-Input--disabled is too light so the disabled component is barely visible
|
|
27587
|
-
[`borderColor-${COMP$
|
|
27644
|
+
[`borderColor-${COMP$J}--disabled`]: "initial"
|
|
27588
27645
|
}
|
|
27589
27646
|
});
|
|
27590
27647
|
const selectComponentRenderer = createComponentRenderer(
|
|
27591
|
-
COMP$
|
|
27648
|
+
COMP$J,
|
|
27592
27649
|
SelectMd,
|
|
27593
27650
|
({
|
|
27594
27651
|
node,
|
|
@@ -27671,7 +27728,7 @@ function compoundComponentDefFromSource(name, componentSource2) {
|
|
|
27671
27728
|
}
|
|
27672
27729
|
return compoundComponentDef;
|
|
27673
27730
|
}
|
|
27674
|
-
const COMP$
|
|
27731
|
+
const COMP$I = "FormSection";
|
|
27675
27732
|
const FormSectionMd = createMetadata({
|
|
27676
27733
|
status: "experimental",
|
|
27677
27734
|
description: "`FormSection` groups elements within a `Form`. Child components are placed in a [FlowLayout](/components/FlowLayout).",
|
|
@@ -27741,14 +27798,14 @@ const componentSource = `
|
|
|
27741
27798
|
</Component>
|
|
27742
27799
|
`;
|
|
27743
27800
|
const formSectionRenderer = {
|
|
27744
|
-
compoundComponentDef: compoundComponentDefFromSource(COMP$
|
|
27801
|
+
compoundComponentDef: compoundComponentDefFromSource(COMP$I, componentSource),
|
|
27745
27802
|
metadata: FormSectionMd
|
|
27746
27803
|
};
|
|
27747
27804
|
const defaultProps$o = {
|
|
27748
27805
|
...defaultProps$$,
|
|
27749
27806
|
labelPosition: "end"
|
|
27750
27807
|
};
|
|
27751
|
-
const COMP$
|
|
27808
|
+
const COMP$H = "Checkbox";
|
|
27752
27809
|
const CheckboxMd = createMetadata({
|
|
27753
27810
|
status: "stable",
|
|
27754
27811
|
description: "`Checkbox` allows users to make binary choices with a clickable box that shows checked/unchecked states. It's essential for settings, preferences, multi-select lists, and accepting terms or conditions.",
|
|
@@ -27764,8 +27821,8 @@ const CheckboxMd = createMetadata({
|
|
|
27764
27821
|
indeterminate: dIndeterminate(defaultProps$$.indeterminate),
|
|
27765
27822
|
label: dLabel(),
|
|
27766
27823
|
labelPosition: dLabelPosition(defaultProps$o.labelPosition),
|
|
27767
|
-
labelWidth: dLabelWidth(COMP$
|
|
27768
|
-
labelBreak: dLabelBreak(COMP$
|
|
27824
|
+
labelWidth: dLabelWidth(COMP$H),
|
|
27825
|
+
labelBreak: dLabelBreak(COMP$H),
|
|
27769
27826
|
required: dRequired(),
|
|
27770
27827
|
initialValue: dInitialValue(defaultProps$$.initialValue),
|
|
27771
27828
|
autoFocus: dAutoFocus(),
|
|
@@ -27773,24 +27830,24 @@ const CheckboxMd = createMetadata({
|
|
|
27773
27830
|
enabled: dEnabled(),
|
|
27774
27831
|
validationStatus: dValidationStatus(defaultProps$$.validationStatus),
|
|
27775
27832
|
description: dInternal(
|
|
27776
|
-
`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${COMP$
|
|
27833
|
+
`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${COMP$H} besides its label.`
|
|
27777
27834
|
),
|
|
27778
27835
|
inputTemplate: dComponent("This property is used to define a custom checkbox input template")
|
|
27779
27836
|
},
|
|
27780
27837
|
childrenAsTemplate: "inputTemplate",
|
|
27781
27838
|
events: {
|
|
27782
|
-
click: dClick(COMP$
|
|
27783
|
-
gotFocus: dGotFocus(COMP$
|
|
27784
|
-
lostFocus: dLostFocus(COMP$
|
|
27785
|
-
didChange: dDidChange(COMP$
|
|
27839
|
+
click: dClick(COMP$H),
|
|
27840
|
+
gotFocus: dGotFocus(COMP$H),
|
|
27841
|
+
lostFocus: dLostFocus(COMP$H),
|
|
27842
|
+
didChange: dDidChange(COMP$H)
|
|
27786
27843
|
},
|
|
27787
27844
|
apis: {
|
|
27788
27845
|
value: {
|
|
27789
|
-
description: `This method returns the current value of the ${COMP$
|
|
27846
|
+
description: `This method returns the current value of the ${COMP$H}.`,
|
|
27790
27847
|
signature: "get value(): boolean"
|
|
27791
27848
|
},
|
|
27792
27849
|
setValue: {
|
|
27793
|
-
description: `This method sets the current value of the ${COMP$
|
|
27850
|
+
description: `This method sets the current value of the ${COMP$H}.`,
|
|
27794
27851
|
signature: "set value(value: boolean): void",
|
|
27795
27852
|
parameters: {
|
|
27796
27853
|
value: "The new value to set for the checkbox."
|
|
@@ -27800,20 +27857,20 @@ const CheckboxMd = createMetadata({
|
|
|
27800
27857
|
themeVars: parseScssVar(styles$11.themeVars),
|
|
27801
27858
|
limitThemeVarsToComponent: true,
|
|
27802
27859
|
defaultThemeVars: {
|
|
27803
|
-
[`borderColor-checked-${COMP$
|
|
27804
|
-
[`backgroundColor-checked-${COMP$
|
|
27805
|
-
[`borderColor-checked-${COMP$
|
|
27806
|
-
[`backgroundColor-checked-${COMP$
|
|
27807
|
-
[`borderColor-checked-${COMP$
|
|
27808
|
-
[`backgroundColor-checked-${COMP$
|
|
27809
|
-
[`backgroundColor-indicator-${COMP$
|
|
27810
|
-
[`borderColor-checked-${COMP$
|
|
27811
|
-
[`backgroundColor-checked-${COMP$
|
|
27812
|
-
[`backgroundColor-${COMP$
|
|
27860
|
+
[`borderColor-checked-${COMP$H}-error`]: `$borderColor-${COMP$H}-error`,
|
|
27861
|
+
[`backgroundColor-checked-${COMP$H}-error`]: `$borderColor-${COMP$H}-error`,
|
|
27862
|
+
[`borderColor-checked-${COMP$H}-warning`]: `$borderColor-${COMP$H}-warning`,
|
|
27863
|
+
[`backgroundColor-checked-${COMP$H}-warning`]: `$borderColor-${COMP$H}-warning`,
|
|
27864
|
+
[`borderColor-checked-${COMP$H}-success`]: `$borderColor-${COMP$H}-success`,
|
|
27865
|
+
[`backgroundColor-checked-${COMP$H}-success`]: `$borderColor-${COMP$H}-success`,
|
|
27866
|
+
[`backgroundColor-indicator-${COMP$H}`]: "$backgroundColor-primary",
|
|
27867
|
+
[`borderColor-checked-${COMP$H}`]: "$color-primary-500",
|
|
27868
|
+
[`backgroundColor-checked-${COMP$H}`]: "$color-primary-500",
|
|
27869
|
+
[`backgroundColor-${COMP$H}--disabled`]: "$color-surface-200"
|
|
27813
27870
|
}
|
|
27814
27871
|
});
|
|
27815
27872
|
const checkboxComponentRenderer = createComponentRenderer(
|
|
27816
|
-
COMP$
|
|
27873
|
+
COMP$H,
|
|
27817
27874
|
CheckboxMd,
|
|
27818
27875
|
({
|
|
27819
27876
|
node,
|
|
@@ -27865,7 +27922,7 @@ const checkboxComponentRenderer = createComponentRenderer(
|
|
|
27865
27922
|
);
|
|
27866
27923
|
}
|
|
27867
27924
|
);
|
|
27868
|
-
const COMP$
|
|
27925
|
+
const COMP$G = "Switch";
|
|
27869
27926
|
const SwitchMd = createMetadata({
|
|
27870
27927
|
status: "stable",
|
|
27871
27928
|
description: "`Switch` enables users to toggle between two states: on and off.",
|
|
@@ -27880,8 +27937,8 @@ const SwitchMd = createMetadata({
|
|
|
27880
27937
|
props: {
|
|
27881
27938
|
label: dLabel(),
|
|
27882
27939
|
labelPosition: dLabelPosition("end"),
|
|
27883
|
-
labelWidth: dLabelWidth(COMP$
|
|
27884
|
-
labelBreak: dLabelBreak(COMP$
|
|
27940
|
+
labelWidth: dLabelWidth(COMP$G),
|
|
27941
|
+
labelBreak: dLabelBreak(COMP$G),
|
|
27885
27942
|
required: dRequired(),
|
|
27886
27943
|
initialValue: dInitialValue(defaultProps$$.initialValue),
|
|
27887
27944
|
autoFocus: dAutoFocus(),
|
|
@@ -27889,22 +27946,22 @@ const SwitchMd = createMetadata({
|
|
|
27889
27946
|
enabled: dEnabled(),
|
|
27890
27947
|
validationStatus: dValidationStatus(defaultProps$$.validationStatus),
|
|
27891
27948
|
description: dInternal(
|
|
27892
|
-
`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${COMP$
|
|
27949
|
+
`(*** NOT IMPLEMENTED YET ***) This optional property displays an alternate description of the ${COMP$G} besides its label.`
|
|
27893
27950
|
)
|
|
27894
27951
|
},
|
|
27895
27952
|
events: {
|
|
27896
|
-
click: dClick(COMP$
|
|
27897
|
-
gotFocus: dGotFocus(COMP$
|
|
27898
|
-
lostFocus: dLostFocus(COMP$
|
|
27899
|
-
didChange: dDidChange(COMP$
|
|
27953
|
+
click: dClick(COMP$G),
|
|
27954
|
+
gotFocus: dGotFocus(COMP$G),
|
|
27955
|
+
lostFocus: dLostFocus(COMP$G),
|
|
27956
|
+
didChange: dDidChange(COMP$G)
|
|
27900
27957
|
},
|
|
27901
27958
|
apis: {
|
|
27902
27959
|
value: {
|
|
27903
|
-
description: `This property holds the current value of the ${COMP$
|
|
27960
|
+
description: `This property holds the current value of the ${COMP$G}, which can be either "true" (on) or "false" (off).`,
|
|
27904
27961
|
signature: "get value():boolean"
|
|
27905
27962
|
},
|
|
27906
27963
|
setValue: {
|
|
27907
|
-
description: `This API sets the value of the \`${COMP$
|
|
27964
|
+
description: `This API sets the value of the \`${COMP$G}\`. You can use it to programmatically change the value.`,
|
|
27908
27965
|
signature: "setValue(value: boolean): void",
|
|
27909
27966
|
parameters: {
|
|
27910
27967
|
value: "The new value to set. Can be either true (on) or false (off)."
|
|
@@ -27914,28 +27971,28 @@ const SwitchMd = createMetadata({
|
|
|
27914
27971
|
themeVars: parseScssVar(styles$11.themeVars),
|
|
27915
27972
|
limitThemeVarsToComponent: true,
|
|
27916
27973
|
defaultThemeVars: {
|
|
27917
|
-
[`borderColor-checked-${COMP$
|
|
27918
|
-
[`backgroundColor-checked-${COMP$
|
|
27919
|
-
[`borderColor-checked-${COMP$
|
|
27920
|
-
[`backgroundColor-checked-${COMP$
|
|
27921
|
-
[`borderColor-checked-${COMP$
|
|
27922
|
-
[`backgroundColor-checked-${COMP$
|
|
27923
|
-
[`backgroundColor-${COMP$
|
|
27924
|
-
[`borderColor-${COMP$
|
|
27925
|
-
[`borderWidth-${COMP$
|
|
27926
|
-
[`backgroundColor-indicator-${COMP$
|
|
27927
|
-
[`backgroundColor-${COMP$
|
|
27928
|
-
[`backgroundColor-indicator-checked-${COMP$
|
|
27929
|
-
[`borderColor-checked-${COMP$
|
|
27930
|
-
[`backgroundColor-checked-${COMP$
|
|
27931
|
-
[`backgroundColor-${COMP$
|
|
27974
|
+
[`borderColor-checked-${COMP$G}-error`]: `$borderColor-${COMP$G}-error`,
|
|
27975
|
+
[`backgroundColor-checked-${COMP$G}-error`]: `$borderColor-${COMP$G}-error`,
|
|
27976
|
+
[`borderColor-checked-${COMP$G}-warning`]: `$borderColor-${COMP$G}-warning`,
|
|
27977
|
+
[`backgroundColor-checked-${COMP$G}-warning`]: `$borderColor-${COMP$G}-warning`,
|
|
27978
|
+
[`borderColor-checked-${COMP$G}-success`]: `$borderColor-${COMP$G}-success`,
|
|
27979
|
+
[`backgroundColor-checked-${COMP$G}-success`]: `$borderColor-${COMP$G}-success`,
|
|
27980
|
+
[`backgroundColor-${COMP$G}`]: "$color-surface-0",
|
|
27981
|
+
[`borderColor-${COMP$G}`]: "$color-surface-200",
|
|
27982
|
+
[`borderWidth-${COMP$G}`]: "1px",
|
|
27983
|
+
[`backgroundColor-indicator-${COMP$G}`]: "$color-surface-400",
|
|
27984
|
+
[`backgroundColor-${COMP$G}-indicator--disabled`]: "$backgroundColor-primary",
|
|
27985
|
+
[`backgroundColor-indicator-checked-${COMP$G}`]: "$backgroundColor-primary",
|
|
27986
|
+
[`borderColor-checked-${COMP$G}`]: "$color-primary-500",
|
|
27987
|
+
[`backgroundColor-checked-${COMP$G}`]: "$color-primary-500",
|
|
27988
|
+
[`backgroundColor-${COMP$G}--disabled`]: "$color-surface-200",
|
|
27932
27989
|
dark: {
|
|
27933
|
-
[`backgroundColor-indicator-${COMP$
|
|
27990
|
+
[`backgroundColor-indicator-${COMP$G}`]: "$color-surface-500"
|
|
27934
27991
|
}
|
|
27935
27992
|
}
|
|
27936
27993
|
});
|
|
27937
27994
|
const switchComponentRenderer = createComponentRenderer(
|
|
27938
|
-
COMP$
|
|
27995
|
+
COMP$G,
|
|
27939
27996
|
SwitchMd,
|
|
27940
27997
|
({
|
|
27941
27998
|
node,
|
|
@@ -27993,13 +28050,13 @@ const SlotItem = memo(
|
|
|
27993
28050
|
}
|
|
27994
28051
|
);
|
|
27995
28052
|
SlotItem.displayName = "SlotItem";
|
|
27996
|
-
const COMP$
|
|
28053
|
+
const COMP$F = "AppHeader";
|
|
27997
28054
|
const AppHeaderMd = createMetadata({
|
|
27998
28055
|
status: "stable",
|
|
27999
28056
|
description: "`AppHeader` defines the top navigation bar of your application within the [`App`](/components/App) component. It automatically handles logo placement, application title, and user profile areas with built-in responsive behavior.",
|
|
28000
28057
|
props: {
|
|
28001
28058
|
profileMenuTemplate: dComponent(
|
|
28002
|
-
`This property makes the profile menu slot of the \`${COMP$
|
|
28059
|
+
`This property makes the profile menu slot of the \`${COMP$F}\` component customizable.`
|
|
28003
28060
|
),
|
|
28004
28061
|
logoTemplate: dComponent(
|
|
28005
28062
|
"This property defines the template to use for the logo. With this property, you can construct your custom logo instead of using a single image."
|
|
@@ -28019,23 +28076,23 @@ const AppHeaderMd = createMetadata({
|
|
|
28019
28076
|
},
|
|
28020
28077
|
themeVars: parseScssVar(styles$1b.themeVars),
|
|
28021
28078
|
themeVarDescriptions: {
|
|
28022
|
-
[`padding‑logo‑${COMP$
|
|
28023
|
-
[`width‑logo‑${COMP$
|
|
28079
|
+
[`padding‑logo‑${COMP$F}`]: "This theme variable sets the padding of the logo in the app header (including all `padding` variants, such as `paddingLeft-logo-AppHeader` and others).",
|
|
28080
|
+
[`width‑logo‑${COMP$F}`]: "Sets the width of the displayed logo"
|
|
28024
28081
|
},
|
|
28025
28082
|
defaultThemeVars: {
|
|
28026
|
-
[`padding-drawerToggle-${COMP$
|
|
28027
|
-
[`height-${COMP$
|
|
28028
|
-
[`maxWidth-content-${COMP$
|
|
28029
|
-
[`maxWidth-${COMP$
|
|
28030
|
-
[`borderBottom-${COMP$
|
|
28031
|
-
...paddingSubject(`logo-${COMP$
|
|
28032
|
-
...paddingSubject(COMP$
|
|
28033
|
-
[`borderRadius-${COMP$
|
|
28034
|
-
[`backgroundColor-${COMP$
|
|
28083
|
+
[`padding-drawerToggle-${COMP$F}`]: "$space-0_5",
|
|
28084
|
+
[`height-${COMP$F}`]: "$space-14",
|
|
28085
|
+
[`maxWidth-content-${COMP$F}`]: "$maxWidth-content-App",
|
|
28086
|
+
[`maxWidth-${COMP$F}`]: "$maxWidth-App",
|
|
28087
|
+
[`borderBottom-${COMP$F}`]: "1px solid $borderColor",
|
|
28088
|
+
...paddingSubject(`logo-${COMP$F}`, { horizontal: "$space-0", vertical: "$space-0" }),
|
|
28089
|
+
...paddingSubject(COMP$F, { horizontal: "$space-4", vertical: "$space-0" }),
|
|
28090
|
+
[`borderRadius-${COMP$F}`]: "0px",
|
|
28091
|
+
[`backgroundColor-${COMP$F}`]: "$color-surface-raised"
|
|
28035
28092
|
}
|
|
28036
28093
|
});
|
|
28037
28094
|
const appHeaderComponentRenderer = createComponentRenderer(
|
|
28038
|
-
COMP$
|
|
28095
|
+
COMP$F,
|
|
28039
28096
|
AppHeaderMd,
|
|
28040
28097
|
({ node, renderChild: renderChild2, className, layoutContext, extractValue }) => {
|
|
28041
28098
|
var _a2, _b;
|
|
@@ -28279,7 +28336,7 @@ const MenuSeparatorMd = createMetadata({
|
|
|
28279
28336
|
const menuSeparatorRenderer = createComponentRenderer(MSEP, MenuSeparatorMd, () => {
|
|
28280
28337
|
return /* @__PURE__ */ jsx(MenuSeparator, {});
|
|
28281
28338
|
});
|
|
28282
|
-
const COMP$
|
|
28339
|
+
const COMP$E = "ExpandableItem";
|
|
28283
28340
|
const ExpandableItemMd = createMetadata({
|
|
28284
28341
|
status: "stable",
|
|
28285
28342
|
description: "`ExpandableItem` creates expandable/collapsible section, similar to the HTML details disclosure element. When the user clicks on the `summary` the content expands or collapses.",
|
|
@@ -28343,28 +28400,28 @@ const ExpandableItemMd = createMetadata({
|
|
|
28343
28400
|
themeVars: parseScssVar(styles$y.themeVars),
|
|
28344
28401
|
limitThemeVarsToComponent: true,
|
|
28345
28402
|
defaultThemeVars: {
|
|
28346
|
-
[`backgroundColor-${COMP$
|
|
28347
|
-
[`color-${COMP$
|
|
28348
|
-
[`color-${COMP$
|
|
28349
|
-
[`fontFamily-${COMP$
|
|
28350
|
-
[`borderColor-${COMP$
|
|
28351
|
-
[`borderWidth-${COMP$
|
|
28352
|
-
[`borderBottomWidth-${COMP$
|
|
28353
|
-
[`borderStyle-${COMP$
|
|
28354
|
-
[`borderRadius-${COMP$
|
|
28355
|
-
[`paddingTop-${COMP$
|
|
28356
|
-
[`paddingBottom-${COMP$
|
|
28357
|
-
[`paddingLeft-${COMP$
|
|
28358
|
-
[`paddingRight-${COMP$
|
|
28359
|
-
[`gap-${COMP$
|
|
28360
|
-
[`paddingLeft-content-${COMP$
|
|
28361
|
-
[`paddingRight-content-${COMP$
|
|
28362
|
-
[`paddingVertical-content-${COMP$
|
|
28363
|
-
[`transition-${COMP$
|
|
28403
|
+
[`backgroundColor-${COMP$E}`]: "transparent",
|
|
28404
|
+
[`color-${COMP$E}`]: "$textColor-primary",
|
|
28405
|
+
[`color-${COMP$E}--disabled`]: "$textColor--disabled",
|
|
28406
|
+
[`fontFamily-${COMP$E}`]: "$fontFamily",
|
|
28407
|
+
[`borderColor-${COMP$E}`]: "$borderColor",
|
|
28408
|
+
[`borderWidth-${COMP$E}`]: "0",
|
|
28409
|
+
[`borderBottomWidth-${COMP$E}`]: "1px",
|
|
28410
|
+
[`borderStyle-${COMP$E}`]: "solid",
|
|
28411
|
+
[`borderRadius-${COMP$E}`]: "0",
|
|
28412
|
+
[`paddingTop-${COMP$E}`]: "$space-2",
|
|
28413
|
+
[`paddingBottom-${COMP$E}`]: "$space-2",
|
|
28414
|
+
[`paddingLeft-${COMP$E}`]: "$space-0",
|
|
28415
|
+
[`paddingRight-${COMP$E}`]: "$space-0",
|
|
28416
|
+
[`gap-${COMP$E}`]: "$space-2",
|
|
28417
|
+
[`paddingLeft-content-${COMP$E}`]: "$space-3",
|
|
28418
|
+
[`paddingRight-content-${COMP$E}`]: "$space-3",
|
|
28419
|
+
[`paddingVertical-content-${COMP$E}`]: "$space-2",
|
|
28420
|
+
[`transition-${COMP$E}`]: "0.2s ease"
|
|
28364
28421
|
}
|
|
28365
28422
|
});
|
|
28366
28423
|
const expandableItemComponentRenderer = createComponentRenderer(
|
|
28367
|
-
COMP$
|
|
28424
|
+
COMP$E,
|
|
28368
28425
|
ExpandableItemMd,
|
|
28369
28426
|
({ node, renderChild: renderChild2, lookupEventHandler, registerComponentApi, extractValue, className }) => {
|
|
28370
28427
|
var _a2, _b, _c;
|
|
@@ -28566,7 +28623,7 @@ const RootThemeDefinition = {
|
|
|
28566
28623
|
"outlineStyle--focus": "solid",
|
|
28567
28624
|
"outlineOffset--focus": "0",
|
|
28568
28625
|
// --- The app's default font family
|
|
28569
|
-
|
|
28626
|
+
fontFamily: "$fontFamily-sans-serif",
|
|
28570
28627
|
// --- Various font sizes (relative to the current context)
|
|
28571
28628
|
"fontSize-tiny": "0.625rem",
|
|
28572
28629
|
"fontSize-xs": "0.75rem",
|
|
@@ -28583,32 +28640,16 @@ const RootThemeDefinition = {
|
|
|
28583
28640
|
"fontSize-7xl": "4.5rem",
|
|
28584
28641
|
"fontSize-8xl": "6rem",
|
|
28585
28642
|
"fontSize-9xl": "8rem",
|
|
28586
|
-
// --- Various line height values
|
|
28587
|
-
"lineHeight-tiny": "calc(0.85 / 0.625)",
|
|
28588
|
-
// 1.36
|
|
28589
|
-
"lineHeight-xs": "calc(1 / 0.75)",
|
|
28590
|
-
// 1.33
|
|
28591
|
-
"lineHeight-sm": "calc(1.25 / 0.875)",
|
|
28592
|
-
// 1.43
|
|
28593
|
-
"lineHeight-base": "calc(1.5 / 1)",
|
|
28594
|
-
// 1.5
|
|
28595
|
-
"lineHeight-lg": "calc(1.75 / 1.125)",
|
|
28596
|
-
// 1.56
|
|
28597
|
-
"lineHeight-xl": "calc(1.75 / 1.25)",
|
|
28598
|
-
// 1.4
|
|
28599
|
-
"lineHeight-2xl": "calc(2 / 1.5)",
|
|
28600
|
-
// 1.33
|
|
28601
|
-
"lineHeight-3xl": "calc(2.25 / 1.875)",
|
|
28602
|
-
// 1.2
|
|
28603
|
-
"lineHeight-4xl": "calc(2.5 / 2.25)",
|
|
28604
|
-
// 1.11
|
|
28605
|
-
"lineHeight-5xl": "1",
|
|
28606
|
-
"lineHeight-6xl": "1",
|
|
28607
|
-
"lineHeight-7xl": "1",
|
|
28608
|
-
"lineHeight-8xl": "1",
|
|
28609
|
-
"lineHeight-9xl": "1",
|
|
28610
28643
|
// --- The default font size
|
|
28611
|
-
|
|
28644
|
+
fontSize: "$fontSize-base",
|
|
28645
|
+
// --- Various line height values
|
|
28646
|
+
// --- Default line height values (relative to the base unit, "space-base")
|
|
28647
|
+
"lineHeight-none": "1",
|
|
28648
|
+
"lineHeight-tight": "1.25",
|
|
28649
|
+
"lineHeight-snug": "1.375",
|
|
28650
|
+
"lineHeight-normal": "1.5",
|
|
28651
|
+
"lineHeight-relaxed": "1.625",
|
|
28652
|
+
"lineHeight-loose": "2",
|
|
28612
28653
|
// --- Predefined gap sizes
|
|
28613
28654
|
"gap-none": "$space-0",
|
|
28614
28655
|
"gap-tight": "$space-2",
|
|
@@ -28625,7 +28666,7 @@ const RootThemeDefinition = {
|
|
|
28625
28666
|
"space-normal": "$space-4",
|
|
28626
28667
|
"space-loose": "$space-8",
|
|
28627
28668
|
// --- Font used for body
|
|
28628
|
-
|
|
28669
|
+
fontWeight: "$fontWeight-normal",
|
|
28629
28670
|
// --- Various default values (review them)
|
|
28630
28671
|
"borderColor-dropdown-item": "$borderColor",
|
|
28631
28672
|
// --- Various predefined shadow values
|
|
@@ -28639,14 +28680,14 @@ const RootThemeDefinition = {
|
|
|
28639
28680
|
// --- The default maximum content width
|
|
28640
28681
|
"maxWidth-content": "1320px",
|
|
28641
28682
|
// --- Background colors
|
|
28642
|
-
|
|
28683
|
+
backgroundColor: "$color-surface-subtle",
|
|
28643
28684
|
"backgroundColor-overlay": "rgba(0, 0, 0, 0.2)",
|
|
28644
28685
|
"backgroundColor-dropdown-item--hover": $colorSurface50,
|
|
28645
28686
|
"backgroundColor-dropdown-item--active": $colorSurface100,
|
|
28646
28687
|
"backgroundColor-dropdown-item--active-hover": $colorSurface50,
|
|
28647
28688
|
"backgroundColor-tree-row--selected--before": $colorPrimary50,
|
|
28648
28689
|
// --- Border colors
|
|
28649
|
-
|
|
28690
|
+
borderColor: "rgb(from $color-surface-900 r g b / 0.1)",
|
|
28650
28691
|
"borderColor--disabled": $colorSurface100,
|
|
28651
28692
|
// --- Text colors
|
|
28652
28693
|
"textColor-secondary": $colorSurface600,
|
|
@@ -29890,6 +29931,7 @@ const TOASTER_CONTAINER_STYLE = {
|
|
|
29890
29931
|
let toasterMounted = false;
|
|
29891
29932
|
const NotificationToast = ({ toastDuration }) => {
|
|
29892
29933
|
const [shouldRender, setShouldRender] = useState(false);
|
|
29934
|
+
const { root: root2 } = useTheme();
|
|
29893
29935
|
useEffect(() => {
|
|
29894
29936
|
if (!toasterMounted) {
|
|
29895
29937
|
toasterMounted = true;
|
|
@@ -29897,17 +29939,20 @@ const NotificationToast = ({ toastDuration }) => {
|
|
|
29897
29939
|
}
|
|
29898
29940
|
}, []);
|
|
29899
29941
|
if (!shouldRender) return null;
|
|
29900
|
-
return
|
|
29901
|
-
|
|
29902
|
-
|
|
29903
|
-
|
|
29904
|
-
|
|
29905
|
-
|
|
29906
|
-
|
|
29907
|
-
icon2,
|
|
29908
|
-
|
|
29909
|
-
|
|
29910
|
-
|
|
29942
|
+
return createPortal(
|
|
29943
|
+
/* @__PURE__ */ jsx(
|
|
29944
|
+
Toaster,
|
|
29945
|
+
{
|
|
29946
|
+
position: "top-right",
|
|
29947
|
+
containerStyle: TOASTER_CONTAINER_STYLE,
|
|
29948
|
+
toastOptions: { style: { padding: "12px 16px" }, duration: toastDuration },
|
|
29949
|
+
children: (t) => /* @__PURE__ */ jsx("div", { onClick: () => toast.dismiss(t.id), children: /* @__PURE__ */ jsx(ToastBar, { position: t.position, toast: t, style: { wordBreak: "break-word" }, children: ({ icon: icon2, message }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
29950
|
+
icon2,
|
|
29951
|
+
message
|
|
29952
|
+
] }) }) })
|
|
29953
|
+
}
|
|
29954
|
+
),
|
|
29955
|
+
root2
|
|
29911
29956
|
);
|
|
29912
29957
|
};
|
|
29913
29958
|
const defaultProps$n = {
|
|
@@ -30091,7 +30136,7 @@ function RootClasses({ classNames = EMPTY_ARRAY }) {
|
|
|
30091
30136
|
registry.addRootClasses(classNames);
|
|
30092
30137
|
return null;
|
|
30093
30138
|
}
|
|
30094
|
-
const COMP$
|
|
30139
|
+
const COMP$D = "Theme";
|
|
30095
30140
|
const ThemeMd = createMetadata({
|
|
30096
30141
|
status: "stable",
|
|
30097
30142
|
description: "`Theme` creates styling contexts to customize the appearance of nested components without using CSS.",
|
|
@@ -30114,7 +30159,7 @@ const ThemeMd = createMetadata({
|
|
|
30114
30159
|
opaque: true
|
|
30115
30160
|
});
|
|
30116
30161
|
const themeComponentRenderer = createComponentRenderer(
|
|
30117
|
-
COMP$
|
|
30162
|
+
COMP$D,
|
|
30118
30163
|
ThemeMd,
|
|
30119
30164
|
({ node, extractValue, renderChild: renderChild2, layoutContext, appContext }) => {
|
|
30120
30165
|
var _a2, _b;
|
|
@@ -30185,7 +30230,7 @@ function Column({ nodeChildren, renderChild: renderChild2, ...columnMetadata })
|
|
|
30185
30230
|
}, [id, unRegisterColumn]);
|
|
30186
30231
|
return null;
|
|
30187
30232
|
}
|
|
30188
|
-
const COMP$
|
|
30233
|
+
const COMP$C = "Column";
|
|
30189
30234
|
const ColumnMd = createMetadata({
|
|
30190
30235
|
status: "stable",
|
|
30191
30236
|
description: "`Column` defines the structure and behavior of individual table columns within a [`Table`](/components/Table) component. Each Column controls data binding, header display, sorting capabilities, sizing, and can contain any XMLUI components for rich cell content.",
|
|
@@ -30248,7 +30293,7 @@ const ColumnMd = createMetadata({
|
|
|
30248
30293
|
}
|
|
30249
30294
|
});
|
|
30250
30295
|
const columnComponentRenderer = createComponentRenderer(
|
|
30251
|
-
COMP$
|
|
30296
|
+
COMP$C,
|
|
30252
30297
|
ColumnMd,
|
|
30253
30298
|
(rendererContext) => {
|
|
30254
30299
|
const { node, renderChild: renderChild2, extractValue, className } = rendererContext;
|
|
@@ -31748,7 +31793,7 @@ const dataLoaderRenderer = createLoaderRenderer(
|
|
|
31748
31793
|
},
|
|
31749
31794
|
DataLoaderMd
|
|
31750
31795
|
);
|
|
31751
|
-
const COMP$
|
|
31796
|
+
const COMP$B = "DatePicker";
|
|
31752
31797
|
const DatePickerMd = createMetadata({
|
|
31753
31798
|
status: "experimental",
|
|
31754
31799
|
description: "`DatePicker` provides an interactive calendar interface for selecting single dates or date ranges, with customizable formatting and validation options. It displays a text input that opens a calendar popup when clicked, offering both keyboard and mouse interaction.",
|
|
@@ -31761,8 +31806,8 @@ const DatePickerMd = createMetadata({
|
|
|
31761
31806
|
validationStatus: dValidationStatus(defaultProps$B.validationStatus),
|
|
31762
31807
|
label: dLabel(),
|
|
31763
31808
|
labelPosition: dLabelPosition("top"),
|
|
31764
|
-
labelWidth: dLabelWidth(COMP$
|
|
31765
|
-
labelBreak: dLabelBreak(COMP$
|
|
31809
|
+
labelWidth: dLabelWidth(COMP$B),
|
|
31810
|
+
labelBreak: dLabelBreak(COMP$B),
|
|
31766
31811
|
mode: {
|
|
31767
31812
|
description: "The mode of the datepicker (single or range)",
|
|
31768
31813
|
valueType: "string",
|
|
@@ -31838,13 +31883,13 @@ const DatePickerMd = createMetadata({
|
|
|
31838
31883
|
endIcon: dEndIcon()
|
|
31839
31884
|
},
|
|
31840
31885
|
events: {
|
|
31841
|
-
didChange: dDidChange(COMP$
|
|
31842
|
-
gotFocus: dGotFocus(COMP$
|
|
31843
|
-
lostFocus: dLostFocus(COMP$
|
|
31886
|
+
didChange: dDidChange(COMP$B),
|
|
31887
|
+
gotFocus: dGotFocus(COMP$B),
|
|
31888
|
+
lostFocus: dLostFocus(COMP$B)
|
|
31844
31889
|
},
|
|
31845
31890
|
apis: {
|
|
31846
31891
|
focus: {
|
|
31847
|
-
description: `Focus the ${COMP$
|
|
31892
|
+
description: `Focus the ${COMP$B} component.`,
|
|
31848
31893
|
signature: "focus(): void"
|
|
31849
31894
|
},
|
|
31850
31895
|
value: {
|
|
@@ -31852,7 +31897,7 @@ const DatePickerMd = createMetadata({
|
|
|
31852
31897
|
signature: "get value(): any"
|
|
31853
31898
|
},
|
|
31854
31899
|
setValue: {
|
|
31855
|
-
description: `This method sets the current value of the ${COMP$
|
|
31900
|
+
description: `This method sets the current value of the ${COMP$B}.`,
|
|
31856
31901
|
signature: "set value(value: any): void",
|
|
31857
31902
|
parameters: {
|
|
31858
31903
|
value: "The new value to set for the date picker."
|
|
@@ -31861,19 +31906,19 @@ const DatePickerMd = createMetadata({
|
|
|
31861
31906
|
},
|
|
31862
31907
|
themeVars: parseScssVar(styles$H.themeVars),
|
|
31863
31908
|
defaultThemeVars: {
|
|
31864
|
-
[`boxShadow-menu-${COMP$
|
|
31865
|
-
[`borderRadius-menu-${COMP$
|
|
31866
|
-
[`textColor-value-${COMP$
|
|
31867
|
-
[`borderColor-selectedItem-${COMP$
|
|
31868
|
-
[`backgroundColor-menu-${COMP$
|
|
31869
|
-
[`backgroundColor-item-${COMP$
|
|
31870
|
-
[`backgroundColor-item-${COMP$
|
|
31871
|
-
[`paddingVertical-${COMP$
|
|
31872
|
-
[`paddingHorizontal-${COMP$
|
|
31909
|
+
[`boxShadow-menu-${COMP$B}`]: "$boxShadow-md",
|
|
31910
|
+
[`borderRadius-menu-${COMP$B}`]: "$borderRadius",
|
|
31911
|
+
[`textColor-value-${COMP$B}`]: "$textColor-primary",
|
|
31912
|
+
[`borderColor-selectedItem-${COMP$B}`]: "$color-primary-200",
|
|
31913
|
+
[`backgroundColor-menu-${COMP$B}`]: "$color-surface-50",
|
|
31914
|
+
[`backgroundColor-item-${COMP$B}--hover`]: "$color-surface-100",
|
|
31915
|
+
[`backgroundColor-item-${COMP$B}--active`]: "$color-surface-200",
|
|
31916
|
+
[`paddingVertical-${COMP$B}`]: "$space-2",
|
|
31917
|
+
[`paddingHorizontal-${COMP$B}`]: "$space-2"
|
|
31873
31918
|
}
|
|
31874
31919
|
});
|
|
31875
31920
|
const datePickerComponentRenderer = createComponentRenderer(
|
|
31876
|
-
COMP$
|
|
31921
|
+
COMP$B,
|
|
31877
31922
|
DatePickerMd,
|
|
31878
31923
|
({
|
|
31879
31924
|
node,
|
|
@@ -32921,7 +32966,7 @@ function isYearInvalid(value) {
|
|
|
32921
32966
|
if (isNaN(num)) return true;
|
|
32922
32967
|
return num < MIN_YEAR || num > MAX_YEAR;
|
|
32923
32968
|
}
|
|
32924
|
-
const COMP$
|
|
32969
|
+
const COMP$A = "DateInput";
|
|
32925
32970
|
const DateInputMd = createMetadata({
|
|
32926
32971
|
status: "experimental",
|
|
32927
32972
|
description: "`DateInput` provides a text-based date input interface for selecting single dates or date ranges, with direct keyboard input similar to TimeInput. It offers customizable formatting and validation options without dropdown calendars.",
|
|
@@ -32947,8 +32992,8 @@ const DateInputMd = createMetadata({
|
|
|
32947
32992
|
validationStatus: dValidationStatus(defaultProps$l.validationStatus),
|
|
32948
32993
|
label: dLabel(),
|
|
32949
32994
|
labelPosition: dLabelPosition("top"),
|
|
32950
|
-
labelWidth: dLabelWidth(COMP$
|
|
32951
|
-
labelBreak: dLabelBreak(COMP$
|
|
32995
|
+
labelWidth: dLabelWidth(COMP$A),
|
|
32996
|
+
labelBreak: dLabelBreak(COMP$A),
|
|
32952
32997
|
mode: {
|
|
32953
32998
|
description: "The mode of the date input (single or range)",
|
|
32954
32999
|
valueType: "string",
|
|
@@ -33052,13 +33097,13 @@ const DateInputMd = createMetadata({
|
|
|
33052
33097
|
endIcon: dEndIcon()
|
|
33053
33098
|
},
|
|
33054
33099
|
events: {
|
|
33055
|
-
didChange: dDidChange(COMP$
|
|
33056
|
-
gotFocus: dGotFocus(COMP$
|
|
33057
|
-
lostFocus: dLostFocus(COMP$
|
|
33100
|
+
didChange: dDidChange(COMP$A),
|
|
33101
|
+
gotFocus: dGotFocus(COMP$A),
|
|
33102
|
+
lostFocus: dLostFocus(COMP$A)
|
|
33058
33103
|
},
|
|
33059
33104
|
apis: {
|
|
33060
33105
|
focus: {
|
|
33061
|
-
description: `Focus the ${COMP$
|
|
33106
|
+
description: `Focus the ${COMP$A} component.`,
|
|
33062
33107
|
signature: "focus(): void"
|
|
33063
33108
|
},
|
|
33064
33109
|
value: {
|
|
@@ -33066,7 +33111,7 @@ const DateInputMd = createMetadata({
|
|
|
33066
33111
|
signature: "get value(): any"
|
|
33067
33112
|
},
|
|
33068
33113
|
setValue: {
|
|
33069
|
-
description: `This method sets the current value of the ${COMP$
|
|
33114
|
+
description: `This method sets the current value of the ${COMP$A}.`,
|
|
33070
33115
|
signature: "set value(value: any): void",
|
|
33071
33116
|
parameters: {
|
|
33072
33117
|
value: "The new value to set for the date input."
|
|
@@ -33080,30 +33125,30 @@ const DateInputMd = createMetadata({
|
|
|
33080
33125
|
themeVars: parseScssVar(styles$o.themeVars),
|
|
33081
33126
|
defaultThemeVars: {
|
|
33082
33127
|
// DateInput specific theme variables (matching TimeInput structure)
|
|
33083
|
-
[`paddingHorizontal-${COMP$
|
|
33084
|
-
[`paddingVertical-${COMP$
|
|
33085
|
-
[`color-divider-${COMP$
|
|
33086
|
-
[`spacing-divider-${COMP$
|
|
33087
|
-
[`width-input-${COMP$
|
|
33088
|
-
[`minWidth-input-${COMP$
|
|
33089
|
-
[`padding-input-${COMP$
|
|
33090
|
-
[`textAlign-input-${COMP$
|
|
33091
|
-
[`fontSize-input-${COMP$
|
|
33092
|
-
[`borderRadius-input-${COMP$
|
|
33093
|
-
[`backgroundColor-input-${COMP$
|
|
33094
|
-
[`padding-button-${COMP$
|
|
33095
|
-
[`borderRadius-button-${COMP$
|
|
33096
|
-
[`hoverColor-button-${COMP$
|
|
33097
|
-
[`disabledColor-button-${COMP$
|
|
33098
|
-
[`outlineColor-button-${COMP$
|
|
33099
|
-
[`outlineWidth-button-${COMP$
|
|
33100
|
-
[`outlineOffset-button-${COMP$
|
|
33101
|
-
[`minWidth-ampm-${COMP$
|
|
33102
|
-
[`fontSize-ampm-${COMP$
|
|
33128
|
+
[`paddingHorizontal-${COMP$A}`]: "$space-2",
|
|
33129
|
+
[`paddingVertical-${COMP$A}`]: "$space-2",
|
|
33130
|
+
[`color-divider-${COMP$A}`]: "$textColor-secondary",
|
|
33131
|
+
[`spacing-divider-${COMP$A}`]: "1px 0",
|
|
33132
|
+
[`width-input-${COMP$A}`]: "1.8em",
|
|
33133
|
+
[`minWidth-input-${COMP$A}`]: "0.54em",
|
|
33134
|
+
[`padding-input-${COMP$A}`]: "0 2px",
|
|
33135
|
+
[`textAlign-input-${COMP$A}`]: "center",
|
|
33136
|
+
[`fontSize-input-${COMP$A}`]: "inherit",
|
|
33137
|
+
[`borderRadius-input-${COMP$A}`]: "$borderRadius",
|
|
33138
|
+
[`backgroundColor-input-${COMP$A}-invalid`]: "rgba(220, 53, 69, 0.15)",
|
|
33139
|
+
[`padding-button-${COMP$A}`]: "4px 6px",
|
|
33140
|
+
[`borderRadius-button-${COMP$A}`]: "$borderRadius",
|
|
33141
|
+
[`hoverColor-button-${COMP$A}`]: "$color-surface-800",
|
|
33142
|
+
[`disabledColor-button-${COMP$A}`]: "$textColor-disabled",
|
|
33143
|
+
[`outlineColor-button-${COMP$A}--focused`]: "$color-accent-500",
|
|
33144
|
+
[`outlineWidth-button-${COMP$A}--focused`]: "2px",
|
|
33145
|
+
[`outlineOffset-button-${COMP$A}--focused`]: "2px",
|
|
33146
|
+
[`minWidth-ampm-${COMP$A}`]: "2em",
|
|
33147
|
+
[`fontSize-ampm-${COMP$A}`]: "inherit"
|
|
33103
33148
|
}
|
|
33104
33149
|
});
|
|
33105
33150
|
const dateInputComponentRenderer = createComponentRenderer(
|
|
33106
|
-
COMP$
|
|
33151
|
+
COMP$A,
|
|
33107
33152
|
DateInputMd,
|
|
33108
33153
|
({
|
|
33109
33154
|
node,
|
|
@@ -34361,7 +34406,7 @@ function isMinuteOrSecondInvalid(value) {
|
|
|
34361
34406
|
const invalid2 = num < 0 || num > 59;
|
|
34362
34407
|
return invalid2;
|
|
34363
34408
|
}
|
|
34364
|
-
const COMP$
|
|
34409
|
+
const COMP$z = "TimeInput";
|
|
34365
34410
|
const TimeInputMd = createMetadata({
|
|
34366
34411
|
status: "experimental",
|
|
34367
34412
|
description: "`TimeInput` provides time input with support for 12-hour and 24-hour formats and configurable precision for hours, minutes, and seconds.",
|
|
@@ -34390,8 +34435,8 @@ const TimeInputMd = createMetadata({
|
|
|
34390
34435
|
validationStatus: dValidationStatus(defaultProps$k.validationStatus),
|
|
34391
34436
|
label: dLabel(),
|
|
34392
34437
|
labelPosition: dLabelPosition("top"),
|
|
34393
|
-
labelWidth: dLabelWidth(COMP$
|
|
34394
|
-
labelBreak: dLabelBreak(COMP$
|
|
34438
|
+
labelWidth: dLabelWidth(COMP$z),
|
|
34439
|
+
labelBreak: dLabelBreak(COMP$z),
|
|
34395
34440
|
hour24: {
|
|
34396
34441
|
description: "Whether to use 24-hour format (true) or 12-hour format with AM/PM (false)",
|
|
34397
34442
|
valueType: "boolean",
|
|
@@ -34444,14 +34489,14 @@ const TimeInputMd = createMetadata({
|
|
|
34444
34489
|
}
|
|
34445
34490
|
},
|
|
34446
34491
|
events: {
|
|
34447
|
-
didChange: dDidChange(COMP$
|
|
34448
|
-
gotFocus: dGotFocus(COMP$
|
|
34449
|
-
lostFocus: dLostFocus(COMP$
|
|
34492
|
+
didChange: dDidChange(COMP$z),
|
|
34493
|
+
gotFocus: dGotFocus(COMP$z),
|
|
34494
|
+
lostFocus: dLostFocus(COMP$z),
|
|
34450
34495
|
invalidTime: d("Fired when the user enters an invalid time")
|
|
34451
34496
|
},
|
|
34452
34497
|
apis: {
|
|
34453
34498
|
focus: {
|
|
34454
|
-
description: `Focus the ${COMP$
|
|
34499
|
+
description: `Focus the ${COMP$z} component.`,
|
|
34455
34500
|
signature: "focus(): void"
|
|
34456
34501
|
},
|
|
34457
34502
|
value: {
|
|
@@ -34459,7 +34504,7 @@ const TimeInputMd = createMetadata({
|
|
|
34459
34504
|
signature: "get value(): any"
|
|
34460
34505
|
},
|
|
34461
34506
|
setValue: {
|
|
34462
|
-
description: `This method sets the current value of the ${COMP$
|
|
34507
|
+
description: `This method sets the current value of the ${COMP$z}.`,
|
|
34463
34508
|
signature: "set value(value: any): void",
|
|
34464
34509
|
parameters: {
|
|
34465
34510
|
value: "The new time value to set for the time picker."
|
|
@@ -34473,30 +34518,30 @@ const TimeInputMd = createMetadata({
|
|
|
34473
34518
|
themeVars: parseScssVar(styles$l.themeVars),
|
|
34474
34519
|
defaultThemeVars: {
|
|
34475
34520
|
// TimeInput specific theme variables
|
|
34476
|
-
[`paddingHorizontal-${COMP$
|
|
34477
|
-
[`paddingVertical-${COMP$
|
|
34478
|
-
[`color-divider-${COMP$
|
|
34479
|
-
[`spacing-divider-${COMP$
|
|
34480
|
-
[`width-input-${COMP$
|
|
34481
|
-
[`minWidth-input-${COMP$
|
|
34482
|
-
[`padding-input-${COMP$
|
|
34483
|
-
[`textAlign-input-${COMP$
|
|
34484
|
-
[`fontSize-input-${COMP$
|
|
34485
|
-
[`borderRadius-input-${COMP$
|
|
34486
|
-
[`backgroundColor-input-${COMP$
|
|
34487
|
-
[`padding-button-${COMP$
|
|
34488
|
-
[`borderRadius-button-${COMP$
|
|
34489
|
-
[`hoverColor-button-${COMP$
|
|
34490
|
-
[`disabledColor-button-${COMP$
|
|
34491
|
-
[`outlineColor-button-${COMP$
|
|
34492
|
-
[`outlineWidth-button-${COMP$
|
|
34493
|
-
[`outlineOffset-button-${COMP$
|
|
34494
|
-
[`minWidth-ampm-${COMP$
|
|
34495
|
-
[`fontSize-ampm-${COMP$
|
|
34521
|
+
[`paddingHorizontal-${COMP$z}`]: "$space-2",
|
|
34522
|
+
[`paddingVertical-${COMP$z}`]: "$space-2",
|
|
34523
|
+
[`color-divider-${COMP$z}`]: "$textColor-secondary",
|
|
34524
|
+
[`spacing-divider-${COMP$z}`]: "1px 0",
|
|
34525
|
+
[`width-input-${COMP$z}`]: "1.8em",
|
|
34526
|
+
[`minWidth-input-${COMP$z}`]: "0.54em",
|
|
34527
|
+
[`padding-input-${COMP$z}`]: "0 2px",
|
|
34528
|
+
[`textAlign-input-${COMP$z}`]: "center",
|
|
34529
|
+
[`fontSize-input-${COMP$z}`]: "inherit",
|
|
34530
|
+
[`borderRadius-input-${COMP$z}`]: "$borderRadius",
|
|
34531
|
+
[`backgroundColor-input-${COMP$z}-invalid`]: "rgba(220, 53, 69, 0.15)",
|
|
34532
|
+
[`padding-button-${COMP$z}`]: "4px 4px",
|
|
34533
|
+
[`borderRadius-button-${COMP$z}`]: "$borderRadius",
|
|
34534
|
+
[`hoverColor-button-${COMP$z}`]: "$color-surface-800",
|
|
34535
|
+
[`disabledColor-button-${COMP$z}`]: "$textColor-disabled",
|
|
34536
|
+
[`outlineColor-button-${COMP$z}--focused`]: "$color-accent-500",
|
|
34537
|
+
[`outlineWidth-button-${COMP$z}--focused`]: "2px",
|
|
34538
|
+
[`outlineOffset-button-${COMP$z}--focused`]: "0",
|
|
34539
|
+
[`minWidth-ampm-${COMP$z}`]: "2.2em",
|
|
34540
|
+
[`fontSize-ampm-${COMP$z}`]: "inherit"
|
|
34496
34541
|
}
|
|
34497
34542
|
});
|
|
34498
34543
|
const timeInputComponentRenderer = createComponentRenderer(
|
|
34499
|
-
COMP$
|
|
34544
|
+
COMP$z,
|
|
34500
34545
|
TimeInputMd,
|
|
34501
34546
|
({
|
|
34502
34547
|
node,
|
|
@@ -34700,7 +34745,7 @@ const Timer = forwardRef(function Timer2({
|
|
|
34700
34745
|
}
|
|
34701
34746
|
);
|
|
34702
34747
|
});
|
|
34703
|
-
const COMP$
|
|
34748
|
+
const COMP$y = "Timer";
|
|
34704
34749
|
const TimerMd = createMetadata({
|
|
34705
34750
|
status: "stable",
|
|
34706
34751
|
description: "`Timer` is a non-visual component that fires events at regular intervals. It can be enabled or disabled and ensures that the timer event handler completes before firing the next event.",
|
|
@@ -34751,7 +34796,7 @@ const TimerMd = createMetadata({
|
|
|
34751
34796
|
}
|
|
34752
34797
|
});
|
|
34753
34798
|
const timerComponentRenderer = createComponentRenderer(
|
|
34754
|
-
COMP$
|
|
34799
|
+
COMP$y,
|
|
34755
34800
|
TimerMd,
|
|
34756
34801
|
({ node, extractValue, lookupEventHandler, registerComponentApi }) => {
|
|
34757
34802
|
return /* @__PURE__ */ jsx(
|
|
@@ -34767,7 +34812,7 @@ const timerComponentRenderer = createComponentRenderer(
|
|
|
34767
34812
|
);
|
|
34768
34813
|
}
|
|
34769
34814
|
);
|
|
34770
|
-
const COMP$
|
|
34815
|
+
const COMP$x = "Redirect";
|
|
34771
34816
|
const defaultProps$i = {
|
|
34772
34817
|
to: ""
|
|
34773
34818
|
};
|
|
@@ -34786,7 +34831,7 @@ const RedirectMd = createMetadata({
|
|
|
34786
34831
|
}
|
|
34787
34832
|
});
|
|
34788
34833
|
const redirectRenderer = createComponentRenderer(
|
|
34789
|
-
COMP$
|
|
34834
|
+
COMP$x,
|
|
34790
34835
|
RedirectMd,
|
|
34791
34836
|
({ node, extractValue }) => {
|
|
34792
34837
|
return /* @__PURE__ */ jsx(Navigate, { to: createUrlWithQueryParams(extractValue(node.props.to)), replace: extractValue.asOptionalBoolean(node.props.replace) });
|
|
@@ -34978,7 +35023,7 @@ const Tabs = forwardRef(function Tabs2({
|
|
|
34978
35023
|
}
|
|
34979
35024
|
) });
|
|
34980
35025
|
});
|
|
34981
|
-
const COMP$
|
|
35026
|
+
const COMP$w = "Tabs";
|
|
34982
35027
|
const TabsMd = createMetadata({
|
|
34983
35028
|
status: "experimental",
|
|
34984
35029
|
description: "`Tabs` enables users to switch among content panels using clickable tab headers. It provides an efficient way to present multiple related sections in a single interface area, with each tab containing distinct content defined by [TabItem](/components/TabItem) components.",
|
|
@@ -34997,7 +35042,7 @@ const TabsMd = createMetadata({
|
|
|
34997
35042
|
}
|
|
34998
35043
|
},
|
|
34999
35044
|
events: {
|
|
35000
|
-
didChange: dDidChange(COMP$
|
|
35045
|
+
didChange: dDidChange(COMP$w)
|
|
35001
35046
|
},
|
|
35002
35047
|
apis: {
|
|
35003
35048
|
next: {
|
|
@@ -35020,19 +35065,19 @@ const TabsMd = createMetadata({
|
|
|
35020
35065
|
themeVars: parseScssVar(styles$k.themeVars),
|
|
35021
35066
|
defaultThemeVars: {
|
|
35022
35067
|
// [`backgroundColor-${COMP}`]: "transparent",
|
|
35023
|
-
[`borderStyle-${COMP$
|
|
35024
|
-
[`borderColor-${COMP$
|
|
35025
|
-
[`borderColor-active-${COMP$
|
|
35026
|
-
[`borderWidth-${COMP$
|
|
35068
|
+
[`borderStyle-${COMP$w}`]: "solid",
|
|
35069
|
+
[`borderColor-${COMP$w}`]: "$borderColor",
|
|
35070
|
+
[`borderColor-active-${COMP$w}`]: "$color-primary",
|
|
35071
|
+
[`borderWidth-${COMP$w}`]: "2px",
|
|
35027
35072
|
// [`backgroundColor-trigger-${COMP}`]: "transparent",
|
|
35028
|
-
[`backgroundColor-trigger-${COMP$
|
|
35029
|
-
[`padding-trigger-${COMP$
|
|
35073
|
+
[`backgroundColor-trigger-${COMP$w}--hover`]: "$color-surface-100",
|
|
35074
|
+
[`padding-trigger-${COMP$w}`]: "$space-4"
|
|
35030
35075
|
// [`backgroundColor-list-${COMP}`]: "$color-primary-50",
|
|
35031
35076
|
// [`textColor-trigger-${COMP}`]: "$color-primary-100",
|
|
35032
35077
|
}
|
|
35033
35078
|
});
|
|
35034
35079
|
const tabsComponentRenderer = createComponentRenderer(
|
|
35035
|
-
COMP$
|
|
35080
|
+
COMP$w,
|
|
35036
35081
|
TabsMd,
|
|
35037
35082
|
({ extractValue, node, renderChild: renderChild2, className, registerComponentApi, lookupEventHandler }) => {
|
|
35038
35083
|
var _a2, _b, _c;
|
|
@@ -35109,7 +35154,7 @@ const Bookmark = ({
|
|
|
35109
35154
|
}, [uid, observeIntersection, registerHeading, level, title2, omitFromToc]);
|
|
35110
35155
|
return /* @__PURE__ */ jsx("span", { ...rest, ref: elementRef, id: uid, "data-anchor": true, className: styles$j.anchorRef, children });
|
|
35111
35156
|
};
|
|
35112
|
-
const COMP$
|
|
35157
|
+
const COMP$v = "Bookmark";
|
|
35113
35158
|
const BookmarkMd = createMetadata({
|
|
35114
35159
|
status: "stable",
|
|
35115
35160
|
description: "As its name suggests, this component places a bookmark into its parent component's view. The component has an `id` that you can use in links to navigate (scroll to) the bookmark's location.",
|
|
@@ -35142,7 +35187,7 @@ const BookmarkMd = createMetadata({
|
|
|
35142
35187
|
}
|
|
35143
35188
|
});
|
|
35144
35189
|
const bookmarkComponentRenderer = createComponentRenderer(
|
|
35145
|
-
COMP$
|
|
35190
|
+
COMP$v,
|
|
35146
35191
|
BookmarkMd,
|
|
35147
35192
|
(rendererContext) => {
|
|
35148
35193
|
const { node, renderChild: renderChild2, extractValue, layoutContext } = rendererContext;
|
|
@@ -35189,18 +35234,18 @@ function AppState({
|
|
|
35189
35234
|
}, [bucket, registerComponentApi, update]);
|
|
35190
35235
|
return null;
|
|
35191
35236
|
}
|
|
35192
|
-
const COMP$
|
|
35237
|
+
const COMP$u = "AppState";
|
|
35193
35238
|
const AppStateMd = createMetadata({
|
|
35194
35239
|
status: "stable",
|
|
35195
35240
|
description: "`AppState` is an invisible component that provides global state management across your entire application. Unlike component variables that are scoped locally, AppState allows any component to access and update shared state without prop drilling.",
|
|
35196
35241
|
props: {
|
|
35197
35242
|
bucket: {
|
|
35198
|
-
description: `This property is the identifier of the bucket to which the \`${COMP$
|
|
35243
|
+
description: `This property is the identifier of the bucket to which the \`${COMP$u}\` instance is bound. Multiple \`${COMP$u}\` instances with the same bucket will share the same state object: any of them updating the state will cause the other instances to view the new, updated state.`,
|
|
35199
35244
|
valueType: "string",
|
|
35200
35245
|
defaultValue: defaultProps$f.bucket
|
|
35201
35246
|
},
|
|
35202
35247
|
initialValue: {
|
|
35203
|
-
description: `This property contains the initial state value. Though you can use multiple \`${COMP$
|
|
35248
|
+
description: `This property contains the initial state value. Though you can use multiple \`${COMP$u}\`component instances for the same bucket with their \`initialValue\` set, it may result in faulty app logic. When xmlui instantiates an \`${COMP$u}\` with an explicit initial value, that value is immediately set. Multiple initial values may result in undesired initialization. By default, the bucked's initial state is undefined.`
|
|
35204
35249
|
}
|
|
35205
35250
|
},
|
|
35206
35251
|
apis: {
|
|
@@ -35215,7 +35260,7 @@ const AppStateMd = createMetadata({
|
|
|
35215
35260
|
nonVisual: true
|
|
35216
35261
|
});
|
|
35217
35262
|
const appStateComponentRenderer = createComponentRenderer(
|
|
35218
|
-
COMP$
|
|
35263
|
+
COMP$u,
|
|
35219
35264
|
AppStateMd,
|
|
35220
35265
|
({ node, extractValue, updateState, registerComponentApi }) => {
|
|
35221
35266
|
return /* @__PURE__ */ jsx(
|
|
@@ -35347,7 +35392,7 @@ const TableOfContents = forwardRef(function TableOfContents2({
|
|
|
35347
35392
|
}
|
|
35348
35393
|
);
|
|
35349
35394
|
});
|
|
35350
|
-
const COMP$
|
|
35395
|
+
const COMP$t = "TableOfContents";
|
|
35351
35396
|
const COMP_CHILD = "TableOfContentsItem";
|
|
35352
35397
|
const TableOfContentsMd = createMetadata({
|
|
35353
35398
|
status: "stable",
|
|
@@ -35371,7 +35416,7 @@ const TableOfContentsMd = createMetadata({
|
|
|
35371
35416
|
},
|
|
35372
35417
|
themeVars: parseScssVar(styles$i.themeVars),
|
|
35373
35418
|
defaultThemeVars: {
|
|
35374
|
-
[`padding-${COMP$
|
|
35419
|
+
[`padding-${COMP$t}`]: "$space-2",
|
|
35375
35420
|
[`textColor-${COMP_CHILD}`]: "$color-secondary-500",
|
|
35376
35421
|
[`textColor-${COMP_CHILD}--hover`]: "$textColor-primary",
|
|
35377
35422
|
[`fontSize-${COMP_CHILD}`]: "$fontSize-sm",
|
|
@@ -35400,7 +35445,7 @@ function IndexAwareTableOfContents(props) {
|
|
|
35400
35445
|
return /* @__PURE__ */ jsx(TableOfContents, { ...props });
|
|
35401
35446
|
}
|
|
35402
35447
|
const tableOfContentsRenderer = createComponentRenderer(
|
|
35403
|
-
COMP$
|
|
35448
|
+
COMP$t,
|
|
35404
35449
|
TableOfContentsMd,
|
|
35405
35450
|
({ className, node, extractValue }) => {
|
|
35406
35451
|
var _a2, _b, _c;
|
|
@@ -35579,10 +35624,10 @@ const AccordionComponent = forwardRef(function AccordionComponent2({
|
|
|
35579
35624
|
}
|
|
35580
35625
|
) });
|
|
35581
35626
|
});
|
|
35582
|
-
const COMP$
|
|
35627
|
+
const COMP$s = "Accordion";
|
|
35583
35628
|
const AccordionMd = createMetadata({
|
|
35584
35629
|
status: "in progress",
|
|
35585
|
-
description: `(**NOT IMPLEMENTED YET**) The \`${COMP$
|
|
35630
|
+
description: `(**NOT IMPLEMENTED YET**) The \`${COMP$s}\` component is a collapsible container that toggles the display of content sections. It helps organize information by expanding or collapsing it based on user interaction.`,
|
|
35586
35631
|
props: {
|
|
35587
35632
|
triggerPosition: {
|
|
35588
35633
|
description: `This property indicates the position where the trigger icon should be displayed. The \`start\` value signs the trigger is before the header text (template), and \`end\` indicates that it follows the header.`,
|
|
@@ -35611,7 +35656,7 @@ const AccordionMd = createMetadata({
|
|
|
35611
35656
|
}
|
|
35612
35657
|
},
|
|
35613
35658
|
events: {
|
|
35614
|
-
displayDidChange: dDidChange(COMP$
|
|
35659
|
+
displayDidChange: dDidChange(COMP$s)
|
|
35615
35660
|
},
|
|
35616
35661
|
apis: {
|
|
35617
35662
|
expanded: {
|
|
@@ -35627,32 +35672,32 @@ const AccordionMd = createMetadata({
|
|
|
35627
35672
|
signature: "collapse()"
|
|
35628
35673
|
},
|
|
35629
35674
|
toggle: {
|
|
35630
|
-
description: `This method toggles the state of the ${COMP$
|
|
35675
|
+
description: `This method toggles the state of the ${COMP$s} between expanded and collapsed.`,
|
|
35631
35676
|
signature: "toggle()"
|
|
35632
35677
|
},
|
|
35633
|
-
focus: dFocus(COMP$
|
|
35678
|
+
focus: dFocus(COMP$s)
|
|
35634
35679
|
},
|
|
35635
35680
|
themeVars: parseScssVar(styles$h.themeVars),
|
|
35636
35681
|
defaultThemeVars: {
|
|
35637
|
-
[`paddingHorizontal-header-${COMP$
|
|
35638
|
-
[`paddingVertical-header-${COMP$
|
|
35639
|
-
[`verticalAlignment-header-${COMP$
|
|
35640
|
-
[`fontSize-header-${COMP$
|
|
35641
|
-
[`fontWeight-header-${COMP$
|
|
35642
|
-
[`fontFamily-header-${COMP$
|
|
35643
|
-
[`border-${COMP$
|
|
35644
|
-
[`width-icon-${COMP$
|
|
35645
|
-
[`height-icon-${COMP$
|
|
35646
|
-
[`backgroundColor-header-${COMP$
|
|
35647
|
-
[`backgroundColor-header-${COMP$
|
|
35648
|
-
[`color-header-${COMP$
|
|
35649
|
-
[`color-content-${COMP$
|
|
35650
|
-
[`backgroundColor-content-${COMP$
|
|
35651
|
-
[`color-icon-${COMP$
|
|
35682
|
+
[`paddingHorizontal-header-${COMP$s}`]: "$space-3",
|
|
35683
|
+
[`paddingVertical-header-${COMP$s}`]: "$space-3",
|
|
35684
|
+
[`verticalAlignment-header-${COMP$s}`]: "center",
|
|
35685
|
+
[`fontSize-header-${COMP$s}`]: "$fontSize-base",
|
|
35686
|
+
[`fontWeight-header-${COMP$s}`]: "$fontWeight-normal",
|
|
35687
|
+
[`fontFamily-header-${COMP$s}`]: "$fontFamily",
|
|
35688
|
+
[`border-${COMP$s}`]: "0px solid $borderColor",
|
|
35689
|
+
[`width-icon-${COMP$s}`]: "",
|
|
35690
|
+
[`height-icon-${COMP$s}`]: "",
|
|
35691
|
+
[`backgroundColor-header-${COMP$s}`]: "$color-primary-500",
|
|
35692
|
+
[`backgroundColor-header-${COMP$s}-hover`]: "$color-primary-400",
|
|
35693
|
+
[`color-header-${COMP$s}`]: "$color-surface-50",
|
|
35694
|
+
[`color-content-${COMP$s}`]: "$textColor-primary",
|
|
35695
|
+
[`backgroundColor-content-${COMP$s}`]: "transparent",
|
|
35696
|
+
[`color-icon-${COMP$s}`]: "$color-surface-50"
|
|
35652
35697
|
}
|
|
35653
35698
|
});
|
|
35654
35699
|
const accordionComponentRenderer = createComponentRenderer(
|
|
35655
|
-
COMP$
|
|
35700
|
+
COMP$s,
|
|
35656
35701
|
AccordionMd,
|
|
35657
35702
|
({ node, renderChild: renderChild2, extractValue, lookupEventHandler, registerComponentApi, className }) => {
|
|
35658
35703
|
var _a2;
|
|
@@ -35708,7 +35753,7 @@ const TabItemComponent = forwardRef(function TabItemComponent2({ children, label
|
|
|
35708
35753
|
children
|
|
35709
35754
|
);
|
|
35710
35755
|
});
|
|
35711
|
-
const COMP$
|
|
35756
|
+
const COMP$r = "TabItem";
|
|
35712
35757
|
const TabItemMd = createMetadata({
|
|
35713
35758
|
status: "stable",
|
|
35714
35759
|
description: "`TabItem` defines individual tabs within a [Tabs](/components/Tabs) component, providing both the tab header label and the content that displays when the tab is selected. As a non-visual structural component, it serves as a container that organizes content into distinct, switchable sections.",
|
|
@@ -35729,7 +35774,7 @@ const TabItemMd = createMetadata({
|
|
|
35729
35774
|
}
|
|
35730
35775
|
});
|
|
35731
35776
|
const tabItemComponentRenderer = createComponentRenderer(
|
|
35732
|
-
COMP$
|
|
35777
|
+
COMP$r,
|
|
35733
35778
|
TabItemMd,
|
|
35734
35779
|
(rendererContext) => {
|
|
35735
35780
|
const { node, renderChild: renderChild2, extractValue, lookupEventHandler } = rendererContext;
|
|
@@ -35856,10 +35901,10 @@ const AccordionItemComponent = forwardRef(function AccordionItemComponent2({
|
|
|
35856
35901
|
itemId
|
|
35857
35902
|
);
|
|
35858
35903
|
});
|
|
35859
|
-
const COMP$
|
|
35904
|
+
const COMP$q = "AccordionItem";
|
|
35860
35905
|
const AccordionItemMd = createMetadata({
|
|
35861
35906
|
status: "in progress",
|
|
35862
|
-
description: `\`${COMP$
|
|
35907
|
+
description: `\`${COMP$q}\` is a non-visual component describing a tab. Tabs component may use nested ${COMP$q} instances from which the user can select.`,
|
|
35863
35908
|
props: {
|
|
35864
35909
|
header: {
|
|
35865
35910
|
description: "This property declares the text used in the component's header. If not provided, the header will be empty.",
|
|
@@ -35869,14 +35914,14 @@ const AccordionItemMd = createMetadata({
|
|
|
35869
35914
|
"This property describes the template to use as the component's header."
|
|
35870
35915
|
),
|
|
35871
35916
|
initiallyExpanded: {
|
|
35872
|
-
description: `This property indicates if the ${COMP$
|
|
35917
|
+
description: `This property indicates if the ${COMP$q} is expanded (\`true\`) or collapsed (\`false\`).`,
|
|
35873
35918
|
valueType: "boolean",
|
|
35874
35919
|
defaultValue: defaultProps$c.initiallyExpanded
|
|
35875
35920
|
}
|
|
35876
35921
|
}
|
|
35877
35922
|
});
|
|
35878
35923
|
const accordionItemComponentRenderer = createComponentRenderer(
|
|
35879
|
-
COMP$
|
|
35924
|
+
COMP$q,
|
|
35880
35925
|
AccordionItemMd,
|
|
35881
35926
|
(rendererContext) => {
|
|
35882
35927
|
const { node, renderChild: renderChild2, extractValue, className } = rendererContext;
|
|
@@ -35900,7 +35945,7 @@ const accordionItemComponentRenderer = createComponentRenderer(
|
|
|
35900
35945
|
);
|
|
35901
35946
|
}
|
|
35902
35947
|
);
|
|
35903
|
-
const COMP$
|
|
35948
|
+
const COMP$p = "Slider";
|
|
35904
35949
|
const SliderMd = createMetadata({
|
|
35905
35950
|
status: "stable",
|
|
35906
35951
|
description: "`Slider` provides an interactive control for selecting numeric values within a defined range, supporting both single value selection and range selection with multiple thumbs. It offers precise control through customizable steps and visual feedback with formatted value display.\n\nHover over the component to see the tooltip with the current value. On mobile, tap the thumb to see the tooltip.",
|
|
@@ -35908,8 +35953,8 @@ const SliderMd = createMetadata({
|
|
|
35908
35953
|
initialValue: dInitialValue(),
|
|
35909
35954
|
label: dLabel(),
|
|
35910
35955
|
labelPosition: dLabelPosition("top"),
|
|
35911
|
-
labelWidth: dLabelWidth(COMP$
|
|
35912
|
-
labelBreak: dLabelBreak(COMP$
|
|
35956
|
+
labelWidth: dLabelWidth(COMP$p),
|
|
35957
|
+
labelBreak: dLabelBreak(COMP$p),
|
|
35913
35958
|
minValue: {
|
|
35914
35959
|
description: `This property specifies the minimum value of the allowed input range.`,
|
|
35915
35960
|
valueType: "number",
|
|
@@ -35956,9 +36001,9 @@ const SliderMd = createMetadata({
|
|
|
35956
36001
|
}
|
|
35957
36002
|
},
|
|
35958
36003
|
events: {
|
|
35959
|
-
didChange: dDidChange(COMP$
|
|
35960
|
-
gotFocus: dGotFocus(COMP$
|
|
35961
|
-
lostFocus: dLostFocus(COMP$
|
|
36004
|
+
didChange: dDidChange(COMP$p),
|
|
36005
|
+
gotFocus: dGotFocus(COMP$p),
|
|
36006
|
+
lostFocus: dLostFocus(COMP$p)
|
|
35962
36007
|
},
|
|
35963
36008
|
apis: {
|
|
35964
36009
|
focus: {
|
|
@@ -35966,11 +36011,11 @@ const SliderMd = createMetadata({
|
|
|
35966
36011
|
signature: "focus(): void"
|
|
35967
36012
|
},
|
|
35968
36013
|
value: {
|
|
35969
|
-
description: `This API retrieves the current value of the \`${COMP$
|
|
36014
|
+
description: `This API retrieves the current value of the \`${COMP$p}\`. You can use it to get the value programmatically.`,
|
|
35970
36015
|
signature: "get value(): number | [number, number] | undefined"
|
|
35971
36016
|
},
|
|
35972
36017
|
setValue: {
|
|
35973
|
-
description: `This API sets the value of the \`${COMP$
|
|
36018
|
+
description: `This API sets the value of the \`${COMP$p}\`. You can use it to programmatically change the value.`,
|
|
35974
36019
|
signature: "setValue(value: number | [number, number] | undefined): void",
|
|
35975
36020
|
parameters: {
|
|
35976
36021
|
value: "The new value to set. Can be a single value or an array of values for range sliders."
|
|
@@ -35979,37 +36024,37 @@ const SliderMd = createMetadata({
|
|
|
35979
36024
|
},
|
|
35980
36025
|
themeVars: parseScssVar(styles$D.themeVars),
|
|
35981
36026
|
defaultThemeVars: {
|
|
35982
|
-
[`backgroundColor-track-${COMP$
|
|
35983
|
-
[`backgroundColor-range-${COMP$
|
|
35984
|
-
[`borderWidth-thumb-${COMP$
|
|
35985
|
-
[`borderStyle-thumb-${COMP$
|
|
35986
|
-
[`borderColor-thumb-${COMP$
|
|
35987
|
-
[`backgroundColor-thumb-${COMP$
|
|
35988
|
-
[`backgroundColor-thumb-${COMP$
|
|
35989
|
-
[`boxShadow-thumb-${COMP$
|
|
35990
|
-
[`backgroundColor-thumb-${COMP$
|
|
35991
|
-
[`boxShadow-thumb-${COMP$
|
|
35992
|
-
[`borderRadius-${COMP$
|
|
35993
|
-
[`borderColor-${COMP$
|
|
35994
|
-
[`borderWidth-${COMP$
|
|
35995
|
-
[`borderStyle-${COMP$
|
|
35996
|
-
[`boxShadow-${COMP$
|
|
36027
|
+
[`backgroundColor-track-${COMP$p}`]: "$color-surface-200",
|
|
36028
|
+
[`backgroundColor-range-${COMP$p}`]: "$color-primary",
|
|
36029
|
+
[`borderWidth-thumb-${COMP$p}`]: "2px",
|
|
36030
|
+
[`borderStyle-thumb-${COMP$p}`]: "solid",
|
|
36031
|
+
[`borderColor-thumb-${COMP$p}`]: "$color-surface-50",
|
|
36032
|
+
[`backgroundColor-thumb-${COMP$p}`]: "$color-primary",
|
|
36033
|
+
[`backgroundColor-thumb-${COMP$p}--hover`]: "$color-primary",
|
|
36034
|
+
[`boxShadow-thumb-${COMP$p}--hover`]: "0 0 0 6px rgb(from $color-primary r g b / 0.4)",
|
|
36035
|
+
[`backgroundColor-thumb-${COMP$p}--active`]: "$color-primary-400",
|
|
36036
|
+
[`boxShadow-thumb-${COMP$p}--active`]: "0 0 0 6px rgb(from $color-primary r g b / 0.4)",
|
|
36037
|
+
[`borderRadius-${COMP$p}-default`]: "$borderRadius",
|
|
36038
|
+
[`borderColor-${COMP$p}-default`]: "transparent",
|
|
36039
|
+
[`borderWidth-${COMP$p}-default`]: "0",
|
|
36040
|
+
[`borderStyle-${COMP$p}-default`]: "solid",
|
|
36041
|
+
[`boxShadow-${COMP$p}-default`]: "none",
|
|
35997
36042
|
light: {
|
|
35998
|
-
[`backgroundColor-track-${COMP$
|
|
35999
|
-
[`backgroundColor-range-${COMP$
|
|
36000
|
-
[`backgroundColor-thumb-${COMP$
|
|
36001
|
-
[`borderColor-thumb-${COMP$
|
|
36043
|
+
[`backgroundColor-track-${COMP$p}--disabled`]: "$color-surface-300",
|
|
36044
|
+
[`backgroundColor-range-${COMP$p}--disabled`]: "$color-surface-400",
|
|
36045
|
+
[`backgroundColor-thumb-${COMP$p}`]: "$color-primary-500",
|
|
36046
|
+
[`borderColor-thumb-${COMP$p}`]: "$color-surface-50"
|
|
36002
36047
|
},
|
|
36003
36048
|
dark: {
|
|
36004
|
-
[`backgroundColor-track-${COMP$
|
|
36005
|
-
[`backgroundColor-range-${COMP$
|
|
36006
|
-
[`backgroundColor-thumb-${COMP$
|
|
36007
|
-
[`borderColor-thumb-${COMP$
|
|
36049
|
+
[`backgroundColor-track-${COMP$p}--disabled`]: "$color-surface-600",
|
|
36050
|
+
[`backgroundColor-range-${COMP$p}--disabled`]: "$color-surface-800",
|
|
36051
|
+
[`backgroundColor-thumb-${COMP$p}`]: "$color-primary-400",
|
|
36052
|
+
[`borderColor-thumb-${COMP$p}`]: "$color-surface-950"
|
|
36008
36053
|
}
|
|
36009
36054
|
}
|
|
36010
36055
|
});
|
|
36011
36056
|
const sliderComponentRenderer = createComponentRenderer(
|
|
36012
|
-
COMP$
|
|
36057
|
+
COMP$p,
|
|
36013
36058
|
SliderMd,
|
|
36014
36059
|
({
|
|
36015
36060
|
node,
|
|
@@ -36350,7 +36395,7 @@ const CarouselComponent = forwardRef(function CarouselComponent2({
|
|
|
36350
36395
|
}
|
|
36351
36396
|
) });
|
|
36352
36397
|
});
|
|
36353
|
-
const COMP$
|
|
36398
|
+
const COMP$o = "Carousel";
|
|
36354
36399
|
const CarouselMd = createMetadata({
|
|
36355
36400
|
status: "stable",
|
|
36356
36401
|
description: `This component displays a slideshow by cycling through elements (images, text, or custom slides) like a carousel.`,
|
|
@@ -36411,7 +36456,7 @@ const CarouselMd = createMetadata({
|
|
|
36411
36456
|
}
|
|
36412
36457
|
},
|
|
36413
36458
|
events: {
|
|
36414
|
-
displayDidChange: dDidChange(COMP$
|
|
36459
|
+
displayDidChange: dDidChange(COMP$o)
|
|
36415
36460
|
},
|
|
36416
36461
|
apis: {
|
|
36417
36462
|
canScrollPrev: {
|
|
@@ -36440,31 +36485,31 @@ const CarouselMd = createMetadata({
|
|
|
36440
36485
|
},
|
|
36441
36486
|
themeVars: parseScssVar(styles$g.themeVars),
|
|
36442
36487
|
defaultThemeVars: {
|
|
36443
|
-
[`backgroundColor-control-${COMP$
|
|
36444
|
-
[`textColor-control-${COMP$
|
|
36445
|
-
[`backgroundColor-control-hover-${COMP$
|
|
36446
|
-
[`textColor-control-hover-${COMP$
|
|
36447
|
-
[`backgroundColor-control-active-${COMP$
|
|
36448
|
-
[`backgroundColor-control-disabled-${COMP$
|
|
36449
|
-
[`textColor-control-disabled-${COMP$
|
|
36450
|
-
[`textColor-control-active-${COMP$
|
|
36451
|
-
[`backgroundColor-indicator-${COMP$
|
|
36452
|
-
[`backgroundColor-indicator-active-${COMP$
|
|
36453
|
-
[`textColor-indicator-${COMP$
|
|
36454
|
-
[`textColor-indicator-active-${COMP$
|
|
36455
|
-
[`backgroundColor-indicator-hover-${COMP$
|
|
36456
|
-
[`textColor-indicator-hover-${COMP$
|
|
36457
|
-
[`width-indicator-${COMP$
|
|
36458
|
-
[`height-indicator-${COMP$
|
|
36459
|
-
[`height-control-${COMP$
|
|
36460
|
-
[`width-control-${COMP$
|
|
36461
|
-
[`borderRadius-control-${COMP$
|
|
36462
|
-
[`height-${COMP$
|
|
36463
|
-
[`width-${COMP$
|
|
36488
|
+
[`backgroundColor-control-${COMP$o}`]: "$color-primary",
|
|
36489
|
+
[`textColor-control-${COMP$o}`]: "$textColor",
|
|
36490
|
+
[`backgroundColor-control-hover-${COMP$o}`]: "$color-primary",
|
|
36491
|
+
[`textColor-control-hover-${COMP$o}`]: "$textColor",
|
|
36492
|
+
[`backgroundColor-control-active-${COMP$o}`]: "$color-primary",
|
|
36493
|
+
[`backgroundColor-control-disabled-${COMP$o}`]: "$color-surface-200",
|
|
36494
|
+
[`textColor-control-disabled-${COMP$o}`]: "$textColor-disabled",
|
|
36495
|
+
[`textColor-control-active-${COMP$o}`]: "$color-primary",
|
|
36496
|
+
[`backgroundColor-indicator-${COMP$o}`]: "$color-surface-200",
|
|
36497
|
+
[`backgroundColor-indicator-active-${COMP$o}`]: "$color-primary",
|
|
36498
|
+
[`textColor-indicator-${COMP$o}`]: "$color-primary",
|
|
36499
|
+
[`textColor-indicator-active-${COMP$o}`]: "$color-primary",
|
|
36500
|
+
[`backgroundColor-indicator-hover-${COMP$o}`]: "$color-surface-200",
|
|
36501
|
+
[`textColor-indicator-hover-${COMP$o}`]: "$color-primary",
|
|
36502
|
+
[`width-indicator-${COMP$o}`]: "25px",
|
|
36503
|
+
[`height-indicator-${COMP$o}`]: "6px",
|
|
36504
|
+
[`height-control-${COMP$o}`]: "36px",
|
|
36505
|
+
[`width-control-${COMP$o}`]: "36px",
|
|
36506
|
+
[`borderRadius-control-${COMP$o}`]: "50%",
|
|
36507
|
+
[`height-${COMP$o}`]: "100%",
|
|
36508
|
+
[`width-${COMP$o}`]: "100%"
|
|
36464
36509
|
}
|
|
36465
36510
|
});
|
|
36466
36511
|
const carouselComponentRenderer = createComponentRenderer(
|
|
36467
|
-
COMP$
|
|
36512
|
+
COMP$o,
|
|
36468
36513
|
CarouselMd,
|
|
36469
36514
|
({ node, renderChild: renderChild2, className, extractValue, lookupEventHandler, registerComponentApi }) => {
|
|
36470
36515
|
var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
@@ -36516,12 +36561,12 @@ const CarouselItemComponent = forwardRef(function CarouselItemComponent2({ child
|
|
|
36516
36561
|
/* @__PURE__ */ jsx("div", { className: styles$g.innerWrapper, ref: forwardedRef, style: style2, children })
|
|
36517
36562
|
);
|
|
36518
36563
|
});
|
|
36519
|
-
const COMP$
|
|
36564
|
+
const COMP$n = "CarouselItem";
|
|
36520
36565
|
const CarouselItemMd = createMetadata({
|
|
36521
36566
|
status: "in progress"
|
|
36522
36567
|
});
|
|
36523
36568
|
const carouselItemComponentRenderer = createComponentRenderer(
|
|
36524
|
-
COMP$
|
|
36569
|
+
COMP$n,
|
|
36525
36570
|
CarouselItemMd,
|
|
36526
36571
|
(rendererContext) => {
|
|
36527
36572
|
const { node, renderChild: renderChild2 } = rendererContext;
|
|
@@ -36535,19 +36580,19 @@ const styles$f = {
|
|
|
36535
36580
|
const Breakout = ({ children, style: style2, ...rest }) => {
|
|
36536
36581
|
return /* @__PURE__ */ jsx("div", { ...rest, style: style2, className: styles$f.breakout, children });
|
|
36537
36582
|
};
|
|
36538
|
-
const COMP$
|
|
36583
|
+
const COMP$m = "Breakout";
|
|
36539
36584
|
const BreakoutMd = createMetadata({
|
|
36540
36585
|
status: "stable",
|
|
36541
|
-
description: `The \`${COMP$
|
|
36586
|
+
description: `The \`${COMP$m}\` component creates a breakout section. It allows its child to occupy the entire width of the UI even if the app or the parent container constrains the maximum content width.`
|
|
36542
36587
|
});
|
|
36543
36588
|
const breakoutComponentRenderer = createComponentRenderer(
|
|
36544
|
-
COMP$
|
|
36589
|
+
COMP$m,
|
|
36545
36590
|
BreakoutMd,
|
|
36546
36591
|
({ node, renderChild: renderChild2 }) => {
|
|
36547
36592
|
return /* @__PURE__ */ jsx(Breakout, { children: renderChild2(node.children) });
|
|
36548
36593
|
}
|
|
36549
36594
|
);
|
|
36550
|
-
const COMP$
|
|
36595
|
+
const COMP$l = "ToneChangerButton";
|
|
36551
36596
|
const LIGHT_TO_DARK_ICON = "lightToDark:ToneChangerButton";
|
|
36552
36597
|
const DARK_TO_LIGHT_ICON = "darkToLight:ToneChangerButton";
|
|
36553
36598
|
const defaultProps$a = {
|
|
@@ -36560,16 +36605,16 @@ const ToneChangerButtonMd = createMetadata({
|
|
|
36560
36605
|
description: "`ToneChangerButton` enables the user to switch between light and dark modes.",
|
|
36561
36606
|
props: {
|
|
36562
36607
|
lightToDarkIcon: {
|
|
36563
|
-
description: `The icon displayed when the theme is in light mode and will switch to dark. You can change the default icon for all ${COMP$
|
|
36608
|
+
description: `The icon displayed when the theme is in light mode and will switch to dark. You can change the default icon for all ${COMP$l} instances with the "icon.lightToDark:ToneChangerButton" declaration in the app configuration file.`,
|
|
36564
36609
|
defaultValue: defaultProps$a.lightToDarkIcon
|
|
36565
36610
|
},
|
|
36566
36611
|
darkToLightIcon: {
|
|
36567
|
-
description: `The icon displayed when the theme is in dark mode and will switch to light. You can change the default icon for all ${COMP$
|
|
36612
|
+
description: `The icon displayed when the theme is in dark mode and will switch to light. You can change the default icon for all ${COMP$l} instances with the "icon.darkToLight:ToneChangerButton" declaration in the app configuration file.`,
|
|
36568
36613
|
defaultValue: defaultProps$a.darkToLightIcon
|
|
36569
36614
|
}
|
|
36570
36615
|
},
|
|
36571
36616
|
events: {
|
|
36572
|
-
click: dClick(COMP$
|
|
36617
|
+
click: dClick(COMP$l)
|
|
36573
36618
|
}
|
|
36574
36619
|
});
|
|
36575
36620
|
function ToneChangerButton({
|
|
@@ -36599,7 +36644,7 @@ function ToneChangerButton({
|
|
|
36599
36644
|
);
|
|
36600
36645
|
}
|
|
36601
36646
|
const toneChangerButtonComponentRenderer = createComponentRenderer(
|
|
36602
|
-
COMP$
|
|
36647
|
+
COMP$l,
|
|
36603
36648
|
ToneChangerButtonMd,
|
|
36604
36649
|
({ node, extractValue, lookupEventHandler }) => {
|
|
36605
36650
|
return /* @__PURE__ */ jsx(
|
|
@@ -36660,7 +36705,7 @@ const ToneSwitch = forwardRef(function ToneSwitch2({
|
|
|
36660
36705
|
}
|
|
36661
36706
|
) });
|
|
36662
36707
|
});
|
|
36663
|
-
const COMP$
|
|
36708
|
+
const COMP$k = "ToneSwitch";
|
|
36664
36709
|
const ToneSwitchMd = createMetadata({
|
|
36665
36710
|
status: "stable",
|
|
36666
36711
|
description: "`ToneSwitch` enables the user to switch between light and dark modes using a switch control.",
|
|
@@ -36679,22 +36724,22 @@ const ToneSwitchMd = createMetadata({
|
|
|
36679
36724
|
themeVars: parseScssVar(styles$e.themeVars),
|
|
36680
36725
|
limitThemeVarsToComponent: true,
|
|
36681
36726
|
defaultThemeVars: {
|
|
36682
|
-
[`backgroundColor-${COMP$
|
|
36683
|
-
[`color-${COMP$
|
|
36684
|
-
[`backgroundColor-${COMP$
|
|
36685
|
-
[`color-${COMP$
|
|
36686
|
-
[`borderColor-${COMP$
|
|
36687
|
-
[`borderColor-${COMP$
|
|
36727
|
+
[`backgroundColor-${COMP$k}-light`]: "$color-surface-200",
|
|
36728
|
+
[`color-${COMP$k}-light`]: "$color-text-primary",
|
|
36729
|
+
[`backgroundColor-${COMP$k}-dark`]: "$color-primary-500",
|
|
36730
|
+
[`color-${COMP$k}-dark`]: "$color-surface-0",
|
|
36731
|
+
[`borderColor-${COMP$k}`]: "$color-surface-200",
|
|
36732
|
+
[`borderColor-${COMP$k}--hover`]: "$color-surface-300",
|
|
36688
36733
|
dark: {
|
|
36689
|
-
[`backgroundColor-${COMP$
|
|
36690
|
-
[`color-${COMP$
|
|
36691
|
-
[`borderColor-${COMP$
|
|
36692
|
-
[`borderColor-${COMP$
|
|
36734
|
+
[`backgroundColor-${COMP$k}-light`]: "$color-surface-700",
|
|
36735
|
+
[`color-${COMP$k}-light`]: "$color-text-primary",
|
|
36736
|
+
[`borderColor-${COMP$k}`]: "$color-surface-600",
|
|
36737
|
+
[`borderColor-${COMP$k}--hover`]: "$color-surface-500"
|
|
36693
36738
|
}
|
|
36694
36739
|
}
|
|
36695
36740
|
});
|
|
36696
36741
|
const toneSwitchComponentRenderer = createComponentRenderer(
|
|
36697
|
-
COMP$
|
|
36742
|
+
COMP$k,
|
|
36698
36743
|
ToneSwitchMd,
|
|
36699
36744
|
({ node, extractValue, className }) => {
|
|
36700
36745
|
return /* @__PURE__ */ jsx(
|
|
@@ -36741,7 +36786,7 @@ function APICallNative({ registerComponentApi, node, uid }) {
|
|
|
36741
36786
|
}, [execute, registerComponentApi]);
|
|
36742
36787
|
return null;
|
|
36743
36788
|
}
|
|
36744
|
-
const COMP$
|
|
36789
|
+
const COMP$j = "APICall";
|
|
36745
36790
|
const APICallMd = createMetadata({
|
|
36746
36791
|
status: "stable",
|
|
36747
36792
|
description: "`APICall` creates, updates or deletes data on the backend, versus [`DataSource`](/components/DataSource) which fetches data. Unlike DataSource, APICall doesn't automatically execute - you must trigger it manually with the `execute()` method, typically from form submissions or button clicks.",
|
|
@@ -36772,15 +36817,15 @@ const APICallMd = createMetadata({
|
|
|
36772
36817
|
description: "You can optionally define request header values as key-value pairs, where the key is the ID of the particular header and the value is that header's corresponding value."
|
|
36773
36818
|
},
|
|
36774
36819
|
confirmTitle: {
|
|
36775
|
-
description: `This optional string sets the title in the confirmation dialog that is displayed before the \`${COMP$
|
|
36820
|
+
description: `This optional string sets the title in the confirmation dialog that is displayed before the \`${COMP$j}\` is executed.`,
|
|
36776
36821
|
valueType: "string"
|
|
36777
36822
|
},
|
|
36778
36823
|
confirmMessage: {
|
|
36779
|
-
description: `This optional string sets the message in the confirmation dialog that is displayed before the \`${COMP$
|
|
36824
|
+
description: `This optional string sets the message in the confirmation dialog that is displayed before the \`${COMP$j}\` is executed.`,
|
|
36780
36825
|
valueType: "string"
|
|
36781
36826
|
},
|
|
36782
36827
|
confirmButtonLabel: {
|
|
36783
|
-
description: `This optional string property enables the customization of the submit button in the confirmation dialog that is displayed before the \`${COMP$
|
|
36828
|
+
description: `This optional string property enables the customization of the submit button in the confirmation dialog that is displayed before the \`${COMP$j}\` is executed.`,
|
|
36784
36829
|
valueType: "string"
|
|
36785
36830
|
},
|
|
36786
36831
|
inProgressNotificationMessage: {
|
|
@@ -36839,13 +36884,13 @@ const APICallMd = createMetadata({
|
|
|
36839
36884
|
}
|
|
36840
36885
|
});
|
|
36841
36886
|
const apiCallRenderer = createComponentRenderer(
|
|
36842
|
-
COMP$
|
|
36887
|
+
COMP$j,
|
|
36843
36888
|
APICallMd,
|
|
36844
36889
|
({ node, registerComponentApi, uid }) => {
|
|
36845
36890
|
return /* @__PURE__ */ jsx(APICallNative, { registerComponentApi, node, uid });
|
|
36846
36891
|
}
|
|
36847
36892
|
);
|
|
36848
|
-
const COMP$
|
|
36893
|
+
const COMP$i = "Option";
|
|
36849
36894
|
const OptionMd = createMetadata({
|
|
36850
36895
|
status: "stable",
|
|
36851
36896
|
description: "`Option` defines selectable items for choice-based components, providing both the underlying value and display text for selection interfaces. It serves as a non-visual data structure that describes individual choices within [Select](/components/Select), [AutoComplete](/components/AutoComplete), and other selection components.",
|
|
@@ -36864,7 +36909,7 @@ const OptionMd = createMetadata({
|
|
|
36864
36909
|
}
|
|
36865
36910
|
});
|
|
36866
36911
|
const optionComponentRenderer = createComponentRenderer(
|
|
36867
|
-
COMP$
|
|
36912
|
+
COMP$i,
|
|
36868
36913
|
OptionMd,
|
|
36869
36914
|
({ node, extractValue, className, renderChild: renderChild2, layoutContext }) => {
|
|
36870
36915
|
var _a2, _b;
|
|
@@ -36896,7 +36941,7 @@ const optionComponentRenderer = createComponentRenderer(
|
|
|
36896
36941
|
);
|
|
36897
36942
|
}
|
|
36898
36943
|
);
|
|
36899
|
-
const COMP$
|
|
36944
|
+
const COMP$h = "AutoComplete";
|
|
36900
36945
|
const AutoCompleteMd = createMetadata({
|
|
36901
36946
|
status: "experimental",
|
|
36902
36947
|
description: "`AutoComplete` is a searchable dropdown input that allows users to type and filter through options, with support for single or multiple selections. Unlike a basic [`Select`](/components/Select), it provides type-ahead functionality and can allow users to create new options.",
|
|
@@ -36941,8 +36986,8 @@ const AutoCompleteMd = createMetadata({
|
|
|
36941
36986
|
...dLabelPosition(),
|
|
36942
36987
|
defaultValue: defaultProps$y.labelPosition
|
|
36943
36988
|
},
|
|
36944
|
-
labelWidth: dLabelWidth(COMP$
|
|
36945
|
-
labelBreak: dLabelBreak(COMP$
|
|
36989
|
+
labelWidth: dLabelWidth(COMP$h),
|
|
36990
|
+
labelBreak: dLabelBreak(COMP$h),
|
|
36946
36991
|
dropdownHeight: d("This property sets the height of the dropdown list."),
|
|
36947
36992
|
multi: {
|
|
36948
36993
|
...dMulti(),
|
|
@@ -36956,16 +37001,16 @@ const AutoCompleteMd = createMetadata({
|
|
|
36956
37001
|
)
|
|
36957
37002
|
},
|
|
36958
37003
|
events: {
|
|
36959
|
-
gotFocus: dGotFocus(COMP$
|
|
36960
|
-
lostFocus: dLostFocus(COMP$
|
|
36961
|
-
didChange: dDidChange(COMP$
|
|
37004
|
+
gotFocus: dGotFocus(COMP$h),
|
|
37005
|
+
lostFocus: dLostFocus(COMP$h),
|
|
37006
|
+
didChange: dDidChange(COMP$h),
|
|
36962
37007
|
itemCreated: {
|
|
36963
37008
|
description: "This event is triggered when a new item is created by the user (if `creatable` is enabled)."
|
|
36964
37009
|
}
|
|
36965
37010
|
},
|
|
36966
37011
|
apis: {
|
|
36967
37012
|
focus: {
|
|
36968
|
-
description: `This method focuses the ${COMP$
|
|
37013
|
+
description: `This method focuses the ${COMP$h} component.`,
|
|
36969
37014
|
signature: "focus()"
|
|
36970
37015
|
},
|
|
36971
37016
|
value: {
|
|
@@ -36987,30 +37032,30 @@ const AutoCompleteMd = createMetadata({
|
|
|
36987
37032
|
},
|
|
36988
37033
|
themeVars: parseScssVar(styles$E.themeVars),
|
|
36989
37034
|
defaultThemeVars: {
|
|
36990
|
-
[`backgroundColor-menu-${COMP$
|
|
36991
|
-
[`boxShadow-menu-${COMP$
|
|
36992
|
-
[`borderRadius-menu-${COMP$
|
|
36993
|
-
[`borderWidth-menu-${COMP$
|
|
36994
|
-
[`borderColor-menu-${COMP$
|
|
36995
|
-
[`backgroundColor-item-${COMP$
|
|
36996
|
-
[`backgroundColor-item-${COMP$
|
|
36997
|
-
[`backgroundColor-item-${COMP$
|
|
37035
|
+
[`backgroundColor-menu-${COMP$h}`]: "$backgroundColor-primary",
|
|
37036
|
+
[`boxShadow-menu-${COMP$h}`]: "$boxShadow-md",
|
|
37037
|
+
[`borderRadius-menu-${COMP$h}`]: "$borderRadius",
|
|
37038
|
+
[`borderWidth-menu-${COMP$h}`]: "1px",
|
|
37039
|
+
[`borderColor-menu-${COMP$h}`]: "$borderColor",
|
|
37040
|
+
[`backgroundColor-item-${COMP$h}`]: "$backgroundColor-dropdown-item",
|
|
37041
|
+
[`backgroundColor-item-${COMP$h}--hover`]: "$backgroundColor-dropdown-item--active",
|
|
37042
|
+
[`backgroundColor-item-${COMP$h}--active`]: "$backgroundColor-dropdown-item--active",
|
|
36998
37043
|
[`minHeight-Input`]: "39px",
|
|
36999
|
-
[`backgroundColor-${COMP$
|
|
37000
|
-
[`fontSize-${COMP$
|
|
37001
|
-
[`borderRadius-${COMP$
|
|
37002
|
-
[`paddingHorizontal-${COMP$
|
|
37003
|
-
[`paddingVertical-${COMP$
|
|
37004
|
-
[`paddingHorizontal-${COMP$
|
|
37005
|
-
[`paddingVertical-${COMP$
|
|
37006
|
-
[`backgroundColor-${COMP$
|
|
37007
|
-
[`backgroundColor-${COMP$
|
|
37008
|
-
[`textColor-item-${COMP$
|
|
37009
|
-
[`textColor-${COMP$
|
|
37044
|
+
[`backgroundColor-${COMP$h}-badge`]: "$color-primary-500",
|
|
37045
|
+
[`fontSize-${COMP$h}-badge`]: "$fontSize-sm",
|
|
37046
|
+
[`borderRadius-${COMP$h}-badge`]: "$borderRadius",
|
|
37047
|
+
[`paddingHorizontal-${COMP$h}-badge`]: "$space-2",
|
|
37048
|
+
[`paddingVertical-${COMP$h}-badge`]: "$space-1",
|
|
37049
|
+
[`paddingHorizontal-${COMP$h}`]: "$space-1",
|
|
37050
|
+
[`paddingVertical-${COMP$h}`]: "$space-2",
|
|
37051
|
+
[`backgroundColor-${COMP$h}-badge--hover`]: "$color-primary-400",
|
|
37052
|
+
[`backgroundColor-${COMP$h}-badge--active`]: "$color-primary-500",
|
|
37053
|
+
[`textColor-item-${COMP$h}--disabled`]: "$color-surface-200",
|
|
37054
|
+
[`textColor-${COMP$h}-badge`]: "$const-color-surface-50"
|
|
37010
37055
|
}
|
|
37011
37056
|
});
|
|
37012
37057
|
const autoCompleteComponentRenderer = createComponentRenderer(
|
|
37013
|
-
COMP$
|
|
37058
|
+
COMP$h,
|
|
37014
37059
|
AutoCompleteMd,
|
|
37015
37060
|
({
|
|
37016
37061
|
node,
|
|
@@ -37101,10 +37146,10 @@ const Backdrop = forwardRef(function Backdrop2({
|
|
|
37101
37146
|
}
|
|
37102
37147
|
);
|
|
37103
37148
|
});
|
|
37104
|
-
const COMP$
|
|
37149
|
+
const COMP$g = "Backdrop";
|
|
37105
37150
|
const BackdropMd = createMetadata({
|
|
37106
37151
|
status: "stable",
|
|
37107
|
-
description: `The \`${COMP$
|
|
37152
|
+
description: `The \`${COMP$g}\` component is a semi-transparent overlay that appears on top of its child component to obscure or highlight the content behind it.`,
|
|
37108
37153
|
props: {
|
|
37109
37154
|
overlayTemplate: dComponent(
|
|
37110
37155
|
"This property defines the component template for an optional overlay to display over the component."
|
|
@@ -37120,12 +37165,12 @@ const BackdropMd = createMetadata({
|
|
|
37120
37165
|
},
|
|
37121
37166
|
themeVars: parseScssVar(styles$d.themeVars),
|
|
37122
37167
|
defaultThemeVars: {
|
|
37123
|
-
[`backgroundColor-${COMP$
|
|
37124
|
-
[`opacity-${COMP$
|
|
37168
|
+
[`backgroundColor-${COMP$g}`]: "black",
|
|
37169
|
+
[`opacity-${COMP$g}`]: "0.1"
|
|
37125
37170
|
}
|
|
37126
37171
|
});
|
|
37127
37172
|
const backdropComponentRenderer = createComponentRenderer(
|
|
37128
|
-
COMP$
|
|
37173
|
+
COMP$g,
|
|
37129
37174
|
BackdropMd,
|
|
37130
37175
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
37131
37176
|
var _a2;
|
|
@@ -39066,7 +39111,7 @@ const htmlWbrTagRenderer = createComponentRenderer(
|
|
|
39066
39111
|
return /* @__PURE__ */ jsx("wbr", { className, ...props, children: renderChild2(node.children) });
|
|
39067
39112
|
}
|
|
39068
39113
|
);
|
|
39069
|
-
const COMP$
|
|
39114
|
+
const COMP$f = "ColorPicker";
|
|
39070
39115
|
const ColorPickerMd = createMetadata({
|
|
39071
39116
|
status: "stable",
|
|
39072
39117
|
description: "`ColorPicker` enables users to choose colors by specifying RGB, HSL, or HEX values.",
|
|
@@ -39074,8 +39119,8 @@ const ColorPickerMd = createMetadata({
|
|
|
39074
39119
|
initialValue: dInitialValue(),
|
|
39075
39120
|
label: dLabel(),
|
|
39076
39121
|
labelPosition: dLabelPosition(),
|
|
39077
|
-
labelWidth: dLabelWidth(COMP$
|
|
39078
|
-
labelBreak: dLabelBreak(COMP$
|
|
39122
|
+
labelWidth: dLabelWidth(COMP$f),
|
|
39123
|
+
labelBreak: dLabelBreak(COMP$f),
|
|
39079
39124
|
enabled: dEnabled(),
|
|
39080
39125
|
autoFocus: dAutoFocus(),
|
|
39081
39126
|
required: dRequired(),
|
|
@@ -39083,21 +39128,21 @@ const ColorPickerMd = createMetadata({
|
|
|
39083
39128
|
validationStatus: dValidationStatus(defaultProps$t.validationStatus)
|
|
39084
39129
|
},
|
|
39085
39130
|
events: {
|
|
39086
|
-
didChange: dDidChange(COMP$
|
|
39087
|
-
gotFocus: dGotFocus(COMP$
|
|
39088
|
-
lostFocus: dLostFocus(COMP$
|
|
39131
|
+
didChange: dDidChange(COMP$f),
|
|
39132
|
+
gotFocus: dGotFocus(COMP$f),
|
|
39133
|
+
lostFocus: dLostFocus(COMP$f)
|
|
39089
39134
|
},
|
|
39090
39135
|
apis: {
|
|
39091
39136
|
focus: {
|
|
39092
|
-
description: `Focus the ${COMP$
|
|
39137
|
+
description: `Focus the ${COMP$f} component.`,
|
|
39093
39138
|
signature: "focus(): void"
|
|
39094
39139
|
},
|
|
39095
39140
|
value: {
|
|
39096
|
-
description: `This method returns the current value of the ${COMP$
|
|
39141
|
+
description: `This method returns the current value of the ${COMP$f}.`,
|
|
39097
39142
|
signature: "get value(): string"
|
|
39098
39143
|
},
|
|
39099
39144
|
setValue: {
|
|
39100
|
-
description: `This method sets the current value of the ${COMP$
|
|
39145
|
+
description: `This method sets the current value of the ${COMP$f}.`,
|
|
39101
39146
|
signature: "set value(value: string): void",
|
|
39102
39147
|
parameters: {
|
|
39103
39148
|
value: "The new value to set for the color picker."
|
|
@@ -39119,8 +39164,8 @@ const colorPickerComponentRenderer = createComponentRenderer(
|
|
|
39119
39164
|
updateState
|
|
39120
39165
|
}) => {
|
|
39121
39166
|
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
39122
|
-
const
|
|
39123
|
-
const
|
|
39167
|
+
const readOnly2 = extractValue.asOptionalBoolean((_a2 = node.props) == null ? void 0 : _a2.readOnly, false);
|
|
39168
|
+
const enabled2 = extractValue.asOptionalBoolean((_b = node.props) == null ? void 0 : _b.enabled, true);
|
|
39124
39169
|
return /* @__PURE__ */ jsx(
|
|
39125
39170
|
ColorPicker,
|
|
39126
39171
|
{
|
|
@@ -39134,7 +39179,8 @@ const colorPickerComponentRenderer = createComponentRenderer(
|
|
|
39134
39179
|
registerComponentApi,
|
|
39135
39180
|
className,
|
|
39136
39181
|
required: extractValue.asOptionalBoolean((_c = node.props) == null ? void 0 : _c.required),
|
|
39137
|
-
enabled: enabled2 && !
|
|
39182
|
+
enabled: enabled2 && !readOnly2,
|
|
39183
|
+
readOnly: readOnly2,
|
|
39138
39184
|
autoFocus: extractValue.asOptionalBoolean((_d = node.props) == null ? void 0 : _d.autoFocus),
|
|
39139
39185
|
label: extractValue((_e = node.props) == null ? void 0 : _e.label),
|
|
39140
39186
|
labelPosition: extractValue((_f = node.props) == null ? void 0 : _f.labelPosition),
|
|
@@ -39144,38 +39190,6 @@ const colorPickerComponentRenderer = createComponentRenderer(
|
|
|
39144
39190
|
);
|
|
39145
39191
|
}
|
|
39146
39192
|
);
|
|
39147
|
-
const COMP$f = "RadioItem";
|
|
39148
|
-
const RadioItemMd = createMetadata({
|
|
39149
|
-
status: "experimental",
|
|
39150
|
-
description: `The \`${COMP$f}\` component is a radio button that is part of a group of radio buttons.`,
|
|
39151
|
-
props: {
|
|
39152
|
-
checked: {
|
|
39153
|
-
description: "This property specifies whether the radio button is checked.",
|
|
39154
|
-
defaultValue: defaultProps$D.checked
|
|
39155
|
-
},
|
|
39156
|
-
value: {
|
|
39157
|
-
description: "This property specifies the value of the radio button.",
|
|
39158
|
-
defaultValue: defaultProps$D.value
|
|
39159
|
-
}
|
|
39160
|
-
},
|
|
39161
|
-
events: {
|
|
39162
|
-
didChange: dDidChange(COMP$f)
|
|
39163
|
-
}
|
|
39164
|
-
});
|
|
39165
|
-
const radioItemComponentRenderer = createComponentRenderer(
|
|
39166
|
-
COMP$f,
|
|
39167
|
-
RadioItemMd,
|
|
39168
|
-
({ node, extractValue, lookupEventHandler }) => {
|
|
39169
|
-
return /* @__PURE__ */ jsx(
|
|
39170
|
-
RadioItem,
|
|
39171
|
-
{
|
|
39172
|
-
checked: extractValue(node.props.checked),
|
|
39173
|
-
value: extractValue(node.props.value),
|
|
39174
|
-
onDidChange: lookupEventHandler("didChange")
|
|
39175
|
-
}
|
|
39176
|
-
);
|
|
39177
|
-
}
|
|
39178
|
-
);
|
|
39179
39193
|
const wrapper$3 = "_wrapper_1r5nz_13";
|
|
39180
39194
|
const inspectableNode = "_inspectableNode_1r5nz_28";
|
|
39181
39195
|
const inspectOverlay = "_inspectOverlay_1r5nz_38";
|
|
@@ -42120,9 +42134,6 @@ class ComponentRegistry {
|
|
|
42120
42134
|
if (process.env.VITE_USED_COMPONENTS_CarouselItem !== "false") {
|
|
42121
42135
|
this.registerCoreComponent(carouselItemComponentRenderer);
|
|
42122
42136
|
}
|
|
42123
|
-
if (process.env.VITE_USED_COMPONENTS_RadioItem !== "false") {
|
|
42124
|
-
this.registerCoreComponent(radioItemComponentRenderer);
|
|
42125
|
-
}
|
|
42126
42137
|
if (process.env.VITE_USED_COMPONENTS_FileUploadDropZone !== "false") {
|
|
42127
42138
|
this.registerCoreComponent(fileUploadDropZoneComponentRenderer);
|
|
42128
42139
|
}
|
|
@@ -43410,7 +43421,7 @@ function IconProvider({ children }) {
|
|
|
43410
43421
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
43411
43422
|
] });
|
|
43412
43423
|
}
|
|
43413
|
-
const version = "0.10.
|
|
43424
|
+
const version = "0.10.13";
|
|
43414
43425
|
const miscellaneousUtils = {
|
|
43415
43426
|
capitalize,
|
|
43416
43427
|
pluralize: pluralize$1,
|
|
@@ -43713,7 +43724,7 @@ function createContainerReducer(debugView) {
|
|
|
43713
43724
|
let tempValueInLocalVars = localVars;
|
|
43714
43725
|
setWith(state, path, value, (nsValue, key, nsObject) => {
|
|
43715
43726
|
tempValueInLocalVars = tempValueInLocalVars == null ? void 0 : tempValueInLocalVars[key];
|
|
43716
|
-
if (nsValue === void 0 && tempValueInLocalVars
|
|
43727
|
+
if (nsValue === void 0 && isPlainObject(tempValueInLocalVars) && isPlainObject(target2)) {
|
|
43717
43728
|
const next = Object(nsValue);
|
|
43718
43729
|
return next;
|
|
43719
43730
|
}
|
|
@@ -45229,7 +45240,8 @@ const Container = memo(
|
|
|
45229
45240
|
memoedVarsRef,
|
|
45230
45241
|
isImplicit,
|
|
45231
45242
|
uidInfoRef: parentUidInfoRef,
|
|
45232
|
-
children
|
|
45243
|
+
children,
|
|
45244
|
+
...rest
|
|
45233
45245
|
}, ref) {
|
|
45234
45246
|
var _a2;
|
|
45235
45247
|
const { apiBoundContainer } = node;
|
|
@@ -45575,7 +45587,7 @@ const Container = memo(
|
|
|
45575
45587
|
delete fnsRef.current[uid];
|
|
45576
45588
|
});
|
|
45577
45589
|
const stableRenderChild = useCallback(
|
|
45578
|
-
(childNode, lc, pRenderContext, uidInfoRef2, ref2) => {
|
|
45590
|
+
(childNode, lc, pRenderContext, uidInfoRef2, ref2, rest2) => {
|
|
45579
45591
|
if (typeof childNode === "string") {
|
|
45580
45592
|
throw Error("should be resolved for now");
|
|
45581
45593
|
}
|
|
@@ -45620,7 +45632,8 @@ const Container = memo(
|
|
|
45620
45632
|
});
|
|
45621
45633
|
if (renderedChildren2.length === 1) {
|
|
45622
45634
|
return ref2 && renderedChildren2[0] && isValidElement(renderedChildren2[0]) ? React__default.cloneElement(renderedChildren2[0], {
|
|
45623
|
-
ref: composeRefs(ref2, renderedChildren2[0].ref)
|
|
45635
|
+
ref: composeRefs(ref2, renderedChildren2[0].ref),
|
|
45636
|
+
...mergeProps(renderedChildren2[0].props, rest2)
|
|
45624
45637
|
}) : renderedChildren2[0];
|
|
45625
45638
|
}
|
|
45626
45639
|
return renderedChildren2;
|
|
@@ -45651,7 +45664,8 @@ const Container = memo(
|
|
|
45651
45664
|
layoutContextRef == null ? void 0 : layoutContextRef.current,
|
|
45652
45665
|
parentRenderContext,
|
|
45653
45666
|
uidInfoRef,
|
|
45654
|
-
ref
|
|
45667
|
+
ref,
|
|
45668
|
+
rest
|
|
45655
45669
|
);
|
|
45656
45670
|
const renderedLoaders = renderLoaders({
|
|
45657
45671
|
uidInfo,
|
|
@@ -46920,7 +46934,7 @@ const ComponentAdapter = forwardRef(function ComponentAdapter2({
|
|
|
46920
46934
|
);
|
|
46921
46935
|
const mouseEventHandlers = useMouseEventHandlers(
|
|
46922
46936
|
memoedLookupEventHandler,
|
|
46923
|
-
(descriptor == null ? void 0 : descriptor.nonVisual) || isApiBound
|
|
46937
|
+
(descriptor == null ? void 0 : descriptor.nonVisual) || isApiBound || isCompoundComponent
|
|
46924
46938
|
);
|
|
46925
46939
|
const { getResourceUrl } = useTheme();
|
|
46926
46940
|
const extractResourceUrl = useCallback(
|