dfs-page-config 0.5.79 → 0.5.81

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.
@@ -125275,22 +125275,20 @@ let setWatermark = (Ff, kh, tAe, oAe, sAe, pAe, hAe, AAe, vAe) => {
125275
125275
  );
125276
125276
  let XAe = document.createElement("div");
125277
125277
  return XAe.id = CAe, XAe.style.pointerEvents = "none", XAe.style.top = vAe == "body" ? "30px" : "0px", XAe.style.left = "0px", XAe.style.position = "fixed", XAe.style.zIndex = "9999", XAe.style.width = document.documentElement.clientWidth + "px", XAe.style.height = document.documentElement.clientHeight + "px", XAe.style.background = "url(" + wAe.toDataURL("image/png") + ") left top repeat", vAe == "body" ? document.body.appendChild(XAe) : document.querySelector(vAe).appendChild(XAe), CAe;
125278
- }, pollInterval = null;
125279
- setTimeout(() => {
125280
- clearInterval(pollInterval), console.warn("水印初始化超时:未能获取到用户信息");
125281
- }, 1e4);
125278
+ };
125282
125279
  const watermark = {
125280
+ count: 0,
125283
125281
  init: () => {
125284
125282
  const Ff = JSON.parse(localStorage.getItem("userInfo") || "{}"), kh = Ff.displayName || Ff.name;
125285
125283
  if (kh) {
125286
125284
  const tAe = [kh, new Date().toLocaleString().replace(/\//g, "-")];
125287
125285
  watermark.set({
125288
125286
  displayText: tAe
125289
- }), clearInterval(pollInterval);
125287
+ });
125290
125288
  } else
125291
- pollInterval = setInterval(() => {
125289
+ watermark.count < 10 ? (setTimeout(() => {
125292
125290
  watermark.init();
125293
- }, 1e3);
125291
+ }, 1e3), watermark.count++) : console.warn("水印初始化超时:未能获取到用户信息");
125294
125292
  },
125295
125293
  set: ({
125296
125294
  displayText: Ff = "",
@@ -128762,11 +128760,10 @@ const isFontAvailable = (Ff) => {
128762
128760
  pAe.value.focus();
128763
128761
  }, 100)) : ElMessageBox.alert(
128764
128762
  `
128765
- <span style="color: red;">${kh("所需字体未安装,安装后请关闭浏览器窗口重新打开尝试。")}</span> <br />
128766
- ${kh("点击下载字体")}: <a href="${CircularXXMedium}" download="CircularXX-Medium.otf" target="_blank">CircularXX-Medium.otf</a><br />
128763
+ <p style="color: red; margin-bottom: 12px;">${kh("请安装字体,")} <span style="font-size: 16px; font-weight: bold; color: green;">${kh("安装后关闭所有浏览器窗口重新打开")}</span>。</p>
128767
128764
  ${kh("点击下载字体")}: <a href="${CircularXXRegular}" download="CircularXX-Regular.otf" target="_blank">CircularXX-Regular.otf</a>
128768
128765
  `,
128769
- kh("提示"),
128766
+ kh("所需字体未安装"),
128770
128767
  {
128771
128768
  showConfirmButton: !1,
128772
128769
  // center: true,
@@ -128813,7 +128810,7 @@ const isFontAvailable = (Ff) => {
128813
128810
  changePrintType: VAe
128814
128811
  };
128815
128812
  }
128816
- }), FabricHangTag_vue_vue_type_style_index_0_scoped_bc443ff9_lang = "", _withScopeId$1 = (Ff) => (pushScopeId("data-v-bc443ff9"), Ff = Ff(), popScopeId(), Ff), _hoisted_1$1 = {
128813
+ }), FabricHangTag_vue_vue_type_style_index_0_scoped_36337c57_lang = "", _withScopeId$1 = (Ff) => (pushScopeId("data-v-36337c57"), Ff = Ff(), popScopeId(), Ff), _hoisted_1$1 = {
128817
128814
  style: { height: "max-content", display: "block" },
128818
128815
  class: "el-upload-list--picture-card"
128819
128816
  }, _hoisted_2$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "point" }, null, -1)), _hoisted_3$1 = {
@@ -129086,7 +129083,7 @@ function _sfc_render$1(Ff, kh, tAe, oAe, sAe, pAe) {
129086
129083
  }, 8, ["title", "modelValue"])
