vue-pancake-icons 0.0.7 → 0.0.9

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,51 +1,67 @@
1
- import { ref as d, openBlock as _, createElementBlock as u, Fragment as i, createElementVNode as t, toDisplayString as a, pushScopeId as p, popScopeId as h, createTextVNode as o } from "vue";
2
- const v = (e, l) => {
3
- const c = e.__vccOpts || e;
4
- for (const [n, r] of l)
5
- c[n] = r;
6
- return c;
7
- }, s = (e) => (p("data-v-a1de4649"), e = e(), h(), e), g = { class: "card" }, m = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", null, [
8
- /* @__PURE__ */ o(" Edit "),
1
+ import { ref as u, openBlock as i, createElementBlock as p, Fragment as m, createElementVNode as t, toDisplayString as a, pushScopeId as f, popScopeId as h, createTextVNode as c } from "vue";
2
+ const _ = (e, o) => {
3
+ const n = e.__vccOpts || e;
4
+ for (const [l, r] of o)
5
+ n[l] = r;
6
+ return n;
7
+ }, s = (e) => (f("data-v-a1de4649"), e = e(), h(), e), g = { class: "card" }, v = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", null, [
8
+ /* @__PURE__ */ c(" Edit "),
9
9
  /* @__PURE__ */ t("code", null, "components/HelloWorld.vue"),
10
- /* @__PURE__ */ o(" to test HMR ")
11
- ], -1)), f = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", null, [
12
- /* @__PURE__ */ o(" Check out "),
10
+ /* @__PURE__ */ c(" to test HMR ")
11
+ ], -1)), k = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", null, [
12
+ /* @__PURE__ */ c(" Check out "),
13
13
  /* @__PURE__ */ t("a", {
14
14
  href: "https://vuejs.org/guide/quick-start.html#local",
15
15
  target: "_blank"
16
16
  }, "create-vue"),
17
- /* @__PURE__ */ o(", the official Vue + Vite starter ")
18
- ], -1)), k = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", null, [
19
- /* @__PURE__ */ o(" Install "),
17
+ /* @__PURE__ */ c(", the official Vue + Vite starter ")
18
+ ], -1)), V = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", null, [
19
+ /* @__PURE__ */ c(" Install "),
20
20
  /* @__PURE__ */ t("a", {
21
21
  href: "https://github.com/johnsoncodehk/volar",
22
22
  target: "_blank"
23
23
  }, "Volar"),
24
- /* @__PURE__ */ o(" in your IDE for a better DX ")
25
- ], -1)), V = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", { class: "read-the-docs" }, "Click on the Vite and Vue logos to learn more", -1)), b = {
24
+ /* @__PURE__ */ c(" in your IDE for a better DX ")
25
+ ], -1)), b = /* @__PURE__ */ s(() => /* @__PURE__ */ t("p", { class: "read-the-docs" }, "Click on the Vite and Vue logos to learn more", -1)), y = {
26
26
  __name: "HelloWorld",
27
27
  props: {
28
28
  msg: String
29
29
  },
30
30
  setup(e) {
31
- const l = d(0);
32
- return (c, n) => (_(), u(i, null, [
31
+ const o = u(0);
32
+ return (n, l) => (i(), p(m, null, [
33
33
  t("h1", null, a(e.msg), 1),
34
34
  t("div", g, [
35
35
  t("button", {
36
36
  type: "button",
37
- onClick: n[0] || (n[0] = (r) => l.value++)
38
- }, "count is " + a(l.value), 1),
39
- m
37
+ onClick: l[0] || (l[0] = (r) => o.value++)
38
+ }, "count is " + a(o.value), 1),
39
+ v
40
40
  ]),
41
- f,
42
41
  k,
43
- V
42
+ V,
43
+ b
44
44
  ], 64));
45
45
  }
46
- }, x = /* @__PURE__ */ v(b, [["__scopeId", "data-v-a1de4649"]]), I = {
47
- HelloWorld: x
46
+ }, I = /* @__PURE__ */ _(y, [["__scopeId", "data-v-a1de4649"]]), w = {};
47
+ function x(e, o) {
48
+ return " Test icon ";
49
+ }
50
+ const S = /* @__PURE__ */ _(w, [["render", x]]), H = {
51
+ HelloWorld: I,
52
+ IconTest: S
53
+ }, d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
54
+ __proto__: null,
55
+ default: H
56
+ }, Symbol.toStringTag, { value: "Module" })), j = {
57
+ install(e) {
58
+ for (let o in d) {
59
+ const n = d[o];
60
+ console.log(n, "componentcomponentcomponent"), e.component(n.name, n);
61
+ }
62
+ }
48
63
  };
