vxe-table 3.6.0-beta.4 → 3.6.0-beta.8

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 (51) hide show
  1. package/helper/vetur/attributes.json +17 -5
  2. package/helper/vetur/tags.json +10 -2
  3. package/lib/button/style/style.css +14 -5
  4. package/lib/button/style/style.min.css +1 -1
  5. package/lib/export/style/style.css +0 -12
  6. package/lib/export/style/style.min.css +1 -1
  7. package/lib/filter/style/style.css +0 -12
  8. package/lib/filter/style/style.min.css +1 -1
  9. package/lib/grid/style/style.css +1 -1
  10. package/lib/grid/style/style.min.css +1 -1
  11. package/lib/icon/index.js +10 -4
  12. package/lib/icon/index.min.js +1 -1
  13. package/lib/icon/src/icon.js +28 -0
  14. package/lib/icon/src/icon.min.js +1 -0
  15. package/lib/icon/style/style.css +70 -550
  16. package/lib/icon/style/style.min.css +1 -1
  17. package/lib/index.css +1 -1
  18. package/lib/index.umd.js +45 -11
  19. package/lib/index.umd.min.js +1 -1
  20. package/lib/input/style/style.css +1 -1
  21. package/lib/input/style/style.min.css +1 -1
  22. package/lib/modal/src/modal.js +12 -5
  23. package/lib/modal/src/modal.min.js +1 -1
  24. package/lib/modal/style/style.css +22 -13
  25. package/lib/modal/style/style.min.css +1 -1
  26. package/lib/pager/style/style.css +1 -1
  27. package/lib/pager/style/style.min.css +1 -1
  28. package/lib/style.css +1 -1
  29. package/lib/style.min.css +1 -1
  30. package/lib/toolbar/style/style.css +1 -9
  31. package/lib/toolbar/style/style.min.css +1 -1
  32. package/lib/tools/log.js +1 -1
  33. package/lib/tools/log.min.js +1 -1
  34. package/lib/v-x-e-table/index.js +1 -1
  35. package/lib/v-x-e-table/index.min.js +1 -1
  36. package/lib/v-x-e-table/style/style.css +72 -552
  37. package/lib/v-x-e-table/style/style.min.css +1 -1
  38. package/package.json +3 -3
  39. package/packages/icon/index.js +7 -4
  40. package/packages/icon/src/icon.js +19 -0
  41. package/packages/modal/src/modal.js +29 -21
  42. package/styles/button.scss +4 -2
  43. package/styles/export.scss +0 -29
  44. package/styles/filter.scss +0 -29
  45. package/styles/icon.scss +89 -27
  46. package/styles/input.scss +1 -1
  47. package/styles/loading.scss +1 -1
  48. package/styles/modal.scss +19 -16
  49. package/styles/toolbar.scss +0 -20
  50. package/styles/variable.scss +1 -1
  51. package/types/table.d.ts +56 -18
package/lib/index.umd.js CHANGED
@@ -8812,7 +8812,7 @@ var es_array_concat = __webpack_require__("99af");
8812
8812
 
8813
8813
 
8814
8814
  function getLog(message, params) {
8815
- return "[vxe-table v".concat("3.6.0-beta.2", "] ").concat(src_conf.i18n(message, params));
8815
+ return "[vxe-table v".concat("3.6.0-beta.8", "] ").concat(src_conf.i18n(message, params));
8816
8816
  }
8817
8817
 
