@praxisui/table 6.0.0-beta.0 → 8.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 +2583 -22
- package/index.d.ts +175 -3
- 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,
|
|
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, JsonLogicDataRecord, 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,70 @@ 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): JsonLogicDataRecord;
|
|
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 resolveExpansionDetailTimelineObjectValue;
|
|
1182
|
+
private resolveExpansionDetailTimelineExpressionValue;
|
|
1183
|
+
private getExpansionDetailTimelineObjectValue;
|
|
1184
|
+
private normalizeExpansionDetailCardGridCardContent;
|
|
1185
|
+
private normalizeExpansionDetailMediaBlockAvatar;
|
|
1186
|
+
private normalizeExpansionDetailMediaBlockText;
|
|
1187
|
+
private normalizeExpansionDetailMediaBlockMeta;
|
|
1188
|
+
private normalizeExpansionDetailMediaBlockTrailing;
|
|
1189
|
+
private normalizeExpansionDetailComposeItems;
|
|
1190
|
+
private isExpansionDetailCardGridContentNode;
|
|
1191
|
+
private isExpansionDetailComposeItemNode;
|
|
1192
|
+
getExpansionDetailRichListItemActionNodes(action: TableDetailListItemAction | any): RichBlockNode[];
|
|
1193
|
+
isExpansionDetailRichListItemActionDisabled(action: TableDetailListItemAction | any, row: any, rowIndex: number, node: TableDetailRichListNode | any, entry: unknown, itemIndex: number): boolean;
|
|
1194
|
+
onExpansionDetailRichListItemAction(action: TableDetailListItemAction | any, row: any, rowIndex: number, node: TableDetailRichListNode | any, entry: unknown, itemIndex: number, event: Event): void;
|
|
1138
1195
|
getExpansionDetailListItemRichContentNodes(entry: unknown): RichBlockNode[] | null;
|
|
1139
1196
|
getExpansionDetailActionId(node: any): string;
|
|
1140
1197
|
getExpansionDetailActionLabel(node: any): string;
|
|
1141
1198
|
getExpansionDetailActionStatusText(node: any): string | null;
|
|
1199
|
+
getExpansionDetailActionBarTitle(node: TableDetailActionBarNode | any): string;
|
|
1200
|
+
getExpansionDetailActionBarActions(node: TableDetailActionBarNode | any, row: any, index: number): TableDetailActionBarAction[];
|
|
1201
|
+
getExpansionDetailActionBarActionNodes(action: TableDetailActionBarAction | any): RichBlockNode[];
|
|
1202
|
+
isExpansionDetailActionBarActionDisabled(action: TableDetailActionBarAction | any, row: any, index: number): boolean;
|
|
1203
|
+
getExpansionDetailActionBarEmptyText(node: TableDetailActionBarNode | any): string;
|
|
1204
|
+
onExpansionDetailActionBarAction(action: TableDetailActionBarAction | any, row: any, index: number, event: Event): void;
|
|
1205
|
+
getExpansionDetailEmbedHeaderNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1206
|
+
getExpansionDetailEmbedMetaNodes(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): RichBlockNode[];
|
|
1207
|
+
getExpansionDetailEmbedActionNodes(action: TableDetailEmbedAction | any): RichBlockNode[];
|
|
1208
|
+
getExpansionDetailEmbedAction(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any, row: any, index: number): TableDetailEmbedAction | null;
|
|
1209
|
+
isExpansionDetailEmbedActionDisabled(action: TableDetailEmbedAction | any, row: any, index: number): boolean;
|
|
1210
|
+
getExpansionDetailEmbedEmptyText(node: TableDetailRefNode | TableDetailTemplateRefNode | TableDetailDiagramEmbedNode | any): string;
|
|
1211
|
+
getExpansionDetailDiagramSource(row: any, node: TableDetailDiagramEmbedNode | any): string | null;
|
|
1212
|
+
getExpansionDetailDiagramSourceLabel(): string;
|
|
1213
|
+
onExpansionDetailEmbedAction(action: TableDetailEmbedAction | any, row: any, index: number, event: Event): void;
|
|
1214
|
+
private isExpansionDetailEmbedActionVisible;
|
|
1215
|
+
private getExpansionDetailEmbedLabel;
|
|
1216
|
+
private getExpansionDetailEmbedReference;
|
|
1217
|
+
private getExpansionDetailDiagramProvider;
|
|
1218
|
+
private getExpansionDetailEmbedPresetLabel;
|
|
1219
|
+
private getExpansionDetailEmbedInputsSummary;
|
|
1142
1220
|
getExpansionDetailTextRichContentNodes(text: string | null | undefined, className?: string): RichBlockNode[];
|
|
1143
1221
|
getTableChromeTextRichContentNodes(text: string | null | undefined, className?: string): RichBlockNode[];
|
|
1144
1222
|
getRowActionRichContentNodes(action: any): RichBlockNode[];
|
|
1145
1223
|
getRowActionIconRichContentNodes(action: any): RichBlockNode[];
|
|
1146
1224
|
getExpansionDetailActionRichContentNodes(node: any): RichBlockNode[];
|
|
1225
|
+
private isExpansionDetailActionBarActionVisible;
|
|
1147
1226
|
getExpansionDetailTabButtonRichContentNodes(tab: any): RichBlockNode[];
|
|
1148
1227
|
private getExpansionDetailTabBadgeLabel;
|
|
1149
1228
|
isExpansionDetailActionDisabled(node: any): boolean;
|
|
@@ -1151,14 +1230,19 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1151
1230
|
formatExpansionDetailListEntry(entry: unknown): string;
|
|
1152
1231
|
private getExpansionDetailObjectListLabel;
|
|
1153
1232
|
private getExpansionDetailObjectListBadgeLabel;
|
|
1233
|
+
private evaluateExpansionDetailRichListItemPayload;
|
|
1234
|
+
private isExpansionDetailRichListItemActionVisible;
|
|
1235
|
+
private evaluateExpansionDetailRichListItemCondition;
|
|
1154
1236
|
getExpansionDetailRichText(node: any): string;
|
|
1155
|
-
getExpansionDetailRichContentContext(row: any, index: number):
|
|
1237
|
+
getExpansionDetailRichContentContext(row: any, index: number): JsonLogicDataRecord;
|
|
1156
1238
|
getExpansionDetailRichContentNodes(node: any, row: any, index: number): RichBlockNode[] | null;
|
|
1157
1239
|
getExpansionDetailTabRichContentNodes(tab: any, row: any, index: number): RichBlockNode[] | null;
|
|
1158
1240
|
private mapExpansionDetailNodeToRichContent;
|
|
1241
|
+
private mapExpansionDetailMediaBlockNodeToRichContent;
|
|
1159
1242
|
private mapExpansionDetailCardNodeToRichContent;
|
|
1160
1243
|
private mapExpansionDetailStackNodeToRichContent;
|
|
1161
1244
|
private mapExpansionDetailValueNodeToRichContent;
|
|
1245
|
+
private mapExpansionDetailTimelineNodeToRichContent;
|
|
1162
1246
|
getExpansionDetailTabId(row: any, index: number, tab: any, tabIndex: number): string;
|
|
1163
1247
|
getExpansionDetailPanelId(row: any, index: number, tab: any, tabIndex: number): string;
|
|
1164
1248
|
getExpansionDetailTabToken(tab: any, tabIndex: number): string;
|
|
@@ -1179,6 +1263,10 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1179
1263
|
private sanitizeExpansionDetailSchema;
|
|
1180
1264
|
private sanitizeExpansionDetailNodes;
|
|
1181
1265
|
private sanitizeExpansionDetailNode;
|
|
1266
|
+
private sanitizeExpansionDetailMediaBlockNode;
|
|
1267
|
+
private sanitizeExpansionDetailCardGridCards;
|
|
1268
|
+
private getExpansionDetailCardGridContentTypes;
|
|
1269
|
+
private getExpansionDetailComposeItemTypes;
|
|
1182
1270
|
private buildExpansionBlockedPlaceholderNode;
|
|
1183
1271
|
private interpolateExpansionResourcePath;
|
|
1184
1272
|
private isExpansionResourcePathAllowed;
|
|
@@ -1412,6 +1500,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1412
1500
|
private stringifyDependencyValue;
|
|
1413
1501
|
private buildComputedValueMap;
|
|
1414
1502
|
private buildEvaluationContext;
|
|
1503
|
+
private getJsonLogicEvaluationOptions;
|
|
1504
|
+
private resolveJsonLogicUserTimeZone;
|
|
1415
1505
|
private isUnsafeComputedField;
|
|
1416
1506
|
private evaluateStyleRule;
|
|
1417
1507
|
private evaluateActionVisibilityCondition;
|
|
@@ -1523,6 +1613,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1523
1613
|
private coerceExpected;
|
|
1524
1614
|
getImageSrc(row: any, column: ColumnDefinition): string | null;
|
|
1525
1615
|
getImageAlt(row: any, column: ColumnDefinition): string | null;
|
|
1616
|
+
getImageRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
1526
1617
|
getImageWidth(row: any, column: ColumnDefinition): number | null;
|
|
1527
1618
|
getImageHeight(row: any, column: ColumnDefinition): number | null;
|
|
1528
1619
|
getImageShape(row: any, column: ColumnDefinition): 'square' | 'rounded' | 'circle' | undefined;
|
|
@@ -1575,6 +1666,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1575
1666
|
getProgressWidthPercentStyle(row: any, column: ColumnDefinition): number | null;
|
|
1576
1667
|
getProgressBackgroundStyle(row: any, column: ColumnDefinition): string | null;
|
|
1577
1668
|
getProgressShowLabel(row: any, column: ColumnDefinition): boolean;
|
|
1669
|
+
getProgressRichContentContext(row: any, column: ColumnDefinition): JsonLogicDataRecord;
|
|
1670
|
+
getProgressRichContentNodes(row: any, column: ColumnDefinition): RichBlockNode[];
|
|
1578
1671
|
getRatingValue(row: any, column: ColumnDefinition): number;
|
|
1579
1672
|
getRatingMax(_row: any, column: ColumnDefinition): number;
|
|
1580
1673
|
getRatingColor(_row: any, column: ColumnDefinition): string | undefined;
|
|
@@ -1594,6 +1687,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterCont
|
|
|
1594
1687
|
getToggleAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
1595
1688
|
onToggleChange(row: any, column: ColumnDefinition, event: any): void;
|
|
1596
1689
|
getMenuAriaLabel(row: any, column: ColumnDefinition): string | null;
|
|
1690
|
+
getMenuTriggerRichContentNodes(): RichBlockNode[];
|
|
1597
1691
|
private evaluateArrayExpr;
|
|
1598
1692
|
getMenuItems(row: any, column: ColumnDefinition): Array<{
|
|
1599
1693
|
label: string;
|
|
@@ -3267,6 +3361,84 @@ declare function buildTableApplyPlan(doc: TableAuthoringDocument, runtime?: Tabl
|
|
|
3267
3361
|
}): TableApplyPlan;
|
|
3268
3362
|
declare function serializeTableAuthoringDocument(doc: TableAuthoringDocument): unknown;
|
|
3269
3363
|
|
|
3364
|
+
declare class PraxisTableInlineAuthoringEditorComponent implements OnChanges {
|
|
3365
|
+
private readonly i18n;
|
|
3366
|
+
config: TableConfig;
|
|
3367
|
+
readonly: boolean;
|
|
3368
|
+
configChange: EventEmitter<_praxisui_core.TableConfigModern>;
|
|
3369
|
+
workingConfig: TableConfig;
|
|
3370
|
+
toolbarTitle: string;
|
|
3371
|
+
toolbarSubtitle: string;
|
|
3372
|
+
toolbarVisible: boolean;
|
|
3373
|
+
density: 'compact' | 'comfortable' | 'spacious';
|
|
3374
|
+
toolbarActionsPosition: 'top' | 'bottom' | 'both';
|
|
3375
|
+
toolbarHeight: number;
|
|
3376
|
+
toolbarActionsBackgroundColor: string;
|
|
3377
|
+
paginationEnabled: boolean;
|
|
3378
|
+
pageSize: number;
|
|
3379
|
+
pageSizeOptionsText: string;
|
|
3380
|
+
showFirstLastButtons: boolean;
|
|
3381
|
+
paginationStrategy: 'client' | 'server';
|
|
3382
|
+
paginationPosition: 'top' | 'bottom' | 'both';
|
|
3383
|
+
paginationStyle: 'default' | 'simple' | 'advanced' | 'compact';
|
|
3384
|
+
sortingEnabled: boolean;
|
|
3385
|
+
sortingStrategy: 'client' | 'server';
|
|
3386
|
+
allowClearSort: boolean;
|
|
3387
|
+
defaultSortField: string;
|
|
3388
|
+
defaultSortDirection: 'asc' | 'desc';
|
|
3389
|
+
loadingMessage: string;
|
|
3390
|
+
emptyMessage: string;
|
|
3391
|
+
noResultsMessage: string;
|
|
3392
|
+
errorMessage: string;
|
|
3393
|
+
loadingMoreMessage: string;
|
|
3394
|
+
private lastInputSignature;
|
|
3395
|
+
constructor(i18n: PraxisI18nService);
|
|
3396
|
+
ngOnChanges(): void;
|
|
3397
|
+
setToolbarTitle(value: string): void;
|
|
3398
|
+
setToolbarSubtitle(value: string): void;
|
|
3399
|
+
setToolbarVisible(value: boolean): void;
|
|
3400
|
+
setDensity(value: 'compact' | 'comfortable' | 'spacious'): void;
|
|
3401
|
+
setToolbarActionsPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
3402
|
+
setToolbarHeight(value: number | string): void;
|
|
3403
|
+
setToolbarActionsBackgroundColor(value: string): void;
|
|
3404
|
+
setPaginationEnabled(value: boolean): void;
|
|
3405
|
+
setPaginationPageSize(value: number | string): void;
|
|
3406
|
+
setPaginationPageSizeOptions(value: string): void;
|
|
3407
|
+
setPaginationShowFirstLastButtons(value: boolean): void;
|
|
3408
|
+
setPaginationStrategy(value: 'client' | 'server'): void;
|
|
3409
|
+
setPaginationPosition(value: 'top' | 'bottom' | 'both'): void;
|
|
3410
|
+
setPaginationStyle(value: 'default' | 'simple' | 'advanced' | 'compact'): void;
|
|
3411
|
+
setSortingEnabled(value: boolean): void;
|
|
3412
|
+
setSortingStrategy(value: 'client' | 'server'): void;
|
|
3413
|
+
setSortingAllowClear(value: boolean): void;
|
|
3414
|
+
setSortingDefaultField(value: string): void;
|
|
3415
|
+
setSortingDefaultDirection(value: 'asc' | 'desc'): void;
|
|
3416
|
+
setStateMessage(key: 'loading' | 'empty' | 'noResults' | 'error', value: string): void;
|
|
3417
|
+
onColumnsConfigChange(config: TableConfig): void;
|
|
3418
|
+
columnCountLabel(): string;
|
|
3419
|
+
toolbarSummary(): string;
|
|
3420
|
+
densitySummary(): string;
|
|
3421
|
+
actionsPositionSummary(): string;
|
|
3422
|
+
behaviorSummary(): string;
|
|
3423
|
+
statesSummary(): string;
|
|
3424
|
+
columnsPreviewSummary(): string;
|
|
3425
|
+
serializedConfig(): string;
|
|
3426
|
+
tx(key: string, fallback: string): string;
|
|
3427
|
+
private emitConfig;
|
|
3428
|
+
private patchToolbar;
|
|
3429
|
+
private patchBehavior;
|
|
3430
|
+
private patchPagination;
|
|
3431
|
+
private patchSorting;
|
|
3432
|
+
private patchMessages;
|
|
3433
|
+
private arrayToString;
|
|
3434
|
+
private parseNumberList;
|
|
3435
|
+
private buildDefaultSort;
|
|
3436
|
+
private getDefaultSortField;
|
|
3437
|
+
private getDefaultSortDirection;
|
|
3438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTableInlineAuthoringEditorComponent, never>;
|
|
3439
|
+
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>;
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3270
3442
|
interface ValueMappingPair {
|
|
3271
3443
|
key: string | number | boolean;
|
|
3272
3444
|
value: string;
|
|
@@ -3510,5 +3682,5 @@ interface CapabilityCatalog extends AiCapabilityCatalog {
|
|
|
3510
3682
|
}
|
|
3511
3683
|
declare const TABLE_COMPONENT_AI_CAPABILITIES: CapabilityCatalog;
|
|
3512
3684
|
|
|
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 };
|
|
3685
|
+
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
3686
|
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": "8.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": "^8.0.0-beta.0",
|
|
9
|
+
"@praxisui/dynamic-fields": "^8.0.0-beta.0",
|
|
10
|
+
"@praxisui/dynamic-form": "^8.0.0-beta.0",
|
|
11
|
+
"@praxisui/metadata-editor": "^8.0.0-beta.0",
|
|
12
|
+
"@praxisui/rich-content": "^8.0.0-beta.0",
|
|
13
|
+
"@praxisui/settings-panel": "^8.0.0-beta.0",
|
|
14
|
+
"@praxisui/table-rule-builder": "^8.0.0-beta.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"tslib": "^2.3.0"
|