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/README.md
CHANGED
|
@@ -35,58 +35,8 @@ import Vuetable from "vuetable-next";
|
|
|
35
35
|
</Vuetable>
|
|
36
36
|
<template>
|
|
37
37
|
```
|
|
38
|
-
|
|
39
|
-
|
|
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
|