@dmsi/wedgekit-react 0.0.710 → 0.0.712

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.
Files changed (32) hide show
  1. package/dist/{chunk-G6ST7QDJ.js → chunk-I7FVJNHQ.js} +10 -3
  2. package/dist/components/CalendarRange.cjs +10 -3
  3. package/dist/components/CalendarRange.js +1 -1
  4. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +10 -3
  5. package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +1 -1
  6. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +10 -3
  7. package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +1 -1
  8. package/dist/components/DataGrid/PinnedColumns.cjs +10 -3
  9. package/dist/components/DataGrid/PinnedColumns.js +1 -1
  10. package/dist/components/DataGrid/TableBody/LoadingCell.cjs +10 -3
  11. package/dist/components/DataGrid/TableBody/LoadingCell.js +1 -1
  12. package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +10 -3
  13. package/dist/components/DataGrid/TableBody/TableBodyRow.js +1 -1
  14. package/dist/components/DataGrid/TableBody/index.cjs +10 -3
  15. package/dist/components/DataGrid/TableBody/index.js +1 -1
  16. package/dist/components/DataGrid/index.cjs +10 -3
  17. package/dist/components/DataGrid/index.js +1 -1
  18. package/dist/components/DataGrid/utils.cjs +10 -3
  19. package/dist/components/DataGrid/utils.js +1 -1
  20. package/dist/components/DateInput.cjs +10 -3
  21. package/dist/components/DateInput.js +1 -1
  22. package/dist/components/DateRangeInput.cjs +10 -3
  23. package/dist/components/DateRangeInput.js +1 -1
  24. package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +10 -3
  25. package/dist/components/MobileDataGrid/ColumnSelector/index.js +1 -1
  26. package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +10 -3
  27. package/dist/components/MobileDataGrid/MobileDataGridHeader.js +1 -1
  28. package/dist/components/MobileDataGrid/index.cjs +10 -3
  29. package/dist/components/MobileDataGrid/index.js +1 -1
  30. package/dist/components/index.cjs +10 -3
  31. package/dist/components/index.js +1 -1
  32. package/package.json +1 -1
