vue-data-ui 2.0.37 → 2.0.39
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 +26 -0
- package/dist/{index-b928771f.js → index-30be0f4a.js} +15819 -15268
- package/dist/{index.es-ea2d36ec.js → index.es-fdc14917.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +28 -25
- package/dist/vue-data-ui.js +42 -41
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -109,6 +109,32 @@ Or you can import just what you need in your files:
|
|
|
109
109
|
</script>
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
+
Since v.2.0.38, you can also use the "VueDataUi" universal component, just specifying which component you are using:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
<script setup>
|
|
116
|
+
import { ref } from "vue";
|
|
117
|
+
import { VueDataUi } from "vue-data-ui";
|
|
118
|
+
// Include the css;
|
|
119
|
+
import "vue-data-ui/style.css";
|
|
120
|
+
|
|
121
|
+
const config = ref({...});
|
|
122
|
+
const dataset = ref([...]);
|
|
123
|
+
|
|
124
|
+
</script>
|
|
125
|
+
|
|
126
|
+
<template>
|
|
127
|
+
|
|
128
|
+
<VueDataUi
|
|
129
|
+
component="VueUiXy"
|
|
130
|
+
:config="config"
|
|
131
|
+
:dataset="dataset"
|
|
132
|
+
/>
|
|
133
|
+
|
|
134
|
+
</template>
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
|
|
112
138
|
## Typescript
|
|
113
139
|
|
|
114
140
|
Types are available in the 'vue-data-ui.d.ts' file under the types directory of the package.
|