From fb7670f86f66685baa0b192a230fd1dc7e197198 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 18 Dec 2023 11:22:31 -0300 Subject: [PATCH] Uses autofix to accept new vue/attributes-order eslint rule. --- .eslintrc.js | 1 - src/views/admin/admin.vue | 6 +- .../edition/collection-edition-form.vue | 156 +++---- .../edition/exporter-edition-form.vue | 38 +- .../edition/filter-edition-form.vue | 54 +-- .../edition/importer-edition-form.vue | 30 +- .../edition/importer-mapping-form.vue | 72 +-- .../edition/item-attachments-edition-form.vue | 4 +- .../edition/item-bulk-edition-form.vue | 28 +- .../edition/item-document-edition-form.vue | 4 +- .../components/edition/item-edition-form.vue | 82 ++-- .../edition/item-form-footer-buttons.vue | 66 +-- .../edition/item-thumbnail-edition-form.vue | 6 +- .../edition/metadata-section-edition-form.vue | 36 +- .../edition/metadatum-edition-form.vue | 68 +-- .../edition/taxonomy-edition-form.vue | 34 +- .../components/edition/term-edition-form.vue | 32 +- .../autocomplete/Autocomplete.vue | 10 +- .../filter-types/checkbox/Checkbox.vue | 20 +- .../date-interval/DateInterval.vue | 16 +- .../components/filter-types/date/Date.vue | 10 +- .../numeric-interval/FormNumericInterval.vue | 12 +- .../numeric-interval/NumericInterval.vue | 8 +- .../FormNumericListInterval.vue | 24 +- .../NumericListInterval.vue | 8 +- .../filter-types/numeric/FormNumeric.vue | 12 +- .../filter-types/numeric/Numeric.vue | 8 +- .../filter-types/selectbox/Selectbox.vue | 4 +- .../filter-types/taginput/Taginput.vue | 8 +- .../filter-types/tainacan-filter-item.vue | 32 +- .../filter-types/taxonomy/Checkbox.vue | 20 +- .../filter-types/taxonomy/Taginput.vue | 4 +- .../components/lists/activities-list.vue | 16 +- .../components/lists/attachments-list.vue | 18 +- .../lists/collection-metadata-list.vue | 76 ++-- .../lists/collections-home-list.vue | 4 +- .../components/lists/collections-list.vue | 124 +++--- .../admin/components/lists/items-list.vue | 414 +++++++++--------- .../lists/metadata-mapping-list.vue | 34 +- .../components/lists/metadata-types-list.vue | 12 +- .../admin/components/lists/processes-list.vue | 26 +- .../components/lists/related-items-list.vue | 22 +- .../lists/repository-metadata-list.vue | 36 +- .../components/lists/taxonomies-list.vue | 58 +-- .../lists/terms-list-hierarchical.vue | 64 +-- .../admin/components/lists/terms-list.vue | 24 +- .../metadata-types/compound/Compound.vue | 14 +- .../compound/child-metadata-list.vue | 44 +- .../components/metadata-types/date/Date.vue | 6 +- .../geocoordinate/FormGeoCoordinate.vue | 24 +- .../geocoordinate/GeoCoordinate.vue | 12 +- .../metadata-types/numeric/FormNumeric.vue | 12 +- .../metadata-types/numeric/Numeric.vue | 12 +- .../relationship/FormRelationship.vue | 48 +- .../relationship/Relationship.vue | 28 +- .../selectbox/FormSelectbox.vue | 12 +- .../metadata-types/selectbox/Selectbox.vue | 2 +- .../metadata-types/tainacan-form-item.vue | 44 +- .../metadata-types/taxonomy/FormTaxonomy.vue | 70 +-- .../metadata-types/taxonomy/Taxonomy.vue | 16 +- .../taxonomy/TaxonomyTaginput.vue | 18 +- .../metadata-types/text/FormText.vue | 4 +- .../components/metadata-types/text/Text.vue | 12 +- .../metadata-types/textarea/Textarea.vue | 10 +- .../metadata-types/user/FormUser.vue | 4 +- .../components/metadata-types/user/User.vue | 12 +- .../modals/activity-details-modal.vue | 138 +++--- .../modals/available-exporters-modal.vue | 6 +- .../modals/available-importers-modal.vue | 10 +- .../components/modals/bulk-edition-modal.vue | 34 +- .../modals/capability-edition-modal.vue | 8 +- .../modals/collection-creation-modal.vue | 46 +- .../components/modals/collections-modal.vue | 10 +- .../components/modals/exposers-modal.vue | 50 +-- .../modals/item-document-text-modal.vue | 10 +- .../modals/item-document-url-modal.vue | 28 +- .../components/navigation/primary-menu.vue | 4 +- .../tainacan-collection-subheader.vue | 18 +- .../components/navigation/tainacan-header.vue | 12 +- .../tainacan-repository-subheader.vue | 36 +- .../components/navigation/tainacan-title.vue | 4 +- .../other/checkbox-radio-filter-input.vue | 86 ++-- .../other/checkbox-radio-metadata-input.vue | 74 ++-- .../admin/components/other/custom-dialog.vue | 8 +- .../admin/components/other/file-item.vue | 4 +- .../admin/components/other/file-preview.vue | 4 +- .../components/other/item-copy-dialog.vue | 18 +- .../other/item-creation-status-dialog.vue | 6 +- .../other/item-metadatum-errors-tooltip.vue | 4 +- .../components/other/items-status-tabs.vue | 14 +- .../components/other/processes-popup.vue | 20 +- .../components/other/term-deletion-dialog.vue | 12 +- .../other/term-multiple-insertion-dialog.vue | 20 +- .../other/term-parent-selection-dialog.vue | 18 +- .../components/search/advanced-search.vue | 52 +-- .../components/search/filters-items-list.vue | 64 +-- .../components/search/filters-tags-list.vue | 16 +- .../admin/components/search/pagination.vue | 30 +- src/views/admin/pages/home-page.vue | 8 +- .../admin/pages/lists/activities-page.vue | 72 +-- .../pages/lists/available-exporters-page.vue | 2 +- .../pages/lists/available-importers-page.vue | 2 +- .../admin/pages/lists/capabilities-page.vue | 8 +- .../admin/pages/lists/collections-page.vue | 62 +-- src/views/admin/pages/lists/filters-page.vue | 84 ++-- src/views/admin/pages/lists/items-page.vue | 124 +++--- .../admin/pages/lists/taxonomies-page.vue | 60 +-- src/views/admin/pages/singles/item-page.vue | 16 +- .../carousel-collections-list/theme.vue | 20 +- .../blocks/carousel-items-list/theme.vue | 22 +- .../blocks/carousel-terms-list/theme.vue | 22 +- .../blocks/dynamic-items-list/theme.vue | 46 +- .../components/view-mode-cards.vue | 14 +- .../components/view-mode-list.vue | 28 +- .../theme-search/components/view-mode-map.vue | 70 +-- .../components/view-mode-masonry.vue | 10 +- .../components/view-mode-records.vue | 30 +- .../components/view-mode-slideshow.vue | 38 +- .../components/view-mode-table.vue | 40 +- .../blocks/faceted-search/theme.vue | 114 ++--- .../blocks/facets-list/facet-unit.vue | 6 +- .../blocks/facets-list/theme.vue | 16 +- .../components/term-creation-panel.vue | 22 +- .../blocks/item-submission-form/theme.vue | 154 +++---- .../reports/components/activities-block.vue | 14 +- .../components/items-per-term-block.vue | 32 +- .../items-per-term-collection-block.vue | 70 +-- .../components/metadata-types-block.vue | 8 +- src/views/reports/components/number-block.vue | 12 +- .../components/tainacan-reports-subheader.vue | 8 +- src/views/reports/pages/reports-list.vue | 22 +- src/views/roles/pages/role-edition-form.vue | 66 +-- src/views/roles/pages/roles-list.vue | 28 +- 133 files changed, 2229 insertions(+), 2230 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1737a72be..1b598b3e9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -15,7 +15,6 @@ module.exports = { 'no-undef': 'warn', 'vue/no-v-html': 'off', 'vue/html-indent': 'off', - 'vue/attributes-order': 'off', 'vue/html-closing-bracket-spacing': 'off', 'vue/html-closing-bracket-newline': 'off', 'vue/require-prop-type-constructor': 'off', diff --git a/src/views/admin/admin.vue b/src/views/admin/admin.vue index d0f5a7088..63b852251 100644 --- a/src/views/admin/admin.vue +++ b/src/views/admin/admin.vue @@ -16,11 +16,11 @@ :is-menu-compressed="isMenuCompressed"/>