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
@@ -0,0 +1,309 @@
1
+ /*font*/
2
+ /*size*/
3
+ /*icon*/
4
+ /*color*/
5
+ /*input/radio/checkbox*/
6
+ /*popup*/
7
+ /*table*/
8
+ /*filter*/
9
+ /*menu*/
10
+ /*loading*/
11
+ /*validate*/
12
+ /*grid*/
13
+ /*toolbar*/
14
+ /*tooltip*/
15
+ /*pager*/
16
+ /*modal*/
17
+ /*checkbox*/
18
+ /*radio*/
19
+ /*button*/
20
+ /*input*/
21
+ /*textarea*/
22
+ /*form*/
23
+ /*select*/
24
+ /*switch*/
25
+ /*pulldown*/
26
+ /*toolbar*/
27
+ .vxe-toolbar {
28
+ position: relative;
29
+ display: flex;
30
+ flex-direction: row;
31
+ align-items: center;
32
+ padding: 0.6em 0;
33
+ color: #606266;
34
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
35
+ background-color: #fff;
36
+ }
37
+ .vxe-toolbar:after {
38
+ content: "";
39
+ display: block;
40
+ clear: both;
41
+ height: 0;
42
+ overflow: hidden;
43
+ visibility: hidden;
44
+ }
45
+ .vxe-toolbar.is--perfect {
46
+ border: 1px solid #e8eaec;
47
+ border-bottom-width: 0;
48
+ background-color: #f8f8f9;
49
+ }
50
+ .vxe-toolbar.is--loading:before {
51
+ content: "";
52
+ position: absolute;
53
+ top: 0;
54
+ left: 0;
55
+ width: 100%;
56
+ height: 100%;
57
+ z-index: 999;
58
+ -webkit-user-select: none;
59
+ -moz-user-select: none;
60
+ -ms-user-select: none;
61
+ user-select: none;
62
+ background-color: rgba(255, 255, 255, 0.5);
63
+ }
64
+ .vxe-toolbar .vxe-buttons--wrapper {
65
+ flex-grow: 1;
66
+ }
67
+ .vxe-toolbar .vxe-buttons--wrapper > .vxe-button + .vxe-button--item, .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item + .vxe-button, .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item + .vxe-button--item {
68
+ margin-left: 0.8em;
69
+ }
70
+ .vxe-toolbar .vxe-buttons--wrapper > .vxe-button--item {
71
+ display: inline-block;
72
+ }
73
+ .vxe-toolbar .vxe-tools--wrapper > .vxe-button + .vxe-tool--item, .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item + .vxe-button, .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item + .vxe-tool--item {
74
+ margin-left: 0.8em;
75
+ }
76
+ .vxe-toolbar .vxe-tools--wrapper > .vxe-tool--item {
77
+ display: inline-block;
78
+ }
79
+ .vxe-toolbar .vxe-tools--wrapper > .vxe-button {
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ }
84
+ .vxe-toolbar .vxe-buttons--wrapper,
85
+ .vxe-toolbar .vxe-tools--wrapper,
86
+ .vxe-toolbar .vxe-tools--operate {
87
+ display: flex;
88
+ align-items: center;
89
+ }
90
+ .vxe-toolbar .vxe-buttons--wrapper,
91
+ .vxe-toolbar .vxe-tools--wrapper {
92
+ flex-wrap: wrap;
93
+ }
94
+ .vxe-toolbar .vxe-tools--operate {
95
+ flex-shrink: 0;
96
+ }
97
+ .vxe-toolbar .vxe-custom--wrapper {
98
+ position: relative;
99
+ margin-left: 0.8em;
100
+ }
101
+ .vxe-toolbar .vxe-custom--wrapper.is--active > .vxe-button {
102
+ background-color: #D9DADB;
103
+ border-radius: 50%;
104
+ }
105
+ .vxe-toolbar .vxe-custom--wrapper.is--active .vxe-custom--option-wrapper {
106
+ display: block;
107
+ }
108
+ .vxe-toolbar .vxe-custom--option-wrapper {
109
+ display: none;
110
+ position: absolute;
111
+ right: 2px;
112
+ text-align: left;
113
+ background-color: #fff;
114
+ z-index: 19;
115
+ border: 1px solid #e8eaec;
116
+ border-radius: 4px;
117
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
118
+ }
119
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header {
120
+ padding: 0.28em 0;
121
+ font-weight: 700;
122
+ border-bottom: 1px solid #DADCE0;
123
+ }
124
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body {
125
+ padding: 0.2em 0;
126
+ max-height: 17.6em;
127
+ }
128
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body .vxe-custom--option:hover {
129
+ background-color: #f5f7fa;
130
+ }
131
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li,
132
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li {
133
+ max-width: 18em;
134
+ min-width: 14em;
135
+ padding: 0.2em 1em 0.2em 1em;
136
+ }
137
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--2,
138
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--2 {
139
+ padding-left: 3.5em;
140
+ }
141
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--2 .vxe-checkbox--icon,
142
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--2 .vxe-checkbox--icon {
143
+ left: 1.8em;
144
+ }
145
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--3,
146
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--3 {
147
+ padding-left: 4.5em;
148
+ }
149
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--3 .vxe-checkbox--icon,
150
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--3 .vxe-checkbox--icon {
151
+ left: 2.8em;
152
+ }
153
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--4,
154
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--4 {
155
+ padding-left: 5.5em;
156
+ }
157
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--4 .vxe-checkbox--icon,
158
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--4 .vxe-checkbox--icon {
159
+ left: 3.8em;
160
+ }
161
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--5,
162
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--5 {
163
+ padding-left: 6.5em;
164
+ }
165
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--5 .vxe-checkbox--icon,
166
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--5 .vxe-checkbox--icon {
167
+ left: 4.8em;
168
+ }
169
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--6,
170
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--6 {
171
+ padding-left: 7.5em;
172
+ }
173
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--6 .vxe-checkbox--icon,
174
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--6 .vxe-checkbox--icon {
175
+ left: 5.8em;
176
+ }
177
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--7,
178
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--7 {
179
+ padding-left: 8.5em;
180
+ }
181
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--7 .vxe-checkbox--icon,
182
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--7 .vxe-checkbox--icon {
183
+ left: 6.8em;
184
+ }
185
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--8,
186
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--8 {
187
+ padding-left: 9.5em;
188
+ }
189
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header > li.level--8 .vxe-checkbox--icon,
190
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body > li.level--8 .vxe-checkbox--icon {
191
+ left: 7.8em;
192
+ }
193
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer {
194
+ border-top: 1px solid #DADCE0;
195
+ text-align: right;
196
+ }
197
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button {
198
+ background-color: transparent;
199
+ width: 50%;
200
+ height: 2.5em;
201
+ border: 0;
202
+ color: #606266;
203
+ text-align: center;
204
+ cursor: pointer;
205
+ }
206
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:focus {
207
+ outline: none;
208
+ }
209
+ .vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:hover {
210
+ color: #409eff;
211
+ }
212
+
213
+ .vxe-custom--option {
214
+ display: flex;
215
+ flex-direction: row;
216
+ }
217
+
218
+ .vxe-custom--option-wrapper .vxe-custom--header,
219
+ .vxe-custom--option-wrapper .vxe-custom--body {
220
+ list-style-type: none;
221
+ overflow-x: hidden;
222
+ overflow-y: auto;
223
+ margin: 0;
224
+ padding: 0;
225
+ -webkit-user-select: none;
226
+ -moz-user-select: none;
227
+ -ms-user-select: none;
228
+ user-select: none;
229
+ }
230
+
231
+ .vxe-custom--checkbox-option {
232
+ overflow: hidden;
233
+ text-overflow: ellipsis;
234
+ white-space: nowrap;
235
+ flex-grow: 1;
236
+ }
237
+ .vxe-custom--checkbox-option .vxe-checkbox--icon {
238
+ font-size: 1.34em;
239
+ }
240
+ .vxe-custom--checkbox-option .vxe-checkbox--icon {
241
+ color: #dcdfe6;
242
+ vertical-align: middle;
243
+ font-weight: 700;
244
+ -webkit-user-select: none;
245
+ -moz-user-select: none;
246
+ -ms-user-select: none;
247
+ user-select: none;
248
+ }
249
+ .vxe-custom--checkbox-option.is--checked, .vxe-custom--checkbox-option.is--indeterminate {
250
+ color: #409eff;
251
+ }
252
+ .vxe-custom--checkbox-option.is--checked .vxe-checkbox--icon, .vxe-custom--checkbox-option.is--indeterminate .vxe-checkbox--icon {
253
+ color: #409eff;
254
+ }
255
+ .vxe-custom--checkbox-option:not(.is--disabled) {
256
+ cursor: pointer;
257
+ }
258
+ .vxe-custom--checkbox-option:not(.is--disabled):hover .vxe-checkbox--icon {
259
+ color: #409eff;
260
+ }
261
+ .vxe-custom--checkbox-option.is--disabled {
262
+ color: #BFBFBF;
263
+ cursor: not-allowed;
264
+ }
265
+ .vxe-custom--checkbox-option.is--disabled .vxe-checkbox--icon {
266
+ color: #dcdfe6;
267
+ }
268
+ .vxe-custom--checkbox-option .vxe-checkbox--label {
269
+ padding-left: 0.5em;
270
+ vertical-align: middle;
271
+ }
272
+
273
+ .vxe-custom--fixed-option {
274
+ flex-shrink: 0;
275
+ padding-left: 0.5em;
276
+ display: flex;
277
+ flex-direction: row;
278
+ align-items: center;
279
+ }
280
+ .vxe-custom--fixed-option .vxe-custom--fixed-left-option,
281
+ .vxe-custom--fixed-option .vxe-custom--fixed-right-option {
282
+ line-height: 1.34em;
283
+ font-size: 1.1em;
284
+ padding: 0 0.2em;
285
+ cursor: pointer;
286
+ }
287
+ .vxe-custom--fixed-option .vxe-custom--fixed-left-option.is--checked, .vxe-custom--fixed-option .vxe-custom--fixed-left-option:hover,
288
+ .vxe-custom--fixed-option .vxe-custom--fixed-right-option.is--checked,
289
+ .vxe-custom--fixed-option .vxe-custom--fixed-right-option:hover {
290
+ color: #409eff;
291
+ }
292
+ .vxe-custom--fixed-option .vxe-custom--fixed-left-option.is--disabled,
293
+ .vxe-custom--fixed-option .vxe-custom--fixed-right-option.is--disabled {
294
+ cursor: no-drop;
295
+ color: #dcdfe6;
296
+ }
297
+
298
+ .vxe-toolbar {
299
+ font-size: 14px;
300
+ }
301
+ .vxe-toolbar.size--medium {
302
+ font-size: 14px;
303
+ }
304
+ .vxe-toolbar.size--small {
305
+ font-size: 13px;
306
+ }
307
+ .vxe-toolbar.size--mini {
308
+ font-size: 12px;
309
+ }
@@ -0,0 +1 @@
1
+ .vxe-toolbar{position:relative;display:flex;flex-direction:row;align-items:center;padding:.6em 0;color:#606266;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;background-color:#fff}.vxe-toolbar:after{content:"";display:block;clear:both;height:0;overflow:hidden;visibility:hidden}.vxe-toolbar.is--perfect{border:1px solid #e8eaec;border-bottom-width:0;background-color:#f8f8f9}.vxe-toolbar.is--loading:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:rgba(255,255,255,.5)}.vxe-toolbar .vxe-buttons--wrapper{flex-grow:1}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button+.vxe-button--item,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button,.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item+.vxe-button--item{margin-left:.8em}.vxe-toolbar .vxe-buttons--wrapper>.vxe-button--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button+.vxe-tool--item,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-button,.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item+.vxe-tool--item{margin-left:.8em}.vxe-toolbar .vxe-tools--wrapper>.vxe-tool--item{display:inline-block}.vxe-toolbar .vxe-tools--wrapper>.vxe-button{display:flex;align-items:center;justify-content:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--operate,.vxe-toolbar .vxe-tools--wrapper{display:flex;align-items:center}.vxe-toolbar .vxe-buttons--wrapper,.vxe-toolbar .vxe-tools--wrapper{flex-wrap:wrap}.vxe-toolbar .vxe-tools--operate{flex-shrink:0}.vxe-toolbar .vxe-custom--wrapper{position:relative;margin-left:.8em}.vxe-toolbar .vxe-custom--wrapper.is--active>.vxe-button{background-color:#d9dadb;border-radius:50%}.vxe-toolbar .vxe-custom--wrapper.is--active .vxe-custom--option-wrapper{display:block}.vxe-toolbar .vxe-custom--option-wrapper{display:none;position:absolute;right:2px;text-align:left;background-color:#fff;z-index:19;border:1px solid #e8eaec;border-radius:4px;box-shadow:0 1px 6px rgba(0,0,0,.2)}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header{padding:.28em 0;font-weight:700;border-bottom:1px solid #dadce0}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body{padding:.2em 0;max-height:17.6em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body .vxe-custom--option:hover{background-color:#f5f7fa}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li{max-width:18em;min-width:14em;padding:.2em 1em .2em 1em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--2,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--2{padding-left:3.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--2 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--2 .vxe-checkbox--icon{left:1.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--3,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--3{padding-left:4.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--3 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--3 .vxe-checkbox--icon{left:2.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--4,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--4{padding-left:5.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--4 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--4 .vxe-checkbox--icon{left:3.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--5,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--5{padding-left:6.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--5 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--5 .vxe-checkbox--icon{left:4.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--6,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--6{padding-left:7.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--6 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--6 .vxe-checkbox--icon{left:5.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--7,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--7{padding-left:8.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--7 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--7 .vxe-checkbox--icon{left:6.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--8,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--8{padding-left:9.5em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--body>li.level--8 .vxe-checkbox--icon,.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--header>li.level--8 .vxe-checkbox--icon{left:7.8em}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer{border-top:1px solid #dadce0;text-align:right}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button{background-color:transparent;width:50%;height:2.5em;border:0;color:#606266;text-align:center;cursor:pointer}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:focus{outline:0}.vxe-toolbar .vxe-custom--option-wrapper .vxe-custom--footer button:hover{color:#409eff}.vxe-custom--option{display:flex;flex-direction:row}.vxe-custom--option-wrapper .vxe-custom--body,.vxe-custom--option-wrapper .vxe-custom--header{list-style-type:none;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-custom--checkbox-option{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}.vxe-custom--checkbox-option .vxe-checkbox--icon{font-size:1.34em}.vxe-custom--checkbox-option .vxe-checkbox--icon{color:#dcdfe6;vertical-align:middle;font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vxe-custom--checkbox-option.is--checked,.vxe-custom--checkbox-option.is--indeterminate{color:#409eff}.vxe-custom--checkbox-option.is--checked .vxe-checkbox--icon,.vxe-custom--checkbox-option.is--indeterminate .vxe-checkbox--icon{color:#409eff}.vxe-custom--checkbox-option:not(.is--disabled){cursor:pointer}.vxe-custom--checkbox-option:not(.is--disabled):hover .vxe-checkbox--icon{color:#409eff}.vxe-custom--checkbox-option.is--disabled{color:#bfbfbf;cursor:not-allowed}.vxe-custom--checkbox-option.is--disabled .vxe-checkbox--icon{color:#dcdfe6}.vxe-custom--checkbox-option .vxe-checkbox--label{padding-left:.5em;vertical-align:middle}.vxe-custom--fixed-option{flex-shrink:0;padding-left:.5em;display:flex;flex-direction:row;align-items:center}.vxe-custom--fixed-option .vxe-custom--fixed-left-option,.vxe-custom--fixed-option .vxe-custom--fixed-right-option{line-height:1.34em;font-size:1.1em;padding:0 .2em;cursor:pointer}.vxe-custom--fixed-option .vxe-custom--fixed-left-option.is--checked,.vxe-custom--fixed-option .vxe-custom--fixed-left-option:hover,.vxe-custom--fixed-option .vxe-custom--fixed-right-option.is--checked,.vxe-custom--fixed-option .vxe-custom--fixed-right-option:hover{color:#409eff}.vxe-custom--fixed-option .vxe-custom--fixed-left-option.is--disabled,.vxe-custom--fixed-option .vxe-custom--fixed-right-option.is--disabled{cursor:no-drop;color:#dcdfe6}.vxe-toolbar{font-size:14px}.vxe-toolbar.size--medium{font-size:14px}.vxe-toolbar.size--small{font-size:13px}.vxe-toolbar.size--mini{font-size:12px}
@@ -0,0 +1,4 @@
1
+ import { Tooltip } from '../../types/tooltip'
2
+
3
+ export * from '../../types/tooltip'
4
+ export default Tooltip
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {};
8
+ exports.default = void 0;
9
+ var _tooltip = _interopRequireWildcard(require("../tooltip"));
10
+ Object.keys(_tooltip).forEach(function (key) {
11
+ if (key === "default" || key === "__esModule") return;
12
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
13
+ if (key in exports && exports[key] === _tooltip[key]) return;
14
+ Object.defineProperty(exports, key, {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _tooltip[key];
18
+ }
19
+ });
20
+ });
21
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+ var _default = _tooltip.default;
24
+ exports.default = _default;
@@ -0,0 +1 @@
1
+ "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(exports,"__esModule",{value:!0});var _exportNames={},_tooltip=(exports.default=void 0,_interopRequireWildcard(require("../tooltip")));function _getRequireWildcardCache(e){var t,o;return"function"!=typeof WeakMap?null:(t=new WeakMap,o=new WeakMap,(_getRequireWildcardCache=function(e){return e?o:t})(e))}function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==_typeof(e)&&"function"!=typeof e)return{default:e};t=_getRequireWildcardCache(t);if(t&&t.has(e))return t.get(e);var o,r,n={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&((r=u?Object.getOwnPropertyDescriptor(e,o):null)&&(r.get||r.set)?Object.defineProperty(n,o,r):n[o]=e[o]);return n.default=e,t&&t.set(e,n),n}Object.keys(_tooltip).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(_exportNames,e)||e in exports&&exports[e]===_tooltip[e]||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return _tooltip[e]}})});var _default=_tooltip.default;exports.default=_default;
@@ -0,0 +1 @@
1
+ require('./style.css')
@@ -0,0 +1,129 @@
1
+ /*font*/
2
+ /*size*/
3
+ /*icon*/
4
+ /*color*/
5
+ /*input/radio/checkbox*/
6
+ /*popup*/
7
+ /*table*/
8
+ /*filter*/
9
+ /*menu*/
10
+ /*loading*/
11
+ /*validate*/
12
+ /*grid*/
13
+ /*toolbar*/
14
+ /*tooltip*/
15
+ /*pager*/
16
+ /*modal*/
17
+ /*checkbox*/
18
+ /*radio*/
19
+ /*button*/
20
+ /*input*/
21
+ /*textarea*/
22
+ /*form*/
23
+ /*select*/
24
+ /*switch*/
25
+ /*pulldown*/
26
+ /*tppltip*/
27
+ .vxe-table--tooltip-wrapper {
28
+ display: none;
29
+ position: absolute;
30
+ top: -100%;
31
+ left: -100%;
32
+ font-size: 12px;
33
+ max-width: 600px;
34
+ border-radius: 4px;
35
+ padding: 8px 12px;
36
+ white-space: normal;
37
+ word-break: break-word;
38
+ box-shadow: 2px 2px 4px -2px rgba(0, 0, 0, 0.2);
39
+ color: #606266;
40
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
41
+ }
42
+ .vxe-table--tooltip-wrapper:not(.is--enterable) {
43
+ pointer-events: none;
44
+ }
45
+ .vxe-table--tooltip-wrapper.is--visible {
46
+ display: block;
47
+ }
48
+ .vxe-table--tooltip-wrapper.is--arrow .vxe-table--tooltip-arrow {
49
+ display: block;
50
+ }
51
+ .vxe-table--tooltip-wrapper.is--enterable:after {
52
+ content: "";
53
+ position: absolute;
54
+ left: 0;
55
+ width: 100%;
56
+ height: 6px;
57
+ background-color: transparent;
58
+ }
59
+ .vxe-table--tooltip-wrapper .vxe-table--tooltip-content {
60
+ white-space: pre-line;
61
+ }
62
+ .vxe-table--tooltip-wrapper .vxe-table--tooltip-arrow {
63
+ display: none;
64
+ position: absolute;
65
+ border-color: transparent;
66
+ border-width: 6px;
67
+ border-style: solid;
68
+ left: 50%;
69
+ transform: translateX(-6px);
70
+ }
71
+ .vxe-table--tooltip-wrapper .vxe-table--tooltip-arrow:before {
72
+ content: "";
73
+ position: absolute;
74
+ border-color: transparent;
75
+ border-width: 5px;
76
+ border-style: solid;
77
+ left: -5px;
78
+ }
79
+ .vxe-table--tooltip-wrapper.placement--top.is--enterable:after {
80
+ bottom: -6px;
81
+ }
82
+ .vxe-table--tooltip-wrapper.placement--top .vxe-table--tooltip-arrow {
83
+ bottom: -12px;
84
+ }
85
+ .vxe-table--tooltip-wrapper.placement--top .vxe-table--tooltip-arrow:before {
86
+ top: -7px;
87
+ }
88
+ .vxe-table--tooltip-wrapper.placement--bottom.is--enterable:after {
89
+ top: -6px;
90
+ }
91
+ .vxe-table--tooltip-wrapper.placement--bottom .vxe-table--tooltip-arrow {
92
+ top: -12px;
93
+ }
94
+ .vxe-table--tooltip-wrapper.placement--bottom .vxe-table--tooltip-arrow:before {
95
+ top: -4px;
96
+ }
97
+
98
+ .vxe-table--tooltip-wrapper.theme--light {
99
+ background-color: #fff;
100
+ border: 1px solid #dcdfe6;
101
+ }
102
+ .vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow {
103
+ border-top-color: #dcdfe6;
104
+ }
105
+ .vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow:before {
106
+ border-top-color: #fff;
107
+ }
108
+ .vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow {
109
+ border-bottom-color: #dcdfe6;
110
+ }
111
+ .vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow:before {
112
+ border-bottom-color: #fff;
113
+ }
114
+ .vxe-table--tooltip-wrapper.theme--dark {
115
+ background: #303133;
116
+ color: #fff;
117
+ }
118
+ .vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow {
119
+ border-top-color: #303133;
120
+ }
121
+ .vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow:before {
122
+ border-top-color: #303133;
123
+ }
124
+ .vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow {
125
+ border-bottom-color: #303133;
126
+ }
127
+ .vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow:before {
128
+ border-bottom-color: #303133;
129
+ }
@@ -0,0 +1 @@
1
+ .vxe-table--tooltip-wrapper{display:none;position:absolute;top:-100%;left:-100%;font-size:12px;max-width:600px;border-radius:4px;padding:8px 12px;white-space:normal;word-break:break-word;box-shadow:2px 2px 4px -2px rgba(0,0,0,.2);color:#606266;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}.vxe-table--tooltip-wrapper:not(.is--enterable){pointer-events:none}.vxe-table--tooltip-wrapper.is--visible{display:block}.vxe-table--tooltip-wrapper.is--arrow .vxe-table--tooltip-arrow{display:block}.vxe-table--tooltip-wrapper.is--enterable:after{content:"";position:absolute;left:0;width:100%;height:6px;background-color:transparent}.vxe-table--tooltip-wrapper .vxe-table--tooltip-content{white-space:pre-line}.vxe-table--tooltip-wrapper .vxe-table--tooltip-arrow{display:none;position:absolute;border-color:transparent;border-width:6px;border-style:solid;left:50%;transform:translateX(-6px)}.vxe-table--tooltip-wrapper .vxe-table--tooltip-arrow:before{content:"";position:absolute;border-color:transparent;border-width:5px;border-style:solid;left:-5px}.vxe-table--tooltip-wrapper.placement--top.is--enterable:after{bottom:-6px}.vxe-table--tooltip-wrapper.placement--top .vxe-table--tooltip-arrow{bottom:-12px}.vxe-table--tooltip-wrapper.placement--top .vxe-table--tooltip-arrow:before{top:-7px}.vxe-table--tooltip-wrapper.placement--bottom.is--enterable:after{top:-6px}.vxe-table--tooltip-wrapper.placement--bottom .vxe-table--tooltip-arrow{top:-12px}.vxe-table--tooltip-wrapper.placement--bottom .vxe-table--tooltip-arrow:before{top:-4px}.vxe-table--tooltip-wrapper.theme--light{background-color:#fff;border:1px solid #dcdfe6}.vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow{border-top-color:#dcdfe6}.vxe-table--tooltip-wrapper.theme--light.placement--top .vxe-table--tooltip-arrow:before{border-top-color:#fff}.vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow{border-bottom-color:#dcdfe6}.vxe-table--tooltip-wrapper.theme--light.placement--bottom .vxe-table--tooltip-arrow:before{border-bottom-color:#fff}.vxe-table--tooltip-wrapper.theme--dark{background:#303133;color:#fff}.vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow{border-top-color:#303133}.vxe-table--tooltip-wrapper.theme--dark.placement--top .vxe-table--tooltip-arrow:before{border-top-color:#303133}.vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow{border-bottom-color:#303133}.vxe-table--tooltip-wrapper.theme--dark.placement--bottom .vxe-table--tooltip-arrow:before{border-bottom-color:#303133}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vxe-table",
3
- "version": "3.8.0-beta.1",
3
+ "version": "3.8.0-beta.3",
4
4
  "description": "一个基于 vue 的 PC 端表单/表格组件,支持增删改查、虚拟列表、虚拟树、懒加载、快捷菜单、数据校验、树形结构、打印导出、表单渲染、数据分页、弹窗、自定义模板、渲染器、JSON 配置式...",
5
5
  "scripts": {
6
6
  "update": "npm install --legacy-peer-deps",
@@ -0,0 +1,4 @@
1
+ import { Loading } from '../../types/loading'
2
+
3
+ export * from '../../types/loading'
4
+ export default Loading
@@ -484,7 +484,8 @@ export const Cell = {
484
484
  class: ['vxe-cell--checkbox', {
485
485
  'is--checked': isChecked,
486
486
  'is--disabled': isDisabled,
487
- 'is--indeterminate': indeterminate
487
+ 'is--indeterminate': indeterminate,
488
+ 'is--hidden': !isVisible
488
489
  }],
489
490
  on
490
491
  }, checkVNs)
@@ -548,7 +549,8 @@ export const Cell = {
548
549
  class: ['vxe-cell--checkbox', {
549
550
  'is--checked': isChecked,
550
551
  'is--disabled': isDisabled,
551
- 'is--indeterminate': indeterminateField && !isChecked ? row[indeterminateField] : isIndeterminate
552
+ 'is--indeterminate': indeterminateField && !isChecked ? row[indeterminateField] : isIndeterminate,
553
+ 'is--hidden': !isVisible
552
554
  }],
553
555
  on
554
556
  }, checkVNs)
