@skygraph/react 0.0.0-placeholder.0 → 0.4.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/LICENSE +21 -0
- package/dist/Table-BqN2u5ma.d.cts +1015 -0
- package/dist/Table-IvijKCyd.d.ts +1015 -0
- package/dist/chunk-2OCEO636.js +91 -0
- package/dist/chunk-2OCEO636.js.map +1 -0
- package/dist/chunk-6SHHUUAE.js +1667 -0
- package/dist/chunk-6SHHUUAE.js.map +1 -0
- package/dist/chunk-BNMJSYI2.js +54 -0
- package/dist/chunk-BNMJSYI2.js.map +1 -0
- package/dist/chunk-DRBAZI46.js +57 -0
- package/dist/chunk-DRBAZI46.js.map +1 -0
- package/dist/chunk-GJDDPZH7.js +226 -0
- package/dist/chunk-GJDDPZH7.js.map +1 -0
- package/dist/chunk-KCFWFDSP.js +847 -0
- package/dist/chunk-KCFWFDSP.js.map +1 -0
- package/dist/chunk-MJAEAFPN.js +3791 -0
- package/dist/chunk-MJAEAFPN.js.map +1 -0
- package/dist/chunk-MLEBVELO.js +1412 -0
- package/dist/chunk-MLEBVELO.js.map +1 -0
- package/dist/chunk-SEQI65CF.js +61 -0
- package/dist/chunk-SEQI65CF.js.map +1 -0
- package/dist/chunk-ZJF6SJLP.js +200 -0
- package/dist/chunk-ZJF6SJLP.js.map +1 -0
- package/dist/common-CdpocIEz.d.cts +27 -0
- package/dist/common-CdpocIEz.d.ts +27 -0
- package/dist/datagrid-B6hg5yJh.d.cts +200 -0
- package/dist/datagrid-B6hg5yJh.d.ts +200 -0
- package/dist/datagrid.cjs +1052 -0
- package/dist/datagrid.cjs.map +1 -0
- package/dist/datagrid.d.cts +2 -0
- package/dist/datagrid.d.ts +2 -0
- package/dist/datagrid.js +10 -0
- package/dist/datagrid.js.map +1 -0
- package/dist/devtools.cjs +253 -0
- package/dist/devtools.cjs.map +1 -0
- package/dist/devtools.d.cts +29 -0
- package/dist/devtools.d.ts +29 -0
- package/dist/devtools.js +9 -0
- package/dist/devtools.js.map +1 -0
- package/dist/form.cjs +1723 -0
- package/dist/form.cjs.map +1 -0
- package/dist/form.d.cts +530 -0
- package/dist/form.d.ts +530 -0
- package/dist/form.js +49 -0
- package/dist/form.js.map +1 -0
- package/dist/index.cjs +22419 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +3671 -0
- package/dist/index.d.ts +3671 -0
- package/dist/index.js +14087 -0
- package/dist/index.js.map +1 -0
- package/dist/table.cjs +4130 -0
- package/dist/table.cjs.map +1 -0
- package/dist/table.d.cts +31 -0
- package/dist/table.d.ts +31 -0
- package/dist/table.js +26 -0
- package/dist/table.js.map +1 -0
- package/dist/tree.cjs +1821 -0
- package/dist/tree.cjs.map +1 -0
- package/dist/tree.d.cts +348 -0
- package/dist/tree.d.ts +348 -0
- package/dist/tree.js +13 -0
- package/dist/tree.js.map +1 -0
- package/dist/virtual.cjs +145 -0
- package/dist/virtual.cjs.map +1 -0
- package/dist/virtual.d.cts +50 -0
- package/dist/virtual.d.ts +50 -0
- package/dist/virtual.js +11 -0
- package/dist/virtual.js.map +1 -0
- package/package.json +108 -18
- package/README.md +0 -12
- package/index.js +0 -3
package/dist/table.d.cts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { A as AggregateType, C as CellSpan, E as ExpandableConfig, F as FilterDropdownProps, a as FlatRow, G as GroupRow, H as HeaderCell, P as PinnedRowsConfig, R as RowNumberConfig, b as RowSelectionConfig, S as SelectionSummaryAction, c as SummaryCell, T as Table, d as TableColumn, e as TableLocale, f as TableProps, g as TreeConfig, U as UseTableOptions, h as UseTableReturn, u as useTable } from './Table-BqN2u5ma.cjs';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '@skygraph/core';
|
|
4
|
+
import './common-CdpocIEz.cjs';
|
|
5
|
+
|
|
6
|
+
/** Serializes a 2D string matrix to CSV with RFC-style quoting. */
|
|
7
|
+
declare function toCSVString(data: string[][]): string;
|
|
8
|
+
/** Serializes a 2D string matrix to tab-separated lines. */
|
|
9
|
+
declare function toTSVString(data: string[][]): string;
|
|
10
|
+
/**
|
|
11
|
+
* Builds a JSON array of row objects using string headers as keys.
|
|
12
|
+
* @param pretty - Pretty-print with indentation when true.
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
declare function toJSONString(headers: string[], rows: string[][], pretty?: boolean): string;
|
|
16
|
+
/**
|
|
17
|
+
* Triggers a CSV file download in the browser.
|
|
18
|
+
* @default filename `'export.csv'`
|
|
19
|
+
*/
|
|
20
|
+
declare function downloadCSV(content: string, filename?: string): void;
|
|
21
|
+
/**
|
|
22
|
+
* Triggers a JSON file download in the browser.
|
|
23
|
+
* @default filename `'export.json'`
|
|
24
|
+
*/
|
|
25
|
+
declare function downloadJSON(content: string, filename?: string): void;
|
|
26
|
+
/** Copies text using the Clipboard API when available. */
|
|
27
|
+
declare function copyToClipboard(text: string): Promise<void>;
|
|
28
|
+
/** Opens a print dialog with the table DOM and current document styles. */
|
|
29
|
+
declare function printTable(tableEl: HTMLElement | null): void;
|
|
30
|
+
|
|
31
|
+
export { copyToClipboard, downloadCSV, downloadJSON, printTable, toCSVString, toJSONString, toTSVString };
|
package/dist/table.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export { A as AggregateType, C as CellSpan, E as ExpandableConfig, F as FilterDropdownProps, a as FlatRow, G as GroupRow, H as HeaderCell, P as PinnedRowsConfig, R as RowNumberConfig, b as RowSelectionConfig, S as SelectionSummaryAction, c as SummaryCell, T as Table, d as TableColumn, e as TableLocale, f as TableProps, g as TreeConfig, U as UseTableOptions, h as UseTableReturn, u as useTable } from './Table-IvijKCyd.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '@skygraph/core';
|
|
4
|
+
import './common-CdpocIEz.js';
|
|
5
|
+
|
|
6
|
+
/** Serializes a 2D string matrix to CSV with RFC-style quoting. */
|
|
7
|
+
declare function toCSVString(data: string[][]): string;
|
|
8
|
+
/** Serializes a 2D string matrix to tab-separated lines. */
|
|
9
|
+
declare function toTSVString(data: string[][]): string;
|
|
10
|
+
/**
|
|
11
|
+
* Builds a JSON array of row objects using string headers as keys.
|
|
12
|
+
* @param pretty - Pretty-print with indentation when true.
|
|
13
|
+
* @default true
|
|
14
|
+
*/
|
|
15
|
+
declare function toJSONString(headers: string[], rows: string[][], pretty?: boolean): string;
|
|
16
|
+
/**
|
|
17
|
+
* Triggers a CSV file download in the browser.
|
|
18
|
+
* @default filename `'export.csv'`
|
|
19
|
+
*/
|
|
20
|
+
declare function downloadCSV(content: string, filename?: string): void;
|
|
21
|
+
/**
|
|
22
|
+
* Triggers a JSON file download in the browser.
|
|
23
|
+
* @default filename `'export.json'`
|
|
24
|
+
*/
|
|
25
|
+
declare function downloadJSON(content: string, filename?: string): void;
|
|
26
|
+
/** Copies text using the Clipboard API when available. */
|
|
27
|
+
declare function copyToClipboard(text: string): Promise<void>;
|
|
28
|
+
/** Opens a print dialog with the table DOM and current document styles. */
|
|
29
|
+
declare function printTable(tableEl: HTMLElement | null): void;
|
|
30
|
+
|
|
31
|
+
export { copyToClipboard, downloadCSV, downloadJSON, printTable, toCSVString, toJSONString, toTSVString };
|
package/dist/table.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Table,
|
|
3
|
+
copyToClipboard,
|
|
4
|
+
downloadCSV,
|
|
5
|
+
downloadJSON,
|
|
6
|
+
printTable,
|
|
7
|
+
toCSVString,
|
|
8
|
+
toJSONString,
|
|
9
|
+
toTSVString,
|
|
10
|
+
useTable
|
|
11
|
+
} from "./chunk-MJAEAFPN.js";
|
|
12
|
+
import "./chunk-ZJF6SJLP.js";
|
|
13
|
+
import "./chunk-DRBAZI46.js";
|
|
14
|
+
import "./chunk-2OCEO636.js";
|
|
15
|
+
export {
|
|
16
|
+
Table,
|
|
17
|
+
copyToClipboard,
|
|
18
|
+
downloadCSV,
|
|
19
|
+
downloadJSON,
|
|
20
|
+
printTable,
|
|
21
|
+
toCSVString,
|
|
22
|
+
toJSONString,
|
|
23
|
+
toTSVString,
|
|
24
|
+
useTable
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=table.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|