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.
- package/dist/Autocomplete.d.ts +2 -1
- package/dist/{index-DSVmXQRk.mjs → index-4ANGACM1.mjs} +30 -26
- package/dist/{index-pP9eGjkB.js → index-YiHTaR-4.js} +2 -2
- package/dist/{mapbox-gl-xjw2x9gs.js → mapbox-gl-Cp-SdX4c.js} +1 -1
- package/dist/{mapbox-gl-Cvd6x5Mc.mjs → mapbox-gl-Cwwe8IW0.mjs} +1 -1
- package/dist/{maplibre-gl-DlFCq6Vw.mjs → maplibre-gl-BYqO9oUo.mjs} +1 -1
- package/dist/{maplibre-gl-csPHOOe6.js → maplibre-gl-DqcU4-6V.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
|
@@ -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
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
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 [
|
|
9044
|
-
|
|
9045
|
-
},
|
|
9046
|
-
|
|
9047
|
-
},
|
|
9048
|
-
|
|
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
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
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:
|
|
9070
|
+
display: a || c ? "none" : "block",
|
|
9067
9071
|
border: "none"
|
|
9068
9072
|
}
|
|
9069
9073
|
},
|
|
9070
|
-
renderInput: (
|
|
9074
|
+
renderInput: (m) => /* @__PURE__ */ b.jsx(
|
|
9071
9075
|
q1,
|
|
9072
9076
|
{
|
|
9073
|
-
...
|
|
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: `${
|
|
9085
|
+
label: `${a || c ? "" : i}`
|
|
9082
9086
|
}
|
|
9083
9087
|
),
|
|
9084
|
-
onInputChange:
|
|
9085
|
-
onChange:
|
|
9086
|
-
onFocus: () =>
|
|
9087
|
-
onBlur: () =>
|
|
9088
|
-
onKeyDown:
|
|
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-
|
|
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-
|
|
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 }) {
|