vue-element-ui-x 1.0.31-beta → 1.0.42-beta

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,17 +1,9 @@
1
1
  {
2
2
  "name": "vue-element-ui-x",
3
- "version": "1.0.31-beta",
3
+ "version": "1.0.42-beta",
4
4
  "description": "基于Vue 2 + Element UI的AI聊天组件库",
5
5
  "module": "lib/index.esm.js",
6
6
  "main": "lib/index.common.js",
7
- "jsnext:main": "lib/index.esm.js",
8
- "exports": {
9
- ".": {
10
- "import": "./lib/index.esm.js",
11
- "require": "./lib/index.common.js"
12
- },
13
- "./lib/*": "./lib/*.js"
14
- },
15
7
  "files": [
16
8
  "lib",
17
9
  "src",
@@ -58,6 +50,9 @@
58
50
  "vue": "^2.6.14"
59
51
  },
60
52
  "devDependencies": {
53
+ "@babel/plugin-transform-arrow-functions": "^7.27.1",
54
+ "@babel/plugin-transform-block-scoping": "^7.28.0",
55
+ "@babel/preset-env": "^7.28.0",
61
56
  "babel-loader": "^8.2.3",
62
57
  "cross-env": "^7.0.3",
63
58
  "css-loader": "^5.2.7",
@@ -16,7 +16,7 @@
16
16
  :type="getType(item)"
17
17
  :icon="dotIsIcon ? item.icon : 'el-icon-more'"
18
18
  :color="dotIsIcon ? item.iconColor : null"
19
- :size="dotIsIcon ? item.iconSize : 'normal'"
19
+ :size="dotIsIcon ? item.iconSize || dotSize : 'normal'"
20
20
  :timestamp="getTitle(item)"
21
21
  :hide-timestamp="item.hideTitle"
22
22
  :placement="item.placement || 'top'"
@@ -42,7 +42,10 @@ $--el-x-fill-color: $--background-color-base;
42
42
  &:after {
43
43
  content: '';
44
44
  position: absolute;
45
- inset: 0;
45
+ top: 0;
46
+ right: 0;
47
+ bottom: 0;
48
+ left: 0;
46
49
  pointer-events: none;
47
50
  transition: border-color $--el-x-transition-duration;
48
51
  border-radius: inherit;
@@ -110,9 +113,10 @@ $--el-x-fill-color: $--background-color-base;
110
113
  display: flex;
111
114
  gap: $--el-x-padding-xs;
112
115
  width: 100%;
113
- padding-block: $--el-x-padding-sm;
114
- padding-inline-start: $--el-x-padding;
115
- padding-inline-end: $--el-x-padding-sm;
116
+ padding-top: $--el-x-padding-sm;
117
+ padding-bottom: $--el-x-padding-sm;
118
+ padding-left: $--el-x-padding;
119
+ padding-right: $--el-x-padding-sm;
116
120
  box-sizing: border-box;
117
121
  align-items: flex-end;
118
122