From adfd36b8b9efe3d977533b194d4f28d6d904176f Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Wed, 11 Dec 2024 18:43:55 -0300 Subject: [PATCH] Iframe: add widget api --- package.json | 3 +- src/components/widgets/IFrame.vue | 22 +++++++++++-- src/libs/actions/data-lake.ts | 2 +- src/libs/vehicle/ardupilot/ardupilot.ts | 3 ++ vite.config.ts | 42 +++++++++++++++++++++++-- 5 files changed, 66 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 47e311fa0..64a32a2fd 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,8 @@ "serve": "vite preview", "test:ci": "vitest --coverage --run", "test:unit": "vitest", - "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false" + "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", + "build:lib": "BUILD_MODE=library vite build" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.4.0", diff --git a/src/components/widgets/IFrame.vue b/src/components/widgets/IFrame.vue index 7d1328a89..6cf50803c 100644 --- a/src/components/widgets/IFrame.vue +++ b/src/components/widgets/IFrame.vue @@ -3,6 +3,7 @@