@dev-tcloud/tcloud-ui 5.0.4 → 5.1.0
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/dev-tcloud-tcloud-ui.mjs +7137 -6060
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_modules/tcloud-ui-modal/tcloud-ui-modal.component.d.ts +1 -1
- package/lib/revitalizacao/components/tc-rev-breadcrumb/tc-rev-breadcrumb.component.d.ts +12 -0
- package/lib/revitalizacao/components/tc-rev-breadcrumb/tc-rev-breadcrumb.service.d.ts +16 -0
- package/lib/revitalizacao/components/tc-rev-button/tc-rev-button.directive.d.ts +13 -0
- package/lib/revitalizacao/components/tc-rev-calendar/tc-rev-calendar.component.d.ts +43 -0
- package/lib/revitalizacao/components/tc-rev-card/tc-rev-card.component.d.ts +5 -0
- package/lib/revitalizacao/components/tc-rev-card-title/tc-rev-card-title.component.d.ts +6 -0
- package/lib/revitalizacao/components/tc-rev-components.module.d.ts +31 -0
- package/lib/revitalizacao/components/tc-rev-dropdown/tc-rev-dropdown.component.d.ts +33 -0
- package/lib/revitalizacao/components/tc-rev-dropdown-multi-level/tc-rev-dropdown-multi-level.component.d.ts +41 -0
- package/lib/revitalizacao/components/tc-rev-dropdown-multi-level/tc-rev-dropdown-sub-menu/tc-rev-dropdown-sub-menu.component.d.ts +17 -0
- package/lib/revitalizacao/components/tc-rev-empty-content/tc-rev-empty-content.component.d.ts +5 -0
- package/lib/revitalizacao/components/tc-rev-faq/tc-rev-faq.component.d.ts +12 -0
- package/lib/revitalizacao/components/tc-rev-icon-button/tc-rev-icon-button.directive.d.ts +12 -0
- package/lib/revitalizacao/components/tc-rev-input/tc-rev-input.directive.d.ts +10 -0
- package/lib/revitalizacao/components/tc-rev-input-container/tc-rev-input-container.component.d.ts +9 -0
- package/lib/revitalizacao/components/tc-rev-loading/tc-rev-loading.component.d.ts +6 -0
- package/lib/revitalizacao/components/tc-rev-message/tc-rev-message.component.d.ts +7 -0
- package/lib/revitalizacao/components/tc-rev-multi-input/tc-rev-multi-input.component.d.ts +22 -0
- package/lib/revitalizacao/components/tc-rev-pagination/tc-rev-pagination.component.d.ts +14 -0
- package/lib/revitalizacao/components/tc-rev-search-input/tc-rev-search-input.component.d.ts +10 -0
- package/lib/revitalizacao/components/tc-rev-side-drawer/tc-rev-side-drawer.component.d.ts +17 -0
- package/lib/revitalizacao/components/tc-rev-slide-toggle/tc-rev-slide-toggle.directive.d.ts +5 -0
- package/lib/revitalizacao/components/tc-rev-tab-group/tc-rev-tab-group.component.d.ts +12 -0
- package/lib/revitalizacao/components/tc-rev-tab-group/tc-rev-tab-item/tc-rev-tab-item.component.d.ts +9 -0
- package/lib/revitalizacao/components/tc-rev-tag/tag-colors.enum.d.ts +29 -0
- package/lib/revitalizacao/components/tc-rev-tag/tc-rev-tag.component.d.ts +10 -0
- package/lib/revitalizacao/components/tc-rev-toast/tc-rev-toast.component.d.ts +7 -0
- package/lib/revitalizacao/components/tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component.d.ts +13 -0
- package/lib/revitalizacao/components/tc-sub-navbar/tc-sub-navbar.component.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +63 -37
- package/scss/tcloud-revitalizacao/_tc-rev-border.scss +1 -1
- package/scss/tcloud-revitalizacao/_tc-rev-colors.scss +0 -1
- package/scss/tcloud-revitalizacao/_tc-rev-sizes.scss +4 -3
- package/scss/tcloud-revitalizacao/_tc-rev-themes.scss +7 -7
- package/scss/tcloud-revitalizacao/_tc-rev-typography.scss +1 -1
- package/scss/tcloud-revitalizacao/components/_tc-rev-ag-grid-table.scss +76 -0
- package/scss/tcloud-revitalizacao/components/_tc-rev-button.scss +86 -40
- package/scss/tcloud-revitalizacao/components/_tc-rev-input-control.scss +160 -56
- package/scss/tcloud-revitalizacao/components/_tc-rev-tab-item.scss +44 -36
- package/scss/tcloud-revitalizacao/tc-rev-styles.scss +2 -1
|
@@ -57,7 +57,7 @@ export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
|
|
|
57
57
|
openChange: EventEmitter<boolean>;
|
|
58
58
|
toConfirm: EventEmitter<boolean>;
|
|
59
59
|
toCancel: EventEmitter<boolean>;
|
|
60
|
-
toAction: EventEmitter<"close" | "
|
|
60
|
+
toAction: EventEmitter<"close" | "cancel" | "confirmed">;
|
|
61
61
|
constructor(tcloudModalService: TcloudModalService);
|
|
62
62
|
ngOnInit(): void;
|
|
63
63
|
toClose(action?: any | undefined): void;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BreadcrumbItem } from './tc-rev-breadcrumb.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevBreadcrumbComponent {
|
|
4
|
+
breadcrumbs: BreadcrumbItem[];
|
|
5
|
+
private router;
|
|
6
|
+
private breadcrumbService;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
navigate(url?: string, index?: number): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevBreadcrumbComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevBreadcrumbComponent, "tc-rev-breadcrumb", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
url?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class TcRevBreadcrumbService {
|
|
7
|
+
private breadcrumbsSubject;
|
|
8
|
+
breadcrumbs$: import("rxjs").Observable<BreadcrumbItem[]>;
|
|
9
|
+
constructor();
|
|
10
|
+
setBreadcrumb(items: BreadcrumbItem[]): void;
|
|
11
|
+
addLevel(item: BreadcrumbItem): void;
|
|
12
|
+
removeLastLevel(): void;
|
|
13
|
+
clear(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevBreadcrumbService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TcRevBreadcrumbService>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevButtonDirective {
|
|
4
|
+
private _el;
|
|
5
|
+
color: import("@angular/core").InputSignal<"danger" | "primary" | "light" | "dark">;
|
|
6
|
+
size: import("@angular/core").InputSignal<"lg" | "md" | "sm">;
|
|
7
|
+
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
tcRevButton: import("@angular/core").InputSignal<"link" | "filled" | "outline">;
|
|
9
|
+
constructor(_el: ElementRef<HTMLButtonElement>);
|
|
10
|
+
private setClasses;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevButtonDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TcRevButtonDirective, "button[tcRevButton]", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "tcRevButton": { "alias": "tcRevButton"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface CalendarAppointment {
|
|
3
|
+
appointmentDate: string;
|
|
4
|
+
type: 'info' | 'alert' | 'danger' | 'success';
|
|
5
|
+
description: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class TcRevCalendarComponent {
|
|
8
|
+
appointments: CalendarAppointment[];
|
|
9
|
+
/** Active date format
|
|
10
|
+
* @format YYYY-MM-DD
|
|
11
|
+
* @example 2023-10-01
|
|
12
|
+
*/
|
|
13
|
+
activeDate: import("@angular/core").InputSignal<string>;
|
|
14
|
+
innerActiveDate: import("@angular/core").Signal<"" | Date>;
|
|
15
|
+
onSelectDate: import("@angular/core").OutputEmitterRef<Date>;
|
|
16
|
+
currentDate: Date;
|
|
17
|
+
viewMode: 'days' | 'months' | 'years';
|
|
18
|
+
yearOffset: number;
|
|
19
|
+
month: string;
|
|
20
|
+
year: number;
|
|
21
|
+
daysOfWeek: string[];
|
|
22
|
+
calendarDays: {
|
|
23
|
+
date: Date;
|
|
24
|
+
isCurrentMonth: boolean;
|
|
25
|
+
}[];
|
|
26
|
+
calendarMonths: string[];
|
|
27
|
+
calendarYears: number[];
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
updateMonth(): void;
|
|
30
|
+
updateYear(): void;
|
|
31
|
+
updateDaysOfWeek(): void;
|
|
32
|
+
updateCalendarDays(): void;
|
|
33
|
+
updateCalendarMonths(): void;
|
|
34
|
+
updateCalendarYears(): void;
|
|
35
|
+
changeMonth(offset: number): void;
|
|
36
|
+
selectMonth(monthIndex: number): void;
|
|
37
|
+
changeYearOffset(offset: number): void;
|
|
38
|
+
selectYear(year: number): void;
|
|
39
|
+
toggleViewMode(mode: 'months' | 'years'): void;
|
|
40
|
+
isAppointment(date: Date): CalendarAppointment | undefined;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevCalendarComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevCalendarComponent, "tc-rev-calendar", never, { "appointments": { "alias": "appointments"; "required": false; }; "activeDate": { "alias": "activeDate"; "required": false; "isSignal": true; }; }, { "onSelectDate": "onSelectDate"; }, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevCardTitleComponent {
|
|
3
|
+
title: import("@angular/core").InputSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevCardTitleComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevCardTitleComponent, "tc-rev-card-title", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; }, {}, never, ["icon", "*"], true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tc-rev-breadcrumb/tc-rev-breadcrumb.component";
|
|
3
|
+
import * as i2 from "./tc-rev-button/tc-rev-button.directive";
|
|
4
|
+
import * as i3 from "./tc-rev-calendar/tc-rev-calendar.component";
|
|
5
|
+
import * as i4 from "./tc-rev-card/tc-rev-card.component";
|
|
6
|
+
import * as i5 from "./tc-rev-card-title/tc-rev-card-title.component";
|
|
7
|
+
import * as i6 from "./tc-rev-dropdown/tc-rev-dropdown.component";
|
|
8
|
+
import * as i7 from "./tc-rev-dropdown-multi-level/tc-rev-dropdown-multi-level.component";
|
|
9
|
+
import * as i8 from "./tc-rev-empty-content/tc-rev-empty-content.component";
|
|
10
|
+
import * as i9 from "./tc-rev-faq/tc-rev-faq.component";
|
|
11
|
+
import * as i10 from "./tc-rev-icon-button/tc-rev-icon-button.directive";
|
|
12
|
+
import * as i11 from "./tc-rev-input-container/tc-rev-input-container.component";
|
|
13
|
+
import * as i12 from "./tc-rev-input/tc-rev-input.directive";
|
|
14
|
+
import * as i13 from "./tc-rev-loading/tc-rev-loading.component";
|
|
15
|
+
import * as i14 from "./tc-rev-message/tc-rev-message.component";
|
|
16
|
+
import * as i15 from "./tc-rev-multi-input/tc-rev-multi-input.component";
|
|
17
|
+
import * as i16 from "./tc-rev-pagination/tc-rev-pagination.component";
|
|
18
|
+
import * as i17 from "./tc-rev-search-input/tc-rev-search-input.component";
|
|
19
|
+
import * as i18 from "./tc-rev-side-drawer/tc-rev-side-drawer.component";
|
|
20
|
+
import * as i19 from "./tc-rev-slide-toggle/tc-rev-slide-toggle.directive";
|
|
21
|
+
import * as i20 from "./tc-rev-tab-group/tc-rev-tab-group.component";
|
|
22
|
+
import * as i21 from "./tc-rev-tab-group/tc-rev-tab-item/tc-rev-tab-item.component";
|
|
23
|
+
import * as i22 from "./tc-rev-tag/tc-rev-tag.component";
|
|
24
|
+
import * as i23 from "./tc-rev-toast/tc-rev-toast.component";
|
|
25
|
+
import * as i24 from "./tc-sub-navbar/tc-sub-navbar.component";
|
|
26
|
+
import * as i25 from "./tc-sub-navbar/component/tc-sub-navbar-item/tc-sub-navbar-item.component";
|
|
27
|
+
export declare class TcRevComponentsLibModule {
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevComponentsLibModule, never>;
|
|
29
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TcRevComponentsLibModule, never, [typeof i1.TcRevBreadcrumbComponent, typeof i2.TcRevButtonDirective, typeof i3.TcRevCalendarComponent, typeof i4.TcRevCardComponent, typeof i5.TcRevCardTitleComponent, typeof i6.TcRevDropdownComponent, typeof i7.TcRevDropdownMultiLevelComponent, typeof i8.TcRevEmptyContentComponent, typeof i9.TcRevFaqComponent, typeof i10.TcRevIconButtonDirective, typeof i11.TcRevInputContainerComponent, typeof i12.TcRevInputDirective, typeof i13.TcRevLoadingComponent, typeof i14.TcRevMessageComponent, typeof i15.TcRevMultiInputComponent, typeof i16.TcRevPaginationComponent, typeof i17.TcRevSearchInputComponent, typeof i18.TcRevSideDrawerComponent, typeof i19.TcRevSlideToggleDirective, typeof i20.TcRevTabGroupComponent, typeof i21.TcRevTabItemComponent, typeof i22.TcRevTagComponent, typeof i23.TcRevToastComponent, typeof i24.TcRevSubNavbarComponent, typeof i25.TcRevSubNavbarItemComponent], [typeof i2.TcRevButtonDirective, typeof i3.TcRevCalendarComponent, typeof i4.TcRevCardComponent, typeof i5.TcRevCardTitleComponent, typeof i6.TcRevDropdownComponent, typeof i7.TcRevDropdownMultiLevelComponent, typeof i8.TcRevEmptyContentComponent, typeof i9.TcRevFaqComponent, typeof i10.TcRevIconButtonDirective, typeof i11.TcRevInputContainerComponent, typeof i12.TcRevInputDirective, typeof i13.TcRevLoadingComponent, typeof i14.TcRevMessageComponent, typeof i15.TcRevMultiInputComponent, typeof i16.TcRevPaginationComponent, typeof i17.TcRevSearchInputComponent, typeof i18.TcRevSideDrawerComponent, typeof i19.TcRevSlideToggleDirective, typeof i20.TcRevTabGroupComponent, typeof i21.TcRevTabItemComponent, typeof i22.TcRevTagComponent, typeof i23.TcRevToastComponent, typeof i24.TcRevSubNavbarComponent, typeof i25.TcRevSubNavbarItemComponent]>;
|
|
30
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TcRevComponentsLibModule>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface DropdownOption {
|
|
4
|
+
id?: any;
|
|
5
|
+
value: any;
|
|
6
|
+
displayValue: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare enum DropdownSize {
|
|
10
|
+
sm = "sm",
|
|
11
|
+
md = "md",
|
|
12
|
+
lg = "lg"
|
|
13
|
+
}
|
|
14
|
+
export declare class TcRevDropdownComponent {
|
|
15
|
+
private elementRef;
|
|
16
|
+
onDocumentClick(event: MouseEvent): void;
|
|
17
|
+
label: import("@angular/core").InputSignal<string>;
|
|
18
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
19
|
+
options: import("@angular/core").InputSignal<DropdownOption[]>;
|
|
20
|
+
preselectedValue: import("@angular/core").InputSignal<any>;
|
|
21
|
+
size: import("@angular/core").InputSignal<DropdownSize>;
|
|
22
|
+
optionSelected: import("@angular/core").OutputEmitterRef<any>;
|
|
23
|
+
selectedOption: import("@angular/core").WritableSignal<any>;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
dropdownSize: typeof DropdownSize;
|
|
26
|
+
constructor(elementRef: ElementRef);
|
|
27
|
+
ngOnChanges(_simpleChanges: SimpleChanges): void;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
toggleDropdown(): void;
|
|
30
|
+
selectOption(option: DropdownOption): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevDropdownComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevDropdownComponent, "tc-rev-dropdown", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": true; "isSignal": true; }; "preselectedValue": { "alias": "preselectedValue"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "optionSelected": "optionSelected"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface MultiLevelDropdownOption {
|
|
4
|
+
id?: any;
|
|
5
|
+
value: any;
|
|
6
|
+
displayValue: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
children?: MultiLevelDropdownOption[];
|
|
9
|
+
}
|
|
10
|
+
export declare enum MultiLevelDropdownSize {
|
|
11
|
+
sm = "sm",
|
|
12
|
+
md = "md",
|
|
13
|
+
lg = "lg"
|
|
14
|
+
}
|
|
15
|
+
export declare class TcRevDropdownMultiLevelComponent {
|
|
16
|
+
private elementRef;
|
|
17
|
+
onDocumentClick(event: MouseEvent): void;
|
|
18
|
+
menuRoot: ElementRef<HTMLUListElement>;
|
|
19
|
+
readonly dropdownSize: typeof MultiLevelDropdownSize;
|
|
20
|
+
menu: import("@angular/core").InputSignal<MultiLevelDropdownOption[]>;
|
|
21
|
+
subMenuPosition: import("@angular/core").InputSignal<"left" | "right">;
|
|
22
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
23
|
+
size: import("@angular/core").InputSignal<MultiLevelDropdownSize>;
|
|
24
|
+
preselectedValue: import("@angular/core").InputSignal<MultiLevelDropdownOption>;
|
|
25
|
+
optionSelected: import("@angular/core").OutputEmitterRef<{
|
|
26
|
+
option: MultiLevelDropdownOption;
|
|
27
|
+
parentOption: MultiLevelDropdownOption;
|
|
28
|
+
}>;
|
|
29
|
+
selectedOption: import("@angular/core").WritableSignal<MultiLevelDropdownOption>;
|
|
30
|
+
selectedParentOption: import("@angular/core").WritableSignal<MultiLevelDropdownOption>;
|
|
31
|
+
hoveredIndex: number | null;
|
|
32
|
+
isOpen: boolean;
|
|
33
|
+
constructor(elementRef: ElementRef);
|
|
34
|
+
ngOnChanges(_simpleChanges: SimpleChanges): void;
|
|
35
|
+
getItemOffsetTop(index: number): number;
|
|
36
|
+
toggleDropdown(): void;
|
|
37
|
+
selectOption(option: MultiLevelDropdownOption, parentOption: MultiLevelDropdownOption): void;
|
|
38
|
+
selectParentItem($event: MouseEvent, option: MultiLevelDropdownOption, parentOption: MultiLevelDropdownOption): void;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevDropdownMultiLevelComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevDropdownMultiLevelComponent, "tc-rev-dropdown-multi-level", never, { "menu": { "alias": "menu"; "required": true; "isSignal": true; }; "subMenuPosition": { "alias": "subMenuPosition"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "preselectedValue": { "alias": "preselectedValue"; "required": false; "isSignal": true; }; }, { "optionSelected": "optionSelected"; }, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface MultiLevelDropdownOption {
|
|
3
|
+
id?: any;
|
|
4
|
+
value: any;
|
|
5
|
+
displayValue: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
children?: MultiLevelDropdownOption[];
|
|
8
|
+
}
|
|
9
|
+
export declare class TcRevDropdownSubMenuComponent {
|
|
10
|
+
items: import("@angular/core").InputSignal<MultiLevelDropdownOption[]>;
|
|
11
|
+
position: import("@angular/core").InputSignal<"left" | "right">;
|
|
12
|
+
parentOffsetTop: import("@angular/core").InputSignal<number>;
|
|
13
|
+
selectedOption: import("@angular/core").InputSignal<MultiLevelDropdownOption>;
|
|
14
|
+
onOptionSelected: import("@angular/core").OutputEmitterRef<MultiLevelDropdownOption>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevDropdownSubMenuComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevDropdownSubMenuComponent, "tc-rev-dropdown-sub-menu", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "parentOffsetTop": { "alias": "parentOffsetTop"; "required": true; "isSignal": true; }; "selectedOption": { "alias": "selectedOption"; "required": false; "isSignal": true; }; }, { "onOptionSelected": "onOptionSelected"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevEmptyContentComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevEmptyContentComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevEmptyContentComponent, "tc-rev-empty-content", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevFaqComponent {
|
|
3
|
+
title: string;
|
|
4
|
+
questions: {
|
|
5
|
+
question: string;
|
|
6
|
+
answer: string;
|
|
7
|
+
}[];
|
|
8
|
+
openIndex: import("@angular/core").WritableSignal<number>;
|
|
9
|
+
toggle(index: number): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevFaqComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevFaqComponent, "tc-rev-faq", never, { "title": { "alias": "title"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevIconButtonDirective {
|
|
4
|
+
private _el;
|
|
5
|
+
color: import("@angular/core").InputSignal<"danger" | "primary" | "light" | "dark">;
|
|
6
|
+
size: import("@angular/core").InputSignal<"lg" | "md" | "sm">;
|
|
7
|
+
tcRevIconButton: import("@angular/core").InputSignal<"link" | "filled" | "outline">;
|
|
8
|
+
constructor(_el: ElementRef<HTMLButtonElement>);
|
|
9
|
+
private setClasses;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevIconButtonDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TcRevIconButtonDirective, "button[tcRevIconButton]", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tcRevIconButton": { "alias": "tcRevIconButton"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevInputDirective {
|
|
4
|
+
private _el;
|
|
5
|
+
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
constructor(_el: ElementRef<HTMLInputElement>);
|
|
7
|
+
private setClasses;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevInputDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TcRevInputDirective, "input[tcRevInput], select[tcRevInput]", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
package/lib/revitalizacao/components/tc-rev-input-container/tc-rev-input-container.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevInputContainerComponent {
|
|
3
|
+
inputId: import("@angular/core").InputSignal<string>;
|
|
4
|
+
label: import("@angular/core").InputSignal<string>;
|
|
5
|
+
labelPlacement: import("@angular/core").InputSignal<"top" | "left" | "right" | "bottom">;
|
|
6
|
+
required: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevInputContainerComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevInputContainerComponent, "tc-rev-input-container", never, { "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevLoadingComponent {
|
|
3
|
+
message: import("@angular/core").InputSignal<string>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevLoadingComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevLoadingComponent, "tc-rev-loading", never, { "message": { "alias": "message"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevMessageComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
type: 'success' | 'error' | 'info' | 'warning';
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevMessageComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevMessageComponent, "tc-rev-message", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TcRevMultiInputComponent {
|
|
5
|
+
autoFocus: boolean;
|
|
6
|
+
initialValue: import("@angular/core").InputSignal<string>;
|
|
7
|
+
description: import("@angular/core").InputSignal<string>;
|
|
8
|
+
initialList: import("@angular/core").InputSignal<any[]>;
|
|
9
|
+
validators: import("@angular/core").InputSignal<any[]>;
|
|
10
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
11
|
+
itemsList: import("@angular/core").WritableSignal<string[]>;
|
|
12
|
+
onChangeList: import("@angular/core").OutputEmitterRef<string[]>;
|
|
13
|
+
multiInputForm: FormGroup;
|
|
14
|
+
multiInputRef: ElementRef<HTMLInputElement>;
|
|
15
|
+
ngOnChanges(_simpleChanges: SimpleChanges): void;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
addItem(): void;
|
|
19
|
+
removeItem(index: number): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevMultiInputComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevMultiInputComponent, "tc-rev-multi-input", never, { "autoFocus": { "alias": "autoFocus"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "initialList": { "alias": "initialList"; "required": false; "isSignal": true; }; "validators": { "alias": "validators"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onChangeList": "onChangeList"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevPaginationComponent {
|
|
4
|
+
currentPage: number;
|
|
5
|
+
totalPages: number;
|
|
6
|
+
pageChange: EventEmitter<number>;
|
|
7
|
+
pageInputError: boolean;
|
|
8
|
+
previous(): void;
|
|
9
|
+
next(): void;
|
|
10
|
+
goToPage(event: Event): void;
|
|
11
|
+
formatPage(page: number): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevPaginationComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevPaginationComponent, "tc-rev-pagination", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "totalPages": { "alias": "totalPages"; "required": false; }; }, { "pageChange": "pageChange"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevSearchInputComponent {
|
|
4
|
+
protected searchText: FormControl<string>;
|
|
5
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
6
|
+
onSearch: import("@angular/core").OutputEmitterRef<string>;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevSearchInputComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevSearchInputComponent, "tc-rev-search-input", never, { "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "onSearch": "onSearch"; }, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevSideDrawerComponent {
|
|
3
|
+
private document;
|
|
4
|
+
loading: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
position: import("@angular/core").InputSignal<"left" | "right">;
|
|
6
|
+
title: import("@angular/core").InputSignal<string>;
|
|
7
|
+
xAxis: import("@angular/core").Signal<"left: 0" | "right: 0">;
|
|
8
|
+
onCloseDrawer: import("@angular/core").OutputEmitterRef<void>;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
constructor(document: Document);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
handleClickOverlay(): void;
|
|
14
|
+
handleClickContent(_ev: MouseEvent): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevSideDrawerComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevSideDrawerComponent, "tc-rev-side-drawer", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; }, { "onCloseDrawer": "onCloseDrawer"; }, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevSlideToggleDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevSlideToggleDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TcRevSlideToggleDirective, "input[type=\"checkbox\"][tcRevSlideToggle]", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevTabGroupComponent {
|
|
4
|
+
onResize(): void;
|
|
5
|
+
tabGroupCarousel: ElementRef<HTMLDivElement>;
|
|
6
|
+
isCarouselOverflowed: boolean;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
private checkCarouselOverflow;
|
|
9
|
+
scrollTabsCarousel(direction: 'left' | 'right'): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevTabGroupComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevTabGroupComponent, "tc-rev-tab-group", never, {}, {}, never, ["*"], true, never>;
|
|
12
|
+
}
|
package/lib/revitalizacao/components/tc-rev-tab-group/tc-rev-tab-item/tc-rev-tab-item.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevTabItemComponent {
|
|
3
|
+
onClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
4
|
+
active: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
url: import("@angular/core").InputSignal<string>;
|
|
6
|
+
disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevTabItemComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevTabItemComponent, "tc-rev-tab-item", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare enum TagColorsEnum {
|
|
2
|
+
'neutral-50' = "neutral-50",
|
|
3
|
+
'neutral-100' = "neutral-100",
|
|
4
|
+
'neutral-200' = "neutral-200",
|
|
5
|
+
'neutral-300' = "neutral-300",
|
|
6
|
+
'neutral-400' = "neutral-400",
|
|
7
|
+
'neutral-500' = "neutral-500",
|
|
8
|
+
'neutral-600' = "neutral-600",
|
|
9
|
+
'neutral-700' = "neutral-700",
|
|
10
|
+
'neutral-800' = "neutral-800",
|
|
11
|
+
'neutral-900' = "neutral-900",
|
|
12
|
+
'primary-300' = "primary-300",
|
|
13
|
+
'primary-400' = "primary-400",
|
|
14
|
+
'primary-500' = "primary-500",
|
|
15
|
+
'primary-600' = "primary-600",
|
|
16
|
+
'primary-700' = "primary-700",
|
|
17
|
+
'danger-300' = "danger-300",
|
|
18
|
+
'danger-400' = "danger-400",
|
|
19
|
+
'danger-500' = "danger-500",
|
|
20
|
+
'alert-300' = "alert-300",
|
|
21
|
+
'alert-400' = "alert-400",
|
|
22
|
+
'alert-500' = "alert-500",
|
|
23
|
+
'info-300' = "info-300",
|
|
24
|
+
'info-400' = "info-400",
|
|
25
|
+
'info-500' = "info-500",
|
|
26
|
+
'success-300' = "success-300",
|
|
27
|
+
'success-400' = "success-400",
|
|
28
|
+
'success-500' = "success-500"
|
|
29
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevTagComponent {
|
|
3
|
+
size: import("@angular/core").InputSignal<"lg" | "md" | "sm" | "regular">;
|
|
4
|
+
color: import("@angular/core").InputSignal<string>;
|
|
5
|
+
variant: import("@angular/core").InputSignal<"" | "filled" | "outline">;
|
|
6
|
+
shape: import("@angular/core").InputSignal<"" | "pill">;
|
|
7
|
+
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevTagComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevTagComponent, "tc-rev-tag", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class TcRevToastComponent {
|
|
3
|
+
type: import("@angular/core").InputSignal<"info" | "success" | "danger" | "alert">;
|
|
4
|
+
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevToastComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevToastComponent, "tc-rev-toast", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; }, {}, never, ["[icon]", "*"], true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Params } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevSubNavbarItemComponent {
|
|
4
|
+
isMenuExpanded: boolean;
|
|
5
|
+
label: import("@angular/core").InputSignal<string>;
|
|
6
|
+
onClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
7
|
+
active: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
routerLink: import("@angular/core").InputSignal<string>;
|
|
9
|
+
queryParams: import("@angular/core").InputSignal<Params>;
|
|
10
|
+
handleClick(_ev: MouseEvent): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevSubNavbarItemComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevSubNavbarItemComponent, "tc-rev-sub-navbar-item", never, { "isMenuExpanded": { "alias": "isMenuExpanded"; "required": false; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, ["icon"], true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { TcRevSubNavbarItemComponent } from './component/tc-sub-navbar-item/tc-sub-navbar-item.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TcRevSubNavbarComponent {
|
|
4
|
+
subNavbarItems: TcRevSubNavbarItemComponent[];
|
|
5
|
+
isMenuExpanded: import("@angular/core").WritableSignal<boolean>;
|
|
6
|
+
onSubMenuExpandChange: import("@angular/core").OutputEmitterRef<boolean>;
|
|
7
|
+
ngAfterContentInit(): void;
|
|
8
|
+
handleExpandMenu(): void;
|
|
9
|
+
private setExpandedMenuValueToChildrend;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TcRevSubNavbarComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TcRevSubNavbarComponent, "tc-rev-sub-navbar", never, {}, { "onSubMenuExpandChange": "onSubMenuExpandChange"; }, ["subNavbarItems"], ["*"], true, never>;
|
|
12
|
+
}
|