@praxisui/table 10.0.0-rc.67 → 10.0.0-rc.69

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.
@@ -1,6 +1,6 @@
1
1
  import { Observable, firstValueFrom } from 'rxjs';
2
2
  import { withAuthoringScopePolicy } from '@praxisui/ai';
3
- import { az as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-D45LtK5O.mjs';
3
+ import { az as setTableActionGlobalActionRef } from './praxisui-table-praxisui-table-RMFD8fVf.mjs';
4
4
 
5
5
  class TableAgenticAuthoringTurnFlow {
6
6
  adapter;
@@ -4161,7 +4161,7 @@ class TableAgenticAuthoringTurnFlow {
4161
4161
  .map((label) => `Aplicar apenas o filtro por ${label}`);
4162
4162
  return [
4163
4163
  ...fieldOptions,
4164
- 'Nao aplicar filtro e revisar a intencao',
4164
+ 'Não aplicar filtro e revisar a intenção',
4165
4165
  ].slice(0, 3);
4166
4166
  }
4167
4167
  attemptedRuntimeFilterFieldLabels(patch) {
@@ -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, a8 as coerceTableComponentEditPlans, aa as compileTableComponentEditPlans, Z as TASK_PRESETS, ai 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-D45LtK5O.mjs';
4
+ import { W as TABLE_COMPONENT_EDIT_PLAN_OPERATION_IDS, p as PRAXIS_TABLE_AUTHORING_MANIFEST, T as TABLE_AI_CAPABILITIES, a8 as coerceTableComponentEditPlans, aa as compileTableComponentEditPlans, Z as TASK_PRESETS, ai 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-RMFD8fVf.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 attachAnalyticsTableRowMetadata, a6 as buildTableApplyPlan, a7 as coerceTableComponentEditPlan, a8 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlan, aa as compileTableComponentEditPlans, ab as createTableAuthoringDocument, ac as decodeTablePageInputs, ad as encodeTablePageInputs, ae as formatComputedFieldValue, af as getActionId, ag as getEnum, ah as getTableCapabilities, ai as getTableComponentEditPlanCapabilities, aj as interpolateRelationEndpoint, ak as isAnalyticalDrawerSchema, al as isTableRendererSupportedByRichContentP0, am as mapTableRendererToRichContentP0, an as materializeTablePageRuntimeInputs, ao as normalizeComputedFieldDefinition, ap as normalizeTableAuthoringDocument, aq as parseLegacyOrTableDocument, as as projectTablePageEditorChanges, at as providePraxisAnalyticalDrawerSchemas, au as providePraxisFilterMetadata, av as providePraxisTableMetadata, aw as providePraxisTableToolbarAppearance, ax as readAnalyticsTableRowMetadata, ay as serializeTableAuthoringDocument, aA as toCanonicalTableConfig, aB as validateTableAuthoringDocument, aC as validateTablePageWidget } from './praxisui-table-praxisui-table-D45LtK5O.mjs';
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 attachAnalyticsTableRowMetadata, a6 as buildTableApplyPlan, a7 as coerceTableComponentEditPlan, a8 as coerceTableComponentEditPlans, a9 as compileTableComponentEditPlan, aa as compileTableComponentEditPlans, ab as createTableAuthoringDocument, ac as decodeTablePageInputs, ad as encodeTablePageInputs, ae as formatComputedFieldValue, af as getActionId, ag as getEnum, ah as getTableCapabilities, ai as getTableComponentEditPlanCapabilities, aj as interpolateRelationEndpoint, ak as isAnalyticalDrawerSchema, al as isTableRendererSupportedByRichContentP0, am as mapTableRendererToRichContentP0, an as materializeTablePageRuntimeInputs, ao as normalizeComputedFieldDefinition, ap as normalizeTableAuthoringDocument, aq as parseLegacyOrTableDocument, as as projectTablePageEditorChanges, at as providePraxisAnalyticalDrawerSchemas, au as providePraxisFilterMetadata, av as providePraxisTableMetadata, aw as providePraxisTableToolbarAppearance, ax as readAnalyticsTableRowMetadata, ay as serializeTableAuthoringDocument, aA as toCanonicalTableConfig, aB as validateTableAuthoringDocument, aC as validateTablePageWidget } from './praxisui-table-praxisui-table-RMFD8fVf.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.67",
3
+ "version": "10.0.0-rc.69",
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.67",
10
- "@praxisui/core": "^10.0.0-rc.67",
11
- "@praxisui/dynamic-fields": "^10.0.0-rc.67",
12
- "@praxisui/dynamic-form": "^10.0.0-rc.67",
13
- "@praxisui/metadata-editor": "^10.0.0-rc.67",
14
- "@praxisui/rich-content": "^10.0.0-rc.67",
15
- "@praxisui/settings-panel": "^10.0.0-rc.67",
16
- "@praxisui/table-rule-builder": "^10.0.0-rc.67",
9
+ "@praxisui/ai": "^10.0.0-rc.69",
10
+ "@praxisui/core": "^10.0.0-rc.69",
11
+ "@praxisui/dynamic-fields": "^10.0.0-rc.69",
12
+ "@praxisui/dynamic-form": "^10.0.0-rc.69",
13
+ "@praxisui/metadata-editor": "^10.0.0-rc.69",
14
+ "@praxisui/rich-content": "^10.0.0-rc.69",
15
+ "@praxisui/settings-panel": "^10.0.0-rc.69",
16
+ "@praxisui/table-rule-builder": "^10.0.0-rc.69",
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.67",
21
+ "@praxisui/dialog": "^10.0.0-rc.69",
22
22
  "rxjs": "~7.8.0"
23
23
  },
24
24
  "dependencies": {
@@ -1454,6 +1454,7 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
1454
1454
  private route?;
1455
1455
  private logger?;
1456
1456
  private analyticsStatsApi?;
1457
+ private readonly parentWidgetShell;
1457
1458
  private readonly destroyRef;
1458
1459
  activeRowOverflowMenuTrigger?: MatMenuTrigger;
1459
1460
  private activeRowOverflowMenuTriggerElement?;
@@ -2495,6 +2496,8 @@ declare class PraxisTable implements OnInit, OnChanges, AfterViewInit, AfterView
2495
2496
  private showCollectionWorkflowContractError;
2496
2497
  private tryHandleCollectionCreateToolbarAction;
2497
2498
  private bindDiscoveredSurfaceOutcome;
2499
+ private matchesQuickViewBindingResourceKey;
2500
+ private shouldRefreshForQuickViewMutation;
2498
2501
  private applySurfaceActionRefresh;
2499
2502
  private resolveBulkExportFormat;
2500
2503
  private isBulkExportActionKey;
@@ -6601,6 +6604,22 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit,
6601
6604
  get rows(): readonly any[];
6602
6605
  loadingRelations: boolean;
6603
6606
  surfacesHref?: string | null;
6607
+ private readonly resizableSignal;
6608
+ set resizable(value: boolean);
6609
+ get resizable(): boolean;
6610
+ private readonly expandableSignal;
6611
+ set expandable(value: boolean);
6612
+ get expandable(): boolean;
6613
+ private readonly persistSizeKeySignal;
6614
+ set persistSizeKey(value: string | null);
6615
+ get persistSizeKey(): string | null;
6616
+ private readonly minWidthSignal;
6617
+ set minWidth(value: string | undefined);
6618
+ get minWidth(): string | undefined;
6619
+ private readonly maxWidthSignal;
6620
+ set maxWidth(value: string | undefined);
6621
+ get maxWidth(): string | undefined;
6622
+ protected readonly viewportWidthSignal: _angular_core.WritableSignal<number>;
6604
6623
  closeDrawer: EventEmitter<void>;
6605
6624
  tabChange: EventEmitter<string>;
6606
6625
  relationFetch: EventEmitter<{
@@ -6619,6 +6638,15 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit,
6619
6638
  protected readonly drawerTabsCanScrollNext: _angular_core.WritableSignal<boolean>;
6620
6639
  protected readonly drawerTabIndexOpen: _angular_core.WritableSignal<boolean>;
6621
6640
  protected readonly drawerTabIndexFilter: _angular_core.WritableSignal<string>;
6641
+ protected readonly isExpanded: _angular_core.WritableSignal<boolean>;
6642
+ protected readonly isResizing: _angular_core.WritableSignal<boolean>;
6643
+ protected readonly userWidthOverride: _angular_core.WritableSignal<string | null>;
6644
+ private collapsedWidthBeforeExpand;
6645
+ private activeResizePointerId;
6646
+ private resizeStartX;
6647
+ private resizeStartWidth;
6648
+ private suppressNextBackdropClick;
6649
+ private backdropSuppressTimer;
6622
6650
  protected readonly showDrawerTabIndex: _angular_core.Signal<boolean>;
6623
6651
  protected readonly filteredDrawerIndexTabs: _angular_core.Signal<PraxisAnalyticalDrawerTab[]>;
6624
6652
  protected readonly drawerConfigSignal: _angular_core.WritableSignal<TableDrawerConfig | null>;
@@ -6740,7 +6768,26 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit,
6740
6768
  protected resolvedTitle: _angular_core.Signal<string>;
6741
6769
  protected resolvedSubtitle: _angular_core.Signal<string>;
6742
6770
  protected resolvedClassificationPill: _angular_core.Signal<string>;
6771
+ protected showResizeHandle: _angular_core.Signal<boolean>;
6772
+ protected showExpandButton: _angular_core.Signal<boolean>;
6773
+ protected resizeMinWidthPx: _angular_core.Signal<number>;
6774
+ protected resizeMaxWidthPx: _angular_core.Signal<number>;
6775
+ protected resizeCurrentWidthPx: _angular_core.Signal<number>;
6743
6776
  protected resolvedWidth: _angular_core.Signal<string>;
6777
+ onDrawerWindowResize(): void;
6778
+ protected toggleExpand(): void;
6779
+ protected onResizeHandlePointerDown(event: PointerEvent): void;
6780
+ protected onResizeHandleDoubleClick(event: MouseEvent): void;
6781
+ protected onResizeHandleKeydown(event: KeyboardEvent): void;
6782
+ onDrawerDocumentPointerMove(event: PointerEvent): void;
6783
+ onDrawerDocumentPointerEnd(event: PointerEvent): void;
6784
+ private promoteExpandedBeforeManualResize;
6785
+ private getCurrentDrawerWidthPx;
6786
+ private applyManualWidthPx;
6787
+ private stopResizeSession;
6788
+ private getEffectivePersistKey;
6789
+ private getEffectiveMinWidth;
6790
+ private getEffectiveMaxWidth;
6744
6791
  protected getDrawerIcon(): string;
6745
6792
  protected isAvatarImageUrl(value: unknown): boolean;
6746
6793
  protected resolveAvatarInitials(value: unknown): string;
@@ -6815,7 +6862,7 @@ declare class PraxisAnalyticalDrawerComponent implements OnInit, AfterViewInit,
6815
6862
  private cancelRelationRequests;
6816
6863
  private postCanonicalFilterRelation;
6817
6864
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PraxisAnalyticalDrawerComponent, never>;
6818
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAnalyticalDrawerComponent, "praxis-analytical-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "drawerConfig": { "alias": "drawerConfig"; "required": false; }; "row": { "alias": "row"; "required": false; }; "relations": { "alias": "relations"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; "surfacesHref": { "alias": "surfacesHref"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; "rowChange": "rowChange"; "ruleClick": "ruleClick"; }, never, never, true, never>;
6865
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<PraxisAnalyticalDrawerComponent, "praxis-analytical-drawer", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "resourcePath": { "alias": "resourcePath"; "required": false; }; "drawerConfig": { "alias": "drawerConfig"; "required": false; }; "row": { "alias": "row"; "required": false; }; "relations": { "alias": "relations"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "loadingRelations": { "alias": "loadingRelations"; "required": false; }; "surfacesHref": { "alias": "surfacesHref"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "persistSizeKey": { "alias": "persistSizeKey"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, { "closeDrawer": "closeDrawer"; "tabChange": "tabChange"; "relationFetch": "relationFetch"; "rowChange": "rowChange"; "ruleClick": "ruleClick"; }, never, never, true, never>;
6819
6866
  }
6820
6867
 
6821
6868
  type AnalyticalDrawerSchemaOrConfig = PraxisAnalyticalDrawerSchema | TableDrawerConfig;