monobill-mintui 0.6.714 → 0.6.716

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.
@@ -112,6 +112,10 @@ interface TableConfiguration {
112
112
  * Defaults to false (value-only metadata lines).
113
113
  */
114
114
  mobileShowLabels?: boolean;
115
+ /** Custom mobile card content. Receives the action menu markup for this row. */
116
+ mobileRowFormat?: (table: MintResourceTable, row: any, index: number, actionsHtml: string) => string;
117
+ /** Place search before mobile sort and action buttons. */
118
+ mobileSearchFirst?: boolean;
115
119
  }
116
120
  declare class MintResourceTable extends HTMLElement {
117
121
  static get observedAttributes(): string[];
@@ -161,6 +165,9 @@ declare class MintResourceTable extends HTMLElement {
161
165
  private _boundMobileListMqlListener;
162
166
  private _boundMobileListViewportListener;
163
167
  private _initialMobileLayoutRaf;
168
+ private _initialMobileLayoutTimer;
169
+ private _mobileLayoutResizeObserver;
170
+ private _lastMobileViewportObservedWidth;
164
171
  private _lastRenderedMobileLayout;
165
172
  private _virtualFetchGeneration;
166
173
  private _virtualAjaxPrefetchTimer;
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceTable.d.ts","sourceRoot":"","sources":["../../../src/components/resource-table/ResourceTable.ts"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAA;AACvB,OAAO,gBAAgB,CAAA;AACvB,OAAO,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,CAAA;AACxB,OAAO,kBAAkB,CAAA;AACzB,OAAO,eAAe,CAAA;AACtB,OAAO,2BAA2B,CAAA;AAClC,OAAO,0BAA0B,CAAA;AACjC,OAAO,2BAA2B,CAAA;AAClC,OAAO,wBAAwB,CAAA;AAC/B,OAAO,0BAA0B,CAAA;AACjC,OAAO,sBAAsB,CAAA;AAC7B,OAAO,kBAAkB,CAAA;AAEzB,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAA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AAO,CAAC,gBAAgB;IAIxB,mEAAmE;IACnE,OAAO,CAAC,kBAAkB;IAM1B,oEAAoE;IACpE,OAAO,CAAC,kBAAkB;IAgB1B;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAmBxB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;CAWzB;AAMD,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"ResourceTable.d.ts","sourceRoot":"","sources":["../../../src/components/resource-table/ResourceTable.ts"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAA;AACvB,OAAO,gBAAgB,CAAA;AACvB,OAAO,iBAAiB,CAAA;AACxB,OAAO,iBAAiB,CAAA;AACxB,OAAO,kBAAkB,CAAA;AACzB,OAAO,eAAe,CAAA;AACtB,OAAO,2BAA2B,CAAA;AAClC,OAAO,0BAA0B,CAAA;AACjC,OAAO,2BAA2B,CAAA;AAClC,OAAO,wBAAwB,CAAA;AAC/B,OAAO,0BAA0B,CAAA;AACjC,OAAO,sBAAsB,CAAA;AAC7B,OAAO,kBAAkB,CAAA;AAEzB,UAAU,YAAY;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,MAAM,CAAC,EAAE,YAAY,CAAA;IACrB,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;IACpC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,GAAG,KAAK,MAAM,CAAA;IACvD,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,EAAE,GAAG,EAAE,GAAG,KAAK,OAAO,CAAA;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,KAAK,CAAC,EAAE,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xB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;CAWzB;AAMD,eAAe,iBAAiB,CAAA"}
@@ -155,6 +155,7 @@ var n = {
155
155
  "pl-0": "rtu-d569803f7",
156
156
  "pointer-events-none": "rtu-a4326536b",
157
157
  "pr-4": "rtu-ba64a7c03",
158
+ "pt-1.5": "rtu-6874bf95d",
158
159
  "pt-3": "rtu-ce335a8e4",
159
160
  "px-1": "rtu-d8e0e382c",
160
161
  "px-2": "rtu-d5eab218a",
@@ -170,6 +171,7 @@ var n = {
170
171
  "rounded-md": "rtu-421ac2be5",
171
172
  "rounded-t-none": "rtu-79ee0e356",
172
173
  "shrink-0": "rtu-012fbd121",
174
+ "space-y-2": "rtu-6f7e013d6",
173
175
  sticky: "rtu-3e0fd166d",
174
176
  table: "rtu-c3ee137d4",
175
177
  "table-fixed": "rtu-604d60250",
@@ -212,7 +214,7 @@ var n = {
212
214
  return e !== null && e !== "false";
213
215
  }
214
216
  constructor() {
215
- super(), this._configuration = null, this._rows = [], this._search = "", this._currentPage = 1, this._perPage = 15, this._totalRows = 0, this._lastPage = 0, this._offset = 0, this._loaded = !1, this._fetching = !1, this._loading = !1, this._loadingPage = null, this._fetchError = null, this._searching = !1, this._sorting = !1, this._sortingColumnData = null, this._type = "provided", this._searchTimeoutId = null, this._sortTimeoutId = null, this._searchColumns = [], this._exportColumns = {}, this._columns = [], this._tableId = "", this._searchInput = null, this._tableContainer = null, this._paginationContainer = null, this._skeletonContainer = null, this._inMintCard = !1, this._virtualBodyScrollEl = null, this._disposeVirtualBodyFade = null, this._virtualScrollHandler = null, this._virtualWindowRaf = null, this._virtualLastRangeStart = -1, this._virtualLastRangeEnd = -1, this._virtualLastRangeCacheSig = "", this._virtualResizeObserver = null, this._virtualWindowResizeHandler = null, this._virtualRowCache = /* @__PURE__ */ new Map(), this._virtualRangeFetching = !1, this._mobileListMql = null, this._boundMobileListMqlListener = null, this._boundMobileListViewportListener = null, this._initialMobileLayoutRaf = null, this._lastRenderedMobileLayout = null, this._virtualFetchGeneration = 0, this._virtualAjaxPrefetchTimer = null, this._fixedChromeResizeObserver = null, this._utilityClassObserver = null;
217
+ super(), this._configuration = null, this._rows = [], this._search = "", this._currentPage = 1, this._perPage = 15, this._totalRows = 0, this._lastPage = 0, this._offset = 0, this._loaded = !1, this._fetching = !1, this._loading = !1, this._loadingPage = null, this._fetchError = null, this._searching = !1, this._sorting = !1, this._sortingColumnData = null, this._type = "provided", this._searchTimeoutId = null, this._sortTimeoutId = null, this._searchColumns = [], this._exportColumns = {}, this._columns = [], this._tableId = "", this._searchInput = null, this._tableContainer = null, this._paginationContainer = null, this._skeletonContainer = null, this._inMintCard = !1, this._virtualBodyScrollEl = null, this._disposeVirtualBodyFade = null, this._virtualScrollHandler = null, this._virtualWindowRaf = null, this._virtualLastRangeStart = -1, this._virtualLastRangeEnd = -1, this._virtualLastRangeCacheSig = "", this._virtualResizeObserver = null, this._virtualWindowResizeHandler = null, this._virtualRowCache = /* @__PURE__ */ new Map(), this._virtualRangeFetching = !1, this._mobileListMql = null, this._boundMobileListMqlListener = null, this._boundMobileListViewportListener = null, this._initialMobileLayoutRaf = null, this._initialMobileLayoutTimer = null, this._mobileLayoutResizeObserver = null, this._lastMobileViewportObservedWidth = null, this._lastRenderedMobileLayout = null, this._virtualFetchGeneration = 0, this._virtualAjaxPrefetchTimer = null, this._fixedChromeResizeObserver = null, this._utilityClassObserver = null;
216
218
  }
217
219
  get inMintCard() {
218
220
  return this._inMintCard;
@@ -232,7 +234,7 @@ var n = {
232
234
  }), this._inMintCard = this.closest("mint-card") !== null, this._configuration || this._parseConfiguration(), this._initializeColumns(), this._loadPageFromUrl(), this._attachRowClickHandler(), this.render();
233
235
  }
234
236
  disconnectedCallback() {
235
- this._searchTimeoutId && clearTimeout(this._searchTimeoutId), this._detachVirtualScroll(), this._detachFixedChromeResize(), this._detachMobileListMql(), this._initialMobileLayoutRaf !== null && (window.cancelAnimationFrame(this._initialMobileLayoutRaf), this._initialMobileLayoutRaf = null), this._utilityClassObserver?.disconnect(), this._utilityClassObserver = null, this._rowClickHandler &&= (this.removeEventListener("click", this._rowClickHandler, !0), null), this._scrollHandler &&= (window.removeEventListener("scroll", this._scrollHandler), null);
237
+ this._searchTimeoutId && clearTimeout(this._searchTimeoutId), this._detachVirtualScroll(), this._detachFixedChromeResize(), this._detachMobileListMql(), this._initialMobileLayoutRaf !== null && (window.cancelAnimationFrame(this._initialMobileLayoutRaf), this._initialMobileLayoutRaf = null), this._initialMobileLayoutTimer !== null && (window.clearTimeout(this._initialMobileLayoutTimer), this._initialMobileLayoutTimer = null), this._utilityClassObserver?.disconnect(), this._utilityClassObserver = null, this._rowClickHandler &&= (this.removeEventListener("click", this._rowClickHandler, !0), null), this._scrollHandler &&= (window.removeEventListener("scroll", this._scrollHandler), null);
236
238
  }
237
239
  attributeChangedCallback(e, t, n) {
238
240
  e === "configuration" && t !== n ? (!this._configuration || typeof n == "string") && (this._parseConfiguration(), this.render()) : t !== n && (e === "loading" || e === "virtual-scroll" || e === "virtual-scroll-root" || e === "virtual-row-height" || e === "virtual-max-height" || e === "fixed-header" || e === "fixed-controls") && this._configuration && this.isConnected && this.render();
@@ -476,17 +478,27 @@ var n = {
476
478
  }, this._mobileListMql.addEventListener("change", this._boundMobileListMqlListener)), this._boundMobileListViewportListener || (this._boundMobileListViewportListener = () => {
477
479
  let e = this._lastRenderedMobileLayout;
478
480
  e !== null && this._configuration && this.isConnected && this._scheduleInitialMobileLayoutSync(e);
479
- }, window.addEventListener("resize", this._boundMobileListViewportListener, { passive: !0 }), window.addEventListener("orientationchange", this._boundMobileListViewportListener, { passive: !0 }), window.visualViewport?.addEventListener("resize", this._boundMobileListViewportListener, { passive: !0 })));
481
+ }, window.addEventListener("resize", this._boundMobileListViewportListener, { passive: !0 }), window.addEventListener("orientationchange", this._boundMobileListViewportListener, { passive: !0 }), window.visualViewport?.addEventListener("resize", this._boundMobileListViewportListener, { passive: !0 })), !this._mobileLayoutResizeObserver && typeof ResizeObserver < "u" && document.documentElement && (this._mobileLayoutResizeObserver = new ResizeObserver((e) => {
482
+ let t = e[0]?.contentRect.width;
483
+ if (t === void 0 || t === this._lastMobileViewportObservedWidth) return;
484
+ this._lastMobileViewportObservedWidth = t;
485
+ let n = this._lastRenderedMobileLayout;
486
+ n !== null && this._configuration && this.isConnected && this._scheduleInitialMobileLayoutSync(n);
487
+ }), this._mobileLayoutResizeObserver.observe(document.documentElement)));
480
488
  }
