mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-03 19:18:22 -05:00 
			
		
		
		
	* Fix or comment several ts-ignores * Fix typing related to BaseOverflowButton * Remove unused functionality of useCookbooks, fix usage bug * Fix more typing, add some comments * Only allow ts-ignore if it has a comment
		
			
				
	
	
		
			31 lines
		
	
	
		
			565 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			565 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <VJsoneditor
 | 
						|
    :value="value"
 | 
						|
    height="1500px"
 | 
						|
    :options="options"
 | 
						|
    :attrs="$attrs"
 | 
						|
    @input="$emit('input', $event)"
 | 
						|
  ></VJsoneditor>
 | 
						|
</template>
 | 
						|
 | 
						|
<script lang="ts">
 | 
						|
// @ts-ignore v-jsoneditor has no types
 | 
						|
import VJsoneditor from "v-jsoneditor";
 | 
						|
import { defineComponent } from "@nuxtjs/composition-api";
 | 
						|
 | 
						|
export default defineComponent({
 | 
						|
  components: { VJsoneditor },
 | 
						|
  props: {
 | 
						|
    value: {
 | 
						|
      type: Object,
 | 
						|
      default: () => ({}),
 | 
						|
    },
 | 
						|
    options: {
 | 
						|
      type: Object,
 | 
						|
      default: () => ({}),
 | 
						|
    },
 | 
						|
  },
 | 
						|
});
 | 
						|
</script>
 | 
						|
 |