64
+ typeof window < "u" && window.Vue && window.Vue.use(j);
49
65
  export {
50
- I as default
66
+ j as default
51
67
  };
@@ -1 +1 @@
1
- (function(e,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("vue")):typeof define=="function"&&define.amd?define(["vue"],o):(e=typeof globalThis<"u"?globalThis:e||self,e.VuePancakeIcons=o(e.Vue))})(this,function(e){"use strict";const o="",s=(t,l)=>{const r=t.__vccOpts||t;for(const[c,d]of l)r[c]=d;return r},n=t=>(e.pushScopeId("data-v-a1de4649"),t=t(),e.popScopeId(),t),a={class:"card"},i=n(()=>e.createElementVNode("p",null,[e.createTextVNode(" Edit "),e.createElementVNode("code",null,"components/HelloWorld.vue"),e.createTextVNode(" to test HMR ")],-1)),_=n(()=>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)),p=n(()=>e.createElementVNode("p",null,[e.createTextVNode(" Install "),e.createElementVNode("a",{href:"https://github.com/johnsoncodehk/volar",target:"_blank"},"Volar"),e.createTextVNode(" in your IDE for a better DX ")],-1)),m=n(()=>e.createElementVNode("p",{class:"read-the-docs"},"Click on the Vite and Vue logos to learn more",-1));return{HelloWorld:s({__name:"HelloWorld",props:{msg:String},setup(t){const l=e.ref(0);return(r,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",null,e.toDisplayString(t.msg),1),e.createElementVNode("div",a,[e.createElementVNode("button",{type:"button",onClick:c[0]||(c[0]=d=>l.value++)},"count is "+e.toDisplayString(l.value),1),i]),_,p,m],64))}},[["__scopeId","data-v-a1de4649"]])}});
1
+ (function(e,c){typeof exports=="object"&&typeof module<"u"?module.exports=c(require("vue")):typeof define=="function"&&define.amd?define(["vue"],c):(e=typeof globalThis<"u"?globalThis:e||self,e.VuePancakeIcons=c(e.Vue))})(this,function(e){"use strict";const c="",r=(t,o)=>{const n=t.__vccOpts||t;for(const[l,i]of o)n[l]=i;return n},s=t=>(e.pushScopeId("data-v-a1de4649"),t=t(),e.popScopeId(),t),_={class:"card"},p=s(()=>e.createElementVNode("p",null,[e.createTextVNode(" Edit "),e.createElementVNode("code",null,"components/HelloWorld.vue"),e.createTextVNode(" to test HMR ")],-1)),m=s(()=>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)),f=s(()=>e.createElementVNode("p",null,[e.createTextVNode(" Install "),e.createElementVNode("a",{href:"https://github.com/johnsoncodehk/volar",target:"_blank"},"Volar"),e.createTextVNode(" in your IDE for a better DX ")],-1)),u=s(()=>e.createElementVNode("p",{class:"read-the-docs"},"Click on the Vite and Vue logos to learn more",-1)),V=r({__name:"HelloWorld",props:{msg:String},setup(t){const o=e.ref(0);return(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h1",null,e.toDisplayString(t.msg),1),e.createElementVNode("div",_,[e.createElementVNode("button",{type:"button",onClick:l[0]||(l[0]=i=>o.value++)},"count is "+e.toDisplayString(o.value),1),p]),m,f,u],64))}},[["__scopeId","data-v-a1de4649"]]),h={};function g(t,o){return" Test icon "}const d=Object.freeze(Object.defineProperty({__proto__:null,default:{HelloWorld:V,IconTest:r(h,[["render",g]])}},Symbol.toStringTag,{value:"Module"})),a={install(t){for(let o in d){const n=d[o];console.log(n,"componentcomponentcomponent"),t.component(n.name,n)}}};return typeof window<"u"&&window.Vue&&window.Vue.use(a),a});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-pancake-icons",
3
3
  "private": false,
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "files": [
6
6
  "dist"
7
7
  ],