vxe-pc-ui 4.5.5 → 4.5.6

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 (45) hide show
  1. package/es/icon/style.css +1 -1
  2. package/es/modal/src/modal.js +1 -2
  3. package/es/style.css +1 -1
  4. package/es/style.min.css +1 -1
  5. package/es/ui/index.js +1 -1
  6. package/es/ui/src/log.js +1 -1
  7. package/es/upload/src/upload.js +15 -15
  8. package/es/upload/style.css +1 -1
  9. package/es/upload/style.min.css +1 -1
  10. package/es/vxe-upload/style.css +1 -1
  11. package/es/vxe-upload/style.min.css +1 -1
  12. package/lib/icon/style/style.css +1 -1
  13. package/lib/icon/style/style.min.css +1 -1
  14. package/lib/index.umd.js +19 -20
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/modal/src/modal.js +1 -2
  17. package/lib/modal/src/modal.min.js +1 -1
  18. package/lib/style.css +1 -1
  19. package/lib/style.min.css +1 -1
  20. package/lib/ui/index.js +1 -1
  21. package/lib/ui/index.min.js +1 -1
  22. package/lib/ui/src/log.js +1 -1
  23. package/lib/ui/src/log.min.js +1 -1
  24. package/lib/upload/src/upload.js +16 -16
  25. package/lib/upload/src/upload.min.js +1 -1
  26. package/lib/upload/style/style.css +1 -1
  27. package/lib/upload/style/style.min.css +1 -1
  28. package/lib/vxe-upload/style/style.css +1 -1
  29. package/lib/vxe-upload/style/style.min.css +1 -1
  30. package/package.json +1 -1
  31. package/packages/modal/src/modal.ts +1 -2
  32. package/packages/upload/src/upload.ts +15 -15
  33. package/styles/components/upload.scss +1 -1
  34. /package/es/icon/{iconfont.1743138565378.ttf → iconfont.1743222214469.ttf} +0 -0
  35. /package/es/icon/{iconfont.1743138565378.woff → iconfont.1743222214469.woff} +0 -0
  36. /package/es/icon/{iconfont.1743138565378.woff2 → iconfont.1743222214469.woff2} +0 -0
  37. /package/es/{iconfont.1743138565378.ttf → iconfont.1743222214469.ttf} +0 -0
  38. /package/es/{iconfont.1743138565378.woff → iconfont.1743222214469.woff} +0 -0
  39. /package/es/{iconfont.1743138565378.woff2 → iconfont.1743222214469.woff2} +0 -0
  40. /package/lib/icon/style/{iconfont.1743138565378.ttf → iconfont.1743222214469.ttf} +0 -0
  41. /package/lib/icon/style/{iconfont.1743138565378.woff → iconfont.1743222214469.woff} +0 -0
  42. /package/lib/icon/style/{iconfont.1743138565378.woff2 → iconfont.1743222214469.woff2} +0 -0
  43. /package/lib/{iconfont.1743138565378.ttf → iconfont.1743222214469.ttf} +0 -0
  44. /package/lib/{iconfont.1743138565378.woff → iconfont.1743222214469.woff} +0 -0
  45. /package/lib/{iconfont.1743138565378.woff2 → iconfont.1743222214469.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -4183,14 +4183,14 @@ function checkDynamic() {
4183
4183
  }
4184
4184
  ;// CONCATENATED MODULE: ./packages/ui/src/log.ts
4185
4185
 
4186
- const log_version = `ui v${"4.5.5"}`;
4186
+ const log_version = `ui v${"4.5.6"}`;
4187
4187
  const warnLog = log.create('warn', log_version);
4188
4188
  const errLog = log.create('error', log_version);
4189
4189
  ;// CONCATENATED MODULE: ./packages/ui/index.ts
4190
4190
 
4191
4191
 
4192
4192
 
4193
- const ui_version = "4.5.5";
4193
+ const ui_version = "4.5.6";
4194
4194
  index_esm_VxeUI.uiVersion = ui_version;
4195
4195
  index_esm_VxeUI.dynamicApp = dynamicApp;
4196
4196
  function config(options) {
@@ -22996,7 +22996,6 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
22996
22996
  showMaximize,
22997
22997
  draggable
22998
22998
  } = props;
22999
- const isMsg = computeIsMsg.value;
23000
22999
  const headerSlot = slots.header || propSlots.header;
23001
23000
  if (props.showHeader) {
23002
23001
  const headerOns = {};
@@ -23009,7 +23008,7 @@ const lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
23009
23008
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
23010
23009
  ref: refHeaderElem,
23011
23010
  class: ['vxe-modal--header', {
23012
- 'is--ellipsis': !isMsg && props.showTitleOverflow
23011
+ 'is--ellipsis': props.showTitleOverflow
23013
23012
  }],
23014
23013
  ...headerOns
23015
23014
  }, headerSlot ? getSlotVNs(headerSlot({
@@ -34605,7 +34604,7 @@ const saveLocalFile = options => {
34605
34604
  }
34606
34605
  return '';
34607
34606
  });
34608
- const computedDefHintText = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
34607
+ const computedDefTipText = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
34609
34608
  const {
34610
34609
  limitSize,
34611
34610
  fileTypes,
@@ -34618,26 +34617,26 @@ const saveLocalFile = options => {
34618
34617
  if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isString(tipText)) {
34619
34618
  return tipText;
34620
34619
  }
34621
- const defHints = [];
34620
+ const defTips = [];
34622
34621
  if (isImage) {
34623
34622
  if (multiple && limitCount) {
34624
- defHints.push(i18n_getI18n('vxe.upload.imgCountHint', [limitCount]));
34623
+ defTips.push(i18n_getI18n('vxe.upload.imgCountHint', [limitCount]));
34625
34624
  }
34626
34625
  if (limitSize && limitSizeUnit) {
34627
- defHints.push(i18n_getI18n('vxe.upload.imgSizeHint', [limitSizeUnit]));
34626
+ defTips.push(i18n_getI18n('vxe.upload.imgSizeHint', [limitSizeUnit]));
34628
34627
  }
34629
34628
  } else {
34630
34629
  if (fileTypes && fileTypes.length) {
34631
- defHints.push(i18n_getI18n('vxe.upload.fileTypeHint', [fileTypes.join('/')]));
34630
+ defTips.push(i18n_getI18n('vxe.upload.fileTypeHint', [fileTypes.join('/')]));
34632
34631
  }
34633
34632
  if (limitSize && limitSizeUnit) {
34634
- defHints.push(i18n_getI18n('vxe.upload.fileSizeHint', [limitSizeUnit]));
34633
+ defTips.push(i18n_getI18n('vxe.upload.fileSizeHint', [limitSizeUnit]));
34635
34634
  }
34636
34635
  if (multiple && limitCount) {
34637
- defHints.push(i18n_getI18n('vxe.upload.fileCountHint', [limitCount]));
34636
+ defTips.push(i18n_getI18n('vxe.upload.fileCountHint', [limitCount]));
34638
34637
  }
34639
34638
  }
34640
- return defHints.join(i18n_getI18n('vxe.base.comma'));
34639
+ return defTips.join(i18n_getI18n('vxe.base.comma'));
34641
34640
  });
34642
34641
  const computeImageOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
34643
34642
  return Object.assign({}, props.imageConfig || props.imageStyle);
@@ -35575,7 +35574,7 @@ const saveLocalFile = options => {
35575
35574
  } = props;
35576
35575
  const isDisabled = computeIsDisabled.value;
35577
35576
  const formReadonly = computeFormReadonly.value;
35578
- const defHintText = computedDefHintText.value;
35577
+ const defTipText = computedDefTipText.value;
35579
35578
  const overCount = computeOverCount.value;
35580
35579
  const defaultSlot = slots.default;
35581
35580
  const tipSlot = slots.tip || slots.hint;
@@ -35594,11 +35593,11 @@ const saveLocalFile = options => {
35594
35593
  content: isMoreView || showButtonText ? buttonText ? `${buttonText}` : i18n_getI18n('vxe.upload.fileBtnText') : '',
35595
35594
  icon: showButtonIcon ? buttonIcon || getIcon().UPLOAD_FILE_ADD : '',
35596
35595
  disabled: isDisabled
35597
- })]), isMoreView && (defHintText || tipSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35596
+ })]), defTipText || tipSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35598
35597
  class: 'vxe-upload--file-action-tip'
