dfs-page-config 0.6.51 → 0.6.53

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.
@@ -31873,8 +31873,17 @@ const padding = (Ff, kh) => (new Array(kh).join("0") + Ff).slice(-kh), formatDat
31873
31873
  uAe.commit("setLoading", !0), axios.defaults.withCredentials = !0, axios.defaults.timeout = 6e4, axios.defaults.responseType = "blob", axios.defaults.headers = getRequestHeaders(kh);
31874
31874
  let pAe = (Ff.method || "post").toLowerCase();
31875
31875
  return axios[pAe](handleProxy(kh), oAe).then(function(hAe) {
31876
- var wAe;
31877
- const gAe = (wAe = hAe.headers["content-disposition"]) == null ? void 0 : wAe.split("filename=")[1], vAe = URL.createObjectURL(hAe.data);
31876
+ let gAe = "";
31877
+ try {
31878
+ const wAe = hAe.headers["content-disposition"];
31879
+ if (wAe) {
31880
+ const bAe = wAe.match(/filename\*?=(?:UTF-8'')?["']?([^"';]+)["']?/i);
31881
+ bAe && (gAe = bAe[1]);
31882
+ }
31883
+ } catch (wAe) {
31884
+ console.warn("无法从响应头获取文件名:", wAe);
31885
+ }
31886
+ const vAe = URL.createObjectURL(hAe.data);
31878
31887
  var mAe = document.createElement("a");
31879
31888
  mAe.style.display = "none", mAe.href = vAe, mAe.download = gAe ? decodeURIComponent(gAe) : tAe || "", document.body.appendChild(mAe), mAe.click(), document.body.removeChild(mAe), uAe.commit("setLoading", !1);
31880
31889
  }).catch(function(hAe) {
@@ -31926,11 +31935,11 @@ const padding = (Ff, kh) => (new Array(kh).join("0") + Ff).slice(-kh), formatDat
31926
31935
  viewBox: "0 0 1024 1024",
31927
31936
  width: "1.2em",
31928
31937
  height: "1.2em"
31929
- }, _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
31938
+ }, _hoisted_2$l = /* @__PURE__ */ createElementVNode("path", {
31930
31939
  fill: "currentColor",
31931
31940
  d: "M831.872 340.864L512 652.672L192.128 340.864a30.592 30.592 0 0 0-42.752 0a29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728a30.592 30.592 0 0 0-42.752 0z"
31932
31941
  }, null, -1), _hoisted_3$h = [
31933
- _hoisted_2$k
31942
+ _hoisted_2$l
31934
31943
  ];
31935
31944
  function render$6(Ff, kh) {
31936
31945
  return openBlock(), createElementBlock("svg", _hoisted_1$t, _hoisted_3$h);
@@ -31939,11 +31948,11 @@ const __unplugin_components_21 = { name: "ep-arrow-down", render: render$6 }, _h
31939
31948
  viewBox: "0 0 1024 1024",
31940
31949
  width: "1.2em",
31941
31950
  height: "1.2em"
31942
- }, _hoisted_2$j = /* @__PURE__ */ createElementVNode("path", {
31951
+ }, _hoisted_2$k = /* @__PURE__ */ createElementVNode("path", {
31943
31952
  fill: "currentColor",
31944
31953
  d: "m488.832 344.32l-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872l319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0z"
31945
31954
  }, null, -1), _hoisted_3$g = [
31946
- _hoisted_2$j
31955
+ _hoisted_2$k
31947
31956
  ];
31948
31957
  function render$5(Ff, kh) {
31949
31958
  return openBlock(), createElementBlock("svg", _hoisted_1$s, _hoisted_3$g);
@@ -33451,7 +33460,7 @@ const _sfc_main$p = defineComponent({
33451
33460
  }, _withScopeId$4 = (Ff) => (pushScopeId("data-v-9f219bcd"), Ff = Ff(), popScopeId(), Ff), _hoisted_1$r = {
33452
33461
  key: 1,
33453
33462
  class: "el-upload__text"
33454
- }, _hoisted_2$i = {
33463
+ }, _hoisted_2$j = {
33455
33464
  key: 0,
33456
33465
  class: "el-upload__text"
33457
33466
  }, _hoisted_3$f = { class: "el-upload__tip" }, _hoisted_4$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", {
@@ -33512,7 +33521,7 @@ function _sfc_render$m(Ff, kh, tAe, oAe, uAe, pAe) {
33512
33521
  ]),
33513
33522
  _: 1
33514
33523
  }),
