@pumpkin-tech/pumpkin-tech-ng 0.2.65 → 0.2.66
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
|
@@ -27,6 +27,8 @@ import * as i14 from '@angular/material/sort';
|
|
|
27
27
|
import { Sort } from '@angular/material/sort';
|
|
28
28
|
import * as i27 from '@angular/material/autocomplete';
|
|
29
29
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
30
|
+
import * as i29 from '@angular/material/tabs';
|
|
31
|
+
import { MatTabNav } from '@angular/material/tabs';
|
|
30
32
|
import * as i1 from '@angular/common';
|
|
31
33
|
import * as i3 from '@angular/material/toolbar';
|
|
32
34
|
import * as i5 from '@angular/material/list';
|
|
@@ -46,7 +48,6 @@ import * as i23 from '@angular/material/radio';
|
|
|
46
48
|
import * as i24 from '@angular/material/checkbox';
|
|
47
49
|
import * as i25 from '@angular/material/progress-spinner';
|
|
48
50
|
import * as i26 from '@angular/material/expansion';
|
|
49
|
-
import * as i29 from '@angular/material/tabs';
|
|
50
51
|
|
|
51
52
|
declare class PtechGridDirective implements OnDestroy, OnChanges {
|
|
52
53
|
private bp;
|
|
@@ -516,9 +517,13 @@ interface BreadcrumbRoute {
|
|
|
516
517
|
declare class BreadcrumbComponent {
|
|
517
518
|
routes: BreadcrumbRoute[];
|
|
518
519
|
hasStartIcon: boolean;
|
|
519
|
-
|
|
520
|
+
/** Optional per-segment character limit. Null preserves the historic unbounded label. */
|
|
521
|
+
maxLabelCharacters: number | null;
|
|
522
|
+
isLastIndex(index: number): boolean;
|
|
523
|
+
displayDescription(route: BreadcrumbRoute): string;
|
|
524
|
+
isTruncated(route: BreadcrumbRoute): boolean;
|
|
520
525
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
521
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ptech-breadcrumb", never, { "routes": { "alias": "routes"; "required": false; }; "hasStartIcon": { "alias": "hasStartIcon"; "required": false; }; }, {}, never, ["[start-icon]", "[end-content]"], true, never>;
|
|
526
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "ptech-breadcrumb", never, { "routes": { "alias": "routes"; "required": false; }; "hasStartIcon": { "alias": "hasStartIcon"; "required": false; }; "maxLabelCharacters": { "alias": "maxLabelCharacters"; "required": false; }; }, {}, never, ["[start-icon]", "[end-content]"], true, never>;
|
|
522
527
|
}
|
|
523
528
|
|
|
524
529
|
interface HeaderData {
|
|
@@ -1726,14 +1731,27 @@ interface PtechTabConfig<T = any> {
|
|
|
1726
1731
|
}
|
|
1727
1732
|
declare class PtechTabsComponent implements AfterContentInit {
|
|
1728
1733
|
tabs?: QueryList<PtechTabComponent>;
|
|
1734
|
+
tabsNav?: ElementRef<HTMLElement>;
|
|
1735
|
+
tabsNavComponent?: MatTabNav;
|
|
1729
1736
|
scrollable: boolean;
|
|
1730
1737
|
selectedTabChange: EventEmitter<PtechTabComponent<any>>;
|
|
1731
1738
|
dynamicTabs: PtechTabComponent[];
|
|
1739
|
+
private pointerId;
|
|
1740
|
+
private pointerStartX;
|
|
1741
|
+
private pointerStartY;
|
|
1742
|
+
private pointerStartScrollDistance;
|
|
1743
|
+
private dragging;
|
|
1744
|
+
private suppressClick;
|
|
1745
|
+
private readonly dragThreshold;
|
|
1732
1746
|
get projectedTabs(): PtechTabComponent[];
|
|
1733
1747
|
ngAfterContentInit(): void;
|
|
1734
1748
|
openTab(label: string, template: TemplateRef<any>, data: any, closeable?: boolean, disabled?: boolean, action?: (obj: any) => void): void;
|
|
1735
1749
|
openTabs(tabs: PtechTabConfig[]): void;
|
|
1736
1750
|
selectTab(tab: PtechTabComponent): void;
|
|
1751
|
+
onTabClick(event: MouseEvent, tab: PtechTabComponent): void;
|
|
1752
|
+
onPointerDown(event: PointerEvent): void;
|
|
1753
|
+
onPointerMove(event: PointerEvent): void;
|
|
1754
|
+
onPointerEnd(event: PointerEvent): void;
|
|
1737
1755
|
closeTab(tab: PtechTabComponent): void;
|
|
1738
1756
|
closeActiveTab(): void;
|
|
1739
1757
|
closeAllTabs(): void;
|