@haloduck/ui 2.0.8 → 2.0.10
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/fesm2022/haloduck-ui.mjs +72 -5
- package/fesm2022/haloduck-ui.mjs.map +1 -1
- package/index.d.ts +25 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { FormGroup, FormBuilder, ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { EventEmitter, AfterViewInit, ElementRef, OnInit, OnDestroy,
|
|
4
|
+
import { EventEmitter, AfterViewInit, ElementRef, OnInit, OnDestroy, Type, OnChanges, SimpleChanges, Injector, TemplateRef } from '@angular/core';
|
|
5
5
|
import * as rxjs from 'rxjs';
|
|
6
6
|
import { Observable, Subject } from 'rxjs';
|
|
7
7
|
import { LngLat, MenuItemEx, SearchParams, TableRowProperty } from '@haloduck/core';
|
|
@@ -593,6 +593,28 @@ declare class ToggleComponent implements ControlValueAccessor, AfterViewInit {
|
|
|
593
593
|
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "haloduck-toggle", never, { "layout": { "alias": "layout"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "nullable": { "alias": "nullable"; "required": false; }; }, { "toggled": "toggled"; }, never, ["*"], true, never>;
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
+
interface TabItem {
|
|
597
|
+
id?: string;
|
|
598
|
+
label: string;
|
|
599
|
+
component: Type<any>;
|
|
600
|
+
inputs?: Record<string, any>;
|
|
601
|
+
}
|
|
602
|
+
declare class TabsComponent implements OnChanges, AfterViewInit {
|
|
603
|
+
tabs: TabItem[];
|
|
604
|
+
selectedIndex: number;
|
|
605
|
+
layout: 'horizontal' | 'vertical';
|
|
606
|
+
labelWidth: string;
|
|
607
|
+
selectedIndexChange: EventEmitter<number>;
|
|
608
|
+
label: ElementRef;
|
|
609
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
610
|
+
ngAfterViewInit(): void;
|
|
611
|
+
get current(): TabItem | null;
|
|
612
|
+
select(index: number): void;
|
|
613
|
+
private ensureSelectedInRange;
|
|
614
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
615
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "haloduck-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, ["[slot=label]"], true, never>;
|
|
616
|
+
}
|
|
617
|
+
|
|
596
618
|
declare class BreadcrumbComponent implements OnInit {
|
|
597
619
|
private readonly breadcrumbService;
|
|
598
620
|
listBreadcrumb: {
|
|
@@ -664,5 +686,5 @@ declare const provideHaloduckTransloco: () => {
|
|
|
664
686
|
multi: boolean;
|
|
665
687
|
}[];
|
|
666
688
|
|
|
667
|
-
export { AuthenticateComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, ConfirmDialogService, CopyButtonComponent, DatePickerComponent, DateRangeComponent, DialogService, DrawCanvasComponent, ERROR_NOT_ACCEPTABLE_FILE_TYPE, ERROR_OVER_COUNT, ERROR_OVER_SIZE, ERROR_UPLOAD, FileUploaderComponent, FlipComponent, ImageUploaderComponent, ImageViewerComponent, InputComponent, LanguageSelectorComponent, MapToAddressComponent, NotificationComponent, NotificationService, PictureNameComponent, SelectComponent, SelectDropdownComponent, SideMenuComponent, SideMenuItemComponent, StlViewerComponent, TableComponent, ToggleComponent, dateToString, google, provideHaloduckTransloco };
|
|
668
|
-
export type { ButtonVariant, CalendarDate, DateRange, DateRangeDropdown, FileEx, Location, Notification, NotificationType, Option, TableColumn, TableRow };
|
|
689
|
+
export { AuthenticateComponent, BreadcrumbComponent, ButtonComponent, CalendarComponent, ConfirmDialogService, CopyButtonComponent, DatePickerComponent, DateRangeComponent, DialogService, DrawCanvasComponent, ERROR_NOT_ACCEPTABLE_FILE_TYPE, ERROR_OVER_COUNT, ERROR_OVER_SIZE, ERROR_UPLOAD, FileUploaderComponent, FlipComponent, ImageUploaderComponent, ImageViewerComponent, InputComponent, LanguageSelectorComponent, MapToAddressComponent, NotificationComponent, NotificationService, PictureNameComponent, SelectComponent, SelectDropdownComponent, SideMenuComponent, SideMenuItemComponent, StlViewerComponent, TableComponent, TabsComponent, ToggleComponent, dateToString, google, provideHaloduckTransloco };
|
|
690
|
+
export type { ButtonVariant, CalendarDate, DateRange, DateRangeDropdown, FileEx, Location, Notification, NotificationType, Option, TabItem, TableColumn, TableRow };
|