@praxisui/table 1.0.0-beta.40 → 1.0.0-beta.42
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/fesm2022/{praxisui-table-filter-form-dialog-host.component-CLF05-__.mjs → praxisui-table-filter-form-dialog-host.component-C2rQnHE1.mjs} +4 -4
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-CLF05-__.mjs.map → praxisui-table-filter-form-dialog-host.component-C2rQnHE1.mjs.map} +1 -1
- package/fesm2022/praxisui-table-table-ai.adapter-BuNW3YSp.mjs.map +1 -1
- package/fesm2022/praxisui-table.mjs +658 -173
- package/fesm2022/praxisui-table.mjs.map +1 -1
- package/index.d.ts +41 -2
- package/package.json +7 -7
package/index.d.ts
CHANGED
|
@@ -344,6 +344,8 @@ type I18n = {
|
|
|
344
344
|
retry: string;
|
|
345
345
|
errorLoadingFilters: string;
|
|
346
346
|
settings: string;
|
|
347
|
+
settingsAriaLabel?: string;
|
|
348
|
+
tagActionsAriaLabel?: string;
|
|
347
349
|
save: string;
|
|
348
350
|
cancel: string;
|
|
349
351
|
shortcutsLabel?: string;
|
|
@@ -366,6 +368,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
366
368
|
private schemaNormalizer;
|
|
367
369
|
private componentKeys;
|
|
368
370
|
private route?;
|
|
371
|
+
private logger?;
|
|
369
372
|
resourcePath: string;
|
|
370
373
|
/**
|
|
371
374
|
* Optional static metadata for offline/showcase usage.
|
|
@@ -493,6 +496,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
493
496
|
i18nLabels: I18n;
|
|
494
497
|
private configKey;
|
|
495
498
|
private lastSchemaMeta?;
|
|
499
|
+
private schemaLoadVersion;
|
|
496
500
|
schemaOutdated: boolean;
|
|
497
501
|
anchorRef?: CdkOverlayOrigin;
|
|
498
502
|
addAnchor?: CdkOverlayOrigin;
|
|
@@ -509,6 +513,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
509
513
|
}>;
|
|
510
514
|
private addItemsUpdateQueued;
|
|
511
515
|
private applySchemaQueued;
|
|
516
|
+
private fallbackLogger?;
|
|
517
|
+
private fallbackLoggerEnvironment;
|
|
512
518
|
private isViewInitialized;
|
|
513
519
|
private _dbgPrevAlwaysArrayRef;
|
|
514
520
|
private _dbgPrevToggleArrayRef;
|
|
@@ -533,11 +539,16 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
533
539
|
private filterTagsKey;
|
|
534
540
|
private filterDtoKey;
|
|
535
541
|
private filterSchemaMetaKey;
|
|
542
|
+
private filterSchemaMetaIndexKey;
|
|
543
|
+
private filterSchemaMetaKeyForSchemaId;
|
|
536
544
|
private filterSchemaIgnoreKey;
|
|
537
545
|
private filterSchemaSnoozeKey;
|
|
538
546
|
private filterSchemaNotifiedKey;
|
|
539
|
-
constructor(crud: GenericCrudService<any>, configStorage: AsyncConfigStorage, destroyRef: DestroyRef, filterConfig: FilterConfigService, settingsPanel: SettingsPanelService, snackBar: MatSnackBar, dialog: MatDialog, cdr: ChangeDetectorRef, ngZone: NgZone, dynamicForm: DynamicFormService, schemaNormalizer: SchemaNormalizerService, componentKeys: ComponentKeyService, route?: ActivatedRoute | undefined);
|
|
547
|
+
constructor(crud: GenericCrudService<any>, configStorage: AsyncConfigStorage, destroyRef: DestroyRef, filterConfig: FilterConfigService, settingsPanel: SettingsPanelService, snackBar: MatSnackBar, dialog: MatDialog, cdr: ChangeDetectorRef, ngZone: NgZone, dynamicForm: DynamicFormService, schemaNormalizer: SchemaNormalizerService, componentKeys: ComponentKeyService, route?: ActivatedRoute | undefined, logger?: LoggerService | undefined);
|
|
540
548
|
private readonly global;
|
|
549
|
+
private resolveRuntimeEnvironment;
|
|
550
|
+
private getLogger;
|
|
551
|
+
private buildFilterLogOptions;
|
|
541
552
|
private isFilterDebugEnabled;
|
|
542
553
|
private logFilterDebug;
|
|
543
554
|
private logFilterWarn;
|
|
@@ -571,8 +582,25 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
571
582
|
private equalsDto;
|
|
572
583
|
private normalizeForCompare;
|
|
573
584
|
private buildFilteredSchemaContext;
|
|
585
|
+
private toSchemaIdContext;
|
|
586
|
+
private resetSchemaStateForContextChange;
|
|
587
|
+
private clearSchemaMetaPersistence;
|
|
588
|
+
private clearConfigStorageKey;
|
|
589
|
+
private loadStoredSchemaMeta;
|
|
590
|
+
private rememberSchemaMetaContext;
|
|
591
|
+
private getSchemaMetaKeyForContext;
|
|
592
|
+
private isStoredSchemaMetaForContext;
|
|
593
|
+
private isSameSchemaContext;
|
|
594
|
+
private resolveLocalSchemaHashForContext;
|
|
595
|
+
private persistSchemaMeta;
|
|
596
|
+
private syncSchemaMeta;
|
|
597
|
+
private resolveFallbackSchemaHash;
|
|
598
|
+
private isExplicitlyFilterable;
|
|
599
|
+
private pickSafeGenericFallbackDefs;
|
|
574
600
|
private loadSchemaViaClient;
|
|
601
|
+
private loadSchemaViaCrudFallback;
|
|
575
602
|
loadSchema(): void;
|
|
603
|
+
retrySchemaLoad(): void;
|
|
576
604
|
private applySchemaMetas;
|
|
577
605
|
private applySchemaMetasNow;
|
|
578
606
|
private pickMetasByOrder;
|
|
@@ -617,6 +645,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
617
645
|
/** Persistência centralizada de atalho a partir de um DTO explícito */
|
|
618
646
|
private saveAsShortcutFromDto;
|
|
619
647
|
getAdvancedAriaLabel(): string;
|
|
648
|
+
getSettingsAriaLabel(): string;
|
|
649
|
+
getTagActionsAriaLabel(tag?: FilterTag): string;
|
|
620
650
|
private getSchemaMetaKey;
|
|
621
651
|
private getOutdatedIgnoreKey;
|
|
622
652
|
private getOutdatedSnoozeKey;
|
|
@@ -637,6 +667,8 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
637
667
|
onClear(): void;
|
|
638
668
|
private isEventFromNestedOverlay;
|
|
639
669
|
private ensureAdvancedConfigReady;
|
|
670
|
+
private focusSchemaRetryButton;
|
|
671
|
+
private showAdvancedUnavailableFeedback;
|
|
640
672
|
private openAdvancedModal;
|
|
641
673
|
private openAdvancedDrawer;
|
|
642
674
|
toggleAdvanced(): void;
|
|
@@ -659,7 +691,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
659
691
|
onGlobalKeydown(event: KeyboardEvent): void;
|
|
660
692
|
private isEditableElement;
|
|
661
693
|
private focusQuick;
|
|
662
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
694
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisFilter, [null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
663
695
|
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisFilter, "praxis-filter", never, { "resourcePath": { "alias": "resourcePath"; "required": true; }; "fieldMetadata": { "alias": "fieldMetadata"; "required": false; }; "filterId": { "alias": "filterId"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "editModeEnabled": { "alias": "editModeEnabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "alwaysVisibleFields": { "alias": "alwaysVisibleFields"; "required": false; }; "alwaysVisibleFieldMetadataOverrides": { "alias": "alwaysVisibleFieldMetadataOverrides"; "required": false; }; "selectedFieldIds": { "alias": "selectedFieldIds"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "allowSaveTags": { "alias": "allowSaveTags"; "required": false; }; "persistenceKey": { "alias": "persistenceKey"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "changeDebounceMs": { "alias": "changeDebounceMs"; "required": false; }; "showFilterSettings": { "alias": "showFilterSettings"; "required": false; }; "confirmTagDelete": { "alias": "confirmTagDelete"; "required": false; }; "placeBooleansInActions": { "alias": "placeBooleansInActions"; "required": false; }; "showToggleLabels": { "alias": "showToggleLabels"; "required": false; }; "useInlineSelectVariant": { "alias": "useInlineSelectVariant"; "required": false; }; "useInlineSearchableSelectVariant": { "alias": "useInlineSearchableSelectVariant"; "required": false; }; "useInlineMultiSelectVariant": { "alias": "useInlineMultiSelectVariant"; "required": false; }; "useInlineInputVariant": { "alias": "useInlineInputVariant"; "required": false; }; "useInlineToggleVariant": { "alias": "useInlineToggleVariant"; "required": false; }; "useInlineRangeVariant": { "alias": "useInlineRangeVariant"; "required": false; }; "useInlineDateVariant": { "alias": "useInlineDateVariant"; "required": false; }; "useInlineDateRangeVariant": { "alias": "useInlineDateRangeVariant"; "required": false; }; "useInlineTimeVariant": { "alias": "useInlineTimeVariant"; "required": false; }; "useInlineTimeRangeVariant": { "alias": "useInlineTimeRangeVariant"; "required": false; }; "useInlineTreeSelectVariant": { "alias": "useInlineTreeSelectVariant"; "required": false; }; "alwaysMinWidth": { "alias": "alwaysMinWidth"; "required": false; }; "alwaysColsMd": { "alias": "alwaysColsMd"; "required": false; }; "alwaysColsLg": { "alias": "alwaysColsLg"; "required": false; }; "tagColor": { "alias": "tagColor"; "required": false; }; "tagVariant": { "alias": "tagVariant"; "required": false; }; "tagButtonColor": { "alias": "tagButtonColor"; "required": false; }; "actionsButtonColor": { "alias": "actionsButtonColor"; "required": false; }; "actionsVariant": { "alias": "actionsVariant"; "required": false; }; "overlayVariant": { "alias": "overlayVariant"; "required": false; }; "overlayBackdrop": { "alias": "overlayBackdrop"; "required": false; }; "advancedOpenMode": { "alias": "advancedOpenMode"; "required": false; }; "advancedClearButtonsEnabled": { "alias": "advancedClearButtonsEnabled"; "required": false; }; }, { "submit": "submit"; "change": "change"; "clear": "clear"; "modeChange": "modeChange"; "requestSearch": "requestSearch"; "tagsChange": "tagsChange"; "selectedFieldIdsChange": "selectedFieldIdsChange"; "metaChanged": "metaChanged"; "schemaStatusChange": "schemaStatusChange"; }, never, never, true, never>;
|
|
664
696
|
}
|
|
665
697
|
|
|
@@ -1973,6 +2005,13 @@ declare class FilterSettingsComponent implements OnChanges, AfterViewInit, OnDes
|
|
|
1973
2005
|
newTagPatchText: string;
|
|
1974
2006
|
private tagsLoaded;
|
|
1975
2007
|
private tagsKey;
|
|
2008
|
+
private schemaMetaScopeKey;
|
|
2009
|
+
private schemaMetaIndexKey;
|
|
2010
|
+
private schemaMetaKeyForSchemaId;
|
|
2011
|
+
private filterSchemaIgnoreKey;
|
|
2012
|
+
private filterSchemaSnoozeKey;
|
|
2013
|
+
private filterSchemaNotifiedKey;
|
|
2014
|
+
private clearPersistedSchemaStateByConfigKey;
|
|
1976
2015
|
loadTags(): Promise<void>;
|
|
1977
2016
|
saveTags(): void;
|
|
1978
2017
|
ngAfterViewInit(): void;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.42",
|
|
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": "^1.0.0-beta.
|
|
9
|
-
"@praxisui/dynamic-fields": "^1.0.0-beta.
|
|
10
|
-
"@praxisui/dynamic-form": "^1.0.0-beta.
|
|
11
|
-
"@praxisui/metadata-editor": "^1.0.0-beta.
|
|
12
|
-
"@praxisui/settings-panel": "^1.0.0-beta.
|
|
13
|
-
"@praxisui/table-rule-builder": "^1.0.0-beta.
|
|
8
|
+
"@praxisui/core": "^1.0.0-beta.42",
|
|
9
|
+
"@praxisui/dynamic-fields": "^1.0.0-beta.42",
|
|
10
|
+
"@praxisui/dynamic-form": "^1.0.0-beta.42",
|
|
11
|
+
"@praxisui/metadata-editor": "^1.0.0-beta.42",
|
|
12
|
+
"@praxisui/settings-panel": "^1.0.0-beta.42",
|
|
13
|
+
"@praxisui/table-rule-builder": "^1.0.0-beta.42"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.3.0"
|