structra-ui 0.1.45 → 0.1.47
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
|
@@ -1255,6 +1255,29 @@ declare enum LayoutStackAlign {
|
|
|
1255
1255
|
End = "end",
|
|
1256
1256
|
SpaceBetween = "space-between"
|
|
1257
1257
|
}
|
|
1258
|
+
/**
|
|
1259
|
+
* Eixo principal do flex em `app-layout-stack` (equivalente a `flex-direction` em CSS).
|
|
1260
|
+
*
|
|
1261
|
+
* - **`Row`** — `flex-direction: row`: filhos **lado a lado** na horizontal (é o que se costuma
|
|
1262
|
+
* querer para “várias colunas” no ecrã ou `form-row` + `form-col` na mesma linha).
|
|
1263
|
+
* - **`Column`** — `flex-direction: column`: filhos **uns por baixo dos outros** (pilha vertical).
|
|
1264
|
+
* **Não** é “colunas de grelha” ao lado uma da outra; para isso use **`Row`**.
|
|
1265
|
+
*/
|
|
1266
|
+
declare enum LayoutStackDirection {
|
|
1267
|
+
Row = "row",
|
|
1268
|
+
Column = "column"
|
|
1269
|
+
}
|
|
1270
|
+
/** Alias legível: blocos lado a lado (= `LayoutStackDirection.Row`). */
|
|
1271
|
+
declare const LAYOUT_STACK_SIDE_BY_SIDE = LayoutStackDirection.Row;
|
|
1272
|
+
/** Alias legível: pilha vertical (= `LayoutStackDirection.Column`). */
|
|
1273
|
+
declare const LAYOUT_STACK_STACKED = LayoutStackDirection.Column;
|
|
1274
|
+
/** Alinhamento no eixo cruzado (`align-items` em `row`; largura/centragem em `column`). */
|
|
1275
|
+
declare enum LayoutStackItemAlign {
|
|
1276
|
+
Stretch = "stretch",
|
|
1277
|
+
Start = "start",
|
|
1278
|
+
Center = "center",
|
|
1279
|
+
End = "end"
|
|
1280
|
+
}
|
|
1258
1281
|
/** Alinhamento em `app-form-actions` (barra de ações de formulário). */
|
|
1259
1282
|
declare enum FormActionsAlign {
|
|
1260
1283
|
Start = "start",
|
|
@@ -1263,10 +1286,29 @@ declare enum FormActionsAlign {
|
|
|
1263
1286
|
SpaceBetween = "space-between"
|
|
1264
1287
|
}
|
|
1265
1288
|
|
|
1266
|
-
/**
|
|
1289
|
+
/**
|
|
1290
|
+
* Faixa flexível com projeção de conteúdo.
|
|
1291
|
+
*
|
|
1292
|
+
* - `align` — eixo principal (`justify-content`: start / center / end / space-between).
|
|
1293
|
+
* Com `stackFill` activo, o `align` deixa de ser sobrescrito (antes era forçado `flex-start`).
|
|
1294
|
+
* - `direction` — igual a `flex-direction` em CSS:
|
|
1295
|
+
* - **`Row`** = filhos **na horizontal** (lado a lado). Use para “colunas” no ecrã ou `form-row` + `form-col` na mesma linha.
|
|
1296
|
+
* - **`Column`** = filhos **empilhados** (um por baixo do outro). **Não** coloca “colunas” lado a lado; para isso use **`Row`**.
|
|
1297
|
+
* Constantes: `LAYOUT_STACK_SIDE_BY_SIDE` e `LAYOUT_STACK_STACKED` no barrel `form-layout`.
|
|
1298
|
+
* - `itemAlign` — eixo cruzado (`align-items` em `row`: topo/meio/baixo; em `column`: alinhamento horizontal dos blocos).
|
|
1299
|
+
*/
|
|
1267
1300
|
declare class LayoutStackComponent {
|
|
1268
|
-
/** Distribuição
|
|
1301
|
+
/** Distribuição no eixo principal do contentor flex (`justify-content`). */
|
|
1269
1302
|
align: LayoutStackAlign;
|
|
1303
|
+
/**
|
|
1304
|
+
* `Row` = lado a lado (horizontal). `Column` = pilha vertical (um por baixo do outro), **não** “várias colunas” no ecrã.
|
|
1305
|
+
*/
|
|
1306
|
+
direction: LayoutStackDirection;
|
|
1307
|
+
/**
|
|
1308
|
+
* Eixo cruzado: em `row` alinha no vertical (ex.: `start` = topo); em `column` alinha no horizontal.
|
|
1309
|
+
* Se não for definido, mantém o comportamento anterior (compacto sem `fill` = centrado; com `fill` = stretch).
|
|
1310
|
+
*/
|
|
1311
|
+
itemAlign: LayoutStackItemAlign | null;
|
|
1270
1312
|
/**
|
|
1271
1313
|
* Em ecrãs estreitos, aplica ajustes leves (ex.: `gap`) mantendo fila + `wrap`.
|
|
1272
1314
|
* Por defeito `true`; não é necessário passar no template na maioria dos casos.
|
|
@@ -1281,7 +1323,7 @@ declare class LayoutStackComponent {
|
|
|
1281
1323
|
stackFill: boolean;
|
|
1282
1324
|
get hostClass(): string;
|
|
1283
1325
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutStackComponent, never>;
|
|
1284
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutStackComponent, "app-layout-stack", never, { "align": { "alias": "align"; "required": false; }; "stackOnMobile": { "alias": "stackOnMobile"; "required": false; }; "stackDivider": { "alias": "stackDivider"; "required": false; }; "stackFill": { "alias": "stackFill"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1326
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutStackComponent, "app-layout-stack", never, { "align": { "alias": "align"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "itemAlign": { "alias": "itemAlign"; "required": false; }; "stackOnMobile": { "alias": "stackOnMobile"; "required": false; }; "stackDivider": { "alias": "stackDivider"; "required": false; }; "stackFill": { "alias": "stackFill"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1285
1327
|
static ngAcceptInputType_stackOnMobile: unknown;
|
|
1286
1328
|
static ngAcceptInputType_stackDivider: unknown;
|
|
1287
1329
|
static ngAcceptInputType_stackFill: unknown;
|
|
@@ -3008,5 +3050,5 @@ declare class AppBreadcrumbComponent {
|
|
|
3008
3050
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppBreadcrumbComponent, "app-breadcrumb", never, { "items": { "alias": "items"; "required": true; }; }, {}, never, never, true, never>;
|
|
3009
3051
|
}
|
|
3010
3052
|
|
|
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 };
|
|
3053
|
+
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, LAYOUT_STACK_SIDE_BY_SIDE, LAYOUT_STACK_STACKED, LayoutStackAlign, LayoutStackComponent, LayoutStackDirection, LayoutStackItemAlign, 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 };
|
|
3012
3054
|
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 };
|