diff --git a/README.md b/README.md
index f5b81b44..7cd5795b 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@
![GitHub issues](https://img.shields.io/github/issues/graphieros/vue-data-ui)
![NPM](https://img.shields.io/npm/l/vue-data-ui)
![npm](https://img.shields.io/npm/dt/vue-data-ui)
-![Static Badge](https://img.shields.io/badge/components-36-green)
+![Static Badge](https://img.shields.io/badge/components-37-green)
[Interactive documentation](https://vue-data-ui.graphieros.com/)
@@ -70,6 +70,7 @@ Available components:
- [VueUiAnnotator](https://vue-data-ui.graphieros.com/docs#vue-ui-annotator)
- [VueUiIcon](https://vue-data-ui.graphieros.com/docs#vue-ui-icon)
- [VueUiDigits](https://vue-data-ui.graphieros.com/docs#vue-ui-digits)
+- [VueUiMiniLoader](https://vue-data-ui.graphieros.com/docs#vue-ui-mini-loader)
# Installation
```
diff --git a/package-lock.json b/package-lock.json
index 3835bf07..afa1569c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "vue-data-ui",
- "version": "1.9.89",
+ "version": "1.9.90",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vue-data-ui",
- "version": "1.9.89",
+ "version": "1.9.90",
"license": "MIT",
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
diff --git a/package.json b/package.json
index 44114e58..bb766d36 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "vue-data-ui",
"private": false,
- "version": "1.9.89",
+ "version": "1.9.90",
"type": "module",
"description": "A user-empowering data visualization Vue components library",
"keywords": [
diff --git a/src/App.vue b/src/App.vue
index f99830c1..dbdaf28a 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -48,6 +48,7 @@ import DigitsTest from "./components/vue-ui-digits.vue";
import MoleculeTest from './components/vue-ui-molecule.vue';
import DonutEvolutionTest from "./components/vue-ui-donut-evolution.vue";
import TableSparklineTest from "./components/vue-ui-table-sparkline.vue";
+import MiniLoaderTest from "./components/vue-ui-mini-loader.vue";
const dataset = ref([
{
@@ -3831,6 +3832,28 @@ const moodRadarConfig = ref({
},
])
+ const miniLoaderConfig = ref({
+ type: "bar",
+ onion: {
+ gutterColor: "#CCCCCC",
+ gutterOpacity: 0.3,
+ gutterBlur: 0.2,
+ trackHueRotate: 360,
+ trackBlur: 2,
+ trackColor: "#42d392"
+ },
+ line: {
+ color: "#42d392",
+ blur: 1,
+ hueRotate: 360
+ },
+ bar: {
+ color: "#42d392",
+ blur: 1,
+ hueRotate: 360
+ }
+ })
+
@@ -3931,6 +3954,24 @@ const moodRadarConfig = ref({
+
+
+
+ VueUiMiniLoader
+
+
+
+
+
+
+
+
+ {{ PROD_CONFIG.vue_ui_mini_loader }}
+
+
+
diff --git a/src/components/vue-ui-mini-loader.vue b/src/components/vue-ui-mini-loader.vue
new file mode 100644
index 00000000..2d33da55
--- /dev/null
+++ b/src/components/vue-ui-mini-loader.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/default_configs.json b/src/default_configs.json
index 59309893..6852a9e8 100644
--- a/src/default_configs.json
+++ b/src/default_configs.json
@@ -3080,5 +3080,26 @@
"userOptions": {
"show": true
}
+ },
+ "vue_ui_mini_loader": {
+ "type": "onion",
+ "onion": {
+ "gutterColor": "#CCCCCC",
+ "gutterOpacity": 0,
+ "gutterBlur": 0,
+ "trackHueRotate": 20,
+ "trackBlur": 5,
+ "trackColor": "#42d392"
+ },
+ "line": {
+ "color": "#42d392",
+ "blur": 1,
+ "hueRotate": 20
+ },
+ "bar": {
+ "color": "#42d392",
+ "blur": 1,
+ "hueRotate": 20
+ }
}
}
\ No newline at end of file
diff --git a/types/vue-data-ui.d.ts b/types/vue-data-ui.d.ts
index b073e4d9..ff160eae 100644
--- a/types/vue-data-ui.d.ts
+++ b/types/vue-data-ui.d.ts
@@ -5,6 +5,32 @@ declare module 'vue-data-ui' {
[key: string]: unknown;
}
+ export type VueUiMiniLoaderConfig = {
+ type?: "line" | "bar" | "onion";
+ onion?: {
+ gutterColor?: string;
+ gutterOpacity?: number;
+ gutterBlur?: number;
+ trackHueRotate?: number;
+ trackBlur?: number;
+ trackColor?: string;
+ };
+ line?: {
+ color?: string;
+ blur?: number;
+ hueRotate?: number;
+ };
+ bar?: {
+ color?: string;
+ blur?: number;
+ hueRotate?: number;
+ }
+ }
+
+ export const VueUiMiniLoader: DefineComponent<{
+ config?: VueUiMiniLoaderConfig;
+ }>
+
export const Arrow: DefineComponent<{
markerEnd?: boolean,
markerSize?: number,