UNPKG

@dialpad/dialtone

Version:

Dialpad's Dialtone design system monorepo

41 lines (40 loc) 1.1 kB
import { t as e } from "../../_plugin-vue_export-helper-BTgDAbhb.js"; import t from "../checkbox/checkbox.js"; import "../checkbox/index.js"; import { Fragment as n, createBlock as r, createElementBlock as i, createElementVNode as a, openBlock as o, renderList as s, resolveComponent as c, toDisplayString as l, withCtx as u } from "vue"; //#region components/checkbox_group/checkboxes_decorator.vue var d = { compatConfig: { MODE: 3 }, name: "CheckboxesDecorator", components: { DtCheckbox: t }, created() { this.options = [ { label: "Apple", value: "apple" }, { label: "Banana", value: "banana" }, { label: "Other", value: "other" } ]; } }; function f(e, t, d, f, p, m) { let h = c("dt-checkbox"); return o(), i("div", null, [(o(!0), i(n, null, s(e.options, (e) => (o(), r(h, { key: e.value, value: e.value }, { default: u(() => [a("span", null, l(e.label), 1)]), _: 2 }, 1032, ["value"]))), 128))]); } var p = /* @__PURE__ */ e(d, [["render", f]]); //#endregion export { p as default }; //# sourceMappingURL=checkboxes-decorator.js.map