diff --git a/package-lock.json b/package-lock.json
index d2cbe588..c8b02549 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "vue-data-ui",
- "version": "1.9.70",
+ "version": "1.9.71",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "vue-data-ui",
- "version": "1.9.70",
+ "version": "1.9.71",
"license": "MIT",
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
diff --git a/package.json b/package.json
index d13324f8..43893ba7 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "vue-data-ui",
"private": false,
- "version": "1.9.70",
+ "version": "1.9.71",
"type": "module",
"description": "A user-empowering data visualization Vue components library",
"keywords": [
diff --git a/src/atoms/DataTable.vue b/src/atoms/DataTable.vue
index 4e5f9976..2305a152 100644
--- a/src/atoms/DataTable.vue
+++ b/src/atoms/DataTable.vue
@@ -1,7 +1,14 @@
-
-
-
-
- {{ title }}
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
- |
-
-
-
+
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
-
\ No newline at end of file
diff --git a/src/components/vue-ui-donut-evolution.cy.js b/src/components/vue-ui-donut-evolution.cy.js
index 7ef87f08..26cbdec5 100644
--- a/src/components/vue-ui-donut-evolution.cy.js
+++ b/src/components/vue-ui-donut-evolution.cy.js
@@ -1,7 +1,16 @@
import VueUiDonutEvolution from './vue-ui-donut-evolution.vue'
+
+
describe('', () => {
beforeEach(function () {
+ const stub = cy.stub()
+ Cypress.on('uncaught:exception', (err, runnable) => {
+ if (err.message.includes('ResizeObserver')) {
+ stub()
+ return false
+ }
+ })
cy.fixture('donut-evolution.json').as('fixture');
cy.viewport(400, 400);
cy.get('@fixture').then((fixture) => {
diff --git a/src/components/vue-ui-donut-evolution.vue b/src/components/vue-ui-donut-evolution.vue
index 97ff4a06..5dfcc090 100644
--- a/src/components/vue-ui-donut-evolution.vue
+++ b/src/components/vue-ui-donut-evolution.vue
@@ -349,10 +349,15 @@ const table = computed(() => {
backgroundColor: donutEvolutionConfig.value.table.td.backgroundColor,
color: donutEvolutionConfig.value.table.td.color,
outline: donutEvolutionConfig.value.table.td.outline
- }
+ },
+ breakpoint: donutEvolutionConfig.value.table.responsiveBreakpoint
}
- return { head, body, config };
+ const colNames = [
+ donutEvolutionConfig.value.table.columnNames.period
+ ].concat(convertedDataset.value.filter(ds => !segregated.value.includes(ds.uid)).map(ds => ds.name)).concat(donutEvolutionConfig.value.table.columnNames.total)
+
+ return { head, body, config, colNames };
});
function getData() {
@@ -773,6 +778,7 @@ defineExpose({
', () => {
beforeEach(function () {
+ const stub = cy.stub()
+ Cypress.on('uncaught:exception', (err, runnable) => {
+ if (err.message.includes('ResizeObserver')) {
+ stub()
+ return false
+ }
+ })
cy.fixture('donut.json').as('fixture');
cy.viewport(1000, 1100);
});
diff --git a/src/components/vue-ui-donut.vue b/src/components/vue-ui-donut.vue
index 78d4d3b0..ecbb3f51 100644
--- a/src/components/vue-ui-donut.vue
+++ b/src/components/vue-ui-donut.vue
@@ -283,10 +283,18 @@ const dataTable = computed(() => {
backgroundColor: donutConfig.value.table.td.backgroundColor,
color: donutConfig.value.table.td.color,
outline: donutConfig.value.table.td.outline
- }
+ },
+ breakpoint: donutConfig.value.table.responsiveBreakpoint
}
+ const colNames = [
+ donutConfig.value.table.columnNames.series,
+ donutConfig.value.table.columnNames.value,
+ donutConfig.value.table.columnNames.percentage
+ ]
+
return {
+ colNames,
head,
body,
config
@@ -608,6 +616,7 @@ defineExpose({
{
backgroundColor: moleculeConfig.value.table.td.backgroundColor,
color: moleculeConfig.value.table.td.color,
outline: moleculeConfig.value.table.td.outline
- }
+ },
+ breakpoint: moleculeConfig.value.table.responsiveBreakpoint
}
+ const colNames = [
+ moleculeConfig.value.table.translations.nodeName,
+ moleculeConfig.value.table.translations.details,
+ moleculeConfig.value.table.translations.parentNode
+ ]
+
return {
head,
body,
- config
+ config,
+ colNames
}
});
@@ -535,6 +543,7 @@ defineExpose({
{
backgroundColor: radarConfig.value.table.td.backgroundColor,
color: radarConfig.value.table.td.color,
outline: radarConfig.value.table.td.outline
- }
+ },
+ breakpoint: radarConfig.value.table.responsiveBreakpoint
}
+ const colNames = [
+ radarConfig.value.table.columnNames.series,
+ radarConfig.value.table.columnNames.value,
+ radarConfig.value.table.columnNames.percentage
+ ]
+
return {
head,
body,
- config
+ config,
+ colNames
}
});
@@ -436,6 +444,7 @@ defineExpose({
', () => {
beforeEach(function() {
+ const stub = cy.stub()
+ Cypress.on('uncaught:exception', (err, runnable) => {
+ if (err.message.includes('ResizeObserver')) {
+ stub()
+ return false
+ }
+ })
cy.fixture('rings.json').as('fixture');
cy.viewport(600, 800);
});
diff --git a/src/components/vue-ui-rings.vue b/src/components/vue-ui-rings.vue
index 1c4ab2a9..de33cb9b 100644
--- a/src/components/vue-ui-rings.vue
+++ b/src/components/vue-ui-rings.vue
@@ -263,6 +263,7 @@ const table = computed(() => {
}
});
const body = convertedDataset.value.map(ds => ds.value);
+
return { head, body };
});
@@ -294,13 +295,21 @@ const dataTable = computed(() => {
backgroundColor: ringsConfig.value.table.td.backgroundColor,
color: ringsConfig.value.table.td.color,
outline: ringsConfig.value.table.td.outline
- }
+ },
+ breakpoint: ringsConfig.value.table.responsiveBreakpoint
}
+ const colNames = [
+ ringsConfig.value.table.columnNames.series,
+ ringsConfig.value.table.columnNames.value,
+ ringsConfig.value.table.columnNames.percentage
+ ]
+
return {
head,
body,
- config
+ config,
+ colNames
}
});
@@ -517,6 +526,7 @@ defineExpose({
', () => {
beforeEach(function () {
+ const stub = cy.stub()
+ Cypress.on('uncaught:exception', (err, runnable) => {
+ if (err.message.includes('ResizeObserver')) {
+ stub()
+ return false
+ }
+ })
cy.fixture('waffle.json').as('fixture');
cy.viewport(800, 950);
});
diff --git a/src/components/vue-ui-waffle.vue b/src/components/vue-ui-waffle.vue
index 2fd4b0fd..a5e32c1b 100644
--- a/src/components/vue-ui-waffle.vue
+++ b/src/components/vue-ui-waffle.vue
@@ -365,13 +365,21 @@ const dataTable = computed(() => {
color: waffleConfig.value.table.td.color,
outline: waffleConfig.value.table.td.outline
},
- shape: 'square'
+ shape: 'square',
+ breakpoint: waffleConfig.value.table.responsiveBreakpoint
}
+ const colNames = [
+ waffleConfig.value.table.columnNames.series,
+ waffleConfig.value.table.columnNames.value,
+ waffleConfig.value.table.columnNames.percentage
+ ]
+
return {
head,
body,
- config
+ config,
+ colNames
}
});
@@ -580,6 +588,7 @@ defineExpose({