matrix_components 2.0.302 → 2.0.304

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.
@@ -47052,9 +47052,6 @@ const _hoisted_5$1 = {
47052
47052
  class: "dialog-footer"
47053
47053
  };
47054
47054
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47055
- ...{
47056
- name: "DialogPlus"
47057
- },
47058
47055
  __name: "NsDialog",
47059
47056
  props: {
47060
47057
  class: {
@@ -47063,7 +47060,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47063
47060
  },
47064
47061
  title: {
47065
47062
  type: String,
47066
- default: "标题"
47063
+ default: ""
47067
47064
  },
47068
47065
  width: {
47069
47066
  type: [Number, String],
@@ -47186,13 +47183,13 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
47186
47183
  },
47187
47184
  setup(__props) {
47188
47185
  useCssVars((_ctx) => ({
47189
- "153de384": __props.modalColor,
47190
- "d0c0d484": _height.value,
47191
- "4ba1a688": dialogPosition.value.left,
47192
- "38964a00": dialogPosition.value.top,
47193
- "f89d518a": tbPadding.value,
47194
- "5fa0ad23": lrPadding.value,
47195
- "6d59ed33": _centerHeight.value
47186
+ "6a27e210": __props.modalColor,
47187
+ "6fe0df44": _height.value,
47188
+ "e33f457c": dialogPosition.value.left,
47189
+ "0cd9f0ba": dialogPosition.value.top,
47190
+ "50c65741": tbPadding.value,
47191
+ "2cb5ad29": lrPadding.value,
47192
+ "af790b8e": _centerHeight.value
47196
47193
  }));
47197
47194
  const asyncDom = computed(() => {
47198
47195
  var _a2;
@@ -47546,7 +47543,7 @@ const NsDialog = (data, modal = true, appendTo = "#app") => {
47546
47543
  modal,
47547
47544
  ...data
47548
47545
  };
47549
- const containerId = uniqueId("dialog-");
47546
+ const containerId = (data == null ? void 0 : data.id) || uniqueId("dialog-");
47550
47547
  const container = document.createElement("div");
47551
47548
  container.setAttribute("id", containerId);
47552
47549
  document.querySelector(appendTo).appendChild(container);