@ai-matrx/design-system 0.18.12 → 0.18.13
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/CHANGELOG.md +6 -0
- package/dist/content-transfer.cjs +26 -14
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.css +6 -1
- package/dist/content-transfer.js +26 -14
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +26 -14
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +26 -14
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +26 -14
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +26 -14
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +26 -14
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +26 -14
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1307,15 +1307,36 @@ function PreparationWorkspace({ restoreFocus, open, state, scopes, onClose, onCh
|
|
|
1307
1307
|
/* @__PURE__ */ jsx7("input", { type: "number", min: "0", value: controls[key] ?? "", onChange: (e) => changeControls({ ...controls, [key]: Number.isNaN(e.target.valueAsNumber) ? null : e.target.valueAsNumber }) })
|
|
1308
1308
|
] }, key))
|
|
1309
1309
|
] }) : null,
|
|
1310
|
-
rows ? /* @__PURE__ */
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1310
|
+
rows ? /* @__PURE__ */ jsxs3("details", { className: "matrx-alchemy-options matrx-alchemy-data-controls", children: [
|
|
1311
|
+
/* @__PURE__ */ jsxs3("summary", { children: [
|
|
1312
|
+
"Data selection \xB7 ",
|
|
1313
|
+
controls.visibleColumns.length,
|
|
1314
|
+
" columns",
|
|
1315
|
+
controls.search || controls.sort || controls.top != null || controls.selectedOnly || Object.values(controls.filters).some(Boolean) ? " \xB7 customized" : " \xB7 all rows"
|
|
1316
|
+
] }),
|
|
1317
|
+
/* @__PURE__ */ jsx7("div", { className: "matrx-alchemy-data-controls-body", children: /* @__PURE__ */ jsx7(RowControls, { rows, controls, change: changeControls }) })
|
|
1318
|
+
] }) : null,
|
|
1319
|
+
state.snapshot.sections.length ? /* @__PURE__ */ jsxs3("details", { className: "matrx-alchemy-options", children: [
|
|
1320
|
+
/* @__PURE__ */ jsxs3("summary", { children: [
|
|
1321
|
+
"Sections \xB7 ",
|
|
1322
|
+
controls.sections.length,
|
|
1323
|
+
" included"
|
|
1324
|
+
] }),
|
|
1325
|
+
/* @__PURE__ */ jsx7("fieldset", { "aria-label": "Included sections", children: state.snapshot.sections.map((section) => /* @__PURE__ */ jsxs3("label", { children: [
|
|
1314
1326
|
/* @__PURE__ */ jsx7("input", { type: "checkbox", checked: controls.sections.includes(section.id), onChange: (e) => changeControls({ ...controls, sections: e.target.checked ? [...controls.sections, section.id] : controls.sections.filter((id) => id !== section.id) }) }),
|
|
1315
1327
|
" ",
|
|
1316
1328
|
section.label
|
|
1317
|
-
] }, section.id))
|
|
1329
|
+
] }, section.id)) })
|
|
1318
1330
|
] }) : null,
|
|
1331
|
+
/* @__PURE__ */ jsxs3("label", { className: "matrx-alchemy-preview-label", children: [
|
|
1332
|
+
"Output format",
|
|
1333
|
+
/* @__PURE__ */ jsxs3("select", { "aria-label": "Output format", value: format, onChange: (e) => setFormat(e.target.value), children: [
|
|
1334
|
+
formats.map((f) => /* @__PURE__ */ jsx7("option", { value: f, children: LABEL[f] }, f)),
|
|
1335
|
+
state.draft.payload.kind === "rows" ? /* @__PURE__ */ jsx7("option", { value: "xlsx", children: "Excel workbook" }) : null,
|
|
1336
|
+
workspaceAdapters.map((adapter) => /* @__PURE__ */ jsx7("option", { value: adapter.id, children: adapter.label }, adapter.id))
|
|
1337
|
+
] })
|
|
1338
|
+
] }),
|
|
1339
|
+
/* @__PURE__ */ jsx7("textarea", { className: "matrx-alchemy-preview", "aria-label": "Prepared output", "aria-invalid": bufferError ? true : void 0, "aria-describedby": bufferError ? "alchemy-buffer-error" : void 0, value: buffer, onChange: (e) => editBuffer(e.target.value) }),
|
|
1319
1340
|
/* @__PURE__ */ jsxs3("div", { className: "matrx-alchemy-coverage", children: [
|
|
1320
1341
|
/* @__PURE__ */ jsxs3("span", { children: [
|
|
1321
1342
|
state.snapshot.coverage.included.toLocaleString(),
|
|
@@ -1342,15 +1363,6 @@ function PreparationWorkspace({ restoreFocus, open, state, scopes, onClose, onCh
|
|
|
1342
1363
|
] }, `${o.path}-${o.reason}-${i}`)) })
|
|
1343
1364
|
] }) : null
|
|
1344
1365
|
] }),
|
|
1345
|
-
/* @__PURE__ */ jsxs3("label", { className: "matrx-alchemy-preview-label", children: [
|
|
1346
|
-
"Output format",
|
|
1347
|
-
/* @__PURE__ */ jsxs3("select", { "aria-label": "Output format", value: format, onChange: (e) => setFormat(e.target.value), children: [
|
|
1348
|
-
formats.map((f) => /* @__PURE__ */ jsx7("option", { value: f, children: LABEL[f] }, f)),
|
|
1349
|
-
state.draft.payload.kind === "rows" ? /* @__PURE__ */ jsx7("option", { value: "xlsx", children: "Excel workbook" }) : null,
|
|
1350
|
-
workspaceAdapters.map((adapter) => /* @__PURE__ */ jsx7("option", { value: adapter.id, children: adapter.label }, adapter.id))
|
|
1351
|
-
] })
|
|
1352
|
-
] }),
|
|
1353
|
-
/* @__PURE__ */ jsx7("textarea", { className: "matrx-alchemy-preview", "aria-label": "Prepared output", "aria-invalid": bufferError ? true : void 0, "aria-describedby": bufferError ? "alchemy-buffer-error" : void 0, value: buffer, onChange: (e) => editBuffer(e.target.value) }),
|
|
1354
1366
|
bufferError ? /* @__PURE__ */ jsx7("p", { id: "alchemy-buffer-error", role: "alert", className: "matrx-alchemy-error", children: bufferError }) : null,
|
|
1355
1367
|
formatError ? /* @__PURE__ */ jsx7("p", { role: "alert", className: "matrx-alchemy-error", children: formatError }) : null,
|
|
1356
1368
|
bufferError ? /* @__PURE__ */ jsx7(Button, { className: "matrx-alchemy-workspace-secondary", type: "button", variant: "outline", disabled: busy !== null, onClick: () => {
|