-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate: bouquets to main components, views, utils and services (#502)
* migrate: bouquets to main components, views, utils and services * delete unused BouquetDatasetListExport --------- Co-authored-by: Alexandre Bulté <[email protected]>
- Loading branch information
1 parent
5f59221
commit 2c9a4c3
Showing
26 changed files
with
67 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...mponents/BouquetDatasetAccordionTitle.vue → ...bouquets/BouquetDatasetAccordionTitle.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...s/components/BouquetDatasetListExport.vue → ...nts/bouquets/BouquetDatasetListExport.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../components/forms/bouquet/BouquetForm.vue → src/components/forms/bouquet/BouquetForm.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,7 @@ | ||
import type { RouteLocationNormalizedLoaded } from 'vue-router' | ||
|
||
export const routes = [ | ||
{ | ||
path: '/', | ||
name: 'home', | ||
component: async () => await import('./views/HomeView.vue') | ||
}, | ||
{ | ||
path: '/bouquets', | ||
children: [ | ||
{ | ||
path: '', | ||
name: 'bouquets', | ||
component: async () => | ||
await import( | ||
'@/custom/ecospheres/views/bouquets/BouquetsListView.vue' | ||
), | ||
props: (route: RouteLocationNormalizedLoaded) => ({ | ||
query: route.query.q, | ||
subtheme: route.query.subtheme, | ||
theme: route.query.theme, | ||
geozone: route.query.geozone, | ||
drafts: route.query.drafts | ||
}) | ||
}, | ||
{ | ||
path: ':bid', | ||
name: 'bouquet_detail', | ||
props: (route: RouteLocationNormalizedLoaded) => ({ | ||
bouquetId: route.params.bid | ||
}), | ||
component: async () => | ||
await import( | ||
'@/custom/ecospheres/views/bouquets/BouquetDetailView.vue' | ||
) | ||
} | ||
] | ||
}, | ||
{ | ||
path: `/admin/bouquets/add`, | ||
name: 'bouquet_add', | ||
component: async () => | ||
await import('@/custom/ecospheres/views/bouquets/BouquetFormView.vue'), | ||
meta: { requiresAuth: true }, | ||
props: { isCreate: true } | ||
}, | ||
{ | ||
path: `/admin/bouquets/edit/:bid`, | ||
name: 'bouquet_edit', | ||
component: async () => | ||
await import('@/custom/ecospheres/views/bouquets/BouquetFormView.vue'), | ||
meta: { requiresAuth: true }, | ||
props: { isCreate: false } | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.