vxe-table 3.5.9 → 3.6.0-beta.2

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 (57) hide show
  1. package/lib/button/style/style.css +1 -58
  2. package/lib/button/style/style.min.css +1 -1
  3. package/lib/edit/src/mixin.js +10 -10
  4. package/lib/edit/src/mixin.min.js +1 -1
  5. package/lib/form/src/form.js +1 -1
  6. package/lib/form/src/form.min.js +1 -1
  7. package/lib/form/style/style.css +0 -3
  8. package/lib/form/style/style.min.css +1 -1
  9. package/lib/icon/style/style.css +377 -518
  10. package/lib/icon/style/style.min.css +1 -1
  11. package/lib/index.css +1 -1
  12. package/lib/index.umd.js +345 -334
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/input/src/input.js +3 -3
  15. package/lib/input/src/input.min.js +1 -1
  16. package/lib/input/style/style.css +13 -4
  17. package/lib/input/style/style.min.css +1 -1
  18. package/lib/modal/style/style.css +0 -1
  19. package/lib/modal/style/style.min.css +1 -1
  20. package/lib/pager/style/style.css +3 -1
  21. package/lib/pager/style/style.min.css +1 -1
  22. package/lib/select/style/style.css +1 -0
  23. package/lib/select/style/style.min.css +1 -1
  24. package/lib/style.css +1 -1
  25. package/lib/style.min.css +1 -1
  26. package/lib/table/src/cell.js +9 -8
  27. package/lib/table/src/cell.min.js +1 -1
  28. package/lib/table/src/methods.js +281 -270
  29. package/lib/table/src/methods.min.js +1 -1
  30. package/lib/table/style/style.css +5 -5
  31. package/lib/table/style/style.min.css +1 -1
  32. package/lib/toolbar/src/toolbar.js +1 -1
  33. package/lib/toolbar/src/toolbar.min.js +1 -1
  34. package/lib/tools/log.js +1 -1
  35. package/lib/tools/log.min.js +1 -1
  36. package/lib/v-x-e-table/index.js +1 -1
  37. package/lib/v-x-e-table/index.min.js +1 -1
  38. package/lib/v-x-e-table/src/conf.js +38 -39
  39. package/lib/v-x-e-table/src/conf.min.js +1 -1
  40. package/lib/v-x-e-table/style/style.css +365 -482
  41. package/lib/v-x-e-table/style/style.min.css +1 -1
  42. package/package.json +1 -1
  43. package/packages/edit/src/mixin.js +10 -10
  44. package/packages/form/src/form.js +1 -1
  45. package/packages/input/src/input.js +3 -3
  46. package/packages/table/src/cell.js +8 -8
  47. package/packages/table/src/methods.js +50 -42
  48. package/packages/toolbar/src/toolbar.js +1 -1
  49. package/packages/v-x-e-table/src/conf.js +38 -38
  50. package/styles/button.scss +1 -43
  51. package/styles/form.scss +0 -3
  52. package/styles/icon.scss +410 -616
  53. package/styles/input.scss +8 -0
  54. package/styles/modal.scss +0 -1
  55. package/styles/pager.scss +2 -0
  56. package/styles/select.scss +1 -0
  57. package/styles/table.scss +6 -7
@@ -1,4 +1,4 @@
1
- const iconPrefix = 'vxe-icon--'
1
+ const iconPrefix = 'vxe-icon-'
2
2
 
