@selfeesas/shared-components 1.2.2 → 1.2.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.
@@ -892,6 +892,7 @@ export declare interface CustomTableProps {
892
892
  showSelectAll?: boolean;
893
893
  showColumnToggle?: boolean;
894
894
  columnStorageKey?: string;
895
+ onRowDblClick?: (row: any) => void;
895
896
  }
896
897
 
897
898
  export declare interface CustomTableServices {
@@ -10766,7 +10766,8 @@ const td = {
10766
10766
  selectable: { type: Function, default: () => !0 },
10767
10767
  showSelectAll: { type: Boolean, default: !0 },
10768
10768
  showColumnToggle: { type: Boolean, default: !1 },
10769
- columnStorageKey: { default: void 0 }
10769
+ columnStorageKey: { default: void 0 },
10770
+ onRowDblClick: {}
10770
10771
  },
10771
10772
  emits: ["update:pagination", "update:selected", "selection-change"],
10772
10773
  setup(l, { expose: I, emit: t }) {
@@ -10840,6 +10841,10 @@ const td = {
10840
10841
  return La(_(q), q, "cell", Y);
10841
10842
  }
10842
10843
  function y(q) {
10844
+ if (b.onRowDblClick) {
10845
+ b.onRowDblClick(q);
10846
+ return;
10847
+ }
10843
10848
  const Y = S(q);
10844
10849
  Y && !en(Y, q) && Y.handler(q);
10845
10850
  }
@@ -11224,7 +11229,7 @@ const td = {
11224
11229
  }, 8, ["pagination", "columns", "rows", "filter", "row-key", "rows-per-page-options", "loading", "hide-no-data"])
11225
11230
  ], 64));
11226
11231
  }
11227
- }), mh = /* @__PURE__ */ wr(gd, [["__scopeId", "data-v-fd6c2900"]]);
11232
+ }), mh = /* @__PURE__ */ wr(gd, [["__scopeId", "data-v-31ba3090"]]);
11228
11233
  var yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11229
11234
  function bd(l) {
11230
11235
  return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;