35599
35598
  }, tipSlot ? getSlotVNs(tipSlot({
35600
35599
  $upload: $xeUpload
35601
- })) : defHintText) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
35600
+ })) : defTipText) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()]);
35602
35601
  };
35603
35602
  const renderAllMode = () => {
35604
35603
  const {
@@ -35754,11 +35753,11 @@ const saveLocalFile = options => {
35754
35753
  autoHiddenButton
35755
35754
  } = props;
35756
35755
  const formReadonly = computeFormReadonly.value;
35757
- const defHintText = computedDefHintText.value;
35756
+ const defTipText = computedDefTipText.value;
35758
35757
  const overCount = computeOverCount.value;
35759
35758
  const imgStyle = computeImgStyle.value;
35760
35759
  const defaultSlot = slots.default;
35761
- const hintSlot = slots.hint;
35760
+ const tipSlot = slots.tip || slots.hint;
35762
35761
  if (formReadonly || !showUploadButton || autoHiddenButton && overCount) {
35763
35762
  return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)();
35764
35763
  }
@@ -35779,11 +35778,11 @@ const saveLocalFile = options => {
35779
35778
  class: buttonIcon || getIcon().UPLOAD_IMAGE_ADD
35780
35779
  })]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), isMoreView || showButtonText ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35781
35780
  class: 'vxe-upload--image-action-content'
35782
- }, buttonText ? `${buttonText}` : i18n_getI18n('vxe.upload.imgBtnText')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), isMoreView && (defHintText || hintSlot) ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35781
+ }, buttonText ? `${buttonText}` : i18n_getI18n('vxe.upload.imgBtnText')) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)(), defTipText || tipSlot ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
35783
35782
  class: 'vxe-upload--image-action-hint'
35784
- }, hintSlot ? getSlotVNs(hintSlot({
35783
+ }, tipSlot ? getSlotVNs(tipSlot({
35785
35784
  $upload: $xeUpload
35786
- })) : defHintText) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])])]);
35785
+ })) : defTipText) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)()])])]);
35787
35786
  };
35788
35787
  const renderImageMode = () => {
35789
35788
  const {