@dev-tcloud/tcloud-ui 7.5.3 → 7.7.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/docs/tcloud-ui-popover.md +24 -0
- package/docs/tcloud-ui-tab-menu.md +41 -16
- package/fesm2022/dev-tcloud-tcloud-ui.mjs +83 -18
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/js/tcloud-ui-app.js +62 -62
- package/package.json +1 -1
- package/scss/tcloud-revitalizacao/components/_tc-rev-input-control.scss +10 -6
- package/types/dev-tcloud-tcloud-ui.d.ts +25 -3
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
height: var(--size-40);
|
|
12
12
|
transition: 200ms ease;
|
|
13
13
|
padding: 0 var(--size-16);
|
|
14
|
+
box-sizing: border-box;
|
|
14
15
|
max-width: 100%;
|
|
15
16
|
|
|
16
17
|
&::placeholder {
|
|
@@ -109,11 +110,11 @@
|
|
|
109
110
|
outline: none;
|
|
110
111
|
height: var(--size-40);
|
|
111
112
|
transition: 200ms ease;
|
|
112
|
-
padding: 0 var(--size-16);
|
|
113
|
+
padding: 0 var(--size-44) 0 var(--size-16);
|
|
113
114
|
position: absolute;
|
|
114
115
|
top: 0;
|
|
115
116
|
left: 0;
|
|
116
|
-
|
|
117
|
+
box-sizing: border-box;
|
|
117
118
|
width: 100%;
|
|
118
119
|
z-index: 1;
|
|
119
120
|
|
|
@@ -143,15 +144,18 @@
|
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
.tc-rev-input-icon {
|
|
146
|
-
align-
|
|
147
|
-
display:
|
|
147
|
+
align-items: center;
|
|
148
|
+
display: flex;
|
|
149
|
+
justify-content: center;
|
|
148
150
|
position: absolute;
|
|
149
|
-
right:
|
|
150
|
-
top:
|
|
151
|
+
right: var(--size-6);
|
|
152
|
+
top: 50%;
|
|
153
|
+
transform: translateY(-50%);
|
|
151
154
|
z-index: 2;
|
|
152
155
|
font-size: var(--f-size-16);
|
|
153
156
|
width: var(--size-32);
|
|
154
157
|
height: var(--size-32);
|
|
158
|
+
line-height: 1;
|
|
155
159
|
text-align: center;
|
|
156
160
|
}
|
|
157
161
|
}
|
|
@@ -868,12 +868,14 @@ declare class TCloudUiModalFooterComponent implements OnInit, OnDestroy {
|
|
|
868
868
|
type TCloudUiPopoverPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
869
869
|
type TCloudUiPopoverAlign = 'start' | 'center' | 'end';
|
|
870
870
|
type TCloudUiPopoverMaxWidth = number | string;
|
|
871
|
+
type TCloudUiPopoverAppearance = 'default' | 'compact' | 'menu' | 'borderless';
|
|
871
872
|
|
|
872
873
|
declare class TCloudUiPopoverComponent {
|
|
873
874
|
private elementRef;
|
|
874
875
|
position: TCloudUiPopoverPosition;
|
|
875
876
|
align: TCloudUiPopoverAlign;
|
|
876
877
|
maxWidth: TCloudUiPopoverMaxWidth;
|
|
878
|
+
appearance: TCloudUiPopoverAppearance;
|
|
877
879
|
disabled: boolean;
|
|
878
880
|
showCloseIcon: boolean;
|
|
879
881
|
private _open;
|
|
@@ -888,7 +890,7 @@ declare class TCloudUiPopoverComponent {
|
|
|
888
890
|
onDocumentClick(event: MouseEvent): void;
|
|
889
891
|
onEscape(): void;
|
|
890
892
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiPopoverComponent, never>;
|
|
891
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiPopoverComponent, "tcloud-ui-popover", never, { "position": { "alias": "position"; "required": false; }; "align": { "alias": "align"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCloseIcon": { "alias": "showCloseIcon"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, never, ["[popover-trigger]", "[popover-content]"], true, never>;
|
|
893
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiPopoverComponent, "tcloud-ui-popover", never, { "position": { "alias": "position"; "required": false; }; "align": { "alias": "align"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCloseIcon": { "alias": "showCloseIcon"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, { "openChange": "openChange"; }, never, ["[popover-trigger]", "[popover-content]"], true, never>;
|
|
892
894
|
}
|
|
893
895
|
|
|
894
896
|
declare class TCloudUiMultiInputComponent implements OnInit, OnDestroy, Validator {
|
|
@@ -1006,7 +1008,12 @@ declare class TCloudUiScrollBoxComponent implements OnInit {
|
|
|
1006
1008
|
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiScrollBoxComponent, "tcloud-ui-scroll-box", never, { "border": { "alias": "border"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1007
1009
|
}
|
|
1008
1010
|
|
|
1011
|
+
interface ITab {
|
|
1012
|
+
id: string;
|
|
1013
|
+
disabled: boolean;
|
|
1014
|
+
}
|
|
1009
1015
|
type TabOptionTextTone = 'default' | 'inverse';
|
|
1016
|
+
type TabHeadAppearance = 'default' | 'filled' | 'segmented';
|
|
1010
1017
|
|
|
1011
1018
|
declare class TabMenuService {
|
|
1012
1019
|
private _route;
|
|
@@ -1033,6 +1040,9 @@ declare class TabMenuService {
|
|
|
1033
1040
|
private _tabOptionActiveTextTone;
|
|
1034
1041
|
private tabOptionActiveTextToneSubject;
|
|
1035
1042
|
tabOptionActiveTextToneState$: rxjs.Observable<TabOptionTextTone>;
|
|
1043
|
+
private _tabHeadAppearance;
|
|
1044
|
+
private tabHeadAppearanceSubject;
|
|
1045
|
+
tabHeadAppearanceState$: rxjs.Observable<TabHeadAppearance>;
|
|
1036
1046
|
constructor(_route: ActivatedRoute, _router: Router);
|
|
1037
1047
|
setTabScroll(scroll: boolean): void;
|
|
1038
1048
|
getTabScroll(): boolean;
|
|
@@ -1046,6 +1056,8 @@ declare class TabMenuService {
|
|
|
1046
1056
|
getTabOptionTextTone(): TabOptionTextTone;
|
|
1047
1057
|
setTabOptionActiveTextTone(activeTextTone: TabOptionTextTone): void;
|
|
1048
1058
|
getTabOptionActiveTextTone(): TabOptionTextTone;
|
|
1059
|
+
setTabHeadAppearance(appearance: TabHeadAppearance): void;
|
|
1060
|
+
getTabHeadAppearance(): TabHeadAppearance;
|
|
1049
1061
|
setTabState(tab: string, registerInUrl?: boolean | undefined): void;
|
|
1050
1062
|
getTabState(): string;
|
|
1051
1063
|
setTabDisabled(id: string, disabled: boolean): void;
|
|
@@ -1083,6 +1095,7 @@ declare class TCloudUiTabHeadComponent implements OnInit {
|
|
|
1083
1095
|
get scroll(): boolean;
|
|
1084
1096
|
ID: string;
|
|
1085
1097
|
background: boolean;
|
|
1098
|
+
appearance: TabHeadAppearance;
|
|
1086
1099
|
backgroundColor: string;
|
|
1087
1100
|
private _tabOptionTextTone;
|
|
1088
1101
|
set tabOptionTextTone(tabOptionTextTone: TabOptionTextTone);
|
|
@@ -1101,7 +1114,7 @@ declare class TCloudUiTabHeadComponent implements OnInit {
|
|
|
1101
1114
|
private scrollSuave;
|
|
1102
1115
|
private moveScroll;
|
|
1103
1116
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabHeadComponent, never>;
|
|
1104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabHeadComponent, "tcloud-ui-tab-head", never, { "scroll": { "alias": "scroll"; "required": false; }; "background": { "alias": "background"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "tabOptionTextTone": { "alias": "tabOptionTextTone"; "required": false; }; "tabOptionActiveTextTone": { "alias": "tabOptionActiveTextTone"; "required": false; }; "bottom_line": { "alias": "bottom_line"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1117
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabHeadComponent, "tcloud-ui-tab-head", never, { "scroll": { "alias": "scroll"; "required": false; }; "background": { "alias": "background"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "tabOptionTextTone": { "alias": "tabOptionTextTone"; "required": false; }; "tabOptionActiveTextTone": { "alias": "tabOptionActiveTextTone"; "required": false; }; "bottom_line": { "alias": "bottom_line"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1105
1118
|
}
|
|
1106
1119
|
|
|
1107
1120
|
declare class TCloudUiTabContentComponent implements OnInit {
|
|
@@ -1124,14 +1137,23 @@ declare class TCloudUiTabTitleComponent implements OnInit, OnDestroy {
|
|
|
1124
1137
|
active: boolean;
|
|
1125
1138
|
loading: boolean;
|
|
1126
1139
|
bottom_line: boolean;
|
|
1140
|
+
inheritedAppearance: TabHeadAppearance;
|
|
1141
|
+
inheritedTextTone: TabOptionTextTone;
|
|
1142
|
+
inheritedActiveTextTone: TabOptionTextTone;
|
|
1143
|
+
get filledHost(): boolean;
|
|
1144
|
+
get segmentedHost(): boolean;
|
|
1127
1145
|
private _disabled;
|
|
1128
1146
|
set disabled(disabled: boolean);
|
|
1129
1147
|
get disabled(): boolean;
|
|
1130
1148
|
private subscription;
|
|
1131
1149
|
constructor(tabMenuService: TabMenuService);
|
|
1150
|
+
get resolvedTextColor(): string;
|
|
1151
|
+
get resolvedActiveTextColor(): string;
|
|
1132
1152
|
ngOnInit(): void;
|
|
1133
1153
|
toTab(): void;
|
|
1134
1154
|
ngOnDestroy(): void;
|
|
1155
|
+
private resolveTextTone;
|
|
1156
|
+
private resolveActiveTextTone;
|
|
1135
1157
|
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiTabTitleComponent, never>;
|
|
1136
1158
|
static ɵcmp: i0.ɵɵComponentDeclaration<TCloudUiTabTitleComponent, "tcloud-ui-tab-title", never, { "tab": { "alias": "tab"; "required": false; }; "title": { "alias": "title"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1137
1159
|
}
|
|
@@ -3535,4 +3557,4 @@ declare class TcRevComponentsLibModule {
|
|
|
3535
3557
|
}
|
|
3536
3558
|
|
|
3537
3559
|
export { AcceptedFileType, BytesPipe, CNPJPipe, CPFPipe, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR, DateBRPipe, DropdownGroupedSize, DropdownMultiSize$1 as DropdownMultiSize, DropdownSize$1 as DropdownSize, MonthNamePipe, MultiLevelDropdownSize$1 as MultiLevelDropdownSize, ProductActionPipe, ProgressStatusBarGradientStatus$1 as ProgressStatusBarGradientStatus, RespectivePipe, StatusInfoPipe, TCCondition, TCFiltersType, TCLOUD_UI_CONFIG, TCLOUD_UI_LAYOUT_SERVICE, TCLOUD_UI_LOCALE_SERVICE, TCLOUD_UI_USER_SERVICE, TCLOUD_UI_VIEWPORT_SERVICE, TCloudUiAccordionBodyComponent, TCloudUiAccordionComponent, TCloudUiAccordionTitleComponent, TCloudUiAlertBannerComponent, TCloudUiAlignDirective, TCloudUiBreadcrumbComponent, TCloudUiBreadcrumbService, TCloudUiButtonDirective, TCloudUiCalendarComponent, TCloudUiCardAccordionComponent, TCloudUiCardComponent, TCloudUiCardTitleComponent, TCloudUiCarouselComponent, TCloudUiCheckAccessDirective, TCloudUiCheckAccessService, TCloudUiCheckboxDirective, TCloudUiChoiceIssuesComponent, TCloudUiContainerColComponent, TCloudUiContainerComponent, TCloudUiContainerContentComponent, TCloudUiCubesComponent, TCloudUiCurrencyDirective, TCloudUiDataListComponent, TCloudUiDataListOptionComponent, TCloudUiDatepickerComponent, TCloudUiDatepickerTimeComponent, TCloudUiDialogComponent, TCloudUiDialogEventsEnum, TCloudUiDialogHostComponent, TCloudUiDialogModel, TCloudUiDialogService, TCloudUiDialogStatusEnum, TCloudUiDialogTextConfirmationEnum, TCloudUiDigitOnlyDirective, TCloudUiDropdownComponent, TCloudUiDropdownMultiComponent, TCloudUiDropdownMultiLevelComponent, TCloudUiEditorComponent, TCloudUiEditorDiffComponent, TCloudUiElCopyDirective, TCloudUiEmptyContentComponent, TCloudUiFaqComponent, TCloudUiFilterBarComponent, TCloudUiFiltersComponent, TCloudUiFooterComponent, TCloudUiFormDirective, TCloudUiHighLightDirective, TCloudUiHoverParentDirective, TCloudUiIconButtonDirective, TCloudUiInputContainerComponent, TCloudUiInputDirective, TCloudUiInputPasswordComponent, TCloudUiInputSearchComponent, TCloudUiIpMaskDirective, TCloudUiLabelTokenComponent, TCloudUiLegendComponent, TCloudUiLineStepCircleComponent, TCloudUiLineStepTitleComponent, TCloudUiLinhaLogoComponent, TCloudUiLoadingComponent, TCloudUiLoadingTransitionsService, TCloudUiMarkReadmeComponent, TCloudUiMessageComponent, TCloudUiModalBodyComponent, TCloudUiModalComponent, TCloudUiModalFooterComponent, TCloudUiModalHeaderComponent, TCloudUiModule, TCloudUiMultiInputComponent, TCloudUiMultiSelectComponent, TCloudUiMultiplesValuesComponent, TCloudUiNavbarComponent, TCloudUiNavbarFooterComponent, TCloudUiNavbarItemComponent, TCloudUiNgCheckAccessDirective, TCloudUiNgFeatureFlagsDirective, TCloudUiNotFoundComponent, TCloudUiNumberStepComponent, TCloudUiPaginationComponent, TCloudUiPaginationPipe, TCloudUiPopoverComponent, TCloudUiProgressBarComponent, TCloudUiProgressStatusBarComponent, TCloudUiRadioDirective, TCloudUiRangeDateComponent, TCloudUiReorderItemsComponent, TCloudUiScrollBoxComponent, TCloudUiSearchBarComponent, TCloudUiSearchInObjectService, TCloudUiSearchInputComponent, TCloudUiSkeletonLoadingComponent, TCloudUiSkeletonLoadingComponentStyle, TCloudUiSlideToggleDirective, TCloudUiSubNavbarComponent, TCloudUiSubNavbarGroupComponent, TCloudUiSubNavbarItemComponent, TCloudUiTabContentComponent, TCloudUiTabGroupComponent, TCloudUiTabHeadComponent, TCloudUiTabItemComponent, TCloudUiTabMenuComponent, TCloudUiTabOptionComponent, TCloudUiTabSubtitleComponent, TCloudUiTabTitleComponent, TCloudUiTableComponent, TCloudUiTagComponent, TCloudUiToastComponent, TCloudUiTooltipDirective, TCloudUiTopNavigationComponent, TCloudUiUploadAreaComponent, TCloudUiWelcomeComponent, TCloudUiWizardStepsComponent, TagColorsEnum, TcRevButtonDirective, TcRevCalendarComponent, TcRevCardAccordionComponent, TcRevCardComponent, TcRevCardTitleComponent, TcRevCheckboxDirective, TcRevComponentsLibModule, TcRevDropdownComponent, TcRevDropdownGroupedComponent, TcRevDropdownMultiComponent, TcRevDropdownMultiLevelComponent, TcRevEmptyContentComponent, TcRevFaqComponent, TcRevIconButtonDirective, TcRevInputContainerComponent, TcRevInputDirective, TcRevLoadingComponent, TcRevMessageComponent, TcRevMultiInputComponent, TcRevPaginationComponent, TcRevProgressStatusBarComponent, TcRevRadioDirective, TcRevSearchInputComponent, TcRevSideDrawerComponent, TcRevSkeletonLoadingComponent, TcRevSkeletonLoadingComponentStyle, TcRevSlideToggleDirective, TcRevSmallLoadingComponent, TcRevSmallLoadingComponentStyle, TcRevSubNavbarComponent, TcRevSubNavbarItemComponent, TcRevTabGroupComponent, TcRevTabItemComponent, TcRevTagComponent, TcRevToastComponent, TcRevTooltipDirective, TcRevWizardStepsComponent, ToTextPipe, TopologyEnvironmentPipe, TopologyProductPipe, TopologyRegionPipe, TopologyStatusPipe, echartBarConfig, isTextEllipsed, provideTCloudUi };
|
|
3538
|
-
export type { AlertType, BarChartData, BreadcrumbItem$1 as BreadcrumbItem, CalendarAppointment$1 as CalendarAppointment, DropdownGroup, DropdownGroupedOption, DropdownMultiOption$1 as DropdownMultiOption, DropdownOption$1 as DropdownOption, ImageDimensions, ImageItem, LineStepTitleData, MultiLevelDropdownOption$1 as MultiLevelDropdownOption, PreloadedImage, ProgressStatusConfig$1 as ProgressStatusConfig, TCDataFilters, TCDataOtions, TCloudUiCarouselEffect, TCloudUiConfig, TCloudUiCustomServices, TCloudUiNavbarGroup, TCloudUiNavbarItem, TCloudUiPopoverAlign, TCloudUiPopoverMaxWidth, TCloudUiPopoverPosition, WizardStep$1 as WizardStep, reorderItensData };
|
|
3560
|
+
export type { AlertType, BarChartData, BreadcrumbItem$1 as BreadcrumbItem, CalendarAppointment$1 as CalendarAppointment, DropdownGroup, DropdownGroupedOption, DropdownMultiOption$1 as DropdownMultiOption, DropdownOption$1 as DropdownOption, ITab, ImageDimensions, ImageItem, LineStepTitleData, MultiLevelDropdownOption$1 as MultiLevelDropdownOption, PreloadedImage, ProgressStatusConfig$1 as ProgressStatusConfig, TCDataFilters, TCDataOtions, TCloudUiCarouselEffect, TCloudUiConfig, TCloudUiCustomServices, TCloudUiNavbarGroup, TCloudUiNavbarItem, TCloudUiPopoverAlign, TCloudUiPopoverAppearance, TCloudUiPopoverMaxWidth, TCloudUiPopoverPosition, TabHeadAppearance, TabOptionTextTone, WizardStep$1 as WizardStep, reorderItensData };
|