@czxingyu/xycomponents 0.1.5 → 0.1.6
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/cli.js
CHANGED
|
@@ -7502,7 +7502,7 @@ const rows: XyTableRecord[] = [
|
|
|
7502
7502
|
},
|
|
7503
7503
|
{
|
|
7504
7504
|
default: "false",
|
|
7505
|
-
description: "Grow with content
|
|
7505
|
+
description: "Grow with content up to the parent height; scroll inside when overflowing; ignore scroll.y and disable virtual mode.",
|
|
7506
7506
|
name: "autoHeight",
|
|
7507
7507
|
type: "boolean"
|
|
7508
7508
|
},
|
package/dist/index.esm.js
CHANGED
|
@@ -25427,7 +25427,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
|
|
|
25427
25427
|
}))), ve = s(() => Xf(ge.value, r.rowKey, M.value ? r.tree : void 0, de.value)), ye = s(() => Math.max(1, Math.ceil(me.value.total / me.value.pageSize))), be = s(() => new Set(ue.value)), xe = s(() => ve.value.filter((e) => !it(e.record)).map((e) => e.key)), Se = s(() => xe.value.length > 0 && xe.value.every((e) => be.value.has(e))), Ce = s(() => xe.value.some((e) => be.value.has(e))), we = s(() => !!r.pagination && (!r.pagination || !r.pagination.hideOnSinglePage || me.value.total > me.value.pageSize)), Te = s(() => (P.value ? Wp : 0) + S.value.reduce((e, t) => e + Re(t), 0)), Ee = s(() => ze(Kp) + _e.value.reduce((e, t) => e + ze(t.key), 0)), De = s(() => [P.value ? `${Wp}px` : "", ...S.value.map((e) => `${Re(e)}px`)].filter(Boolean).join(" ")), Oe = s(() => ({
|
|
25428
25428
|
maxHeight: r.autoHeight ? void 0 : Uf(r.scroll?.y),
|
|
25429
25429
|
overflowX: j.value ? "hidden" : r.scroll?.x ? "auto" : void 0,
|
|
25430
|
-
overflowY: r.autoHeight ||
|
|
25430
|
+
overflowY: r.autoHeight || r.scroll?.y ? "auto" : void 0,
|
|
25431
25431
|
...Ne.value.container
|
|
25432
25432
|
})), ke = s(() => w.value ? {
|
|
25433
25433
|
minWidth: `${Ee.value}px`,
|
|
@@ -25438,6 +25438,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
|
|
|
25438
25438
|
width: L.value ? `${Te.value}px` : r.scroll?.x ? void 0 : "100%",
|
|
25439
25439
|
...Ne.value.table
|
|
25440
25440
|
}), Ae = s(() => ({
|
|
25441
|
+
"xy-table--auto-height": r.autoHeight,
|
|
25441
25442
|
"xy-table--bordered": r.bordered,
|
|
25442
25443
|
"xy-table--loading": r.loading,
|
|
25443
25444
|
"xy-table--striped": r.striped,
|
|
@@ -26347,7 +26348,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
|
|
|
26347
26348
|
"total"
|
|
26348
26349
|
])) : l("", !0)], 14, ip));
|
|
26349
26350
|
}
|
|
26350
|
-
}), [["__scopeId", "data-v-
|
|
26351
|
+
}), [["__scopeId", "data-v-1e60de17"]])), Jp = ["aria-label", "aria-orientation"], Yp = [
|
|
26351
26352
|
"data-tab-key",
|
|
26352
26353
|
"id",
|
|
26353
26354
|
"aria-controls",
|