<template>
  <view :class="_templateClass" :style="_templateStyle">
    <slot></slot>
  </view>
</template>

<script lang="ts">
import { defineComponent as _defineComponent } from "vue";
import { computed } from "vue";
import { classNames, stringifyStyle, createBem } from "../utils";
import { _templateProps } from "./common";
const __default__ = {
  options: {
    virtualHost: true,
    styleIsolation: "shared"
  }
};
export default /* @__PURE__ */ _defineComponent({
  ...__default__,
  __name: "index",
  props: _templateProps,
  emits: ["click"],
  setup(__props, { expose: __expose }) {
    __expose();
    const props = __props;
    const bem = createBem("_template");
    const _templateClass = computed(() => {
      return classNames(bem.b(), props.rootClass);
    });
    const _templateStyle = computed(() => {
      return stringifyStyle(props.rootStyle);
    });
    const __returned__ = { props, bem, _templateClass, _templateStyle };
    return __returned__;
  }
});
</script>

<style lang="scss">
@use './index.scss';
</style>