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.
@@ -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-BaxIicW9.mjs";
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 = "_container_rshqv_13";
1437
- const top$1 = "_top_rshqv_20";
1438
- const end = "_end_rshqv_25";
1439
- const bottom$1 = "_bottom_rshqv_31";
1440
- const start = "_start_rshqv_36";
1441
- const shrinkToLabel = "_shrinkToLabel_rshqv_42";
1442
- const inputLabel = "_inputLabel_rshqv_45";
1443
- const disabled$8 = "_disabled_rshqv_58";
1444
- const labelBreak = "_labelBreak_rshqv_62";
1445
- const required = "_required_rshqv_66";
1446
- const requiredMark = "_requiredMark_rshqv_73";
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-CyDpwnty.mjs");
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.35";
40350
+ const version = "0.9.36";
40349
40351
  const miscellaneousUtils = {
40350
40352
  capitalize,
40351
40353
  pluralize: pluralize$1,
@@ -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
- ._container_rshqv_13 {
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
- ._container_rshqv_13._top_rshqv_20 {
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
- ._container_rshqv_13._end_rshqv_25 {
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
- ._container_rshqv_13._bottom_rshqv_31 {
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
- ._container_rshqv_13._start_rshqv_36 {
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
- ._container_rshqv_13._shrinkToLabel_rshqv_42 {
688
+ ._container_rso68_13._shrinkToLabel_rso68_42 {
689
689
  width: fit-content;
690
690
  }
691
- ._container_rshqv_13 ._inputLabel_rshqv_45 {
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
- ._container_rshqv_13 ._inputLabel_rshqv_45._disabled_rshqv_58 {
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
- ._container_rshqv_13 ._inputLabel_rshqv_45._labelBreak_rshqv_62 {
711
+ ._container_rso68_13 ._inputLabel_rso68_48._labelBreak_rso68_65 {
709
712
  white-space: normal;
710
713
  word-break: break-word;
711
714
  }
712
- ._container_rshqv_13 ._inputLabel_rshqv_45._required_rshqv_66 {
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
- ._container_rshqv_13 ._inputLabel_rshqv_45 ._requiredMark_rshqv_73 {
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
  }/*
@@ -1,4 +1,4 @@
1
- import { m as main, s as start } from "./server-common-B1bqw3bO.mjs";
1
+ import { m as main, s as start } from "./server-common-B7iKLsag.mjs";
2
2
  var browser = main;
3
3
  const messageReader = new browser.BrowserMessageReader(self);
4
4
  messageReader.listen((message) => {
@@ -1,4 +1,4 @@
1
- import { m as main, s as start$1 } from "./server-common-B1bqw3bO.mjs";
1
+ import { m as main, s as start$1 } from "./server-common-B7iKLsag.mjs";
2
2
  var node = main;
3
3
  function start() {
4
4
  const connection = node.createConnection(node.ProposedFeatures.all);