structra-ui 0.1.43 → 0.1.45
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/fesm2022/structra-ui.mjs +89 -32
- package/fesm2022/structra-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/structra-ui.d.ts +31 -9
package/package.json
CHANGED
package/types/structra-ui.d.ts
CHANGED
|
@@ -1221,8 +1221,8 @@ interface DropdownListBindings<T = unknown> {
|
|
|
1221
1221
|
compareWith: (a: unknown, b: unknown) => boolean;
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
|
-
/** Espaçamento
|
|
1225
|
-
declare enum
|
|
1224
|
+
/** Espaçamento entre itens da linha ou da pilha dentro de uma coluna. */
|
|
1225
|
+
declare enum FormLayoutGap {
|
|
1226
1226
|
Xs = "xs",
|
|
1227
1227
|
Sm = "sm",
|
|
1228
1228
|
Md = "md",
|
|
@@ -1309,7 +1309,8 @@ declare class FormActionsComponent {
|
|
|
1309
1309
|
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Coluna no sistema de 12 trilhos da {@link FormRowComponent}.
|
|
1312
|
-
*
|
|
1312
|
+
* Breakpoints (min-width): sm 40rem, md 48rem, lg 64rem, xl 80rem.
|
|
1313
|
+
* Valores omitidos (ex.: só `xs` e `md`) propagam-se a partir do maior definido — ex.: `md` preenche `sm` quando `sm` não está definido.
|
|
1313
1314
|
*/
|
|
1314
1315
|
declare class FormColComponent {
|
|
1315
1316
|
/** Colunas ocupadas em < `sm` (por defeito 12 = linha inteira). */
|
|
@@ -1319,14 +1320,25 @@ declare class FormColComponent {
|
|
|
1319
1320
|
lg?: number;
|
|
1320
1321
|
xl?: number;
|
|
1321
1322
|
order?: number;
|
|
1322
|
-
/** Quando `true`, a coluna
|
|
1323
|
+
/** Quando `true`, a coluna preenche o espaço horizontal restante na grelha (`auto / -1`). */
|
|
1323
1324
|
grow: boolean;
|
|
1325
|
+
/** Espaço entre elementos projectados na mesma coluna (pilha vertical). */
|
|
1326
|
+
gap: FormLayoutGap;
|
|
1327
|
+
align: FormRowAlign;
|
|
1328
|
+
/** No eixo vertical da pilha (`justify-content`). */
|
|
1329
|
+
justify: FormRowJustify;
|
|
1324
1330
|
get hostClass(): string;
|
|
1325
1331
|
get hostVars(): string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Cada patamar herda do próximo **maior** explicitamente definido quando o intermédio falta
|
|
1334
|
+
* (ex.: só `xs` + `md` → `sm` usa `md`, evitando faixa 40–48rem presa em `xs`).
|
|
1335
|
+
*/
|
|
1336
|
+
private resolvedSpans;
|
|
1337
|
+
private optionalSpan;
|
|
1338
|
+
private firstDefined;
|
|
1326
1339
|
private clampSpan;
|
|
1327
|
-
private normalizeOptionalSpan;
|
|
1328
1340
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormColComponent, never>;
|
|
1329
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormColComponent, "app-form-col", never, { "xs": { "alias": "xs"; "required": false; }; "sm": { "alias": "sm"; "required": false; }; "md": { "alias": "md"; "required": false; }; "lg": { "alias": "lg"; "required": false; }; "xl": { "alias": "xl"; "required": false; }; "order": { "alias": "order"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1341
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormColComponent, "app-form-col", never, { "xs": { "alias": "xs"; "required": false; }; "sm": { "alias": "sm"; "required": false; }; "md": { "alias": "md"; "required": false; }; "lg": { "alias": "lg"; "required": false; }; "xl": { "alias": "xl"; "required": false; }; "order": { "alias": "order"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1330
1342
|
static ngAcceptInputType_xs: unknown;
|
|
1331
1343
|
static ngAcceptInputType_order: unknown;
|
|
1332
1344
|
static ngAcceptInputType_grow: unknown;
|
|
@@ -1455,15 +1467,25 @@ declare class FormGroupComponent implements OnChanges, OnInit, DoCheck {
|
|
|
1455
1467
|
static ngAcceptInputType_uxSubmittedPass: unknown;
|
|
1456
1468
|
}
|
|
1457
1469
|
|
|
1470
|
+
/**
|
|
1471
|
+
* Grelha de formulário: com `app-form-col` usa 12 trilhos; **sem** `app-form-col`, os filhos
|
|
1472
|
+
* directos repartem a largura em colunas iguais (comportamento por omissão).
|
|
1473
|
+
*/
|
|
1458
1474
|
declare class FormRowComponent {
|
|
1459
|
-
gap:
|
|
1475
|
+
gap: FormLayoutGap;
|
|
1460
1476
|
align: FormRowAlign;
|
|
1461
1477
|
justify: FormRowJustify;
|
|
1478
|
+
/**
|
|
1479
|
+
* Quando `true`, cada filho que **não** é `app-form-col` ocupa uma linha inteira da grelha
|
|
1480
|
+
* (`grid-column: 1 / -1`). Sem `grow`, campos soltos já dividem a linha em partes iguais.
|
|
1481
|
+
*/
|
|
1482
|
+
grow: boolean;
|
|
1462
1483
|
wrap: boolean;
|
|
1463
1484
|
stackOnMobile: boolean;
|
|
1464
1485
|
get hostClass(): string;
|
|
1465
1486
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormRowComponent, never>;
|
|
1466
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "app-form-row", never, { "gap": { "alias": "gap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "stackOnMobile": { "alias": "stackOnMobile"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1487
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormRowComponent, "app-form-row", never, { "gap": { "alias": "gap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "grow": { "alias": "grow"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "stackOnMobile": { "alias": "stackOnMobile"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1488
|
+
static ngAcceptInputType_grow: unknown;
|
|
1467
1489
|
static ngAcceptInputType_wrap: unknown;
|
|
1468
1490
|
static ngAcceptInputType_stackOnMobile: unknown;
|
|
1469
1491
|
}
|
|
@@ -2986,5 +3008,5 @@ declare class AppBreadcrumbComponent {
|
|
|
2986
3008
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcrumbComponent, "app-breadcrumb", never, { "items": { "alias": "items"; "required": true; }; }, {}, never, never, true, never>;
|
|
2987
3009
|
}
|
|
2988
3010
|
|
|
2989
|
-
export { ADAPTIVE_DATA_VIEW_MOBILE_QUERY, APP_SIDEBAR_LABEL_REVEAL_LAG_MS, APP_SIDEBAR_LAYOUT_DURATION_MS, APP_SIDEBAR_NAV_REVEAL_TOTAL_MS, APP_THEME_IDS, ActionMenuComponent, AdaptiveDataViewComponent, AnchoredOverlayComponent, AppBreadcrumbComponent, AppDialogComponent, AppLibLightBlockScrollStrategy, AppShellComponent, AppShellSidebarTemplateDirective, AppShellSidebarToggleComponent, AppSidebarComponent, AppSidebarToolbarDirective, AppThemeService, AppTopbarComponent, AppUserMenuComponent, BR_ESTADOS_NOME_SIGLA, BaseButtonComponent, BaseButtonType, BaseButtonVariant, BaseFieldComponent, BaseFieldDirective, BooleanFieldDirective, CardListComponent, CepFieldComponent, CheckboxFieldComponent, ConfirmDialogComponent, ConfirmDialogService, ContextMenuComponent, CpfCnpjFieldComponent, DashboardSectionComponent, DataCardComponent, DataGridComponent, DataListComponent, DataToolbarComponent, DateFieldComponent, DecimalFieldComponent, DetailsFieldComponent, DetailsViewComponent, DialogFooterDirective, DrawerComponent, DrawerSide, DrawerSize, DropdownBaseComponent, DropdownMenuComponent, DropdownMultiOptionFieldBase, DropdownOptionFieldBase, DropdownSearchFieldComponent, EmptyStateComponent, FormActionsAlign, FormActionsComponent, FormColComponent, FormGroupComponent, FormGroupVariant, FormRowAlign, FormRowComponent,
|
|
3011
|
+
export { ADAPTIVE_DATA_VIEW_MOBILE_QUERY, APP_SIDEBAR_LABEL_REVEAL_LAG_MS, APP_SIDEBAR_LAYOUT_DURATION_MS, APP_SIDEBAR_NAV_REVEAL_TOTAL_MS, APP_THEME_IDS, ActionMenuComponent, AdaptiveDataViewComponent, AnchoredOverlayComponent, AppBreadcrumbComponent, AppDialogComponent, AppLibLightBlockScrollStrategy, AppShellComponent, AppShellSidebarTemplateDirective, AppShellSidebarToggleComponent, AppSidebarComponent, AppSidebarToolbarDirective, AppThemeService, AppTopbarComponent, AppUserMenuComponent, BR_ESTADOS_NOME_SIGLA, BaseButtonComponent, BaseButtonType, BaseButtonVariant, BaseFieldComponent, BaseFieldDirective, BooleanFieldDirective, CardListComponent, CepFieldComponent, CheckboxFieldComponent, ConfirmDialogComponent, ConfirmDialogService, ContextMenuComponent, CpfCnpjFieldComponent, DashboardSectionComponent, DataCardComponent, DataGridComponent, DataListComponent, DataToolbarComponent, DateFieldComponent, DecimalFieldComponent, DetailsFieldComponent, DetailsViewComponent, DialogFooterDirective, DrawerComponent, DrawerSide, DrawerSize, DropdownBaseComponent, DropdownMenuComponent, DropdownMultiOptionFieldBase, DropdownOptionFieldBase, DropdownSearchFieldComponent, EmptyStateComponent, FormActionsAlign, FormActionsComponent, FormColComponent, FormGroupComponent, FormGroupVariant, FormLayoutGap, FormRowAlign, FormRowComponent, FormRowJustify, FormSectionComponent, FormTabComponent, FormTabsComponent, InputMaskFieldComponent, IntegerFieldComponent, LayoutStackAlign, LayoutStackComponent, LibDialogSize, ListItemComponent, LoadingDialogComponent, LoadingDialogService, MaskedTextFieldBase, MenuDividerComponent, MenuDropdownPlacement, MenuGroupComponent, MenuListComponent, MultiselectFieldComponent, NgControlFieldDirective, OverlayPlacement, PasswordFieldComponent, PhoneFieldComponent, PopoverBodyTemplateDirective, PopoverComponent, PopoverFooterTemplateDirective, PopoverTriggerDirective, STRUCTRA_UI, SelectFieldComponent, SkeletonBlockComponent, SkeletonCardComponent, SkeletonFieldShellComponent, SkeletonListComponent, SkeletonTableComponent, SkeletonTextComponent, StatCardComponent, StatusBadgeComponent, SwitchFieldComponent, TableEmptyStateComponent, TableToolbarComponent, TextFieldComponent, TextareaFieldComponent, ToastHostComponent, ToastService, TooltipComponent, TooltipPanelTemplateDirective, ValidationSummaryComponent, anchoredOverlayPositions, applyPickedCalendarDate, buildDecimalBrDisplay, buildDecimalBrParseString, buildEmptyStateOverlayHtml, caretIndexFromIntegerDigitCount, caretIndexFromSemantic, cepMaskCompleteValidator, cpfCnpjMaskCompleteValidator, escapeHtml, extractDecimalBrParts, fixedDigitsMaskCompleteValidator, formatDateTimePtBr, formatDecimalBr, formatIntegerThousandsBr, formatMaskDigits, formatUiFieldDateValue, libDialogPanelClasses, mapEstadosToOptions, maskDigitCount, normalizeFormDateValue, parseDecimalBr, parseIntegerString, parseUiFieldDateValue, phoneBrMaskCompleteValidator, resolveControlAtPath, sanitizeDecimalBrInput, sanitizeIntegerDigits, sectionHasVisibleInvalid, semanticCaretAt, semanticIntegerDigitCountLeft, stripToDigits, subscribeMarkForCheckOnInvalidUiRefresh, subtreeHasVisibleInvalid };
|
|
2990
3012
|
export type { AdaptiveDataViewMode, AppThemeId, AppThemeOption, BreadcrumbItem, CardItemView, CardListDataMode, CardListMapFn, ConfirmDialogData, ConfirmDialogVariant, DataGridColumn, DataGridPaginationChangeEvent, DetailsViewItem, DropdownListBindings, DropdownSearchPageRequested, FieldCommonInputs, FormTabsVariant, LoadingDialogData, MenuItemAction, MenuItemDivider, MenuItemGroup, MenuItemKind, MenuItemSubmenu, MenuLeafItem, MenuNodeItem, SelectPageRequested, SkeletonFieldShellVariant, StatCardDeltaTone, StatusBadgeSize, StatusBadgeVariant, ToastInstance, ToastShowOptions, ToastType, ToastVerticalPosition, UiSelectOption, ValidationSummaryItem, ValidationSummaryVariant };
|