xmlui 0.11.8 → 0.11.10
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-Sebt9Sqs.js → index-DfOJVz5h.js} +124 -53
- package/dist/lib/index.css +1 -1
- package/dist/lib/{initMock-DscB1vh1.js → initMock-DZD5kuk6.js} +1 -1
- package/dist/lib/xmlui.d.ts +2 -1
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-CTUU7sdt.js → collectedComponentMetadata-BzigLDo6.js} +124 -53
- package/dist/metadata/{initMock-yTa1A5M3.js → initMock-JW5A3SpD.js} +1 -1
- package/dist/metadata/xmlui-metadata.css +1 -1
- package/dist/metadata/xmlui-metadata.js +1 -1
- package/dist/metadata/xmlui-metadata.umd.cjs +3 -3
- package/dist/standalone/xmlui-standalone.es.d.ts +4 -2
- package/dist/standalone/xmlui-standalone.umd.js +35 -35
- package/package.json +1 -1
|
@@ -4008,7 +4008,7 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
4008
4008
|
inputRef.current?.focus();
|
|
4009
4009
|
}, 0);
|
|
4010
4010
|
}
|
|
4011
|
-
}, [autoFocus
|
|
4011
|
+
}, [autoFocus]);
|
|
4012
4012
|
const handleCopy = (event) => {
|
|
4013
4013
|
if (allowCopy) {
|
|
4014
4014
|
return true;
|
|
@@ -4321,23 +4321,24 @@ function getComposedRef(...refs) {
|
|
|
4321
4321
|
return composeRefs(...nonUndefinedRefs);
|
|
4322
4322
|
}
|
|
4323
4323
|
const themeVars$U = `'{"width-navPanel-App": "var(--xmlui-width-navPanel-App)", "backgroundColor-navPanel-App": "var(--xmlui-backgroundColor-navPanel-App)", "boxShadow-header-App": "var(--xmlui-boxShadow-header-App)", "boxShadow-navPanel-App": "var(--xmlui-boxShadow-navPanel-App)", "backgroundColor-content-App": "var(--xmlui-backgroundColor-content-App)", "borderLeft-content-App": "var(--xmlui-borderLeft-content-App)", "maxWidth-content-App": "var(--xmlui-maxWidth-content-App)", "maxWidth-App": "var(--xmlui-maxWidth-App)", "backgroundColor-AppHeader": "var(--xmlui-backgroundColor-AppHeader)", "borderBottom-AppHeader": "var(--xmlui-borderBottom-AppHeader)", "scroll-padding-block-Pages": "var(--xmlui-scroll-padding-block-Pages)"}'`;
|
|
4324
|
-
const wrapper$l = "
|
|
4325
|
-
const verticalFullHeader = "
|
|
4326
|
-
const navPanelWrapper = "
|
|
4327
|
-
const vertical$5 = "
|
|
4328
|
-
const contentWrapper$2 = "
|
|
4329
|
-
const noScrollbarGutters = "
|
|
4330
|
-
const PagesWrapper = "
|
|
4331
|
-
const footerWrapper = "
|
|
4332
|
-
const sticky = "
|
|
4333
|
-
const nonSticky = "
|
|
4334
|
-
const horizontal$5 = "
|
|
4335
|
-
const headerWrapper$1 = "
|
|
4336
|
-
const desktop = "
|
|
4337
|
-
const PagesWrapperInner = "
|
|
4338
|
-
const
|
|
4339
|
-
const
|
|
4340
|
-
const
|
|
4324
|
+
const wrapper$l = "_wrapper_188ri_15";
|
|
4325
|
+
const verticalFullHeader = "_verticalFullHeader_188ri_15";
|
|
4326
|
+
const navPanelWrapper = "_navPanelWrapper_188ri_15";
|
|
4327
|
+
const vertical$5 = "_vertical_188ri_15";
|
|
4328
|
+
const contentWrapper$2 = "_contentWrapper_188ri_33";
|
|
4329
|
+
const noScrollbarGutters = "_noScrollbarGutters_188ri_39";
|
|
4330
|
+
const PagesWrapper = "_PagesWrapper_188ri_46";
|
|
4331
|
+
const footerWrapper = "_footerWrapper_188ri_50";
|
|
4332
|
+
const sticky = "_sticky_188ri_53";
|
|
4333
|
+
const nonSticky = "_nonSticky_188ri_57";
|
|
4334
|
+
const horizontal$5 = "_horizontal_188ri_60";
|
|
4335
|
+
const headerWrapper$1 = "_headerWrapper_188ri_86";
|
|
4336
|
+
const desktop = "_desktop_188ri_92";
|
|
4337
|
+
const PagesWrapperInner = "_PagesWrapperInner_188ri_150";
|
|
4338
|
+
const noFooter = "_noFooter_188ri_208";
|
|
4339
|
+
const scrollWholePage = "_scrollWholePage_188ri_234";
|
|
4340
|
+
const content$7 = "_content_188ri_33";
|
|
4341
|
+
const withDefaultContentPadding = "_withDefaultContentPadding_188ri_348";
|
|
4341
4342
|
const styles$1c = {
|
|
4342
4343
|
themeVars: themeVars$U,
|
|
4343
4344
|
wrapper: wrapper$l,
|
|
@@ -4354,6 +4355,7 @@ const styles$1c = {
|
|
|
4354
4355
|
headerWrapper: headerWrapper$1,
|
|
4355
4356
|
desktop,
|
|
4356
4357
|
PagesWrapperInner,
|
|
4358
|
+
noFooter,
|
|
4357
4359
|
scrollWholePage,
|
|
4358
4360
|
content: content$7,
|
|
4359
4361
|
withDefaultContentPadding
|
|
@@ -4592,7 +4594,7 @@ const Image = forwardRef(function Img({
|
|
|
4592
4594
|
setBlobUrl(null);
|
|
4593
4595
|
}
|
|
4594
4596
|
}
|
|
4595
|
-
}, [src, blobToRender]);
|
|
4597
|
+
}, [src, blobToRender, blobUrl]);
|
|
4596
4598
|
src = safeConvertPropToString(src);
|
|
4597
4599
|
alt = safeConvertPropToString(alt);
|
|
4598
4600
|
const imageSrc = src || blobUrl;
|
|
@@ -6396,7 +6398,7 @@ function evalFunctionInvocation(evaluator, thisStack, expr, evalContext, thread)
|
|
|
6396
6398
|
thisStack.push(value);
|
|
6397
6399
|
return value;
|
|
6398
6400
|
}
|
|
6399
|
-
function createArrowFunction(evaluator, expr
|
|
6401
|
+
function createArrowFunction(evaluator, expr) {
|
|
6400
6402
|
return (...args) => {
|
|
6401
6403
|
const runTimeEvalContext = args[1];
|
|
6402
6404
|
const runtimeThread = args[2];
|
|
@@ -7430,6 +7432,7 @@ function App({
|
|
|
7430
7432
|
{
|
|
7431
7433
|
[styles$1c.scrollWholePage]: scrollWholePage2,
|
|
7432
7434
|
[styles$1c.noScrollbarGutters]: noScrollbarGutters2,
|
|
7435
|
+
[styles$1c.noFooter]: !footerSticky,
|
|
7433
7436
|
"media-large": mediaSize.largeScreen,
|
|
7434
7437
|
"media-small": mediaSize.smallScreen,
|
|
7435
7438
|
"media-desktop": mediaSize.desktop,
|
|
@@ -7904,7 +7907,8 @@ const defaultProps$18 = {
|
|
|
7904
7907
|
iconHorizontalExpanded: "chevronright",
|
|
7905
7908
|
iconHorizontalCollapsed: "chevronright",
|
|
7906
7909
|
iconVerticalExpanded: "chevrondown",
|
|
7907
|
-
iconVerticalCollapsed: "chevronright"
|
|
7910
|
+
iconVerticalCollapsed: "chevronright",
|
|
7911
|
+
noIndicator: false
|
|
7908
7912
|
};
|
|
7909
7913
|
const NavGroup = forwardRef(function NavGroup2({
|
|
7910
7914
|
node,
|
|
@@ -7915,6 +7919,7 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
7915
7919
|
to,
|
|
7916
7920
|
disabled: disabled2 = false,
|
|
7917
7921
|
initiallyExpanded = false,
|
|
7922
|
+
noIndicator = defaultProps$18.noIndicator,
|
|
7918
7923
|
iconHorizontalCollapsed,
|
|
7919
7924
|
iconHorizontalExpanded,
|
|
7920
7925
|
iconVerticalCollapsed,
|
|
@@ -7959,7 +7964,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
7959
7964
|
renderChild: renderChild2,
|
|
7960
7965
|
ref,
|
|
7961
7966
|
initiallyExpanded,
|
|
7962
|
-
disabled: disabled2
|
|
7967
|
+
disabled: disabled2,
|
|
7968
|
+
noIndicator
|
|
7963
7969
|
}
|
|
7964
7970
|
) : /* @__PURE__ */ jsx(
|
|
7965
7971
|
DropDownNavGroup,
|
|
@@ -7972,7 +7978,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
7972
7978
|
ref,
|
|
7973
7979
|
to,
|
|
7974
7980
|
initiallyExpanded,
|
|
7975
|
-
disabled: disabled2
|
|
7981
|
+
disabled: disabled2,
|
|
7982
|
+
noIndicator
|
|
7976
7983
|
}
|
|
7977
7984
|
) });
|
|
7978
7985
|
});
|
|
@@ -7985,6 +7992,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
7985
7992
|
to,
|
|
7986
7993
|
initiallyExpanded = false,
|
|
7987
7994
|
disabled: disabled2 = false,
|
|
7995
|
+
noIndicator = false,
|
|
7988
7996
|
...rest
|
|
7989
7997
|
}, ref) {
|
|
7990
7998
|
const { level, iconVerticalCollapsed, iconVerticalExpanded, layoutIsVertical } = useContext(NavGroupContext);
|
|
@@ -8016,6 +8024,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
8016
8024
|
icon: icon2,
|
|
8017
8025
|
to,
|
|
8018
8026
|
disabled: disabled2,
|
|
8027
|
+
noIndicator,
|
|
8019
8028
|
"aria-expanded": expanded2,
|
|
8020
8029
|
children: [
|
|
8021
8030
|
label2,
|
|
@@ -8044,6 +8053,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8044
8053
|
to,
|
|
8045
8054
|
disabled: disabled2 = false,
|
|
8046
8055
|
initiallyExpanded = false,
|
|
8056
|
+
noIndicator = false,
|
|
8047
8057
|
...rest
|
|
8048
8058
|
}, ref) {
|
|
8049
8059
|
const {
|
|
@@ -8082,6 +8092,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8082
8092
|
vertical: level >= 1,
|
|
8083
8093
|
to,
|
|
8084
8094
|
disabled: disabled2,
|
|
8095
|
+
noIndicator,
|
|
8085
8096
|
children: [
|
|
8086
8097
|
label2,
|
|
8087
8098
|
/* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
|
|
@@ -8135,7 +8146,8 @@ const NavGroupContext = createContext({
|
|
|
8135
8146
|
});
|
|
8136
8147
|
const defaultProps$17 = {
|
|
8137
8148
|
active: false,
|
|
8138
|
-
displayActive: true
|
|
8149
|
+
displayActive: true,
|
|
8150
|
+
noIndicator: false
|
|
8139
8151
|
};
|
|
8140
8152
|
const NavLink = forwardRef(function NavLink2({
|
|
8141
8153
|
/* eslint-disable react/prop-types */
|
|
@@ -8144,6 +8156,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8144
8156
|
disabled: disabled2,
|
|
8145
8157
|
to,
|
|
8146
8158
|
displayActive: displayActive2 = defaultProps$17.displayActive,
|
|
8159
|
+
noIndicator = defaultProps$17.noIndicator,
|
|
8147
8160
|
vertical: vertical2,
|
|
8148
8161
|
style: style2,
|
|
8149
8162
|
onClick,
|
|
@@ -8175,7 +8188,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8175
8188
|
const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, className, {
|
|
8176
8189
|
[navLinkStyles.disabled]: disabled2,
|
|
8177
8190
|
[navLinkStyles.vertical]: safeVertical,
|
|
8178
|
-
[navLinkStyles.includeHoverIndicator]: displayActive2,
|
|
8191
|
+
[navLinkStyles.includeHoverIndicator]: displayActive2 && !noIndicator,
|
|
8179
8192
|
[navLinkStyles.navItemActive]: displayActive2 && forceActive
|
|
8180
8193
|
});
|
|
8181
8194
|
let innerContent2 = /* @__PURE__ */ jsxs("div", { className: navLinkStyles.innerContent, children: [
|
|
@@ -8244,6 +8257,11 @@ const NavLinkMd = createMetadata({
|
|
|
8244
8257
|
valueType: "boolean",
|
|
8245
8258
|
defaultValue: defaultProps$17.displayActive
|
|
8246
8259
|
},
|
|
8260
|
+
noIndicator: {
|
|
8261
|
+
description: `This Boolean property controls whether to hide the visual indicator for active and hovered states. When set to \`true\`, the indicator line will not be displayed.`,
|
|
8262
|
+
valueType: "boolean",
|
|
8263
|
+
defaultValue: defaultProps$17.noIndicator
|
|
8264
|
+
},
|
|
8247
8265
|
icon: d(
|
|
8248
8266
|
`This property allows you to add an optional icon (specify the icon's name) to the navigation link.`
|
|
8249
8267
|
)
|
|
@@ -8265,7 +8283,9 @@ const NavLinkMd = createMetadata({
|
|
|
8265
8283
|
[`fontWeight-${COMP$1t}`]: "$fontWeight-normal",
|
|
8266
8284
|
[`fontFamily-${COMP$1t}`]: "$fontFamily",
|
|
8267
8285
|
[`textColor-${COMP$1t}`]: "$textColor-primary",
|
|
8268
|
-
[`
|
|
8286
|
+
[`textColor-${COMP$1t}--active`]: "$color-primary-500",
|
|
8287
|
+
[`fontWeight-${COMP$1t}--active`]: "$fontWeight-bold",
|
|
8288
|
+
[`fontWeight-${COMP$1t}--pressed`]: "$fontWeight-bold",
|
|
8269
8289
|
[`thickness-indicator-${COMP$1t}`]: "$space-0_5",
|
|
8270
8290
|
[`outlineColor-${COMP$1t}--focus`]: "$outlineColor--focus",
|
|
8271
8291
|
[`outlineWidth-${COMP$1t}--focus`]: "$outlineWidth--focus",
|
|
@@ -8291,6 +8311,7 @@ const navLinkComponentRenderer = createComponentRenderer(
|
|
|
8291
8311
|
disabled: !extractValue.asOptionalBoolean(node.props.enabled ?? true),
|
|
8292
8312
|
vertical: extractValue.asOptionalBoolean(node.props.vertical),
|
|
8293
8313
|
displayActive: extractValue.asOptionalBoolean(node.props.displayActive),
|
|
8314
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
8294
8315
|
forceActive: extractValue.asOptionalBoolean(node.props.active),
|
|
8295
8316
|
className,
|
|
8296
8317
|
target: extractValue(node.props?.target),
|
|
@@ -8997,7 +9018,7 @@ const TreeComponent = memo((props) => {
|
|
|
8997
9018
|
} catch (error2) {
|
|
8998
9019
|
return emptyTreeData;
|
|
8999
9020
|
}
|
|
9000
|
-
}, [effectiveData, dataFormat, fieldConfig
|
|
9021
|
+
}, [effectiveData, dataFormat, fieldConfig]);
|
|
9001
9022
|
const { treeData, treeItemsById } = transformedData;
|
|
9002
9023
|
const mappedSelectedId = useMemo(() => {
|
|
9003
9024
|
if (selectedValue) {
|
|
@@ -15601,10 +15622,10 @@ const avatarComponentRenderer = createComponentRenderer(
|
|
|
15601
15622
|
);
|
|
15602
15623
|
}
|
|
15603
15624
|
);
|
|
15604
|
-
const themeVars$D = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "
|
|
15605
|
-
const separator = "
|
|
15606
|
-
const horizontal$3 = "
|
|
15607
|
-
const vertical$3 = "
|
|
15625
|
+
const themeVars$D = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "thickness-ContentSeparator": "var(--xmlui-thickness-ContentSeparator)", "length-ContentSeparator": "var(--xmlui-length-ContentSeparator)", "marginTop-ContentSeparator": "var(--xmlui-marginTop-ContentSeparator)", "marginBottom-ContentSeparator": "var(--xmlui-marginBottom-ContentSeparator)", "marginVertical-ContentSeparator": "var(--xmlui-marginVertical-ContentSeparator)", "marginLeft-ContentSeparator": "var(--xmlui-marginLeft-ContentSeparator)", "marginRight-ContentSeparator": "var(--xmlui-marginRight-ContentSeparator)", "marginHorizontal-ContentSeparator": "var(--xmlui-marginHorizontal-ContentSeparator)", "paddingTop-ContentSeparator": "var(--xmlui-paddingTop-ContentSeparator)", "paddingBottom-ContentSeparator": "var(--xmlui-paddingBottom-ContentSeparator)", "paddingVertical-ContentSeparator": "var(--xmlui-paddingVertical-ContentSeparator)", "paddingLeft-ContentSeparator": "var(--xmlui-paddingLeft-ContentSeparator)", "paddingRight-ContentSeparator": "var(--xmlui-paddingRight-ContentSeparator)", "paddingHorizontal-ContentSeparator": "var(--xmlui-paddingHorizontal-ContentSeparator)"}'`;
|
|
15626
|
+
const separator = "_separator_1r9lf_14";
|
|
15627
|
+
const horizontal$3 = "_horizontal_1r9lf_27";
|
|
15628
|
+
const vertical$3 = "_vertical_1r9lf_31";
|
|
15608
15629
|
const styles$Y = {
|
|
15609
15630
|
themeVars: themeVars$D,
|
|
15610
15631
|
separator,
|
|
@@ -15615,7 +15636,22 @@ const defaultProps$W = {
|
|
|
15615
15636
|
orientation: "horizontal"
|
|
15616
15637
|
};
|
|
15617
15638
|
const ContentSeparator = forwardRef(
|
|
15618
|
-
({ orientation = defaultProps$W.orientation,
|
|
15639
|
+
({ orientation = defaultProps$W.orientation, thickness, length, style: style2, className, ...rest }, ref) => {
|
|
15640
|
+
const inlineStyles = {};
|
|
15641
|
+
if (thickness !== void 0) {
|
|
15642
|
+
if (orientation === "horizontal") {
|
|
15643
|
+
inlineStyles.height = thickness;
|
|
15644
|
+
} else {
|
|
15645
|
+
inlineStyles.width = thickness;
|
|
15646
|
+
}
|
|
15647
|
+
}
|
|
15648
|
+
if (length !== void 0) {
|
|
15649
|
+
if (orientation === "horizontal") {
|
|
15650
|
+
inlineStyles.width = length;
|
|
15651
|
+
} else {
|
|
15652
|
+
inlineStyles.height = length;
|
|
15653
|
+
}
|
|
15654
|
+
}
|
|
15619
15655
|
return /* @__PURE__ */ jsx(
|
|
15620
15656
|
"div",
|
|
15621
15657
|
{
|
|
@@ -15630,8 +15666,7 @@ const ContentSeparator = forwardRef(
|
|
|
15630
15666
|
className
|
|
15631
15667
|
),
|
|
15632
15668
|
style: {
|
|
15633
|
-
|
|
15634
|
-
width: orientation === "horizontal" ? "100%" : size,
|
|
15669
|
+
...inlineStyles,
|
|
15635
15670
|
...style2
|
|
15636
15671
|
}
|
|
15637
15672
|
}
|
|
@@ -15643,8 +15678,12 @@ const ContentSeparatorMd = createMetadata({
|
|
|
15643
15678
|
status: "stable",
|
|
15644
15679
|
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.",
|
|
15645
15680
|
props: {
|
|
15646
|
-
|
|
15647
|
-
description: "This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical). If not defined, the component uses the
|
|
15681
|
+
thickness: {
|
|
15682
|
+
description: "This property defines the component's height (if the `orientation` is horizontal) or the width (if the `orientation` is vertical). If not defined, the component uses the theme variable `thickness-ContentSeparator` (default: 1px).",
|
|
15683
|
+
valueType: "any"
|
|
15684
|
+
},
|
|
15685
|
+
length: {
|
|
15686
|
+
description: "This property defines the component's width (if the `orientation` is horizontal) or the height (if the `orientation` is vertical). If not defined, the component uses the theme variable `length-ContentSeparator` (default: 100%).",
|
|
15648
15687
|
valueType: "any"
|
|
15649
15688
|
},
|
|
15650
15689
|
orientation: {
|
|
@@ -15657,7 +15696,8 @@ const ContentSeparatorMd = createMetadata({
|
|
|
15657
15696
|
themeVars: parseScssVar(styles$Y.themeVars),
|
|
15658
15697
|
defaultThemeVars: {
|
|
15659
15698
|
[`backgroundColor-${COMP$1h}`]: "$color-surface-200",
|
|
15660
|
-
[`
|
|
15699
|
+
[`thickness-${COMP$1h}`]: "1px",
|
|
15700
|
+
[`length-${COMP$1h}`]: "100%",
|
|
15661
15701
|
[`marginVertical-${COMP$1h}`]: "0",
|
|
15662
15702
|
[`marginHorizontal-${COMP$1h}`]: "0",
|
|
15663
15703
|
[`paddingVertical-${COMP$1h}`]: "0",
|
|
@@ -15678,7 +15718,8 @@ const contentSeparatorComponentRenderer = createComponentRenderer(
|
|
|
15678
15718
|
ContentSeparator,
|
|
15679
15719
|
{
|
|
15680
15720
|
orientation: extractValue(node.props.orientation),
|
|
15681
|
-
|
|
15721
|
+
thickness: extractValue.asSize(node.props.thickness),
|
|
15722
|
+
length: extractValue.asSize(node.props.length),
|
|
15682
15723
|
className
|
|
15683
15724
|
}
|
|
15684
15725
|
);
|
|
@@ -22577,7 +22618,7 @@ const Form = forwardRef(function({
|
|
|
22577
22618
|
onCancel?.();
|
|
22578
22619
|
void requestModalFormClose();
|
|
22579
22620
|
});
|
|
22580
|
-
const doValidate = useEvent(
|
|
22621
|
+
const doValidate = useEvent(() => {
|
|
22581
22622
|
dispatch(triedToSubmit());
|
|
22582
22623
|
const { error: error2, warning: warning2 } = groupInvalidValidationResultsBySeverity(
|
|
22583
22624
|
Object.values(formState.validationResults)
|
|
@@ -22597,7 +22638,7 @@ const Form = forwardRef(function({
|
|
|
22597
22638
|
return;
|
|
22598
22639
|
}
|
|
22599
22640
|
setConfirmSubmitModalVisible(false);
|
|
22600
|
-
const validationResult =
|
|
22641
|
+
const validationResult = doValidate();
|
|
22601
22642
|
if (!validationResult.isValid) {
|
|
22602
22643
|
return;
|
|
22603
22644
|
}
|
|
@@ -22697,7 +22738,16 @@ const Form = forwardRef(function({
|
|
|
22697
22738
|
"cancel"
|
|
22698
22739
|
);
|
|
22699
22740
|
const submitButton = useMemo(
|
|
22700
|
-
() => /* @__PURE__ */ jsx(
|
|
22741
|
+
() => /* @__PURE__ */ jsx(
|
|
22742
|
+
Button,
|
|
22743
|
+
{
|
|
22744
|
+
"data-part-id": PART_SUBMIT_BUTTON,
|
|
22745
|
+
type: "submit",
|
|
22746
|
+
disabled: !isEnabled2 || !enableSubmit,
|
|
22747
|
+
children: formState.submitInProgress ? saveInProgressLabel : saveLabel
|
|
22748
|
+
},
|
|
22749
|
+
"submit"
|
|
22750
|
+
),
|
|
22701
22751
|
[isEnabled2, enableSubmit, formState.submitInProgress, saveInProgressLabel, saveLabel]
|
|
22702
22752
|
);
|
|
22703
22753
|
useEffect(() => {
|
|
@@ -24356,7 +24406,7 @@ function ApiInterceptorProvider({
|
|
|
24356
24406
|
return;
|
|
24357
24407
|
}
|
|
24358
24408
|
void (async () => {
|
|
24359
|
-
const { initMock } = await import("./initMock-
|
|
24409
|
+
const { initMock } = await import("./initMock-DZD5kuk6.js");
|
|
24360
24410
|
const apiInstance2 = await initMock(interceptor);
|
|
24361
24411
|
setApiInstance(apiInstance2);
|
|
24362
24412
|
setInitialized(true);
|
|
@@ -24373,7 +24423,7 @@ function ApiInterceptorProvider({
|
|
|
24373
24423
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
24374
24424
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24375
24425
|
useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
24376
|
-
import("./initMock-
|
|
24426
|
+
import("./initMock-DZD5kuk6.js")
|
|
24377
24427
|
]);
|
|
24378
24428
|
if (interceptor || forceInitialize) {
|
|
24379
24429
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -24410,7 +24460,7 @@ function ApiInterceptorProvider({
|
|
|
24410
24460
|
void (async () => {
|
|
24411
24461
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24412
24462
|
import("./apiInterceptorWorker-dwrAyq6l.js"),
|
|
24413
|
-
import("./initMock-
|
|
24463
|
+
import("./initMock-DZD5kuk6.js")
|
|
24414
24464
|
]);
|
|
24415
24465
|
const apiInstance2 = await initMock(interceptor);
|
|
24416
24466
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -28865,6 +28915,7 @@ function AppNode({ node, extractValue, renderChild: renderChild2, className, loo
|
|
|
28865
28915
|
...appProps,
|
|
28866
28916
|
header: renderedHeader,
|
|
28867
28917
|
footer: renderedFooter,
|
|
28918
|
+
footerSticky,
|
|
28868
28919
|
navPanel: renderedNavPanel,
|
|
28869
28920
|
navPanelDef: NavPanel3,
|
|
28870
28921
|
logoContentDef: node.props.logoTemplate,
|
|
@@ -29122,6 +29173,7 @@ const NavPanelMd = createMetadata({
|
|
|
29122
29173
|
[`backgroundColor-${COMP$S}-horizontal`]: "$backgroundColor-AppHeader",
|
|
29123
29174
|
[`border-${COMP$S}`]: "0px solid $borderColor",
|
|
29124
29175
|
[`borderRight-${COMP$S}-vertical`]: "1px solid $borderColor",
|
|
29176
|
+
[`paddingVertical-${COMP$S}`]: "$space-5",
|
|
29125
29177
|
[`paddingHorizontal-${COMP$S}`]: "0",
|
|
29126
29178
|
[`paddingVertical-logo-${COMP$S}`]: "$space-4",
|
|
29127
29179
|
[`paddingHorizontal-logo-${COMP$S}`]: "$space-4",
|
|
@@ -29430,6 +29482,11 @@ const NavGroupMd = createMetadata({
|
|
|
29430
29482
|
description: "Set a custom icon to display when the navigation menu is collapsed, is in a **vertical** app layout, or is in a **horizontal** layout and is the top-level navigation item in the menu.",
|
|
29431
29483
|
valueType: "string",
|
|
29432
29484
|
defaultValue: defaultProps$18.iconVerticalCollapsed
|
|
29485
|
+
},
|
|
29486
|
+
noIndicator: {
|
|
29487
|
+
description: `This Boolean property controls whether to hide the visual indicator for active and hovered states. When set to \`true\`, the indicator line will not be displayed on the \`${COMP$P}\` toggle button.`,
|
|
29488
|
+
valueType: "boolean",
|
|
29489
|
+
defaultValue: defaultProps$18.noIndicator
|
|
29433
29490
|
}
|
|
29434
29491
|
},
|
|
29435
29492
|
themeVars: parseScssVar(styles$18.themeVars),
|
|
@@ -29452,6 +29509,7 @@ const navGroupComponentRenderer = createComponentRenderer(
|
|
|
29452
29509
|
icon: /* @__PURE__ */ jsx(Icon, { name: extractValue.asString(node.props.icon), className: navLinkStyles.icon }),
|
|
29453
29510
|
node,
|
|
29454
29511
|
initiallyExpanded: extractValue.asOptionalBoolean(node.props.initiallyExpanded),
|
|
29512
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
29455
29513
|
renderChild: renderChild2,
|
|
29456
29514
|
iconHorizontalExpanded: extractValue.asOptionalString(node.props.iconHorizontalExpanded),
|
|
29457
29515
|
iconVerticalExpanded: extractValue.asOptionalString(node.props.iconVerticalExpanded),
|
|
@@ -30984,6 +31042,8 @@ const RootThemeDefinition = {
|
|
|
30984
31042
|
"boxShadow-spread-2-xl": "-6px -4px 40px 18px rgba(0, 0, 0, 0.1)",
|
|
30985
31043
|
// --- The default maximum content width
|
|
30986
31044
|
"maxWidth-content": "1280px",
|
|
31045
|
+
// --- The default maximum content column width
|
|
31046
|
+
"maxWidth-columnContent": "800px",
|
|
30987
31047
|
// --- Background colors
|
|
30988
31048
|
backgroundColor: "$color-surface-subtle",
|
|
30989
31049
|
"backgroundColor-overlay": "rgba(0, 0, 0, 0.2)",
|
|
@@ -33352,7 +33412,6 @@ const Animation$1 = forwardRef(function Animation2({
|
|
|
33352
33412
|
onStart,
|
|
33353
33413
|
onStop,
|
|
33354
33414
|
reset,
|
|
33355
|
-
once,
|
|
33356
33415
|
reverse2,
|
|
33357
33416
|
toggle
|
|
33358
33417
|
]
|
|
@@ -37208,12 +37267,15 @@ const Timer = forwardRef(function Timer2({
|
|
|
37208
37267
|
setIsPaused(false);
|
|
37209
37268
|
}
|
|
37210
37269
|
}, [enabled2, isPaused]);
|
|
37211
|
-
const timerApi = useMemo(
|
|
37212
|
-
|
|
37213
|
-
|
|
37214
|
-
|
|
37215
|
-
|
|
37216
|
-
|
|
37270
|
+
const timerApi = useMemo(
|
|
37271
|
+
() => ({
|
|
37272
|
+
pause,
|
|
37273
|
+
resume,
|
|
37274
|
+
isPaused: () => isPaused,
|
|
37275
|
+
isRunning: () => isRunning && !isPaused
|
|
37276
|
+
}),
|
|
37277
|
+
[pause, resume, isPaused, isRunning]
|
|
37278
|
+
);
|
|
37217
37279
|
useEffect(() => {
|
|
37218
37280
|
if (registerComponentApi) {
|
|
37219
37281
|
registerComponentApi(timerApi);
|
|
@@ -37276,7 +37338,16 @@ const Timer = forwardRef(function Timer2({
|
|
|
37276
37338
|
initialDelayRef.current = null;
|
|
37277
37339
|
}
|
|
37278
37340
|
};
|
|
37279
|
-
}, [
|
|
37341
|
+
}, [
|
|
37342
|
+
enabled2,
|
|
37343
|
+
interval,
|
|
37344
|
+
once,
|
|
37345
|
+
hasExecutedOnce,
|
|
37346
|
+
isPaused,
|
|
37347
|
+
initialDelay,
|
|
37348
|
+
hasEverStarted,
|
|
37349
|
+
handleTick
|
|
37350
|
+
]);
|
|
37280
37351
|
useEffect(() => {
|
|
37281
37352
|
if (enabled2 && once) {
|
|
37282
37353
|
setHasExecutedOnce(false);
|
|
@@ -46231,7 +46302,7 @@ function IconProvider({ children }) {
|
|
|
46231
46302
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
46232
46303
|
] });
|
|
46233
46304
|
}
|
|
46234
|
-
const version = "0.11.
|
|
46305
|
+
const version = "0.11.10";
|
|
46235
46306
|
const miscellaneousUtils = {
|
|
46236
46307
|
capitalize,
|
|
46237
46308
|
pluralize: pluralize$1,
|