hunk.code_window:   diff?: string
     lang?: string
     readonly?: boolean
     lineNumbers?: 'on' | 'off' | 'relative' | 'interval'
     height?: number | string
   }>(), {
     code: '',
     lang: 'typescript',
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit:   editorOptions?: monaco.editor.IEditorOptions
  
hunk.file_path: packages/client/builtin/Monaco.vue
hunk.type: add
file: <!--
  Apply scaling or transforming to elements.
  
  Usage:
  
  <Transform :scale="0.5">
    <YourElements />
  </Transform>
  -->
  
  <script setup lang="ts">
  import { computed } from 'vue'
  
  const props = defineProps<{
    scale?: number | string
    origin?: string
  }>()
  
  const style = computed(() => {
    const transforms = []
    if (props.scale != null)
      transforms.push(`scale(${props.scale || 1})`)
  
    return {
      'transform': transforms.join(' '),
      'transform-origin': props.origin || 'top left',
    }
  })
  </script>
  
  <template>
    <div :style="style">
      <slot />
    </div>
  </template>
  