@pstdio/ui 0.43.0-nightly.20261012031318 → 0.43.0
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/{MermaidComponent-Ck8YZ-eC.js → MermaidComponent-X7N-8w2S.js} +2 -2
- package/dist/{MermaidComponent-Ck8YZ-eC.js.map → MermaidComponent-X7N-8w2S.js.map} +1 -1
- package/dist/chat-ui.d.ts +50 -50
- package/dist/chat-ui.js +2 -2
- package/dist/{collection-view-grouping-DmjlnPQj.js → collection-view-grouping-DnuJ1U4R.js} +24 -24
- package/dist/{collection-view-grouping-DmjlnPQj.js.map → collection-view-grouping-DnuJ1U4R.js.map} +1 -1
- package/dist/{collection-view-search-CW7B2YP1.js → collection-view-search-D_7Qvz7p.js} +22 -16
- package/dist/collection-view-search-D_7Qvz7p.js.map +1 -0
- package/dist/collection-view.d.ts +90 -3
- package/dist/collection-view.js +112 -2
- package/dist/collection-view.js.map +1 -0
- package/dist/{data-table-stats-row-B2MYAoHu.js → data-table-stats-row-C8CtvdDt.js} +2 -2
- package/dist/{data-table-stats-row-B2MYAoHu.js.map → data-table-stats-row-C8CtvdDt.js.map} +1 -1
- package/dist/data-table.d.ts +1 -2
- package/dist/data-table.js +14 -14
- package/dist/data-table.js.map +1 -1
- package/dist/{display-sort-control-CmFg-wcP.js → display-sort-control-n3L5WvkJ.js} +86 -86
- package/dist/{display-sort-control-CmFg-wcP.js.map → display-sort-control-n3L5WvkJ.js.map} +1 -1
- package/dist/{edit-mode-data-table-oEYutEBB.js → edit-mode-data-table-BclZ-pWe.js} +8 -8
- package/dist/{edit-mode-data-table-oEYutEBB.js.map → edit-mode-data-table-BclZ-pWe.js.map} +1 -1
- package/dist/{index-DNurZJZ3.d.ts → index-DjZsR4Ey.d.ts} +1 -1
- package/dist/index.d.ts +50 -50
- package/dist/kanban-renderer.d.ts +1 -1
- package/dist/kanban-renderer.js +79 -79
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/{markdown-editor-oklbG4fY.js → markdown-editor-CN4qOKky.js} +4 -4
- package/dist/{markdown-editor-oklbG4fY.js.map → markdown-editor-CN4qOKky.js.map} +1 -1
- package/dist/{param-editor-Br3Qm5B4.js → param-editor-28dBRSV4.js} +2 -2
- package/dist/{param-editor-Br3Qm5B4.js.map → param-editor-28dBRSV4.js.map} +1 -1
- package/dist/{param-editor-field-Cg-C40tt.js → param-editor-field-GxhFb86w.js} +2 -2
- package/dist/{param-editor-field-Cg-C40tt.js.map → param-editor-field-GxhFb86w.js.map} +1 -1
- package/dist/param-editor.js +2 -2
- package/dist/{rich-text-DSZ23B46.js → rich-text-DOK4dDeb.js} +2 -2
- package/dist/{rich-text-DSZ23B46.js.map → rich-text-DOK4dDeb.js.map} +1 -1
- package/dist/rich-text.js +3 -3
- package/dist/{workspace-badge-BKtB805G.d.ts → workspace-badge-oFp29Gbe.d.ts} +1 -1
- package/package.json +2 -2
- package/dist/collection-view-search-CW7B2YP1.js.map +0 -1
- package/dist/index-DgwJmKVC.d.ts +0 -80
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as e, t } from "./scroll-area-crJfiiuF.js";
|
|
2
2
|
import { a as n, t as r, u as i } from "./list-row-CmFG_jCC.js";
|
|
3
3
|
import { n as a } from "./prism-CnkSh-ZG.js";
|
|
4
|
-
import { a as o,
|
|
4
|
+
import { a as o, b as s, i as c, n as l, r as u, u as d } from "./collection-view-search-D_7Qvz7p.js";
|
|
5
5
|
import { n as f, t as p } from "./number-input-CyrMrDxB.js";
|
|
6
|
-
import { a as m, i as h, r as g } from "./collection-view-grouping-
|
|
7
|
-
import { n as _ } from "./param-editor-
|
|
6
|
+
import { a as m, i as h, r as g } from "./collection-view-grouping-DnuJ1U4R.js";
|
|
7
|
+
import { n as _ } from "./param-editor-28dBRSV4.js";
|
|
8
8
|
import { Box as v, Button as y, Flex as b, Icon as x, IconButton as S, Menu as C, Popover as w, Portal as T, Stack as E, Table as D, Text as O, chakra as k } from "@chakra-ui/react";
|
|
9
9
|
import { c as A } from "react/compiler-runtime";
|
|
10
10
|
import { jsx as j, jsxs as M } from "react/jsx-runtime";
|
|
@@ -15,7 +15,7 @@ import { createColumnHelper as Z } from "@tanstack/react-table";
|
|
|
15
15
|
//#region src/components/data-table/data-table-header.tsx
|
|
16
16
|
var ae = (e) => [], oe = (e) => {
|
|
17
17
|
let t = A(12), { view: n, viewsSource: r, displayControl: i, actions: a } = e, o = n.deferredSearch.trim() === "" ? void 0 : `${n.shownRows.length} of ${n.filteredRows.length}`, s;
|
|
18
|
-
return t[0] !== a || t[1] !== i || t[2] !== e.itemLabel || t[3] !== o || t[4] !== n.attributes || t[5] !== n.initialState || t[6] !== n.search || t[7] !== n.setSearch || t[8] !== n.storageKey || t[9] !== n.views.views || t[10] !== r ? (s = /* @__PURE__ */ j(
|
|
18
|
+
return t[0] !== a || t[1] !== i || t[2] !== e.itemLabel || t[3] !== o || t[4] !== n.attributes || t[5] !== n.initialState || t[6] !== n.search || t[7] !== n.setSearch || t[8] !== n.storageKey || t[9] !== n.views.views || t[10] !== r ? (s = /* @__PURE__ */ j(u, {
|
|
19
19
|
itemLabel: e.itemLabel,
|
|
20
20
|
storageKey: n.storageKey,
|
|
21
21
|
initialState: n.initialState,
|
|
@@ -1117,7 +1117,7 @@ var pt = (e) => ({
|
|
|
1117
1117
|
let a = i, s;
|
|
1118
1118
|
return r[2] === a ? s = r[3] : (s = pt(a), r[2] = a, r[3] = s), o(e, s, t);
|
|
1119
1119
|
}, ht = (e) => {
|
|
1120
|
-
let t = A(17), { data: n, hiddenColumns: r, getRowId: i, compactHeaders: a, columnRenderers:
|
|
1120
|
+
let t = A(17), { data: n, hiddenColumns: r, getRowId: i, compactHeaders: a, columnRenderers: u, columnTypes: f, groupableColumns: p, filterableColumns: m } = e, _ = new Set(r ?? []), v = Object.keys(n[0] || {}).filter((e) => !_.has(e)), y = $e({
|
|
1121
1121
|
toolbarStorageKey: e.toolbarStorageKey,
|
|
1122
1122
|
columnKeys: v
|
|
1123
1123
|
}), b = pt(e), x = c({
|
|
@@ -1130,11 +1130,11 @@ var pt = (e) => ({
|
|
|
1130
1130
|
t[0] === C.hiddenColumns ? j = t[1] : (j = (e) => !C.hiddenColumns.includes(e), t[0] = C.hiddenColumns, t[1] = j);
|
|
1131
1131
|
let M = k.filter(j), N = Ke(n, k, {
|
|
1132
1132
|
compactHeaders: a,
|
|
1133
|
-
columnRenderers:
|
|
1133
|
+
columnRenderers: u,
|
|
1134
1134
|
columnTypes: f,
|
|
1135
1135
|
groupableColumns: p,
|
|
1136
1136
|
filterableColumns: m
|
|
1137
|
-
}), F = qe(n, k, i,
|
|
1137
|
+
}), F = qe(n, k, i, u), I = d(F, w, N), R = h(I, T, N), z = l(R, O, (e) => M.flatMap((t) => Ze(e.sourceRow[t], u?.[t]))), B = s(N, C.grouping), V = B?.groupable ? g(z, B, g(F, B).map(_t)) : void 0, H;
|
|
1138
1138
|
return t[2] !== N || t[3] !== O || t[4] !== I || t[5] !== V || t[6] !== b || t[7] !== k || t[8] !== F || t[9] !== E || t[10] !== D || t[11] !== z || t[12] !== y || t[13] !== S || t[14] !== x || t[15] !== M ? (H = {
|
|
1139
1139
|
...S,
|
|
1140
1140
|
storageKey: y,
|
|
@@ -1452,4 +1452,4 @@ function At(e) {
|
|
|
1452
1452
|
//#endregion
|
|
1453
1453
|
export { de as C, fe as S, oe as T, ke as _, dt as a, Ce as b, ze as c, Ue as d, Ye as f, Ae as g, Fe as h, ft as i, Ve as l, Ie as m, ht as n, Be as o, Le as p, mt as r, Qe as s, yt as t, He as u, xe as v, le as w, Se as x, Ee as y };
|
|
1454
1454
|
|
|
1455
|
-
//# sourceMappingURL=edit-mode-data-table-
|
|
1455
|
+
//# sourceMappingURL=edit-mode-data-table-BclZ-pWe.js.map
|