@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.
@@ -1,81 +1,86 @@
1
- import { defineComponent as _, ref as h, openBlock as i, createElementBlock as r, Fragment as p, createElementVNode as t, toDisplayString as d, 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==", l = (e) => (g("data-v-1d5be6d4"), e = e(), u(), e), D = { class: "card" }, b = /* @__PURE__ */ l(() => /* @__PURE__ */ t("p", null, [
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__ */ t("code", null, "components/HelloWorld.vue"),
8
+ /* @__PURE__ */ e("code", null, "components/HelloWorld.vue"),
5
9
  /* @__PURE__ */ o(" to test HMR ")
6
- ], -1)), y = /* @__PURE__ */ l(() => /* @__PURE__ */ t("p", null, [
10
+ ], -1)), w = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
7
11
  /* @__PURE__ */ o(" Check out "),
8
- /* @__PURE__ */ t("a", {
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)), w = /* @__PURE__ */ l(() => /* @__PURE__ */ t("p", null, [
17
+ ], -1)), B = /* @__PURE__ */ a(() => /* @__PURE__ */ e("p", null, [
14
18
  /* @__PURE__ */ o(" Install "),
15
- /* @__PURE__ */ t("a", {
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)), B = /* @__PURE__ */ l(() => /* @__PURE__ */ t("p", { class: "read-the-docs" }, "Click on the Vite and Vue logos to learn more", -1)), Z = /* @__PURE__ */ _({
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(e) {
29
+ setup(t) {
26
30
  const s = h(0);
27
- return (a, c) => (i(), r(p, null, [
28
- t("h1", null, d(a.msg), 1),
29
- t("div", D, [
30
- t("button", {
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 " + d(s.value), 1),
34
- b
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 = (e, s) => {
43
- const a = e.__vccOpts || e;
46
+ const I = (t, s) => {
47
+ const l = t.__vccOpts || t;
44
48
  for (const [c, n] of s)
45
- a[c] = n;
46
- return a;
47
- }, k = /* @__PURE__ */ I(Z, [["__scopeId", "data-v-1d5be6d4"]]), T = (e) => (g("data-v-58aba71c"), e = e(), u(), e), W = /* @__PURE__ */ T(() => /* @__PURE__ */ t("div", null, [
48
- /* @__PURE__ */ t("a", {
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__ */ t("img", {
56
+ /* @__PURE__ */ e("img", {
53
57
  src: M,
54
58
  class: "logo",
55
59
  alt: "Vite logo"
56
60
  })
57
61
  ]),
58
- /* @__PURE__ */ t("a", {
62
+ /* @__PURE__ */ e("a", {
59
63
  href: "https://vuejs.org/",
60
64
  target: "_blank"
61
65
  }, [
62
- /* @__PURE__ */ t("img", {
66
+ /* @__PURE__ */ e("img", {
63
67
  src: j,
64
68
  class: "logo vue",
65
69
  alt: "Vue logo"
66
70
  })
67
71
  ])
68
- ], -1)), x = /* @__PURE__ */ _({
72
+ ], -1)), V = /* @__PURE__ */ _({
69
73
  __name: "App",
70
- setup(e) {
71
- return (s, a) => (i(), r(p, null, [
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 L = /* @__PURE__ */ I(x, [["__scopeId", "data-v-58aba71c"]]);
78
- v(L).mount("#app");
81
+ const x = /* @__PURE__ */ I(V, [["__scopeId", "data-v-58aba71c"]]);
82
+ v(x).mount("#app");
79
83
  export {
80
- L as App
84
+ x as App,
85
+ k as HelloWorldVue
81
86
  };
@@ -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 y="",i="/vite.svg",p="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBhcmlhLWhpZGRlbj0idHJ1ZSIgcm9sZT0iaW1nIiBjbGFzcz0iaWNvbmlmeSBpY29uaWZ5LS1sb2dvcyIgd2lkdGg9IjM3LjA3IiBoZWlnaHQ9IjM2IiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0IiB2aWV3Qm94PSIwIDAgMjU2IDE5OCI+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0iTTIwNC44IDBIMjU2TDEyOCAyMjAuOEwwIDBoOTcuOTJMMTI4IDUxLjJMMTU3LjQ0IDBoNDcuMzZaIj48L3BhdGg+PHBhdGggZmlsbD0iIzQxQjg4MyIgZD0ibTAgMGwxMjggMjIwLjhMMjU2IDBoLTUxLjJMMTI4IDEzMi40OEw1MC41NiAwSDBaIj48L3BhdGg+PHBhdGggZmlsbD0iIzM1NDk1RSIgZD0iTTUwLjU2IDBMMTI4IDEzMy4xMkwyMDQuOCAwaC00Ny4zNkwxMjggNTEuMkw5Ny45MiAwSDUwLjU2WiI+PC9wYXRoPjwvc3ZnPg==",a=t=>(e.pushScopeId("data-v-1d5be6d4"),t=t(),e.popScopeId(),t),_={class:"card"},m=a(()=>e.createElementVNode("p",null,[e.createTextVNode(" Edit "),e.createElementVNode("code",null,"components/HelloWorld.vue"),e.createTextVNode(" to test HMR ")],-1)),g=a(()=>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)),I=a(()=>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)),h=a(()=>e.createElementVNode("p",{class:"read-the-docs"},"Click on the Vite and Vue logos to learn more",-1)),V=e.defineComponent({__name:"HelloWorld",props:{msg:{}},setup(t){const c=e.ref(0);return(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",null,e.toDisplayString(n.msg),1),e.createElementVNode("div",_,[e.createElementVNode("button",{type:"button",onClick:l[0]||(l[0]=r=>c.value++)},"count is "+e.toDisplayString(c.value),1),m]),g,I,h],64))}}),b="",s=(t,c)=>{const n=t.__vccOpts||t;for(const[l,r]of c)n[l]=r;return n},M=s(V,[["__scopeId","data-v-1d5be6d4"]]),N=(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:i,class:"logo",alt:"Vite logo"})]),e.createElementVNode("a",{href:"https://vuejs.org/",target:"_blank"},[e.createElementVNode("img",{src:p,class:"logo vue",alt:"Vue logo"})])],-1)),j=e.defineComponent({__name:"App",setup(t){return(c,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[N,e.createVNode(M,{msg:"Vite + Vue"})],64))}}),D="",d=s(j,[["__scopeId","data-v-58aba71c"]]);e.createApp(d).mount("#app"),o.App=d,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
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 './App.vue';
2
- export { App };
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-1d5be6d4]{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)}
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)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wikicasa-dev/components",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Wikicasa frontend components",
5
5
  "type": "module",
6
6
  "main": "./dist/components.umd.cjs",