monobill-mintui 0.6.728 → 0.6.730

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.
@@ -20,7 +20,7 @@ import "../chunks/caret-down-pn6aBT-u.js";
20
20
  import "../chunks/popover-DPNBidSz.js";
21
21
  import { n as t } from "../chunks/ScrollFade-Cg9fVO0V.js";
22
22
  import "../chunks/search-COAeeXxO.js";
23
- import "../chunks/table-C6ufpGLx.js";
23
+ import "../chunks/table-BNZVNp5g.js";
24
24
  import "../chunks/select-CnN6eiFK.js";
25
25
  //#region src/components/resource-table/utility-aliases.js
26
26
  var n = {
@@ -1293,7 +1293,7 @@ var n = {
1293
1293
  let o = (this._type === "ajax" && !this._loaded || this._type === "provided" && i) && !this._fetchError && !this._sorting, s = this._loaded && r.length === 0 && !this._fetchError && !this._fetching && !this._loading && !i && this._hasActiveFilters();
1294
1294
  if (o) {
1295
1295
  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 ";
1296
- a += "<div class=\"mint-resource-table-desktop min-h-0 min-w-0\">", a += "<mint-table class=\"table-section" + (this._inMintCard ? " rounded-t-none" : "") + "\"" + e + ">", a += `<table id="${this._tableId}">`, a += "<thead class=\"" + n + "bg-white dark:bg-mint-nav border-b border-gray-200 dark:border-mint-divider\"><tr>", a += this._renderSelectionHeader(), this._configuration.columns.forEach((e, t) => {
1296
+ a += "<div class=\"mint-resource-table-desktop min-h-0 min-w-0\" data-mint-rt-horizontal-scroll>", a += "<mint-table class=\"table-section" + (this._inMintCard ? " rounded-t-none" : "") + "\"" + e + ">", a += `<table id="${this._tableId}">`, a += "<thead class=\"" + n + "bg-white dark:bg-mint-nav border-b border-gray-200 dark:border-mint-divider\"><tr>", a += this._renderSelectionHeader(), this._configuration.columns.forEach((e, t) => {
1297
1297
  if (e.hidden) return;
1298
1298
  let n = e.sortable ? " data-mint-rt-sortable=\"\"" : "";
1299
1299
  if (a += `<th width="${e.width || ""}" style="${this._getStyle(e)}" class="${this._getClasses(e)}" data-column-key="${t}"${n}>`, e.showLabel !== !1) {
@@ -1323,7 +1323,7 @@ var n = {
1323
1323
  if (t) {
1324
1324
  let e = this._renderColgroupHtml();
1325
1325
  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);
1326
- } 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);
1326
+ } else a += "<div class=\"mint-resource-table-desktop min-h-0 min-w-0\" data-mint-rt-horizontal-scroll>", a += `<mint-table class="${l}"${c}>`, a += `<table id="${this._tableId}">`, e && (a += this._renderColgroupHtml()), a += this._renderTheadHtml(!0, !0, !!e, s);
1327
1327
  if (a += "<tbody" + (e ? ` data-mint-rt-tbody="${this._tableId}"` : "") + ">", !this._fetching && !this._loading && !i && !e && r.forEach((e, t) => {
1328
1328
  u += this._buildMobileListItemHtml(e, t, t === r.length - 1);
1329
1329
  let n = typeof this._configuration.onRowClick == "function", i = n ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-mint-elevated" : "";
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/table/Table.ts"],"names":[],"mappings":"AAGA,cAAM,SAAU,SAAQ,WAAW;IACjC,OAAO,CAAC,SAAS,CAAgC;IACjD,OAAO,CAAC,kBAAkB,CAA4B;IAEtD,iBAAiB,IAAI,IAAI;IAYzB,oBAAoB,IAAI,IAAI;IAO5B,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,YAAY;IAmEpB,OAAO,CAAC,YAAY;CAerB;AAMD,eAAe,SAAS,CAAA"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/table/Table.ts"],"names":[],"mappings":"AAGA,cAAM,SAAU,SAAQ,WAAW;IACjC,OAAO,CAAC,SAAS,CAAgC;IACjD,OAAO,CAAC,kBAAkB,CAA4B;IAEtD,iBAAiB,IAAI,IAAI;IAkBzB,oBAAoB,IAAI,IAAI;IAO5B,OAAO,CAAC,eAAe;IAKvB,OAAO,CAAC,YAAY;IAmEpB,OAAO,CAAC,YAAY;CAerB;AAMD,eAAe,SAAS,CAAA"}
@@ -12,5 +12,5 @@ const __mintLoadStyle = (key, url) => {
12
12
  }
13
13
  __mintLoadStyle('theme', '../../theme.css')
14
14
  __mintLoadStyle('table', '../../table.css')
15
- import { t as e } from "../chunks/table-C6ufpGLx.js";
15
+ import { t as e } from "../chunks/table-BNZVNp5g.js";
16
16
  export { e as default };
@@ -1 +1 @@
1
- const e=require(`../chunks/table-B_S4xwx3.js`);module.exports=e.t;
1
+ const e=require(`../chunks/table-BNNRNEZ9.js`);module.exports=e.t;
@@ -1,4 +1,4 @@
1
1
  import '../../theme.css'
2
2
  import '../../table.css'
3
- import { t as e } from "../chunks/table-C6ufpGLx.js";
3
+ import { t as e } from "../chunks/table-BNZVNp5g.js";
4
4
  export { e as default };