vxe-table 3.8.0-beta.1 → 3.8.0-beta.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.
Files changed (250) hide show
  1. package/lib/checkbox/style/style.css +0 -36
  2. package/lib/checkbox/style/style.min.css +1 -1
  3. package/lib/export/style/style.css +36 -36
  4. package/lib/export/style/style.min.css +1 -1
  5. package/lib/filter/style/style.css +36 -36
  6. package/lib/filter/style/style.min.css +1 -1
  7. package/lib/icon/style/style.css +1 -1
  8. package/lib/icon/style/style.min.css +1 -1
  9. package/lib/index.css +1 -1
  10. package/lib/index.umd.js +6 -4
  11. package/lib/index.umd.min.js +1 -1
  12. package/lib/loading/index.d.ts +4 -0
  13. package/lib/radio/style/style.css +20 -23
  14. package/lib/radio/style/style.min.css +1 -1
  15. package/lib/style.css +1 -1
  16. package/lib/style.min.css +1 -1
  17. package/lib/table/src/cell.js +4 -2
  18. package/lib/table/src/cell.min.js +1 -1
  19. package/lib/table/style/style.css +73 -81
  20. package/lib/table/style/style.min.css +1 -1
  21. package/lib/toolbar/style/style.css +35 -36
  22. package/lib/toolbar/style/style.min.css +1 -1
  23. package/lib/tools/log.js +1 -1
  24. package/lib/tools/log.min.js +1 -1
  25. package/lib/v-x-e-table/index.js +1 -1
  26. package/lib/v-x-e-table/index.min.js +1 -1
  27. package/lib/vxe-button/index.d.ts +4 -0
  28. package/lib/vxe-button/index.js +24 -0
  29. package/lib/vxe-button/index.min.js +1 -0
  30. package/lib/vxe-button/style/index.js +1 -0
  31. package/lib/vxe-button/style/style.css +535 -0
  32. package/lib/vxe-button/style/style.min.css +1 -0
  33. package/lib/vxe-button-group/index.d.ts +4 -0
  34. package/lib/vxe-button-group/index.js +24 -0
  35. package/lib/vxe-button-group/index.min.js +1 -0
  36. package/lib/vxe-button-group/style/index.js +1 -0
  37. package/lib/vxe-button-group/style/style.css +25 -0
  38. package/lib/vxe-button-group/style/style.min.css +0 -0
  39. package/lib/vxe-checkbox/index.d.ts +4 -0
  40. package/lib/vxe-checkbox/index.js +24 -0
  41. package/lib/vxe-checkbox/index.min.js +1 -0
  42. package/lib/vxe-checkbox/style/index.js +1 -0
  43. package/lib/vxe-checkbox/style/style.css +256 -0
  44. package/lib/vxe-checkbox/style/style.min.css +1 -0
  45. package/lib/vxe-checkbox-group/index.d.ts +4 -0
  46. package/lib/vxe-checkbox-group/index.js +24 -0
  47. package/lib/vxe-checkbox-group/index.min.js +1 -0
  48. package/lib/vxe-checkbox-group/style/index.js +1 -0
  49. package/lib/vxe-checkbox-group/style/style.css +25 -0
  50. package/lib/vxe-checkbox-group/style/style.min.css +0 -0
  51. package/lib/vxe-colgroup/index.d.ts +4 -0
  52. package/lib/vxe-colgroup/index.js +24 -0
  53. package/lib/vxe-colgroup/index.min.js +1 -0
  54. package/lib/vxe-colgroup/style/index.js +1 -0
  55. package/lib/vxe-colgroup/style/style.css +25 -0
  56. package/lib/vxe-colgroup/style/style.min.css +0 -0
  57. package/lib/vxe-column/index.d.ts +4 -0
  58. package/lib/vxe-column/index.js +24 -0
  59. package/lib/vxe-column/index.min.js +1 -0
  60. package/lib/vxe-column/style/index.js +1 -0
  61. package/lib/vxe-column/style/style.css +25 -0
  62. package/lib/vxe-column/style/style.min.css +0 -0
  63. package/lib/vxe-form/index.d.ts +4 -0
  64. package/lib/vxe-form/index.js +24 -0
  65. package/lib/vxe-form/index.min.js +1 -0
  66. package/lib/vxe-form/style/index.js +1 -0
  67. package/lib/vxe-form/style/style.css +353 -0
  68. package/lib/vxe-form/style/style.min.css +1 -0
  69. package/lib/vxe-form-gather/index.d.ts +4 -0
  70. package/lib/vxe-form-gather/index.js +24 -0
  71. package/lib/vxe-form-gather/index.min.js +1 -0
  72. package/lib/vxe-form-gather/style/index.js +1 -0
  73. package/lib/vxe-form-gather/style/style.css +25 -0
  74. package/lib/vxe-form-gather/style/style.min.css +0 -0
  75. package/lib/vxe-form-item/index.d.ts +4 -0
  76. package/lib/vxe-form-item/index.js +24 -0
  77. package/lib/vxe-form-item/index.min.js +1 -0
  78. package/lib/vxe-form-item/style/index.js +1 -0
  79. package/lib/vxe-form-item/style/style.css +25 -0
  80. package/lib/vxe-form-item/style/style.min.css +0 -0
  81. package/lib/vxe-grid/index.d.ts +4 -0
  82. package/lib/vxe-grid/index.js +24 -0
  83. package/lib/vxe-grid/index.min.js +1 -0
  84. package/lib/vxe-grid/style/index.js +1 -0
  85. package/lib/vxe-grid/style/style.css +72 -0
  86. package/lib/vxe-grid/style/style.min.css +1 -0
  87. package/lib/vxe-icon/index.d.ts +4 -0
  88. package/lib/vxe-icon/index.js +24 -0
  89. package/lib/vxe-icon/index.min.js +1 -0
  90. package/lib/vxe-icon/style/index.js +1 -0
  91. package/lib/vxe-icon/style/style.css +1331 -0
  92. package/lib/vxe-icon/style/style.min.css +1 -0
  93. package/lib/vxe-input/index.d.ts +4 -0
  94. package/lib/vxe-input/index.js +24 -0
  95. package/lib/vxe-input/index.min.js +1 -0
  96. package/lib/vxe-input/style/index.js +1 -0
  97. package/lib/vxe-input/style/style.css +1034 -0
  98. package/lib/vxe-input/style/style.min.css +1 -0
  99. package/lib/vxe-list/index.d.ts +4 -0
  100. package/lib/vxe-list/index.js +24 -0
  101. package/lib/vxe-list/index.min.js +1 -0
  102. package/lib/vxe-list/style/index.js +1 -0
  103. package/lib/vxe-list/style/style.css +51 -0
  104. package/lib/vxe-list/style/style.min.css +1 -0
  105. package/lib/vxe-loading/index.d.ts +4 -0
  106. package/lib/vxe-loading/index.js +24 -0
  107. package/lib/vxe-loading/index.min.js +1 -0
  108. package/lib/vxe-loading/style/index.js +1 -0
  109. package/lib/vxe-loading/style/style.css +103 -0
  110. package/lib/vxe-loading/style/style.min.css +1 -0
  111. package/lib/vxe-modal/index.d.ts +4 -0
  112. package/lib/vxe-modal/index.js +24 -0
  113. package/lib/vxe-modal/index.min.js +1 -0
  114. package/lib/vxe-modal/style/index.js +1 -0
  115. package/lib/vxe-modal/style/style.css +350 -0
  116. package/lib/vxe-modal/style/style.min.css +1 -0
  117. package/lib/vxe-optgroup/index.d.ts +4 -0
  118. package/lib/vxe-optgroup/index.js +24 -0
  119. package/lib/vxe-optgroup/index.min.js +1 -0
  120. package/lib/vxe-optgroup/style/index.js +1 -0
  121. package/lib/vxe-optgroup/style/style.css +25 -0
  122. package/lib/vxe-optgroup/style/style.min.css +0 -0
  123. package/lib/vxe-option/index.d.ts +4 -0
  124. package/lib/vxe-option/index.js +24 -0
  125. package/lib/vxe-option/index.min.js +1 -0
  126. package/lib/vxe-option/style/index.js +1 -0
  127. package/lib/vxe-option/style/style.css +25 -0
  128. package/lib/vxe-option/style/style.min.css +0 -0
  129. package/lib/vxe-pager/index.d.ts +4 -0
  130. package/lib/vxe-pager/index.js +24 -0
  131. package/lib/vxe-pager/index.min.js +1 -0
  132. package/lib/vxe-pager/style/index.js +1 -0
  133. package/lib/vxe-pager/style/style.css +346 -0
  134. package/lib/vxe-pager/style/style.min.css +1 -0
  135. package/lib/vxe-pulldown/index.d.ts +4 -0
  136. package/lib/vxe-pulldown/index.js +24 -0
  137. package/lib/vxe-pulldown/index.min.js +1 -0
  138. package/lib/vxe-pulldown/style/index.js +1 -0
  139. package/lib/vxe-pulldown/style/style.css +83 -0
  140. package/lib/vxe-pulldown/style/style.min.css +1 -0
  141. package/lib/vxe-radio/index.d.ts +4 -0
  142. package/lib/vxe-radio/index.js +24 -0
  143. package/lib/vxe-radio/index.min.js +1 -0
  144. package/lib/vxe-radio/style/index.js +1 -0
  145. package/lib/vxe-radio/style/style.css +327 -0
  146. package/lib/vxe-radio/style/style.min.css +1 -0
  147. package/lib/vxe-radio-button/index.d.ts +4 -0
  148. package/lib/vxe-radio-button/index.js +24 -0
  149. package/lib/vxe-radio-button/index.min.js +1 -0
  150. package/lib/vxe-radio-button/style/index.js +1 -0
  151. package/lib/vxe-radio-button/style/style.css +25 -0
  152. package/lib/vxe-radio-button/style/style.min.css +0 -0
  153. package/lib/vxe-radio-group/index.d.ts +4 -0
  154. package/lib/vxe-radio-group/index.js +24 -0
  155. package/lib/vxe-radio-group/index.min.js +1 -0
  156. package/lib/vxe-radio-group/style/index.js +1 -0
  157. package/lib/vxe-radio-group/style/style.css +25 -0
  158. package/lib/vxe-radio-group/style/style.min.css +0 -0
  159. package/lib/vxe-select/index.d.ts +4 -0
  160. package/lib/vxe-select/index.js +24 -0
  161. package/lib/vxe-select/index.min.js +1 -0
  162. package/lib/vxe-select/style/index.js +1 -0
  163. package/lib/vxe-select/style/style.css +227 -0
  164. package/lib/vxe-select/style/style.min.css +1 -0
  165. package/lib/vxe-switch/index.d.ts +4 -0
  166. package/lib/vxe-switch/index.js +24 -0
  167. package/lib/vxe-switch/index.min.js +1 -0
  168. package/lib/vxe-switch/style/index.js +1 -0
  169. package/lib/vxe-switch/style/style.css +123 -0
  170. package/lib/vxe-switch/style/style.min.css +1 -0
  171. package/lib/vxe-table/index.d.ts +3 -3
  172. package/lib/vxe-table/index.js +24 -0
  173. package/lib/vxe-table/index.min.js +1 -0
  174. package/lib/vxe-table/style/style.css +1370 -1
  175. package/lib/vxe-table/style/style.min.css +1 -0
  176. package/lib/vxe-table-edit-module/index.d.ts +4 -0
  177. package/lib/vxe-table-edit-module/index.js +24 -0
  178. package/lib/vxe-table-edit-module/index.min.js +1 -0
  179. package/lib/vxe-table-edit-module/style/index.js +1 -0
  180. package/lib/vxe-table-edit-module/style/style.css +25 -0
  181. package/lib/vxe-table-edit-module/style/style.min.css +0 -0
  182. package/lib/vxe-table-export-module/index.d.ts +4 -0
  183. package/lib/vxe-table-export-module/index.js +24 -0
  184. package/lib/vxe-table-export-module/index.min.js +1 -0
  185. package/lib/vxe-table-export-module/style/index.js +1 -0
  186. package/lib/vxe-table-export-module/style/style.css +217 -0
  187. package/lib/vxe-table-export-module/style/style.min.css +1 -0
  188. package/lib/vxe-table-filter-module/index.d.ts +4 -0
  189. package/lib/vxe-table-filter-module/index.js +24 -0
  190. package/lib/vxe-table-filter-module/index.min.js +1 -0
  191. package/lib/vxe-table-filter-module/style/index.js +1 -0
  192. package/lib/vxe-table-filter-module/style/style.css +165 -0
  193. package/lib/vxe-table-filter-module/style/style.min.css +1 -0
  194. package/lib/vxe-table-keyboard-module/index.d.ts +4 -0
  195. package/lib/vxe-table-keyboard-module/index.js +24 -0
  196. package/lib/vxe-table-keyboard-module/index.min.js +1 -0
  197. package/lib/vxe-table-keyboard-module/style/index.js +1 -0
  198. package/lib/vxe-table-keyboard-module/style/style.css +25 -0
  199. package/lib/vxe-table-keyboard-module/style/style.min.css +0 -0
  200. package/lib/vxe-table-menu-module/index.d.ts +4 -0
  201. package/lib/vxe-table-menu-module/index.js +24 -0
  202. package/lib/vxe-table-menu-module/index.min.js +1 -0
  203. package/lib/vxe-table-menu-module/style/index.js +1 -0
  204. package/lib/vxe-table-menu-module/style/style.css +142 -0
  205. package/lib/vxe-table-menu-module/style/style.min.css +1 -0
  206. package/lib/vxe-table-validator-module/index.d.ts +4 -0
  207. package/lib/vxe-table-validator-module/index.js +24 -0
  208. package/lib/vxe-table-validator-module/index.min.js +1 -0
  209. package/lib/vxe-table-validator-module/style/index.js +1 -0
  210. package/lib/vxe-table-validator-module/style/style.css +25 -0
  211. package/lib/vxe-table-validator-module/style/style.min.css +0 -0
  212. package/lib/vxe-textarea/index.d.ts +4 -0
  213. package/lib/vxe-textarea/index.js +24 -0
  214. package/lib/vxe-textarea/index.min.js +1 -0
  215. package/lib/vxe-textarea/style/index.js +1 -0
  216. package/lib/vxe-textarea/style/style.css +130 -0
  217. package/lib/vxe-textarea/style/style.min.css +1 -0
  218. package/lib/vxe-toolbar/index.d.ts +4 -0
  219. package/lib/vxe-toolbar/index.js +24 -0
  220. package/lib/vxe-toolbar/index.min.js +1 -0
  221. package/lib/vxe-toolbar/style/index.js +1 -0
  222. package/lib/vxe-toolbar/style/style.css +309 -0
  223. package/lib/vxe-toolbar/style/style.min.css +1 -0
  224. package/lib/vxe-tooltip/index.d.ts +4 -0
  225. package/lib/vxe-tooltip/index.js +24 -0
  226. package/lib/vxe-tooltip/index.min.js +1 -0
  227. package/lib/vxe-tooltip/style/index.js +1 -0
  228. package/lib/vxe-tooltip/style/style.css +129 -0
  229. package/lib/vxe-tooltip/style/style.min.css +1 -0
  230. package/package.json +1 -1
  231. package/packages/loading/index.d.ts +4 -0
  232. package/packages/table/src/cell.js +4 -2
  233. package/styles/checkbox.scss +0 -2
  234. package/styles/export.scss +2 -2
  235. package/styles/filter.scss +2 -2
  236. package/styles/helpers/mixin.scss +76 -0
  237. package/styles/radio.scss +1 -2
  238. package/styles/table.scss +2 -8
  239. package/styles/toolbar.scss +2 -2
  240. package/types/all.d.ts +2 -2
  241. package/types/loading.d.ts +10 -0
  242. package/packages/vxe-table/index.d.ts +0 -4
  243. package/packages/vxe-table/index.ts +0 -4
  244. package/styles/base/checked.scss +0 -75
  245. /package/lib/icon/style/{iconfont.1713145404353.ttf → iconfont.1713329378368.ttf} +0 -0
  246. /package/lib/icon/style/{iconfont.1713145404353.woff → iconfont.1713329378368.woff} +0 -0
  247. /package/lib/icon/style/{iconfont.1713145404353.woff2 → iconfont.1713329378368.woff2} +0 -0
  248. /package/lib/{iconfont.1713145404353.ttf → iconfont.1713329378368.ttf} +0 -0
  249. /package/lib/{iconfont.1713145404353.woff → iconfont.1713329378368.woff} +0 -0
  250. /package/lib/{iconfont.1713145404353.woff2 → iconfont.1713329378368.woff2} +0 -0
