"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../node_modules/.pnpm/vue@3.3.4/node_modules/vue/dist/vue.runtime.esm-bundler.js");
const runtimeCore_esmBundler = require("../../../../node_modules/.pnpm/@vue_runtime-core@3.3.4/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");
const shared_esmBundler = require("../../../../node_modules/.pnpm/@vue_shared@3.3.4/node_modules/@vue/shared/dist/shared.esm-bundler.js");
const _sfc_main = /* @__PURE__ */ runtimeCore_esmBundler.defineComponent({
  __name: "SettingItem",
  props: {
    name: {
      type: String,
      required: false
    },
    width: {
      type: Number,
      required: false
    }
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_n_text = runtimeCore_esmBundler.resolveComponent("n-text");
      return runtimeCore_esmBundler.openBlock(), runtimeCore_esmBundler.createElementBlock("div", {
        class: "go-setting-item",
        style: shared_esmBundler.normalizeStyle({ width: __props.width + "px" })
      }, [
        runtimeCore_esmBundler.renderSlot(_ctx.$slots, "default", {}, void 0, true),
        runtimeCore_esmBundler.createVNode(_component_n_text, {
          class: "name",
          depth: "3"
        }, {
          default: runtimeCore_esmBundler.withCtx(() => [
            runtimeCore_esmBundler.createTextVNode(shared_esmBundler.toDisplayString(__props.name), 1)
          ]),
          _: 1
        })
      ], 4);
    };
  }
});
exports.default = _sfc_main;
