tsv2-library 1.0.61-alpha.115 → 1.0.61-alpha.116

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.
@@ -2,6 +2,8 @@ import { ClassComponent } from '../ts-helpers';
2
2
 
3
3
  export interface CustomColumnProps {
4
4
  tableId: string;
5
+ tableKey: string;
6
+ tableName: string;
5
7
  tableData: Data[] | undefined;
6
8
  defaultColumns: TableColumn[];
7
9
  visibleColumns: TableColumn[];
@@ -27270,13 +27270,13 @@ const _hoisted_1$29 = { class: "w-full flex items-center justify-between pr-4" }
27270
27270
  const _hoisted_2$1H = { class: "flex gap-3 items-center" };
27271
27271
  const _hoisted_3$K = /* @__PURE__ */ createElementVNode("span", { class: "text-sm font-bold" }, "Transfer Log", -1);
27272
27272
  const _hoisted_4$x = { class: "flex gap-1 items-center" };
27273
- const _hoisted_5$q = { class: "text-xs font-medium" };
27274
- const _hoisted_6$l = { class: "flex items-center gap-2" };
27275
- const _hoisted_7$h = {
27273
+ const _hoisted_5$p = { class: "text-xs font-medium" };
27274
+ const _hoisted_6$k = { class: "flex items-center gap-2" };
27275
+ const _hoisted_7$g = {
27276
27276
  key: 0,
27277
27277
  class: "flex flex-col gap-3 dark:text-general-100"
27278
27278
  };
27279
- const _hoisted_8$d = { class: "flex justify-between items-center" };
27279
+ const _hoisted_8$c = { class: "flex justify-between items-center" };
27280
27280
  const _hoisted_9$9 = { class: "flex items-center gap-1" };
27281
27281
  const _hoisted_10$9 = { class: "flex items-center gap-0.5" };
27282
27282
  const _hoisted_11$9 = /* @__PURE__ */ createElementVNode("span", null, "Origin:", -1);
@@ -27464,13 +27464,13 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
27464
27464
  createElementVNode("div", _hoisted_2$1H, [
27465
27465
  _hoisted_3$K,
27466
27466
  createElementVNode("div", _hoisted_4$x, [
27467
- createElementVNode("span", _hoisted_5$q, toDisplayString$1(((_a = detail.value) == null ? void 0 : _a.transactionId) ?? "-"), 1),
27467
+ createElementVNode("span", _hoisted_5$p, toDisplayString$1(((_a = detail.value) == null ? void 0 : _a.transactionId) ?? "-"), 1),
27468
27468
  createVNode(unref(_sfc_main$1o), {
27469
27469
  text: ((_b = detail.value) == null ? void 0 : _b.transactionId) ?? ""
27470
27470
  }, null, 8, ["text"])
27471
27471
  ])
27472
27472
  ]),
27473
- createElementVNode("div", _hoisted_6$l, [
27473
+ createElementVNode("div", _hoisted_6$k, [
27474
27474
  createVNode(unref(_sfc_main$1x), {
27475
27475
  disabled: isFirst.value,
27476
27476
  onClick: _cache[0] || (_cache[0] = ($event) => navigateData("prev")),
@@ -27492,13 +27492,13 @@ const _sfc_main$1F = /* @__PURE__ */ defineComponent({
27492
27492
  default: withCtx(() => {
27493
27493
  var _a, _b;
27494
27494
  return [
27495
- detail.value ? (openBlock(), createElementBlock("div", _hoisted_7$h, [
27495
+ detail.value ? (openBlock(), createElementBlock("div", _hoisted_7$g, [
27496
27496
  (openBlock(), createBlock(unref(_sfc_main$1C), {
27497
27497
  id: detail.value.asset,
27498
27498
  key: detail.value.asset,
27499
27499
  fields: ["brand", "model"]
27500
27500
  }, null, 8, ["id"])),
27501
- createElementVNode("div", _hoisted_8$d, [
27501
+ createElementVNode("div", _hoisted_8$c, [
27502
27502
  createElementVNode("div", _hoisted_9$9, [
27503
27503
  createElementVNode("div", _hoisted_10$9, [
27504
27504
  _hoisted_11$9,
@@ -27600,10 +27600,10 @@ const _hoisted_1$28 = { class: "w-full flex items-center justify-between" };
27600
27600
  const _hoisted_2$1G = /* @__PURE__ */ createElementVNode("h1", { class: "text-sm font-bold" }, "Damage Log", -1);
27601
27601
  const _hoisted_3$J = { class: "flex items-center gap-2" };
27602
27602
  const _hoisted_4$w = ["disabled"];
27603
- const _hoisted_5$p = ["disabled"];
27604
- const _hoisted_6$k = { class: "flex items-start gap-[18px]" };
27605
- const _hoisted_7$g = { class: "flex flex-col w-full" };
27606
- const _hoisted_8$c = { class: "w-full flex items-center justify-between" };
27603
+ const _hoisted_5$o = ["disabled"];
27604
+ const _hoisted_6$j = { class: "flex items-start gap-[18px]" };
27605
+ const _hoisted_7$f = { class: "flex flex-col w-full" };
27606
+ const _hoisted_8$b = { class: "w-full flex items-center justify-between" };
27607
27607
  const _hoisted_9$8 = { class: "text-sm font-bold" };
27608
27608
  const _hoisted_10$8 = { class: "flex items-center gap-[6px]" };
27609
27609
  const _hoisted_11$8 = /* @__PURE__ */ createElementVNode("div", { class: "w-[6px] h-[6px] bg-general-100 rounded" }, null, -1);
@@ -27790,20 +27790,20 @@ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
27790
27790
  disabled: currentIdIndex.value === ids.value.length - 1 || ids.value.length === 1,
27791
27791
  onClick: increaseIndex,
27792
27792
  "data-ts-section": "next-button"
27793
- }, " Next> ", 10, _hoisted_5$p)
27793
+ }, " Next> ", 10, _hoisted_5$o)
27794
27794
  ])
27795
27795
  ])
27796
27796
  ]),
27797
27797
  default: withCtx(() => {
27798
27798
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t2, _u, _v;
27799
27799
  return [
27800
- createElementVNode("div", _hoisted_6$k, [
27800
+ createElementVNode("div", _hoisted_6$j, [
27801
27801
  createVNode(unref(_sfc_main$_), {
27802
27802
  thumbnail: (_b = (_a = damageDetail.value) == null ? void 0 : _a.request) == null ? void 0 : _b.assetImageMedium,
27803
27803
  class: "w-[125px] h-[125px]"
27804
27804
  }, null, 8, ["thumbnail"]),
27805
- createElementVNode("div", _hoisted_7$g, [
27806
- createElementVNode("div", _hoisted_8$c, [
27805
+ createElementVNode("div", _hoisted_7$f, [
27806
+ createElementVNode("div", _hoisted_8$b, [
27807
27807
  createElementVNode("p", _hoisted_9$8, toDisplayString$1((_e = (_d = (_c = damageDetail.value) == null ? void 0 : _c.request) == null ? void 0 : _d.assetName) == null ? void 0 : _e.nameWithSequence), 1),
27808
27808
  createElementVNode("button", {
27809
27809
  onClick: navigateToDetail,
@@ -27919,10 +27919,10 @@ const _hoisted_1$27 = { class: "w-full flex items-center justify-between" };
27919
27919
  const _hoisted_2$1F = /* @__PURE__ */ createElementVNode("h1", { class: "text-sm font-bold" }, "Missing Log", -1);
27920
27920
  const _hoisted_3$I = { class: "flex items-center gap-2" };
27921
27921
  const _hoisted_4$v = ["disabled"];
27922
- const _hoisted_5$o = ["disabled"];
27923
- const _hoisted_6$j = { class: "flex items-start gap-[18px]" };
27924
- const _hoisted_7$f = { class: "flex flex-col w-full" };
27925
- const _hoisted_8$b = { class: "w-full flex items-center justify-between" };
27922
+ const _hoisted_5$n = ["disabled"];
27923
+ const _hoisted_6$i = { class: "flex items-start gap-[18px]" };
27924
+ const _hoisted_7$e = { class: "flex flex-col w-full" };
27925
+ const _hoisted_8$a = { class: "w-full flex items-center justify-between" };
27926
27926
  const _hoisted_9$7 = { class: "text-sm font-bold" };
27927
27927
  const _hoisted_10$7 = { class: "flex items-center gap-[6px]" };
27928
27928
  const _hoisted_11$7 = /* @__PURE__ */ createElementVNode("div", { class: "w-[6px] h-[6px] bg-general-100 rounded" }, null, -1);
@@ -28099,20 +28099,20 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
28099
28099
  disabled: currentIdIndex.value === ids.value.length - 1 || ids.value.length === 1,
28100
28100
  onClick: increaseIndex,
28101
28101
  "data-ts-section": "next-button"
28102
- }, " Next> ", 10, _hoisted_5$o)
28102
+ }, " Next> ", 10, _hoisted_5$n)
28103
28103
  ])
28104
28104
  ])
28105
28105
  ]),
28106
28106
  default: withCtx(() => {
28107
28107
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t2, _u, _v;
28108
28108
  return [
28109
- createElementVNode("div", _hoisted_6$j, [
28109
+ createElementVNode("div", _hoisted_6$i, [
28110
28110
  createVNode(unref(_sfc_main$_), {
28111
28111
  thumbnail: (_b = (_a = missingDetail.value) == null ? void 0 : _a.request) == null ? void 0 : _b.assetImageMedium,
28112
28112
  class: "w-[125px] h-[125px]"
28113
28113
  }, null, 8, ["thumbnail"]),
28114
- createElementVNode("div", _hoisted_7$f, [
28115
- createElementVNode("div", _hoisted_8$b, [
28114
+ createElementVNode("div", _hoisted_7$e, [
28115
+ createElementVNode("div", _hoisted_8$a, [
28116
28116
  createElementVNode("p", _hoisted_9$7, toDisplayString$1((_e = (_d = (_c = missingDetail.value) == null ? void 0 : _c.request) == null ? void 0 : _d.assetName) == null ? void 0 : _e.nameWithSequence), 1),
28117
28117
  createElementVNode("button", {
28118
28118
  onClick: navigateToDetail,
@@ -28182,10 +28182,10 @@ const _hoisted_1$26 = { class: "flex justify-between gap-[18px] dark:text-genera
28182
28182
  const _hoisted_2$1E = { class: "w-full flex flex-col gap-[6px]" };
28183
28183
  const _hoisted_3$H = { class: "" };
28184
28184
  const _hoisted_4$u = { class: "flex justify-between" };
28185
- const _hoisted_5$n = { class: "text-[16px] font-bold leading-[19.12px]" };
28186
- const _hoisted_6$i = ["href"];
28187
- const _hoisted_7$e = { class: "flex items-center gap-[6px]" };
28188
- const _hoisted_8$a = { class: "text-general-400 leading-[16.39px]" };
28185
+ const _hoisted_5$m = { class: "text-[16px] font-bold leading-[19.12px]" };
28186
+ const _hoisted_6$h = ["href"];
28187
+ const _hoisted_7$d = { class: "flex items-center gap-[6px]" };
28188
+ const _hoisted_8$9 = { class: "text-general-400 leading-[16.39px]" };
28189
28189
  const _hoisted_9$6 = /* @__PURE__ */ createElementVNode("div", { class: "w-[6px] h-[6px] rounded-full bg-general-100" }, null, -1);
28190
28190
  const _hoisted_10$6 = { class: "flex flex-col gap-1" };
28191
28191
  const _hoisted_11$6 = {
@@ -28342,16 +28342,16 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
28342
28342
  createElementVNode("div", _hoisted_2$1E, [
28343
28343
  createElementVNode("div", _hoisted_3$H, [
28344
28344
  createElementVNode("div", _hoisted_4$u, [
28345
- createElementVNode("div", _hoisted_5$n, toDisplayString$1(nameWithSequence.value), 1),
28345
+ createElementVNode("div", _hoisted_5$m, toDisplayString$1(nameWithSequence.value), 1),
28346
28346
  unref(hasAccessToAssetDetail)() ? (openBlock(), createElementBlock("a", {
28347
28347
  key: 0,
28348
28348
  href: `/assets/detail/${((_a = asset.value) == null ? void 0 : _a.asset) ?? ((_b = asset.value) == null ? void 0 : _b._id)}`,
28349
28349
  class: "text-primary-500",
28350
28350
  target: "_blank"
28351
- }, " Asset Detail > ", 8, _hoisted_6$i)) : createCommentVNode("", true)
28351
+ }, " Asset Detail > ", 8, _hoisted_6$h)) : createCommentVNode("", true)
28352
28352
  ]),
28353
- createElementVNode("div", _hoisted_7$e, [
28354
- createElementVNode("span", _hoisted_8$a, toDisplayString$1(assetId.value) + " " + toDisplayString$1(aliasCode.value), 1),
28353
+ createElementVNode("div", _hoisted_7$d, [
28354
+ createElementVNode("span", _hoisted_8$9, toDisplayString$1(assetId.value) + " " + toDisplayString$1(aliasCode.value), 1),
28355
28355
  _hoisted_9$6,
28356
28356
  createVNode(unref(TSTagType), {
28357
28357
  qr: (_c = assetTagType.value) == null ? void 0 : _c.includes("QR"),
@@ -35375,9 +35375,9 @@ var _hoisted_1$1I = ["id"];
35375
35375
  var _hoisted_2$1i = ["id", "value", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
35376
35376
  var _hoisted_3$A = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-disabled"];
35377
35377
  var _hoisted_4$q = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
35378
- var _hoisted_5$m = ["id", "aria-label"];
35379
- var _hoisted_6$h = ["id"];
35380
- var _hoisted_7$d = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
35378
+ var _hoisted_5$l = ["id", "aria-label"];
35379
+ var _hoisted_6$g = ["id"];
35380
+ var _hoisted_7$c = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-highlight", "data-p-focused", "data-p-disabled"];
35381
35381
  function render$R(_ctx, _cache, $props, $setup, $data, $options) {
35382
35382
  var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
35383
35383
  var _component_CheckIcon = resolveComponent("CheckIcon");
@@ -35615,7 +35615,7 @@ function render$R(_ctx, _cache, $props, $setup, $data, $options) {
35615
35615
  return [createElementVNode("span", mergeProps({
35616
35616
  "class": _ctx.cx("itemGroupLabel")
35617
35617
  }, _ctx.ptm("itemGroupLabel")), toDisplayString$1($options.getOptionGroupLabel(option.optionGroup)), 17)];
35618
- })], 16, _hoisted_6$h)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
35618
+ })], 16, _hoisted_6$g)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
35619
35619
  key: 1,
35620
35620
  id: $data.id + "_" + $options.getOptionIndex(i, getItemOptions),
35621
35621
  "class": _ctx.cx("item", {
@@ -35655,7 +35655,7 @@ function render$R(_ctx, _cache, $props, $setup, $data, $options) {
35655
35655
  return [createElementVNode("span", mergeProps({
35656
35656
  "class": _ctx.cx("itemLabel")
35657
35657
  }, _ctx.ptm("itemLabel")), toDisplayString$1($options.getOptionLabel(option)), 17)];
35658
- })], 16, _hoisted_7$d)), [[_directive_ripple]])], 64);
35658
+ })], 16, _hoisted_7$c)), [[_directive_ripple]])], 64);
35659
35659
  }), 128)), $data.filterValue && (!items2 || items2 && items2.length === 0) ? (openBlock(), createElementBlock("li", mergeProps({
35660
35660
  key: 0,
35661
35661
  "class": _ctx.cx("emptyMessage"),
@@ -35672,7 +35672,7 @@ function render$R(_ctx, _cache, $props, $setup, $data, $options) {
35672
35672
  "data-p-hidden-accessible": true
35673
35673
  }), [renderSlot(_ctx.$slots, "empty", {}, function() {
35674
35674
  return [createTextVNode(toDisplayString$1($options.emptyMessageText), 1)];
35675
- })], 16)) : createCommentVNode("", true)], 16, _hoisted_5$m)];
35675
+ })], 16)) : createCommentVNode("", true)], 16, _hoisted_5$l)];
35676
35676
  }),
35677
35677
  _: 2
35678
35678
  }, [_ctx.$slots.loader ? {
@@ -36169,7 +36169,7 @@ const _hoisted_3$z = {
36169
36169
  "data-ts-section": "title"
36170
36170
  };
36171
36171
  const _hoisted_4$p = { "data-ts-section": "message" };
36172
- const _hoisted_5$l = {
36172
+ const _hoisted_5$k = {
36173
36173
  key: 0,
36174
36174
  class: "flex flex-col gap-3 overflow-auto max-h-[71px]",
36175
36175
  "data-ts-section": "list"
@@ -36247,7 +36247,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
36247
36247
  }, null, 8, ["severity"])) : createCommentVNode("", true)
36248
36248
  ])
36249
36249
  ]),
36250
- props.lists ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
36250
+ props.lists ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
36251
36251
  (openBlock(true), createElementBlock(Fragment, null, renderList(props.lists, (item3, index2) => {
36252
36252
  return openBlock(), createElementBlock("div", {
36253
36253
  key: index2,
@@ -43519,7 +43519,7 @@ var _hoisted_4$n = /* @__PURE__ */ createElementVNode("path", {
43519
43519
  d: "M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z",
43520
43520
  fill: "currentColor"
43521
43521
  }, null, -1);
43522
- var _hoisted_5$k = [_hoisted_1$19, _hoisted_2$R, _hoisted_3$v, _hoisted_4$n];
43522
+ var _hoisted_5$j = [_hoisted_1$19, _hoisted_2$R, _hoisted_3$v, _hoisted_4$n];
43523
43523
  function render$q(_ctx, _cache, $props, $setup, $data, $options) {
43524
43524
  return openBlock(), createElementBlock("svg", mergeProps({
43525
43525
  width: "14",
@@ -43527,7 +43527,7 @@ function render$q(_ctx, _cache, $props, $setup, $data, $options) {
43527
43527
  viewBox: "0 0 14 14",
43528
43528
  fill: "none",
43529
43529
  xmlns: "http://www.w3.org/2000/svg"
43530
- }, _ctx.pti()), _hoisted_5$k, 16);
43530
+ }, _ctx.pti()), _hoisted_5$j, 16);
43531
43531
  }
43532
43532
  script$s.render = render$q;
43533
43533
  var script$r = {
@@ -45363,8 +45363,8 @@ var _hoisted_1$3$1 = ["colspan"];
45363
45363
  var _hoisted_2$1$1 = ["tabindex", "aria-selected", "data-p-index", "data-p-selectable-row", "data-p-highlight", "data-p-highlight-contextmenu"];
45364
45364
  var _hoisted_3$1$1 = ["id"];
45365
45365
  var _hoisted_4$m = ["colspan"];
45366
- var _hoisted_5$j = ["colspan"];
45367
- var _hoisted_6$g = ["colspan"];
45366
+ var _hoisted_5$i = ["colspan"];
45367
+ var _hoisted_6$f = ["colspan"];
45368
45368
  function render$8$1(_ctx, _cache, $props, $setup, $data, $options) {
45369
45369
  var _component_ChevronDownIcon = resolveComponent("ChevronDownIcon");
45370
45370
  var _component_ChevronRightIcon = resolveComponent("ChevronRightIcon");
@@ -45502,7 +45502,7 @@ function render$8$1(_ctx, _cache, $props, $setup, $data, $options) {
45502
45502
  }, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT("bodycell")), _ctx.ptm("rowGroupFooterCell"))), [(openBlock(), createBlock(resolveDynamicComponent($props.templates["groupfooter"]), {
45503
45503
  data: $props.rowData,
45504
45504
  index: $options.rowIndex
45505
- }, null, 8, ["data", "index"]))], 16, _hoisted_5$j)], 16)) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock("tr", mergeProps({
45505
+ }, null, 8, ["data", "index"]))], 16, _hoisted_5$i)], 16)) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock("tr", mergeProps({
45506
45506
  key: 1,
45507
45507
  "class": _ctx.cx("emptyMessage"),
45508
45508
  role: "row"
@@ -45510,7 +45510,7 @@ function render$8$1(_ctx, _cache, $props, $setup, $data, $options) {
45510
45510
  colspan: $options.columnsLength
45511
45511
  }, _objectSpread$8(_objectSpread$8({}, $options.getColumnPT("bodycell")), _ctx.ptm("emptyMessageCell"))), [$props.templates.empty ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.empty), {
45512
45512
  key: 0
45513
- })) : createCommentVNode("", true)], 16, _hoisted_6$g)], 16));
45513
+ })) : createCommentVNode("", true)], 16, _hoisted_6$f)], 16));
45514
45514
  }
