@snksergio/design-system 0.18.0 → 0.19.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-lib/chunks/{panel-DoVOsa6l.cjs → panel-BzrZmUF2.cjs} +4 -3
- package/dist-lib/chunks/{panel-DoVOsa6l.cjs.map → panel-BzrZmUF2.cjs.map} +1 -1
- package/dist-lib/chunks/{panel-BF_942aO.mjs → panel-l8mxXYXG.mjs} +4 -3
- package/dist-lib/chunks/{panel-BF_942aO.mjs.map → panel-l8mxXYXG.mjs.map} +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/index.mjs +2 -2
- package/dist-lib/preview/clientes.cjs +1 -1
- package/dist-lib/preview/clientes.mjs +1 -1
- package/dist-lib/src/components/ui/DataTable/data-table.d.ts.map +1 -1
- package/dist-lib/src/components/ui/DataTable/data-table.types.d.ts +9 -2
- package/dist-lib/src/components/ui/DataTable/data-table.types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -19874,8 +19874,9 @@ function DataTableInternal(props, ref2) {
|
|
|
19874
19874
|
if (!isList || !cfg) return [];
|
|
19875
19875
|
const getRowId = contextValue.getRowId;
|
|
19876
19876
|
const rows = rowsAllPagesProcessed;
|
|
19877
|
-
|
|
19878
|
-
|
|
19877
|
+
const pathFn = cfg.getPath ?? props.getTreeDataPath;
|
|
19878
|
+
if (cfg.hierarchical && pathFn) {
|
|
19879
|
+
const pathOf = pathFn;
|
|
19879
19880
|
const shells = /* @__PURE__ */ new Map();
|
|
19880
19881
|
for (const r of rows) {
|
|
19881
19882
|
const id = String(getRowId(r));
|
|
@@ -21620,4 +21621,4 @@ exports.savedViewsMockService = savedViewsMockService;
|
|
|
21620
21621
|
exports.useColumnWidths = useColumnWidths;
|
|
21621
21622
|
exports.useDataTableContext = useDataTableContext;
|
|
21622
21623
|
exports.useFloatingPanelResize = useFloatingPanelResize;
|
|
21623
|
-
//# sourceMappingURL=panel-
|
|
21624
|
+
//# sourceMappingURL=panel-BzrZmUF2.cjs.map
|