@moluoxixi/ajax-package 0.0.48 → 0.0.50
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/es/index.mjs +6 -12
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
try {
|
|
4
4
|
if (typeof document !== "undefined") {
|
|
5
|
-
if (!document.getElementById("
|
|
5
|
+
if (!document.getElementById("21f1b1ee-40a7-42c8-b118-6f00dc3b69bd")) {
|
|
6
6
|
var elementStyle = document.createElement("style");
|
|
7
|
-
elementStyle.id = "
|
|
7
|
+
elementStyle.id = "21f1b1ee-40a7-42c8-b118-6f00dc3b69bd";
|
|
8
8
|
elementStyle.appendChild(document.createTextNode("._root_11p33_1 .el-dialog__header {\n padding: 0 12px 12px;\n}\n\n._root_11p33_1 .el-dialog__body {\n border-top: 1px solid #e5e7eb;\n border-bottom: 1px solid #e5e7eb;\n padding: 0 12px;\n}\n\n._root_11p33_1 .el-dialog__footer {\n padding: 0 12px;\n}"));
|
|
9
9
|
document.head.appendChild(elementStyle);
|
|
10
10
|
}
|
|
@@ -7499,9 +7499,6 @@ const _BaseHttpClient = class _BaseHttpClient {
|
|
|
7499
7499
|
if (!this.hasDocument) {
|
|
7500
7500
|
return document.body;
|
|
7501
7501
|
}
|
|
7502
|
-
if (!this.appendTo) {
|
|
7503
|
-
return document.body;
|
|
7504
|
-
}
|
|
7505
7502
|
return document.body;
|
|
7506
7503
|
}
|
|
7507
7504
|
getContainer() {
|
|
@@ -7518,12 +7515,7 @@ const _BaseHttpClient = class _BaseHttpClient {
|
|
|
7518
7515
|
if (!container) {
|
|
7519
7516
|
container = document.createElement("div");
|
|
7520
7517
|
container.id = this.containerId;
|
|
7521
|
-
|
|
7522
|
-
if (targetElement) {
|
|
7523
|
-
targetElement.appendChild(container);
|
|
7524
|
-
} else {
|
|
7525
|
-
return null;
|
|
7526
|
-
}
|
|
7518
|
+
document.body.appendChild(container);
|
|
7527
7519
|
const popoverContainer = document.createElement("div");
|
|
7528
7520
|
popoverContainer.id = this.popoverContainerId;
|
|
7529
7521
|
popoverContainer.style.position = "relative";
|
|
@@ -8035,7 +8027,10 @@ const _BaseApi = class _BaseApi extends BaseHttpClient {
|
|
|
8035
8027
|
try {
|
|
8036
8028
|
const { default: SystemErrorDialog2 } = await dynamicImports(Promise.resolve().then(() => SystemErrorDialog$1), ["default"]);
|
|
8037
8029
|
const popoverContainer = this.getPopoverContainer();
|
|
8030
|
+
/* @__PURE__ */ console.log("1111111111", popoverContainer);
|
|
8031
|
+
/* @__PURE__ */ console.log("2222222222", SystemErrorDialog2);
|
|
8038
8032
|
this.systemErrorDialogInstance = createApiDialog(SystemErrorDialog2, popoverContainer);
|
|
8033
|
+
/* @__PURE__ */ console.log("3333333333", this.systemErrorDialogInstance);
|
|
8039
8034
|
} catch (error) {
|
|
8040
8035
|
console.warn("Failed to load SystemErrorDialog:", error);
|
|
8041
8036
|
throw error;
|
|
@@ -8597,7 +8592,6 @@ const SystemErrorDialog = defineComponent({
|
|
|
8597
8592
|
"modelValue": props.modelValue,
|
|
8598
8593
|
"class": cssModules.root,
|
|
8599
8594
|
"width": dialogWidth.value,
|
|
8600
|
-
"customClass": "custom-dialog-class",
|
|
8601
8595
|
"showClose": true,
|
|
8602
8596
|
"closeOnClickModal": false,
|
|
8603
8597
|
"closeOnPressEscape": false,
|