fix: broken component import in prod
This commit is contained in:
@@ -19,9 +19,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import GithubButton from "vue-github-button"
|
import GithubButton from "vue-github-button"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
GithubButton,
|
GithubButton,
|
||||||
},
|
},
|
||||||
@@ -31,5 +32,5 @@ export default {
|
|||||||
default: undefined,
|
default: undefined,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -75,10 +75,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { invokeAction } from "~/helpers/actions"
|
import { invokeAction } from "~/helpers/actions"
|
||||||
import { spotlight } from "~/helpers/shortcuts"
|
import { spotlight } from "~/helpers/shortcuts"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -107,7 +108,7 @@ export default {
|
|||||||
invokeAction(command, "path_from_invokeAction")
|
invokeAction(command, "path_from_invokeAction")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
label: {
|
label: {
|
||||||
type: String,
|
type: String,
|
||||||
|
|||||||
@@ -35,8 +35,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
||||||
export default {
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -95,7 +97,7 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -81,9 +81,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import shortcuts from "~/helpers/shortcuts"
|
import shortcuts from "~/helpers/shortcuts"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -103,7 +104,7 @@ export default {
|
|||||||
this.$emit("close")
|
this.$emit("close")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -35,7 +35,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: {
|
show: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@@ -64,5 +66,5 @@ export default {
|
|||||||
this.$emit("close")
|
this.$emit("close")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -74,10 +74,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { invokeAction } from "~/helpers/actions"
|
import { invokeAction } from "~/helpers/actions"
|
||||||
import { showChat } from "~/helpers/support"
|
import { showChat } from "~/helpers/support"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -92,5 +93,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -57,5 +59,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
folder: { type: Object, default: () => {} },
|
folder: { type: Object, default: () => {} },
|
||||||
@@ -65,5 +67,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -32,7 +32,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
placeholderCollName: { type: String, default: null },
|
placeholderCollName: { type: String, default: null },
|
||||||
@@ -58,5 +60,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -58,5 +60,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,7 +29,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
placeholderReqName: { type: String, default: null },
|
placeholderReqName: { type: String, default: null },
|
||||||
@@ -57,5 +59,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { addGraphqlCollection } from "~/newstore/collections"
|
import { addGraphqlCollection } from "~/newstore/collections"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -33,9 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
folderPath: { type: String, default: null },
|
folderPath: { type: String, default: null },
|
||||||
|
|||||||
@@ -153,13 +153,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import {
|
import {
|
||||||
removeGraphqlCollection,
|
removeGraphqlCollection,
|
||||||
moveGraphqlRequest,
|
moveGraphqlRequest,
|
||||||
} from "~/newstore/collections"
|
} from "~/newstore/collections"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
picked: { type: Object, default: null },
|
picked: { type: Object, default: null },
|
||||||
// Whether the viewing context is related to picking (activates 'select' events)
|
// Whether the viewing context is related to picking (activates 'select' events)
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { editGraphqlCollection } from "~/newstore/collections"
|
import { editGraphqlCollection } from "~/newstore/collections"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
editingCollection: { type: Object, default: () => {} },
|
editingCollection: { type: Object, default: () => {} },
|
||||||
@@ -55,7 +55,7 @@ export default Vue.extend({
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
const collectionUpdated = {
|
const collectionUpdated = {
|
||||||
...this.$props.editingCollection,
|
...(this.editingCollection as any),
|
||||||
name: this.name,
|
name: this.name,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { editGraphqlFolder } from "~/newstore/collections"
|
import { editGraphqlFolder } from "~/newstore/collections"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
folder: { type: Object, default: () => {} },
|
folder: { type: Object, default: () => {} },
|
||||||
@@ -44,7 +44,7 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
name: null,
|
name: "",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -55,11 +55,14 @@ export default Vue.extend({
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
editGraphqlFolder(this.folderPath, { ...this.folder, name: this.name })
|
editGraphqlFolder(this.folderPath, {
|
||||||
|
...(this.folder as any),
|
||||||
|
name: this.name,
|
||||||
|
})
|
||||||
this.hideModal()
|
this.hideModal()
|
||||||
},
|
},
|
||||||
hideModal() {
|
hideModal() {
|
||||||
this.name = null
|
this.name = ""
|
||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,10 +29,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { editGraphqlRequest } from "~/newstore/collections"
|
import { editGraphqlRequest } from "~/newstore/collections"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
folderPath: { type: String, default: null },
|
folderPath: { type: String, default: null },
|
||||||
|
|||||||
@@ -152,10 +152,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { removeGraphqlFolder, moveGraphqlRequest } from "~/newstore/collections"
|
import { removeGraphqlFolder, moveGraphqlRequest } from "~/newstore/collections"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
name: "Folder",
|
name: "Folder",
|
||||||
props: {
|
props: {
|
||||||
picked: { type: Object, default: null },
|
picked: { type: Object, default: null },
|
||||||
|
|||||||
@@ -97,11 +97,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { removeGraphqlRequest } from "~/newstore/collections"
|
import { removeGraphqlRequest } from "~/newstore/collections"
|
||||||
import { setGQLSession } from "~/newstore/GQLSession"
|
import { setGQLSession } from "~/newstore/GQLSession"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
// Whether the object is selected (show the tick mark)
|
// Whether the object is selected (show the tick mark)
|
||||||
picked: { type: Object, default: null },
|
picked: { type: Object, default: null },
|
||||||
|
|||||||
@@ -181,6 +181,8 @@
|
|||||||
import gql from "graphql-tag"
|
import gql from "graphql-tag"
|
||||||
import cloneDeep from "lodash/cloneDeep"
|
import cloneDeep from "lodash/cloneDeep"
|
||||||
import { defineComponent } from "@nuxtjs/composition-api"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
import CollectionsMyCollection from "./my/Collection.vue"
|
||||||
|
import CollectionsTeamsCollection from "./teams/Collection.vue"
|
||||||
import { currentUser$ } from "~/helpers/fb/auth"
|
import { currentUser$ } from "~/helpers/fb/auth"
|
||||||
import TeamCollectionAdapter from "~/helpers/teams/TeamCollectionAdapter"
|
import TeamCollectionAdapter from "~/helpers/teams/TeamCollectionAdapter"
|
||||||
import * as teamUtils from "~/helpers/teams/utils"
|
import * as teamUtils from "~/helpers/teams/utils"
|
||||||
@@ -200,6 +202,10 @@ import {
|
|||||||
} from "~/helpers/utils/composables"
|
} from "~/helpers/utils/composables"
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
components: {
|
||||||
|
CollectionsMyCollection,
|
||||||
|
CollectionsTeamsCollection,
|
||||||
|
},
|
||||||
props: {
|
props: {
|
||||||
doc: Boolean,
|
doc: Boolean,
|
||||||
selected: { type: Array, default: () => [] },
|
selected: { type: Array, default: () => [] },
|
||||||
|
|||||||
@@ -178,9 +178,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { moveRESTRequest } from "~/newstore/collections"
|
import { moveRESTRequest } from "~/newstore/collections"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
collectionIndex: { type: Number, default: null },
|
collectionIndex: { type: Number, default: null },
|
||||||
collection: { type: Object, default: () => {} },
|
collection: { type: Object, default: () => {} },
|
||||||
@@ -247,5 +248,5 @@ export default {
|
|||||||
moveRESTRequest(folderPath, requestIndex, this.collectionIndex.toString())
|
moveRESTRequest(folderPath, requestIndex, this.collectionIndex.toString())
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -161,13 +161,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import {
|
import {
|
||||||
removeRESTFolder,
|
removeRESTFolder,
|
||||||
removeRESTRequest,
|
removeRESTRequest,
|
||||||
moveRESTRequest,
|
moveRESTRequest,
|
||||||
} from "~/newstore/collections"
|
} from "~/newstore/collections"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
name: "Folder",
|
name: "Folder",
|
||||||
props: {
|
props: {
|
||||||
folder: { type: Object, default: () => {} },
|
folder: { type: Object, default: () => {} },
|
||||||
@@ -252,5 +253,5 @@ export default {
|
|||||||
removeRESTRequest(this.folderPath, requestIndex)
|
removeRESTRequest(this.folderPath, requestIndex)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -107,7 +107,7 @@
|
|||||||
<div v-if="showChildren || isFiltered">
|
<div v-if="showChildren || isFiltered">
|
||||||
<CollectionsTeamsFolder
|
<CollectionsTeamsFolder
|
||||||
v-for="(folder, index) in collection.children"
|
v-for="(folder, index) in collection.children"
|
||||||
:key="`folder-${folder}`"
|
:key="`folder-${index}`"
|
||||||
class="border-l border-dividerLight ml-6"
|
class="border-l border-dividerLight ml-6"
|
||||||
:folder="folder"
|
:folder="folder"
|
||||||
:folder-index="index"
|
:folder-index="index"
|
||||||
@@ -174,7 +174,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
collectionIndex: { type: Number, default: null },
|
collectionIndex: { type: Number, default: null },
|
||||||
collection: { type: Object, default: () => {} },
|
collection: { type: Object, default: () => {} },
|
||||||
@@ -251,5 +253,5 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -156,9 +156,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import * as teamUtils from "~/helpers/teams/utils"
|
import * as teamUtils from "~/helpers/teams/utils"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
name: "Folder",
|
name: "Folder",
|
||||||
props: {
|
props: {
|
||||||
folder: { type: Object, default: () => {} },
|
folder: { type: Object, default: () => {} },
|
||||||
@@ -246,5 +247,5 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -21,11 +21,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
collection: { type: Object, default: () => {} },
|
collection: { type: Object, default: () => {} },
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -17,11 +17,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
folder: { type: Object, default: () => {} },
|
folder: { type: Object, default: () => {} },
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -111,11 +111,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
request: { type: Object, default: () => {} },
|
request: { type: Object, default: () => {} },
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -32,10 +32,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { createEnvironment } from "~/newstore/environments"
|
import { createEnvironment } from "~/newstore/environments"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -61,11 +61,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PropType } from "@nuxtjs/composition-api"
|
import { defineComponent, PropType } from "@nuxtjs/composition-api"
|
||||||
import Vue from "vue"
|
|
||||||
import { deleteEnvironment } from "~/newstore/environments"
|
import { deleteEnvironment } from "~/newstore/environments"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
environment: { type: Object, default: () => {} },
|
environment: { type: Object, default: () => {} },
|
||||||
environmentIndex: {
|
environmentIndex: {
|
||||||
|
|||||||
@@ -119,6 +119,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { applySetting } from "~/newstore/settings"
|
import { applySetting } from "~/newstore/settings"
|
||||||
import {
|
import {
|
||||||
signInUserWithGoogle,
|
signInUserWithGoogle,
|
||||||
@@ -132,7 +133,7 @@ import {
|
|||||||
import { setLocalConfig } from "~/newstore/localpersistence"
|
import { setLocalConfig } from "~/newstore/localpersistence"
|
||||||
import { useStreamSubscriber } from "~/helpers/utils/composables"
|
import { useStreamSubscriber } from "~/helpers/utils/composables"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -358,5 +359,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -18,10 +18,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { signOutUser } from "~/helpers/fb/auth"
|
import { signOutUser } from "~/helpers/fb/auth"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmLogout: false,
|
confirmLogout: false,
|
||||||
|
|||||||
@@ -64,7 +64,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
gqlField: { type: Object, default: () => {} },
|
gqlField: { type: Object, default: () => {} },
|
||||||
jumpTypeCallback: { type: Function, default: () => {} },
|
jumpTypeCallback: { type: Function, default: () => {} },
|
||||||
@@ -79,7 +81,7 @@ export default {
|
|||||||
return this.gqlField.args || []
|
return this.gqlField.args || []
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -11,10 +11,11 @@ import "ace-builds/src-noconflict/ext-language_tools"
|
|||||||
import "ace-builds/src-noconflict/mode-graphqlschema"
|
import "ace-builds/src-noconflict/mode-graphqlschema"
|
||||||
import * as gql from "graphql"
|
import * as gql from "graphql"
|
||||||
import { getAutocompleteSuggestions } from "graphql-language-service-interface"
|
import { getAutocompleteSuggestions } from "graphql-language-service-interface"
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { defineGQLLanguageMode } from "~/helpers/syntax/gqlQueryLangMode"
|
import { defineGQLLanguageMode } from "~/helpers/syntax/gqlQueryLangMode"
|
||||||
import debounce from "~/helpers/utils/debounce"
|
import debounce from "~/helpers/utils/debounce"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -237,7 +238,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}, 2000),
|
}, 2000),
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -56,13 +56,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import {
|
import {
|
||||||
GraphQLEnumType,
|
GraphQLEnumType,
|
||||||
GraphQLInputObjectType,
|
GraphQLInputObjectType,
|
||||||
GraphQLInterfaceType,
|
GraphQLInterfaceType,
|
||||||
} from "graphql"
|
} from "graphql"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
// eslint-disable-next-line vue/require-default-prop, vue/require-prop-types
|
// eslint-disable-next-line vue/require-default-prop, vue/require-prop-types
|
||||||
gqlType: {},
|
gqlType: {},
|
||||||
@@ -96,7 +97,7 @@ export default {
|
|||||||
return !!this.highlightedFields.find(({ name }) => name === field.name)
|
return !!this.highlightedFields.find(({ name }) => name === field.name)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -8,9 +8,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { GraphQLScalarType } from "graphql"
|
import { GraphQLScalarType } from "graphql"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
// eslint-disable-next-line vue/require-default-prop
|
// eslint-disable-next-line vue/require-default-prop
|
||||||
gqlType: null,
|
gqlType: null,
|
||||||
@@ -39,5 +40,5 @@ export default {
|
|||||||
return t
|
return t
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -103,10 +103,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import findStatusGroup from "~/helpers/findStatusGroup"
|
import findStatusGroup from "~/helpers/findStatusGroup"
|
||||||
import { getPlatformSpecialKey } from "~/helpers/platformutils"
|
import { getPlatformSpecialKey } from "~/helpers/platformutils"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
response: {
|
response: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -121,7 +122,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getSpecialKey: getPlatformSpecialKey,
|
getSpecialKey: getPlatformSpecialKey,
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -37,7 +37,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
ctas: [
|
ctas: [
|
||||||
@@ -74,5 +76,5 @@ export default {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -30,7 +30,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
features: [
|
features: [
|
||||||
@@ -79,5 +81,5 @@ export default {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -62,7 +62,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
navigation: {
|
navigation: {
|
||||||
@@ -151,7 +153,7 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -59,11 +59,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
showLogin: false,
|
showLogin: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -13,7 +13,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
stats: [
|
stats: [
|
||||||
@@ -23,5 +25,5 @@ export default {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -21,7 +21,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
users: [
|
users: [
|
||||||
@@ -40,5 +42,5 @@ export default {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -70,9 +70,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
headers: { type: Array, default: () => [] },
|
headers: { type: Array, default: () => [] },
|
||||||
},
|
},
|
||||||
@@ -91,5 +92,5 @@ export default {
|
|||||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -24,9 +24,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { getSuitableLenses, getLensRenderers } from "~/helpers/lenses/lenses"
|
import { getSuitableLenses, getLensRenderers } from "~/helpers/lenses/lenses"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
// Lens Renderers
|
// Lens Renderers
|
||||||
...getLensRenderers(),
|
...getLensRenderers(),
|
||||||
@@ -46,5 +47,5 @@ export default {
|
|||||||
return getSuitableLenses(this.response)
|
return getSuitableLenses(this.response)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -69,10 +69,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
||||||
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
mixins: [TextContentRendererMixin],
|
mixins: [TextContentRendererMixin],
|
||||||
props: {
|
props: {
|
||||||
response: { type: Object, default: () => {} },
|
response: { type: Object, default: () => {} },
|
||||||
@@ -136,7 +137,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -37,7 +37,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
response: { type: Object, default: () => {} },
|
response: { type: Object, default: () => {} },
|
||||||
},
|
},
|
||||||
@@ -111,5 +113,5 @@ export default {
|
|||||||
}, 1000)
|
}, 1000)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -55,10 +55,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
||||||
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
mixins: [TextContentRendererMixin],
|
mixins: [TextContentRendererMixin],
|
||||||
props: {
|
props: {
|
||||||
response: { type: Object, default: () => {} },
|
response: { type: Object, default: () => {} },
|
||||||
@@ -118,5 +119,5 @@ export default {
|
|||||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -54,10 +54,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
||||||
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
mixins: [TextContentRendererMixin],
|
mixins: [TextContentRendererMixin],
|
||||||
props: {
|
props: {
|
||||||
response: { type: Object, default: () => {} },
|
response: { type: Object, default: () => {} },
|
||||||
@@ -110,5 +111,5 @@ export default {
|
|||||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -54,10 +54,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
import TextContentRendererMixin from "./mixins/TextContentRendererMixin"
|
||||||
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
import { copyToClipboard } from "~/helpers/utils/clipboard"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
mixins: [TextContentRendererMixin],
|
mixins: [TextContentRendererMixin],
|
||||||
props: {
|
props: {
|
||||||
response: { type: Object, default: () => {} },
|
response: { type: Object, default: () => {} },
|
||||||
@@ -109,5 +110,5 @@ export default {
|
|||||||
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
setTimeout(() => (this.copyIcon = "content_copy"), 1000)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
url: {
|
url: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -54,5 +56,5 @@ export default {
|
|||||||
default: "bg-green-500",
|
default: "bg-green-500",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -33,9 +33,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { getSourcePrefix } from "~/helpers/utils/string"
|
import { getSourcePrefix } from "~/helpers/utils/string"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
log: { type: Array, default: () => [] },
|
log: { type: Array, default: () => [] },
|
||||||
title: {
|
title: {
|
||||||
@@ -53,7 +54,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getSourcePrefix,
|
getSourcePrefix,
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -85,12 +85,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { Splitpanes, Pane } from "splitpanes"
|
import { Splitpanes, Pane } from "splitpanes"
|
||||||
import "splitpanes/dist/splitpanes.css"
|
import "splitpanes/dist/splitpanes.css"
|
||||||
import { logHoppRequestRunToAnalytics } from "~/helpers/fb/analytics"
|
import { logHoppRequestRunToAnalytics } from "~/helpers/fb/analytics"
|
||||||
import debounce from "~/helpers/utils/debounce"
|
import debounce from "~/helpers/utils/debounce"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
components: { Splitpanes, Pane },
|
components: { Splitpanes, Pane },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -232,5 +233,5 @@ export default {
|
|||||||
this.sse.onclose()
|
this.sse.onclose()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -57,11 +57,12 @@
|
|||||||
<script>
|
<script>
|
||||||
import ace from "ace-builds"
|
import ace from "ace-builds"
|
||||||
import "ace-builds/webpack-resolver"
|
import "ace-builds/webpack-resolver"
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import jsonParse from "~/helpers/jsonParse"
|
import jsonParse from "~/helpers/jsonParse"
|
||||||
import debounce from "~/helpers/utils/debounce"
|
import debounce from "~/helpers/utils/debounce"
|
||||||
import outline from "~/helpers/outline"
|
import outline from "~/helpers/outline"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
provideOutline: {
|
provideOutline: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@@ -265,7 +266,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -31,7 +31,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
to: {
|
to: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -70,5 +72,5 @@ export default {
|
|||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
spellcheck: {
|
spellcheck: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
@@ -181,7 +183,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -17,7 +17,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
title: { type: String, default: null },
|
title: { type: String, default: null },
|
||||||
@@ -43,5 +45,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -3,7 +3,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
name: {
|
name: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -15,5 +17,5 @@ export default {
|
|||||||
return require(`~/assets/icons/${this.name}.svg?inline`)
|
return require(`~/assets/icons/${this.name}.svg?inline`)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -12,9 +12,9 @@
|
|||||||
------
|
------
|
||||||
intersecting (entry: IntersectionObserverEntry) -> When the component is intersecting the viewport
|
intersecting (entry: IntersectionObserverEntry) -> When the component is intersecting the viewport
|
||||||
*/
|
*/
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
observer: null as IntersectionObserver | null,
|
observer: null as IntersectionObserver | null,
|
||||||
|
|||||||
@@ -76,7 +76,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
to: {
|
to: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -135,5 +137,5 @@ export default {
|
|||||||
default: "",
|
default: "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import "ace-builds/webpack-resolver"
|
|||||||
import "ace-builds/src-noconflict/ext-language_tools"
|
import "ace-builds/src-noconflict/ext-language_tools"
|
||||||
import "ace-builds/src-noconflict/mode-graphqlschema"
|
import "ace-builds/src-noconflict/mode-graphqlschema"
|
||||||
import * as esprima from "esprima"
|
import * as esprima from "esprima"
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import debounce from "~/helpers/utils/debounce"
|
import debounce from "~/helpers/utils/debounce"
|
||||||
import {
|
import {
|
||||||
getPreRequestScriptCompletions,
|
getPreRequestScriptCompletions,
|
||||||
@@ -18,7 +19,7 @@ import {
|
|||||||
performTestLinting,
|
performTestLinting,
|
||||||
} from "~/helpers/tern"
|
} from "~/helpers/tern"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
value: {
|
value: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -275,7 +276,7 @@ export default {
|
|||||||
})
|
})
|
||||||
}, 2000),
|
}, 2000),
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -22,7 +22,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
radius: {
|
radius: {
|
||||||
type: Number,
|
type: Number,
|
||||||
@@ -51,5 +53,5 @@ export default {
|
|||||||
return this.circumference - (this.progress / 100) * this.circumference
|
return this.circumference - (this.progress / 100) * this.circumference
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -5,7 +5,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
label: { type: String, default: null },
|
label: { type: String, default: null },
|
||||||
info: { type: String, default: null },
|
info: { type: String, default: null },
|
||||||
@@ -26,5 +28,5 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.active = this.selected
|
this.active = this.selected
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
styles: {
|
styles: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -59,7 +61,7 @@ export default {
|
|||||||
this.$emit("tab-changed", id)
|
this.$emit("tab-changed", id)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -13,14 +13,16 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
on: {
|
on: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -39,7 +39,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
to: {
|
to: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -78,5 +80,5 @@ export default {
|
|||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -48,7 +48,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
to: {
|
to: {
|
||||||
type: String,
|
type: String,
|
||||||
@@ -87,5 +89,5 @@ export default {
|
|||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -29,9 +29,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import * as teamUtils from "~/helpers/teams/utils"
|
import * as teamUtils from "~/helpers/teams/utils"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
},
|
},
|
||||||
@@ -76,5 +77,5 @@ export default {
|
|||||||
this.$emit("hide-modal")
|
this.$emit("hide-modal")
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -64,9 +64,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import * as teamUtils from "~/helpers/teams/utils"
|
import * as teamUtils from "~/helpers/teams/utils"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
team: { type: Object, default: () => {} },
|
team: { type: Object, default: () => {} },
|
||||||
teamID: { type: String, default: null },
|
teamID: { type: String, default: null },
|
||||||
@@ -106,5 +107,5 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -5,9 +5,11 @@ import { settingsStore } from "~/newstore/settings"
|
|||||||
import {
|
import {
|
||||||
graphqlHistoryStore,
|
graphqlHistoryStore,
|
||||||
HISTORY_LIMIT,
|
HISTORY_LIMIT,
|
||||||
|
RESTHistoryEntry,
|
||||||
restHistoryStore,
|
restHistoryStore,
|
||||||
setGraphqlHistoryEntries,
|
setGraphqlHistoryEntries,
|
||||||
setRESTHistoryEntries,
|
setRESTHistoryEntries,
|
||||||
|
translateToNewRESTHistory,
|
||||||
} from "~/newstore/history"
|
} from "~/newstore/history"
|
||||||
|
|
||||||
type HistoryFBCollections = "history" | "graphqlHistory"
|
type HistoryFBCollections = "history" | "graphqlHistory"
|
||||||
@@ -167,12 +169,12 @@ export function initHistory() {
|
|||||||
.orderBy("updatedOn", "desc")
|
.orderBy("updatedOn", "desc")
|
||||||
.limit(HISTORY_LIMIT)
|
.limit(HISTORY_LIMIT)
|
||||||
.onSnapshot((historyRef) => {
|
.onSnapshot((historyRef) => {
|
||||||
const history: any[] = []
|
const history: RESTHistoryEntry[] = []
|
||||||
|
|
||||||
historyRef.forEach((doc) => {
|
historyRef.forEach((doc) => {
|
||||||
const entry = doc.data()
|
const entry = doc.data()
|
||||||
entry.id = doc.id
|
entry.id = doc.id
|
||||||
history.push(entry)
|
history.push(translateToNewRESTHistory(entry))
|
||||||
})
|
})
|
||||||
|
|
||||||
loadedRESTHistory = false
|
loadedRESTHistory = false
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ export type HoppRESTReqBody =
|
|||||||
| HoppRESTReqBodyFormData
|
| HoppRESTReqBodyFormData
|
||||||
| {
|
| {
|
||||||
contentType: null
|
contentType: null
|
||||||
|
body: null
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface HoppRESTRequest {
|
export interface HoppRESTRequest {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<ButtonSecondary to="/" icon="home" outline :label="$t('app.home')" />
|
<ButtonSecondary to="/" icon="home" outline :label="$t('app.home')" />
|
||||||
<ButtonSecondary
|
<ButtonSecondary
|
||||||
icon="refresh"
|
icon="refresh"
|
||||||
:label="$t('reload')"
|
:label="$t('app.reload')"
|
||||||
outline
|
outline
|
||||||
@click.native="reloadApplication"
|
@click.native="reloadApplication"
|
||||||
/>
|
/>
|
||||||
@@ -15,9 +15,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { initializeFirebase } from "~/helpers/fb"
|
import { initializeFirebase } from "~/helpers/fb"
|
||||||
|
|
||||||
export default {
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
error: {
|
error: {
|
||||||
type: Object,
|
type: Object,
|
||||||
@@ -43,7 +44,7 @@ export default {
|
|||||||
window.location.reload()
|
window.location.reload()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ export const defaultRESTRequest: HoppRESTRequest = {
|
|||||||
testScript: "",
|
testScript: "",
|
||||||
body: {
|
body: {
|
||||||
contentType: null,
|
contentType: null,
|
||||||
|
body: null,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -224,8 +225,8 @@ const dispatchers = defineDispatchers({
|
|||||||
contentType: newContentType,
|
contentType: newContentType,
|
||||||
body:
|
body:
|
||||||
newContentType === null
|
newContentType === null
|
||||||
? undefined
|
? null
|
||||||
: (curr.request.body as any).body,
|
: (curr.request.body as any)?.body ?? "",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Vue from "vue"
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
import { initializeFirebase } from "~/helpers/fb"
|
import { initializeFirebase } from "~/helpers/fb"
|
||||||
import { isSignInWithEmailLink, signInWithEmailLink } from "~/helpers/fb/auth"
|
import { isSignInWithEmailLink, signInWithEmailLink } from "~/helpers/fb/auth"
|
||||||
import { getLocalConfig, removeLocalConfig } from "~/newstore/localpersistence"
|
import { getLocalConfig, removeLocalConfig } from "~/newstore/localpersistence"
|
||||||
|
|
||||||
export default Vue.extend({
|
export default defineComponent({
|
||||||
layout: "empty",
|
layout: "empty",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -36,11 +36,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { defineComponent } from "@nuxtjs/composition-api"
|
||||||
|
|
||||||
|
export default defineComponent({
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: `${this.$t("navigation.realtime")} • Hoppscotch`,
|
title: `${this.$t("navigation.realtime")} • Hoppscotch`,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user