@dev-tcloud/tcloud-ui 6.0.1 → 6.0.3

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.
@@ -1,3 +1,5 @@
1
+ import { Observable } from "rxjs";
1
2
  export interface LayoutServiceInterface {
2
- getLayout(): any;
3
+ getLayout(): Observable<string | null>;
4
+ getCurrentLayout(): string;
3
5
  }
@@ -2,6 +2,7 @@ import { Subscription } from 'rxjs';
2
2
  import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
3
3
  import { TcloudModalService } from './services/tcloud-modal.service';
4
4
  import { IConfirm } from './tcloud-ui-modal';
5
+ import { LayoutServiceInterface } from '../../_interfaces/layout.service.interface';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
7
8
  private _LayoutService;
@@ -60,8 +61,8 @@ export declare class TCloudUiModalComponent implements OnInit, OnDestroy {
60
61
  toCancel: EventEmitter<boolean>;
61
62
  toAction: EventEmitter<"close" | "cancel" | "confirmed">;
62
63
  private layoutService;
63
- constructor(_LayoutService: any, tcloudModalService: TcloudModalService);
64
- get getLayout(): any;
64
+ constructor(_LayoutService: LayoutServiceInterface, tcloudModalService: TcloudModalService);
65
+ get layout(): string;
65
66
  ngOnInit(): void;
66
67
  toClose(action?: any | undefined): void;
67
68
  checkIsOpen(): void;
@@ -5,7 +5,7 @@ export declare class TCloudUiLayoutService {
5
5
  private _layout;
6
6
  readonly signal_layout: any;
7
7
  constructor(_LayoutService: any);
8
- getLayout(): string;
8
+ get layout(): string;
9
9
  set_signal_layout(v: string): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TCloudUiLayoutService, [{ optional: true; }]>;
11
11
  static ɵprov: i0.ɵɵInjectableDeclaration<TCloudUiLayoutService>;
@@ -10,7 +10,7 @@ export declare const TCLOUD_UI_USER_SERVICE: InjectionToken<any>;
10
10
  /**
11
11
  * Token de injeção para o serviço de tema customizado
12
12
  */
13
- export declare const TCLOUD_UI_THEME_SERVICE: InjectionToken<any>;
13
+ export declare const TCLOUD_UI_LAYOUT_SERVICE: InjectionToken<any>;
14
14
  /**
15
15
  * Token de injeção para o serviço de viewport customizado
16
16
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-tcloud/tcloud-ui",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.14",
6
6
  "@angular/core": "^19.2.14"