ctt-puro 0.45.10 → 0.46.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.
Files changed (66) hide show
  1. package/esm2022/lib/components/puro-banner-slider/puro-banner-slider.component.mjs +10 -5
  2. package/esm2022/lib/components/puro-banner4col/puro-banner4col.component.mjs +6 -5
  3. package/esm2022/lib/components/puro-blog-list/puro-blog-list.component.mjs +6 -5
  4. package/esm2022/lib/components/puro-blog-post/puro-blog-post.component.mjs +11 -5
  5. package/esm2022/lib/components/puro-careers-form/puro-careers-form.component.mjs +6 -4
  6. package/esm2022/lib/components/puro-events-form/puro-events-form.component.mjs +5 -4
  7. package/esm2022/lib/components/puro-faqs-img/puro-faqs-img.component.mjs +6 -5
  8. package/esm2022/lib/components/puro-footer-hotels/puro-footer-hotels.component.mjs +9 -4
  9. package/esm2022/lib/components/puro-footer-info/puro-footer-info.component.mjs +6 -5
  10. package/esm2022/lib/components/puro-footer-links/puro-footer-links.component.mjs +10 -5
  11. package/esm2022/lib/components/puro-gallery/puro-gallery.component.mjs +6 -5
  12. package/esm2022/lib/components/puro-grid3col-filter/puro-grid3col-filter.component.mjs +10 -5
  13. package/esm2022/lib/components/puro-grid3col-plus-filter/puro-grid3col-plus-filter.component.mjs +5 -4
  14. package/esm2022/lib/components/puro-grid3col-slider/puro-grid3col-slider.component.mjs +5 -4
  15. package/esm2022/lib/components/puro-grid4items/puro-grid4items.component.mjs +5 -4
  16. package/esm2022/lib/components/puro-grid5items/puro-grid5items.component.mjs +11 -5
  17. package/esm2022/lib/components/puro-grid6items/puro-grid6items.component.mjs +11 -5
  18. package/esm2022/lib/components/puro-hotels-modal/puro-hotels-modal.component.mjs +11 -5
  19. package/esm2022/lib/components/puro-img-info/puro-img-info.component.mjs +5 -4
  20. package/esm2022/lib/components/puro-info-banner/puro-info-banner.component.mjs +11 -5
  21. package/esm2022/lib/components/puro-info-gallery/puro-info-gallery.component.mjs +5 -4
  22. package/esm2022/lib/components/puro-info-list/puro-info-list.component.mjs +7 -3
  23. package/esm2022/lib/components/puro-info-services/puro-info-services.component.mjs +11 -5
  24. package/esm2022/lib/components/puro-info-slider/puro-info-slider.component.mjs +13 -5
  25. package/esm2022/lib/components/puro-info2col/puro-info2col.component.mjs +12 -5
  26. package/esm2022/lib/components/puro-list-awards/puro-list-awards.component.mjs +11 -5
  27. package/esm2022/lib/components/puro-list-general/puro-list-general.component.mjs +11 -5
  28. package/esm2022/lib/components/puro-list-logos/puro-list-logos.component.mjs +5 -4
  29. package/esm2022/lib/components/puro-list-restaurants/puro-list-restaurants.component.mjs +11 -5
  30. package/esm2022/lib/components/puro-map-list/puro-map-list.component.mjs +10 -4
  31. package/esm2022/lib/components/puro-modal-info/puro-modal-info.component.mjs +11 -5
  32. package/esm2022/lib/components/puro-modal-options/puro-modal-options.component.mjs +12 -6
  33. package/esm2022/lib/components/puro-music-slider/puro-music-slider.component.mjs +9 -5
  34. package/esm2022/lib/components/puro-newsletter/puro-newsletter.component.mjs +5 -3
  35. package/esm2022/lib/components/puro-offer-banner/puro-offer-banner.component.mjs +6 -5
  36. package/esm2022/lib/components/puro-offers-slider/puro-offers-slider.component.mjs +11 -5
  37. package/esm2022/lib/components/puro-photo-slider/puro-photo-slider.component.mjs +11 -5
  38. package/esm2022/lib/components/puro-projects-form/puro-projects-form.component.mjs +11 -4
  39. package/esm2022/lib/components/puro-slider-4items/puro-slider-4items.component.mjs +9 -5
  40. package/esm2022/lib/components/puro-slider1col/puro-slider1col.component.mjs +5 -4
  41. package/esm2022/lib/components/puro-slider2col/puro-slider2col.component.mjs +11 -5
  42. package/esm2022/lib/components/puro-slider3card/puro-slider3card.component.mjs +11 -5
  43. package/esm2022/lib/components/puro-slider3col/puro-slider3col.component.mjs +8 -3
  44. package/esm2022/lib/components/puro-slider3col-round/puro-slider3col-round.component.mjs +8 -3
  45. package/esm2022/lib/components/puro-thanks/puro-thanks.component.mjs +10 -5
  46. package/esm2022/lib/components/puro-timeline/puro-timeline.component.mjs +5 -4
  47. package/esm2022/lib/components/puro-top-slider/puro-top-slider.component.mjs +6 -5
  48. package/esm2022/lib/components/puro-vertical-info/puro-vertical-info.component.mjs +5 -4
  49. package/esm2022/lib/components/puro-webmap/puro-webmap.component.mjs +10 -5
  50. package/esm2022/lib/components/puro-zigzag2col/puro-zigzag2col.component.mjs +10 -5
  51. package/esm2022/lib/directives/index.mjs +2 -1
  52. package/esm2022/lib/directives/puro-img-wrapper/puro-img-wrapper.directive.mjs +38 -0
  53. package/esm2022/lib/utils/utils.mjs +6 -4
  54. package/fesm2022/ctt-puro.mjs +318 -92
  55. package/fesm2022/ctt-puro.mjs.map +1 -1
  56. package/lib/components/puro-banner-slider/puro-banner-slider.component.d.ts +1 -1
  57. package/lib/components/puro-careers-form/puro-careers-form.component.d.ts +3 -3
  58. package/lib/components/puro-faqs-img/puro-faqs-img.component.d.ts +1 -1
  59. package/lib/components/puro-gallery/puro-gallery.component.d.ts +1 -1
  60. package/lib/components/puro-grid3col-filter/puro-grid3col-filter.component.d.ts +1 -2
  61. package/lib/components/puro-info-services/puro-info-services.component.d.ts +1 -1
  62. package/lib/components/puro-info-slider/puro-info-slider.component.d.ts +1 -2
  63. package/lib/components/puro-projects-form/puro-projects-form.component.d.ts +1 -1
  64. package/lib/directives/index.d.ts +1 -0
  65. package/lib/directives/puro-img-wrapper/puro-img-wrapper.directive.d.ts +11 -0
  66. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { PuroImageI, PuroButtonI } from '../../interfaces';
