@telcomdev/ui 0.1.39 → 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/fesm2022/telcomdev-ui.mjs +245 -4
- package/fesm2022/telcomdev-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/telcomdev-ui.d.ts +115 -3
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>;
|
|
@@ -1245,6 +1279,84 @@ declare const TD_ICONOS: {
|
|
|
1245
1279
|
calculator: {
|
|
1246
1280
|
path: string;
|
|
1247
1281
|
};
|
|
1282
|
+
money: {
|
|
1283
|
+
path: string;
|
|
1284
|
+
};
|
|
1285
|
+
currency_exchange: {
|
|
1286
|
+
path: string;
|
|
1287
|
+
};
|
|
1288
|
+
bank_transfer: {
|
|
1289
|
+
path: string;
|
|
1290
|
+
};
|
|
1291
|
+
savings: {
|
|
1292
|
+
path: string;
|
|
1293
|
+
};
|
|
1294
|
+
investment: {
|
|
1295
|
+
path: string;
|
|
1296
|
+
};
|
|
1297
|
+
portfolio: {
|
|
1298
|
+
path: string;
|
|
1299
|
+
};
|
|
1300
|
+
budget: {
|
|
1301
|
+
path: string;
|
|
1302
|
+
};
|
|
1303
|
+
income: {
|
|
1304
|
+
path: string;
|
|
1305
|
+
};
|
|
1306
|
+
expense: {
|
|
1307
|
+
path: string;
|
|
1308
|
+
};
|
|
1309
|
+
cash_flow: {
|
|
1310
|
+
path: string;
|
|
1311
|
+
};
|
|
1312
|
+
debt: {
|
|
1313
|
+
path: string;
|
|
1314
|
+
};
|
|
1315
|
+
loan: {
|
|
1316
|
+
path: string;
|
|
1317
|
+
};
|
|
1318
|
+
loan_application: {
|
|
1319
|
+
path: string;
|
|
1320
|
+
};
|
|
1321
|
+
loan_approved: {
|
|
1322
|
+
path: string;
|
|
1323
|
+
};
|
|
1324
|
+
loan_pending: {
|
|
1325
|
+
path: string;
|
|
1326
|
+
};
|
|
1327
|
+
loan_rejected: {
|
|
1328
|
+
path: string;
|
|
1329
|
+
};
|
|
1330
|
+
installment: {
|
|
1331
|
+
path: string;
|
|
1332
|
+
};
|
|
1333
|
+
amortization: {
|
|
1334
|
+
path: string;
|
|
1335
|
+
};
|
|
1336
|
+
interest: {
|
|
1337
|
+
path: string;
|
|
1338
|
+
};
|
|
1339
|
+
percentage: {
|
|
1340
|
+
path: string;
|
|
1341
|
+
};
|
|
1342
|
+
credit_score: {
|
|
1343
|
+
path: string;
|
|
1344
|
+
};
|
|
1345
|
+
collateral: {
|
|
1346
|
+
path: string;
|
|
1347
|
+
};
|
|
1348
|
+
guarantor: {
|
|
1349
|
+
path: string;
|
|
1350
|
+
};
|
|
1351
|
+
financial_statement: {
|
|
1352
|
+
path: string;
|
|
1353
|
+
};
|
|
1354
|
+
chart_up: {
|
|
1355
|
+
path: string;
|
|
1356
|
+
};
|
|
1357
|
+
chart_down: {
|
|
1358
|
+
path: string;
|
|
1359
|
+
};
|
|
1248
1360
|
warehouse: {
|
|
1249
1361
|
path: string;
|
|
1250
1362
|
};
|
|
@@ -1394,7 +1506,7 @@ declare const TD_ICONOS: {
|
|
|
1394
1506
|
};
|
|
1395
1507
|
};
|
|
1396
1508
|
type TdIconoNombre = keyof typeof TD_ICONOS;
|
|
1397
|
-
declare const TD_ICONOS_NOMBRES: readonly ("home" | "dashboard" | "folder" | "settings" | "people" | "person" | "security" | "inventory" | "shopping_cart" | "receipt" | "assessment" | "description" | "business" | "chevron_left" | "chevron_right" | "sun" | "moon" | "alert" | "check" | "close" | "menu" | "search" | "visibility" | "visibility_off" | "notifications" | "chevron_down" | "apps" | "help" | "add" | "edit" | "delete" | "toggle_on" | "toggle_off" | "inbox" | "pdf" | "save" | "copy" | "download" | "upload" | "print" | "excel" | "xml" | "zip" | "file" | "image" | "calendar" | "clock" | "history" | "filter" | "refresh" | "sort" | "more_vertical" | "more_horizontal" | "arrow_back" | "arrow_forward" | "login" | "logout" | "lock" | "lock_open" | "mail" | "phone" | "send" | "location" | "language" | "info" | "warning" | "error" | "check_circle" | "cancel" | "star" | "favorite" | "database" | "cloud" | "camera" | "link" | "external_link" | "hotel" | "bed" | "room" | "door" | "key" | "booking" | "check_in" | "check_out" | "concierge" | "bell_service" | "luggage" | "housekeeping" | "restaurant" | "minibar" | "parking" | "wifi" | "elevator" | "pool" | "invoice" | "invoice_paid" | "invoice_pending" | "credit_card" | "payment" | "cash" | "wallet" | "bank" | "tax" | "pos" | "barcode" | "qr_code" | "calculator" | "warehouse" | "supplier" | "customer" | "employee" | "organization" | "branch" | "contract" | "approval" | "workflow" | "tasks" | "ticket" | "support_agent" | "role" | "permissions" | "audit" | "server" | "api" | "terminal" | "integration" | "backup" | "analytics" | "kpi" | "procurement" | "purchase_order" | "delivery" | "truck" | "route" | "map" | "product" | "service" | "maintenance" | "module" | "menu_book" | "identity" | "room_service" | "housekeeping_cart" | "occupancy" | "swap_horiz" | "confirmation_number" | "checkin" | "chekin" | "checkout" | "chekout" | "add_person" | "remove" | "door_front" | "event_busy" | "cleaning_services" | "build")[];
|
|
1509
|
+
declare const TD_ICONOS_NOMBRES: readonly ("home" | "dashboard" | "folder" | "settings" | "people" | "person" | "security" | "inventory" | "shopping_cart" | "receipt" | "assessment" | "description" | "business" | "chevron_left" | "chevron_right" | "sun" | "moon" | "alert" | "check" | "close" | "menu" | "search" | "visibility" | "visibility_off" | "notifications" | "chevron_down" | "apps" | "help" | "add" | "edit" | "delete" | "toggle_on" | "toggle_off" | "inbox" | "pdf" | "save" | "copy" | "download" | "upload" | "print" | "excel" | "xml" | "zip" | "file" | "image" | "calendar" | "clock" | "history" | "filter" | "refresh" | "sort" | "more_vertical" | "more_horizontal" | "arrow_back" | "arrow_forward" | "login" | "logout" | "lock" | "lock_open" | "mail" | "phone" | "send" | "location" | "language" | "info" | "warning" | "error" | "check_circle" | "cancel" | "star" | "favorite" | "database" | "cloud" | "camera" | "link" | "external_link" | "hotel" | "bed" | "room" | "door" | "key" | "booking" | "check_in" | "check_out" | "concierge" | "bell_service" | "luggage" | "housekeeping" | "restaurant" | "minibar" | "parking" | "wifi" | "elevator" | "pool" | "invoice" | "invoice_paid" | "invoice_pending" | "credit_card" | "payment" | "cash" | "wallet" | "bank" | "tax" | "pos" | "barcode" | "qr_code" | "calculator" | "money" | "currency_exchange" | "bank_transfer" | "savings" | "investment" | "portfolio" | "budget" | "income" | "expense" | "cash_flow" | "debt" | "loan" | "loan_application" | "loan_approved" | "loan_pending" | "loan_rejected" | "installment" | "amortization" | "interest" | "percentage" | "credit_score" | "collateral" | "guarantor" | "financial_statement" | "chart_up" | "chart_down" | "warehouse" | "supplier" | "customer" | "employee" | "organization" | "branch" | "contract" | "approval" | "workflow" | "tasks" | "ticket" | "support_agent" | "role" | "permissions" | "audit" | "server" | "api" | "terminal" | "integration" | "backup" | "analytics" | "kpi" | "procurement" | "purchase_order" | "delivery" | "truck" | "route" | "map" | "product" | "service" | "maintenance" | "module" | "menu_book" | "identity" | "room_service" | "housekeeping_cart" | "occupancy" | "swap_horiz" | "confirmation_number" | "checkin" | "chekin" | "checkout" | "chekout" | "add_person" | "remove" | "door_front" | "event_busy" | "cleaning_services" | "build")[];
|
|
1398
1510
|
|
|
1399
1511
|
type TdInputValue = string | number | null;
|
|
1400
1512
|
type TdInputEmptyValue = 'auto' | 'null' | 'empty-string';
|
|
@@ -2103,5 +2215,5 @@ declare class TdTooltip implements OnDestroy {
|
|
|
2103
2215
|
static ngAcceptInputType_tdTooltipDisabled: unknown;
|
|
2104
2216
|
}
|
|
2105
2217
|
|
|
2106
|
-
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 };
|
|
2107
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 };
|