@morghulis/core 1.0.67 → 1.0.68

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.
@@ -12831,7 +12831,8 @@ const Or = /* @__PURE__ */ I({
12831
12831
  edit: () => l.selection.length ? _(!1) : Z.warning("请选择数据"),
12832
12832
  remove: () => l.selection.length ? g() : Z.warning("请选择数据"),
12833
12833
  clone: () => l.selection.length ? d() : Z.warning("请选择数据"),
12834
- paste: () => l.selection.length ? E() : Z.warning("请选择数据")
12834
+ paste: () => l.selection.length ? E() : Z.warning("请选择数据"),
12835
+ upload: () => console.log("upload")
12835
12836
  } }), (D, C) => {
12836
12837
  const V = w("el-text"), P = w("el-tag"), $ = w("el-space");
12837
12838
  return b(), z(H, null, [
@@ -15302,7 +15303,10 @@ const G_ = /* @__PURE__ */ I({
15302
15303
  tooltipFormatter: E,
15303
15304
  tableCellClassName: T,
15304
15305
  tableRowClassName: D
15305
- } = D_(l, s), C = O(() => a.value?.controller), V = O(() => {
15306
+ } = D_(l, s), C = O(() => ({
15307
+ ...a.value?.controller,
15308
+ upload: () => p.value?.open()
15309
+ })), V = O(() => {
15306
15310
  const { parse: F } = Ae(l.view);
15307
15311
  return F(l.results);
15308
15312
  });
@@ -15352,21 +15356,21 @@ const G_ = /* @__PURE__ */ I({
15352
15356
  }, F.$props, {
15353
15357
  selection: v(g),
15354
15358
  collector: v(d),
15355
- onUpload: U[0] || (U[0] = (J) => p.value?.open())
15356
- }), null, 16, ["selection", "collector"]),
15359
+ onUpload: C.value?.upload
15360
+ }), null, 16, ["selection", "collector", "onUpload"]),
15357
15361
  e.total ? (b(), k(v(ig), {
15358
15362
  key: 0,
15359
15363
  size: e.search.size,
15360
- "onUpdate:size": U[1] || (U[1] = (J) => e.search.size = J),
15364
+ "onUpdate:size": U[0] || (U[0] = (J) => e.search.size = J),
15361
15365
  total: e.total
15362
15366
  }, null, 8, ["size", "total"])) : K("", !0)
15363
15367
  ]),
15364
15368
  footer: f(({ width: q }) => [
15365
15369
  m(v(eg), {
15366
15370
  size: e.search.size,
15367
- "onUpdate:size": U[2] || (U[2] = (J) => e.search.size = J),
15371
+ "onUpdate:size": U[1] || (U[1] = (J) => e.search.size = J),
15368
15372
  page: e.search.page,
15369
- "onUpdate:page": U[3] || (U[3] = (J) => e.search.page = J),
15373
+ "onUpdate:page": U[2] || (U[2] = (J) => e.search.page = J),
15370
15374
  total: e.total,
15371
15375
  width: q
15372
15376
  }, null, 8, ["size", "page", "total", "width"])
@@ -15423,15 +15427,15 @@ const G_ = /* @__PURE__ */ I({
15423
15427
  frame: V.value,
15424
15428
  collector: v(d),
15425
15429
  collection: v(_),
15426
- onMeta: U[4] || (U[4] = (q) => o("meta", q))
15430
+ onMeta: U[3] || (U[3] = (q) => o("meta", q))
15427
15431
  }), null, 16, ["frame", "collector", "collection"]),
15428
15432
  m(gg, ke(F.$props, {
15429
15433
  collector: v(d),
15430
15434
  frame: V.value,
15431
15435
  collection: v(_),
15432
- onField: U[5] || (U[5] = (q) => o("field", e.view.$fields[q.prop])),
15433
- onLookup: U[6] || (U[6] = (q, J) => c.value?.open(q, J)),
15434
- onCell: U[7] || (U[7] = (q, J) => i.value?.open(q, J))
15436
+ onField: U[4] || (U[4] = (q) => o("field", e.view.$fields[q.prop])),
15437
+ onLookup: U[5] || (U[5] = (q, J) => c.value?.open(q, J)),
15438
+ onCell: U[6] || (U[6] = (q, J) => i.value?.open(q, J))
15435
15439
  }), null, 16, ["collector", "frame", "collection"]),
15436
15440
  e.columns && e.columns.length ? (b(), k(cg, {
15437
15441
  key: 0,
@@ -15476,7 +15480,7 @@ const G_ = /* @__PURE__ */ I({
15476
15480
  ref_key: "upload",
15477
15481
  ref: p
15478
15482
  }, F.$props, {
15479
- onConfirm: U[8] || (U[8] = (q) => e.rest.save_many(q))
15483
+ onConfirm: U[7] || (U[7] = (q) => e.rest.save_many(q))
15480
15484
  }), null, 16)
15481
15485
  ], 64);
15482
15486
  };