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.
- package/dist/Autocomplete.d.ts +2 -1
- package/dist/{index-DwjeutQH.mjs → index-C24zYZtS.mjs} +27 -24
- package/dist/{index-DvCJVUJL.js → index-eX62lIBp.js} +2 -2
- package/dist/{mapbox-gl-BhH6C6b3.mjs → mapbox-gl-Ca_4pwvq.mjs} +1 -1
- package/dist/{mapbox-gl-DnLQMaKx.js → mapbox-gl-DVTnarhz.js} +1 -1
- package/dist/{maplibre-gl-CLQeDees.mjs → maplibre-gl-BD1rHidr.mjs} +1 -1
- package/dist/{maplibre-gl-uD5sdU3U.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,27 +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,
|
|
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:
|
|
9072
|
+
display: l || o ? "none" : "block",
|
|
9070
9073
|
border: "none"
|
|
9071
9074
|
}
|
|
9072
9075
|
},
|
|
9073
|
-
renderInput: (
|
|
9076
|
+
renderInput: (h) => /* @__PURE__ */ b.jsx(
|
|
9074
9077
|
q1,
|
|
9075
9078
|
{
|
|
9076
|
-
...
|
|
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: `${
|
|
9087
|
+
label: `${l || o ? "" : a}`
|
|
9085
9088
|
}
|
|
9086
9089
|
),
|
|
9087
|
-
onInputChange:
|
|
9088
|
-
onChange:
|
|
9089
|
-
onFocus: () =>
|
|
9090
|
-
onBlur: () =>
|
|
9091
|
-
onKeyDown:
|
|
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-
|
|
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-
|
|
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 }) {
|