dfs-page-config 0.4.69 → 0.4.71
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/dfs-page-config.js +45 -3
- package/dist/dfs-page-config.umd.cjs +11 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
|
@@ -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
|
|
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: {
|
|
@@ -105223,7 +105234,38 @@ const _sfc_main = defineComponent({
|
|
|
105223
105234
|
function or() {
|
|
105224
105235
|
localStorage.setItem("fabricHangTagDirection", _e.direction), _e.directionDialogVisible = !1;
|
|
105225
105236
|
}
|
|
105237
|
+
ElMessageBox.alert(
|
|
105238
|
+
`
|
|
105239
|
+
<span style="color: red;">所需字体未安装,安装后请关闭浏览器窗口重新打开尝试。</span> <br />
|
|
105240
|
+
点击下载字体:<a href="${CircularXXMedium}" download="CircularXX-Medium.otf" target="_blank">CircularXX-Medium.otf</a><br />
|
|
105241
|
+
点击下载字体:<a href="${CircularXXRegular}" download="CircularXX-Regular.otf" target="_blank">CircularXX-Regular.otf</a>
|
|
105242
|
+
`,
|
|
105243
|
+
"提示",
|
|
105244
|
+
{
|
|
105245
|
+
showConfirmButton: !1,
|
|
105246
|
+
// center: true,
|
|
105247
|
+
dangerouslyUseHTMLString: !0
|
|
105248
|
+
}
|
|
105249
|
+
).catch(() => {
|
|
105250
|
+
});
|
|
105226
105251
|
function er() {
|
|
105252
|
+
if (!isFontAvailable("CircularXX") || !isFontAvailable("CircularXX-Medium")) {
|
|
105253
|
+
ElMessageBox.alert(
|
|
105254
|
+
`
|
|
105255
|
+
<span style="color: red;">所需字体未安装,安装后请关闭浏览器窗口重新打开尝试。</span> <br />
|
|
105256
|
+
点击下载字体:<a href="${CircularXXMedium}" target="_blank">CircularXX-Medium.otf</a><br />
|
|
105257
|
+
点击下载字体:<a href="${CircularXXRegular}" target="_blank">CircularXX-Regular.otf</a>
|
|
105258
|
+
`,
|
|
105259
|
+
"提示",
|
|
105260
|
+
{
|
|
105261
|
+
showConfirmButton: !1,
|
|
105262
|
+
// center: true,
|
|
105263
|
+
dangerouslyUseHTMLString: !0
|
|
105264
|
+
}
|
|
105265
|
+
).catch(() => {
|
|
105266
|
+
});
|
|
105267
|
+
return;
|
|
105268
|
+
}
|
|
105227
105269
|
_e.dialogState = !0, setTimeout(() => {
|
|
105228
105270
|
pe.value.focus();
|
|
105229
105271
|
}, 100);
|
|
@@ -105261,7 +105303,7 @@ const _sfc_main = defineComponent({
|
|
|
105261
105303
|
closeDialog: ir
|
|
105262
105304
|
};
|
|
105263
105305
|
}
|
|
105264
|
-
}),
|
|
105306
|
+
}), FabricHangTag_vue_vue_type_style_index_0_scoped_823e569a_lang = "", _withScopeId = (k) => (pushScopeId("data-v-823e569a"), k = k(), popScopeId(), k), _hoisted_1 = {
|
|
105265
105307
|
style: { height: "max-content", display: "block" },
|
|
105266
105308
|
class: "el-upload-list--picture-card"
|
|
105267
105309
|
}, _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("span", { class: "point" }, null, -1)), _hoisted_3 = {
|
|
@@ -105529,7 +105571,7 @@ function _sfc_render(k, L, ie, ae, pe, _e) {
|
|
|
105529
105571
|
}, 8, ["modelValue"])
|
|
105530
105572
|
], 64);
|
|
105531
105573
|
}
|
|
105532
|
-
const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
105574
|
+
const FabricHangTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-823e569a"]]);
|
|
105533
105575
|
FabricHangTag.install = (k) => k.component(FabricHangTag.name, FabricHangTag);
|
|
105534
105576
|
AgTable.install = (k) => k.component(AgTable.name, AgTable);
|
|
105535
105577
|
const index = (k, L) => {
|