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.
- package/dist/Autocomplete.d.ts +2 -1
- package/dist/{index-4ANGACM1.mjs → index-C24zYZtS.mjs} +27 -25
- package/dist/{index-YiHTaR-4.js → index-eX62lIBp.js} +2 -2
- package/dist/{mapbox-gl-Cwwe8IW0.mjs → mapbox-gl-Ca_4pwvq.mjs} +1 -1
- package/dist/{mapbox-gl-Cp-SdX4c.js → mapbox-gl-DVTnarhz.js} +1 -1
- package/dist/{maplibre-gl-BYqO9oUo.mjs → maplibre-gl-BD1rHidr.mjs} +1 -1
- package/dist/{maplibre-gl-DqcU4-6V.js → maplibre-gl-BeplOqUM.js} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.es.js +1 -1
- package/package.json +1 -1
package/dist/Autocomplete.d.ts
CHANGED
|
@@ -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
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9038
|
+
inputValue: o,
|
|
9039
|
+
options: n,
|
|
9040
|
+
onSelect: r,
|
|
9041
|
+
onChange: s,
|
|
9042
|
+
onSearch: i,
|
|
9043
|
+
placeholder: a = ""
|
|
9043
9044
|
}) {
|
|
9044
|
-
const [
|
|
9045
|
-
|
|
9046
|
-
},
|
|
9047
|
-
|
|
9048
|
-
},
|
|
9049
|
-
|
|
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:
|
|
9057
|
-
getOptionLabel: (
|
|
9057
|
+
options: n,
|
|
9058
|
+
getOptionLabel: (h) => h.value,
|
|
9058
9059
|
popupIcon: null,
|
|
9059
|
-
|
|
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:
|
|
9072
|
+
display: l || o ? "none" : "block",
|
|
9071
9073
|
border: "none"
|
|
9072
9074
|
}
|
|
9073
9075
|
},
|
|
9074
|
-
renderInput: (
|
|
9076
|
+
renderInput: (h) => /* @__PURE__ */ b.jsx(
|
|
9075
9077
|
q1,
|
|
9076
9078
|
{
|
|
9077
|
-
...
|
|
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: `${
|
|
9087
|
+
label: `${l || o ? "" : a}`
|
|
9086
9088
|
}
|
|
9087
9089
|
),
|
|
9088
|
-
onInputChange:
|
|
9089
|
-
onChange:
|
|
9090
|
-
onFocus: () =>
|
|
9091
|
-
onBlur: () =>
|
|
9092
|
-
onKeyDown:
|
|
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-
|
|
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-
|
|
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 }) {
|