matrix_components 2.0.303 → 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.
- package/dist/matrix_components.css +1 -1
- package/dist/matrix_components.js +9 -12
- package/dist/matrix_components.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/ComponentDemo/DialogDemo.vue +0 -208
- package/dist/ComponentDemo/ExampleFormConfig.js +0 -270
- package/dist/ComponentDemo/ExcelDemo.vue +0 -263
- package/dist/ComponentDemo/FormDemo.vue +0 -400
- package/dist/ComponentDemo/OfficeDemo.vue +0 -189
- package/dist/ComponentDemo/PdfDemo.vue +0 -207
- package/dist/ComponentDemo/SaturationLineDemo.vue +0 -155
- package/dist/ComponentDemo/SimpleFormConfig.json +0 -97
- package/dist/ComponentDemo/Test.vue +0 -79
- package/dist/ComponentDemo/TestFormConfig.js +0 -129
- package/dist/ComponentDemo/VideoDemo.vue +0 -264
- package/dist/ComponentDemo/WordDemo.vue +0 -191
|
@@ -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
|
-
"
|
|
47190
|
-
"
|
|
47191
|
-
"
|
|
47192
|
-
"
|
|
47193
|
-
"
|
|
47194
|
-
"
|
|
47195
|
-
"
|
|
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);
|