vuetable-next 1.0.8 → 1.0.10
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 +2 -52
- package/auto-imports.d.ts +9 -0
- package/dist/vuetable-next.js +475 -491
- package/dist/vuetable-next.js.map +1 -1
- package/dist/vuetable-next.umd.cjs +6 -6
- package/dist/vuetable-next.umd.cjs.map +1 -1
- package/package.json +87 -87
- package/src/assets/vue.svg +1 -0
- package/src/components/Demo.vue +17 -0
- package/src/components/Vuetable.vue +1216 -0
- package/src/components/VuetableColGroup.vue +66 -0
- package/src/components/VuetableColGutter.vue +25 -0
- package/src/components/VuetableCssSemanticUI.ts +36 -0
- package/src/components/VuetableFieldCheckbox.vue +87 -0
- package/src/components/VuetableFieldCheckboxMixin.vue +46 -0
- package/src/components/VuetableFieldHandle.vue +41 -0
- package/src/components/VuetableFieldMixin.vue +30 -0
- package/src/components/VuetableFieldSequence.vue +43 -0
- package/src/components/VuetablePagination.vue +119 -0
- package/src/components/VuetablePaginationDropdown.vue +88 -0
- package/src/components/VuetablePaginationInfo.vue +51 -0
- package/src/components/VuetablePaginationInfoMixin.vue +64 -0
- package/src/components/VuetablePaginationMixin.vue +107 -0
- package/src/components/VuetableRowHeader.vue +195 -0
- package/src/components/useVuetablePagination.ts +57 -0
- package/src/components/useVuetablePaginationInfo.ts +41 -0
- package/src/data/fields.ts +102 -0
- package/src/data/lang.ts +4 -0
- package/src/helpers/toValue.ts +9 -0
- package/src/index.ts +57 -0
- package/src/main.ts +398 -0
- package/src/style.css +79 -0
- package/src/vite-env.d.ts +1 -0
package/package.json
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vuetable-next",
|
|
3
|
-
"description": "Simple table for displaying data.",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"author": "Artem Alesenko",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"files": ["dist"],
|
|
8
|
-
"private": false,
|
|
9
|
-
"PascalCasedName": "VuetableNext",
|
|
10
|
-
"main": "./dist/vuetable-next.umd.cjs",
|
|
11
|
-
"module": "./dist/vuetable-next.js",
|
|
12
|
-
"license": "MIT",
|
|
13
|
-
"keywords": [
|
|
14
|
-
"vue",
|
|
15
|
-
"vue-demi",
|
|
16
|
-
"component",
|
|
17
|
-
"table",
|
|
18
|
-
"datatable",
|
|
19
|
-
"pagination-components",
|
|
20
|
-
"vite",
|
|
21
|
-
"vitest",
|
|
22
|
-
"vuetable"
|
|
23
|
-
],
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"types": "./dist/vuetable-next.d.ts",
|
|
27
|
-
"import": "./dist/vuetable-next.js",
|
|
28
|
-
"require": "./dist/vuetable-next.umd.cjs"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"bugs": {
|
|
32
|
-
"url": "https://github.com/Artles777/vuetable-next/issues"
|
|
33
|
-
},
|
|
34
|
-
"repository": {
|
|
35
|
-
"type": "git",
|
|
36
|
-
"url": "git+https://github.com/Artles777/vuetable-next.git"
|
|
37
|
-
},
|
|
38
|
-
"scripts": {
|
|
39
|
-
"dev": "vue-demi-switch 3 && vite",
|
|
40
|
-
"dev:2": "vue-demi-switch 2 vue2 && vite",
|
|
41
|
-
"build": "vite build",
|
|
42
|
-
"preview": "vite preview",
|
|
43
|
-
"test": "vitest"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"axios": "^1.7.7",
|
|
47
|
-
"mitt": "^3.0.1",
|
|
48
|
-
"sweetalert": "^2.1.2",
|
|
49
|
-
"vue-demi": "^0.14.10"
|
|
50
|
-
},
|
|
51
|
-
"peerDependencies": {
|
|
52
|
-
"@vue/composition-api": "^1.
|
|
53
|
-
"vue": "^2.
|
|
54
|
-
},
|
|
55
|
-
"peerDependenciesMeta": {
|
|
56
|
-
"@vue/composition-api": {
|
|
57
|
-
"optional": true
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"devDependencies": {
|
|
61
|
-
"@types/eslint__js": "^8.42.3",
|
|
62
|
-
"@eslint/js": "^8.57.0",
|
|
63
|
-
"@microsoft/api-extractor": "7.47.7",
|
|
64
|
-
"@types/jquery": "^3.5.30",
|
|
65
|
-
"@types/node": "^22.5.5",
|
|
66
|
-
"@types/promise-polyfill": "^6.0.6",
|
|
67
|
-
"@types/semver": "^7.5.8",
|
|
68
|
-
"@vitejs/plugin-vue": "^5.1.3",
|
|
69
|
-
"@vue/test-utils": "^2.4.6",
|
|
70
|
-
"axios-mock-adapter": "^2.0.0",
|
|
71
|
-
"eslint": "^8.57.0",
|
|
72
|
-
"eslint-plugin-vue": "^9.27.0",
|
|
73
|
-
"globals": "^15.8.0",
|
|
74
|
-
"jsdom": "^25.0.0",
|
|
75
|
-
"promise-polyfill": "^8.3.0",
|
|
76
|
-
"semver": "^7.6.3",
|
|
77
|
-
"typescript": "^5.4.2",
|
|
78
|
-
"typescript-eslint": "^7.17.0",
|
|
79
|
-
"unplugin-auto-import": "^0.18.2",
|
|
80
|
-
"vite": "^5.3.4",
|
|
81
|
-
"vite-plugin-dts": "^4.0.3",
|
|
82
|
-
"vitest": "^2.0.5",
|
|
83
|
-
"vue": "^3.5.3",
|
|
84
|
-
"vue2": "npm:vue@2.6.14",
|
|
85
|
-
"vue-tsc": "^2.0.24"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "vuetable-next",
|
|
3
|
+
"description": "Simple table for displaying data.",
|
|
4
|
+
"version": "1.0.10",
|
|
5
|
+
"author": "Artem Alesenko",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"files": ["dist", "src", "*.d.ts"],
|
|
8
|
+
"private": false,
|
|
9
|
+
"PascalCasedName": "VuetableNext",
|
|
10
|
+
"main": "./dist/vuetable-next.umd.cjs",
|
|
11
|
+
"module": "./dist/vuetable-next.js",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"vue",
|
|
15
|
+
"vue-demi",
|
|
16
|
+
"component",
|
|
17
|
+
"table",
|
|
18
|
+
"datatable",
|
|
19
|
+
"pagination-components",
|
|
20
|
+
"vite",
|
|
21
|
+
"vitest",
|
|
22
|
+
"vuetable"
|
|
23
|
+
],
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/vuetable-next.d.ts",
|
|
27
|
+
"import": "./dist/vuetable-next.js",
|
|
28
|
+
"require": "./dist/vuetable-next.umd.cjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/Artles777/vuetable-next/issues"
|
|
33
|
+
},
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/Artles777/vuetable-next.git"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"dev": "vue-demi-switch 3 && vite",
|
|
40
|
+
"dev:2": "vue-demi-switch 2 vue2 && vite",
|
|
41
|
+
"build": "vite build",
|
|
42
|
+
"preview": "vite preview",
|
|
43
|
+
"test": "vitest"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"axios": "^1.7.7",
|
|
47
|
+
"mitt": "^3.0.1",
|
|
48
|
+
"sweetalert": "^2.1.2",
|
|
49
|
+
"vue-demi": "^0.14.10"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"@vue/composition-api": "^1.7.2",
|
|
53
|
+
"vue": "^2.6.14 || >=3.5.3"
|
|
54
|
+
},
|
|
55
|
+
"peerDependenciesMeta": {
|
|
56
|
+
"@vue/composition-api": {
|
|
57
|
+
"optional": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"devDependencies": {
|
|
61
|
+
"@types/eslint__js": "^8.42.3",
|
|
62
|
+
"@eslint/js": "^8.57.0",
|
|
63
|
+
"@microsoft/api-extractor": "7.47.7",
|
|
64
|
+
"@types/jquery": "^3.5.30",
|
|
65
|
+
"@types/node": "^22.5.5",
|
|
66
|
+
"@types/promise-polyfill": "^6.0.6",
|
|
67
|
+
"@types/semver": "^7.5.8",
|
|
68
|
+
"@vitejs/plugin-vue": "^5.1.3",
|
|
69
|
+
"@vue/test-utils": "^2.4.6",
|
|
70
|
+
"axios-mock-adapter": "^2.0.0",
|
|
71
|
+
"eslint": "^8.57.0",
|
|
72
|
+
"eslint-plugin-vue": "^9.27.0",
|
|
73
|
+
"globals": "^15.8.0",
|
|
74
|
+
"jsdom": "^25.0.0",
|
|
75
|
+
"promise-polyfill": "^8.3.0",
|
|
76
|
+
"semver": "^7.6.3",
|
|
77
|
+
"typescript": "^5.4.2",
|
|
78
|
+
"typescript-eslint": "^7.17.0",
|
|
79
|
+
"unplugin-auto-import": "^0.18.2",
|
|
80
|
+
"vite": "^5.3.4",
|
|
81
|
+
"vite-plugin-dts": "^4.0.3",
|
|
82
|
+
"vitest": "^2.0.5",
|
|
83
|
+
"vue": "^3.5.3",
|
|
84
|
+
"vue2": "npm:vue@2.6.14",
|
|
85
|
+
"vue-tsc": "^2.0.24"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
|