<template>
  <div class="panel-wrap">
    <t-ui-panel
      :options="options"
      @change="onPanelChange"
      :locale="locale"
    ></t-ui-panel>
  </div>
</template>

<script>
export default {
  name: 'PropertyPanel',
  props: {
    options: {
      type: Object,
    },
    locale: {
      type: Object,
    },
  },
  methods: {
    // 更新预制件的信息
    onPanelChange(value, keys, config, options) {
      this.$emit('on-change', value, keys, config, options)
    },
  },
}
</script>
