@web-utils/component 1.2.0 → 1.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.
package/package.json CHANGED
@@ -1,162 +1,162 @@
1
- {
2
- "name": "@web-utils/component",
3
- "version": "1.2.0",
4
- "private": false,
5
- "license": "MIT",
6
- "main": "./dist/index.es.js",
7
- "module": "./dist/index.es.js",
8
- "exports": {
9
- ".": {
10
- "require": "./dist/index.es.js",
11
- "import": "./dist/index.es.js"
12
- },
13
- "./*": "./*"
14
- },
15
- "files": [
16
- "dist",
17
- "web-types.json"
18
- ],
19
- "web-types": "web-types.json",
20
- "scripts": {
21
- "dev": "vite --host",
22
- "serve": "vite preview",
23
- "build": "vite build",
24
- "build:lib": "node scripts/build.js",
25
- "release": "npm run build:lib && npm publish --access public",
26
- "lint": "eslint src/**/*.{js,jsx,ts,vue} --fix",
27
- "stylelint": "stylelint src/**/*.{scss,css,vue} --fix"
28
- },
29
- "dependencies": {
30
- "@web-utils/core": "^1.4.10",
31
- "codemirror": "^5.65.3",
32
- "echarts": "^5.3.2",
33
- "element-ui": "2.15.6",
34
- "tinymce": "4.5.12",
35
- "@tinymce/tinymce-vue": "3.2.8",
36
- "simple-uploader.js": "^0.6.0",
37
- "lodash": "^4.17.21",
38
- "overlayscrollbars": "^1.13.1",
39
- "photoswipe": "^4.1.3",
40
- "resize-detector": "^0.3.0"
41
- },
42
- "devDependencies": {
43
- "@babel/preset-env": "^7.17.10",
44
- "@rollup/plugin-babel": "^5.3.1",
45
- "@types/lodash": "^4.14.182",
46
- "@types/node": "^12.20.37",
47
- "@types/qrcode": "^1.4.2",
48
- "@types/uuid": "^8.3.4",
49
- "@typescript-eslint/eslint-plugin": "^5.22.0",
50
- "@typescript-eslint/parser": "^5.22.0",
51
- "@vue/babel-preset-jsx": "^1.2.4",
52
- "@vue/eslint-config-typescript": "^10.0.0",
53
- "@web-utils/stylelint-config-scss": "^1.0.1",
54
- "chalk": "^4.1.2",
55
- "eslint": "^8.15.0",
56
- "eslint-plugin-vue": "^8.7.1",
57
- "execa": "^5.0.0",
58
- "globby": "^11.1.0",
59
- "sass": "^1.51.0",
60
- "slash": "^3.0.0",
61
- "stylelint": "^14.8.2",
62
- "typescript": "^4.6.4",
63
- "vite": "^2.9.8",
64
- "vite-plugin-inspect": "^0.5.0",
65
- "vite-plugin-style-import": "^1.4.1",
66
- "vite-plugin-vue2": "^2.0.0",
67
- "vue": "^2.6.14",
68
- "vue-docgen-api": "^4.46.0",
69
- "vue-router": "^3.5.3",
70
- "vue-template-compiler": "^2.6.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": "1.2.3",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "main": "./dist/index.es.js",
7
+ "module": "./dist/index.es.js",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./dist/index.es.js",
11
+ "import": "./dist/index.es.js"
12
+ },
13
+ "./*": "./*"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "web-types.json"
18
+ ],
19
+ "web-types": "web-types.json",
20
+ "scripts": {
21
+ "dev": "vite --host",
22
+ "serve": "vite preview",
23
+ "build": "vite build",
24
+ "build:lib": "node scripts/build.js",
25
+ "release": "npm run build:lib && npm publish --access public",
26
+ "lint": "eslint src/**/*.{js,jsx,ts,vue} --fix",
27
+ "stylelint": "stylelint src/**/*.{scss,css,vue} --fix"
28
+ },
29
+ "dependencies": {
30
+ "@web-utils/core": "^1.4.12",
31
+ "codemirror": "^5.65.3",
32
+ "echarts": "^5.3.2",
33
+ "element-ui": "2.15.6",
34
+ "tinymce": "4.5.12",
35
+ "@tinymce/tinymce-vue": "3.2.8",
36
+ "simple-uploader.js": "^0.6.0",
37
+ "lodash": "^4.17.21",
38
+ "overlayscrollbars": "^1.13.1",
39
+ "photoswipe": "^4.1.3",
40
+ "resize-detector": "^0.3.0"
41
+ },
42
+ "devDependencies": {
43
+ "@babel/preset-env": "^7.17.10",
44
+ "@rollup/plugin-babel": "^5.3.1",
45
+ "@types/lodash": "^4.14.182",
46
+ "@types/node": "^12.20.37",
47
+ "@types/qrcode": "^1.4.2",
48
+ "@types/uuid": "^8.3.4",
49
+ "@typescript-eslint/eslint-plugin": "^5.22.0",
50
+ "@typescript-eslint/parser": "^5.22.0",
51
+ "@vue/babel-preset-jsx": "^1.2.4",
52
+ "@vue/eslint-config-typescript": "^10.0.0",
53
+ "@web-utils/stylelint-config-scss": "^1.0.1",
54
+ "chalk": "^4.1.2",
55
+ "eslint": "^8.15.0",
56
+ "eslint-plugin-vue": "^8.7.1",
57
+ "execa": "^5.0.0",
58
+ "globby": "^11.1.0",
59
+ "sass": "^1.51.0",
60
+ "slash": "^3.0.0",
61
+ "stylelint": "^14.8.2",
62
+ "typescript": "^4.6.4",
63
+ "vite": "^2.9.8",
64
+ "vite-plugin-inspect": "^0.5.0",
65
+ "vite-plugin-style-import": "^1.4.1",
66
+ "vite-plugin-vue2": "^2.0.0",
67
+ "vue": "^2.6.14",
68
+ "vue-docgen-api": "^4.46.0",
69
+ "vue-router": "^3.5.3",
70
+ "vue-template-compiler": "^2.6.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
+ }
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": "1.2.0",
5
+ "version": "1.2.3",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -8139,6 +8139,20 @@
8139
8139
  }
