@praxisui/table 6.0.0-beta.0 → 7.0.0-beta.0
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/README.md +54 -0
- package/fesm2022/praxisui-table.mjs +2426 -18
- package/index.d.ts +168 -2
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { CdkDragDrop, CdkDragEnd, CdkDrag, CdkDropList } from '@angular/cdk/drag
|
|
|
10
10
|
import { BehaviorSubject, Subscription, Observable } from 'rxjs';
|
|
11
11
|
import { SettingsPanelService, SettingsValueProvider } from '@praxisui/settings-panel';
|
|
12
12
|
import * as _praxisui_core from '@praxisui/core';
|
|
13
|
-
import { TableConfig, LoggerService, GlobalConfigService, AsyncConfigStorage, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ConnectionStorage, ResourceDiscoveryService, LoadingOrchestrator, PraxisLoadingRenderer, JsonLogicRecord, ResourceActionCatalogItem, JsonLogicExpression, GlobalActionSpec, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisJsonLogicService, TableConfigService, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, AiCapabilityCategory, AiValueKind, AiCapability, AiCapabilityCatalog } from '@praxisui/core';
|
|
13
|
+
import { TableConfig, LoggerService, GlobalConfigService, AsyncConfigStorage, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, LoadingState, RestApiLinks, ColumnDefinition, RichBlockNode, ConnectionStorage, ResourceDiscoveryService, LoadingOrchestrator, PraxisLoadingRenderer, TableDetailRichListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, ResourceActionCatalogItem, JsonLogicExpression, GlobalActionSpec, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisJsonLogicService, TableConfigService, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, PraxisI18nService, AiCapabilityCategory, AiValueKind, AiCapability, AiCapabilityCatalog } from '@praxisui/core';
|
|
14
14
|
import { FormGroup, FormControl, FormBuilder } from '@angular/forms';
|
|
15
15
|
import { MatDialog } from '@angular/material/dialog';
|
|
16
16
|
import { CdkOverlayOrigin, ConnectedPosition } from '@angular/cdk/overlay';
|
|
@@ -905,6 +905,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
905
905
|
metadataChange: EventEmitter<any>;
|
|
906
906
|
loadingStateChange: EventEmitter<LoadingState>;
|
|
907
907
|
collectionLinksChange: EventEmitter<RestApiLinks | null>;
|
|
908
|
+
private latestLoadingState;
|
|
908
909
|
paginator: MatPaginator;
|
|
909
910
|
sort: MatSort;
|
|
910
911
|
materialTable?: MatTable<any>;
|
|
@@ -1011,6 +1012,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1011
1012
|
private shouldApplyResponsiveHorizontalScrollGlobally;
|
|
1012
1013
|
private isWithinResponsiveMobileBreakpoint;
|
|
1013
1014
|
private refreshResponsiveHorizontalScroll;
|
|
1015
|
+
private scheduleResponsiveHorizontalScrollRefresh;
|
|
1016
|
+
private cancelResponsiveHorizontalScrollRefresh;
|
|
1014
1017
|
hasBottomPaginator(): boolean;
|
|
1015
1018
|
hasExplicitResourcePath(): boolean;
|
|
1016
1019
|
hasLocalDataInput(): boolean;
|
|
@@ -1022,6 +1025,18 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1022
1025
|
isLocalDataModeActive(): boolean;
|
|
1023
1026
|
shouldRenderDataSurface(): boolean;
|
|
1024
1027
|
shouldShowEmptyState(): boolean;
|
|
1028
|
+
shouldShowNoDataState(): boolean;
|
|
1029
|
+
shouldShowLoadingSurface(): boolean;
|
|
1030
|
+
getLoadingSurfaceMessage(): string;
|
|
1031
|
+
getNoDataStateTitle(): string;
|
|
1032
|
+
getNoDataStateDescription(): string | undefined;
|
|
1033
|
+
getTableSettingsLabel(): string;
|
|
1034
|
+
getTableSettingsTooltip(): string;
|
|
1035
|
+
getDisconnectLabel(): string;
|
|
1036
|
+
getDisconnectTooltip(): string;
|
|
1037
|
+
getNoDataStateIcon(): string;
|
|
1038
|
+
getNoDataStatePrimaryAction(): any | null;
|
|
1039
|
+
getNoDataStateSecondaryActions(): any[];
|
|
1025
1040
|
shouldRenderAdvancedFilter(): boolean;
|
|
1026
1041
|
getAdvancedFilterResourcePath(): string;
|
|
1027
1042
|
getAdvancedFilterPersistenceKey(): string;
|
|
@@ -1052,6 +1067,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1052
1067
|
private readonly jsonLogic;
|
|
1053
1068
|
private computedExpressionEvaluator;
|
|
1054
1069
|
private resizeObserver;
|
|
1070
|
+
private resizeObserverRefreshFrameId;
|
|
1055
1071
|
private removeViewportChangeListeners;
|
|
1056
1072
|
private readonly warnedUnsupportedFeatures;
|
|
1057
1073
|
private warnedStrictCspStyleMode;
|
|
@@ -1097,6 +1113,14 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1097
1113
|
constructor(cdr: ChangeDetectorRef, settingsPanel: SettingsPanelService, crudService: GenericCrudService<any, any>, tableDefaultsProvider: TableDefaultsProvider, filterConfig: FilterConfigService, formattingService: DataFormattingService, pxDialog: PraxisDialog, snackBar: MatSnackBar, asyncConfigStorage: AsyncConfigStorage, connectionStorage: ConnectionStorage, hostRef: ElementRef<HTMLElement>, global: GlobalConfigService, resourceDiscovery: ResourceDiscoveryService, componentKeys: ComponentKeyService, loadingOrchestrator: LoadingOrchestrator, loadingRenderer?: PraxisLoadingRenderer | undefined, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined);
|
|
1098
1114
|
private ensureAiAdapterLoaded;
|
|
1099
1115
|
private emitLoadingState;
|
|
1116
|
+
private hasResolvedRemoteDataLoad;
|
|
1117
|
+
private isTableDataLoading;
|
|
1118
|
+
private getRenderedRowCount;
|
|
1119
|
+
private hasActiveDataFilters;
|
|
1120
|
+
private hasMeaningfulFilterValue;
|
|
1121
|
+
private resolveNoDataStateConfig;
|
|
1122
|
+
private mapEmptyStateAction;
|
|
1123
|
+
private onEmptyStateAction;
|
|
1100
1124
|
private buildLoadingContext;
|
|
1101
1125
|
private beginLoading;
|
|
1102
1126
|
private endLoading;
|
|
@@ -1135,15 +1159,68 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1135
1159
|
getExpansionDetailValue(row: any, node: any): string;
|
|
1136
1160
|
getExpansionDetailListEntries(row: any, node: any): unknown[];
|
|
1137
1161
|
getExpansionDetailListItems(row: any, node: any): string[];
|
|
1162
|
+
getExpansionDetailRichListEntries(row: any, node: TableDetailRichListNode | any): unknown[];
|
|
1163
|
+
getExpansionDetailRichListEmptyText(node: TableDetailRichListNode | any): string;
|
|
1164
|
+
getExpansionDetailRichListItemNodes(node: TableDetailRichListNode | any): RichBlockNode[];
|
|
1165
|
+
getExpansionDetailCardGridHeaderNodes(node: TableDetailCardGridNode | any): RichBlockNode[];
|
|
1166
|
+
getExpansionDetailCardGridCards(node: TableDetailCardGridNode | any): TableDetailCardGridCardNode[];
|
|
1167
|
+
getExpansionDetailCardGridStyles(node: TableDetailCardGridNode | any): Record<string, string>;
|
|
1168
|
+
getExpansionDetailCardGridCardNodes(card: TableDetailCardGridCardNode | any): RichBlockNode[];
|
|
1169
|
+
getExpansionDetailTimelineEntries(row: any, node: TableDetailTimelineNode | any): unknown[];
|
|
1170
|
+
getExpansionDetailTimelineEmptyText(node: TableDetailTimelineNode | any): string;
|
|
1171
|
+
getExpansionDetailTimelineNodes(row: any, node: TableDetailTimelineNode | any): RichBlockNode[];
|
|
1172
|
+
getExpansionDetailRichListItemContext(row: any, rowIndex: number, node: TableDetailRichListNode | any, entry: unknown, itemIndex: number): JsonLogicRecord;
|
|
1173
|
+
getExpansionDetailRichListItemClassName(node: TableDetailRichListNode | any): string;
|
|
1174
|
+
getExpansionDetailRichListItemKey(node: TableDetailRichListNode | any, entry: unknown, itemIndex: number): string;
|
|
1175
|
+
getExpansionDetailRichListItemActions(node: TableDetailRichListNode | any, row: any, rowIndex: number, entry: unknown, itemIndex: number): TableDetailListItemAction[];
|
|
1176
|
+
private normalizeExpansionDetailCardGridColumns;
|
|
1177
|
+
private normalizeExpansionDetailCardGridMinWidth;
|
|
1178
|
+
private getExpansionDetailTimelineFieldName;
|
|
1179
|
+
private buildExpansionDetailTimelineRichNode;
|
|
1180
|
+
private mapExpansionDetailTimelineItem;
|
|
1181
|
+
private getExpansionDetailTimelineObjectValue;
|
|
1182
|
+
private normalizeExpansionDetailCardGridCardContent;
|
|
1183
|
+
private normalizeExpansionDetailMediaBlockAvatar;
|
|
1184
|
+
private normalizeExpansionDetailMediaBlockText;
|
|
1185
|
+
private normalizeExpansionDetailMediaBlockMeta;
|
|
1186
|
+
private normalizeExpansionDetailMediaBlockTrailing;
|
|
1187
|
+
private normalizeExpansionDetailComposeItems;
|
|
1188
|
+
private isExpansionDetailCardGridContentNode;
|
|
1189
|
+
private isExpansionDetailComposeItemNode;
|
|
1190
|
+
getExpansionDetailRichListItemActionNodes(action: TableDetailListItemAction | any): RichBlockNode[];
|
|
1191
|
+
isExpansionDetailRichListItemActionDisabled(action: TableDetailListItemAction | any, row: any, rowIndex: number, node: TableDetailRichListNode | any, entry: unknown, itemIndex: number): boolean;
|
|
1192
|
+
onExpansionDetailRichListItemAction(action: TableDetailListItemAction | any, row: any, rowIndex: number, node: TableDetailRichListNode | any, entry: unknown, itemIndex: number, event: Event): void;
|
|
1138
1193
|
getExpansionDetailListItemRichContentNodes(entry: unknown): RichBlockNode[] | null;
|
|
1139
1194
|
getExpansionDetailActionId(node: any): string;
|
|
1140
1195
|
getExpansionDetailActionLabel(node: any): string;
|
|
1141
1196
|
getExpansionDetailActionStatusText(node: any): string | null;
|
|
1197
|
+
getExpansionDetailActionBarTitle(node: TableDetailActionBarNode | any): string;
|
|
1198
|
+
getExpansionDetailActionBarActions(node: TableDetailActionBarNode | any, row: any, index: number): TableDetailActionBarAction[];
|
|
1199
|
+
getExpansionDetailActionBarActionNodes(action: TableDetailActionBarAction | any): RichBlockNode[];
|
|
1200
|
+
isExpansionDetailActionBarActionDisabled(action: TableDetailActionBarAction | any, row: any, index: number): boolean;
|
|
1201
|
+
getExpansionDetailActionBarEmptyText(node: TableDetailActionBarNode | any): string;
|
|
1202
|
+
onExpansionDetailActionBarAction(action: TableDetailActionBarAction | any, row: any, index: number, event: Event): void;
|
|
1203
|
+
getExpansionDetailEmbedHeaderNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1204
|
+
getExpansionDetailEmbedMetaNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1205
|
+
getExpansionDetailEmbedActionNodes(action: TableDetailEmbedAction | any): RichBlockNode[];
|
|
1206
|
+
getExpansionDetailEmbedAction(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any, row: any, index: number): TableDetailEmbedAction | null;
|
|
1207
|
+
isExpansionDetailEmbedActionDisabled(action: TableDetailEmbedAction | any, row: any, index: number): boolean;
|
|
1208
|
+
getExpansionDetailEmbedEmptyText(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): string;
|
|
1209
|
+
getExpansionDetailDiagramSource(row: any, node: TableDetailDiagramEmbedNode | any): string | null;
|
|
1210
|
+
getExpansionDetailDiagramSourceLabel(): string;
|
|
1211
|
+
onExpansionDetailEmbedAction(action: TableDetailEmbedAction | any, row: any, index: number, event: Event): void;
|
|
1212
|
+
private isExpansionDetailEmbedActionVisible;
|
|
1213
|
+
private getExpansionDetailEmbedLabel;
|
|
1214
|
+
private getExpansionDetailEmbedReference;
|
|
1215
|
+
private getExpansionDetailDiagramProvider;
|
|
1216
|
+
private getExpansionDetailEmbedPresetLabel;
|
|
1217
|
+
private getExpansionDetailEmbedInputsSummary;
|
|
1142
1218
|
getExpansionDetailTextRichContentNodes(text: string | null | undefined, className?: string): RichBlockNode[];
|
|
1143
1219
|
getTableChromeTextRichContentNodes(text: string | null | undefined, className?: string): RichBlockNode[];
|
|
1144
1220
|
getRowActionRichContentNodes(action: any): RichBlockNode[];
|
|
1145
1221
|
getRowActionIconRichContentNodes(action: any): RichBlockNode[];
|
|
1146
1222
|
getExpansionDetailActionRichContentNodes(node: any): RichBlockNode[];
|
|
1223
|
+
private isExpansionDetailActionBarActionVisible;
|
|
1147
1224
|
getExpansionDetailTabButtonRichContentNodes(tab: any): RichBlockNode[];
|
|
1148
1225
|
private getExpansionDetailTabBadgeLabel;
|
|
1149
1226
|
isExpansionDetailActionDisabled(node: any): boolean;
|
|
@@ -1151,14 +1228,19 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1151
1228
|
formatExpansionDetailListEntry(entry: unknown): string;
|
|
1152
1229
|
private getExpansionDetailObjectListLabel;
|
|
1153
1230
|
private getExpansionDetailObjectListBadgeLabel;
|
|
1231
|
+
private evaluateExpansionDetailRichListItemPayload;
|
|
1232
|
+
private isExpansionDetailRichListItemActionVisible;
|
|
1233
|
+
private evaluateExpansionDetailRichListItemCondition;
|
|
1154
1234
|
getExpansionDetailRichText(node: any): string;
|
|
1155
1235
|
getExpansionDetailRichContentContext(row: any, index: number): JsonLogicRecord;
|
|
1156
1236
|
getExpansionDetailRichContentNodes(node: any, row: any, index: number): RichBlockNode[] | null;
|
|
1157
1237
|
getExpansionDetailTabRichContentNodes(tab: any, row: any, index: number): RichBlockNode[] | null;
|
|
1158
1238
|
private mapExpansionDetailNodeToRichContent;
|
|
1239
|
+
private mapExpansionDetailMediaBlockNodeToRichContent;
|
|
1159
1240
|
private mapExpansionDetailCardNodeToRichContent;
|
|
1160
1241
|
private mapExpansionDetailStackNodeToRichContent;
|
|
1161
1242
|
private mapExpansionDetailValueNodeToRichContent;
|
|
1243
|
+
private mapExpansionDetailTimelineNodeToRichContent;
|
|
1162
1244
|
getExpansionDetailTabId(row: any, index: number, tab: any, tabIndex: number): string;
|
|
1163
1245
|
getExpansionDetailPanelId(row: any, index: number, tab: any, tabIndex: number): string;
|
|
1164
1246
|
getExpansionDetailTabToken(tab: any, tabIndex: number): string;
|
|
@@ -1179,6 +1261,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1179
1261
|
private sanitizeExpansionDetailSchema;
|
|
1180
1262
|
private sanitizeExpansionDetailNodes;
|
|
1181
1263
|
private sanitizeExpansionDetailNode;
|
|
1264
|
+
private sanitizeExpansionDetailMediaBlockNode;
|
|
1265
|
+
private sanitizeExpansionDetailCardGridCards;
|
|
1182
1266
|
private buildExpansionBlockedPlaceholderNode;
|
|
1183
1267
|
private interpolateExpansionResourcePath;
|
|
1184
1268
|
private isExpansionResourcePathAllowed;
|
|
@@ -1523,6 +1607,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1523
1607
|
private coerceExpected;
|
|
1524
1608
|
getImageSrc(row: any, column: ColumnDefinition): string | null;
|
|
1525
1609
|
getImageAlt(row: any, column: ColumnDefinition): string | null;
|
|
1610
|
+
getImageRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
1526
1611
|
getImageWidth(row: any, column: ColumnDefinition): number | null;
|
|
1527
1612
|
getImageHeight(row: any, column: ColumnDefinition): number | null;
|
|
1528
1613
|
getImageShape(row: any, column: ColumnDefinition): 'square' | 'rounded' | 'circle' | undefined;
|
|
@@ -1575,6 +1660,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1575
1660
|
getProgressWidthPercentStyle(row: any, column: ColumnDefinition): number | null;
|
|
1576
1661
|
getProgressBackgroundStyle(row: any, column: ColumnDefinition): string | null;
|
|
1577
1662
|
getProgressShowLabel(row: any, column: ColumnDefinition): boolean;
|
|
1663
|
+
getProgressRichContentContext(row: any, column: ColumnDefinition): JsonLogicRecord;
|
|
1664
|
+
getProgressRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
1578
1665
|
getRatingValue(row: any, column: ColumnDefinition): number;
|
|
1579
1666
|
getRatingMax(_row: any, column: ColumnDefinition): number;
|
|
1580
1667
|
getRatingColor(_row: any, column: ColumnDefinition): string | undefined;
|
|
@@ -1594,6 +1681,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1594
1681
|
getToggleAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
1595
1682
|
onToggleChange(row: any, column: ColumnDefinition, event: any): void;
|
|
1596
1683
|
getMenuAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
1684
|
+
getMenuTriggerRichContentNodes(): RichBlockNode[];
|
|
1597
1685
|
private evaluateArrayExpr;
|
|
1598
1686
|
getMenuItems(row: any, column: ColumnDefinition): Array<{
|
|
1599
1687
|
label: string;
|
|
@@ -3267,6 +3355,84 @@ declare function buildTableApplyPlan(doc: TableAuthoringDocument, runtime?: Tabl
|
|
|
3267
3355
|
}): TableApplyPlan;
|
|
3268
3356
|
declare function serializeTableAuthoringDocument(doc: TableAuthoringDocument): unknown;
|
|
3269
3357
|
|
|
3358
|
+
declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
3359
|
+
private readonly i18n;
|
|
3360
|
+
config: TableConfig;
|
|
3361
|
+
readonly: boolean;
|
|
3362
|
+
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
3363
|
+
workingConfig: TableConfig;
|
|
3364
|
+
toolbarTitle: string;
|
|
3365
|
+
toolbarSubtitle: string;
|
|
3366
|
+
toolbarVisible: boolean;
|
|
3367
|
+
density: 'compact' | 'comfortable' | 'spacious';
|
|
3368
|
+
toolbarActionsPosition: 'top' | 'bottom' | 'both';
|
|
3369
|
+
toolbarHeight: number;
|
|
3370
|
+
toolbarActionsBackgroundColor: string;
|
|
3371
|
+
paginationEnabled: boolean;
|
|
3372
|
+
pageSize: number;
|
|
3373
|
+
pageSizeOptionsText: string;
|
|
3374
|
+
showFirstLastButtons: boolean;
|
|
3375
|
+
paginationStrategy: 'client' | 'server';
|
|
3376
|
+
paginationPosition: 'top' | 'bottom' | 'both';
|
|
3377
|
+
paginationStyle: 'default' | 'simple' | 'advanced' | 'compact';
|
|
3378
|
+
sortingEnabled: boolean;
|
|
3379
|
+
sortingStrategy: 'client' | 'server';
|
|
3380
|
+
allowClearSort: boolean;
|
|
3381
|
+
defaultSortField: string;
|
|
3382
|
+
defaultSortDirection: 'asc' | 'desc';
|
|
3383
|
+
loadingMessage: string;
|
|
3384
|
+
emptyMessage: string;
|
|
3385
|
+
noResultsMessage: string;
|
|
3386
|
+
errorMessage: string;
|
|
3387
|
+
loadingMoreMessage: string;
|
|
3388
|
+
private lastInputSignature;
|
|
3389
|
+
constructor(i18n: PraxisI18nService);
|
|
3390
|
+
ngOnChanges(): void;
|
|
3391
|
+
setToolbarTitle(value: string): void;
|
|
3392
|
+
setToolbarSubtitle(value: string): void;
|
|
3393
|
+
setToolbarVisible(value: boolean): void;
|
|
3394
|
+
setDensity(value: 'compact' | 'comfortable' | 'spacious'): void;
|
|
3395
|
+
setToolbarActionsPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
3396
|
+
setToolbarHeight(value: number | string): void;
|
|
3397
|
+
setToolbarActionsBackgroundColor(value: string): void;
|
|
3398
|
+
setPaginationEnabled(value: boolean): void;
|
|
3399
|
+
setPaginationPageSize(value: number | string): void;
|
|
3400
|
+
setPaginationPageSizeOptions(value: string): void;
|
|
3401
|
+
setPaginationShowFirstLastButtons(value: boolean): void;
|
|
3402
|
+
setPaginationStrategy(value: 'client' | 'server'): void;
|
|
3403
|
+
setPaginationPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
3404
|
+
setPaginationStyle(value: 'default' | 'simple' | 'advanced' | 'compact'): void;
|
|
3405
|
+
setSortingEnabled(value: boolean): void;
|
|
3406
|
+
setSortingStrategy(value: 'client' | 'server'): void;
|
|
3407
|
+
setSortingAllowClear(value: boolean): void;
|
|
3408
|
+
setSortingDefaultField(value: string): void;
|
|
3409
|
+
setSortingDefaultDirection(value: 'asc' | 'desc'): void;
|
|
3410
|
+
setStateMessage(key: 'loading' | 'empty' | 'noResults' | 'error', value: string): void;
|
|
3411
|
+
onColumnsConfigChange(config: TableConfig): void;
|
|
3412
|
+
columnCountLabel(): string;
|
|
3413
|
+
toolbarSummary(): string;
|
|
3414
|
+
densitySummary(): string;
|
|
3415
|
+
actionsPositionSummary(): string;
|
|
3416
|
+
behaviorSummary(): string;
|
|
3417
|
+
statesSummary(): string;
|
|
3418
|
+
columnsPreviewSummary(): string;
|
|
3419
|
+
serializedConfig(): string;
|
|
3420
|
+
tx(key: string, fallback: string): string;
|
|
3421
|
+
private emitConfig;
|
|
3422
|
+
private patchToolbar;
|
|
3423
|
+
private patchBehavior;
|
|
3424
|
+
private patchPagination;
|
|
3425
|
+
private patchSorting;
|
|
3426
|
+
private patchMessages;
|
|
3427
|
+
private arrayToString;
|
|
3428
|
+
private parseNumberList;
|
|
3429
|
+
private buildDefaultSort;
|
|
3430
|
+
private getDefaultSortField;
|
|
3431
|
+
private getDefaultSortDirection;
|
|
3432
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
|
|
3433
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTableInlineAuthoringEditorComponent, "praxis-table-inline-authoring-editor", never, { "config": { "alias": "config"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "configChange": "configChange"; }, never, never, true, never>;
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3270
3436
|
interface ValueMappingPair {
|
|
3271
3437
|
key: string | number | boolean;
|
|
3272
3438
|
value: string;
|
|
@@ -3510,5 +3676,5 @@ interface CapabilityCatalog extends AiCapabilityCatalog {
|
|
|
3510
3676
|
}
|
|
3511
3677
|
declare const TABLE_COMPONENT_AI_CAPABILITIES: CapabilityCatalog;
|
|
3512
3678
|
|
|
3513
|
-
export { AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_TABLE_COMPONENT_METADATA, PraxisFilter, PraxisTable, PraxisTableConfigEditor, PraxisTableToolbar, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, buildTableApplyPlan, createTableAuthoringDocument, getActionId, getEnum, getTableCapabilities, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisFilterMetadata, providePraxisTableMetadata, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
3679
|
+
export { AnalyticsTableConfigAdapterService, AnalyticsTableContractService, AnalyticsTableStatsApiService, BOOLEAN_PRESETS, BehaviorConfigEditorComponent, CURRENCY_PRESETS, ColumnsConfigEditorComponent, DATE_PRESETS, DataFormatterComponent, DataFormattingService, FORMULA_TEMPLATES, FilterConfigService, FilterSettingsComponent, FormulaGeneratorService, JsonConfigEditorComponent, MessagesLocalizationEditorComponent, NUMBER_PRESETS, PERCENTAGE_PRESETS, PRAXIS_FILTER_COMPONENT_METADATA, PRAXIS_TABLE_COMPONENT_METADATA, PraxisFilter, PraxisTable, PraxisTableConfigEditor, PraxisTableInlineAuthoringEditorComponent, PraxisTableToolbar, STRING_PRESETS, TABLE_AI_CAPABILITIES, TABLE_COMPONENT_AI_CAPABILITIES, TASK_PRESETS, TableDefaultsProvider, TableRulesEditorComponent, ToolbarActionsEditorComponent, ValueMappingEditorComponent, VisualFormulaBuilderComponent, buildTableApplyPlan, createTableAuthoringDocument, getActionId, getEnum, getTableCapabilities, isTableRendererSupportedByRichContentP0, mapTableRendererToRichContentP0, normalizeTableAuthoringDocument, parseLegacyOrTableDocument, providePraxisFilterMetadata, providePraxisTableMetadata, serializeTableAuthoringDocument, toCanonicalTableConfig, validateTableAuthoringDocument };
|
|
3514
3680
|
export type { ActionLike, AnalyticsTableConfigAdapterOptions, AnalyticsTableContractDefinition, AnalyticsTableContractLoadOptions, AnalyticsTableContractLoadResult, AnalyticsTableContractSource, AnalyticsTableRow, AnalyticsTableViewModel, ArithmeticParams, BehaviorConfigChange, BooleanFormatterOptions, BulkAction, Capability$1 as Capability, CapabilityCatalog$1 as CapabilityCatalog, CapabilityCategory$1 as CapabilityCategory, ColumnChange, ColumnDataType$1 as ColumnDataType, ConcatenationParams, ConditionalMappingParams, CurrencyFormatterOptions, DataFormattingOptions, DataMode, DateFormatterOptions, DefaultValueParams, EditorDiagnostic, EditorDocument, FieldSchema, FilterConfig, FilterTag, FormatPreset, FormatterConfig, FormulaDefinition, FormulaParameterSchema, FormulaParams, FormulaTemplate, FormulaType, I18n, JsonEditorEvent, JsonValidationResult, MessagesLocalizationChange, NestedPropertyParams, NumberFormatterOptions, PercentageFormatterOptions, ResourcePathIntent, RowAction, RowExpansionChangeBase, RowExpansionChangeEvent, RowExpansionReasonCode, RowExpansionTrigger, StringFormatterOptions, TableApplyPlan, TableAuthoringDocument, TableBindings, Capability as TableComponentCapability, CapabilityCatalog as TableComponentCapabilityCatalog, CapabilityCategory as TableComponentCapabilityCategory, ValueKind as TableComponentValueKind, TableHorizontalScroll, TableProjectionContext, TableRichContentP0Node, TableRuntimeContext, TableValidationContext, ToolbarAction, ToolbarActionsChange, ValueKind$1 as ValueKind, ValueMappingPair };
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0-beta.0",
|
|
4
4
|
"description": "Advanced data table for Angular (Praxis UI) with editing, filtering, sorting, virtualization, and settings panel integration.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^20.0.0",
|
|
7
7
|
"@angular/core": "^20.0.0",
|
|
8
|
-
"@praxisui/core": "^
|
|
9
|
-
"@praxisui/dynamic-fields": "^
|
|
10
|
-
"@praxisui/dynamic-form": "^
|
|
11
|
-
"@praxisui/metadata-editor": "^
|
|
12
|
-
"@praxisui/rich-content": "^
|
|
13
|
-
"@praxisui/settings-panel": "^
|
|
14
|
-
"@praxisui/table-rule-builder": "^
|
|
8
|
+
"@praxisui/core": "^7.0.0-beta.0",
|
|
9
|
+
"@praxisui/dynamic-fields": "^7.0.0-beta.0",
|
|
10
|
+
"@praxisui/dynamic-form": "^7.0.0-beta.0",
|
|
11
|
+
"@praxisui/metadata-editor": "^7.0.0-beta.0",
|
|
12
|
+
"@praxisui/rich-content": "^7.0.0-beta.0",
|
|
13
|
+
"@praxisui/settings-panel": "^7.0.0-beta.0",
|
|
14
|
+
"@praxisui/table-rule-builder": "^7.0.0-beta.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tslib": "^2.3.0"
|