vue3-components-plus 3.0.38 → 3.0.40
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.
|
@@ -44963,10 +44963,10 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
44963
44963
|
},
|
|
44964
44964
|
setup(__props) {
|
|
44965
44965
|
useCssVars((_ctx) => ({
|
|
44966
|
-
"
|
|
44967
|
-
"
|
|
44968
|
-
"
|
|
44969
|
-
"
|
|
44966
|
+
"v4665782b": __props.modalColor,
|
|
44967
|
+
"v39343af1": _height.value,
|
|
44968
|
+
"v95e2c522": dialogPosition.value.left,
|
|
44969
|
+
"cb071226": dialogPosition.value.top
|
|
44970
44970
|
}));
|
|
44971
44971
|
const asyncDom = computed(() => {
|
|
44972
44972
|
var _a3;
|
|
@@ -45246,7 +45246,11 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
45246
45246
|
const _component_el_button = resolveComponent("el-button");
|
|
45247
45247
|
const _component_el_dialog = resolveComponent("el-dialog");
|
|
45248
45248
|
return openBlock(), createBlock(_component_el_dialog, {
|
|
45249
|
-
class: normalizeClass([
|
|
45249
|
+
class: normalizeClass([
|
|
45250
|
+
"dialog-plus",
|
|
45251
|
+
props.class,
|
|
45252
|
+
{ "dialog-absolute-position": isAbsolutePosition.value, "dialog-maximized": isMaximized.value }
|
|
45253
|
+
]),
|
|
45250
45254
|
"modal-class": ["dialog-plus-modal", props.class ? props.class + "-modal" : ""],
|
|
45251
45255
|
modal: props.modal,
|
|
45252
45256
|
"modal-penetrable": props.modal + "" === "false",
|
|
@@ -45347,6 +45351,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
45347
45351
|
};
|
|
45348
45352
|
}
|
|
45349
45353
|
});
|
|
45354
|
+
const DialogPlus = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-901e9ad0"]]);
|
|
45350
45355
|
window.__dialogInstances = [];
|
|
45351
45356
|
let externalApp = null;
|
|
45352
45357
|
function setExternalApp(app2) {
|
|
@@ -45387,7 +45392,7 @@ const NsDialog = (data, modal = true, appendTo = "#app") => {
|
|
|
45387
45392
|
};
|
|
45388
45393
|
window.__dialogInstances.push(instance2);
|
|
45389
45394
|
if (externalApp) {
|
|
45390
|
-
const vnode = createVNode(
|
|
45395
|
+
const vnode = createVNode(DialogPlus, {
|
|
45391
45396
|
...superData,
|
|
45392
45397
|
containerId,
|
|
45393
45398
|
// 添加容器ID传递给组件
|
|
@@ -45411,7 +45416,7 @@ const NsDialog = (data, modal = true, appendTo = "#app") => {
|
|
|
45411
45416
|
vnode.appContext = externalApp._context;
|
|
45412
45417
|
render(vnode, container);
|
|
45413
45418
|
} else {
|
|
45414
|
-
const app2 = createApp(
|
|
45419
|
+
const app2 = createApp(DialogPlus, {
|
|
45415
45420
|
...superData,
|
|
45416
45421
|
containerId,
|
|
45417
45422
|
// 添加容器ID传递给组件
|
|
@@ -45432,7 +45437,7 @@ const NsDialog = (data, modal = true, appendTo = "#app") => {
|
|
|
45432
45437
|
}
|
|
45433
45438
|
}
|
|
45434
45439
|
});
|
|
45435
|
-
const vnode = createVNode(
|
|
45440
|
+
const vnode = createVNode(DialogPlus, {
|
|
45436
45441
|
...superData,
|
|
45437
45442
|
containerId,
|
|
45438
45443
|
dialogInstance: instance2
|