vuetable-next 1.0.9 → 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 CHANGED
@@ -35,58 +35,8 @@ import Vuetable from "vuetable-next";
35
35
  </Vuetable>
36
36
  <template>
37
37
  ```
38
- ## 👨Vue 2.7
39
- ### Global Registration
40
- ```ts
41
- import Vuetable from "vuetable-next";
42
- import Vue from "vue";
43
-
44
- Vue.use(Vuetable);
45
- ```
46
- ### Local Registration
47
- ```vue
48
- <script setup>
49
- import Vuetable from "vuetable-next";
50
- </script>
51
-
52
- <template>
53
- <Vuetable
54
- ref="table"
55
- v-bind="{/* local props & attrs */}">
56
- </Vuetable>
57
- <template>
58
- ```
59
-
60
- ## 👴Vue 2.6
61
- ### Global Registration
62
- ```ts
63
- import VueCompositionAPI from "@vue/composition-api";
64
- import Vuetable from "vuetable-next";
65
- import Vue from "vue";
66
-
67
- Vue.use(VueCompositionAPI);
68
- Vue.use(Vuetable);
69
- ```
70
- ### Local Registration
71
- ```vue
72
- <script>
73
- import VueCompositionAPI from "@vue/composition-api";
74
- import Vuetable from "vuetable-next";
75
- import Vue from "vue";
76
- Vue.use(VueCompositionAPI);
77
-
78
- export default {
79
- components: { Vuetable }
80
- }
81
- </script>
82
-
83
- <template>
84
- <Vuetable
85
- ref="table"
86
- v-bind="{/* local props & attrs */}">
87
- </Vuetable>
88
- <template>
89
- ```
38
+ ### ⏳<span style="color:red">Vue 2.6 & 2.7 is temporarily not supported</span>
39
+ > We're working on it. We will add support in a future release.
90
40
 
91
41
  Also you have the ability to access certain components if you need them:
92
42
  ```javascript
@@ -0,0 +1,9 @@
1
+ /* eslint-disable */
2
+ /* prettier-ignore */
3
+ // @ts-nocheck
4
+ // noinspection JSUnusedGlobalSymbols
5
+ // Generated by unplugin-auto-import
6
+ export {}
7
+ declare global {
8
+
9
+ }
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "vuetable-next",
3
- "description": "Simple table for displaying data.",
4
- "version": "1.0.9",
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.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
- }
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>
@@ -0,0 +1,17 @@
1
+ <script lang="ts">
2
+ import { defineComponent } from "vue-demi";
3
+
4
+ export default defineComponent({
5
+ name: "Demo"
6
+ });
7
+ </script>
8
+
9
+ <template>
10
+ <div>
11
+ Demo
12
+ </div>
13
+ </template>
14
+
15
+ <style scoped>
16
+
17
+ </style>