arpeggi-framer-components 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -8309,11 +8309,11 @@ const an = new Ip(), Ia = "Recording.wav", Bp = 1500, Zp = (e) => {
|
|
8309
8309
|
cursor: "not-allowed"
|
8310
8310
|
}
|
8311
8311
|
}), eu = () => {
|
8312
|
-
var
|
8313
|
-
const { data: e } = La(),
|
8314
|
-
return /* @__PURE__ */ Ee.jsx(qp, { onClick:
|
8315
|
-
/* @__PURE__ */ Ee.jsx(ct.If, { isTrue:
|
8316
|
-
/* @__PURE__ */ Ee.jsx(ct.If, { isTrue:
|
8312
|
+
var a;
|
8313
|
+
const { data: e, isMutating: t } = La(), i = (a = e == null ? void 0 : e.lossyOutputFile) == null ? void 0 : a.url, { player: n, playPause: r } = Op(i);
|
8314
|
+
return /* @__PURE__ */ Ee.jsx(qp, { onClick: r, disabled: n.isLoading || !i, children: /* @__PURE__ */ Ee.jsxs(ct, { children: [
|
8315
|
+
/* @__PURE__ */ Ee.jsx(ct.If, { isTrue: n.isLoading || (e == null ? void 0 : e.jobStatus) === "running" || t, children: /* @__PURE__ */ Ee.jsx(yp, {}) }),
|
8316
|
+
/* @__PURE__ */ Ee.jsx(ct.If, { isTrue: n.isPlaying, children: /* @__PURE__ */ Ee.jsx(bp, {}) }),
|
8317
8317
|
/* @__PURE__ */ Ee.jsx(ct.Else, { children: /* @__PURE__ */ Ee.jsx(wp, {}) })
|
8318
8318
|
] }) });
|
8319
8319
|
}, Wp = 1, Up = 100 * 1024 * 1024, Vp = 1, Hp = 100, tu = ({ children: e }) => {
|