@wikicasa-dev/components 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +37 -32
- package/dist/components.umd.cjs +1 -1
- package/dist/main.d.ts +3 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/components.js
CHANGED
|
@@ -1,81 +1,86 @@
|
|
|
1
|
-
import { defineComponent as _, ref as h, openBlock as
|
|
2
|
-
const M = "/vite.svg", j = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBhcmlhLWhpZGRlbj0idHJ1ZSIgcm9sZT0iaW1nIiBjbGFzcz0iaWNvbmlmeSBpY29uaWZ5LS1sb2dvcyIgd2lkdGg9IjM3LjA3IiBoZWlnaHQ9IjM2IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0IiB2aWV3Qm94PSIwIDAgMjU2IDE5OCI+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0iTTIwNC44IDBIMjU2TDEyOCAyMjAuOEwwIDBoOTcuOTJMMTI4IDUxLjJMMTU3LjQ0IDBoNDcuMzZaIj48L3BhdGg+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0ibTAgMGwxMjggMjIwLjhMMjU2IDBoLTUxLjJMMTI4IDEzMi40OEw1MC41NiAwSDBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzM1NDk1RSIgZD0iTTUwLjU2IDBMMTI4IDEzMy4xMkwyMDQuOCAwaC00Ny4zNkwxMjggNTEuMkw5Ny45MiAwSDUwLjU2WiI+PC9wYXRoPjwvc3ZnPg=="
|
|
1
|
+
import { defineComponent as _, ref as h, openBlock as r, createElementBlock as d, Fragment as p, createElementVNode as e, toDisplayString as i, pushScopeId as g, popScopeId as u, createTextVNode as o, createVNode as m, createApp as v } from "vue";
|
|
2
|
+
const M = "/vite.svg", j = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBhcmlhLWhpZGRlbj0idHJ1ZSIgcm9sZT0iaW1nIiBjbGFzcz0iaWNvbmlmeSBpY29uaWZ5LS1sb2dvcyIgd2lkdGg9IjM3LjA3IiBoZWlnaHQ9IjM2IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0IiB2aWV3Qm94PSIwIDAgMjU2IDE5OCI+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0iTTIwNC44IDBIMjU2TDEyOCAyMjAuOEwwIDBoOTcuOTJMMTI4IDUxLjJMMTU3LjQ0IDBoNDcuMzZaIj48L3BhdGg+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0ibTAgMGwxMjggMjIwLjhMMjU2IDBoLTUxLjJMMTI4IDEzMi40OEw1MC41NiAwSDBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzM1NDk1RSIgZD0iTTUwLjU2IDBMMTI4IDEzMy4xMkwyMDQuOCAwaC00Ny4zNkwxMjggNTEuMkw5Ny45MiAwSDUwLjU2WiI+PC9wYXRoPjwvc3ZnPg==";
|
|
3
|
+
function D() {
|
|
4
|
+
console.log("CIAO");
|
|
5
|
+
}
|
|
6
|
+
const a = (t) => (g("data-v-e32b9e0f"), t = t(), u(), t), b = { class: "card" }, y = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
|
|
3
7
|
/* @__PURE__ */ o(" Edit "),
|
|
4
|
-
/* @__PURE__ */
|
|
8
|
+
/* @__PURE__ */ e("code", null, "components/HelloWorld.vue"),
|
|
5
9
|
/* @__PURE__ */ o(" to test HMR ")
|
|
6
|
-
], -1)),
|
|
10
|
+
], -1)), w = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
|
|
7
11
|
/* @__PURE__ */ o(" Check out "),
|
|
8
|
-
/* @__PURE__ */
|
|
12
|
+
/* @__PURE__ */ e("a", {
|
|
9
13
|
href: "https://vuejs.org/guide/quick-start.html#local",
|
|
10
14
|
target: "_blank"
|
|
11
15
|
}, "create-vue"),
|
|
12
16
|
/* @__PURE__ */ o(", the official Vue + Vite starter ")
|
|
13
|
-
], -1)),
|
|
17
|
+
], -1)), B = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
|
|
14
18
|
/* @__PURE__ */ o(" Install "),
|
|
15
|
-
/* @__PURE__ */
|
|
19
|
+
/* @__PURE__ */ e("a", {
|
|
16
20
|
href: "https://github.com/vuejs/language-tools",
|
|
17
21
|
target: "_blank"
|
|
18
22
|
}, "Volar"),
|
|
19
23
|
/* @__PURE__ */ o(" in your IDE for a better DX ")
|
|
20
|
-
], -1)),
|
|
24
|
+
], -1)), Z = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", { class: "read-the-docs" }, "Click on the Vite and Vue logos to learn more", -1)), f = /* @__PURE__ */ _({
|
|
21
25
|
__name: "HelloWorld",
|
|
22
26
|
props: {
|
|
23
27
|
msg: {}
|
|
24
28
|
},
|
|
25
|
-
setup(
|
|
29
|
+
setup(t) {
|
|
26
30
|
const s = h(0);
|
|
27
|
-
return (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
return D(), (l, c) => (r(), d(p, null, [
|
|
32
|
+
e("h1", null, i(l.msg), 1),
|
|
33
|
+
e("div", b, [
|
|
34
|
+
e("button", {
|
|
31
35
|
type: "button",
|
|
32
36
|
onClick: c[0] || (c[0] = (n) => s.value++)
|
|
33
|
-
}, "count is " +
|
|
34
|
-
|
|
37
|
+
}, "count is " + i(s.value), 1),
|
|
38
|
+
y
|
|
35
39
|
]),
|
|
36
|
-
y,
|
|
37
40
|
w,
|
|
38
|
-
B
|
|
41
|
+
B,
|
|
42
|
+
Z
|
|
39
43
|
], 64));
|
|
40
44
|
}
|
|
41
45
|
});
|
|
42
|
-
const I = (
|
|
43
|
-
const
|
|
46
|
+
const I = (t, s) => {
|
|
47
|
+
const l = t.__vccOpts || t;
|
|
44
48
|
for (const [c, n] of s)
|
|
45
|
-
|
|
46
|
-
return
|
|
47
|
-
}, k = /* @__PURE__ */ I(
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
+
l[c] = n;
|
|
50
|
+
return l;
|
|
51
|
+
}, k = /* @__PURE__ */ I(f, [["__scopeId", "data-v-e32b9e0f"]]), T = (t) => (g("data-v-58aba71c"), t = t(), u(), t), W = /* @__PURE__ */ T(() => /* @__PURE__ */ e("div", null, [
|
|
52
|
+
/* @__PURE__ */ e("a", {
|
|
49
53
|
href: "https://vitejs.dev",
|
|
50
54
|
target: "_blank"
|
|
51
55
|
}, [
|
|
52
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ e("img", {
|
|
53
57
|
src: M,
|
|
54
58
|
class: "logo",
|
|
55
59
|
alt: "Vite logo"
|
|
56
60
|
})
|
|
57
61
|
]),
|
|
58
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ e("a", {
|
|
59
63
|
href: "https://vuejs.org/",
|
|
60
64
|
target: "_blank"
|
|
61
65
|
}, [
|
|
62
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ e("img", {
|
|
63
67
|
src: j,
|
|
64
68
|
class: "logo vue",
|
|
65
69
|
alt: "Vue logo"
|
|
66
70
|
})
|
|
67
71
|
])
|
|
68
|
-
], -1)),
|
|
72
|
+
], -1)), V = /* @__PURE__ */ _({
|
|
69
73
|
__name: "App",
|
|
70
|
-
setup(
|
|
71
|
-
return (s,
|
|
74
|
+
setup(t) {
|
|
75
|
+
return (s, l) => (r(), d(p, null, [
|
|
72
76
|
W,
|
|
73
77
|
m(k, { msg: "Vite + Vue" })
|
|
74
78
|
], 64));
|
|
75
79
|
}
|
|
76
80
|
});
|
|
77
|
-
const
|
|
78
|
-
v(
|
|
81
|
+
const x = /* @__PURE__ */ I(V, [["__scopeId", "data-v-58aba71c"]]);
|
|
82
|
+
v(x).mount("#app");
|
|
79
83
|
export {
|
|
80
|
-
|
|
84
|
+
x as App,
|
|
85
|
+
k as HelloWorldVue
|
|
81
86
|
};
|
package/dist/components.umd.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.components={},o.Vue))})(this,function(o,e){"use strict";const
|
|
1
|
+
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.components={},o.Vue))})(this,function(o,e){"use strict";const u="",p="/vite.svg",_="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBhcmlhLWhpZGRlbj0idHJ1ZSIgcm9sZT0iaW1nIiBjbGFzcz0iaWNvbmlmeSBpY29uaWZ5LS1sb2dvcyIgd2lkdGg9IjM3LjA3IiBoZWlnaHQ9IjM2IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0IiB2aWV3Qm94PSIwIDAgMjU2IDE5OCI+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0iTTIwNC44IDBIMjU2TDEyOCAyMjAuOEwwIDBoOTcuOTJMMTI4IDUxLjJMMTU3LjQ0IDBoNDcuMzZaIj48L3BhdGg+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0ibTAgMGwxMjggMjIwLjhMMjU2IDBoLTUxLjJMMTI4IDEzMi40OEw1MC41NiAwSDBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzM1NDk1RSIgZD0iTTUwLjU2IDBMMTI4IDEzMy4xMkwyMDQuOCAwaC00Ny4zNkwxMjggNTEuMkw5Ny45MiAwSDUwLjU2WiI+PC9wYXRoPjwvc3ZnPg==";function g(){console.log("CIAO")}const l=t=>(e.pushScopeId("data-v-e32b9e0f"),t=t(),e.popScopeId(),t),m={class:"card"},I=l(()=>e.createElementVNode("p",null,[e.createTextVNode(" Edit "),e.createElementVNode("code",null,"components/HelloWorld.vue"),e.createTextVNode(" to test HMR ")],-1)),h=l(()=>e.createElementVNode("p",null,[e.createTextVNode(" Check out "),e.createElementVNode("a",{href:"https://vuejs.org/guide/quick-start.html#local",target:"_blank"},"create-vue"),e.createTextVNode(", the official Vue + Vite starter ")],-1)),V=l(()=>e.createElementVNode("p",null,[e.createTextVNode(" Install "),e.createElementVNode("a",{href:"https://github.com/vuejs/language-tools",target:"_blank"},"Volar"),e.createTextVNode(" in your IDE for a better DX ")],-1)),M=l(()=>e.createElementVNode("p",{class:"read-the-docs"},"Click on the Vite and Vue logos to learn more",-1)),N=e.defineComponent({__name:"HelloWorld",props:{msg:{}},setup(t){const c=e.ref(0);return g(),(n,a)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",null,e.toDisplayString(n.msg),1),e.createElementVNode("div",m,[e.createElementVNode("button",{type:"button",onClick:a[0]||(a[0]=i=>c.value++)},"count is "+e.toDisplayString(c.value),1),I]),h,V,M],64))}}),y="",s=(t,c)=>{const n=t.__vccOpts||t;for(const[a,i]of c)n[a]=i;return n},d=s(N,[["__scopeId","data-v-e32b9e0f"]]),j=(t=>(e.pushScopeId("data-v-58aba71c"),t=t(),e.popScopeId(),t))(()=>e.createElementVNode("div",null,[e.createElementVNode("a",{href:"https://vitejs.dev",target:"_blank"},[e.createElementVNode("img",{src:p,class:"logo",alt:"Vite logo"})]),e.createElementVNode("a",{href:"https://vuejs.org/",target:"_blank"},[e.createElementVNode("img",{src:_,class:"logo vue",alt:"Vue logo"})])],-1)),f=e.defineComponent({__name:"App",setup(t){return(c,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[j,e.createVNode(d,{msg:"Vite + Vue"})],64))}}),D="",r=s(f,[["__scopeId","data-v-58aba71c"]]);e.createApp(r).mount("#app"),o.App=r,o.HelloWorldVue=d,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
package/dist/main.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import App from
|
|
2
|
-
|
|
1
|
+
import App from "./App.vue";
|
|
2
|
+
import HelloWorldVue from "./components/HelloWorld.vue";
|
|
3
|
+
export { App, HelloWorldVue };
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.read-the-docs[data-v-
|
|
1
|
+
:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.read-the-docs[data-v-e32b9e0f]{color:#888}.logo[data-v-58aba71c]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-58aba71c]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-58aba71c]:hover{filter:drop-shadow(0 0 2em #42b883aa)}
|