slw 0.5.990 → 0.5.992
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/lib/index.js +36 -28
- package/lib/index.umd.cjs +5 -5
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -8287,7 +8287,7 @@ const pictureUpload_vue_vue_type_style_index_0_scoped_dddba6c9_lang = "", _expor
|
|
|
8287
8287
|
for (const [X, Z] of H)
|
|
8288
8288
|
G[X] = Z;
|
|
8289
8289
|
return G;
|
|
8290
|
-
}, _withScopeId$
|
|
8290
|
+
}, _withScopeId$4 = (Q) => (pushScopeId("data-v-dddba6c9"), Q = Q(), popScopeId(), Q), _hoisted_1$kX = { class: "upload-list-box" }, _hoisted_2$kT = {
|
|
8291
8291
|
key: 0,
|
|
8292
8292
|
class: "thumbnail"
|
|
8293
8293
|
}, _hoisted_3$hU = { class: "el-upload-list__item-actions" }, _hoisted_4$av = ["onClick"], _hoisted_5$4V = {
|
|
@@ -8511,10 +8511,10 @@ PictureUpload.name = "slw-picture-upload";
|
|
|
8511
8511
|
PictureUpload.install = (Q) => {
|
|
8512
8512
|
Q.component(PictureUpload.name, PictureUpload);
|
|
8513
8513
|
};
|
|
8514
|
-
const windowGrid_vue_vue_type_style_index_0_scoped_7bf6b0d4_lang = "", _withScopeId$
|
|
8514
|
+
const windowGrid_vue_vue_type_style_index_0_scoped_7bf6b0d4_lang = "", _withScopeId$3 = (Q) => (pushScopeId("data-v-7bf6b0d4"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
|
|
8515
8515
|
class: "slw-window-grid-container",
|
|
8516
8516
|
style: { height: "100%" }
|
|
8517
|
-
}, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$
|
|
8517
|
+
}, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hT = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$au = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4U = [
|
|
8518
8518
|
_hoisted_2$kS,
|
|
8519
8519
|
_hoisted_3$hT,
|
|
8520
8520
|
_hoisted_4$au
|
|
@@ -36994,7 +36994,7 @@ const pseudoClasses = /* @__PURE__ */ [
|
|
|
36994
36994
|
function css$1() {
|
|
36995
36995
|
return new LanguageSupport(cssLanguage, cssLanguage.data.of({ autocomplete: cssCompletionSource }));
|
|
36996
36996
|
}
|
|
36997
|
-
const
|
|
36997
|
+
const windowForm_vue_vue_type_style_index_0_scoped_001b8de1_lang = "", _withScopeId$2 = (Q) => (pushScopeId("data-v-001b8de1"), Q = Q(), popScopeId(), Q), _hoisted_1$kV = { class: "slw-window-form" }, _hoisted_2$kR = {
|
|
36998
36998
|
key: 0,
|
|
36999
36999
|
style: { "text-align": "left", "font-size": "18px", "line-height": "30px", "font-weight": "bold", padding: "5px 30px 0 15px" }
|
|
37000
37000
|
}, _hoisted_3$hS = ["onClick"], _sfc_main$5 = {
|
|
@@ -37359,26 +37359,34 @@ const windowForm_vue_vue_type_style_index_0_lang = "", _hoisted_1$kV = { class:
|
|
|
37359
37359
|
label: ee.NAME
|
|
37360
37360
|
},
|
|
37361
37361
|
ee
|
|
37362
|
-
)), formConfig.value.openType === "new" && Z.visible &&
|
|
37363
|
-
Q[Z.field]
|
|
37364
|
-
|
|
37365
|
-
|
|
37366
|
-
|
|
37367
|
-
|
|
37368
|
-
|
|
37369
|
-
|
|
37362
|
+
)), formConfig.value.openType === "new" && Z.visible && K.data.data.length > 0) {
|
|
37363
|
+
if (Q[Z.field] === "null")
|
|
37364
|
+
Q[Z.field] = "";
|
|
37365
|
+
else if (!Q[Z.field]) {
|
|
37366
|
+
Q[Z.field] = K.data.data[0].VALUE;
|
|
37367
|
+
let ee = {
|
|
37368
|
+
data: Q,
|
|
37369
|
+
item: Z,
|
|
37370
|
+
property: Z.field
|
|
37371
|
+
};
|
|
37372
|
+
onFieldChange(ee);
|
|
37373
|
+
}
|
|
37370
37374
|
}
|
|
37371
37375
|
Z.itemRender.props.loading = !1;
|
|
37372
37376
|
}
|
|
37373
37377
|
});
|
|
37374
|
-
else if (formConfig.value.openType === "new" && Z.visible && Z.editRender.options && Z.editRender.options.length > 0
|
|
37375
|
-
Q[Z.field]
|
|
37376
|
-
|
|
37377
|
-
|
|
37378
|
-
|
|
37379
|
-
|
|
37380
|
-
|
|
37381
|
-
|
|
37378
|
+
else if (formConfig.value.openType === "new" && Z.visible && Z.editRender.options && Z.editRender.options.length > 0) {
|
|
37379
|
+
if (Q[Z.field] === "null")
|
|
37380
|
+
Q[Z.field] = "";
|
|
37381
|
+
else if (!Q[Z.field]) {
|
|
37382
|
+
Q[Z.field] = Z.editRender.options[0].VALUE;
|
|
37383
|
+
let K = {
|
|
37384
|
+
data: Q,
|
|
37385
|
+
item: Z,
|
|
37386
|
+
property: Z.field
|
|
37387
|
+
};
|
|
37388
|
+
onFieldChange(K);
|
|
37389
|
+
}
|
|
37382
37390
|
}
|
|
37383
37391
|
}
|
|
37384
37392
|
}
|
|
@@ -37745,10 +37753,10 @@ const windowForm_vue_vue_type_style_index_0_lang = "", _hoisted_1$kV = { class:
|
|
|
37745
37753
|
]);
|
|
37746
37754
|
};
|
|
37747
37755
|
}
|
|
37748
|
-
};
|
|
37749
|
-
|
|
37750
|
-
|
|
37751
|
-
Q.component(
|
|
37756
|
+
}, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-001b8de1"]]);
|
|
37757
|
+
WindowForm.name = "slw-window-form";
|
|
37758
|
+
WindowForm.install = (Q) => {
|
|
37759
|
+
Q.component(WindowForm.name, WindowForm);
|
|
37752
37760
|
};
|
|
37753
37761
|
const M$1 = {
|
|
37754
37762
|
name: "splitpanes",
|
|
@@ -38206,7 +38214,7 @@ const g$1 = /* @__PURE__ */ S$1(x$1, [["render", P$1]]), splitpanes = "", window
|
|
|
38206
38214
|
gridData: unref(ee).gridData,
|
|
38207
38215
|
"onUpdate:gridData": de[0] || (de[0] = (fe) => unref(ee).gridData = fe)
|
|
38208
38216
|
}, ce.$attrs), null, 16, ["gridData"])) : createCommentVNode("", !0),
|
|
38209
|
-
unref(ee).gridData.type === "FORM" ? (openBlock(), createBlock(unref(
|
|
38217
|
+
unref(ee).gridData.type === "FORM" ? (openBlock(), createBlock(unref(WindowForm), {
|
|
38210
38218
|
key: 1,
|
|
38211
38219
|
ref_key: "xForm",
|
|
38212
38220
|
ref: se,
|
|
@@ -39257,7 +39265,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_9f348366_lang = "", _withSco
|
|
|
39257
39265
|
})
|
|
39258
39266
|
}, {
|
|
39259
39267
|
default: withCtx(() => [
|
|
39260
|
-
(openBlock(), createBlock(unref(
|
|
39268
|
+
(openBlock(), createBlock(unref(WindowForm), {
|
|
39261
39269
|
"form-config": unref(formConfig),
|
|
39262
39270
|
"onUpdate:formConfig": H[1] || (H[1] = (he) => isRef(formConfig) ? formConfig.value = he : formConfig = he),
|
|
39263
39271
|
ref_key: "xForm",
|
|
@@ -122180,7 +122188,7 @@ const VXETableExport = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
122180
122188
|
_sfc_main,
|
|
122181
122189
|
WindowLayout,
|
|
122182
122190
|
WindowGrid,
|
|
122183
|
-
|
|
122191
|
+
WindowForm,
|
|
122184
122192
|
_sfc_main$2,
|
|
122185
122193
|
_sfc_main$3
|
|
122186
122194
|
], install = (Q, H = {
|
|
@@ -122250,7 +122258,7 @@ function reConsole() {
|
|
|
122250
122258
|
}
|
|
122251
122259
|
}
|
|
122252
122260
|
console.info(
|
|
122253
|
-
"%cSLW %cVer 0.5.
|
|
122261
|
+
"%cSLW %cVer 0.5.992",
|
|
122254
122262
|
"color:#409EFF;font-size: 22px;font-weight:bolder",
|
|
122255
122263
|
"color:#999;font-size: 12px"
|
|
122256
122264
|
);
|