vxe-table 3.10.6 → 3.10.7

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.
Files changed (50) hide show
  1. package/es/style.css +1 -1
  2. package/es/style.min.css +1 -1
  3. package/es/table/module/custom/panel.js +28 -6
  4. package/es/table/module/validator/mixin.js +1 -1
  5. package/es/table/src/body.js +14 -8
  6. package/es/table/src/methods.js +13 -1
  7. package/es/table/src/table.js +10 -3
  8. package/es/table/style.css +25 -15
  9. package/es/table/style.min.css +1 -1
  10. package/es/ui/index.js +3 -2
  11. package/es/ui/src/log.js +1 -1
  12. package/es/vxe-table/style.css +25 -15
  13. package/es/vxe-table/style.min.css +1 -1
  14. package/lib/index.umd.js +69 -16
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/style.css +1 -1
  17. package/lib/style.min.css +1 -1
  18. package/lib/table/module/custom/panel.js +30 -5
  19. package/lib/table/module/custom/panel.min.js +1 -1
  20. package/lib/table/module/validator/mixin.js +1 -1
  21. package/lib/table/module/validator/mixin.min.js +1 -1
  22. package/lib/table/src/body.js +5 -3
  23. package/lib/table/src/body.min.js +1 -1
  24. package/lib/table/src/methods.js +16 -1
  25. package/lib/table/src/methods.min.js +1 -1
  26. package/lib/table/src/table.js +13 -3
  27. package/lib/table/src/table.min.js +1 -1
  28. package/lib/table/style/style.css +25 -15
  29. package/lib/table/style/style.min.css +1 -1
  30. package/lib/ui/index.js +3 -2
  31. package/lib/ui/index.min.js +1 -1
  32. package/lib/ui/src/log.js +1 -1
  33. package/lib/ui/src/log.min.js +1 -1
  34. package/lib/vxe-table/style/style.css +25 -15
  35. package/lib/vxe-table/style/style.min.css +1 -1
  36. package/package.json +2 -2
  37. package/packages/table/module/custom/panel.ts +29 -6
  38. package/packages/table/module/validator/mixin.ts +6 -1
  39. package/packages/table/src/body.ts +14 -8
  40. package/packages/table/src/methods.ts +12 -1
  41. package/packages/table/src/table.ts +10 -3
  42. package/packages/ui/index.ts +2 -1
  43. package/styles/components/table-module/custom.scss +2 -1
  44. package/styles/components/table.scss +36 -26
  45. /package/es/{iconfont.1730978752470.ttf → iconfont.1731028570313.ttf} +0 -0
  46. /package/es/{iconfont.1730978752470.woff → iconfont.1731028570313.woff} +0 -0
  47. /package/es/{iconfont.1730978752470.woff2 → iconfont.1731028570313.woff2} +0 -0
  48. /package/lib/{iconfont.1730978752470.ttf → iconfont.1731028570313.ttf} +0 -0
  49. /package/lib/{iconfont.1730978752470.woff → iconfont.1731028570313.woff} +0 -0
  50. /package/lib/{iconfont.1730978752470.woff2 → iconfont.1731028570313.woff2} +0 -0
@@ -292,7 +292,8 @@
292
292
  text-align: center;
293
293
  }