8140
8140
  ]
8141
8141
  },
8142
+ {
8143
+ "name": "SearchPopover",
8144
+ "description": "",
8145
+ "attributes": [
8146
+ {
8147
+ "name": "services",
8148
+ "value": {
8149
+ "kind": "expression",
8150
+ "type": "array"
8151
+ },
8152
+ "default": ""
8153
+ }
8154
+ ]
8155
+ },
8142
8156
  {
8143
8157
  "name": "SignPanel",
8144
8158
  "description": "",
@@ -9596,6 +9610,51 @@
9596
9610
  "type": "string"
9597
9611
  },
9598
9612
  "default": "''"
9613
+ },
9614
+ {
9615
+ "name": "width",
9616
+ "description": "宽度",
9617
+ "value": {
9618
+ "kind": "expression",
9619
+ "type": "number"
9620
+ },
9621
+ "default": "200"
9622
+ },
9623
+ {
9624
+ "name": "height",
9625
+ "description": "高度",
9626
+ "value": {
9627
+ "kind": "expression",
9628
+ "type": "number"
9629
+ },
9630
+ "default": "150"
9631
+ },
9632
+ {
9633
+ "name": "rotate",
9634
+ "description": "旋转角度 0 到 360",
9635
+ "value": {
9636
+ "kind": "expression",
9637
+ "type": "number"
9638
+ },
9639
+ "default": "-30"
9640
+ },
9641
+ {
9642
+ "name": "color",
9643
+ "description": "文字颜色",
9644
+ "value": {
9645
+ "kind": "expression",
9646
+ "type": "string"
9647
+ },
9648
+ "default": "'rgba(0,0,0,0.15)'"
9649
+ },
9650
+ {
9651
+ "name": "backgroundColor",
9652
+ "description": "背景颜色",
9653
+ "value": {
9654
+ "kind": "expression",
9655
+ "type": "string"
9656
+ },
9657
+ "default": "'rgba(0,0,0,0)'"
9599
9658
  }
9600
9659
  ]
9601
9660
  },