@area8975/ui 0.2.2-dev.42 → 0.2.2-dev.43
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/fesm2022/area8975-ui.mjs +90 -5
- package/fesm2022/area8975-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/area8975-ui.d.ts +32 -4
package/package.json
CHANGED
package/types/area8975-ui.d.ts
CHANGED
|
@@ -3002,6 +3002,12 @@ export declare class UiTableComponent<Row = unknown> implements OnInit, OnDestro
|
|
|
3002
3002
|
readonly reorderableColumns: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3003
3003
|
readonly reorderableRows: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3004
3004
|
readonly stickyHeader: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3005
|
+
/** Leaves out the header row, for rows that read on their own. A `uiTableBar` can still select every row. */
|
|
3006
|
+
readonly headerless: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
3007
|
+
private readonly bar;
|
|
3008
|
+
protected readonly hasBar: import("@angular/core").Signal<boolean>;
|
|
3009
|
+
/** Starts each run of rows with a heading row, e.g. a date. A row gets one whenever its heading differs from the row before it. */
|
|
3010
|
+
readonly groupHeading: import("@angular/core").InputSignal<((row: Row) => string) | null>;
|
|
3005
3011
|
readonly actions: import("@angular/core").InputSignal<TableRowAction<Row>[]>;
|
|
3006
3012
|
readonly sort: import("@angular/core").ModelSignal<TableSortState | null>;
|
|
3007
3013
|
readonly selectedRowIds: import("@angular/core").ModelSignal<Set<unknown>>;
|
|
@@ -3035,13 +3041,16 @@ export declare class UiTableComponent<Row = unknown> implements OnInit, OnDestro
|
|
|
3035
3041
|
protected readonly hasFilterableColumns: import("@angular/core").Signal<boolean>;
|
|
3036
3042
|
protected readonly activeFilterCount: import("@angular/core").Signal<number>;
|
|
3037
3043
|
protected readonly hasActions: import("@angular/core").Signal<boolean>;
|
|
3044
|
+
protected readonly columnSpan: import("@angular/core").Signal<number>;
|
|
3045
|
+
/** Each row's heading, or null when it continues the run above it. */
|
|
3046
|
+
protected readonly groupHeadings: import("@angular/core").Signal<(string | null)[]>;
|
|
3038
3047
|
private readonly hasSensitiveColumns;
|
|
3039
3048
|
protected readonly fixedWidth: import("@angular/core").Signal<number | null>;
|
|
3040
3049
|
protected readonly actionsColumnWidth: import("@angular/core").Signal<number>;
|
|
3041
3050
|
protected readonly totalPages: import("@angular/core").Signal<number>;
|
|
3042
3051
|
protected readonly resultsLabel: import("@angular/core").Signal<string>;
|
|
3043
|
-
|
|
3044
|
-
|
|
3052
|
+
readonly allSelected: import("@angular/core").Signal<boolean>;
|
|
3053
|
+
readonly someSelected: import("@angular/core").Signal<boolean>;
|
|
3045
3054
|
private readonly leftOffsets;
|
|
3046
3055
|
private readonly rightOffsets;
|
|
3047
3056
|
private readonly load$;
|
|
@@ -3053,6 +3062,7 @@ export declare class UiTableComponent<Row = unknown> implements OnInit, OnDestro
|
|
|
3053
3062
|
protected readonly privacy: import("@angular/core").Signal<"visible" | "discreet" | "hidden">;
|
|
3054
3063
|
private loadedQuery;
|
|
3055
3064
|
private loadedFilters;
|
|
3065
|
+
private loadedSort;
|
|
3056
3066
|
private resizeState;
|
|
3057
3067
|
private columnDragState;
|
|
3058
3068
|
private readonly filterDataSources;
|
|
@@ -3080,7 +3090,7 @@ export declare class UiTableComponent<Row = unknown> implements OnInit, OnDestro
|
|
|
3080
3090
|
protected toggleColumnVisibility(column: TableColumn<Row>): void;
|
|
3081
3091
|
protected isRowSelected(row: Row, index: number): boolean;
|
|
3082
3092
|
protected toggleRow(row: Row, index: number): void;
|
|
3083
|
-
|
|
3093
|
+
toggleSelectAll(): void;
|
|
3084
3094
|
protected columnWidth(column: TableColumn<Row>): number;
|
|
3085
3095
|
protected isPinned(column: TableColumn<Row>): boolean;
|
|
3086
3096
|
protected leftOffset(column: TableColumn<Row>): number | null;
|
|
@@ -3182,6 +3192,16 @@ export declare class UiTableComponent<Row = unknown> implements OnInit, OnDestro
|
|
|
3182
3192
|
"required": false;
|
|
3183
3193
|
"isSignal": true;
|
|
3184
3194
|
};
|
|
3195
|
+
"headerless": {
|
|
3196
|
+
"alias": "headerless";
|
|
3197
|
+
"required": false;
|
|
3198
|
+
"isSignal": true;
|
|
3199
|
+
};
|
|
3200
|
+
"groupHeading": {
|
|
3201
|
+
"alias": "groupHeading";
|
|
3202
|
+
"required": false;
|
|
3203
|
+
"isSignal": true;
|
|
3204
|
+
};
|
|
3185
3205
|
"actions": {
|
|
3186
3206
|
"alias": "actions";
|
|
3187
3207
|
"required": false;
|
|
@@ -3202,7 +3222,7 @@ export declare class UiTableComponent<Row = unknown> implements OnInit, OnDestro
|
|
|
3202
3222
|
"selectedRowIds": "selectedRowIdsChange";
|
|
3203
3223
|
"selectionChange": "selectionChange";
|
|
3204
3224
|
"rowsReordered": "rowsReordered";
|
|
3205
|
-
}, ["cellDirectives"],
|
|
3225
|
+
}, ["bar", "cellDirectives"], ["[uiTableBar]"], true, never>;
|
|
3206
3226
|
}
|
|
3207
3227
|
/**
|
|
3208
3228
|
* Draws a column's cells in place of its formatted value, matched by column id:
|
|
@@ -3220,6 +3240,14 @@ export declare class UiTableCellDirective {
|
|
|
3220
3240
|
};
|
|
3221
3241
|
}, {}, never, never, true, never>;
|
|
3222
3242
|
}
|
|
3243
|
+
/**
|
|
3244
|
+
* Content for a bar along the top of the table, e.g. a count and a sort control above a
|
|
3245
|
+
* `headerless` list: `<div uiTableBar>`. With `selectable`, the bar also selects every row.
|
|
3246
|
+
*/
|
|
3247
|
+
export declare class UiTableBarDirective {
|
|
3248
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTableBarDirective, never>;
|
|
3249
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<UiTableBarDirective, "[uiTableBar]", never, {}, {}, never, never, true, never>;
|
|
3250
|
+
}
|
|
3223
3251
|
export interface UiLinkedTable {
|
|
3224
3252
|
readonly query: WritableSignal<string>;
|
|
3225
3253
|
readonly filters: WritableSignal<Record<string, unknown>>;
|