xmlui 0.9.35 → 0.9.36
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/{apiInterceptorWorker-CyDpwnty.mjs → apiInterceptorWorker-CWN1iwsH.mjs} +1 -1
- package/dist/lib/{index-BaxIicW9.mjs → index-BmTqBdiA.mjs} +16 -14
- package/dist/lib/index.css +14 -11
- package/dist/lib/language-server-web-worker.mjs +1 -1
- package/dist/lib/language-server.mjs +1 -1
- package/dist/lib/{server-common-B1bqw3bO.mjs → server-common-B7iKLsag.mjs} +2464 -2548
- package/dist/lib/xmlui.mjs +1 -1
- package/dist/metadata/style.css +14 -11
- package/dist/metadata/xmlui-metadata.mjs +14 -12
- package/dist/metadata/xmlui-metadata.umd.js +14 -12
- package/dist/scripts/package.json +1 -1
- package/dist/scripts/src/components/FormItem/ItemWithLabel.js +1 -1
- package/dist/standalone/xmlui-standalone.umd.js +32 -27
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError, s as setupWorker } from "./index-
|
|
1
|
+
import { r as runEventHandlerCode, g as getDate, d as delay, m as miscellaneousUtils, a as dateFunctions, o as orderBy, T as ThrowStatementError, s as setupWorker } from "./index-BmTqBdiA.mjs";
|
|
2
2
|
import { delay as delay$1, HttpResponse, http } from "msw";
|
|
3
3
|
import { isArray, isObject, mapValues } from "lodash-es";
|
|
4
4
|
import Dexie from "dexie";
|
|
@@ -1433,17 +1433,18 @@ function getElementRef(element) {
|
|
|
1433
1433
|
return element.props.ref || element.ref;
|
|
1434
1434
|
}
|
|
1435
1435
|
const themeVars$M = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)", "fontFamily-FormItemLabel": "var(--xmlui-fontFamily-FormItemLabel)", "fontSize-FormItemLabel": "var(--xmlui-fontSize-FormItemLabel)", "fontWeight-FormItemLabel": "var(--xmlui-fontWeight-FormItemLabel)", "fontStyle-FormItemLabel": "var(--xmlui-fontStyle-FormItemLabel)", "textTransform-FormItemLabel": "var(--xmlui-textTransform-FormItemLabel)", "textColor-FormItemLabel-required": "var(--xmlui-textColor-FormItemLabel-required)", "fontSize-FormItemLabel-required": "var(--xmlui-fontSize-FormItemLabel-required)", "fontWeight-FormItemLabel-required": "var(--xmlui-fontWeight-FormItemLabel-required)", "fontStyle-FormItemLabel-required": "var(--xmlui-fontStyle-FormItemLabel-required)", "textTransform-FormItemLabel-required": "var(--xmlui-textTransform-FormItemLabel-required)", "textColor-FormItemLabel-requiredMark": "var(--xmlui-textColor-FormItemLabel-requiredMark)"}'`;
|
|
1436
|
-
const container$3 = "
|
|
1437
|
-
const top$1 = "
|
|
1438
|
-
const end = "
|
|
1439
|
-
const bottom$1 = "
|
|
1440
|
-
const start = "
|
|
1441
|
-
const shrinkToLabel = "
|
|
1442
|
-
const
|
|
1443
|
-
const
|
|
1444
|
-
const
|
|
1445
|
-
const
|
|
1446
|
-
const
|
|
1436
|
+
const container$3 = "_container_rso68_13";
|
|
1437
|
+
const top$1 = "_top_rso68_20";
|
|
1438
|
+
const end = "_end_rso68_25";
|
|
1439
|
+
const bottom$1 = "_bottom_rso68_31";
|
|
1440
|
+
const start = "_start_rso68_36";
|
|
1441
|
+
const shrinkToLabel = "_shrinkToLabel_rso68_42";
|
|
1442
|
+
const itemWithLabel = "_itemWithLabel_rso68_45";
|
|
1443
|
+
const inputLabel = "_inputLabel_rso68_48";
|
|
1444
|
+
const disabled$8 = "_disabled_rso68_61";
|
|
1445
|
+
const labelBreak = "_labelBreak_rso68_65";
|
|
1446
|
+
const required = "_required_rso68_69";
|
|
1447
|
+
const requiredMark = "_requiredMark_rso68_76";
|
|
1447
1448
|
const styles$11 = {
|
|
1448
1449
|
themeVars: themeVars$M,
|
|
1449
1450
|
container: container$3,
|
|
@@ -1452,6 +1453,7 @@ const styles$11 = {
|
|
|
1452
1453
|
bottom: bottom$1,
|
|
1453
1454
|
start,
|
|
1454
1455
|
shrinkToLabel,
|
|
1456
|
+
itemWithLabel,
|
|
1455
1457
|
inputLabel,
|
|
1456
1458
|
disabled: disabled$8,
|
|
1457
1459
|
labelBreak,
|
|
@@ -1514,7 +1516,7 @@ const ItemWithLabel = forwardRef(function ItemWithLabel2({
|
|
|
1514
1516
|
if (label2 === void 0 && !validationResult) {
|
|
1515
1517
|
return /* @__PURE__ */ jsx(Slot, { style: style2, id: inputId, ref, children });
|
|
1516
1518
|
}
|
|
1517
|
-
return /* @__PURE__ */ jsxs("div", { style: style2, ref, children: [
|
|
1519
|
+
return /* @__PURE__ */ jsxs("div", { style: style2, ref, className: styles$11.itemWithLabel, children: [
|
|
1518
1520
|
/* @__PURE__ */ jsxs(
|
|
1519
1521
|
"div",
|
|
1520
1522
|
{
|
|
@@ -21704,7 +21706,7 @@ function ApiInterceptorProvider({
|
|
|
21704
21706
|
let interceptorWorker;
|
|
21705
21707
|
(async () => {
|
|
21706
21708
|
if (process.env.VITE_MOCK_ENABLED) {
|
|
21707
|
-
const { createApiInterceptorWorker } = await import("./apiInterceptorWorker-
|
|
21709
|
+
const { createApiInterceptorWorker } = await import("./apiInterceptorWorker-CWN1iwsH.mjs");
|
|
21708
21710
|
if (interceptor) {
|
|
21709
21711
|
interceptorWorker = await createApiInterceptorWorker(interceptor, apiWorker);
|
|
21710
21712
|
if (!apiWorker) {
|
|
@@ -40345,7 +40347,7 @@ function IconProvider({ children }) {
|
|
|
40345
40347
|
/* @__PURE__ */ jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
|
|
40346
40348
|
] });
|
|
40347
40349
|
}
|
|
40348
|
-
const version = "0.9.
|
|
40350
|
+
const version = "0.9.36";
|
|
40349
40351
|
const miscellaneousUtils = {
|
|
40350
40352
|
capitalize,
|
|
40351
40353
|
pluralize: pluralize$1,
|
package/dist/lib/index.css
CHANGED
|
@@ -656,39 +656,42 @@
|
|
|
656
656
|
* This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
|
|
657
657
|
Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
|
|
658
658
|
*/
|
|
659
|
-
.
|
|
659
|
+
._container_rso68_13 {
|
|
660
660
|
display: flex;
|
|
661
661
|
width: 100%;
|
|
662
662
|
flex-direction: column;
|
|
663
663
|
align-items: start;
|
|
664
664
|
gap: 0.5em;
|
|
665
665
|
}
|
|
666
|
-
.
|
|
666
|
+
._container_rso68_13._top_rso68_20 {
|
|
667
667
|
flex-direction: column;
|
|
668
668
|
align-items: start;
|
|
669
669
|
justify-content: center;
|
|
670
670
|
}
|
|
671
|
-
.
|
|
671
|
+
._container_rso68_13._end_rso68_25 {
|
|
672
672
|
flex-direction: row-reverse;
|
|
673
673
|
align-items: center;
|
|
674
674
|
justify-content: start;
|
|
675
675
|
gap: 0.5em;
|
|
676
676
|
}
|
|
677
|
-
.
|
|
677
|
+
._container_rso68_13._bottom_rso68_31 {
|
|
678
678
|
flex-direction: column-reverse;
|
|
679
679
|
align-items: start;
|
|
680
680
|
justify-content: center;
|
|
681
681
|
}
|
|
682
|
-
.
|
|
682
|
+
._container_rso68_13._start_rso68_36 {
|
|
683
683
|
flex-direction: row;
|
|
684
684
|
align-items: center;
|
|
685
685
|
justify-content: start;
|
|
686
686
|
gap: 0.5em;
|
|
687
687
|
}
|
|
688
|
-
.
|
|
688
|
+
._container_rso68_13._shrinkToLabel_rso68_42 {
|
|
689
689
|
width: fit-content;
|
|
690
690
|
}
|
|
691
|
-
.
|
|
691
|
+
._container_rso68_13 ._itemWithLabel_rso68_45 {
|
|
692
|
+
width: 100%;
|
|
693
|
+
}
|
|
694
|
+
._container_rso68_13 ._inputLabel_rso68_48 {
|
|
692
695
|
display: flex;
|
|
693
696
|
color: var(--xmlui-textColor-FormItemLabel);
|
|
694
697
|
font-family: var(--xmlui-fontFamily-FormItemLabel);
|
|
@@ -701,22 +704,22 @@
|
|
|
701
704
|
word-break: normal;
|
|
702
705
|
white-space: nowrap;
|
|
703
706
|
}
|
|
704
|
-
.
|
|
707
|
+
._container_rso68_13 ._inputLabel_rso68_48._disabled_rso68_61 {
|
|
705
708
|
cursor: not-allowed;
|
|
706
709
|
color: var(--xmlui-textColor--disabled);
|
|
707
710
|
}
|
|
708
|
-
.
|
|
711
|
+
._container_rso68_13 ._inputLabel_rso68_48._labelBreak_rso68_65 {
|
|
709
712
|
white-space: normal;
|
|
710
713
|
word-break: break-word;
|
|
711
714
|
}
|
|
712
|
-
.
|
|
715
|
+
._container_rso68_13 ._inputLabel_rso68_48._required_rso68_69 {
|
|
713
716
|
color: var(--xmlui-textColor-FormItemLabel-required);
|
|
714
717
|
font-size: var(--xmlui-fontSize-FormItemLabel-required);
|
|
715
718
|
font-weight: var(--xmlui-fontWeight-FormItemLabel-required);
|
|
716
719
|
font-style: var(--xmlui-fontStyle-FormItemLabel-required);
|
|
717
720
|
text-transform: var(--xmlui-textTransform-FormItemLabel-required);
|
|
718
721
|
}
|
|
719
|
-
.
|
|
722
|
+
._container_rso68_13 ._inputLabel_rso68_48 ._requiredMark_rso68_76 {
|
|
720
723
|
margin-left: 0.2em;
|
|
721
724
|
color: var(--xmlui-textColor-FormItemLabel-requiredMark);
|
|
722
725
|
}/*
|