@vue-pivottable/subtotal-renderer 0.2.1 → 0.2.2-beta.1
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 +13 -8
- package/package.json +8 -3
package/README.md
CHANGED
|
@@ -4,6 +4,11 @@ Subtotal renderer for [vue-pivottable](https://github.com/Seungwoo321/vue-pivott
|
|
|
4
4
|
|
|
5
5
|
Supports both **Vue 2** and **Vue 3**.
|
|
6
6
|
|
|
7
|
+
## Demo
|
|
8
|
+
|
|
9
|
+
- [Vue 3 Demo](https://subtotal-vue3.pages.dev/)
|
|
10
|
+
- [Vue 2 Demo](https://subtotal-vue2.pages.dev/)
|
|
11
|
+
|
|
7
12
|
## Screenshots
|
|
8
13
|
|
|
9
14
|
### Vue 3 - Subtotal Table
|
|
@@ -33,7 +38,7 @@ Supports both **Vue 2** and **Vue 3**.
|
|
|
33
38
|
## Installation
|
|
34
39
|
|
|
35
40
|
```bash
|
|
36
|
-
|
|
41
|
+
pnpm add @vue-pivottable/subtotal-renderer
|
|
37
42
|
```
|
|
38
43
|
|
|
39
44
|
## Usage
|
|
@@ -266,23 +271,23 @@ The renderer adds specific CSS classes for styling:
|
|
|
266
271
|
|
|
267
272
|
```bash
|
|
268
273
|
# Clone the repository
|
|
269
|
-
git clone https://github.com/
|
|
274
|
+
git clone https://github.com/vue-pivottable/subtotal-renderer.git
|
|
270
275
|
|
|
271
276
|
# Navigate to the subtotal-renderer package
|
|
272
|
-
cd
|
|
277
|
+
cd subtotal-renderer
|
|
273
278
|
|
|
274
279
|
# Install dependencies
|
|
275
|
-
|
|
280
|
+
pnpm install
|
|
276
281
|
|
|
277
282
|
# Run Vue 3 example
|
|
278
283
|
cd examples/vue3
|
|
279
|
-
|
|
280
|
-
|
|
284
|
+
pnpm install
|
|
285
|
+
pnpm dev
|
|
281
286
|
|
|
282
287
|
# Run Vue 2 example (in another terminal)
|
|
283
288
|
cd examples/vue2
|
|
284
|
-
|
|
285
|
-
|
|
289
|
+
pnpm install
|
|
290
|
+
pnpm dev
|
|
286
291
|
```
|
|
287
292
|
|
|
288
293
|
## Requirements
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-pivottable/subtotal-renderer",
|
|
3
|
-
"version": "0.2.1",
|
|
3
|
+
"version": "0.2.2-beta.1",
|
|
4
4
|
"description": "Subtotal renderer for vue-pivottable with expand/collapse support. Supports Vue 2 and Vue 3.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -43,8 +43,13 @@
|
|
|
43
43
|
"url": "https://github.com/vue-pivottable/subtotal-renderer.git"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"vue": "^2.
|
|
47
|
-
"vue-pivottable": "
|
|
46
|
+
"vue": "^2.7.0 || ^3.0.0",
|
|
47
|
+
"vue-pivottable": "^0.4.0 || ^1.0.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependenciesMeta": {
|
|
50
|
+
"vue": {
|
|
51
|
+
"optional": false
|
|
52
|
+
}
|
|
48
53
|
},
|
|
49
54
|
"devDependencies": {
|
|
50
55
|
"@release-it/conventional-changelog": "^10.0.4",
|