@web-utils/component 2.0.2 → 2.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/dist/chunks/{7af3ceb1.js → 3a79781b.js} +3 -3
- package/dist/chunks/{df803484.js → 41a066be.js} +0 -0
- package/dist/chunks/{163eed3b.js → 5a78e0db.js} +0 -0
- package/dist/chunks/{6499de3a.js → 5d4282fb.js} +0 -0
- package/dist/chunks/{a73fe8ee.js → 61ad06b2.js} +0 -0
- package/dist/chunks/{86bcadec.js → 76680a03.js} +2 -2
- package/dist/chunks/{8bbde9bf.js → 8c0142e0.js} +0 -0
- package/dist/chunks/{90bd3d52.js → 97652d86.js} +5 -5
- package/dist/chunks/{92404ceb.js → b4acd3a6.js} +3 -3
- package/dist/chunks/{2bd4e340.js → f71045fc.js} +0 -0
- package/dist/components/address-input/index.js +2 -2
- package/dist/components/aside-menu/index.js +1 -1
- package/dist/components/awesome-button/index.js +1 -1
- package/dist/components/capsule-tab/index.js +1 -1
- package/dist/components/chunk-file-uploader/index.js +2 -2
- package/dist/components/chunk-file-uploader-button/index.js +2 -2
- package/dist/components/chunk-file-uploader-drop/index.js +2 -2
- package/dist/components/chunk-file-uploader-file/index.js +3 -3
- package/dist/components/chunk-file-uploader-files/index.js +2 -2
- package/dist/components/chunk-file-uploader-list/index.js +2 -2
- package/dist/components/chunk-file-uploader-un-support/index.js +2 -2
- package/dist/components/code-mirror-editor/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/confirm-button/index.js +3 -3
- package/dist/components/confirmable/index.js +2 -2
- package/dist/components/context-menu/index.js +1 -1
- package/dist/components/custom-scrollbar/index.js +2 -3
- package/dist/components/data-table-picker/index.js +5 -5
- package/dist/components/dynamic-table/index.js +6 -6
- package/dist/components/e-charts/index.js +1 -1
- package/dist/components/editable-progress/index.js +1 -1
- package/dist/components/editable-tree/index.js +192 -192
- package/dist/components/egd-collapse/index.js +1 -1
- package/dist/components/egd-collapse-item/index.js +1 -1
- package/dist/components/element-dialog/index.js +7 -6
- package/dist/components/empty-view/index.js +2 -2
- package/dist/components/error-view/index.js +2 -2
- package/dist/components/flex-column/index.js +2 -2
- package/dist/components/flex-item/index.js +2 -2
- package/dist/components/flex-row/index.js +2 -2
- package/dist/components/flex-scroller/index.js +1 -1
- package/dist/components/form-button/index.js +2 -2
- package/dist/components/form-cascader/index.js +4 -4
- package/dist/components/form-checkbox-group/index.js +13 -13
- package/dist/components/form-date-picker/index.js +9 -9
- package/dist/components/form-holder/index.js +3 -3
- package/dist/components/form-input/index.js +3 -3
- package/dist/components/form-input-email/index.js +4 -4
- package/dist/components/form-input-id-card/index.js +4 -4
- package/dist/components/form-input-number/index.js +4 -4
- package/dist/components/form-input-phone-number/index.js +4 -4
- package/dist/components/form-input-time/index.js +6 -6
- package/dist/components/form-item/index.js +4 -5
- package/dist/components/form-item-config-provider/index.js +1 -1
- package/dist/components/form-item-group/index.js +2 -2
- package/dist/components/form-radio-group/index.js +13 -13
- package/dist/components/form-select/index.js +14 -14
- package/dist/components/form-switch/index.js +3 -3
- package/dist/components/form-textarea/index.js +3 -3
- package/dist/components/form-view/index.js +7 -7
- package/dist/components/guide-steps/index.js +1 -1
- package/dist/components/icon-card/index.js +1 -1
- package/dist/components/iframe-window/index.js +22 -61
- package/dist/components/iframe-window/style.css +1 -1
- package/dist/components/input-number/index.js +2 -2
- package/dist/components/input-number-range/index.js +2 -2
- package/dist/components/keep-view-alive/index.js +1 -1
- package/dist/components/loading-view/index.js +2 -2
- package/dist/components/nav-bar/index.js +2 -2
- package/dist/components/not-implement/index.js +2 -2
- package/dist/components/page/index.js +1 -1
- package/dist/components/page-header/index.js +2 -2
- package/dist/components/page-index/index.js +4 -4
- package/dist/components/page-index-top/index.js +3 -3
- package/dist/components/page-skeleton/index.js +1 -1
- package/dist/components/page-skeleton-new/index.js +4 -4
- package/dist/components/pageable-table/index.js +8 -8
- package/dist/components/pageable-view/index.js +5 -5
- package/dist/components/photo-swipe/index.js +5 -5
- package/dist/components/resize-observer/index.js +2 -2
- package/dist/components/search-popover/index.js +6 -6
- package/dist/components/sign-panel/index.js +11 -11
- package/dist/components/split-pane/index.js +1 -1
- package/dist/components/stateful/index.js +1 -1
- package/dist/components/static-pageable-table/index.js +2 -2
- package/dist/components/swiper/index.js +1 -1
- package/dist/components/tab/index.js +2 -2
- package/dist/components/tab-item/index.js +2 -2
- package/dist/components/table-column/index.js +1 -1
- package/dist/components/table-view/index.js +12 -12
- package/dist/components/tag-render/index.js +3 -3
- package/dist/components/tinymce-editor/index.js +3 -3
- package/dist/components/tinymce-wrapper/index.js +393 -393
- package/dist/components/toolbar/index.js +40 -40
- package/dist/components/toolbar-button/index.js +1 -1
- package/dist/components/trigger/index.js +1 -1
- package/dist/components/vue-tags-input/index.js +3 -3
- package/dist/components/watermark/index.js +2 -2
- package/dist/components/x-dialog/index.js +6 -6
- package/dist/index.css +12 -68
- package/dist/index.es.js +617 -656
- package/package.json +163 -162
- package/web-types.json +18 -2
package/package.json
CHANGED
|
@@ -1,162 +1,163 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@web-utils/component",
|
|
3
|
-
"version": "2.0.
|
|
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
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@types/
|
|
48
|
-
"@types/
|
|
49
|
-
"@types/
|
|
50
|
-
"@
|
|
51
|
-
"@typescript-eslint/
|
|
52
|
-
"@
|
|
53
|
-
"@vue/
|
|
54
|
-
"@
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"eslint
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"vite
|
|
65
|
-
"vite-plugin-
|
|
66
|
-
"vite-plugin-
|
|
67
|
-
"
|
|
68
|
-
"vue
|
|
69
|
-
"vue-
|
|
70
|
-
"vue-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"vue/
|
|
128
|
-
"vue/
|
|
129
|
-
"vue/
|
|
130
|
-
"vue/
|
|
131
|
-
"vue/
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
"
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@web-utils/component",
|
|
3
|
+
"version": "2.0.4",
|
|
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.
|
|
5
|
+
"version": "2.0.4",
|
|
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,15 @@
|
|
|
7100
7108
|
"kind": "expression",
|
|
7101
7109
|
"type": "string"
|
|
7102
7110
|
},
|
|
7103
|
-
"default": "'
|
|
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": ""
|
|
7104
7120
|
}
|
|
7105
7121
|
]
|
|
7106
7122
|
},
|