vxe-table 3.7.0-beta.4 → 3.7.0-beta.5

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 (32) hide show
  1. package/helper/vetur/attributes.json +23 -3
  2. package/helper/vetur/tags.json +5 -0
  3. package/lib/button/src/button.js +9 -3
  4. package/lib/button/src/button.min.js +1 -1
  5. package/lib/icon/style/style.css +1 -1
  6. package/lib/icon/style/style.min.css +1 -1
  7. package/lib/index.css +1 -1
  8. package/lib/index.umd.js +32 -9
  9. package/lib/index.umd.min.js +1 -1
  10. package/lib/pulldown/src/pulldown.js +11 -2
  11. package/lib/pulldown/src/pulldown.min.js +1 -1
  12. package/lib/select/src/select.js +5 -1
  13. package/lib/select/src/select.min.js +1 -1
  14. package/lib/style.css +1 -1
  15. package/lib/style.min.css +1 -1
  16. package/lib/tools/log.js +1 -1
  17. package/lib/tools/log.min.js +1 -1
  18. package/lib/tooltip/src/tooltip.js +5 -1
  19. package/lib/tooltip/src/tooltip.min.js +1 -1
  20. package/lib/v-x-e-table/index.js +1 -1
  21. package/lib/v-x-e-table/index.min.js +1 -1
  22. package/package.json +1 -1
  23. package/packages/button/src/button.js +5 -4
  24. package/packages/pulldown/src/pulldown.js +6 -3
  25. package/packages/select/src/select.js +3 -2
  26. package/packages/tooltip/src/tooltip.js +3 -2
  27. /package/lib/icon/style/{iconfont.1689208376629.ttf → iconfont.1689384538396.ttf} +0 -0
  28. /package/lib/icon/style/{iconfont.1689208376629.woff → iconfont.1689384538396.woff} +0 -0
  29. /package/lib/icon/style/{iconfont.1689208376629.woff2 → iconfont.1689384538396.woff2} +0 -0
  30. /package/lib/{iconfont.1689208376629.ttf → iconfont.1689384538396.ttf} +0 -0
  31. /package/lib/{iconfont.1689208376629.woff → iconfont.1689384538396.woff} +0 -0
  32. /package/lib/{iconfont.1689208376629.woff2 → iconfont.1689384538396.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -11042,7 +11042,7 @@ var es_array_concat = __webpack_require__(2222);
11042
11042
 
11043
11043
 
11044
11044
  function getLog(message, params) {
11045
- return "[vxe-table v".concat("3.7.0-beta.3", "] ").concat(conf.i18n(message, params));
11045
+ return "[vxe-table v".concat("3.7.0-beta.4", "] ").concat(conf.i18n(message, params));
11046
11046
  }
11047
11047
  function outLog(type) {
11048
11048
  return function (message, params) {
@@ -12229,7 +12229,7 @@ function _t(key, args) {
12229
12229
  var v = 'v3';
12230
12230
  var VXETable = {
12231
12231
  v: v,
12232
- version: "3.7.0-beta.3",
12232
+ version: "3.7.0-beta.4",
12233
12233
  reg: reg,
12234
12234
  use: use,
12235
12235
  setup: setup,
@@ -28429,6 +28429,7 @@ function renderOpts(h, _vm) {
28429
28429
  optionGroupProps: Object,
28430
28430
  optionConfig: Object,
28431
28431
  className: [String, Function],
28432
+ popupClassName: [String, Function],
28432
28433
  max: [String, Number],
28433
28434
  size: {
28434
28435
  type: String,
@@ -28616,6 +28617,7 @@ function renderOpts(h, _vm) {
28616
28617
  $scopedSlots = this.$scopedSlots,
28617
28618
  vSize = this.vSize,
28618
28619
  className = this.className,
28620
+ popupClassName = this.popupClassName,
28619
28621
  inited = this.inited,
28620
28622
  isActivated = this.isActivated,
28621
28623
  loading = this.loading,
@@ -28656,7 +28658,9 @@ function renderOpts(h, _vm) {
28656
28658
  } : {}
28657
28659
  }), h('div', {
28658
28660
  ref: 'panel',
28659
- "class": ['vxe-table--ignore-clear vxe-select--panel', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', this.transfer), _defineProperty(_ref2, 'animat--leave', !loading && this.animatVisible), _defineProperty(_ref2, 'animat--enter', !loading && visiblePanel), _ref2)],
28661
+ "class": ['vxe-table--ignore-clear vxe-select--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
28662
+ $select: this
28663
+ }) : popupClassName : '', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', this.transfer), _defineProperty(_ref2, 'animat--leave', !loading && this.animatVisible), _defineProperty(_ref2, 'animat--enter', !loading && visiblePanel), _ref2)],
28660
28664
  attrs: {
28661
28665
  placement: this.panelPlacement
28662
28666
  },
@@ -36255,7 +36259,8 @@ var Textarea = Object.assign(src_textarea, {
36255
36259
  disabled: Boolean,
36256
36260
  loading: Boolean,
36257
36261
  destroyOnClose: Boolean,
36258
- className: String,
36262
+ className: [String, Function],
36263
+ popupClassName: [String, Function],
36259
36264
  transfer: {
36260
36265
  type: Boolean,
36261
36266
  "default": function _default() {
@@ -36305,6 +36310,7 @@ var Textarea = Object.assign(src_textarea, {
36305
36310
  var $scopedSlots = this.$scopedSlots,
36306
36311
  $listeners = this.$listeners,
36307
36312
  className = this.className,
36313
+ popupClassName = this.popupClassName,
36308
36314
  inited = this.inited,
36309
36315
  type = this.type,
36310
36316
  destroyOnClose = this.destroyOnClose,
@@ -36320,7 +36326,9 @@ var Textarea = Object.assign(src_textarea, {
36320
36326
  panelPlacement = this.panelPlacement;
36321
36327
  var downsSlot = $scopedSlots.dropdowns;
36322
36328
  return downsSlot ? h('div', {
36323
- "class": ['vxe-button--dropdown', className, (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--active', showPanel), _ref)]
36329
+ "class": ['vxe-button--dropdown', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
36330
+ $button: this
36331
+ }) : className : '', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--active', showPanel), _ref)]
36324
36332
  }, [h('button', {
36325
36333
  ref: 'xBtn',
36326
36334
  "class": ['vxe-button', "type--".concat(btnType), (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, "theme--".concat(status), status), _defineProperty(_ref2, 'is--round', this.round), _defineProperty(_ref2, 'is--circle', this.circle), _defineProperty(_ref2, 'is--disabled', disabled || loading), _defineProperty(_ref2, 'is--loading', loading), _ref2)],
@@ -36343,7 +36351,9 @@ var Textarea = Object.assign(src_textarea, {
36343
36351
  "class": "vxe-button--dropdown-arrow ".concat(conf.icon.BUTTON_DROPDOWN)
36344
36352
  })])), h('div', {
36345
36353
  ref: 'panel',
36346
- "class": ['vxe-button--dropdown-panel', (_ref3 = {}, _defineProperty(_ref3, "size--".concat(vSize), vSize), _defineProperty(_ref3, 'animat--leave', animatVisible), _defineProperty(_ref3, 'animat--enter', showPanel), _ref3)],
36354
+ "class": ['vxe-button--dropdown-panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
36355
+ $button: this
36356
+ }) : popupClassName : '', (_ref3 = {}, _defineProperty(_ref3, "size--".concat(vSize), vSize), _defineProperty(_ref3, 'animat--leave', animatVisible), _defineProperty(_ref3, 'animat--enter', showPanel), _ref3)],
36347
36357
  attrs: {
36348
36358
  placement: panelPlacement
36349
36359
  },
@@ -36845,6 +36855,7 @@ function renderContent(h, _vm) {
36845
36855
  },
36846
36856
  useHTML: Boolean,
36847
36857
  zIndex: [String, Number],
36858
+ popupClassName: [String, Function],
36848
36859
  isArrow: {
36849
36860
  type: Boolean,
36850
36861
  "default": true
@@ -36954,6 +36965,7 @@ function renderContent(h, _vm) {
36954
36965
  var _ref;
36955
36966
  var $scopedSlots = this.$scopedSlots,
36956
36967
  vSize = this.vSize,
36968
+ popupClassName = this.popupClassName,
36957
36969
  theme = this.theme,
36958
36970
  tipActive = this.tipActive,
36959
36971
  isArrow = this.isArrow,
@@ -36968,7 +36980,9 @@ function renderContent(h, _vm) {
36968
36980
  };
36969
36981
  }
36970
36982
  return h('div', {
36971
- "class": ['vxe-table--tooltip-wrapper', "theme--".concat(theme), (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, "placement--".concat(tipStore.placement), tipStore.placement), _defineProperty(_ref, 'is--enterable', enterable), _defineProperty(_ref, 'is--visible', visible), _defineProperty(_ref, 'is--arrow', isArrow), _defineProperty(_ref, 'is--actived', tipActive), _ref)],
36983
+ "class": ['vxe-table--tooltip-wrapper', "theme--".concat(theme), popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
36984
+ $tooltip: this
36985
+ }) : popupClassName : '', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, "placement--".concat(tipStore.placement), tipStore.placement), _defineProperty(_ref, 'is--enterable', enterable), _defineProperty(_ref, 'is--visible', visible), _defineProperty(_ref, 'is--arrow', isArrow), _defineProperty(_ref, 'is--actived', tipActive), _ref)],
36972
36986
  style: tipStore.style,
36973
36987
  ref: 'tipWrapper',
36974
36988
  on: on
@@ -39091,6 +39105,7 @@ var List = Object.assign(list, {
39091
39105
 
39092
39106
 
39093
39107
 
39108
+
39094
39109
  /* harmony default export */ const pulldown = ({
39095
39110
  name: 'VxePulldown',
39096
39111
  mixins: [size],
@@ -39104,6 +39119,8 @@ var List = Object.assign(list, {
39104
39119
  return conf.size;
39105
39120
  }
39106
39121
  },
39122
+ className: [String, Function],
39123
+ popupClassName: [String, Function],
39107
39124
  destroyOnClose: Boolean,
39108
39125
  transfer: Boolean
39109
39126
  },
@@ -39148,6 +39165,8 @@ var List = Object.assign(list, {
39148
39165
  var _ref, _ref2;
39149
39166
  var $scopedSlots = this.$scopedSlots,
39150
39167
  inited = this.inited,
39168
+ className = this.className,
39169
+ popupClassName = this.popupClassName,
39151
39170
  vSize = this.vSize,
39152
39171
  destroyOnClose = this.destroyOnClose,
39153
39172
  transfer = this.transfer,
@@ -39160,7 +39179,9 @@ var List = Object.assign(list, {
39160
39179
  var defaultSlot = $scopedSlots["default"];
39161
39180
  var downSlot = $scopedSlots.dropdown;
39162
39181
  return h('div', {
39163
- "class": ['vxe-pulldown', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--visivle', visiblePanel), _defineProperty(_ref, 'is--disabled', disabled), _defineProperty(_ref, 'is--active', isActivated), _ref)]
39182
+ "class": ['vxe-pulldown', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
39183
+ $pulldown: this
39184
+ }) : className : '', (_ref = {}, _defineProperty(_ref, "size--".concat(vSize), vSize), _defineProperty(_ref, 'is--visivle', visiblePanel), _defineProperty(_ref, 'is--disabled', disabled), _defineProperty(_ref, 'is--active', isActivated), _ref)]
39164
39185
  }, [h('div', {
39165
39186
  ref: 'content',
39166
39187
  "class": 'vxe-pulldown--content'
@@ -39168,7 +39189,9 @@ var List = Object.assign(list, {
39168
39189
  $pulldown: this
39169
39190
  }, h) : []), h('div', {
39170
39191
  ref: 'panel',
39171
- "class": ['vxe-table--ignore-clear vxe-pulldown--panel', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', transfer), _defineProperty(_ref2, 'animat--leave', animatVisible), _defineProperty(_ref2, 'animat--enter', visiblePanel), _ref2)],
39192
+ "class": ['vxe-table--ignore-clear vxe-pulldown--panel', popupClassName ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(popupClassName) ? popupClassName({
39193
+ $pulldown: this
39194
+ }) : popupClassName : '', (_ref2 = {}, _defineProperty(_ref2, "size--".concat(vSize), vSize), _defineProperty(_ref2, 'is--transfer', transfer), _defineProperty(_ref2, 'animat--leave', animatVisible), _defineProperty(_ref2, 'animat--enter', visiblePanel), _ref2)],
39172
39195
  attrs: {
39173
39196
  placement: panelPlacement
39174
39197
  },