vxe-table 4.8.0 → 4.8.1
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/es/locale/lang/en-US.js +4 -2
- package/es/locale/lang/es-ES.js +4 -2
- package/es/locale/lang/hu-HU.js +4 -2
- package/es/locale/lang/ja-JP.js +4 -2
- package/es/locale/lang/ko-KR.js +4 -2
- package/es/locale/lang/pt-BR.js +4 -2
- package/es/locale/lang/ru-RU.js +4 -2
- package/es/locale/lang/uk-UA.js +4 -2
- package/es/locale/lang/vi-VN.js +4 -2
- package/es/locale/lang/zh-CHT.js +4 -2
- package/es/locale/lang/zh-CN.js +4 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/table/module/edit/hook.js +7 -4
- package/es/table/src/body.js +22 -8
- package/es/table/src/cell.js +53 -24
- package/es/table/src/column.js +3 -1
- package/es/table/src/columnInfo.js +1 -0
- package/es/table/src/emits.js +3 -0
- package/es/table/src/props.js +2 -0
- package/es/table/src/table.js +241 -40
- package/es/table/style.css +74 -2
- package/es/table/style.min.css +1 -1
- package/es/ui/index.js +4 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-table/style.css +74 -2
- package/es/vxe-table/style.min.css +1 -1
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/index.umd.js +359 -82
- package/lib/index.umd.min.js +1 -1
- package/lib/locale/lang/en-US.js +4 -2
- package/lib/locale/lang/en-US.min.js +1 -1
- package/lib/locale/lang/en-US.umd.js +4 -2
- package/lib/locale/lang/es-ES.js +4 -2
- package/lib/locale/lang/es-ES.min.js +1 -1
- package/lib/locale/lang/es-ES.umd.js +4 -2
- package/lib/locale/lang/hu-HU.js +4 -2
- package/lib/locale/lang/hu-HU.min.js +1 -1
- package/lib/locale/lang/hu-HU.umd.js +4 -2
- package/lib/locale/lang/ja-JP.js +4 -2
- package/lib/locale/lang/ja-JP.min.js +1 -1
- package/lib/locale/lang/ja-JP.umd.js +4 -2
- package/lib/locale/lang/ko-KR.js +4 -2
- package/lib/locale/lang/ko-KR.min.js +1 -1
- package/lib/locale/lang/ko-KR.umd.js +4 -2
- package/lib/locale/lang/pt-BR.js +4 -2
- package/lib/locale/lang/pt-BR.min.js +1 -1
- package/lib/locale/lang/pt-BR.umd.js +4 -2
- package/lib/locale/lang/ru-RU.js +4 -2
- package/lib/locale/lang/ru-RU.min.js +1 -1
- package/lib/locale/lang/ru-RU.umd.js +4 -2
- package/lib/locale/lang/uk-UA.js +4 -2
- package/lib/locale/lang/uk-UA.min.js +1 -1
- package/lib/locale/lang/uk-UA.umd.js +4 -2
- package/lib/locale/lang/vi-VN.js +4 -2
- package/lib/locale/lang/vi-VN.min.js +1 -1
- package/lib/locale/lang/zh-CHT.js +4 -2
- package/lib/locale/lang/zh-CHT.min.js +1 -1
- package/lib/locale/lang/zh-CN.js +4 -2
- package/lib/locale/lang/zh-CN.min.js +1 -1
- package/lib/locale/lang/zh-CN.umd.js +4 -2
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/table/module/edit/hook.js +8 -4
- package/lib/table/module/edit/hook.min.js +1 -1
- package/lib/table/src/body.js +18 -5
- package/lib/table/src/body.min.js +1 -1
- package/lib/table/src/cell.js +60 -24
- package/lib/table/src/cell.min.js +1 -1
- package/lib/table/src/column.js +3 -1
- package/lib/table/src/column.min.js +1 -1
- package/lib/table/src/columnInfo.js +1 -0
- package/lib/table/src/columnInfo.min.js +1 -1
- package/lib/table/src/emits.js +1 -1
- package/lib/table/src/emits.min.js +1 -1
- package/lib/table/src/props.js +2 -0
- package/lib/table/src/props.min.js +1 -1
- package/lib/table/src/table.js +258 -43
- package/lib/table/src/table.min.js +1 -1
- package/lib/table/style/style.css +74 -2
- package/lib/table/style/style.min.css +1 -1
- package/lib/ui/index.js +4 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-table/style/style.css +74 -2
- package/lib/vxe-table/style/style.min.css +1 -1
- package/package.json +2 -2
- package/packages/locale/lang/en-US.ts +4 -2
- package/packages/locale/lang/es-ES.ts +4 -2
- package/packages/locale/lang/hu-HU.ts +4 -2
- package/packages/locale/lang/ja-JP.ts +4 -2
- package/packages/locale/lang/ko-KR.ts +4 -2
- package/packages/locale/lang/pt-BR.ts +4 -2
- package/packages/locale/lang/ru-RU.ts +4 -2
- package/packages/locale/lang/uk-UA.ts +4 -2
- package/packages/locale/lang/vi-VN.ts +4 -2
- package/packages/locale/lang/zh-CHT.ts +4 -2
- package/packages/locale/lang/zh-CN.ts +4 -2
- package/packages/table/module/custom/panel.ts +1 -1
- package/packages/table/module/edit/hook.ts +7 -4
- package/packages/table/src/body.ts +22 -8
- package/packages/table/src/cell.ts +57 -24
- package/packages/table/src/column.ts +3 -1
- package/packages/table/src/columnInfo.ts +1 -0
- package/packages/table/src/emits.ts +4 -0
- package/packages/table/src/props.ts +2 -0
- package/packages/table/src/table.ts +258 -42
- package/packages/ui/index.ts +3 -0
- package/styles/components/table-module/custom.scss +9 -3
- package/styles/components/table.scss +80 -0
- /package/es/{iconfont.1730681238555.ttf → iconfont.1730873064176.ttf} +0 -0
- /package/es/{iconfont.1730681238555.woff → iconfont.1730873064176.woff} +0 -0
- /package/es/{iconfont.1730681238555.woff2 → iconfont.1730873064176.woff2} +0 -0
- /package/lib/{iconfont.1730681238555.ttf → iconfont.1730873064176.ttf} +0 -0
- /package/lib/{iconfont.1730681238555.woff → iconfont.1730873064176.woff} +0 -0
- /package/lib/{iconfont.1730681238555.woff2 → iconfont.1730873064176.woff2} +0 -0
|
@@ -1237,6 +1237,86 @@
|
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
+
/*拖拽行*/
|
|
1241
|
+
.vxe-cell--drag-handle {
|
|
1242
|
+
user-select: none;
|
|
1243
|
+
& + span {
|
|
1244
|
+
padding-left: 0.5em;
|
|
1245
|
+
}
|
|
1246
|
+
&:not(.is--disabled) {
|
|
1247
|
+
cursor: grab;
|
|
1248
|
+
&:active {
|
|
1249
|
+
cursor: grabbing;
|
|
1250
|
+
}
|
|
1251
|
+
&:hover {
|
|
1252
|
+
color: var(--vxe-ui-font-primary-color);
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
&.is--disabled {
|
|
1256
|
+
color: var(--vxe-ui-input-disabled-color);
|
|
1257
|
+
cursor: not-allowed;
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
.vxe-body--row {
|
|
1261
|
+
&.row--drag-origin {
|
|
1262
|
+
& > .vxe-body--column {
|
|
1263
|
+
& > .vxe-cell {
|
|
1264
|
+
opacity: 0.5;
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
&.row--drag-active-target {
|
|
1269
|
+
& > .vxe-body--column {
|
|
1270
|
+
&::after {
|
|
1271
|
+
display: none;
|
|
1272
|
+
content: "";
|
|
1273
|
+
position: absolute;
|
|
1274
|
+
left: 0;
|
|
1275
|
+
width: 100%;
|
|
1276
|
+
height: 2px;
|
|
1277
|
+
background-color: var(--vxe-ui-font-primary-color);
|
|
1278
|
+
z-index: 12;
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
&[drag-pos="top"] {
|
|
1282
|
+
& > .vxe-body--column {
|
|
1283
|
+
&::after {
|
|
1284
|
+
display: block;
|
|
1285
|
+
top: 0;
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
&[drag-pos="bottom"] {
|
|
1290
|
+
& > .vxe-body--column {
|
|
1291
|
+
&::after {
|
|
1292
|
+
display: block;
|
|
1293
|
+
bottom: 0;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
.vxe-body--row-list-move {
|
|
1300
|
+
transition: transform 0.35s;
|
|
1301
|
+
}
|
|
1302
|
+
.vxe-table--row-drag-hint {
|
|
1303
|
+
display: none;
|
|
1304
|
+
position: absolute;
|
|
1305
|
+
top: 0;
|
|
1306
|
+
left: 0;
|
|
1307
|
+
padding: 0.6em 1em 0.6em 1.6em;
|
|
1308
|
+
max-width: 50%;
|
|
1309
|
+
min-width: 100px;
|
|
1310
|
+
border-radius: var(--vxe-ui-border-radius);
|
|
1311
|
+
overflow: hidden;
|
|
1312
|
+
text-overflow: ellipsis;
|
|
1313
|
+
white-space: nowrap;
|
|
1314
|
+
user-select: none;
|
|
1315
|
+
pointer-events: none;
|
|
1316
|
+
background-color: var(--vxe-ui-layout-background-color);
|
|
1317
|
+
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
1318
|
+
z-index: 33;
|
|
1319
|
+
}
|
|
1240
1320
|
|
|
1241
1321
|
/*溢出列*/
|
|
1242
1322
|
.vxe-header--column,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|