@dev-tcloud/tcloud-ui 5.3.9 → 5.4.0-beta.1
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 +93 -24
- package/fesm2022/dev-tcloud-tcloud-ui.mjs.map +1 -1
- package/lib/_services/tcloud-ui-device.service.d.ts +22 -0
- package/lib/revitalizacao/components/tc-rev-card/tc-rev-card.component.d.ts +2 -2
- package/lib/revitalizacao/components/tc-rev-card-accordion/tc-rev-card-accordion.component.d.ts +2 -2
- package/lib/revitalizacao/components/tc-rev-dropdown/tc-rev-dropdown.component.d.ts +6 -1
- package/package.json +1 -1
- package/lib/_services/view-port.service.d.ts +0 -12
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TemplateRef, RendererFactory2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TCloudUiDeviceService {
|
|
4
|
+
/*** Viewport mobile ***/
|
|
5
|
+
private readonly DESKTOP_MIN;
|
|
6
|
+
private widthScreen;
|
|
7
|
+
width: import("@angular/core").Signal<number>;
|
|
8
|
+
isDesktop: import("@angular/core").Signal<boolean>;
|
|
9
|
+
isMobile: import("@angular/core").Signal<boolean>;
|
|
10
|
+
/*** Utils ***/
|
|
11
|
+
private renderer;
|
|
12
|
+
private menuHost;
|
|
13
|
+
private embeddedView;
|
|
14
|
+
private appRef;
|
|
15
|
+
private animationBuilder;
|
|
16
|
+
private player;
|
|
17
|
+
constructor(rendererFactory: RendererFactory2);
|
|
18
|
+
openDropdownDevice(menuTemplate: TemplateRef<any>): void;
|
|
19
|
+
closeDropdownDevice(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiDeviceService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TCloudUiDeviceService>;
|
|
22
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TCloudUiDeviceService } from '../../../_services/tcloud-ui-device.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TcRevCardComponent {
|
|
4
|
-
_viewPort:
|
|
4
|
+
_viewPort: TCloudUiDeviceService;
|
|
5
5
|
isDesktop: import("@angular/core").Signal<boolean>;
|
|
6
6
|
/**
|
|
7
7
|
* APPLY FUNCTIONS RESPONSIVE < 480PX
|
package/lib/revitalizacao/components/tc-rev-card-accordion/tc-rev-card-accordion.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TCloudUiDeviceService } from '../../../_services/tcloud-ui-device.service';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TcRevCardAccordionComponent {
|
|
4
|
-
_viewPort:
|
|
4
|
+
_viewPort: TCloudUiDeviceService;
|
|
5
5
|
toggle: import("@angular/core").OutputEmitterRef<boolean>;
|
|
6
6
|
title: import("@angular/core").InputSignal<string>;
|
|
7
7
|
iconClass: import("@angular/core").InputSignal<string>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ElementRef, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ElementRef, SimpleChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import { TCloudUiDeviceService } from '../../../_services/tcloud-ui-device.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface DropdownOption {
|
|
4
5
|
id?: any;
|
|
@@ -13,7 +14,9 @@ export declare enum DropdownSize {
|
|
|
13
14
|
}
|
|
14
15
|
export declare class TcRevDropdownComponent {
|
|
15
16
|
private elementRef;
|
|
17
|
+
menuTemplate: TemplateRef<any>;
|
|
16
18
|
onDocumentClick(event: MouseEvent): void;
|
|
19
|
+
_deviceService: TCloudUiDeviceService;
|
|
17
20
|
label: import("@angular/core").InputSignal<string>;
|
|
18
21
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
19
22
|
options: import("@angular/core").InputSignal<DropdownOption[]>;
|
|
@@ -25,6 +28,8 @@ export declare class TcRevDropdownComponent {
|
|
|
25
28
|
selectedOption: import("@angular/core").WritableSignal<DropdownOption>;
|
|
26
29
|
isOpen: boolean;
|
|
27
30
|
dropdownSize: typeof DropdownSize;
|
|
31
|
+
isDesktop: import("@angular/core").Signal<boolean>;
|
|
32
|
+
isMobile: import("@angular/core").Signal<boolean>;
|
|
28
33
|
constructor(elementRef: ElementRef);
|
|
29
34
|
ngOnChanges(_simpleChanges: SimpleChanges): void;
|
|
30
35
|
ngOnInit(): void;
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class TCloudUiViewportService {
|
|
3
|
-
private widthScreen;
|
|
4
|
-
private readonly DESKTOP_MIN;
|
|
5
|
-
constructor();
|
|
6
|
-
/** largura atual */
|
|
7
|
-
width: import("@angular/core").Signal<number>;
|
|
8
|
-
isDesktop: import("@angular/core").Signal<boolean>;
|
|
9
|
-
isMobile: import("@angular/core").Signal<boolean>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiViewportService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TCloudUiViewportService>;
|
|
12
|
-
}
|