structra-ui 0.1.77 → 0.1.78
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
package/types/structra-ui.d.ts
CHANGED
|
@@ -1582,15 +1582,23 @@ interface ValidationSummaryItem {
|
|
|
1582
1582
|
fieldId?: string;
|
|
1583
1583
|
}
|
|
1584
1584
|
|
|
1585
|
-
declare class ValidationSummaryComponent implements OnChanges {
|
|
1585
|
+
declare class ValidationSummaryComponent implements OnChanges, OnDestroy {
|
|
1586
1586
|
private static nextTitleUid;
|
|
1587
1587
|
private static nextListRegionUid;
|
|
1588
|
+
private static nextPanelDomId;
|
|
1588
1589
|
/** Troca de aba (`beforeItemActivate`) + `queueMicrotask` no `app-form-tabs` — o alvo pode ficar em `[hidden]` até o próximo CD. */
|
|
1589
1590
|
private readonly navigateToFieldMaxAttempts;
|
|
1590
1591
|
private readonly appRef;
|
|
1591
1592
|
private readonly cdr;
|
|
1592
1593
|
private readonly injector;
|
|
1594
|
+
private readonly document;
|
|
1593
1595
|
private readonly hostRef;
|
|
1596
|
+
/**
|
|
1597
|
+
* Id estável do painel — quando o nó `pinned` passa a `document.body` (Safari iOS) o
|
|
1598
|
+
* `getElementById` permite reintegrá-lo no host antes do `@if` o destruir.
|
|
1599
|
+
*/
|
|
1600
|
+
readonly panelDomId: string;
|
|
1601
|
+
private panelRootRef?;
|
|
1594
1602
|
/** `id` único para `aria-labelledby` quando há vários resumos na página. */
|
|
1595
1603
|
readonly titleElementId: string;
|
|
1596
1604
|
/** `id` da região da lista (acessibilidade do botão recolher / expandir). */
|
|
@@ -1659,6 +1667,14 @@ declare class ValidationSummaryComponent implements OnChanges {
|
|
|
1659
1667
|
private unpinnedScrollMeasureAttempts;
|
|
1660
1668
|
get hostClass(): string;
|
|
1661
1669
|
ngOnChanges(c: SimpleChanges): void;
|
|
1670
|
+
ngOnDestroy(): void;
|
|
1671
|
+
private getPanelElement;
|
|
1672
|
+
private repatriatePinnedPanelToHost;
|
|
1673
|
+
/**
|
|
1674
|
+
* Safari iOS: `position: fixed` no painel, por baixo de scroll (`main`), fica abaixo do topbar
|
|
1675
|
+
* a não ser com `z-index` ardiloso — o painel anexa-se a `body` (fora de qualquer overflow).
|
|
1676
|
+
*/
|
|
1677
|
+
private syncPinnedBodyPlacement;
|
|
1662
1678
|
get hostHidden(): true | null;
|
|
1663
1679
|
get resolvedItems(): ValidationSummaryItem[];
|
|
1664
1680
|
get isShown(): boolean;
|