From cdd973cc179512b02f89c9960985f84f20db52bb Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Tue, 28 Nov 2023 17:51:08 +0300 Subject: [PATCH] Add source and provider definition Signed-off-by: Olga Bulat --- .../components/VIconButton/VIconButton.vue | 2 +- .../src/components/VMediaInfo/VMetadata.vue | 39 +++- .../VMediaInfo/VSourceProviderTooltip.vue | 54 ++++++ frontend/src/components/VPopover/VPopover.vue | 17 -- frontend/src/components/VTooltip/VTooltip.vue | 180 ++++++++++++++++++ frontend/src/composables/use-floating-ui.ts | 11 +- .../src/composables/use-popover-content.ts | 20 +- frontend/src/locales/scripts/en.json5 | 2 + frontend/src/types/media.ts | 1 + frontend/src/utils/metadata.ts | 2 + 10 files changed, 293 insertions(+), 35 deletions(-) create mode 100644 frontend/src/components/VMediaInfo/VSourceProviderTooltip.vue create mode 100644 frontend/src/components/VTooltip/VTooltip.vue diff --git a/frontend/src/components/VIconButton/VIconButton.vue b/frontend/src/components/VIconButton/VIconButton.vue index 35c3621a3fb..2c800a78246 100644 --- a/frontend/src/components/VIconButton/VIconButton.vue +++ b/frontend/src/components/VIconButton/VIconButton.vue @@ -44,7 +44,7 @@ export default defineComponent({ * The size of the button, matches the sizes of VButton component. */ size: { - type: String as PropType>, + type: String as PropType, required: true, }, /** diff --git a/frontend/src/components/VMediaInfo/VMetadata.vue b/frontend/src/components/VMediaInfo/VMetadata.vue index 191642c00cd..c1e4be83a68 100644 --- a/frontend/src/components/VMediaInfo/VMetadata.vue +++ b/frontend/src/components/VMediaInfo/VMetadata.vue @@ -1,7 +1,15 @@