481
489
  _detachMobileListMql() {
482
- this._mobileListMql && this._boundMobileListMqlListener && this._mobileListMql.removeEventListener("change", this._boundMobileListMqlListener), this._mobileListMql = null, this._boundMobileListMqlListener = null, this._boundMobileListViewportListener && typeof window < "u" && (window.removeEventListener("resize", this._boundMobileListViewportListener), window.removeEventListener("orientationchange", this._boundMobileListViewportListener), window.visualViewport?.removeEventListener("resize", this._boundMobileListViewportListener)), this._boundMobileListViewportListener = null;
490
+ this._mobileListMql && this._boundMobileListMqlListener && this._mobileListMql.removeEventListener("change", this._boundMobileListMqlListener), this._mobileListMql = null, this._boundMobileListMqlListener = null, this._mobileLayoutResizeObserver?.disconnect(), this._mobileLayoutResizeObserver = null, this._lastMobileViewportObservedWidth = null, this._boundMobileListViewportListener && typeof window < "u" && (window.removeEventListener("resize", this._boundMobileListViewportListener), window.removeEventListener("orientationchange", this._boundMobileListViewportListener), window.visualViewport?.removeEventListener("resize", this._boundMobileListViewportListener)), this._boundMobileListViewportListener = null;
483
491
  }
