@pumpkin-tech/pumpkin-tech-ng 0.2.49 → 0.2.51
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/index.d.ts
CHANGED
|
@@ -1647,12 +1647,12 @@ declare class PtechDualListboxComponent<T = any> implements ControlValueAccessor
|
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
1649
1649
|
declare class PtechTabComponent<T = any> {
|
|
1650
|
+
private cdr?;
|
|
1650
1651
|
index?: number;
|
|
1651
1652
|
label: string;
|
|
1652
1653
|
icon: string;
|
|
1653
1654
|
badge?: string | number;
|
|
1654
1655
|
counter?: string | number;
|
|
1655
|
-
active: boolean;
|
|
1656
1656
|
closeable: boolean;
|
|
1657
1657
|
disabled: boolean;
|
|
1658
1658
|
template?: TemplateRef<any>;
|
|
@@ -1660,8 +1660,12 @@ declare class PtechTabComponent<T = any> {
|
|
|
1660
1660
|
routerLink?: any[] | string;
|
|
1661
1661
|
selectionChange: EventEmitter<void | T>;
|
|
1662
1662
|
action?: (obj: T) => void;
|
|
1663
|
+
constructor(cdr?: ChangeDetectorRef | undefined);
|
|
1664
|
+
private _active;
|
|
1665
|
+
get active(): boolean;
|
|
1666
|
+
set active(value: boolean);
|
|
1663
1667
|
static ɵfac: i0.ɵɵFactoryDeclaration<PtechTabComponent<any>, never>;
|
|
1664
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PtechTabComponent<any>, "ptech-tab", never, { "index": { "alias": "index"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "
|
|
1668
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PtechTabComponent<any>, "ptech-tab", never, { "index": { "alias": "index"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "closeable": { "alias": "closeable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "template": { "alias": "template"; "required": false; }; "data": { "alias": "data"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, { "selectionChange": "selectionChange"; }, never, ["*"], true, never>;
|
|
1665
1669
|
}
|
|
1666
1670
|
|
|
1667
1671
|
interface PtechTabConfig<T = any> {
|
|
@@ -1770,6 +1774,43 @@ declare class PtechCarouselComponent implements OnChanges, OnDestroy {
|
|
|
1770
1774
|
static ɵcmp: i0.ɵɵComponentDeclaration<PtechCarouselComponent, "ptech-carousel", never, { "items": { "alias": "items"; "required": false; }; "autoPlay": { "alias": "autoPlay"; "required": false; }; "interval": { "alias": "interval"; "required": false; }; "loop": { "alias": "loop"; "required": false; }; "pauseOnHover": { "alias": "pauseOnHover"; "required": false; }; "showIndicators": { "alias": "showIndicators"; "required": false; }; "showNavigation": { "alias": "showNavigation"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "itemClick": "itemClick"; "activeIndexChange": "activeIndexChange"; }, never, never, true, never>;
|
|
1771
1775
|
}
|
|
1772
1776
|
|
|
1777
|
+
type PtechTimelineStatus = 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
1778
|
+
interface PtechTimelineItem {
|
|
1779
|
+
id?: string | number;
|
|
1780
|
+
icon?: string;
|
|
1781
|
+
title: string;
|
|
1782
|
+
subtitle?: string;
|
|
1783
|
+
description?: string;
|
|
1784
|
+
date?: string | Date | null;
|
|
1785
|
+
status?: PtechTimelineStatus;
|
|
1786
|
+
data?: unknown;
|
|
1787
|
+
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Generic vertical timeline/activity-feed: a marker (icon in a colored dot, per
|
|
1790
|
+
* {@link PtechTimelineStatus}) connected by a line to the next item, with a default
|
|
1791
|
+
* title/subtitle/description/date layout that any consumer can override entirely via
|
|
1792
|
+
* `[itemTemplate]` (receives the item as `$implicit`). The library only renders the shape -
|
|
1793
|
+
* every piece of data (financial history, audit log, notification feed, ...) is supplied by
|
|
1794
|
+
* the consuming app.
|
|
1795
|
+
*/
|
|
1796
|
+
declare class PtechTimelineComponent {
|
|
1797
|
+
items: PtechTimelineItem[];
|
|
1798
|
+
itemTemplate?: TemplateRef<{
|
|
1799
|
+
$implicit: PtechTimelineItem;
|
|
1800
|
+
}>;
|
|
1801
|
+
compact: boolean;
|
|
1802
|
+
clickable: boolean;
|
|
1803
|
+
loading: boolean;
|
|
1804
|
+
error: boolean;
|
|
1805
|
+
emptyText: string;
|
|
1806
|
+
errorText: string;
|
|
1807
|
+
itemClick: EventEmitter<PtechTimelineItem>;
|
|
1808
|
+
trackByItem: (_: number, item: PtechTimelineItem) => string | number;
|
|
1809
|
+
onItemClick(item: PtechTimelineItem): void;
|
|
1810
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PtechTimelineComponent, never>;
|
|
1811
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PtechTimelineComponent, "ptech-timeline", never, { "items": { "alias": "items"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "clickable": { "alias": "clickable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "error": { "alias": "error"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "errorText": { "alias": "errorText"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1773
1814
|
declare const MY_DATE_FORMATS: {
|
|
1774
1815
|
parse: {
|
|
1775
1816
|
dateInput: string;
|
|
@@ -1789,7 +1830,7 @@ declare class CoreMaterialModule {
|
|
|
1789
1830
|
|
|
1790
1831
|
declare class PumpkinTechModule {
|
|
1791
1832
|
static ɵfac: i0.ɵɵFactoryDeclaration<PumpkinTechModule, never>;
|
|
1792
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PumpkinTechModule, never, [typeof i1.CommonModule, typeof CoreMaterialModule, typeof InputComponent, typeof TextareaComponent, typeof InputDateComponent, typeof InputDateRangeComponent, typeof InputTimeComponent, typeof InputCurrencyComponent, typeof InfoDetailComponent, typeof InfoDetailDialogComponent, typeof ActionDialogComponent, typeof ActionResultDialogComponent, typeof ButtonComponent, typeof BadgeComponent, typeof BadgeStackComponent, typeof BreadcrumbComponent, typeof TitleComponent, typeof ActionRowComponent, typeof HeaderComponent, typeof NavComponent, typeof FooterComponent, typeof IconComponent, typeof SelectEntityComponent, typeof SelectEnumComponent, typeof RadioGroupEnumComponent, typeof RadioGroupEntityComponent, typeof SlideToggleComponent, typeof QuantityItemsComponent, typeof SelectQuantityItemsComponent, typeof LoadingOverlayComponent, typeof ProfileMenuComponent, typeof CheckBoxComponent, typeof ProgressBarComponent, typeof ProgressBarMultipleComponent, typeof FlagComponent, typeof TableComponent, typeof ListPaginationComponent, typeof DialogShellComponent, typeof CardComponent, typeof ExpansionPanelComponent, typeof PtechAutocompleteComponent, typeof PtechInputFileComponent, typeof PtechDualListboxComponent, typeof PtechTabsComponent, typeof PtechTabComponent, typeof PtechPopoverComponent, typeof PtechWidgetMenuComponent, typeof PtechCarouselComponent], [typeof InputComponent, typeof TextareaComponent, typeof InputDateComponent, typeof InputDateRangeComponent, typeof InputTimeComponent, typeof InputCurrencyComponent, typeof InfoDetailComponent, typeof InfoDetailDialogComponent, typeof ActionDialogComponent, typeof ActionResultDialogComponent, typeof ButtonComponent, typeof BadgeComponent, typeof BadgeStackComponent, typeof BreadcrumbComponent, typeof TitleComponent, typeof ActionRowComponent, typeof HeaderComponent, typeof NavComponent, typeof FooterComponent, typeof IconComponent, typeof SelectEntityComponent, typeof SelectEnumComponent, typeof RadioGroupEnumComponent, typeof RadioGroupEntityComponent, typeof SlideToggleComponent, typeof QuantityItemsComponent, typeof SelectQuantityItemsComponent, typeof LoadingOverlayComponent, typeof ProfileMenuComponent, typeof CheckBoxComponent, typeof ProgressBarComponent, typeof ProgressBarMultipleComponent, typeof FlagComponent, typeof TableComponent, typeof ListPaginationComponent, typeof DialogShellComponent, typeof CardComponent, typeof ExpansionPanelComponent, typeof PtechAutocompleteComponent, typeof PtechInputFileComponent, typeof PtechDualListboxComponent, typeof PtechTabsComponent, typeof PtechTabComponent, typeof PtechPopoverComponent, typeof PtechWidgetMenuComponent, typeof PtechCarouselComponent, typeof CoreMaterialModule]>;
|
|
1833
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PumpkinTechModule, never, [typeof i1.CommonModule, typeof CoreMaterialModule, typeof InputComponent, typeof TextareaComponent, typeof InputDateComponent, typeof InputDateRangeComponent, typeof InputTimeComponent, typeof InputCurrencyComponent, typeof InfoDetailComponent, typeof InfoDetailDialogComponent, typeof ActionDialogComponent, typeof ActionResultDialogComponent, typeof ButtonComponent, typeof BadgeComponent, typeof BadgeStackComponent, typeof BreadcrumbComponent, typeof TitleComponent, typeof ActionRowComponent, typeof HeaderComponent, typeof NavComponent, typeof FooterComponent, typeof IconComponent, typeof SelectEntityComponent, typeof SelectEnumComponent, typeof RadioGroupEnumComponent, typeof RadioGroupEntityComponent, typeof SlideToggleComponent, typeof QuantityItemsComponent, typeof SelectQuantityItemsComponent, typeof LoadingOverlayComponent, typeof ProfileMenuComponent, typeof CheckBoxComponent, typeof ProgressBarComponent, typeof ProgressBarMultipleComponent, typeof FlagComponent, typeof TableComponent, typeof ListPaginationComponent, typeof DialogShellComponent, typeof CardComponent, typeof ExpansionPanelComponent, typeof PtechAutocompleteComponent, typeof PtechInputFileComponent, typeof PtechDualListboxComponent, typeof PtechTabsComponent, typeof PtechTabComponent, typeof PtechPopoverComponent, typeof PtechWidgetMenuComponent, typeof PtechCarouselComponent, typeof PtechTimelineComponent], [typeof InputComponent, typeof TextareaComponent, typeof InputDateComponent, typeof InputDateRangeComponent, typeof InputTimeComponent, typeof InputCurrencyComponent, typeof InfoDetailComponent, typeof InfoDetailDialogComponent, typeof ActionDialogComponent, typeof ActionResultDialogComponent, typeof ButtonComponent, typeof BadgeComponent, typeof BadgeStackComponent, typeof BreadcrumbComponent, typeof TitleComponent, typeof ActionRowComponent, typeof HeaderComponent, typeof NavComponent, typeof FooterComponent, typeof IconComponent, typeof SelectEntityComponent, typeof SelectEnumComponent, typeof RadioGroupEnumComponent, typeof RadioGroupEntityComponent, typeof SlideToggleComponent, typeof QuantityItemsComponent, typeof SelectQuantityItemsComponent, typeof LoadingOverlayComponent, typeof ProfileMenuComponent, typeof CheckBoxComponent, typeof ProgressBarComponent, typeof ProgressBarMultipleComponent, typeof FlagComponent, typeof TableComponent, typeof ListPaginationComponent, typeof DialogShellComponent, typeof CardComponent, typeof ExpansionPanelComponent, typeof PtechAutocompleteComponent, typeof PtechInputFileComponent, typeof PtechDualListboxComponent, typeof PtechTabsComponent, typeof PtechTabComponent, typeof PtechPopoverComponent, typeof PtechWidgetMenuComponent, typeof PtechCarouselComponent, typeof PtechTimelineComponent, typeof CoreMaterialModule]>;
|
|
1793
1834
|
static ɵinj: i0.ɵɵInjectorDeclaration<PumpkinTechModule>;
|
|
1794
1835
|
}
|
|
1795
1836
|
|
|
@@ -2191,5 +2232,5 @@ declare class FakeDataService {
|
|
|
2191
2232
|
static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
|
|
2192
2233
|
}
|
|
2193
2234
|
|
|
2194
|
-
export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, ExpansionPanelComponent, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, ListPaginationComponent, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechAutocompleteComponent, PtechCarouselComponent, PtechColDirective, PtechDualListboxComponent, PtechGridDirective, PtechInputFileComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
2195
|
-
export type { ActionDialogConfig, ActionDialogField, ActionResultData, AlertData, AlertType, BadgePreset, BadgeSize, BadgeVariant, BreadcrumbRoute, CardVariant, ConfirmationDTO, CurrencyCode, DialogModel, FakeUser, FooterItem, HeaderData, IMessageService, NavLink, PasswordOptions, ProfileMenuItem, PtechAutocompleteDataSource, PtechCarouselItem, PtechCurrencyConfig, PtechFileItem, PtechPopoverPosition, PtechPopoverTrigger, PtechTabConfig, PtechTableAction, PtechTableColumn, PtechTablePageEvent, PtechTableReorderEvent, PtechTableSelectionChangeEvent, PtechTableSortDirection, PtechTableSortEvent, PtechTableToggleChangeEvent, TableAction, TableAlign, TableBadgeConfig, TableColType, TableColumn, TableReorderEvent, TableSelectionChangeEvent, TableToggleChangeEvent };
|
|
2235
|
+
export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, ExpansionPanelComponent, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, ListPaginationComponent, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechAutocompleteComponent, PtechCarouselComponent, PtechColDirective, PtechDualListboxComponent, PtechGridDirective, PtechInputFileComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechTimelineComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
2236
|
+
export type { ActionDialogConfig, ActionDialogField, ActionResultData, AlertData, AlertType, BadgePreset, BadgeSize, BadgeVariant, BreadcrumbRoute, CardVariant, ConfirmationDTO, CurrencyCode, DialogModel, FakeUser, FooterItem, HeaderData, IMessageService, NavLink, PasswordOptions, ProfileMenuItem, PtechAutocompleteDataSource, PtechCarouselItem, PtechCurrencyConfig, PtechFileItem, PtechPopoverPosition, PtechPopoverTrigger, PtechTabConfig, PtechTableAction, PtechTableColumn, PtechTablePageEvent, PtechTableReorderEvent, PtechTableSelectionChangeEvent, PtechTableSortDirection, PtechTableSortEvent, PtechTableToggleChangeEvent, PtechTimelineItem, PtechTimelineStatus, TableAction, TableAlign, TableBadgeConfig, TableColType, TableColumn, TableReorderEvent, TableSelectionChangeEvent, TableToggleChangeEvent };
|