dfs-page-config 0.5.39 → 0.5.41
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 +10 -8
- package/dist/dfs-page-config.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dfs-page-config.js
CHANGED
|
@@ -29311,7 +29311,7 @@ const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["re
|
|
|
29311
29311
|
fileUrlInfo: Ne
|
|
29312
29312
|
};
|
|
29313
29313
|
}
|
|
29314
|
-
}),
|
|
29314
|
+
}), Form_vue_vue_type_style_index_0_scoped_0f0f627e_lang = "", Form_vue_vue_type_style_index_1_lang = "", _hoisted_1$h = {
|
|
29315
29315
|
key: 0,
|
|
29316
29316
|
class: "mask"
|
|
29317
29317
|
};
|
|
@@ -29479,7 +29479,7 @@ function _sfc_render$i(k, L, ie, ae, pe, _e) {
|
|
|
29479
29479
|
label: mr[ar.itemValue || "value"],
|
|
29480
29480
|
style: normalizeStyle(ar.itemStyle),
|
|
29481
29481
|
disabled: typeof ar.disabled == "function" ? ar.disabled(k.formData, k.relation) : ar.disabled,
|
|
29482
|
-
onClick: (gr) => ar.optionClick && ar.optionClick({ formComp: k.componentOption, value: k.formData[ar.prop], option: mr })
|
|
29482
|
+
onClick: withModifiers((gr) => ar.optionClick && ar.optionClick({ formComp: k.componentOption, value: k.formData[ar.prop], option: mr }), ["prevent"])
|
|
29483
29483
|
}, {
|
|
29484
29484
|
default: withCtx(() => [
|
|
29485
29485
|
createTextVNode(toDisplayString(mr[ar.itemName || "label"]), 1)
|
|
@@ -29645,7 +29645,7 @@ function _sfc_render$i(k, L, ie, ae, pe, _e) {
|
|
|
29645
29645
|
_: 3
|
|
29646
29646
|
}, 8, ["class", "model", "size", "inline", "style"]);
|
|
29647
29647
|
}
|
|
29648
|
-
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
|
29648
|
+
const Form = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$i], ["__scopeId", "data-v-0f0f627e"]]), _sfc_main$i = defineComponent({
|
|
29649
29649
|
name: "Upload",
|
|
29650
29650
|
props: {
|
|
29651
29651
|
url: String,
|
|
@@ -105733,14 +105733,16 @@ const _sfc_main = defineComponent({
|
|
|
105733
105733
|
return;
|
|
105734
105734
|
Et = !1, document.removeEventListener("mousemove", tr), document.removeEventListener("mouseup", nr);
|
|
105735
105735
|
const lr = Ie.value.offsetWidth, ur = ze.x, dr = window.innerWidth - (ze.x + lr);
|
|
105736
|
-
ur < dr ? ze.x = 0 : ze.x = window.innerWidth - lr;
|
|
105736
|
+
Ie.value.style.transition = "all 0.2s ease-out", ur < dr ? ze.x = 0 : ze.x = window.innerWidth - lr;
|
|
105737
105737
|
const hr = Ie.value.offsetHeight;
|
|
105738
|
-
ze.y = Math.max(0, Math.min(window.innerHeight - hr, ze.y))
|
|
105738
|
+
ze.y = Math.max(0, Math.min(window.innerHeight - hr, ze.y)), setTimeout(() => {
|
|
105739
|
+
Ie.value && (Ie.value.style.transition = "");
|
|
105740
|
+
}, 300);
|
|
105739
105741
|
}, er = () => {
|
|
105740
105742
|
if (!Ie.value)
|
|
105741
105743
|
return;
|
|
105742
105744
|
const lr = Ie.value.offsetWidth, ur = Ie.value.offsetHeight;
|
|
105743
|
-
ze.x =
|
|
105745
|
+
ze.x = window.innerWidth - lr, ze.y = window.innerHeight - ur - 30;
|
|
105744
105746
|
};
|
|
105745
105747
|
return onMounted(() => {
|
|
105746
105748
|
window.addEventListener("resize", er), nextTick(() => {
|
|
@@ -105772,7 +105774,7 @@ const _sfc_main = defineComponent({
|
|
|
105772
105774
|
stopPolling: pe
|
|
105773
105775
|
};
|
|
105774
105776
|
}
|
|
105775
|
-
}),
|
|
105777
|
+
}), UploadDownloadCenter_vue_vue_type_style_index_0_scoped_6e0aa174_lang = "", _withScopeId = (k) => (pushScopeId("data-v-6e0aa174"), k = k(), popScopeId(), k), _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("p", { class: "drag-button-text" }, "上传\\下载", -1)), _hoisted_2 = [
|
|
105776
105778
|
_hoisted_1
|
|
105777
105779
|
], _hoisted_3 = { style: { height: "76vh" } };
|
|
105778
105780
|
function _sfc_render(k, L, ie, ae, pe, _e) {
|
|
@@ -105807,7 +105809,7 @@ function _sfc_render(k, L, ie, ae, pe, _e) {
|
|
|
105807
105809
|
}, 8, ["modelValue", "onOpen", "onClose"])
|
|
105808
105810
|
], 64);
|
|
105809
105811
|
}
|
|
105810
|
-
const UploadDownloadCenter = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
105812
|
+
const UploadDownloadCenter = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-6e0aa174"]]);
|
|
105811
105813
|
UploadDownloadCenter.install = (k) => k.component(UploadDownloadCenter.name, UploadDownloadCenter);
|
|
105812
105814
|
let timer = null, staticResourceMonitor = 2e3, apiRequestThreshold = 3e3;
|
|
105813
105815
|
const userInfo = JSON.parse(localStorage.getItem("userInfo") || "{}"), username = userInfo.name || userInfo.displayName || "", PERFORMANCE_SERVER_URL = "https://performance-monitor.prod.doublefs.com/api/performance";
|