stone-kit
Version:
uikit for redesign
76 lines (75 loc) • 1.99 kB
JavaScript
import { jsx as t, jsxs as n } from "react/jsx-runtime";
import { useState as c } from "react";
import { LotCardSkeleton as i } from "../../components/LotCardSkeleton/ui/LotCardSkeleton.js";
import { L as e } from "../../FilterWithSave-Dy5t7CrS.js";
import { ProjectCardSkeleton as p } from "../../components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js";
import { testLot as r } from "./const.js";
const m = "_root_1w9fc_1", d = "_lotWrapper_1w9fc_8", h = "_optionsWrapper_1w9fc_14", f = "_isFetching_1w9fc_20", s = {
root: m,
lotWrapper: d,
optionsWrapper: h,
isFetching: f
}, C = () => {
const [o, a] = c(!1), l = JSON.parse(JSON.stringify(r));
return l.status = 2, /* @__PURE__ */ t("div", { className: s.root, children: /* @__PURE__ */ n("div", { className: s.lotWrapper, children: [
/* @__PURE__ */ t(i, {}),
!o && /* @__PURE__ */ t(
e,
{
lot: r,
handleBtnForm: () => {
}
}
),
!o && /* @__PURE__ */ t(
e,
{
lot: r,
handleBtnForm: () => {
}
}
),
!o && /* @__PURE__ */ t(
e,
{
lot: r,
handleBtnForm: () => {
}
}
),
!o && /* @__PURE__ */ t(
e,
{
lot: r,
handleBtnForm: () => {
}
}
),
/* @__PURE__ */ n("div", { style: { display: "flex", flexWrap: "wrap" }, children: [
!o && /* @__PURE__ */ t(
e,
{
lot: r,
rowConditions: !1,
handleBtnForm: () => {
}
}
),
/* @__PURE__ */ t(i, { isProjectCard: !0 })
] }),
/* @__PURE__ */ t(p, {}),
/* @__PURE__ */ t("div", { className: s.optionsWrapper, children: /* @__PURE__ */ n("label", { className: s.isFetching, children: [
"isFetching",
/* @__PURE__ */ t(
"input",
{
type: "checkbox",
onClick: () => a(!o)
}
)
] }) })
] }) });
};
export {
C as LotsPage
};