@web-utils/component 2.0.3 → 2.0.5

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/package.json CHANGED
@@ -1,162 +1,163 @@
1
- {
2
- "name": "@web-utils/component",
3
- "version": "2.0.3",
4
- "type": "module",
5
- "private": false,
6
- "license": "MIT",
7
- "main": "./dist/index.es.js",
8
- "module": "./dist/index.es.js",
9
- "exports": {
10
- ".": {
11
- "require": "./dist/index.es.js",
12
- "import": "./dist/index.es.js"
13
- },
14
- "./*": "./*"
15
- },
16
- "files": [
17
- "dist",
18
- "web-types.json"
19
- ],
20
- "web-types": "web-types.json",
21
- "scripts": {
22
- "dev": "vite --host",
23
- "serve": "vite preview",
24
- "build": "vite build",
25
- "build:lib": "node scripts/build.js",
26
- "release": "npm run build:lib && npm publish --access public",
27
- "lint": "eslint src/**/*.{js,jsx,ts,vue} --fix",
28
- "stylelint": "stylelint src/**/*.{scss,css,vue} --fix"
29
- },
30
- "dependencies": {
31
- "@web-utils/core": "^2.0.6",
32
- "codemirror": "^5.65.11",
33
- "echarts": "^5.4.1",
34
- "element-ui": "2.15.6",
35
- "tinymce": "4.5.12",
36
- "@tinymce/tinymce-vue": "3.2.8",
37
- "simple-uploader.js": "^0.6.0",
38
- "lodash": "^4.17.21",
39
- "overlayscrollbars": "^1.13.3",
40
- "photoswipe": "^4.1.3",
41
- "resize-detector": "^0.3.0"
42
- },
43
- "devDependencies": {
44
- "@babel/preset-env": "^7.20.2",
45
- "@rollup/plugin-babel": "^6.0.3",
46
- "@types/lodash": "^4.14.191",
47
- "@types/node": "^16.18.10",
48
- "@types/qrcode": "^1.5.0",
49
- "@types/uuid": "^8.3.4",
50
- "@typescript-eslint/eslint-plugin": "^5.47.0",
51
- "@typescript-eslint/parser": "^5.47.0",
52
- "@vue/babel-preset-jsx": "^1.4.0",
53
- "@vue/eslint-config-typescript": "^11.0.2",
54
- "@web-utils/stylelint-config-scss": "^1.0.2",
55
- "chalk": "^5.2.0",
56
- "eslint": "^8.30.0",
57
- "eslint-plugin-vue": "^9.8.0",
58
- "globby": "^13.1.3",
59
- "sass": "^1.57.1",
60
- "slash": "^5.0.0",
61
- "stylelint": "^14.16.0",
62
- "typescript": "^4.6.4",
63
- "vite": "^4.0.3",
64
- "vite-plugin-inspect": "^0.7.11",
65
- "vite-plugin-style-import": "^1.4.1",
66
- "vite-plugin-vue2": "^2.0.3",
67
- "vue": "^2.7.14",
68
- "vue-docgen-api": "^4.56.2",
69
- "vue-router": "^3.6.5",
70
- "vue-template-compiler": "^2.7.14"
71
- },
72
- "stylelint": {
73
- "extends": [
74
- "@web-utils/stylelint-config-scss"
75
- ],
76
- "rules": {
77
- "max-nesting-depth": 6,
78
- "at-rule-no-unknown": [
79
- true,
80
- {
81
- "ignoreAtRules": [
82
- "function",
83
- "if",
84
- "return",
85
- "include",
86
- "extend",
87
- "mixin",
88
- "else",
89
- "while",
90
- "for",
91
- "use",
92
- "each"
93
- ]
94
- }
95
- ]
96
- }
97
- },
98
- "eslintConfig": {
99
- "root": true,
100
- "env": {
101
- "vue/setup-compiler-macros": true
102
- },
103
- "globals": {},
104
- "parser": "vue-eslint-parser",
105
- "parserOptions": {
106
- "parser": "@typescript-eslint/parser",
107
- "sourceType": "module",
108
- "ecmaVersion": 2020,
109
- "ecmaFeatures": {
110
- "jsx": true
111
- }
112
- },
113
- "extends": [
114
- "@vue/typescript",
115
- "plugin:vue/recommended"
116
- ],
117
- "rules": {
118
- "semi": [
119
- "error",
120
- "never"
121
- ],
122
- "quotes": [
123
- "error",
124
- "single"
125
- ],
126
- "vue/no-deprecated-dollar-listeners-api": "off",
127
- "vue/multi-word-component-names": "off",
128
- "vue/no-v-html": "off",
129
- "vue/require-default-prop": "off",
130
- "vue/no-deprecated-destroyed-lifecycle": "off",
131
- "vue/html-closing-bracket-newline": [
132
- "error",
133
- {
134
- "singleline": "never",
135
- "multiline": "never"
136
- }
137
- ],
138
- "vue/max-attributes-per-line": [
139
- "error",
140
- {
141
- "singleline": 1000,
142
- "multiline": 1
143
- }
144
- ],
145
- "vue/first-attribute-linebreak": [
146
- "error",
147
- {
148
- "singleline": "ignore",
149
- "multiline": "beside"
150
- }
151
- ],
152
- "vue/html-closing-bracket-spacing": [
153
- "error",
154
- {
155
- "startTag": "never",
156
- "endTag": "never",
157
- "selfClosingTag": "never"
158
- }
159
- ]
160
- }
161
- }
162
- }
1
+ {
2
+ "name": "@web-utils/component",
3
+ "version": "2.0.5",
4
+ "type": "module",
5
+ "private": false,
6
+ "license": "MIT",
7
+ "main": "./dist/index.es.js",
8
+ "module": "./dist/index.es.js",
9
+ "exports": {
10
+ ".": {
11
+ "require": "./dist/index.es.js",
12
+ "import": "./dist/index.es.js"
13
+ },
14
+ "./*": "./*"
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "web-types.json"
19
+ ],
20
+ "web-types": "web-types.json",
21
+ "scripts": {
22
+ "dev": "vite --host",
23
+ "serve": "vite preview",
24
+ "build": "vite build",
25
+ "build:lib": "node scripts/build.js",
26
+ "release": "npm run build:lib && npm publish --access public",
27
+ "lint": "eslint src/**/*.{js,jsx,ts,vue} --fix",
28
+ "stylelint": "stylelint src/**/*.{scss,css,vue} --fix"
29
+ },
30
+ "dependencies": {
31
+ "@tinymce/tinymce-vue": "3.2.8",
32
+ "@web-utils/core": "^2.0.6",
33
+ "codemirror": "^5.65.11",
34
+ "echarts": "^5.4.1",
35
+ "element-ui": "2.15.6",
36
+ "lodash": "^4.17.21",
37
+ "overlayscrollbars": "^1.13.3",
38
+ "photoswipe": "^4.1.3",
39
+ "resize-detector": "^0.3.0",
40
+ "simple-uploader.js": "^0.6.0",
41
+ "tinymce": "4.5.12",
42
+ "viewerjs": "^1.11.1"
43
+ },
44
+ "devDependencies": {
45
+ "@babel/preset-env": "^7.20.2",
46
+ "@rollup/plugin-babel": "^6.0.3",
47
+ "@types/lodash": "^4.14.191",
48
+ "@types/node": "^16.18.10",
49
+ "@types/qrcode": "^1.5.0",
50
+ "@types/uuid": "^8.3.4",
51
+ "@typescript-eslint/eslint-plugin": "^5.47.0",
52
+ "@typescript-eslint/parser": "^5.47.0",
53
+ "@vue/babel-preset-jsx": "^1.4.0",
54
+ "@vue/eslint-config-typescript": "^11.0.2",
55
+ "@web-utils/stylelint-config-scss": "^1.0.2",
56
+ "chalk": "^5.2.0",
57
+ "eslint": "^8.30.0",
58
+ "eslint-plugin-vue": "^9.8.0",
59
+ "globby": "^13.1.3",
60
+ "sass": "^1.57.1",
61
+ "slash": "^5.0.0",
62
+ "stylelint": "^14.16.0",
63
+ "typescript": "^4.6.4",
64
+ "vite": "^4.0.3",
65
+ "vite-plugin-inspect": "^0.7.11",
66
+ "vite-plugin-style-import": "^1.4.1",
67
+ "vite-plugin-vue2": "^2.0.3",
68
+ "vue": "^2.7.14",
69
+ "vue-docgen-api": "^4.56.2",
70
+ "vue-router": "^3.6.5",
71
+ "vue-template-compiler": "^2.7.14"
72
+ },
73
+ "stylelint": {
74
+ "extends": [
75
+ "@web-utils/stylelint-config-scss"
76
+ ],
77
+ "rules": {
78
+ "max-nesting-depth": 6,
79
+ "at-rule-no-unknown": [
80
+ true,
81
+ {
82
+ "ignoreAtRules": [
83
+ "function",
84
+ "if",
85
+ "return",
86
+ "include",
87
+ "extend",
88
+ "mixin",
89
+ "else",
90
+ "while",
91
+ "for",
92
+ "use",
93
+ "each"
94
+ ]
95
+ }
96
+ ]
97
+ }
98
+ },
99
+ "eslintConfig": {
100
+ "root": true,
101
+ "env": {
102
+ "vue/setup-compiler-macros": true
103
+ },
104
+ "globals": {},
105
+ "parser": "vue-eslint-parser",
106
+ "parserOptions": {
107
+ "parser": "@typescript-eslint/parser",
108
+ "sourceType": "module",
109
+ "ecmaVersion": 2020,
110
+ "ecmaFeatures": {
111
+ "jsx": true
112
+ }
113
+ },
114
+ "extends": [
115
+ "@vue/typescript",
116
+ "plugin:vue/recommended"
117
+ ],
118
+ "rules": {
119
+ "semi": [
120
+ "error",
121
+ "never"
122
+ ],
123
+ "quotes": [
124
+ "error",
125
+ "single"
126
+ ],
127
+ "vue/no-deprecated-dollar-listeners-api": "off",
128
+ "vue/multi-word-component-names": "off",
129
+ "vue/no-v-html": "off",
130
+ "vue/require-default-prop": "off",
131
+ "vue/no-deprecated-destroyed-lifecycle": "off",
132
+ "vue/html-closing-bracket-newline": [
133
+ "error",
134
+ {
135
+ "singleline": "never",
136
+ "multiline": "never"
137
+ }
138
+ ],
139
+ "vue/max-attributes-per-line": [
140
+ "error",
141
+ {
142
+ "singleline": 1000,
143
+ "multiline": 1
144
+ }
145
+ ],
146
+ "vue/first-attribute-linebreak": [
147
+ "error",
148
+ {
149
+ "singleline": "ignore",
150
+ "multiline": "beside"
151
+ }
152
+ ],
153
+ "vue/html-closing-bracket-spacing": [
154
+ "error",
155
+ {
156
+ "startTag": "never",
157
+ "endTag": "never",
158
+ "selfClosingTag": "never"
159
+ }
160
+ ]
161
+ }
162
+ }
163
+ }
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "2.0.3",
5
+ "version": "2.0.5",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -1545,6 +1545,14 @@
1545
1545
  "type": "boolean"
