wacomm 1.63.0 → 1.63.2

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