wacomm 1.63.1 → 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,27 +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,
9060
+ value: u,
9061
+ inputValue: o,
9059
9062
  sx: {
9060
9063
  width: "100%",
9061
9064
  "& .MuiOutlinedInput-root": {
@@ -9066,14 +9069,14 @@ function ij({
9066
9069
  top: "50%",
9067
9070
  transform: "translateY(-50%)",
9068
9071
  paddingLeft: "8px",
9069
- display: a || c ? "none" : "block",
9072
+ display: l || o ? "none" : "block",
9070
9073
  border: "none"
9071
9074
  }
9072
9075
  },
9073
- renderInput: (m) => /* @__PURE__ */ b.jsx(
9076
+ renderInput: (h) => /* @__PURE__ */ b.jsx(
9074
9077
  q1,
9075
9078
  {
9076
- ...m,
9079
+ ...h,
9077
9080
  slotProps: {
9078
9081
  inputLabel: {
9079
9082
  sx: {
@@ -9081,14 +9084,14 @@ function ij({
9081
9084
  }
9082
9085
  }
9083
9086
  },
9084
- label: `${a || c ? "" : i}`
9087
+ label: `${l || o ? "" : a}`
9085
9088
  }
9086
9089
  ),
9087
- onInputChange: f,
9088
- onChange: p,
9089
- onFocus: () => l(!0),
9090
- onBlur: () => l(!1),
9091
- onKeyDown: d
9090
+ onInputChange: d,
9091
+ onChange: f,
9092
+ onFocus: () => c(!0),
9093
+ onBlur: () => c(!1),
9094
+ onKeyDown: m
9092
9095
  }
9093
9096
  );
9094
9097
  }
@@ -39007,11 +39010,11 @@ function uR(e) {
39007
39010
  }, [r]), null;
39008
39011
  }
39009
39012
  const kN = Tr(uR);
39010
- const pR = import("./maplibre-gl-CLQeDees.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) {
39011
39014
  return Uy(t, o, pR);
39012
39015
  }), fR = Qy;
39013
39016
  const mR = cR;
39014
- const hR = import("./mapbox-gl-BhH6C6b3.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) {
39015
39018
  return Uy(t, o, hR);
39016
39019
  }), gR = Qy;
39017
39020
  function yR({ locations: e }) {