@telcomdev/ui 0.1.40 → 0.1.41
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AfterContentInit, OnDestroy, EventEmitter, AfterContentChecked, ModelSignal, OutputEmitterRef, OnChanges, SimpleChanges, InjectionToken, Type, AfterViewInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
4
|
import { FormCheckboxControl, WithOptionalFieldTree, DisabledReason, ValidationError, FormValueControl } from '@angular/forms/signals';
|
|
5
5
|
import { CdkConnectedOverlay, ScrollStrategy, ConnectedPosition } from '@angular/cdk/overlay';
|
|
@@ -130,6 +130,39 @@ declare class TdAlert {
|
|
|
130
130
|
declare class TdAlerta extends TdAlert {
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
declare class TdAccordionItem {
|
|
134
|
+
title: string;
|
|
135
|
+
description: string;
|
|
136
|
+
icon: string;
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
set expanded(value: boolean);
|
|
139
|
+
get expanded(): boolean;
|
|
140
|
+
readonly expandedChange: EventEmitter<boolean>;
|
|
141
|
+
readonly toggleEvent: EventEmitter<TdAccordionItem>;
|
|
142
|
+
protected readonly expandedState: _angular_core.WritableSignal<boolean>;
|
|
143
|
+
protected readonly panelId: string;
|
|
144
|
+
protected toggle(): void;
|
|
145
|
+
setExpanded(value: boolean): void;
|
|
146
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TdAccordionItem, never>;
|
|
147
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TdAccordionItem, "td-accordion-item", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; }, { "expandedChange": "expandedChange"; }, never, ["*"], true, never>;
|
|
148
|
+
}
|
|
149
|
+
declare class TdAccordion implements AfterContentInit, OnDestroy {
|
|
150
|
+
private readonly itemList;
|
|
151
|
+
multiple: boolean;
|
|
152
|
+
bordered: boolean;
|
|
153
|
+
dense: boolean;
|
|
154
|
+
dark: boolean;
|
|
155
|
+
private readonly subscriptions;
|
|
156
|
+
private itemsSubscription;
|
|
157
|
+
private readonly changeDetector;
|
|
158
|
+
ngAfterContentInit(): void;
|
|
159
|
+
ngOnDestroy(): void;
|
|
160
|
+
private subscribeToItems;
|
|
161
|
+
private handleToggle;
|
|
162
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TdAccordion, never>;
|
|
163
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TdAccordion, "td-accordion", never, { "multiple": { "alias": "multiple"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "dense": { "alias": "dense"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["itemList"], ["*"], true, never>;
|
|
164
|
+
}
|
|
165
|
+
|
|
133
166
|
type TdBadgeTone = 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info';
|
|
134
167
|
type TdBadgeVariant = 'soft' | 'solid' | 'outline';
|
|
135
168
|
type TdBadgeSize = 'sm' | 'md' | 'lg';
|
|
@@ -604,6 +637,7 @@ declare class TdDialog {
|
|
|
604
637
|
open<C, D = unknown, R = unknown>(component: Type<C>, config?: TdDialogConfig<D>): TdDialogRef<R>;
|
|
605
638
|
closeAll(): void;
|
|
606
639
|
private widthFor;
|
|
640
|
+
private maxHeightFor;
|
|
607
641
|
private panelClasses;
|
|
608
642
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TdDialog, never>;
|
|
609
643
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TdDialog>;
|
|
@@ -2181,5 +2215,5 @@ declare class TdTooltip implements OnDestroy {
|
|
|
2181
2215
|
static ngAcceptInputType_tdTooltipDisabled: unknown;
|
|
2182
2216
|
}
|
|
2183
2217
|
|
|
2184
|
-
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, TdTabsActions, TdTextarea, TdThemeService, TdTooltip, TelcomdevUi, createTdFormControlBridge };
|
|
2218
|
+
export { TD_DIALOG_CONFIG, TD_DIALOG_DATA, TD_ICONOS, TD_ICONOS_NOMBRES, TD_THEME_DARK_COLORS, TD_THEME_LIGHT_COLORS, TdAccordion, TdAccordionItem, 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, TdTabsActions, TdTextarea, TdThemeService, TdTooltip, TelcomdevUi, createTdFormControlBridge };
|
|
2185
2219
|
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, TdTabsActionsPlacement, TdTabsAlignment, TdTabsVariant, TdTextareaEmptyValue, TdTextareaValue, TdThemeMode, TdThemePaletteColor, TdToastOptions, TdToastPosition, TdToastType, TdTooltipPosition, TdTooltipTone };
|