package/styles/table.scss CHANGED
@@ -1,6 +1,5 @@
1
1
  /**Variable**/
2
2
  @import './helpers/mixin.scss';
3
- @import './base/checked.scss';
4
3
  @import './base/common.scss';
5
4
  @import './loading.scss';
6
5
 
@@ -659,11 +658,6 @@
659
658
  }
660
659
  }
661
660
  }
662
- .vxe-body--column {
663
- &.col--checkbox {
664
- user-select: none;
665
- }
666
- }
667
661
 
668
662
  /*边框*/
669
663
  .vxe-table--footer-wrapper {
@@ -835,10 +829,10 @@
835
829
 
836
830
  // 单选框和复选框
837
831
  .vxe-cell--radio {
838
- @extend %XERadioIcon;
832
+ @include createRadioIcon();
839
833
  }
840
834
  .vxe-cell--checkbox {
841
- @extend %XECheckboxIcon;
835
+ @include createCheckboxIcon();
842
836
  }
843
837
 
844
838
  .fixed--hidden {
@@ -1,5 +1,5 @@
1
1
  /**Variable**/
2
- @import './base/checked.scss';
2
+ @import './helpers/mixin.scss';
3
3
 
4
4
  /*toolbar*/
5
5
  .vxe-toolbar {
@@ -170,7 +170,7 @@
170
170
  }
171
171
 
172
172
  .vxe-custom--checkbox-option {
173
- @extend %XECheckboxIcon;
173
+ @include createCheckboxIcon();
174
174
  overflow: hidden;
175
175
  text-overflow: ellipsis;
176
176
  white-space: nowrap;
package/types/all.d.ts CHANGED
@@ -42,8 +42,6 @@ declare global {
42
42
  export * from './v-x-e-table'
43
43
  export * from './component'
44
44
 
45
- export * from './footer'
46
- export * from './icon'
47
45
  export * from './filter'
48
46
  export * from './menu'
49
47
  export * from './edit'
@@ -51,6 +49,8 @@ export * from './export'
51
49
  export * from './keyboard'
52
50
  export * from './validator'
53
51
 
52
+ export * from './icon'
53
+ export * from './loading'
54
54
  export * from './table'
55
55
  export * from './column'
56
56
  export * from './colgroup'
@@ -0,0 +1,10 @@
1
+ import { VXETableComponent } from './component'
2
+
3
+ /**
4
+ * 组件 - 加载中
5
+ */
6
+ export declare class VxeLoading extends VXETableComponent {}
7
+ /**
8
+ * 组件 - 加载中
9
+ */
10
+ export declare class Loading extends VXETableComponent {}
@@ -1,4 +0,0 @@
1
- import { VXETable } from '../v-x-e-table'
2
-
3
- export * from '../v-x-e-table'
4
- export default VXETable
@@ -1,4 +0,0 @@
1
- import { VXETable } from '../v-x-e-table'
2
-
3
- export * from '../v-x-e-table'
4
- export default VXETable
@@ -1,75 +0,0 @@
1
- %XECheckboxIcon {
2
- .vxe-checkbox--icon {
3
- font-size: 1.34em;
4
- }
5
- .vxe-checkbox--icon {
6
- color: $vxe-input-border-color;
7
- vertical-align: middle;
8
- font-weight: 700;
9
- user-select: none;
10
- }
11
- &.is--checked,
12
- &.is--indeterminate {
13
- color: $vxe-primary-color;
14
- .vxe-checkbox--icon {
15
- color: $vxe-primary-color;
16
- }
17
- }
18
- &:not(.is--disabled) {
19
- cursor: pointer;
20
- &:hover {
21
- .vxe-checkbox--icon {
22
- color: $vxe-primary-color;
23
- }
24
- }
25
- }
26
- &.is--disabled {
27
- color: $vxe-font-disabled-color;
28
- cursor: not-allowed;
29
- .vxe-checkbox--icon {
30
- color: $vxe-input-disabled-color;
31
- }
32
- }
33
- .vxe-checkbox--label {
34
- padding-left: 0.5em;
35
- vertical-align: middle;
36
- }
37
- }
38
-
39
- %XERadioIcon {
40
- cursor: pointer;
41
- .vxe-radio--icon {
42
- font-size: 1.4em;
43
- }
44
- .vxe-radio--icon {
45
- color: $vxe-input-border-color;
46
- vertical-align: middle;
47
- font-weight: 700;
48
- user-select: none;
49
- }
50
- &.is--checked {
51
- color: $vxe-primary-color;
52
- .vxe-radio--icon {
53
- color: $vxe-primary-color;
54
- }
55
- }
56
- &:not(.is--disabled) {
57
- cursor: pointer;
58
- &:hover {
59
- .vxe-radio--icon {
60
- color: $vxe-primary-color;
61
- }
62
- }
63
- }
64
- &.is--disabled {
65
- color: $vxe-font-disabled-color;
66
- cursor: not-allowed;
67
- .vxe-radio--icon {
68
- color: $vxe-input-disabled-color;
69
- }
70
- }
71
- .vxe-radio--label {
72
- padding-left: 0.5em;
73
- vertical-align: middle;
74
- }
75
- }