45515
45515
  script$8$1.render = render$8$1;
45516
45516
  var script$7$1 = {
@@ -51808,18 +51808,10 @@ const _hoisted_3$t = {
51808
51808
  "data-ts-section": "tablepreview"
51809
51809
  };
51810
51810
  const _hoisted_4$l = /* @__PURE__ */ createElementVNode("h3", { class: "text-xs font-semibold leading-4 tracking-tight" }, "Preview", -1);
51811
- const _hoisted_5$i = { class: "table-wrapper overflow-auto w-full" };
51812
- const _hoisted_6$f = { class: "min-w-max w-full" };
51813
- const _hoisted_7$c = { class: "border-b border-general-100" };
51814
- const _hoisted_8$9 = {
51815
- key: 0,
51816
- class: "border-b border-general-100"
51817
- };
51818
51811
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
51819
51812
  __name: "DialogColumnSetup",
51820
51813
  props: /* @__PURE__ */ mergeModels({
51821
- customColumnProps: {},
51822
- data: {}
51814
+ customColumnProps: {}
51823
51815
  }, {
51824
51816
  "visible": { type: Boolean, ...{ required: true } },
51825
51817
  "visibleModifiers": {}
@@ -51839,14 +51831,16 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
51839
51831
  visibleColumns: void 0
51840
51832
  })
51841
51833
  );
