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.
- package/dist/components/chunks/table-BNNRNEZ9.js +1 -0
- package/dist/components/chunks/{table-C6ufpGLx.js → table-BNZVNp5g.js} +3 -1
- package/dist/components/resource-table/ResourceTable.d.ts.map +1 -1
- package/dist/components/resource-table/browser.js +3 -3
- package/dist/components/resource-table/index.cjs +2 -2
- package/dist/components/resource-table/index.js +3 -3
- package/dist/components/table/Table.d.ts.map +1 -1
- package/dist/components/table/browser.js +1 -1
- package/dist/components/table/index.cjs +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +5 -3
- package/dist/resource-table.css +1 -1
- package/package.json +1 -1
- package/dist/components/chunks/table-B_S4xwx3.js +0 -1
|
@@ -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-
|
|
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;
|
|
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-
|
|
15
|
+
import { t as e } from "../chunks/table-BNZVNp5g.js";
|
|
16
16
|
export { e as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../chunks/table-
|
|
1
|
+
const e=require(`../chunks/table-BNNRNEZ9.js`);module.exports=e.t;
|