athena-ui-js 2.1.0 → 2.2.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/README.md +39 -3
- package/docs/styling.md +21 -6
- package/package.json +5 -1
- package/src/athena-ui.js +2 -1
- package/src/libs/config/config.js +1 -1
- package/src/libs/core/motion.js +358 -0
- package/src/libs/core/theme.js +12 -0
- package/src/libs/hephaestus/chartGenerator/chartGenerator.js +9 -5
- package/src/libs/hephaestus/componentGenerator/componentGenerator.js +17 -0
- package/src/libs/hephaestus/dialogGenerator/dialogGenerator.js +2 -1
- package/src/libs/hephaestus/feedbackGenerator/feedbackGenerator.js +3 -1
- package/src/libs/hephaestus/router/router.js +18 -9
- package/src/libs/hephaestus/tableGenerator/tableGenerator.js +25 -0
- package/src/motion.js +6 -0
- package/src/res/themes/default/style.css +228 -10
- package/src/res/themes/tokens.css +25 -0
- package/types/athena-ui.d.ts +97 -96
- package/types/libs/config/config.d.ts +3 -3
- package/types/libs/core/motion.d.ts +123 -0
- package/types/libs/core/popover.d.ts +36 -36
- package/types/libs/core/theme.d.ts +41 -39
- package/types/libs/hephaestus/chartGenerator/chartGenerator.d.ts +95 -93
- package/types/libs/hephaestus/componentGenerator/componentGenerator.d.ts +14 -0
- package/types/libs/hephaestus/navigationGenerator/navigationGenerator.d.ts +153 -153
- package/types/libs/hephaestus/router/router.d.ts +71 -67
- package/types/libs/hephaestus/tableGenerator/tableGenerator.d.ts +123 -120
- package/types/motion.d.ts +1 -0
|
@@ -1,67 +1,71 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a router that renders a page function into an outlet element.
|
|
3
|
-
*
|
|
4
|
-
* @param {object} options
|
|
5
|
-
* @param {Object<string, Function|{handler: Function, title?: string}>} options.routes path pattern -> page
|
|
6
|
-
* function. Patterns support `:param` segments and a trailing `*`. A page function is called with
|
|
7
|
-
* `{ path, params, query }` after the outlet was emptied, and may return a promise.
|
|
8
|
-
* @param {string} [options.outlet="wrapper"] id of the element the pages are rendered into
|
|
9
|
-
* @param {"hash"|"history"} [options.mode="hash"] "history" needs the server to answer every path with the page
|
|
10
|
-
* @param {(context) => void} [options.notFound] called when no route matches
|
|
11
|
-
* @param {(context) => (boolean|string|void|Promise)} [options.beforeEach] guard: return false to cancel,
|
|
12
|
-
* or a path to redirect to (login redirect)
|
|
13
|
-
* @param {(context) => void} [options.afterEach] same as onShown
|
|
14
|
-
* @param {(context, route) => void} [options.onRender] called after the outlet was emptied, before the page function runs
|
|
15
|
-
* @param {(context, route) => void} [options.onShown] called after the page function finished (and it was not replaced by a newer
|
|
16
|
-
* navigation): the place to set the title, move the focus to the content, scroll to the top
|
|
17
|
-
* @param {boolean} [options.focusContent=false] after a page is shown the outlet gets the focus (it is made focusable for that), so a
|
|
18
|
-
* screen reader starts reading the new page and the keyboard continues there
|
|
19
|
-
* @param {boolean} [options.scrollTop=false] scroll to the top after a page is shown
|
|
20
|
-
* @param {
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param {
|
|
24
|
-
* @param {
|
|
25
|
-
* @param {string} [options.auth.
|
|
26
|
-
* @param {string} [options.
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Creates a router that renders a page function into an outlet element.
|
|
3
|
+
*
|
|
4
|
+
* @param {object} options
|
|
5
|
+
* @param {Object<string, Function|{handler: Function, title?: string}>} options.routes path pattern -> page
|
|
6
|
+
* function. Patterns support `:param` segments and a trailing `*`. A page function is called with
|
|
7
|
+
* `{ path, params, query }` after the outlet was emptied, and may return a promise.
|
|
8
|
+
* @param {string} [options.outlet="wrapper"] id of the element the pages are rendered into
|
|
9
|
+
* @param {"hash"|"history"} [options.mode="hash"] "history" needs the server to answer every path with the page
|
|
10
|
+
* @param {(context) => void} [options.notFound] called when no route matches
|
|
11
|
+
* @param {(context) => (boolean|string|void|Promise)} [options.beforeEach] guard: return false to cancel,
|
|
12
|
+
* or a path to redirect to (login redirect)
|
|
13
|
+
* @param {(context) => void} [options.afterEach] same as onShown
|
|
14
|
+
* @param {(context, route) => void} [options.onRender] called after the outlet was emptied, before the page function runs
|
|
15
|
+
* @param {(context, route) => void} [options.onShown] called after the page function finished (and it was not replaced by a newer
|
|
16
|
+
* navigation): the place to set the title, move the focus to the content, scroll to the top
|
|
17
|
+
* @param {boolean} [options.focusContent=false] after a page is shown the outlet gets the focus (it is made focusable for that), so a
|
|
18
|
+
* screen reader starts reading the new page and the keyboard continues there
|
|
19
|
+
* @param {boolean} [options.scrollTop=false] scroll to the top after a page is shown
|
|
20
|
+
* @param {boolean} [options.transition=false] a page change is a view transition (document.startViewTransition): the old page cross-fades into the new one,
|
|
21
|
+
* and elements with a `view-transition-name` move from one page to the next. Without the API, or under reduced motion, nothing changes. The old page
|
|
22
|
+
* stays on the screen until the page function of the new one is done, so pages that need long to build should draw something quickly.
|
|
23
|
+
* @param {object} [options.auth] sign-in rules for routes, see the route options below
|
|
24
|
+
* @param {() => boolean} [options.auth.isSignedIn]
|
|
25
|
+
* @param {(role: string) => boolean} [options.auth.hasRole]
|
|
26
|
+
* @param {string} [options.auth.loginPath="/login"] where `auth: true` routes send a visitor who is not signed in (with `?next=<path>`)
|
|
27
|
+
* @param {string} [options.auth.homePath="/"] where `guestOnly` routes send a signed-in person
|
|
28
|
+
* @param {string} [options.auth.forbiddenPath] where a person without the role goes (default: homePath)
|
|
29
|
+
* @param {string} [options.titlePrefix] document title is `${titlePrefix}${route.title}`
|
|
30
|
+
*
|
|
31
|
+
* A route is a page function, or an object: `{ handler, title, auth: true, guestOnly: true, roles: ["admin"], guard(context) }`.
|
|
32
|
+
* `auth`, `guestOnly` and `roles` are checked with options.auth; `guard` is a function that gets the same context and returns
|
|
33
|
+
* false (stay where you are), a path (redirect) or anything else (go on); it runs after the rules.
|
|
34
|
+
* @returns {{start: Function, stop: Function, navigate: Function, current: Function, href: Function,
|
|
35
|
+
* onChange: (listener: (context) => void) => Function}}
|
|
36
|
+
* `onChange(listener)` is called with the context after every page that is shown (menus and breadcrumbs follow the router
|
|
37
|
+
* with it) and returns a function that stops it.
|
|
38
|
+
*/
|
|
39
|
+
export function createRouter(options?: {
|
|
40
|
+
routes: {
|
|
41
|
+
[x: string]: Function | {
|
|
42
|
+
handler: Function;
|
|
43
|
+
title?: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
outlet?: string;
|
|
47
|
+
mode?: "hash" | "history";
|
|
48
|
+
notFound?: (context: any) => void;
|
|
49
|
+
beforeEach?: (context: any) => (boolean | string | void | Promise<any>);
|
|
50
|
+
afterEach?: (context: any) => void;
|
|
51
|
+
onRender?: (context: any, route: any) => void;
|
|
52
|
+
onShown?: (context: any, route: any) => void;
|
|
53
|
+
focusContent?: boolean;
|
|
54
|
+
scrollTop?: boolean;
|
|
55
|
+
transition?: boolean;
|
|
56
|
+
auth?: {
|
|
57
|
+
isSignedIn?: () => boolean;
|
|
58
|
+
hasRole?: (role: string) => boolean;
|
|
59
|
+
loginPath?: string;
|
|
60
|
+
homePath?: string;
|
|
61
|
+
forbiddenPath?: string;
|
|
62
|
+
};
|
|
63
|
+
titlePrefix?: string;
|
|
64
|
+
}): {
|
|
65
|
+
start: Function;
|
|
66
|
+
stop: Function;
|
|
67
|
+
navigate: Function;
|
|
68
|
+
current: Function;
|
|
69
|
+
href: Function;
|
|
70
|
+
onChange: (listener: (context: any) => void) => Function;
|
|
71
|
+
};
|
|
@@ -1,120 +1,123 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generates a table (optional filter box, sortable headers, pagination, row selection, inline
|
|
3
|
-
* editing, resizable columns, virtual scrolling, CSV export) and appends it to its parent.
|
|
4
|
-
*
|
|
5
|
-
* @param {object} options
|
|
6
|
-
* @param {string|Element} [options.parent] id or element, defaults to "wrapper"
|
|
7
|
-
* @param {string} [options.id] id of the table wrapper (default: "table")
|
|
8
|
-
* @param {string} [options.class] extra CSS class of the table
|
|
9
|
-
* @param {string} [options.caption]
|
|
10
|
-
* @param {{key: string, label?: string, width?: number, sortable?: boolean, editable?: boolean, format?: (value, row) => string}[]} options.columns
|
|
11
|
-
* @param {object[]} [options.rows] row objects, read by column key
|
|
12
|
-
* @param {boolean} [options.sortable=true] click on a header sorts by it
|
|
13
|
-
* @param {boolean} [options.filter=false] show a text filter above the table
|
|
14
|
-
* @param {number} [options.pageSize=0] rows per page, 0 disables pagination
|
|
15
|
-
* @param {boolean} [options.selectable=false] checkbox column; the header checkbox selects every filtered row
|
|
16
|
-
* @param {boolean} [options.resizableColumns=false] drag the edge of a header (or use the arrow keys on it) to resize;
|
|
17
|
-
* double click resets the width
|
|
18
|
-
* @param {{height?: number, rowHeight?: number, overscan?: number}|boolean} [options.virtual] render only the rows
|
|
19
|
-
* in view, for lists of thousands of rows. Rows have a fixed height (default 36 px) and the table scrolls
|
|
20
|
-
* inside `height` (default 400 px). Replaces pagination.
|
|
21
|
-
* @param {(key: string, width: number) => void} [options.onColumnResize]
|
|
22
|
-
* @param {(rows: object[]) => void} [options.onSelectionChange]
|
|
23
|
-
* @param {(row: object, key: string, value, oldValue) => (boolean|void)} [options.onEdit] called after an edit
|
|
24
|
-
* of an `editable` column (double click, or Enter / F2 on the focused cell). Return false to reject it.
|
|
25
|
-
* @param {(row: object) => void} [options.onRowClick]
|
|
26
|
-
* @param {string} [options.emptyText]
|
|
27
|
-
* @param {(row: object, column: object) => (string|string[]|null|undefined)} [options.cellClass] CSS class(es) for a cell
|
|
28
|
-
* @param {(row: object) => (string|string[]|null|undefined)} [options.rowClass] CSS class(es) for a row
|
|
29
|
-
* @param {boolean} [options.focusableRows=false] rows are reachable with Tab and, with `onRowClick`, opened with Enter and Space
|
|
30
|
-
* @param {(row: object) => string} [options.rowLabel] aria-label of a focusable row
|
|
31
|
-
* @param {"normal"|"compact"} [options.density="normal"]
|
|
32
|
-
* @param {boolean} [options.wrap] true lets long text wrap, false keeps one line with an ellipsis (default: wrap, except in virtual tables)
|
|
33
|
-
* @param {(query: {page: number, pageSize: number, cursor: *, sort: ({key: string, descending: boolean}|null), filter: string}) =>
|
|
34
|
-
* Promise<{rows: object[], total?: number, nextCursor?: *}>} [options.dataSource] load the rows from a server instead of
|
|
35
|
-
* keeping them all in the browser. Sorting, the filter box and the pager call it again. Answer with `total` for numbered pages
|
|
36
|
-
* (`page` is 0-based), or with `nextCursor` for a "Load more" button (`cursor` is what the last answer gave, undefined for the
|
|
37
|
-
* first request; the rows are appended). A failed request shows the error with a Retry button.
|
|
38
|
-
* Together with `virtual` the list scrolls like one of `total` rows (every answer must carry `total`): the rows in view are asked for
|
|
39
|
-
* in chunks of `chunkSize` (`page` is the chunk number), rows that have not arrived yet show a placeholder, and sorting or the filter
|
|
40
|
-
* start again from the top.
|
|
41
|
-
* @param {number} [options.chunkSize=50] rows per request of a data source with `virtual`
|
|
42
|
-
* @param {
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Generates a table (optional filter box, sortable headers, pagination, row selection, inline
|
|
3
|
+
* editing, resizable columns, virtual scrolling, CSV export) and appends it to its parent.
|
|
4
|
+
*
|
|
5
|
+
* @param {object} options
|
|
6
|
+
* @param {string|Element} [options.parent] id or element, defaults to "wrapper"
|
|
7
|
+
* @param {string} [options.id] id of the table wrapper (default: "table")
|
|
8
|
+
* @param {string} [options.class] extra CSS class of the table
|
|
9
|
+
* @param {string} [options.caption]
|
|
10
|
+
* @param {{key: string, label?: string, width?: number, sortable?: boolean, editable?: boolean, format?: (value, row) => string}[]} options.columns
|
|
11
|
+
* @param {object[]} [options.rows] row objects, read by column key
|
|
12
|
+
* @param {boolean} [options.sortable=true] click on a header sorts by it
|
|
13
|
+
* @param {boolean} [options.filter=false] show a text filter above the table
|
|
14
|
+
* @param {number} [options.pageSize=0] rows per page, 0 disables pagination
|
|
15
|
+
* @param {boolean} [options.selectable=false] checkbox column; the header checkbox selects every filtered row
|
|
16
|
+
* @param {boolean} [options.resizableColumns=false] drag the edge of a header (or use the arrow keys on it) to resize;
|
|
17
|
+
* double click resets the width
|
|
18
|
+
* @param {{height?: number, rowHeight?: number, overscan?: number}|boolean} [options.virtual] render only the rows
|
|
19
|
+
* in view, for lists of thousands of rows. Rows have a fixed height (default 36 px) and the table scrolls
|
|
20
|
+
* inside `height` (default 400 px). Replaces pagination.
|
|
21
|
+
* @param {(key: string, width: number) => void} [options.onColumnResize]
|
|
22
|
+
* @param {(rows: object[]) => void} [options.onSelectionChange]
|
|
23
|
+
* @param {(row: object, key: string, value, oldValue) => (boolean|void)} [options.onEdit] called after an edit
|
|
24
|
+
* of an `editable` column (double click, or Enter / F2 on the focused cell). Return false to reject it.
|
|
25
|
+
* @param {(row: object) => void} [options.onRowClick]
|
|
26
|
+
* @param {string} [options.emptyText]
|
|
27
|
+
* @param {(row: object, column: object) => (string|string[]|null|undefined)} [options.cellClass] CSS class(es) for a cell
|
|
28
|
+
* @param {(row: object) => (string|string[]|null|undefined)} [options.rowClass] CSS class(es) for a row
|
|
29
|
+
* @param {boolean} [options.focusableRows=false] rows are reachable with Tab and, with `onRowClick`, opened with Enter and Space
|
|
30
|
+
* @param {(row: object) => string} [options.rowLabel] aria-label of a focusable row
|
|
31
|
+
* @param {"normal"|"compact"} [options.density="normal"]
|
|
32
|
+
* @param {boolean} [options.wrap] true lets long text wrap, false keeps one line with an ellipsis (default: wrap, except in virtual tables)
|
|
33
|
+
* @param {(query: {page: number, pageSize: number, cursor: *, sort: ({key: string, descending: boolean}|null), filter: string}) =>
|
|
34
|
+
* Promise<{rows: object[], total?: number, nextCursor?: *}>} [options.dataSource] load the rows from a server instead of
|
|
35
|
+
* keeping them all in the browser. Sorting, the filter box and the pager call it again. Answer with `total` for numbered pages
|
|
36
|
+
* (`page` is 0-based), or with `nextCursor` for a "Load more" button (`cursor` is what the last answer gave, undefined for the
|
|
37
|
+
* first request; the rows are appended). A failed request shows the error with a Retry button.
|
|
38
|
+
* Together with `virtual` the list scrolls like one of `total` rows (every answer must carry `total`): the rows in view are asked for
|
|
39
|
+
* in chunks of `chunkSize` (`page` is the chunk number), rows that have not arrived yet show a placeholder, and sorting or the filter
|
|
40
|
+
* start again from the top.
|
|
41
|
+
* @param {number} [options.chunkSize=50] rows per request of a data source with `virtual`
|
|
42
|
+
* @param {boolean} [options.animateRows=false] rows slide to their new place when the table is sorted, filtered or changes page, and new rows fade in
|
|
43
|
+
* (at most 60 rows are animated, none under reduced motion, none in a virtual table)
|
|
44
|
+
* @param {number} [options.filterDelay=300] ms to wait after typing before the data source is asked
|
|
45
|
+
* @param {{label: string, onclick: (row: object) => void, danger?: boolean, hidden?: (row: object) => boolean, ariaLabel?: (row: object) => string}[]} [options.rowActions]
|
|
46
|
+
* a column of buttons at the end of every row
|
|
47
|
+
* Column extras: `render(row, value)` returns text or a Node (built by the caller, so safe by construction), `align`
|
|
48
|
+
* ("left" | "center" | "right"), `title` (false switches the tooltip with the full text off).
|
|
49
|
+
* @returns {{element: HTMLElement, update: Function, destroy: Function, setRows: Function, getSelected: () => object[], clearSelection: Function,
|
|
50
|
+
* getColumnWidths: () => Object<string, number>, toCsv: () => string, exportCsv: (filename?: string) => void}}
|
|
51
|
+
*/
|
|
52
|
+
export function generateTable(options?: {
|
|
53
|
+
parent?: string | Element;
|
|
54
|
+
id?: string;
|
|
55
|
+
class?: string;
|
|
56
|
+
caption?: string;
|
|
57
|
+
columns: {
|
|
58
|
+
key: string;
|
|
59
|
+
label?: string;
|
|
60
|
+
width?: number;
|
|
61
|
+
sortable?: boolean;
|
|
62
|
+
editable?: boolean;
|
|
63
|
+
format?: (value: any, row: any) => string;
|
|
64
|
+
}[];
|
|
65
|
+
rows?: object[];
|
|
66
|
+
sortable?: boolean;
|
|
67
|
+
filter?: boolean;
|
|
68
|
+
pageSize?: number;
|
|
69
|
+
selectable?: boolean;
|
|
70
|
+
resizableColumns?: boolean;
|
|
71
|
+
virtual?: {
|
|
72
|
+
height?: number;
|
|
73
|
+
rowHeight?: number;
|
|
74
|
+
overscan?: number;
|
|
75
|
+
} | boolean;
|
|
76
|
+
onColumnResize?: (key: string, width: number) => void;
|
|
77
|
+
onSelectionChange?: (rows: object[]) => void;
|
|
78
|
+
onEdit?: (row: object, key: string, value: any, oldValue: any) => (boolean | void);
|
|
79
|
+
onRowClick?: (row: object) => void;
|
|
80
|
+
emptyText?: string;
|
|
81
|
+
cellClass?: (row: object, column: object) => (string | string[] | null | undefined);
|
|
82
|
+
rowClass?: (row: object) => (string | string[] | null | undefined);
|
|
83
|
+
focusableRows?: boolean;
|
|
84
|
+
rowLabel?: (row: object) => string;
|
|
85
|
+
density?: "normal" | "compact";
|
|
86
|
+
wrap?: boolean;
|
|
87
|
+
dataSource?: (query: {
|
|
88
|
+
page: number;
|
|
89
|
+
pageSize: number;
|
|
90
|
+
cursor: any;
|
|
91
|
+
sort: ({
|
|
92
|
+
key: string;
|
|
93
|
+
descending: boolean;
|
|
94
|
+
} | null);
|
|
95
|
+
filter: string;
|
|
96
|
+
}) => Promise<{
|
|
97
|
+
rows: object[];
|
|
98
|
+
total?: number;
|
|
99
|
+
nextCursor?: any;
|
|
100
|
+
}>;
|
|
101
|
+
chunkSize?: number;
|
|
102
|
+
animateRows?: boolean;
|
|
103
|
+
filterDelay?: number;
|
|
104
|
+
rowActions?: {
|
|
105
|
+
label: string;
|
|
106
|
+
onclick: (row: object) => void;
|
|
107
|
+
danger?: boolean;
|
|
108
|
+
hidden?: (row: object) => boolean;
|
|
109
|
+
ariaLabel?: (row: object) => string;
|
|
110
|
+
}[];
|
|
111
|
+
}): {
|
|
112
|
+
element: HTMLElement;
|
|
113
|
+
update: Function;
|
|
114
|
+
destroy: Function;
|
|
115
|
+
setRows: Function;
|
|
116
|
+
getSelected: () => object[];
|
|
117
|
+
clearSelection: Function;
|
|
118
|
+
getColumnWidths: () => {
|
|
119
|
+
[x: string]: number;
|
|
120
|
+
};
|
|
121
|
+
toCsv: () => string;
|
|
122
|
+
exportCsv: (filename?: string) => void;
|
|
123
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./libs/core/motion.js";
|