@stonecrop/atable 0.13.14 → 0.15.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 +12 -11
- package/dist/assets/index.css +1 -1
- package/dist/atable.d.ts +533 -20
- package/dist/atable.js +1557 -1552
- package/dist/atable.js.map +1 -1
- package/dist/icons/stonecrop-ui-icon-add.svg +5 -0
- package/dist/icons/stonecrop-ui-icon-delete.svg +5 -0
- package/dist/icons/stonecrop-ui-icon-duplicate.svg +5 -0
- package/dist/icons/stonecrop-ui-icon-insert-above.svg +15 -0
- package/dist/icons/stonecrop-ui-icon-insert-below.svg +15 -0
- package/dist/icons/stonecrop-ui-icon-move.svg +4 -0
- package/dist/icons/stonecrop-ui-icon-open.svg +5 -0
- package/dist/src/icons/index.d.ts.map +1 -1
- package/dist/src/icons/index.js +5 -0
- package/dist/src/index.d.ts +1 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -3
- package/dist/src/schemaToColumns.d.ts +2 -2
- package/dist/src/schemaToColumns.d.ts.map +1 -1
- package/dist/src/schemaToColumns.js +7 -10
- package/dist/src/stores/table.d.ts +523 -12
- package/dist/src/stores/table.d.ts.map +1 -1
- package/dist/src/stores/table.js +17 -12
- package/dist/src/types/index.d.ts +14 -3
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/themes/default.css +1 -0
- package/package.json +26 -24
- package/src/components/ACell.vue +12 -10
- package/src/components/ARow.vue +61 -11
- package/src/components/ARowActions.vue +43 -15
- package/src/components/ATable.vue +18 -2
- package/src/components/ATableColumnFilter.vue +19 -18
- package/src/components/ATableHeader.vue +0 -2
- package/src/components/ATableModal.vue +0 -2
- package/src/icons/index.ts +8 -0
- package/src/index.ts +0 -3
- package/src/schemaToColumns.ts +7 -9
- package/src/stores/table.ts +14 -12
- package/src/types/index.ts +16 -3
- package/dist/atable.umd.cjs +0 -51
- package/dist/atable.umd.cjs.map +0 -1
- package/dist/icons/index.js +0 -31
- package/dist/index.js +0 -31
- package/dist/src/tsdoc-metadata.json +0 -11
- package/dist/stores/table.js +0 -795
- package/dist/types/index.js +0 -0
- package/dist/utils.js +0 -7
- package/src/components/AExpansionRow.vue +0 -105
package/dist/icons/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Icon exports for ATable row actions.
|
|
3
|
-
* Icons are exported as raw SVG strings for flexibility in rendering.
|
|
4
|
-
* @packageDocumentation
|
|
5
|
-
*/
|
|
6
|
-
// @ts-expect-error Vite raw import
|
|
7
|
-
import AddIcon from './stonecrop-ui-icon-add.svg?raw';
|
|
8
|
-
// @ts-expect-error Vite raw import
|
|
9
|
-
import DeleteIcon from './stonecrop-ui-icon-delete.svg?raw';
|
|
10
|
-
// @ts-expect-error Vite raw import
|
|
11
|
-
import DuplicateIcon from './stonecrop-ui-icon-duplicate.svg?raw';
|
|
12
|
-
// @ts-expect-error Vite raw import
|
|
13
|
-
import InsertAboveIcon from './stonecrop-ui-icon-insert-above.svg?raw';
|
|
14
|
-
// @ts-expect-error Vite raw import
|
|
15
|
-
import InsertBelowIcon from './stonecrop-ui-icon-insert-below.svg?raw';
|
|
16
|
-
// @ts-expect-error Vite raw import
|
|
17
|
-
import MoveIcon from './stonecrop-ui-icon-move.svg?raw';
|
|
18
|
-
export { AddIcon, DeleteIcon, DuplicateIcon, InsertAboveIcon, InsertBelowIcon, MoveIcon };
|
|
19
|
-
/**
|
|
20
|
-
* Map of action types to their default icons.
|
|
21
|
-
*
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export const actionIcons = {
|
|
25
|
-
add: AddIcon,
|
|
26
|
-
delete: DeleteIcon,
|
|
27
|
-
duplicate: DuplicateIcon,
|
|
28
|
-
insertAbove: InsertAboveIcon,
|
|
29
|
-
insertBelow: InsertBelowIcon,
|
|
30
|
-
move: MoveIcon,
|
|
31
|
-
};
|
package/dist/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import ACell from './components/ACell.vue';
|
|
2
|
-
import AExpansionRow from './components/AExpansionRow.vue';
|
|
3
|
-
import AGanttCell from './components/AGanttCell.vue';
|
|
4
|
-
import ARow from './components/ARow.vue';
|
|
5
|
-
import ARowActions from './components/ARowActions.vue';
|
|
6
|
-
import ATable from './components/ATable.vue';
|
|
7
|
-
import ATableHeader from './components/ATableHeader.vue';
|
|
8
|
-
import ATableLoading from './components/ATableLoading.vue';
|
|
9
|
-
import ATableLoadingBar from './components/ATableLoadingBar.vue';
|
|
10
|
-
import ATableModal from './components/ATableModal.vue';
|
|
11
|
-
export { createTableStore } from './stores/table';
|
|
12
|
-
// Icon exports
|
|
13
|
-
export { AddIcon, DeleteIcon, DuplicateIcon, InsertAboveIcon, InsertBelowIcon, MoveIcon, actionIcons } from './icons';
|
|
14
|
-
/**
|
|
15
|
-
* Install all ATable components
|
|
16
|
-
* @param app - Vue app instance
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
function install(app /* options */) {
|
|
20
|
-
app.component('ACell', ACell);
|
|
21
|
-
app.component('AExpansionRow', AExpansionRow);
|
|
22
|
-
app.component('AGanttCell', AGanttCell);
|
|
23
|
-
app.component('ARow', ARow);
|
|
24
|
-
app.component('ARowActions', ARowActions);
|
|
25
|
-
app.component('ATable', ATable);
|
|
26
|
-
app.component('ATableHeader', ATableHeader);
|
|
27
|
-
app.component('ATableLoading', ATableLoading);
|
|
28
|
-
app.component('ATableLoadingBar', ATableLoadingBar);
|
|
29
|
-
app.component('ATableModal', ATableModal);
|
|
30
|
-
}
|
|
31
|
-
export { ACell, AExpansionRow, AGanttCell, ARow, ARowActions, ATable, ATableHeader, ATableLoading, ATableLoadingBar, ATableModal, install, };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.57.0"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|