@czxingyu/xycomponents 0.1.4 → 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 +178 -4
- package/dist/index.esm.js +4 -3
- package/dist/index.lite.esm.js +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/package.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table/table.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/xycomponents.css +1 -1
- package/package.json +4 -2
- package/scripts/postinstall-skills.mjs +30 -0
- package/skills/README.md +51 -17
- package/skills/xycomponents-shared/SKILL.md +2 -0
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-1e60de17"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
@@ -341,7 +341,7 @@ var Ae = ["aria-busy"], je = { key: 0 }, Me = { key: 0 }, Ne = ["colspan"], Pe =
|
|
|
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
343
|
overflowX: j.value ? "hidden" : w.scroll?.x ? "auto" : void 0,
|
|
344
|
-
overflowY: w.autoHeight ||
|
|
344
|
+
overflowY: w.autoHeight || w.scroll?.y ? "auto" : void 0,
|
|
345
345
|
...V.value.container
|
|
346
346
|
})), tn = s(() => Ct.value ? {
|
|
347
347
|
minWidth: `${Qt.value}px`,
|
|
@@ -352,6 +352,7 @@ var Ae = ["aria-busy"], je = { key: 0 }, Me = { key: 0 }, Ne = ["colspan"], Pe =
|
|
|
352
352
|
width: Et.value ? `${Zt.value}px` : w.scroll?.x ? void 0 : "100%",
|
|
353
353
|
...V.value.table
|
|
354
354
|
}), nn = s(() => ({
|
|
355
|
+
"xy-table--auto-height": w.autoHeight,
|
|
355
356
|
"xy-table--bordered": w.bordered,
|
|
356
357
|
"xy-table--loading": w.loading,
|
|
357
358
|
"xy-table--striped": w.striped,
|