@rolatech/angular-components 20.2.9-beta.7 → 20.3.0-beta.2
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.
|
@@ -10,12 +10,12 @@ import { Subscription } from 'rxjs';
|
|
|
10
10
|
import * as _angular_cdk_layout from '@angular/cdk/layout';
|
|
11
11
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
12
12
|
import * as _rolatech_angular_components from '@rolatech/angular-components';
|
|
13
|
+
import { NavLink, Media } from '@rolatech/angular-common';
|
|
13
14
|
import * as i44 from '@angular/cdk/scrolling';
|
|
14
15
|
import { ViewportRuler } from '@angular/cdk/scrolling';
|
|
15
16
|
import { Platform } from '@angular/cdk/platform';
|
|
16
17
|
import * as i26 from '@angular/material/menu';
|
|
17
18
|
import { MatMenuPanel } from '@angular/material/menu';
|
|
18
|
-
import { Media } from '@rolatech/angular-common';
|
|
19
19
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
20
20
|
import * as i1 from '@angular/cdk/a11y';
|
|
21
21
|
import * as i2 from '@angular/cdk/clipboard';
|
|
@@ -206,20 +206,11 @@ declare class ContainerComponent {
|
|
|
206
206
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContainerComponent, "rolatech-container", never, {}, {}, never, ["rolatech-toolbar", "rolatech-filter", "rolatech-tabs", "rolatech-chip-bar", "rolatech-list", "rolatech-content", "*"], true, never>;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
title: string;
|
|
211
|
-
subtitle?: string;
|
|
212
|
-
openinView?: boolean;
|
|
213
|
-
icon?: string;
|
|
214
|
-
link?: string;
|
|
215
|
-
children?: LINK[];
|
|
216
|
-
button?: boolean;
|
|
217
|
-
exact?: boolean;
|
|
218
|
-
}
|
|
209
|
+
type LINK = NavLink;
|
|
219
210
|
declare class DrawerComponent implements AfterContentInit, AfterContentChecked {
|
|
220
211
|
private _enableAnimations;
|
|
221
212
|
persistent: boolean | undefined;
|
|
222
|
-
links: _angular_core.InputSignal<
|
|
213
|
+
links: _angular_core.InputSignal<NavLink[] | undefined>;
|
|
223
214
|
/** index of the FIRST item that has children (or -1 if none) */
|
|
224
215
|
readonly firstChildrenIndex: _angular_core.Signal<number>;
|
|
225
216
|
position: _angular_core.InputSignal<string>;
|
|
@@ -241,6 +232,11 @@ declare class DrawerComponent implements AfterContentInit, AfterContentChecked {
|
|
|
241
232
|
open(): void;
|
|
242
233
|
close(): void;
|
|
243
234
|
toggle(): void;
|
|
235
|
+
labelOf(item: LINK): string;
|
|
236
|
+
subtitleOf(item: LINK): string;
|
|
237
|
+
routerLinkOf(item: LINK): string | any[] | undefined;
|
|
238
|
+
hrefOf(item: LINK): string | undefined;
|
|
239
|
+
isExternal(item: LINK): boolean;
|
|
244
240
|
isNextItemChildren(index: number): boolean;
|
|
245
241
|
init(isMobile: boolean): void;
|
|
246
242
|
ngAfterContentInit(): void;
|
|
@@ -735,32 +731,54 @@ declare class ImageComponent implements OnInit {
|
|
|
735
731
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImageComponent, "rolatech-image", never, { "src": { "alias": "src"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
736
732
|
}
|
|
737
733
|
|
|
738
|
-
|
|
739
|
-
renderer: Renderer2;
|
|
740
|
-
tabs: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
741
|
-
selectionBar: _angular_core.Signal<ElementRef<any>>;
|
|
742
|
-
select: _angular_core.ModelSignal<number>;
|
|
743
|
-
loading: _angular_core.InputSignal<boolean>;
|
|
744
|
-
block: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
745
|
-
preSelect: number;
|
|
746
|
-
clientWidths: number[];
|
|
747
|
-
protected _isServer: boolean;
|
|
748
|
-
ngOnInit(): void;
|
|
749
|
-
ngAfterViewInit(): void;
|
|
750
|
-
ngAfterContentInit(): void;
|
|
751
|
-
init(): void;
|
|
752
|
-
getOffset(index: number): number;
|
|
753
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
754
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "rolatech-tabs", never, { "select": { "alias": "select"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; }, { "select": "selectChange"; }, ["tabs"], ["*"], true, never>;
|
|
755
|
-
}
|
|
734
|
+
type TabMode = 'selectionBar' | 'background';
|
|
756
735
|
|
|
757
736
|
declare class TabComponent {
|
|
758
|
-
|
|
737
|
+
private readonly elementRef;
|
|
759
738
|
hasClass: boolean;
|
|
760
|
-
|
|
761
|
-
|
|
739
|
+
readonly role = "tab";
|
|
740
|
+
readonly tabindex = 0;
|
|
741
|
+
readonly label: _angular_core.InputSignal<string>;
|
|
742
|
+
readonly selectRequested: _angular_core.OutputEmitterRef<void>;
|
|
743
|
+
readonly item: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
744
|
+
readonly active: _angular_core.WritableSignal<boolean>;
|
|
745
|
+
readonly mode: _angular_core.WritableSignal<TabMode>;
|
|
746
|
+
readonly index: _angular_core.WritableSignal<number>;
|
|
747
|
+
get dataActive(): "true" | "false";
|
|
748
|
+
get dataMode(): TabMode;
|
|
749
|
+
get ariaSelected(): "true" | "false";
|
|
750
|
+
get host(): HTMLElement;
|
|
751
|
+
requestSelection(): void;
|
|
752
|
+
onKeyboardSelection(): void;
|
|
753
|
+
setActive(active: boolean): void;
|
|
754
|
+
setMode(mode: TabMode): void;
|
|
755
|
+
setIndex(index: number): void;
|
|
762
756
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
763
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabComponent, "rolatech-tab", never, { "label": { "alias": "label"; "required":
|
|
757
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabComponent, "rolatech-tab", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "selectRequested": "selectRequested"; }, never, never, true, never>;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
declare class TabsComponent implements AfterViewInit, OnDestroy {
|
|
761
|
+
private readonly renderer;
|
|
762
|
+
private readonly platform;
|
|
763
|
+
private removeWindowResizeListener?;
|
|
764
|
+
readonly tabs: _angular_core.Signal<readonly TabComponent[]>;
|
|
765
|
+
readonly selectionBar: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
766
|
+
readonly select: _angular_core.ModelSignal<number>;
|
|
767
|
+
readonly loading: _angular_core.InputSignal<boolean>;
|
|
768
|
+
readonly block: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
769
|
+
readonly mode: _angular_core.InputSignal<TabMode>;
|
|
770
|
+
protected readonly indicatorLeft: _angular_core.WritableSignal<string>;
|
|
771
|
+
protected readonly indicatorWidth: _angular_core.WritableSignal<string>;
|
|
772
|
+
protected readonly currentMode: _angular_core.Signal<TabMode>;
|
|
773
|
+
protected readonly showSelectionBar: _angular_core.Signal<boolean>;
|
|
774
|
+
get dataMode(): TabMode;
|
|
775
|
+
constructor();
|
|
776
|
+
ngAfterViewInit(): void;
|
|
777
|
+
ngOnDestroy(): void;
|
|
778
|
+
private getActiveIndex;
|
|
779
|
+
private updateIndicator;
|
|
780
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
781
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "rolatech-tabs", never, { "select": { "alias": "select"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "block": { "alias": "block"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "select": "selectChange"; }, ["tabs"], ["*"], true, never>;
|
|
764
782
|
}
|
|
765
783
|
|
|
766
784
|
declare class MenuIconComponent {
|
|
@@ -1001,4 +1019,4 @@ interface Message {
|
|
|
1001
1019
|
}
|
|
1002
1020
|
|
|
1003
1021
|
export { APP_LAYOUT, AcceptDialogComponent, AccordionComponent, AngularComponentsModule, AppPageComponent, AvatarComponent, BaseComponent, ChatBox, ChipBarComponent, ConfirmationComponent, ConfirmationDialogComponent, ConsoleLayoutComponent, ContainerComponent, ContentComponent, ConversationContent, ConversationHeader, ConversationInput, ConversationMessage, DrawerComponent, EditorComponent, EmptyComponent, EnumSelect, FilterComponent, FolderComponent, FooterComponent, IconButtonComponent, IconComponent, ImageComponent, ImagePlaceholderComponent, ImagePreviewDialogComponent, InputComponent, LayoutComponent, ListComponent, Loading, LocationSelectorComponent, MaterialModule, MediaListComponent, MediaListItemComponent, MediaPreviewComponent, MediaPreviewDialogComponent, MediaUploadComponent, MediaUploadDialogComponent, MenuIconComponent, MenuUserComponent, MiniGuideComponent, NotFoundComponent, PaginatorComponent, PanelComponent, PanelHeaderComponent, PdfViewerComponent, RejectDialogComponent, ResizableContainerComponent, RichGridMediaComponent, RichItemComponent, RichLabelComponent, RichViewComponent, SearchBar, SearchIcon, Skeleton, SpinnerComponent, StorageBucketCreateComponent, StorageFileUploadComponent, StorageFolderCreateComponent, TabComponent, TableComponent, TabsComponent, ThumbnailComponent, TitleComponent, ToolbarComponent, TopbarAvatarMenuComponent, TopbarComponent, VideoUpload, WechatConnectDialogComponent, provideAngularLayout };
|
|
1004
|
-
export type { AppLayoutConfig, AppTopbarConfig, Column, DrawerConfig, Message, MiniGuide, Role, TableData };
|
|
1022
|
+
export type { AppLayoutConfig, AppTopbarConfig, Column, DrawerConfig, Message, MiniGuide, Role, TabMode, TableData };
|