484
492
  _useMobileListLayout() {
485
- return typeof window > "u" ? !1 : (this._mobileListMql?.matches ?? (typeof window.matchMedia == "function" && window.matchMedia("(max-width: 767px)").matches)) || window.innerWidth <= 767 || (window.visualViewport?.width ?? Infinity) <= 767 ? !0 : (navigator.maxTouchPoints > 0 || "ontouchstart" in window) && typeof window.screen?.width == "number" && window.screen.width <= 767;
493
+ return typeof window > "u" ? !1 : (this._mobileListMql?.matches ?? (typeof window.matchMedia == "function" && window.matchMedia("(max-width: 767px)").matches)) || window.innerWidth <= 767 || (window.visualViewport?.width ?? Infinity) <= 767 ? !0 : (document.documentElement?.clientWidth ?? Infinity) <= 767;
486
494
  }
487
495
  _scheduleInitialMobileLayoutSync(e) {
488
- this._initialMobileLayoutRaf !== null || typeof window.requestAnimationFrame != "function" || (this._initialMobileLayoutRaf = window.requestAnimationFrame(() => {
489
- this._initialMobileLayoutRaf = null, this.isConnected && this._configuration && this._useMobileListLayout() !== e && this.render();
496
+ this._initialMobileLayoutRaf !== null || this._initialMobileLayoutTimer !== null || typeof window.requestAnimationFrame != "function" || (this._initialMobileLayoutRaf = window.requestAnimationFrame(() => {
497
+ this._initialMobileLayoutRaf = window.requestAnimationFrame(() => {
498
+ this._initialMobileLayoutRaf = null, this._initialMobileLayoutTimer = window.setTimeout(() => {
499
+ this._initialMobileLayoutTimer = null, this.isConnected && this._configuration && this._useMobileListLayout() !== e && this.render();
500
+ }, 100);
501
+ });
490
502
  }));
491
503
  }
492
504
  _paginationHostPlaceholderHtml() {
@@ -690,7 +702,16 @@ var n = {
690
702
  }
691
703
  _buildMobileListItemHtml(e, t, n = !1) {
692
704
  if (!this._configuration) return "";
693
- let r = t, i = typeof this._configuration.onRowClick == "function", a = this._mobileThumbnailColumn(), o = this._mobilePrimaryColumn(), s = this._mobileActionsDropdownColumn(), c = a ? this._buildTableCellInnerHtml(a, e, r, "mobile") : "", l = o ? this._buildTableCellInnerHtml(o, e, r, "mobile") : "", u = s ? this._buildTableCellInnerHtml(s, e, r, "mobile") : "", d = [], f = this._configuration.mobileShowLabels === !0;
705
+ let r = t, i = typeof this._configuration.onRowClick == "function", a = this._mobileThumbnailColumn(), o = this._mobilePrimaryColumn(), s = this._mobileActionsDropdownColumn(), c = a ? this._buildTableCellInnerHtml(a, e, r, "mobile") : "", l = o ? this._buildTableCellInnerHtml(o, e, r, "mobile") : "", u = s ? this._buildTableCellInnerHtml(s, e, r, "mobile") : "";
706
+ if (typeof this._configuration.mobileRowFormat == "function") {
707
+ let t = this._configuration.mobileRowFormat(this, e, r, u), n = [
708
+ "list-none",
709
+ "mint-resource-table-mobile-row",
710
+ i ? "cursor-pointer" : ""
711
+ ].filter(Boolean).join(" ");
712
+ return `<li data-row-index="${r}" ${i ? "data-row-clickable=\"true\" " : ""}class="${n}">${t}</li>`;
713
+ }
714
+ let d = [], f = this._configuration.mobileShowLabels === !0;
694
715
  for (let t of this._configuration.columns) {
695
716
  if (t.hidden || a && t === a || o && t === o || s && t === s) continue;
696
717
  let n = this._columnPlainSummaryText(t, e);
@@ -1176,7 +1197,7 @@ var n = {
1176
1197
  }
1177
1198
  this._ensureMobileListMql();
1178
1199
  let e = this._useMobileListLayout();
1179
- this._lastRenderedMobileLayout = e, this.toggleAttribute("data-mint-rt-mobile-layout", e), this._scheduleInitialMobileLayoutSync(e);
1200
+ this._lastRenderedMobileLayout = e, this.toggleAttribute("data-mint-rt-mobile-layout", e), this.toggleAttribute("data-mint-rt-mobile-cards", typeof this._configuration.mobileRowFormat == "function"), this._scheduleInitialMobileLayoutSync(e);
1180
1201
  let t = String(this._configuration.id || "").trim();
1181
1202
  t && (this.id = t), this._detachVirtualScroll(), this._detachFixedChromeResize(), this._virtualScrollActive() || this._virtualRowCache.clear();
1182
1203
  let n = !this._loaded || this._rows.length > 0 || this._search.length > 0 || this._searching || this._configuration.showSearch !== !1 || !!this._configuration.buttons?.length, r = this._getRows();
@@ -1190,11 +1211,9 @@ var n = {
1190
1211
  this._inMintCard ? "p-3.5" : "mb-3",
1191
1212
  e ? "sticky top-0 z-20 bg-white dark:bg-mint-nav border-b border-gray-200 dark:border-mint-divider" : ""
1192
1213
  ].filter(Boolean).join(" ");
1193
- if (a += `<div id="mint-rt-fixed-controls-${this._tableId}" class="${t}">`, a += "<div class=\"flex min-w-0 flex-1 items-center gap-2\">", a += this._buildMobileSortToolbarHtml(), a += this._toolbarButtonsHtml("left"), this._configuration.showSearch !== !1) {
1194
- let e = `search-${this._tableId}`, t = this._escapeHtml(this._configuration.searchPlaceholder || "Search...");
1195
- a += `<mint-input id="${e}" type="search" label="" placeholder="${t}" class="min-w-0 flex-1" icon="search" value="${this._escapeHtml(this._search)}"></mint-input>`;
1196
- }
1197
- a += this._toolbarButtonsHtml("right"), a += "</div>", a += "</div>";
1214
+ a += `<div id="mint-rt-fixed-controls-${this._tableId}" class="${t}">`, a += "<div class=\"flex min-w-0 flex-1 items-center gap-2\">";
1215
+ let n = this._configuration.mobileSearchFirst === !0, r = this._configuration.showSearch === !1 ? "" : `<mint-input id="search-${this._tableId}" type="search" label="" placeholder="${this._escapeHtml(this._configuration.searchPlaceholder || "Search...")}" class="min-w-0 flex-1" icon="search" value="${this._escapeHtml(this._search)}"></mint-input>`;
1216
+ n && (a += r), a += this._buildMobileSortToolbarHtml(), a += this._toolbarButtonsHtml("left"), n || (a += r), a += this._toolbarButtonsHtml("right"), a += "</div>", a += "</div>";
1198
1217
  }
1199
1218
  if ((this._type === "ajax" && !this._loaded || this._type === "provided" && i) && !this._fetchError && !this._sorting) {
1200
1219
  let e = this._fixedHeader() ? " data-mint-rt-scroll-inner=\"\"" : "", t = this._fixedHeader() && this._fixedControls(), n = this._fixedHeader() ? t ? "sticky top-[var(--mint-rt-fixed-controls-h,0px)] z-30 " : "sticky top-0 z-30 " : "sticky top-0 z-10 ";
@@ -1221,13 +1240,13 @@ var n = {
1221
1240
  }), a += "</tr>";
1222
1241
  a += "</tbody>", a += "</table>", a += "</mint-table>", a += "</div>", a += this._paginationHostPlaceholderHtml();
1223
1242
  } else {
1224
- let e = this._virtualScrollActive() && (this._type === "provided" || this._type === "ajax" && this._loaded && !this._fetchError), t = e && this._virtualScrollRoot() === "table-body", n = this._escapeHtml(this._virtualMaxHeightCss()), o = t || this._fixedHeader(), s = this._fixedHeader() && this._fixedControls(), c = o ? " data-mint-rt-scroll-inner=\"\"" : "", l = "table-section" + (this._inMintCard ? " rounded-t-none" : ""), u = `mint-resource-table-mobile-list m-0 min-h-0 w-full list-none border-collapse overflow-x-hidden ${this._inMintCard ? "px-3.5 py-3.5" : "py-3"}`, d = "";
1243
+ let e = this._virtualScrollActive() && (this._type === "provided" || this._type === "ajax" && this._loaded && !this._fetchError), t = e && this._virtualScrollRoot() === "table-body", n = this._escapeHtml(this._virtualMaxHeightCss()), o = t || this._fixedHeader(), s = this._fixedHeader() && this._fixedControls(), c = o ? " data-mint-rt-scroll-inner=\"\"" : "", l = "table-section" + (this._inMintCard ? " rounded-t-none" : ""), u = this._inMintCard ? "px-3.5 py-3.5" : "py-3", d = typeof this._configuration.mobileRowFormat == "function", f = d ? "space-y-2" : "", p = `mint-resource-table-mobile-list m-0 min-h-0 w-full list-none border-collapse overflow-x-hidden ${d && this._inMintCard ? "px-3.5 pt-1.5 pb-3.5" : u} ${f}`, m = "";
1225
1244
  if (t) {
1226
1245
  let e = this._renderColgroupHtml();
1227
1246
  a += `<div id="mint-rt-vscroll-${this._tableId}" class="overflow-y-auto overflow-x-auto min-h-0 w-full" style="max-height: ${n}; scrollbar-gutter: stable; overscroll-behavior-x: contain; overscroll-behavior-y: none; overflow-anchor: none;">`, a += "<div class=\"mint-resource-table-desktop min-h-0 min-w-0\">", a += `<mint-table class="${l}"${c}>`, a += `<table id="${this._tableId}" class="w-full min-w-0 table-fixed">`, a += e, a += this._renderTheadHtml(!0, !0, !0, s);
1228
1247
  } else a += "<div class=\"mint-resource-table-desktop min-h-0 min-w-0\">", a += `<mint-table class="${l}"${c}>`, a += `<table id="${this._tableId}">`, e && (a += this._renderColgroupHtml()), a += this._renderTheadHtml(!0, !0, !!e, s);
1229
1248
  if (a += "<tbody" + (e ? ` data-mint-rt-tbody="${this._tableId}"` : "") + ">", !this._fetching && !this._loading && !i && !e && r.forEach((e, t) => {
1230
- d += this._buildMobileListItemHtml(e, t, t === r.length - 1);
1249
+ m += this._buildMobileListItemHtml(e, t, t === r.length - 1);
1231
1250
  let n = typeof this._configuration.onRowClick == "function", i = n ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-mint-elevated" : "";
1232
1251
  a += `<tr data-row-index="${t}" ${n ? "data-row-clickable=\"true\"" : ""}${i ? ` class="${i}"` : ""}>`, this._configuration.columns.forEach((n) => {
1233
1252
  if (n.hidden) return;
@@ -1236,12 +1255,12 @@ var n = {
1236
1255
  }), a += "</tr>";
1237
1256
  }), !this._fetching && !this._loading && !i && r.length === 0) if (this._fetchError) {
1238
1257
  let e = this._configuration.columns.filter((e) => !e.hidden).length;
1239
- a += `<tr><td colspan="${e}" class="text-center py-8 text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</td></tr>`, d += `<li class="list-none px-4 py-8 text-center text-sm text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</li>`;
1258
+ a += `<tr><td colspan="${e}" class="text-center py-8 text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</td></tr>`, m += `<li class="list-none px-4 py-8 text-center text-sm text-red-500 dark:text-red-400">Failed to load data: ${this._escapeHtml(this._fetchError)}</li>`;
1240
1259
  } else {
1241
1260
  let e = this._configuration.columns.filter((e) => !e.hidden).length;
1242
- a += `<tr><td colspan="${e}" class="text-center py-8">No data available.</td></tr>`, d += "<li class=\"list-none px-4 py-8 text-center text-sm\">No data available.</li>";
1261
+ a += `<tr><td colspan="${e}" class="text-center py-8">No data available.</td></tr>`, m += "<li class=\"list-none px-4 py-8 text-center text-sm\">No data available.</li>";
1243
1262
  }
1244
- a += "</tbody>", a += "</table>", a += "</mint-table>", a += "</div>", a += `<ul class="${u}" data-mint-rt-mobile-list="${this._tableId}">${e && r.length > 0 ? "" : d}</ul>`, e || (a += this._paginationHostPlaceholderHtml()), t && (a += "</div>");
1263
+ a += "</tbody>", a += "</table>", a += "</mint-table>", a += "</div>", a += `<ul class="${p}" data-mint-rt-mobile-list="${this._tableId}">${e && r.length > 0 ? "" : m}</ul>`, e || (a += this._paginationHostPlaceholderHtml()), t && (a += "</div>");
1245
1264
  }
1246
1265
  this._fixedHeader() ? this.setAttribute("data-mint-rt-fixed-header", "") : this.removeAttribute("data-mint-rt-fixed-header"), this._fixedControls() ? this.setAttribute("data-mint-rt-fixed-controls", "") : this.removeAttribute("data-mint-rt-fixed-controls"), this.innerHTML = a, this._replaceUtilityClasses(), this._updatePagination(), this.querySelectorAll("mint-button[data-action]").forEach((e) => {
1247
1266
  e.render && e.render();