@voicenter-team/voicenter-ui-plus 0.2.52 → 0.2.53

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/library/super.mjs CHANGED
@@ -37271,7 +37271,7 @@ const Kae = { class: "vc-file-excel-import" }, Gae = { class: "vc-file-excel-imp
37271
37271
  icon: "vc-icon-settings"
37272
37272
  }, i = de(), s = de(), o = de(!1), l = de(!1), u = de(0), c = de(0), d = de(!1), f = de(!1), m = de(!1), p = de(0), h = de(""), v = de(""), g = de([]), w = de([]), y = de([
37273
37273
  ...n.bindingsData
37274
- ]), C = de(), E = de(), _ = de([]), x = de({
37274
+ ]), C = de([]), E = de([]), _ = de([]), x = de({
37275
37275
  total: 0,
37276
37276
  done: 0
37277
37277
  }), T = re(() => {
@@ -37345,16 +37345,16 @@ const Kae = { class: "vc-file-excel-import" }, Gae = { class: "vc-file-excel-imp
37345
37345
  });
37346
37346
  }, j = () => i.value ? i.value.getBindData() : [], se = async (me) => {
37347
37347
  var be;
37348
- n.errorTableDeleteConfirm && !await n.errorTableDeleteConfirm() || (me.forEach((Ve) => {
37348
+ n.errorTableDeleteConfirm && !await n.errorTableDeleteConfirm(me.length) || (me.forEach((Ve) => {
37349
37349
  var je;
37350
37350
  const Ye = j().findIndex((nt) => nt.ID === Ve.ID);
37351
37351
  (je = i.value) == null || je.deleteRow(Ye);
37352
- }), E.value = j(), C.value = (be = i.value) == null ? void 0 : be.getErrors());
37352
+ }), E.value = j(), C.value = ((be = i.value) == null ? void 0 : be.getErrors()) || []);
37353
37353
  }, ie = ({ row: me, id: be }) => {
37354
37354
  var Ve, Ye;
37355
37355
  try {
37356
37356
  const je = j().findIndex((nt) => nt.ID === be);
37357
- (Ve = i.value) == null || Ve.updateRow(je, me, _.value), E.value = j(), C.value = (Ye = i.value) == null ? void 0 : Ye.getErrors();
37357
+ (Ve = i.value) == null || Ve.updateRow(je, me, _.value), E.value = j(), C.value = ((Ye = i.value) == null ? void 0 : Ye.getErrors()) || [];
37358
37358
  } catch (je) {
37359
37359
  console.error(je);
37360
37360
  }
@@ -37373,7 +37373,7 @@ const Kae = { class: "vc-file-excel-import" }, Gae = { class: "vc-file-excel-imp
37373
37373
  break;
37374
37374
  }
37375
37375
  if (be && me === T.value.length - 1) {
37376
- const Ye = n.startUploadingConfirm ? await n.startUploadingConfirm() : !0;
37376
+ const Ye = n.startUploadingConfirm ? await n.startUploadingConfirm(E.value.length) : !0;
37377
37377
  return Ye && le(), Ye;
37378
37378
  }
37379
37379
  return be;
@@ -37433,7 +37433,12 @@ const Kae = { class: "vc-file-excel-import" }, Gae = { class: "vc-file-excel-imp
37433
37433
  addAnotherFile: () => {
37434
37434
  var me;
37435
37435
  ee(), (me = s.value) == null || me.resetWizardData();
37436
- }
37436
+ },
37437
+ getBindingDataCount: () => {
37438
+ var me;
37439
+ return ((me = E.value) == null ? void 0 : me.length) || 0;
37440
+ },
37441
+ getBindingData: () => E.value || []
37437
37442
  }), (me, be) => {
37438
37443
  const Ve = Ce("VcButton"), Ye = Ce("VcModal");
37439
37444
  return k(), N("div", Kae, [