@rededor/site-front-end-lib 1.0.26 → 1.0.28

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.
@@ -0,0 +1,30 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { CuraService, YoutubeService } from '../../../services';
3
+ import { YouTubePlayer } from '@angular/youtube-player';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TestimonialCardComponent implements OnInit, OnDestroy {
6
+ private readonly curaService;
7
+ private readonly youtubeService;
8
+ private readonly platformId;
9
+ type: import("@angular/core").InputSignal<string>;
10
+ image: import("@angular/core").InputSignal<any>;
11
+ videoUrl: import("@angular/core").InputSignal<string>;
12
+ text: import("@angular/core").InputSignal<string>;
13
+ author: import("@angular/core").InputSignal<string>;
14
+ position: import("@angular/core").InputSignal<string>;
15
+ videoId: import("@angular/core").WritableSignal<string | null>;
16
+ platformBrowser: import("@angular/core").WritableSignal<any>;
17
+ youtubePlayer: YouTubePlayer;
18
+ styleBinding: {
19
+ '--neutral-black': string | null;
20
+ '--color-one-darker': string | null;
21
+ '--font-family': string | null;
22
+ };
23
+ constructor(curaService: CuraService, youtubeService: YoutubeService, platformId: object);
24
+ ngOnInit(): void;
25
+ getVideoId(): string;
26
+ stopVideo(): void;
27
+ ngOnDestroy(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialCardComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialCardComponent, "rdsite-testimonial-card", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": false; "isSignal": true; }; "videoUrl": { "alias": "videoUrl"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "author": { "alias": "author"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
+ }
@@ -0,0 +1,27 @@
1
+ import { OnInit, QueryList } from '@angular/core';
2
+ import { NguCarousel, NguCarouselConfig } from '@ngu/carousel';
3
+ import { CuraService, NguCarouselService } from '../../../services';
4
+ import { TestimonialCardComponent } from '../../cards/testimonial-card/testimonial-card.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare class TestimonialsCarouselComponent implements OnInit {
7
+ private readonly curaService;
8
+ private nguService;
9
+ title: import("@angular/core").InputSignal<string>;
10
+ items: import("@angular/core").InputSignal<any[] | null>;
11
+ carouselTestimonialsConfig: import("@angular/core").WritableSignal<NguCarouselConfig | null>;
12
+ carouselTestimonials: NguCarousel<any[]>;
13
+ testimonialCards: QueryList<TestimonialCardComponent>;
14
+ styleBinding: {
15
+ '--neutral-purewhite': string | null;
16
+ '--neutral-black': string | null;
17
+ '--font-family': string | null;
18
+ };
19
+ constructor(curaService: CuraService, nguService: NguCarouselService);
20
+ ngOnInit(): void;
21
+ nextSlide(): void;
22
+ prevSlide(): void;
23
+ moveTo(pointerNumber: number): void;
24
+ stopVideos(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<TestimonialsCarouselComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestimonialsCarouselComponent, "rdsite-testimonials-carousel", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
27
+ }
@@ -39,3 +39,5 @@ export * from './cards/card-unidade-planos-convenios/card-unidade-planos-conveni
39
39
  export * from './cards/expandable-card/expandable-card.component';
40
40
  export * from './banner/content-banner/content-banner.component';
41
41
  export * from './pagination/pagination.component';
42
+ export * from './cards/testimonial-card/testimonial-card.component';
43
+ export * from './carousels/testimonials-carousel/testimonials-carousel.component';
@@ -1,5 +1,6 @@
1
1
  export declare enum RdsiteModalDrawerComponentStyle {
2
2
  DEFAULT = "default",
3
3
  DRAWERDOCTOR = "doctor-card",
4
- FORMFALLBACK = "form-fallback"
4
+ FORMFALLBACK = "form-fallback",
5
+ FILTERDOENCAS = "filter-doencas"
5
6
  }
@@ -14,3 +14,4 @@ export * from './ssr-loading/ssr-loading.service';
14
14
  export * from './transfer-state/transfer-state.service';
15
15
  export * from '../components/header/services/header.service';
16
16
  export * from './algolia-search-api/algolia-search-api.service';
17
+ export * from './youtube/youtube.service';
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class YoutubeService {
3
+ private platformId;
4
+ private document;
5
+ scriptId: string;
6
+ constructor(platformId: object, document: Document);
7
+ setScript(): void;
8
+ removeScript(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<YoutubeService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<YoutubeService>;
11
+ }
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@rededor/site-front-end-lib",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",
7
7
  "@ngu/carousel": "^9.0.0",
8
- "@rededor/cura": ">=0.5.1 <2.0.0 || >1.5.0-alpha",
8
+ "@rededor/cura": ">=0.5.1 <2.0.0 || >1.6.0-alpha.4",
9
9
  "algoliasearch": "^4.16.0",
10
10
  "express": "^4.18.2",
11
11
  "he": "^1.2.0",
12
12
  "ngx-device-detector": "^7.0.0",
13
13
  "crypto-js": "^4.2.0",
14
- "@rededor/search-api-sdk": "^1.0.1"
14
+ "@rededor/search-api-sdk": "^1.0.1",
15
+ "@angular/youtube-player": "^17.3.10"
15
16
  },
16
17
  "publishConfig": {
17
18
  "access": "public"