vue-pancake-icons 2.2.2 → 2.2.3

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,35 +1,24 @@
1
- const s = (o, n) => {
2
- const e = o.__vccOpts || o;
3
- for (const [t, c] of n)
4
- e[t] = c;
1
+ const r = (t, n) => {
2
+ const e = t.__vccOpts || t;
3
+ for (const [o, c] of n)
4
+ e[o] = c;
5
5
  return e;
6
- }, a = {
6
+ }, _ = {
7
7
  name: "hello-world"
8
8
  };
9
- function _(o, n, e, t, c, l) {
9
+ function a(t, n, e, o, c, s) {
10
10
  return " Hello world ";
11
11
  }
12
- const d = /* @__PURE__ */ s(a, [["render", _]]), p = {
12
+ const d = /* @__PURE__ */ r(_, [["render", a]]), l = {
13
13
  name: "icon-test"
14
14
  };
15
- function i(o, n, e, t, c, l) {
15
+ function p(t, n, e, o, c, s) {
16
16
  return " Icon test ";
17
17
  }
18
- const u = /* @__PURE__ */ s(p, [["render", i]]), f = {
19
- IconTest: u,
18
+ const $ = /* @__PURE__ */ r(l, [["render", p]]), f = {
19
+ IconTest: $,
20
20
  HelloWorld: d
21
- }, r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
- __proto__: null,
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);
29
- }
30
- }
31
21
  };
32
- typeof window < "u" && window.Vue && window.Vue.use(m);
33
22
  export {
34
- m as default
23
+ f as default
35
24
  };
@@ -1 +1 @@
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});
1
+ (function(e,n){typeof exports=="object"&&typeof module<"u"?module.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e.VuePancakeIcons=n())})(this,function(){"use strict";const e=(t,s)=>{const o=t.__vccOpts||t;for(const[c,r]of s)o[c]=r;return o},n={name:"hello-world"};function d(t,s,o,c,r,p){return" Hello world "}const i=e(n,[["render",d]]),f={name:"icon-test"};function u(t,s,o,c,r,p){return" Icon test "}return{IconTest:e(f,[["render",u]]),HelloWorld:i}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-pancake-icons",
3
3
  "private": false,
4
- "version": "2.2.2",
4
+ "version": "2.2.3",
5
5
  "files": [
6
6
  "dist/*",
7
7
  "src/*",
package/vite.config.js CHANGED
@@ -5,7 +5,7 @@ import path from 'path'
5
5
  export default defineConfig({
6
6
  build: {
7
7
  lib: {
8
- entry: path.resolve(__dirname, 'src/install.js'),
8
+ entry: path.resolve(__dirname, 'src/components/index.js'),
9
9
  name: 'VuePancakeIcons',
10
10
  fileName: (format) => `vue-pancake-icons.${format}.js`,
11
11
  },