1546
1546
  },
1547
1547
  "default": "true"
1548
+ },
1549
+ {
1550
+ "name": "embed",
1551
+ "value": {
1552
+ "kind": "expression",
1553
+ "type": "boolean"
1554
+ },
1555
+ "default": ""
1548
1556
  }
1549
1557
  ],
1550
1558
  "events": [
@@ -7100,7 +7108,50 @@
7100
7108
  "kind": "expression",
7101
7109
  "type": "string"
7102
7110
  },
7103
- "default": "'https://www.baidu.com'"
7111
+ "default": "'http://192.168.0.107:31221/wallboard'"
7112
+ },
7113
+ {
7114
+ "name": "visible",
7115
+ "value": {
7116
+ "kind": "expression",
7117
+ "type": "boolean"
7118
+ },
7119
+ "default": ""
7120
+ }
7121
+ ]
7122
+ },
7123
+ {
7124
+ "name": "ImageViewer",
7125
+ "description": "",
7126
+ "attributes": [
7127
+ {
7128
+ "name": "images",
7129
+ "value": {
7130
+ "kind": "expression",
7131
+ "type": "array"
7132
+ },
7133
+ "default": ""
7134
+ },
7135
+ {
7136
+ "name": "url",
7137
+ "value": {
7138
+ "kind": "expression",
7139
+ "type": "string"
7140
+ },
7141
+ "default": "'data-src'"
7142
+ },
7143
+ {
7144
+ "name": "lazy",
7145
+ "value": {
7146
+ "kind": "expression",
7147
+ "type": "boolean"
7148
+ },
7149
+ "default": ""
7150
+ }
7151
+ ],
7152
+ "slots": [
7153
+ {
7154
+ "name": "default"
7104
7155
  }
7105
7156
  ]
7106
7157
  },