diff --git a/doc/datatable/edit/CellEditDoc.vue b/doc/datatable/edit/CellEditDoc.vue
index 94a367e8f..da5f45cbc 100644
--- a/doc/datatable/edit/CellEditDoc.vue
+++ b/doc/datatable/edit/CellEditDoc.vue
@@ -3,7 +3,19 @@
Cell editing is enabled by setting editMode as cell, defining input elements with editor templating of a Column and implementing cell-edit-complete to update the state.
-
+
{{ field === 'price' ? formatCurrency(data[field]) : data[field] }}
@@ -37,7 +49,19 @@ export default {
],
code: {
basic: `
-
+
{{ field === 'price' ? formatCurrency(data[field]) : data[field] }}
@@ -56,7 +80,19 @@ export default {
options: `
-
+
{{ field === 'price' ? formatCurrency(data[field]) : data[field] }}
@@ -129,18 +165,23 @@ export default {
}
};
<\/script>
-
-
`,
composition: `
-
+
{{ field === 'price' ? formatCurrency(data[field]) : data[field] }}
@@ -209,13 +250,7 @@ const formatCurrency = (value) => {
}
<\/script>
-
-`,
+`,
data: `
{
id: '1000',
@@ -274,10 +309,3 @@ const formatCurrency = (value) => {
}
};
-
-
diff --git a/doc/datatable/edit/FilterSortEditDoc.vue b/doc/datatable/edit/FilterSortEditDoc.vue
index 0284845fd..0fd2cbc67 100644
--- a/doc/datatable/edit/FilterSortEditDoc.vue
+++ b/doc/datatable/edit/FilterSortEditDoc.vue
@@ -3,7 +3,21 @@
Cell Editing with Sorting and Filter
-
+
@@ -34,8 +48,21 @@ export default {
},
code: {
basic: `
-
+
@@ -49,8 +76,21 @@ export default {
options: `
-
+
@@ -115,19 +155,25 @@ export default {
}
};
<\/script>
-
-
`,
composition: `
-
+
@@ -184,14 +230,7 @@ const onCellEditComplete = (event) => {
}
};
-<\/script>
-
-`,
+<\/script>`,
data: `
{
id: '1000',
@@ -240,10 +279,3 @@ const onCellEditComplete = (event) => {
}
};
-
-
diff --git a/doc/datatable/scroll/FrozenRowsDoc.vue b/doc/datatable/scroll/FrozenRowsDoc.vue
index d4a57378a..a20314399 100644
--- a/doc/datatable/scroll/FrozenRowsDoc.vue
+++ b/doc/datatable/scroll/FrozenRowsDoc.vue
@@ -3,7 +3,18 @@
Rows can be fixed during scrolling by enabling the frozenValue property.
-
+
@@ -45,7 +56,18 @@ export default {
],
code: {
basic: `
-
+
@@ -60,7 +82,18 @@ export default {
options: `
-
+
@@ -127,7 +160,18 @@ export default {
composition: `
-
+
@@ -233,9 +277,3 @@ onMounted(() => {
}
};
-
-
diff --git a/doc/progressspinner/CustomDoc.vue b/doc/progressspinner/CustomDoc.vue
index 079f59042..fc4b56204 100644
--- a/doc/progressspinner/CustomDoc.vue
+++ b/doc/progressspinner/CustomDoc.vue
@@ -44,16 +44,3 @@ export default {
}
};
-
-
diff --git a/doc/scrolltop/ElementDoc.vue b/doc/scrolltop/ElementDoc.vue
index dda166e36..b5db5e4ac 100644
--- a/doc/scrolltop/ElementDoc.vue
+++ b/doc/scrolltop/ElementDoc.vue
@@ -11,7 +11,18 @@
dictum sit amet. Tristique senectus et netus et malesuada fames ac turpis egestas. Et tortor consequat id porta nibh venenatis cras sed. Diam maecenas ultricies mi eget mauris. Eget egestas purus viverra accumsan in nisl nisi.
Suscipit adipiscing bibendum est ultricies integer. Mattis aliquam faucibus purus in massa tempor nec.
-
+
@@ -23,7 +34,7 @@ export default {
return {
code: {
basic: `
-
+
`,
options: `
@@ -36,31 +47,21 @@ export default {
dictum sit amet. Tristique senectus et netus et malesuada fames ac turpis egestas. Et tortor consequat id porta nibh venenatis cras sed. Diam maecenas ultricies mi eget mauris. Eget egestas purus viverra accumsan in nisl nisi.
Suscipit adipiscing bibendum est ultricies integer. Mattis aliquam faucibus purus in massa tempor nec.
-
+
-
-
-
-
diff --git a/doc/steps/InteractiveDoc.vue b/doc/steps/InteractiveDoc.vue
index acd6c5239..108c2f46d 100644
--- a/doc/steps/InteractiveDoc.vue
+++ b/doc/steps/InteractiveDoc.vue
@@ -162,16 +162,6 @@ export default {
}
}
<\/script>
-
-
`,
composition: `
@@ -251,16 +241,7 @@ const isActive = (item) => {
return item.route ? router.resolve(item.route).path === route.path : false;
};
<\/script>
-
-`,
+`,
pages: [
{
tabName: 'PersonalDemo',
diff --git a/doc/timeline/TemplateDoc.vue b/doc/timeline/TemplateDoc.vue
index 5580e0f86..e1ed3e9b8 100644
--- a/doc/timeline/TemplateDoc.vue
+++ b/doc/timeline/TemplateDoc.vue
@@ -10,7 +10,7 @@
-
+
{{ slotProps.item.status }}
@@ -51,7 +51,7 @@ export default {
-
+
{{ slotProps.item.status }}
@@ -80,7 +80,7 @@ export default {
-
+
{{ slotProps.item.status }}
@@ -130,10 +130,6 @@ export default {
.p-timeline-event-opposite {
flex: 0;
}
-
- .p-card {
- margin-top: 1rem;
- }
}
}
@@ -148,7 +144,7 @@ export default {
-
+
{{ slotProps.item.status }}
@@ -195,10 +191,6 @@ const events = ref([
.p-timeline-event-opposite {
flex: 0;
}
-
- .p-card {
- margin-top: 1rem;
- }
}
}
`
@@ -207,3 +199,21 @@ const events = ref([
}
};
+
+