@praxisui/dynamic-fields 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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.69",
|
|
4
4
|
"description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"@angular/platform-browser": "^21.0.0",
|
|
12
12
|
"@angular/router": "^21.0.0",
|
|
13
13
|
"rxjs": "^7.8.0",
|
|
14
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/dialog": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/cron-builder": "^10.0.0-rc.
|
|
14
|
+
"@praxisui/core": "^10.0.0-rc.69",
|
|
15
|
+
"@praxisui/dialog": "^10.0.0-rc.69",
|
|
16
|
+
"@praxisui/cron-builder": "^10.0.0-rc.69"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"libphonenumber-js": "^1.12.41",
|
|
@@ -404,7 +404,7 @@ Resumo de composicao deste componente:
|
|
|
404
404
|
- `metadata.resourcePath` continua aceito como configuracao operacional herdada, mas nao substitui a semantica canonica de entidade publicada em `metadata.optionSource`.
|
|
405
405
|
- No header do `PdxCollectionOverlayComponent`, `PdxCollectionSearchComponent` concentra a busca rapida (foco automatico ao abrir), acompanhada pelo contador `X de Y` e chips de `quickFilterFields`; no rodape (`pdxCollectionOverlayFooter`), ficam `"Limpar selecao"`, `"Carregar mais"` (alvo minimo 44 px) e o CTA para abrir o dialogo avancado mantendo o termo digitado. Nenhuma acao auxiliar usa `<mat-option>` ou `<mat-select>` interativo.
|
|
406
406
|
- No dialog, filtros `type: "enum"` priorizam `definition.options` do backend (com fallback `statusLabelMap`), filtros `type: "reference"` renderizam `<pdx-material-searchable-select>` com `optionSource`, cascata `dependsOn`/`dependencyFilterMap` e `POST .../by-ids` contextual para hidratacao; `ArrowDown` e `Tab` transferem o foco da busca para o resultado ativo, `Shift+Tab` preserva a ordem reversa, `Escape` fecha o overlay e o foco retorna ao trigger de origem.
|
|
407
|
-
- Quando ha selecao ativa, detalhe (`open_in_new`), quick view (`visibility`), troca (`swap_horiz`), copia (`content_copy`), remocao e limpeza formam um unico grupo acessivel (`role="group"`) via `matSuffix` (`.pdx-lookup-suffix-actions`) na faixa `.mat-mdc-form-field-icon-suffix` ao lado da busca avancada (`manage_search`) ou adjacente ao trigger dentro da pill (`.pdx-inline-pill`) — nunca dentro de `<mat-select>`. O grupo so existe quando pelo menos uma acao esta materializada; campos obrigatorios, somente leitura ou limitados por permissao nao expõem grupo vazio.
|
|
407
|
+
- Quando ha selecao ativa, detalhe (`open_in_new`), quick view (`visibility`), troca (`swap_horiz`), copia (`content_copy`), remocao e limpeza formam um unico grupo acessivel (`role="group"`) via `matSuffix` (`.pdx-lookup-suffix-actions`) na faixa `.mat-mdc-form-field-icon-suffix` ao lado da busca avancada (`manage_search`) ou adjacente ao trigger dentro da pill (`.pdx-inline-pill`) — nunca dentro de `<mat-select>`. No modo completo de formulario (`.pdx-entity-lookup-rich`), as acoes secundarias usam chrome compacto (`28px` em desktop, elevado para `44px` em `@media (max-width: 768px)`); quando ha `>= 2` acoes secundarias e o container tem largura `<= 400px` (`@container pdx-entity-lookup (max-width: 400px)`), essas acoes comutam para um menu de overflow (`[data-testid="entity-lookup-overflow-actions-trigger"]`) preservando `manage_search` sempre visivel, enquanto uma unica acao secundaria permanece direta inline. O grupo so existe quando pelo menos uma acao esta materializada; campos obrigatorios, somente leitura ou limitados por permissao nao expõem grupo vazio.
|
|
408
408
|
- A reidratacao por IDs preserva o valor selecionado, mas nao conta como carga da pagina zero. No primeiro `open`, o runtime consulta a pagina zero antes de habilitar `Carregar mais`; o contador remoto e a lista visivel permanecem coerentes.
|
|
409
409
|
- Durante busca digitada, a lista visivel mostra apenas resultados retornados pela pagina remota filtrada. O selecionado reidratado por ID nao e injetado como falso resultado, embora continue preservado para display fechado e reabertura sem termo.
|
|
410
410
|
- `OptionDTO.extra.selectable === false` desabilita a opcao e permite exibir `disabledReason` sem remover a entidade da lista ou da reidratacao.
|
|
@@ -2568,6 +2568,7 @@ declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
|
2568
2568
|
/** Emits whenever validation state changes. */
|
|
2569
2569
|
readonly validationChange: _angular_core.OutputEmitterRef<ValidationErrors | null>;
|
|
2570
2570
|
private readonly numberPatternValidator;
|
|
2571
|
+
private readonly integerPatternValidator;
|
|
2571
2572
|
private minValidator;
|
|
2572
2573
|
private maxValidator;
|
|
2573
2574
|
private activePointerCleanup;
|
|
@@ -2586,12 +2587,17 @@ declare class NumberInputComponent extends SimpleBaseInputComponent {
|
|
|
2586
2587
|
protected setMetadata(metadata: ComponentMetadata): void;
|
|
2587
2588
|
protected onActiveControlChanged(previousControl: FormControl, _currentControl: FormControl): void;
|
|
2588
2589
|
usesPercentFormatting(meta?: MaterialNumericMetadata | null): boolean;
|
|
2590
|
+
isIntegerField(meta?: MaterialNumericMetadata | null): boolean;
|
|
2589
2591
|
showPercentStudioBar(): boolean;
|
|
2590
2592
|
hasNumericSelection(): boolean;
|
|
2591
2593
|
currentNumericValue(): number | null;
|
|
2594
|
+
explicitMinValue(meta?: MaterialNumericMetadata | null): number | null;
|
|
2592
2595
|
effectiveMinValue(meta?: MaterialNumericMetadata | null): number | null;
|
|
2596
|
+
explicitMaxValue(meta?: MaterialNumericMetadata | null): number | null;
|
|
2593
2597
|
effectiveMaxValue(meta?: MaterialNumericMetadata | null): number | null;
|
|
2598
|
+
explicitStepValue(meta?: MaterialNumericMetadata | null): number | null;
|
|
2594
2599
|
effectiveStepValue(meta?: MaterialNumericMetadata | null): number | null;
|
|
2600
|
+
inputStepAttribute(meta?: MaterialNumericMetadata | null): number | 'any' | null;
|
|
2595
2601
|
percentFillWidth(): number;
|
|
2596
2602
|
percentAngle(): number;
|
|
2597
2603
|
percentPresetItems(): Array<{
|
|
@@ -3702,6 +3708,9 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent i
|
|
|
3702
3708
|
showDetailAction(item: EntityLookupViewModel): boolean;
|
|
3703
3709
|
private hasGovernedDetailSurface;
|
|
3704
3710
|
showChangeAction(): boolean;
|
|
3711
|
+
collapsibleSelectionActionsCount(item: EntityLookupViewModel): number;
|
|
3712
|
+
shouldUseOverflowActionsMenu(item: EntityLookupViewModel): boolean;
|
|
3713
|
+
hasCollapsibleSelectionActions(item: EntityLookupViewModel): boolean;
|
|
3705
3714
|
hasExternalSelectionActions(item: EntityLookupViewModel): boolean;
|
|
3706
3715
|
showCopyCodeAction(item: EntityLookupViewModel): boolean;
|
|
3707
3716
|
showCopyIdAction(item: EntityLookupViewModel): boolean;
|
|
@@ -3732,6 +3741,7 @@ declare class InlineEntityLookupComponent extends MaterialAsyncSelectComponent i
|
|
|
3732
3741
|
resetOptionText(): string;
|
|
3733
3742
|
fieldLabel(): string;
|
|
3734
3743
|
panelActionsAriaLabel(): string;
|
|
3744
|
+
moreActionsAriaLabel(): string;
|
|
3735
3745
|
showQuickClear(): boolean;
|
|
3736
3746
|
onResetOptionClick(event: MouseEvent): void;
|
|
3737
3747
|
onTriggerIconMouseDown(event: MouseEvent): void;
|
|
@@ -4431,6 +4441,7 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
4431
4441
|
private minValidator?;
|
|
4432
4442
|
private maxValidator?;
|
|
4433
4443
|
private readonly numberPatternValidator;
|
|
4444
|
+
private readonly integerPatternValidator;
|
|
4434
4445
|
private suppressNextRingClick;
|
|
4435
4446
|
private currentMetadata;
|
|
4436
4447
|
private metadataRecord;
|
|
@@ -4476,9 +4487,14 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
4476
4487
|
onMiniRingPointerDown(event: PointerEvent): void;
|
|
4477
4488
|
onPercentRailPointerDown(event: PointerEvent, railContainer?: HTMLElement): void;
|
|
4478
4489
|
private applyInteractivePercentValue;
|
|
4490
|
+
explicitMinValue(): number | null;
|
|
4479
4491
|
effectiveMinValue(): number | null;
|
|
4492
|
+
explicitMaxValue(): number | null;
|
|
4480
4493
|
effectiveMaxValue(): number | null;
|
|
4494
|
+
explicitStepValue(): number | null;
|
|
4481
4495
|
effectiveStepValue(): number | null;
|
|
4496
|
+
inputStepAttribute(): number | 'any' | null;
|
|
4497
|
+
isIntegerField(meta?: MaterialNumericMetadata | null): boolean;
|
|
4482
4498
|
isReadonlyEffective(): boolean;
|
|
4483
4499
|
showQuickClear(): boolean;
|
|
4484
4500
|
showInlinePlaceholder(): boolean;
|
|
@@ -4498,8 +4514,11 @@ declare class InlineNumberComponent extends SimpleBaseInputComponent {
|
|
|
4498
4514
|
private parsePx;
|
|
4499
4515
|
private resolveFiniteNumber;
|
|
4500
4516
|
private resolvePositiveFiniteNumber;
|
|
4517
|
+
private resolveExplicitMin;
|
|
4501
4518
|
private resolveEffectiveMin;
|
|
4519
|
+
private resolveExplicitMax;
|
|
4502
4520
|
private resolveEffectiveMax;
|
|
4521
|
+
private resolveExplicitStep;
|
|
4503
4522
|
private resolveEffectiveStep;
|
|
4504
4523
|
private defaultFieldLabel;
|
|
4505
4524
|
currentNumericValue(): number | null;
|