@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/package.js
CHANGED
package/dist/table/table.js
CHANGED
|
@@ -2,6 +2,6 @@ import e from "../_virtual/_plugin-vue_export-helper.js";
|
|
|
2
2
|
import t from "./table.vue_vue_type_script_setup_true_lang.js";
|
|
3
3
|
/* empty css */
|
|
4
4
|
//#region components/table/table.vue
|
|
5
|
-
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-
|
|
5
|
+
var n = /*#__PURE__*/ e(t, [["__scopeId", "data-v-e1a0865c"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -340,7 +340,7 @@ var Ae = ["aria-busy"], je = { key: 0 }, Me = { key: 0 }, Ne = ["colspan"], Pe =
|
|
|
340
340
|
record: e
|
|
341
341
|
}))), R = s(() => se(Wt.value, w.rowKey, Tt.value ? w.tree : void 0, Vt.value)), Kt = s(() => Math.max(1, Math.ceil(I.value.total / I.value.pageSize))), z = s(() => new Set(Bt.value)), qt = s(() => R.value.filter((e) => !xn(e.record)).map((e) => e.key)), Jt = s(() => qt.value.length > 0 && qt.value.every((e) => z.value.has(e))), Yt = s(() => qt.value.some((e) => z.value.has(e))), Xt = s(() => !!w.pagination && (!w.pagination || !w.pagination.hideOnSinglePage || I.value.total > I.value.pageSize)), Zt = s(() => (M.value ? gt : 0) + O.value.reduce((e, t) => e + U(t), 0)), Qt = s(() => W(S) + Gt.value.reduce((e, t) => e + W(t.key), 0)), $t = s(() => [M.value ? `${gt}px` : "", ...O.value.map((e) => `${U(e)}px`)].filter(Boolean).join(" ")), en = s(() => ({
|
|
342
342
|
maxHeight: w.autoHeight ? void 0 : a(w.scroll?.y),
|
|
343
|
-
overflowX: w.scroll?.x ? "auto" : void 0,
|
|
343
|
+
overflowX: j.value ? "hidden" : w.scroll?.x ? "auto" : void 0,
|
|
344
344
|
overflowY: w.autoHeight || !w.scroll?.y ? void 0 : "auto",
|
|
345
345
|
...V.value.container
|
|
346
346
|
})), tn = s(() => Ct.value ? {
|