xmlui 0.11.8 → 0.11.9
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-Dh81qoMM.js} +68 -24
- package/dist/lib/{initMock-DscB1vh1.js → initMock-GfhLAym0.js} +1 -1
- package/dist/lib/xmlui.js +1 -1
- package/dist/metadata/{collectedComponentMetadata-CTUU7sdt.js → collectedComponentMetadata-DfzPdHnk.js} +68 -24
- package/dist/metadata/{initMock-yTa1A5M3.js → initMock-BGnNBTSg.js} +1 -1
- package/dist/metadata/xmlui-metadata.js +1 -1
- package/dist/metadata/xmlui-metadata.umd.cjs +3 -3
- package/dist/standalone/xmlui-standalone.umd.js +32 -32
- 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;
|
|
@@ -4592,7 +4592,7 @@ const Image = forwardRef(function Img({
|
|
|
4592
4592
|
setBlobUrl(null);
|
|
4593
4593
|
}
|
|
4594
4594
|
}
|
|
4595
|
-
}, [src, blobToRender]);
|
|
4595
|
+
}, [src, blobToRender, blobUrl]);
|
|
4596
4596
|
src = safeConvertPropToString(src);
|
|
4597
4597
|
alt = safeConvertPropToString(alt);
|
|
4598
4598
|
const imageSrc = src || blobUrl;
|
|
@@ -6396,7 +6396,7 @@ function evalFunctionInvocation(evaluator, thisStack, expr, evalContext, thread)
|
|
|
6396
6396
|
thisStack.push(value);
|
|
6397
6397
|
return value;
|
|
6398
6398
|
}
|
|
6399
|
-
function createArrowFunction(evaluator, expr
|
|
6399
|
+
function createArrowFunction(evaluator, expr) {
|
|
6400
6400
|
return (...args) => {
|
|
6401
6401
|
const runTimeEvalContext = args[1];
|
|
6402
6402
|
const runtimeThread = args[2];
|
|
@@ -7904,7 +7904,8 @@ const defaultProps$18 = {
|
|
|
7904
7904
|
iconHorizontalExpanded: "chevronright",
|
|
7905
7905
|
iconHorizontalCollapsed: "chevronright",
|
|
7906
7906
|
iconVerticalExpanded: "chevrondown",
|
|
7907
|
-
iconVerticalCollapsed: "chevronright"
|
|
7907
|
+
iconVerticalCollapsed: "chevronright",
|
|
7908
|
+
noIndicator: false
|
|
7908
7909
|
};
|
|
7909
7910
|
const NavGroup = forwardRef(function NavGroup2({
|
|
7910
7911
|
node,
|
|
@@ -7915,6 +7916,7 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
7915
7916
|
to,
|
|
7916
7917
|
disabled: disabled2 = false,
|
|
7917
7918
|
initiallyExpanded = false,
|
|
7919
|
+
noIndicator = defaultProps$18.noIndicator,
|
|
7918
7920
|
iconHorizontalCollapsed,
|
|
7919
7921
|
iconHorizontalExpanded,
|
|
7920
7922
|
iconVerticalCollapsed,
|
|
@@ -7959,7 +7961,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
7959
7961
|
renderChild: renderChild2,
|
|
7960
7962
|
ref,
|
|
7961
7963
|
initiallyExpanded,
|
|
7962
|
-
disabled: disabled2
|
|
7964
|
+
disabled: disabled2,
|
|
7965
|
+
noIndicator
|
|
7963
7966
|
}
|
|
7964
7967
|
) : /* @__PURE__ */ jsx(
|
|
7965
7968
|
DropDownNavGroup,
|
|
@@ -7972,7 +7975,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
7972
7975
|
ref,
|
|
7973
7976
|
to,
|
|
7974
7977
|
initiallyExpanded,
|
|
7975
|
-
disabled: disabled2
|
|
7978
|
+
disabled: disabled2,
|
|
7979
|
+
noIndicator
|
|
7976
7980
|
}
|
|
7977
7981
|
) });
|
|
7978
7982
|
});
|
|
@@ -7985,6 +7989,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
7985
7989
|
to,
|
|
7986
7990
|
initiallyExpanded = false,
|
|
7987
7991
|
disabled: disabled2 = false,
|
|
7992
|
+
noIndicator = false,
|
|
7988
7993
|
...rest
|
|
7989
7994
|
}, ref) {
|
|
7990
7995
|
const { level, iconVerticalCollapsed, iconVerticalExpanded, layoutIsVertical } = useContext(NavGroupContext);
|
|
@@ -8016,6 +8021,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
8016
8021
|
icon: icon2,
|
|
8017
8022
|
to,
|
|
8018
8023
|
disabled: disabled2,
|
|
8024
|
+
noIndicator,
|
|
8019
8025
|
"aria-expanded": expanded2,
|
|
8020
8026
|
children: [
|
|
8021
8027
|
label2,
|
|
@@ -8044,6 +8050,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8044
8050
|
to,
|
|
8045
8051
|
disabled: disabled2 = false,
|
|
8046
8052
|
initiallyExpanded = false,
|
|
8053
|
+
noIndicator = false,
|
|
8047
8054
|
...rest
|
|
8048
8055
|
}, ref) {
|
|
8049
8056
|
const {
|
|
@@ -8082,6 +8089,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8082
8089
|
vertical: level >= 1,
|
|
8083
8090
|
to,
|
|
8084
8091
|
disabled: disabled2,
|
|
8092
|
+
noIndicator,
|
|
8085
8093
|
children: [
|
|
8086
8094
|
label2,
|
|
8087
8095
|
/* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
|
|
@@ -8135,7 +8143,8 @@ const NavGroupContext = createContext({
|
|
|
8135
8143
|
});
|
|
8136
8144
|
const defaultProps$17 = {
|
|
8137
8145
|
active: false,
|
|
8138
|
-
displayActive: true
|
|
8146
|
+
displayActive: true,
|
|
8147
|
+
noIndicator: false
|
|
8139
8148
|
};
|
|
8140
8149
|
const NavLink = forwardRef(function NavLink2({
|
|
8141
8150
|
/* eslint-disable react/prop-types */
|
|
@@ -8144,6 +8153,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8144
8153
|
disabled: disabled2,
|
|
8145
8154
|
to,
|
|
8146
8155
|
displayActive: displayActive2 = defaultProps$17.displayActive,
|
|
8156
|
+
noIndicator = defaultProps$17.noIndicator,
|
|
8147
8157
|
vertical: vertical2,
|
|
8148
8158
|
style: style2,
|
|
8149
8159
|
onClick,
|
|
@@ -8175,7 +8185,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8175
8185
|
const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, className, {
|
|
8176
8186
|
[navLinkStyles.disabled]: disabled2,
|
|
8177
8187
|
[navLinkStyles.vertical]: safeVertical,
|
|
8178
|
-
[navLinkStyles.includeHoverIndicator]: displayActive2,
|
|
8188
|
+
[navLinkStyles.includeHoverIndicator]: displayActive2 && !noIndicator,
|
|
8179
8189
|
[navLinkStyles.navItemActive]: displayActive2 && forceActive
|
|
8180
8190
|
});
|
|
8181
8191
|
let innerContent2 = /* @__PURE__ */ jsxs("div", { className: navLinkStyles.innerContent, children: [
|
|
@@ -8244,6 +8254,11 @@ const NavLinkMd = createMetadata({
|
|
|
8244
8254
|
valueType: "boolean",
|
|
8245
8255
|
defaultValue: defaultProps$17.displayActive
|
|
8246
8256
|
},
|
|
8257
|
+
noIndicator: {
|
|
8258
|
+
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.`,
|
|
8259
|
+
valueType: "boolean",
|
|
8260
|
+
defaultValue: defaultProps$17.noIndicator
|
|
8261
|
+
},
|
|
8247
8262
|
icon: d(
|
|
8248
8263
|
`This property allows you to add an optional icon (specify the icon's name) to the navigation link.`
|
|
8249
8264
|
)
|
|
@@ -8265,6 +8280,8 @@ const NavLinkMd = createMetadata({
|
|
|
8265
8280
|
[`fontWeight-${COMP$1t}`]: "$fontWeight-normal",
|
|
8266
8281
|
[`fontFamily-${COMP$1t}`]: "$fontFamily",
|
|
8267
8282
|
[`textColor-${COMP$1t}`]: "$textColor-primary",
|
|
8283
|
+
[`textColor-${COMP$1t}--active`]: "$color-primary-500",
|
|
8284
|
+
[`fontWeight-${COMP$1t}--active`]: "$fontWeight-bold",
|
|
8268
8285
|
[`fontWeight-${COMP$1t}--pressed`]: "$fontWeight-normal",
|
|
8269
8286
|
[`thickness-indicator-${COMP$1t}`]: "$space-0_5",
|
|
8270
8287
|
[`outlineColor-${COMP$1t}--focus`]: "$outlineColor--focus",
|
|
@@ -8291,6 +8308,7 @@ const navLinkComponentRenderer = createComponentRenderer(
|
|
|
8291
8308
|
disabled: !extractValue.asOptionalBoolean(node.props.enabled ?? true),
|
|
8292
8309
|
vertical: extractValue.asOptionalBoolean(node.props.vertical),
|
|
8293
8310
|
displayActive: extractValue.asOptionalBoolean(node.props.displayActive),
|
|
8311
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
8294
8312
|
forceActive: extractValue.asOptionalBoolean(node.props.active),
|
|
8295
8313
|
className,
|
|
8296
8314
|
target: extractValue(node.props?.target),
|
|
@@ -8997,7 +9015,7 @@ const TreeComponent = memo((props) => {
|
|
|
8997
9015
|
} catch (error2) {
|
|
8998
9016
|
return emptyTreeData;
|
|
8999
9017
|
}
|
|
9000
|
-
}, [effectiveData, dataFormat, fieldConfig
|
|
9018
|
+
}, [effectiveData, dataFormat, fieldConfig]);
|
|
9001
9019
|
const { treeData, treeItemsById } = transformedData;
|
|
9002
9020
|
const mappedSelectedId = useMemo(() => {
|
|
9003
9021
|
if (selectedValue) {
|
|
@@ -22577,7 +22595,7 @@ const Form = forwardRef(function({
|
|
|
22577
22595
|
onCancel?.();
|
|
22578
22596
|
void requestModalFormClose();
|
|
22579
22597
|
});
|
|
22580
|
-
const doValidate = useEvent(
|
|
22598
|
+
const doValidate = useEvent(() => {
|
|
22581
22599
|
dispatch(triedToSubmit());
|
|
22582
22600
|
const { error: error2, warning: warning2 } = groupInvalidValidationResultsBySeverity(
|
|
22583
22601
|
Object.values(formState.validationResults)
|
|
@@ -22597,7 +22615,7 @@ const Form = forwardRef(function({
|
|
|
22597
22615
|
return;
|
|
22598
22616
|
}
|
|
22599
22617
|
setConfirmSubmitModalVisible(false);
|
|
22600
|
-
const validationResult =
|
|
22618
|
+
const validationResult = doValidate();
|
|
22601
22619
|
if (!validationResult.isValid) {
|
|
22602
22620
|
return;
|
|
22603
22621
|
}
|
|
@@ -22697,7 +22715,16 @@ const Form = forwardRef(function({
|
|
|
22697
22715
|
"cancel"
|
|
22698
22716
|
);
|
|
22699
22717
|
const submitButton = useMemo(
|
|
22700
|
-
() => /* @__PURE__ */ jsx(
|
|
22718
|
+
() => /* @__PURE__ */ jsx(
|
|
22719
|
+
Button,
|
|
22720
|
+
{
|
|
22721
|
+
"data-part-id": PART_SUBMIT_BUTTON,
|
|
22722
|
+
type: "submit",
|
|
22723
|
+
disabled: !isEnabled2 || !enableSubmit,
|
|
22724
|
+
children: formState.submitInProgress ? saveInProgressLabel : saveLabel
|
|
22725
|
+
},
|
|
22726
|
+
"submit"
|
|
22727
|
+
),
|
|
22701
22728
|
[isEnabled2, enableSubmit, formState.submitInProgress, saveInProgressLabel, saveLabel]
|
|
22702
22729
|
);
|
|
22703
22730
|
useEffect(() => {
|
|
@@ -24356,7 +24383,7 @@ function ApiInterceptorProvider({
|
|
|
24356
24383
|
return;
|
|
24357
24384
|
}
|
|
24358
24385
|
void (async () => {
|
|
24359
|
-
const { initMock } = await import("./initMock-
|
|
24386
|
+
const { initMock } = await import("./initMock-GfhLAym0.js");
|
|
24360
24387
|
const apiInstance2 = await initMock(interceptor);
|
|
24361
24388
|
setApiInstance(apiInstance2);
|
|
24362
24389
|
setInitialized(true);
|
|
@@ -24373,7 +24400,7 @@ function ApiInterceptorProvider({
|
|
|
24373
24400
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
24374
24401
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24375
24402
|
useWorker ? import("./apiInterceptorWorker-dwrAyq6l.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
24376
|
-
import("./initMock-
|
|
24403
|
+
import("./initMock-GfhLAym0.js")
|
|
24377
24404
|
]);
|
|
24378
24405
|
if (interceptor || forceInitialize) {
|
|
24379
24406
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -24410,7 +24437,7 @@ function ApiInterceptorProvider({
|
|
|
24410
24437
|
void (async () => {
|
|
24411
24438
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
24412
24439
|
import("./apiInterceptorWorker-dwrAyq6l.js"),
|
|
24413
|
-
import("./initMock-
|
|
24440
|
+
import("./initMock-GfhLAym0.js")
|
|
24414
24441
|
]);
|
|
24415
24442
|
const apiInstance2 = await initMock(interceptor);
|
|
24416
24443
|
await createApiInterceptorWorker(apiInstance2, parentInterceptorWorker);
|
|
@@ -29430,6 +29457,11 @@ const NavGroupMd = createMetadata({
|
|
|
29430
29457
|
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
29458
|
valueType: "string",
|
|
29432
29459
|
defaultValue: defaultProps$18.iconVerticalCollapsed
|
|
29460
|
+
},
|
|
29461
|
+
noIndicator: {
|
|
29462
|
+
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.`,
|
|
29463
|
+
valueType: "boolean",
|
|
29464
|
+
defaultValue: defaultProps$18.noIndicator
|
|
29433
29465
|
}
|
|
29434
29466
|
},
|
|
29435
29467
|
themeVars: parseScssVar(styles$18.themeVars),
|
|
@@ -29452,6 +29484,7 @@ const navGroupComponentRenderer = createComponentRenderer(
|
|
|
29452
29484
|
icon: /* @__PURE__ */ jsx(Icon, { name: extractValue.asString(node.props.icon), className: navLinkStyles.icon }),
|
|
29453
29485
|
node,
|
|
29454
29486
|
initiallyExpanded: extractValue.asOptionalBoolean(node.props.initiallyExpanded),
|
|
29487
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
29455
29488
|
renderChild: renderChild2,
|
|
29456
29489
|
iconHorizontalExpanded: extractValue.asOptionalString(node.props.iconHorizontalExpanded),
|
|
29457
29490
|
iconVerticalExpanded: extractValue.asOptionalString(node.props.iconVerticalExpanded),
|
|
@@ -33352,7 +33385,6 @@ const Animation$1 = forwardRef(function Animation2({
|
|
|
33352
33385
|
onStart,
|
|
33353
33386
|
onStop,
|
|
33354
33387
|
reset,
|
|
33355
|
-
once,
|
|
33356
33388
|
reverse2,
|
|
33357
33389
|
toggle
|
|
33358
33390
|
]
|
|
@@ -37208,12 +37240,15 @@ const Timer = forwardRef(function Timer2({
|
|
|
37208
37240
|
setIsPaused(false);
|
|
37209
37241
|
}
|
|
37210
37242
|
}, [enabled2, isPaused]);
|
|
37211
|
-
const timerApi = useMemo(
|
|
37212
|
-
|
|
37213
|
-
|
|
37214
|
-
|
|
37215
|
-
|
|
37216
|
-
|
|
37243
|
+
const timerApi = useMemo(
|
|
37244
|
+
() => ({
|
|
37245
|
+
pause,
|
|
37246
|
+
resume,
|
|
37247
|
+
isPaused: () => isPaused,
|
|
37248
|
+
isRunning: () => isRunning && !isPaused
|
|
37249
|
+
}),
|
|
37250
|
+
[pause, resume, isPaused, isRunning]
|
|
37251
|
+
);
|
|
37217
37252
|
useEffect(() => {
|
|
37218
37253
|
if (registerComponentApi) {
|
|
37219
37254
|
registerComponentApi(timerApi);
|
|
@@ -37276,7 +37311,16 @@ const Timer = forwardRef(function Timer2({
|
|
|
37276
37311
|
initialDelayRef.current = null;
|
|
37277
37312
|
}
|
|
37278
37313
|
};
|
|
37279
|
-
}, [
|
|
37314
|
+
}, [
|
|
37315
|
+
enabled2,
|
|
37316
|
+
interval,
|
|
37317
|
+
once,
|
|
37318
|
+
hasExecutedOnce,
|
|
37319
|
+
isPaused,
|
|
37320
|
+
initialDelay,
|
|
37321
|
+
hasEverStarted,
|
|
37322
|
+
handleTick
|
|
37323
|
+
]);
|
|
37280
37324
|
useEffect(() => {
|
|
37281
37325
|
if (enabled2 && once) {
|
|
37282
37326
|
setHasExecutedOnce(false);
|
|
@@ -46231,7 +46275,7 @@ function IconProvider({ children }) {
|
|
|
46231
46275
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
46232
46276
|
] });
|
|
46233
46277
|
}
|
|
46234
|
-
const version = "0.11.
|
|
46278
|
+
const version = "0.11.9";
|
|
46235
46279
|
const miscellaneousUtils = {
|
|
46236
46280
|
capitalize,
|
|
46237
46281
|
pluralize: pluralize$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-Dh81qoMM.js";
|
|
4
4
|
import Dexie from "dexie";
|
|
5
5
|
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
6
6
|
HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
|
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-Dh81qoMM.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 {
|
|
@@ -7675,7 +7675,7 @@ const Image = forwardRef(function Img({
|
|
|
7675
7675
|
setBlobUrl(null);
|
|
7676
7676
|
}
|
|
7677
7677
|
}
|
|
7678
|
-
}, [src, blobToRender]);
|
|
7678
|
+
}, [src, blobToRender, blobUrl]);
|
|
7679
7679
|
src = safeConvertPropToString(src);
|
|
7680
7680
|
alt = safeConvertPropToString(alt);
|
|
7681
7681
|
const imageSrc = src || blobUrl;
|
|
@@ -8007,7 +8007,8 @@ const defaultProps$18 = {
|
|
|
8007
8007
|
iconHorizontalExpanded: "chevronright",
|
|
8008
8008
|
iconHorizontalCollapsed: "chevronright",
|
|
8009
8009
|
iconVerticalExpanded: "chevrondown",
|
|
8010
|
-
iconVerticalCollapsed: "chevronright"
|
|
8010
|
+
iconVerticalCollapsed: "chevronright",
|
|
8011
|
+
noIndicator: false
|
|
8011
8012
|
};
|
|
8012
8013
|
const NavGroup = forwardRef(function NavGroup2({
|
|
8013
8014
|
node,
|
|
@@ -8018,6 +8019,7 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
8018
8019
|
to,
|
|
8019
8020
|
disabled: disabled2 = false,
|
|
8020
8021
|
initiallyExpanded = false,
|
|
8022
|
+
noIndicator = defaultProps$18.noIndicator,
|
|
8021
8023
|
iconHorizontalCollapsed,
|
|
8022
8024
|
iconHorizontalExpanded,
|
|
8023
8025
|
iconVerticalCollapsed,
|
|
@@ -8062,7 +8064,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
8062
8064
|
renderChild: renderChild2,
|
|
8063
8065
|
ref,
|
|
8064
8066
|
initiallyExpanded,
|
|
8065
|
-
disabled: disabled2
|
|
8067
|
+
disabled: disabled2,
|
|
8068
|
+
noIndicator
|
|
8066
8069
|
}
|
|
8067
8070
|
) : /* @__PURE__ */ jsx(
|
|
8068
8071
|
DropDownNavGroup,
|
|
@@ -8075,7 +8078,8 @@ const NavGroup = forwardRef(function NavGroup2({
|
|
|
8075
8078
|
ref,
|
|
8076
8079
|
to,
|
|
8077
8080
|
initiallyExpanded,
|
|
8078
|
-
disabled: disabled2
|
|
8081
|
+
disabled: disabled2,
|
|
8082
|
+
noIndicator
|
|
8079
8083
|
}
|
|
8080
8084
|
) });
|
|
8081
8085
|
});
|
|
@@ -8088,6 +8092,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
8088
8092
|
to,
|
|
8089
8093
|
initiallyExpanded = false,
|
|
8090
8094
|
disabled: disabled2 = false,
|
|
8095
|
+
noIndicator = false,
|
|
8091
8096
|
...rest
|
|
8092
8097
|
}, ref) {
|
|
8093
8098
|
const { level, iconVerticalCollapsed, iconVerticalExpanded, layoutIsVertical } = useContext(NavGroupContext);
|
|
@@ -8119,6 +8124,7 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
|
|
|
8119
8124
|
icon: icon2,
|
|
8120
8125
|
to,
|
|
8121
8126
|
disabled: disabled2,
|
|
8127
|
+
noIndicator,
|
|
8122
8128
|
"aria-expanded": expanded2,
|
|
8123
8129
|
children: [
|
|
8124
8130
|
label2,
|
|
@@ -8147,6 +8153,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8147
8153
|
to,
|
|
8148
8154
|
disabled: disabled2 = false,
|
|
8149
8155
|
initiallyExpanded = false,
|
|
8156
|
+
noIndicator = false,
|
|
8150
8157
|
...rest
|
|
8151
8158
|
}, ref) {
|
|
8152
8159
|
const {
|
|
@@ -8185,6 +8192,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
|
|
|
8185
8192
|
vertical: level >= 1,
|
|
8186
8193
|
to,
|
|
8187
8194
|
disabled: disabled2,
|
|
8195
|
+
noIndicator,
|
|
8188
8196
|
children: [
|
|
8189
8197
|
label2,
|
|
8190
8198
|
/* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
|
|
@@ -8238,7 +8246,8 @@ const NavGroupContext = createContext({
|
|
|
8238
8246
|
});
|
|
8239
8247
|
const defaultProps$17 = {
|
|
8240
8248
|
active: false,
|
|
8241
|
-
displayActive: true
|
|
8249
|
+
displayActive: true,
|
|
8250
|
+
noIndicator: false
|
|
8242
8251
|
};
|
|
8243
8252
|
const NavLink = forwardRef(function NavLink2({
|
|
8244
8253
|
/* eslint-disable react/prop-types */
|
|
@@ -8247,6 +8256,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8247
8256
|
disabled: disabled2,
|
|
8248
8257
|
to,
|
|
8249
8258
|
displayActive: displayActive2 = defaultProps$17.displayActive,
|
|
8259
|
+
noIndicator = defaultProps$17.noIndicator,
|
|
8250
8260
|
vertical: vertical2,
|
|
8251
8261
|
style: style2,
|
|
8252
8262
|
onClick,
|
|
@@ -8278,7 +8288,7 @@ const NavLink = forwardRef(function NavLink2({
|
|
|
8278
8288
|
const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, className, {
|
|
8279
8289
|
[navLinkStyles.disabled]: disabled2,
|
|
8280
8290
|
[navLinkStyles.vertical]: safeVertical,
|
|
8281
|
-
[navLinkStyles.includeHoverIndicator]: displayActive2,
|
|
8291
|
+
[navLinkStyles.includeHoverIndicator]: displayActive2 && !noIndicator,
|
|
8282
8292
|
[navLinkStyles.navItemActive]: displayActive2 && forceActive
|
|
8283
8293
|
});
|
|
8284
8294
|
let innerContent2 = /* @__PURE__ */ jsxs("div", { className: navLinkStyles.innerContent, children: [
|
|
@@ -14212,7 +14222,7 @@ function evalFunctionInvocation(evaluator, thisStack, expr, evalContext, thread)
|
|
|
14212
14222
|
thisStack.push(value);
|
|
14213
14223
|
return value;
|
|
14214
14224
|
}
|
|
14215
|
-
function createArrowFunction(evaluator, expr
|
|
14225
|
+
function createArrowFunction(evaluator, expr) {
|
|
14216
14226
|
return (...args) => {
|
|
14217
14227
|
const runTimeEvalContext = args[1];
|
|
14218
14228
|
const runtimeThread = args[2];
|
|
@@ -21088,7 +21098,7 @@ const Form = forwardRef(function({
|
|
|
21088
21098
|
onCancel?.();
|
|
21089
21099
|
void requestModalFormClose();
|
|
21090
21100
|
});
|
|
21091
|
-
const doValidate = useEvent(
|
|
21101
|
+
const doValidate = useEvent(() => {
|
|
21092
21102
|
dispatch(triedToSubmit());
|
|
21093
21103
|
const { error: error2, warning: warning2 } = groupInvalidValidationResultsBySeverity(
|
|
21094
21104
|
Object.values(formState.validationResults)
|
|
@@ -21108,7 +21118,7 @@ const Form = forwardRef(function({
|
|
|
21108
21118
|
return;
|
|
21109
21119
|
}
|
|
21110
21120
|
setConfirmSubmitModalVisible(false);
|
|
21111
|
-
const validationResult =
|
|
21121
|
+
const validationResult = doValidate();
|
|
21112
21122
|
if (!validationResult.isValid) {
|
|
21113
21123
|
return;
|
|
21114
21124
|
}
|
|
@@ -21208,7 +21218,16 @@ const Form = forwardRef(function({
|
|
|
21208
21218
|
"cancel"
|
|
21209
21219
|
);
|
|
21210
21220
|
const submitButton = useMemo(
|
|
21211
|
-
() => /* @__PURE__ */ jsx(
|
|
21221
|
+
() => /* @__PURE__ */ jsx(
|
|
21222
|
+
Button,
|
|
21223
|
+
{
|
|
21224
|
+
"data-part-id": PART_SUBMIT_BUTTON,
|
|
21225
|
+
type: "submit",
|
|
21226
|
+
disabled: !isEnabled2 || !enableSubmit,
|
|
21227
|
+
children: formState.submitInProgress ? saveInProgressLabel : saveLabel
|
|
21228
|
+
},
|
|
21229
|
+
"submit"
|
|
21230
|
+
),
|
|
21212
21231
|
[isEnabled2, enableSubmit, formState.submitInProgress, saveInProgressLabel, saveLabel]
|
|
21213
21232
|
);
|
|
21214
21233
|
useEffect(() => {
|
|
@@ -23235,7 +23254,7 @@ const TextArea = forwardRef(function TextArea2({
|
|
|
23235
23254
|
inputRef.current?.focus();
|
|
23236
23255
|
}, 0);
|
|
23237
23256
|
}
|
|
23238
|
-
}, [autoFocus
|
|
23257
|
+
}, [autoFocus]);
|
|
23239
23258
|
const handleCopy = (event) => {
|
|
23240
23259
|
if (allowCopy) {
|
|
23241
23260
|
return true;
|
|
@@ -25561,6 +25580,11 @@ const NavLinkMd = createMetadata({
|
|
|
25561
25580
|
valueType: "boolean",
|
|
25562
25581
|
defaultValue: defaultProps$17.displayActive
|
|
25563
25582
|
},
|
|
25583
|
+
noIndicator: {
|
|
25584
|
+
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.`,
|
|
25585
|
+
valueType: "boolean",
|
|
25586
|
+
defaultValue: defaultProps$17.noIndicator
|
|
25587
|
+
},
|
|
25564
25588
|
icon: d(
|
|
25565
25589
|
`This property allows you to add an optional icon (specify the icon's name) to the navigation link.`
|
|
25566
25590
|
)
|
|
@@ -25582,6 +25606,8 @@ const NavLinkMd = createMetadata({
|
|
|
25582
25606
|
[`fontWeight-${COMP$19}`]: "$fontWeight-normal",
|
|
25583
25607
|
[`fontFamily-${COMP$19}`]: "$fontFamily",
|
|
25584
25608
|
[`textColor-${COMP$19}`]: "$textColor-primary",
|
|
25609
|
+
[`textColor-${COMP$19}--active`]: "$color-primary-500",
|
|
25610
|
+
[`fontWeight-${COMP$19}--active`]: "$fontWeight-bold",
|
|
25585
25611
|
[`fontWeight-${COMP$19}--pressed`]: "$fontWeight-normal",
|
|
25586
25612
|
[`thickness-indicator-${COMP$19}`]: "$space-0_5",
|
|
25587
25613
|
[`outlineColor-${COMP$19}--focus`]: "$outlineColor--focus",
|
|
@@ -25608,6 +25634,7 @@ const navLinkComponentRenderer = createComponentRenderer(
|
|
|
25608
25634
|
disabled: !extractValue.asOptionalBoolean(node.props.enabled ?? true),
|
|
25609
25635
|
vertical: extractValue.asOptionalBoolean(node.props.vertical),
|
|
25610
25636
|
displayActive: extractValue.asOptionalBoolean(node.props.displayActive),
|
|
25637
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
25611
25638
|
forceActive: extractValue.asOptionalBoolean(node.props.active),
|
|
25612
25639
|
className,
|
|
25613
25640
|
target: extractValue(node.props?.target),
|
|
@@ -26213,7 +26240,7 @@ const TreeComponent = memo((props) => {
|
|
|
26213
26240
|
} catch (error2) {
|
|
26214
26241
|
return emptyTreeData;
|
|
26215
26242
|
}
|
|
26216
|
-
}, [effectiveData, dataFormat, fieldConfig
|
|
26243
|
+
}, [effectiveData, dataFormat, fieldConfig]);
|
|
26217
26244
|
const { treeData, treeItemsById } = transformedData;
|
|
26218
26245
|
const mappedSelectedId = useMemo(() => {
|
|
26219
26246
|
if (selectedValue) {
|
|
@@ -33420,6 +33447,11 @@ const NavGroupMd = createMetadata({
|
|
|
33420
33447
|
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
33448
|
valueType: "string",
|
|
33422
33449
|
defaultValue: defaultProps$18.iconVerticalCollapsed
|
|
33450
|
+
},
|
|
33451
|
+
noIndicator: {
|
|
33452
|
+
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.`,
|
|
33453
|
+
valueType: "boolean",
|
|
33454
|
+
defaultValue: defaultProps$18.noIndicator
|
|
33423
33455
|
}
|
|
33424
33456
|
},
|
|
33425
33457
|
themeVars: parseScssVar(styles$17.themeVars),
|
|
@@ -33442,6 +33474,7 @@ const navGroupComponentRenderer = createComponentRenderer(
|
|
|
33442
33474
|
icon: /* @__PURE__ */ jsx(Icon$l, { name: extractValue.asString(node.props.icon), className: navLinkStyles.icon }),
|
|
33443
33475
|
node,
|
|
33444
33476
|
initiallyExpanded: extractValue.asOptionalBoolean(node.props.initiallyExpanded),
|
|
33477
|
+
noIndicator: extractValue.asOptionalBoolean(node.props.noIndicator),
|
|
33445
33478
|
renderChild: renderChild2,
|
|
33446
33479
|
iconHorizontalExpanded: extractValue.asOptionalString(node.props.iconHorizontalExpanded),
|
|
33447
33480
|
iconVerticalExpanded: extractValue.asOptionalString(node.props.iconVerticalExpanded),
|
|
@@ -35069,7 +35102,6 @@ const Animation$1 = forwardRef(function Animation2({
|
|
|
35069
35102
|
onStart,
|
|
35070
35103
|
onStop,
|
|
35071
35104
|
reset,
|
|
35072
|
-
once,
|
|
35073
35105
|
reverse2,
|
|
35074
35106
|
toggle
|
|
35075
35107
|
]
|
|
@@ -38765,12 +38797,15 @@ const Timer = forwardRef(function Timer2({
|
|
|
38765
38797
|
setIsPaused(false);
|
|
38766
38798
|
}
|
|
38767
38799
|
}, [enabled2, isPaused]);
|
|
38768
|
-
const timerApi = useMemo(
|
|
38769
|
-
|
|
38770
|
-
|
|
38771
|
-
|
|
38772
|
-
|
|
38773
|
-
|
|
38800
|
+
const timerApi = useMemo(
|
|
38801
|
+
() => ({
|
|
38802
|
+
pause,
|
|
38803
|
+
resume,
|
|
38804
|
+
isPaused: () => isPaused,
|
|
38805
|
+
isRunning: () => isRunning && !isPaused
|
|
38806
|
+
}),
|
|
38807
|
+
[pause, resume, isPaused, isRunning]
|
|
38808
|
+
);
|
|
38774
38809
|
useEffect(() => {
|
|
38775
38810
|
if (registerComponentApi) {
|
|
38776
38811
|
registerComponentApi(timerApi);
|
|
@@ -38833,7 +38868,16 @@ const Timer = forwardRef(function Timer2({
|
|
|
38833
38868
|
initialDelayRef.current = null;
|
|
38834
38869
|
}
|
|
38835
38870
|
};
|
|
38836
|
-
}, [
|
|
38871
|
+
}, [
|
|
38872
|
+
enabled2,
|
|
38873
|
+
interval,
|
|
38874
|
+
once,
|
|
38875
|
+
hasExecutedOnce,
|
|
38876
|
+
isPaused,
|
|
38877
|
+
initialDelay,
|
|
38878
|
+
hasEverStarted,
|
|
38879
|
+
handleTick
|
|
38880
|
+
]);
|
|
38837
38881
|
useEffect(() => {
|
|
38838
38882
|
if (enabled2 && once) {
|
|
38839
38883
|
setHasExecutedOnce(false);
|
|
@@ -47841,7 +47885,7 @@ function IconProvider({ children }) {
|
|
|
47841
47885
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
47842
47886
|
] });
|
|
47843
47887
|
}
|
|
47844
|
-
const version = "0.11.
|
|
47888
|
+
const version = "0.11.9";
|
|
47845
47889
|
const miscellaneousUtils = {
|
|
47846
47890
|
capitalize,
|
|
47847
47891
|
pluralize: pluralize$1,
|
|
@@ -55493,7 +55537,7 @@ function ApiInterceptorProvider({
|
|
|
55493
55537
|
return;
|
|
55494
55538
|
}
|
|
55495
55539
|
void (async () => {
|
|
55496
|
-
const { initMock } = await import("./initMock-
|
|
55540
|
+
const { initMock } = await import("./initMock-BGnNBTSg.js");
|
|
55497
55541
|
const apiInstance2 = await initMock(interceptor);
|
|
55498
55542
|
setApiInstance(apiInstance2);
|
|
55499
55543
|
setInitialized(true);
|
|
@@ -55510,7 +55554,7 @@ function ApiInterceptorProvider({
|
|
|
55510
55554
|
if (define_process_env_default.VITE_MOCK_ENABLED) {
|
|
55511
55555
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
55512
55556
|
useWorker ? import("./apiInterceptorWorker-Wgm2_zjg.js") : Promise.resolve({ createApiInterceptorWorker: () => null }),
|
|
55513
|
-
import("./initMock-
|
|
55557
|
+
import("./initMock-BGnNBTSg.js")
|
|
55514
55558
|
]);
|
|
55515
55559
|
if (interceptor || forceInitialize) {
|
|
55516
55560
|
const apiInstance2 = await initMock(interceptor || {});
|
|
@@ -55547,7 +55591,7 @@ function ApiInterceptorProvider({
|
|
|
55547
55591
|
void (async () => {
|
|
55548
55592
|
const [{ createApiInterceptorWorker }, { initMock }] = await Promise.all([
|
|
55549
55593
|
import("./apiInterceptorWorker-Wgm2_zjg.js"),
|
|
55550
|
-
import("./initMock-
|
|
55594
|
+
import("./initMock-BGnNBTSg.js")
|
|
55551
55595
|
]);
|
|
55552
55596
|
const apiInstance2 = await initMock(interceptor);
|
|
55553
55597
|
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-DfzPdHnk.js";
|
|
4
4
|
import Dexie from "dexie";
|
|
5
5
|
var HttpStatusCode = /* @__PURE__ */ ((HttpStatusCode2) => {
|
|
6
6
|
HttpStatusCode2[HttpStatusCode2["Continue"] = 100] = "Continue";
|