@conboai/storybook.components 0.1.25 → 0.1.27
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.
|
@@ -41171,35 +41171,41 @@ const $y = {
|
|
|
41171
41171
|
sx: { backgroundColor: Sb, display: "flex" },
|
|
41172
41172
|
children: t
|
|
41173
41173
|
}
|
|
41174
|
-
), r3 = ({ linkContent: t, link: e }) => /* @__PURE__ */ E.jsx(o0, { href: e, height: "100%", children: t }), pB = ({
|
|
41175
|
-
|
|
41174
|
+
), r3 = ({ linkContent: t, link: e }) => /* @__PURE__ */ E.jsx(o0, { href: e, height: "100%", children: t }), pB = ({
|
|
41175
|
+
setValue: t,
|
|
41176
|
+
value: e,
|
|
41177
|
+
tabs: n,
|
|
41178
|
+
onChange: r
|
|
41179
|
+
}) => {
|
|
41180
|
+
const o = {
|
|
41176
41181
|
...Fy,
|
|
41177
41182
|
"& .MuiTabs-flexContainer": {
|
|
41178
41183
|
borderBottom: `1px solid ${sd}`
|
|
41179
41184
|
}
|
|
41180
|
-
},
|
|
41181
|
-
t(
|
|
41185
|
+
}, i = (a, l) => {
|
|
41186
|
+
t(l), r && r(l);
|
|
41182
41187
|
};
|
|
41183
|
-
return /* @__PURE__ */ E.jsx(mt, { children: /* @__PURE__ */ E.jsx(Xl, { value: e, onChange:
|
|
41188
|
+
return /* @__PURE__ */ E.jsx(mt, { children: /* @__PURE__ */ E.jsx(Xl, { value: e, onChange: i, sx: o, children: n.map((a) => /* @__PURE__ */ E.jsx(
|
|
41184
41189
|
Ci,
|
|
41185
41190
|
{
|
|
41186
|
-
label:
|
|
41187
|
-
value:
|
|
41188
|
-
disabled:
|
|
41191
|
+
label: a.label,
|
|
41192
|
+
value: a.value,
|
|
41193
|
+
disabled: a.disabled,
|
|
41189
41194
|
sx: $y
|
|
41190
41195
|
},
|
|
41191
|
-
|
|
41196
|
+
a.value
|
|
41192
41197
|
)) }) });
|
|
41193
41198
|
}, hB = ({ tabsContent: t }) => t.map((e) => /* @__PURE__ */ E.jsx(Xd, { value: e.value, sx: { padding: "20px 0 0" }, children: e.content }, e.value)), mB = ({ setValue: t, value: e, tabs: n, tabsContent: r }) => /* @__PURE__ */ E.jsxs(qd, { value: e, children: [
|
|
41194
41199
|
/* @__PURE__ */ E.jsx(pB, { setValue: t, value: e, tabs: n }),
|
|
41195
41200
|
/* @__PURE__ */ E.jsx(hB, { tabsContent: r })
|
|
41196
|
-
] }), o3 = ({ tabsContent: t, tabs: e }) => {
|
|
41197
|
-
const [
|
|
41198
|
-
return /* @__PURE__ */ E.jsx(mt, { sx:
|
|
41201
|
+
] }), o3 = ({ tabsContent: t, tabs: e, onChange: n }) => {
|
|
41202
|
+
const [r, o] = dt("0"), i = { background: "none", padding: "20px" };
|
|
41203
|
+
return /* @__PURE__ */ E.jsx(mt, { sx: i, children: /* @__PURE__ */ E.jsx(
|
|
41199
41204
|
mB,
|
|
41200
41205
|
{
|
|
41201
|
-
|
|
41202
|
-
|
|
41206
|
+
onChange: n,
|
|
41207
|
+
value: r,
|
|
41208
|
+
setValue: o,
|
|
41203
41209
|
tabs: e,
|
|
41204
41210
|
tabsContent: t
|
|
41205
41211
|
}
|
|
@@ -58343,10 +58349,11 @@ const N5 = {
|
|
|
58343
58349
|
return JSON.stringify(t, null, 2);
|
|
58344
58350
|
}, j5 = (t) => t == null ? "" : (B5(t), t.toString()), V5 = {
|
|
58345
58351
|
borderBottom: "none",
|
|
58352
|
+
width: "66%",
|
|
58346
58353
|
paddingTop: 0,
|
|
58347
58354
|
paddingBottom: "8px"
|
|
58348
58355
|
}, U5 = {
|
|
58349
|
-
width: "
|
|
58356
|
+
width: "33%",
|
|
58350
58357
|
borderBottom: "none",
|
|
58351
58358
|
paddingTop: 0,
|
|
58352
58359
|
paddingBottom: "8px"
|
|
@@ -58354,7 +58361,7 @@ const N5 = {
|
|
|
58354
58361
|
...t,
|
|
58355
58362
|
boxShadow: "none"
|
|
58356
58363
|
}), p3 = ({ columnDefs: t, data: e, sx: n }) => /* @__PURE__ */ E.jsx(Pd, { component: wr, sx: H5(n), children: /* @__PURE__ */ E.jsx(Ad, { children: /* @__PURE__ */ E.jsx(kd, { children: t.map((r, o) => /* @__PURE__ */ E.jsxs(Wo, { children: [
|
|
58357
|
-
/* @__PURE__ */ E.jsx(mr, { component: "th", scope: "row", sx: U5, children: /* @__PURE__ */ E.jsx(wt, { fontWeight: "
|
|
58364
|
+
/* @__PURE__ */ E.jsx(mr, { component: "th", scope: "row", sx: U5, children: /* @__PURE__ */ E.jsx(wt, { fontWeight: "500", children: r.headerName }) }),
|
|
58358
58365
|
/* @__PURE__ */ E.jsx(mr, { sx: V5, children: r.renderCell ? r.renderCell(e[r.field]) : j5(e[r.field]) })
|
|
58359
58366
|
] }, o)) }) }) }), W5 = {
|
|
58360
58367
|
width: "36px",
|