@maxax/ui 1.1.62 → 1.1.63

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.
package/dist/index.cjs CHANGED
@@ -31592,13 +31592,17 @@ const BasicUploadListItem = /* @__PURE__ */ vue.defineComponent({
31592
31592
  const dom = vue.createVNode("div", {
31593
31593
  "class": infoUploadingClass
31594
31594
  }, [icon, fileName, pictureCardActions, showProgress.value && vue.createVNode(vue.Transition, transitionProps.value, {
31595
- default: () => [vue.withDirectives(vue.createVNode("div", {
31596
- "class": `${prefixCls}-progress`
31597
- }, [file && "percent" in file ? vue.createVNode(naiveUi.NProgress, vue.mergeProps(progressProps, {
31598
- "type": "line",
31599
- "percentage": file == null ? void 0 : file.percent,
31600
- "height": 2
31601
- }), null) : null]), [[vue.vShow, mergedStatus.value === "uploading"]])]
31595
+ default: () => {
31596
+ var _a3;
31597
+ return [vue.withDirectives(vue.createVNode("div", {
31598
+ "class": `${prefixCls}-progress`
31599
+ }, [file && "percent" in file ? vue.createVNode(naiveUi.NProgress, vue.mergeProps(progressProps, {
31600
+ "type": "line",
31601
+ "percentage": Number((_a3 = file == null ? void 0 : file.percent) != null ? _a3 : 0),
31602
+ "height": 2,
31603
+ "show-indicator": false
31604
+ }), null) : null]), [[vue.vShow, mergedStatus.value === "uploading"]])];
31605
+ }
31602
31606
  })]);
31603
31607
  const listContainerNameClass = {
31604
31608
  [`${prefixCls}-${listType}`]: true,