@pumpkin-tech/pumpkin-tech-ng 0.2.64 → 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 {
@@ -1804,6 +1805,7 @@ interface PtechCarouselItem {
1804
1805
  actionLabel?: string;
1805
1806
  actionUrl?: string;
1806
1807
  alt?: string;
1808
+ data?: unknown;
1807
1809
  }
1808
1810
  declare class PtechCarouselComponent implements OnChanges, OnDestroy {
1809
1811
  private cdr;
@@ -1815,6 +1817,11 @@ declare class PtechCarouselComponent implements OnChanges, OnDestroy {
1815
1817
  showIndicators: boolean;
1816
1818
  showNavigation: boolean;
1817
1819
  ariaLabel: string;
1820
+ slideTemplate?: TemplateRef<{
1821
+ $implicit: PtechCarouselItem;
1822
+ index: number;
1823
+ active: boolean;
1824
+ }>;
1818
1825
  itemClick: EventEmitter<PtechCarouselItem>;
1819
1826
  activeIndexChange: EventEmitter<number>;
1820
1827
  activeIndex: number;
@@ -1838,7 +1845,7 @@ declare class PtechCarouselComponent implements OnChanges, OnDestroy {
1838
1845
  private restartAutoPlay;
1839
1846
  private stopAutoPlay;
1840
1847
  static ɵfac: i0.ɵɵFactoryDeclaration<PtechCarouselComponent, never>;
1841
- 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>;
1842
1849
  }
1843
1850
 
1844
1851
  type PtechTimelineStatus = 'success' | 'error' | 'warning' | 'info' | 'neutral';
@@ -1878,16 +1885,22 @@ declare class PtechTimelineComponent {
1878
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>;
1879
1886
  }
1880
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
+ }
1881
1894
  /**
1882
1895
  * Renders a local clock for a given IANA zone id - purely presentational, no business rule.
1883
1896
  * It does not know what a "user" or a "preference" is: the consuming app is responsible for
1884
1897
  * resolving zoneId (from wherever its own domain keeps it) and passing it in as a plain input.
1885
- * Ticks its own internal timer (1s if seconds are shown, 30s otherwise) so it works standalone
1886
- * with zero external services - OnPush requires an explicit markForCheck() on each tick since
1887
- * 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.
1888
1900
  */
1889
1901
  declare class PtechTimezoneClockComponent implements OnInit, OnChanges, OnDestroy {
1890
1902
  private cdr;
1903
+ private clock;
1891
1904
  zoneId: string | null;
1892
1905
  compact: boolean;
1893
1906
  showTimezone: boolean;
@@ -1895,7 +1908,7 @@ declare class PtechTimezoneClockComponent implements OnInit, OnChanges, OnDestro
1895
1908
  time: string;
1896
1909
  effectiveZoneId: string;
1897
1910
  private tickSubscription?;
1898
- constructor(cdr: ChangeDetectorRef);
1911
+ constructor(cdr: ChangeDetectorRef, clock: PtechClockService);
1899
1912
  ngOnInit(): void;
1900
1913
  ngOnChanges(changes: SimpleChanges): void;
1901
1914
  ngOnDestroy(): void;
@@ -2414,5 +2427,5 @@ declare class FakeDataService {
2414
2427
  static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
2415
2428
  }
2416
2429
 
2417
- 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 };
2418
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpkin-tech/pumpkin-tech-ng",
3
- "version": "0.2.64",
3
+ "version": "0.2.65",
4
4
  "description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
5
5
  "license": "MIT",
6
6
  "keywords": [