@wpic/ui 0.9.81 → 0.9.83
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/CHANGELOG.md +4 -0
- package/dist/components/WTable.vue.d.ts +10 -0
- package/dist/wpic-ui.cjs +57 -57
- package/dist/wpic-ui.js +2207 -2188
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Unreleased
|
|
2
2
|
|
|
3
|
+
- `WTable` accepts `summaryPosition="both"` to repeat the native total row above and below the data.
|
|
4
|
+
|
|
5
|
+
- `WTable` supports `summaryPosition="bottom"` to display a gray, bold total after the data rows; the existing top placement remains the default.
|
|
6
|
+
|
|
3
7
|
## 0.9.78
|
|
4
8
|
|
|
5
9
|
- `WTable` expandable rows: the chevron is now a real button, reachable with Tab and operable with Enter or Space, exposing `aria-expanded` and `aria-controls`. New optional `expandLabel(row, expanded)` prop names it (default "Expand row" / "Collapse row").
|
|
@@ -47,6 +47,8 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
47
47
|
/** Style the complete body cell, including its padding. */
|
|
48
48
|
cellStyle?: (row: Record<string, unknown>, column: WTableColumn) => Record<string, string> | undefined;
|
|
49
49
|
summaryRow?: Record<string, unknown>;
|
|
50
|
+
/** Place the summary row before or after the data rows. */
|
|
51
|
+
summaryPosition?: "top" | "bottom" | "both";
|
|
50
52
|
compact?: boolean;
|
|
51
53
|
/** Vertical alignment of body cells. Defaults to the browser's table-cell alignment. */
|
|
52
54
|
verticalAlign?: "top" | "middle" | "bottom";
|
|
@@ -106,6 +108,8 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
106
108
|
/** Style the complete body cell, including its padding. */
|
|
107
109
|
cellStyle?: (row: Record<string, unknown>, column: WTableColumn) => Record<string, string> | undefined;
|
|
108
110
|
summaryRow?: Record<string, unknown>;
|
|
111
|
+
/** Place the summary row before or after the data rows. */
|
|
112
|
+
summaryPosition?: "top" | "bottom" | "both";
|
|
109
113
|
compact?: boolean;
|
|
110
114
|
/** Vertical alignment of body cells. Defaults to the browser's table-cell alignment. */
|
|
111
115
|
verticalAlign?: "top" | "middle" | "bottom";
|
|
@@ -133,6 +137,7 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
133
137
|
selectable: boolean;
|
|
134
138
|
rowKey: string;
|
|
135
139
|
flushEdges: boolean;
|
|
140
|
+
summaryPosition: "top" | "bottom" | "both";
|
|
136
141
|
showFooter: boolean;
|
|
137
142
|
columnDividers: boolean;
|
|
138
143
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
@@ -152,6 +157,11 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
|
152
157
|
row: any;
|
|
153
158
|
value: any;
|
|
154
159
|
}) => any) | undefined;
|
|
160
|
+
} & {
|
|
161
|
+
[x: string]: ((props: {
|
|
162
|
+
row: any;
|
|
163
|
+
value: any;
|
|
164
|
+
}) => any) | undefined;
|
|
155
165
|
} & {
|
|
156
166
|
toolbar?: (props: {}) => any;
|
|
157
167
|
} & {
|