129087
129084
  ], 64);
129088
129085
  }
129089
- const FabricHangTag = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-bc443ff9"]]);
129086
+ const FabricHangTag = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-36337c57"]]);
129090
129087
  FabricHangTag.install = (Ff) => Ff.component(FabricHangTag.name, FabricHangTag);
129091
129088
  AgTable.install = (Ff) => Ff.component(AgTable.name, AgTable);
129092
129089
  const _sfc_main = defineComponent({
@@ -129137,7 +129134,7 @@ const _sfc_main = defineComponent({
129137
129134
  field: "fileName",
129138
129135
  headerName: "文件名",
129139
129136
  width: 200,
129140
- cellRenderer: ({ data: LAe }) => `<a href="${LAe.fileUrl}" target="_blank">${LAe.fileName}</a>`
129137
+ cellRenderer: ({ data: LAe }) => LAe.fileUrl ? `<a href="${LAe.fileUrl}" target="_blank">${LAe.fileName}</a>` : LAe.fileName
129141
129138
  },
129142
129139
  {
129143
129140
  field: "taskStatusName",
@@ -129239,9 +129236,9 @@ const _sfc_main = defineComponent({
129239
129236
  stopPolling: sAe
129240
129237
  };
129241
129238
  }
129242
- }), UploadDownloadCenter_vue_vue_type_style_index_0_scoped_2de6e482_lang = "", _withScopeId = (Ff) => (pushScopeId("data-v-2de6e482"), Ff = Ff(), popScopeId(), Ff), _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "drag-button-text" }, "上传\\下载", -1)), _hoisted_2 = [
129239
+ }), UploadDownloadCenter_vue_vue_type_style_index_0_scoped_4d249b38_lang = "", UploadDownloadCenter_vue_vue_type_style_index_1_lang = "", _withScopeId = (Ff) => (pushScopeId("data-v-4d249b38"), Ff = Ff(), popScopeId(), Ff), _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "drag-button-text" }, "上传\\下载", -1)), _hoisted_2 = [
129243
129240
  _hoisted_1
129244
- ], _hoisted_3 = { style: { height: "76vh" } };
129241
+ ], _hoisted_3 = { style: { height: "72vh" } };
129245
129242
  function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
129246
129243
  const hAe = Page, AAe = ElDialog;
129247
129244
  return openBlock(), createElementBlock(Fragment, null, [
@@ -129255,13 +129252,13 @@ function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
129255
129252
  })
129256
129253
  }, _hoisted_2, 36),
129257
129254
  createVNode(AAe, {
129255
+ class: "upload-download-center-dialog",
129258
129256
  title: "上传/下载中心",
129259
129257
  modelValue: Ff.dialogVisible,
129260
129258
  "onUpdate:modelValue": kh[1] || (kh[1] = (vAe) => Ff.dialogVisible = vAe),
129261
129259
  width: "80%",
129262
- "max-width": "1200px",
129263
129260
  "destroy-on-close": !0,
129264
- top: "8vh",
129261
+ top: "6vh",
129265
129262
  center: "",
129266
129263
  onOpen: Ff.handleOpenDialog,
129267
129264
  onClose: Ff.stopPolling
@@ -129275,7 +129272,7 @@ function _sfc_render(Ff, kh, tAe, oAe, sAe, pAe) {
129275
129272
  }, 8, ["modelValue", "onOpen", "onClose"])
129276
129273
  ], 64);
129277
129274
  }
129278
- const UploadDownloadCenter = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-2de6e482"]]);
129275
+ const UploadDownloadCenter = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4d249b38"]]);
129279
129276
  UploadDownloadCenter.install = (Ff) => Ff.component(UploadDownloadCenter.name, UploadDownloadCenter);
129280
129277
  let timer = null, staticResourceMonitor = 2e3, apiRequestThreshold = 3e3;
129281
129278
  const userInfo = JSON.parse(localStorage.getItem("userInfo") || "{}"), username = userInfo.name || userInfo.displayName || "", PERFORMANCE_SERVER_URL = "https://performance-monitor.prod.doublefs.com/api/performance";