bl-common-vue3 0.2.44 → 0.2.45

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.
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "bl-common-vue3",
3
+ "version": "0.2.44",
4
+ "main": "lib/vue3common.umd.min.js",
5
+ "description": "bailing vue3 common components lib",
6
+ "private": false,
7
+ "scripts": {
8
+ "lib": "vue-cli-service build --target lib --name vue3common --dest lib index.js",
9
+ "serve": "vue-cli-service serve",
10
+ "build": "vue-cli-service build",
11
+ "lint": "vue-cli-service lint",
12
+ "publish": "npm publish --access public"
13
+ },
14
+ "dependencies": {
15
+ "@ant-design/icons-vue": "^6.0.1",
16
+ "ant-design-vue": "^2.2.8",
17
+ "axios": "^0.21.4",
18
+ "core-js": "^3.6.5",
19
+ "less": "^4.1.1",
20
+ "less-loader": "^6.0.0",
21
+ "moment": "^2.29.1",
22
+ "qrcode.vue": "^3.3.3",
23
+ "style-resources-loader": "^1.5.0",
24
+ "vue": "^3.0.4"
25
+ },
26
+ "devDependencies": {
27
+ "@vue/cli-plugin-babel": "~4.5.13",
28
+ "@vue/cli-plugin-eslint": "~4.5.13",
29
+ "@vue/cli-service": "~4.5.13",
30
+ "@vue/compiler-sfc": "^3.0.0",
31
+ "babel-eslint": "^10.1.0",
32
+ "eslint": "^6.7.2",
33
+ "eslint-plugin-vue": "^7.0.0"
34
+ },
35
+ "eslintConfig": {
36
+ "root": true,
37
+ "env": {
38
+ "node": true
39
+ },
40
+ "extends": [
41
+ "plugin:vue/vue3-essential",
42
+ "eslint:recommended"
43
+ ],
44
+ "parserOptions": {
45
+ "parser": "babel-eslint"
46
+ },
47
+ "rules": {}
48
+ },
49
+ "browserslist": [
50
+ "> 1%",
51
+ "last 2 versions",
52
+ "not dead"
53
+ ]
54
+ }
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "bl-common-vue3",
3
+ "version": "0.2.45",
4
+ "main": "lib/vue3common.umd.min.js",
5
+ "description": "bailing vue3 common components lib",
6
+ "private": false,
7
+ "scripts": {
8
+ "lib": "vue-cli-service build --target lib --name vue3common --dest lib index.js",
9
+ "serve": "vue-cli-service serve",
10
+ "build": "vue-cli-service build",
11
+ "lint": "vue-cli-service lint",
12
+ "publish": "npm publish --access public"
13
+ },
14
+ "dependencies": {
15
+ "@ant-design/icons-vue": "^6.0.1",
16
+ "ant-design-vue": "^2.2.8",
17
+ "axios": "^0.21.4",
18
+ "core-js": "^3.6.5",
19
+ "less": "^4.1.1",
20
+ "less-loader": "^6.0.0",
21
+ "moment": "^2.29.1",
22
+ "qrcode.vue": "^3.3.3",
23
+ "style-resources-loader": "^1.5.0",
24
+ "vue": "^3.0.4"
25
+ },
26
+ "devDependencies": {
27
+ "@vue/cli-plugin-babel": "~4.5.13",
28
+ "@vue/cli-plugin-eslint": "~4.5.13",
29
+ "@vue/cli-service": "~4.5.13",
30
+ "@vue/compiler-sfc": "^3.0.0",
31
+ "babel-eslint": "^10.1.0",
32
+ "eslint": "^6.7.2",
33
+ "eslint-plugin-vue": "^7.0.0"
34
+ },
35
+ "eslintConfig": {
36
+ "root": true,
37
+ "env": {
38
+ "node": true
39
+ },
40
+ "extends": [
41
+ "plugin:vue/vue3-essential",
42
+ "eslint:recommended"
43
+ ],
44
+ "parserOptions": {
45
+ "parser": "babel-eslint"
46
+ },
47
+ "rules": {}
48
+ },
49
+ "browserslist": [
50
+ "> 1%",
51
+ "last 2 versions",
52
+ "not dead"
53
+ ]
54
+ }
@@ -0,0 +1,17 @@
1
+ import { createFromIconfontCN } from "@ant-design/icons-vue";
2
+ import { defineComponent } from "vue";
3
+ const BLIcon = createFromIconfontCN({
4
+ scriptUrl: "https://at.alicdn.com/t/c/font_3830450_qycn1dphw6e.js", // 在 iconfont.cn 上生成
5
+ });
6
+
7
+ export default defineComponent({
8
+ props: {
9
+ type: {
10
+ type: String,
11
+ default: "",
12
+ },
13
+ },
14
+ setup(props) {
15
+ return () => <BLIcon type={`bl-${props.type}`} />;
16
+ },
17
+ });
@@ -0,0 +1,18 @@
1
+ import { createFromIconfontCN } from "@ant-design/icons-vue";
2
+ import { defineComponent } from "vue";
3
+ const BLIcon = createFromIconfontCN({
4
+ scriptUrl: "https://at.alicdn.com/t/c/font_3830450_qycn1dphw6e.js", // 在 iconfont.cn 上生成
5
+ });
6
+
7
+ export default defineComponent({
8
+ name: "BlIcon",
9
+ props: {
10
+ type: {
11
+ type: String,
12
+ default: "",
13
+ },
14
+ },
15
+ setup(props) {
16
+ return () => <BLIcon type={`bl-${props.type}`} />;
17
+ },
18
+ });