vxe-pc-ui 3.1.13 → 3.1.15

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 (48) hide show
  1. package/es/breadcrumb/src/breadcrumb-item.js +1 -0
  2. package/es/button/src/button.js +9 -17
  3. package/es/form/src/render.js +2 -2
  4. package/es/icon/style.css +1 -1
  5. package/es/link/src/link.js +1 -0
  6. package/es/menu/src/menu.js +2 -0
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/lib/breadcrumb/src/breadcrumb-item.js +1 -0
  12. package/lib/breadcrumb/src/breadcrumb-item.min.js +1 -1
  13. package/lib/button/src/button.js +7 -15
  14. package/lib/button/src/button.min.js +1 -1
  15. package/lib/form/src/render.js +2 -2
  16. package/lib/form/src/render.min.js +1 -1
  17. package/lib/icon/style/style.css +1 -1
  18. package/lib/icon/style/style.min.css +1 -1
  19. package/lib/index.umd.js +15 -19
  20. package/lib/index.umd.min.js +1 -1
  21. package/lib/link/src/link.js +1 -0
  22. package/lib/link/src/link.min.js +1 -1
  23. package/lib/menu/src/menu.js +2 -0
  24. package/lib/menu/src/menu.min.js +1 -1
  25. package/lib/style.css +1 -1
  26. package/lib/style.min.css +1 -1
  27. package/lib/ui/index.js +1 -1
  28. package/lib/ui/index.min.js +1 -1
  29. package/lib/ui/src/log.js +1 -1
  30. package/lib/ui/src/log.min.js +1 -1
  31. package/package.json +1 -1
  32. package/packages/breadcrumb/src/breadcrumb-item.ts +1 -0
  33. package/packages/button/src/button.ts +10 -16
  34. package/packages/form/src/render.ts +2 -2
  35. package/packages/link/src/link.ts +1 -0
  36. package/packages/menu/src/menu.ts +2 -0
  37. /package/es/icon/style/{iconfont.1727599660218.ttf → iconfont.1727606849158.ttf} +0 -0
  38. /package/es/icon/style/{iconfont.1727599660218.woff → iconfont.1727606849158.woff} +0 -0
  39. /package/es/icon/style/{iconfont.1727599660218.woff2 → iconfont.1727606849158.woff2} +0 -0
  40. /package/es/{iconfont.1727599660218.ttf → iconfont.1727606849158.ttf} +0 -0
  41. /package/es/{iconfont.1727599660218.woff → iconfont.1727606849158.woff} +0 -0
  42. /package/es/{iconfont.1727599660218.woff2 → iconfont.1727606849158.woff2} +0 -0
  43. /package/lib/icon/style/{iconfont.1727599660218.ttf → iconfont.1727606849158.ttf} +0 -0
  44. /package/lib/icon/style/{iconfont.1727599660218.woff → iconfont.1727606849158.woff} +0 -0
  45. /package/lib/icon/style/{iconfont.1727599660218.woff2 → iconfont.1727606849158.woff2} +0 -0
  46. /package/lib/{iconfont.1727599660218.ttf → iconfont.1727606849158.ttf} +0 -0
  47. /package/lib/{iconfont.1727599660218.woff → iconfont.1727606849158.woff} +0 -0
  48. /package/lib/{iconfont.1727599660218.woff2 → iconfont.1727606849158.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -12586,7 +12586,7 @@ function handleBooleanDefaultValue(value) {
12586
12586
  }
12587
12587
  ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
12588
12588
 
12589
- var log_version = "ui v".concat("3.1.13");
12589
+ var log_version = "ui v".concat("3.1.15");
12590
12590
  var warnLog = log.create('warn', log_version);
12591
12591
  var errLog = log.create('error', log_version);
12592
12592
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
@@ -12594,7 +12594,7 @@ var errLog = log.create('error', log_version);
12594
12594
 
12595
12595
 
12596
12596
 
12597
- var ui_version = "3.1.13";
12597
+ var ui_version = "3.1.15";
12598
12598
  core_VxeUI.version = ui_version;
12599
12599
  core_VxeUI.uiVersion = ui_version;
12600
12600
  core_VxeUI.tableVersion = '';
@@ -13896,6 +13896,7 @@ var AnchorLink = VxeAnchorLink;
13896
13896
  class: 'vxe-breadcrumb-item--content-link',
13897
13897
  props: {
13898
13898
  title: title,
13899
+ custom: true,
13899
13900
  to: routerLink
13900
13901
  }
13901
13902
  }, [h('span', {
@@ -15210,19 +15211,15 @@ function _toConsumableArray(r) {
15210
15211
  name: name,
15211
15212
  type: isFormBtn ? type : 'button',
15212
15213
  disabled: btnDisabled || loading,
15214
+ custom: true,
15213
15215
  to: routerLink
15214
15216
  },
15215
15217
  on: _objectSpread2({
15216
15218
  click: $xeButton.clickTargetEvent
15217
- }, btnOns),
15218
- scopedSlots: {
15219
- default: function _default() {
15220
- return $xeButton.renderContent(h).concat([h('i', {
15221
- class: "vxe-button--dropdown-arrow ".concat(getIcon().BUTTON_DROPDOWN)
15222
- })]);
15223
- }
15224
- }
15225
- }) : h('button', {
15219
+ }, btnOns)
15220
+ }, $xeButton.renderContent(h).concat([h('i', {
15221
+ class: "vxe-button--dropdown-arrow ".concat(getIcon().BUTTON_DROPDOWN)
15222
+ })])) : h('button', {
15226
15223
  ref: 'refButton',
15227
15224
  class: ['vxe-button', "type--".concat(btnMode), align ? "align--".concat(align) : '', className ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(className) ? className({
15228
15225
  $button: $xeButton
@@ -15266,19 +15263,15 @@ function _toConsumableArray(r) {
15266
15263
  name: name,
15267
15264
  type: isFormBtn ? type : 'button',
15268
15265
  disabled: btnDisabled || loading,
15266
+ custom: true,
15269
15267
  to: routerLink
15270
15268
  },
15271
15269
  on: {
15272
15270
  click: $xeButton.clickEvent,
15273
15271
  mouseenter: $xeButton.mouseenterEvent,
15274
15272
  mouseleave: $xeButton.mouseleaveEvent
15275
- },
15276
- scopedSlots: {
15277
- default: function _default() {
15278
- return $xeButton.renderContent(h);
15279
- }
15280
15273
  }
15281
- });
15274
+ }, $xeButton.renderContent(h));
15282
15275
  }
