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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delay as delay$1, HttpResponse, matchRequestUrl } from "msw";
|
|
2
2
|
import { isArray, isObject, mapValues } from "lodash-es";
|
|
3
|
-
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-
|
|
3
|
+
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./index-DfOJVz5h.js";
|
|
4
4
|
import Dexie from "dexie";
|
|
5
5
|
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
6
6
|
HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
|
package/dist/lib/xmlui.d.ts
CHANGED
|
@@ -559,7 +559,8 @@ declare type ContainerState = Record<string | symbol, any>;
|
|
|
559
559
|
export declare const ContentSeparator: ForwardRefExoticComponent<ContentSeparatorProps & RefAttributes<HTMLDivElement>>;
|
|
560
560
|
|
|
561
561
|
declare type ContentSeparatorProps = {
|
|
562
|
-
|
|
562
|
+
thickness?: number | string;
|
|
563
|
+
length?: number | string;
|
|
563
564
|
orientation?: string;
|
|
564
565
|
style?: CSSProperties;
|
|
565
566
|
className?: string;
|
package/dist/lib/xmlui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aa, Z, al, a1, ax, av, _, $, ai, ak, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-
|
|
1
|
+
import { aa, Z, al, a1, ax, av, _, $, ai, ak, aw, ag, ab, a2, a0, S, ar, b, ao, ap, a4, a5, ae, af, as, aj, at, au, ah, ad, c, f, e, h, j, k, l, i, n, p, q, s, u, v, x, w, t, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, P, N, O, Q, R, U, V, a3, W, X, a7, an, a6, a8, aq, a9, am, Y, ac } from "./index-DfOJVz5h.js";
|
|
2
2
|
import { e as e2, x as x2 } from "./xmlui-parser-CW8YmGjO.js";
|
|
3
3
|
import { X as X2 } from "./xmlui-serializer-CeCcgdVR.js";
|
|
4
4
|
export {
|
|
@@ -5879,6 +5879,8 @@ const RootThemeDefinition = {
|
|
|
5879
5879
|
"boxShadow-spread-2-xl": "-6px -4px 40px 18px rgba(0, 0, 0, 0.1)",
|
|
5880
5880
|
// --- The default maximum content width
|
|
5881
5881
|
"maxWidth-content": "1280px",
|
|
5882
|
+
// --- The default maximum content column width
|
|
5883
|
+
"maxWidth-columnContent": "800px",
|
|
5882
5884
|
// --- Background colors
|
|
5883
5885
|
backgroundColor: "$color-surface-subtle",
|
|
5884
5886
|
"backgroundColor-overlay": "rgba(0, 0, 0, 0.2)",
|
|
@@ -7456,23 +7458,24 @@ const themeComponentRenderer = createComponentRenderer(
|
|
|
7456
7458
|
}
|
|
7457
7459
|
);
|
|
7458
7460
|
const themeVars$X = `'{"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)"}'`;
|
|
7459
|
-
const wrapper$k = "
|
|
7460
|
-
const verticalFullHeader = "
|
|
7461
|
-
const navPanelWrapper = "
|
|
7462
|
-
const vertical$7 = "
|
|
7463
|
-
const contentWrapper$2 = "
|
|
7464
|
-
const noScrollbarGutters = "
|
|
7465
|
-
const PagesWrapper = "
|
|
7466
|
-
const footerWrapper = "
|
|
7467
|
-
const sticky = "
|
|
7468
|
-
const nonSticky = "
|
|
7469
|
-
const horizontal$6 = "
|
|
7470
|
-
const headerWrapper$1 = "
|
|
7471
|
-
const desktop = "
|
|
7472
|
-
const PagesWrapperInner = "
|
|
7473
|
-
const
|
|
7474
|
-
const
|
|
7475
|
-
const
|
|
7461
|
+
const wrapper$k = "_wrapper_188ri_15";
|
|
7462
|
+
const verticalFullHeader = "_verticalFullHeader_188ri_15";
|
|
7463
|
+
const navPanelWrapper = "_navPanelWrapper_188ri_15";
|
|
7464
|
+
const vertical$7 = "_vertical_188ri_15";
|
|
7465
|
+
const contentWrapper$2 = "_contentWrapper_188ri_33";
|
|
7466
|
+
const noScrollbarGutters = "_noScrollbarGutters_188ri_39";
|
|
7467
|
+
const PagesWrapper = "_PagesWrapper_188ri_46";
|
|
7468
|
+
const footerWrapper = "_footerWrapper_188ri_50";
|
|
7469
|
+
const sticky = "_sticky_188ri_53";
|
|
7470
|
+
const nonSticky = "_nonSticky_188ri_57";
|
|
7471
|
+
const horizontal$6 = "_horizontal_188ri_60";
|
|
7472
|
+
const headerWrapper$1 = "_headerWrapper_188ri_86";
|
|
7473
|
+
const desktop = "_desktop_188ri_92";
|
|
7474
|
+
const PagesWrapperInner = "_PagesWrapperInner_188ri_150";
|
|
7475
|
+
const noFooter = "_noFooter_188ri_208";
|
|
7476
|
+
const scrollWholePage = "_scrollWholePage_188ri_234";
|
|
7477
|
+
const content$8 = "_content_188ri_33";
|
|
7478
|
+
const withDefaultContentPadding = "_withDefaultContentPadding_188ri_348";
|
|
7476
7479
|
const styles$1b = {
|
|
7477
7480
|
themeVars: themeVars$X,
|
|
7478
7481
|
wrapper: wrapper$k,
|
|
@@ -7489,6 +7492,7 @@ const styles$1b = {
|
|
|
7489
7492
|
headerWrapper: headerWrapper$1,
|
|
7490
7493
|
desktop,
|
|
7491
7494
|
PagesWrapperInner,
|
|
7495
|
+
noFooter,
|
|
7492
7496
|
scrollWholePage,
|
|
7493
7497
|
content: content$8,
|
|
7494
7498
|
withDefaultContentPadding
|
|
@@ -7675,7 +7679,7 @@ const Image = forwardRef(function Img({
|
|
|
7675
7679
|
setBlobUrl(null);
|
|
7676
7680
|
}
|
|
7677
7681
|
}
|
|
7678
|
-
}, [src, blobToRender]);
|
|
7682
|
+
}, [src, blobToRender, blobUrl]);
|
|
7679
7683
|
src = safeConvertPropToString(src);
|
|
7680
7684
|
alt = safeConvertPropToString(alt);
|
|
7681
7685
|
const imageSrc = src || blobUrl;
|
|
@@ -8007,7 +8011,8 @@ const defaultProps$18 = {
|
|
|
8007
8011
|
iconHorizontalExpanded: "chevronright",
|
|
8008
8012
|
iconHorizontalCollapsed: "chevronright",
|
|
8009
8013
|
iconVerticalExpanded: "chevrondown",
|
|
8010
|
-
iconVerticalCollapsed: "chevronright"
|
|
8014
|
+
iconVerticalCollapsed: "chevronright",
|
|
8015
|
+
noIndicator: false
|
|
8011
8016
|
};
|
|
8012
8017
|
const NavGroup = forwardRef(function NavGroup2({
|
|
8013
8018
|
node,
|
|
@@ -8018,6 +8023,7 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
8018
8023
|
to,
|
|
8019
8024
|
disabled: disabled2 = false,
|
|
8020
8025
|
initiallyExpanded = false,
|
|
8026
|
+
noIndicator = defaultProps$18.noIndicator,
|
|
8021
8027
|
iconHorizontalCollapsed,
|
|
8022
8028
|
iconHorizontalExpanded,
|
|
8023
8029
|
iconVerticalCollapsed,
|
|
@@ -8062,7 +8068,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
8062
8068
|
renderChild: renderChild2,
|
|
8063
8069
|
ref,
|
|
8064
8070
|
initiallyExpanded,
|
|
8065
|
-
disabled: disabled2
|
|
8071
|
+
disabled: disabled2,
|
|
8072
|
+
noIndicator
|
|
8066
8073
|
}
|
|
8067
8074
|
) : /* @__PURE__ */ jsx(
|
|
8068
8075
|
DropDownNavGroup,
|
|
@@ -8075,7 +8082,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
8075
8082
|
ref,
|
|
8076
8083
|
to,
|
|
8077
8084
|
initiallyExpanded,
|
|
8078
|
-
disabled: disabled2
|
|
8085
|
+
disabled: disabled2,
|
|
8086
|
+
noIndicator
|
|
8079
8087
|
}
|
|
8080
8088
|
) });
|
|
8081
8089
|
});
|
|
@@ -8088,6 +8096,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
8088
8096
|
to,
|
|
8089
8097
|
initiallyExpanded = false,
|
|
8090
8098
|
disabled: disabled2 = false,
|
|
8099
|
+
noIndicator = false,
|
|
8091
8100
|
...rest
|
|
8092
8101
|
}, ref) {
|
|
8093
8102
|
const { level, iconVerticalCollapsed, iconVerticalExpanded, layoutIsVertical } = useContext(NavGroupContext);
|
|
@@ -8119,6 +8128,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
8119
8128
|
icon: icon2,
|
|
8120
8129
|
to,
|
|
8121
8130
|
disabled: disabled2,
|
|
8131
|
+
noIndicator,
|
|
8122
8132
|
"aria-expanded": expanded2,
|
|
8123
8133
|
children: [
|
|
8124
8134
|
label2,
|
|
@@ -8147,6 +8157,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8147
8157
|
to,
|
|
8148
8158
|
disabled: disabled2 = false,
|
|
8149
8159
|
initiallyExpanded = false,
|
|
8160
|
+
noIndicator = false,
|
|
8150
8161
|
...rest
|
|
8151
8162
|
}, ref) {
|
|
8152
8163
|
const {
|
|
@@ -8185,6 +8196,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8185
8196
|
vertical: level >= 1,
|
|
8186
8197
|
to,
|
|
8187
8198
|
disabled: disabled2,
|
|
8199
|
+
noIndicator,
|
|
8188
8200
|
children: [
|
|
8189
8201
|
label2,
|
|
8190
8202
|
/* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
|
|
@@ -8238,7 +8250,8 @@ const NavGroupContext = createContext({
|
|
|
8238
8250
|
});
|
|
8239
8251
|
const defaultProps$17 = {
|
|
8240
8252
|
active: false,
|
|
8241
|
-
displayActive: true
|
|
8253
|
+
displayActive: true,
|
|
8254
|
+
noIndicator: false
|
|
8242
8255
|
};
|
|
8243
8256
|
const NavLink = forwardRef(function NavLink2({
|
|
8244
8257
|
/* eslint-disable react/prop-types */
|
|
@@ -8247,6 +8260,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8247
8260
|
disabled: disabled2,
|
|
8248
8261
|
to,
|
|
8249
8262
|
displayActive: displayActive2 = defaultProps$17.displayActive,
|
|
8263
|
+
noIndicator = defaultProps$17.noIndicator,
|
|
8250
8264
|
vertical: vertical2,
|
|
8251
8265
|
style: style2,
|
|
8252
8266
|
onClick,
|
|
@@ -8278,7 +8292,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8278
8292
|
const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, className, {
|
|
8279
8293
|
[navLinkStyles.disabled]: disabled2,
|
|
8280
8294
|
[navLinkStyles.vertical]: safeVertical,
|
|
8281
|
-
[navLinkStyles.includeHoverIndicator]: displayActive2,
|
|
8295
|
+
[navLinkStyles.includeHoverIndicator]: displayActive2 && !noIndicator,
|
|
8282
8296
|
[navLinkStyles.navItemActive]: displayActive2 && forceActive
|
|
8283
8297
|
});
|
|
8284
8298
|
let innerContent2 = /* @__PURE__ */ jsxs("div", { className: navLinkStyles.innerContent, children: [
|
|
@@ -14212,7 +14226,7 @@ function evalFunctionInvocation(evaluator, thisStack, expr, evalContext, thread)
|
|
|
14212
14226
|
thisStack.push(value);
|
|
14213
14227
|
return value;
|
|
14214
14228
|
}
|
|
14215
|
-
function createArrowFunction(evaluator, expr
|
|
14229
|
+
function createArrowFunction(evaluator, expr) {
|
|
14216
14230
|
return (...args) => {
|
|
14217
14231
|
const runTimeEvalContext = args[1];
|
|
14218
14232
|
const runtimeThread = args[2];
|
|
@@ -15338,6 +15352,7 @@ function App({
|
|
|
15338
15352
|
{
|
|
15339
15353
|
[styles$1b.scrollWholePage]: scrollWholePage2,
|
|
15340
15354
|
[styles$1b.noScrollbarGutters]: noScrollbarGutters2,
|
|
15355
|
+
[styles$1b.noFooter]: !footerSticky,
|
|
15341
15356
|
"media-large": mediaSize.largeScreen,
|
|
15342
15357
|
"media-small": mediaSize.smallScreen,
|
|
15343
15358
|
"media-desktop": mediaSize.desktop,
|
|
@@ -15899,6 +15914,7 @@ function AppNode({ node, extractValue, renderChild: renderChild2, className, loo
|
|
|
15899
15914
|
...appProps,
|
|
15900
15915
|
header: renderedHeader,
|
|
15901
15916
|
footer: renderedFooter,
|
|
15917
|
+
footerSticky,
|
|
15902
15918
|
navPanel: renderedNavPanel,
|
|
15903
15919
|
navPanelDef: NavPanel3,
|
|
15904
15920
|
logoContentDef: node.props.logoTemplate,
|
|
@@ -17566,10 +17582,10 @@ const checkboxComponentRenderer = createComponentRenderer(
|
|
|
17566
17582
|
);
|
|
17567
17583
|
}
|
|
17568
17584
|
);
|
|
17569
|
-
const themeVars$K = `'{"backgroundColor-ContentSeparator": "var(--xmlui-backgroundColor-ContentSeparator)", "
|
|
17570
|
-
const separator = "
|
|
17571
|
-
const horizontal$3 = "
|
|
17572
|
-
const vertical$3 = "
|
|
17585
|
+
const themeVars$K = `'{"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)"}'`;
|
|
17586
|
+
const separator = "_separator_1r9lf_14";
|
|
17587
|
+
const horizontal$3 = "_horizontal_1r9lf_27";
|
|
17588
|
+
const vertical$3 = "_vertical_1r9lf_31";
|
|
17573
17589
|
const styles$$ = {
|
|
17574
17590
|
themeVars: themeVars$K,
|
|
17575
17591
|
separator,
|
|
@@ -17580,7 +17596,22 @@ const defaultProps$W = {
|
|
|
17580
17596
|
orientation: "horizontal"
|
|
17581
17597
|
};
|
|
17582
17598
|
const ContentSeparator = forwardRef(
|
|
17583
|
-
({ orientation = defaultProps$W.orientation,
|
|
17599
|
+
({ orientation = defaultProps$W.orientation, thickness, length, style: style2, className, ...rest }, ref) => {
|
|
17600
|
+
const inlineStyles = {};
|
|
17601
|
+
if (thickness !== void 0) {
|
|
17602
|
+
if (orientation === "horizontal") {
|
|
17603
|
+
inlineStyles.height = thickness;
|
|
17604
|
+
} else {
|
|
17605
|
+
inlineStyles.width = thickness;
|
|
17606
|
+
}
|
|
17607
|
+
}
|
|
17608
|
+
if (length !== void 0) {
|
|
17609
|
+
if (orientation === "horizontal") {
|
|
17610
|
+
inlineStyles.width = length;
|
|
17611
|
+
} else {
|
|
17612
|
+
inlineStyles.height = length;
|
|
17613
|
+
}
|
|
17614
|
+
}
|
|
17584
17615
|
return /* @__PURE__ */ jsx(
|
|
17585
17616
|
"div",
|
|
17586
17617
|
{
|
|
@@ -17595,8 +17626,7 @@ const ContentSeparator = forwardRef(
|
|
|
17595
17626
|
className
|
|
17596
17627
|
),
|
|
17597
17628
|
style: {
|
|
17598
|
-
|
|
17599
|
-
width: orientation === "horizontal" ? "100%" : size,
|
|
17629
|
+
...inlineStyles,
|
|
17600
17630
|
...style2
|
|
17601
17631
|
}
|
|
17602
17632
|
}
|
|
@@ -17608,8 +17638,12 @@ const ContentSeparatorMd = createMetadata({
|
|
|
17608
17638
|
status: "stable",
|
|
17609
17639
|
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.",
|
|
17610
17640
|
props: {
|
|
17611
|
-
|
|
17612
|
-
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
|
|
17641
|
+
thickness: {
|
|
17642
|
+
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).",
|
|
17643
|
+
valueType: "any"
|
|
17644
|
+
},
|
|
17645
|
+
length: {
|
|
17646
|
+
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%).",
|
|
17613
17647
|
valueType: "any"
|
|
17614
17648
|
},
|
|
17615
17649
|
orientation: {
|
|
@@ -17622,7 +17656,8 @@ const ContentSeparatorMd = createMetadata({
|
|
|
17622
17656
|
themeVars: parseScssVar(styles$$.themeVars),
|
|
17623
17657
|
defaultThemeVars: {
|
|
17624
17658
|
[`backgroundColor-${COMP$1k}`]: "$color-surface-200",
|
|
17625
|
-
[`
|
|
17659
|
+
[`thickness-${COMP$1k}`]: "1px",
|
|
17660
|
+
[`length-${COMP$1k}`]: "100%",
|
|
17626
17661
|
[`marginVertical-${COMP$1k}`]: "0",
|
|
17627
17662
|
[`marginHorizontal-${COMP$1k}`]: "0",
|
|
17628
17663
|
[`paddingVertical-${COMP$1k}`]: "0",
|
|
@@ -17643,7 +17678,8 @@ const contentSeparatorComponentRenderer = createComponentRenderer(
|
|
|
17643
17678
|
ContentSeparator,
|
|
17644
17679
|
{
|
|
17645
17680
|
orientation: extractValue(node.props.orientation),
|
|
17646
|
-
|
|
17681
|
+
thickness: extractValue.asSize(node.props.thickness),
|
|
17682
|
+
length: extractValue.asSize(node.props.length),
|
|
17647
17683
|
className
|
|
17648
17684
|
}
|
|
17649
17685
|
);
|
|
@@ -21088,7 +21124,7 @@ const Form = forwardRef(function({
|
|
|
21088
21124
|
onCancel?.();
|
|
21089
21125
|
void requestModalFormClose();
|
|
21090
21126
|
});
|
|
21091
|
-
const doValidate = useEvent(
|
|
21127
|
+
const doValidate = useEvent(() => {
|
|
21092
21128
|
dispatch(triedToSubmit());
|
|
21093
21129
|
const { error: error2, warning: warning2 } = groupInvalidValidationResultsBySeverity(
|
|
21094
21130
|
Object.values(formState.validationResults)
|
|
@@ -21108,7 +21144,7 @@ const Form = forwardRef(function({
|
|
|
21108
21144
|
return;
|
|
21109
21145
|
}
|
|
21110
21146
|
setConfirmSubmitModalVisible(false);
|
|
21111
|
-
const validationResult =
|
|
21147
|
+
const validationResult = doValidate();
|
|
21112
21148
|
if (!validationResult.isValid) {
|
|
21113
21149
|
return;
|
|
21114
21150
|
}
|
|
@@ -21208,7 +21244,16 @@ const Form = forwardRef(function({
|
|
|
21208
21244
|
"cancel"
|
|
21209
21245
|
);
|
|
21210
21246
|
const submitButton = useMemo(
|
|
21211
|
-
() => /* @__PURE__ */ jsx(
|
|
21247
|
+
() => /* @__PURE__ */ jsx(
|
|
21248
|
+
Button,
|
|
21249
|
+
{
|
|
21250
|
+
"data-part-id": PART_SUBMIT_BUTTON,
|
|
21251
|
+
type: "submit",
|
|
21252
|
+
disabled: !isEnabled2 || !enableSubmit,
|
|
21253
|
+
children: formState.submitInProgress ? saveInProgressLabel : saveLabel
|
|
21254
|
+
},
|
|
21255
|
+
"submit"
|
|
21256
|
+
),
|
|
21212
21257
|
[isEnabled2, enableSubmit, formState.submitInProgress, saveInProgressLabel, saveLabel]
|
|
21213
21258
|
);
|
|
21214
21259
|
useEffect(() => {
|
|
@@ -23235,7 +23280,7 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
23235
23280
|
inputRef.current?.focus();
|
|
23236
23281
|
}, 0);
|
|
23237
23282
|
}
|
|
23238
|
-
}, [autoFocus
|
|
23283
|
+
}, [autoFocus]);
|
|
23239
23284
|
const handleCopy = (event) => {
|
|
23240
23285
|
if (allowCopy) {
|
|
23241
23286
|
return true;
|
|
@@ -25561,6 +25606,11 @@ const NavLinkMd = createMetadata({
|
|
|
25561
25606
|
valueType: "boolean",
|
|
25562
25607
|
defaultValue: defaultProps$17.displayActive
|
|
25563
25608
|
},
|
|
25609
|
+
noIndicator: {
|
|
25610
|
+
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.`,
|
|
25611
|
+
valueType: "boolean",
|
|
25612
|
+
defaultValue: defaultProps$17.noIndicator
|
|
25613
|
+
},
|
|
25564
25614
|
icon: d(
|
|
25565
25615
|
`This property allows you to add an optional icon (specify the icon's name) to the navigation link.`
|
|
25566
25616
|
)
|
|
@@ -25582,7 +25632,9 @@ const NavLinkMd = createMetadata({
|
|
|
25582
25632
|
[`fontWeight-${COMP$19}`]: "$fontWeight-normal",
|
|
25583
25633
|
[`fontFamily-${COMP$19}`]: "$fontFamily",
|
|
25584
25634
|
[`textColor-${COMP$19}`]: "$textColor-primary",
|
|
25585
|
-
[`
|
|
25635
|
+
[`textColor-${COMP$19}--active`]: "$color-primary-500",
|
|
25636
|
+
[`fontWeight-${COMP$19}--active`]: "$fontWeight-bold",
|
|
25637
|
+
[`fontWeight-${COMP$19}--pressed`]: "$fontWeight-bold",
|
|
25586
25638
|
[`thickness-indicator-${COMP$19}`]: "$space-0_5",
|
|
25587
25639
|
[`outlineColor-${COMP$19}--focus`]: "$outlineColor--focus",
|
|
25588
25640
|
[`outlineWidth-${COMP$19}--focus`]: "$outlineWidth--focus",
|
|
@@ -25608,6 +25660,7 @@ const navLinkComponentRenderer = createComponentRenderer(
|
|
|
25608
25660
|
disabled: !extractValue.asOptionalBoolean(node.props.enabled ?? true),
|
|
25609
25661
|
vertical: extractValue.asOptionalBoolean(node.props.vertical),
|
|
25610
25662
|
displayActive: extractValue.asOptionalBoolean(node.props.displayActive),
|
|
25663
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
25611
25664
|
forceActive: extractValue.asOptionalBoolean(node.props.active),
|
|
25612
25665
|
className,
|
|
25613
25666
|
target: extractValue(node.props?.target),
|
|
@@ -26213,7 +26266,7 @@ const TreeComponent = memo((props) => {
|
|
|
26213
26266
|
} catch (error2) {
|
|
26214
26267
|
return emptyTreeData;
|
|
26215
26268
|
}
|
|
26216
|
-
}, [effectiveData, dataFormat, fieldConfig
|
|
26269
|
+
}, [effectiveData, dataFormat, fieldConfig]);
|
|
26217
26270
|
const { treeData, treeItemsById } = transformedData;
|
|
26218
26271
|
const mappedSelectedId = useMemo(() => {
|
|
26219
26272
|
if (selectedValue) {
|
|
@@ -33204,6 +33257,7 @@ const NavPanelMd = createMetadata({
|
|
|
33204
33257
|
[`backgroundColor-${COMP$M}-horizontal`]: "$backgroundColor-AppHeader",
|
|
33205
33258
|
[`border-${COMP$M}`]: "0px solid $borderColor",
|
|
33206
33259
|
[`borderRight-${COMP$M}-vertical`]: "1px solid $borderColor",
|
|
33260
|
+
[`paddingVertical-${COMP$M}`]: "$space-5",
|
|
33207
33261
|
[`paddingHorizontal-${COMP$M}`]: "0",
|
|
33208
33262
|
[`paddingVertical-logo-${COMP$M}`]: "$space-4",
|
|
33209
33263
|
[`paddingHorizontal-logo-${COMP$M}`]: "$space-4",
|
|
@@ -33420,6 +33474,11 @@ const NavGroupMd = createMetadata({
|
|
|
33420
33474
|
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.",
|
|
33421
33475
|
valueType: "string",
|
|
33422
33476
|
defaultValue: defaultProps$18.iconVerticalCollapsed
|
|
33477
|
+
},
|
|
33478
|
+
noIndicator: {
|
|
33479
|
+
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$K}\` toggle button.`,
|
|
33480
|
+
valueType: "boolean",
|
|
33481
|
+
defaultValue: defaultProps$18.noIndicator
|
|
33423
33482
|
}
|
|
33424
33483
|
},
|
|
33425
33484
|
themeVars: parseScssVar(styles$17.themeVars),
|
|
@@ -33442,6 +33501,7 @@ const navGroupComponentRenderer = createComponentRenderer(
|
|
|
33442
33501
|
icon: /* @__PURE__ */ jsx(Icon$l, { name: extractValue.asString(node.props.icon), className: navLinkStyles.icon }),
|
|
33443
33502
|
node,
|
|
33444
33503
|
initiallyExpanded: extractValue.asOptionalBoolean(node.props.initiallyExpanded),
|
|
33504
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
33445
33505
|
renderChild: renderChild2,
|
|
33446
33506
|
iconHorizontalExpanded: extractValue.asOptionalString(node.props.iconHorizontalExpanded),
|
|
33447
33507
|
iconVerticalExpanded: extractValue.asOptionalString(node.props.iconVerticalExpanded),
|
|
@@ -35069,7 +35129,6 @@ const Animation$1 = forwardRef(function Animation2({
|
|
|
35069
35129
|
onStart,
|
|
35070
35130
|
onStop,
|
|
35071
35131
|
reset,
|
|
35072
|
-
once,
|
|
35073
35132
|
reverse2,
|
|
35074
35133
|
toggle
|
|
35075
35134
|
]
|
|
@@ -38765,12 +38824,15 @@ const Timer = forwardRef(function Timer2({
|
|
|
38765
38824
|
setIsPaused(false);
|
|
38766
38825
|
}
|
|
38767
38826
|
}, [enabled2, isPaused]);
|
|
38768
|
-
const timerApi = useMemo(
|
|
38769
|
-
|
|
38770
|
-
|
|
38771
|
-
|
|
38772
|
-
|
|
38773
|
-
|
|
38827
|
+
const timerApi = useMemo(
|
|
38828
|
+
() => ({
|
|
38829
|
+
pause,
|
|
38830
|
+
resume,
|
|
38831
|
+
isPaused: () => isPaused,
|
|
38832
|
+
isRunning: () => isRunning && !isPaused
|
|
38833
|
+
}),
|
|
38834
|
+
[pause, resume, isPaused, isRunning]
|
|
38835
|
+
);
|
|
38774
38836
|
useEffect(() => {
|
|
38775
38837
|
if (registerComponentApi) {
|
|
38776
38838
|
registerComponentApi(timerApi);
|
|
@@ -38833,7 +38895,16 @@ const Timer = forwardRef(function Timer2({
|
|
|
38833
38895
|
initialDelayRef.current = null;
|
|
38834
38896
|
}
|
|
38835
38897
|
};
|
|
38836
|
-
}, [
|
|
38898
|
+
}, [
|
|
38899
|
+
enabled2,
|
|
38900
|
+
interval,
|
|
38901
|
+
once,
|
|
38902
|
+
hasExecutedOnce,
|
|
38903
|
+
isPaused,
|
|
38904
|
+
initialDelay,
|
|
38905
|
+
hasEverStarted,
|
|
38906
|
+
handleTick
|
|
38907
|
+
]);
|
|
38837
38908
|
useEffect(() => {
|
|
38838
38909
|
if (enabled2 && once) {
|
|
38839
38910
|
setHasExecutedOnce(false);
|
|
@@ -47841,7 +47912,7 @@ function IconProvider({ children }) {
|
|
|
47841
47912
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
47842
47913
|
] });
|
|
47843
47914
|
}
|
|
47844
|
-
const version = "0.11.
|
|
47915
|
+
const version = "0.11.10";
|
|
47845
47916
|
const miscellaneousUtils = {
|
|
47846
47917
|
capitalize,
|
|
47847
47918
|
pluralize: pluralize$1,
|
|
@@ -55493,7 +55564,7 @@ function ApiInterceptorProvider({
|
|
|
55493
55564
|
return;
|
|
55494
55565
|
}
|
|
55495
55566
|
void (async () => {
|
|
55496
|
-
const { initMock } = await import("./initMock-
|
|
55567
|
+
const { initMock } = await import("./initMock-JW5A3SpD.js");
|
|
55497
55568
|
const apiInstance2 = await initMock(interceptor);
|
|
55498
55569
|
setApiInstance(apiInstance2);
|
|
55499
55570
|
setInitialized(true);
|
|
@@ -55510,7 +55581,7 @@ function ApiInterceptorProvider({
|
|
|
55510
55581
|
if (define_process_env_default.VITE_MOCK_ENABLED) {
|
|
55511
55582
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
55512
55583
|
useWorker ? import("./apiInterceptorWorker-Wgm2_zjg.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
55513
|
-
import("./initMock-
|
|
55584
|
+
import("./initMock-JW5A3SpD.js")
|
|
55514
55585
|
]);
|
|
55515
55586
|
if (interceptor || forceInitialize) {
|
|
55516
55587
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -55547,7 +55618,7 @@ function ApiInterceptorProvider({
|
|
|
55547
55618
|
void (async () => {
|
|
55548
55619
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
55549
55620
|
import("./apiInterceptorWorker-Wgm2_zjg.js"),
|
|
55550
|
-
import("./initMock-
|
|
55621
|
+
import("./initMock-JW5A3SpD.js")
|
|
55551
55622
|
]);
|
|
55552
55623
|
const apiInstance2 = await initMock(interceptor);
|
|
55553
55624
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { delay as delay$1, HttpResponse, matchRequestUrl } from "msw";
|
|
2
2
|
import { isArray, isObject, mapValues } from "lodash-es";
|
|
3
|
-
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./collectedComponentMetadata-
|
|
3
|
+
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError } from "./collectedComponentMetadata-BzigLDo6.js";
|
|
4
4
|
import Dexie from "dexie";
|
|
5
5
|
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
6
6
|
HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
|