@@ -1752,7 +1752,8 @@ var DateInput = (_a) => {
1752
1752
  disabled,
1753
1753
  readOnly = false,
1754
1754
  label,
1755
- isDateAvailable
1755
+ isDateAvailable,
1756
+ disableManualInput
1756
1757
  } = _b, props = __objRest(_b, [
1757
1758
  "id",
1758
1759
  "testid",
@@ -1762,7 +1763,8 @@ var DateInput = (_a) => {
1762
1763
  "disabled",
1763
1764
  "readOnly",
1764
1765
  "label",
1765
- "isDateAvailable"
1766
+ "isDateAvailable",
1767
+ "disableManualInput"
1766
1768
  ]);
1767
1769
  const [visible, setVisible] = useState5(false);
1768
1770
  const [inputValue, setInputValue] = useState5("");
@@ -1844,6 +1846,11 @@ var DateInput = (_a) => {
1844
1846
  const handleClick = () => {
1845
1847
  handleFocus();
1846
1848
  };
1849
+ const handleIgnoreFocus = (e) => {
1850
+ e.preventDefault();
1851
+ e.stopPropagation();
1852
+ e.currentTarget.blur();
1853
+ };
1847
1854
  const handleInputChange = (event) => {
1848
1855
  if (readOnly) return;
1849
1856
  const rawValue = event.target.value;
@@ -1918,7 +1925,7 @@ var DateInput = (_a) => {
1918
1925
  disabled,
1919
1926
  readOnly,
1920
1927
  after: /* @__PURE__ */ jsx9(Icon, { name: "calendar_month" }),
1921
- onFocus: handleFocus,
1928
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
1922
1929
  onClick: handleClick,
1923
1930
  onChange: handleInputChange,
1924
1931
  onBlur: handleBlur,
@@ -4439,7 +4439,8 @@ var DateInput = (_a) => {
4439
4439
  disabled,
4440
4440
  readOnly = false,
4441
4441
  label,
4442
- isDateAvailable
4442
+ isDateAvailable,
4443
+ disableManualInput
4443
4444
  } = _b, props = __objRest(_b, [
4444
4445
  "id",
4445
4446
  "testid",
@@ -4449,7 +4450,8 @@ var DateInput = (_a) => {
4449
4450
  "disabled",
4450
4451
  "readOnly",
4451
4452
  "label",
4452
- "isDateAvailable"
4453
+ "isDateAvailable",
4454
+ "disableManualInput"
4453
4455
  ]);
4454
4456
  const [visible, setVisible] = (0, import_react20.useState)(false);
4455
4457
  const [inputValue, setInputValue] = (0, import_react20.useState)("");
@@ -4531,6 +4533,11 @@ var DateInput = (_a) => {
4531
4533
  const handleClick = () => {
4532
4534
  handleFocus();
4533
4535
  };
4536
+ const handleIgnoreFocus = (e) => {
4537
+ e.preventDefault();
4538
+ e.stopPropagation();
4539
+ e.currentTarget.blur();
4540
+ };
4534
4541
  const handleInputChange = (event) => {
4535
4542
  if (readOnly) return;
4536
4543
  const rawValue = event.target.value;
@@ -4605,7 +4612,7 @@ var DateInput = (_a) => {
4605
4612
  disabled,
4606
4613
  readOnly,
4607
4614
  after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
4608
- onFocus: handleFocus,
4615
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
4609
4616
  onClick: handleClick,
4610
4617
  onChange: handleInputChange,
4611
4618
  onBlur: handleBlur,
@@ -2,7 +2,7 @@ import {
2
2
  CalendarRange,
3
3
  CalendarRange_default,
4
4
  isWeekend
5
- } from "../chunk-G6ST7QDJ.js";
5
+ } from "../chunk-I7FVJNHQ.js";
6
6
  import "../chunk-77J763WS.js";
7
7
  import "../chunk-M7INAUAJ.js";
8
8
  import "../chunk-URAV33TJ.js";
@@ -4872,7 +4872,8 @@ var DateInput = (_a) => {
4872
4872
  disabled,
4873
4873
  readOnly = false,
4874
4874
  label,
4875
- isDateAvailable
4875
+ isDateAvailable,
4876
+ disableManualInput
4876
4877
  } = _b, props = __objRest(_b, [
4877
4878
  "id",
4878
4879
  "testid",
@@ -4882,7 +4883,8 @@ var DateInput = (_a) => {
4882
4883
  "disabled",
4883
4884
  "readOnly",
4884
4885
  "label",
4885
- "isDateAvailable"
4886
+ "isDateAvailable",
4887
+ "disableManualInput"
4886
4888
  ]);
4887
4889
  const [visible, setVisible] = (0, import_react20.useState)(false);
4888
4890
  const [inputValue, setInputValue] = (0, import_react20.useState)("");
@@ -4964,6 +4966,11 @@ var DateInput = (_a) => {
4964
4966
  const handleClick = () => {
4965
4967
  handleFocus();
4966
4968
  };
4969
+ const handleIgnoreFocus = (e) => {
4970
+ e.preventDefault();
4971
+ e.stopPropagation();
4972
+ e.currentTarget.blur();
4973
+ };
4967
4974
  const handleInputChange = (event) => {
4968
4975
  if (readOnly) return;
4969
4976
  const rawValue = event.target.value;
@@ -5038,7 +5045,7 @@ var DateInput = (_a) => {
5038
5045
  disabled,
5039
5046
  readOnly,
5040
5047
  after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
5041
- onFocus: handleFocus,
5048
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5042
5049
  onClick: handleClick,
5043
5050
  onChange: handleInputChange,
5044
5051
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ColumnSelectorMenuOption
3
- } from "../../../chunk-G6ST7QDJ.js";
3
+ } from "../../../chunk-I7FVJNHQ.js";
4
4
  import "../../../chunk-77J763WS.js";
5
5
  import "../../../chunk-M7INAUAJ.js";
6
6
  import "../../../chunk-URAV33TJ.js";
@@ -4794,7 +4794,8 @@ var DateInput = (_a) => {
4794
4794
  disabled,
4795
4795
  readOnly = false,
4796
4796
  label,
4797
- isDateAvailable
4797
+ isDateAvailable,
4798
+ disableManualInput
4798
4799
  } = _b, props = __objRest(_b, [
4799
4800
  "id",
4800
4801
  "testid",
@@ -4804,7 +4805,8 @@ var DateInput = (_a) => {
4804
4805
  "disabled",
4805
4806
  "readOnly",
4806
4807
  "label",
4807
- "isDateAvailable"
4808
+ "isDateAvailable",
4809
+ "disableManualInput"
4808
4810
  ]);
4809
4811
  const [visible, setVisible] = (0, import_react19.useState)(false);
4810
4812
  const [inputValue, setInputValue] = (0, import_react19.useState)("");
@@ -4886,6 +4888,11 @@ var DateInput = (_a) => {
4886
4888
  const handleClick = () => {
4887
4889
  handleFocus();
4888
4890
  };
4891
+ const handleIgnoreFocus = (e) => {
4892
+ e.preventDefault();
4893
+ e.stopPropagation();
4894
+ e.currentTarget.blur();
4895
+ };
4889
4896
  const handleInputChange = (event) => {
4890
4897
  if (readOnly) return;
4891
4898
  const rawValue = event.target.value;
@@ -4960,7 +4967,7 @@ var DateInput = (_a) => {
4960
4967
  disabled,
4961
4968
  readOnly,
4962
4969
  after: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon, { name: "calendar_month" }),
4963
- onFocus: handleFocus,
4970
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
4964
4971
  onClick: handleClick,
4965
4972
  onChange: handleInputChange,
4966
4973
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ColumnSelectorHeaderCell
3
- } from "../../../chunk-G6ST7QDJ.js";
3
+ } from "../../../chunk-I7FVJNHQ.js";
4
4
  import "../../../chunk-77J763WS.js";
5
5
  import "../../../chunk-M7INAUAJ.js";
6
6
  import "../../../chunk-URAV33TJ.js";
@@ -4639,7 +4639,8 @@ var DateInput = (_a) => {
4639
4639
  disabled,
4640
4640
  readOnly = false,
4641
4641
  label,
4642
- isDateAvailable
4642
+ isDateAvailable,
4643
+ disableManualInput
4643
4644
  } = _b, props = __objRest(_b, [
4644
4645
  "id",
4645
4646
  "testid",
@@ -4649,7 +4650,8 @@ var DateInput = (_a) => {
4649
4650
  "disabled",
4650
4651
  "readOnly",
4651
4652
  "label",
4652
- "isDateAvailable"
4653
+ "isDateAvailable",
4654
+ "disableManualInput"
4653
4655
  ]);
4654
4656
  const [visible, setVisible] = (0, import_react18.useState)(false);
4655
4657
  const [inputValue, setInputValue] = (0, import_react18.useState)("");
@@ -4731,6 +4733,11 @@ var DateInput = (_a) => {
4731
4733
  const handleClick = () => {
4732
4734
  handleFocus();
4733
4735
  };
4736
+ const handleIgnoreFocus = (e) => {
4737
+ e.preventDefault();
4738
+ e.stopPropagation();
4739
+ e.currentTarget.blur();
4740
+ };
4734
4741
  const handleInputChange = (event) => {
4735
4742
  if (readOnly) return;
4736
4743
  const rawValue = event.target.value;
@@ -4805,7 +4812,7 @@ var DateInput = (_a) => {
4805
4812
  disabled,
4806
4813
  readOnly,
4807
4814
  after: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "calendar_month" }),
4808
- onFocus: handleFocus,
4815
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
4809
4816
  onClick: handleClick,
4810
4817
  onChange: handleInputChange,
4811
4818
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PinnedColumns
3
- } from "../../chunk-G6ST7QDJ.js";
3
+ } from "../../chunk-I7FVJNHQ.js";
4
4
  import "../../chunk-77J763WS.js";
5
5
  import "../../chunk-M7INAUAJ.js";
6
6
  import "../../chunk-URAV33TJ.js";
@@ -4864,7 +4864,8 @@ var DateInput = (_a) => {
4864
4864
  disabled,
4865
4865
  readOnly = false,
4866
4866
  label,
4867
- isDateAvailable
4867
+ isDateAvailable,
4868
+ disableManualInput
4868
4869
  } = _b, props = __objRest(_b, [
4869
4870
  "id",
4870
4871
  "testid",
@@ -4874,7 +4875,8 @@ var DateInput = (_a) => {
4874
4875
  "disabled",
4875
4876
  "readOnly",
4876
4877
  "label",
4877
- "isDateAvailable"
4878
+ "isDateAvailable",
4879
+ "disableManualInput"
4878
4880
  ]);
4879
4881
  const [visible, setVisible] = (0, import_react21.useState)(false);
4880
4882
  const [inputValue, setInputValue] = (0, import_react21.useState)("");
@@ -4956,6 +4958,11 @@ var DateInput = (_a) => {
4956
4958
  const handleClick = () => {
4957
4959
  handleFocus();
4958
4960
  };
4961
+ const handleIgnoreFocus = (e) => {
4962
+ e.preventDefault();
4963
+ e.stopPropagation();
4964
+ e.currentTarget.blur();
4965
+ };
4959
4966
  const handleInputChange = (event) => {
4960
4967
  if (readOnly) return;
4961
4968
  const rawValue = event.target.value;
@@ -5030,7 +5037,7 @@ var DateInput = (_a) => {
5030
5037
  disabled,
5031
5038
  readOnly,
5032
5039
  after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
5033
- onFocus: handleFocus,
5040
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5034
5041
  onClick: handleClick,
5035
5042
  onChange: handleInputChange,
5036
5043
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LoadingCell
3
- } from "../../../chunk-G6ST7QDJ.js";
3
+ } from "../../../chunk-I7FVJNHQ.js";
4
4
  import "../../../chunk-77J763WS.js";
5
5
  import "../../../chunk-M7INAUAJ.js";
6
6
  import "../../../chunk-URAV33TJ.js";
@@ -4791,7 +4791,8 @@ var DateInput = (_a) => {
4791
4791
  disabled,
4792
4792
  readOnly = false,
4793
4793
  label,
4794
- isDateAvailable
4794
+ isDateAvailable,
4795
+ disableManualInput
4795
4796
  } = _b, props = __objRest(_b, [
4796
4797
  "id",
4797
4798
  "testid",
@@ -4801,7 +4802,8 @@ var DateInput = (_a) => {
4801
4802
  "disabled",
4802
4803
  "readOnly",
4803
4804
  "label",
4804
- "isDateAvailable"
4805
+ "isDateAvailable",
4806
+ "disableManualInput"
4805
4807
  ]);
4806
4808
  const [visible, setVisible] = (0, import_react20.useState)(false);
4807
4809
  const [inputValue, setInputValue] = (0, import_react20.useState)("");
@@ -4883,6 +4885,11 @@ var DateInput = (_a) => {
4883
4885
  const handleClick = () => {
4884
4886
  handleFocus();
4885
4887
  };
4888
+ const handleIgnoreFocus = (e) => {
4889
+ e.preventDefault();
4890
+ e.stopPropagation();
4891
+ e.currentTarget.blur();
4892
+ };
4886
4893
  const handleInputChange = (event) => {
4887
4894
  if (readOnly) return;
4888
4895
  const rawValue = event.target.value;
@@ -4957,7 +4964,7 @@ var DateInput = (_a) => {
4957
4964
  disabled,
4958
4965
  readOnly,
4959
4966
  after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
4960
- onFocus: handleFocus,
4967
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
4961
4968
  onClick: handleClick,
4962
4969
  onChange: handleInputChange,
4963
4970
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TableBodyRow
3
- } from "../../../chunk-G6ST7QDJ.js";
3
+ } from "../../../chunk-I7FVJNHQ.js";
4
4
  import "../../../chunk-77J763WS.js";
5
5
  import "../../../chunk-M7INAUAJ.js";
6
6
  import "../../../chunk-URAV33TJ.js";
@@ -4603,7 +4603,8 @@ var DateInput = (_a) => {
4603
4603
  disabled,
4604
4604
  readOnly = false,
4605
4605
  label,
4606
- isDateAvailable
4606
+ isDateAvailable,
4607
+ disableManualInput
4607
4608
  } = _b, props = __objRest(_b, [
4608
4609
  "id",
4609
4610
  "testid",
@@ -4613,7 +4614,8 @@ var DateInput = (_a) => {
4613
4614
  "disabled",
4614
4615
  "readOnly",
4615
4616
  "label",
4616
- "isDateAvailable"
4617
+ "isDateAvailable",
4618
+ "disableManualInput"
4617
4619
  ]);
4618
4620
  const [visible, setVisible] = (0, import_react20.useState)(false);
4619
4621
  const [inputValue, setInputValue] = (0, import_react20.useState)("");
@@ -4695,6 +4697,11 @@ var DateInput = (_a) => {
4695
4697
  const handleClick = () => {
4696
4698
  handleFocus();
4697
4699
  };
4700
+ const handleIgnoreFocus = (e) => {
4701
+ e.preventDefault();
4702
+ e.stopPropagation();
4703
+ e.currentTarget.blur();
4704
+ };
4698
4705
  const handleInputChange = (event) => {
4699
4706
  if (readOnly) return;
4700
4707
  const rawValue = event.target.value;
@@ -4769,7 +4776,7 @@ var DateInput = (_a) => {
4769
4776
  disabled,
4770
4777
  readOnly,
4771
4778
  after: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "calendar_month" }),
4772
- onFocus: handleFocus,
4779
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
4773
4780
  onClick: handleClick,
4774
4781
  onChange: handleInputChange,
4775
4782
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TableBody
3
- } from "../../../chunk-G6ST7QDJ.js";
3
+ } from "../../../chunk-I7FVJNHQ.js";
4
4
  import "../../../chunk-77J763WS.js";
5
5
  import "../../../chunk-M7INAUAJ.js";
6
6
  import "../../../chunk-URAV33TJ.js";
@@ -3735,7 +3735,8 @@ var DateInput = (_a) => {
3735
3735
  disabled,
3736
3736
  readOnly = false,
3737
3737
  label,
3738
- isDateAvailable
3738
+ isDateAvailable,
3739
+ disableManualInput
3739
3740
  } = _b, props = __objRest(_b, [
3740
3741
  "id",
3741
3742
  "testid",
@@ -3745,7 +3746,8 @@ var DateInput = (_a) => {
3745
3746
  "disabled",
3746
3747
  "readOnly",
3747
3748
  "label",
3748
- "isDateAvailable"
3749
+ "isDateAvailable",
3750
+ "disableManualInput"
3749
3751
  ]);
3750
3752
  const [visible, setVisible] = (0, import_react16.useState)(false);
3751
3753
  const [inputValue, setInputValue] = (0, import_react16.useState)("");
@@ -3827,6 +3829,11 @@ var DateInput = (_a) => {
3827
3829
  const handleClick = () => {
3828
3830
  handleFocus();
3829
3831
  };
3832
+ const handleIgnoreFocus = (e) => {
3833
+ e.preventDefault();
3834
+ e.stopPropagation();
3835
+ e.currentTarget.blur();
3836
+ };
3830
3837
  const handleInputChange = (event) => {
3831
3838
  if (readOnly) return;
3832
3839
  const rawValue = event.target.value;
@@ -3901,7 +3908,7 @@ var DateInput = (_a) => {
3901
3908
  disabled,
3902
3909
  readOnly,
3903
3910
  after: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, { name: "calendar_month" }),
3904
- onFocus: handleFocus,
3911
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
3905
3912
  onClick: handleClick,
3906
3913
  onChange: handleInputChange,
3907
3914
  onBlur: handleBlur,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  DataGrid,
4
4
  DataGrid_default
5
- } from "../../chunk-G6ST7QDJ.js";
5
+ } from "../../chunk-I7FVJNHQ.js";
6
6
  import "../../chunk-77J763WS.js";
7
7
  import "../../chunk-M7INAUAJ.js";
8
8
  import "../../chunk-URAV33TJ.js";
@@ -4883,7 +4883,8 @@ var DateInput = (_a) => {
4883
4883
  disabled,
4884
4884
  readOnly = false,
4885
4885
  label,
4886
- isDateAvailable
4886
+ isDateAvailable,
4887
+ disableManualInput
4887
4888
  } = _b, props = __objRest(_b, [
4888
4889
  "id",
4889
4890
  "testid",
@@ -4893,7 +4894,8 @@ var DateInput = (_a) => {
4893
4894
  "disabled",
4894
4895
  "readOnly",
4895
4896
  "label",
4896
- "isDateAvailable"
4897
+ "isDateAvailable",
4898
+ "disableManualInput"
4897
4899
  ]);
4898
4900
  const [visible, setVisible] = (0, import_react21.useState)(false);
4899
4901
  const [inputValue, setInputValue] = (0, import_react21.useState)("");
@@ -4975,6 +4977,11 @@ var DateInput = (_a) => {
4975
4977
  const handleClick = () => {
4976
4978
  handleFocus();
4977
4979
  };
4980
+ const handleIgnoreFocus = (e) => {
4981
+ e.preventDefault();
4982
+ e.stopPropagation();
4983
+ e.currentTarget.blur();
4984
+ };
4978
4985
  const handleInputChange = (event) => {
4979
4986
  if (readOnly) return;
4980
4987
  const rawValue = event.target.value;
@@ -5049,7 +5056,7 @@ var DateInput = (_a) => {
5049
5056
  disabled,
5050
5057
  readOnly,
5051
5058
  after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
5052
- onFocus: handleFocus,
5059
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5053
5060
  onClick: handleClick,
5054
5061
  onChange: handleInputChange,
5055
5062
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getSortIcon
3
- } from "../../chunk-G6ST7QDJ.js";
3
+ } from "../../chunk-I7FVJNHQ.js";
4
4
  import "../../chunk-77J763WS.js";
5
5
  import "../../chunk-M7INAUAJ.js";
6
6
  import "../../chunk-URAV33TJ.js";
@@ -5833,7 +5833,8 @@ var DateInput = (_a) => {
5833
5833
  disabled,
5834
5834
  readOnly = false,
5835
5835
  label,
5836
- isDateAvailable
5836
+ isDateAvailable,
5837
+ disableManualInput
5837
5838
  } = _b, props = __objRest(_b, [
5838
5839
  "id",
5839
5840
  "testid",
@@ -5843,7 +5844,8 @@ var DateInput = (_a) => {
5843
5844
  "disabled",
5844
5845
  "readOnly",
5845
5846
  "label",
5846
- "isDateAvailable"
5847
+ "isDateAvailable",
5848
+ "disableManualInput"
5847
5849
  ]);
5848
5850
  const [visible, setVisible] = (0, import_react40.useState)(false);
5849
5851
  const [inputValue, setInputValue] = (0, import_react40.useState)("");
@@ -5925,6 +5927,11 @@ var DateInput = (_a) => {
5925
5927
  const handleClick = () => {
5926
5928
  handleFocus();
5927
5929
  };
5930
+ const handleIgnoreFocus = (e) => {
5931
+ e.preventDefault();
5932
+ e.stopPropagation();
5933
+ e.currentTarget.blur();
5934
+ };
5928
5935
  const handleInputChange = (event) => {
5929
5936
  if (readOnly) return;
5930
5937
  const rawValue = event.target.value;
@@ -5999,7 +6006,7 @@ var DateInput = (_a) => {
5999
6006
  disabled,
6000
6007
  readOnly,
6001
6008
  after: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Icon, { name: "calendar_month" }),
6002
- onFocus: handleFocus,
6009
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
6003
6010
  onClick: handleClick,
6004
6011
  onChange: handleInputChange,
6005
6012
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DateInput
3
- } from "../chunk-G6ST7QDJ.js";
3
+ } from "../chunk-I7FVJNHQ.js";
4
4
  import "../chunk-77J763WS.js";
5
5
  import "../chunk-M7INAUAJ.js";
6
6
  import "../chunk-URAV33TJ.js";
@@ -4447,7 +4447,8 @@ var DateInput = (_a) => {
4447
4447
  disabled,
4448
4448
  readOnly = false,
4449
4449
  label,
4450
- isDateAvailable
4450
+ isDateAvailable,
4451
+ disableManualInput
4451
4452
  } = _b, props = __objRest(_b, [
4452
4453
  "id",
4453
4454
  "testid",
@@ -4457,7 +4458,8 @@ var DateInput = (_a) => {
4457
4458
  "disabled",
4458
4459
  "readOnly",
4459
4460
  "label",
4460
- "isDateAvailable"
4461
+ "isDateAvailable",
4462
+ "disableManualInput"
4461
4463
  ]);
4462
4464
  const [visible, setVisible] = (0, import_react20.useState)(false);
4463
4465
  const [inputValue, setInputValue] = (0, import_react20.useState)("");
@@ -4539,6 +4541,11 @@ var DateInput = (_a) => {
4539
4541
  const handleClick = () => {
4540
4542
  handleFocus();
4541
4543
  };
4544
+ const handleIgnoreFocus = (e) => {
4545
+ e.preventDefault();
4546
+ e.stopPropagation();
4547
+ e.currentTarget.blur();
4548
+ };
4542
4549
  const handleInputChange = (event) => {
4543
4550
  if (readOnly) return;
4544
4551
  const rawValue = event.target.value;
@@ -4613,7 +4620,7 @@ var DateInput = (_a) => {
4613
4620
  disabled,
4614
4621
  readOnly,
4615
4622
  after: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Icon, { name: "calendar_month" }),
4616
- onFocus: handleFocus,
4623
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
4617
4624
  onClick: handleClick,
4618
4625
  onChange: handleInputChange,
4619
4626
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CalendarRange
3
- } from "../chunk-G6ST7QDJ.js";
3
+ } from "../chunk-I7FVJNHQ.js";
4
4
  import "../chunk-77J763WS.js";
5
5
  import "../chunk-M7INAUAJ.js";
6
6
  import "../chunk-URAV33TJ.js";
@@ -4900,7 +4900,8 @@ var DateInput = (_a) => {
4900
4900
  disabled,
4901
4901
  readOnly = false,
4902
4902
  label,
4903
- isDateAvailable
4903
+ isDateAvailable,
4904
+ disableManualInput
4904
4905
  } = _b, props = __objRest(_b, [
4905
4906
  "id",
4906
4907
  "testid",
@@ -4910,7 +4911,8 @@ var DateInput = (_a) => {
4910
4911
  "disabled",
4911
4912
  "readOnly",
4912
4913
  "label",
4913
- "isDateAvailable"
4914
+ "isDateAvailable",
4915
+ "disableManualInput"
4914
4916
  ]);
4915
4917
  const [visible, setVisible] = (0, import_react21.useState)(false);
4916
4918
  const [inputValue, setInputValue] = (0, import_react21.useState)("");
@@ -4992,6 +4994,11 @@ var DateInput = (_a) => {
4992
4994
  const handleClick = () => {
4993
4995
  handleFocus();
4994
4996
  };
4997
+ const handleIgnoreFocus = (e) => {
4998
+ e.preventDefault();
4999
+ e.stopPropagation();
5000
+ e.currentTarget.blur();
5001
+ };
4995
5002
  const handleInputChange = (event) => {
4996
5003
  if (readOnly) return;
4997
5004
  const rawValue = event.target.value;
@@ -5066,7 +5073,7 @@ var DateInput = (_a) => {
5066
5073
  disabled,
5067
5074
  readOnly,
5068
5075
  after: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon, { name: "calendar_month" }),
5069
- onFocus: handleFocus,
5076
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5070
5077
  onClick: handleClick,
5071
5078
  onChange: handleInputChange,
5072
5079
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ColumnSelector
3
- } from "../../../chunk-G6ST7QDJ.js";
3
+ } from "../../../chunk-I7FVJNHQ.js";
4
4
  import "../../../chunk-77J763WS.js";
5
5
  import "../../../chunk-M7INAUAJ.js";
6
6
  import "../../../chunk-URAV33TJ.js";
@@ -5207,7 +5207,8 @@ var DateInput = (_a) => {
5207
5207
  disabled,
5208
5208
  readOnly = false,
5209
5209
  label,
5210
- isDateAvailable
5210
+ isDateAvailable,
5211
+ disableManualInput
5211
5212
  } = _b, props = __objRest(_b, [
5212
5213
  "id",
5213
5214
  "testid",
@@ -5217,7 +5218,8 @@ var DateInput = (_a) => {
5217
5218
  "disabled",
5218
5219
  "readOnly",
5219
5220
  "label",
5220
- "isDateAvailable"
5221
+ "isDateAvailable",
5222
+ "disableManualInput"
5221
5223
  ]);
5222
5224
  const [visible, setVisible] = (0, import_react21.useState)(false);
5223
5225
  const [inputValue, setInputValue] = (0, import_react21.useState)("");
@@ -5299,6 +5301,11 @@ var DateInput = (_a) => {
5299
5301
  const handleClick = () => {
5300
5302
  handleFocus();
5301
5303
  };
5304
+ const handleIgnoreFocus = (e) => {
5305
+ e.preventDefault();
5306
+ e.stopPropagation();
5307
+ e.currentTarget.blur();
5308
+ };
5302
5309
  const handleInputChange = (event) => {
5303
5310
  if (readOnly) return;
5304
5311
  const rawValue = event.target.value;
@@ -5373,7 +5380,7 @@ var DateInput = (_a) => {
5373
5380
  disabled,
5374
5381
  readOnly,
5375
5382
  after: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon, { name: "calendar_month" }),
5376
- onFocus: handleFocus,
5383
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5377
5384
  onClick: handleClick,
5378
5385
  onChange: handleInputChange,
5379
5386
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MobileDataGridHeader
3
- } from "../../chunk-G6ST7QDJ.js";
3
+ } from "../../chunk-I7FVJNHQ.js";
4
4
  import "../../chunk-77J763WS.js";
5
5
  import "../../chunk-M7INAUAJ.js";
6
6
  import "../../chunk-URAV33TJ.js";
@@ -5207,7 +5207,8 @@ var DateInput = (_a) => {
5207
5207
  disabled,
5208
5208
  readOnly = false,
5209
5209
  label,
5210
- isDateAvailable
5210
+ isDateAvailable,
5211
+ disableManualInput
5211
5212
  } = _b, props = __objRest(_b, [
5212
5213
  "id",
5213
5214
  "testid",
@@ -5217,7 +5218,8 @@ var DateInput = (_a) => {
5217
5218
  "disabled",
5218
5219
  "readOnly",
5219
5220
  "label",
5220
- "isDateAvailable"
5221
+ "isDateAvailable",
5222
+ "disableManualInput"
5221
5223
  ]);
5222
5224
  const [visible, setVisible] = (0, import_react21.useState)(false);
5223
5225
  const [inputValue, setInputValue] = (0, import_react21.useState)("");
@@ -5299,6 +5301,11 @@ var DateInput = (_a) => {
5299
5301
  const handleClick = () => {
5300
5302
  handleFocus();
5301
5303
  };
5304
+ const handleIgnoreFocus = (e) => {
5305
+ e.preventDefault();
5306
+ e.stopPropagation();
5307
+ e.currentTarget.blur();
5308
+ };
5302
5309
  const handleInputChange = (event) => {
5303
5310
  if (readOnly) return;
5304
5311
  const rawValue = event.target.value;
@@ -5373,7 +5380,7 @@ var DateInput = (_a) => {
5373
5380
  disabled,
5374
5381
  readOnly,
5375
5382
  after: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Icon, { name: "calendar_month" }),
5376
- onFocus: handleFocus,
5383
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5377
5384
  onClick: handleClick,
5378
5385
  onChange: handleInputChange,
5379
5386
  onBlur: handleBlur,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MobileDataGrid
3
- } from "../../chunk-G6ST7QDJ.js";
3
+ } from "../../chunk-I7FVJNHQ.js";
4
4
  import "../../chunk-77J763WS.js";
5
5
  import "../../chunk-M7INAUAJ.js";
6
6
  import "../../chunk-URAV33TJ.js";
@@ -4933,7 +4933,8 @@ var DateInput = (_a) => {
4933
4933
  disabled,
4934
4934
  readOnly = false,
4935
4935
  label,
4936
- isDateAvailable
4936
+ isDateAvailable,
4937
+ disableManualInput
4937
4938
  } = _b, props = __objRest(_b, [
4938
4939
  "id",
4939
4940
  "testid",
@@ -4943,7 +4944,8 @@ var DateInput = (_a) => {
4943
4944
  "disabled",
4944
4945
  "readOnly",
4945
4946
  "label",
4946
- "isDateAvailable"
4947
+ "isDateAvailable",
4948
+ "disableManualInput"
4947
4949
  ]);
4948
4950
  const [visible, setVisible] = (0, import_react21.useState)(false);
4949
4951
  const [inputValue, setInputValue] = (0, import_react21.useState)("");
@@ -5025,6 +5027,11 @@ var DateInput = (_a) => {
5025
5027
  const handleClick = () => {
5026
5028
  handleFocus();
5027
5029
  };
5030
+ const handleIgnoreFocus = (e) => {
5031
+ e.preventDefault();
5032
+ e.stopPropagation();
5033
+ e.currentTarget.blur();
5034
+ };
5028
5035
  const handleInputChange = (event) => {
5029
5036
  if (readOnly) return;
5030
5037
  const rawValue = event.target.value;
@@ -5099,7 +5106,7 @@ var DateInput = (_a) => {
5099
5106
  disabled,
5100
5107
  readOnly,
5101
5108
  after: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Icon, { name: "calendar_month" }),
5102
- onFocus: handleFocus,
5109
+ onFocus: disableManualInput ? handleIgnoreFocus : handleFocus,
5103
5110
  onClick: handleClick,
5104
5111
  onChange: handleInputChange,
5105
5112
  onBlur: handleBlur,
@@ -2,7 +2,7 @@ import {
2
2
  DataGrid,
3
3
  DateInput,
4
4
  MobileDataGrid
5
- } from "../chunk-G6ST7QDJ.js";
5
+ } from "../chunk-I7FVJNHQ.js";
6
6
  import "../chunk-77J763WS.js";
7
7
  import "../chunk-M7INAUAJ.js";
8
8
  import "../chunk-URAV33TJ.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmsi/wedgekit-react",
3
3
  "private": false,
4
- "version": "0.0.710",
4
+ "version": "0.0.712",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup",