@pumpkin-tech/pumpkin-tech-ng 0.2.5 → 0.2.7

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
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, ElementRef, NgZone, TemplateRef, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef, InjectionToken, OnInit, AfterContentInit, QueryList, Renderer2, ViewContainerRef, PipeTransform } from '@angular/core';
2
+ import { OnDestroy, ElementRef, NgZone, TemplateRef, EventEmitter, OnChanges, SimpleChanges, OnInit, ChangeDetectorRef, InjectionToken, AfterContentInit, QueryList, Renderer2, ViewContainerRef, PipeTransform } from '@angular/core';
3
3
  import { BreakpointObserver } from '@angular/cdk/layout';
4
4
  import { BooleanInput } from '@angular/cdk/coercion';
5
5
  import * as i2 from '@angular/forms';
@@ -341,7 +341,7 @@ declare class BadgeStackComponent {
341
341
  get dir(): Dir;
342
342
  get fwrap(): "wrap" | "nowrap";
343
343
  get cssGap(): string;
344
- get ai(): "center" | "stretch" | "baseline" | "flex-end" | "flex-start";
344
+ get ai(): "center" | "flex-end" | "stretch" | "baseline" | "flex-start";
345
345
  get jc(): "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly";
346
346
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeStackComponent, never>;
347
347
  static ɵcmp: i0.ɵɵComponentDeclaration<BadgeStackComponent, "ptech-badge-stack", never, { "direction": { "alias": "direction"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "wrap": { "alias": "wrap"; "required": false; }; "align": { "alias": "align"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
@@ -513,19 +513,21 @@ declare class NavComponent {
513
513
  fixedTopGap: number;
514
514
  fixedBottomGap: number;
515
515
  footerItems: FooterItem[];
516
+ hasBackdrop: boolean;
516
517
  mode: MatDrawerMode;
517
518
  backdropClick: EventEmitter<void>;
518
519
  headerClick: EventEmitter<void>;
519
520
  navigate: EventEmitter<NavLink>;
520
521
  logout: EventEmitter<void>;
521
522
  stack: NavLink[];
523
+ readonly navOpen$: Observable<boolean>;
522
524
  constructor(navService: NavService);
523
525
  get currentLevel(): NavLink[];
524
526
  get currentTitle(): string;
525
527
  clickItem(item: NavLink, ev: MouseEvent): void;
526
528
  onHeaderClick(): void;
527
529
  static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, 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>;
530
+ 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; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "backdropClick": "backdropClick"; "headerClick": "headerClick"; "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
529
531
  }
530
532
 
531
533
  declare class FooterComponent {
@@ -631,7 +633,7 @@ declare class RadioGroupEntityComponent extends BaseField implements ControlValu
631
633
  static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupEntityComponent, "ptech-radio-group-entity", never, { "property": { "alias": "property"; "required": false; }; "idProp": { "alias": "idProp"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; }, {}, never, never, true, never>;
632
634
  }
633
635
 
634
- declare class SelectEnumComponent extends BaseField implements ControlValueAccessor {
636
+ declare class SelectEnumComponent extends BaseField implements ControlValueAccessor, OnInit, OnChanges {
635
637
  constructor(el: ElementRef<HTMLElement>);
636
638
  multiple: boolean;
637
639
  enum: Record<string, any>;
@@ -647,6 +649,8 @@ declare class SelectEnumComponent extends BaseField implements ControlValueAcces
647
649
  get value(): any;
648
650
  set value(v: any);
649
651
  ngOnInit(): void;
652
+ ngOnChanges(changes: SimpleChanges): void;
653
+ private refreshEnumList;
650
654
  onSelectionChange(entity: any): void;
651
655
  private onChange;
652
656
  private onTouch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpkin-tech/pumpkin-tech-ng",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "Biblioteca Angular com utilitários e componentes Pumpkin Tech",
5
5
  "license": "MIT",
6
6
  "keywords": [