@praxisui/table 10.0.0-rc.51 → 10.0.0-rc.53
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/ai/component-registry.json +2 -2
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-C-4lrgNv.mjs → praxisui-table-filter-form-dialog-host.component-CLCfsJY8.mjs} +1 -1
- package/fesm2022/{praxisui-table-praxisui-table-BpCO8h4l.mjs → praxisui-table-praxisui-table-Cl9y7Orf.mjs} +106 -23
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-DWsHIZ-2.mjs → praxisui-table-table-agentic-authoring-turn-flow-exVQQ35H.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-D3nv4f_i.mjs → praxisui-table-table-ai.adapter-C90eFzG_.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/types/praxisui-table.d.ts +11 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-18T18:58:23.543Z",
|
|
4
4
|
"packageName": "@praxisui/table",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.53",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 3,
|
|
@@ -12,7 +12,7 @@ import * as i14 from '@angular/material/tooltip';
|
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import { PraxisFilterForm } from '@praxisui/dynamic-form';
|
|
14
14
|
import { PraxisIconButtonComponent } from '@praxisui/core';
|
|
15
|
-
import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-
|
|
15
|
+
import { aq as projectFilterPayload } from './praxisui-table-praxisui-table-Cl9y7Orf.mjs';
|
|
16
16
|
|
|
17
17
|
class FilterFormDialogHostComponent {
|
|
18
18
|
data;
|
|
@@ -16062,6 +16062,7 @@ class PraxisFilter {
|
|
|
16062
16062
|
}
|
|
16063
16063
|
})();
|
|
16064
16064
|
lastSavedConfigJson = null;
|
|
16065
|
+
hasExplicitEmptyAlwaysVisibleInput = false;
|
|
16065
16066
|
setSchemaLoading(next) {
|
|
16066
16067
|
if (this.schemaLoading === next)
|
|
16067
16068
|
return;
|
|
@@ -16663,6 +16664,11 @@ class PraxisFilter {
|
|
|
16663
16664
|
}
|
|
16664
16665
|
}
|
|
16665
16666
|
}
|
|
16667
|
+
if (changes['alwaysVisibleFields']) {
|
|
16668
|
+
const rawAlwaysVisible = changes['alwaysVisibleFields'].currentValue;
|
|
16669
|
+
this.hasExplicitEmptyAlwaysVisibleInput =
|
|
16670
|
+
Array.isArray(rawAlwaysVisible) && rawAlwaysVisible.length === 0;
|
|
16671
|
+
}
|
|
16666
16672
|
if (changes['alwaysVisibleFields'] &&
|
|
16667
16673
|
!changes['alwaysVisibleFields'].firstChange) {
|
|
16668
16674
|
this.alwaysVisibleFields = this.normalizeFieldIdList(this.alwaysVisibleFields);
|
|
@@ -18080,11 +18086,16 @@ class PraxisFilter {
|
|
|
18080
18086
|
}
|
|
18081
18087
|
}
|
|
18082
18088
|
const configuredAlways = this.pickMetasByOrder(metas, this.alwaysVisibleFields);
|
|
18089
|
+
const schemaInlineAlways = configuredAlways.length === 0 && !this.hasExplicitEmptyAlwaysVisibleInput
|
|
18090
|
+
? metas.filter((m) => m.inlineFilter === true || m.inline === true)
|
|
18091
|
+
: [];
|
|
18083
18092
|
const initialAlways = configuredAlways.length > 0
|
|
18084
18093
|
? configuredAlways
|
|
18085
|
-
:
|
|
18086
|
-
?
|
|
18087
|
-
:
|
|
18094
|
+
: schemaInlineAlways.length > 0
|
|
18095
|
+
? schemaInlineAlways
|
|
18096
|
+
: this.shouldAutoPopulateStandaloneFilterFields()
|
|
18097
|
+
? this.pickDefaultStandaloneFilterMetas(metas)
|
|
18098
|
+
: [];
|
|
18088
18099
|
const alwaysSet = new Set(initialAlways.map((m) => m.name));
|
|
18089
18100
|
if (metas.length > 0 &&
|
|
18090
18101
|
Array.isArray(this.alwaysVisibleFields) &&
|
|
@@ -20342,7 +20353,7 @@ class PraxisFilter {
|
|
|
20342
20353
|
this.advancedOpen = true;
|
|
20343
20354
|
this.saveConfig();
|
|
20344
20355
|
try {
|
|
20345
|
-
const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-
|
|
20356
|
+
const { FilterFormDialogHostComponent } = await import('./praxisui-table-filter-form-dialog-host.component-CLCfsJY8.mjs');
|
|
20346
20357
|
const formId = this.formId || this.filterId || 'filter';
|
|
20347
20358
|
const ref = this.dialog.open(FilterFormDialogHostComponent, {
|
|
20348
20359
|
width: '780px',
|
|
@@ -24168,6 +24179,8 @@ class PraxisTable {
|
|
|
24168
24179
|
filterCriteria = {};
|
|
24169
24180
|
filterCriteriaChange = new EventEmitter();
|
|
24170
24181
|
discoveredQuickFiltersChange = new EventEmitter();
|
|
24182
|
+
discoveredResourceFactsChange = new EventEmitter();
|
|
24183
|
+
discoveredInlineFilterFieldsChange = new EventEmitter();
|
|
24171
24184
|
/**
|
|
24172
24185
|
* Quando `true`, um host (ex.: `praxis-crud` com scope-bar ou `praxis-resource-page`) é o dono do
|
|
24173
24186
|
* escopo padrão (`isDefault`) dos filtros rápidos descobertos e o propaga via `[filterCriteria]`.
|
|
@@ -24380,6 +24393,7 @@ class PraxisTable {
|
|
|
24380
24393
|
schemaFieldsSnapshot = [];
|
|
24381
24394
|
schemaColumnFieldsSnapshot = [];
|
|
24382
24395
|
filterSchemaFieldsSnapshot = [];
|
|
24396
|
+
lastEmittedDiscoveredInlineFilterFieldsKey = null;
|
|
24383
24397
|
runtimeSchemaMeta = {};
|
|
24384
24398
|
schemaError = false;
|
|
24385
24399
|
dataError = false;
|
|
@@ -25371,14 +25385,20 @@ class PraxisTable {
|
|
|
25371
25385
|
}
|
|
25372
25386
|
getAdvancedFilterAlwaysVisibleFields() {
|
|
25373
25387
|
const configured = this.config?.behavior?.filtering?.advancedFilters?.settings?.alwaysVisibleFields;
|
|
25388
|
+
const hasConfigured = Array.isArray(configured);
|
|
25389
|
+
const baseFields = hasConfigured ? configured : this.getSchemaInlineFilterFields();
|
|
25374
25390
|
const runtimePromoted = this.getRuntimePromotedAdvancedFilterFields();
|
|
25375
|
-
const cacheKey = `${(
|
|
25391
|
+
const cacheKey = `${hasConfigured ? '1' : '0'}:${(baseFields || []).join('\u001f')}\u001e${runtimePromoted.join('\u001f')}`;
|
|
25376
25392
|
if (cacheKey !== this.advancedFilterAlwaysVisibleCacheKey) {
|
|
25377
25393
|
this.advancedFilterAlwaysVisibleCacheKey = cacheKey;
|
|
25378
|
-
const merged = this.mergeAdvancedFilterFieldIds(
|
|
25379
|
-
this.advancedFilterAlwaysVisibleCache = merged.length
|
|
25394
|
+
const merged = this.mergeAdvancedFilterFieldIds(baseFields, runtimePromoted);
|
|
25395
|
+
this.advancedFilterAlwaysVisibleCache = merged.length
|
|
25396
|
+
? merged
|
|
25397
|
+
: hasConfigured
|
|
25398
|
+
? configured
|
|
25399
|
+
: undefined;
|
|
25380
25400
|
}
|
|
25381
|
-
return this.advancedFilterAlwaysVisibleCache
|
|
25401
|
+
return this.advancedFilterAlwaysVisibleCache ?? configured;
|
|
25382
25402
|
}
|
|
25383
25403
|
getAdvancedFilterAlwaysVisibleFieldMetadataOverrides() {
|
|
25384
25404
|
const settings = this.config?.behavior?.filtering?.advancedFilters?.settings;
|
|
@@ -25512,6 +25532,7 @@ class PraxisTable {
|
|
|
25512
25532
|
hostDeclaredAppearanceDensity = false;
|
|
25513
25533
|
hostDeclaredAppearanceSpacing = false;
|
|
25514
25534
|
hostDeclaredAppearanceTypography = false;
|
|
25535
|
+
densityOverrodeAppearance = false;
|
|
25515
25536
|
resolveAppearanceDensity() {
|
|
25516
25537
|
const configuredDensity = this.config?.appearance?.density;
|
|
25517
25538
|
const raw = String(configuredDensity || '')
|
|
@@ -26152,9 +26173,37 @@ class PraxisTable {
|
|
|
26152
26173
|
}))
|
|
26153
26174
|
.filter((field) => field.name.trim().length > 0);
|
|
26154
26175
|
}
|
|
26176
|
+
getSchemaInlineFilterFields() {
|
|
26177
|
+
if (!Array.isArray(this.filterSchemaFieldsSnapshot) || this.filterSchemaFieldsSnapshot.length === 0) {
|
|
26178
|
+
return [];
|
|
26179
|
+
}
|
|
26180
|
+
const inlineFields = [];
|
|
26181
|
+
for (const field of this.filterSchemaFieldsSnapshot) {
|
|
26182
|
+
if (field?.inlineFilter !== true && field?.inline !== true)
|
|
26183
|
+
continue;
|
|
26184
|
+
const name = String(field.name || '').trim();
|
|
26185
|
+
if (!name || inlineFields.includes(name))
|
|
26186
|
+
continue;
|
|
26187
|
+
inlineFields.push(name);
|
|
26188
|
+
}
|
|
26189
|
+
return inlineFields;
|
|
26190
|
+
}
|
|
26191
|
+
emitDiscoveredInlineFilterFieldsIfChanged() {
|
|
26192
|
+
const inlineFields = this.getSchemaInlineFilterFields();
|
|
26193
|
+
const nextKey = inlineFields.join('\u001f');
|
|
26194
|
+
if (nextKey === this.lastEmittedDiscoveredInlineFilterFieldsKey) {
|
|
26195
|
+
return;
|
|
26196
|
+
}
|
|
26197
|
+
if (this.lastEmittedDiscoveredInlineFilterFieldsKey === null && inlineFields.length === 0) {
|
|
26198
|
+
return;
|
|
26199
|
+
}
|
|
26200
|
+
this.lastEmittedDiscoveredInlineFilterFieldsKey = nextKey;
|
|
26201
|
+
this.discoveredInlineFilterFieldsChange?.emit([...inlineFields]);
|
|
26202
|
+
}
|
|
26155
26203
|
setFilterSchemaFieldsSnapshot(fields) {
|
|
26156
26204
|
if (!Array.isArray(fields) || fields.length === 0) {
|
|
26157
26205
|
this.filterSchemaFieldsSnapshot = [];
|
|
26206
|
+
this.emitDiscoveredInlineFilterFieldsIfChanged();
|
|
26158
26207
|
return;
|
|
26159
26208
|
}
|
|
26160
26209
|
const tableColumns = this.config?.columns || [];
|
|
@@ -26178,11 +26227,14 @@ class PraxisTable {
|
|
|
26178
26227
|
optionLabelKey: this.normalizeSchemaKey(field?.optionLabelKey),
|
|
26179
26228
|
optionValueKey: this.normalizeSchemaKey(field?.optionValueKey),
|
|
26180
26229
|
enumValues: this.normalizeEnumValues(field?.enumValues),
|
|
26230
|
+
inlineFilter: field?.inlineFilter === true ? true : undefined,
|
|
26231
|
+
inline: field?.inline === true ? true : undefined,
|
|
26181
26232
|
relatedColumnFields: relatedFields.length ? relatedFields : undefined,
|
|
26182
26233
|
relatedColumnLabels: related.labels.length ? related.labels : undefined,
|
|
26183
26234
|
};
|
|
26184
26235
|
})
|
|
26185
26236
|
.filter((field) => field.name.trim().length > 0);
|
|
26237
|
+
this.emitDiscoveredInlineFilterFieldsIfChanged();
|
|
26186
26238
|
}
|
|
26187
26239
|
inferFilterSchemaSourceFields(filterName) {
|
|
26188
26240
|
const name = (filterName || '').trim();
|
|
@@ -27404,7 +27456,7 @@ class PraxisTable {
|
|
|
27404
27456
|
if (this.aiAdapter || this.aiAdapterLoadStarted)
|
|
27405
27457
|
return;
|
|
27406
27458
|
this.aiAdapterLoadStarted = true;
|
|
27407
|
-
import('./praxisui-table-table-ai.adapter-
|
|
27459
|
+
import('./praxisui-table-table-ai.adapter-C90eFzG_.mjs')
|
|
27408
27460
|
.then(({ TableAiAdapter }) => {
|
|
27409
27461
|
if (!this.isAiAssistantEnabled()) {
|
|
27410
27462
|
this.aiAssistantOpenAfterAdapterLoad = false;
|
|
@@ -28176,7 +28228,7 @@ class PraxisTable {
|
|
|
28176
28228
|
initializeAiAssistantController() {
|
|
28177
28229
|
if (!this.aiAdapter || this.aiAssistantController)
|
|
28178
28230
|
return;
|
|
28179
|
-
import('./praxisui-table-table-agentic-authoring-turn-flow-
|
|
28231
|
+
import('./praxisui-table-table-agentic-authoring-turn-flow-exVQQ35H.mjs')
|
|
28180
28232
|
.then(({ TableAgenticAuthoringTurnFlow }) => {
|
|
28181
28233
|
if (this.aiAssistantController || !this.aiAdapter)
|
|
28182
28234
|
return;
|
|
@@ -36511,8 +36563,11 @@ class PraxisTable {
|
|
|
36511
36563
|
const internalFilterSelected = Array.isArray(this.internalFilter?.selectedFieldIds)
|
|
36512
36564
|
? this.internalFilter.selectedFieldIds
|
|
36513
36565
|
: [];
|
|
36566
|
+
const configuredAlways = Array.isArray(settings?.alwaysVisibleFields)
|
|
36567
|
+
? settings.alwaysVisibleFields
|
|
36568
|
+
: this.getSchemaInlineFilterFields();
|
|
36514
36569
|
const alreadyVisible = new Set([
|
|
36515
|
-
...(
|
|
36570
|
+
...(configuredAlways || []),
|
|
36516
36571
|
...(settings?.selectedFieldIds || []),
|
|
36517
36572
|
...internalFilterSelected,
|
|
36518
36573
|
]
|
|
@@ -36697,12 +36752,30 @@ class PraxisTable {
|
|
|
36697
36752
|
if (this.resolveAppearanceDensity() === density)
|
|
36698
36753
|
return;
|
|
36699
36754
|
this.hostDeclaredAppearanceDensity = true;
|
|
36755
|
+
this.densityOverrodeAppearance = true;
|
|
36756
|
+
const prevAppearance = this.config?.appearance || {};
|
|
36757
|
+
const nextAppearance = { ...prevAppearance, density };
|
|
36758
|
+
if (prevAppearance.spacing) {
|
|
36759
|
+
const { cellPadding: _cp, headerPadding: _hp, headerHeight: _hh, ...restSpacing } = prevAppearance.spacing;
|
|
36760
|
+
if (Object.keys(restSpacing).length > 0) {
|
|
36761
|
+
nextAppearance.spacing = restSpacing;
|
|
36762
|
+
}
|
|
36763
|
+
else {
|
|
36764
|
+
delete nextAppearance.spacing;
|
|
36765
|
+
}
|
|
36766
|
+
}
|
|
36767
|
+
if (prevAppearance.typography) {
|
|
36768
|
+
const { fontSize: _fs, headerFontSize: _hfs, ...restTypography } = prevAppearance.typography;
|
|
36769
|
+
if (Object.keys(restTypography).length > 0) {
|
|
36770
|
+
nextAppearance.typography = restTypography;
|
|
36771
|
+
}
|
|
36772
|
+
else {
|
|
36773
|
+
delete nextAppearance.typography;
|
|
36774
|
+
}
|
|
36775
|
+
}
|
|
36700
36776
|
this.config = {
|
|
36701
36777
|
...this.config,
|
|
36702
|
-
appearance:
|
|
36703
|
-
...(this.config?.appearance || {}),
|
|
36704
|
-
density,
|
|
36705
|
-
},
|
|
36778
|
+
appearance: nextAppearance,
|
|
36706
36779
|
};
|
|
36707
36780
|
this.applyAppearanceVariables();
|
|
36708
36781
|
this.cdr.markForCheck();
|
|
@@ -36817,6 +36890,7 @@ class PraxisTable {
|
|
|
36817
36890
|
const currPageSize = cfg?.behavior?.pagination?.pageSize ?? 10;
|
|
36818
36891
|
this.config = { ...cfg };
|
|
36819
36892
|
this.localPageSizeRuntimeOverride = false;
|
|
36893
|
+
this.densityOverrodeAppearance = false;
|
|
36820
36894
|
if (currPageSize !== prevPageSize) {
|
|
36821
36895
|
this.pageIndex = 0;
|
|
36822
36896
|
}
|
|
@@ -39150,6 +39224,10 @@ class PraxisTable {
|
|
|
39150
39224
|
catch { }
|
|
39151
39225
|
// Adotar filtros rápidos canônicos do schema quando a tabela não definiu explicitamente
|
|
39152
39226
|
try {
|
|
39227
|
+
const discoveredFacts = this.crudService.getResourceFacts?.();
|
|
39228
|
+
if (discoveredFacts && discoveredFacts.length > 0) {
|
|
39229
|
+
this.discoveredResourceFactsChange.emit(discoveredFacts.map((fact) => structuredClone(fact)));
|
|
39230
|
+
}
|
|
39153
39231
|
const discoveredQuickFilters = this.crudService.getResourceQuickFilters?.();
|
|
39154
39232
|
if (discoveredQuickFilters && discoveredQuickFilters.length > 0) {
|
|
39155
39233
|
this.discoveredQuickFiltersChange.emit(discoveredQuickFilters.map((item) => ({
|
|
@@ -39274,7 +39352,7 @@ class PraxisTable {
|
|
|
39274
39352
|
}
|
|
39275
39353
|
loadFilterSchemaSnapshot() {
|
|
39276
39354
|
if (!this.resourcePath) {
|
|
39277
|
-
this.
|
|
39355
|
+
this.setFilterSchemaFieldsSnapshot([]);
|
|
39278
39356
|
return;
|
|
39279
39357
|
}
|
|
39280
39358
|
const resourcePath = this.resourcePath;
|
|
@@ -39291,7 +39369,7 @@ class PraxisTable {
|
|
|
39291
39369
|
error: (error) => {
|
|
39292
39370
|
if (resourcePath !== this.resourcePath)
|
|
39293
39371
|
return;
|
|
39294
|
-
this.
|
|
39372
|
+
this.setFilterSchemaFieldsSnapshot([]);
|
|
39295
39373
|
this.warnLog('[PraxisTable] Nao foi possivel carregar schema de filtro para contexto AI', error);
|
|
39296
39374
|
},
|
|
39297
39375
|
});
|
|
@@ -45347,7 +45425,8 @@ class PraxisTable {
|
|
|
45347
45425
|
}
|
|
45348
45426
|
el.style.setProperty(name, String(rawValue));
|
|
45349
45427
|
};
|
|
45350
|
-
if (
|
|
45428
|
+
if (!this.densityOverrodeAppearance
|
|
45429
|
+
&& typeof spacing.headerHeight === 'number'
|
|
45351
45430
|
&& isFinite(spacing.headerHeight)
|
|
45352
45431
|
&& spacing.headerHeight > 0) {
|
|
45353
45432
|
setOrClearVar('--p-table-header-height-default', `${spacing.headerHeight}px`);
|
|
@@ -45357,10 +45436,10 @@ class PraxisTable {
|
|
|
45357
45436
|
setOrClearVar('--p-table-header-height-default', null);
|
|
45358
45437
|
setOrClearVar('--mat-table-header-container-height', null);
|
|
45359
45438
|
}
|
|
45360
|
-
setOrClearVar('--p-cell-padding-default', this.shouldApplyAppearanceDefaultValue('spacing', 'cellPadding', spacing.cellPadding, this.hostDeclaredAppearanceSpacing) ? spacing.cellPadding : null);
|
|
45361
|
-
setOrClearVar('--p-cell-font-size-default', this.shouldApplyAppearanceDefaultValue('typography', 'fontSize', typo.fontSize, this.hostDeclaredAppearanceTypography) ? typo.fontSize : null);
|
|
45362
|
-
setOrClearVar('--p-header-padding-default', this.shouldApplyAppearanceDefaultValue('spacing', 'headerPadding', spacing.headerPadding, this.hostDeclaredAppearanceSpacing) ? spacing.headerPadding : null);
|
|
45363
|
-
setOrClearVar('--p-header-font-size-default', this.shouldApplyAppearanceDefaultValue('typography', 'headerFontSize', typo.headerFontSize, this.hostDeclaredAppearanceTypography) ? typo.headerFontSize : null);
|
|
45439
|
+
setOrClearVar('--p-cell-padding-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('spacing', 'cellPadding', spacing.cellPadding, this.hostDeclaredAppearanceSpacing) ? spacing.cellPadding : null);
|
|
45440
|
+
setOrClearVar('--p-cell-font-size-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('typography', 'fontSize', typo.fontSize, this.hostDeclaredAppearanceTypography) ? typo.fontSize : null);
|
|
45441
|
+
setOrClearVar('--p-header-padding-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('spacing', 'headerPadding', spacing.headerPadding, this.hostDeclaredAppearanceSpacing) ? spacing.headerPadding : null);
|
|
45442
|
+
setOrClearVar('--p-header-font-size-default', !this.densityOverrodeAppearance && this.shouldApplyAppearanceDefaultValue('typography', 'headerFontSize', typo.headerFontSize, this.hostDeclaredAppearanceTypography) ? typo.headerFontSize : null);
|
|
45364
45443
|
setOrClearVar('--p-header-font-weight', typo.headerFontWeight);
|
|
45365
45444
|
setOrClearVar('--p-header-letter-spacing', typo.letterSpacing);
|
|
45366
45445
|
if (typo.headerCase) {
|
|
@@ -47634,7 +47713,7 @@ class PraxisTable {
|
|
|
47634
47713
|
this.removeViewportChangeListeners = null;
|
|
47635
47714
|
}
|
|
47636
47715
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisTable, deps: [{ token: i0.ChangeDetectorRef }, { token: i3$2.SettingsPanelService }, { token: i1.GenericCrudService }, { token: TableDefaultsProvider }, { token: FilterConfigService }, { token: DataFormattingService }, { token: i6$1.PraxisDialog }, { token: i4$2.MatSnackBar }, { token: ASYNC_CONFIG_STORAGE }, { token: CONNECTION_STORAGE }, { token: i0.ElementRef }, { token: i1.GlobalConfigService }, { token: i0.Injector }, { token: i1.ComponentKeyService }, { token: i1.LoadingOrchestrator }, { token: i1.GlobalActionService }, { token: i1.EnterpriseRuntimeContextService, optional: true }, { token: PRAXIS_LOADING_RENDERER, optional: true }, { token: i8$1.ActivatedRoute, optional: true }, { token: i1.LoggerService, optional: true }, { token: AnalyticsTableStatsApiService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
47637
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisTable, isStandalone: true, selector: "praxis-table", inputs: { config: "config", resourcePath: "resourcePath", collectionSurface: "collectionSurface", data: "data", tableId: "tableId", componentInstanceId: "componentInstanceId", configPersistenceStrategy: "configPersistenceStrategy", title: "title", subtitle: "subtitle", icon: "icon", autoDelete: "autoDelete", notifyIfOutdated: "notifyIfOutdated", snoozeMs: "snoozeMs", autoOpenSettingsOnOutdated: "autoOpenSettingsOnOutdated", crudContext: "crudContext", filterCriteria: "filterCriteria", hostOwnsDefaultQuickFilter: ["hostOwnsDefaultQuickFilter", "hostOwnsDefaultQuickFilter", booleanAttribute], filterTeleport: ["filterTeleport", "filterTeleport", booleanAttribute], widgetId: "widgetId", queryContext: "queryContext", lockedFilterFields: "lockedFilterFields", aiContext: "aiContext", aiAssistantVoiceInputMode: "aiAssistantVoiceInputMode", aiAssistantVoiceLanguage: "aiAssistantVoiceLanguage", horizontalScroll: "horizontalScroll", enableCustomization: ["enableCustomization", "enableCustomization", booleanAttribute], authoringCapability: "authoringCapability", dense: "dense" }, outputs: { filterCriteriaChange: "filterCriteriaChange", discoveredQuickFiltersChange: "discoveredQuickFiltersChange", queryContextClear: "queryContextClear", queryContextChange: "queryContextChange", rowClick: "rowClick", widgetEvent: "widgetEvent", resourceEvent: "resourceEvent", rowDoubleClick: "rowDoubleClick", rowExpansionChange: "rowExpansionChange", rowAction: "rowAction", toolbarAction: "toolbarAction", bulkAction: "bulkAction", exportAction: "exportAction", columnReorder: "columnReorder", columnReorderAttempt: "columnReorderAttempt", columnResize: "columnResize", beforeDelete: "beforeDelete", afterDelete: "afterDelete", deleteError: "deleteError", beforeBulkDelete: "beforeBulkDelete", afterBulkDelete: "afterBulkDelete", bulkDeleteError: "bulkDeleteError", schemaStatusChange: "schemaStatusChange", configChange: "configChange", metadataChange: "metadataChange", loadingStateChange: "loadingStateChange", collectionLinksChange: "collectionLinksChange", selectionChange: "selectionChange", drawerOpen: "drawerOpen", drawerClose: "drawerClose", drawerTabChange: "drawerTabChange" }, host: { listeners: { "pointerover": "onMicroTooltipPointerOver($event)", "pointerout": "onMicroTooltipPointerOut($event)", "focusin": "onMicroTooltipFocusIn($event)", "focusout": "onMicroTooltipFocusOut($event)" }, properties: { "class.density-compact": "this.hostDensityCompactClass", "class.density-comfortable": "this.hostDensityComfortableClass", "class.density-spacious": "this.hostDensitySpaciousClass", "class.row-borders": "this.hostRowBordersClass", "class.col-borders": "this.hostColumnBordersClass" } }, providers: [
|
|
47716
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: PraxisTable, isStandalone: true, selector: "praxis-table", inputs: { config: "config", resourcePath: "resourcePath", collectionSurface: "collectionSurface", data: "data", tableId: "tableId", componentInstanceId: "componentInstanceId", configPersistenceStrategy: "configPersistenceStrategy", title: "title", subtitle: "subtitle", icon: "icon", autoDelete: "autoDelete", notifyIfOutdated: "notifyIfOutdated", snoozeMs: "snoozeMs", autoOpenSettingsOnOutdated: "autoOpenSettingsOnOutdated", crudContext: "crudContext", filterCriteria: "filterCriteria", hostOwnsDefaultQuickFilter: ["hostOwnsDefaultQuickFilter", "hostOwnsDefaultQuickFilter", booleanAttribute], filterTeleport: ["filterTeleport", "filterTeleport", booleanAttribute], widgetId: "widgetId", queryContext: "queryContext", lockedFilterFields: "lockedFilterFields", aiContext: "aiContext", aiAssistantVoiceInputMode: "aiAssistantVoiceInputMode", aiAssistantVoiceLanguage: "aiAssistantVoiceLanguage", horizontalScroll: "horizontalScroll", enableCustomization: ["enableCustomization", "enableCustomization", booleanAttribute], authoringCapability: "authoringCapability", dense: "dense" }, outputs: { filterCriteriaChange: "filterCriteriaChange", discoveredQuickFiltersChange: "discoveredQuickFiltersChange", discoveredResourceFactsChange: "discoveredResourceFactsChange", discoveredInlineFilterFieldsChange: "discoveredInlineFilterFieldsChange", queryContextClear: "queryContextClear", queryContextChange: "queryContextChange", rowClick: "rowClick", widgetEvent: "widgetEvent", resourceEvent: "resourceEvent", rowDoubleClick: "rowDoubleClick", rowExpansionChange: "rowExpansionChange", rowAction: "rowAction", toolbarAction: "toolbarAction", bulkAction: "bulkAction", exportAction: "exportAction", columnReorder: "columnReorder", columnReorderAttempt: "columnReorderAttempt", columnResize: "columnResize", beforeDelete: "beforeDelete", afterDelete: "afterDelete", deleteError: "deleteError", beforeBulkDelete: "beforeBulkDelete", afterBulkDelete: "afterBulkDelete", bulkDeleteError: "bulkDeleteError", schemaStatusChange: "schemaStatusChange", configChange: "configChange", metadataChange: "metadataChange", loadingStateChange: "loadingStateChange", collectionLinksChange: "collectionLinksChange", selectionChange: "selectionChange", drawerOpen: "drawerOpen", drawerClose: "drawerClose", drawerTabChange: "drawerTabChange" }, host: { listeners: { "pointerover": "onMicroTooltipPointerOver($event)", "pointerout": "onMicroTooltipPointerOut($event)", "focusin": "onMicroTooltipFocusIn($event)", "focusout": "onMicroTooltipFocusOut($event)" }, properties: { "class.density-compact": "this.hostDensityCompactClass", "class.density-comfortable": "this.hostDensityComfortableClass", "class.density-spacious": "this.hostDensitySpaciousClass", "class.row-borders": "this.hostRowBordersClass", "class.col-borders": "this.hostColumnBordersClass" } }, providers: [
|
|
47638
47717
|
providePraxisI18nConfig(RESOURCE_DISCOVERY_I18N_CONFIG),
|
|
47639
47718
|
providePraxisI18nConfig(PRAXIS_TABLE_RUNTIME_I18N_CONFIG),
|
|
47640
47719
|
MatPaginatorIntl,
|
|
@@ -47745,6 +47824,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
47745
47824
|
type: Output
|
|
47746
47825
|
}], discoveredQuickFiltersChange: [{
|
|
47747
47826
|
type: Output
|
|
47827
|
+
}], discoveredResourceFactsChange: [{
|
|
47828
|
+
type: Output
|
|
47829
|
+
}], discoveredInlineFilterFieldsChange: [{
|
|
47830
|
+
type: Output
|
|
47748
47831
|
}], hostOwnsDefaultQuickFilter: [{
|
|
47749
47832
|
type: Input,
|
|
47750
47833
|
args: [{ transform: booleanAttribute }]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Observable, firstValueFrom } from 'rxjs';
|
|
2
2
|
import { withAuthoringScopePolicy } from '@praxisui/ai';
|
|
3
|
-
import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-
|
|
3
|
+
import { ax as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-Cl9y7Orf.mjs';
|
|
4
4
|
|
|
5
5
|
class TableAgenticAuthoringTurnFlow {
|
|
6
6
|
adapter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { firstValueFrom } from 'rxjs';
|
|
2
2
|
import { BaseAiAdapter, sanitizePraxisAssistantText, createComponentAuthoringContext } from '@praxisui/ai';
|
|
3
3
|
import { PRAXIS_GLOBAL_ACTION_CATALOG, deepMerge } from '@praxisui/core';
|
|
4
|
-
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-
|
|
4
|
+
import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a7 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlans, Z as TASK_PRESETS, ah as getTableComponentEditPlanCapabilities, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, V as TABLE_COMPONENT_EDIT_PLAN_KIND } from './praxisui-table-praxisui-table-Cl9y7Orf.mjs';
|
|
5
5
|
|
|
6
6
|
const TABLE_ROW_EXPRESSION_CONTEXT_OPTION = {
|
|
7
7
|
mode: 'expression',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-
|
|
1
|
+
export { A as ANALYTICS_TABLE_ROW_KEY_FIELD, a as AnalyticalDrawerRegistryService, b as AnalyticsTableConfigAdapterService, c as AnalyticsTableContractService, d as AnalyticsTableStatsApiService, B as BOOLEAN_PRESETS, e as BehaviorConfigEditorComponent, C as CURRENCY_PRESETS, f as ColumnsConfigEditorComponent, D as DATE_PRESETS, g as DataFormatterComponent, h as DataFormattingService, F as FORMULA_TEMPLATES, i as FilterConfigService, j as FilterSettingsComponent, k as FormulaGeneratorService, J as JsonConfigEditorComponent, M as MessagesLocalizationEditorComponent, N as NUMBER_PRESETS, P as PERCENTAGE_PRESETS, l as PRAXIS_ANALYTICAL_DRAWER_SCHEMAS, m as PRAXIS_FILTER_AUTHORING_MANIFEST, n as PRAXIS_FILTER_COMPONENT_METADATA, o as PRAXIS_FILTER_VIEW_CONTEXT_SCHEMA_VERSION, p as PRAXIS_TABLE_AUTHORING_MANIFEST, q as PRAXIS_TABLE_COMPONENT_METADATA, r as PRAXIS_TABLE_TOOLBAR_APPEARANCE_PRESETS, s as PRAXIS_TABLE_TOOLBAR_DEFAULT_APPEARANCE, t as PRAXIS_TABLE_TOOLBAR_TOKEN_PRESETS, u as PraxisAnalyticalDrawerComponent, v as PraxisFilter, w as PraxisFilterOutletComponent, x as PraxisFilterOutletDirective, y as PraxisFilterWidgetConfigEditor, z as PraxisScopeBarComponent, E as PraxisTable, G as PraxisTableConfigEditor, H as PraxisTableInlineAuthoringEditorComponent, I as PraxisTableToolbar, K as PraxisTableWidgetConfigEditor, S as STRING_PRESETS, T as TABLE_AI_CAPABILITIES, L as TABLE_COMPONENT_AI_CAPABILITIES, O as TABLE_COMPONENT_EDIT_PLAN_ALLOWED_CHANGE_KINDS, Q as TABLE_COMPONENT_EDIT_PLAN_BATCH_KIND, R as TABLE_COMPONENT_EDIT_PLAN_EXPECTED_PATHS, U as TABLE_COMPONENT_EDIT_PLAN_JSON_SCHEMA, V as TABLE_COMPONENT_EDIT_PLAN_KIND, X as TABLE_COMPONENT_EDIT_PLAN_VERSION, Y as TABLE_GOVERNED_PAGE_PREVIEW_ADAPTER, Z as TASK_PRESETS, _ as TableDefaultsProvider, $ as TableRulesEditorComponent, a0 as ToolbarActionsEditorComponent, a1 as ValueMappingEditorComponent, a2 as VisualFormulaBuilderComponent, a3 as analyticsComparisonMetricField, a4 as applyComputedFieldsToRows, a5 as buildTableApplyPlan, a6 as coerceTableComponentEditPlan, a7 as coerceTableComponentEditPlans, a8 as compileTableComponentEditPlan, a9 as compileTableComponentEditPlans, aa as createTableAuthoringDocument, ab as decodeTablePageInputs, ac as encodeTablePageInputs, ad as formatComputedFieldValue, ae as getActionId, af as getEnum, ag as getTableCapabilities, ah as getTableComponentEditPlanCapabilities, ai as interpolateRelationEndpoint, aj as isAnalyticalDrawerSchema, ak as isTableRendererSupportedByRichContentP0, al as mapTableRendererToRichContentP0, am as materializeTablePageRuntimeInputs, an as normalizeComputedFieldDefinition, ao as normalizeTableAuthoringDocument, ap as parseLegacyOrTableDocument, ar as projectTablePageEditorChanges, as as providePraxisAnalyticalDrawerSchemas, at as providePraxisFilterMetadata, au as providePraxisTableMetadata, av as providePraxisTableToolbarAppearance, aw as serializeTableAuthoringDocument, ay as toCanonicalTableConfig, az as validateTableAuthoringDocument, aA as validateTablePageWidget } from './praxisui-table-praxisui-table-Cl9y7Orf.mjs';
|
|
2
2
|
export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/table",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.53",
|
|
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": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/platform-browser": "^21.0.0",
|
|
9
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
10
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-form": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/metadata-editor": "^10.0.0-rc.
|
|
14
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/table-rule-builder": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/ai": "^10.0.0-rc.53",
|
|
10
|
+
"@praxisui/core": "^10.0.0-rc.53",
|
|
11
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.53",
|
|
12
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.53",
|
|
13
|
+
"@praxisui/metadata-editor": "^10.0.0-rc.53",
|
|
14
|
+
"@praxisui/rich-content": "^10.0.0-rc.53",
|
|
15
|
+
"@praxisui/settings-panel": "^10.0.0-rc.53",
|
|
16
|
+
"@praxisui/table-rule-builder": "^10.0.0-rc.53",
|
|
17
17
|
"@angular/cdk": "^21.0.0",
|
|
18
18
|
"@angular/forms": "^21.0.0",
|
|
19
19
|
"@angular/material": "^21.0.0",
|
|
20
20
|
"@angular/router": "^21.0.0",
|
|
21
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
21
|
+
"@praxisui/dialog": "^10.0.0-rc.53",
|
|
22
22
|
"rxjs": "~7.8.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _praxisui_core from '@praxisui/core';
|
|
2
|
-
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, ResourceQuickViewBinding, ApiEndpoint, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, DiscoveredResourceOption, TableConfigService, PraxisResourceQuickFilter, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
|
|
2
|
+
import { BulkExecutionContract, ResourceDiscoveryRequestOptions, BulkWireId, RestApiLinks, BulkSyncSession, BulkFieldChange, TableToolbarAppearanceConfig, TableConfig, TableToolbarAppearanceDensity, ToolbarActionEvent, PraxisExportScope, LoggerService, PraxisI18nService, PraxisQuickFilterTone, TableToolbarAppearanceVariant, TableToolbarAppearanceShape, TableToolbarAppearanceDivider, TableToolbarTokenName, ToolbarAction as ToolbarAction$1, GlobalConfigService, FilterPresentationConfig, AsyncConfigStorage, LocalStorageConfigService, ApiUrlEntry, FieldMetadata, SchemaIdParams, FormConfig, GenericCrudService, DynamicFormService, SchemaNormalizerService, ComponentKeyService, ComponentDocMeta, PraxisTextValue, PraxisAnalyticsProjection, PraxisDataQueryContext, ApiUrlConfig, DynamicDataRecord, MaterializedResourceIdentity, TableConfigInput, ResourceSurfaceCatalogItem, NormalizedPraxisResourceQuickFilter, DomainCatalogResourceFactMetadata, PraxisQueryFilterExpression, RecordRelatedSurfaceContextPack, PraxisResourceEvent, LoadingState, ColumnDefinition, RichBlockNode, EmptyAction, ResourceCapabilityDigest, ConnectionStorage, LoadingOrchestrator, GlobalActionService, EnterpriseRuntimeContextService, PraxisLoadingRenderer, PraxisRuntimeComponentObservationEnvelope, TableDetailRichListNode, TableDetailListNode, TableDetailCardGridNode, TableDetailCardGridCardNode, TableDetailTimelineNode, JsonLogicDataRecord, TableDetailListItemAction, TableDetailActionBarNode, TableDetailActionBarAction, TableDetailRefNode, TableDetailTemplateRefNode, TableDetailDiagramEmbedNode, TableDetailEmbedAction, RichContentDocument, RichBlockHostCapabilities, GlobalActionRef, PraxisRuntimeGlobalActionEffect, ResourceActionCatalogItem, ResourceCapabilityOperation, ResourceQuickViewBinding, ApiEndpoint, JsonLogicExpression, PraxisPresentationVisualizationKind, PraxisTableCellVisualizationConstraint, PraxisPresentationVisualizationThreshold, PraxisPresentationVisualizationTone, GlobalActionCatalogEntry, IconPickerService, SurfaceOpenPayload, GlobalActionField, FieldDefinition, PraxisRuntimeConditionalEffectRule, PraxisJsonLogicService, DiscoveredResourceOption, TableConfigService, PraxisResourceQuickFilter, SettingsValueProvider as SettingsValueProvider$1, ResourceQuickConnectComponent, AnalyticsSchemaContractService, AnalyticsPresentationResolver, RichPresenterNode, RichComposeNode, ComponentAuthoringManifest, AiCapability, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, TableDrawerConfig, ResourceIdentityContract, PraxisAnalyticalDrawerCalculationStepRole, PraxisAnalyticalDrawerTab, PraxisAnalyticalDrawerCalculationMemoryContent, PraxisAnalyticalDrawerCalculationTrail, PraxisPresentationVisualizationConfig, PraxisAnalyticalDrawerSchema, SafeExpressionEvaluator, PraxisComputedFieldsConfig, PraxisComputedFieldDefinition, GovernedPagePreviewWidgetAdapter, WidgetInstance } from '@praxisui/core';
|
|
3
3
|
export { DynamicDataCollection, DynamicDataRecord, DynamicRecordMeta, ResourceLinkItem, ResourceLinks, createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { InjectionToken, AfterViewInit, OnDestroy, EventEmitter, ElementRef, Provider, OnInit, OnChanges, DoCheck, DestroyRef, ChangeDetectorRef, NgZone, SimpleChanges, ComponentRef, AfterViewChecked, AfterContentInit, TemplateRef, Injector, Type } from '@angular/core';
|
|
@@ -917,6 +917,7 @@ declare class PraxisFilter implements OnInit, OnChanges, AfterViewInit, OnDestro
|
|
|
917
917
|
private logFilterWarn;
|
|
918
918
|
private readonly filterDrawerAdapter;
|
|
919
919
|
private lastSavedConfigJson;
|
|
920
|
+
private hasExplicitEmptyAlwaysVisibleInput;
|
|
920
921
|
private setSchemaLoading;
|
|
921
922
|
private setActiveFiltersCount;
|
|
922
923
|
private getLockedFilterFieldsSet;
|
|
@@ -1297,6 +1298,8 @@ type SchemaFieldHint = {
|
|
|
1297
1298
|
type FilterSchemaFieldHint = SchemaFieldHint & {
|
|
1298
1299
|
relatedColumnFields?: string[];
|
|
1299
1300
|
relatedColumnLabels?: string[];
|
|
1301
|
+
inlineFilter?: boolean;
|
|
1302
|
+
inline?: boolean;
|
|
1300
1303
|
};
|
|
1301
1304
|
type PraxisDataQueryContextBridge = {
|
|
1302
1305
|
filters?: Record<string, unknown> | null;
|
|
@@ -1488,6 +1491,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1488
1491
|
filterCriteria: Record<string, any>;
|
|
1489
1492
|
readonly filterCriteriaChange: EventEmitter<Record<string, any>>;
|
|
1490
1493
|
readonly discoveredQuickFiltersChange: EventEmitter<NormalizedPraxisResourceQuickFilter[]>;
|
|
1494
|
+
readonly discoveredResourceFactsChange: EventEmitter<DomainCatalogResourceFactMetadata[]>;
|
|
1495
|
+
readonly discoveredInlineFilterFieldsChange: EventEmitter<string[]>;
|
|
1491
1496
|
/**
|
|
1492
1497
|
* Quando `true`, um host (ex.: `praxis-crud` com scope-bar ou `praxis-resource-page`) é o dono do
|
|
1493
1498
|
* escopo padrão (`isDefault`) dos filtros rápidos descobertos e o propaga via `[filterCriteria]`.
|
|
@@ -1673,6 +1678,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1673
1678
|
private schemaFieldsSnapshot;
|
|
1674
1679
|
private schemaColumnFieldsSnapshot;
|
|
1675
1680
|
private filterSchemaFieldsSnapshot;
|
|
1681
|
+
private lastEmittedDiscoveredInlineFilterFieldsKey;
|
|
1676
1682
|
private runtimeSchemaMeta;
|
|
1677
1683
|
schemaError: boolean;
|
|
1678
1684
|
dataError: boolean;
|
|
@@ -1832,6 +1838,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1832
1838
|
private hostDeclaredAppearanceDensity;
|
|
1833
1839
|
private hostDeclaredAppearanceSpacing;
|
|
1834
1840
|
private hostDeclaredAppearanceTypography;
|
|
1841
|
+
private densityOverrodeAppearance;
|
|
1835
1842
|
resolveAppearanceDensity(): 'compact' | 'comfortable' | 'spacious';
|
|
1836
1843
|
get hostDensityCompactClass(): boolean;
|
|
1837
1844
|
get hostDensityComfortableClass(): boolean;
|
|
@@ -1913,6 +1920,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
1913
1920
|
private resolveLocalSortField;
|
|
1914
1921
|
private resolveColumnSemanticSourceField;
|
|
1915
1922
|
private setSchemaFieldsSnapshot;
|
|
1923
|
+
private getSchemaInlineFilterFields;
|
|
1924
|
+
private emitDiscoveredInlineFilterFieldsIfChanged;
|
|
1916
1925
|
private setFilterSchemaFieldsSnapshot;
|
|
1917
1926
|
private inferFilterSchemaSourceFields;
|
|
1918
1927
|
private resolveFilterSchemaRelatedColumns;
|
|
@@ -3204,7 +3213,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
|
|
|
3204
3213
|
private scheduleRowDiscoveryMarkForCheck;
|
|
3205
3214
|
ngOnDestroy(): void;
|
|
3206
3215
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisTable, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
3207
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "collectionSurface": { "alias": "collectionSurface"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "hostOwnsDefaultQuickFilter": { "alias": "hostOwnsDefaultQuickFilter"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "authoringCapability": { "alias": "authoringCapability"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "filterCriteriaChange": "filterCriteriaChange"; "discoveredQuickFiltersChange": "discoveredQuickFiltersChange"; "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "resourceEvent": "resourceEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "columnResize": "columnResize"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
3216
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisTable, "praxis-table", never, { "config": { "alias": "config"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "collectionSurface": { "alias": "collectionSurface"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "autoDelete": { "alias": "autoDelete"; "required": false; }; "notifyIfOutdated": { "alias": "notifyIfOutdated"; "required": false; }; "snoozeMs": { "alias": "snoozeMs"; "required": false; }; "autoOpenSettingsOnOutdated": { "alias": "autoOpenSettingsOnOutdated"; "required": false; }; "crudContext": { "alias": "crudContext"; "required": false; }; "filterCriteria": { "alias": "filterCriteria"; "required": false; }; "hostOwnsDefaultQuickFilter": { "alias": "hostOwnsDefaultQuickFilter"; "required": false; }; "filterTeleport": { "alias": "filterTeleport"; "required": false; }; "widgetId": { "alias": "widgetId"; "required": false; }; "queryContext": { "alias": "queryContext"; "required": false; }; "lockedFilterFields": { "alias": "lockedFilterFields"; "required": false; }; "aiContext": { "alias": "aiContext"; "required": false; }; "aiAssistantVoiceInputMode": { "alias": "aiAssistantVoiceInputMode"; "required": false; }; "aiAssistantVoiceLanguage": { "alias": "aiAssistantVoiceLanguage"; "required": false; }; "horizontalScroll": { "alias": "horizontalScroll"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; "authoringCapability": { "alias": "authoringCapability"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; }, { "filterCriteriaChange": "filterCriteriaChange"; "discoveredQuickFiltersChange": "discoveredQuickFiltersChange"; "discoveredResourceFactsChange": "discoveredResourceFactsChange"; "discoveredInlineFilterFieldsChange": "discoveredInlineFilterFieldsChange"; "queryContextClear": "queryContextClear"; "queryContextChange": "queryContextChange"; "rowClick": "rowClick"; "widgetEvent": "widgetEvent"; "resourceEvent": "resourceEvent"; "rowDoubleClick": "rowDoubleClick"; "rowExpansionChange": "rowExpansionChange"; "rowAction": "rowAction"; "toolbarAction": "toolbarAction"; "bulkAction": "bulkAction"; "exportAction": "exportAction"; "columnReorder": "columnReorder"; "columnReorderAttempt": "columnReorderAttempt"; "columnResize": "columnResize"; "beforeDelete": "beforeDelete"; "afterDelete": "afterDelete"; "deleteError": "deleteError"; "beforeBulkDelete": "beforeBulkDelete"; "afterBulkDelete": "afterBulkDelete"; "bulkDeleteError": "bulkDeleteError"; "schemaStatusChange": "schemaStatusChange"; "configChange": "configChange"; "metadataChange": "metadataChange"; "loadingStateChange": "loadingStateChange"; "collectionLinksChange": "collectionLinksChange"; "selectionChange": "selectionChange"; "drawerOpen": "drawerOpen"; "drawerClose": "drawerClose"; "drawerTabChange": "drawerTabChange"; }, ["toolbar", "projectedFilter"], ["[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]", "[advancedFilter]", "[toolbar]"], true, never>;
|
|
3208
3217
|
static ngAcceptInputType_hostOwnsDefaultQuickFilter: unknown;
|
|
3209
3218
|
static ngAcceptInputType_filterTeleport: unknown;
|
|
3210
3219
|
static ngAcceptInputType_enableCustomization: unknown;
|