294
294
  &.col--resizable {
295
- & > .vxe-input {
295
+ & > .vxe-input,
296
+ & > .vxe-number-input {
296
297
  width: 100%;
297
298
  }
298
299
  }
@@ -1299,7 +1299,7 @@
1299
1299
  .vxe-body--row-list-move {
1300
1300
  transition: transform 0.35s;
1301
1301
  }
1302
- .vxe-table--row-drag-hint {
1302
+ .vxe-table--row-drag-tip {
1303
1303
  display: none;
1304
1304
  position: absolute;
1305
1305
  top: 0;
@@ -1427,30 +1427,40 @@
1427
1427
 
1428
1428
  /*校验不通过*/
1429
1429
  .vxe-body--column {
1430
+ .vxe-cell--valid-error-tip {
1431
+ width: 100%;
1432
+ position: absolute;
1433
+ left: 50%;
1434
+ font-size: 12px;
1435
+ line-height: 1.2em;
1436
+ transform: translateX(-50%);
1437
+ text-align: left;
1438
+ z-index: 4;
1439
+ padding-left: var(--vxe-ui-table-cell-padding-left);
1440
+ padding-right: var(--vxe-ui-table-cell-padding-right);
1441
+ }
1442
+ .vxe-cell--valid-error-wrapper {
1443
+ display: inline-block;
1444
+ border-radius: var(--vxe-ui-border-radius);
1445
+ pointer-events: auto;
1446
+ }
1447
+ .vxe-cell--valid-error-theme-beautify {
1448
+ padding: 0.4em 0.8em;
1449
+ color: #fff;
1450
+ background-color: #f56c6c;
1451
+ .vxe-cell--valid-error-msg {
1452
+ background: transparent;
1453
+ }
1454
+ }
1455
+ .vxe-cell--valid-error-theme-normal {
1456
+ color: var(--vxe-ui-table-validate-error-color);
1457
+ background-color: var(--vxe-ui-table-validate-error-background-color);
1458
+ }
1430
1459
  &.col--active,
1431
1460
  &.col--selected {
1432
1461
  position: relative;
1433
1462
  }
1434
1463
  &.col--valid-error {
1435
- .vxe-cell--valid-error-hint {
1436
- width: 100%;
1437
- position: absolute;
1438
- left: 50%;
1439
- font-size: 12px;
1440
- line-height: 1.2em;
1441
- transform: translateX(-50%);
1442
- text-align: left;
1443
- z-index: 4;
1444
- padding-left: var(--vxe-ui-table-cell-padding-left);
1445
- padding-right: var(--vxe-ui-table-cell-padding-right);
1446
- .vxe-cell--valid-error-msg {
1447
- display: inline-block;
1448
- border-radius: var(--vxe-ui-border-radius);
1449
- color: var(--vxe-ui-table-validate-error-color);
1450
- background-color: var(--vxe-ui-table-validate-error-background-color);
1451
- pointer-events: auto;
1452
- }
1453
- }
1454
1464
  .vxe-default-input,
1455
1465
  .vxe-default-textarea,
1456
1466
  .vxe-default-select {
@@ -1465,11 +1475,11 @@
1465
1475
  &.valid-msg--single {
1466
1476
  .vxe-body--row {
1467
1477
  &:last-child {
1468
- .vxe-cell--valid-error-hint {
1478
+ .vxe-cell--valid-error-tip {
1469
1479
  bottom: calc(100%);
1470
1480
  }
1471
1481
  &:first-child {
1472
- .vxe-cell--valid-error-hint {
1482
+ .vxe-cell--valid-error-tip {
1473
1483
  bottom: auto;
1474
1484
  }
1475
1485
  }
@@ -1479,7 +1489,7 @@
1479
1489
  &.valid-msg--full {
1480
1490
  .vxe-body--row {
1481
1491
  &:last-child {
1482
- .vxe-cell--valid-error-hint {
1492
+ .vxe-cell--valid-error-tip {
1483
1493
  top: calc(100% - 1.3em);
1484
1494
  }
1485
1495
  }
@@ -1489,7 +1499,7 @@
1489
1499
  &.old-cell-valid {
1490
1500
  .vxe-body--column {
1491
1501
  &.col--valid-error {
1492
- .vxe-cell--valid-error-hint {
1502
+ .vxe-cell--valid-error-tip {
1493
1503
  width: 320px;
1494
1504
  position: absolute;
1495
1505
  bottom: calc(100% + 4px);
@@ -1511,7 +1521,7 @@
1511
1521
  }
1512
1522
  .vxe-body--row {
1513
1523
  &:first-child {
1514
- .vxe-cell--valid-error-hint {
1524
+ .vxe-cell--valid-error-tip {
1515
1525
  bottom: auto;
1516
1526
  top: calc(100% + 4px);
1517
1527
  }
@@ -1519,7 +1529,7 @@
1519
1529
  }
1520
1530
  .vxe-body--column {
1521
1531
  &:first-child {
1522
- .vxe-cell--valid-error-hint {
1532
+ .vxe-cell--valid-error-tip {
1523
1533
  left: 10px;
1524
1534
  transform: translateX(0);
1525
1535
  text-align: left;