slw 1.0.0-beta.17.2 → 1.0.0-beta.17.3

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.
@@ -1,5 +1,5 @@
1
1
  import { pushScopeId as P, popScopeId as V, createElementVNode as h, resolveComponent as g, openBlock as o, createElementBlock as p, createBlock as f, normalizeClass as T, normalizeStyle as A, withModifiers as R, withCtx as r, renderSlot as q, createCommentVNode as _, Fragment as B, createVNode as s, mergeProps as k, renderList as j, toDisplayString as E, normalizeProps as K, guardReactiveProps as Q, resolveDynamicComponent as Z, defineAsyncComponent as $, computed as F, unref as D, withDirectives as ee, vShow as te } from "vue";
2
- import { _ as x, d as S, a as L, u as N } from "./index-7e0e0ff8.js";
2
+ import { _ as x, d as S, a as L, u as N } from "./index-fcf1053c.js";
3
3
  import "vue-router";
4
4
  const I = {
5
5
  computed: {},
@@ -53257,7 +53257,7 @@ WindowCharts.name = "slw-window-charts";
53257
53257
  WindowCharts.install = (G) => {
53258
53258
  G.component(WindowCharts.name, WindowCharts);
53259
53259
  };
53260
- const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-72deae66"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53260
+ const windowGrid_vue_vue_type_style_index_0_scoped_e0ef89f5_lang = "", _withScopeId$9 = (G) => (pushScopeId("data-v-e0ef89f5"), G = G(), popScopeId(), G), _hoisted_1$l3 = {
53261
53261
  class: "slw-window-grid-container",
53262
53262
  style: { height: "100%" }
53263
53263
  }, _hoisted_2$k_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$h_ = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$aA = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4_ = [
@@ -53272,8 +53272,9 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScop
53272
53272
  style: { cursor: "pointer", padding: "0" }
53273
53273
  }, null, -1)), _hoisted_17 = { style: { "font-size": "18px", "margin-right": "8px" } }, _hoisted_18 = {
53274
53274
  key: 0,
53275
- class: "pager-left-wrapper"
53276
- }, _hoisted_19 = /* @__PURE__ */ _withScopeId$9(() => /* @__PURE__ */ createElementVNode("span", { style: { width: "45px", "text-align": "left" } }, "全量", -1)), _hoisted_20 = { style: { padding: "20px 0" } }, _sfc_main$g = {
53275
+ class: "pager-left-wrapper",
53276
+ title: "全量数据全选/取消"
53277
+ }, _hoisted_19 = { style: { padding: "20px 0" } }, _sfc_main$g = {
53277
53278
  __name: "window-grid",
53278
53279
  props: {
53279
53280
  gridData: {
@@ -54821,14 +54822,16 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScop
54821
54822
  var X;
54822
54823
  const H = await axios.post("/window/data/" + gridData.value.params.datasourceCode, G);
54823
54824
  return ((X = H == null ? void 0 : H.data) == null ? void 0 : X.data) || [];
54825
+ }, headerPagerToolCheckedClick = () => {
54826
+ pagerToolChecked.value = !pagerToolChecked.value, headerPagerToolCheckedChange({ checked: pagerToolChecked.value });
54824
54827
  }, headerPagerToolCheckedChange = async ({ checked: G, $event: H }) => {
54825
54828
  let X = getCurRegion();
54826
54829
  const { data: Q } = curRegion.value.getProxyInfo();
54827
54830
  G ? Q.forEach((K) => {
54828
54831
  X.setCheckboxRow(K, !0);
54829
- }) : Q.forEach((K) => {
54832
+ }) : (Q.forEach((K) => {
54830
54833
  removeRowEvent(K);
54831
- });
54834
+ }), removeAllRowEvent());
54832
54835
  }, remoteMethod = async (G, H, X) => {
54833
54836
  let Q = [], K = await axios.post(
54834
54837
  "/window/selector",
@@ -54890,7 +54893,10 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScop
54890
54893
  queryFormData.value.hasOwnProperty(H) && !queryFormData.value[H] && (queryFormData.value[H] = gridData.value.params.queryParams[G]);
54891
54894
  }), gridData.value.columns.forEach((G) => {
54892
54895
  G.hasOwnProperty("field") && !G.hasOwnProperty("treeNode") && (G.events.change = onFieldChange, G.events["on-change"] = onFieldChange, G.events.keyup = onFieldEnter, G.editRender.events = G.events, G.itemRender.events = G.events), G.itemRender && G.itemRender.props._select_id && (formSelectMap.value[G.id] = G);
54893
- }), searchData(), regionMap.value[gridData.value.params.code + "-" + preTag.value] = curRegion.value, regionMap.value[gridData.value.params.code] = curRegion.value, evalEvent(gridData.value.params.formEvents.regionInit, "GRID", "表格页面初始化事件"), gridData.value.params.parentRegionId && addGridClickEvent(rowClickEmitFun), curRegion.value.closeModal = () => {
54896
+ }), searchData(), regionMap.value[gridData.value.params.code + "-" + preTag.value] = curRegion.value, regionMap.value[gridData.value.params.code] = curRegion.value, evalEvent(gridData.value.params.formEvents.regionInit, "GRID", "表格页面初始化事件"), gridData.value.params.parentRegionId && addGridClickEvent(rowClickEmitFun), setTimeout(() => {
54897
+ let G = getCurRegion().$el.querySelector(".vxe-table--main-wrapper .vxe-table--header-wrapper .vxe-cell--checkbox");
54898
+ G.title = "当页全选/取消";
54899
+ }, 1500), curRegion.value.closeModal = () => {
54894
54900
  closeModal && closeModal();
54895
54901
  }, curRegion.value.closeDrawer = () => {
54896
54902
  closeDrawer();
@@ -55178,9 +55184,11 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScop
55178
55184
  var fe;
55179
55185
  return [
55180
55186
  (fe = unref(gridData).pagerConfig.slots) != null && fe.left ? (openBlock(), createElementBlock("div", _hoisted_18, [
55181
- _hoisted_19,
55187
+ createElementVNode("span", {
55188
+ style: { width: "45px", "text-align": "center", background: "#409eff", color: "#fff", "border-radius": "5px", cursor: "pointer" },
55189
+ onClick: headerPagerToolCheckedClick
55190
+ }, " 全选 "),
55182
55191
  createVNode$1(se, {
55183
- title: "全量数据全选/取消",
55184
55192
  class: "checkbox-box",
55185
55193
  modelValue: unref(pagerToolChecked),
55186
55194
  "onUpdate:modelValue": H[1] || (H[1] = (pe) => isRef(pagerToolChecked) ? pagerToolChecked.value = pe : pagerToolChecked = pe),
@@ -55247,7 +55255,7 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScop
55247
55255
  "on-success": importSuccess
55248
55256
  }, {
55249
55257
  default: withCtx(() => [
55250
- createElementVNode("div", _hoisted_20, [
55258
+ createElementVNode("div", _hoisted_19, [
55251
55259
  createVNode$1(le, { width: 50 }),
55252
55260
  createElementVNode("p", null, toDisplayString(unref($T)("点击或拖文件到此处上传")), 1)
55253
55261
  ])
@@ -55299,12 +55307,12 @@ const windowGrid_vue_vue_type_style_index_0_scoped_72deae66_lang = "", _withScop
55299
55307
  ]);
55300
55308
  };
55301
55309
  }
55302
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-72deae66"]]);
55310
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-e0ef89f5"]]);
55303
55311
  WindowGrid.name = "slw-window-grid";
55304
55312
  WindowGrid.install = (G) => {
55305
55313
  G.component(WindowGrid.name, WindowGrid);
55306
55314
  };
55307
- const fileUpload_vue_vue_type_style_index_0_scoped_217c4b9f_lang = "", _withScopeId$8 = (G) => (pushScopeId("data-v-217c4b9f"), G = G(), popScopeId(), G), _hoisted_1$l2 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("div", { class: "el-upload__tip" }, "大小不超过20MB的文件.", -1)), _hoisted_2$kZ = { class: "el-upload-list el-upload-list--text" }, _hoisted_3$hZ = {
55315
+ const fileUpload_vue_vue_type_style_index_0_scoped_b6b5a57d_lang = "", _withScopeId$8 = (G) => (pushScopeId("data-v-b6b5a57d"), G = G(), popScopeId(), G), _hoisted_1$l2 = /* @__PURE__ */ _withScopeId$8(() => /* @__PURE__ */ createElementVNode("div", { class: "el-upload__tip" }, "大小不超过20MB的文件.", -1)), _hoisted_2$kZ = { class: "el-upload-list el-upload-list--text" }, _hoisted_3$hZ = {
55308
55316
  class: "el-upload-list__item is-success",
55309
55317
  tabindex: "0"
55310
55318
  }, _hoisted_4$az = {
@@ -55324,21 +55332,24 @@ const fileUpload_vue_vue_type_style_index_0_scoped_217c4b9f_lang = "", _withScop
55324
55332
  },
55325
55333
  filePreviewList: {
55326
55334
  type: Array
55335
+ },
55336
+ fileFormData: {
55337
+ type: Array
55327
55338
  }
55328
55339
  },
55329
55340
  emits: ["update:filePreviewList"],
55330
55341
  setup(G, { emit: H }) {
55331
55342
  const X = G, Q = inject("$httpHeaders"), K = inject("$vxeMessage"), Z = inject("$axios"), ee = inject("$qs"), te = inject("$t"), ne = inject("$vxeConfirm");
55332
- let re = ref$2(), oe = ref$2(`${(Z == null ? void 0 : Z.baseUrl) || ""}/dataFile/upload/`), ae = useVModel$1(X, "filePreviewList", H), se = ref$2({ dataId: "", columnId: "" });
55333
- const le = computed(() => X.uploadConfig.openType == "view"), ce = (me) => {
55334
- re.value.handleRemove(me);
55335
- }, ue = async (me) => {
55343
+ let re = ref$2(), oe = ref$2(`${(Z == null ? void 0 : Z.baseUrl) || ""}/dataFile/upload/`), ae = useVModel$1(X, "filePreviewList", H), se = useVModel$1(X, "fileFormData", H), le = ref$2({ dataId: "", columnId: "" });
55344
+ const ce = computed(() => X.uploadConfig.openType == "view"), ue = (ge) => {
55345
+ re.value.handleRemove(ge);
55346
+ }, de = async (ge) => {
55336
55347
  if (await ne(te("确定删除?"), void 0, { zIndex: 3e3 }) === "confirm")
55337
- Z.post(`/dataFile/delete/${me.id}`).then((ve) => {
55338
- if (ve.data.result) {
55339
- let we = ae.value.findIndex(($e) => $e.id == me.id);
55340
- ae.value.splice(we, 1), K({
55341
- content: ve.data.msg,
55348
+ Z.post(`/dataFile/delete/${ge.id}`).then((we) => {
55349
+ if (we.data.result) {
55350
+ let $e = se.value.findIndex((Se) => Se == ge.id);
55351
+ se.value.splice($e, 1), K({
55352
+ content: we.data.msg,
55342
55353
  status: "success",
55343
55354
  zIndex: 3e3
55344
55355
  });
@@ -55346,9 +55357,9 @@ const fileUpload_vue_vue_type_style_index_0_scoped_217c4b9f_lang = "", _withScop
55346
55357
  });
55347
55358
  else
55348
55359
  return !1;
55349
- }, de = (me) => {
55350
- ne(te("确定下载?"), void 0, { zIndex: 3e3 }).then((ge) => {
55351
- ge === "confirm" && Z.export(`/dataFile/download/${me.id}`).then((ve) => {
55360
+ }, he = (ge) => {
55361
+ ne(te("确定下载?"), void 0, { zIndex: 3e3 }).then((ve) => {
55362
+ ve === "confirm" && Z.export(`/dataFile/download/${ge.id}`).then((we) => {
55352
55363
  K({
55353
55364
  content: "下载成功!",
55354
55365
  status: "success",
@@ -55356,68 +55367,68 @@ const fileUpload_vue_vue_type_style_index_0_scoped_217c4b9f_lang = "", _withScop
55356
55367
  });
55357
55368
  });
55358
55369
  });
55359
- }, he = (me, ge) => {
55370
+ }, fe = (ge, ve) => {
55360
55371
  K({
55361
55372
  content: "允许上传文件的最大数量为1",
55362
55373
  status: "error",
55363
55374
  zIndex: 3e3
55364
55375
  });
55365
- }, fe = (me, ge) => {
55366
- me.result ? (ae.value = ae.value.map((ve) => ({
55367
- id: me.id,
55368
- name: ge.name,
55369
- url: `${(Z == null ? void 0 : Z.baseUrl) || ""}/dataFile/inline/${me.id}`
55370
- })), K({
55371
- content: me.msg,
55376
+ }, pe = (ge, ve) => {
55377
+ ge.result ? (ae.value = ae.value.map((we) => {
55378
+ var $e;
55379
+ return (($e = we.response) == null ? void 0 : $e.id) == ge.id ? {
55380
+ id: ge.id,
55381
+ name: ve.name
55382
+ } : we;
55383
+ }), se.value.push(ge.id), K({
55384
+ content: ge.msg,
55372
55385
  status: "success",
55373
55386
  zIndex: 3e3
55374
55387
  })) : K({
55375
- content: me.msg,
55388
+ content: ge.msg,
55376
55389
  status: "error",
55377
55390
  zIndex: 3e3
55378
55391
  });
55379
- }, pe = () => {
55380
- ae.value = [], Z.post(`/dataFile/list/${X.uploadConfig.regionId}/${X.uploadConfig.dataId}`).then(async (me) => {
55381
- if (me.data.result && me.data.list.length > 0) {
55382
- let ge = [];
55383
- for (let ve of me.data.list)
55384
- ve.columnName == X.fieldId && ge.push({
55385
- id: ve.id,
55386
- name: ve.name,
55387
- columnName: ve.columnName,
55388
- url: `${(Z == null ? void 0 : Z.baseUrl) || ""}/dataFile/inline/${ve.id}`
55389
- });
55390
- ae.value = ge;
55392
+ }, me = () => {
55393
+ ae.value = [], Z.post(`/dataFile/list/${X.uploadConfig.regionId}/${X.uploadConfig.dataId}`).then(async (ge) => {
55394
+ if (ge.data.result && ge.data.list.length > 0) {
55395
+ let ve = [];
55396
+ for (let we of ge.data.list)
55397
+ we.columnName == X.fieldId && (ve.push({
55398
+ id: we.id,
55399
+ name: we.name,
55400
+ columnName: we.columnName
55401
+ }), se.value.push(we.id));
55402
+ ae.value = ve;
55391
55403
  }
55392
55404
  });
55393
55405
  };
55394
55406
  return watch(
55395
55407
  () => X.uploadConfig,
55396
- (me) => {
55397
- oe.value += me.regionId, X.fieldId && (se.value.columnId = X.fieldId), me.dataId && (se.value.dataId = me.dataId, pe());
55408
+ (ge) => {
55409
+ oe.value += ge.regionId, X.fieldId && (le.value.columnId = X.fieldId), ge.dataId && (le.value.dataId = ge.dataId, me());
55398
55410
  },
55399
55411
  { deep: !0, immediate: !0 }
55400
- ), (me, ge) => {
55401
- const ve = resolveComponent("el-button"), we = resolveComponent("el-upload");
55402
- return openBlock(), createBlock(we, {
55412
+ ), (ge, ve) => {
55413
+ const we = resolveComponent("el-button"), $e = resolveComponent("el-upload");
55414
+ return openBlock(), createBlock($e, {
55403
55415
  ref_key: "fileUploadRef",
55404
55416
  ref: re,
55405
55417
  "file-list": unref(ae),
55406
- "onUpdate:fileList": ge[0] || (ge[0] = ($e) => isRef(ae) ? ae.value = $e : ae = $e),
55418
+ "onUpdate:fileList": ve[0] || (ve[0] = (Se) => isRef(ae) ? ae.value = Se : ae = Se),
55407
55419
  class: "upload-file",
55408
- disabled: le.value,
55420
+ disabled: ce.value,
55409
55421
  headers: unref(Q)(),
55410
55422
  action: unref(oe),
55411
- data: unref(se),
55412
- limit: 1,
55413
- "on-exceed": he,
55414
- "on-success": fe,
55415
- "before-remove": ue
55423
+ data: unref(le),
55424
+ "on-exceed": fe,
55425
+ "on-success": pe,
55426
+ "before-remove": de
55416
55427
  }, {
55417
55428
  tip: withCtx(() => [
55418
55429
  _hoisted_1$l2
55419
55430
  ]),
55420
- file: withCtx(({ file: $e }) => [
55431
+ file: withCtx(({ file: Se }) => [
55421
55432
  createElementVNode("ul", _hoisted_2$kZ, [
55422
55433
  createElementVNode("li", _hoisted_3$hZ, [
55423
55434
  createElementVNode("div", _hoisted_4$az, [
@@ -55425,30 +55436,30 @@ const fileUpload_vue_vue_type_style_index_0_scoped_217c4b9f_lang = "", _withScop
55425
55436
  _hoisted_6$21,
55426
55437
  createElementVNode("span", {
55427
55438
  class: "el-upload-list__item-file-name",
55428
- title: $e.name
55429
- }, toDisplayString($e.name), 9, _hoisted_7$14)
55439
+ title: Se.name
55440
+ }, toDisplayString(Se.name), 9, _hoisted_7$14)
55430
55441
  ])
55431
55442
  ]),
55432
55443
  createElementVNode("i", {
55433
55444
  class: "iconfont icon-download1",
55434
55445
  style: { color: "#67c23a", cursor: "pointer" },
55435
- onClick: (Se) => de($e),
55446
+ onClick: (be) => he(Se),
55436
55447
  title: "下载"
55437
55448
  }, null, 8, _hoisted_8$H),
55438
55449
  _hoisted_9$n,
55439
55450
  createElementVNode("i", {
55440
55451
  class: "iconfont icon-close2 el-icon--close el-icon",
55441
55452
  title: "删除",
55442
- onClick: (Se) => ce($e)
55453
+ onClick: (be) => ue(Se)
55443
55454
  }, null, 8, _hoisted_10$q)
55444
55455
  ])
55445
55456
  ])
55446
55457
  ]),
55447
55458
  default: withCtx(() => [
55448
- createVNode$1(ve, {
55459
+ createVNode$1(we, {
55449
55460
  type: "primary",
55450
55461
  size: "small",
55451
- disabled: le.value
55462
+ disabled: ce.value
55452
55463
  }, {
55453
55464
  default: withCtx(() => [
55454
55465
  createTextVNode(" 上传文件 ")
@@ -55460,7 +55471,7 @@ const fileUpload_vue_vue_type_style_index_0_scoped_217c4b9f_lang = "", _withScop
55460
55471
  }, 8, ["file-list", "disabled", "headers", "action", "data"]);
55461
55472
  };
55462
55473
  }
55463
- }, FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-217c4b9f"]]);
55474
+ }, FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-b6b5a57d"]]);
55464
55475
  FileUpload.name = "slw-file-upload";
55465
55476
  FileUpload.install = (G) => {
55466
55477
  G.component(FileUpload.name, FileUpload);
@@ -77655,7 +77666,7 @@ var js = js$1.exports;
77655
77666
  })(G);
77656
77667
  })(js$1);
77657
77668
  var jsExports = js$1.exports;
77658
- const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_3a38e6a2_lang = "", _withScopeId$7 = (G) => (pushScopeId("data-v-3a38e6a2"), G = G(), popScopeId(), G), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kY = {
77669
+ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_vue_vue_type_style_index_0_scoped_ccfe5ade_lang = "", _withScopeId$7 = (G) => (pushScopeId("data-v-ccfe5ade"), G = G(), popScopeId(), G), _hoisted_1$l1 = { class: "slw-window-form" }, _hoisted_2$kY = {
77659
77670
  key: 0,
77660
77671
  class: "form-title"
77661
77672
  }, _hoisted_3$hY = ["onClick"], _hoisted_4$ay = ["onClick"], _hoisted_5$4Y = ["onClick"], _hoisted_6$20 = ["onClick"], _hoisted_7$13 = ["onClick"], _hoisted_8$G = ["onClick"], _sfc_main$e = {
@@ -77832,7 +77843,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
77832
77843
  if (formConfig.value.formData) {
77833
77844
  formData.value = formConfig.value.formData, G = formConfig.value.openType === "new", formConfig.value.openType === "view" && (formConfig.value.columns = XEUtils$4.clone(formConfig.value.columns, !0));
77834
77845
  for (const ee of formConfig.value.columns)
77835
- formConfig.value.openType === "view" && ((H = ee.itemRender) == null ? void 0 : H.name) == "ElInput" && (ee.itemRender.props.readonly = !0), ee.dataType === "EDITOR" ? formData.value[ee.field] == null ? formData.value[ee.field] = "" : ee.language == "javascript" && (formData.value[ee.field] = jsExports.js_beautify(formData.value[ee.field], codeBeautifyConfig)) : (X = ee.itemRender) != null && X.name.includes("Select") && ee.itemRender.props.multiple && (formData.value[ee.field] == "" ? formData.value[ee.field] = [] : formData.value[ee.field] instanceof String && (formData.value[ee.field] = (Q = formData.value[ee.field]) == null ? void 0 : Q.split(",")));
77846
+ formConfig.value.openType === "view" && ((H = ee.itemRender) == null ? void 0 : H.name) == "ElInput" && (ee.itemRender.props.readonly = !0), ee.dataType === "EDITOR" ? formData.value[ee.field] == null ? formData.value[ee.field] = "" : ee.language == "javascript" && (formData.value[ee.field] = jsExports.js_beautify(formData.value[ee.field], codeBeautifyConfig)) : (X = ee.itemRender) != null && X.name.includes("Select") && ee.itemRender.props.multiple ? formData.value[ee.field] == "" ? formData.value[ee.field] = [] : formData.value[ee.field] instanceof String && (formData.value[ee.field] = (Q = formData.value[ee.field]) == null ? void 0 : Q.split(",")) : ee.dataType === "FILE" && (formData.value[ee.field] = []);
77836
77847
  } else {
77837
77848
  for (const ee of formConfig.value.columns)
77838
77849
  ee.type !== "seq" && ee.type !== "checkbox" && (formData.value[ee.field] = "", (K = ee.itemRender) != null && K.name.includes("Select") && ee.itemRender.props.multiple && (formData.value[ee.field] = formData.value[ee.field] == "" ? [] : (Z = formData.value[ee.field]) == null ? void 0 : Z.split(",")));
@@ -78570,9 +78581,11 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
78570
78581
  createVNode$1(unref(FileUpload), {
78571
78582
  uploadConfig: unref(uploadConfig),
78572
78583
  fieldId: ae.id,
78584
+ fileFormData: unref(formData)[ae.field],
78585
+ "onUpdate:fileFormData": (se) => unref(formData)[ae.field] = se,
78573
78586
  filePreviewList: unref(fieldPreviewMap)[ae.field],
78574
78587
  "onUpdate:filePreviewList": (se) => unref(fieldPreviewMap)[ae.field] = se
78575
- }, null, 8, ["uploadConfig", "fieldId", "filePreviewList", "onUpdate:filePreviewList"])
78588
+ }, null, 8, ["uploadConfig", "fieldId", "fileFormData", "onUpdate:fileFormData", "filePreviewList", "onUpdate:filePreviewList"])
78576
78589
  ]),
78577
78590
  key: "4"
78578
78591
  } : void 0,
@@ -78671,7 +78684,7 @@ const index$o = /* @__PURE__ */ getDefaultExportFromCjs(jsExports), windowForm_v
78671
78684
  ]);
78672
78685
  };
78673
78686
  }
78674
- }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-3a38e6a2"]]);
78687
+ }, WindowForm = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-ccfe5ade"]]);
78675
78688
  WindowForm.name = "slw-window-form";
78676
78689
  WindowForm.install = (G) => {
78677
78690
  G.component(WindowForm.name, WindowForm);
@@ -91742,7 +91755,7 @@ const windowDesigner_vue_vue_type_style_index_0_scoped_a3ebe962_lang = "", _with
91742
91755
  emits: ["update:type", "update:rootLayout", "update:viewData", "update:rowData"],
91743
91756
  setup(G, { emit: H }) {
91744
91757
  const X = G, Q = defineAsyncComponent(
91745
- () => import("./index-c1024c3b.js")
91758
+ () => import("./index-e0b31bca.js")
91746
91759
  );
91747
91760
  let K = useVModel(X, "type", H), Z = useVModel(X, "rootLayout", H), ee = useVModel(X, "viewData", H), te = useVModel(X, "rowData", H), ne = ref$2(0), re = ref$2(null);
91748
91761
  re.value = createDesigner();
@@ -91827,7 +91840,7 @@ WindowDesigner.name = "slw-window-designer";
91827
91840
  WindowDesigner.install = (G) => {
91828
91841
  G.component(WindowDesigner.name, WindowDesigner);
91829
91842
  };
91830
- const windowIndex_vue_vue_type_style_index_0_scoped_f16a5f64_lang = "", _withScopeId$1 = (G) => (pushScopeId("data-v-f16a5f64"), G = G(), popScopeId(), G), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
91843
+ const windowIndex_vue_vue_type_style_index_0_scoped_bdfedaab_lang = "", _withScopeId$1 = (G) => (pushScopeId("data-v-bdfedaab"), G = G(), popScopeId(), G), _hoisted_1$kS = { class: "slw-config-window-container" }, _hoisted_2$kR = { class: "child-table-p" }, _sfc_main$2 = {
91831
91844
  __name: "window-index",
91832
91845
  props: {
91833
91846
  windowId: {
@@ -92657,7 +92670,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f16a5f64_lang = "", _withSco
92657
92670
  }, toggleModalLoading = () => {
92658
92671
  emit("togglePreViewLoading");
92659
92672
  }, preViewxModal = ref$2(), showPreViewClose = () => {
92660
- preViewShow.value = !1, preViewCloseFun.value && evalEvent(preViewCloseFun.value), exeEndEdit();
92673
+ preViewShow.value = !1, preViewWidth.value = null, preViewHeight.value = null, preViewCloseFun.value && evalEvent(preViewCloseFun.value), exeEndEdit();
92661
92674
  }, preViewCloseCallback = () => {
92662
92675
  emit("close");
92663
92676
  }, layout = ref$2(), preViewSubmit = () => {
@@ -93023,7 +93036,7 @@ const windowIndex_vue_vue_type_style_index_0_scoped_f16a5f64_lang = "", _withSco
93023
93036
  ]);
93024
93037
  };
93025
93038
  }
93026
- }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-f16a5f64"]]);
93039
+ }, WindowIndex = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-bdfedaab"]]);
93027
93040
  WindowIndex.name = "slw-window-index";
93028
93041
  WindowIndex.install = (G) => {
93029
93042
  G.component(WindowIndex.name, WindowIndex);
@@ -224356,7 +224369,7 @@ function reConsole() {
224356
224369
  }
224357
224370
  }
224358
224371
  console.info(
224359
- `%cSLW %cVer 1.0.0-beta.17.2%c
224372
+ `%cSLW %cVer 1.0.0-beta.17.3%c
224360
224373
  %c指引文档:%chttp://slwdoc.js.sforcecon.com:5900/%c
224361
224374
  %c启光文档:%chttp://docs.js.sforcecon.com:5900/notepad/view/592`,
224362
224375
  "color:#409EFF;font-size: 22px;font-weight:bolder;text-shadow: 2px 2px 4px #84c1ff;",
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as m } from "./index-7e0e0ff8.js";
1
+ import { i as m } from "./index-fcf1053c.js";
2
2
  import "vue";
3
3
  import "vue-router";
4
4
  export {