@@ -1,7 +1,6 @@
1
1
  /**Variable**/
2
2
  @import './helpers/mixin.scss';
3
3
  @import './base/common.scss';
4
- @import './base/checked.scss';
5
4
 
6
5
  /*checkbox-group*/
7
6
  .vxe-checkbox-group {
@@ -12,7 +11,6 @@
12
11
 
13
12
  /*checkbox*/
14
13
  .vxe-checkbox {
15
- @extend %XECheckboxIcon;
16
14
  display: inline-block;
17
15
  vertical-align: middle;
18
16
  white-space: nowrap;
@@ -1,5 +1,5 @@
1
1
  /**Variable**/
2
- @import './base/checked.scss';
2
+ @import './helpers/mixin.scss';
3
3
 
4
4
  .vxe-export--panel-column > ul {
5
5
  list-style-type: none;
@@ -121,5 +121,5 @@
121
121
  }
122
122
 
123
123
  .vxe-export--panel-column-option {
124
- @extend %XECheckboxIcon;
124
+ @include createCheckboxIcon();
125
125
  }
@@ -1,5 +1,5 @@
1
1
  /**Variable**/
2
- @import './base/checked.scss';
2
+ @import './helpers/mixin.scss';
3
3
 
4
4
  /*筛选*/
5
5
  .vxe-cell--filter {
@@ -109,5 +109,5 @@
109
109
  }
110
110
 
111
111
  .vxe-table--filter-option {
112
- @extend %XECheckboxIcon;
112
+ @include createCheckboxIcon();
113
113
  }
@@ -1,3 +1,79 @@
1
1
  @mixin animatTransition ($property, $duration: .1s, $func: ease-in-out) {
2
2
  transition: $property $duration $func;
3
+ }
4
+
5
+ @mixin createCheckboxIcon {
6
+ .vxe-checkbox--icon {
7
+ font-size: 1.34em;
8
+ }
9
+ .vxe-checkbox--icon {
10
+ color: $vxe-input-border-color;
11
+ vertical-align: middle;
12
+ font-weight: 700;
13
+ user-select: none;
14
+ }
15
+ &.is--checked,
16
+ &.is--indeterminate {
17
+ color: $vxe-primary-color;
18
+ .vxe-checkbox--icon {
19
+ color: $vxe-primary-color;
20
+ }
21
+ }
22
+ &:not(.is--disabled) {
23
+ cursor: pointer;
24
+ &:hover {
25
+ .vxe-checkbox--icon {
26
+ color: $vxe-primary-color;
27
+ }
28
+ }
29
+ }
30
+ &.is--disabled {
31
+ color: $vxe-font-disabled-color;
32
+ cursor: not-allowed;
33
+ .vxe-checkbox--icon {
34
+ color: $vxe-input-disabled-color;
35
+ }
36
+ }
37
+ .vxe-checkbox--label {
38
+ padding-left: 0.5em;
39
+ vertical-align: middle;
40
+ }
41
+ }
42
+
43
+ @mixin createRadioIcon {
44
+ cursor: pointer;
45
+ .vxe-radio--icon {
46
+ font-size: 1.4em;
47
+ }
48
+ .vxe-radio--icon {
49
+ color: $vxe-input-border-color;
50
+ vertical-align: middle;
51
+ font-weight: 700;
52
+ user-select: none;
53
+ }
54
+ &.is--checked {
55
+ color: $vxe-primary-color;
56
+ .vxe-radio--icon {
57
+ color: $vxe-primary-color;
58
+ }
59
+ }
60
+ &:not(.is--disabled) {
61
+ cursor: pointer;
62
+ &:hover {
63
+ .vxe-radio--icon {
64
+ color: $vxe-primary-color;
65
+ }
66
+ }
67
+ }
68
+ &.is--disabled {
69
+ color: $vxe-font-disabled-color;
70
+ cursor: not-allowed;
71
+ .vxe-radio--icon {
72
+ color: $vxe-input-disabled-color;
73
+ }
74
+ }
75
+ .vxe-radio--label {
76
+ padding-left: 0.5em;
77
+ vertical-align: middle;
78
+ }
3
79
  }
package/styles/radio.scss CHANGED
@@ -1,7 +1,6 @@
1
1
  /**Variable**/
2
2
  @import './helpers/mixin.scss';
3
3
  @import './base/common.scss';
4
- @import './base/checked.scss';
5
4
 
6
5
  /*radio-group*/
7
6
  .vxe-radio-group {
@@ -16,7 +15,7 @@
16
15
 
17
16
  /*radio*/
18
17
  .vxe-radio {
19
- @extend %XERadioIcon;
18
+ @include createRadioIcon();
20
19
  display: inline-block;
21
20
  vertical-align: middle;
22
21
  white-space: nowrap;