@pumpkin-tech/pumpkin-tech-ng 0.2.27 → 0.2.29

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
@@ -986,7 +986,7 @@ declare class InputDateRangeComponent extends BaseField implements ControlValueA
986
986
  }
987
987
 
988
988
  type EmitMode = 'date' | 'isoDate' | 'isoDateTimeZ' | 'isoDateTimeTZ' | 'localOffset';
989
- declare class InputDateComponent extends BaseField implements ControlValueAccessor, OnChanges {
989
+ declare class InputDateComponent extends BaseField implements ControlValueAccessor, OnChanges, OnInit, OnDestroy {
990
990
  private cdr;
991
991
  inputDateElement: ElementRef<HTMLInputElement>;
992
992
  picker: MatDatepicker<Date>;
@@ -1010,6 +1010,7 @@ declare class InputDateComponent extends BaseField implements ControlValueAccess
1010
1010
  timeZone?: string | number;
1011
1011
  emit: EmitMode;
1012
1012
  timeString: string;
1013
+ private destroy$;
1013
1014
  onChange: (val: any) => void;
1014
1015
  onTouched: () => void;
1015
1016
  get isDisabled(): boolean;
@@ -1018,6 +1019,8 @@ declare class InputDateComponent extends BaseField implements ControlValueAccess
1018
1019
  get timePickerDefaultTime(): string;
1019
1020
  get timePickerValue(): string;
1020
1021
  constructor(el: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
1022
+ ngOnInit(): void;
1023
+ ngOnDestroy(): void;
1021
1024
  ngOnChanges(changes: SimpleChanges): void;
1022
1025
  writeValue(value: string | Date | null): void;
1023
1026
  registerOnChange(fn: any): void;
@@ -1284,6 +1287,34 @@ declare class TableComponent<T> implements OnChanges, DoCheck, AfterContentInit
1284
1287
  static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "ptech-table", never, { "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "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; }; "columns": { "alias": "columns"; "required": false; }; "actions": { "alias": "actions"; "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"; "reorder": "reorder"; "toggleChange": "toggleChange"; }, ["cellTemplates"], ["[table-filters]", "[table-filters-actions]"], true, never>;
1285
1288
  }
1286
1289
 
1290
+ declare class ListPaginationComponent {
1291
+ totalItems: number;
1292
+ page: number;
1293
+ pageSize: number;
1294
+ pageSizeOptions: number[];
1295
+ pageSizeLabel: string;
1296
+ pageLabel: string;
1297
+ ofLabel: string;
1298
+ showingLabel: string;
1299
+ itemsLabel: string;
1300
+ firstLabel: string;
1301
+ previousLabel: string;
1302
+ nextLabel: string;
1303
+ lastLabel: string;
1304
+ pageChange: EventEmitter<number>;
1305
+ pageSizeChange: EventEmitter<number>;
1306
+ get totalPages(): number;
1307
+ get visibleRangeStart(): number;
1308
+ get visibleRangeEnd(): number;
1309
+ goFirst(): void;
1310
+ goPrev(): void;
1311
+ goNext(): void;
1312
+ goLast(): void;
1313
+ handlePageSizeChange(value: number): void;
1314
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListPaginationComponent, never>;
1315
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListPaginationComponent, "ptech-list-pagination", never, { "totalItems": { "alias": "totalItems"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "pageSizeLabel": { "alias": "pageSizeLabel"; "required": false; }; "pageLabel": { "alias": "pageLabel"; "required": false; }; "ofLabel": { "alias": "ofLabel"; "required": false; }; "showingLabel": { "alias": "showingLabel"; "required": false; }; "itemsLabel": { "alias": "itemsLabel"; "required": false; }; "firstLabel": { "alias": "firstLabel"; "required": false; }; "previousLabel": { "alias": "previousLabel"; "required": false; }; "nextLabel": { "alias": "nextLabel"; "required": false; }; "lastLabel": { "alias": "lastLabel"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
1316
+ }
1317
+
1287
1318
  declare class DialogShellComponent {
1288
1319
  title: string;
1289
1320
  subtitle?: string;
@@ -1315,7 +1346,7 @@ declare class CoreMaterialModule {
1315
1346
 
1316
1347
  declare class PumpkinTechModule {
1317
1348
  static ɵfac: i0.ɵɵFactoryDeclaration<PumpkinTechModule, never>;
1318
- 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 DialogShellComponent], [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 DialogShellComponent, typeof CoreMaterialModule]>;
1349
+ 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 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 CoreMaterialModule]>;
1319
1350
  static ɵinj: i0.ɵɵInjectorDeclaration<PumpkinTechModule>;
1320
1351
  }
1321
1352
 
@@ -1717,5 +1748,5 @@ declare class FakeDataService {
1717
1748
  static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
1718
1749
  }
1719
1750
 
1720
- export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, FakeDataService, FlagComponent, FooterComponent, ForDirective, GetFirstStringBeforeSpacePipe, HeaderComponent, IconComponent, InfoDetailComponent, InfoDetailDialogComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputTimeComponent, IsLongerThanPipe, LineBreakAfterPeriodPipe, LineBreakAfterPipe, LoadingOverlayComponent, LoadingService, LowerCaseDirective, MESSAGE_SERVICE, MY_DATE_FORMATS, MemoryFormatPipe, ModuleChangeService, NavComponent, NavService, NumberUtil, ObjectUtil, PhoneBrazilPipe, PhoneMaskBrazilDirective, PhoneMaskSpainDirective, PhoneSpainPipe, PipesModule, ProfileMenuComponent, ProgressBarComponent, ProgressBarMultipleComponent, PtechColDirective, PtechGridDirective, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
1751
+ export { ActionDialogComponent, ActionResultDialogComponent, ActionRowComponent, AlertComponent, ArrayUtil, BREADCRUMB_PREFIX$, BadgeComponent, BadgeStackComponent, BreadcrumbComponent, BreadcrumbService, ButtonComponent, CheckBoxComponent, ClickCatcherDirective, ConfirmationDialogComponent, CoreMaterialModule, CurrencyBrlPipe, CurrencyPreferenceService, CurrencyUtil, DateAgoPipe, DateMaskDirective, DateUtil, DefaultConsoleMessageService, DefaultMessageService, DialogService, DialogShellComponent, DirectivesModule, DocumentUtil, DynamicTabDirective, 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, PtechColDirective, PtechGridDirective, PumpkinTechModule, QuantityItemsComponent, RadioGroupEntityComponent, RadioGroupEnumComponent, RedDirective, SelectEntityComponent, SelectEnumComponent, SelectQuantityItemsComponent, SlideToggleComponent, SnackbarMessageService, SpaceDropDirective, StringUtil, TableCellDirective, TableComponent, TextareaComponent, TimeDurationPipe, TitleComponent, UpperCaseDirective, UptimeFormatPipe, UuidUtil };
1721
1752
  export type { ActionDialogConfig, ActionDialogField, ActionResultData, AlertData, AlertType, BadgePreset, BadgeSize, BadgeVariant, BreadcrumbRoute, ConfirmationDTO, CurrencyCode, DialogModel, FakeUser, FooterItem, HeaderData, IMessageService, NavLink, PasswordOptions, ProfileMenuItem, PtechCurrencyConfig, 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.27",
3
+ "version": "0.2.29",
4
4
  "description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
5
5
  "license": "MIT",
6
6
  "keywords": [