8818
8818
  function outLog(type) {
@@ -10093,7 +10093,7 @@ function _t(key, args) {
10093
10093
  var v = 'v3';
10094
10094
  var VXETable = {
10095
10095
  v: v,
10096
- version: "3.6.0-beta.2",
10096
+ version: "3.6.0-beta.8",
10097
10097
  reg: reg,
10098
10098
  use: use,
10099
10099
  setup: setup,
@@ -10113,11 +10113,38 @@ var VXETable = {
10113
10113
 
10114
10114
 
10115
10115
  /* harmony default export */ var v_x_e_table = (VXETable);
10116
+ // CONCATENATED MODULE: ./packages/icon/src/icon.js
10117
+
10118
+ /* harmony default export */ var src_icon = ({
10119
+ name: 'VxeIcon',
10120
+ props: {
10121
+ name: String
10122
+ },
10123
+ render: function render(h) {
10124
+ return h('i', {
10125
+ class: "vxe-icon-".concat(this.name),
10126
+ on: {
10127
+ click: this.clickEvent
10128
+ }
10129
+ });
10130
+ },
10131
+ methods: {
10132
+ clickEvent: function clickEvent(evnt) {
10133
+ this.$emit('click', {
10134
+ $event: evnt
10135
+ });
10136
+ }
10137
+ }
10138
+ });
10116
10139
  // CONCATENATED MODULE: ./packages/icon/index.js
10117
- var Icon = {
10118
- /* eslint-disable @typescript-eslint/no-empty-function */
10119
- install: function install() {}
10120
- };
10140
+
10141
+
10142
+
10143
+ var Icon = Object.assign(src_icon, {
10144
+ install: function install(Vue) {
10145
+ Vue.component(src_icon.name, src_icon);
10146
+ }
10147
+ });
10121
10148
  /* harmony default export */ var packages_icon = (Icon);
10122
10149
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
10123
10150
  var es_object_keys = __webpack_require__("b64b");
@@ -23579,6 +23606,7 @@ var msgQueue = [];
23579
23606
  var footerSlot = $scopedSlots.footer || slots.footer;
23580
23607
  var headerSlot = $scopedSlots.header || slots.header;
23581
23608
  var titleSlot = $scopedSlots.title || slots.title;
23609
+ var cornerSlot = $scopedSlots.corner || slots.corner;
23582
23610
  var headerOns = {};
23583
23611
 
23584
23612
  if (draggable) {
@@ -23612,11 +23640,17 @@ var msgQueue = [];
23612
23640
  on: headerOns
23613
23641
  }, headerSlot ? !inited || destroyOnClose && !visible ? [] : getSlotVNs(headerSlot.call(this, {
23614
23642
  $modal: this
23615
- }, h)) : [titleSlot ? getSlotVNs(titleSlot.call(this, {
23643
+ }, h)) : [h('div', {
23644
+ class: 'vxe-modal--header-title'
23645
+ }, titleSlot ? getSlotVNs(titleSlot.call(this, {
23646
+ $modal: this
23647
+ }, h)) : title ? getFuncText(title) : src_conf.i18n('vxe.alert.title')), h('div', {
23648
+ class: 'vxe-modal--header-right'
23649
+ }, [cornerSlot ? h('span', {
23650
+ class: 'vxe-modal--corner-warpper'
23651
+ }, getSlotVNs(cornerSlot({
23616
23652
  $modal: this
23617
- }, h)) : h('span', {
23618
- class: 'vxe-modal--title'
23619
- }, title ? getFuncText(title) : src_conf.i18n('vxe.alert.title')), showZoom ? h('i', {
23653
+ }))) : _e(), showZoom ? h('i', {
23620
23654
  class: ['vxe-modal--zoom-btn', 'trigger--btn', zoomLocat ? src_conf.icon.MODAL_ZOOM_OUT : src_conf.icon.MODAL_ZOOM_IN],
23621
23655
  attrs: {
23622
23656
  title: src_conf.i18n("vxe.modal.zoom".concat(zoomLocat ? 'Out' : 'In'))
@@ -23632,7 +23666,7 @@ var msgQueue = [];
23632
23666
  on: {
23633
23667
  click: this.closeEvent
23634
23668
  }
23635
- }) : _e()]) : null, h('div', {
23669
+ }) : _e()])]) : null, h('div', {
23636
23670
  class: 'vxe-modal--body'
23637
23671
  }, [status ? h('div', {
23638
23672
  class: 'vxe-modal--status-wrapper'