@czxingyu/xycomponents 0.1.3 → 0.1.4
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/index.esm.js
CHANGED
|
@@ -12,7 +12,7 @@ var qe = Object.create, Je = Object.defineProperty, Ye = Object.getOwnPropertyDe
|
|
|
12
12
|
}, tt = (e, t, n) => (n = e == null ? {} : qe(Ze(e)), et(t || !e || !e.__esModule ? Je(n, "default", {
|
|
13
13
|
value: e,
|
|
14
14
|
enumerable: !0
|
|
15
|
-
}) : n, e)), nt = "0.1.
|
|
15
|
+
}) : n, e)), nt = "0.1.4";
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region components/shared/install.ts
|
|
18
18
|
function X(e) {
|
|
@@ -25426,7 +25426,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
|
|
|
25426
25426
|
record: e
|
|
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
|
-
overflowX: r.scroll?.x ? "auto" : void 0,
|
|
25429
|
+
overflowX: j.value ? "hidden" : r.scroll?.x ? "auto" : void 0,
|
|
25430
25430
|
overflowY: r.autoHeight || !r.scroll?.y ? void 0 : "auto",
|
|
25431
25431
|
...Ne.value.container
|
|
25432
25432
|
})), ke = s(() => w.value ? {
|
|
@@ -26347,7 +26347,7 @@ var ip = ["aria-busy"], ap = { key: 0 }, op = { key: 0 }, sp = ["colspan"], cp =
|
|
|
26347
26347
|
"total"
|
|
26348
26348
|
])) : l("", !0)], 14, ip));
|
|
26349
26349
|
}
|
|
26350
|
-
}), [["__scopeId", "data-v-
|
|
26350
|
+
}), [["__scopeId", "data-v-e1a0865c"]])), Jp = ["aria-label", "aria-orientation"], Yp = [
|
|
26351
26351
|
"data-tab-key",
|
|
26352
26352
|
"id",
|
|
26353
26353
|
"aria-controls",
|
package/dist/index.lite.esm.js
CHANGED
|
@@ -9,7 +9,7 @@ import qe from "dayjs/plugin/quarterOfYear.js";
|
|
|
9
9
|
import Je from "dayjs/plugin/weekOfYear.js";
|
|
10
10
|
import Ye from "dayjs/plugin/weekYear.js";
|
|
11
11
|
//#region package.json
|
|
12
|
-
var Xe = "0.1.
|
|
12
|
+
var Xe = "0.1.4";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region components/shared/install.ts
|
|
15
15
|
function Z(e) {
|