51834
+ const data30 = computed(() => {
51835
+ const { tableData } = props.customColumnProps;
51836
+ if (tableData && tableData.length > 0) {
51837
+ return [tableData[0]];
51838
+ }
51839
+ return [];
51840
+ });
51842
51841
  const setCustomColumn = () => {
51843
51842
  visibleColumns.value = props.customColumnProps.visibleColumns;
51844
51843
  };
51845
- const getNestedPropertyValue = (path) => {
51846
- var _a;
51847
- const firstRow = (_a = props.data) == null ? void 0 : _a[0];
51848
- return path.split(".").reduce((o, p2) => o ? o[p2] : void 0, firstRow);
51849
- };
51850
51844
  const saveColumns = () => {
51851
51845
  emit("save", visibleColumns.value);
51852
51846
  visible4.value = false;
@@ -51893,30 +51887,16 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
51893
51887
  }), null, 16, ["visible-columns"]),
51894
51888
  createElementVNode("div", _hoisted_3$t, [
51895
51889
  _hoisted_4$l,
51896
- createElementVNode("div", _hoisted_5$i, [
51897
- createElementVNode("table", _hoisted_6$f, [
51898
- createElementVNode("thead", null, [
51899
- createElementVNode("tr", _hoisted_7$c, [
51900
- (openBlock(true), createElementBlock(Fragment, null, renderList(visibleColumns.value, (column) => {
51901
- return openBlock(), createElementBlock("th", {
51902
- key: column.field,
51903
- class: "text-body-small font-bold bg-primary-200 p-2 text-left"
51904
- }, toDisplayString$1(column.header), 1);
51905
- }), 128))
51906
- ])
51907
- ]),
51908
- createElementVNode("tbody", null, [
51909
- _ctx.data ? (openBlock(), createElementBlock("tr", _hoisted_8$9, [
51910
- (openBlock(true), createElementBlock(Fragment, null, renderList(visibleColumns.value, (column) => {
51911
- return openBlock(), createElementBlock("td", {
51912
- key: column.field,
51913
- class: "text-body-small px-2 py-1.5"
51914
- }, toDisplayString$1(getNestedPropertyValue(column.field)), 1);
51915
- }), 128))
51916
- ])) : createCommentVNode("", true)
51917
- ])
51918
- ])
51919
- ])
51890
+ data30.value ? (openBlock(), createBlock(_sfc_main$12, {
51891
+ key: 0,
51892
+ columns: visibleColumns.value,
51893
+ "custom-column": false,
51894
+ data: data30.value,
51895
+ "data-key": _ctx.customColumnProps.tableKey,
51896
+ "table-name": `${_ctx.customColumnProps.tableName}-setup`,
51897
+ "use-option": false,
51898
+ "selection-type": "none"
51899
+ }, null, 8, ["columns", "data", "data-key", "table-name"])) : createCommentVNode("", true)
51920
51900
  ])
