@fecp/vue 1.0.1 → 1.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/es/index.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import * as e from "./src/components/index.mjs";
2
+ const n = {
3
+ install: (t) => {
4
+ for (let i in e)
5
+ t.use(e[i]);
6
+ }
7
+ };
8
+ export {
9
+ n as default
10
+ };
@@ -0,0 +1,11 @@
1
+ import { createElementBlock as t, openBlock as e } from "vue";
2
+ /* empty css */
3
+ const o = { class: "btn" }, a = {
4
+ __name: "button",
5
+ setup(n) {
6
+ return (c, r) => (e(), t("button", o, "测试按钮111"));
7
+ }
8
+ };
9
+ export {
10
+ a as default
11
+ };
@@ -0,0 +1,3 @@
1
+ import t from "./button.vue.mjs";
2
+ import i from "../../utils/install.mjs";
3
+ i.withInstall("Button", t);
@@ -0,0 +1,11 @@
1
+ import { createElementBlock as t, openBlock as e } from "vue";
2
+ /* empty css */
3
+ const o = { class: "btn" }, a = {
4
+ __name: "button",
5
+ setup(n) {
6
+ return (c, r) => (e(), t("button", o, "测试按钮22"));
7
+ }
8
+ };
9
+ export {
10
+ a as default
11
+ };
@@ -0,0 +1,3 @@
1
+ import t from "./button.vue.mjs";
2
+ import i from "../../utils/install.mjs";
3
+ i.withInstall("Button2", t);
@@ -0,0 +1,2 @@
1
+ import "./button/index.mjs";
2
+ import "./button2/index.mjs";
@@ -0,0 +1,10 @@
1
+ const n = {
2
+ withInstall: function(t, l) {
3
+ return t = t.charAt(0).toUpperCase() + t.slice(1), l.install = (s) => {
4
+ s.component("Fec" + t, l);
5
+ }, l;
6
+ }
7
+ };
8
+ export {
9
+ n as default
10
+ };
package/es/vue.css ADDED
@@ -0,0 +1 @@
1
+ .btn{color:red}.btn{color:#00f}
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const t={class:"btn"},o={__name:"button",setup(r){return(u,n)=>(e.openBlock(),e.createElementBlock("button",t,"测试按钮111"))}};exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("./button.vue.js"),e=require("../../utils/install.js");e.default.withInstall("Button",t.default);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");;/* empty css */const t={class:"btn"},o={__name:"button",setup(r){return(u,n)=>(e.openBlock(),e.createElementBlock("button",t,"测试按钮22"))}};exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";const t=require("./button.vue.js"),e=require("../../utils/install.js");e.default.withInstall("Button2",t.default);
@@ -0,0 +1 @@
1
+ "use strict";require("./button/index.js");require("./button2/index.js");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s={withInstall:function(t,e){return t=t.charAt(0).toUpperCase()+t.slice(1),e.install=l=>{l.component("Fec"+t,e)},e}};exports.default=s;
package/lib/vue.css ADDED
@@ -0,0 +1 @@
1
+ .btn{color:red}.btn{color:#00f}
package/package.json CHANGED
@@ -1,21 +1,15 @@
1
1
  {
2
2
  "name": "@fecp/vue",
3
- "version": "1.0.1",
4
- "type": "module",
5
- "private": false,
6
- "main": "dist/lib/index.js",
7
- "module": "dist/es/index.mjs",
3
+ "version": "1.0.2",
4
+ "main": "lib/index.js",
5
+ "module": "es/index.mjs",
8
6
  "files": [
9
7
  "es",
10
8
  "lib"
11
9
  ],
12
10
  "scripts": {
13
- "build": "vite build",
14
11
  "publish": "npm publish --access public"
15
12
  },
16
- "dependencies": {
17
- "@fec/mobile": "workspace:*"
18
- },
19
13
  "keywords": [
20
14
  "fec",
21
15
  "vue3组件库"
@@ -23,7 +17,7 @@
23
17
  "sideEffects": [
24
18
  "**/*.css"
25
19
  ],
26
- "author": "enzoGuo",
27
- "description": "",
28
- "license": "ISC"
20
+ "author": "",
21
+ "license": "MIT",
22
+ "description": ""
29
23
  }
File without changes