From e2b3baf943031f9ab5cad8afb2b4618d27938d4f Mon Sep 17 00:00:00 2001 From: maks Date: Wed, 24 Jul 2024 19:52:05 +0100 Subject: [PATCH] docs: demo date --- demo/src/Editor.vue | 6 ++++++ package-lock.json | 18 +++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/demo/src/Editor.vue b/demo/src/Editor.vue index 3090e11..b9fddf2 100644 --- a/demo/src/Editor.vue +++ b/demo/src/Editor.vue @@ -5,6 +5,9 @@ import { defineComponent } from 'vue'; export default defineComponent({ props: ['rowIndex', 'model', 'save', 'close'], + mounted() { + this.componentDidRender(); + }, methods: { onBtn(e: MouseEvent) { const event = new CustomEvent('cell', { @@ -17,6 +20,9 @@ export default defineComponent({ (this.close as () => void)(); } }, + componentDidRender() { + console.log('Component has rendered'); + }, }, }); diff --git a/package-lock.json b/package-lock.json index a762426..6ce7a0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@revolist/vue3-datagrid", - "version": "4.0.52", + "version": "4.8.13", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@revolist/vue3-datagrid", - "version": "4.0.52", + "version": "4.8.13", "license": "MIT", "dependencies": { - "@revolist/revogrid": "4.0.50" + "@revolist/revogrid": "4.8.13" }, "devDependencies": { "@stencil/core": "^4.19.2", @@ -615,9 +615,9 @@ } }, "node_modules/@revolist/revogrid": { - "version": "4.0.50", - "resolved": "https://registry.npmjs.org/@revolist/revogrid/-/revogrid-4.0.50.tgz", - "integrity": "sha512-iIgLDQdNJcUac+98U1T8lJv8oq13D+beniX7MqQXNq/iT5Vfwvtl9q80U+k86P6T4n8Ke+Tjdc4+N/2srok4Lg==", + "version": "4.8.13", + "resolved": "https://registry.npmjs.org/@revolist/revogrid/-/revogrid-4.8.13.tgz", + "integrity": "sha512-zwMH6S4JExhcYUW0eVN/eodhMSZ8KfRFs1vfDsW+JRXqjAV4C8GyVN53+5pg8E71ehXi+FrVVp5ymOmxM1Cm+g==", "license": "MIT" }, "node_modules/@rollup/pluginutils": { @@ -2657,9 +2657,9 @@ } }, "@revolist/revogrid": { - "version": "4.0.50", - "resolved": "https://registry.npmjs.org/@revolist/revogrid/-/revogrid-4.0.50.tgz", - "integrity": "sha512-iIgLDQdNJcUac+98U1T8lJv8oq13D+beniX7MqQXNq/iT5Vfwvtl9q80U+k86P6T4n8Ke+Tjdc4+N/2srok4Lg==" + "version": "4.8.13", + "resolved": "https://registry.npmjs.org/@revolist/revogrid/-/revogrid-4.8.13.tgz", + "integrity": "sha512-zwMH6S4JExhcYUW0eVN/eodhMSZ8KfRFs1vfDsW+JRXqjAV4C8GyVN53+5pg8E71ehXi+FrVVp5ymOmxM1Cm+g==" }, "@rollup/pluginutils": { "version": "5.1.0",