diff --git a/doc/metergroup/IconDoc.vue b/doc/metergroup/IconDoc.vue
new file mode 100644
index 000000000..db2c19cb6
--- /dev/null
+++ b/doc/metergroup/IconDoc.vue
@@ -0,0 +1,69 @@
+
+
+ Icons can be displayed next to the labels instead of the default marker.
+
+
+
+
+
+
+
+
diff --git a/doc/metergroup/LabelDoc.vue b/doc/metergroup/LabelDoc.vue
index 72c9c0517..1bf85a2f3 100644
--- a/doc/metergroup/LabelDoc.vue
+++ b/doc/metergroup/LabelDoc.vue
@@ -1,12 +1,12 @@
- Default layout of MeterGroup is horizontal , and also labelOrientation property can be set as vertical .In addition, position of the label can be changed using labelPosition property that the default value is
- end and also start option is available.
+ The position of the labels relative to the meters is defined using the labelPosition property. The default orientation of the labels is horizontal, and the vertical alternative is available through the
+ labelOrientation option.
-
+
@@ -16,19 +16,19 @@ export default {
data() {
return {
value: [
- { label: 'Apps', value: 16, color: '#EB9A9C', icon: 'pi pi-cog' },
- { label: 'Messages', value: 8, color: '#FFCF91', icon: 'pi pi-envelope' },
- { label: 'Media', value: 24, color: '#93DEAC', icon: 'pi pi-image' },
- { label: 'System Data', value: 20, color: '#91cff8', icon: 'pi pi-database' }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
],
code: {
basic: `
-
+
`,
options: `
-
+
@@ -37,10 +37,10 @@ export default {
data() {
return {
value: [
- { label: 'Apps', value: 16, color: '#EB9A9C', icon: 'pi pi-cog' },
- { label: 'Messages', value: 8, color: '#FFCF91', icon: 'pi pi-envelope' },
- { label: 'Media', value: 24, color: '#93DEAC', icon: 'pi pi-image' },
- { label: 'System Data', value: 20, color: '#91cff8', icon: 'pi pi-database' }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
]
};
}
@@ -50,7 +50,7 @@ export default {
composition: `
-
+
@@ -58,10 +58,10 @@ export default {
import { ref } from "vue";
const value = ref([
- { label: 'Apps', value: 16, color: '#EB9A9C', icon: 'pi pi-cog' },
- { label: 'Messages', value: 8, color: '#FFCF91', icon: 'pi pi-envelope' },
- { label: 'Media', value: 24, color: '#93DEAC', icon: 'pi pi-image' },
- { label: 'System Data', value: 20, color: '#91cff8', icon: 'pi pi-database' }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
]);
<\/script>
`
diff --git a/doc/metergroup/MinMaxDoc.vue b/doc/metergroup/MinMaxDoc.vue
index acd1c6947..6294de068 100644
--- a/doc/metergroup/MinMaxDoc.vue
+++ b/doc/metergroup/MinMaxDoc.vue
@@ -3,7 +3,7 @@
Boundaries are configured with the min and max values whose defaults are 0 and 100 respectively.
-
+
@@ -13,19 +13,19 @@ export default {
data() {
return {
value: [
- { label: 'Apps', value: 16, color: '#EB9A9C', icon: 'pi pi-cog' },
- { label: 'Messages', value: 8, color: '#FFCF91', icon: 'pi pi-envelope' },
- { label: 'Media', value: 24, color: '#93DEAC', icon: 'pi pi-image' },
- { label: 'System Data', value: 20, color: '#91cff8', icon: 'pi pi-database' }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
],
code: {
basic: `
-
+
`,
options: `
-
+
@@ -34,10 +34,10 @@ export default {
data() {
return {
value: [
- { label: 'Apps', value: 16, color: '#EB9A9C', icon: 'pi pi-cog' },
- { label: 'Messages', value: 8, color: '#FFCF91', icon: 'pi pi-envelope' },
- { label: 'Media', value: 24, color: '#93DEAC', icon: 'pi pi-image' },
- { label: 'System Data', value: 20, color: '#91cff8', icon: 'pi pi-database' }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
],
};
}
@@ -47,7 +47,7 @@ export default {
composition: `
-
+
@@ -55,10 +55,10 @@ export default {
import { ref } from "vue";
const value = ref([
- { label: 'Apps', value: 16, color: '#EB9A9C', icon: 'pi pi-cog' },
- { label: 'Messages', value: 8, color: '#FFCF91', icon: 'pi pi-envelope' },
- { label: 'Media', value: 24, color: '#93DEAC', icon: 'pi pi-image' },
- { label: 'System Data', value: 20, color: '#91cff8', icon: 'pi pi-database' }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
]);
<\/script>
`
diff --git a/doc/metergroup/MultipleDoc.vue b/doc/metergroup/MultipleDoc.vue
index 9a3c94b9a..3fd4bf1af 100644
--- a/doc/metergroup/MultipleDoc.vue
+++ b/doc/metergroup/MultipleDoc.vue
@@ -1,6 +1,6 @@
- value property accepts multiple meter group objects.
+ Adding more items to the array displays the meters in a group.
@@ -13,9 +13,10 @@ export default {
data() {
return {
value: [
- { color: '#239EF0', label: 'Mortgage', value: 25 },
- { color: '#FAA419', label: 'Loan', value: 15 },
- { color: '#EE5879', label: 'Credit Card', value: 20 }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
],
code: {
basic: `
@@ -33,9 +34,10 @@ export default {
data() {
return {
value: [
- { color: '#239EF0', label: 'Mortgage', value: 25 },
- { color: '#FAA419', label: 'Loan', value: 15 },
- { color: '#EE5879', label: 'Credit Card', value: 20 }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
]
};
}
@@ -53,9 +55,10 @@ export default {
import { ref } from "vue";
const value = ref([
- { color: '#239EF0', label: 'Mortgage', value: 25 },
- { color: '#FAA419', label: 'Loan', value: 15 },
- { color: '#EE5879', label: 'Credit Card', value: 20 }
+ { label: 'Apps', color: '#34d399', value: 16 },
+ { label: 'Messages', color: '#fbbf24', value: 8 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 10 }
]);
<\/script>
`
diff --git a/doc/metergroup/TemplateDoc.vue b/doc/metergroup/TemplateDoc.vue
new file mode 100644
index 000000000..dabb5268a
--- /dev/null
+++ b/doc/metergroup/TemplateDoc.vue
@@ -0,0 +1,213 @@
+
+
+ MeterGroup provides templating support for labels, meter items, and content around the meters.
+
+
+
+
+
+
+
+
+
+
+ {{ val.label }}
+ {{ val.value }}%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Storage
+ {{ totalPercent }}%
+ 1TB
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/doc/metergroup/TemplatingDoc.vue b/doc/metergroup/TemplatingDoc.vue
deleted file mode 100644
index fd9c09121..000000000
--- a/doc/metergroup/TemplatingDoc.vue
+++ /dev/null
@@ -1,153 +0,0 @@
-
-
-
- MeterGroup offers meter customization with the meter template that receives the meter instance from the value as a parameter and also label template receives value instance. In addition, the start and end slots
- are available to define the start and end templating for MeterGroup respectively.
-
-
-
-
-
-
-
-
-
- {{ val.label }} ({{ val.value }}%)
-
-
-
-
-
- Account
- {{ totalPercent }}%
- Savings: 1000$
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/metergroup/VerticalDoc.vue b/doc/metergroup/VerticalDoc.vue
index ac5e4712c..fc0565d9b 100644
--- a/doc/metergroup/VerticalDoc.vue
+++ b/doc/metergroup/VerticalDoc.vue
@@ -1,9 +1,9 @@
- Layout of the MeterGroup is configured with the orientation property that accepts horizontal and vertical as options.
+ Layout of the MeterGroup is configured with the orientation property that accepts either horizontal or vertical as available options.
-
-
+
+
@@ -13,18 +13,19 @@ export default {
data() {
return {
value: [
- { color: '#4ADE81', label: 'E-mails', value: 17 },
- { color: '#FB923C', label: 'Messages', value: 36 },
- { color: '#C084FC', label: 'Other', value: 24 }
+ { label: 'Apps', color: '#34d399', value: 24 },
+ { label: 'Messages', color: '#fbbf24', value: 16 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 12 }
],
code: {
basic: `
-
+
`,
options: `
-
-
+
+
@@ -33,9 +34,10 @@ export default {
data() {
return {
value: [
- { color: '#4ADE81', label: 'E-mails', value: 17 },
- { color: '#FB923C', label: 'Messages', value: 36 },
- { color: '#C084FC', label: 'Other', value: 24 }
+ { label: 'Apps', color: '#34d399', value: 24 },
+ { label: 'Messages', color: '#fbbf24', value: 16 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 12 }
]
};
}
@@ -44,8 +46,8 @@ export default {
`,
composition: `
-
-
+
+
@@ -53,9 +55,10 @@ export default {
import { ref } from "vue";
const value = ref([
- { color: '#4ADE81', label: 'E-mails', value: 17 },
- { color: '#FB923C', label: 'Messages', value: 36 },
- { color: '#C084FC', label: 'Other', value: 24 }
+ { label: 'Apps', color: '#34d399', value: 24 },
+ { label: 'Messages', color: '#fbbf24', value: 16 },
+ { label: 'Media', color: '#60a5fa', value: 24 },
+ { label: 'System', color: '#c084fc', value: 12 }
]);
<\/script>
`
diff --git a/doc/toolbar/CustomDoc.vue b/doc/toolbar/CustomDoc.vue
index e7dc58537..0d8f52838 100644
--- a/doc/toolbar/CustomDoc.vue
+++ b/doc/toolbar/CustomDoc.vue
@@ -1,34 +1,31 @@
- A customized toolbar with navigation bar like functionality.
+ A customized toolbar with navigation bar functionality.
-
+
-
-
-
-
-
-
-
-
-
-
-
+
@@ -42,26 +39,23 @@ export default {
return {
code: {
basic: `
-
+
-
-
-
-
-
-
-
-
-
-
-
+
@@ -69,32 +63,29 @@ export default {
options: `
-
+
-
-
-
-
-
-
-
-
-
-
-
+
@@ -107,32 +98,29 @@ export default {
composition: `
-
+
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/layouts/AppMenuItem.vue b/layouts/AppMenuItem.vue
index b850bcf9b..3b2208f1f 100644
--- a/layouts/AppMenuItem.vue
+++ b/layouts/AppMenuItem.vue
@@ -13,14 +13,14 @@
{{ menuitem.name }}
-
+
{{ menuitem.name }}
-
+
diff --git a/layouts/default.vue b/layouts/default.vue
index 6cdf03dc7..2d4f483c3 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -121,7 +121,6 @@ export default {
{
'layout-news-active': this.$appState.newsActive,
'p-ripple-disabled': this.$appState.ripple === false,
- 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
'layout-dark': this.$appState.darkTheme,
'layout-light': !this.$appState.darkTheme
}
diff --git a/pages/metergroup/index.vue b/pages/metergroup/index.vue
index 3028b9508..51243f2b4 100644
--- a/pages/metergroup/index.vue
+++ b/pages/metergroup/index.vue
@@ -1,16 +1,25 @@
-
+