'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var vue = require('vue');
var index = require('../../env/index.js');
var index$1 = require('../../text/index.js');

"use strict";
const _hoisted_1 = { class: "me-todo" };
const __default__ = vue.defineComponent({
  name: "me-todo"
});
var script = /* @__PURE__ */ vue.defineComponent({
  ...__default__,
  props: {
    envFn: { type: Function, required: true },
    titleStyle: { type: Object, required: false },
    title: { type: String, required: false, default: "Todo" },
    desc: { type: String, required: false },
    descStyle: { type: Object, required: false }
  },
  setup(__props) {
    const props = __props;
    return (_ctx, _cache) => {
      return vue.openBlock(), vue.createBlock(vue.unref(index.MeEnv), {
        env: "dev",
        envFn: props.envFn
      }, {
        default: vue.withCtx(() => [
          vue.createElementVNode("div", _hoisted_1, [
            vue.renderSlot(_ctx.$slots, "default"),
            vue.createElementVNode(
              "div",
              {
                class: "todo-text",
                style: vue.normalizeStyle(__props.titleStyle)
              },
              vue.toDisplayString(__props.title),
              5
              /* TEXT, STYLE */
            ),
            vue.createElementVNode(
              "div",
              {
                class: "todo-desc",
                style: vue.normalizeStyle(__props.descStyle)
              },
              [
                vue.createVNode(vue.unref(index$1.MeText), {
                  copy: false,
                  color: "#000"
                }, {
                  default: vue.withCtx(() => [
                    vue.createTextVNode(
                      vue.toDisplayString(__props.desc),
                      1
                      /* TEXT */
                    )
                  ]),
                  _: 1
                  /* STABLE */
                })
              ],
              4
              /* STYLE */
            )
          ])
        ]),
        _: 3
        /* FORWARDED */
      }, 8, ["envFn"]);
    };
  }
});

exports.default = script;
//# sourceMappingURL=todo.vue2.js.map
