@guiexpert/vue3-table 0.0.1 → 1.0.2

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 ADDED
@@ -0,0 +1,102 @@
1
+
2
+ # guiexpert-table (Vue)
3
+
4
+ This is the vue component of the GuiExpert Table Project.
5
+
6
+ ## Become a master at creating web applications with large tables
7
+
8
+ This is the UI-agnostic table component for your next web app. 😊
9
+
10
+ <img src="https://raw.githubusercontent.com/guiexperttable/ge-table/main/apps/table-website/src/assets/screens/heatmap.png" width="50%">
11
+
12
+ ### Features
13
+ - Handle large datasets easily
14
+ - Excellent performance for large tables by vertical and horizontal virtual scrolling
15
+ - Fully-featured (advanced sorting and filtering)
16
+ - Highly customizable data grid
17
+ - Outstanding performance
18
+ - No third-party dependencies
19
+ - UI-agnostic
20
+ - Column Interactions (resize, reorder)
21
+ - Sorting Rows
22
+ - Row, Column, and Range Selection
23
+ - Single and Multi Selection
24
+ - UI-agnostic
25
+ - Row and Column Spanning
26
+ - Fixed Columns (Left and Right)
27
+ - Tree table (Hierarchical View)
28
+ - Accessibility support: Keyboard Shortcuts
29
+ - Custom Filtering
30
+ - In-place Cell Editing
31
+ - Userdefined Key and Mouse Events
32
+ - Customizable Look & Feel (via CSS variables)
33
+ - Row sorting
34
+ - Column Reordering (Drag and Drop)
35
+ - State Persistence (Row Sorting, Column Order, Selection)
36
+ - Customizable Cell Contents via Renderer for Header, Body and Footer
37
+ - Full control over the HTML structure and style
38
+
39
+
40
+ ## Links
41
+
42
+ - [Demos](https://gui.expert/demos)
43
+ - [Documentation](https://gui.expert/doc)
44
+ - [API](https://gui.expert/api)
45
+
46
+ ## Get Started
47
+
48
+ Add the following two NPM packages to your existing react project (run this in your project root directory):
49
+
50
+ ```
51
+ npm install --save @guiexpert/table @guiexpert/vue3-table
52
+ ```
53
+
54
+ Add guiexpert-table component to a template:
55
+
56
+ ```
57
+ <guiexpert-table
58
+ :tableModel="tableModel"
59
+ @tableReady="onTableReady($event)"
60
+ ></guiexpert-table>
61
+ ```
62
+
63
+ Import the following classes in your component:
64
+ ```
65
+ <script lang="ts" setup>
66
+
67
+ import { GuiexpertTable } from "@guiexpert/vue3-table";
68
+ import {
69
+ GeMouseEvent,
70
+ TableApi
71
+ TableModelFactory,
72
+ TableModelIf,
73
+ TableOptions,
74
+ TableOptionsIf
75
+ } from "@guiexpert/table";
76
+ ```
77
+
78
+
79
+ Add a tableModel property and a onTableReady method to the component:
80
+
81
+ ```
82
+ const tableModel: TableModelIf = TableModelFactory
83
+ .createByArrayOfArraysParams<any>(param: {
84
+ columnLabels: [
85
+ ['Header 1', 'Header 2']
86
+ ],
87
+ data: [
88
+ ['Text 1a', 'Text 2a'],
89
+ ['Text 1b', 'Text 2b'],
90
+ ]
91
+ };
92
+
93
+ function onTableReady(api: TableApi) {
94
+ console.info("onTableReady API:", api);
95
+ }
96
+ ```
97
+
98
+ There are numerous possibilities to create table models.
99
+ Please refer to the [Documentation](https://gui.expert/doc) for further information or the [Demo](https://gui.expert/demos) section for examples.
100
+
101
+
102
+
package/package.json CHANGED
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "name": "@guiexpert/vue3-table",
3
- "version": "0.0.1",
4
- "type": "commonjs"
3
+ "version": "1.0.2",
4
+ "main": "./index.js",
5
+ "types": "./index.d.ts",
6
+ "exports": {
7
+ ".": {
8
+ "import": "./index.mjs",
9
+ "require": "./index.js"
10
+ }
11
+ }
5
12
  }