xmlui 0.10.13 → 0.10.14
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-Db5iQkFp.mjs → index-779mp2Bm.mjs} +943 -736
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-B9LtmFJG.mjs → initMock-CAXdczCj.mjs} +1 -1
- package/dist/lib/xmlui.d.ts +16 -1
- package/dist/lib/xmlui.mjs +33 -32
- package/dist/metadata/{collectedComponentMetadata-BN8eg9Gr.mjs → collectedComponentMetadata-7DFXlw-J.mjs} +15057 -14865
- package/dist/metadata/{initMock-J7pN8owj.mjs → initMock-AFWEftc6.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/bin/build-lib.js +21 -13
- package/dist/scripts/bin/viteConfig.js +3 -1
- package/dist/scripts/package.json +1 -1
- package/dist/scripts/src/abstractions/scripting/Token.js +2 -0
- package/dist/scripts/src/abstractions/scripting/TryScope.js +2 -0
- package/dist/scripts/src/abstractions/scripting/modules.js +2 -0
- package/dist/scripts/src/components/APICall/APICall.spec.js +910 -0
- package/dist/scripts/src/components/Accordion/Accordion.spec.js +969 -0
- package/dist/scripts/src/components/Animation/Animation.js +50 -0
- package/dist/scripts/src/components/App/App.spec.js +219 -0
- package/dist/scripts/src/components/AppHeader/AppHeader.spec.js +169 -0
- package/dist/scripts/src/components/AppState/AppState.spec.js +268 -0
- package/dist/scripts/src/components/AutoComplete/AutoComplete.spec.js +383 -0
- package/dist/scripts/src/components/Avatar/Avatar.spec.js +1543 -0
- package/dist/scripts/src/components/Backdrop/Backdrop.spec.js +131 -0
- package/dist/scripts/src/components/Badge/Badge.spec.js +2214 -0
- package/dist/scripts/src/components/Bookmark/Bookmark.spec.js +230 -0
- package/dist/scripts/src/components/Breakout/Breakout.spec.js +56 -0
- package/dist/scripts/src/components/Button/Button-style.spec.js +274 -0
- package/dist/scripts/src/components/Button/Button.spec.js +454 -0
- package/dist/scripts/src/components/Card/Card.spec.js +150 -0
- package/dist/scripts/src/components/Carousel/Carousel.spec.js +343 -0
- package/dist/scripts/src/components/Carousel/CarouselNative.js +2 -2
- package/dist/scripts/src/components/ChangeListener/ChangeListener.spec.js +169 -0
- package/dist/scripts/src/components/Charts/AreaChart/AreaChart.spec.js +999 -0
- package/dist/scripts/src/components/Charts/BarChart/BarChart.spec.js +597 -0
- package/dist/scripts/src/components/Charts/DonutChart/DonutChart.spec.js +608 -0
- package/dist/scripts/src/components/Charts/LabelList/LabelList.spec.js +539 -0
- package/dist/scripts/src/components/Charts/Legend/Legend.spec.js +558 -0
- package/dist/scripts/src/components/Charts/LineChart/LineChart.spec.js +450 -0
- package/dist/scripts/src/components/Charts/PieChart/PieChart.spec.js +584 -0
- package/dist/scripts/src/components/Charts/RadarChart/RadarChart.spec.js +571 -0
- package/dist/scripts/src/components/Charts/Tooltip/TooltipContent.spec.js +449 -0
- package/dist/scripts/src/components/Checkbox/Checkbox.spec.js +964 -0
- package/dist/scripts/src/components/CodeBlock/CodeBlock.spec.js +196 -0
- package/dist/scripts/src/components/ColorPicker/ColorPicker.spec.js +283 -0
- package/dist/scripts/src/components/ColorPicker/ColorPickerNative.js +9 -26
- package/dist/scripts/src/components/Column/doc-resources/list-component-data.js +53 -0
- package/dist/scripts/src/components/ComponentProvider.js +6 -2
- package/dist/scripts/src/components/ContentSeparator/ContentSeparator.spec.js +338 -0
- package/dist/scripts/src/components/DateInput/DateInput.spec.js +918 -0
- package/dist/scripts/src/components/DatePicker/DatePicker.spec.js +362 -0
- package/dist/scripts/src/components/DatePicker/DatePickerNative.js +3 -3
- package/dist/scripts/src/components/DropdownMenu/DropdownMenu.spec.js +331 -0
- package/dist/scripts/src/components/EmojiSelector/EmojiSelector.spec.js +29 -0
- package/dist/scripts/src/components/ExpandableItem/ExpandableItem.spec.js +435 -0
- package/dist/scripts/src/components/FileInput/FileInput.spec.js +249 -0
- package/dist/scripts/src/components/FileUploadDropZone/FileUploadDropZone.spec.js +296 -0
- package/dist/scripts/src/components/FlowLayout/FlowLayout.spec.js +518 -0
- package/dist/scripts/src/components/Footer/Footer.spec.js +991 -0
- package/dist/scripts/src/components/Form/Form.spec.js +1257 -0
- package/dist/scripts/src/components/FormItem/FormItem.spec.js +723 -0
- package/dist/scripts/src/components/FormSection/FormSection.js +6 -31
- package/dist/scripts/src/components/Fragment/Fragment.spec.js +50 -0
- package/dist/scripts/src/components/Heading/H1.spec.js +66 -0
- package/dist/scripts/src/components/Heading/H2.spec.js +66 -0
- package/dist/scripts/src/components/Heading/H3.spec.js +66 -0
- package/dist/scripts/src/components/Heading/H4.spec.js +66 -0
- package/dist/scripts/src/components/Heading/H5.spec.js +66 -0
- package/dist/scripts/src/components/Heading/H6.spec.js +66 -0
- package/dist/scripts/src/components/Heading/Heading.spec.js +897 -0
- package/dist/scripts/src/components/HtmlTags/HtmlTags.spec.js +69 -0
- package/dist/scripts/src/components/IFrame/IFrame.spec.js +527 -0
- package/dist/scripts/src/components/Icon/ArrowDropDown.js +11 -0
- package/dist/scripts/src/components/Icon/ArrowDropUp.js +11 -0
- package/dist/scripts/src/components/Icon/ArrowLeft.js +11 -0
- package/dist/scripts/src/components/Icon/ArrowRight.js +11 -0
- package/dist/scripts/src/components/Icon/ChevronDownIcon.js +7 -0
- package/dist/scripts/src/components/Icon/ChevronUpIcon.js +7 -0
- package/dist/scripts/src/components/Icon/Icon.spec.js +527 -0
- package/dist/scripts/src/components/Icon/SunIcon.js +10 -0
- package/dist/scripts/src/components/Image/Image.js +2 -1
- package/dist/scripts/src/components/Image/Image.spec.js +198 -0
- package/dist/scripts/src/components/Image/ImageNative.js +30 -2
- package/dist/scripts/src/components/Input/InputLabel.js +25 -0
- package/dist/scripts/src/components/Input/index.js +5 -0
- package/dist/scripts/src/components/Items/Items.spec.js +397 -0
- package/dist/scripts/src/components/Link/Link.spec.js +894 -0
- package/dist/scripts/src/components/List/List.spec.js +927 -0
- package/dist/scripts/src/components/List/doc-resources/list-component-data.js +53 -0
- package/dist/scripts/src/components/Markdown/Markdown.spec.js +188 -0
- package/dist/scripts/src/components/ModalDialog/ModalDialog.spec.js +162 -0
- package/dist/scripts/src/components/NavGroup/NavGroup.spec.js +153 -0
- package/dist/scripts/src/components/NavGroup/NavGroupNative.js +2 -2
- package/dist/scripts/src/components/NavLink/NavLink.spec.js +864 -0
- package/dist/scripts/src/components/NavPanel/NavPanel.spec.js +864 -0
- package/dist/scripts/src/components/NoResult/NoResult.spec.js +863 -0
- package/dist/scripts/src/components/NumberBox/NumberBox.spec.js +1231 -0
- package/dist/scripts/src/components/Option/Option.spec.js +472 -0
- package/dist/scripts/src/components/PageMetaTitle/PageMetaTitle.spec.js +80 -0
- package/dist/scripts/src/components/Pagination/Pagination.spec.js +1003 -0
- package/dist/scripts/src/components/ProfileMenu/ProfileMenu.js +20 -0
- package/dist/scripts/src/components/ProgressBar/ProgressBar.spec.js +166 -0
- package/dist/scripts/src/components/Queue/Queue.spec.js +626 -0
- package/dist/scripts/src/components/RadioGroup/RadioGroup.spec.js +479 -0
- package/dist/scripts/src/components/Redirect/Redirect.spec.js +527 -0
- package/dist/scripts/src/components/ResponsiveBar/ResponsiveBar.spec.js +76 -0
- package/dist/scripts/src/components/Select/Select.spec.js +527 -0
- package/dist/scripts/src/components/Slider/Slider.js +2 -0
- package/dist/scripts/src/components/Slider/Slider.spec.js +574 -0
- package/dist/scripts/src/components/Slider/SliderNative.js +62 -25
- package/dist/scripts/src/components/Slot/Slot.spec.js +368 -0
- package/dist/scripts/src/components/SpaceFiller/SpaceFiller.spec.js +184 -0
- package/dist/scripts/src/components/Spinner/Spinner.spec.js +161 -0
- package/dist/scripts/src/components/Splitter/HSplitter.spec.js +104 -0
- package/dist/scripts/src/components/Splitter/Splitter.spec.js +543 -0
- package/dist/scripts/src/components/Splitter/VSplitter.spec.js +104 -0
- package/dist/scripts/src/components/Stack/CHStack.spec.js +86 -0
- package/dist/scripts/src/components/Stack/CVStack.spec.js +86 -0
- package/dist/scripts/src/components/Stack/HStack.spec.js +67 -0
- package/dist/scripts/src/components/Stack/Stack.spec.js +654 -0
- package/dist/scripts/src/components/Stack/VStack.spec.js +67 -0
- package/dist/scripts/src/components/Switch/Switch.spec.js +829 -0
- package/dist/scripts/src/components/Table/Table.spec.js +555 -0
- package/dist/scripts/src/components/Table/doc-resources/list-component-data.js +53 -0
- package/dist/scripts/src/components/TableOfContents/TableOfContents.spec.js +838 -0
- package/dist/scripts/src/components/Tabs/Tabs.spec.js +875 -0
- package/dist/scripts/src/components/Text/Text.spec.js +1075 -0
- package/dist/scripts/src/components/TextArea/TextArea.spec.js +714 -0
- package/dist/scripts/src/components/TextBox/TextBox.spec.js +643 -0
- package/dist/scripts/src/components/Theme/Theme.spec.js +124 -0
- package/dist/scripts/src/components/TimeInput/TimeInput.spec.js +1122 -0
- package/dist/scripts/src/components/Timer/Timer.spec.js +358 -0
- package/dist/scripts/src/components/ToneChangerButton/ToneChangerButton.spec.js +414 -0
- package/dist/scripts/src/components/ToneSwitch/ToneSwitch.spec.js +89 -0
- package/dist/scripts/src/components/Tooltip/Tooltip.spec.js +418 -0
- package/dist/scripts/src/components/chart-color-schemes.js +43 -0
- package/dist/scripts/src/components-core/CompoundComponent.js +1 -1
- package/dist/scripts/src/components-core/RestApiProxy.js +85 -8
- package/dist/scripts/src/components-core/devtools/InspectorDialogVisibilityContext.js +8 -0
- package/dist/scripts/src/components-core/renderers.js +31 -0
- package/dist/scripts/src/components-core/script-runner/simplify-expression.js +386 -0
- package/dist/scripts/src/components-core/theming/component-layout-resolver.js +153 -0
- package/dist/scripts/src/components-core/theming/parse-layout-props.js +98 -0
- package/dist/scripts/src/components-core/theming/themes/solid.js +16 -0
- package/dist/scripts/src/components-core/utils/audio-utils.js +83 -0
- package/dist/scripts/src/index-standalone.js +61 -0
- package/dist/scripts/src/index.js +2 -1
- package/dist/scripts/src/language-server/server-common.js +151 -0
- package/dist/scripts/src/language-server/server-web-worker.js +47 -0
- package/dist/scripts/src/language-server/server.js +42 -0
- package/dist/scripts/src/language-server/services/common/docs-generation.js +73 -0
- package/dist/scripts/src/language-server/services/common/lsp-utils.js +9 -0
- package/dist/scripts/src/language-server/services/common/syntax-node-utilities.js +135 -0
- package/dist/scripts/src/language-server/services/completion.js +270 -0
- package/dist/scripts/src/language-server/services/diagnostic.js +19 -0
- package/dist/scripts/src/language-server/services/format.js +430 -0
- package/dist/scripts/src/language-server/services/hover.js +164 -0
- package/dist/scripts/src/language-server/xmlui-metadata-generated.mjs +16266 -0
- package/dist/scripts/src/logging/xmlui.js +21 -0
- package/dist/scripts/src/parsers/common/utils.js +19 -0
- package/dist/scripts/src/syntax/monaco/grammar.monacoLanguage.js +286 -0
- package/dist/scripts/src/syntax/monaco/index.js +14 -0
- package/dist/scripts/src/syntax/monaco/xmlui-dark.js +25 -0
- package/dist/scripts/src/syntax/monaco/xmlui-light.js +25 -0
- package/dist/scripts/src/syntax/monaco/xmluiscript.monacoLanguage.js +310 -0
- package/dist/scripts/src/syntax/textMate/index.js +14 -0
- package/dist/scripts/src/syntax/textMate/xmlui-dark.json +631 -0
- package/dist/scripts/src/syntax/textMate/xmlui-light.json +565 -0
- package/dist/scripts/src/syntax/textMate/xmlui.json +564 -0
- package/dist/scripts/src/syntax/textMate/xmlui.tmLanguage.json +341 -0
- package/dist/scripts/src/testing/ComponentDrivers.js +1355 -0
- package/dist/scripts/src/testing/assertions.js +444 -0
- package/dist/scripts/src/testing/component-test-helpers.js +389 -0
- package/dist/scripts/src/testing/drivers/DateInputDriver.js +19 -0
- package/dist/scripts/src/testing/drivers/ModalDialogDriver.js +10 -0
- package/dist/scripts/src/testing/drivers/TimeInputDriver.js +22 -0
- package/dist/scripts/src/testing/drivers/TimerDriver.js +64 -0
- package/dist/scripts/src/testing/fixtures.js +487 -0
- package/dist/scripts/src/testing/infrastructure/TestBed.js +17 -0
- package/dist/scripts/src/testing/infrastructure/main.js +9 -0
- package/dist/scripts/src/testing/infrastructure/public/mockServiceWorker.js +266 -0
- package/dist/scripts/src/testing/themed-app-test-helpers.js +139 -0
- package/dist/standalone/xmlui-standalone.es.d.ts +18 -1
- package/dist/standalone/xmlui-standalone.umd.js +36 -36
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import require$$0, { flushSync, createPortal } from "react-dom";
|
|
|
7
7
|
import yaml from "js-yaml";
|
|
8
8
|
import { useQuery, useInfiniteQuery, QueryClientProvider, QueryClient } from "@tanstack/react-query";
|
|
9
9
|
import produce, { createDraft, finishDraft, enableMapSet } from "immer";
|
|
10
|
-
import { throttle, get, isNil, omitBy, isUndefined, noop as noop$2, isPlainObject, isEqual, isEmpty, union, uniq, orderBy as orderBy$1, isObject, isArray, groupBy, sortBy, omit, isNumber, isString as isString$1, set, cloneDeep, merge, defaultTo, capitalize, unset, setWith, keyBy, pick } from "lodash-es";
|
|
10
|
+
import { throttle, get, isNil, omitBy, isUndefined, noop as noop$2, isPlainObject, isEqual, isEmpty, union, uniq, orderBy as orderBy$1, isObject, isArray, groupBy, sortBy, omit, isNumber, isString as isString$1, set, isNaN as isNaN$1, cloneDeep, merge, defaultTo, capitalize, unset, setWith, keyBy, pick } from "lodash-es";
|
|
11
11
|
import { formatDistanceToNow, parse, format, parseISO, isValid, isToday, isYesterday, isTomorrow, isThisWeek, formatRelative, isThisYear, isSameDay, differenceInMinutes } from "date-fns";
|
|
12
12
|
import { l as labelPositionMd, v as validationStatusMd, o as orientationOptionMd, b as alignmentOptionValues, i as isSizeType, L as LinkTargetMd, c as alignmentOptionMd, d as iconPositionMd, e as buttonTypesMd, s as sizeMd, f as buttonThemeMd, g as buttonVariantMd, h as layoutOptionKeys, T as TextVariantElement, V as VariantPropsKeys, j as variantOptionsMd, k as scrollAnchoringValues, m as buttonThemeNames, n as iconPositionNames, p as buttonVariantNames, t as triggerPositionNames, q as httpMethodNames, r as orientationOptionValues, u as viewportSizeNames, M as MetadataProvider } from "./metadata-utils-D90qqMGc.mjs";
|
|
13
13
|
import classnames from "classnames";
|
|
@@ -238,6 +238,26 @@ function createLoaderRenderer(type, renderer, hints) {
|
|
|
238
238
|
hints
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
+
function createUserDefinedComponentRenderer(metadata, def, codeBehind) {
|
|
242
|
+
const component2 = def.component.component;
|
|
243
|
+
if (codeBehind) {
|
|
244
|
+
if (codeBehind.vars) {
|
|
245
|
+
component2.vars ?? (component2.vars = {});
|
|
246
|
+
component2.vars = { ...component2.vars, ...codeBehind.vars };
|
|
247
|
+
}
|
|
248
|
+
if (codeBehind.functions) {
|
|
249
|
+
component2.functions ?? (component2.functions = {});
|
|
250
|
+
component2.functions = {
|
|
251
|
+
...component2.functions,
|
|
252
|
+
...codeBehind.functions
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
return {
|
|
257
|
+
compoundComponentDef: def.component,
|
|
258
|
+
metadata
|
|
259
|
+
};
|
|
260
|
+
}
|
|
241
261
|
let lastIdValue = 1;
|
|
242
262
|
function generatedId() {
|
|
243
263
|
return `$qid_${lastIdValue++}`;
|
|
@@ -1432,7 +1452,7 @@ const Stack = forwardRef(function Stack2({
|
|
|
1432
1452
|
}
|
|
1433
1453
|
);
|
|
1434
1454
|
});
|
|
1435
|
-
const COMP$
|
|
1455
|
+
const COMP$1w = "Stack";
|
|
1436
1456
|
const HORIZONTAL_ALIGNMENT = {
|
|
1437
1457
|
description: "Manages the horizontal content alignment for each child element in the Stack.",
|
|
1438
1458
|
availableValues: alignmentOptionValues,
|
|
@@ -1482,7 +1502,7 @@ const stackMd = createMetadata({
|
|
|
1482
1502
|
}
|
|
1483
1503
|
},
|
|
1484
1504
|
events: {
|
|
1485
|
-
click: dClick(COMP$
|
|
1505
|
+
click: dClick(COMP$1w),
|
|
1486
1506
|
mounted: dInternal("Reserved for future use")
|
|
1487
1507
|
},
|
|
1488
1508
|
themeVars: parseScssVar(styles$1l.themeVars)
|
|
@@ -1495,7 +1515,7 @@ const StackMd = {
|
|
|
1495
1515
|
};
|
|
1496
1516
|
const VStackMd = {
|
|
1497
1517
|
...StackMd,
|
|
1498
|
-
specializedFrom: COMP$
|
|
1518
|
+
specializedFrom: COMP$1w,
|
|
1499
1519
|
description: `This component represents a stack rendering its contents vertically.`,
|
|
1500
1520
|
props: {
|
|
1501
1521
|
...stackMd.props
|
|
@@ -1503,7 +1523,7 @@ const VStackMd = {
|
|
|
1503
1523
|
};
|
|
1504
1524
|
const HStackMd = {
|
|
1505
1525
|
...StackMd,
|
|
1506
|
-
specializedFrom: COMP$
|
|
1526
|
+
specializedFrom: COMP$1w,
|
|
1507
1527
|
description: `This component represents a stack rendering its contents horizontally.`,
|
|
1508
1528
|
props: {
|
|
1509
1529
|
...stackMd.props
|
|
@@ -1511,12 +1531,12 @@ const HStackMd = {
|
|
|
1511
1531
|
};
|
|
1512
1532
|
const CVStackMd = {
|
|
1513
1533
|
...StackMd,
|
|
1514
|
-
specializedFrom: COMP$
|
|
1534
|
+
specializedFrom: COMP$1w,
|
|
1515
1535
|
description: `This component represents a stack that renders its contents vertically and aligns that in the center along both axes.`
|
|
1516
1536
|
};
|
|
1517
1537
|
const CHStackMd = {
|
|
1518
1538
|
...StackMd,
|
|
1519
|
-
specializedFrom: COMP$
|
|
1539
|
+
specializedFrom: COMP$1w,
|
|
1520
1540
|
description: `This component represents a stack that renders its contents horizontally and aligns that in the center along both axes.`
|
|
1521
1541
|
};
|
|
1522
1542
|
function renderStack({
|
|
@@ -1552,7 +1572,7 @@ function renderStack({
|
|
|
1552
1572
|
);
|
|
1553
1573
|
}
|
|
1554
1574
|
const stackComponentRenderer = createComponentRenderer(
|
|
1555
|
-
COMP$
|
|
1575
|
+
COMP$1w,
|
|
1556
1576
|
StackMd,
|
|
1557
1577
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
1558
1578
|
var _a2, _b, _c;
|
|
@@ -3709,11 +3729,11 @@ const ResponsiveBar = forwardRef(function ResponsiveBar2({
|
|
|
3709
3729
|
}
|
|
3710
3730
|
);
|
|
3711
3731
|
});
|
|
3712
|
-
const COMP$
|
|
3732
|
+
const COMP$1v = "ResponsiveBar";
|
|
3713
3733
|
const ResponsiveBarMd = createMetadata({
|
|
3714
3734
|
status: "stable",
|
|
3715
3735
|
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.",
|
|
3716
|
-
docFolder: COMP$
|
|
3736
|
+
docFolder: COMP$1v,
|
|
3717
3737
|
props: {
|
|
3718
3738
|
orientation: {
|
|
3719
3739
|
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.",
|
|
@@ -3733,20 +3753,20 @@ const ResponsiveBarMd = createMetadata({
|
|
|
3733
3753
|
}
|
|
3734
3754
|
},
|
|
3735
3755
|
events: {
|
|
3736
|
-
click: dClick(COMP$
|
|
3756
|
+
click: dClick(COMP$1v)
|
|
3737
3757
|
},
|
|
3738
3758
|
apis: {},
|
|
3739
3759
|
contextVars: {},
|
|
3740
3760
|
themeVars: parseScssVar(styles$1i.themeVars),
|
|
3741
3761
|
limitThemeVarsToComponent: true,
|
|
3742
3762
|
defaultThemeVars: {
|
|
3743
|
-
[`backgroundColor-${COMP$
|
|
3744
|
-
[`padding-${COMP$
|
|
3745
|
-
[`margin-${COMP$
|
|
3763
|
+
[`backgroundColor-${COMP$1v}`]: "transparent",
|
|
3764
|
+
[`padding-${COMP$1v}`]: "0",
|
|
3765
|
+
[`margin-${COMP$1v}`]: "0"
|
|
3746
3766
|
}
|
|
3747
3767
|
});
|
|
3748
3768
|
const responsiveBarComponentRenderer = createComponentRenderer(
|
|
3749
|
-
COMP$
|
|
3769
|
+
COMP$1v,
|
|
3750
3770
|
ResponsiveBarMd,
|
|
3751
3771
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
3752
3772
|
var _a2, _b, _c;
|
|
@@ -3770,13 +3790,13 @@ const styles$1e = {
|
|
|
3770
3790
|
spacer
|
|
3771
3791
|
};
|
|
3772
3792
|
const SpaceFiller = () => /* @__PURE__ */ jsx("div", { className: styles$1e.spacer });
|
|
3773
|
-
const COMP$
|
|
3793
|
+
const COMP$1u = "SpaceFiller";
|
|
3774
3794
|
const SpaceFillerMd = createMetadata({
|
|
3775
3795
|
status: "stable",
|
|
3776
3796
|
description: "`SpaceFiller` works well in layout containers to fill remaining (unused) space. Its behavior depends on the layout container in which it is used.",
|
|
3777
3797
|
themeVars: parseScssVar(styles$1e.themeVars)
|
|
3778
3798
|
});
|
|
3779
|
-
const spaceFillerComponentRenderer = createComponentRenderer(COMP$
|
|
3799
|
+
const spaceFillerComponentRenderer = createComponentRenderer(COMP$1u, SpaceFillerMd, () => /* @__PURE__ */ jsx(SpaceFiller, {}));
|
|
3780
3800
|
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)"}'`;
|
|
3781
3801
|
const textarea = "_textarea_9c161_14";
|
|
3782
3802
|
const error$d = "_error_9c161_59";
|
|
@@ -4115,7 +4135,7 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
4115
4135
|
}
|
|
4116
4136
|
);
|
|
4117
4137
|
});
|
|
4118
|
-
const COMP$
|
|
4138
|
+
const COMP$1t = "TextArea";
|
|
4119
4139
|
const resizeOptionsMd = [
|
|
4120
4140
|
{ value: "(undefined)", description: "No resizing" },
|
|
4121
4141
|
{ value: "horizontal", description: "Can only resize horizontally" },
|
|
@@ -4146,15 +4166,15 @@ const TextAreaMd = createMetadata({
|
|
|
4146
4166
|
defaultValue: defaultProps$1c.enterSubmits
|
|
4147
4167
|
},
|
|
4148
4168
|
escResets: {
|
|
4149
|
-
description: `This boolean property indicates whether the ${COMP$
|
|
4169
|
+
description: `This boolean property indicates whether the ${COMP$1t} contents should be reset when pressing the ESC key.`,
|
|
4150
4170
|
valueType: "boolean",
|
|
4151
4171
|
defaultValue: false
|
|
4152
4172
|
},
|
|
4153
4173
|
maxRows: d(
|
|
4154
|
-
`This optional property sets the maximum number of text rows the \`${COMP$
|
|
4174
|
+
`This optional property sets the maximum number of text rows the \`${COMP$1t}\` can grow. If not set, the number of rows is unlimited.`
|
|
4155
4175
|
),
|
|
4156
4176
|
minRows: d(
|
|
4157
|
-
`This optional property sets the minimum number of text rows the \`${COMP$
|
|
4177
|
+
`This optional property sets the minimum number of text rows the \`${COMP$1t}\` can shrink. If not set, the minimum number of rows is 1.`
|
|
4158
4178
|
),
|
|
4159
4179
|
rows: {
|
|
4160
4180
|
description: `Specifies the number of rows the component initially has.`,
|
|
@@ -4162,7 +4182,7 @@ const TextAreaMd = createMetadata({
|
|
|
4162
4182
|
defaultValue: defaultProps$1c.rows
|
|
4163
4183
|
},
|
|
4164
4184
|
autoSize: {
|
|
4165
|
-
description: `If set to \`true\`, this boolean property enables the \`${COMP$
|
|
4185
|
+
description: `If set to \`true\`, this boolean property enables the \`${COMP$1t}\` to resize automatically based on the number of lines inside it.`,
|
|
4166
4186
|
valueType: "boolean",
|
|
4167
4187
|
defaultValue: false
|
|
4168
4188
|
},
|
|
@@ -4170,8 +4190,8 @@ const TextAreaMd = createMetadata({
|
|
|
4170
4190
|
initialValue: dInitialValue(),
|
|
4171
4191
|
label: dLabel(),
|
|
4172
4192
|
labelPosition: dLabelPosition("top"),
|
|
4173
|
-
labelWidth: dLabelWidth(COMP$
|
|
4174
|
-
labelBreak: dLabelBreak(COMP$
|
|
4193
|
+
labelWidth: dLabelWidth(COMP$1t),
|
|
4194
|
+
labelBreak: dLabelBreak(COMP$1t),
|
|
4175
4195
|
maxLength: dMaxLength(),
|
|
4176
4196
|
autoFocus: dAutoFocus(),
|
|
4177
4197
|
required: dRequired(),
|
|
@@ -4184,13 +4204,13 @@ const TextAreaMd = createMetadata({
|
|
|
4184
4204
|
}
|
|
4185
4205
|
},
|
|
4186
4206
|
events: {
|
|
4187
|
-
gotFocus: dGotFocus(COMP$
|
|
4188
|
-
lostFocus: dLostFocus(COMP$
|
|
4189
|
-
didChange: dDidChange(COMP$
|
|
4207
|
+
gotFocus: dGotFocus(COMP$1t),
|
|
4208
|
+
lostFocus: dLostFocus(COMP$1t),
|
|
4209
|
+
didChange: dDidChange(COMP$1t)
|
|
4190
4210
|
},
|
|
4191
4211
|
apis: {
|
|
4192
4212
|
focus: {
|
|
4193
|
-
description: `This method sets the focus on the \`${COMP$
|
|
4213
|
+
description: `This method sets the focus on the \`${COMP$1t}\` component.`,
|
|
4194
4214
|
signature: "focus(): void"
|
|
4195
4215
|
},
|
|
4196
4216
|
value: {
|
|
@@ -4201,12 +4221,12 @@ const TextAreaMd = createMetadata({
|
|
|
4201
4221
|
},
|
|
4202
4222
|
themeVars: parseScssVar(styles$1d.themeVars),
|
|
4203
4223
|
defaultThemeVars: {
|
|
4204
|
-
[`paddingVertical-${COMP$
|
|
4205
|
-
[`paddingHorizontal-${COMP$
|
|
4224
|
+
[`paddingVertical-${COMP$1t}`]: "$space-2",
|
|
4225
|
+
[`paddingHorizontal-${COMP$1t}`]: "$space-2"
|
|
4206
4226
|
}
|
|
4207
4227
|
});
|
|
4208
4228
|
const textAreaComponentRenderer = createComponentRenderer(
|
|
4209
|
-
COMP$
|
|
4229
|
+
COMP$1t,
|
|
4210
4230
|
TextAreaMd,
|
|
4211
4231
|
({
|
|
4212
4232
|
node,
|
|
@@ -4531,6 +4551,7 @@ const defaultProps$1b = {
|
|
|
4531
4551
|
const Image = forwardRef(function Img({
|
|
4532
4552
|
src,
|
|
4533
4553
|
alt,
|
|
4554
|
+
imageData,
|
|
4534
4555
|
fit = defaultProps$1b.fit,
|
|
4535
4556
|
style: style2,
|
|
4536
4557
|
className,
|
|
@@ -4540,13 +4561,36 @@ const Image = forwardRef(function Img({
|
|
|
4540
4561
|
inline = defaultProps$1b.inline,
|
|
4541
4562
|
...rest
|
|
4542
4563
|
}, ref) {
|
|
4564
|
+
const [blobUrl, setBlobUrl] = useState(null);
|
|
4565
|
+
const blobToRender = useMemo(() => {
|
|
4566
|
+
if (!imageData || !(imageData instanceof Blob)) {
|
|
4567
|
+
return void 0;
|
|
4568
|
+
}
|
|
4569
|
+
return imageData;
|
|
4570
|
+
}, [imageData]);
|
|
4571
|
+
useEffect(() => {
|
|
4572
|
+
if (!src && blobToRender) {
|
|
4573
|
+
const url = URL.createObjectURL(blobToRender);
|
|
4574
|
+
setBlobUrl(url);
|
|
4575
|
+
return () => {
|
|
4576
|
+
URL.revokeObjectURL(url);
|
|
4577
|
+
setBlobUrl(null);
|
|
4578
|
+
};
|
|
4579
|
+
} else {
|
|
4580
|
+
if (blobUrl) {
|
|
4581
|
+
URL.revokeObjectURL(blobUrl);
|
|
4582
|
+
setBlobUrl(null);
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
}, [src, blobToRender]);
|
|
4543
4586
|
src = safeConvertPropToString(src);
|
|
4544
4587
|
alt = safeConvertPropToString(alt);
|
|
4588
|
+
const imageSrc = src || blobUrl;
|
|
4545
4589
|
return /* @__PURE__ */ jsx(
|
|
4546
4590
|
"img",
|
|
4547
4591
|
{
|
|
4548
4592
|
...rest,
|
|
4549
|
-
src,
|
|
4593
|
+
src: imageSrc,
|
|
4550
4594
|
ref,
|
|
4551
4595
|
alt,
|
|
4552
4596
|
loading: lazyLoad ? "lazy" : "eager",
|
|
@@ -5422,7 +5466,7 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
5422
5466
|
renderChild: renderChild2,
|
|
5423
5467
|
to,
|
|
5424
5468
|
disabled: disabled2 = false,
|
|
5425
|
-
initiallyExpanded,
|
|
5469
|
+
initiallyExpanded = false,
|
|
5426
5470
|
iconHorizontalCollapsed,
|
|
5427
5471
|
iconHorizontalExpanded,
|
|
5428
5472
|
iconVerticalCollapsed,
|
|
@@ -5517,6 +5561,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
5517
5561
|
icon: icon2,
|
|
5518
5562
|
to,
|
|
5519
5563
|
disabled: disabled2,
|
|
5564
|
+
"aria-expanded": expanded2,
|
|
5520
5565
|
children: [
|
|
5521
5566
|
label2,
|
|
5522
5567
|
/* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
|
|
@@ -5527,6 +5572,8 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
5527
5572
|
/* @__PURE__ */ jsx(
|
|
5528
5573
|
"div",
|
|
5529
5574
|
{
|
|
5575
|
+
"data-testid": "nav-group-content",
|
|
5576
|
+
"aria-hidden": !expanded2,
|
|
5530
5577
|
className: classnames(styles$18.groupContent, {
|
|
5531
5578
|
[styles$18.expanded]: expanded2
|
|
5532
5579
|
}),
|
|
@@ -5703,7 +5750,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
5703
5750
|
}
|
|
5704
5751
|
return content2;
|
|
5705
5752
|
});
|
|
5706
|
-
const COMP$
|
|
5753
|
+
const COMP$1s = "NavLink";
|
|
5707
5754
|
const NavLinkMd = createMetadata({
|
|
5708
5755
|
status: "stable",
|
|
5709
5756
|
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.",
|
|
@@ -5722,7 +5769,7 @@ const NavLinkMd = createMetadata({
|
|
|
5722
5769
|
},
|
|
5723
5770
|
label: dLabel(),
|
|
5724
5771
|
vertical: {
|
|
5725
|
-
description: `This property sets how the active status is displayed on the \`${COMP$
|
|
5772
|
+
description: `This property sets how the active status is displayed on the \`${COMP$1s}\` 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.`,
|
|
5726
5773
|
valueType: "boolean"
|
|
5727
5774
|
},
|
|
5728
5775
|
displayActive: {
|
|
@@ -5735,37 +5782,37 @@ const NavLinkMd = createMetadata({
|
|
|
5735
5782
|
)
|
|
5736
5783
|
},
|
|
5737
5784
|
events: {
|
|
5738
|
-
click: dClick(COMP$
|
|
5785
|
+
click: dClick(COMP$1s)
|
|
5739
5786
|
},
|
|
5740
5787
|
themeVars: parseScssVar(navLinkStyles.themeVars),
|
|
5741
5788
|
themeVarDescriptions: {
|
|
5742
|
-
[`color-indicator-${COMP$
|
|
5789
|
+
[`color-indicator-${COMP$1s}`]: "Provides the following states: `--hover`, `--active`, `--pressed`"
|
|
5743
5790
|
},
|
|
5744
5791
|
defaultThemeVars: {
|
|
5745
|
-
[`border-${COMP$
|
|
5746
|
-
[`borderRadius-${COMP$
|
|
5747
|
-
[`backgroundColor-${COMP$
|
|
5748
|
-
[`paddingHorizontal-${COMP$
|
|
5749
|
-
[`paddingVertical-${COMP$
|
|
5750
|
-
[`fontSize-${COMP$
|
|
5751
|
-
[`fontWeight-${COMP$
|
|
5752
|
-
[`fontFamily-${COMP$
|
|
5753
|
-
[`textColor-${COMP$
|
|
5754
|
-
[`fontWeight-${COMP$
|
|
5755
|
-
[`thickness-indicator-${COMP$
|
|
5756
|
-
[`outlineColor-${COMP$
|
|
5757
|
-
[`outlineWidth-${COMP$
|
|
5758
|
-
[`outlineStyle-${COMP$
|
|
5759
|
-
[`outlineOffset-${COMP$
|
|
5760
|
-
[`borderRadius-indicator-${COMP$
|
|
5761
|
-
[`color-icon-${COMP$
|
|
5762
|
-
[`color-indicator-${COMP$
|
|
5763
|
-
[`color-indicator-${COMP$
|
|
5764
|
-
[`color-indicator-${COMP$
|
|
5792
|
+
[`border-${COMP$1s}`]: "0px solid $borderColor",
|
|
5793
|
+
[`borderRadius-${COMP$1s}`]: "$borderRadius",
|
|
5794
|
+
[`backgroundColor-${COMP$1s}`]: "transparent",
|
|
5795
|
+
[`paddingHorizontal-${COMP$1s}`]: "$space-4",
|
|
5796
|
+
[`paddingVertical-${COMP$1s}`]: "$space-2",
|
|
5797
|
+
[`fontSize-${COMP$1s}`]: "$fontSize-sm",
|
|
5798
|
+
[`fontWeight-${COMP$1s}`]: "$fontWeight-normal",
|
|
5799
|
+
[`fontFamily-${COMP$1s}`]: "$fontFamily",
|
|
5800
|
+
[`textColor-${COMP$1s}`]: "$textColor-primary",
|
|
5801
|
+
[`fontWeight-${COMP$1s}--pressed`]: "$fontWeight-normal",
|
|
5802
|
+
[`thickness-indicator-${COMP$1s}`]: "$space-0_5",
|
|
5803
|
+
[`outlineColor-${COMP$1s}--focus`]: "$outlineColor--focus",
|
|
5804
|
+
[`outlineWidth-${COMP$1s}--focus`]: "$outlineWidth--focus",
|
|
5805
|
+
[`outlineStyle-${COMP$1s}--focus`]: "$outlineStyle--focus",
|
|
5806
|
+
[`outlineOffset-${COMP$1s}--focus`]: "-1px",
|
|
5807
|
+
[`borderRadius-indicator-${COMP$1s}`]: "$borderRadius",
|
|
5808
|
+
[`color-icon-${COMP$1s}`]: "$color-surface-500",
|
|
5809
|
+
[`color-indicator-${COMP$1s}--active`]: "$color-primary-500",
|
|
5810
|
+
[`color-indicator-${COMP$1s}--pressed`]: "$color-primary-500",
|
|
5811
|
+
[`color-indicator-${COMP$1s}--hover`]: "$color-primary-600"
|
|
5765
5812
|
}
|
|
5766
5813
|
});
|
|
5767
5814
|
const navLinkComponentRenderer = createComponentRenderer(
|
|
5768
|
-
COMP$
|
|
5815
|
+
COMP$1s,
|
|
5769
5816
|
NavLinkMd,
|
|
5770
5817
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
5771
5818
|
var _a2;
|
|
@@ -5850,7 +5897,7 @@ function specifyTypes(props) {
|
|
|
5850
5897
|
referrerPolicy
|
|
5851
5898
|
};
|
|
5852
5899
|
}
|
|
5853
|
-
const COMP$
|
|
5900
|
+
const COMP$1r = "Link";
|
|
5854
5901
|
const LinkMd = createMetadata({
|
|
5855
5902
|
status: "stable",
|
|
5856
5903
|
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.",
|
|
@@ -5865,7 +5912,7 @@ const LinkMd = createMetadata({
|
|
|
5865
5912
|
defaultValue: defaultProps$14.active
|
|
5866
5913
|
},
|
|
5867
5914
|
target: {
|
|
5868
|
-
description: `This property specifies where to open the link represented by the \`${COMP$
|
|
5915
|
+
description: `This property specifies where to open the link represented by the \`${COMP$1r}\`. This property accepts the following values (in accordance with the HTML standard):`,
|
|
5869
5916
|
availableValues: LinkTargetMd,
|
|
5870
5917
|
type: "string"
|
|
5871
5918
|
},
|
|
@@ -5881,37 +5928,37 @@ const LinkMd = createMetadata({
|
|
|
5881
5928
|
},
|
|
5882
5929
|
themeVars: parseScssVar(styles$17.themeVars),
|
|
5883
5930
|
themeVarDescriptions: {
|
|
5884
|
-
[`gap-icon-${COMP$
|
|
5931
|
+
[`gap-icon-${COMP$1r}`]: "This property defines the size of the gap between the icon and the label."
|
|
5885
5932
|
},
|
|
5886
5933
|
defaultThemeVars: {
|
|
5887
|
-
[`border-${COMP$
|
|
5888
|
-
[`textColor-${COMP$
|
|
5889
|
-
[`textDecorationColor-${COMP$
|
|
5890
|
-
[`textColor-${COMP$
|
|
5891
|
-
[`textDecorationColor-${COMP$
|
|
5892
|
-
[`textColor-${COMP$
|
|
5893
|
-
[`textDecorationColor-${COMP$
|
|
5894
|
-
[`textColor-${COMP$
|
|
5895
|
-
[`textUnderlineOffset-${COMP$
|
|
5896
|
-
[`textDecorationLine-${COMP$
|
|
5897
|
-
[`textDecorationStyle-${COMP$
|
|
5898
|
-
[`outlineColor-${COMP$
|
|
5899
|
-
[`outlineWidth-${COMP$
|
|
5900
|
-
[`outlineStyle-${COMP$
|
|
5901
|
-
[`outlineOffset-${COMP$
|
|
5902
|
-
[`fontSize-${COMP$
|
|
5903
|
-
[`fontWeight-${COMP$
|
|
5904
|
-
[`gap-icon-${COMP$
|
|
5905
|
-
[`padding-icon-${COMP$
|
|
5934
|
+
[`border-${COMP$1r}`]: "0px solid $borderColor",
|
|
5935
|
+
[`textColor-${COMP$1r}`]: "$color-primary-500",
|
|
5936
|
+
[`textDecorationColor-${COMP$1r}`]: `textDecorationColor-${COMP$1r}`,
|
|
5937
|
+
[`textColor-${COMP$1r}--hover`]: `$color-primary-400`,
|
|
5938
|
+
[`textDecorationColor-${COMP$1r}--hover`]: `textColor-${COMP$1r}--hover`,
|
|
5939
|
+
[`textColor-${COMP$1r}--active`]: "$color-primary-400",
|
|
5940
|
+
[`textDecorationColor-${COMP$1r}--active`]: `textColor-${COMP$1r}--active`,
|
|
5941
|
+
[`textColor-${COMP$1r}--hover--active`]: `$textColor-${COMP$1r}--active`,
|
|
5942
|
+
[`textUnderlineOffset-${COMP$1r}`]: "$space-1",
|
|
5943
|
+
[`textDecorationLine-${COMP$1r}`]: "underline",
|
|
5944
|
+
[`textDecorationStyle-${COMP$1r}`]: "solid",
|
|
5945
|
+
[`outlineColor-${COMP$1r}--focus`]: "$outlineColor--focus",
|
|
5946
|
+
[`outlineWidth-${COMP$1r}--focus`]: "$outlineWidth--focus",
|
|
5947
|
+
[`outlineStyle-${COMP$1r}--focus`]: "$outlineStyle--focus",
|
|
5948
|
+
[`outlineOffset-${COMP$1r}--focus`]: "$outlineOffset--focus",
|
|
5949
|
+
[`fontSize-${COMP$1r}`]: "inherit",
|
|
5950
|
+
[`fontWeight-${COMP$1r}--active`]: "$fontWeight-bold",
|
|
5951
|
+
[`gap-icon-${COMP$1r}`]: "$gap-tight",
|
|
5952
|
+
[`padding-icon-${COMP$1r}`]: "$space-0_5",
|
|
5906
5953
|
dark: {
|
|
5907
|
-
[`textColor-${COMP$
|
|
5908
|
-
[`textColor-${COMP$
|
|
5909
|
-
[`textColor-${COMP$
|
|
5954
|
+
[`textColor-${COMP$1r}`]: "$color-primary-600",
|
|
5955
|
+
[`textColor-${COMP$1r}--hover`]: `$color-primary-500`,
|
|
5956
|
+
[`textColor-${COMP$1r}--active`]: "$color-primary-500"
|
|
5910
5957
|
}
|
|
5911
5958
|
}
|
|
5912
5959
|
});
|
|
5913
5960
|
const localLinkComponentRenderer = createComponentRenderer(
|
|
5914
|
-
COMP$
|
|
5961
|
+
COMP$1r,
|
|
5915
5962
|
LinkMd,
|
|
5916
5963
|
({ node, extractValue, renderChild: renderChild2, lookupEventHandler, className }) => {
|
|
5917
5964
|
var _a2;
|
|
@@ -6105,10 +6152,10 @@ function TreeComponent({
|
|
|
6105
6152
|
}
|
|
6106
6153
|
) }) });
|
|
6107
6154
|
}
|
|
6108
|
-
const COMP$
|
|
6155
|
+
const COMP$1q = "Tree";
|
|
6109
6156
|
const TreeMd = createMetadata({
|
|
6110
6157
|
status: "in progress",
|
|
6111
|
-
description: `The \`${COMP$
|
|
6158
|
+
description: `The \`${COMP$1q}\` component is a virtualized tree component that displays hierarchical data.`,
|
|
6112
6159
|
props: {
|
|
6113
6160
|
data: {
|
|
6114
6161
|
description: `The data source of the tree.`,
|
|
@@ -6121,7 +6168,7 @@ const TreeMd = createMetadata({
|
|
|
6121
6168
|
}
|
|
6122
6169
|
});
|
|
6123
6170
|
const treeComponentRenderer = createComponentRenderer(
|
|
6124
|
-
COMP$
|
|
6171
|
+
COMP$1q,
|
|
6125
6172
|
TreeMd,
|
|
6126
6173
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
6127
6174
|
return /* @__PURE__ */ jsx(
|
|
@@ -6328,10 +6375,10 @@ const TreeDisplay = forwardRef(function TreeDisplay2({ style: style2, className,
|
|
|
6328
6375
|
const treeNodes = useMemo(() => parseTreeContent(contentString), [contentString]);
|
|
6329
6376
|
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, [])) }) });
|
|
6330
6377
|
});
|
|
6331
|
-
const COMP$
|
|
6378
|
+
const COMP$1p = "TreeDisplay";
|
|
6332
6379
|
const TreeDisplayMd = createMetadata({
|
|
6333
6380
|
status: "stable",
|
|
6334
|
-
description: `The \`${COMP$
|
|
6381
|
+
description: `The \`${COMP$1p}\` 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.`,
|
|
6335
6382
|
props: {
|
|
6336
6383
|
content: {
|
|
6337
6384
|
description: "The indented text content to display as a tree structure. Each level of indentation (using spaces) represents one level in the tree hierarchy.",
|
|
@@ -6346,21 +6393,21 @@ const TreeDisplayMd = createMetadata({
|
|
|
6346
6393
|
},
|
|
6347
6394
|
themeVars: parseScssVar(styles$15.themeVars),
|
|
6348
6395
|
defaultThemeVars: {
|
|
6349
|
-
[`backgroundColor-${COMP$
|
|
6350
|
-
[`borderRadius-${COMP$
|
|
6351
|
-
[`padding-${COMP$
|
|
6352
|
-
[`paddingLeft-${COMP$
|
|
6353
|
-
[`fontSize-${COMP$
|
|
6354
|
-
[`fontWeight-${COMP$
|
|
6355
|
-
[`fontFamily-${COMP$
|
|
6356
|
-
[`color-${COMP$
|
|
6357
|
-
[`color-connect-${COMP$
|
|
6358
|
-
[`boxShadow-${COMP$
|
|
6359
|
-
[`border-${COMP$
|
|
6396
|
+
[`backgroundColor-${COMP$1p}`]: "$backgroundColor-CodeBlock",
|
|
6397
|
+
[`borderRadius-${COMP$1p}`]: "8px",
|
|
6398
|
+
[`padding-${COMP$1p}`]: "$space-4",
|
|
6399
|
+
[`paddingLeft-${COMP$1p}`]: "$space-2",
|
|
6400
|
+
[`fontSize-${COMP$1p}`]: "$fontSize-code",
|
|
6401
|
+
[`fontWeight-${COMP$1p}`]: "$fontWeight-normal",
|
|
6402
|
+
[`fontFamily-${COMP$1p}`]: "$fontFamily-monospace",
|
|
6403
|
+
[`color-${COMP$1p}`]: "$textColor-primary",
|
|
6404
|
+
[`color-connect-${COMP$1p}`]: "$color-surface-200",
|
|
6405
|
+
[`boxShadow-${COMP$1p}`]: "none",
|
|
6406
|
+
[`border-${COMP$1p}`]: "0.5px solid $borderColor"
|
|
6360
6407
|
}
|
|
6361
6408
|
});
|
|
6362
6409
|
const treeDisplayComponentRenderer = createComponentRenderer(
|
|
6363
|
-
COMP$
|
|
6410
|
+
COMP$1p,
|
|
6364
6411
|
TreeDisplayMd,
|
|
6365
6412
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
6366
6413
|
return /* @__PURE__ */ jsx(
|
|
@@ -6374,7 +6421,7 @@ const treeDisplayComponentRenderer = createComponentRenderer(
|
|
|
6374
6421
|
);
|
|
6375
6422
|
}
|
|
6376
6423
|
);
|
|
6377
|
-
const COMP$
|
|
6424
|
+
const COMP$1o = "Button";
|
|
6378
6425
|
const ButtonMd = createMetadata({
|
|
6379
6426
|
status: "stable",
|
|
6380
6427
|
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.",
|
|
@@ -6407,11 +6454,11 @@ const ButtonMd = createMetadata({
|
|
|
6407
6454
|
defaultValue: defaultProps$1d.size
|
|
6408
6455
|
},
|
|
6409
6456
|
label: {
|
|
6410
|
-
description: `This property is an optional string to set a label for the ${COMP$
|
|
6457
|
+
description: `This property is an optional string to set a label for the ${COMP$1o}. If no label is specified and an icon is set, the ${COMP$1o} will modify its styling to look like a small icon button. When the ${COMP$1o} has nested children, it will display them and ignore the value of the \`label\` prop.`,
|
|
6411
6458
|
type: "string"
|
|
6412
6459
|
},
|
|
6413
6460
|
type: {
|
|
6414
|
-
description: `This optional string describes how the ${COMP$
|
|
6461
|
+
description: `This optional string describes how the ${COMP$1o} appears in an HTML context. You rarely need to set this property explicitly.`,
|
|
6415
6462
|
availableValues: buttonTypesMd,
|
|
6416
6463
|
valueType: "string",
|
|
6417
6464
|
defaultValue: defaultProps$1d.type
|
|
@@ -6423,86 +6470,86 @@ const ButtonMd = createMetadata({
|
|
|
6423
6470
|
},
|
|
6424
6471
|
orientation: dOrientation(defaultProps$1d.orientation),
|
|
6425
6472
|
icon: {
|
|
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$
|
|
6473
|
+
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$1o} displays only that icon.`,
|
|
6427
6474
|
type: "string"
|
|
6428
6475
|
},
|
|
6429
6476
|
iconPosition: {
|
|
6430
|
-
description: `This optional string determines the location of the icon in the ${COMP$
|
|
6477
|
+
description: `This optional string determines the location of the icon in the ${COMP$1o}.`,
|
|
6431
6478
|
availableValues: iconPositionMd,
|
|
6432
6479
|
type: "string",
|
|
6433
6480
|
defaultValue: defaultProps$1d.iconPosition
|
|
6434
6481
|
},
|
|
6435
6482
|
contentPosition: {
|
|
6436
|
-
description: `This optional value determines how the label and icon (or nested children) should be placedinside the ${COMP$
|
|
6483
|
+
description: `This optional value determines how the label and icon (or nested children) should be placedinside the ${COMP$1o} component.`,
|
|
6437
6484
|
availableValues: alignmentOptionMd,
|
|
6438
6485
|
type: "string",
|
|
6439
6486
|
defaultValue: defaultProps$1d.contentPosition
|
|
6440
6487
|
},
|
|
6441
6488
|
contextualLabel: {
|
|
6442
|
-
description: `This optional value is used to provide an accessible name for the ${COMP$
|
|
6489
|
+
description: `This optional value is used to provide an accessible name for the ${COMP$1o} in the context of its usage.`,
|
|
6443
6490
|
type: "string"
|
|
6444
6491
|
}
|
|
6445
6492
|
},
|
|
6446
6493
|
events: {
|
|
6447
|
-
click: dClick(COMP$
|
|
6448
|
-
gotFocus: dGotFocus(COMP$
|
|
6449
|
-
lostFocus: dLostFocus(COMP$
|
|
6494
|
+
click: dClick(COMP$1o),
|
|
6495
|
+
gotFocus: dGotFocus(COMP$1o),
|
|
6496
|
+
lostFocus: dLostFocus(COMP$1o)
|
|
6450
6497
|
},
|
|
6451
6498
|
themeVars: parseScssVar(styles$1g.themeVars),
|
|
6452
6499
|
defaultThemeVars: {
|
|
6453
|
-
[`width-${COMP$
|
|
6454
|
-
[`height-${COMP$
|
|
6455
|
-
[`borderRadius-${COMP$
|
|
6456
|
-
[`fontSize-${COMP$
|
|
6457
|
-
[`fontWeight-${COMP$
|
|
6458
|
-
[`backgroundColor-${COMP$
|
|
6459
|
-
[`backgroundColor-${COMP$
|
|
6460
|
-
[`borderColor-${COMP$
|
|
6461
|
-
[`backgroundColor-${COMP$
|
|
6462
|
-
[`borderColor-${COMP$
|
|
6463
|
-
[`borderStyle-${COMP$
|
|
6464
|
-
[`textColor-${COMP$
|
|
6465
|
-
[`outlineColor-${COMP$
|
|
6466
|
-
[`borderWidth-${COMP$
|
|
6467
|
-
[`outlineWidth-${COMP$
|
|
6468
|
-
[`outlineStyle-${COMP$
|
|
6469
|
-
[`outlineOffset-${COMP$
|
|
6470
|
-
[`paddingHorizontal-${COMP$
|
|
6471
|
-
[`paddingVertical-${COMP$
|
|
6472
|
-
[`paddingHorizontal-${COMP$
|
|
6473
|
-
[`paddingVertical-${COMP$
|
|
6474
|
-
[`paddingHorizontal-${COMP$
|
|
6475
|
-
[`paddingVertical-${COMP$
|
|
6476
|
-
[`paddingHorizontal-${COMP$
|
|
6477
|
-
[`paddingVertical-${COMP$
|
|
6478
|
-
[`textColor-${COMP$
|
|
6479
|
-
[`textColor-${COMP$
|
|
6480
|
-
[`borderColor-${COMP$
|
|
6481
|
-
[`backgroundColor-${COMP$
|
|
6482
|
-
[`backgroundColor-${COMP$
|
|
6483
|
-
[`backgroundColor-${COMP$
|
|
6484
|
-
[`backgroundColor-${COMP$
|
|
6485
|
-
[`borderColor-${COMP$
|
|
6486
|
-
[`borderColor-${COMP$
|
|
6487
|
-
[`textColor-${COMP$
|
|
6488
|
-
[`textColor-${COMP$
|
|
6489
|
-
[`textColor-${COMP$
|
|
6490
|
-
[`backgroundColor-${COMP$
|
|
6491
|
-
[`backgroundColor-${COMP$
|
|
6492
|
-
[`borderColor-${COMP$
|
|
6493
|
-
[`backgroundColor-${COMP$
|
|
6494
|
-
[`backgroundColor-${COMP$
|
|
6495
|
-
[`backgroundColor-${COMP$
|
|
6496
|
-
[`backgroundColor-${COMP$
|
|
6497
|
-
[`backgroundColor-${COMP$
|
|
6498
|
-
[`backgroundColor-${COMP$
|
|
6499
|
-
[`backgroundColor-${COMP$
|
|
6500
|
-
[`backgroundColor-${COMP$
|
|
6501
|
-
[`backgroundColor-${COMP$
|
|
6502
|
-
[`backgroundColor-${COMP$
|
|
6503
|
-
[`backgroundColor-${COMP$
|
|
6504
|
-
[`backgroundColor-${COMP$
|
|
6505
|
-
[`backgroundColor-${COMP$
|
|
6500
|
+
[`width-${COMP$1o}`]: "fit-content",
|
|
6501
|
+
[`height-${COMP$1o}`]: "fit-content",
|
|
6502
|
+
[`borderRadius-${COMP$1o}`]: "$borderRadius",
|
|
6503
|
+
[`fontSize-${COMP$1o}`]: "$fontSize-sm",
|
|
6504
|
+
[`fontWeight-${COMP$1o}`]: "$fontWeight-medium",
|
|
6505
|
+
[`backgroundColor-${COMP$1o}-primary`]: "$color-primary-500",
|
|
6506
|
+
[`backgroundColor-${COMP$1o}-attention`]: "$backgroundColor-attention",
|
|
6507
|
+
[`borderColor-${COMP$1o}-attention`]: "$color-attention",
|
|
6508
|
+
[`backgroundColor-${COMP$1o}--disabled`]: "$backgroundColor--disabled",
|
|
6509
|
+
[`borderColor-${COMP$1o}--disabled`]: "$borderColor--disabled",
|
|
6510
|
+
[`borderStyle-${COMP$1o}`]: "solid",
|
|
6511
|
+
[`textColor-${COMP$1o}--disabled`]: "$textColor--disabled",
|
|
6512
|
+
[`outlineColor-${COMP$1o}--focus`]: "$outlineColor--focus",
|
|
6513
|
+
[`borderWidth-${COMP$1o}`]: "1px",
|
|
6514
|
+
[`outlineWidth-${COMP$1o}--focus`]: "$outlineWidth--focus",
|
|
6515
|
+
[`outlineStyle-${COMP$1o}--focus`]: "$outlineStyle--focus",
|
|
6516
|
+
[`outlineOffset-${COMP$1o}--focus`]: "$outlineOffset--focus",
|
|
6517
|
+
[`paddingHorizontal-${COMP$1o}-xs`]: "$space-1",
|
|
6518
|
+
[`paddingVertical-${COMP$1o}-xs`]: "$space-0_5",
|
|
6519
|
+
[`paddingHorizontal-${COMP$1o}-sm`]: "$space-4",
|
|
6520
|
+
[`paddingVertical-${COMP$1o}-sm`]: "$space-2",
|
|
6521
|
+
[`paddingHorizontal-${COMP$1o}-md`]: "$space-4",
|
|
6522
|
+
[`paddingVertical-${COMP$1o}-md`]: "$space-3",
|
|
6523
|
+
[`paddingHorizontal-${COMP$1o}-lg`]: "$space-5",
|
|
6524
|
+
[`paddingVertical-${COMP$1o}-lg`]: "$space-4",
|
|
6525
|
+
[`textColor-${COMP$1o}`]: "$color-surface-950",
|
|
6526
|
+
[`textColor-${COMP$1o}-solid`]: "$const-color-surface-50",
|
|
6527
|
+
[`borderColor-${COMP$1o}-primary`]: "$color-primary-500",
|
|
6528
|
+
[`backgroundColor-${COMP$1o}-primary--hover`]: "$color-primary-400",
|
|
6529
|
+
[`backgroundColor-${COMP$1o}-primary--active`]: "$color-primary-500",
|
|
6530
|
+
[`backgroundColor-${COMP$1o}-primary-outlined--hover`]: "$color-primary-50",
|
|
6531
|
+
[`backgroundColor-${COMP$1o}-primary-outlined--active`]: "$color-primary-100",
|
|
6532
|
+
[`borderColor-${COMP$1o}-primary-outlined`]: "$color-primary-600",
|
|
6533
|
+
[`borderColor-${COMP$1o}-primary-outlined--hover`]: "$color-primary-500",
|
|
6534
|
+
[`textColor-${COMP$1o}-primary-outlined`]: "$color-primary-900",
|
|
6535
|
+
[`textColor-${COMP$1o}-primary-outlined--hover`]: "$color-primary-950",
|
|
6536
|
+
[`textColor-${COMP$1o}-primary-outlined--active`]: "$color-primary-900",
|
|
6537
|
+
[`backgroundColor-${COMP$1o}-primary-ghost--hover`]: "$color-primary-50",
|
|
6538
|
+
[`backgroundColor-${COMP$1o}-primary-ghost--active`]: "$color-primary-100",
|
|
6539
|
+
[`borderColor-${COMP$1o}-secondary`]: "$color-secondary-100",
|
|
6540
|
+
[`backgroundColor-${COMP$1o}-secondary`]: "$color-secondary-500",
|
|
6541
|
+
[`backgroundColor-${COMP$1o}-secondary--hover`]: "$color-secondary-400",
|
|
6542
|
+
[`backgroundColor-${COMP$1o}-secondary--active`]: "$color-secondary-500",
|
|
6543
|
+
[`backgroundColor-${COMP$1o}-secondary-outlined--hover`]: "$color-secondary-50",
|
|
6544
|
+
[`backgroundColor-${COMP$1o}-secondary-outlined--active`]: "$color-secondary-100",
|
|
6545
|
+
[`backgroundColor-${COMP$1o}-secondary-ghost--hover`]: "$color-secondary-100",
|
|
6546
|
+
[`backgroundColor-${COMP$1o}-secondary-ghost--active`]: "$color-secondary-100",
|
|
6547
|
+
[`backgroundColor-${COMP$1o}-attention--hover`]: "$color-danger-400",
|
|
6548
|
+
[`backgroundColor-${COMP$1o}-attention--active`]: "$color-danger-500",
|
|
6549
|
+
[`backgroundColor-${COMP$1o}-attention-outlined--hover`]: "$color-danger-50",
|
|
6550
|
+
[`backgroundColor-${COMP$1o}-attention-outlined--active`]: "$color-danger-100",
|
|
6551
|
+
[`backgroundColor-${COMP$1o}-attention-ghost--hover`]: "$color-danger-50",
|
|
6552
|
+
[`backgroundColor-${COMP$1o}-attention-ghost--active`]: "$color-danger-100"
|
|
6506
6553
|
}
|
|
6507
6554
|
});
|
|
6508
6555
|
const buttonComponentRenderer = createComponentRenderer(
|
|
@@ -8710,9 +8757,9 @@ class PropsTrasform {
|
|
|
8710
8757
|
return this.mapValues(filteredKeys, this.extractValue);
|
|
8711
8758
|
}
|
|
8712
8759
|
}
|
|
8713
|
-
const COMP$
|
|
8760
|
+
const COMP$1n = "Heading";
|
|
8714
8761
|
const VALUE_DESC = d(
|
|
8715
|
-
`This property determines the text displayed in the heading. \`${COMP$
|
|
8762
|
+
`This property determines the text displayed in the heading. \`${COMP$1n}\` also accepts nested text instead of specifying the \`value\`. If both \`value\` and a nested text are used, the \`value\` will be displayed.`
|
|
8716
8763
|
);
|
|
8717
8764
|
const MAX_LINES_DESC = d(
|
|
8718
8765
|
"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."
|
|
@@ -8769,13 +8816,13 @@ const HeadingMd = createMetadata({
|
|
|
8769
8816
|
themeVars: parseScssVar(styles$14.themeVars),
|
|
8770
8817
|
limitThemeVarsToComponent: true,
|
|
8771
8818
|
defaultThemeVars: {
|
|
8772
|
-
[`fontFamily-${COMP$
|
|
8773
|
-
[`textColor-${COMP$
|
|
8774
|
-
[`fontWeight-${COMP$
|
|
8775
|
-
[`letterSpacing-${COMP$
|
|
8776
|
-
[`color-anchor-${COMP$
|
|
8777
|
-
[`gap-anchor-${COMP$
|
|
8778
|
-
[`textDecorationLine-anchor-${COMP$
|
|
8819
|
+
[`fontFamily-${COMP$1n}`]: "$fontFamily",
|
|
8820
|
+
[`textColor-${COMP$1n}`]: "inherit",
|
|
8821
|
+
[`fontWeight-${COMP$1n}`]: "$fontWeight-bold",
|
|
8822
|
+
[`letterSpacing-${COMP$1n} `]: "0",
|
|
8823
|
+
[`color-anchor-${COMP$1n} `]: "$color-surface-400",
|
|
8824
|
+
[`gap-anchor-${COMP$1n} `]: "$space-2",
|
|
8825
|
+
[`textDecorationLine-anchor-${COMP$1n} `]: "underline",
|
|
8779
8826
|
light: {
|
|
8780
8827
|
// --- No light-specific theme vars
|
|
8781
8828
|
},
|
|
@@ -8788,7 +8835,7 @@ const H1 = "H1";
|
|
|
8788
8835
|
const H1Md = createMetadata({
|
|
8789
8836
|
status: "stable",
|
|
8790
8837
|
description: LEVEL_DESC(1),
|
|
8791
|
-
specializedFrom: COMP$
|
|
8838
|
+
specializedFrom: COMP$1n,
|
|
8792
8839
|
props: {
|
|
8793
8840
|
value: VALUE_DESC,
|
|
8794
8841
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8818,7 +8865,7 @@ const H2 = "H2";
|
|
|
8818
8865
|
const H2Md = createMetadata({
|
|
8819
8866
|
status: "stable",
|
|
8820
8867
|
description: LEVEL_DESC(2),
|
|
8821
|
-
specializedFrom: COMP$
|
|
8868
|
+
specializedFrom: COMP$1n,
|
|
8822
8869
|
props: {
|
|
8823
8870
|
value: VALUE_DESC,
|
|
8824
8871
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8848,7 +8895,7 @@ const H3 = "H3";
|
|
|
8848
8895
|
const H3Md = createMetadata({
|
|
8849
8896
|
status: "stable",
|
|
8850
8897
|
description: LEVEL_DESC(3),
|
|
8851
|
-
specializedFrom: COMP$
|
|
8898
|
+
specializedFrom: COMP$1n,
|
|
8852
8899
|
props: {
|
|
8853
8900
|
value: VALUE_DESC,
|
|
8854
8901
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8878,7 +8925,7 @@ const H4 = "H4";
|
|
|
8878
8925
|
const H4Md = createMetadata({
|
|
8879
8926
|
status: "stable",
|
|
8880
8927
|
description: LEVEL_DESC(4),
|
|
8881
|
-
specializedFrom: COMP$
|
|
8928
|
+
specializedFrom: COMP$1n,
|
|
8882
8929
|
props: {
|
|
8883
8930
|
value: VALUE_DESC,
|
|
8884
8931
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8908,7 +8955,7 @@ const H5 = "H5";
|
|
|
8908
8955
|
const H5Md = createMetadata({
|
|
8909
8956
|
status: "stable",
|
|
8910
8957
|
description: LEVEL_DESC(5),
|
|
8911
|
-
specializedFrom: COMP$
|
|
8958
|
+
specializedFrom: COMP$1n,
|
|
8912
8959
|
props: {
|
|
8913
8960
|
value: VALUE_DESC,
|
|
8914
8961
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8938,7 +8985,7 @@ const H6 = "H6";
|
|
|
8938
8985
|
const H6Md = createMetadata({
|
|
8939
8986
|
status: "stable",
|
|
8940
8987
|
description: LEVEL_DESC(6),
|
|
8941
|
-
specializedFrom: COMP$
|
|
8988
|
+
specializedFrom: COMP$1n,
|
|
8942
8989
|
props: {
|
|
8943
8990
|
value: VALUE_DESC,
|
|
8944
8991
|
maxLines: MAX_LINES_DESC,
|
|
@@ -8994,7 +9041,7 @@ function renderHeading({
|
|
|
8994
9041
|
);
|
|
8995
9042
|
}
|
|
8996
9043
|
const headingComponentRenderer = createComponentRenderer(
|
|
8997
|
-
COMP$
|
|
9044
|
+
COMP$1n,
|
|
8998
9045
|
HeadingMd,
|
|
8999
9046
|
({ node, extractValue, className, renderChild: renderChild2, registerComponentApi }) => {
|
|
9000
9047
|
return renderHeading({
|
|
@@ -9278,13 +9325,13 @@ const Text = forwardRef(function Text2({
|
|
|
9278
9325
|
}
|
|
9279
9326
|
);
|
|
9280
9327
|
});
|
|
9281
|
-
const COMP$
|
|
9328
|
+
const COMP$1m = "Text";
|
|
9282
9329
|
const TextMd = createMetadata({
|
|
9283
9330
|
status: "stable",
|
|
9284
|
-
description: `The \`${COMP$
|
|
9331
|
+
description: `The \`${COMP$1m}\` component displays textual information in a number of optional styles and variants.`,
|
|
9285
9332
|
props: {
|
|
9286
9333
|
value: d(
|
|
9287
|
-
`The text to be displayed. This value can also be set via nesting the text into the \`${COMP$
|
|
9334
|
+
`The text to be displayed. This value can also be set via nesting the text into the \`${COMP$1m}\` component.`
|
|
9288
9335
|
),
|
|
9289
9336
|
variant: {
|
|
9290
9337
|
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.",
|
|
@@ -9344,76 +9391,76 @@ const TextMd = createMetadata({
|
|
|
9344
9391
|
},
|
|
9345
9392
|
themeVars: parseScssVar(styles$13.themeVars),
|
|
9346
9393
|
defaultThemeVars: {
|
|
9347
|
-
[`borderRadius-${COMP$
|
|
9348
|
-
[`borderStyle-${COMP$
|
|
9349
|
-
[`fontSize-${COMP$
|
|
9350
|
-
[`borderWidth-${COMP$
|
|
9351
|
-
[`lineHeight-${COMP$
|
|
9352
|
-
[`fontWeight-${COMP$
|
|
9353
|
-
[`textTransform-${COMP$
|
|
9354
|
-
[`fontSize-${COMP$
|
|
9355
|
-
[`fontStyle-${COMP$
|
|
9356
|
-
[`textColor-${COMP$
|
|
9357
|
-
[`fontFamily-${COMP$
|
|
9358
|
-
[`fontWeight-${COMP$
|
|
9359
|
-
[`fontSize-${COMP$
|
|
9360
|
-
[`fontFamily-${COMP$
|
|
9361
|
-
[`fontSize-${COMP$
|
|
9362
|
-
[`borderWidth-${COMP$
|
|
9363
|
-
[`borderStyle-${COMP$
|
|
9364
|
-
[`borderRadius-${COMP$
|
|
9365
|
-
[`paddingHorizontal-${COMP$
|
|
9366
|
-
[`paddingBottom-${COMP$
|
|
9367
|
-
[`textDecorationLine-${COMP$
|
|
9368
|
-
[`textDecorationLine-${COMP$
|
|
9369
|
-
[`fontFamily-${COMP$
|
|
9370
|
-
[`fontSize-${COMP$
|
|
9371
|
-
[`fontWeight-${COMP$
|
|
9372
|
-
[`borderWidth-${COMP$
|
|
9373
|
-
[`paddingHorizontal-${COMP$
|
|
9374
|
-
[`fontFamily-${COMP$
|
|
9375
|
-
[`fontSize-${COMP$
|
|
9376
|
-
[`fontSize-${COMP$
|
|
9377
|
-
[`verticalAlignment-${COMP$
|
|
9378
|
-
[`fontSize-${COMP$
|
|
9379
|
-
[`verticalAlignment-${COMP$
|
|
9380
|
-
[`fontStyle-${COMP$
|
|
9381
|
-
[`fontStyle-${COMP$
|
|
9382
|
-
[`fontFamily-${COMP$
|
|
9383
|
-
[`fontSize-${COMP$
|
|
9384
|
-
[`fontSize-${COMP$
|
|
9385
|
-
[`fontSize-${COMP$
|
|
9386
|
-
[`letterSpacing-${COMP$
|
|
9387
|
-
[`fontSize-${COMP$
|
|
9388
|
-
[`fontFamily-${COMP$
|
|
9389
|
-
[`paddingHorizontal-${COMP$
|
|
9390
|
-
[`paddingVertical-${COMP$
|
|
9391
|
-
[`paddingVertical-${COMP$
|
|
9392
|
-
[`fontSize-${COMP$
|
|
9393
|
-
[`fontWeight-${COMP$
|
|
9394
|
-
[`letterSpacing-${COMP$
|
|
9395
|
-
[`textTransform-${COMP$
|
|
9396
|
-
[`marginTop-${COMP$
|
|
9397
|
-
[`marginBottom-${COMP$
|
|
9398
|
-
[`paddingHorizontal-${COMP$
|
|
9399
|
-
[`fontSize-${COMP$
|
|
9400
|
-
[`fontWeight-${COMP$
|
|
9401
|
-
[`backgroundColor-${COMP$
|
|
9402
|
-
[`borderColor-${COMP$
|
|
9403
|
-
[`backgroundColor-${COMP$
|
|
9404
|
-
[`borderColor-${COMP$
|
|
9405
|
-
[`backgroundColor-${COMP$
|
|
9406
|
-
[`color-${COMP$
|
|
9407
|
-
[`color-${COMP$
|
|
9408
|
-
[`color-${COMP$
|
|
9409
|
-
[`color-${COMP$
|
|
9394
|
+
[`borderRadius-${COMP$1m}`]: "$borderRadius",
|
|
9395
|
+
[`borderStyle-${COMP$1m}`]: "solid",
|
|
9396
|
+
[`fontSize-${COMP$1m}`]: "$fontSize-sm",
|
|
9397
|
+
[`borderWidth-${COMP$1m}`]: "$space-0",
|
|
9398
|
+
[`lineHeight-${COMP$1m}-codefence`]: "1.5",
|
|
9399
|
+
[`fontWeight-${COMP$1m}-abbr`]: "$fontWeight-bold",
|
|
9400
|
+
[`textTransform-${COMP$1m}-abbr`]: "uppercase",
|
|
9401
|
+
[`fontSize-${COMP$1m}-secondary`]: "$fontSize-sm",
|
|
9402
|
+
[`fontStyle-${COMP$1m}-cite`]: "italic",
|
|
9403
|
+
[`textColor-${COMP$1m}`]: "$textColor-primary",
|
|
9404
|
+
[`fontFamily-${COMP$1m}`]: "$fontFamily",
|
|
9405
|
+
[`fontWeight-${COMP$1m}`]: "$fontWeight-normal",
|
|
9406
|
+
[`fontSize-${COMP$1m}-codefence`]: "$fontSize-code",
|
|
9407
|
+
[`fontFamily-${COMP$1m}-code`]: "$fontFamily-monospace",
|
|
9408
|
+
[`fontSize-${COMP$1m}-code`]: "$fontSize-sm",
|
|
9409
|
+
[`borderWidth-${COMP$1m}-code`]: "1px",
|
|
9410
|
+
[`borderStyle-${COMP$1m}-code`]: "solid",
|
|
9411
|
+
[`borderRadius-${COMP$1m}-code`]: "4px",
|
|
9412
|
+
[`paddingHorizontal-${COMP$1m}-code`]: "$space-0_5",
|
|
9413
|
+
[`paddingBottom-${COMP$1m}-code`]: "2px",
|
|
9414
|
+
[`textDecorationLine-${COMP$1m}-deleted`]: "line-through",
|
|
9415
|
+
[`textDecorationLine-${COMP$1m}-inserted`]: "underline",
|
|
9416
|
+
[`fontFamily-${COMP$1m}-keyboard`]: "$fontFamily-monospace",
|
|
9417
|
+
[`fontSize-${COMP$1m}-keyboard`]: "$fontSize-sm",
|
|
9418
|
+
[`fontWeight-${COMP$1m}-keyboard`]: "$fontWeight-bold",
|
|
9419
|
+
[`borderWidth-${COMP$1m}-keyboard`]: "1px",
|
|
9420
|
+
[`paddingHorizontal-${COMP$1m}-keyboard`]: "$space-1",
|
|
9421
|
+
[`fontFamily-${COMP$1m}-sample`]: "$fontFamily-monospace",
|
|
9422
|
+
[`fontSize-${COMP$1m}-sample`]: "$fontSize-sm",
|
|
9423
|
+
[`fontSize-${COMP$1m}-sup`]: "$fontSize-xs",
|
|
9424
|
+
[`verticalAlignment-${COMP$1m}-sup`]: "super",
|
|
9425
|
+
[`fontSize-${COMP$1m}-sub`]: "$fontSize-xs",
|
|
9426
|
+
[`verticalAlignment-${COMP$1m}-sub`]: "sub",
|
|
9427
|
+
[`fontStyle-${COMP$1m}-var`]: "italic",
|
|
9428
|
+
[`fontStyle-${COMP$1m}-em`]: "italic",
|
|
9429
|
+
[`fontFamily-${COMP$1m}-mono`]: "$fontFamily-monospace",
|
|
9430
|
+
[`fontSize-${COMP$1m}-title`]: "$fontSize-2xl",
|
|
9431
|
+
[`fontSize-${COMP$1m}-subtitle`]: "$fontSize-xl",
|
|
9432
|
+
[`fontSize-${COMP$1m}-small`]: "$fontSize-sm",
|
|
9433
|
+
[`letterSpacing-${COMP$1m}-caption`]: "0.05rem",
|
|
9434
|
+
[`fontSize-${COMP$1m}-placeholder`]: "$fontSize-xs",
|
|
9435
|
+
[`fontFamily-${COMP$1m}-codefence`]: "$fontFamily-monospace",
|
|
9436
|
+
[`paddingHorizontal-${COMP$1m}-codefence`]: "$space-4",
|
|
9437
|
+
[`paddingVertical-${COMP$1m}-codefence`]: "$space-3",
|
|
9438
|
+
[`paddingVertical-${COMP$1m}-paragraph`]: "$space-1",
|
|
9439
|
+
[`fontSize-${COMP$1m}-subheading`]: "$fontSize-H6",
|
|
9440
|
+
[`fontWeight-${COMP$1m}-subheading`]: "$fontWeight-bold",
|
|
9441
|
+
[`letterSpacing-${COMP$1m}-subheading`]: "0.04em",
|
|
9442
|
+
[`textTransform-${COMP$1m}-subheading`]: "uppercase",
|
|
9443
|
+
[`marginTop-${COMP$1m}-tableheading`]: "$space-1",
|
|
9444
|
+
[`marginBottom-${COMP$1m}-tableheading`]: "$space-4",
|
|
9445
|
+
[`paddingHorizontal-${COMP$1m}-tableheading`]: "$space-1",
|
|
9446
|
+
[`fontSize-${COMP$1m}-tableheading`]: "$fontSize-H6",
|
|
9447
|
+
[`fontWeight-${COMP$1m}-tableheading`]: "$fontWeight-bold",
|
|
9448
|
+
[`backgroundColor-${COMP$1m}-code`]: "rgb(from $color-surface-100 r g b / 0.4)",
|
|
9449
|
+
[`borderColor-${COMP$1m}-code`]: "$color-surface-100",
|
|
9450
|
+
[`backgroundColor-${COMP$1m}-keyboard`]: "rgb(from $color-surface-100 r g b / 0.4)",
|
|
9451
|
+
[`borderColor-${COMP$1m}-keyboard`]: "$color-surface-300",
|
|
9452
|
+
[`backgroundColor-${COMP$1m}-marked`]: "rgb(from $color-primary-200 r g b / 0.4)",
|
|
9453
|
+
[`color-${COMP$1m}-placeholder`]: "$color-surface-500",
|
|
9454
|
+
[`color-${COMP$1m}-codefence`]: "$color-surface-900",
|
|
9455
|
+
[`color-${COMP$1m}-subheading`]: "$textColor-secondary",
|
|
9456
|
+
[`color-${COMP$1m}-secondary`]: "$textColor-secondary",
|
|
9410
9457
|
dark: {
|
|
9411
|
-
[`backgroundColor-${COMP$
|
|
9458
|
+
[`backgroundColor-${COMP$1m}-marked`]: "rgb(from $color-primary-400 r g b / 0.4)"
|
|
9412
9459
|
}
|
|
9413
9460
|
}
|
|
9414
9461
|
});
|
|
9415
9462
|
const textComponentRenderer = createComponentRenderer(
|
|
9416
|
-
COMP$
|
|
9463
|
+
COMP$1m,
|
|
9417
9464
|
TextMd,
|
|
9418
9465
|
({ node, extractValue, className, renderChild: renderChild2, registerComponentApi }) => {
|
|
9419
9466
|
const {
|
|
@@ -9449,7 +9496,7 @@ const textComponentRenderer = createComponentRenderer(
|
|
|
9449
9496
|
);
|
|
9450
9497
|
}
|
|
9451
9498
|
);
|
|
9452
|
-
const COMP$
|
|
9499
|
+
const COMP$1l = "Fragment";
|
|
9453
9500
|
const FragmentMd = createMetadata({
|
|
9454
9501
|
status: "stable",
|
|
9455
9502
|
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.",
|
|
@@ -9459,7 +9506,7 @@ const FragmentMd = createMetadata({
|
|
|
9459
9506
|
}
|
|
9460
9507
|
});
|
|
9461
9508
|
const fragmentComponentRenderer = createComponentRenderer(
|
|
9462
|
-
COMP$
|
|
9509
|
+
COMP$1l,
|
|
9463
9510
|
FragmentMd,
|
|
9464
9511
|
({ node, extractValue, renderChild: renderChild2, layoutContext }) => {
|
|
9465
9512
|
let renderedChild = renderChild2(node.children, layoutContext);
|
|
@@ -12149,7 +12196,7 @@ const defaultProps$Z = {
|
|
|
12149
12196
|
pageSizeSelectorPosition: "start",
|
|
12150
12197
|
pageInfoPosition: "end"
|
|
12151
12198
|
};
|
|
12152
|
-
const COMP$
|
|
12199
|
+
const COMP$1k = "Table";
|
|
12153
12200
|
const TableMd = createMetadata({
|
|
12154
12201
|
status: "stable",
|
|
12155
12202
|
description: "`Table` presents structured data for viewing, sorting, selection, and interaction.",
|
|
@@ -12161,7 +12208,7 @@ const TableMd = createMetadata({
|
|
|
12161
12208
|
`The component receives data via this property. The \`data\` property is a list of items that the \`Table\` can display.`
|
|
12162
12209
|
),
|
|
12163
12210
|
isPaginated: {
|
|
12164
|
-
description: `This property adds pagination controls to the \`${COMP$
|
|
12211
|
+
description: `This property adds pagination controls to the \`${COMP$1k}\`.`,
|
|
12165
12212
|
valueType: "boolean",
|
|
12166
12213
|
defaultValue: defaultProps$Z.isPaginated
|
|
12167
12214
|
},
|
|
@@ -12231,13 +12278,13 @@ const TableMd = createMetadata({
|
|
|
12231
12278
|
defaultValue: defaultProps$Z.hideHeader
|
|
12232
12279
|
},
|
|
12233
12280
|
iconNoSort: d(
|
|
12234
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
12281
|
+
`Allows setting an alternate icon displayed in the ${COMP$1k} column header when sorting is enabled, but the column remains unsorted. You can change the default icon for all ${COMP$1k} instances with the "icon.nosort:Table" declaration in the app configuration file.`
|
|
12235
12282
|
),
|
|
12236
12283
|
iconSortAsc: d(
|
|
12237
|
-
`Allows setting an alernate icon displayed in the ${COMP$
|
|
12284
|
+
`Allows setting an alernate icon displayed in the ${COMP$1k} column header when sorting is enabled, and the column is sorted in ascending order. You can change the default icon for all ${COMP$1k} instances with the "icon.sortasc:Table" declaration in the app configuration file.`
|
|
12238
12285
|
),
|
|
12239
12286
|
iconSortDesc: d(
|
|
12240
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
12287
|
+
`Allows setting an alternate icon displayed in the ${COMP$1k} column header when sorting is enabled, and the column is sorted in descending order. You can change the default icon for all ${COMP$1k} instances with the "icon.sortdesc:Table" declaration in the app configuration file.`
|
|
12241
12288
|
),
|
|
12242
12289
|
enableMultiRowSelection: {
|
|
12243
12290
|
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.`,
|
|
@@ -12305,33 +12352,33 @@ const TableMd = createMetadata({
|
|
|
12305
12352
|
},
|
|
12306
12353
|
themeVars: parseScssVar(styles$12.themeVars),
|
|
12307
12354
|
defaultThemeVars: {
|
|
12308
|
-
[`padding-heading-${COMP$
|
|
12309
|
-
[`padding-cell-${COMP$
|
|
12310
|
-
[`paddingHorizontal-cell-first-${COMP$
|
|
12311
|
-
[`paddingHorizontal-cell-last-${COMP$
|
|
12312
|
-
[`border-cell-${COMP$
|
|
12313
|
-
[`outlineWidth-heading-${COMP$
|
|
12314
|
-
[`outlineStyle-heading-${COMP$
|
|
12315
|
-
[`outlineOffset-heading-${COMP$
|
|
12316
|
-
[`fontSize-heading-${COMP$
|
|
12317
|
-
[`fontWeight-heading-${COMP$
|
|
12318
|
-
[`textTransform-heading-${COMP$
|
|
12319
|
-
[`fontSize-row-${COMP$
|
|
12355
|
+
[`padding-heading-${COMP$1k}`]: `$space-2 $space-1 $space-2 $space-2`,
|
|
12356
|
+
[`padding-cell-${COMP$1k}`]: "$space-2 $space-1 $space-2 $space-2",
|
|
12357
|
+
[`paddingHorizontal-cell-first-${COMP$1k}`]: "$space-5",
|
|
12358
|
+
[`paddingHorizontal-cell-last-${COMP$1k}`]: "$space-1",
|
|
12359
|
+
[`border-cell-${COMP$1k}`]: "1px solid $borderColor",
|
|
12360
|
+
[`outlineWidth-heading-${COMP$1k}--focus`]: "$outlineWidth--focus",
|
|
12361
|
+
[`outlineStyle-heading-${COMP$1k}--focus`]: "$outlineStyle--focus",
|
|
12362
|
+
[`outlineOffset-heading-${COMP$1k}--focus`]: "$outlineOffset--focus",
|
|
12363
|
+
[`fontSize-heading-${COMP$1k}`]: "$fontSize-tiny",
|
|
12364
|
+
[`fontWeight-heading-${COMP$1k}`]: "$fontWeight-bold",
|
|
12365
|
+
[`textTransform-heading-${COMP$1k}`]: "uppercase",
|
|
12366
|
+
[`fontSize-row-${COMP$1k}`]: "$fontSize-sm",
|
|
12320
12367
|
// [`backgroundColor-${COMP}`]: "transparent",
|
|
12321
12368
|
// [`backgroundColor-row-${COMP}`]: "inherit",
|
|
12322
|
-
[`backgroundColor-selected-${COMP$
|
|
12323
|
-
[`backgroundColor-pagination-${COMP$
|
|
12324
|
-
[`outlineColor-heading-${COMP$
|
|
12325
|
-
[`textColor-pagination-${COMP$
|
|
12326
|
-
[`backgroundColor-row-${COMP$
|
|
12327
|
-
[`backgroundColor-selected-${COMP$
|
|
12328
|
-
[`backgroundColor-heading-${COMP$
|
|
12329
|
-
[`backgroundColor-heading-${COMP$
|
|
12330
|
-
[`backgroundColor-heading-${COMP$
|
|
12331
|
-
[`textColor-heading-${COMP$
|
|
12332
|
-
[`border-${COMP$
|
|
12333
|
-
[`borderBottom-last-row-${COMP$
|
|
12334
|
-
[`borderRadius-${COMP$
|
|
12369
|
+
[`backgroundColor-selected-${COMP$1k}--hover`]: `$backgroundColor-row-${COMP$1k}--hover`,
|
|
12370
|
+
[`backgroundColor-pagination-${COMP$1k}`]: `$backgroundColor-${COMP$1k}`,
|
|
12371
|
+
[`outlineColor-heading-${COMP$1k}--focus`]: "$outlineColor--focus",
|
|
12372
|
+
[`textColor-pagination-${COMP$1k}`]: "$color-secondary",
|
|
12373
|
+
[`backgroundColor-row-${COMP$1k}--hover`]: "$color-primary-50",
|
|
12374
|
+
[`backgroundColor-selected-${COMP$1k}`]: "$color-primary-100",
|
|
12375
|
+
[`backgroundColor-heading-${COMP$1k}--hover`]: "$color-surface-200",
|
|
12376
|
+
[`backgroundColor-heading-${COMP$1k}--active`]: "$color-surface-300",
|
|
12377
|
+
[`backgroundColor-heading-${COMP$1k}`]: "$color-surface-100",
|
|
12378
|
+
[`textColor-heading-${COMP$1k}`]: "$color-surface-500",
|
|
12379
|
+
[`border-${COMP$1k}`]: "0px solid transparent",
|
|
12380
|
+
[`borderBottom-last-row-${COMP$1k}`]: `$borderBottom-cell-${COMP$1k}`,
|
|
12381
|
+
[`borderRadius-${COMP$1k}`]: "$borderRadius"
|
|
12335
12382
|
}
|
|
12336
12383
|
});
|
|
12337
12384
|
const TableWithColumns = memo(forwardRef(
|
|
@@ -12463,7 +12510,7 @@ const TableWithColumns = memo(forwardRef(
|
|
|
12463
12510
|
));
|
|
12464
12511
|
TableWithColumns.displayName = "TableWithColumns";
|
|
12465
12512
|
const tableComponentRenderer = createComponentRenderer(
|
|
12466
|
-
COMP$
|
|
12513
|
+
COMP$1k,
|
|
12467
12514
|
TableMd,
|
|
12468
12515
|
({
|
|
12469
12516
|
extractValue,
|
|
@@ -12547,7 +12594,7 @@ function StickyBox({ children, uid, style: style2, to = defaultProps$Y.to, class
|
|
|
12547
12594
|
)
|
|
12548
12595
|
] });
|
|
12549
12596
|
}
|
|
12550
|
-
const COMP$
|
|
12597
|
+
const COMP$1j = "StickyBox";
|
|
12551
12598
|
const StickyBoxMd = createMetadata({
|
|
12552
12599
|
status: "stable",
|
|
12553
12600
|
description: "`StickyBox` remains fixed at the top or bottom of the screen as the user scrolls.",
|
|
@@ -12561,11 +12608,11 @@ const StickyBoxMd = createMetadata({
|
|
|
12561
12608
|
},
|
|
12562
12609
|
themeVars: parseScssVar(styles$$.themeVars),
|
|
12563
12610
|
defaultThemeVars: {
|
|
12564
|
-
[`backgroundColor-${COMP$
|
|
12611
|
+
[`backgroundColor-${COMP$1j}`]: "$backgroundColor"
|
|
12565
12612
|
}
|
|
12566
12613
|
});
|
|
12567
12614
|
const stickyBoxComponentRenderer = createComponentRenderer(
|
|
12568
|
-
COMP$
|
|
12615
|
+
COMP$1j,
|
|
12569
12616
|
StickyBoxMd,
|
|
12570
12617
|
({ node, renderChild: renderChild2, extractValue, className }) => {
|
|
12571
12618
|
var _a2;
|
|
@@ -12608,7 +12655,7 @@ const Badge = forwardRef(function Badge2({ children, color, variant = defaultPro
|
|
|
12608
12655
|
}
|
|
12609
12656
|
);
|
|
12610
12657
|
});
|
|
12611
|
-
const COMP$
|
|
12658
|
+
const COMP$1i = "Badge";
|
|
12612
12659
|
const BadgeMd = createMetadata({
|
|
12613
12660
|
status: "stable",
|
|
12614
12661
|
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.",
|
|
@@ -12625,7 +12672,7 @@ const BadgeMd = createMetadata({
|
|
|
12625
12672
|
defaultValue: defaultProps$X.variant
|
|
12626
12673
|
},
|
|
12627
12674
|
colorMap: {
|
|
12628
|
-
description: `The \`${COMP$
|
|
12675
|
+
description: `The \`${COMP$1i}\` 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.`
|
|
12629
12676
|
},
|
|
12630
12677
|
themeColor: dInternal(`(**NOT IMPLEMENTED YET**) The theme color of the component.`),
|
|
12631
12678
|
indicatorText: dInternal(
|
|
@@ -12640,18 +12687,18 @@ const BadgeMd = createMetadata({
|
|
|
12640
12687
|
events: {},
|
|
12641
12688
|
themeVars: parseScssVar(styles$_.themeVars),
|
|
12642
12689
|
defaultThemeVars: {
|
|
12643
|
-
[`padding-${COMP$
|
|
12644
|
-
[`border-${COMP$
|
|
12645
|
-
[`padding-${COMP$
|
|
12646
|
-
[`borderRadius-${COMP$
|
|
12647
|
-
[`fontSize-${COMP$
|
|
12648
|
-
[`fontSize-${COMP$
|
|
12649
|
-
[`backgroundColor-${COMP$
|
|
12650
|
-
[`textColor-${COMP$
|
|
12690
|
+
[`padding-${COMP$1i}`]: `$space-0_5 $space-2`,
|
|
12691
|
+
[`border-${COMP$1i}`]: `0px solid $borderColor`,
|
|
12692
|
+
[`padding-${COMP$1i}-pill`]: `$space-0_5 $space-2`,
|
|
12693
|
+
[`borderRadius-${COMP$1i}`]: "4px",
|
|
12694
|
+
[`fontSize-${COMP$1i}`]: "0.8em",
|
|
12695
|
+
[`fontSize-${COMP$1i}-pill`]: "0.8em",
|
|
12696
|
+
[`backgroundColor-${COMP$1i}`]: "rgb(from $color-secondary-500 r g b / 0.6)",
|
|
12697
|
+
[`textColor-${COMP$1i}`]: "$const-color-surface-0"
|
|
12651
12698
|
}
|
|
12652
12699
|
});
|
|
12653
12700
|
const badgeComponentRenderer = createComponentRenderer(
|
|
12654
|
-
COMP$
|
|
12701
|
+
COMP$1i,
|
|
12655
12702
|
BadgeMd,
|
|
12656
12703
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
12657
12704
|
var _a2;
|
|
@@ -12751,23 +12798,23 @@ function abbrevName(name) {
|
|
|
12751
12798
|
}
|
|
12752
12799
|
return null;
|
|
12753
12800
|
}
|
|
12754
|
-
const COMP$
|
|
12801
|
+
const COMP$1h = "Avatar";
|
|
12755
12802
|
const AvatarMd = createMetadata({
|
|
12756
12803
|
status: "stable",
|
|
12757
12804
|
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.",
|
|
12758
12805
|
props: {
|
|
12759
12806
|
size: {
|
|
12760
|
-
description: `This property defines the display size of the ${COMP$
|
|
12807
|
+
description: `This property defines the display size of the ${COMP$1h}.`,
|
|
12761
12808
|
availableValues: sizeMd,
|
|
12762
12809
|
valueType: "string",
|
|
12763
12810
|
defaultValue: defaultProps$W.size
|
|
12764
12811
|
},
|
|
12765
12812
|
name: {
|
|
12766
|
-
description: `This property sets the name value the ${COMP$
|
|
12813
|
+
description: `This property sets the name value the ${COMP$1h} uses to display initials. If neither this property nor \`url\` is defined, an empty avatar is displayed.`,
|
|
12767
12814
|
valueType: "string"
|
|
12768
12815
|
},
|
|
12769
12816
|
url: {
|
|
12770
|
-
description: `This property specifies the URL of the image to display in the ${COMP$
|
|
12817
|
+
description: `This property specifies the URL of the image to display in the ${COMP$1h}. If neither this property nor \`name\` is defined, an empty avatar is displayed.`,
|
|
12771
12818
|
valueType: "string"
|
|
12772
12819
|
}
|
|
12773
12820
|
},
|
|
@@ -12776,16 +12823,16 @@ const AvatarMd = createMetadata({
|
|
|
12776
12823
|
},
|
|
12777
12824
|
themeVars: parseScssVar(styles$Z.themeVars),
|
|
12778
12825
|
defaultThemeVars: {
|
|
12779
|
-
[`borderRadius-${COMP$
|
|
12780
|
-
[`boxShadow-${COMP$
|
|
12781
|
-
[`textColor-${COMP$
|
|
12782
|
-
[`fontWeight-${COMP$
|
|
12783
|
-
[`border-${COMP$
|
|
12784
|
-
[`backgroundColor-${COMP$
|
|
12826
|
+
[`borderRadius-${COMP$1h}`]: "4px",
|
|
12827
|
+
[`boxShadow-${COMP$1h}`]: "inset 0 0 0 1px rgba(4,32,69,0.1)",
|
|
12828
|
+
[`textColor-${COMP$1h}`]: "$textColor-secondary",
|
|
12829
|
+
[`fontWeight-${COMP$1h}`]: "$fontWeight-bold",
|
|
12830
|
+
[`border-${COMP$1h}`]: "0px solid $color-surface-400A80",
|
|
12831
|
+
[`backgroundColor-${COMP$1h}`]: "$color-surface-100"
|
|
12785
12832
|
}
|
|
12786
12833
|
});
|
|
12787
12834
|
const avatarComponentRenderer = createComponentRenderer(
|
|
12788
|
-
COMP$
|
|
12835
|
+
COMP$1h,
|
|
12789
12836
|
AvatarMd,
|
|
12790
12837
|
({ node, extractValue, lookupEventHandler, className, extractResourceUrl }) => {
|
|
12791
12838
|
var _a2;
|
|
@@ -12838,7 +12885,7 @@ const ContentSeparator = forwardRef(
|
|
|
12838
12885
|
);
|
|
12839
12886
|
}
|
|
12840
12887
|
);
|
|
12841
|
-
const COMP$
|
|
12888
|
+
const COMP$1g = "ContentSeparator";
|
|
12842
12889
|
const ContentSeparatorMd = createMetadata({
|
|
12843
12890
|
status: "stable",
|
|
12844
12891
|
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.",
|
|
@@ -12856,8 +12903,8 @@ const ContentSeparatorMd = createMetadata({
|
|
|
12856
12903
|
},
|
|
12857
12904
|
themeVars: parseScssVar(styles$Y.themeVars),
|
|
12858
12905
|
defaultThemeVars: {
|
|
12859
|
-
[`backgroundColor-${COMP$
|
|
12860
|
-
[`size-${COMP$
|
|
12906
|
+
[`backgroundColor-${COMP$1g}`]: "$color-surface-200",
|
|
12907
|
+
[`size-${COMP$1g}`]: "1px",
|
|
12861
12908
|
light: {
|
|
12862
12909
|
// --- No light-specific theme vars
|
|
12863
12910
|
},
|
|
@@ -12867,7 +12914,7 @@ const ContentSeparatorMd = createMetadata({
|
|
|
12867
12914
|
}
|
|
12868
12915
|
});
|
|
12869
12916
|
const contentSeparatorComponentRenderer = createComponentRenderer(
|
|
12870
|
-
COMP$
|
|
12917
|
+
COMP$1g,
|
|
12871
12918
|
ContentSeparatorMd,
|
|
12872
12919
|
({ node, className, extractValue }) => {
|
|
12873
12920
|
return /* @__PURE__ */ jsx(
|
|
@@ -12947,13 +12994,13 @@ const Card = forwardRef(function Card2({
|
|
|
12947
12994
|
}
|
|
12948
12995
|
);
|
|
12949
12996
|
});
|
|
12950
|
-
const COMP$
|
|
12997
|
+
const COMP$1f = "Card";
|
|
12951
12998
|
const CardMd = createMetadata({
|
|
12952
12999
|
status: "stable",
|
|
12953
13000
|
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.",
|
|
12954
13001
|
props: {
|
|
12955
13002
|
avatarUrl: {
|
|
12956
|
-
description: `The url for an avarar image. If not specified, but [\`showAvatar\`](#showAvatar) is true, ${COMP$
|
|
13003
|
+
description: `The url for an avarar image. If not specified, but [\`showAvatar\`](#showAvatar) is true, ${COMP$1f} will show the first letters of the [\`title\`](#title).`,
|
|
12957
13004
|
type: "string"
|
|
12958
13005
|
},
|
|
12959
13006
|
showAvatar: {
|
|
@@ -12979,33 +13026,33 @@ const CardMd = createMetadata({
|
|
|
12979
13026
|
valueType: "string"
|
|
12980
13027
|
},
|
|
12981
13028
|
orientation: {
|
|
12982
|
-
description: `An optional property that governs the ${COMP$
|
|
13029
|
+
description: `An optional property that governs the ${COMP$1f}'s orientation (whether the ${COMP$1f} lays out its children in a row or a column). If the orientation is set to \`horizontal\`, the ${COMP$1f} will display its children in a row, except for its [\`title\`](#title) and [\`subtitle\`](#subtitle).`,
|
|
12983
13030
|
availableValues: orientationOptionMd,
|
|
12984
13031
|
valueType: "string",
|
|
12985
13032
|
defaultValue: defaultProps$U.orientation
|
|
12986
13033
|
}
|
|
12987
13034
|
},
|
|
12988
13035
|
events: {
|
|
12989
|
-
click: dClick(COMP$
|
|
13036
|
+
click: dClick(COMP$1f)
|
|
12990
13037
|
},
|
|
12991
13038
|
themeVars: parseScssVar(styles$X.themeVars),
|
|
12992
13039
|
defaultThemeVars: {
|
|
12993
|
-
[`padding-${COMP$
|
|
12994
|
-
[`border-${COMP$
|
|
12995
|
-
[`borderRadius-${COMP$
|
|
12996
|
-
[`boxShadow-${COMP$
|
|
12997
|
-
[`backgroundColor-${COMP$
|
|
12998
|
-
[`gap-${COMP$
|
|
12999
|
-
[`gap-title-${COMP$
|
|
13000
|
-
[`gap-avatar-${COMP$
|
|
13001
|
-
[`verticalAlignment-title-${COMP$
|
|
13040
|
+
[`padding-${COMP$1f}`]: "$space-4",
|
|
13041
|
+
[`border-${COMP$1f}`]: "1px solid $borderColor",
|
|
13042
|
+
[`borderRadius-${COMP$1f}`]: "$borderRadius",
|
|
13043
|
+
[`boxShadow-${COMP$1f}`]: "none",
|
|
13044
|
+
[`backgroundColor-${COMP$1f}`]: "$color-surface-raised",
|
|
13045
|
+
[`gap-${COMP$1f}`]: "var(--stack-gap-default)",
|
|
13046
|
+
[`gap-title-${COMP$1f}`]: "$gap-none",
|
|
13047
|
+
[`gap-avatar-${COMP$1f}`]: "$gap-normal",
|
|
13048
|
+
[`verticalAlignment-title-${COMP$1f}`]: "center"
|
|
13002
13049
|
},
|
|
13003
13050
|
themeVarDescriptions: {
|
|
13004
|
-
[`gap-${COMP$
|
|
13005
|
-
[`gap-title-${COMP$
|
|
13006
|
-
[`gap-avatar-${COMP$
|
|
13007
|
-
[`horizontalAlignment-title-${COMP$
|
|
13008
|
-
[`verticalAlignment-title-${COMP$
|
|
13051
|
+
[`gap-${COMP$1f}`]: "The gap between the component's children.",
|
|
13052
|
+
[`gap-title-${COMP$1f}`]: "The gap between the title and the subtitle",
|
|
13053
|
+
[`gap-avatar-${COMP$1f}`]: "The gap between the avatar and the title panel",
|
|
13054
|
+
[`horizontalAlignment-title-${COMP$1f}`]: "The horizontal alignment of panel with the title and subtitle",
|
|
13055
|
+
[`verticalAlignment-title-${COMP$1f}`]: "The vertical alignment of the title and subtitle to the avatar"
|
|
13009
13056
|
}
|
|
13010
13057
|
});
|
|
13011
13058
|
const cardComponentRenderer = createComponentRenderer(
|
|
@@ -13176,13 +13223,13 @@ const FlowLayout = forwardRef(function FlowLayout2({ style: style2, className, c
|
|
|
13176
13223
|
}, [_columnGap, _rowGap]);
|
|
13177
13224
|
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 }) }) }) });
|
|
13178
13225
|
});
|
|
13179
|
-
const COMP$
|
|
13226
|
+
const COMP$1e = "FlowLayout";
|
|
13180
13227
|
const FlowLayoutMd = createMetadata({
|
|
13181
13228
|
status: "stable",
|
|
13182
13229
|
description: "`FlowLayout` positions content in rows with automatic wrapping. When items exceed the available horizontal space, they automatically wrap to a new line.",
|
|
13183
13230
|
props: {
|
|
13184
13231
|
gap: {
|
|
13185
|
-
description: `This property defines the gap between items in the same row and between rows. The ${COMP$
|
|
13232
|
+
description: `This property defines the gap between items in the same row and between rows. The ${COMP$1e} component creates a new row when an item is about to overflow the current row.`,
|
|
13186
13233
|
type: "string",
|
|
13187
13234
|
defaultValue: "$gap-normal"
|
|
13188
13235
|
},
|
|
@@ -13191,14 +13238,14 @@ const FlowLayoutMd = createMetadata({
|
|
|
13191
13238
|
defaultValue: defaultProps$T.columnGap
|
|
13192
13239
|
},
|
|
13193
13240
|
rowGap: {
|
|
13194
|
-
description: `The \`rowGap\` property specifies the space between the ${COMP$
|
|
13241
|
+
description: `The \`rowGap\` property specifies the space between the ${COMP$1e} rows; it overrides the \`gap\` value.`,
|
|
13195
13242
|
defaultValue: defaultProps$T.rowGap
|
|
13196
13243
|
}
|
|
13197
13244
|
},
|
|
13198
13245
|
themeVars: parseScssVar(styles$W.themeVars)
|
|
13199
13246
|
});
|
|
13200
13247
|
const flowLayoutComponentRenderer = createComponentRenderer(
|
|
13201
|
-
COMP$
|
|
13248
|
+
COMP$1e,
|
|
13202
13249
|
FlowLayoutMd,
|
|
13203
13250
|
({ node, renderChild: renderChild2, className, extractValue }) => {
|
|
13204
13251
|
var _a2, _b, _c, _d;
|
|
@@ -13234,14 +13281,14 @@ const flowLayoutComponentRenderer = createComponentRenderer(
|
|
|
13234
13281
|
}
|
|
13235
13282
|
);
|
|
13236
13283
|
const themeVars$z = `'{"padding-ModalDialog": "var(--xmlui-padding-ModalDialog)", "paddingHorizontal-ModalDialog": "var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingVertical-ModalDialog": "var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog))", "paddingLeft-ModalDialog": "var(--xmlui-paddingLeft-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingRight-ModalDialog": "var(--xmlui-paddingRight-ModalDialog, var(--xmlui-paddingHorizontal-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingTop-ModalDialog": "var(--xmlui-paddingTop-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "paddingBottom-ModalDialog": "var(--xmlui-paddingBottom-ModalDialog, var(--xmlui-paddingVertical-ModalDialog, var(--xmlui-padding-ModalDialog)))", "padding-overlay-ModalDialog": "var(--xmlui-padding-overlay-ModalDialog)", "paddingHorizontal-overlay-ModalDialog": "var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingVertical-overlay-ModalDialog": "var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog))", "paddingLeft-overlay-ModalDialog": "var(--xmlui-paddingLeft-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingRight-overlay-ModalDialog": "var(--xmlui-paddingRight-overlay-ModalDialog, var(--xmlui-paddingHorizontal-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingTop-overlay-ModalDialog": "var(--xmlui-paddingTop-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "paddingBottom-overlay-ModalDialog": "var(--xmlui-paddingBottom-overlay-ModalDialog, var(--xmlui-paddingVertical-overlay-ModalDialog, var(--xmlui-padding-overlay-ModalDialog)))", "Dialog:backgroundColor-ModalDialog": "var(--xmlui-backgroundColor-ModalDialog)", "Dialog:backgroundColor-overlay-ModalDialog": "var(--xmlui-backgroundColor-overlay-ModalDialog)", "Dialog:borderRadius-ModalDialog": "var(--xmlui-borderRadius-ModalDialog)", "Dialog:fontFamily-ModalDialog": "var(--xmlui-fontFamily-ModalDialog)", "Dialog:textColor-ModalDialog": "var(--xmlui-textColor-ModalDialog)", "Dialog:minWidth-ModalDialog": "var(--xmlui-minWidth-ModalDialog)", "Dialog:maxWidth-ModalDialog": "var(--xmlui-maxWidth-ModalDialog)", "Dialog:marginBottom-title-ModalDialog": "var(--xmlui-marginBottom-title-ModalDialog)"}'`;
|
|
13237
|
-
const overlay$2 = "
|
|
13238
|
-
const fullScreen = "
|
|
13239
|
-
const content$5 = "
|
|
13240
|
-
const overlayBg$1 = "
|
|
13241
|
-
const nested = "
|
|
13242
|
-
const dialogTitle = "
|
|
13243
|
-
const innerContent = "
|
|
13244
|
-
const closeButton = "
|
|
13284
|
+
const overlay$2 = "_overlay_r7ppn_14";
|
|
13285
|
+
const fullScreen = "_fullScreen_r7ppn_22";
|
|
13286
|
+
const content$5 = "_content_r7ppn_28";
|
|
13287
|
+
const overlayBg$1 = "_overlayBg_r7ppn_37";
|
|
13288
|
+
const nested = "_nested_r7ppn_43";
|
|
13289
|
+
const dialogTitle = "_dialogTitle_r7ppn_78";
|
|
13290
|
+
const innerContent = "_innerContent_r7ppn_83";
|
|
13291
|
+
const closeButton = "_closeButton_r7ppn_108";
|
|
13245
13292
|
const styles$V = {
|
|
13246
13293
|
themeVars: themeVars$z,
|
|
13247
13294
|
overlay: overlay$2,
|
|
@@ -13461,7 +13508,7 @@ const ModalDialog = React__default.forwardRef(
|
|
|
13461
13508
|
}
|
|
13462
13509
|
);
|
|
13463
13510
|
ModalDialog.displayName = "ModalDialog";
|
|
13464
|
-
const COMP$
|
|
13511
|
+
const COMP$1d = "ModalDialog";
|
|
13465
13512
|
const ModalDialogMd = createMetadata({
|
|
13466
13513
|
status: "stable",
|
|
13467
13514
|
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.",
|
|
@@ -13488,15 +13535,15 @@ const ModalDialogMd = createMetadata({
|
|
|
13488
13535
|
},
|
|
13489
13536
|
events: {
|
|
13490
13537
|
open: d(
|
|
13491
|
-
`This event is fired when the \`${COMP$
|
|
13538
|
+
`This event is fired when the \`${COMP$1d}\` is opened either via a \`when\` or an imperative API call (\`open()\`).`
|
|
13492
13539
|
),
|
|
13493
13540
|
close: d(
|
|
13494
|
-
`This event is fired when the close button is pressed or the user clicks outside the \`${COMP$
|
|
13541
|
+
`This event is fired when the close button is pressed or the user clicks outside the \`${COMP$1d}\`.`
|
|
13495
13542
|
)
|
|
13496
13543
|
},
|
|
13497
13544
|
apis: {
|
|
13498
13545
|
close: {
|
|
13499
|
-
description: `This method is used to close the \`${COMP$
|
|
13546
|
+
description: `This method is used to close the \`${COMP$1d}\`. Invoke it using \`modalId.close()\` where \`modalId\` refers to a \`ModalDialog\` component.`,
|
|
13500
13547
|
signature: "close(): void"
|
|
13501
13548
|
},
|
|
13502
13549
|
open: {
|
|
@@ -13515,18 +13562,18 @@ const ModalDialogMd = createMetadata({
|
|
|
13515
13562
|
},
|
|
13516
13563
|
themeVars: parseScssVar(styles$V.themeVars),
|
|
13517
13564
|
defaultThemeVars: {
|
|
13518
|
-
...paddingSubject(COMP$
|
|
13519
|
-
[`backgroundColor-${COMP$
|
|
13520
|
-
[`backgroundColor-overlay-${COMP$
|
|
13521
|
-
[`textColor-${COMP$
|
|
13522
|
-
[`borderRadius-${COMP$
|
|
13523
|
-
[`fontFamily-${COMP$
|
|
13524
|
-
[`maxWidth-${COMP$
|
|
13525
|
-
[`marginBottom-title-${COMP$
|
|
13565
|
+
...paddingSubject(COMP$1d, { all: "$space-7" }),
|
|
13566
|
+
[`backgroundColor-${COMP$1d}`]: "$backgroundColor-primary",
|
|
13567
|
+
[`backgroundColor-overlay-${COMP$1d}`]: "$backgroundColor-overlay",
|
|
13568
|
+
[`textColor-${COMP$1d}`]: "$textColor-primary",
|
|
13569
|
+
[`borderRadius-${COMP$1d}`]: "$borderRadius",
|
|
13570
|
+
[`fontFamily-${COMP$1d}`]: "$fontFamily",
|
|
13571
|
+
[`maxWidth-${COMP$1d}`]: "450px",
|
|
13572
|
+
[`marginBottom-title-${COMP$1d}`]: "0"
|
|
13526
13573
|
}
|
|
13527
13574
|
});
|
|
13528
13575
|
const modalViewComponentRenderer = createComponentRenderer(
|
|
13529
|
-
COMP$
|
|
13576
|
+
COMP$1d,
|
|
13530
13577
|
ModalDialogMd,
|
|
13531
13578
|
({
|
|
13532
13579
|
node,
|
|
@@ -13606,7 +13653,7 @@ const NoResult = forwardRef(function NoResult2({
|
|
|
13606
13653
|
}
|
|
13607
13654
|
);
|
|
13608
13655
|
});
|
|
13609
|
-
const COMP$
|
|
13656
|
+
const COMP$1c = "NoResult";
|
|
13610
13657
|
const NoResultMd = createMetadata({
|
|
13611
13658
|
status: "stable",
|
|
13612
13659
|
description: "`NoResult` displays a visual indication that a query or search returned nothing.",
|
|
@@ -13625,10 +13672,10 @@ const NoResultMd = createMetadata({
|
|
|
13625
13672
|
},
|
|
13626
13673
|
themeVars: parseScssVar(styles$U.themeVars),
|
|
13627
13674
|
defaultThemeVars: {
|
|
13628
|
-
[`border-${COMP$
|
|
13629
|
-
[`paddingVertical-${COMP$
|
|
13630
|
-
[`gap-icon-${COMP$
|
|
13631
|
-
[`size-icon-${COMP$
|
|
13675
|
+
[`border-${COMP$1c}`]: "0px solid $borderColor",
|
|
13676
|
+
[`paddingVertical-${COMP$1c}`]: "$space-2",
|
|
13677
|
+
[`gap-icon-${COMP$1c}`]: "$space-2",
|
|
13678
|
+
[`size-icon-${COMP$1c}`]: "$space-8",
|
|
13632
13679
|
light: {
|
|
13633
13680
|
// --- No light-specific theme vars
|
|
13634
13681
|
},
|
|
@@ -13638,7 +13685,7 @@ const NoResultMd = createMetadata({
|
|
|
13638
13685
|
}
|
|
13639
13686
|
});
|
|
13640
13687
|
const noResultComponentRenderer = createComponentRenderer(
|
|
13641
|
-
COMP$
|
|
13688
|
+
COMP$1c,
|
|
13642
13689
|
NoResultMd,
|
|
13643
13690
|
({ node, extractValue, className }) => {
|
|
13644
13691
|
return /* @__PURE__ */ jsx(
|
|
@@ -13760,7 +13807,7 @@ const FileUploadDropZone = forwardRef(function FileUploadDropZone2({
|
|
|
13760
13807
|
] })
|
|
13761
13808
|
] });
|
|
13762
13809
|
});
|
|
13763
|
-
const COMP$
|
|
13810
|
+
const COMP$1b = "FileUploadDropZone";
|
|
13764
13811
|
const FileUploadDropZoneMd = createMetadata({
|
|
13765
13812
|
status: "stable",
|
|
13766
13813
|
description: "`FileUploadDropZone` enables users to upload files by dragging and dropping files from their local file system onto a designated area within the UI.",
|
|
@@ -13804,7 +13851,7 @@ const FileUploadDropZoneMd = createMetadata({
|
|
|
13804
13851
|
}
|
|
13805
13852
|
});
|
|
13806
13853
|
const fileUploadDropZoneComponentRenderer = createComponentRenderer(
|
|
13807
|
-
COMP$
|
|
13854
|
+
COMP$1b,
|
|
13808
13855
|
FileUploadDropZoneMd,
|
|
13809
13856
|
({ node, extractValue, updateState, renderChild: renderChild2, lookupEventHandler, registerComponentApi, className }) => {
|
|
13810
13857
|
return /* @__PURE__ */ jsx(
|
|
@@ -13825,7 +13872,7 @@ const fileUploadDropZoneComponentRenderer = createComponentRenderer(
|
|
|
13825
13872
|
);
|
|
13826
13873
|
}
|
|
13827
13874
|
);
|
|
13828
|
-
const COMP$
|
|
13875
|
+
const COMP$1a = "Icon";
|
|
13829
13876
|
const IconMd = createMetadata({
|
|
13830
13877
|
status: "stable",
|
|
13831
13878
|
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.",
|
|
@@ -13834,7 +13881,7 @@ const IconMd = createMetadata({
|
|
|
13834
13881
|
"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."
|
|
13835
13882
|
),
|
|
13836
13883
|
size: {
|
|
13837
|
-
description: `This property defines the size of the \`${COMP$
|
|
13884
|
+
description: `This property defines the size of the \`${COMP$1a}\`. 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\`.`,
|
|
13838
13885
|
availableValues: ["xs", "sm", "md", "lg"]
|
|
13839
13886
|
},
|
|
13840
13887
|
fallback: d(
|
|
@@ -13846,11 +13893,11 @@ const IconMd = createMetadata({
|
|
|
13846
13893
|
},
|
|
13847
13894
|
themeVars: parseScssVar(styles$1f.themeVars),
|
|
13848
13895
|
defaultThemeVars: {
|
|
13849
|
-
[`size-${COMP$
|
|
13896
|
+
[`size-${COMP$1a}`]: "1.25em"
|
|
13850
13897
|
}
|
|
13851
13898
|
});
|
|
13852
13899
|
const iconComponentRenderer = createComponentRenderer(
|
|
13853
|
-
COMP$
|
|
13900
|
+
COMP$1a,
|
|
13854
13901
|
IconMd,
|
|
13855
13902
|
({ node, extractValue, className, lookupEventHandler }) => {
|
|
13856
13903
|
return /* @__PURE__ */ jsx(
|
|
@@ -13922,7 +13969,7 @@ const IFrame = memo(forwardRef(function IFrame2({
|
|
|
13922
13969
|
}
|
|
13923
13970
|
);
|
|
13924
13971
|
}));
|
|
13925
|
-
const COMP$
|
|
13972
|
+
const COMP$19 = "IFrame";
|
|
13926
13973
|
const IFrameMd = createMetadata({
|
|
13927
13974
|
status: "stable",
|
|
13928
13975
|
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.",
|
|
@@ -13959,7 +14006,7 @@ const IFrameMd = createMetadata({
|
|
|
13959
14006
|
},
|
|
13960
14007
|
events: {
|
|
13961
14008
|
load: {
|
|
13962
|
-
description: `This event is triggered when the ${COMP$
|
|
14009
|
+
description: `This event is triggered when the ${COMP$19} content has finished loading.`
|
|
13963
14010
|
}
|
|
13964
14011
|
},
|
|
13965
14012
|
apis: {
|
|
@@ -13982,14 +14029,14 @@ const IFrameMd = createMetadata({
|
|
|
13982
14029
|
},
|
|
13983
14030
|
themeVars: parseScssVar(styles$S.themeVars),
|
|
13984
14031
|
defaultThemeVars: {
|
|
13985
|
-
[`width-${COMP$
|
|
13986
|
-
[`height-${COMP$
|
|
13987
|
-
[`borderRadius-${COMP$
|
|
13988
|
-
[`border-${COMP$
|
|
14032
|
+
[`width-${COMP$19}`]: "100%",
|
|
14033
|
+
[`height-${COMP$19}`]: "300px",
|
|
14034
|
+
[`borderRadius-${COMP$19}`]: "$borderRadius",
|
|
14035
|
+
[`border-${COMP$19}`]: "1px solid $borderColor"
|
|
13989
14036
|
}
|
|
13990
14037
|
});
|
|
13991
14038
|
const iframeComponentRenderer = createComponentRenderer(
|
|
13992
|
-
COMP$
|
|
14039
|
+
COMP$19,
|
|
13993
14040
|
IFrameMd,
|
|
13994
14041
|
({ node, extractValue, className, extractResourceUrl, lookupEventHandler, registerComponentApi }) => {
|
|
13995
14042
|
return /* @__PURE__ */ jsx(
|
|
@@ -14037,7 +14084,7 @@ function Items({ items, renderItem, reverse: reverse2 = defaultProps$P.reverse }
|
|
|
14037
14084
|
) }, index);
|
|
14038
14085
|
}) });
|
|
14039
14086
|
}
|
|
14040
|
-
const COMP$
|
|
14087
|
+
const COMP$18 = "Items";
|
|
14041
14088
|
const ItemsMd = createMetadata({
|
|
14042
14089
|
status: "stable",
|
|
14043
14090
|
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.",
|
|
@@ -14064,7 +14111,7 @@ const ItemsMd = createMetadata({
|
|
|
14064
14111
|
},
|
|
14065
14112
|
opaque: true
|
|
14066
14113
|
});
|
|
14067
|
-
const itemsComponentRenderer = createComponentRenderer(COMP$
|
|
14114
|
+
const itemsComponentRenderer = createComponentRenderer(COMP$18, ItemsMd, (rendererContext) => {
|
|
14068
14115
|
const { node, renderChild: renderChild2, extractValue, layoutContext } = rendererContext;
|
|
14069
14116
|
return /* @__PURE__ */ jsx(
|
|
14070
14117
|
Items,
|
|
@@ -14086,10 +14133,10 @@ const itemsComponentRenderer = createComponentRenderer(COMP$19, ItemsMd, (render
|
|
|
14086
14133
|
}
|
|
14087
14134
|
);
|
|
14088
14135
|
});
|
|
14089
|
-
const COMP$
|
|
14136
|
+
const COMP$17 = "SelectionStore";
|
|
14090
14137
|
const SelectionStoreMd = createMetadata({
|
|
14091
14138
|
status: "deprecated",
|
|
14092
|
-
description: `The \`${COMP$
|
|
14139
|
+
description: `The \`${COMP$17}\` is a non-visual component that may wrap components (items) and manage their selection state to accommodate the usage of other actions.`,
|
|
14093
14140
|
props: {
|
|
14094
14141
|
idKey: {
|
|
14095
14142
|
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"\`.`,
|
|
@@ -14098,7 +14145,7 @@ const SelectionStoreMd = createMetadata({
|
|
|
14098
14145
|
}
|
|
14099
14146
|
});
|
|
14100
14147
|
const selectionStoreComponentRenderer = createComponentRenderer(
|
|
14101
|
-
COMP$
|
|
14148
|
+
COMP$17,
|
|
14102
14149
|
SelectionStoreMd,
|
|
14103
14150
|
(rendererContext) => {
|
|
14104
14151
|
const { node, state, updateState, renderChild: renderChild2, registerComponentApi } = rendererContext;
|
|
@@ -14114,7 +14161,7 @@ const selectionStoreComponentRenderer = createComponentRenderer(
|
|
|
14114
14161
|
);
|
|
14115
14162
|
}
|
|
14116
14163
|
);
|
|
14117
|
-
const COMP$
|
|
14164
|
+
const COMP$16 = "Image";
|
|
14118
14165
|
const ImageMd = createMetadata({
|
|
14119
14166
|
status: "stable",
|
|
14120
14167
|
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.",
|
|
@@ -14122,6 +14169,9 @@ const ImageMd = createMetadata({
|
|
|
14122
14169
|
src: d(
|
|
14123
14170
|
"This property is used to indicate the source (path) of the image to display. When not defined, no image is displayed."
|
|
14124
14171
|
),
|
|
14172
|
+
data: d(
|
|
14173
|
+
`This property contains the binary data that represents the image.`
|
|
14174
|
+
),
|
|
14125
14175
|
alt: d(`This optional property specifies an alternate text for the image.`),
|
|
14126
14176
|
fit: {
|
|
14127
14177
|
description: "This property sets how the image content should be resized to fit its container.",
|
|
@@ -14144,18 +14194,19 @@ const ImageMd = createMetadata({
|
|
|
14144
14194
|
animation: dInternal(`The optional animation object to be applied to the component`)
|
|
14145
14195
|
},
|
|
14146
14196
|
events: {
|
|
14147
|
-
click: dClick(COMP$
|
|
14197
|
+
click: dClick(COMP$16)
|
|
14148
14198
|
},
|
|
14149
14199
|
themeVars: parseScssVar(styles$1a.themeVars)
|
|
14150
14200
|
});
|
|
14151
14201
|
const imageComponentRenderer = createComponentRenderer(
|
|
14152
|
-
COMP$
|
|
14202
|
+
COMP$16,
|
|
14153
14203
|
ImageMd,
|
|
14154
14204
|
({ node, extractValue, className, extractResourceUrl }) => {
|
|
14155
14205
|
return /* @__PURE__ */ jsx(
|
|
14156
14206
|
Image,
|
|
14157
14207
|
{
|
|
14158
|
-
src: extractResourceUrl(node.props.src),
|
|
14208
|
+
src: node.props.src ? extractResourceUrl(node.props.src) : void 0,
|
|
14209
|
+
imageData: extractValue(node.props.data),
|
|
14159
14210
|
alt: extractValue(node.props.alt),
|
|
14160
14211
|
fit: extractValue(node.props.fit),
|
|
14161
14212
|
lazyLoad: extractValue.asOptionalBoolean(node.props.lazyLoad),
|
|
@@ -14173,7 +14224,7 @@ const defaultProps$O = {
|
|
|
14173
14224
|
const PageMetaTitle = ({ title: title2 = defaultProps$O.title }) => {
|
|
14174
14225
|
return /* @__PURE__ */ jsx(Helmet, { title: title2 });
|
|
14175
14226
|
};
|
|
14176
|
-
const COMP$
|
|
14227
|
+
const COMP$15 = "PageMetaTitle";
|
|
14177
14228
|
const PageMetaTitleMd = createMetadata({
|
|
14178
14229
|
status: "stable",
|
|
14179
14230
|
description: "`PageMetaTitle` dynamically sets or updates the browser tab title, enabling pages and components to override the default application name with context-specific titles.",
|
|
@@ -14185,7 +14236,7 @@ const PageMetaTitleMd = createMetadata({
|
|
|
14185
14236
|
}
|
|
14186
14237
|
});
|
|
14187
14238
|
const pageMetaTitleComponentRenderer = createComponentRenderer(
|
|
14188
|
-
COMP$
|
|
14239
|
+
COMP$15,
|
|
14189
14240
|
PageMetaTitleMd,
|
|
14190
14241
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
14191
14242
|
return /* @__PURE__ */ jsx(PageMetaTitle, { title: extractValue(node.props.value) || renderChild2(node.children) });
|
|
@@ -14224,7 +14275,7 @@ const ProgressBar = forwardRef(function ProgressBar2({ value = defaultProps$N.va
|
|
|
14224
14275
|
}
|
|
14225
14276
|
);
|
|
14226
14277
|
});
|
|
14227
|
-
const COMP$
|
|
14278
|
+
const COMP$14 = "ProgressBar";
|
|
14228
14279
|
const ProgressBarMd = createMetadata({
|
|
14229
14280
|
status: "stable",
|
|
14230
14281
|
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).",
|
|
@@ -14237,15 +14288,15 @@ const ProgressBarMd = createMetadata({
|
|
|
14237
14288
|
},
|
|
14238
14289
|
themeVars: parseScssVar(styles$R.themeVars),
|
|
14239
14290
|
defaultThemeVars: {
|
|
14240
|
-
[`borderRadius-${COMP$
|
|
14241
|
-
[`borderRadius-indicator-${COMP$
|
|
14242
|
-
[`thickness-${COMP$
|
|
14243
|
-
[`backgroundColor-${COMP$
|
|
14244
|
-
[`color-indicator-${COMP$
|
|
14291
|
+
[`borderRadius-${COMP$14}`]: "$borderRadius",
|
|
14292
|
+
[`borderRadius-indicator-${COMP$14}`]: "0px",
|
|
14293
|
+
[`thickness-${COMP$14}`]: "$space-2",
|
|
14294
|
+
[`backgroundColor-${COMP$14}`]: "$color-surface-200",
|
|
14295
|
+
[`color-indicator-${COMP$14}`]: "$color-primary-500"
|
|
14245
14296
|
}
|
|
14246
14297
|
});
|
|
14247
14298
|
const progressBarComponentRenderer = createComponentRenderer(
|
|
14248
|
-
COMP$
|
|
14299
|
+
COMP$14,
|
|
14249
14300
|
ProgressBarMd,
|
|
14250
14301
|
({ node, extractValue, className }) => {
|
|
14251
14302
|
return /* @__PURE__ */ jsx(
|
|
@@ -14474,13 +14525,13 @@ const Splitter = ({
|
|
|
14474
14525
|
}
|
|
14475
14526
|
);
|
|
14476
14527
|
};
|
|
14477
|
-
const COMP$
|
|
14528
|
+
const COMP$13 = "Splitter";
|
|
14478
14529
|
const baseSplitterMd = createMetadata({
|
|
14479
14530
|
status: "stable",
|
|
14480
14531
|
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.",
|
|
14481
14532
|
props: {
|
|
14482
14533
|
swapped: {
|
|
14483
|
-
description: `This optional booelan property indicates whether the \`${COMP$
|
|
14534
|
+
description: `This optional booelan property indicates whether the \`${COMP$13}\` sections are layed out as primary and secondary (\`false\`) or secondary and primary (\`true\`) from left to right.`,
|
|
14484
14535
|
valueType: "boolean",
|
|
14485
14536
|
defaultValue: defaultProps$M.swapped
|
|
14486
14537
|
},
|
|
@@ -14519,10 +14570,10 @@ const baseSplitterMd = createMetadata({
|
|
|
14519
14570
|
},
|
|
14520
14571
|
themeVars: parseScssVar(styles$Q.themeVars),
|
|
14521
14572
|
defaultThemeVars: {
|
|
14522
|
-
[`backgroundColor-resizer-${COMP$
|
|
14523
|
-
[`thickness-resizer-${COMP$
|
|
14524
|
-
[`cursor-resizer-horizontal-${COMP$
|
|
14525
|
-
[`cursor-resizer-vertical-${COMP$
|
|
14573
|
+
[`backgroundColor-resizer-${COMP$13}`]: "$color-surface-100",
|
|
14574
|
+
[`thickness-resizer-${COMP$13}`]: "5px",
|
|
14575
|
+
[`cursor-resizer-horizontal-${COMP$13}`]: "ew-resize",
|
|
14576
|
+
[`cursor-resizer-vertical-${COMP$13}`]: "ns-resize"
|
|
14526
14577
|
}
|
|
14527
14578
|
});
|
|
14528
14579
|
const SplitterMd = {
|
|
@@ -14531,8 +14582,8 @@ const SplitterMd = {
|
|
|
14531
14582
|
...baseSplitterMd.props
|
|
14532
14583
|
}
|
|
14533
14584
|
};
|
|
14534
|
-
const HSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$
|
|
14535
|
-
const VSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$
|
|
14585
|
+
const HSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$13 };
|
|
14586
|
+
const VSplitterMd = { ...baseSplitterMd, specializedFrom: COMP$13 };
|
|
14536
14587
|
const DEFAULT_ORIENTATION = "vertical";
|
|
14537
14588
|
function renderSplitter({
|
|
14538
14589
|
node,
|
|
@@ -14563,7 +14614,7 @@ function renderSplitter({
|
|
|
14563
14614
|
);
|
|
14564
14615
|
}
|
|
14565
14616
|
const splitterComponentRenderer = createComponentRenderer(
|
|
14566
|
-
COMP$
|
|
14617
|
+
COMP$13,
|
|
14567
14618
|
SplitterMd,
|
|
14568
14619
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
14569
14620
|
return renderSplitter({
|
|
@@ -14930,7 +14981,7 @@ function Queue({
|
|
|
14930
14981
|
}, [doComplete, doSingle, prevQueue, queue]);
|
|
14931
14982
|
return null;
|
|
14932
14983
|
}
|
|
14933
|
-
const COMP$
|
|
14984
|
+
const COMP$12 = "Queue";
|
|
14934
14985
|
const QueueMd = createMetadata({
|
|
14935
14986
|
status: "stable",
|
|
14936
14987
|
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.",
|
|
@@ -15003,7 +15054,7 @@ const QueueMd = createMetadata({
|
|
|
15003
15054
|
}
|
|
15004
15055
|
});
|
|
15005
15056
|
const queueComponentRenderer = createComponentRenderer(
|
|
15006
|
-
COMP$
|
|
15057
|
+
COMP$12,
|
|
15007
15058
|
QueueMd,
|
|
15008
15059
|
({ node, registerComponentApi, lookupEventHandler, renderChild: renderChild2, extractValue }) => {
|
|
15009
15060
|
return /* @__PURE__ */ jsx(
|
|
@@ -15600,7 +15651,7 @@ function MemoizedSection({
|
|
|
15600
15651
|
}
|
|
15601
15652
|
);
|
|
15602
15653
|
}
|
|
15603
|
-
const COMP$
|
|
15654
|
+
const COMP$11 = "List";
|
|
15604
15655
|
const ListMd = createMetadata({
|
|
15605
15656
|
status: "stable",
|
|
15606
15657
|
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.",
|
|
@@ -15615,7 +15666,7 @@ const ListMd = createMetadata({
|
|
|
15615
15666
|
`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.`
|
|
15616
15667
|
),
|
|
15617
15668
|
limit: d(
|
|
15618
|
-
`This property limits the number of items displayed in the \`${COMP$
|
|
15669
|
+
`This property limits the number of items displayed in the \`${COMP$11}\`. If not set, all items are displayed.`
|
|
15619
15670
|
),
|
|
15620
15671
|
scrollAnchor: {
|
|
15621
15672
|
description: `This property pins the scroll position to a specified location of the list. Available values are shown below.`,
|
|
@@ -15630,7 +15681,7 @@ const ListMd = createMetadata({
|
|
|
15630
15681
|
`This optioanl property enables the ordering of list items by specifying an attribute in the data.`
|
|
15631
15682
|
),
|
|
15632
15683
|
availableGroups: d(
|
|
15633
|
-
`This property is an array of group names that the \`${COMP$
|
|
15684
|
+
`This property is an array of group names that the \`${COMP$11}\` will display. If not set, all groups in the data are displayed.`
|
|
15634
15685
|
),
|
|
15635
15686
|
groupHeaderTemplate: dComponent(
|
|
15636
15687
|
`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.`
|
|
@@ -15645,7 +15696,7 @@ const ListMd = createMetadata({
|
|
|
15645
15696
|
`This property defines the template to display when the list is empty.`
|
|
15646
15697
|
),
|
|
15647
15698
|
pageInfo: d(
|
|
15648
|
-
`This property contains the current page information. Setting this property also enures the \`${COMP$
|
|
15699
|
+
`This property contains the current page information. Setting this property also enures the \`${COMP$11}\` uses pagination.`
|
|
15649
15700
|
),
|
|
15650
15701
|
idKey: {
|
|
15651
15702
|
description: "Denotes which attribute of an item acts as the ID or key of the item",
|
|
@@ -15659,7 +15710,7 @@ const ListMd = createMetadata({
|
|
|
15659
15710
|
defaultProps$K.groupsInitiallyExpanded
|
|
15660
15711
|
),
|
|
15661
15712
|
defaultGroups: d(
|
|
15662
|
-
`This property adds an optional list of default groups for the \`${COMP$
|
|
15713
|
+
`This property adds an optional list of default groups for the \`${COMP$11}\` 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.`
|
|
15663
15714
|
),
|
|
15664
15715
|
hideEmptyGroups: {
|
|
15665
15716
|
description: "This boolean property indicates if empty groups should be hidden (no header and footer are displayed).",
|
|
@@ -15707,7 +15758,7 @@ const ListMd = createMetadata({
|
|
|
15707
15758
|
themeVars: parseScssVar(styles$P.themeVars)
|
|
15708
15759
|
});
|
|
15709
15760
|
const dynamicHeightListComponentRenderer = createComponentRenderer(
|
|
15710
|
-
COMP$
|
|
15761
|
+
COMP$11,
|
|
15711
15762
|
ListMd,
|
|
15712
15763
|
({
|
|
15713
15764
|
node,
|
|
@@ -15810,7 +15861,7 @@ function PositionedContainer({
|
|
|
15810
15861
|
}
|
|
15811
15862
|
);
|
|
15812
15863
|
}
|
|
15813
|
-
const COMP$
|
|
15864
|
+
const COMP$10 = "PositionedContainer";
|
|
15814
15865
|
const PositionedContainerMd = createMetadata({
|
|
15815
15866
|
status: "deprecated",
|
|
15816
15867
|
description: "(**OBSOLETE**) This component was created for the ChatEngine app.",
|
|
@@ -15820,7 +15871,7 @@ const PositionedContainerMd = createMetadata({
|
|
|
15820
15871
|
themeVars: parseScssVar(styles$O.themeVars)
|
|
15821
15872
|
});
|
|
15822
15873
|
const positionedContainerComponentRenderer = createComponentRenderer(
|
|
15823
|
-
COMP$
|
|
15874
|
+
COMP$10,
|
|
15824
15875
|
PositionedContainerMd,
|
|
15825
15876
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
15826
15877
|
return /* @__PURE__ */ jsx(
|
|
@@ -15856,7 +15907,7 @@ function ChangeListener({ listenTo, onChange, throttleWaitInMs = defaultProps$J.
|
|
|
15856
15907
|
}, [listenTo, throttledOnChange, prevValue]);
|
|
15857
15908
|
return null;
|
|
15858
15909
|
}
|
|
15859
|
-
const COMP
|
|
15910
|
+
const COMP$$ = "ChangeListener";
|
|
15860
15911
|
const ChangeListenerMd = createMetadata({
|
|
15861
15912
|
status: "stable",
|
|
15862
15913
|
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.",
|
|
@@ -15872,11 +15923,11 @@ const ChangeListenerMd = createMetadata({
|
|
|
15872
15923
|
}
|
|
15873
15924
|
},
|
|
15874
15925
|
events: {
|
|
15875
|
-
didChange: dDidChange(COMP
|
|
15926
|
+
didChange: dDidChange(COMP$$)
|
|
15876
15927
|
}
|
|
15877
15928
|
});
|
|
15878
15929
|
const changeListenerComponentRenderer = createComponentRenderer(
|
|
15879
|
-
COMP
|
|
15930
|
+
COMP$$,
|
|
15880
15931
|
ChangeListenerMd,
|
|
15881
15932
|
({ node, lookupEventHandler, extractValue }) => {
|
|
15882
15933
|
return /* @__PURE__ */ jsx(
|
|
@@ -19466,7 +19517,7 @@ const DatePicker = forwardRef(function DatePicker2({
|
|
|
19466
19517
|
...rest
|
|
19467
19518
|
}, ref) {
|
|
19468
19519
|
const _weekStartsOn = weekStartsOn >= 0 && weekStartsOn <= 6 ? weekStartsOn : 0;
|
|
19469
|
-
const [
|
|
19520
|
+
const [_, setIsMenuFocused] = useState(false);
|
|
19470
19521
|
const [referenceElement, setReferenceElement] = useState(null);
|
|
19471
19522
|
const [inlineMonth, setInlineMonth] = useState();
|
|
19472
19523
|
const generatedId2 = useId();
|
|
@@ -19482,7 +19533,6 @@ const DatePicker = forwardRef(function DatePicker2({
|
|
|
19482
19533
|
}
|
|
19483
19534
|
return void 0;
|
|
19484
19535
|
}, [value, mode]);
|
|
19485
|
-
console.log("sel", selected2);
|
|
19486
19536
|
useEffect(() => {
|
|
19487
19537
|
if (!dateFormats$1.includes(dateFormat)) {
|
|
19488
19538
|
throw new Error(
|
|
@@ -19491,6 +19541,7 @@ const DatePicker = forwardRef(function DatePicker2({
|
|
|
19491
19541
|
}
|
|
19492
19542
|
}, [dateFormat]);
|
|
19493
19543
|
const startDate = useMemo(() => {
|
|
19544
|
+
console.log(minValue, parse(minValue, dateFormat, /* @__PURE__ */ new Date()));
|
|
19494
19545
|
return minValue ? parse(minValue, dateFormat, /* @__PURE__ */ new Date()) : void 0;
|
|
19495
19546
|
}, [minValue, dateFormat]);
|
|
19496
19547
|
const endDate = useMemo(() => {
|
|
@@ -19647,7 +19698,7 @@ const DatePicker = forwardRef(function DatePicker2({
|
|
|
19647
19698
|
setOpen(false);
|
|
19648
19699
|
}
|
|
19649
19700
|
},
|
|
19650
|
-
[onDidChange, updateState, mode, dateFormat]
|
|
19701
|
+
[onDidChange, updateState, mode, dateFormat, readOnly2]
|
|
19651
19702
|
);
|
|
19652
19703
|
return inline ? /* @__PURE__ */ jsx(
|
|
19653
19704
|
ItemWithLabel,
|
|
@@ -20884,17 +20935,17 @@ function AutoCompleteOption(option) {
|
|
|
20884
20935
|
id
|
|
20885
20936
|
);
|
|
20886
20937
|
}
|
|
20887
|
-
const themeVars$j = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor-track-Slider)", "Input:borderRadius-Slider-default": "var(--xmlui-borderRadius-Slider-default)", "Input:borderColor-Slider-default": "var(--xmlui-borderColor-Slider-default)", "Input:borderWidth-Slider-default": "var(--xmlui-borderWidth-Slider-default)", "Input:borderStyle-Slider-default": "var(--xmlui-borderStyle-Slider-default)", "Input:boxShadow-Slider-default": "var(--xmlui-boxShadow-Slider-default)", "Input:borderColor-Slider-default--hover": "var(--xmlui-borderColor-Slider-default--hover)", "Input:boxShadow-Slider-default--hover": "var(--xmlui-boxShadow-Slider-default--hover)", "Input:borderColor-Slider-default--focus": "var(--xmlui-borderColor-Slider-default--focus)", "Input:boxShadow-Slider-default--focus": "var(--xmlui-boxShadow-Slider-default--focus)", "Input:borderRadius-Slider-error": "var(--xmlui-borderRadius-Slider-error)", "Input:borderColor-Slider-error": "var(--xmlui-borderColor-Slider-error)", "Input:borderWidth-Slider-error": "var(--xmlui-borderWidth-Slider-error)", "Input:borderStyle-Slider-error": "var(--xmlui-borderStyle-Slider-error)", "Input:boxShadow-Slider-error": "var(--xmlui-boxShadow-Slider-error)", "Input:borderColor-Slider-error--hover": "var(--xmlui-borderColor-Slider-error--hover)", "Input:boxShadow-Slider-error--hover": "var(--xmlui-boxShadow-Slider-error--hover)", "Input:borderColor-Slider-error--focus": "var(--xmlui-borderColor-Slider-error--focus)", "Input:boxShadow-Slider-error--focus": "var(--xmlui-boxShadow-Slider-error--focus)", "Input:borderRadius-Slider-warning": "var(--xmlui-borderRadius-Slider-warning)", "Input:borderColor-Slider-warning": "var(--xmlui-borderColor-Slider-warning)", "Input:borderWidth-Slider-warning": "var(--xmlui-borderWidth-Slider-warning)", "Input:borderStyle-Slider-warning": "var(--xmlui-borderStyle-Slider-warning)", "Input:boxShadow-Slider-warning": "var(--xmlui-boxShadow-Slider-warning)", "Input:borderColor-Slider-warning--hover": "var(--xmlui-borderColor-Slider-warning--hover)", "Input:boxShadow-Slider-warning--hover": "var(--xmlui-boxShadow-Slider-warning--hover)", "Input:borderColor-Slider-warning--focus": "var(--xmlui-borderColor-Slider-warning--focus)", "Input:boxShadow-Slider-warning--focus": "var(--xmlui-boxShadow-Slider-warning--focus)", "Input:borderRadius-Slider-success": "var(--xmlui-borderRadius-Slider-success)", "Input:borderColor-Slider-success": "var(--xmlui-borderColor-Slider-success)", "Input:borderWidth-Slider-success": "var(--xmlui-borderWidth-Slider-success)", "Input:borderStyle-Slider-success": "var(--xmlui-borderStyle-Slider-success)", "Input:boxShadow-Slider-success": "var(--xmlui-boxShadow-Slider-success)", "Input:borderColor-Slider-success--hover": "var(--xmlui-borderColor-Slider-success--hover)", "Input:boxShadow-Slider-success--hover": "var(--xmlui-boxShadow-Slider-success--hover)", "Input:borderColor-Slider-success--focus": "var(--xmlui-borderColor-Slider-success--focus)", "Input:boxShadow-Slider-success--focus": "var(--xmlui-boxShadow-Slider-success--focus)", "Input:backgroundColor-track-Slider--disabled": "var(--xmlui-backgroundColor-track-Slider--disabled)", "Input:backgroundColor-range-Slider": "var(--xmlui-backgroundColor-range-Slider)", "Input:backgroundColor-range-Slider--disabled": "var(--xmlui-backgroundColor-range-Slider--disabled)", "Input:borderWidth-thumb-Slider": "var(--xmlui-borderWidth-thumb-Slider)", "Input:borderStyle-thumb-Slider": "var(--xmlui-borderStyle-thumb-Slider)", "Input:borderColor-thumb-Slider": "var(--xmlui-borderColor-thumb-Slider)", "Input:backgroundColor-thumb-Slider": "var(--xmlui-backgroundColor-thumb-Slider)", "Input:boxShadow-thumb-Slider": "var(--xmlui-boxShadow-thumb-Slider)", "Input:backgroundColor-thumb-Slider--hover": "var(--xmlui-backgroundColor-thumb-Slider--hover)", "Input:boxShadow-thumb-Slider--hover": "var(--xmlui-boxShadow-thumb-Slider--hover)", "Input:backgroundColor-thumb-Slider--active": "var(--xmlui-backgroundColor-thumb-Slider--active)", "Input:boxShadow-thumb-Slider--active": "var(--xmlui-boxShadow-thumb-Slider--active)"}'`;
|
|
20888
|
-
const sliderContainer = "
|
|
20889
|
-
const sliderRoot = "
|
|
20890
|
-
const sliderTrack = "
|
|
20891
|
-
const error$4 = "
|
|
20892
|
-
const warning$5 = "
|
|
20893
|
-
const valid$4 = "
|
|
20894
|
-
const disabled$3 = "
|
|
20895
|
-
const sliderRange = "
|
|
20896
|
-
const sliderThumb = "
|
|
20897
|
-
const readOnly$2 = "
|
|
20938
|
+
const themeVars$j = `'{"Input:backgroundColor-track-Slider": "var(--xmlui-backgroundColor-track-Slider)", "Input:borderRadius-Slider-default": "var(--xmlui-borderRadius-Slider-default)", "Input:borderColor-Slider-default": "var(--xmlui-borderColor-Slider-default)", "Input:borderWidth-Slider-default": "var(--xmlui-borderWidth-Slider-default)", "Input:borderStyle-Slider-default": "var(--xmlui-borderStyle-Slider-default)", "Input:boxShadow-Slider-default": "var(--xmlui-boxShadow-Slider-default)", "Input:borderColor-Slider-default--hover": "var(--xmlui-borderColor-Slider-default--hover)", "Input:boxShadow-Slider-default--hover": "var(--xmlui-boxShadow-Slider-default--hover)", "Input:borderColor-Slider-default--focus": "var(--xmlui-borderColor-Slider-default--focus)", "Input:boxShadow-Slider-default--focus": "var(--xmlui-boxShadow-Slider-default--focus)", "Input:borderRadius-Slider-error": "var(--xmlui-borderRadius-Slider-error)", "Input:borderColor-Slider-error": "var(--xmlui-borderColor-Slider-error)", "Input:borderWidth-Slider-error": "var(--xmlui-borderWidth-Slider-error)", "Input:borderStyle-Slider-error": "var(--xmlui-borderStyle-Slider-error)", "Input:boxShadow-Slider-error": "var(--xmlui-boxShadow-Slider-error)", "Input:borderColor-Slider-error--hover": "var(--xmlui-borderColor-Slider-error--hover)", "Input:boxShadow-Slider-error--hover": "var(--xmlui-boxShadow-Slider-error--hover)", "Input:borderColor-Slider-error--focus": "var(--xmlui-borderColor-Slider-error--focus)", "Input:boxShadow-Slider-error--focus": "var(--xmlui-boxShadow-Slider-error--focus)", "Input:borderRadius-Slider-warning": "var(--xmlui-borderRadius-Slider-warning)", "Input:borderColor-Slider-warning": "var(--xmlui-borderColor-Slider-warning)", "Input:borderWidth-Slider-warning": "var(--xmlui-borderWidth-Slider-warning)", "Input:borderStyle-Slider-warning": "var(--xmlui-borderStyle-Slider-warning)", "Input:boxShadow-Slider-warning": "var(--xmlui-boxShadow-Slider-warning)", "Input:borderColor-Slider-warning--hover": "var(--xmlui-borderColor-Slider-warning--hover)", "Input:boxShadow-Slider-warning--hover": "var(--xmlui-boxShadow-Slider-warning--hover)", "Input:borderColor-Slider-warning--focus": "var(--xmlui-borderColor-Slider-warning--focus)", "Input:boxShadow-Slider-warning--focus": "var(--xmlui-boxShadow-Slider-warning--focus)", "Input:borderRadius-Slider-success": "var(--xmlui-borderRadius-Slider-success)", "Input:borderColor-Slider-success": "var(--xmlui-borderColor-Slider-success)", "Input:borderWidth-Slider-success": "var(--xmlui-borderWidth-Slider-success)", "Input:borderStyle-Slider-success": "var(--xmlui-borderStyle-Slider-success)", "Input:boxShadow-Slider-success": "var(--xmlui-boxShadow-Slider-success)", "Input:borderColor-Slider-success--hover": "var(--xmlui-borderColor-Slider-success--hover)", "Input:boxShadow-Slider-success--hover": "var(--xmlui-boxShadow-Slider-success--hover)", "Input:borderColor-Slider-success--focus": "var(--xmlui-borderColor-Slider-success--focus)", "Input:boxShadow-Slider-success--focus": "var(--xmlui-boxShadow-Slider-success--focus)", "Input:backgroundColor-track-Slider--disabled": "var(--xmlui-backgroundColor-track-Slider--disabled)", "Input:backgroundColor-range-Slider": "var(--xmlui-backgroundColor-range-Slider)", "Input:backgroundColor-range-Slider--disabled": "var(--xmlui-backgroundColor-range-Slider--disabled)", "Input:borderWidth-thumb-Slider": "var(--xmlui-borderWidth-thumb-Slider)", "Input:borderStyle-thumb-Slider": "var(--xmlui-borderStyle-thumb-Slider)", "Input:borderColor-thumb-Slider": "var(--xmlui-borderColor-thumb-Slider)", "Input:backgroundColor-thumb-Slider": "var(--xmlui-backgroundColor-thumb-Slider)", "Input:boxShadow-thumb-Slider": "var(--xmlui-boxShadow-thumb-Slider)", "Input:backgroundColor-thumb-Slider--focus": "var(--xmlui-backgroundColor-thumb-Slider--focus)", "Input:boxShadow-thumb-Slider--focus": "var(--xmlui-boxShadow-thumb-Slider--focus)", "Input:backgroundColor-thumb-Slider--hover": "var(--xmlui-backgroundColor-thumb-Slider--hover)", "Input:boxShadow-thumb-Slider--hover": "var(--xmlui-boxShadow-thumb-Slider--hover)", "Input:backgroundColor-thumb-Slider--active": "var(--xmlui-backgroundColor-thumb-Slider--active)", "Input:boxShadow-thumb-Slider--active": "var(--xmlui-boxShadow-thumb-Slider--active)"}'`;
|
|
20939
|
+
const sliderContainer = "_sliderContainer_8oyz9_14";
|
|
20940
|
+
const sliderRoot = "_sliderRoot_8oyz9_19";
|
|
20941
|
+
const sliderTrack = "_sliderTrack_8oyz9_28";
|
|
20942
|
+
const error$4 = "_error_8oyz9_50";
|
|
20943
|
+
const warning$5 = "_warning_8oyz9_65";
|
|
20944
|
+
const valid$4 = "_valid_8oyz9_80";
|
|
20945
|
+
const disabled$3 = "_disabled_8oyz9_95";
|
|
20946
|
+
const sliderRange = "_sliderRange_8oyz9_101";
|
|
20947
|
+
const sliderThumb = "_sliderThumb_8oyz9_110";
|
|
20948
|
+
const readOnly$2 = "_readOnly_8oyz9_144";
|
|
20898
20949
|
const styles$D = {
|
|
20899
20950
|
themeVars: themeVars$j,
|
|
20900
20951
|
sliderContainer,
|
|
@@ -21544,8 +21595,8 @@ function xmlUiMarkupToComponent(source, fileId = 0) {
|
|
|
21544
21595
|
return { component: null, errors: errorsForDisplay, erroneousCompoundComponentName };
|
|
21545
21596
|
}
|
|
21546
21597
|
try {
|
|
21547
|
-
const
|
|
21548
|
-
const transformResult = { component, errors: [] };
|
|
21598
|
+
const component2 = nodeToComponentDef(node, getText, fileId);
|
|
21599
|
+
const transformResult = { component: component2, errors: [] };
|
|
21549
21600
|
return transformResult;
|
|
21550
21601
|
} catch (e) {
|
|
21551
21602
|
const erroneousCompoundComponentName = getCompoundCompName(node, getText);
|
|
@@ -22043,7 +22094,7 @@ function ApiInterceptorProvider({
|
|
|
22043
22094
|
return;
|
|
22044
22095
|
}
|
|
22045
22096
|
(async () => {
|
|
22046
|
-
const { initMock } = await import("./initMock-
|
|
22097
|
+
const { initMock } = await import("./initMock-CAXdczCj.mjs");
|
|
22047
22098
|
const apiInstance2 = await initMock(interceptor);
|
|
22048
22099
|
setApiInstance(apiInstance2);
|
|
22049
22100
|
setInitialized(true);
|
|
@@ -22060,7 +22111,7 @@ function ApiInterceptorProvider({
|
|
|
22060
22111
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
22061
22112
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
22062
22113
|
useWorker ? import("./apiInterceptorWorker-DPgtUtdA.mjs") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
22063
|
-
import("./initMock-
|
|
22114
|
+
import("./initMock-CAXdczCj.mjs")
|
|
22064
22115
|
]);
|
|
22065
22116
|
if (interceptor || forceInitialize) {
|
|
22066
22117
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -22097,7 +22148,7 @@ function ApiInterceptorProvider({
|
|
|
22097
22148
|
(async () => {
|
|
22098
22149
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
22099
22150
|
import("./apiInterceptorWorker-DPgtUtdA.mjs"),
|
|
22100
|
-
import("./initMock-
|
|
22151
|
+
import("./initMock-CAXdczCj.mjs")
|
|
22101
22152
|
]);
|
|
22102
22153
|
const apiInstance2 = await initMock(interceptor);
|
|
22103
22154
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -22598,22 +22649,22 @@ function NestedApp({
|
|
|
22598
22649
|
}, []);
|
|
22599
22650
|
useEffect(() => {
|
|
22600
22651
|
var _a2;
|
|
22601
|
-
let { errors, component, erroneousCompoundComponentName } = xmlUiMarkupToComponent(app);
|
|
22652
|
+
let { errors, component: component2, erroneousCompoundComponentName } = xmlUiMarkupToComponent(app);
|
|
22602
22653
|
if (errors.length > 0) {
|
|
22603
|
-
|
|
22654
|
+
component2 = errReportComponent(errors, "Main.xmlui", erroneousCompoundComponentName);
|
|
22604
22655
|
}
|
|
22605
22656
|
const compoundComponents = (components ?? []).map((src) => {
|
|
22606
22657
|
const isErrorReportComponent = typeof src !== "string";
|
|
22607
22658
|
if (isErrorReportComponent) {
|
|
22608
22659
|
return src;
|
|
22609
22660
|
}
|
|
22610
|
-
let { errors: errors2, component:
|
|
22661
|
+
let { errors: errors2, component: component22, erroneousCompoundComponentName: erroneousCompoundComponentName2 } = xmlUiMarkupToComponent(
|
|
22611
22662
|
src
|
|
22612
22663
|
);
|
|
22613
22664
|
if (errors2.length > 0) {
|
|
22614
22665
|
return errReportComponent(errors2, `nested xmlui`, erroneousCompoundComponentName2);
|
|
22615
22666
|
}
|
|
22616
|
-
return
|
|
22667
|
+
return component22;
|
|
22617
22668
|
});
|
|
22618
22669
|
let globalProps = {
|
|
22619
22670
|
name: config == null ? void 0 : config.name,
|
|
@@ -22621,7 +22672,7 @@ function NestedApp({
|
|
|
22621
22672
|
apiUrl
|
|
22622
22673
|
};
|
|
22623
22674
|
(_a2 = contentRootRef.current) == null ? void 0 : _a2.render(
|
|
22624
|
-
/* @__PURE__ */ jsx(ErrorBoundary, { node:
|
|
22675
|
+
/* @__PURE__ */ jsx(ErrorBoundary, { node: component2, children: /* @__PURE__ */ jsx(StyleInjectionTargetContext.Provider, { value: shadowRef.current, children: /* @__PURE__ */ jsx(StyleProvider, { forceNew: true, children: /* @__PURE__ */ jsx(
|
|
22625
22676
|
ApiInterceptorProvider,
|
|
22626
22677
|
{
|
|
22627
22678
|
parentInterceptorContext,
|
|
@@ -22635,7 +22686,7 @@ function NestedApp({
|
|
|
22635
22686
|
previewMode: true,
|
|
22636
22687
|
standalone: true,
|
|
22637
22688
|
trackContainerHeight: height ? "fixed" : "auto",
|
|
22638
|
-
node:
|
|
22689
|
+
node: component2,
|
|
22639
22690
|
globalProps,
|
|
22640
22691
|
defaultTheme: activeTheme || (config == null ? void 0 : config.defaultTheme),
|
|
22641
22692
|
defaultTone: toneToApply,
|
|
@@ -23847,7 +23898,7 @@ function convertTreeDisplayToMarkdown(content2) {
|
|
|
23847
23898
|
`;
|
|
23848
23899
|
}
|
|
23849
23900
|
}
|
|
23850
|
-
const COMP
|
|
23901
|
+
const COMP$_ = "Markdown";
|
|
23851
23902
|
const MarkdownMd = createMetadata({
|
|
23852
23903
|
status: "stable",
|
|
23853
23904
|
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).",
|
|
@@ -23914,7 +23965,7 @@ const MarkdownMd = createMetadata({
|
|
|
23914
23965
|
}
|
|
23915
23966
|
});
|
|
23916
23967
|
const markdownComponentRenderer = createComponentRenderer(
|
|
23917
|
-
COMP
|
|
23968
|
+
COMP$_,
|
|
23918
23969
|
MarkdownMd,
|
|
23919
23970
|
({ node, extractValue, renderChild: renderChild2, className }) => {
|
|
23920
23971
|
let renderedChildren = "";
|
|
@@ -24113,17 +24164,33 @@ const defaultProps$u = {
|
|
|
24113
24164
|
valueFormat: (value) => value.toString(),
|
|
24114
24165
|
minStepsBetweenThumbs: 1
|
|
24115
24166
|
};
|
|
24116
|
-
const
|
|
24167
|
+
const parseValue = (val, defaultVal) => {
|
|
24168
|
+
if (typeof val === "number") {
|
|
24169
|
+
return val;
|
|
24170
|
+
} else if (typeof val === "string") {
|
|
24171
|
+
const parsed = parseFloat(val);
|
|
24172
|
+
if (!isNaN$1(parsed)) {
|
|
24173
|
+
return parsed;
|
|
24174
|
+
}
|
|
24175
|
+
}
|
|
24176
|
+
return defaultVal;
|
|
24177
|
+
};
|
|
24178
|
+
const formatValue = (val, defaultVal = 0, minVal, maxVal) => {
|
|
24179
|
+
const clampValue = (value) => {
|
|
24180
|
+
if (minVal !== void 0 && value < minVal) return minVal;
|
|
24181
|
+
if (maxVal !== void 0 && value > maxVal) return maxVal;
|
|
24182
|
+
return value;
|
|
24183
|
+
};
|
|
24117
24184
|
if (val === void 0) {
|
|
24118
|
-
return [defaultVal];
|
|
24185
|
+
return [clampValue(defaultVal)];
|
|
24119
24186
|
}
|
|
24120
24187
|
if (typeof val === "number") {
|
|
24121
|
-
return [val];
|
|
24188
|
+
return [clampValue(val)];
|
|
24122
24189
|
}
|
|
24123
24190
|
if (Array.isArray(val) && val.length > 0) {
|
|
24124
|
-
return val;
|
|
24191
|
+
return val.map(clampValue);
|
|
24125
24192
|
}
|
|
24126
|
-
return [defaultVal];
|
|
24193
|
+
return [clampValue(defaultVal)];
|
|
24127
24194
|
};
|
|
24128
24195
|
const Slider = forwardRef(
|
|
24129
24196
|
({
|
|
@@ -24163,7 +24230,11 @@ const Slider = forwardRef(
|
|
|
24163
24230
|
const inputRef = useRef(null);
|
|
24164
24231
|
const tooltipRef = useRef(null);
|
|
24165
24232
|
const thumbRef = useRef(null);
|
|
24166
|
-
|
|
24233
|
+
min = parseValue(min, defaultProps$u.min);
|
|
24234
|
+
max = parseValue(max, defaultProps$u.max);
|
|
24235
|
+
const [localValue, setLocalValue] = React__default.useState(
|
|
24236
|
+
() => formatValue(value || initialValue, min, min, max)
|
|
24237
|
+
);
|
|
24167
24238
|
const [showTooltip, setShowTooltip] = React__default.useState(false);
|
|
24168
24239
|
const onShowTooltip = useCallback(() => setShowTooltip(true), []);
|
|
24169
24240
|
const onHideTooltip = useCallback(() => setShowTooltip(false), []);
|
|
@@ -24171,21 +24242,20 @@ const Slider = forwardRef(
|
|
|
24171
24242
|
let initialVal = min;
|
|
24172
24243
|
if (typeof initialValue === "string") {
|
|
24173
24244
|
try {
|
|
24174
|
-
|
|
24245
|
+
const parsed = JSON.parse(initialValue);
|
|
24246
|
+
initialVal = parsed;
|
|
24175
24247
|
} catch (e) {
|
|
24176
24248
|
const num = parseFloat(initialValue);
|
|
24177
|
-
if (!isNaN(num)) {
|
|
24249
|
+
if (!isNaN$1(num)) {
|
|
24178
24250
|
initialVal = num;
|
|
24179
24251
|
}
|
|
24180
24252
|
}
|
|
24181
24253
|
} else if (typeof initialValue === "number") {
|
|
24182
|
-
|
|
24183
|
-
|
|
24184
|
-
|
|
24185
|
-
} else {
|
|
24186
|
-
initialVal = formatValue(initialValue, min);
|
|
24254
|
+
initialVal = initialValue;
|
|
24255
|
+
} else if (initialValue !== void 0) {
|
|
24256
|
+
initialVal = initialValue;
|
|
24187
24257
|
}
|
|
24188
|
-
const formattedValue = formatValue(initialVal, min);
|
|
24258
|
+
const formattedValue = formatValue(initialVal, min, min, max);
|
|
24189
24259
|
setLocalValue(formattedValue);
|
|
24190
24260
|
if (updateState) {
|
|
24191
24261
|
updateState(
|
|
@@ -24198,10 +24268,10 @@ const Slider = forwardRef(
|
|
|
24198
24268
|
}, [initialValue, min, max, updateState]);
|
|
24199
24269
|
useEffect(() => {
|
|
24200
24270
|
if (value !== void 0) {
|
|
24201
|
-
const formattedValue = formatValue(value, min);
|
|
24271
|
+
const formattedValue = formatValue(value, min, min, max);
|
|
24202
24272
|
setLocalValue(formattedValue);
|
|
24203
24273
|
}
|
|
24204
|
-
}, [value, min]);
|
|
24274
|
+
}, [value, min, max]);
|
|
24205
24275
|
const updateValue = useCallback(
|
|
24206
24276
|
(value2) => {
|
|
24207
24277
|
if (updateState) {
|
|
@@ -24213,6 +24283,9 @@ const Slider = forwardRef(
|
|
|
24213
24283
|
);
|
|
24214
24284
|
const onInputChange = useCallback(
|
|
24215
24285
|
(value2) => {
|
|
24286
|
+
if (readOnly2) {
|
|
24287
|
+
return;
|
|
24288
|
+
}
|
|
24216
24289
|
setLocalValue(value2);
|
|
24217
24290
|
if (inputRef.current) {
|
|
24218
24291
|
inputRef.current.value = value2;
|
|
@@ -24223,16 +24296,35 @@ const Slider = forwardRef(
|
|
|
24223
24296
|
updateValue(value2[0]);
|
|
24224
24297
|
}
|
|
24225
24298
|
},
|
|
24226
|
-
[updateValue]
|
|
24299
|
+
[updateValue, readOnly2]
|
|
24300
|
+
);
|
|
24301
|
+
const handleOnFocus = useCallback(
|
|
24302
|
+
(ev) => {
|
|
24303
|
+
var _a2;
|
|
24304
|
+
(_a2 = thumbRef.current) == null ? void 0 : _a2.focus();
|
|
24305
|
+
onFocus == null ? void 0 : onFocus(ev);
|
|
24306
|
+
},
|
|
24307
|
+
[onFocus]
|
|
24308
|
+
);
|
|
24309
|
+
const handleOnBlur = useCallback(
|
|
24310
|
+
(ev) => {
|
|
24311
|
+
var _a2;
|
|
24312
|
+
(_a2 = thumbRef.current) == null ? void 0 : _a2.focus();
|
|
24313
|
+
onBlur == null ? void 0 : onBlur(ev);
|
|
24314
|
+
},
|
|
24315
|
+
[onBlur]
|
|
24227
24316
|
);
|
|
24228
|
-
const handleOnFocus = useCallback((ev) => onFocus == null ? void 0 : onFocus(ev), [onFocus]);
|
|
24229
|
-
const handleOnBlur = useCallback((ev) => onBlur == null ? void 0 : onBlur(ev), [onBlur]);
|
|
24230
24317
|
const focus = useCallback(() => {
|
|
24231
24318
|
var _a2;
|
|
24232
24319
|
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
24233
24320
|
}, []);
|
|
24234
24321
|
const setValue = useEvent((newValue) => {
|
|
24235
|
-
|
|
24322
|
+
if (readOnly2 || !enabled2) {
|
|
24323
|
+
return;
|
|
24324
|
+
}
|
|
24325
|
+
const formattedValue = formatValue(newValue, min, min, max);
|
|
24326
|
+
const valueToUpdate = formattedValue.length === 1 ? formattedValue[0] : formattedValue;
|
|
24327
|
+
updateValue(valueToUpdate);
|
|
24236
24328
|
});
|
|
24237
24329
|
useEffect(() => {
|
|
24238
24330
|
registerComponentApi == null ? void 0 : registerComponentApi({
|
|
@@ -24240,7 +24332,7 @@ const Slider = forwardRef(
|
|
|
24240
24332
|
setValue
|
|
24241
24333
|
});
|
|
24242
24334
|
}, [focus, registerComponentApi, setValue]);
|
|
24243
|
-
const displayValue = localValue.length > 0 ? localValue :
|
|
24335
|
+
const displayValue = localValue.length > 0 ? localValue : formatValue(void 0, min, min, max);
|
|
24244
24336
|
return /* @__PURE__ */ jsx(
|
|
24245
24337
|
ItemWithLabel,
|
|
24246
24338
|
{
|
|
@@ -24281,13 +24373,12 @@ const Slider = forwardRef(
|
|
|
24281
24373
|
onMouseOver: onShowTooltip,
|
|
24282
24374
|
onMouseLeave: onHideTooltip,
|
|
24283
24375
|
onPointerDown: onShowTooltip,
|
|
24284
|
-
"aria-required": required2,
|
|
24285
24376
|
value: displayValue,
|
|
24286
|
-
autoFocus,
|
|
24287
24377
|
children: [
|
|
24288
24378
|
/* @__PURE__ */ jsx(
|
|
24289
24379
|
Track,
|
|
24290
24380
|
{
|
|
24381
|
+
"data-track": true,
|
|
24291
24382
|
className: classnames(styles$D.sliderTrack, {
|
|
24292
24383
|
[styles$D.disabled]: !enabled2,
|
|
24293
24384
|
[styles$D.readOnly]: readOnly2,
|
|
@@ -24299,6 +24390,7 @@ const Slider = forwardRef(
|
|
|
24299
24390
|
children: /* @__PURE__ */ jsx(
|
|
24300
24391
|
Range,
|
|
24301
24392
|
{
|
|
24393
|
+
"data-range": true,
|
|
24302
24394
|
className: classnames(styles$D.sliderRange, {
|
|
24303
24395
|
[styles$D.disabled]: !enabled2
|
|
24304
24396
|
})
|
|
@@ -24322,7 +24414,9 @@ const Slider = forwardRef(
|
|
|
24322
24414
|
}),
|
|
24323
24415
|
style: thumbStyle ? { ...thumbStyle } : void 0,
|
|
24324
24416
|
id,
|
|
24325
|
-
"data-thumb-index": index
|
|
24417
|
+
"data-thumb-index": index,
|
|
24418
|
+
autoFocus,
|
|
24419
|
+
"aria-required": required2
|
|
24326
24420
|
}
|
|
24327
24421
|
)
|
|
24328
24422
|
},
|
|
@@ -24352,8 +24446,7 @@ const defaultProps$t = {
|
|
|
24352
24446
|
initialValue: "#000000",
|
|
24353
24447
|
value: "#000000",
|
|
24354
24448
|
enabled: true,
|
|
24355
|
-
validationStatus: "none"
|
|
24356
|
-
debounceDelayInMs: 200
|
|
24449
|
+
validationStatus: "none"
|
|
24357
24450
|
};
|
|
24358
24451
|
const ColorPicker = forwardRef(
|
|
24359
24452
|
({
|
|
@@ -24376,11 +24469,10 @@ const ColorPicker = forwardRef(
|
|
|
24376
24469
|
required: required2,
|
|
24377
24470
|
validationStatus = defaultProps$t.validationStatus,
|
|
24378
24471
|
initialValue = defaultProps$t.initialValue,
|
|
24379
|
-
debounceDelayInMs = defaultProps$t.debounceDelayInMs,
|
|
24380
24472
|
...rest
|
|
24381
24473
|
}, forwardedRef) => {
|
|
24382
24474
|
const inputRef = useRef(null);
|
|
24383
|
-
const
|
|
24475
|
+
const [isPending, startTransition2] = useTransition();
|
|
24384
24476
|
const updateValue = useCallback(
|
|
24385
24477
|
(value2) => {
|
|
24386
24478
|
updateState({ value: value2 });
|
|
@@ -24388,45 +24480,31 @@ const ColorPicker = forwardRef(
|
|
|
24388
24480
|
},
|
|
24389
24481
|
[onDidChange, updateState]
|
|
24390
24482
|
);
|
|
24391
|
-
const
|
|
24483
|
+
const updateValueWithTransition = useCallback(
|
|
24392
24484
|
(value2, immediate = false) => {
|
|
24393
|
-
if (debounceTimeoutRef.current) {
|
|
24394
|
-
clearTimeout(debounceTimeoutRef.current);
|
|
24395
|
-
}
|
|
24396
24485
|
if (immediate) {
|
|
24397
24486
|
updateValue(value2);
|
|
24398
24487
|
} else {
|
|
24399
|
-
|
|
24488
|
+
startTransition2(() => {
|
|
24400
24489
|
updateValue(value2);
|
|
24401
|
-
}
|
|
24490
|
+
});
|
|
24402
24491
|
}
|
|
24403
24492
|
},
|
|
24404
|
-
[updateValue,
|
|
24493
|
+
[updateValue, startTransition2]
|
|
24405
24494
|
);
|
|
24406
24495
|
const onInputChange = useCallback(
|
|
24407
24496
|
(event) => {
|
|
24408
|
-
|
|
24497
|
+
updateValueWithTransition(event.target.value);
|
|
24409
24498
|
},
|
|
24410
|
-
[
|
|
24499
|
+
[updateValueWithTransition]
|
|
24411
24500
|
);
|
|
24412
24501
|
useEffect(() => {
|
|
24413
24502
|
updateState({ value: initialValue }, { initial: true });
|
|
24414
24503
|
}, [initialValue, updateState]);
|
|
24415
|
-
useEffect(() => {
|
|
24416
|
-
return () => {
|
|
24417
|
-
if (debounceTimeoutRef.current) {
|
|
24418
|
-
clearTimeout(debounceTimeoutRef.current);
|
|
24419
|
-
}
|
|
24420
|
-
};
|
|
24421
|
-
}, []);
|
|
24422
24504
|
const handleOnFocus = useCallback(() => {
|
|
24423
24505
|
onFocus == null ? void 0 : onFocus();
|
|
24424
24506
|
}, [onFocus]);
|
|
24425
24507
|
const handleOnBlur = useCallback(() => {
|
|
24426
|
-
if (debounceTimeoutRef.current) {
|
|
24427
|
-
clearTimeout(debounceTimeoutRef.current);
|
|
24428
|
-
debounceTimeoutRef.current = null;
|
|
24429
|
-
}
|
|
24430
24508
|
onBlur == null ? void 0 : onBlur();
|
|
24431
24509
|
}, [onBlur]);
|
|
24432
24510
|
const focus = useCallback(() => {
|
|
@@ -24434,7 +24512,7 @@ const ColorPicker = forwardRef(
|
|
|
24434
24512
|
(_a2 = inputRef.current) == null ? void 0 : _a2.focus();
|
|
24435
24513
|
}, []);
|
|
24436
24514
|
const setValue = useEvent((newValue) => {
|
|
24437
|
-
|
|
24515
|
+
updateValueWithTransition(newValue, true);
|
|
24438
24516
|
});
|
|
24439
24517
|
useEffect(() => {
|
|
24440
24518
|
registerComponentApi == null ? void 0 : registerComponentApi({
|
|
@@ -24983,7 +25061,7 @@ function CustomFormItem({
|
|
|
24983
25061
|
}, [bindTo, dispatch, node.children, node.vars, validationResult, value]);
|
|
24984
25062
|
return /* @__PURE__ */ jsx(Fragment, { children: renderChild2(decoratedMetadata) });
|
|
24985
25063
|
}
|
|
24986
|
-
const COMP$
|
|
25064
|
+
const COMP$Z = "FormItem";
|
|
24987
25065
|
const filteredValidationSeverityValues = validationSeverityValues.filter(
|
|
24988
25066
|
(value) => value !== "none"
|
|
24989
25067
|
);
|
|
@@ -24998,7 +25076,7 @@ const FormItemMd = createMetadata({
|
|
|
24998
25076
|
autoFocus: dAutoFocus(),
|
|
24999
25077
|
label: dLabel(),
|
|
25000
25078
|
labelPosition: dLabelPosition(),
|
|
25001
|
-
labelWidth: dLabelWidth(COMP$
|
|
25079
|
+
labelWidth: dLabelWidth(COMP$Z),
|
|
25002
25080
|
labelBreak: {
|
|
25003
25081
|
description: `This boolean value indicates if the label can be split into multiple lines if it would overflow the available label width.`,
|
|
25004
25082
|
type: "boolean",
|
|
@@ -25137,7 +25215,7 @@ const FormItemMd = createMetadata({
|
|
|
25137
25215
|
}
|
|
25138
25216
|
});
|
|
25139
25217
|
const formItemComponentRenderer = createComponentRenderer(
|
|
25140
|
-
COMP$
|
|
25218
|
+
COMP$Z,
|
|
25141
25219
|
FormItemMd,
|
|
25142
25220
|
({
|
|
25143
25221
|
node,
|
|
@@ -25248,7 +25326,7 @@ const formItemComponentRenderer = createComponentRenderer(
|
|
|
25248
25326
|
);
|
|
25249
25327
|
}
|
|
25250
25328
|
);
|
|
25251
|
-
const COMP$
|
|
25329
|
+
const COMP$Y = "TextBox";
|
|
25252
25330
|
const TextBoxMd = createMetadata({
|
|
25253
25331
|
status: "stable",
|
|
25254
25332
|
description: "`TextBox` captures user text input for forms, search fields, and data entry with support for validation, icons, and formatting hints.",
|
|
@@ -25275,8 +25353,8 @@ const TextBoxMd = createMetadata({
|
|
|
25275
25353
|
},
|
|
25276
25354
|
label: dLabel(),
|
|
25277
25355
|
labelPosition: dLabelPosition("top"),
|
|
25278
|
-
labelWidth: dLabelWidth(COMP$
|
|
25279
|
-
labelBreak: dLabelBreak(COMP$
|
|
25356
|
+
labelWidth: dLabelWidth(COMP$Y),
|
|
25357
|
+
labelBreak: dLabelBreak(COMP$Y),
|
|
25280
25358
|
maxLength: dMaxLength(),
|
|
25281
25359
|
autoFocus: dAutoFocus(),
|
|
25282
25360
|
required: dRequired(),
|
|
@@ -25312,13 +25390,13 @@ const TextBoxMd = createMetadata({
|
|
|
25312
25390
|
}
|
|
25313
25391
|
},
|
|
25314
25392
|
events: {
|
|
25315
|
-
gotFocus: dGotFocus(COMP$
|
|
25316
|
-
lostFocus: dLostFocus(COMP$
|
|
25317
|
-
didChange: dDidChange(COMP$
|
|
25393
|
+
gotFocus: dGotFocus(COMP$Y),
|
|
25394
|
+
lostFocus: dLostFocus(COMP$Y),
|
|
25395
|
+
didChange: dDidChange(COMP$Y)
|
|
25318
25396
|
},
|
|
25319
25397
|
apis: {
|
|
25320
25398
|
focus: {
|
|
25321
|
-
description: `This method sets the focus on the \`${COMP$
|
|
25399
|
+
description: `This method sets the focus on the \`${COMP$Y}\` component.`,
|
|
25322
25400
|
signature: "focus(): void"
|
|
25323
25401
|
},
|
|
25324
25402
|
value: {
|
|
@@ -25326,7 +25404,7 @@ const TextBoxMd = createMetadata({
|
|
|
25326
25404
|
signature: "get value(): string | undefined"
|
|
25327
25405
|
},
|
|
25328
25406
|
setValue: {
|
|
25329
|
-
description: `This API sets the value of the \`${COMP$
|
|
25407
|
+
description: `This API sets the value of the \`${COMP$Y}\`. You can use it to programmatically change the value.`,
|
|
25330
25408
|
signature: "setValue(value: string): void",
|
|
25331
25409
|
parameters: {
|
|
25332
25410
|
value: "The new value to set. If the value is empty, it will clear the input."
|
|
@@ -25341,8 +25419,8 @@ const TextBoxMd = createMetadata({
|
|
|
25341
25419
|
"backgroundColor-Input--disabled": "$backgroundColor--disabled",
|
|
25342
25420
|
"borderWidth-Input": "1px",
|
|
25343
25421
|
"minHeight-Input": "39px",
|
|
25344
|
-
[`paddingHorizontal-${COMP$
|
|
25345
|
-
[`paddingVertical-${COMP$
|
|
25422
|
+
[`paddingHorizontal-${COMP$Y}`]: "$space-2",
|
|
25423
|
+
[`paddingVertical-${COMP$Y}`]: "$space-2",
|
|
25346
25424
|
"gap-adornment-Input": "$space-2",
|
|
25347
25425
|
"borderStyle-Input": "solid",
|
|
25348
25426
|
"borderColor-Input--disabled": "$borderColor--disabled",
|
|
@@ -25401,7 +25479,7 @@ function renderTextBox(className, state, updateState, extractValue, node, lookup
|
|
|
25401
25479
|
);
|
|
25402
25480
|
}
|
|
25403
25481
|
const textBoxComponentRenderer = createComponentRenderer(
|
|
25404
|
-
COMP$
|
|
25482
|
+
COMP$Y,
|
|
25405
25483
|
TextBoxMd,
|
|
25406
25484
|
({
|
|
25407
25485
|
node,
|
|
@@ -25454,19 +25532,86 @@ const passwordInputComponentRenderer = createComponentRenderer(
|
|
|
25454
25532
|
function isAxiosResponse(response) {
|
|
25455
25533
|
return "data" in response;
|
|
25456
25534
|
}
|
|
25457
|
-
|
|
25535
|
+
function getContentType(response) {
|
|
25536
|
+
if (isAxiosResponse(response)) {
|
|
25537
|
+
return response.headers["content-type"] || response.headers["Content-Type"] || "";
|
|
25538
|
+
} else {
|
|
25539
|
+
return response.headers.get("content-type") || "";
|
|
25540
|
+
}
|
|
25541
|
+
}
|
|
25542
|
+
function isBinaryContentType(contentType) {
|
|
25543
|
+
const binaryTypes = [
|
|
25544
|
+
// Images
|
|
25545
|
+
"image/",
|
|
25546
|
+
// Audio
|
|
25547
|
+
"audio/",
|
|
25548
|
+
// Video
|
|
25549
|
+
"video/",
|
|
25550
|
+
// Documents
|
|
25551
|
+
"application/pdf",
|
|
25552
|
+
"application/msword",
|
|
25553
|
+
"application/vnd.openxmlformats-officedocument.",
|
|
25554
|
+
"application/vnd.ms-excel",
|
|
25555
|
+
"application/vnd.ms-powerpoint",
|
|
25556
|
+
// Archives
|
|
25557
|
+
"application/zip",
|
|
25558
|
+
"application/x-rar-compressed",
|
|
25559
|
+
"application/x-tar",
|
|
25560
|
+
"application/gzip",
|
|
25561
|
+
"application/x-7z-compressed",
|
|
25562
|
+
// Other binary
|
|
25563
|
+
"application/octet-stream",
|
|
25564
|
+
"application/x-binary"
|
|
25565
|
+
];
|
|
25566
|
+
return binaryTypes.some((type) => contentType.toLowerCase().includes(type.toLowerCase()));
|
|
25567
|
+
}
|
|
25568
|
+
function shouldReturnAsArrayBuffer(contentType) {
|
|
25569
|
+
const arrayBufferTypes = [
|
|
25570
|
+
"application/zip",
|
|
25571
|
+
"application/x-rar-compressed",
|
|
25572
|
+
"application/x-tar",
|
|
25573
|
+
"application/gzip",
|
|
25574
|
+
"application/x-7z-compressed",
|
|
25575
|
+
"application/octet-stream",
|
|
25576
|
+
"application/x-binary"
|
|
25577
|
+
];
|
|
25578
|
+
return arrayBufferTypes.some((type) => contentType.toLowerCase().includes(type.toLowerCase()));
|
|
25579
|
+
}
|
|
25580
|
+
async function parseResponseBody(response, logError = false) {
|
|
25458
25581
|
let resp;
|
|
25459
25582
|
if (isAxiosResponse(response)) {
|
|
25460
25583
|
resp = response.data;
|
|
25461
25584
|
} else {
|
|
25462
|
-
|
|
25463
|
-
|
|
25464
|
-
} catch (e) {
|
|
25585
|
+
const contentType = getContentType(response);
|
|
25586
|
+
if (isBinaryContentType(contentType)) {
|
|
25465
25587
|
try {
|
|
25466
|
-
|
|
25467
|
-
|
|
25588
|
+
if (shouldReturnAsArrayBuffer(contentType)) {
|
|
25589
|
+
resp = await response.clone().arrayBuffer();
|
|
25590
|
+
} else {
|
|
25591
|
+
resp = await response.clone().blob();
|
|
25592
|
+
}
|
|
25593
|
+
} catch (e) {
|
|
25468
25594
|
if (logError) {
|
|
25469
|
-
console.error("Failed to parse response
|
|
25595
|
+
console.error("Failed to parse binary response", e, contentType);
|
|
25596
|
+
}
|
|
25597
|
+
try {
|
|
25598
|
+
resp = await response.clone().text();
|
|
25599
|
+
} catch (textError) {
|
|
25600
|
+
if (logError) {
|
|
25601
|
+
console.error("Failed to parse response as text after binary parsing failed", textError);
|
|
25602
|
+
}
|
|
25603
|
+
}
|
|
25604
|
+
}
|
|
25605
|
+
} else {
|
|
25606
|
+
try {
|
|
25607
|
+
resp = await response.clone().json();
|
|
25608
|
+
} catch (e) {
|
|
25609
|
+
try {
|
|
25610
|
+
resp = await response.clone().text();
|
|
25611
|
+
} catch (e2) {
|
|
25612
|
+
if (logError) {
|
|
25613
|
+
console.error("Failed to parse response as text or JSON", response.body);
|
|
25614
|
+
}
|
|
25470
25615
|
}
|
|
25471
25616
|
}
|
|
25472
25617
|
}
|
|
@@ -25771,7 +25916,7 @@ class RestApiProxy {
|
|
|
25771
25916
|
}
|
|
25772
25917
|
};
|
|
25773
25918
|
this.tryParseResponse = async (response, logError = false) => {
|
|
25774
|
-
return await
|
|
25919
|
+
return await parseResponseBody(response, logError);
|
|
25775
25920
|
};
|
|
25776
25921
|
this.raiseError = async (response) => {
|
|
25777
25922
|
if ("config" in response) {
|
|
@@ -25945,7 +26090,7 @@ function RealTimeAdapter({ url, onEvent }) {
|
|
|
25945
26090
|
}, [appContext, onEvent, url]);
|
|
25946
26091
|
return null;
|
|
25947
26092
|
}
|
|
25948
|
-
const COMP$
|
|
26093
|
+
const COMP$X = "RealTimeAdapter";
|
|
25949
26094
|
const RealTimeAdapterMd = createMetadata({
|
|
25950
26095
|
status: "experimental",
|
|
25951
26096
|
description: "`RealTimeAdapter` is a non-visual component that listens to real-time events.",
|
|
@@ -25960,7 +26105,7 @@ const RealTimeAdapterMd = createMetadata({
|
|
|
25960
26105
|
}
|
|
25961
26106
|
});
|
|
25962
26107
|
const realTimeAdapterComponentRenderer = createComponentRenderer(
|
|
25963
|
-
COMP$
|
|
26108
|
+
COMP$X,
|
|
25964
26109
|
RealTimeAdapterMd,
|
|
25965
26110
|
({ node, lookupEventHandler, extractValue }) => {
|
|
25966
26111
|
return /* @__PURE__ */ jsx(
|
|
@@ -25972,7 +26117,7 @@ const realTimeAdapterComponentRenderer = createComponentRenderer(
|
|
|
25972
26117
|
);
|
|
25973
26118
|
}
|
|
25974
26119
|
);
|
|
25975
|
-
const COMP$
|
|
26120
|
+
const COMP$W = "Form";
|
|
25976
26121
|
const FormMd = createMetadata({
|
|
25977
26122
|
status: "stable",
|
|
25978
26123
|
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.",
|
|
@@ -26084,7 +26229,7 @@ const FormMd = createMetadata({
|
|
|
26084
26229
|
}
|
|
26085
26230
|
});
|
|
26086
26231
|
const formComponentRenderer = createComponentRenderer(
|
|
26087
|
-
COMP$
|
|
26232
|
+
COMP$W,
|
|
26088
26233
|
FormMd,
|
|
26089
26234
|
({ node, renderChild: renderChild2, extractValue, className, lookupEventHandler, registerComponentApi }) => {
|
|
26090
26235
|
return /* @__PURE__ */ jsx(
|
|
@@ -26135,7 +26280,7 @@ const EmojiSelector = forwardRef(
|
|
|
26135
26280
|
}
|
|
26136
26281
|
)
|
|
26137
26282
|
);
|
|
26138
|
-
const COMP$
|
|
26283
|
+
const COMP$V = "EmojiSelector";
|
|
26139
26284
|
const EmojiSelectorMd = createMetadata({
|
|
26140
26285
|
status: "experimental",
|
|
26141
26286
|
description: "`EmojiSelector` enables users to browse, search and select emojis from their system's native emoji set.",
|
|
@@ -26150,7 +26295,7 @@ const EmojiSelectorMd = createMetadata({
|
|
|
26150
26295
|
}
|
|
26151
26296
|
});
|
|
26152
26297
|
const emojiSelectorRenderer = createComponentRenderer(
|
|
26153
|
-
COMP$
|
|
26298
|
+
COMP$V,
|
|
26154
26299
|
EmojiSelectorMd,
|
|
26155
26300
|
({ node, lookupEventHandler, extractValue }) => {
|
|
26156
26301
|
const onActionSelect = lookupEventHandler("select");
|
|
@@ -26165,7 +26310,7 @@ const emojiSelectorRenderer = createComponentRenderer(
|
|
|
26165
26310
|
);
|
|
26166
26311
|
}
|
|
26167
26312
|
);
|
|
26168
|
-
const COMP$
|
|
26313
|
+
const COMP$U = "NumberBox";
|
|
26169
26314
|
const NumberBoxMd = createMetadata({
|
|
26170
26315
|
status: "stable",
|
|
26171
26316
|
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.",
|
|
@@ -26188,8 +26333,8 @@ const NumberBoxMd = createMetadata({
|
|
|
26188
26333
|
initialValue: dInitialValue(),
|
|
26189
26334
|
label: dLabel(),
|
|
26190
26335
|
labelPosition: dLabelPosition("top"),
|
|
26191
|
-
labelWidth: dLabelWidth(COMP$
|
|
26192
|
-
labelBreak: dLabelBreak(COMP$
|
|
26336
|
+
labelWidth: dLabelWidth(COMP$U),
|
|
26337
|
+
labelBreak: dLabelBreak(COMP$U),
|
|
26193
26338
|
maxLength: dMaxLength(),
|
|
26194
26339
|
autoFocus: dAutoFocus(),
|
|
26195
26340
|
required: dRequired(),
|
|
@@ -26209,10 +26354,10 @@ const NumberBoxMd = createMetadata({
|
|
|
26209
26354
|
defaultValue: defaultProps$G.hasSpinBox
|
|
26210
26355
|
},
|
|
26211
26356
|
spinnerUpIcon: d(
|
|
26212
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
26357
|
+
`Allows setting an alternate icon displayed in the ${COMP$U} spinner for incrementing values. You can change the default icon for all ${COMP$U} instances with the "icon.spinnerUp:NumberBox" declaration in the app configuration file.`
|
|
26213
26358
|
),
|
|
26214
26359
|
spinnerDownIcon: d(
|
|
26215
|
-
`Allows setting an alternate icon displayed in the ${COMP$
|
|
26360
|
+
`Allows setting an alternate icon displayed in the ${COMP$U} spinner for decrementing values. You can change the default icon for all ${COMP$U} instances with the "icon.spinnerDown:NumberBox" declaration in the app configuration file.`
|
|
26216
26361
|
),
|
|
26217
26362
|
step: {
|
|
26218
26363
|
description: `This prop governs how big the step when clicking on the spinner of the field.`,
|
|
@@ -26239,32 +26384,32 @@ const NumberBoxMd = createMetadata({
|
|
|
26239
26384
|
}
|
|
26240
26385
|
},
|
|
26241
26386
|
events: {
|
|
26242
|
-
gotFocus: dGotFocus(COMP$
|
|
26243
|
-
lostFocus: dLostFocus(COMP$
|
|
26244
|
-
didChange: dDidChange(COMP$
|
|
26387
|
+
gotFocus: dGotFocus(COMP$U),
|
|
26388
|
+
lostFocus: dLostFocus(COMP$U),
|
|
26389
|
+
didChange: dDidChange(COMP$U)
|
|
26245
26390
|
},
|
|
26246
26391
|
apis: {
|
|
26247
26392
|
focus: {
|
|
26248
|
-
description: `This API focuses the input field of the \`${COMP$
|
|
26393
|
+
description: `This API focuses the input field of the \`${COMP$U}\`. You can use it to programmatically focus the field.`,
|
|
26249
26394
|
signature: "focus(): void"
|
|
26250
26395
|
},
|
|
26251
26396
|
value: {
|
|
26252
|
-
description: `This API retrieves the current value of the \`${COMP$
|
|
26397
|
+
description: `This API retrieves the current value of the \`${COMP$U}\`. You can use it to get the value programmatically.`,
|
|
26253
26398
|
signature: "get value(): number | undefined"
|
|
26254
26399
|
},
|
|
26255
26400
|
setValue: {
|
|
26256
|
-
description: `This API sets the value of the \`${COMP$
|
|
26401
|
+
description: `This API sets the value of the \`${COMP$U}\`. You can use it to programmatically change the value.`,
|
|
26257
26402
|
signature: "setValue(value: number | undefined): void"
|
|
26258
26403
|
}
|
|
26259
26404
|
},
|
|
26260
26405
|
themeVars: parseScssVar(styles$K.themeVars),
|
|
26261
26406
|
defaultThemeVars: {
|
|
26262
|
-
[`paddingVertical-${COMP$
|
|
26263
|
-
[`paddingHorizontal-${COMP$
|
|
26407
|
+
[`paddingVertical-${COMP$U}`]: "$space-2",
|
|
26408
|
+
[`paddingHorizontal-${COMP$U}`]: "$space-2"
|
|
26264
26409
|
}
|
|
26265
26410
|
});
|
|
26266
26411
|
const numberBoxComponentRenderer = createComponentRenderer(
|
|
26267
|
-
COMP$
|
|
26412
|
+
COMP$U,
|
|
26268
26413
|
NumberBoxMd,
|
|
26269
26414
|
({
|
|
26270
26415
|
node,
|
|
@@ -26325,7 +26470,7 @@ const HoverCardComponent = ({ triggerTemplate, children }) => {
|
|
|
26325
26470
|
/* @__PURE__ */ jsx(HoverCard.Portal, { container: root2, children: /* @__PURE__ */ jsx(HoverCard.Content, { side: "bottom", sideOffset: 5, children }) })
|
|
26326
26471
|
] });
|
|
26327
26472
|
};
|
|
26328
|
-
const COMP$
|
|
26473
|
+
const COMP$T = "HoverCard";
|
|
26329
26474
|
const HoverCardMd = createMetadata({
|
|
26330
26475
|
status: "deprecated",
|
|
26331
26476
|
description: "(**OBSOLETE**) This component displays some content when its parent component is hovered.",
|
|
@@ -26334,13 +26479,13 @@ const HoverCardMd = createMetadata({
|
|
|
26334
26479
|
}
|
|
26335
26480
|
});
|
|
26336
26481
|
const hoverCardComponentRenderer = createComponentRenderer(
|
|
26337
|
-
COMP$
|
|
26482
|
+
COMP$T,
|
|
26338
26483
|
HoverCardMd,
|
|
26339
26484
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
26340
26485
|
return /* @__PURE__ */ jsx(HoverCardComponent, { triggerTemplate: renderChild2(extractValue(node.props.triggerTemplate)), children: renderChild2(node.children) });
|
|
26341
26486
|
}
|
|
26342
26487
|
);
|
|
26343
|
-
const COMP$
|
|
26488
|
+
const COMP$S = "App";
|
|
26344
26489
|
const AppMd = createMetadata({
|
|
26345
26490
|
status: "stable",
|
|
26346
26491
|
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.",
|
|
@@ -26399,10 +26544,10 @@ const AppMd = createMetadata({
|
|
|
26399
26544
|
},
|
|
26400
26545
|
events: {
|
|
26401
26546
|
ready: {
|
|
26402
|
-
description: `This event fires when the \`${COMP$
|
|
26547
|
+
description: `This event fires when the \`${COMP$S}\` component finishes rendering on the page.`
|
|
26403
26548
|
},
|
|
26404
26549
|
messageReceived: {
|
|
26405
|
-
description: `This event fires when the \`${COMP$
|
|
26550
|
+
description: `This event fires when the \`${COMP$S}\` component receives a message from another window or iframe via the window.postMessage API.`
|
|
26406
26551
|
}
|
|
26407
26552
|
},
|
|
26408
26553
|
themeVars: { ...parseScssVar(styles$1c.themeVars), ...parseScssVar(drawerStyles.themeVars) },
|
|
@@ -26415,11 +26560,11 @@ const AppMd = createMetadata({
|
|
|
26415
26560
|
},
|
|
26416
26561
|
defaultThemeVars: {
|
|
26417
26562
|
"maxWidth-Drawer": "100%",
|
|
26418
|
-
[`width-navPanel-${COMP$
|
|
26419
|
-
[`backgroundColor-navPanel-${COMP$
|
|
26420
|
-
[`maxWidth-content-${COMP$
|
|
26421
|
-
[`boxShadow-header-${COMP$
|
|
26422
|
-
[`boxShadow-navPanel-${COMP$
|
|
26563
|
+
[`width-navPanel-${COMP$S}`]: "$space-64",
|
|
26564
|
+
[`backgroundColor-navPanel-${COMP$S}`]: "$backgroundColor",
|
|
26565
|
+
[`maxWidth-content-${COMP$S}`]: "$maxWidth-content",
|
|
26566
|
+
[`boxShadow-header-${COMP$S}`]: "none",
|
|
26567
|
+
[`boxShadow-navPanel-${COMP$S}`]: "$boxShadow-spread",
|
|
26423
26568
|
[`scroll-padding-block-Pages`]: "$space-4",
|
|
26424
26569
|
[`backgroundColor-content-App`]: "$backgroundColor",
|
|
26425
26570
|
light: {
|
|
@@ -26775,7 +26920,7 @@ function PageIndexer({
|
|
|
26775
26920
|
return /* @__PURE__ */ jsx("div", { ref: contentRef, children: renderChild2(Page.children) });
|
|
26776
26921
|
}
|
|
26777
26922
|
const appRenderer = createComponentRenderer(
|
|
26778
|
-
COMP$
|
|
26923
|
+
COMP$S,
|
|
26779
26924
|
AppMd,
|
|
26780
26925
|
({ node, extractValue, renderChild: renderChild2, className, lookupEventHandler }) => {
|
|
26781
26926
|
return /* @__PURE__ */ jsx(
|
|
@@ -26886,7 +27031,7 @@ function extractNavPanelFromPages(Pages2, NavPanel3, processedNavRef, extractVal
|
|
|
26886
27031
|
});
|
|
26887
27032
|
return extraNavs;
|
|
26888
27033
|
}
|
|
26889
|
-
const COMP$
|
|
27034
|
+
const COMP$R = "NavPanel";
|
|
26890
27035
|
const NavPanelMd = createMetadata({
|
|
26891
27036
|
status: "stable",
|
|
26892
27037
|
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.",
|
|
@@ -26903,15 +27048,15 @@ const NavPanelMd = createMetadata({
|
|
|
26903
27048
|
themeVars: parseScssVar(styles$19.themeVars),
|
|
26904
27049
|
limitThemeVarsToComponent: true,
|
|
26905
27050
|
defaultThemeVars: {
|
|
26906
|
-
[`horizontalAlignment-logo-${COMP$
|
|
26907
|
-
[`backgroundColor-${COMP$
|
|
26908
|
-
[`backgroundColor-${COMP$
|
|
26909
|
-
[`border-${COMP$
|
|
26910
|
-
[`paddingHorizontal-${COMP$
|
|
26911
|
-
[`paddingVertical-logo-${COMP$
|
|
26912
|
-
[`paddingHorizontal-logo-${COMP$
|
|
26913
|
-
[`marginBottom-logo-${COMP$
|
|
26914
|
-
[`boxShadow-${COMP$
|
|
27051
|
+
[`horizontalAlignment-logo-${COMP$R}`]: "center",
|
|
27052
|
+
[`backgroundColor-${COMP$R}`]: "$backgroundColor",
|
|
27053
|
+
[`backgroundColor-${COMP$R}-horizontal`]: "$backgroundColor-AppHeader",
|
|
27054
|
+
[`border-${COMP$R}`]: "0px solid $borderColor",
|
|
27055
|
+
[`paddingHorizontal-${COMP$R}`]: "0",
|
|
27056
|
+
[`paddingVertical-logo-${COMP$R}`]: "$space-4",
|
|
27057
|
+
[`paddingHorizontal-logo-${COMP$R}`]: "$space-4",
|
|
27058
|
+
[`marginBottom-logo-${COMP$R}`]: "$space-4",
|
|
27059
|
+
[`boxShadow-${COMP$R}-vertical`]: "4px 0 4px 0 rgb(0 0 0 / 10%)"
|
|
26915
27060
|
}
|
|
26916
27061
|
});
|
|
26917
27062
|
function NavPanelWithBuiltNavHierarchy({
|
|
@@ -26937,7 +27082,7 @@ function NavPanelWithBuiltNavHierarchy({
|
|
|
26937
27082
|
);
|
|
26938
27083
|
}
|
|
26939
27084
|
const navPanelRenderer = createComponentRenderer(
|
|
26940
|
-
COMP$
|
|
27085
|
+
COMP$R,
|
|
26941
27086
|
NavPanelMd,
|
|
26942
27087
|
({ node, renderChild: renderChild2, className, layoutContext, extractValue }) => {
|
|
26943
27088
|
return /* @__PURE__ */ jsx(
|
|
@@ -27053,7 +27198,7 @@ const pageRenderer = createComponentRenderer(
|
|
|
27053
27198
|
) });
|
|
27054
27199
|
}
|
|
27055
27200
|
);
|
|
27056
|
-
const COMP$
|
|
27201
|
+
const COMP$Q = "Pages";
|
|
27057
27202
|
const PagesMd = createMetadata({
|
|
27058
27203
|
status: "stable",
|
|
27059
27204
|
description: "`Pages` serves as the routing coordinator within an [App](/components/App), managing which [Page](/components/Page) displays based on the current URL.",
|
|
@@ -27065,7 +27210,7 @@ const PagesMd = createMetadata({
|
|
|
27065
27210
|
}
|
|
27066
27211
|
});
|
|
27067
27212
|
const pagesRenderer = createComponentRenderer(
|
|
27068
|
-
COMP$
|
|
27213
|
+
COMP$Q,
|
|
27069
27214
|
PagesMd,
|
|
27070
27215
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
27071
27216
|
return /* @__PURE__ */ jsx(
|
|
@@ -27107,22 +27252,22 @@ const Footer = forwardRef(function Footer2({
|
|
|
27107
27252
|
}
|
|
27108
27253
|
) });
|
|
27109
27254
|
});
|
|
27110
|
-
const COMP$
|
|
27255
|
+
const COMP$P = "Footer";
|
|
27111
27256
|
const FooterMd = createMetadata({
|
|
27112
27257
|
status: "stable",
|
|
27113
27258
|
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.",
|
|
27114
27259
|
themeVars: parseScssVar(styles$q.themeVars),
|
|
27115
27260
|
limitThemeVarsToComponent: true,
|
|
27116
27261
|
defaultThemeVars: {
|
|
27117
|
-
[`backgroundColor-${COMP$
|
|
27118
|
-
[`verticalAlignment-${COMP$
|
|
27119
|
-
[`fontSize-${COMP$
|
|
27120
|
-
[`textColor-${COMP$
|
|
27121
|
-
[`maxWidth-content-${COMP$
|
|
27122
|
-
[`borderTop-${COMP$
|
|
27123
|
-
[`padding-${COMP$
|
|
27124
|
-
[`gap-${COMP$
|
|
27125
|
-
[`margin-${COMP$
|
|
27262
|
+
[`backgroundColor-${COMP$P}`]: "$backgroundColor-AppHeader",
|
|
27263
|
+
[`verticalAlignment-${COMP$P}`]: "center",
|
|
27264
|
+
[`fontSize-${COMP$P}`]: "$fontSize-sm",
|
|
27265
|
+
[`textColor-${COMP$P}`]: "$textColor-secondary",
|
|
27266
|
+
[`maxWidth-content-${COMP$P}`]: "$maxWidth-content",
|
|
27267
|
+
[`borderTop-${COMP$P}`]: `1px solid $borderColor`,
|
|
27268
|
+
[`padding-${COMP$P}`]: "$space-2 $space-4",
|
|
27269
|
+
[`gap-${COMP$P}`]: "$space-normal",
|
|
27270
|
+
[`margin-${COMP$P}`]: `0 auto`,
|
|
27126
27271
|
light: {
|
|
27127
27272
|
// --- No light-specific theme vars
|
|
27128
27273
|
},
|
|
@@ -27132,7 +27277,7 @@ const FooterMd = createMetadata({
|
|
|
27132
27277
|
}
|
|
27133
27278
|
});
|
|
27134
27279
|
const footerRenderer = createComponentRenderer(
|
|
27135
|
-
COMP$
|
|
27280
|
+
COMP$P,
|
|
27136
27281
|
FooterMd,
|
|
27137
27282
|
({ node, renderChild: renderChild2, className, layoutContext }) => {
|
|
27138
27283
|
return /* @__PURE__ */ jsx(Footer, { className: classnames(layoutContext == null ? void 0 : layoutContext.themeClassName, className), children: renderChild2(node.children, {
|
|
@@ -27141,7 +27286,7 @@ const footerRenderer = createComponentRenderer(
|
|
|
27141
27286
|
}) });
|
|
27142
27287
|
}
|
|
27143
27288
|
);
|
|
27144
|
-
const COMP$
|
|
27289
|
+
const COMP$O = "NavGroup";
|
|
27145
27290
|
const NavGroupMd = createMetadata({
|
|
27146
27291
|
status: "stable",
|
|
27147
27292
|
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.",
|
|
@@ -27156,7 +27301,7 @@ const NavGroupMd = createMetadata({
|
|
|
27156
27301
|
valueType: "string"
|
|
27157
27302
|
},
|
|
27158
27303
|
icon: {
|
|
27159
|
-
description: `This property defines an optional icon to display along with the \`${COMP$
|
|
27304
|
+
description: `This property defines an optional icon to display along with the \`${COMP$O}\` label.`,
|
|
27160
27305
|
valueType: "string"
|
|
27161
27306
|
},
|
|
27162
27307
|
iconHorizontalExpanded: {
|
|
@@ -27182,13 +27327,13 @@ const NavGroupMd = createMetadata({
|
|
|
27182
27327
|
},
|
|
27183
27328
|
themeVars: parseScssVar(styles$18.themeVars),
|
|
27184
27329
|
defaultThemeVars: {
|
|
27185
|
-
[`backgroundColor-dropdown-${COMP$
|
|
27186
|
-
[`borderRadius-dropdown-${COMP$
|
|
27187
|
-
[`boxShadow-dropdown-${COMP$
|
|
27330
|
+
[`backgroundColor-dropdown-${COMP$O}`]: "$backgroundColor-primary",
|
|
27331
|
+
[`borderRadius-dropdown-${COMP$O}`]: "$borderRadius",
|
|
27332
|
+
[`boxShadow-dropdown-${COMP$O}`]: "$boxShadow-spread"
|
|
27188
27333
|
}
|
|
27189
27334
|
});
|
|
27190
27335
|
const navGroupComponentRenderer = createComponentRenderer(
|
|
27191
|
-
COMP$
|
|
27336
|
+
COMP$O,
|
|
27192
27337
|
NavGroupMd,
|
|
27193
27338
|
({ node, extractValue, renderChild: renderChild2 }) => {
|
|
27194
27339
|
return /* @__PURE__ */ jsx(
|
|
@@ -27209,7 +27354,7 @@ const navGroupComponentRenderer = createComponentRenderer(
|
|
|
27209
27354
|
);
|
|
27210
27355
|
}
|
|
27211
27356
|
);
|
|
27212
|
-
const COMP$
|
|
27357
|
+
const COMP$N = "Logo";
|
|
27213
27358
|
const LogoMd = createMetadata({
|
|
27214
27359
|
status: "stable",
|
|
27215
27360
|
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.",
|
|
@@ -27227,7 +27372,7 @@ const LogoMd = createMetadata({
|
|
|
27227
27372
|
}
|
|
27228
27373
|
});
|
|
27229
27374
|
const logoComponentRenderer = createComponentRenderer(
|
|
27230
|
-
COMP$
|
|
27375
|
+
COMP$N,
|
|
27231
27376
|
LogoMd,
|
|
27232
27377
|
({ node, className, extractValue }) => {
|
|
27233
27378
|
return /* @__PURE__ */ jsx(
|
|
@@ -27240,7 +27385,7 @@ const logoComponentRenderer = createComponentRenderer(
|
|
|
27240
27385
|
);
|
|
27241
27386
|
}
|
|
27242
27387
|
);
|
|
27243
|
-
const COMP$
|
|
27388
|
+
const COMP$M = "RadioGroup";
|
|
27244
27389
|
const RGOption = `RadioGroupOption`;
|
|
27245
27390
|
const RadioGroupMd = createMetadata({
|
|
27246
27391
|
status: "stable",
|
|
@@ -27269,13 +27414,13 @@ const RadioGroupMd = createMetadata({
|
|
|
27269
27414
|
),
|
|
27270
27415
|
label: dLabel(),
|
|
27271
27416
|
labelPosition: dLabelPosition("top"),
|
|
27272
|
-
labelWidth: dLabelWidth(COMP$
|
|
27273
|
-
labelBreak: dLabelBreak(COMP$
|
|
27417
|
+
labelWidth: dLabelWidth(COMP$M),
|
|
27418
|
+
labelBreak: dLabelBreak(COMP$M)
|
|
27274
27419
|
},
|
|
27275
27420
|
events: {
|
|
27276
|
-
gotFocus: dGotFocus(COMP$
|
|
27277
|
-
lostFocus: dLostFocus(COMP$
|
|
27278
|
-
didChange: dDidChange(COMP$
|
|
27421
|
+
gotFocus: dGotFocus(COMP$M),
|
|
27422
|
+
lostFocus: dLostFocus(COMP$M),
|
|
27423
|
+
didChange: dDidChange(COMP$M)
|
|
27279
27424
|
},
|
|
27280
27425
|
themeVars: parseScssVar(styles$I.themeVars),
|
|
27281
27426
|
defaultThemeVars: {
|
|
@@ -27297,7 +27442,7 @@ const RadioGroupMd = createMetadata({
|
|
|
27297
27442
|
}
|
|
27298
27443
|
});
|
|
27299
27444
|
const radioGroupRenderer = createComponentRenderer(
|
|
27300
|
-
COMP$
|
|
27445
|
+
COMP$M,
|
|
27301
27446
|
RadioGroupMd,
|
|
27302
27447
|
({
|
|
27303
27448
|
node,
|
|
@@ -27334,7 +27479,7 @@ const radioGroupRenderer = createComponentRenderer(
|
|
|
27334
27479
|
);
|
|
27335
27480
|
}
|
|
27336
27481
|
);
|
|
27337
|
-
const COMP$
|
|
27482
|
+
const COMP$L = "Slot";
|
|
27338
27483
|
const SlotMd = createMetadata({
|
|
27339
27484
|
status: "experimental",
|
|
27340
27485
|
description: "Placeholder in a reusable component. Signs the slot where the component's injected children should be rendered.",
|
|
@@ -27344,8 +27489,8 @@ const SlotMd = createMetadata({
|
|
|
27344
27489
|
allowArbitraryProps: true,
|
|
27345
27490
|
opaque: true
|
|
27346
27491
|
});
|
|
27347
|
-
const SlotHolder = createPropHolderComponent(COMP$
|
|
27348
|
-
const COMP$
|
|
27492
|
+
const SlotHolder = createPropHolderComponent(COMP$L, SlotMd);
|
|
27493
|
+
const COMP$K = "FileInput";
|
|
27349
27494
|
const DEFAULT_ICON = "browse:FileInput";
|
|
27350
27495
|
const FileInputMd = createMetadata({
|
|
27351
27496
|
status: "stable",
|
|
@@ -27360,12 +27505,12 @@ const FileInputMd = createMetadata({
|
|
|
27360
27505
|
validationStatus: dValidationStatus(),
|
|
27361
27506
|
label: dLabel(),
|
|
27362
27507
|
labelPosition: dLabelPosition("top"),
|
|
27363
|
-
labelWidth: dLabelWidth(COMP$
|
|
27364
|
-
labelBreak: dLabelBreak(COMP$
|
|
27508
|
+
labelWidth: dLabelWidth(COMP$K),
|
|
27509
|
+
labelBreak: dLabelBreak(COMP$K),
|
|
27365
27510
|
buttonVariant: d("The button variant to use", buttonVariantNames),
|
|
27366
27511
|
buttonLabel: d(`This property is an optional string to set a label for the button part.`),
|
|
27367
27512
|
buttonIcon: d(
|
|
27368
|
-
`The ID of the icon to display in the button. You can change the default icon for all ${COMP$
|
|
27513
|
+
`The ID of the icon to display in the button. You can change the default icon for all ${COMP$K} instances with the "icon.browse:FileInput" declaration in the app configuration file.`
|
|
27369
27514
|
),
|
|
27370
27515
|
buttonIconPosition: d(
|
|
27371
27516
|
`This optional string determines the location of the button icon.`,
|
|
@@ -27408,9 +27553,9 @@ const FileInputMd = createMetadata({
|
|
|
27408
27553
|
)
|
|
27409
27554
|
},
|
|
27410
27555
|
events: {
|
|
27411
|
-
didChange: dDidChange(COMP$
|
|
27412
|
-
gotFocus: dGotFocus(COMP$
|
|
27413
|
-
lostFocus: dLostFocus(COMP$
|
|
27556
|
+
didChange: dDidChange(COMP$K),
|
|
27557
|
+
gotFocus: dGotFocus(COMP$K),
|
|
27558
|
+
lostFocus: dLostFocus(COMP$K)
|
|
27414
27559
|
},
|
|
27415
27560
|
apis: {
|
|
27416
27561
|
value: {
|
|
@@ -27436,7 +27581,7 @@ const FileInputMd = createMetadata({
|
|
|
27436
27581
|
themeVars: parseScssVar(styles$L.themeVars)
|
|
27437
27582
|
});
|
|
27438
27583
|
const fileInputRenderer = createComponentRenderer(
|
|
27439
|
-
COMP$
|
|
27584
|
+
COMP$K,
|
|
27440
27585
|
FileInputMd,
|
|
27441
27586
|
({ node, state, updateState, extractValue, lookupEventHandler, registerComponentApi, className }) => {
|
|
27442
27587
|
const iconName = extractValue.asOptionalString(node.props.buttonIcon) || DEFAULT_ICON;
|
|
@@ -27474,7 +27619,7 @@ const fileInputRenderer = createComponentRenderer(
|
|
|
27474
27619
|
);
|
|
27475
27620
|
}
|
|
27476
27621
|
);
|
|
27477
|
-
const COMP$
|
|
27622
|
+
const COMP$J = "Spinner";
|
|
27478
27623
|
const SpinnerMd = createMetadata({
|
|
27479
27624
|
status: "stable",
|
|
27480
27625
|
description: "`Spinner` is an animated indicator that represents an action in progress with no deterministic progress value.",
|
|
@@ -27492,13 +27637,13 @@ const SpinnerMd = createMetadata({
|
|
|
27492
27637
|
},
|
|
27493
27638
|
themeVars: parseScssVar(styles$1j.themeVars),
|
|
27494
27639
|
defaultThemeVars: {
|
|
27495
|
-
[`size-${COMP$
|
|
27496
|
-
[`thickness-${COMP$
|
|
27497
|
-
[`borderColor-${COMP$
|
|
27640
|
+
[`size-${COMP$J}`]: "$space-10",
|
|
27641
|
+
[`thickness-${COMP$J}`]: "$space-0_5",
|
|
27642
|
+
[`borderColor-${COMP$J}`]: "$color-surface-400"
|
|
27498
27643
|
}
|
|
27499
27644
|
});
|
|
27500
27645
|
const spinnerComponentRenderer = createComponentRenderer(
|
|
27501
|
-
COMP$
|
|
27646
|
+
COMP$J,
|
|
27502
27647
|
SpinnerMd,
|
|
27503
27648
|
({ node, className, extractValue }) => {
|
|
27504
27649
|
return /* @__PURE__ */ jsx(
|
|
@@ -27511,7 +27656,7 @@ const spinnerComponentRenderer = createComponentRenderer(
|
|
|
27511
27656
|
);
|
|
27512
27657
|
}
|
|
27513
27658
|
);
|
|
27514
|
-
const COMP$
|
|
27659
|
+
const COMP$I = "Select";
|
|
27515
27660
|
const SelectMd = createMetadata({
|
|
27516
27661
|
status: "stable",
|
|
27517
27662
|
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.",
|
|
@@ -27548,9 +27693,9 @@ const SelectMd = createMetadata({
|
|
|
27548
27693
|
},
|
|
27549
27694
|
label: dLabel(),
|
|
27550
27695
|
labelPosition: dLabelPosition("top"),
|
|
27551
|
-
labelWidth: dLabelWidth(COMP$
|
|
27696
|
+
labelWidth: dLabelWidth(COMP$I),
|
|
27552
27697
|
labelBreak: {
|
|
27553
|
-
...dLabelBreak(COMP$
|
|
27698
|
+
...dLabelBreak(COMP$I),
|
|
27554
27699
|
defaultValue: defaultProps$F.labelBreak
|
|
27555
27700
|
},
|
|
27556
27701
|
optionLabelTemplate: dComponent(
|
|
@@ -27586,24 +27731,24 @@ const SelectMd = createMetadata({
|
|
|
27586
27731
|
}
|
|
27587
27732
|
},
|
|
27588
27733
|
events: {
|
|
27589
|
-
gotFocus: dGotFocus(COMP$
|
|
27590
|
-
lostFocus: dLostFocus(COMP$
|
|
27591
|
-
didChange: dDidChange(COMP$
|
|
27734
|
+
gotFocus: dGotFocus(COMP$I),
|
|
27735
|
+
lostFocus: dLostFocus(COMP$I),
|
|
27736
|
+
didChange: dDidChange(COMP$I)
|
|
27592
27737
|
},
|
|
27593
27738
|
apis: {
|
|
27594
27739
|
focus: {
|
|
27595
|
-
description: `This method focuses the \`${COMP$
|
|
27740
|
+
description: `This method focuses the \`${COMP$I}\` component. You can use it to programmatically focus the component.`,
|
|
27596
27741
|
signature: "focus(): void"
|
|
27597
27742
|
},
|
|
27598
27743
|
setValue: {
|
|
27599
|
-
description: `This API sets the value of the \`${COMP$
|
|
27744
|
+
description: `This API sets the value of the \`${COMP$I}\`. You can use it to programmatically change the value.`,
|
|
27600
27745
|
signature: "setValue(value: string | string[] | undefined): void",
|
|
27601
27746
|
parameters: {
|
|
27602
27747
|
value: "The new value to set. Can be a single value or an array of values for multi-select."
|
|
27603
27748
|
}
|
|
27604
27749
|
},
|
|
27605
27750
|
value: {
|
|
27606
|
-
description: `This API retrieves the current value of the \`${COMP$
|
|
27751
|
+
description: `This API retrieves the current value of the \`${COMP$I}\`. You can use it to get the value programmatically.`,
|
|
27607
27752
|
signature: "get value(): string | string[] | undefined"
|
|
27608
27753
|
},
|
|
27609
27754
|
reset: {
|
|
@@ -27617,35 +27762,35 @@ const SelectMd = createMetadata({
|
|
|
27617
27762
|
},
|
|
27618
27763
|
themeVars: parseScssVar(styles$J.themeVars),
|
|
27619
27764
|
defaultThemeVars: {
|
|
27620
|
-
[`backgroundColor-menu-${COMP$
|
|
27621
|
-
[`boxShadow-menu-${COMP$
|
|
27622
|
-
[`borderRadius-menu-${COMP$
|
|
27623
|
-
[`borderWidth-menu-${COMP$
|
|
27624
|
-
[`borderColor-menu-${COMP$
|
|
27625
|
-
[`backgroundColor-${COMP$
|
|
27626
|
-
[`fontSize-${COMP$
|
|
27627
|
-
[`paddingHorizontal-${COMP$
|
|
27628
|
-
[`paddingVertical-${COMP$
|
|
27629
|
-
[`borderRadius-${COMP$
|
|
27630
|
-
[`paddingHorizontal-item-${COMP$
|
|
27631
|
-
[`paddingVertical-item-${COMP$
|
|
27632
|
-
[`paddingHorizontal-${COMP$
|
|
27633
|
-
[`paddingVertical-${COMP$
|
|
27634
|
-
[`opacity-text-item-${COMP$
|
|
27635
|
-
[`opacity-${COMP$
|
|
27636
|
-
[`backgroundColor-${COMP$
|
|
27637
|
-
[`backgroundColor-${COMP$
|
|
27638
|
-
[`textColor-item-${COMP$
|
|
27639
|
-
[`textColor-${COMP$
|
|
27640
|
-
[`backgroundColor-item-${COMP$
|
|
27641
|
-
[`backgroundColor-item-${COMP$
|
|
27642
|
-
[`backgroundColor-item-${COMP$
|
|
27765
|
+
[`backgroundColor-menu-${COMP$I}`]: "$color-surface-raised",
|
|
27766
|
+
[`boxShadow-menu-${COMP$I}`]: "$boxShadow-md",
|
|
27767
|
+
[`borderRadius-menu-${COMP$I}`]: "$borderRadius",
|
|
27768
|
+
[`borderWidth-menu-${COMP$I}`]: "1px",
|
|
27769
|
+
[`borderColor-menu-${COMP$I}`]: "$borderColor",
|
|
27770
|
+
[`backgroundColor-${COMP$I}-badge`]: "$color-primary-500",
|
|
27771
|
+
[`fontSize-${COMP$I}-badge`]: "$fontSize-sm",
|
|
27772
|
+
[`paddingHorizontal-${COMP$I}-badge`]: "$space-2_5",
|
|
27773
|
+
[`paddingVertical-${COMP$I}-badge`]: "$space-0_5",
|
|
27774
|
+
[`borderRadius-${COMP$I}-badge`]: "$borderRadius",
|
|
27775
|
+
[`paddingHorizontal-item-${COMP$I}`]: "$space-2",
|
|
27776
|
+
[`paddingVertical-item-${COMP$I}`]: "$space-2",
|
|
27777
|
+
[`paddingHorizontal-${COMP$I}`]: "$space-2",
|
|
27778
|
+
[`paddingVertical-${COMP$I}`]: "$space-2",
|
|
27779
|
+
[`opacity-text-item-${COMP$I}--disabled`]: "0.5",
|
|
27780
|
+
[`opacity-${COMP$I}--disabled`]: "0.5",
|
|
27781
|
+
[`backgroundColor-${COMP$I}-badge--hover`]: "$color-primary-400",
|
|
27782
|
+
[`backgroundColor-${COMP$I}-badge--active`]: "$color-primary-500",
|
|
27783
|
+
[`textColor-item-${COMP$I}--disabled`]: "$color-surface-200",
|
|
27784
|
+
[`textColor-${COMP$I}-badge`]: "$color-surface-50",
|
|
27785
|
+
[`backgroundColor-item-${COMP$I}`]: "$backgroundColor-dropdown-item",
|
|
27786
|
+
[`backgroundColor-item-${COMP$I}--hover`]: "$backgroundColor-dropdown-item--hover",
|
|
27787
|
+
[`backgroundColor-item-${COMP$I}--active`]: "$backgroundColor-dropdown-item--active",
|
|
27643
27788
|
// Default borderColor-Input--disabled is too light so the disabled component is barely visible
|
|
27644
|
-
[`borderColor-${COMP$
|
|
27789
|
+
[`borderColor-${COMP$I}--disabled`]: "initial"
|
|
27645
27790
|
}
|
|
27646
27791
|
});
|
|
27647
27792
|
const selectComponentRenderer = createComponentRenderer(
|
|
27648
|
-
COMP$
|
|
27793
|
+
COMP$I,
|
|
27649
27794
|
SelectMd,
|
|
27650
27795
|
({
|
|
27651
27796
|
node,
|
|
@@ -27721,14 +27866,95 @@ const selectComponentRenderer = createComponentRenderer(
|
|
|
27721
27866
|
);
|
|
27722
27867
|
}
|
|
27723
27868
|
);
|
|
27724
|
-
|
|
27725
|
-
|
|
27726
|
-
|
|
27727
|
-
|
|
27869
|
+
var component = {
|
|
27870
|
+
name: "FormSection",
|
|
27871
|
+
component: {
|
|
27872
|
+
type: "VStack",
|
|
27873
|
+
debug: {
|
|
27874
|
+
source: {
|
|
27875
|
+
start: 30,
|
|
27876
|
+
end: 684,
|
|
27877
|
+
fileId: "0"
|
|
27878
|
+
}
|
|
27879
|
+
},
|
|
27880
|
+
props: {
|
|
27881
|
+
paddingBottom: "{$props.paddingBottom ?? '1rem'}",
|
|
27882
|
+
gap: "0"
|
|
27883
|
+
},
|
|
27884
|
+
children: [
|
|
27885
|
+
{
|
|
27886
|
+
type: "Heading",
|
|
27887
|
+
debug: {
|
|
27888
|
+
source: {
|
|
27889
|
+
start: 98,
|
|
27890
|
+
end: 308,
|
|
27891
|
+
fileId: "0"
|
|
27892
|
+
}
|
|
27893
|
+
},
|
|
27894
|
+
when: "{!!$props.heading}",
|
|
27895
|
+
props: {
|
|
27896
|
+
marginBottom: "$space-tight",
|
|
27897
|
+
level: "{$props.headingLevel ?? 'h3'}",
|
|
27898
|
+
fontWeight: "{$props.headingWeight ?? 'bold'}",
|
|
27899
|
+
value: "{$props.heading}"
|
|
27900
|
+
}
|
|
27901
|
+
},
|
|
27902
|
+
{
|
|
27903
|
+
type: "Text",
|
|
27904
|
+
debug: {
|
|
27905
|
+
source: {
|
|
27906
|
+
start: 308,
|
|
27907
|
+
end: 465,
|
|
27908
|
+
fileId: "0"
|
|
27909
|
+
}
|
|
27910
|
+
},
|
|
27911
|
+
when: "{!!$props.info}",
|
|
27912
|
+
props: {
|
|
27913
|
+
fontSize: "{$props.infoFontSize ?? '0.8rem'}",
|
|
27914
|
+
paddingBottom: "$space-normal",
|
|
27915
|
+
value: "{$props.info}"
|
|
27916
|
+
}
|
|
27917
|
+
},
|
|
27918
|
+
{
|
|
27919
|
+
type: "FlowLayout",
|
|
27920
|
+
debug: {
|
|
27921
|
+
source: {
|
|
27922
|
+
start: 465,
|
|
27923
|
+
end: 672,
|
|
27924
|
+
fileId: "0"
|
|
27925
|
+
}
|
|
27926
|
+
},
|
|
27927
|
+
props: {
|
|
27928
|
+
paddingTop: "{$props.paddingTop ?? '$space-normal'}",
|
|
27929
|
+
columnGap: "{$props.columnGap ?? '3rem'}",
|
|
27930
|
+
rowGap: "{$props.rowGap ?? '$space-normal'}"
|
|
27931
|
+
},
|
|
27932
|
+
children: [
|
|
27933
|
+
{
|
|
27934
|
+
type: "Slot",
|
|
27935
|
+
debug: {
|
|
27936
|
+
source: {
|
|
27937
|
+
start: 639,
|
|
27938
|
+
end: 654,
|
|
27939
|
+
fileId: "0"
|
|
27940
|
+
}
|
|
27941
|
+
}
|
|
27942
|
+
}
|
|
27943
|
+
]
|
|
27944
|
+
}
|
|
27945
|
+
]
|
|
27946
|
+
},
|
|
27947
|
+
debug: {
|
|
27948
|
+
source: {
|
|
27949
|
+
start: 0,
|
|
27950
|
+
end: 697,
|
|
27951
|
+
fileId: "0"
|
|
27952
|
+
}
|
|
27728
27953
|
}
|
|
27729
|
-
|
|
27730
|
-
|
|
27731
|
-
|
|
27954
|
+
};
|
|
27955
|
+
const componentSource = {
|
|
27956
|
+
component
|
|
27957
|
+
};
|
|
27732
27958
|
const FormSectionMd = createMetadata({
|
|
27733
27959
|
status: "experimental",
|
|
27734
27960
|
description: "`FormSection` groups elements within a `Form`. Child components are placed in a [FlowLayout](/components/FlowLayout).",
|
|
@@ -27773,34 +27999,10 @@ const FormSectionMd = createMetadata({
|
|
|
27773
27999
|
}
|
|
27774
28000
|
}
|
|
27775
28001
|
});
|
|
27776
|
-
const
|
|
27777
|
-
|
|
27778
|
-
|
|
27779
|
-
|
|
27780
|
-
when="{!!$props.heading}"
|
|
27781
|
-
marginBottom="$space-tight"
|
|
27782
|
-
level="{$props.headingLevel ?? 'h3'}"
|
|
27783
|
-
fontWeight="{$props.headingWeight ?? 'bold'}"
|
|
27784
|
-
value="{$props.heading}" />
|
|
27785
|
-
<Text
|
|
27786
|
-
when="{!!$props.info}"
|
|
27787
|
-
fontSize="{$props.infoFontSize ?? '0.8rem'}"
|
|
27788
|
-
paddingBottom="$space-normal"
|
|
27789
|
-
value="{$props.info}" />
|
|
27790
|
-
<FlowLayout
|
|
27791
|
-
width="100%"
|
|
27792
|
-
paddingTop="{$props.paddingTop ?? '$space-normal'}"
|
|
27793
|
-
columnGap="{$props.columnGap ?? '3rem'}"
|
|
27794
|
-
rowGap="{$props.rowGap ?? '$space-normal'}" >
|
|
27795
|
-
<Slot />
|
|
27796
|
-
</FlowLayout>
|
|
27797
|
-
</VStack>
|
|
27798
|
-
</Component>
|
|
27799
|
-
`;
|
|
27800
|
-
const formSectionRenderer = {
|
|
27801
|
-
compoundComponentDef: compoundComponentDefFromSource(COMP$I, componentSource),
|
|
27802
|
-
metadata: FormSectionMd
|
|
27803
|
-
};
|
|
28002
|
+
const formSectionRenderer = createUserDefinedComponentRenderer(
|
|
28003
|
+
FormSectionMd,
|
|
28004
|
+
componentSource
|
|
28005
|
+
);
|
|
27804
28006
|
const defaultProps$o = {
|
|
27805
28007
|
...defaultProps$$,
|
|
27806
28008
|
labelPosition: "end"
|
|
@@ -36030,6 +36232,8 @@ const SliderMd = createMetadata({
|
|
|
36030
36232
|
[`borderStyle-thumb-${COMP$p}`]: "solid",
|
|
36031
36233
|
[`borderColor-thumb-${COMP$p}`]: "$color-surface-50",
|
|
36032
36234
|
[`backgroundColor-thumb-${COMP$p}`]: "$color-primary",
|
|
36235
|
+
[`backgroundColor-thumb-${COMP$p}--focus`]: "$color-primary",
|
|
36236
|
+
[`boxShadow-thumb-${COMP$p}--focus`]: "0 0 0 6px rgb(from $color-primary r g b / 0.4)",
|
|
36033
36237
|
[`backgroundColor-thumb-${COMP$p}--hover`]: "$color-primary",
|
|
36034
36238
|
[`boxShadow-thumb-${COMP$p}--hover`]: "0 0 0 6px rgb(from $color-primary r g b / 0.4)",
|
|
36035
36239
|
[`backgroundColor-thumb-${COMP$p}--active`]: "$color-primary-400",
|
|
@@ -36220,8 +36424,8 @@ const CarouselComponent = forwardRef(function CarouselComponent2({
|
|
|
36220
36424
|
},
|
|
36221
36425
|
plugins
|
|
36222
36426
|
);
|
|
36223
|
-
const prevIconName = prevIcon || orientation === "horizontal" ? "arrowleft" : "arrowup";
|
|
36224
|
-
const nextIconName = nextIcon || orientation === "horizontal" ? "arrowright" : "arrowdown";
|
|
36427
|
+
const prevIconName = prevIcon || (orientation === "horizontal" ? "arrowleft" : "arrowup");
|
|
36428
|
+
const nextIconName = nextIcon || (orientation === "horizontal" ? "arrowright" : "arrowdown");
|
|
36225
36429
|
useEffect(() => {
|
|
36226
36430
|
if (autoplay) {
|
|
36227
36431
|
setPlugins([
|
|
@@ -41952,21 +42156,23 @@ class ComponentRegistry {
|
|
|
41952
42156
|
(_a3 = extension.components) == null ? void 0 : _a3.forEach((c) => {
|
|
41953
42157
|
if ("type" in c) {
|
|
41954
42158
|
this.registerComponentRenderer(c, extension.namespace);
|
|
42159
|
+
} else if ("compoundComponentDef" in c) {
|
|
42160
|
+
this.registerCompoundComponentRenderer(c, extension.namespace);
|
|
41955
42161
|
}
|
|
41956
42162
|
});
|
|
41957
42163
|
};
|
|
41958
|
-
this.registerCoreComponent = (
|
|
41959
|
-
if ("compoundComponentDef" in
|
|
41960
|
-
this.registerCompoundComponentRenderer(
|
|
42164
|
+
this.registerCoreComponent = (component2) => {
|
|
42165
|
+
if ("compoundComponentDef" in component2) {
|
|
42166
|
+
this.registerCompoundComponentRenderer(component2, CORE_NS);
|
|
41961
42167
|
} else {
|
|
41962
|
-
this.registerComponentRenderer(
|
|
42168
|
+
this.registerComponentRenderer(component2, CORE_NS);
|
|
41963
42169
|
}
|
|
41964
42170
|
};
|
|
41965
|
-
this.registerAppComponent = (
|
|
41966
|
-
if ("compoundComponentDef" in
|
|
41967
|
-
this.registerCompoundComponentRenderer(
|
|
42171
|
+
this.registerAppComponent = (component2) => {
|
|
42172
|
+
if ("compoundComponentDef" in component2) {
|
|
42173
|
+
this.registerCompoundComponentRenderer(component2, APP_NS);
|
|
41968
42174
|
} else {
|
|
41969
|
-
this.registerComponentRenderer(
|
|
42175
|
+
this.registerComponentRenderer(component2, APP_NS);
|
|
41970
42176
|
}
|
|
41971
42177
|
};
|
|
41972
42178
|
this.registerComponentRenderer = ({
|
|
@@ -41975,7 +42181,7 @@ class ComponentRegistry {
|
|
|
41975
42181
|
metadata,
|
|
41976
42182
|
isCompoundComponent
|
|
41977
42183
|
}, namespace) => {
|
|
41978
|
-
const
|
|
42184
|
+
const component2 = {
|
|
41979
42185
|
renderer,
|
|
41980
42186
|
descriptor: metadata,
|
|
41981
42187
|
isCompoundComponent
|
|
@@ -41984,7 +42190,7 @@ class ComponentRegistry {
|
|
|
41984
42190
|
if (!this.pool.has(namespace)) {
|
|
41985
42191
|
this.pool.set(namespace, /* @__PURE__ */ new Map());
|
|
41986
42192
|
}
|
|
41987
|
-
this.pool.get(namespace).set(type,
|
|
42193
|
+
this.pool.get(namespace).set(type, component2);
|
|
41988
42194
|
this.namePool.set(fullName, { name: type, namespace });
|
|
41989
42195
|
if (metadata == null ? void 0 : metadata.themeVars) {
|
|
41990
42196
|
Object.keys(metadata.themeVars).forEach((key) => this.themeVars.add(key));
|
|
@@ -42517,14 +42723,14 @@ class ComponentRegistry {
|
|
|
42517
42723
|
}
|
|
42518
42724
|
// --- Registers a compound component using its definition and metadata
|
|
42519
42725
|
registerCompoundComponentRenderer({ compoundComponentDef, metadata }, namespace) {
|
|
42520
|
-
const
|
|
42726
|
+
const component2 = {
|
|
42521
42727
|
type: compoundComponentDef.name,
|
|
42522
42728
|
renderer: (rendererContext) => {
|
|
42523
42729
|
return /* @__PURE__ */ jsx(
|
|
42524
42730
|
CompoundComponent,
|
|
42525
42731
|
{
|
|
42526
42732
|
api: compoundComponentDef.api,
|
|
42527
|
-
scriptCollected: compoundComponentDef.scriptCollected,
|
|
42733
|
+
scriptCollected: compoundComponentDef.component.scriptCollected,
|
|
42528
42734
|
compound: compoundComponentDef.component,
|
|
42529
42735
|
...rendererContext
|
|
42530
42736
|
}
|
|
@@ -42533,7 +42739,7 @@ class ComponentRegistry {
|
|
|
42533
42739
|
isCompoundComponent: true,
|
|
42534
42740
|
metadata
|
|
42535
42741
|
};
|
|
42536
|
-
this.registerComponentRenderer(
|
|
42742
|
+
this.registerComponentRenderer(component2, namespace);
|
|
42537
42743
|
}
|
|
42538
42744
|
// --- Registers an action function using its definition
|
|
42539
42745
|
registerActionFn({ actionName: functionName, actionFn }) {
|
|
@@ -43421,7 +43627,7 @@ function IconProvider({ children }) {
|
|
|
43421
43627
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
43422
43628
|
] });
|
|
43423
43629
|
}
|
|
43424
|
-
const version = "0.10.
|
|
43630
|
+
const version = "0.10.14";
|
|
43425
43631
|
const miscellaneousUtils = {
|
|
43426
43632
|
capitalize,
|
|
43427
43633
|
pluralize: pluralize$1,
|
|
@@ -48087,8 +48293,8 @@ const ComponentViewer = () => {
|
|
|
48087
48293
|
if (!projectCompilation) {
|
|
48088
48294
|
return [];
|
|
48089
48295
|
}
|
|
48090
|
-
return projectCompilation.components.map((
|
|
48091
|
-
return
|
|
48296
|
+
return projectCompilation.components.map((component2) => {
|
|
48297
|
+
return component2.markupSource;
|
|
48092
48298
|
});
|
|
48093
48299
|
}, [projectCompilation]);
|
|
48094
48300
|
const value = useMemo(() => {
|
|
@@ -48331,23 +48537,23 @@ function checkXmlUiMarkup(rootDef, components, metadataHandler, devMode) {
|
|
|
48331
48537
|
visitComponent(rootDef, null, componentDefVisitor, continuation, metadataHandler);
|
|
48332
48538
|
}
|
|
48333
48539
|
if (!continuation.abort) {
|
|
48334
|
-
for (const
|
|
48335
|
-
if (!isValidIdentifier(
|
|
48336
|
-
reportError("M007", "Component",
|
|
48540
|
+
for (const component2 of components) {
|
|
48541
|
+
if (!isValidIdentifier(component2.name)) {
|
|
48542
|
+
reportError("M007", "Component", component2.name);
|
|
48337
48543
|
}
|
|
48338
|
-
if (
|
|
48339
|
-
reportError("M008", "Component",
|
|
48544
|
+
if (component2.name === "Component") {
|
|
48545
|
+
reportError("M008", "Component", component2.name);
|
|
48340
48546
|
}
|
|
48341
|
-
if (metadataHandler.componentRegistered(
|
|
48342
|
-
reportError("M009", "Component",
|
|
48547
|
+
if (metadataHandler.componentRegistered(component2.name)) {
|
|
48548
|
+
reportError("M009", "Component", component2.name);
|
|
48343
48549
|
}
|
|
48344
|
-
if (compoundIdsCollected.has(
|
|
48345
|
-
reportError("M010", "Component",
|
|
48550
|
+
if (compoundIdsCollected.has(component2.name)) {
|
|
48551
|
+
reportError("M010", "Component", component2.name);
|
|
48346
48552
|
} else {
|
|
48347
|
-
compoundIdsCollected.add(
|
|
48553
|
+
compoundIdsCollected.add(component2.name);
|
|
48348
48554
|
}
|
|
48349
48555
|
componentIdsCollected.clear();
|
|
48350
|
-
visitComponent(
|
|
48556
|
+
visitComponent(component2.component, null, componentDefVisitor, continuation, metadataHandler);
|
|
48351
48557
|
}
|
|
48352
48558
|
}
|
|
48353
48559
|
return errorsCollected;
|
|
@@ -48530,8 +48736,8 @@ class StandaloneExtensionManager {
|
|
|
48530
48736
|
*/
|
|
48531
48737
|
subscribeToRegistrations(cb) {
|
|
48532
48738
|
this.subscriptions.add(cb);
|
|
48533
|
-
this.registeredExtensions.forEach((
|
|
48534
|
-
cb(
|
|
48739
|
+
this.registeredExtensions.forEach((component2) => {
|
|
48740
|
+
cb(component2);
|
|
48535
48741
|
});
|
|
48536
48742
|
}
|
|
48537
48743
|
/**
|
|
@@ -48543,11 +48749,11 @@ class StandaloneExtensionManager {
|
|
|
48543
48749
|
unSubscribeFromRegistrations(cb) {
|
|
48544
48750
|
this.subscriptions.delete(cb);
|
|
48545
48751
|
}
|
|
48546
|
-
registerExtension(
|
|
48547
|
-
(Array.isArray(
|
|
48548
|
-
this.registeredExtensions.push(
|
|
48752
|
+
registerExtension(component2) {
|
|
48753
|
+
(Array.isArray(component2) ? component2 : [component2]).forEach((component22) => {
|
|
48754
|
+
this.registeredExtensions.push(component22);
|
|
48549
48755
|
this.subscriptions.forEach((cb) => {
|
|
48550
|
-
cb(
|
|
48756
|
+
cb(component22);
|
|
48551
48757
|
});
|
|
48552
48758
|
});
|
|
48553
48759
|
}
|
|
@@ -48941,16 +49147,16 @@ async function parseComponentMarkupResponse(response) {
|
|
|
48941
49147
|
}
|
|
48942
49148
|
const code = await response.text();
|
|
48943
49149
|
const fileId = response.url;
|
|
48944
|
-
let { component, errors, erroneousCompoundComponentName } = xmlUiMarkupToComponent(code, fileId);
|
|
49150
|
+
let { component: component2, errors, erroneousCompoundComponentName } = xmlUiMarkupToComponent(code, fileId);
|
|
48945
49151
|
if (errors.length > 0) {
|
|
48946
49152
|
const compName = erroneousCompoundComponentName ?? response.url.substring(
|
|
48947
49153
|
response.url.lastIndexOf("/") + 1,
|
|
48948
49154
|
response.url.length - ".xmlui".length
|
|
48949
49155
|
);
|
|
48950
|
-
|
|
49156
|
+
component2 = errReportComponent(errors, fileId, compName);
|
|
48951
49157
|
}
|
|
48952
49158
|
return {
|
|
48953
|
-
component,
|
|
49159
|
+
component: component2,
|
|
48954
49160
|
src: code,
|
|
48955
49161
|
file: fileId,
|
|
48956
49162
|
hasError: errors.length > 0
|
|
@@ -49571,18 +49777,18 @@ function discoverCompilationDependencies({
|
|
|
49571
49777
|
function discoverDirectComponentDependencies(entrypoint, registry) {
|
|
49572
49778
|
return discoverDirectComponentDependenciesHelp(entrypoint, registry, /* @__PURE__ */ new Set());
|
|
49573
49779
|
}
|
|
49574
|
-
function discoverDirectComponentDependenciesHelp(
|
|
49575
|
-
if (!
|
|
49780
|
+
function discoverDirectComponentDependenciesHelp(component2, registry, deps) {
|
|
49781
|
+
if (!component2) {
|
|
49576
49782
|
return deps;
|
|
49577
49783
|
}
|
|
49578
|
-
const compName =
|
|
49784
|
+
const compName = component2.type;
|
|
49579
49785
|
if (!registry.hasComponent(compName)) {
|
|
49580
49786
|
deps.add(compName);
|
|
49581
49787
|
}
|
|
49582
|
-
if (!
|
|
49788
|
+
if (!component2.children) {
|
|
49583
49789
|
return deps;
|
|
49584
49790
|
}
|
|
49585
|
-
for (const child of
|
|
49791
|
+
for (const child of component2.children) {
|
|
49586
49792
|
discoverDirectComponentDependenciesHelp(child, registry, deps);
|
|
49587
49793
|
}
|
|
49588
49794
|
return deps;
|
|
@@ -49590,51 +49796,52 @@ function discoverDirectComponentDependenciesHelp(component, registry, deps) {
|
|
|
49590
49796
|
export {
|
|
49591
49797
|
AppRoot as A,
|
|
49592
49798
|
Button as B,
|
|
49593
|
-
|
|
49594
|
-
|
|
49799
|
+
ApiInterceptorProvider as C,
|
|
49800
|
+
Spinner as D,
|
|
49595
49801
|
ErrorBoundary as E,
|
|
49596
|
-
|
|
49597
|
-
|
|
49598
|
-
|
|
49802
|
+
useThemes as F,
|
|
49803
|
+
builtInThemes as G,
|
|
49804
|
+
Text as H,
|
|
49599
49805
|
Icon as I,
|
|
49600
|
-
|
|
49601
|
-
|
|
49806
|
+
TextBox as J,
|
|
49807
|
+
ToneChangerButton as K,
|
|
49602
49808
|
LinkNative as L,
|
|
49603
|
-
|
|
49809
|
+
Logo as M,
|
|
49604
49810
|
NestedApp as N,
|
|
49605
|
-
|
|
49606
|
-
|
|
49607
|
-
|
|
49608
|
-
|
|
49811
|
+
Breakout as O,
|
|
49812
|
+
useSearchContextContent as P,
|
|
49813
|
+
useAppLayoutContext as Q,
|
|
49814
|
+
StyleProvider as R,
|
|
49609
49815
|
StandaloneApp as S,
|
|
49610
49816
|
ThrowStatementError as T,
|
|
49611
|
-
|
|
49817
|
+
StyleRegistry as U,
|
|
49612
49818
|
VisuallyHidden as V,
|
|
49613
|
-
|
|
49819
|
+
useEvent as W,
|
|
49820
|
+
StandaloneComponent as X,
|
|
49614
49821
|
dateFunctions as a,
|
|
49615
49822
|
StandaloneExtensionManager as b,
|
|
49616
49823
|
createComponentRenderer as c,
|
|
49617
49824
|
delay$1 as d,
|
|
49618
|
-
|
|
49619
|
-
|
|
49825
|
+
createUserDefinedComponentRenderer as e,
|
|
49826
|
+
createMetadata as f,
|
|
49620
49827
|
getDate as g,
|
|
49621
|
-
|
|
49622
|
-
|
|
49623
|
-
|
|
49624
|
-
|
|
49625
|
-
|
|
49828
|
+
d as h,
|
|
49829
|
+
dComponent as i,
|
|
49830
|
+
Stack as j,
|
|
49831
|
+
Splitter as k,
|
|
49832
|
+
getColor as l,
|
|
49626
49833
|
miscellaneousUtils as m,
|
|
49627
|
-
|
|
49834
|
+
TabItemComponent as n,
|
|
49628
49835
|
orderBy as o,
|
|
49629
49836
|
parseScssVar as p,
|
|
49630
|
-
|
|
49837
|
+
Tabs as q,
|
|
49631
49838
|
runEventHandlerCode as r,
|
|
49632
49839
|
startApp as s,
|
|
49633
|
-
|
|
49840
|
+
useColors as t,
|
|
49634
49841
|
useTheme as u,
|
|
49635
|
-
|
|
49636
|
-
|
|
49637
|
-
|
|
49638
|
-
|
|
49639
|
-
|
|
49842
|
+
toCssVar$1 as v,
|
|
49843
|
+
useDevTools as w,
|
|
49844
|
+
useLogger as x,
|
|
49845
|
+
errReportComponent as y,
|
|
49846
|
+
xmlUiMarkupToComponent as z
|
|
49640
49847
|
};
|