@praxisui/table 9.0.0-beta.84 → 9.0.0-beta.86
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 +387 -85
- package/fesm2022/{praxisui-table-filter-form-dialog-host.component-CStl0VfD.mjs → praxisui-table-filter-form-dialog-host.component-CMUCxwyL.mjs} +9 -12
- package/fesm2022/{praxisui-table-praxisui-table-7iWPoCFj.mjs → praxisui-table-praxisui-table-NNfpT0jj.mjs} +1763 -1155
- package/fesm2022/{praxisui-table-table-agentic-authoring-turn-flow-Cl8C90zm.mjs → praxisui-table-table-agentic-authoring-turn-flow-BYg5jEWx.mjs} +1 -1
- package/fesm2022/{praxisui-table-table-ai.adapter-B46F-SpL.mjs → praxisui-table-table-ai.adapter-DQzq1nqx.mjs} +1 -1
- package/fesm2022/praxisui-table.mjs +1 -1
- package/package.json +10 -10
- package/src/lib/praxis-table.json-api.md +12 -3
- package/types/praxisui-table.d.ts +41 -1
|
@@ -6,11 +6,12 @@ import * as i3 from '@angular/material/button';
|
|
|
6
6
|
import { MatButtonModule } from '@angular/material/button';
|
|
7
7
|
import * as i13 from '@angular/material/progress-bar';
|
|
8
8
|
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i7 from '@angular/material/icon';
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i14 from '@angular/material/tooltip';
|
|
12
12
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
13
13
|
import { PraxisFilterForm } from '@praxisui/dynamic-form';
|
|
14
|
+
import { PraxisIconButtonComponent } from '@praxisui/core';
|
|
14
15
|
|
|
15
16
|
class FilterFormDialogHostComponent {
|
|
16
17
|
data;
|
|
@@ -109,10 +110,8 @@ class FilterFormDialogHostComponent {
|
|
|
109
110
|
<mat-icon>tune</mat-icon>
|
|
110
111
|
<span>{{ data.title || 'Filtro avançado' }}</span>
|
|
111
112
|
</div>
|
|
112
|
-
<button
|
|
113
|
-
[attr.aria-label]="data.i18n?.cancel || 'Fechar'">
|
|
114
|
-
<mat-icon>close</mat-icon>
|
|
115
|
-
</button>
|
|
113
|
+
<button praxisIconButton="close" size="compact" type="button" class="pfx-dialog-close" (click)="close()"
|
|
114
|
+
[attr.aria-label]="data.i18n?.cancel || 'Fechar'"></button>
|
|
116
115
|
</div>
|
|
117
116
|
<mat-dialog-content class="pfx-filter-dialog-content" aria-labelledby="filterDialogTitle">
|
|
118
117
|
@if (data?.schemaLoading) {
|
|
@@ -161,20 +160,18 @@ class FilterFormDialogHostComponent {
|
|
|
161
160
|
{{ data.i18n?.apply || 'Aplicar' }}
|
|
162
161
|
</button>
|
|
163
162
|
</mat-dialog-actions>
|
|
164
|
-
`, isInline: true, styles: [".pfx-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:8px}.pfx-dialog-title-text{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--mdc-dialog-subhead-color, var(--md-sys-color-on-surface))}.pfx-dialog-close{margin-left:auto}.pfx-filter-dialog-content{display:flex;flex-direction:column;gap:12px;padding-top:8px}.pfx-empty-state{margin:8px 0 0;color:var(--mdc-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant))}.pfx-dialog-loading{display:flex;flex-direction:column;gap:10px;min-height:128px;justify-content:center;color:var(--mdc-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant));font-size:.875rem}.pfx-form-pending{height:0;overflow:hidden;visibility:hidden;pointer-events:none}.pfx-dialog-actions{padding:var(--pdx-dialog-actions-padding, 12px 24px 16px);border-top:1px solid var(--md-sys-color-outline-variant);background:transparent;display:flex;align-items:center;gap:8px}.pfx-save-shortcut-button{margin-right:auto}.pfx-save-shortcut-button mat-icon{margin-right:6px;width:18px;height:18px;font-size:18px}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "
|
|
163
|
+
`, isInline: true, styles: [".pfx-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:8px}.pfx-dialog-title-text{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--mdc-dialog-subhead-color, var(--md-sys-color-on-surface))}.pfx-dialog-close{margin-left:auto}.pfx-filter-dialog-content{display:flex;flex-direction:column;gap:12px;padding-top:8px}.pfx-empty-state{margin:8px 0 0;color:var(--mdc-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant))}.pfx-dialog-loading{display:flex;flex-direction:column;gap:10px;min-height:128px;justify-content:center;color:var(--mdc-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant));font-size:.875rem}.pfx-form-pending{height:0;overflow:hidden;visibility:hidden;pointer-events:none}.pfx-dialog-actions{padding:var(--pdx-dialog-actions-padding, 12px 24px 16px);border-top:1px solid var(--md-sys-color-outline-variant);background:transparent;display:flex;align-items:center;gap:8px}.pfx-save-shortcut-button{margin-right:auto}.pfx-save-shortcut-button mat-icon{margin-right:6px;width:18px;height:18px;font-size:18px}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i13.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i14.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisFilterForm, selector: "praxis-filter-form", inputs: ["config", "formId", "resourcePath", "mode"], outputs: ["formReady", "valueChange", "submit", "requestSearch", "validityChange"] }, { kind: "component", type: PraxisIconButtonComponent, selector: "button[praxisIconButton]", inputs: ["praxisIconButton", "size", "appearance", "presentation", "pressed", "busy"] }] });
|
|
165
164
|
}
|
|
166
165
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: FilterFormDialogHostComponent, decorators: [{
|
|
167
166
|
type: Component,
|
|
168
|
-
args: [{ selector: 'praxis-filter-form-dialog-host', standalone: true, imports: [MatDialogModule, MatButtonModule, MatProgressBarModule, MatIconModule, MatTooltipModule, PraxisFilterForm], template: `
|
|
167
|
+
args: [{ selector: 'praxis-filter-form-dialog-host', standalone: true, imports: [MatDialogModule, MatButtonModule, MatProgressBarModule, MatIconModule, MatTooltipModule, PraxisFilterForm, PraxisIconButtonComponent], template: `
|
|
169
168
|
<div mat-dialog-title class="pfx-dialog-title" id="filterDialogTitle">
|
|
170
169
|
<div class="pfx-dialog-title-text">
|
|
171
170
|
<mat-icon>tune</mat-icon>
|
|
172
171
|
<span>{{ data.title || 'Filtro avançado' }}</span>
|
|
173
172
|
</div>
|
|
174
|
-
<button
|
|
175
|
-
[attr.aria-label]="data.i18n?.cancel || 'Fechar'">
|
|
176
|
-
<mat-icon>close</mat-icon>
|
|
177
|
-
</button>
|
|
173
|
+
<button praxisIconButton="close" size="compact" type="button" class="pfx-dialog-close" (click)="close()"
|
|
174
|
+
[attr.aria-label]="data.i18n?.cancel || 'Fechar'"></button>
|
|
178
175
|
</div>
|
|
179
176
|
<mat-dialog-content class="pfx-filter-dialog-content" aria-labelledby="filterDialogTitle">
|
|
180
177
|
@if (data?.schemaLoading) {
|