@praxisui/crud 10.0.0-rc.80 → 10.0.0-rc.81
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-crud-crud-route-form.component-Do_D5nym.mjs → praxisui-crud-crud-route-form.component-DT_-IPd3.mjs} +1 -1
- package/fesm2022/{praxisui-crud-praxisui-crud-BJTG3qF4.mjs → praxisui-crud-praxisui-crud-PSkPrGOG.mjs} +14 -2
- package/fesm2022/praxisui-crud.mjs +1 -1
- package/package.json +7 -7
- package/types/praxisui-crud.d.ts +2 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-12-
|
|
3
|
+
"generatedAt": "2026-12-01T23:43:42.244Z",
|
|
4
4
|
"packageName": "@praxisui/crud",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.81",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 3,
|
|
@@ -4,7 +4,7 @@ import { NgComponentOutlet } from '@angular/common';
|
|
|
4
4
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
6
|
import { EnterpriseRuntimeContextService, PraxisCustomizationModeService, PraxisI18nService, providePraxisI18nConfig } from '@praxisui/core';
|
|
7
|
-
import { d as CrudRouteFormHandoffService, e as DynamicFormDialogHostComponent, $ as translateCrudRuntimeText, J as crudRouteContextKey, i as PRAXIS_CRUD_RUNTIME_I18N_CONFIG } from './praxisui-crud-praxisui-crud-
|
|
7
|
+
import { d as CrudRouteFormHandoffService, e as DynamicFormDialogHostComponent, $ as translateCrudRuntimeText, J as crudRouteContextKey, i as PRAXIS_CRUD_RUNTIME_I18N_CONFIG } from './praxisui-crud-praxisui-crud-PSkPrGOG.mjs';
|
|
8
8
|
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
9
9
|
|
|
10
10
|
/** Created only by createCrudFormRoute; owns the transferred form instance. */
|
|
@@ -9715,6 +9715,7 @@ class PraxisKpiBandComponent {
|
|
|
9715
9715
|
maxTokens: 150,
|
|
9716
9716
|
});
|
|
9717
9717
|
isLoading = false;
|
|
9718
|
+
guidePopoverOpen = false;
|
|
9718
9719
|
scopeStatus = null;
|
|
9719
9720
|
get scopeStatusLabel() {
|
|
9720
9721
|
if (!this.scopeStatus)
|
|
@@ -10679,7 +10680,14 @@ class PraxisKpiBandComponent {
|
|
|
10679
10680
|
});
|
|
10680
10681
|
this.cdr.markForCheck();
|
|
10681
10682
|
}
|
|
10683
|
+
onGuidePopoverOpenChange(isOpen) {
|
|
10684
|
+
this.guidePopoverOpen = isOpen;
|
|
10685
|
+
this.cdr.markForCheck();
|
|
10686
|
+
}
|
|
10682
10687
|
resolveCardTooltip(card) {
|
|
10688
|
+
if (this.guidePopoverOpen) {
|
|
10689
|
+
return '';
|
|
10690
|
+
}
|
|
10683
10691
|
if (card.tooltip?.trim()) {
|
|
10684
10692
|
return card.tooltip.trim();
|
|
10685
10693
|
}
|
|
@@ -10943,11 +10951,13 @@ class PraxisKpiBandComponent {
|
|
|
10943
10951
|
[ngClass]="[card.tone ? 'tone-' + card.tone : 'tone-neutral', card.className || '']"
|
|
10944
10952
|
[attr.data-kpi-id]="card.id || null"
|
|
10945
10953
|
[matTooltip]="resolveCardTooltip(card)"
|
|
10954
|
+
[matTooltipDisabled]="guidePopoverOpen"
|
|
10946
10955
|
>
|
|
10947
10956
|
<praxis-kpi-card-view
|
|
10948
10957
|
[viewModel]="toCardViewModel(card)"
|
|
10949
10958
|
[allowRetry]="false"
|
|
10950
10959
|
[showProvenance]="false"
|
|
10960
|
+
(readingGuideOpenChange)="onGuidePopoverOpenChange($event)"
|
|
10951
10961
|
(activate)="onCardClick(card, i)"
|
|
10952
10962
|
/>
|
|
10953
10963
|
|
|
@@ -10958,7 +10968,7 @@ class PraxisKpiBandComponent {
|
|
|
10958
10968
|
</ng-template>
|
|
10959
10969
|
</div>
|
|
10960
10970
|
</div>
|
|
10961
|
-
`, isInline: true, styles: [".praxis-kpi-band{display:flex;flex-direction:column;gap:.75rem;margin-bottom:var(--praxis-kpi-band-margin-bottom, 0);width:100%;box-sizing:border-box;container-type:inline-size}.praxis-kpi-band-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.praxis-kpi-band-title{margin:0;font-size:1rem;font-weight:600;color:var(--praxis-text-primary, var(--foreground, var(--md-sys-color-on-surface, #0f172a)))}.praxis-kpi-band-subtitle{margin:.125rem 0 0;font-size:.8125rem;color:var(--praxis-text-muted, var(--muted-foreground, var(--md-sys-color-on-surface-variant, #64748b)))}.praxis-kpi-band-grid{display:grid;grid-template-columns:repeat(var(--praxis-kpi-columns, auto-fit),minmax(min(200px,100%),1fr));gap:var(--praxis-kpi-gap, 1rem);width:100%}@container (max-width: 900px){.praxis-kpi-band-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width: 600px){.praxis-kpi-band-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.praxis-kpi-band-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.praxis-kpi-band-grid{grid-template-columns:minmax(0,1fr)}}.praxis-kpi-card{display:flex;flex-direction:column;min-width:0;position:relative;overflow:hidden;box-sizing:border-box;transition:opacity .15s ease}.praxis-kpi-card-footnote{font-size:.7rem;color:var(--praxis-text-secondary, var(--muted-foreground, var(--md-sys-color-on-surface-variant, #94a3b8)));margin-top:.25rem;padding-inline:.25rem}.praxis-kpi-band-grid.is-refreshing .praxis-kpi-card{opacity:.78;transition:opacity .15s ease}.praxis-kpi-card-skeleton{pointer-events:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisKpiCardViewComponent, selector: "praxis-kpi-card-view", inputs: ["viewModel", "density", "allowRetry", "allowDrillDown", "showProvenance", "provenanceExpanded", "governed"], outputs: ["activate", "segmentActivate", "retry", "openProvenance", "drillDown"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10971
|
+
`, isInline: true, styles: [".praxis-kpi-band{display:flex;flex-direction:column;gap:.75rem;margin-bottom:var(--praxis-kpi-band-margin-bottom, 0);width:100%;box-sizing:border-box;container-type:inline-size}.praxis-kpi-band-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.praxis-kpi-band-title{margin:0;font-size:1rem;font-weight:600;color:var(--praxis-text-primary, var(--foreground, var(--md-sys-color-on-surface, #0f172a)))}.praxis-kpi-band-subtitle{margin:.125rem 0 0;font-size:.8125rem;color:var(--praxis-text-muted, var(--muted-foreground, var(--md-sys-color-on-surface-variant, #64748b)))}.praxis-kpi-band-grid{display:grid;grid-template-columns:repeat(var(--praxis-kpi-columns, auto-fit),minmax(min(200px,100%),1fr));gap:var(--praxis-kpi-gap, 1rem);width:100%}@container (max-width: 900px){.praxis-kpi-band-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width: 600px){.praxis-kpi-band-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:900px){.praxis-kpi-band-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.praxis-kpi-band-grid{grid-template-columns:minmax(0,1fr)}}.praxis-kpi-card{display:flex;flex-direction:column;min-width:0;position:relative;overflow:hidden;box-sizing:border-box;transition:opacity .15s ease}.praxis-kpi-card-footnote{font-size:.7rem;color:var(--praxis-text-secondary, var(--muted-foreground, var(--md-sys-color-on-surface-variant, #94a3b8)));margin-top:.25rem;padding-inline:.25rem}.praxis-kpi-band-grid.is-refreshing .praxis-kpi-card{opacity:.78;transition:opacity .15s ease}.praxis-kpi-card-skeleton{pointer-events:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i4$2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: PraxisKpiCardViewComponent, selector: "praxis-kpi-card-view", inputs: ["viewModel", "density", "allowRetry", "allowDrillDown", "showProvenance", "provenanceExpanded", "provenancePanelId", "governed"], outputs: ["activate", "segmentActivate", "retry", "openProvenance", "readingGuideOpenChange", "drillDown"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
10962
10972
|
}
|
|
10963
10973
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisKpiBandComponent, decorators: [{
|
|
10964
10974
|
type: Component,
|
|
@@ -11013,11 +11023,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImpo
|
|
|
11013
11023
|
[ngClass]="[card.tone ? 'tone-' + card.tone : 'tone-neutral', card.className || '']"
|
|
11014
11024
|
[attr.data-kpi-id]="card.id || null"
|
|
11015
11025
|
[matTooltip]="resolveCardTooltip(card)"
|
|
11026
|
+
[matTooltipDisabled]="guidePopoverOpen"
|
|
11016
11027
|
>
|
|
11017
11028
|
<praxis-kpi-card-view
|
|
11018
11029
|
[viewModel]="toCardViewModel(card)"
|
|
11019
11030
|
[allowRetry]="false"
|
|
11020
11031
|
[showProvenance]="false"
|
|
11032
|
+
(readingGuideOpenChange)="onGuidePopoverOpenChange($event)"
|
|
11021
11033
|
(activate)="onCardClick(card, i)"
|
|
11022
11034
|
/>
|
|
11023
11035
|
|
|
@@ -25912,7 +25924,7 @@ function createCrudFormRoute(target) {
|
|
|
25912
25924
|
return {
|
|
25913
25925
|
path: target.path,
|
|
25914
25926
|
data: { crudFormTarget: { formId: target.formId, resourcePath: target.resourcePath } },
|
|
25915
|
-
loadComponent: () => import('./praxisui-crud-crud-route-form.component-
|
|
25927
|
+
loadComponent: () => import('./praxisui-crud-crud-route-form.component-DT_-IPd3.mjs').then(m => m.CrudRouteFormComponent),
|
|
25916
25928
|
canDeactivate: [(component) => component.canLeave()],
|
|
25917
25929
|
};
|
|
25918
25930
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as CRUD_AI_CAPABILITIES, a as CrudLauncherService, b as CrudMetadataEditorComponent, c as CrudPageHeaderComponent, D as DialogService, e as DynamicFormDialogHostComponent, P as PRAXIS_CHOICE_FIELD_TYPES, f as PRAXIS_CONTROL_TYPE_CHOICES, g as PRAXIS_CRUD_AUTHORING_MANIFEST, h as PRAXIS_CRUD_COMPONENT_METADATA, j as PRAXIS_CUSTOM_FIELDS_STUDIO_I18N_CONFIG, k as PRAXIS_CUSTOM_FIELDS_STUDIO_I18N_NAMESPACE, l as PRAXIS_CUSTOM_FIELD_AI_PROMPT_EXAMPLES, m as PRAXIS_CUSTOM_FIELD_PRESETS, n as PRAXIS_CUSTOM_FIELD_WIDTH_CHOICES, o as PRAXIS_DOSSIER_PAGE_COMPONENT_METADATA, p as PRAXIS_FIELD_TYPE_CHOICES, q as PRAXIS_FILTER_OPERATIONS_BY_FIELD_TYPE, r as PRAXIS_FILTER_OPERATION_CHOICES, s as PRAXIS_MULTI_CHOICE_CONTROL_TYPES, t as PRAXIS_REGEX_VALIDATION_PRESETS, u as PRAXIS_SUGGESTED_FIELD_ICONS, v as PraxisBulkEditDialogComponent, w as PraxisBulkOperationDialogComponent, x as PraxisCrudBulkProposalBridgeService, y as PraxisCrudComponent, z as PraxisCrudWidgetConfigEditor, A as PraxisCustomFieldStudioDialogComponent, B as PraxisDossierPageComponent, E as PraxisKpiBandComponent, F as PraxisResourcePage, G as assertCrudMetadata, H as createCrudAuthoringDocument, I as createCrudFormRoute, K as findCrudAction, L as formatKpiValue, M as getCompatibleFilterOperations, N as isControlCompatibleWithFieldType, O as isResourceDiscoveredCrudAction, Q as normalizeCrudAuthoringDocument, R as normalizeStudioControlType, S as openCrudMetadataEditor, T as parseLegacyOrCrudDocument, U as providePraxisCrudBulkProposalBridge, V as providePraxisCrudMetadata, W as providePraxisDossierPageMetadata, X as serializeCrudAuthoringDocument, Y as slugifyCustomFieldKey, Z as slugifyOptionValue, _ as toDynamicFieldControlType, a0 as translateStudioText, a1 as validateCrudAuthoringDocument, a2 as validateStudioDefaultValue } from './praxisui-crud-praxisui-crud-
|
|
1
|
+
export { C as CRUD_AI_CAPABILITIES, a as CrudLauncherService, b as CrudMetadataEditorComponent, c as CrudPageHeaderComponent, D as DialogService, e as DynamicFormDialogHostComponent, P as PRAXIS_CHOICE_FIELD_TYPES, f as PRAXIS_CONTROL_TYPE_CHOICES, g as PRAXIS_CRUD_AUTHORING_MANIFEST, h as PRAXIS_CRUD_COMPONENT_METADATA, j as PRAXIS_CUSTOM_FIELDS_STUDIO_I18N_CONFIG, k as PRAXIS_CUSTOM_FIELDS_STUDIO_I18N_NAMESPACE, l as PRAXIS_CUSTOM_FIELD_AI_PROMPT_EXAMPLES, m as PRAXIS_CUSTOM_FIELD_PRESETS, n as PRAXIS_CUSTOM_FIELD_WIDTH_CHOICES, o as PRAXIS_DOSSIER_PAGE_COMPONENT_METADATA, p as PRAXIS_FIELD_TYPE_CHOICES, q as PRAXIS_FILTER_OPERATIONS_BY_FIELD_TYPE, r as PRAXIS_FILTER_OPERATION_CHOICES, s as PRAXIS_MULTI_CHOICE_CONTROL_TYPES, t as PRAXIS_REGEX_VALIDATION_PRESETS, u as PRAXIS_SUGGESTED_FIELD_ICONS, v as PraxisBulkEditDialogComponent, w as PraxisBulkOperationDialogComponent, x as PraxisCrudBulkProposalBridgeService, y as PraxisCrudComponent, z as PraxisCrudWidgetConfigEditor, A as PraxisCustomFieldStudioDialogComponent, B as PraxisDossierPageComponent, E as PraxisKpiBandComponent, F as PraxisResourcePage, G as assertCrudMetadata, H as createCrudAuthoringDocument, I as createCrudFormRoute, K as findCrudAction, L as formatKpiValue, M as getCompatibleFilterOperations, N as isControlCompatibleWithFieldType, O as isResourceDiscoveredCrudAction, Q as normalizeCrudAuthoringDocument, R as normalizeStudioControlType, S as openCrudMetadataEditor, T as parseLegacyOrCrudDocument, U as providePraxisCrudBulkProposalBridge, V as providePraxisCrudMetadata, W as providePraxisDossierPageMetadata, X as serializeCrudAuthoringDocument, Y as slugifyCustomFieldKey, Z as slugifyOptionValue, _ as toDynamicFieldControlType, a0 as translateStudioText, a1 as validateCrudAuthoringDocument, a2 as validateStudioDefaultValue } from './praxisui-crud-praxisui-crud-PSkPrGOG.mjs';
|
|
2
2
|
export { MAT_DIALOG_DATA as DIALOG_DATA } from '@angular/material/dialog';
|
|
3
3
|
export { createDynamicRecord, extractRecordId, isDynamicDataRecord, resolveDataField } from '@praxisui/core';
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/crud",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.81",
|
|
4
4
|
"description": "CRUD building blocks for Praxis UI: integrates dynamic forms and tables with unified configuration and services.",
|
|
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/dynamic-form": "^10.0.0-rc.
|
|
10
|
-
"@praxisui/table": "^10.0.0-rc.
|
|
11
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
12
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
13
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
9
|
+
"@praxisui/dynamic-form": "^10.0.0-rc.81",
|
|
10
|
+
"@praxisui/table": "^10.0.0-rc.81",
|
|
11
|
+
"@praxisui/core": "^10.0.0-rc.81",
|
|
12
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.81",
|
|
13
|
+
"@praxisui/settings-panel": "^10.0.0-rc.81",
|
|
14
14
|
"@angular/cdk": "^21.0.0",
|
|
15
15
|
"@angular/forms": "^21.0.0",
|
|
16
16
|
"@angular/material": "^21.0.0",
|
|
17
17
|
"@angular/router": "^21.0.0",
|
|
18
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
18
|
+
"@praxisui/ai": "^10.0.0-rc.81",
|
|
19
19
|
"rxjs": "~7.8.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
package/types/praxisui-crud.d.ts
CHANGED
|
@@ -1746,6 +1746,7 @@ declare class PraxisKpiBandComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1746
1746
|
private readonly angularLocale;
|
|
1747
1747
|
private readonly evaluator;
|
|
1748
1748
|
isLoading: boolean;
|
|
1749
|
+
guidePopoverOpen: boolean;
|
|
1749
1750
|
private scopeStatus;
|
|
1750
1751
|
get scopeStatusLabel(): string | null;
|
|
1751
1752
|
evaluatedCards: EvaluatedKpiCard[];
|
|
@@ -1784,6 +1785,7 @@ declare class PraxisKpiBandComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1784
1785
|
private scopedResultStatus;
|
|
1785
1786
|
private normalizeSourcePayload;
|
|
1786
1787
|
recomputeCards(): void;
|
|
1788
|
+
onGuidePopoverOpenChange(isOpen: boolean): void;
|
|
1787
1789
|
resolveCardTooltip(card: EvaluatedKpiCard): string;
|
|
1788
1790
|
toSkeletonViewModel(index: number): PraxisKpiResolvedViewModel;
|
|
1789
1791
|
toCardViewModel(card: EvaluatedKpiCard): PraxisKpiResolvedViewModel;
|