@telcomdev/ui 0.1.31 → 0.1.32
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/telcomdev-ui.d.ts
CHANGED
|
@@ -1366,18 +1366,24 @@ declare class TdLayoutFooterSlot {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
type TdLayoutSidebarPlacement = 'auto' | 'inline' | 'overlay';
|
|
1368
1368
|
type TdLayoutSectionSpan = 'content' | 'full';
|
|
1369
|
-
|
|
1369
|
+
type TdLayoutMobileSidebarStyle = 'panel' | 'card';
|
|
1370
|
+
declare class TdLayout implements AfterContentInit, AfterViewInit, OnDestroy {
|
|
1370
1371
|
private readonly headerSlot?;
|
|
1371
1372
|
private readonly sidebarSlot?;
|
|
1372
1373
|
private readonly footerSlot?;
|
|
1374
|
+
private readonly headerHost?;
|
|
1375
|
+
private readonly sidebarHost?;
|
|
1376
|
+
private readonly hostRef;
|
|
1373
1377
|
private readonly sidebarOpenState;
|
|
1374
1378
|
protected readonly mobile: _angular_core.WritableSignal<boolean>;
|
|
1379
|
+
private resizeObserver?;
|
|
1375
1380
|
fillViewport: boolean;
|
|
1376
1381
|
closeSidebarOnBackdrop: boolean;
|
|
1377
1382
|
mobileBreakpoint: number;
|
|
1378
1383
|
sidebarPlacement: TdLayoutSidebarPlacement;
|
|
1379
1384
|
headerSpan: TdLayoutSectionSpan;
|
|
1380
1385
|
footerSpan: TdLayoutSectionSpan;
|
|
1386
|
+
mobileSidebarStyle: TdLayoutMobileSidebarStyle;
|
|
1381
1387
|
set sidebarOpen(value: boolean);
|
|
1382
1388
|
get sidebarOpen(): boolean;
|
|
1383
1389
|
readonly sidebarOpenChange: EventEmitter<boolean>;
|
|
@@ -1385,16 +1391,21 @@ declare class TdLayout implements AfterContentInit {
|
|
|
1385
1391
|
get hasSidebar(): boolean;
|
|
1386
1392
|
get hasFooter(): boolean;
|
|
1387
1393
|
ngAfterContentInit(): void;
|
|
1394
|
+
ngAfterViewInit(): void;
|
|
1395
|
+
ngOnDestroy(): void;
|
|
1388
1396
|
protected syncViewport(): void;
|
|
1397
|
+
protected syncOverlayPosition(): void;
|
|
1398
|
+
protected handlePointerDownOutside(event: PointerEvent): void;
|
|
1389
1399
|
protected sidebarAsOverlay(): boolean;
|
|
1390
1400
|
protected headerFullWidth(): boolean;
|
|
1391
1401
|
protected footerFullWidth(): boolean;
|
|
1392
1402
|
openSidebar(): void;
|
|
1393
1403
|
closeSidebar(): void;
|
|
1394
1404
|
toggleSidebar(): void;
|
|
1405
|
+
private updateHeaderOffset;
|
|
1395
1406
|
private setSidebarOpen;
|
|
1396
1407
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TdLayout, never>;
|
|
1397
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TdLayout, "td-layout, td-shell", never, { "fillViewport": { "alias": "fillViewport"; "required": false; }; "closeSidebarOnBackdrop": { "alias": "closeSidebarOnBackdrop"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "sidebarPlacement": { "alias": "sidebarPlacement"; "required": false; }; "headerSpan": { "alias": "headerSpan"; "required": false; }; "footerSpan": { "alias": "footerSpan"; "required": false; }; "sidebarOpen": { "alias": "sidebarOpen"; "required": false; }; }, { "sidebarOpenChange": "sidebarOpenChange"; }, ["headerSlot", "sidebarSlot", "footerSlot"], ["[tdLayoutHeader]", "[tdLayoutSidebar]", "[tdLayoutContent]", "*", "[tdLayoutFooter]"], true, never>;
|
|
1408
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TdLayout, "td-layout, td-shell", never, { "fillViewport": { "alias": "fillViewport"; "required": false; }; "closeSidebarOnBackdrop": { "alias": "closeSidebarOnBackdrop"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "sidebarPlacement": { "alias": "sidebarPlacement"; "required": false; }; "headerSpan": { "alias": "headerSpan"; "required": false; }; "footerSpan": { "alias": "footerSpan"; "required": false; }; "mobileSidebarStyle": { "alias": "mobileSidebarStyle"; "required": false; }; "sidebarOpen": { "alias": "sidebarOpen"; "required": false; }; }, { "sidebarOpenChange": "sidebarOpenChange"; }, ["headerSlot", "sidebarSlot", "footerSlot"], ["[tdLayoutHeader]", "[tdLayoutSidebar]", "[tdLayoutContent]", "*", "[tdLayoutFooter]"], true, never>;
|
|
1398
1409
|
static ngAcceptInputType_fillViewport: unknown;
|
|
1399
1410
|
static ngAcceptInputType_closeSidebarOnBackdrop: unknown;
|
|
1400
1411
|
}
|
|
@@ -1840,4 +1851,4 @@ declare class TdTooltip implements OnDestroy {
|
|
|
1840
1851
|
}
|
|
1841
1852
|
|
|
1842
1853
|
export { TD_DIALOG_CONFIG, TD_DIALOG_DATA, TD_ICONOS, TD_ICONOS_NOMBRES, TD_THEME_DARK_COLORS, TD_THEME_LIGHT_COLORS, TdAlert, TdAlerta, TdAutocompleteSelect, TdBadge, TdButton, TdCheckbox, TdDataTable, TdDatePicker, TdDialog, TdDialogActions, TdDialogClose, TdDialogPrimary, TdDialogRef, TdFileUpload, TdFileViewer, TdFileViewerService, TdFooter, TdHeader, TdIcon, TdIconoRegistry, TdInput, TdLayout, TdLayoutContentSlot, TdLayoutFooterSlot, TdLayoutHeaderSlot, TdLayoutSidebarSlot, TdMenu, TdRadioGroup, TdSelect, TdSidebar, TdTab, TdTabs, TdTextarea, TdThemeService, TdTooltip, TelcomdevUi, createTdFormControlBridge };
|
|
1843
|
-
export type { MenuSidebar, TdAlertOptions, TdAlertType, TdAlertaOpciones, TdAlertaTipo, TdBadgePosition, TdBadgeSize, TdBadgeTone, TdBadgeVariant, TdButtonSize, TdButtonTone, TdButtonType, TdButtonVariant, TdDataTableAccion, TdDataTableAccionEvento, TdDataTableAccionesPresentacion, TdDataTableAlineacion, TdDataTableBoton, TdDataTableColumna, TdDataTableImagenConfig, TdDataTableImagenEvento, TdDataTableImagenForma, TdDataTableTipoColumna, TdDataTableTono, TdDatePickerMode, TdDatePickerValue, TdDateRange, TdDialogConfig, TdDialogPanelData, TdDialogRefLike, TdDialogTamano, TdErrorDisplay, TdFileAttachment, TdFileSource, TdFileUploadItem, TdFileUploadPreviewKind, TdFileUploadRejectReason, TdFileUploadRejected, TdFileUploadValue, TdFileUploadVariant, TdFileViewerArchivo, TdFileViewerKind, TdFileViewerOpenOptions, TdFormControlBridge, TdHeaderAccionPerfil, TdHeaderNotificacion, TdHeaderPerfilAccion, TdHeaderPerfilAccionTono, TdIconoDefinicion, TdIconoNombre, TdIconoPersonalizado, TdInputEmptyValue, TdInputMask, TdInputSanitize, TdInputSanitizeFn, TdInputSanitizePreset, TdInputValue, TdLayoutSectionSpan, TdLayoutSidebarPlacement, TdMenuBadge, TdMenuItem, TdMenuPosicion, TdMenuSeleccion, TdMenuTono, TdRadioDirection, TdRadioOption, TdRadioVariant, TdSelectAppearance, TdSelectOption, TdSelectOverflowText, TdSelectScrollBehavior, TdSidebarModoCerrado, TdSidebarSeleccion, TdSnackbarOpciones, TdSnackbarPosicion, TdSnackbarTipo, TdTabsAlignment, TdTabsVariant, TdTextareaEmptyValue, TdTextareaValue, TdThemeMode, TdThemePaletteColor, TdToastOptions, TdToastPosition, TdToastType, TdTooltipPosition, TdTooltipTone };
|
|
1854
|
+
export type { MenuSidebar, TdAlertOptions, TdAlertType, TdAlertaOpciones, TdAlertaTipo, TdBadgePosition, TdBadgeSize, TdBadgeTone, TdBadgeVariant, TdButtonSize, TdButtonTone, TdButtonType, TdButtonVariant, TdDataTableAccion, TdDataTableAccionEvento, TdDataTableAccionesPresentacion, TdDataTableAlineacion, TdDataTableBoton, TdDataTableColumna, TdDataTableImagenConfig, TdDataTableImagenEvento, TdDataTableImagenForma, TdDataTableTipoColumna, TdDataTableTono, TdDatePickerMode, TdDatePickerValue, TdDateRange, TdDialogConfig, TdDialogPanelData, TdDialogRefLike, TdDialogTamano, TdErrorDisplay, TdFileAttachment, TdFileSource, TdFileUploadItem, TdFileUploadPreviewKind, TdFileUploadRejectReason, TdFileUploadRejected, TdFileUploadValue, TdFileUploadVariant, TdFileViewerArchivo, TdFileViewerKind, TdFileViewerOpenOptions, TdFormControlBridge, TdHeaderAccionPerfil, TdHeaderNotificacion, TdHeaderPerfilAccion, TdHeaderPerfilAccionTono, TdIconoDefinicion, TdIconoNombre, TdIconoPersonalizado, TdInputEmptyValue, TdInputMask, TdInputSanitize, TdInputSanitizeFn, TdInputSanitizePreset, TdInputValue, TdLayoutMobileSidebarStyle, TdLayoutSectionSpan, TdLayoutSidebarPlacement, TdMenuBadge, TdMenuItem, TdMenuPosicion, TdMenuSeleccion, TdMenuTono, TdRadioDirection, TdRadioOption, TdRadioVariant, TdSelectAppearance, TdSelectOption, TdSelectOverflowText, TdSelectScrollBehavior, TdSidebarModoCerrado, TdSidebarSeleccion, TdSnackbarOpciones, TdSnackbarPosicion, TdSnackbarTipo, TdTabsAlignment, TdTabsVariant, TdTextareaEmptyValue, TdTextareaValue, TdThemeMode, TdThemePaletteColor, TdToastOptions, TdToastPosition, TdToastType, TdTooltipPosition, TdTooltipTone };
|