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