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.
367 lines (366 loc) • 10.2 kB
JavaScript
(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);
}
})();
(function(global, factory) {
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue")) : typeof define === "function" && define.amd ? define(["exports", "vue"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.DigiComponents = {}, global.Vue));
})(this, function(exports2, vue) {
"use strict";
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 = vue.ref(true);
const handleChange = () => {
switcher.value = !switcher.value;
};
return (_ctx, _cache) => {
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
vue.createElementVNode("p", _hoisted_1, vue.toDisplayString(__props.msg), 1),
vue.createElementVNode("button", { onClick: handleChange }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.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 vue.openBlock(), vue.createElementBlock("button", { onClick: aaa }, vue.toDisplayString(__props.msg), 1);
};
}
};
const _sfc_main$1 = _sfc_main;
exports2.Digi1 = _sfc_main$D;
exports2.Digi10 = _sfc_main$l;
exports2.Digi11 = _sfc_main$j;
exports2.Digi12 = _sfc_main$h;
exports2.Digi13 = _sfc_main$f;
exports2.Digi14 = _sfc_main$d;
exports2.Digi15 = _sfc_main$b;
exports2.Digi16 = _sfc_main$9;
exports2.Digi17 = _sfc_main$7;
exports2.Digi18 = _sfc_main$5;
exports2.Digi19 = _sfc_main$3;
exports2.Digi2 = _sfc_main$B;
exports2.Digi20 = _sfc_main$1;
exports2.Digi3 = _sfc_main$z;
exports2.Digi4 = _sfc_main$x;
exports2.Digi5 = _sfc_main$v;
exports2.Digi6 = _sfc_main$t;
exports2.Digi7 = _sfc_main$r;
exports2.Digi8 = _sfc_main$p;
exports2.Digi9 = _sfc_main$n;
exports2.DigiButton = DigiButton;
Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
});