@pumpkin-tech/pumpkin-tech-ng 0.2.0 → 0.2.1
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
|
@@ -342,7 +342,7 @@ declare class BadgeStackComponent {
|
|
|
342
342
|
get dir(): Dir;
|
|
343
343
|
get fwrap(): "wrap" | "nowrap";
|
|
344
344
|
get cssGap(): string;
|
|
345
|
-
get ai(): "center" | "
|
|
345
|
+
get ai(): "center" | "flex-end" | "stretch" | "baseline" | "flex-start";
|
|
346
346
|
get jc(): "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly";
|
|
347
347
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeStackComponent, never>;
|
|
348
348
|
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>;
|
|
@@ -515,24 +515,27 @@ declare class NavComponent {
|
|
|
515
515
|
coverFooter: boolean;
|
|
516
516
|
/** Classe opcional adicional para estilização do dimmer. */
|
|
517
517
|
backdropClass?: string;
|
|
518
|
+
backdropOverlapPx: number;
|
|
518
519
|
snavRef?: ElementRef<HTMLElement>;
|
|
519
520
|
private backdropRight?;
|
|
520
521
|
private backdropBottom?;
|
|
521
522
|
private sub?;
|
|
522
|
-
private backdropEl?;
|
|
523
523
|
stack: NavLink[];
|
|
524
524
|
constructor(navService: NavService, zone: NgZone, cdr: ChangeDetectorRef);
|
|
525
525
|
ngAfterViewInit(): void;
|
|
526
526
|
ngOnDestroy(): void;
|
|
527
527
|
ngOnChanges(changes: SimpleChanges): void;
|
|
528
528
|
onWinResize(): void;
|
|
529
|
+
onOrientationChange(): void;
|
|
529
530
|
private attachBackdrop;
|
|
530
531
|
private updateBackdropStyles;
|
|
531
532
|
private detachBackdrop;
|
|
532
533
|
private onBackdropClick;
|
|
533
534
|
private resolveTop;
|
|
534
535
|
private resolveLeft;
|
|
536
|
+
private resolveBackdropOverlapPx;
|
|
535
537
|
private get sidenavWidthPx();
|
|
538
|
+
private get sidenavRightPx();
|
|
536
539
|
get overlayTop(): string;
|
|
537
540
|
get overlayBottom(): string;
|
|
538
541
|
get currentLevel(): NavLink[];
|
|
@@ -540,7 +543,7 @@ declare class NavComponent {
|
|
|
540
543
|
clickItem(item: NavLink, ev: MouseEvent): void;
|
|
541
544
|
onHeaderClick(): void;
|
|
542
545
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavComponent, never>;
|
|
543
|
-
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; }; }, { "backdropClick": "backdropClick"; "headerClick": "headerClick"; "navigate": "navigate"; "logout": "logout"; }, never, never, true, never>;
|
|
546
|
+
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>;
|
|
544
547
|
}
|
|
545
548
|
|
|
546
549
|
declare class FooterComponent {
|
|
@@ -624,13 +627,15 @@ declare class RadioGroupEnumComponent extends BaseField implements ControlValueA
|
|
|
624
627
|
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupEnumComponent, "ptech-radio-group-enum", never, { "orientation": { "alias": "orientation"; "required": false; }; "enums": { "alias": "enums"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
625
628
|
}
|
|
626
629
|
|
|
627
|
-
declare class RadioGroupEntityComponent extends BaseField implements ControlValueAccessor {
|
|
630
|
+
declare class RadioGroupEntityComponent extends BaseField implements ControlValueAccessor, OnChanges {
|
|
628
631
|
constructor(el: ElementRef<HTMLElement>);
|
|
629
632
|
property: string;
|
|
633
|
+
idProp: string;
|
|
630
634
|
entities: any[];
|
|
631
635
|
private _value;
|
|
632
636
|
get value(): any;
|
|
633
637
|
set value(val: any);
|
|
638
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
634
639
|
getPropertyValue(entity: any): string;
|
|
635
640
|
onChange: (value: any) => void;
|
|
636
641
|
onTouch: () => void;
|
|
@@ -638,8 +643,10 @@ declare class RadioGroupEntityComponent extends BaseField implements ControlValu
|
|
|
638
643
|
registerOnChange(fn: any): void;
|
|
639
644
|
registerOnTouched(fn: any): void;
|
|
640
645
|
setDisabledState?(isDisabled: boolean): void;
|
|
646
|
+
private syncModelReference;
|
|
647
|
+
private resolveId;
|
|
641
648
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupEntityComponent, never>;
|
|
642
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioGroupEntityComponent, "ptech-radio-group-entity", never, { "property": { "alias": "property"; "required": false; }; "entities": { "alias": "entities"; "required": false; }; }, {}, never, never, true, never>;
|
|
649
|
+
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>;
|
|
643
650
|
}
|
|
644
651
|
|
|
645
652
|
declare class SelectEnumComponent extends BaseField implements ControlValueAccessor {
|
|
@@ -856,19 +863,14 @@ declare class ProfileMenuComponent {
|
|
|
856
863
|
|
|
857
864
|
declare class CheckBoxComponent extends BaseField implements ControlValueAccessor {
|
|
858
865
|
constructor(el: ElementRef<HTMLElement>);
|
|
859
|
-
/** Cor do checkbox: 'primary' | 'accent' | 'warn' (ou custom) */
|
|
860
866
|
color: string;
|
|
861
|
-
/** Estado indeterminado com coerção booleana */
|
|
862
867
|
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
863
868
|
private _indeterminate;
|
|
864
869
|
get indeterminate(): boolean;
|
|
865
870
|
set indeterminate(v: any);
|
|
866
|
-
/** Eventos públicos */
|
|
867
871
|
change: EventEmitter<boolean>;
|
|
868
872
|
indeterminateChange: EventEmitter<boolean>;
|
|
869
|
-
/** Modelo interno (CVA) */
|
|
870
873
|
_value: boolean;
|
|
871
|
-
/** Atualização programática não emite eventos */
|
|
872
874
|
set value(v: any);
|
|
873
875
|
get value(): boolean;
|
|
874
876
|
private onChangeFn;
|
|
@@ -877,9 +879,7 @@ declare class CheckBoxComponent extends BaseField implements ControlValueAccesso
|
|
|
877
879
|
registerOnChange(fn: any): void;
|
|
878
880
|
registerOnTouched(fn: any): void;
|
|
879
881
|
setDisabledState(isDisabled: boolean): void;
|
|
880
|
-
/** Apenas interação do usuário dispara CVA + outputs */
|
|
881
882
|
onCheckboxChange(checked: boolean): void;
|
|
882
|
-
/** Coerção robusta para boolean */
|
|
883
883
|
private toBool;
|
|
884
884
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxComponent, never>;
|
|
885
885
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxComponent, "ptech-check-box", never, { "color": { "alias": "color"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; }, never, never, true, never>;
|
|
@@ -894,6 +894,8 @@ declare class InputDateRangeComponent extends BaseField implements ControlValueA
|
|
|
894
894
|
firstPlaceholder: string;
|
|
895
895
|
secondPlaceholder: string;
|
|
896
896
|
hint: string;
|
|
897
|
+
panelClass?: string | string[];
|
|
898
|
+
get resolvedPanelClass(): string[];
|
|
897
899
|
/** Valor interno como string com offset ou null */
|
|
898
900
|
start: string | null;
|
|
899
901
|
end: string | null;
|
|
@@ -913,7 +915,7 @@ declare class InputDateRangeComponent extends BaseField implements ControlValueA
|
|
|
913
915
|
private toIsoWithLocalOffset;
|
|
914
916
|
private pad;
|
|
915
917
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateRangeComponent, never>;
|
|
916
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateRangeComponent, "ptech-input-date-range", never, {}, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
918
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateRangeComponent, "ptech-input-date-range", never, { "panelClass": { "alias": "panelClass"; "required": false; }; }, { "dateChange": "dateChange"; }, never, never, true, never>;
|
|
917
919
|
}
|
|
918
920
|
|
|
919
921
|
type EmitMode = 'date' | 'isoDate' | 'isoDateTimeZ' | 'isoDateTimeTZ' | 'localOffset';
|
|
@@ -931,6 +933,7 @@ declare class InputDateComponent extends BaseField implements ControlValueAccess
|
|
|
931
933
|
startView: 'month' | 'year' | 'multi-year';
|
|
932
934
|
touchUi: boolean;
|
|
933
935
|
panelClass?: string | string[];
|
|
936
|
+
get resolvedPanelClass(): string[];
|
|
934
937
|
dateFilter?: (d: Date | null) => boolean;
|
|
935
938
|
withTime: boolean;
|
|
936
939
|
seconds: boolean;
|
|
@@ -1155,6 +1158,8 @@ declare class TableComponent<T> implements OnChanges, AfterContentInit {
|
|
|
1155
1158
|
variant: BadgeVariant;
|
|
1156
1159
|
size: BadgeSize;
|
|
1157
1160
|
}>;
|
|
1161
|
+
badgeJustify(align?: TableAlign): 'start' | 'center' | 'end';
|
|
1162
|
+
resolveActionColor(action: TableAction<T>): string;
|
|
1158
1163
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
1159
1164
|
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>;
|
|
1160
1165
|
}
|
package/package.json
CHANGED
|
Binary file
|