@pumpkin-tech/pumpkin-tech-ng 0.2.2 → 0.2.4

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
@@ -508,8 +508,6 @@ interface FooterItem {
508
508
  }
509
509
  declare class NavComponent {
510
510
  navService: NavService;
511
- private zone;
512
- private cdr;
513
511
  links: NavLink[];
514
512
  currentModuleName: string;
515
513
  fixedTopGap: number;
@@ -520,49 +518,14 @@ declare class NavComponent {
520
518
  headerClick: EventEmitter<void>;
521
519
  navigate: EventEmitter<NavLink>;
522
520
  logout: EventEmitter<void>;
523
- /** Largura da sidenav (para o backdrop não cobrir a nav) */
524
- sidenavWidth?: number;
525
- private readonly defaultSidenavWidth;
526
- /** Liga/desliga escurecimento do conteúdo ao abrir a nav (default: true). */
527
- useDarkenBackdrop: boolean;
528
- /** Opacidade do dimmer (0..1) */
529
- backdropOpacity: number;
530
- /** z-index do dimmer (deve ficar abaixo do header e acima do conteúdo). */
531
- backdropZIndex: number;
532
- /** Topo do dimmer em px; se omitido, usa fixedTopGap (para deixar header livre). */
533
- backdropTop?: number;
534
- coverFooter: boolean;
535
- /** Classe opcional adicional para estilização do dimmer. */
536
- backdropClass?: string;
537
- backdropOverlapPx: number;
538
- snavRef?: ElementRef<HTMLElement>;
539
- private backdropRight?;
540
- private backdropBottom?;
541
- private sub?;
542
521
  stack: NavLink[];
543
- constructor(navService: NavService, zone: NgZone, cdr: ChangeDetectorRef);
544
- ngAfterViewInit(): void;
545
- ngOnDestroy(): void;
546
- ngOnChanges(changes: SimpleChanges): void;
547
- onWinResize(): void;
548
- onOrientationChange(): void;
549
- private attachBackdrop;
550
- private updateBackdropStyles;
551
- private detachBackdrop;
552
- private onBackdropClick;
553
- private resolveTop;
554
- private resolveLeft;
555
- private resolveBackdropOverlapPx;
556
- private get sidenavWidthPx();
557
- private get sidenavRightPx();
558
- get overlayTop(): string;
559
- get overlayBottom(): string;
522
+ constructor(navService: NavService);
560
523
  get currentLevel(): NavLink[];
561
524
  get currentTitle(): string;
562
525
  clickItem(item: NavLink, ev: MouseEvent): void;
563
526
  onHeaderClick(): void;
564
527
  static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
565
- static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "ptech-nav", never, { "links": { "alias": "links"; "required": false; }; "currentModuleName": { "alias": "currentModuleName"; "required": false; }; "fixedTopGap": { "alias": "fixedTopGap"; "required": false; }; "fixedBottomGap": { "alias": "fixedBottomGap"; "required": false; }; "footerItems": { "alias": "footerItems"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "sidenavWidth": { "alias": "sidenavWidth"; "required": false; }; "useDarkenBackdrop": { "alias": "useDarkenBackdrop"; "required": false; }; "backdropOpacity": { "alias": "backdropOpacity"; "required": false; }; "backdropZIndex": { "alias": "backdropZIndex"; "required": false; }; "backdropTop": { "alias": "backdropTop"; "required": false; }; "coverFooter": { "alias": "coverFooter"; "required": false; }; "backdropClass": { "alias": "backdropClass"; "required": false; }; "backdropOverlapPx": { "alias": "backdropOverlapPx"; "required": false; }; }, { "backdropClick": "backdropClick"; "headerClick": "headerClick"; "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
528
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavComponent, "ptech-nav", never, { "links": { "alias": "links"; "required": false; }; "currentModuleName": { "alias": "currentModuleName"; "required": false; }; "fixedTopGap": { "alias": "fixedTopGap"; "required": false; }; "fixedBottomGap": { "alias": "fixedBottomGap"; "required": false; }; "footerItems": { "alias": "footerItems"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "backdropClick": "backdropClick"; "headerClick": "headerClick"; "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
566
529
  }
567
530
 
568
531
  declare class FooterComponent {
@@ -1220,6 +1183,18 @@ declare class TableComponent<T> implements OnChanges, AfterContentInit {
1220
1183
  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; }; "getRowId": { "alias": "getRowId"; "required": false; }; "imageFallback": { "alias": "imageFallback"; "required": false; }; "responsiveCards": { "alias": "responsiveCards"; "required": false; }; }, { "selectedRows": "selectedRows"; "selectedIds": "selectedIds"; "page": "page"; }, ["cellTemplates"], ["[table-filters]", "[table-filters-actions]"], true, never>;
1221
1184
  }
1222
1185
 
1186
+ declare class DialogShellComponent {
1187
+ title: string;
1188
+ subtitle?: string;
1189
+ draggable: boolean;
1190
+ showDrag: boolean;
1191
+ showClose: boolean;
1192
+ dragRootElement: string;
1193
+ close: EventEmitter<void>;
1194
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogShellComponent, never>;
1195
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogShellComponent, "ptech-dialog-shell", never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "draggable": { "alias": "draggable"; "required": false; }; "showDrag": { "alias": "showDrag"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "dragRootElement": { "alias": "dragRootElement"; "required": false; }; }, { "close": "close"; }, never, ["*"], true, never>;
1196
+ }
1197
+
1223
1198
  declare const MY_DATE_FORMATS: {
1224
1199
  parse: {
1225
1200
  dateInput: string;
@@ -1239,7 +1214,7 @@ declare class CoreMaterialModule {
1239
1214
 
1240
1215
  declare class PumpkinTechModule {
1241
1216
  static ɵfac: i0.ɵɵFactoryDeclaration<PumpkinTechModule, never>;
1242
- 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 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 CoreMaterialModule]>;
1217
+ 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]>;
1243
1218
  static ɵinj: i0.ɵɵInjectorDeclaration<PumpkinTechModule>;
1244
1219
  }
1245
1220
 
@@ -1641,5 +1616,5 @@ declare class FakeDataService {
1641
1616
  static ɵprov: i0.ɵɵInjectableDeclaration<FakeDataService>;
1642
1617
  }
1643
1618
 
1644
- 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, 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 };
1619
+ 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 };
1645
1620
  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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpkin-tech/pumpkin-tech-ng",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
5
5
  "license": "MIT",
6
6
  "keywords": [