form-custom-test 3.0.74 → 3.0.76

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/render.es.js CHANGED
@@ -10686,13 +10686,14 @@ const _hoisted_2$h = {
10686
10686
  key: 0,
10687
10687
  class: "el-upload__tip"
10688
10688
  };
10689
- const _hoisted_3$e = { class: "upload-file-list" };
10690
- const _hoisted_4$c = { class: "left-wrap" };
10691
- const _hoisted_5$a = ["title"];
10692
- const _hoisted_6$a = { class: "right-wrap" };
10693
- const _hoisted_7$8 = ["title", "onClick"];
10694
- const _hoisted_8$5 = ["onClick"];
10689
+ const _hoisted_3$e = { class: "sub-tip" };
10690
+ const _hoisted_4$c = { class: "upload-file-list" };
10691
+ const _hoisted_5$a = { class: "left-wrap" };
10692
+ const _hoisted_6$a = ["title"];
10693
+ const _hoisted_7$8 = { class: "right-wrap" };
10694
+ const _hoisted_8$5 = ["title", "onClick"];
10695
10695
  const _hoisted_9$4 = ["onClick"];
10696
+ const _hoisted_10$3 = ["onClick"];
10696
10697
  function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
10697
10698
  const _component_el_button = resolveComponent("el-button");
10698
10699
  const _component_el_upload = resolveComponent("el-upload");
@@ -10736,14 +10737,14 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
10736
10737
  !!$props.field.options.uploadTip && !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", _hoisted_2$h, toDisplayString($props.field.options.uploadTip), 1)) : createCommentVNode("", true)
10737
10738
  ]),
10738
10739
  file: withCtx(({ file }) => [
10739
- createElementVNode("div", _hoisted_3$e, [
10740
- createElementVNode("div", _hoisted_4$c, [
10740
+ createElementVNode("div", _hoisted_4$c, [
10741
+ createElementVNode("div", _hoisted_5$a, [
10741
10742
  createElementVNode("span", {
10742
10743
  class: "upload-file-name",
10743
10744
  title: file.name
10744
- }, toDisplayString(file.name), 9, _hoisted_5$a)
10745
+ }, toDisplayString(file.name), 9, _hoisted_6$a)
10745
10746
  ]),
10746
- createElementVNode("div", _hoisted_6$a, [
10747
+ createElementVNode("div", _hoisted_7$8, [
10747
10748
  !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
10748
10749
  key: 0,
10749
10750
  class: "file-action",
@@ -10754,17 +10755,17 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
10754
10755
  src: _imports_1,
10755
10756
  alt: ""
10756
10757
  }, null, -1)
10757
- ])], 8, _hoisted_7$8)) : createCommentVNode("", true),
10758
+ ])], 8, _hoisted_8$5)) : createCommentVNode("", true),
10758
10759
  _ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
10759
10760
  key: 1,
10760
10761
  onClick: withModifiers(($event) => $options.handlePreview(file), ["stop"]),
10761
10762
  class: "pr-8px color-primary cursor-pointer"
10762
- }, " \u9884\u89C8 ", 8, _hoisted_8$5)) : createCommentVNode("", true),
10763
+ }, " \u9884\u89C8 ", 8, _hoisted_9$4)) : createCommentVNode("", true),
10763
10764
  _ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
10764
10765
  key: 2,
10765
10766
  onClick: withModifiers(($event) => $options.handleDownload(file), ["stop"]),
10766
10767
  class: "pr-8px color-primary cursor-pointer"
10767
- }, " \u4E0B\u8F7D ", 8, _hoisted_9$4)) : createCommentVNode("", true)
10768
+ }, " \u4E0B\u8F7D ", 8, _hoisted_10$3)) : createCommentVNode("", true)
10768
10769
  ])
10769
10770
  ])
10770
10771
  ]),
@@ -10778,7 +10779,8 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
10778
10779
  src: _imports_0,
10779
10780
  alt: ""
10780
10781
  }, null, -1)),
10781
- _cache[1] || (_cache[1] = createElementVNode("div", { class: "el-upload__text" }, " \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ", -1))
10782
+ _cache[1] || (_cache[1] = createElementVNode("div", { class: "main-tip" }, " \u70B9\u51FB\u6216\u62D6\u62FD\u6587\u4EF6\u5230\u6B64\u533A\u57DF\u4E0A\u4F20 ", -1)),
10783
+ createElementVNode("div", _hoisted_3$e, " \u652F\u6301\u4E0A\u4F20" + toDisplayString($props.field.options.fileTypes.join("\uFF0C")) + "\u7B49\u683C\u5F0F\u6587\u4EF6 ", 1)
10782
10784
  ], 64)) : (openBlock(), createBlock(_component_el_button, {
10783
10785
  key: 1,
10784
10786
  type: "primary"
@@ -10804,7 +10806,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
10804
10806
  _: 1
10805
10807
  }, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
10806
10808
  }
10807
- var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-4731bec0"]]);
10809
+ var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$M], ["__scopeId", "data-v-ad2b4116"]]);
10808
10810
  var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10809
10811
  __proto__: null,
10810
10812
  "default": fileUploadWidget
@@ -25979,13 +25981,13 @@ function registerIcon(app) {
25979
25981
  if (typeof window !== "undefined") {
25980
25982
  let loadSvg = function() {
25981
25983
  var body = document.body;
25982
- var svgDom = document.getElementById("__svg__icons__dom__1774330984016__");
25984
+ var svgDom = document.getElementById("__svg__icons__dom__1774332276728__");
25983
25985
  if (!svgDom) {
25984
25986
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
25985
25987
  svgDom.style.position = "absolute";
25986
25988
  svgDom.style.width = "0";
25987
25989
  svgDom.style.height = "0";
25988
- svgDom.id = "__svg__icons__dom__1774330984016__";
25990
+ svgDom.id = "__svg__icons__dom__1774332276728__";
25989
25991
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
25990
25992
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
25991
25993
  }
@@ -26593,7 +26595,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
26593
26595
  _: 3
26594
26596
  }, 8, ["widget"]);
26595
26597
  }
26596
- var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-05585a0f"]]);
26598
+ var CardItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-2f0daae4"]]);
26597
26599
  const ACE_BASE_PATH = "https://ks3-cn-beijing.ksyun.com/vform2021/ace-mini";
26598
26600
  const _sfc_main$k = {
26599
26601
  name: "alert-widget",