51921
51901
  ])
51922
51902
  ]),
@@ -51930,6 +51910,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
51930
51910
  __name: "CustomColumn",
51931
51911
  props: {
51932
51912
  tableId: {},
51913
+ tableKey: {},
51914
+ tableName: {},
51933
51915
  tableData: {},
51934
51916
  defaultColumns: {},
51935
51917
  visibleColumns: {},
@@ -53203,8 +53185,10 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
53203
53185
  "onUpdate:visibleColumns": _cache[6] || (_cache[6] = ($event) => visibleColumns.value = $event),
53204
53186
  "default-columns": _ctx.columns.filter((col) => col.visible !== false),
53205
53187
  "table-data": props.data ?? currentPageTableData.value,
53206
- "table-id": dataTableID.value
53207
- }, null, 8, ["visible-columns", "default-columns", "table-data", "table-id"])) : createCommentVNode("", true),
53188
+ "table-id": dataTableID.value,
53189
+ "table-key": props.dataKey,
53190
+ "table-name": props.tableName
53191
+ }, null, 8, ["visible-columns", "default-columns", "table-data", "table-id", "table-key", "table-name"])) : createCommentVNode("", true),
53208
53192
  createVNode(_sfc_main$1p, { group: "download" })
53209
53193
  ], 64);
53210
53194
  };