15283
15276
  return h('button', {
15284
15277
  ref: 'refButton',
@@ -22682,7 +22675,7 @@ function renderTitle(h, $xeForm, item, isGroup) {
22682
22675
  var rftTitle = compConf ? compConf.renderFormItemTitle || compConf.renderItemTitle : null;
22683
22676
  titVNs.push(h('span', {
22684
22677
  class: 'vxe-form--item-title-label'
22685
- }, titleSlot ? $xeForm.callSlot(titleSlot, params, h) : rftTitle ? getSlotVNs(rftTitle(h, itemRender, params)) : getFuncText(item.title)));
22678
+ }, titleSlot ? $xeForm.callSlot(titleSlot, params, h) : rftTitle ? getSlotVNs(rftTitle.call($xeForm, h, itemRender, params)) : getFuncText(item.title)));
22686
22679
  var fixVNs = [];
22687
22680
  if (titleSuffix) {
22688
22681
  fixVNs.push(titleSuffix.content || titleSuffix.message ? h(tooltip, {
@@ -22749,7 +22742,7 @@ var renderItemContent = function renderItemContent(h, $xeForm, item) {
22749
22742
  if (defaultSlot) {
22750
22743
  contentVNs = $xeForm.callSlot(defaultSlot, params, h);
22751
22744
  } else if (rftContent) {
22752
- contentVNs = getSlotVNs(rftContent(h, itemRender, params));
22745
+ contentVNs = getSlotVNs(rftContent.call($xeForm, h, itemRender, params));
22753
22746
  } else if (field) {
22754
22747
  contentVNs = ["".concat(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(data, field))];
22755
22748
  }
@@ -29847,6 +29840,7 @@ var es_string_link = __webpack_require__(778);
29847
29840
  props: {
29848
29841
  title: title,
29849
29842
  target: target,
29843
+ custom: true,
29850
29844
  to: routerLink
29851
29845
  },
29852
29846
  on: {
@@ -30633,6 +30627,7 @@ var List = VxeList;
30633
30627
  }, [routerLink ? h('router-link', {
30634
30628
  class: 'vxe-menu--item-link',
30635
30629
  props: {
30630
+ custom: true,
30636
30631
  to: routerLink
30637
30632
  },
30638
30633
  on: {
@@ -30676,6 +30671,7 @@ var List = VxeList;
30676
30671
  }, [routerLink ? h('router-link', {
30677
30672
  class: 'vxe-menu--item-link',
30678
30673
  props: {
30674
+ custom: true,
30679
30675
  to: routerLink
30680
30676
  },
30681
30677
  on: {