3
3
  export default {
4
4
  size: null, // 全局尺寸
@@ -6,7 +6,7 @@ export default {
6
6
  version: 0, // 版本号,对于某些带数据缓存的功能有用到,上升版本号可以用于重置数据
7
7
  // resizeInterval: 500,
8
8
  emptyCell: ' ',
9
- loadingText: null, // 自定义loading提示内容,如果为null则不显示文本
9
+ // loadingText: null, // 自定义loading提示内容,如果为null则不显示文本
10
10
  table: {
11
11
  fit: true,
12
12
  showHeader: true,
@@ -125,73 +125,73 @@ export default {
125
125
  },
126
126
  icon: {
127
127
  // loading
128
- // LOADING: iconPrefix + 'refresh roll vxe-loading--default-icon',
128
+ LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
129
129
 
130
130
  // table
131
- TABLE_SORT_ASC: iconPrefix + 'caret-top',
132
- TABLE_SORT_DESC: iconPrefix + 'caret-bottom',
131
+ TABLE_SORT_ASC: iconPrefix + 'caret-up',
132
+ TABLE_SORT_DESC: iconPrefix + 'caret-down',
133
133
  TABLE_FILTER_NONE: iconPrefix + 'funnel',
134
134
  TABLE_FILTER_MATCH: iconPrefix + 'funnel',
135
- TABLE_EDIT: iconPrefix + 'edit-outline',
136
- TABLE_HELP: iconPrefix + 'question',
137
- TABLE_TREE_LOADED: iconPrefix + 'refresh roll',
135
+ TABLE_EDIT: iconPrefix + 'edit',
136
+ TABLE_HELP: iconPrefix + 'question-circle-fill',
137
+ TABLE_TREE_LOADED: iconPrefix + 'spinner roll',
138
138
  TABLE_TREE_OPEN: iconPrefix + 'caret-right rotate90',
139
139
  TABLE_TREE_CLOSE: iconPrefix + 'caret-right',
140
- TABLE_EXPAND_LOADED: iconPrefix + 'refresh roll',
140
+ TABLE_EXPAND_LOADED: iconPrefix + 'spinner roll',
141
141
  TABLE_EXPAND_OPEN: iconPrefix + 'arrow-right rotate90',
142
142
  TABLE_EXPAND_CLOSE: iconPrefix + 'arrow-right',
143
143
 
144
144
  // button
145
- BUTTON_DROPDOWN: iconPrefix + 'arrow-bottom',
146
- BUTTON_LOADING: iconPrefix + 'refresh roll',
145
+ BUTTON_DROPDOWN: iconPrefix + 'arrow-down',
146
+ BUTTON_LOADING: iconPrefix + 'spinner roll',
147
147
 
148
148
  // select
149
- SELECT_LOADED: iconPrefix + 'refresh roll',
150
- SELECT_OPEN: iconPrefix + 'caret-bottom rotate180',
151
- SELECT_CLOSE: iconPrefix + 'caret-bottom',
149
+ SELECT_LOADED: iconPrefix + 'spinner roll',
150
+ SELECT_OPEN: iconPrefix + 'caret-down rotate180',
151
+ SELECT_CLOSE: iconPrefix + 'caret-down',
152
152
 
153
153
  // pager
154
- PAGER_JUMP_PREV: iconPrefix + 'd-arrow-left',
155
- PAGER_JUMP_NEXT: iconPrefix + 'd-arrow-right',
154
+ PAGER_JUMP_PREV: iconPrefix + 'arrow-double-left',
155
+ PAGER_JUMP_NEXT: iconPrefix + 'arrow-double-right',
156
156
  PAGER_PREV_PAGE: iconPrefix + 'arrow-left',
157
157
  PAGER_NEXT_PAGE: iconPrefix + 'arrow-right',
158
- PAGER_JUMP_MORE: iconPrefix + 'more',
158
+ PAGER_JUMP_MORE: iconPrefix + 'ellipsis-h',
159
159
 
160
160
  // input
161
- INPUT_CLEAR: iconPrefix + 'close',
162
- INPUT_PWD: iconPrefix + 'eye-slash',
163
- INPUT_SHOW_PWD: iconPrefix + 'eye',
164
- INPUT_PREV_NUM: iconPrefix + 'caret-top',
165
- INPUT_NEXT_NUM: iconPrefix + 'caret-bottom',
161
+ INPUT_CLEAR: iconPrefix + 'error-circle-fill',
162
+ INPUT_PWD: iconPrefix + 'eye-fill',
163
+ INPUT_SHOW_PWD: iconPrefix + 'eye-fill-close',
164
+ INPUT_PREV_NUM: iconPrefix + 'caret-up',
165
+ INPUT_NEXT_NUM: iconPrefix + 'caret-down',
166
166
  INPUT_DATE: iconPrefix + 'calendar',
167
167
  INPUT_SEARCH: iconPrefix + 'search',
168
168
 
169
169
  // modal
170
170
  MODAL_ZOOM_IN: iconPrefix + 'square',
171
- MODAL_ZOOM_OUT: iconPrefix + 'zoomout',
171
+ MODAL_ZOOM_OUT: iconPrefix + 'maximize',
172
172
  MODAL_CLOSE: iconPrefix + 'close',
173
- MODAL_INFO: iconPrefix + 'info',
174
- MODAL_SUCCESS: iconPrefix + 'success',
175
- MODAL_WARNING: iconPrefix + 'warning',
176
- MODAL_ERROR: iconPrefix + 'error',
177
- MODAL_QUESTION: iconPrefix + 'question',
178
- MODAL_LOADING: iconPrefix + 'refresh roll',
173
+ MODAL_INFO: iconPrefix + 'info-circle-fill',
174
+ MODAL_SUCCESS: iconPrefix + 'success-circle-fill',
175
+ MODAL_WARNING: iconPrefix + 'warnion-circle-fill',
176
+ MODAL_ERROR: iconPrefix + 'error-circle-fill',
177
+ MODAL_QUESTION: iconPrefix + 'question-circle-fill',
178
+ MODAL_LOADING: iconPrefix + 'spinner roll',
179
179
 
180
180
  // toolbar
181
- TOOLBAR_TOOLS_REFRESH: iconPrefix + 'refresh',
182
- TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + 'refresh roll',
181
+ TOOLBAR_TOOLS_REFRESH: iconPrefix + 'repeat',
182
+ TOOLBAR_TOOLS_REFRESH_LOADING: iconPrefix + 'repeat roll',
183
183
  TOOLBAR_TOOLS_IMPORT: iconPrefix + 'upload',
184
184
  TOOLBAR_TOOLS_EXPORT: iconPrefix + 'download',
185
185
  TOOLBAR_TOOLS_PRINT: iconPrefix + 'print',
186
- TOOLBAR_TOOLS_ZOOM_IN: iconPrefix + 'zoomin',
187
- TOOLBAR_TOOLS_ZOOM_OUT: iconPrefix + 'zoomout',
188
- TOOLBAR_TOOLS_CUSTOM: iconPrefix + 'menu',
186
+ TOOLBAR_TOOLS_FULLSCREEN: iconPrefix + 'fullscreen',
187
+ TOOLBAR_TOOLS_MINIMIZE: iconPrefix + 'minimize',
188
+ TOOLBAR_TOOLS_CUSTOM: iconPrefix + 'custom-column',
189
189
 
190
190
  // form
191
- FORM_PREFIX: iconPrefix + 'question',
192
- FORM_SUFFIX: iconPrefix + 'question',
193
- FORM_FOLDING: iconPrefix + 'arrow-top rotate180',
194
- FORM_UNFOLDING: iconPrefix + 'arrow-top'
191
+ FORM_PREFIX: iconPrefix + 'question-circle-fill',
192
+ FORM_SUFFIX: iconPrefix + 'question-circle-fill',
193
+ FORM_FOLDING: iconPrefix + 'arrow-up rotate180',
194
+ FORM_UNFOLDING: iconPrefix + 'arrow-up'
195
195
  },
196
196
  grid: {
197
197
  // size: null,
@@ -58,11 +58,6 @@ $btnThemeList: (
58
58
  &:not(.is--disabled) {
59
59
  color: $vxe-font-color;
60
60
  cursor: pointer;
61
- .vxe-button--icon {
62
- &.vxe-icon--zoomin {
63
- border-color: $vxe-font-color;
64
- }
65
- }
66
61
  }
67
62
  &.is--loading {
68
63
  cursor: progress;
@@ -80,11 +75,6 @@ $btnThemeList: (
80
75
  }
81
76
  &.is--disabled {
82
77
  color: $vxe-disabled-color;
83
- .vxe-button--icon {
84
- &.vxe-icon--zoomin {
85
- border-color: $vxe-disabled-color;
86
- }
87
- }
88
78
  &:not(.is--loading) {
89
79
  cursor: no-drop;
90
80
  }
@@ -140,11 +130,6 @@ $btnThemeList: (
140
130
  &:not(.is--disabled) {
141
131
  &:hover {
142
132
  color: lighten($vxe-primary-color, 6%);
143
- .vxe-button--icon {
144
- &.vxe-icon--zoomin {
145
- border-color: lighten($vxe-primary-color, 6%);
146
- }
147
- }
148
133
  }
149
134
  &:focus {
150
135
  border-color: $vxe-primary-color;
@@ -154,16 +139,6 @@ $btnThemeList: (
154
139
  color: darken($vxe-primary-color, 3%);
155
140
  border-color: darken($vxe-primary-color, 3%);
156
141
  background-color: darken($vxe-button-default-background-color, 3%);
157
- .vxe-button--icon {
158
- &.vxe-icon--zoomin {
159
- background-color: darken($vxe-button-default-background-color, 3%);
160
- }
161
- &.vxe-icon--zoomout {
162
- &:after {
163
- background-color: darken($vxe-button-default-background-color, 3%);
164
- }
165
- }
166
- }
167
142
  }
168
143
  }
169
144
  @for $index from 0 to length($btnThemeList) {
@@ -172,11 +147,6 @@ $btnThemeList: (
172
147
  $btnBackground: map-get($item, btnBackground);
173
148
  &.theme--#{map-get($item, name)} {
174
149
  color: $btnColor;
175
- .vxe-button--icon {
176
- &.vxe-icon--zoomin {
177
- border-color: $btnColor;
178
- }
179
- }
180
150
  &:not(.is--disabled) {
181
151
  border-color: $btnBackground;
182
152
  background-color: $btnBackground;
@@ -184,24 +154,11 @@ $btnThemeList: (
184
154
  color: $btnColor;
185
155
  background-color: lighten($btnBackground, 6%);
186
156
  border-color: lighten($btnBackground, 6%);
187
- .vxe-button--icon {
188
- &.vxe-icon--zoomin {
189
- border-color: lighten($btnBackground, 6%);
190
- }
191
- }
192
157
  }
193
158
  &:active {
194
159
  color: $btnColor;
195
160
  background-color: darken($btnBackground, 3%);
196
161
  border-color: darken($btnBackground, 3%);
197
- &.vxe-icon--zoomin {
198
- background-color: darken($btnBackground, 3%);
199
- }
200
- &.vxe-icon--zoomout {
201
- &:after {
202
- background-color: darken($btnBackground, 3%);
203
- }
204
- }
205
162
  }
206
163
  }
207
164
  &.is--disabled {
@@ -333,6 +290,7 @@ $btnThemeList: (
333
290
  }
334
291
 
335
292
  .vxe-button--dropdown-arrow {
293
+ display: inline-block;
336
294
  font-size: 12px;
337
295
  margin-left: 4px;
338
296
  @include animatTransition(transform, .2s);
package/styles/form.scss CHANGED
@@ -44,9 +44,6 @@
44
44
  .vxe-form--item-title-suffix {
45
45
  cursor: help;
46
46
  vertical-align: middle;
47
- & > i {
48
- vertical-align: middle;
49
- }
50
47
  }
51
48
  .vxe-form--item-title-prefix {
52
49
  margin-right: 0.25em;