@s_and_a/arrow-ui 0.2.8 → 0.2.9
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.js
CHANGED
|
@@ -16380,14 +16380,7 @@ var Rh = {
|
|
|
16380
16380
|
}), r += s - 1;
|
|
16381
16381
|
}
|
|
16382
16382
|
return e;
|
|
16383
|
-
}), Ae = O(() => !!i.actions || w.value), je = O(() => n.columns.some((e) => "editor" in e && e.editor !== void 0) || !!i["edit-actions"]), Me = O(() => n.actionsWidth === void 0 ? je.value ? { width: "136px" } : n.fit ? { width: "96px" } : void 0 : { width: `${n.actionsWidth}px` }), Ne = W(null), Pe = W({}), Fe = (e) => e.sticky === !0 || e.sticky === "start", Ie = O(() => {
|
|
16384
|
-
let e = [];
|
|
16385
|
-
for (let t of g.value) {
|
|
16386
|
-
if (!Fe(t)) break;
|
|
16387
|
-
e.push(t.key);
|
|
16388
|
-
}
|
|
16389
|
-
return e;
|
|
16390
|
-
}), Le = O(() => {
|
|
16383
|
+
}), Ae = O(() => !!i.actions || w.value), je = O(() => n.columns.some((e) => "editor" in e && e.editor !== void 0) || !!i["edit-actions"]), Me = O(() => n.actionsWidth === void 0 ? je.value ? { width: "136px" } : n.fit ? { width: "96px" } : void 0 : { width: `${n.actionsWidth}px` }), Ne = W(null), Pe = W({}), Fe = (e) => e.sticky === !0 || e.sticky === "start", Ie = O(() => g.value.filter(Fe).map((e) => e.key)), Le = O(() => {
|
|
16391
16384
|
let e = [];
|
|
16392
16385
|
for (let t of [...g.value].reverse()) {
|
|
16393
16386
|
if (t.sticky !== "end") break;
|
|
@@ -79,7 +79,7 @@ export interface ArTableColumn<Row> {
|
|
|
79
79
|
/** px。データに合わせた幅は数で渡してよい。省くと中身に合わせる。fitを使わない表では、この幅より列を狭めない。 */
|
|
80
80
|
width?: number;
|
|
81
81
|
/**
|
|
82
|
-
* 横にスクロールしても残す。true・"start"
|
|
82
|
+
* 横にスクロールしても残す。true・"start"=左に(止めない列が手前にあってもよい。手前の止めない列は横にスクロールして隠れ、止めた列だけ左に残る。社員コード→氏名のように、コードは隠れて氏名だけ残す形)、"end"=右に(右から続けて指定する。年調の「反映」)。
|
|
83
83
|
* 止めた列は2段の見出しのまとまり(group)に入れない。
|
|
84
84
|
*/
|
|
85
85
|
sticky?: boolean | "start" | "end";
|