From 1186767d88de9a17e0bb7e0d1085873d7cd8c208 Mon Sep 17 00:00:00 2001 From: Olga Bulat Date: Mon, 19 Aug 2024 18:26:49 +0300 Subject: [PATCH] Move the script sections to the top of the components (#4762) Signed-off-by: Olga Bulat --- frontend/src/components/LoadingIcon.vue | 12 +- frontend/src/components/TableSortIcon.vue | 28 +- .../VAudioThumbnail/VAudioThumbnail.vue | 74 ++--- .../components/VAudioTrack/VAudioControl.vue | 66 ++-- .../components/VAudioTrack/VAudioTrack.vue | 100 +++--- .../VAudioTrack/VGlobalAudioTrack.vue | 62 ++-- .../src/components/VAudioTrack/VWaveform.vue | 292 +++++++++--------- .../VAudioTrack/layouts/VBoxLayout.vue | 92 +++--- .../VAudioTrack/layouts/VFullLayout.vue | 70 ++--- .../VAudioTrack/layouts/VGlobalLayout.vue | 50 +-- .../VAudioTrack/layouts/VRowLayout.vue | 126 ++++---- .../components/VBackToSearchResultsLink.vue | 32 +- .../components/VBanner/VAnalyticsNotice.vue | 34 +- frontend/src/components/VBanner/VBanners.vue | 36 +-- .../VBanner/VNotificationBanner.vue | 54 ++-- .../VBanner/VTranslationStatusBanner.vue | 42 +-- frontend/src/components/VBrand/VBrand.vue | 22 +- frontend/src/components/VButton.vue | 60 ++-- .../src/components/VCheckbox/VCheckbox.vue | 120 +++---- .../VCollectionHeader/VCollectionHeader.vue | 128 ++++---- .../components/VContentLink/VContentLink.vue | 46 +-- frontend/src/components/VContentPage.vue | 30 +- .../VContentReport/VContentReportButton.vue | 24 +- .../VContentReport/VContentReportPopover.vue | 60 ++-- .../components/VContentReport/VDmcaNotice.vue | 48 +-- .../VContentReport/VReportDescForm.vue | 40 +-- .../VContentSwitcher/VSearchTypeButton.vue | 44 +-- .../VContentSwitcher/VSearchTypeItem.vue | 34 +- .../VContentSwitcher/VSearchTypePopover.vue | 50 +-- .../VContentSwitcher/VSearchTypes.vue | 74 ++--- frontend/src/components/VCopyButton.vue | 38 +-- .../components/VFilters/VSearchGridFilter.vue | 66 ++-- frontend/src/components/VFooter/VFooter.vue | 68 ++-- frontend/src/components/VFourOhFour.vue | 76 ++--- .../VGlobalAudioSection.vue | 38 +-- .../src/components/VHeader/VFilterButton.vue | 40 +-- .../VHeader/VFilterIconOrCounter.vue | 22 +- .../src/components/VHeader/VHeaderDesktop.vue | 86 +++--- .../VHeaderMobile/VContentSettingsButton.vue | 42 +-- .../VHeader/VHeaderMobile/VFilterTab.vue | 28 +- .../VHeaderMobile/VSearchBarButton.vue | 36 +-- .../VHeaderMobile/VShowResultsButton.vue | 86 +++--- frontend/src/components/VHeader/VHomeLink.vue | 44 +-- .../src/components/VHeader/VLogoButton.vue | 28 +- .../src/components/VHeader/VPageLinks.vue | 104 +++---- .../VHeader/VSearchBar/VSearchBar.vue | 112 +++---- .../VHeader/VSearchBar/VSearchButton.vue | 42 +-- .../VSearchBar/VStandaloneSearchBar.vue | 70 ++--- .../src/components/VHeader/VWordPressLink.vue | 36 +-- frontend/src/components/VHideButton.vue | 52 ++-- .../components/VHomeGallery/VHomeGallery.vue | 92 +++--- .../components/VIconButton/VIconButton.vue | 38 +-- .../components/VInputField/VInputField.vue | 64 ++-- frontend/src/components/VItemGroup/VItem.vue | 126 ++++---- .../src/components/VItemGroup/VItemGroup.vue | 42 +-- frontend/src/components/VLicense/VLicense.vue | 36 +-- .../components/VLicense/VLicenseElements.vue | 44 +-- frontend/src/components/VLoadMore.vue | 32 +- .../components/VLogoLoader/VLogoLoader.vue | 42 +-- .../components/VMediaInfo/VByLine/VByLine.vue | 32 +- .../VMediaInfo/VByLine/VScroller.vue | 24 +- .../VByLine/VSourceCreatorButton.vue | 28 +- .../VMediaInfo/VCollapsibleTagSection.vue | 66 ++-- .../components/VMediaInfo/VCopyLicense.vue | 114 +++---- .../components/VMediaInfo/VGetMediaButton.vue | 34 +- .../VMediaInfo/VLicenseTabPanel.vue | 34 +- .../src/components/VMediaInfo/VMediaInfo.vue | 14 +- .../components/VMediaInfo/VMediaLicense.vue | 96 +++--- .../src/components/VMediaInfo/VMediaReuse.vue | 40 +-- .../src/components/VMediaInfo/VMediaTags.vue | 54 ++-- .../src/components/VMediaInfo/VMetadata.vue | 86 +++--- .../components/VMediaInfo/VMetadataValue.vue | 40 +-- .../components/VMediaInfo/VRelatedMedia.vue | 46 +-- .../VMediaInfo/VSourceProviderTooltip.vue | 30 +- frontend/src/components/VPill.vue | 16 +- .../components/VPopover/VPopoverContent.vue | 36 +-- frontend/src/components/VRadio/VRadio.vue | 44 +-- .../VRecentSearches/VRecentSearches.vue | 130 ++++---- .../VSafeBrowsing/VSafeBrowsing.vue | 94 +++--- .../components/VSafetyWall/VSafetyWall.vue | 110 +++---- frontend/src/components/VScrollButton.vue | 42 +-- frontend/src/components/VScrollableLine.vue | 90 +++--- .../VSearchResultsGrid/VAllResultsGrid.vue | 68 ++-- .../VSearchResultsGrid/VAudioCollection.vue | 46 +-- .../VSearchResultsGrid/VAudioInstructions.vue | 28 +- .../VSearchResultsGrid/VAudioResult.vue | 28 +- .../VSearchResultsGrid/VCollectionResults.vue | 66 ++-- .../VSearchResultsGrid/VImageCollection.vue | 28 +- .../VSearchResultsGrid/VMediaCollection.vue | 54 ++-- .../VSearchResultsGrid/VSearchResults.vue | 108 +++---- .../src/components/VSearchResultsTitle.vue | 28 +- .../src/components/VSingleResultControls.vue | 32 +- .../VSkeleton/VAudioTrackSkeleton.vue | 26 +- frontend/src/components/VSkeleton/VBone.vue | 8 +- .../components/VSkeleton/VGridSkeleton.vue | 58 ++-- frontend/src/components/VSketchFabViewer.vue | 32 +- .../src/components/VSkipToContentButton.vue | 22 +- frontend/src/components/VSnackbar.vue | 36 +-- frontend/src/components/VSourcesTable.vue | 176 +++++------ frontend/src/components/VTabs/VTab.vue | 40 +-- frontend/src/components/VTabs/VTabPanel.vue | 28 +- frontend/src/components/VTabs/VTabs.vue | 28 +- frontend/src/components/VTag/VTag.vue | 22 +- frontend/src/components/VTooltip/VTooltip.vue | 80 ++--- frontend/src/pages/search/model-3d.vue | 8 +- frontend/src/pages/search/video.vue | 8 +- packages/js/eslint-plugin/src/configs/vue.ts | 2 +- 107 files changed, 2970 insertions(+), 2970 deletions(-) diff --git a/frontend/src/components/LoadingIcon.vue b/frontend/src/components/LoadingIcon.vue index 5bb4afdaf4a..1b413aa7561 100644 --- a/frontend/src/components/LoadingIcon.vue +++ b/frontend/src/components/LoadingIcon.vue @@ -1,3 +1,9 @@ + + - -