UNPKG

digi-components

Version:

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

364 lines (363 loc) 8.71 kB
(function() { "use strict"; try { if (typeof document != "undefined") { var elementStyle = document.createElement("style"); elementStyle.appendChild(document.createTextNode(".msg[data-v-8ed35137] {\n font-size: 35px !important;\n border: 2px solid yellow;\n}")); document.head.appendChild(elementStyle); } } catch (e) { console.error("vite-plugin-css-injected-by-js", e); } })(); import { ref, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString } from "vue"; const _export_sfc = (sfc, props) => { const target = sfc.__vccOpts || sfc; for (const [key, val] of props) { target[key] = val; } return target; }; const _hoisted_1 = { class: "msg" }; const _sfc_main$E = { __name: "DigiButton", props: { msg: String }, setup(__props) { const switcher = ref(true); const handleChange = () => { switcher.value = !switcher.value; }; return (_ctx, _cache) => { return openBlock(), createElementBlock(Fragment, null, [ createElementVNode("p", _hoisted_1, toDisplayString(__props.msg), 1), createElementVNode("button", { onClick: handleChange }, toDisplayString(switcher.value), 1) ], 64); }; } }; const DigiButton = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-8ed35137"]]); const _sfc_main$C = { __name: "Digi1", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$D = _sfc_main$C; const _sfc_main$A = { __name: "Digi2", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$B = _sfc_main$A; const _sfc_main$y = { __name: "Digi3", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$z = _sfc_main$y; const _sfc_main$w = { __name: "Digi4", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$x = _sfc_main$w; const _sfc_main$u = { __name: "Digi5", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$v = _sfc_main$u; const _sfc_main$s = { __name: "Digi6", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$t = _sfc_main$s; const _sfc_main$q = { __name: "Digi7", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$r = _sfc_main$q; const _sfc_main$o = { __name: "Digi8", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$p = _sfc_main$o; const _sfc_main$m = { __name: "Digi9", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$n = _sfc_main$m; const _sfc_main$k = { __name: "Digi10", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$l = _sfc_main$k; const _sfc_main$i = { __name: "Digi11", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$j = _sfc_main$i; const _sfc_main$g = { __name: "Digi12", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$h = _sfc_main$g; const _sfc_main$e = { __name: "Digi13", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$f = _sfc_main$e; const _sfc_main$c = { __name: "Digi14", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$d = _sfc_main$c; const _sfc_main$a = { __name: "Digi15", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$b = _sfc_main$a; const _sfc_main$8 = { __name: "Digi16", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$9 = _sfc_main$8; const _sfc_main$6 = { __name: "Digi17", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$7 = _sfc_main$6; const _sfc_main$4 = { __name: "Digi18", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$5 = _sfc_main$4; const _sfc_main$2 = { __name: "Digi19", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$3 = _sfc_main$2; const _sfc_main = { __name: "Digi20", props: { msg: String }, setup(__props) { const aaa = () => { alert("啊啊啊啊啊啊"); }; return (_ctx, _cache) => { return openBlock(), createElementBlock("button", { onClick: aaa }, toDisplayString(__props.msg), 1); }; } }; const _sfc_main$1 = _sfc_main; export { _sfc_main$D as Digi1, _sfc_main$l as Digi10, _sfc_main$j as Digi11, _sfc_main$h as Digi12, _sfc_main$f as Digi13, _sfc_main$d as Digi14, _sfc_main$b as Digi15, _sfc_main$9 as Digi16, _sfc_main$7 as Digi17, _sfc_main$5 as Digi18, _sfc_main$3 as Digi19, _sfc_main$B as Digi2, _sfc_main$1 as Digi20, _sfc_main$z as Digi3, _sfc_main$x as Digi4, _sfc_main$v as Digi5, _sfc_main$t as Digi6, _sfc_main$r as Digi7, _sfc_main$p as Digi8, _sfc_main$n as Digi9, DigiButton };