@fecp/vue 1.0.1 → 1.0.4
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 +15 -0
- package/es/src/components/button/button.vue.mjs +14 -0
- package/es/src/components/button/index.mjs +7 -0
- package/es/src/components/button2/button.vue.mjs +14 -0
- package/es/src/components/button2/index.mjs +7 -0
- package/es/src/components/index.mjs +6 -0
- package/es/src/utils/install.mjs +12 -0
- package/es/vue.css +6 -0
- package/lib/index.js +15 -0
- package/lib/src/components/button/button.vue.js +14 -0
- package/lib/src/components/button/index.js +7 -0
- package/lib/src/components/button2/button.vue.js +14 -0
- package/lib/src/components/button2/index.js +7 -0
- package/lib/src/components/index.js +6 -0
- package/lib/src/utils/install.js +12 -0
- package/lib/vue.css +6 -0
- package/package.json +7 -13
- package/dist/lib/index.js +0 -1
package/es/index.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as index$1 from "./src/components/index.mjs";
|
|
2
|
+
import { Button } from "./src/components/button/index.mjs";
|
|
3
|
+
import { picker } from "./src/components/button2/index.mjs";
|
|
4
|
+
const index = {
|
|
5
|
+
install: (app) => {
|
|
6
|
+
for (let c in index$1) {
|
|
7
|
+
app.use(index$1[c]);
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
Button,
|
|
13
|
+
index as default,
|
|
14
|
+
picker
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createElementBlock, openBlock } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
const _hoisted_1 = { class: "btn" };
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
__name: "button",
|
|
6
|
+
setup(__props) {
|
|
7
|
+
return (_ctx, _cache) => {
|
|
8
|
+
return openBlock(), createElementBlock("button", _hoisted_1, "测试按钮111");
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
_sfc_main as default
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createElementBlock, openBlock } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
const _hoisted_1 = { class: "btn" };
|
|
4
|
+
const _sfc_main = {
|
|
5
|
+
__name: "button",
|
|
6
|
+
setup(__props) {
|
|
7
|
+
return (_ctx, _cache) => {
|
|
8
|
+
return openBlock(), createElementBlock("button", _hoisted_1, "测试按钮22");
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
_sfc_main as default
|
|
14
|
+
};
|
package/es/vue.css
ADDED
package/lib/index.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const index$3 = require("./src/components/index.js");
|
|
4
|
+
const index$1 = require("./src/components/button/index.js");
|
|
5
|
+
const index$2 = require("./src/components/button2/index.js");
|
|
6
|
+
const index = {
|
|
7
|
+
install: (app) => {
|
|
8
|
+
for (let c in index$3) {
|
|
9
|
+
app.use(index$3[c]);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
exports.Button = index$1.Button;
|
|
14
|
+
exports.picker = index$2.picker;
|
|
15
|
+
exports.default = index;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
;/* empty css */
|
|
5
|
+
const _hoisted_1 = { class: "btn" };
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: "button",
|
|
8
|
+
setup(__props) {
|
|
9
|
+
return (_ctx, _cache) => {
|
|
10
|
+
return vue.openBlock(), vue.createElementBlock("button", _hoisted_1, "测试按钮111");
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const button = require("./button.vue.js");
|
|
4
|
+
const install = require("../../utils/install.js");
|
|
5
|
+
const Button = install.default.withInstall("Button", button.default);
|
|
6
|
+
exports.Button = Button;
|
|
7
|
+
exports.default = Button;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
;/* empty css */
|
|
5
|
+
const _hoisted_1 = { class: "btn" };
|
|
6
|
+
const _sfc_main = {
|
|
7
|
+
__name: "button",
|
|
8
|
+
setup(__props) {
|
|
9
|
+
return (_ctx, _cache) => {
|
|
10
|
+
return vue.openBlock(), vue.createElementBlock("button", _hoisted_1, "测试按钮22");
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const button = require("./button.vue.js");
|
|
4
|
+
const install = require("../../utils/install.js");
|
|
5
|
+
const picker = install.default.withInstall("Picker", button.default);
|
|
6
|
+
exports.default = picker;
|
|
7
|
+
exports.picker = picker;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const install = {
|
|
4
|
+
withInstall: function(name, comp) {
|
|
5
|
+
name = name.charAt(0).toUpperCase() + name.slice(1);
|
|
6
|
+
comp.install = (app) => {
|
|
7
|
+
app.component("Fec" + name, comp);
|
|
8
|
+
};
|
|
9
|
+
return comp;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
exports.default = install;
|
package/lib/vue.css
ADDED
package/package.json
CHANGED
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fecp/vue",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"main": "dist/lib/index.js",
|
|
7
|
-
"module": "dist/es/index.mjs",
|
|
3
|
+
"version": "1.0.4",
|
|
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
|
+
"fecp",
|
|
21
15
|
"vue3组件库"
|
|
22
16
|
],
|
|
23
17
|
"sideEffects": [
|
|
24
18
|
"**/*.css"
|
|
25
19
|
],
|
|
26
|
-
"author": "
|
|
27
|
-
"
|
|
28
|
-
"
|
|
20
|
+
"author": "",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"description": ""
|
|
29
23
|
}
|
package/dist/lib/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./src/components/index.js"),l={install:t=>{for(let i in e)t.use(e[i])}};exports.default=l;
|