33515
- Ff.drag ? (openBlock(), createElementBlock("div", _hoisted_2$i, " 拖拽或点击上传 ")) : createCommentVNode("", !0)
33524
+ Ff.drag ? (openBlock(), createElementBlock("div", _hoisted_2$j, " 拖拽或点击上传 ")) : createCommentVNode("", !0)
33516
33525
  ]),
33517
33526
  key: "0"
33518
33527
  } : void 0,
@@ -56372,7 +56381,7 @@ const _hoisted_1$p = { style: { border: "1px solid #ccc" } }, _sfc_main$n = /* @
56372
56381
  }
56373
56382
  }), WangEditor_vue_vue_type_style_index_0_scoped_0f307dd1_lang = "", __unplugin_components_5 = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__scopeId", "data-v-0f307dd1"]]), elInputNumber = "", elDialog = "", _sfc_main$m = defineComponent({
56374
56383
  props: {
56375
- value: {
56384
+ defaultValue: {
56376
56385
  type: [String, Array],
56377
56386
  required: !0,
56378
56387
  default: ""
@@ -56418,7 +56427,7 @@ const _hoisted_1$p = { style: { border: "1px solid #ccc" } }, _sfc_main$n = /* @
56418
56427
  uAe.searchValue = "";
56419
56428
  }
56420
56429
  function wAe(bAe) {
56421
- return typeof Ff.value == "string" ? bAe : bAe ? bAe.split(",") : [];
56430
+ return typeof Ff.defaultValue == "string" ? bAe : bAe ? bAe.split(",") : [];
56422
56431
  }
56423
56432
  return {
56424
56433
  ...toRefs(uAe),
@@ -56430,10 +56439,10 @@ const _hoisted_1$p = { style: { border: "1px solid #ccc" } }, _sfc_main$n = /* @
56430
56439
  reset: mAe
56431
56440
  };
56432
56441
  }
56433
- }), BatchSearchInput_vue_vue_type_style_index_0_lang = "", _hoisted_1$o = { class: "dialog-footer" };
56442
+ }), BatchSearchInput_vue_vue_type_style_index_0_lang = "", _hoisted_1$o = { style: { width: "100%" } }, _hoisted_2$i = { class: "dialog-footer" };
56434
56443
  function _sfc_render$k(Ff, kh, tAe, oAe, uAe, pAe) {
56435
56444
  const hAe = ElInput, gAe = ElButton, vAe = ElDialog;
56436
- return openBlock(), createElementBlock(Fragment, null, [
56445
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
56437
56446
  createVNode(hAe, {
56438
56447
  type: Ff.item.type === "Textarea" ? "textarea" : "text",
56439
56448
  rows: Ff.item.type === "Textarea" ? Ff.item.rows || 3 : void 0,
@@ -56455,7 +56464,7 @@ function _sfc_render$k(Ff, kh, tAe, oAe, uAe, pAe) {
56455
56464
  "append-to-body": ""
56456
56465
  }, {
56457
56466
  footer: withCtx(() => [
56458
- createElementVNode("span", _hoisted_1$o, [
56467
+ createElementVNode("span", _hoisted_2$i, [
56459
56468
  createVNode(gAe, {
56460
56469
  type: "primary",
56461
56470
  onClick: kh[3] || (kh[3] = (mAe) => Ff.confirm())
@@ -56489,7 +56498,7 @@ function _sfc_render$k(Ff, kh, tAe, oAe, uAe, pAe) {
56489
56498
  ]),
56490
56499
  _: 1
56491
56500
  }, 8, ["modelValue", "onClose"])
56492
- ], 64);
56501
+ ]);
56493
56502
  }
56494
56503
  const BatchSearchInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$k]]), elTooltip = "", elInputTag = "", _sfc_main$l = defineComponent({
56495
56504
  props: {
@@ -56728,7 +56737,7 @@ const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["
56728
56737
  fileUrlInfo: bAe
56729
56738
  };
56730
56739
  }
56731
- }), Form_vue_vue_type_style_index_0_scoped_b7d4eb37_lang = "", Form_vue_vue_type_style_index_1_lang = "", _hoisted_1$m = {
56740
+ }), Form_vue_vue_type_style_index_0_scoped_a083d1db_lang = "", Form_vue_vue_type_style_index_1_lang = "", _hoisted_1$m = {
56732
56741
  key: 0,
56733
56742
  class: "mask"
56734
56743
  }, _hoisted_2$g = ["innerHTML"];
@@ -56823,12 +56832,12 @@ function _sfc_render$i(Ff, kh, tAe, oAe, uAe, pAe) {
56823
56832
  ref: "batchSearchInputRef",
56824
56833
  modelValue: Ff.formData[zAe.prop],
56825
56834
  "onUpdate:modelValue": (eme) => Ff.formData[zAe.prop] = eme,
56826
- value: zAe.value,
56835
+ defaultValue: zAe.value,
56827
56836
  placeholder: zAe.placeholder,
56828
56837
  pageKey: Ff.pageKey,
56829
56838
  tableKey: (rme = Ff.store.getters._GET_CONFIG_DATA(Ff.pageKey).find((eme) => eme.dependencies === Ff.componentOption.key)) == null ? void 0 : rme.key,
56830
56839
  onKeyupEnter: kh[0] || (kh[0] = (eme) => Ff.componentOption.keyupEnter && Ff.componentOption.keyupEnter(Ff.componentOption))
56831
- }, null, 8, ["item", "modelValue", "onUpdate:modelValue", "value", "placeholder", "pageKey", "tableKey"])) : createCommentVNode("", !0),
56840
+ }, null, 8, ["item", "modelValue", "onUpdate:modelValue", "defaultValue", "placeholder", "pageKey", "tableKey"])) : createCommentVNode("", !0),
56832
56841
  zAe.type === "InputNumber" ? (openBlock(), createBlock(wAe, {
56833
56842
  key: 5,
56834
56843
  clearable: "",
@@ -57128,7 +57137,7 @@ function _sfc_render$i(Ff, kh, tAe, oAe, uAe, pAe) {
57128
57137
  _: 3
57129
57138
  }, 8, ["locale"]);
57130
57139
  }
57131
- const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$i], ["__scopeId", "data-v-b7d4eb37"]]), _hoisted_1$l = {
57140
+ const Form = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$i], ["__scopeId", "data-v-a083d1db"]]), _hoisted_1$l = {
57132
57141
  viewBox: "0 0 1024 1024",
57133
57142
  width: "1.2em",
57134
57143
  height: "1.2em"
@@ -57381,6 +57390,7 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
57381
57390
  function vAe(PAe) {
57382
57391
  PAe.url.indexOf("https://") > -1 ? window.open(PAe.url, "_blank") : downLoadData({
57383
57392
  url: store.state._BASE_URL + PAe.url,
57393
+ params: PAe.params,
57384
57394
  fileName: PAe.fileName || "",
57385
57395
  method: PAe.method,
57386
57396
  store
@@ -57472,7 +57482,7 @@ const Upload = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_rende
57472
57482
  // exportData
57473
57483
  };
57474
57484
  }
57475
- }), ButtonGroup_vue_vue_type_style_index_0_scoped_2730c176_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$j = ["onClick"];
57485
+ }), ButtonGroup_vue_vue_type_style_index_0_scoped_6857805b_lang = "", ButtonGroup_vue_vue_type_style_index_1_lang = "", _hoisted_1$j = ["onClick"];
57476
57486
  function _sfc_render$g(Ff, kh, tAe, oAe, uAe, pAe) {
57477
57487
  const hAe = Upload, gAe = ElIcon, vAe = __unplugin_components_2$3, mAe = ElButton;
57478
57488
  return openBlock(), createElementBlock("div", {
@@ -57535,7 +57545,7 @@ function _sfc_render$g(Ff, kh, tAe, oAe, uAe, pAe) {
57535
57545
  renderSlot(Ff.$slots, "default", {}, void 0, !0)
57536
57546
  ], 6);
57537
57547
  }
57538
- const ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$g], ["__scopeId", "data-v-2730c176"]]), _sfc_main$h = defineComponent({
57548
+ const ButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["render", _sfc_render$g], ["__scopeId", "data-v-6857805b"]]), _sfc_main$h = defineComponent({
57539
57549
  props: {
57540
57550
  gridApi: {
57541
57551
  type: Object,