wacomm 1.63.2 → 1.63.3

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.
@@ -8,9 +8,10 @@ interface AutocompleteProps {
8
8
  ref?: React.Ref<any>;
9
9
  options: AutocompleteOption[];
10
10
  placeholder?: string;
11
+ inputValue: string;
11
12
  onSelect: (option: AutocompleteOption) => void;
12
13
  onChange: (text: string) => void;
13
14
  onSearch: ZeroFuncType;
14
15
  }
15
- declare function Autocomplete({ className, ref, options, onSelect, onChange, onSearch, placeholder }: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
16
+ declare function Autocomplete({ className, ref, inputValue, options, onSelect, onChange, onSearch, placeholder }: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
16
17
  export default Autocomplete;
@@ -9035,28 +9035,30 @@ function CT({ label: e, className: t = "" }) {
9035
9035
  function ij({
9036
9036
  className: e = "",
9037
9037
  ref: t = null,
9038
- options: o,
9039
- onSelect: n,
9040
- onChange: r,
9041
- onSearch: s,
9042
- placeholder: i = ""
9038
+ inputValue: o,
9039
+ options: n,
9040
+ onSelect: r,
9041
+ onChange: s,
9042
+ onSearch: i,
9043
+ placeholder: a = ""
9043
9044
  }) {
9044
- const [a, l] = Ye(!1), [c, u] = Ye(""), p = (m, h) => {
9045
- h && n(h);
9046
- }, f = (m, h) => {
9047
- u(h), r(h);
9048
- }, d = (m) => {
9049
- m.key === "Enter" && (m.preventDefault(), s());
9045
+ const [l, c] = Ye(!1), [u, p] = Ye(null), f = (h, g) => {
9046
+ p(g), g && r(g);
9047
+ }, d = (h, g) => {
9048
+ s(g);
9049
+ }, m = (h) => {
9050
+ h.key === "Enter" && (h.preventDefault(), i());
9050
9051
  };
9051
9052
  return /* @__PURE__ */ b.jsx(
9052
9053
  H1,
9053
9054
  {
9054
9055
  className: e,
9055
9056
  ref: t,
9056
- options: o,
9057
- getOptionLabel: (m) => m.value,
9057
+ options: n,
9058
+ getOptionLabel: (h) => h.value,
9058
9059
  popupIcon: null,
9059
- inputValue: c,
9060
+ value: u,
9061
+ inputValue: o,
9060
9062
  sx: {
9061
9063
  width: "100%",
9062
9064
  "& .MuiOutlinedInput-root": {
@@ -9067,14 +9069,14 @@ function ij({
9067
9069
  top: "50%",
9068
9070
  transform: "translateY(-50%)",
9069
9071
  paddingLeft: "8px",
9070
- display: a || c ? "none" : "block",
9072
+ display: l || o ? "none" : "block",
9071
9073
  border: "none"
9072
9074
  }
9073
9075
  },
9074
- renderInput: (m) => /* @__PURE__ */ b.jsx(
9076
+ renderInput: (h) => /* @__PURE__ */ b.jsx(
9075
9077
  q1,
9076
9078
  {
9077
- ...m,
9079
+ ...h,
9078
9080
  slotProps: {
9079
9081
  inputLabel: {
9080
9082
  sx: {
@@ -9082,14 +9084,14 @@ function ij({
9082
9084
  }
9083
9085
  }
9084
9086
  },
9085
- label: `${a || c ? "" : i}`
9087
+ label: `${l || o ? "" : a}`
9086
9088
  }
9087
9089
  ),
9088
- onInputChange: f,
9089
- onChange: p,
9090
- onFocus: () => l(!0),
9091
- onBlur: () => l(!1),
9092
- onKeyDown: d
9090
+ onInputChange: d,
9091
+ onChange: f,
9092
+ onFocus: () => c(!0),
9093
+ onBlur: () => c(!1),
9094
+ onKeyDown: m
9093
9095
  }
9094
9096
  );
9095
9097
  }
@@ -39008,11 +39010,11 @@ function uR(e) {
39008
39010
  }, [r]), null;
39009
39011
  }
39010
39012
  const kN = Tr(uR);
39011
- const pR = import("./maplibre-gl-BYqO9oUo.mjs").then((e) => e.m), dR = P.forwardRef(function(t, o) {
39013
+ const pR = import("./maplibre-gl-BD1rHidr.mjs").then((e) => e.m), dR = P.forwardRef(function(t, o) {
39012
39014
  return Uy(t, o, pR);
39013
39015
  }), fR = Qy;
39014
39016
  const mR = cR;
39015
- const hR = import("./mapbox-gl-Cwwe8IW0.mjs").then((e) => e.m), MN = P.forwardRef(function(t, o) {
39017
+ const hR = import("./mapbox-gl-Ca_4pwvq.mjs").then((e) => e.m), MN = P.forwardRef(function(t, o) {
39016
39018
  return Uy(t, o, hR);
39017
39019
  }), gR = Qy;
39018
39020
  function yR({ locations: e }) {