wacomm 1.66.1 → 1.66.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/buttons/CacheButton.d.ts +2 -1
- package/dist/{index-CCHbXIeA.mjs → index-CAig65A_.mjs} +12 -11
- package/dist/{index-CwSr_V_k.js → index-D-K461XI.js} +2 -2
- package/dist/{mapbox-gl-JqcuObgZ.js → mapbox-gl-BomhD_Jf.js} +1 -1
- package/dist/{mapbox-gl-B7ifpazK.mjs → mapbox-gl-DgiVK2oI.mjs} +1 -1
- package/dist/{maplibre-gl-DxaLb1R1.js → maplibre-gl-3CclOcfN.js} +1 -1
- package/dist/{maplibre-gl-sCZD_QCi.mjs → maplibre-gl-BZWMGnhz.mjs} +1 -1
- package/dist/wacomm.cjs.js +1 -1
- package/dist/wacomm.es.js +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ export interface CacheButtonProps {
|
|
|
4
4
|
onClick: (cancelLoading: ZeroFuncType) => void;
|
|
5
5
|
label: string;
|
|
6
6
|
isHighlighted: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
7
8
|
}
|
|
8
|
-
declare function CacheButton({ id, onClick, label, isHighlighted }: CacheButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function CacheButton({ id, onClick, label, isHighlighted, disabled }: CacheButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export default CacheButton;
|
|
@@ -7540,24 +7540,25 @@ function NN({
|
|
|
7540
7540
|
] });
|
|
7541
7541
|
}
|
|
7542
7542
|
const Ns = {};
|
|
7543
|
-
function jN({ id: e, onClick: t, label: o, isHighlighted: n }) {
|
|
7544
|
-
const [
|
|
7543
|
+
function jN({ id: e, onClick: t, label: o, isHighlighted: n, disabled: r = !1 }) {
|
|
7544
|
+
const [s, i] = Ue(Ns[e]);
|
|
7545
7545
|
Ge(() => {
|
|
7546
|
-
e in Ns ?
|
|
7546
|
+
e in Ns ? i(Ns[e]) : Ns[e] = !1;
|
|
7547
7547
|
}, [e]);
|
|
7548
|
-
const
|
|
7549
|
-
Ns[e] =
|
|
7550
|
-
},
|
|
7551
|
-
t(() =>
|
|
7548
|
+
const a = (c) => {
|
|
7549
|
+
Ns[e] = c, i(c);
|
|
7550
|
+
}, l = () => {
|
|
7551
|
+
t(() => a(!1));
|
|
7552
7552
|
};
|
|
7553
7553
|
return /* @__PURE__ */ b.jsx(
|
|
7554
7554
|
vu,
|
|
7555
7555
|
{
|
|
7556
|
+
disabled: r,
|
|
7556
7557
|
className: `w-fit h-fit ${n ? "bg-blue-500 border-0" : "bg-white border-blue-500"}`,
|
|
7557
7558
|
labelClassName: `${n ? "text-white text-sm" : "text-blue-500 text-sm"}`,
|
|
7558
|
-
isLoading:
|
|
7559
|
+
isLoading: s,
|
|
7559
7560
|
label: o,
|
|
7560
|
-
onClick:
|
|
7561
|
+
onClick: l
|
|
7561
7562
|
}
|
|
7562
7563
|
);
|
|
7563
7564
|
}
|
|
@@ -38998,11 +38999,11 @@ function sO(e) {
|
|
|
38998
38999
|
}, [r]), null;
|
|
38999
39000
|
}
|
|
39000
39001
|
const xL = vr(sO);
|
|
39001
|
-
const iO = import("./maplibre-gl-
|
|
39002
|
+
const iO = import("./maplibre-gl-BZWMGnhz.mjs").then((e) => e.m), aO = P.forwardRef(function(t, o) {
|
|
39002
39003
|
return Wg(t, o, iO);
|
|
39003
39004
|
}), lO = qg;
|
|
39004
39005
|
const cO = rO;
|
|
39005
|
-
const uO = import("./mapbox-gl-
|
|
39006
|
+
const uO = import("./mapbox-gl-DgiVK2oI.mjs").then((e) => e.m), CL = P.forwardRef(function(t, o) {
|
|
39006
39007
|
return Wg(t, o, uO);
|
|
39007
39008
|
}), pO = qg;
|
|
39008
39009
|
function dO({ locations: e }) {
|