@pumpkin-tech/pumpkin-tech-ng 0.2.63 → 0.2.65
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
|
@@ -597,8 +597,9 @@ declare class NavComponent implements AfterViewInit, OnDestroy {
|
|
|
597
597
|
|
|
598
598
|
declare class FooterComponent {
|
|
599
599
|
version: string;
|
|
600
|
+
versionLabel: string;
|
|
600
601
|
static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
601
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ptech-footer", never, { "version": { "alias": "version"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
602
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "ptech-footer", never, { "version": { "alias": "version"; "required": false; }; "versionLabel": { "alias": "versionLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
602
603
|
}
|
|
603
604
|
|
|
604
605
|
declare class LoadingService {
|
|
@@ -1329,6 +1330,9 @@ declare class TableComponent<T> implements OnChanges, DoCheck, AfterContentInit
|
|
|
1329
1330
|
shadow: boolean;
|
|
1330
1331
|
disabled: boolean;
|
|
1331
1332
|
emptyText: string;
|
|
1333
|
+
emptyAriaLabel: string;
|
|
1334
|
+
tableAriaLabel: string;
|
|
1335
|
+
paginatorAriaLabel: string;
|
|
1332
1336
|
stickyHeader: boolean;
|
|
1333
1337
|
rowClickable: boolean;
|
|
1334
1338
|
data: T[];
|
|
@@ -1377,6 +1381,8 @@ declare class TableComponent<T> implements OnChanges, DoCheck, AfterContentInit
|
|
|
1377
1381
|
selection: SelectionModel<T>;
|
|
1378
1382
|
private selectedIdSet;
|
|
1379
1383
|
private dataDiffer?;
|
|
1384
|
+
private clientPageIndex;
|
|
1385
|
+
private clientPageSize;
|
|
1380
1386
|
private matTable?;
|
|
1381
1387
|
cellTemplates: QueryList<TableCellDirective>;
|
|
1382
1388
|
actionsTemplate?: TemplateRef<any>;
|
|
@@ -1392,6 +1398,7 @@ declare class TableComponent<T> implements OnChanges, DoCheck, AfterContentInit
|
|
|
1392
1398
|
get resolvedTotal(): number;
|
|
1393
1399
|
get resolvedPageIndex(): number;
|
|
1394
1400
|
get resolvedPageSize(): number;
|
|
1401
|
+
private get usesServerPagination();
|
|
1395
1402
|
normalizeColumn(column: TableColumn<T>): TableColumn<T>;
|
|
1396
1403
|
columnKey(column: TableColumn<T>): string;
|
|
1397
1404
|
columnHeader(column: TableColumn<T>): string;
|
|
@@ -1447,7 +1454,7 @@ declare class TableComponent<T> implements OnChanges, DoCheck, AfterContentInit
|
|
|
1447
1454
|
onCellClick(row: T, col: TableColumn<T>): void;
|
|
1448
1455
|
onToggleColumnChange(row: T, col: TableColumn<T>, value: any): void;
|
|
1449
1456
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
1450
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "ptech-table", never, { "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "rowClickable": { "alias": "rowClickable"; "required": false; }; "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "paginatorLength": { "alias": "paginatorLength"; "required": false; }; "paginatorPageIndex": { "alias": "paginatorPageIndex"; "required": false; }; "paginatorPageSize": { "alias": "paginatorPageSize"; "required": false; }; "serverSidePagination": { "alias": "serverSidePagination"; "required": false; }; "backendPagination": { "alias": "backendPagination"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "serverSideSorting": { "alias": "serverSideSorting"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "actionsDisplay": { "alias": "actionsDisplay"; "required": false; }; "actionsMenuLabel": { "alias": "actionsMenuLabel"; "required": false; }; "actionsTriggerColor": { "alias": "actionsTriggerColor"; "required": false; }; "selectRow": { "alias": "selectRow"; "required": false; }; "selectMultipleRow": { "alias": "selectMultipleRow"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "usePtechSelectionControls": { "alias": "usePtechSelectionControls"; "required": false; }; "getRowId": { "alias": "getRowId"; "required": false; }; "imageFallback": { "alias": "imageFallback"; "required": false; }; "responsiveCards": { "alias": "responsiveCards"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; }, { "selectedRows": "selectedRows"; "selectedRow": "selectedRow"; "selectedIds": "selectedIds"; "selectionChange": "selectionChange"; "page": "page"; "pageChange": "pageChange"; "sortChange": "sortChange"; "rowClick": "rowClick"; "reorder": "reorder"; "toggleChange": "toggleChange"; }, ["actionsTemplate", "footerTemplate", "emptyTemplate", "cellTemplates"], ["[table-filters]", "[table-filters-actions]"], true, never>;
|
|
1457
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "ptech-table", never, { "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; }; "emptyAriaLabel": { "alias": "emptyAriaLabel"; "required": false; }; "tableAriaLabel": { "alias": "tableAriaLabel"; "required": false; }; "paginatorAriaLabel": { "alias": "paginatorAriaLabel"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "rowClickable": { "alias": "rowClickable"; "required": false; }; "data": { "alias": "data"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "paginatorLength": { "alias": "paginatorLength"; "required": false; }; "paginatorPageIndex": { "alias": "paginatorPageIndex"; "required": false; }; "paginatorPageSize": { "alias": "paginatorPageSize"; "required": false; }; "serverSidePagination": { "alias": "serverSidePagination"; "required": false; }; "backendPagination": { "alias": "backendPagination"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "serverSideSorting": { "alias": "serverSideSorting"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "actionsDisplay": { "alias": "actionsDisplay"; "required": false; }; "actionsMenuLabel": { "alias": "actionsMenuLabel"; "required": false; }; "actionsTriggerColor": { "alias": "actionsTriggerColor"; "required": false; }; "selectRow": { "alias": "selectRow"; "required": false; }; "selectMultipleRow": { "alias": "selectMultipleRow"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "usePtechSelectionControls": { "alias": "usePtechSelectionControls"; "required": false; }; "getRowId": { "alias": "getRowId"; "required": false; }; "imageFallback": { "alias": "imageFallback"; "required": false; }; "responsiveCards": { "alias": "responsiveCards"; "required": false; }; "reorderable": { "alias": "reorderable"; "required": false; }; }, { "selectedRows": "selectedRows"; "selectedRow": "selectedRow"; "selectedIds": "selectedIds"; "selectionChange": "selectionChange"; "page": "page"; "pageChange": "pageChange"; "sortChange": "sortChange"; "rowClick": "rowClick"; "reorder": "reorder"; "toggleChange": "toggleChange"; }, ["actionsTemplate", "footerTemplate", "emptyTemplate", "cellTemplates"], ["[table-filters]", "[table-filters-actions]"], true, never>;
|
|
1451
1458
|
}
|
|
1452
1459
|
|
|
1453
1460
|
declare class ListPaginationComponent {
|
|
@@ -1798,6 +1805,7 @@ interface PtechCarouselItem {
|
|
|
1798
1805
|
actionLabel?: string;
|
|
1799
1806
|
actionUrl?: string;
|
|
1800
1807
|
alt?: string;
|
|
1808
|
+
data?: unknown;
|
|
1801
1809
|
}
|
|
1802
1810
|
declare class PtechCarouselComponent implements OnChanges, OnDestroy {
|
|
1803
1811
|
private cdr;
|
|
@@ -1809,6 +1817,11 @@ declare class PtechCarouselComponent implements OnChanges, OnDestroy {
|
|
|
1809
1817
|
showIndicators: boolean;
|
|
1810
1818
|
showNavigation: boolean;
|
|
1811
1819
|
ariaLabel: string;
|
|
1820
|
+
slideTemplate?: TemplateRef<{
|
|
1821
|
+
$implicit: PtechCarouselItem;
|
|
1822
|
+
index: number;
|
|
1823
|
+
active: boolean;
|
|
1824
|
+
}>;
|
|
1812
1825
|
itemClick: EventEmitter<PtechCarouselItem>;
|
|
1813
1826
|
activeIndexChange: EventEmitter<number>;
|
|
1814
1827
|
activeIndex: number;
|
|
@@ -1832,7 +1845,7 @@ declare class PtechCarouselComponent implements OnChanges, OnDestroy {
|
|
|
1832
1845
|
private restartAutoPlay;
|
|
1833
1846
|
private stopAutoPlay;
|
|
1834
1847
|
static ɵfac: i0.ɵɵFactoryDeclaration<PtechCarouselComponent, never>;
|
|
1835
|
-
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>;
|
|
1848
|
+
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; }; "slideTemplate": { "alias": "slideTemplate"; "required": false; }; }, { "itemClick": "itemClick"; "activeIndexChange": "activeIndexChange"; }, never, never, true, never>;
|
|
1836
1849
|
}
|
|
1837
1850
|
|
|
1838
1851
|
type PtechTimelineStatus = 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
@@ -1872,16 +1885,22 @@ declare class PtechTimelineComponent {
|
|
|
1872
1885
|
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>;
|
|
1873
1886
|
}
|
|
1874
1887
|
|
|
1888
|
+
/** One process-wide clock tick shared by every breadcrumb/footer clock. */
|
|
1889
|
+
declare class PtechClockService {
|
|
1890
|
+
readonly now$: Observable<Date>;
|
|
1891
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PtechClockService, never>;
|
|
1892
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PtechClockService>;
|
|
1893
|
+
}
|
|
1875
1894
|
/**
|
|
1876
1895
|
* Renders a local clock for a given IANA zone id - purely presentational, no business rule.
|
|
1877
1896
|
* It does not know what a "user" or a "preference" is: the consuming app is responsible for
|
|
1878
1897
|
* resolving zoneId (from wherever its own domain keeps it) and passing it in as a plain input.
|
|
1879
|
-
*
|
|
1880
|
-
*
|
|
1881
|
-
* the update originates outside any zone-triggered template event.
|
|
1898
|
+
* Subscribes to the library's process-wide clock so clocks rendered in different shell regions
|
|
1899
|
+
* receive the same Date instance. OnPush requires an explicit markForCheck() on each tick.
|
|
1882
1900
|
*/
|
|
1883
1901
|
declare class PtechTimezoneClockComponent implements OnInit, OnChanges, OnDestroy {
|
|
1884
1902
|
private cdr;
|
|
1903
|
+
private clock;
|
|
1885
1904
|
zoneId: string | null;
|
|
1886
1905
|
compact: boolean;
|
|
1887
1906
|
showTimezone: boolean;
|
|
@@ -1889,7 +1908,7 @@ declare class PtechTimezoneClockComponent implements OnInit, OnChanges, OnDestro
|
|
|
1889
1908
|
time: string;
|
|
1890
1909
|
effectiveZoneId: string;
|
|
1891
1910
|
private tickSubscription?;
|
|
1892
|
-
constructor(cdr: ChangeDetectorRef);
|
|
1911
|
+
constructor(cdr: ChangeDetectorRef, clock: PtechClockService);
|
|
1893
1912
|
ngOnInit(): void;
|
|
1894
1913
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1895
1914
|
ngOnDestroy(): void;
|
|
@@ -2408,5 +2427,5 @@ declare class FakeDataService {
|
|
|
2408
2427
|
static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
|
|
2409
2428
|
}
|
|
2410
2429
|
|
|
2411
|
-
export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, EmailUtil, 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, PtechConfirmationDialogComponent, PtechConfirmationService, PtechCurrencyPipe, PtechDualListboxComponent, PtechGridDirective, PtechHelpButtonComponent, PtechInputFileComponent, PtechLogsComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechTimelineComponent, PtechTimezoneClockComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
2430
|
+
export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CardComponent, CheckBoxComponent, ClickCatcherDirective, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, EmailUtil, 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, PtechClockService, PtechColDirective, PtechConfirmationDialogComponent, PtechConfirmationService, PtechCurrencyPipe, PtechDualListboxComponent, PtechGridDirective, PtechHelpButtonComponent, PtechInputFileComponent, PtechLogsComponent, PtechPopoverComponent, PtechTabComponent, PtechTableColumnBuilder, PtechTabsComponent, PtechTimelineComponent, PtechTimezoneClockComponent, PtechWidgetMenuComponent, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
|
|
2412
2431
|
export type { ActionDialogConfig, ActionDialogField, ActionResultData, AlertData, AlertType, BadgePreset, BadgeSize, BadgeVariant, BreadcrumbRoute, CardVariant, CurrencyCode, DialogModel, FakeUser, FooterItem, HeaderData, IMessageService, NavLink, PasswordOptions, ProfileMenuItem, PtechAutocompleteDataSource, PtechCarouselItem, PtechConfirmationOptions, PtechCurrencyConfig, PtechFileItem, PtechLogModel, PtechPopoverAlign, PtechPopoverPosition, PtechPopoverTrigger, PtechTabConfig, PtechTableAction, PtechTableActionsDisplay, PtechTableColumn, PtechTablePageEvent, PtechTableReorderEvent, PtechTableSelectionChangeEvent, PtechTableSortDirection, PtechTableSortEvent, PtechTableToggleChangeEvent, PtechTimelineItem, PtechTimelineStatus, TableAction, TableAlign, TableBadgeConfig, TableColType, TableColumn, TableReorderEvent, TableSelectionChangeEvent, TableToggleChangeEvent };
|