wacomm 1.61.0 → 1.62.0
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 +6 -2
- package/dist/{index-Dnbd1lrV.mjs → index-f7qLQig9.mjs} +4 -7
- package/dist/{index-DLDdWq-r.js → index-zt6vKLJV.js} +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/{mapbox-gl-BZxLeN5h.js → mapbox-gl-B1LUHlar.js} +1 -1
- package/dist/{mapbox-gl-DhifSTHm.mjs → mapbox-gl-fZ2URYOh.mjs} +1 -1
- package/dist/{maplibre-gl-DGzk9jMq.js → maplibre-gl-D01llWwh.js} +1 -1
- package/dist/{maplibre-gl-DDj3hbFy.mjs → maplibre-gl-abwQKzbk.mjs} +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
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
export interface AutocompleteOption {
|
|
2
|
+
id: string;
|
|
3
|
+
value: string;
|
|
4
|
+
}
|
|
1
5
|
interface AutocompleteProps {
|
|
2
6
|
ref?: React.Ref<any>;
|
|
3
|
-
options:
|
|
7
|
+
options: AutocompleteOption[];
|
|
4
8
|
placeholder?: string;
|
|
5
|
-
onSelect: (
|
|
9
|
+
onSelect: (option: AutocompleteOption) => void;
|
|
6
10
|
onChange: (text: string) => void;
|
|
7
11
|
}
|
|
8
12
|
declare function Autocomplete({ ref, options, onSelect, onChange, placeholder }: AutocompleteProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9040,10 +9040,7 @@ function aj({
|
|
|
9040
9040
|
placeholder: r = ""
|
|
9041
9041
|
}) {
|
|
9042
9042
|
const [s, i] = Ye(!1), [a, l] = Ye(""), c = (p, f) => {
|
|
9043
|
-
|
|
9044
|
-
const { placeID: d, description: m } = f;
|
|
9045
|
-
o(d, m);
|
|
9046
|
-
}
|
|
9043
|
+
f && o(f);
|
|
9047
9044
|
}, u = (p, f) => {
|
|
9048
9045
|
l(f), n(f);
|
|
9049
9046
|
};
|
|
@@ -9052,7 +9049,7 @@ function aj({
|
|
|
9052
9049
|
{
|
|
9053
9050
|
ref: e,
|
|
9054
9051
|
options: t,
|
|
9055
|
-
getOptionLabel: (p) => p.
|
|
9052
|
+
getOptionLabel: (p) => p.value,
|
|
9056
9053
|
popupIcon: null,
|
|
9057
9054
|
sx: {
|
|
9058
9055
|
"& .MuiOutlinedInput-root": {
|
|
@@ -39003,11 +39000,11 @@ function uR(e) {
|
|
|
39003
39000
|
}, [r]), null;
|
|
39004
39001
|
}
|
|
39005
39002
|
const MN = Tr(uR);
|
|
39006
|
-
const pR = import("./maplibre-gl-
|
|
39003
|
+
const pR = import("./maplibre-gl-abwQKzbk.mjs").then((e) => e.m), dR = P.forwardRef(function(t, o) {
|
|
39007
39004
|
return Uy(t, o, pR);
|
|
39008
39005
|
}), fR = Qy;
|
|
39009
39006
|
const mR = cR;
|
|
39010
|
-
const hR = import("./mapbox-gl-
|
|
39007
|
+
const hR = import("./mapbox-gl-fZ2URYOh.mjs").then((e) => e.m), RN = P.forwardRef(function(t, o) {
|
|
39011
39008
|
return Uy(t, o, hR);
|
|
39012
39009
|
}), gR = Qy;
|
|
39013
39010
|
function yR({ locations: e }) {
|