@pumpkin-tech/pumpkin-tech-ng 0.2.44 → 0.2.45

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
@@ -1724,6 +1724,51 @@ declare class PtechWidgetMenuComponent {
1724
1724
  static ɵcmp: i0.ɵɵComponentDeclaration<PtechWidgetMenuComponent, "ptech-widget-menu", never, { "label": { "alias": "label"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "actionsIcon": { "alias": "actionsIcon"; "required": false; }; "showActionsIcon": { "alias": "showActionsIcon"; "required": false; }; }, {}, never, never, true, never>;
1725
1725
  }
1726
1726
 
1727
+ interface PtechCarouselItem {
1728
+ id?: string | number;
1729
+ image?: string;
1730
+ title?: string;
1731
+ description?: string;
1732
+ actionLabel?: string;
1733
+ actionUrl?: string;
1734
+ alt?: string;
1735
+ }
1736
+ declare class PtechCarouselComponent implements OnChanges, OnDestroy {
1737
+ private cdr;
1738
+ items: PtechCarouselItem[];
1739
+ autoPlay: boolean;
1740
+ interval: number;
1741
+ loop: boolean;
1742
+ pauseOnHover: boolean;
1743
+ showIndicators: boolean;
1744
+ showNavigation: boolean;
1745
+ ariaLabel: string;
1746
+ itemClick: EventEmitter<PtechCarouselItem>;
1747
+ activeIndexChange: EventEmitter<number>;
1748
+ activeIndex: number;
1749
+ private timerId?;
1750
+ private isPaused;
1751
+ private touchStartX;
1752
+ constructor(cdr: ChangeDetectorRef);
1753
+ ngOnChanges(changes: SimpleChanges): void;
1754
+ ngOnDestroy(): void;
1755
+ onMouseEnter(): void;
1756
+ onMouseLeave(): void;
1757
+ onKeydown(event: KeyboardEvent): void;
1758
+ next(): void;
1759
+ prev(): void;
1760
+ goTo(index: number): void;
1761
+ onTouchStart(event: TouchEvent): void;
1762
+ onTouchEnd(event: TouchEvent): void;
1763
+ onItemAction(item: PtechCarouselItem): void;
1764
+ trackByItem: (_: number, item: PtechCarouselItem) => string | number | undefined;
1765
+ private setActiveIndex;
1766
+ private restartAutoPlay;
1767
+ private stopAutoPlay;
1768
+ static ɵfac: i0.ɵɵFactoryDeclaration<PtechCarouselComponent, never>;
1769
+ 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>;
1770
+ }
1771
+
1727
1772
  declare const MY_DATE_FORMATS: {
1728
1773
  parse: {
1729
1774
  dateInput: string;
@@ -1743,7 +1788,7 @@ declare class CoreMaterialModule {
1743
1788
 
1744
1789
  declare class PumpkinTechModule {
1745
1790
  static ɵfac: i0.ɵɵFactoryDeclaration<PumpkinTechModule, never>;
1746
- 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 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 CoreMaterialModule]>;
1791
+ 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]>;
1747
1792
  static ɵinj: i0.ɵɵInjectorDeclaration<PumpkinTechModule>;
1748
1793
  }
1749
1794
 
@@ -2145,5 +2190,5 @@ declare class FakeDataService {
2145
2190
  static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
2146
2191
  }
2147
2192
 
2148
- 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, 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 };
2149
- export type { ActionDialogConfig, ActionDialogField, ActionResultData, AlertData, AlertType, BadgePreset, BadgeSize, BadgeVariant, BreadcrumbRoute, CardVariant, ConfirmationDTO, CurrencyCode, DialogModel, FakeUser, FooterItem, HeaderData, IMessageService, NavLink, PasswordOptions, ProfileMenuItem, PtechAutocompleteDataSource, PtechCurrencyConfig, PtechFileItem, PtechPopoverPosition, PtechPopoverTrigger, PtechTabConfig, PtechTableAction, PtechTableColumn, PtechTablePageEvent, PtechTableReorderEvent, PtechTableSelectionChangeEvent, PtechTableSortDirection, PtechTableSortEvent, PtechTableToggleChangeEvent, TableAction, TableAlign, TableBadgeConfig, TableColType, TableColumn, TableReorderEvent, TableSelectionChangeEvent, TableToggleChangeEvent };
2193
+ 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 };
2194
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpkin-tech/pumpkin-tech-ng",
3
- "version": "0.2.44",
3
+ "version": "0.2.45",
4
4
  "description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
5
5
  "license": "MIT",
6
6
  "keywords": [