@sme.up/ketchup2 2.0.0-SNAPSHOT-20250717122207 → 2.0.0-SNAPSHOT-20250717123124

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.
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><path d="M11,4H13V16L18.5,10.5L19.92,11.92L12,19.84L4.08,11.92L5.5,10.5L11,16V4Z" /></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 24 24"><path d="M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z" /></svg>
@@ -1 +1 @@
1
- {"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,OAAO,KAAK,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAA;AAoB3E,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA0dvD,CAAA"}
1
+ {"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../../src/components/data-table/data-table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,OAAO,KAAK,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAA;AAsB3E,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAmgBvD,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { InternalDataTable } from '../data-table-types';
2
+ type SortOrder = "asc" | "desc";
3
+ export declare function useSortableDataTable(data: InternalDataTable): {
4
+ sortedRows: import('../data-table-types').internalRows[];
5
+ sortBy: string | null;
6
+ sortOrder: SortOrder;
7
+ handleSort: (column: string) => void;
8
+ };
9
+ export {};
10
+ //# sourceMappingURL=useSortableTable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSortableTable.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/hooks/useSortableTable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,KAAK,SAAS,GAAG,KAAK,GAAG,MAAM,CAAA;AAE/B,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB;;;;yBAS9B,MAAM;EAkBnC"}
@@ -0,0 +1,10 @@
1
+ import { InternalDataTable } from '../data-table-types';
2
+ /**
3
+ *
4
+ * @param dataTable
5
+ * @param columnName
6
+ * @param order
7
+ * @returns
8
+ */
9
+ export declare function sortDataTableByColumn(dataTable: InternalDataTable, columnName: string, order: "asc" | "desc"): InternalDataTable;
10
+ //# sourceMappingURL=sortTable-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sortTable-utils.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/utils/sortTable-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,iBAAiB,EAC5B,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,KAAK,GAAG,MAAM,GACpB,iBAAiB,CAkBnB"}