1
+ import { PuroButtonI, PuroImageI } from '../../interfaces';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class PuroBannerSliderComponent {
4
4
  items?: PuroBannerSliderItem[];
@@ -1,6 +1,6 @@
1
- import { ChangeDetectorRef, EventEmitter, OnInit, WritableSignal } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { PuroButtonI, PuroImageI, PuroInputI, PuroFileInputI, PuroTagsI, PuroTextsColorsI } from '../../interfaces';
3
+ import { PuroButtonI, PuroFileInputI, PuroImageI, PuroInputI, PuroTagsI, PuroTextsColorsI } from '../../interfaces';
4
4
  import { PuroDropdownI } from '../../interfaces/puro-dropdown.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class PuroCareersFormComponent implements OnInit {
@@ -34,7 +34,7 @@ export declare class PuroCareersFormComponent implements OnInit {
34
34
  textColors?: PuroTextsColorsI;
35
35
  submitFormValue: EventEmitter<any>;
36
36
  form: FormGroup;
37
- formReady$: WritableSignal<boolean>;
37
+ formReady$: import("@angular/core").WritableSignal<boolean>;
38
38
  filesInputNames: string[] | null;
39
39
  filesInputFiles: File | File[] | null;
40
40
  cvInputNames: string[] | null;
@@ -1,5 +1,5 @@
1
- import { PuroImageI, PuroButtonI, PuroTagsI, PuroTextsColorsI } from '../../interfaces';
2
1
  import { PuroViewsType } from '../../Enum';
2
+ import { PuroButtonI, PuroImageI, PuroTagsI, PuroTextsColorsI } from '../../interfaces';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PuroFaqsImgComponent {
5
5
  title?: string;
@@ -1,4 +1,4 @@
1
- import { PuroImageI, PuroButtonI, PuroTagsI, PuroTextsColorsI } from '../../interfaces';
1
+ import { PuroButtonI, PuroImageI, PuroTagsI, PuroTextsColorsI } from '../../interfaces';
2
2
  import { ModalStateService } from '../../services';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PuroGalleryComponent {
@@ -1,7 +1,6 @@
1
- import { OnInit } from '@angular/core';
1
+ import { AfterViewInit, OnInit } from '@angular/core';
2
2
  import { PuroButtonI, PuroImageI } from '../../interfaces';
3
3
  import { PuroDropdownI } from '../../interfaces/puro-dropdown.interface';
4
- import { AfterViewInit } from '@angular/core';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class PuroGrid3colFilterComponent implements OnInit, AfterViewInit {
7
6
  pretitle?: string;
@@ -1,5 +1,5 @@
1
- import { PuroButtonI, PuroImageI } from '../../interfaces';
2
1
  import { PuroViewsType } from '../../Enum';
2
+ import { PuroButtonI, PuroImageI } from '../../interfaces';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PuroInfoServicesComponent {
5
5
  title?: string;
@@ -1,5 +1,4 @@
1
- import { PuroButtonI } from '../../interfaces';
2
- import { PuroImageI } from '../../interfaces';
1
+ import { PuroButtonI, PuroImageI } from '../../interfaces';
3
2
  import * as i0 from "@angular/core";
4
3
  export declare class PuroInfoSliderComponent {
5
4
  items?: PuroInfoSliderItem[];
@@ -1,6 +1,6 @@
1
1
  import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { PuroButtonI, PuroImageI, PuroInputI, PuroFileInputI } from '../../interfaces';
3
+ import { PuroButtonI, PuroFileInputI, PuroImageI, PuroInputI } from '../../interfaces';
4
4
  import { PuroDropdownI } from '../../interfaces/puro-dropdown.interface';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class PuroProjectsFormComponent implements OnInit {
@@ -6,3 +6,4 @@ export * from './puro-script/puro-script.directive';
6
6
  export * from './puro-slider/puro-slider.directive';
7
7
  export * from './puro-nav-sticky/puro-nav-sticky.directive';
8
8
  export * from './puro-resize-zoom/puro-resize-zoom.directive';
9
+ export * from './puro-img-wrapper/puro-img-wrapper.directive';
@@ -0,0 +1,11 @@
1
+ import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AutoImageZoomWrapperDirective implements AfterViewInit {
4
+ private el;
5
+ private renderer;
6
+ private platformId;
7
+ constructor(el: ElementRef<HTMLImageElement>, renderer: Renderer2, platformId: Object);
8
+ ngAfterViewInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoImageZoomWrapperDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutoImageZoomWrapperDirective, "img[ngSrc], img[src]", never, {}, {}, never, never, true, never>;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-puro",
3
- "version": "0.45.10",
3
+ "version": "0.46.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0",