dfs-page-config 0.4.68 → 0.4.70

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.
@@ -27414,7 +27414,7 @@ const padding = (k, L) => (new Array(L).join("0") + k).slice(-L), formatDate = (
27414
27414
  let _e = k.method || "post";
27415
27415
  axios[_e](handleProxy(L), ae).then(function(xe) {
27416
27416
  var $e;
27417
- const Oe = ($e = xe.headers["content-disposition"]) == null ? void 0 : $e.split("attachment;filename=")[1], Ie = URL.createObjectURL(xe.data);
27417
+ const Oe = ($e = xe.headers["content-disposition"]) == null ? void 0 : $e.split("filename=")[1], Ie = URL.createObjectURL(xe.data);
27418
27418
  var Ne = document.createElement("a");
27419
27419
  Ne.style.display = "none", Ne.href = Ie, Ne.download = Oe ? decodeURIComponent(Oe) : ie || "", document.body.appendChild(Ne), Ne.click(), document.body.removeChild(Ne), pe.commit("setLoading", !1);
27420
27420
  }).catch(function(xe) {
@@ -105109,7 +105109,18 @@ typeof jQuery < "u" && (jQuery.fn.JsBarcode = function(k, L) {
105109
105109
  }), JsBarcode(ie, k, L);
105110
105110
  });
105111
105111
  var JsBarcode_1 = JsBarcode;
105112
- const _sfc_main = defineComponent({
105112
+ const isFontAvailable = (k) => {
105113
+ const L = ["monospace", "sans-serif", "serif"], ie = "mmmmmmmmmmlli", ae = "72px", pe = document.createElement("span");
105114
+ pe.style.fontSize = ae, pe.innerHTML = ie, document.body.appendChild(pe);
105115
+ const _e = {};
105116
+ L.forEach(function(xe) {
105117
+ pe.style.fontFamily = xe, _e[xe] = pe.offsetWidth;
105118
+ });
105119
+ for (let xe = 0; xe < L.length; xe++)
105120
+ if (pe.style.fontFamily = `${k},${L[xe]}`, pe.offsetWidth !== _e[L[xe]])
105121
+ return document.body.removeChild(pe), !0;
105122
+ return document.body.removeChild(pe), !1;
105123
+ }, _sfc_main = defineComponent({
105113
105124
  name: "FabricHangTag",
105114
105125
  components: { ZoomIn: zoom_in_default, FabricHangTagNew: __unplugin_components_1 },
105115
105126
  props: {
@@ -105224,6 +105235,23 @@ const _sfc_main = defineComponent({
105224
105235
  localStorage.setItem("fabricHangTagDirection", _e.direction), _e.directionDialogVisible = !1;
105225
105236
  }
105226
105237
  function er() {
105238
+ if (!isFontAvailable("CircularXX") || !isFontAvailable("CircularXX-Medium")) {
105239
+ ElMessageBox.alert(
105240
+ `
105241
+ 所需字体未安装,安装后请关闭浏览器窗口重新打开尝试。 <br />
105242
+ 点击下载字体:<a href="${CircularXXMedium}" target="_blank">CircularXX-Medium.otf</a><br />
105243
+ 点击下载字体:<a href="${CircularXXRegular}" target="_blank">CircularXX-Regular.otf</a>
105244
+ `,
105245
+ "提示",
105246
+ {
105247
+ showConfirmButton: !1,
105248
+ // center: true,
105249
+ dangerouslyUseHTMLString: !0
105250
+ }
105251
+ ).catch(() => {
105252
+ });
105253
+ return;
105254
+ }
105227
105255
  _e.dialogState = !0, setTimeout(() => {
105228
105256
  pe.value.focus();
105229
105257
  }, 100);
@@ -105261,7 +105289,7 @@ const _sfc_main = defineComponent({
105261
105289
  closeDialog: ir
105262
105290
  };
105263
105291
  }
105264
- }), FabricHangTag_vue_vue_type_style_index_0_scoped_0651017b_lang = "", _withScopeId = (k) => (pushScopeId("data-v-0651017b"), k = k(), popScopeId(), k), _hoisted_1 = {
105292
+ }), FabricHangTag_vue_vue_type_style_index_0_scoped_88a5fc66_lang = "", _withScopeId = (k) => (pushScopeId("data-v-88a5fc66"), k = k(), popScopeId(), k), _hoisted_1 = {
105265
105293
  style: { height: "max-content", display: "block" },
105266
105294
  class: "el-upload-list--picture-card"
105267
105295
  }, _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "point" }, null, -1)), _hoisted_3 = {
@@ -105529,7 +105557,7 @@ function _sfc_render(k, L, ie, ae, pe, _e) {
105529
105557
  }, 8, ["modelValue"])
105530
105558
  ], 64);
105531
105559
  }
105532
- const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0651017b"]]);
105560
+ const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-88a5fc66"]]);
105533
105561
  FabricHangTag.install = (k) => k.component(FabricHangTag.name, FabricHangTag);
105534
105562
  AgTable.install = (k) => k.component(AgTable.name, AgTable);
105535
105563
  const index = (k, L) => {