forked from geolba/tethys.frontend
- add vue-facing-decorator (replace vue-class-component and vue-property-decorator)
- npm updates (stabele axios version) + adaption in axios config - remove maps route from src/router/index.ts
This commit is contained in:
parent
82872bf3fb
commit
5603614045
26 changed files with 1288 additions and 1797 deletions
|
@ -1,6 +1,6 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "ContactViewComponent",
|
||||
// components: {
|
||||
// VsInput,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue, Prop } from "vue-facing-decorator";
|
||||
import { DbDataset } from "@/models/dataset";
|
||||
import { Prop } from "vue-property-decorator";
|
||||
// import { Prop } from "vue-property-decorator";
|
||||
import DatasetService from "../../services/dataset.service";
|
||||
import { Subscription } from "rxjs";
|
||||
import dayjs from "dayjs";
|
||||
|
@ -10,7 +10,7 @@ import VsInput from "@/components/vs-input/vs-input.vue";
|
|||
import { Suggestion } from "@/models/dataset";
|
||||
import { VUE_APP_PORTAL } from "@/constants";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "DatasetDetailComponent",
|
||||
components: {
|
||||
VsInput,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
// import { Prop } from "vue-property-decorator";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "HelpViewComponent",
|
||||
})
|
||||
export default class HelpViewComponent extends Vue {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
import VsInput from "@/components/vs-input/vs-input.vue";
|
||||
import { Suggestion } from "@/models/dataset";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "HomeViewComponent",
|
||||
components: {
|
||||
VsInput,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
// import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "ImprintViewComponent",
|
||||
// components: {
|
||||
// VsInput,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
import MapComponent from "@/components/map/map.component.vue";
|
||||
// import { Marker, MapOptions, Control, icon, LatLngBoundsExpression } from "leaflet";
|
||||
import { MapOptions } from "leaflet";
|
||||
|
@ -7,7 +7,7 @@ import { MapOptions } from "leaflet";
|
|||
// const DEFAULT_BASE_LAYER_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
|
||||
// const DEFAULT_BASE_LAYER_ATTRIBUTION = '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors';
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "MapViewComponent",
|
||||
components: {
|
||||
MapComponent,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "OaiViewComponent",
|
||||
})
|
||||
export default class OaiViewComponent extends Vue {}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Prop } from "vue-property-decorator";
|
||||
import { Component, Vue, Prop } from "vue-facing-decorator";
|
||||
// import { Prop } from "vue-property-decorator";
|
||||
import VsInput from "@/components/vs-input/vs-input.vue";
|
||||
import VsResult from "@/components/vs-result/vs-result.vue";
|
||||
import FacetCategory from "@/components/face-category/facet-category.vue";
|
||||
|
@ -13,7 +13,7 @@ import { ActiveFilterCategories } from "@/models/solr";
|
|||
import { SOLR_HOST, SOLR_CORE } from "@/constants";
|
||||
import { Pagination } from "@/models/pagination";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "SearchViewComponent",
|
||||
components: {
|
||||
VsInput,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "ServiceViewComponent",
|
||||
})
|
||||
export default class ServiceViewComponent extends Vue {}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import { Subscription } from "rxjs";
|
||||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
import DatasetService from "../../services/dataset.service";
|
||||
import { DbDataset } from "@/models/dataset";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "SitelinkViewComponent",
|
||||
})
|
||||
export default class SitelinkViewComponent extends Vue {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Options, Vue } from "vue-class-component";
|
||||
import { Component, Vue } from "vue-facing-decorator";
|
||||
|
||||
@Options({
|
||||
@Component({
|
||||
name: "TermsViewComponent",
|
||||
// components: {
|
||||
// VsInput,
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue