nextalys-carousel 0.0.61 → 0.0.62

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 (95) hide show
  1. package/{esm2015/common-types.js → esm2020/common-types.mjs} +0 -0
  2. package/{esm2015/lib/nxs-carousel/common-types.js → esm2020/lib/nxs-carousel/common-types.mjs} +0 -0
  3. package/esm2020/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.mjs +5 -0
  4. package/esm2020/lib/nxs-carousel/nxs-carousel/carousel-events.mjs +5 -0
  5. package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.mjs +44 -0
  6. package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.mjs +2 -0
  7. package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.mjs +256 -0
  8. package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.mjs +65 -0
  9. package/esm2020/lib/nxs-carousel/nxs-carousel/swiper-directives.mjs +13 -0
  10. package/{esm2015/lib/nxs-carousel/public-api-carousel.js → esm2020/lib/nxs-carousel/public-api-carousel.mjs} +2 -1
  11. package/{esm2015/lib/nxs-carousel-mock/common-types.js → esm2020/lib/nxs-carousel-mock/common-types.mjs} +0 -0
  12. package/esm2020/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.mjs +5 -0
  13. package/esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.mjs +44 -0
  14. package/esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.mjs +38 -0
  15. package/{esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-types.js → esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-types.mjs} +0 -0
  16. package/esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.mjs +13 -0
  17. package/{esm2015/lib/nxs-carousel-mock/public-api-carousel-mock.js → esm2020/lib/nxs-carousel-mock/public-api-carousel-mock.mjs} +2 -1
  18. package/{esm2015/nextalys-carousel.js → esm2020/nextalys-carousel.mjs} +0 -0
  19. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  20. package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.mjs +101 -0
  21. package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.mjs.map +1 -0
  22. package/fesm2015/nextalys-carousel-lib-nxs-carousel.mjs +385 -0
  23. package/fesm2015/nextalys-carousel-lib-nxs-carousel.mjs.map +1 -0
  24. package/fesm2015/{nextalys-carousel.js → nextalys-carousel.mjs} +1 -1
  25. package/fesm2015/nextalys-carousel.mjs.map +1 -0
  26. package/fesm2020/nextalys-carousel-lib-nxs-carousel-mock.mjs +101 -0
  27. package/fesm2020/nextalys-carousel-lib-nxs-carousel-mock.mjs.map +1 -0
  28. package/fesm2020/nextalys-carousel-lib-nxs-carousel.mjs +372 -0
  29. package/fesm2020/nextalys-carousel-lib-nxs-carousel.mjs.map +1 -0
  30. package/fesm2020/nextalys-carousel.mjs +14 -0
  31. package/fesm2020/nextalys-carousel.mjs.map +1 -0
  32. package/index.d.ts +6 -0
  33. package/lib/nxs-carousel/index.d.ts +6 -0
  34. package/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.d.ts.map +1 -1
  35. package/lib/nxs-carousel/nxs-carousel/carousel-events.d.ts +12 -0
  36. package/lib/nxs-carousel/nxs-carousel/carousel-events.d.ts.map +1 -0
  37. package/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.d.ts +4 -7
  38. package/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.d.ts.map +1 -1
  39. package/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.d.ts +6 -0
  40. package/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.d.ts.map +1 -1
  41. package/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.d.ts +3 -0
  42. package/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.d.ts.map +1 -1
  43. package/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.d.ts +15 -0
  44. package/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.d.ts.map +1 -1
  45. package/lib/nxs-carousel/nxs-carousel/swiper-directives.d.ts +3 -0
  46. package/lib/nxs-carousel/nxs-carousel/swiper-directives.d.ts.map +1 -1
  47. package/lib/nxs-carousel/public-api-carousel.d.ts +1 -0
  48. package/lib/nxs-carousel/public-api-carousel.d.ts.map +1 -1
  49. package/lib/nxs-carousel-mock/index.d.ts +6 -0
  50. package/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.d.ts.map +1 -1
  51. package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.d.ts +3 -0
  52. package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.d.ts.map +1 -1
  53. package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.d.ts +7 -0
  54. package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.d.ts.map +1 -1
  55. package/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.d.ts +3 -0
  56. package/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.d.ts.map +1 -1
  57. package/lib/nxs-carousel-mock/public-api-carousel-mock.d.ts +1 -0
  58. package/lib/nxs-carousel-mock/public-api-carousel-mock.d.ts.map +1 -1
  59. package/nextalys-carousel.d.ts.map +1 -1
  60. package/package.json +37 -9
  61. package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.js +0 -103
  62. package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.js.map +0 -1
  63. package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.min.js +0 -2
  64. package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.min.js.map +0 -1
  65. package/bundles/nextalys-carousel-lib-nxs-carousel.umd.js +0 -674
  66. package/bundles/nextalys-carousel-lib-nxs-carousel.umd.js.map +0 -1
  67. package/bundles/nextalys-carousel-lib-nxs-carousel.umd.min.js +0 -16
  68. package/bundles/nextalys-carousel-lib-nxs-carousel.umd.min.js.map +0 -1
  69. package/bundles/nextalys-carousel.umd.js +0 -25
  70. package/bundles/nextalys-carousel.umd.js.map +0 -1
  71. package/bundles/nextalys-carousel.umd.min.js +0 -2
  72. package/bundles/nextalys-carousel.umd.min.js.map +0 -1
  73. package/esm2015/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.js +0 -8
  74. package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.js +0 -33
  75. package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.js +0 -2
  76. package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.js +0 -253
  77. package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.js +0 -41
  78. package/esm2015/lib/nxs-carousel/nxs-carousel/swiper-directives.js +0 -9
  79. package/esm2015/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.js +0 -7
  80. package/esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.js +0 -37
  81. package/esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.js +0 -31
  82. package/esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.js +0 -9
  83. package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.js +0 -85
  84. package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.js.map +0 -1
  85. package/fesm2015/nextalys-carousel-lib-nxs-carousel.js +0 -333
  86. package/fesm2015/nextalys-carousel-lib-nxs-carousel.js.map +0 -1
  87. package/fesm2015/nextalys-carousel.js.map +0 -1
  88. package/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.d.ts +0 -8
  89. package/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.metadata.json +0 -1
  90. package/lib/nxs-carousel/package.json +0 -11
  91. package/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.d.ts +0 -7
  92. package/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.metadata.json +0 -1
  93. package/lib/nxs-carousel-mock/package.json +0 -11
  94. package/nextalys-carousel.d.ts +0 -5
  95. package/nextalys-carousel.metadata.json +0 -1
@@ -0,0 +1,38 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from "@angular/core";
3
+ import { NxsCarouselModuleConfig } from '../common-types';
4
+ import { NxsCarouselComponent } from './nxs-carousel-mock.component';
5
+ import { NxsSwiperTemplateDirective } from './swiper-directives';
6
+ import * as i0 from "@angular/core";
7
+ export class NxsCarouselModule {
8
+ static forRoot(config) {
9
+ return {
10
+ ngModule: NxsCarouselModule,
11
+ providers: [
12
+ { provide: NxsCarouselModuleConfig, useValue: config },
13
+ ]
14
+ };
15
+ }
16
+ }
17
+ NxsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
18
+ NxsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, declarations: [NxsCarouselComponent,
19
+ NxsSwiperTemplateDirective], imports: [CommonModule], exports: [NxsCarouselComponent,
20
+ NxsSwiperTemplateDirective] });
21
+ NxsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, imports: [CommonModule] });
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, decorators: [{
23
+ type: NgModule,
24
+ args: [{
25
+ imports: [
26
+ CommonModule,
27
+ ],
28
+ declarations: [
29
+ NxsCarouselComponent,
30
+ NxsSwiperTemplateDirective,
31
+ ],
32
+ exports: [
33
+ NxsCarouselComponent,
34
+ NxsSwiperTemplateDirective,
35
+ ],
36
+ }]
37
+ }] });
38
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnhzLWNhcm91c2VsLW1vY2subW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGliL254cy1jYXJvdXNlbC1tb2NrL254cy1jYXJvdXNlbC1tb2NrLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDOUQsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDMUQsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDckUsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0scUJBQXFCLENBQUM7O0FBZWpFLE1BQU0sT0FBTyxpQkFBaUI7SUFDbkIsTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFnQztRQUNsRCxPQUFPO1lBQ0gsUUFBUSxFQUFFLGlCQUFpQjtZQUMzQixTQUFTLEVBQUU7Z0JBQ1AsRUFBRSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsUUFBUSxFQUFFLE1BQU0sRUFBRTthQUN6RDtTQUNKLENBQUM7SUFDTixDQUFDOzs4R0FSUSxpQkFBaUI7K0dBQWpCLGlCQUFpQixpQkFSdEIsb0JBQW9CO1FBQ3BCLDBCQUEwQixhQUoxQixZQUFZLGFBT1osb0JBQW9CO1FBQ3BCLDBCQUEwQjsrR0FHckIsaUJBQWlCLFlBWHRCLFlBQVk7MkZBV1AsaUJBQWlCO2tCQWI3QixRQUFRO21CQUFDO29CQUNOLE9BQU8sRUFBRTt3QkFDTCxZQUFZO3FCQUNmO29CQUNELFlBQVksRUFBRTt3QkFDVixvQkFBb0I7d0JBQ3BCLDBCQUEwQjtxQkFDN0I7b0JBQ0QsT0FBTyxFQUFFO3dCQUNMLG9CQUFvQjt3QkFDcEIsMEJBQTBCO3FCQUM3QjtpQkFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBNb2R1bGVXaXRoUHJvdmlkZXJzLCBOZ01vZHVsZSB9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XG5pbXBvcnQgeyBOeHNDYXJvdXNlbE1vZHVsZUNvbmZpZyB9IGZyb20gJy4uL2NvbW1vbi10eXBlcyc7XG5pbXBvcnQgeyBOeHNDYXJvdXNlbENvbXBvbmVudCB9IGZyb20gJy4vbnhzLWNhcm91c2VsLW1vY2suY29tcG9uZW50JztcbmltcG9ydCB7IE54c1N3aXBlclRlbXBsYXRlRGlyZWN0aXZlIH0gZnJvbSAnLi9zd2lwZXItZGlyZWN0aXZlcyc7XG5cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGUsXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgTnhzQ2Fyb3VzZWxDb21wb25lbnQsXG4gICAgICAgIE54c1N3aXBlclRlbXBsYXRlRGlyZWN0aXZlLFxuICAgIF0sXG4gICAgZXhwb3J0czogW1xuICAgICAgICBOeHNDYXJvdXNlbENvbXBvbmVudCxcbiAgICAgICAgTnhzU3dpcGVyVGVtcGxhdGVEaXJlY3RpdmUsXG4gICAgXSxcbn0pXG5leHBvcnQgY2xhc3MgTnhzQ2Fyb3VzZWxNb2R1bGUge1xuICAgIHB1YmxpYyBzdGF0aWMgZm9yUm9vdChjb25maWc/OiBOeHNDYXJvdXNlbE1vZHVsZUNvbmZpZyk6IE1vZHVsZVdpdGhQcm92aWRlcnM8TnhzQ2Fyb3VzZWxNb2R1bGU+IHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIG5nTW9kdWxlOiBOeHNDYXJvdXNlbE1vZHVsZSxcbiAgICAgICAgICAgIHByb3ZpZGVyczogW1xuICAgICAgICAgICAgICAgIHsgcHJvdmlkZTogTnhzQ2Fyb3VzZWxNb2R1bGVDb25maWcsIHVzZVZhbHVlOiBjb25maWcgfSxcbiAgICAgICAgICAgIF1cbiAgICAgICAgfTtcbiAgICB9XG59Il19
@@ -0,0 +1,13 @@
1
+ import { Directive } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export class NxsSwiperTemplateDirective {
4
+ }
5
+ NxsSwiperTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsSwiperTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6
+ NxsSwiperTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NxsSwiperTemplateDirective, selector: "[nxsSwiperTemplate]", ngImport: i0 });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsSwiperTemplateDirective, decorators: [{
8
+ type: Directive,
9
+ args: [{
10
+ selector: '[nxsSwiperTemplate]',
11
+ }]
12
+ }] });
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpcGVyLWRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWIvbnhzLWNhcm91c2VsLW1vY2svc3dpcGVyLWRpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFLMUMsTUFBTSxPQUFPLDBCQUEwQjs7dUhBQTFCLDBCQUEwQjsyR0FBMUIsMEJBQTBCOzJGQUExQiwwQkFBMEI7a0JBSHRDLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLHFCQUFxQjtpQkFDbEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tIFwiQGFuZ3VsYXIvY29yZVwiO1xuXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ1tueHNTd2lwZXJUZW1wbGF0ZV0nLFxufSlcbmV4cG9ydCBjbGFzcyBOeHNTd2lwZXJUZW1wbGF0ZURpcmVjdGl2ZSB7IH1cbiJdfQ==
@@ -1,4 +1,5 @@
1
1
  export * from './nxs-carousel-mock/nxs-carousel-mock.component';
2
2
  export * from './nxs-carousel-mock/nxs-carousel-mock.module';
3
3
  export * from './nxs-carousel-mock/nxs-carousel-types';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS1jYXJvdXNlbC1tb2NrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGliL3B1YmxpYy1hcGktY2Fyb3VzZWwtbW9jay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlEQUFpRCxDQUFDO0FBQ2hFLGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyx3Q0FBd0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbnhzLWNhcm91c2VsLW1vY2svbnhzLWNhcm91c2VsLW1vY2suY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbnhzLWNhcm91c2VsLW1vY2svbnhzLWNhcm91c2VsLW1vY2subW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbnhzLWNhcm91c2VsLW1vY2svbnhzLWNhcm91c2VsLXR5cGVzJztcbiJdfQ==
4
+ export * from './nxs-carousel-mock/swiper-directives';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS1jYXJvdXNlbC1tb2NrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGliL3B1YmxpYy1hcGktY2Fyb3VzZWwtbW9jay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlEQUFpRCxDQUFDO0FBQ2hFLGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyx3Q0FBd0MsQ0FBQztBQUN2RCxjQUFjLHVDQUF1QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9ueHMtY2Fyb3VzZWwtbW9jay9ueHMtY2Fyb3VzZWwtbW9jay5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9ueHMtY2Fyb3VzZWwtbW9jay9ueHMtY2Fyb3VzZWwtbW9jay5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9ueHMtY2Fyb3VzZWwtbW9jay9ueHMtY2Fyb3VzZWwtdHlwZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9ueHMtY2Fyb3VzZWwtbW9jay9zd2lwZXItZGlyZWN0aXZlcyc7Il19
@@ -0,0 +1,101 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ViewEncapsulation, Input, Output, Directive, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+
5
+ class NxsCarouselComponent {
6
+ constructor() {
7
+ this.lazy = true;
8
+ this.options = null;
9
+ this.hasHtmlContent = false;
10
+ this.slidesCount = 0;
11
+ this.slideChange = new EventEmitter();
12
+ this.currentSlide = 0;
13
+ this.slideClick = new EventEmitter();
14
+ this.isBrowser = false;
15
+ }
16
+ goToSlide(index, speed) {
17
+ }
18
+ next() {
19
+ }
20
+ previous() {
21
+ }
22
+ }
23
+ NxsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
24
+ NxsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: NxsCarouselComponent, selector: "nxs-carousel", inputs: { lazy: "lazy", images: "images", options: "options", hasHtmlContent: "hasHtmlContent" }, outputs: { slideChange: "slideChange", slideClick: "slideClick" }, ngImport: i0, template: 'SWIPER MOCK', isInline: true, encapsulation: i0.ViewEncapsulation.None });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselComponent, decorators: [{
26
+ type: Component,
27
+ args: [{
28
+ selector: 'nxs-carousel',
29
+ template: 'SWIPER MOCK',
30
+ // styleUrls: ['./nxs-carousel.component.scss'],
31
+ encapsulation: ViewEncapsulation.None,
32
+ }]
33
+ }], ctorParameters: function () { return []; }, propDecorators: { lazy: [{
34
+ type: Input
35
+ }], images: [{
36
+ type: Input
37
+ }], options: [{
38
+ type: Input
39
+ }], hasHtmlContent: [{
40
+ type: Input
41
+ }], slideChange: [{
42
+ type: Output
43
+ }], slideClick: [{
44
+ type: Output
45
+ }] } });
46
+
47
+ class NxsCarouselModuleConfig {
48
+ constructor() {
49
+ this.debug = false;
50
+ }
51
+ }
52
+
53
+ class NxsSwiperTemplateDirective {
54
+ }
55
+ NxsSwiperTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsSwiperTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
56
+ NxsSwiperTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NxsSwiperTemplateDirective, selector: "[nxsSwiperTemplate]", ngImport: i0 });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsSwiperTemplateDirective, decorators: [{
58
+ type: Directive,
59
+ args: [{
60
+ selector: '[nxsSwiperTemplate]',
61
+ }]
62
+ }] });
63
+
64
+ class NxsCarouselModule {
65
+ static forRoot(config) {
66
+ return {
67
+ ngModule: NxsCarouselModule,
68
+ providers: [
69
+ { provide: NxsCarouselModuleConfig, useValue: config },
70
+ ]
71
+ };
72
+ }
73
+ }
74
+ NxsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
75
+ NxsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, declarations: [NxsCarouselComponent,
76
+ NxsSwiperTemplateDirective], imports: [CommonModule], exports: [NxsCarouselComponent,
77
+ NxsSwiperTemplateDirective] });
78
+ NxsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, imports: [CommonModule] });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, decorators: [{
80
+ type: NgModule,
81
+ args: [{
82
+ imports: [
83
+ CommonModule,
84
+ ],
85
+ declarations: [
86
+ NxsCarouselComponent,
87
+ NxsSwiperTemplateDirective,
88
+ ],
89
+ exports: [
90
+ NxsCarouselComponent,
91
+ NxsSwiperTemplateDirective,
92
+ ],
93
+ }]
94
+ }] });
95
+
96
+ /**
97
+ * Generated bundle index. Do not edit.
98
+ */
99
+
100
+ export { NxsCarouselComponent, NxsCarouselModule, NxsSwiperTemplateDirective };
101
+ //# sourceMappingURL=nextalys-carousel-lib-nxs-carousel-mock.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nextalys-carousel-lib-nxs-carousel-mock.mjs","sources":["../../lib/nxs-carousel-mock/nxs-carousel-mock.component.ts","../../lib/common-types.ts","../../lib/nxs-carousel-mock/swiper-directives.ts","../../lib/nxs-carousel-mock/nxs-carousel-mock.module.ts","../../lib/nextalys-carousel-lib-nxs-carousel-mock.ts"],"sourcesContent":["import { Component, ViewEncapsulation, Input, Output, EventEmitter } from '@angular/core';\nimport { NxsCarouselImage } from '../common-types';\nimport { NxsCarouselOptions } from './nxs-carousel-types';\n@Component({\n selector: 'nxs-carousel',\n template: 'SWIPER MOCK',\n // styleUrls: ['./nxs-carousel.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class NxsCarouselComponent {\n @Input()\n lazy = true;\n @Input()\n public images: NxsCarouselImage[];\n @Input()\n options: NxsCarouselOptions = null;\n @Input()\n hasHtmlContent = false;\n slidesCount: number = 0;\n @Output()\n slideChange = new EventEmitter<number>();\n public currentSlide = 0;\n @Output()\n slideClick = new EventEmitter<MouseEvent | TouchEvent | PointerEvent>();\n isBrowser = false;\n\n constructor(\n ) {\n\n }\n goToSlide(index: number, speed?: number) {\n }\n next() {\n }\n previous() {\n }\n}\n","\nexport interface NxsCarouselImage {\n alt?: string;\n src: string;\n}\nexport class NxsCarouselModuleConfig {\n debug?: boolean = false;\n}","import { Directive } from \"@angular/core\";\n\n@Directive({\n selector: '[nxsSwiperTemplate]',\n})\nexport class NxsSwiperTemplateDirective { }\n","import { CommonModule } from '@angular/common';\nimport { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { NxsCarouselModuleConfig } from '../common-types';\nimport { NxsCarouselComponent } from './nxs-carousel-mock.component';\nimport { NxsSwiperTemplateDirective } from './swiper-directives';\n\n@NgModule({\n imports: [\n CommonModule,\n ],\n declarations: [\n NxsCarouselComponent,\n NxsSwiperTemplateDirective,\n ],\n exports: [\n NxsCarouselComponent,\n NxsSwiperTemplateDirective,\n ],\n})\nexport class NxsCarouselModule {\n public static forRoot(config?: NxsCarouselModuleConfig): ModuleWithProviders<NxsCarouselModule> {\n return {\n ngModule: NxsCarouselModule,\n providers: [\n { provide: NxsCarouselModuleConfig, useValue: config },\n ]\n };\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api-carousel-mock';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,385 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, EventEmitter, PLATFORM_ID, TemplateRef, Component, ViewEncapsulation, Inject, Optional, ContentChildren, ViewChild, Input, Output, NgModule } from '@angular/core';
3
+ import * as i3 from '@angular/common';
4
+ import { isPlatformBrowser, CommonModule } from '@angular/common';
5
+ import { EventsCollector } from 'nextalys-js-helpers/dist/events';
6
+ import SwiperCore, { Navigation, Pagination, Autoplay, Lazy, Thumbs } from 'swiper';
7
+ import { NxsEvent } from 'nextalys-js-helpers';
8
+ import * as i1 from '@angular/material/dialog';
9
+ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
10
+ import * as i4 from 'swiper/angular';
11
+ import { SwiperModule } from 'swiper/angular';
12
+ import * as i2 from '@angular/material/icon';
13
+ import { MatIconModule } from '@angular/material/icon';
14
+ import * as i3$1 from '@angular/material/button';
15
+ import { MatButtonModule } from '@angular/material/button';
16
+
17
+ class NxsSwiperTemplateDirective {
18
+ }
19
+ NxsSwiperTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsSwiperTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
20
+ NxsSwiperTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.5", type: NxsSwiperTemplateDirective, selector: "[nxsSwiperTemplate]", ngImport: i0 });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsSwiperTemplateDirective, decorators: [{
22
+ type: Directive,
23
+ args: [{
24
+ selector: '[nxsSwiperTemplate]',
25
+ }]
26
+ }] });
27
+
28
+ class CarouselEvents {
29
+ }
30
+ CarouselEvents.openCarouselDialog = new NxsEvent();
31
+
32
+ class NxsCarouselModuleConfig {
33
+ constructor() {
34
+ this.debug = false;
35
+ }
36
+ }
37
+
38
+ // install Swiper modules
39
+ SwiperCore.use([Navigation, Pagination, Autoplay, Lazy, Thumbs]);
40
+ class NxsCarouselComponent {
41
+ constructor(matDialog, zone, platformId, config) {
42
+ this.matDialog = matDialog;
43
+ this.zone = zone;
44
+ this.platformId = platformId;
45
+ this.config = config;
46
+ this.lazy = true;
47
+ this.eventsCollector = new EventsCollector();
48
+ this.options = null;
49
+ this.thumbnailsOptions = null;
50
+ this.hasHtmlContent = false;
51
+ this.slidesCount = 0;
52
+ this.slideChange = new EventEmitter();
53
+ this.currentSlide = 0;
54
+ this.slideClick = new EventEmitter();
55
+ this.isBrowser = false;
56
+ if (!this.config)
57
+ this.config = { debug: false };
58
+ this.isBrowser = isPlatformBrowser(this.platformId);
59
+ this.log('constructor - isBrowser', this.isBrowser);
60
+ this.options = this.setDefaultOptions(undefined, false);
61
+ }
62
+ set setOptions(val) {
63
+ this.options = this.setDefaultOptions(val, false);
64
+ this.setThumbnailsOptions();
65
+ }
66
+ log(...args) {
67
+ if (!this.config.debug)
68
+ return;
69
+ console.log('[NxsCarousel]', ...args);
70
+ }
71
+ destroy() {
72
+ var _a;
73
+ if (!this.isBrowser) {
74
+ return;
75
+ }
76
+ (_a = this.eventsCollector) === null || _a === void 0 ? void 0 : _a.unsubscribeAll();
77
+ }
78
+ ngOnDestroy() {
79
+ this.destroy();
80
+ }
81
+ ngAfterViewInit() {
82
+ // console.log('thi.contents', this.contents);
83
+ // this.initSlides();
84
+ // this.createSlider(true);
85
+ }
86
+ getMainSliderHeight() {
87
+ if (!this.options)
88
+ return '';
89
+ if (this.options.nxsThumbnails && this.options.nxsThumbnails.show) {
90
+ if (this.options.nxsThumbnails.onMainSlider) {
91
+ return '100%';
92
+ }
93
+ else if (this.options.nxsThumbnails.percentHeight) {
94
+ return (100 - this.options.nxsThumbnails.percentHeight) + '%';
95
+ }
96
+ }
97
+ return '';
98
+ }
99
+ setDefaultOptions(options, forDialog) {
100
+ var _a;
101
+ if (!options && forDialog) {
102
+ options = {
103
+ nxsShowNavigationBullets: true, loop: true, nxsThumbnails: { show: true }, effect: 'slide', nxsShowNavigationArrows: true, nxsShowImagesCount: true,
104
+ lazy: this.lazy,
105
+ };
106
+ }
107
+ else if (!options) {
108
+ options = {
109
+ nxsShowNavigationBullets: true, loop: true,
110
+ nxsThumbnails: { show: false }, effect: 'slide', nxsShowNavigationArrows: true, nxsShowImagesCount: false, nxsCarouselDialogOptions: {},
111
+ lazy: this.lazy,
112
+ };
113
+ }
114
+ if (options.nxsCarouselDialogOptions) {
115
+ if (typeof options.nxsCarouselDialogOptions.nxsThumbnails === 'undefined')
116
+ options.nxsCarouselDialogOptions.nxsThumbnails = { show: false };
117
+ if (typeof options.nxsCarouselDialogOptions.effect === 'undefined')
118
+ options.nxsCarouselDialogOptions.effect = 'slide';
119
+ if (typeof options.nxsCarouselDialogOptions.nxsShowNavigationArrows === 'undefined')
120
+ options.nxsCarouselDialogOptions.nxsShowNavigationArrows = true;
121
+ if (!!((_a = options.nxsCarouselDialogOptions.nxsThumbnails) === null || _a === void 0 ? void 0 : _a.show)) {
122
+ if (typeof options.nxsCarouselDialogOptions.nxsThumbnails.percentHeight === 'undefined')
123
+ options.nxsCarouselDialogOptions.nxsThumbnails.percentHeight = 20;
124
+ if (typeof options.nxsCarouselDialogOptions.nxsThumbnails.perView === 'undefined')
125
+ options.nxsCarouselDialogOptions.nxsThumbnails.perView = 10;
126
+ options.nxsCarouselDialogOptions.nxsThumbnails.breakpoints = {
127
+ 640: {
128
+ slidesPerView: 5,
129
+ },
130
+ 768: {
131
+ slidesPerView: 7,
132
+ },
133
+ 1024: {
134
+ slidesPerView: 8,
135
+ },
136
+ };
137
+ }
138
+ }
139
+ if (!options.nxsThumbnails)
140
+ options.nxsThumbnails = { show: false };
141
+ if (options.nxsThumbnails.show && typeof options.nxsThumbnails.percentHeight === 'undefined')
142
+ options.nxsThumbnails.percentHeight = 20;
143
+ if (options.nxsThumbnails.show && typeof options.nxsThumbnails.perView === 'undefined')
144
+ options.nxsThumbnails.perView = 10;
145
+ if (forDialog)
146
+ options.nxsfullscreenOnClick = false;
147
+ if (options.nxsThumbnails.onMainSlider)
148
+ options.nxsShowNavigationBullets = false;
149
+ if (typeof options.lazy === 'undefined')
150
+ options.lazy = true;
151
+ if (typeof options.navigation === 'undefined')
152
+ options.navigation = true;
153
+ if (typeof options.pagination === 'undefined')
154
+ options.pagination = { clickable: true };
155
+ if (options.nxsShowNavigationBullets === false) {
156
+ options.pagination = false;
157
+ }
158
+ // console.log("Log ~ file: nxs-carousel.component.ts ~ line 272 ~ NxsCarouselComponent ~ setDefaultOptions ~ options", options);
159
+ return options;
160
+ }
161
+ setThumbnailsOptions() {
162
+ var _a, _b;
163
+ if (!!((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.nxsThumbnails) === null || _b === void 0 ? void 0 : _b.show)) {
164
+ this.thumbnailsOptions = {
165
+ slidesPerView: this.options.nxsThumbnails.perView,
166
+ loop: false,
167
+ freeMode: true,
168
+ // watchSlidesVisibility: true,
169
+ watchSlidesProgress: true,
170
+ breakpoints: this.options.nxsThumbnails.breakpoints,
171
+ // spaceBetween: 10,
172
+ };
173
+ if (this.lazy) {
174
+ // Disable preloading of all images
175
+ this.thumbnailsOptions.preloadImages = false;
176
+ // Enable lazy loading
177
+ this.thumbnailsOptions.lazy = true;
178
+ }
179
+ // console.log("Log ~ file: nxs-carousel.component.ts ~ line 184 ~ NxsCarouselComponent ~ setThumbnailsOptions ~ this.thumbnailsOptions.lazy", this.thumbnailsOptions.lazy);
180
+ // this.thumbnailsSliderInstance = new Swiper(this.nxsThumbnailsSliderContainer.nativeElement, thumbnailsOptions);
181
+ // this.options.thumbs = { swiper: this.thumbnailsSliderInstance };
182
+ }
183
+ }
184
+ showFullScreenCarousel(images, wrapperClass) {
185
+ var _a;
186
+ this.options.nxsCarouselDialogOptions = this.setDefaultOptions(this.options.nxsCarouselDialogOptions, true);
187
+ const data = { images, wrapperClass, options: this.options.nxsCarouselDialogOptions };
188
+ (_a = CarouselEvents.openCarouselDialog) === null || _a === void 0 ? void 0 : _a.emit({
189
+ data,
190
+ panelClass: 'nxs-carousel-dialog',
191
+ width: !!this.options.nxsCarouselDialogSize ? this.options.nxsCarouselDialogSize.width : undefined,
192
+ height: !!this.options.nxsCarouselDialogSize ? this.options.nxsCarouselDialogSize.height : undefined,
193
+ disableClose: !this.options.nxsCarouselDialogExitable,
194
+ });
195
+ }
196
+ goToSlide(index, speed) {
197
+ var _a;
198
+ (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.slideTo(index, speed);
199
+ }
200
+ next() {
201
+ var _a;
202
+ (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.slideNext();
203
+ }
204
+ previous() {
205
+ var _a;
206
+ (_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.slidePrev();
207
+ }
208
+ onSwiperThumbnails(instance) {
209
+ var _a, _b;
210
+ if ((_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.nxsThumbnails) === null || _b === void 0 ? void 0 : _b.show)
211
+ this.thumbnailsSwiperInstance = instance;
212
+ else
213
+ this.thumbnailsSwiperInstance = null;
214
+ // if (this.options?.nxsThumbnails?.show) {
215
+ // const optionsClone = MainHelpers.cloneObject(this.options);
216
+ // optionsClone.thumbs = { swiper: this.thumbnailsSwiperInstance };
217
+ // // this.options = optionsClone;
218
+ // // this.options = { ...this.options, thumbs: { swiper: this.thumbnailsSwiperInstance } };
219
+ // console.log("Log ~ file: nxs-carousel.component.ts ~ line 416 ~ NxsCarouselComponent ~ onSwiperThumbnails ~ this.options ", this.options);
220
+ // this.options.thumbs = { swiper: this.thumbnailsSwiperInstance };
221
+ // }
222
+ }
223
+ onSwiper(instance) {
224
+ this.log('swiper ready - instance', instance);
225
+ this.swiperInstance = instance;
226
+ this.swiperInstance.on('click', (swiperInstance, evt) => {
227
+ // console.log("Log ~ file: nxs-carousel.component.ts ~ line 392 ~ NxsCarouselComponent ~ this.swiperInstance.on ~ evt", evt);
228
+ const target = evt.target;
229
+ if (target.className.indexOf('nxs-carousel-button') !== -1 || target.className.indexOf('swiper-pagination') !== -1)
230
+ return;
231
+ this.runInZone(() => {
232
+ this.slideClick.next(evt);
233
+ if (this.options.nxsfullscreenOnClick && this.images && this.images.length && !this.hasHtmlContent) {
234
+ this.showFullScreenCarousel(this.images, 'fullscreen-carousel');
235
+ }
236
+ });
237
+ });
238
+ }
239
+ runInZone(callback, ...args) {
240
+ if (!this.zone) {
241
+ callback(args);
242
+ }
243
+ return this.zone.run(() => callback(args));
244
+ }
245
+ onSlideChange(instances) {
246
+ // this.swiperInstance = instance;
247
+ // this.log('slide change - instance', instance);
248
+ this.runInZone(() => {
249
+ var _a;
250
+ this.currentSlide = ((_a = this.swiperInstance) === null || _a === void 0 ? void 0 : _a.realIndex) || 0;
251
+ this.log('slide change - currentSlide', this.currentSlide);
252
+ this.slideChange.next(this.currentSlide);
253
+ });
254
+ }
255
+ }
256
+ NxsCarouselComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselComponent, deps: [{ token: i1.MatDialog }, { token: i0.NgZone }, { token: PLATFORM_ID }, { token: NxsCarouselModuleConfig, optional: true }], target: i0.ɵɵFactoryTarget.Component });
257
+ NxsCarouselComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: NxsCarouselComponent, selector: "nxs-carousel", inputs: { lazy: "lazy", images: "images", setOptions: ["options", "setOptions"], hasHtmlContent: "hasHtmlContent" }, outputs: { slideChange: "slideChange", slideClick: "slideClick" }, queries: [{ propertyName: "contents", predicate: NxsSwiperTemplateDirective, read: TemplateRef }], viewQueries: [{ propertyName: "swiperComponent", first: true, predicate: ["swiper"], descendants: true }], ngImport: i0, template: "<div *ngIf=\"options\"\n [ngClass]=\"{'swiper-container':true,'nxs-slider-with-thumbnails':!!options.nxsThumbnails && options.nxsThumbnails.show}\"\n [style.height]=\"getMainSliderHeight()\">\n <swiper [config]=\"options\" (swiper)=\"onSwiper($event)\" (slideChange)=\"onSlideChange($event)\"\n [thumbs]=\"{ swiper: thumbnailsSwiperInstance }\">\n <ng-container *ngIf=\"hasHtmlContent\">\n <ng-template *ngFor=\"let slide of contents\" swiperSlide>\n <ng-template [ngTemplateOutlet]=\"slide\" [ngTemplateOutletContext]=\"{\n $implicit: slide\n }\"></ng-template>\n </ng-template>\n </ng-container>\n <ng-container *ngIf=\"!hasHtmlContent && images?.length\">\n <ng-template swiperSlide *ngFor=\"let slideImage of images\">\n <img [ngClass]=\"{'nxs-image-slide':true,'swiper-lazy':lazy}\"\n [attr.data-src]=\"lazy ? slideImage.src : null\" [src]=\"lazy ? null : slideImage.src\" />\n <div *ngIf=\"lazy\" class=\"swiper-lazy-preloader swiper-lazy-preloader-black\"></div>\n </ng-template>\n </ng-container>\n </swiper>\n <ng-container *ngIf=\"images && options.nxsShowImagesCount\">\n <div class=\"nxs-image-counter\">\n {{currentSlide+1}} / {{images.length}}\n </div>\n </ng-container>\n</div>\n\n<div *ngIf=\"thumbnailsOptions && images?.length\"\n [style.height]=\"(!!options.nxsThumbnails && options.nxsThumbnails.show && !!options.nxsThumbnails.percentHeight) ? (options.nxsThumbnails.percentHeight + '%'):''\"\n [style.top]=\"(!!options.nxsThumbnails && options.nxsThumbnails.show && !!options.nxsThumbnails.percentHeight && options.nxsThumbnails.onMainSlider) ? ('-' + (options.nxsThumbnails.percentHeight) + '%'):''\"\n [ngClass]=\"{'swiper-container':true, 'nxs-slider-thumbnails-container':true,'nxs-slider-thumbnails-on-main-slider':options.nxsThumbnails && options.nxsThumbnails.onMainSlider}\">\n <swiper [config]=\"thumbnailsOptions\" (swiper)=\"onSwiperThumbnails($event)\">\n <ng-template swiperSlide *ngFor=\"let slideImage of images\">\n <img [ngClass]=\"{'nxs-image-slide':true,'swiper-lazy':lazy}\" [attr.data-src]=\"lazy ? slideImage.src : null\"\n [src]=\"lazy ? null : slideImage.src\" />\n <div *ngIf=\"lazy\" class=\"swiper-lazy-preloader swiper-lazy-preloader-black\"></div>\n </ng-template>\n </swiper>\n</div>", styles: ["nxs-carousel{display:block;height:100%;position:relative;--swiper-navigation-color: #fff;--swiper-pagination-color: #fff;--swiper-theme-color: #fff}nxs-carousel .swiper-container{width:100%;height:100%;display:block;position:relative}nxs-carousel .swiper-container swiper{height:100%}nxs-carousel .swiper-container .swiper-wrapper .swiper-slide{height:100%;position:relative;width:auto;min-height:50px;background-size:cover;background-position:center;background-repeat:no-repeat}nxs-carousel .swiper-container .nxs-image-slide{height:100%;-o-object-fit:cover;object-fit:cover;width:100%;-o-object-position:center;object-position:center}nxs-carousel .swiper-container.nxs-slider-with-thumbnails{height:80%}nxs-carousel .swiper-container.nxs-slider-thumbnails-container{height:20%;background:transparent;padding:6px 0}nxs-carousel .swiper-container.nxs-slider-thumbnails-container .swiper-slide{cursor:pointer;border-radius:6px;margin:0 6px;border:2px solid transparent}nxs-carousel .swiper-container.nxs-slider-thumbnails-container .swiper-slide.swiper-slide-thumb-active{border:2px solid lightblue}nxs-carousel .swiper-container.nxs-slider-thumbnails-on-main-slider{top:-20%}nxs-carousel .nxs-image-counter{position:absolute;top:0;right:0;color:#fff;padding:4px;font-weight:700;z-index:10}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i4.SwiperComponent, selector: "swiper, [swiper]", inputs: ["enabled", "on", "direction", "touchEventsTarget", "initialSlide", "speed", "cssMode", "updateOnWindowResize", "resizeObserver", "nested", "focusableElements", "width", "height", "preventInteractionOnTransition", "userAgent", "url", "edgeSwipeDetection", "edgeSwipeThreshold", "freeMode", "autoHeight", "setWrapperSize", "virtualTranslate", "effect", "breakpoints", "spaceBetween", "slidesPerView", "maxBackfaceHiddenSlides", "grid", "slidesPerGroup", "slidesPerGroupSkip", "centeredSlides", "centeredSlidesBounds", "slidesOffsetBefore", "slidesOffsetAfter", "normalizeSlideIndex", "centerInsufficientSlides", "watchOverflow", "roundLengths", "touchRatio", "touchAngle", "simulateTouch", "shortSwipes", "longSwipes", "longSwipesRatio", "longSwipesMs", "followFinger", "allowTouchMove", "threshold", "touchMoveStopPropagation", "touchStartPreventDefault", "touchStartForcePreventDefault", "touchReleaseOnEdges", "uniqueNavElements", "resistance", "resistanceRatio", "watchSlidesProgress", "grabCursor", "preventClicks", "preventClicksPropagation", "slideToClickedSlide", "preloadImages", "updateOnImagesReady", "loop", "loopAdditionalSlides", "loopedSlides", "loopFillGroupWithBlank", "loopPreventsSlide", "rewind", "allowSlidePrev", "allowSlideNext", "swipeHandler", "noSwiping", "noSwipingClass", "noSwipingSelector", "passiveListeners", "containerModifierClass", "slideClass", "slideBlankClass", "slideActiveClass", "slideDuplicateActiveClass", "slideVisibleClass", "slideDuplicateClass", "slideNextClass", "slideDuplicateNextClass", "slidePrevClass", "slideDuplicatePrevClass", "wrapperClass", "runCallbacksOnInit", "observeParents", "observeSlideChildren", "a11y", "autoplay", "controller", "coverflowEffect", "cubeEffect", "fadeEffect", "flipEffect", "creativeEffect", "cardsEffect", "hashNavigation", "history", "keyboard", "lazy", "mousewheel", "parallax", "thumbs", "zoom", "class", "id", "navigation", "pagination", "scrollbar", "virtual", "config"], outputs: ["_beforeBreakpoint", "_containerClasses", "_slideClass", "_swiper", "activeIndexChange", "afterInit", "autoplay", "autoplayStart", "autoplayStop", "autoplayPause", "autoplayResume", "beforeDestroy", "beforeInit", "beforeLoopFix", "beforeResize", "beforeSlideChangeStart", "beforeTransitionStart", "breakpoint", "changeDirection", "click", "doubleTap", "doubleClick", "destroy", "fromEdge", "hashChange", "hashSet", "imagesReady", "init", "keyPress", "lazyImageLoad", "lazyImageReady", "loopFix", "momentumBounce", "navigationHide", "navigationShow", "observerUpdate", "orientationchange", "paginationHide", "paginationRender", "paginationShow", "paginationUpdate", "progress", "reachBeginning", "reachEnd", "realIndexChange", "resize", "scroll", "scrollbarDragEnd", "scrollbarDragMove", "scrollbarDragStart", "setTransition", "setTranslate", "slideChange", "slideChangeTransitionEnd", "slideChangeTransitionStart", "slideNextTransitionEnd", "slideNextTransitionStart", "slidePrevTransitionEnd", "slidePrevTransitionStart", "slideResetTransitionStart", "slideResetTransitionEnd", "sliderMove", "sliderFirstMove", "slidesLengthChange", "slidesGridLengthChange", "snapGridLengthChange", "snapIndexChange", "tap", "toEdge", "touchEnd", "touchMove", "touchMoveOpposite", "touchStart", "transitionEnd", "transitionStart", "update", "zoomChange", "swiper", "lock", "unlock"] }, { kind: "directive", type: i4.SwiperSlideDirective, selector: "ng-template[swiperSlide]", inputs: ["virtualIndex", "class", "ngClass", "data-swiper-autoplay", "zoom"] }], encapsulation: i0.ViewEncapsulation.None });
258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselComponent, decorators: [{
259
+ type: Component,
260
+ args: [{ selector: 'nxs-carousel', encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"options\"\n [ngClass]=\"{'swiper-container':true,'nxs-slider-with-thumbnails':!!options.nxsThumbnails && options.nxsThumbnails.show}\"\n [style.height]=\"getMainSliderHeight()\">\n <swiper [config]=\"options\" (swiper)=\"onSwiper($event)\" (slideChange)=\"onSlideChange($event)\"\n [thumbs]=\"{ swiper: thumbnailsSwiperInstance }\">\n <ng-container *ngIf=\"hasHtmlContent\">\n <ng-template *ngFor=\"let slide of contents\" swiperSlide>\n <ng-template [ngTemplateOutlet]=\"slide\" [ngTemplateOutletContext]=\"{\n $implicit: slide\n }\"></ng-template>\n </ng-template>\n </ng-container>\n <ng-container *ngIf=\"!hasHtmlContent && images?.length\">\n <ng-template swiperSlide *ngFor=\"let slideImage of images\">\n <img [ngClass]=\"{'nxs-image-slide':true,'swiper-lazy':lazy}\"\n [attr.data-src]=\"lazy ? slideImage.src : null\" [src]=\"lazy ? null : slideImage.src\" />\n <div *ngIf=\"lazy\" class=\"swiper-lazy-preloader swiper-lazy-preloader-black\"></div>\n </ng-template>\n </ng-container>\n </swiper>\n <ng-container *ngIf=\"images && options.nxsShowImagesCount\">\n <div class=\"nxs-image-counter\">\n {{currentSlide+1}} / {{images.length}}\n </div>\n </ng-container>\n</div>\n\n<div *ngIf=\"thumbnailsOptions && images?.length\"\n [style.height]=\"(!!options.nxsThumbnails && options.nxsThumbnails.show && !!options.nxsThumbnails.percentHeight) ? (options.nxsThumbnails.percentHeight + '%'):''\"\n [style.top]=\"(!!options.nxsThumbnails && options.nxsThumbnails.show && !!options.nxsThumbnails.percentHeight && options.nxsThumbnails.onMainSlider) ? ('-' + (options.nxsThumbnails.percentHeight) + '%'):''\"\n [ngClass]=\"{'swiper-container':true, 'nxs-slider-thumbnails-container':true,'nxs-slider-thumbnails-on-main-slider':options.nxsThumbnails && options.nxsThumbnails.onMainSlider}\">\n <swiper [config]=\"thumbnailsOptions\" (swiper)=\"onSwiperThumbnails($event)\">\n <ng-template swiperSlide *ngFor=\"let slideImage of images\">\n <img [ngClass]=\"{'nxs-image-slide':true,'swiper-lazy':lazy}\" [attr.data-src]=\"lazy ? slideImage.src : null\"\n [src]=\"lazy ? null : slideImage.src\" />\n <div *ngIf=\"lazy\" class=\"swiper-lazy-preloader swiper-lazy-preloader-black\"></div>\n </ng-template>\n </swiper>\n</div>", styles: ["nxs-carousel{display:block;height:100%;position:relative;--swiper-navigation-color: #fff;--swiper-pagination-color: #fff;--swiper-theme-color: #fff}nxs-carousel .swiper-container{width:100%;height:100%;display:block;position:relative}nxs-carousel .swiper-container swiper{height:100%}nxs-carousel .swiper-container .swiper-wrapper .swiper-slide{height:100%;position:relative;width:auto;min-height:50px;background-size:cover;background-position:center;background-repeat:no-repeat}nxs-carousel .swiper-container .nxs-image-slide{height:100%;-o-object-fit:cover;object-fit:cover;width:100%;-o-object-position:center;object-position:center}nxs-carousel .swiper-container.nxs-slider-with-thumbnails{height:80%}nxs-carousel .swiper-container.nxs-slider-thumbnails-container{height:20%;background:transparent;padding:6px 0}nxs-carousel .swiper-container.nxs-slider-thumbnails-container .swiper-slide{cursor:pointer;border-radius:6px;margin:0 6px;border:2px solid transparent}nxs-carousel .swiper-container.nxs-slider-thumbnails-container .swiper-slide.swiper-slide-thumb-active{border:2px solid lightblue}nxs-carousel .swiper-container.nxs-slider-thumbnails-on-main-slider{top:-20%}nxs-carousel .nxs-image-counter{position:absolute;top:0;right:0;color:#fff;padding:4px;font-weight:700;z-index:10}\n"] }]
261
+ }], ctorParameters: function () {
262
+ return [{ type: i1.MatDialog }, { type: i0.NgZone }, { type: undefined, decorators: [{
263
+ type: Inject,
264
+ args: [PLATFORM_ID]
265
+ }] }, { type: NxsCarouselModuleConfig, decorators: [{
266
+ type: Optional
267
+ }] }];
268
+ }, propDecorators: { contents: [{
269
+ type: ContentChildren,
270
+ args: [NxsSwiperTemplateDirective, { read: TemplateRef }]
271
+ }], swiperComponent: [{
272
+ type: ViewChild,
273
+ args: ['swiper', { static: false }]
274
+ }], lazy: [{
275
+ type: Input
276
+ }], images: [{
277
+ type: Input
278
+ }], setOptions: [{
279
+ type: Input,
280
+ args: ['options']
281
+ }], hasHtmlContent: [{
282
+ type: Input
283
+ }], slideChange: [{
284
+ type: Output
285
+ }], slideClick: [{
286
+ type: Output
287
+ }] } });
288
+
289
+ class NxsCarouselDialogComponent {
290
+ constructor(data, dialogRef) {
291
+ this.data = data;
292
+ this.dialogRef = dialogRef;
293
+ this.wrapperClass = 'nxs-carousel-wrapper';
294
+ if (data.wrapperClass)
295
+ this.wrapperClass += ' ' + data.wrapperClass;
296
+ }
297
+ }
298
+ NxsCarouselDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
299
+ NxsCarouselDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.5", type: NxsCarouselDialogComponent, selector: "nxs-carousel-dialog", ngImport: i0, template: `
300
+ <div class="nxs-carousel-dialog-flex-wrapper">
301
+ <div class="nxs-carousel-dialog-header">
302
+ <button (click)="dialogRef.close()" mat-icon-button><mat-icon>close</mat-icon></button>
303
+ </div>
304
+ <div [class]="wrapperClass">
305
+ <nxs-carousel [options]="data.options" [images]="data.images"></nxs-carousel>
306
+ </div>
307
+ </div>
308
+ `, isInline: true, styles: [".nxs-carousel-dialog{max-width:98vw!important;width:98vw;height:98vh}.nxs-carousel-dialog .nxs-carousel-dialog-flex-wrapper{display:flex;height:100%;flex-direction:column}.nxs-carousel-dialog .nxs-carousel-dialog-flex-wrapper .nxs-carousel-wrapper{flex:auto}.nxs-carousel-dialog .nxs-carousel-dialog-header{position:relative;display:flex;justify-content:flex-end;padding-bottom:8px}.nxs-carousel-dialog mat-dialog-container{padding:20px}.nxs-carousel-dialog .nxs-carousel-wrapper{width:100%;margin:auto;height:100%}\n"], dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: NxsCarouselComponent, selector: "nxs-carousel", inputs: ["lazy", "images", "options", "hasHtmlContent"], outputs: ["slideChange", "slideClick"] }], encapsulation: i0.ViewEncapsulation.None });
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselDialogComponent, decorators: [{
310
+ type: Component,
311
+ args: [{ selector: 'nxs-carousel-dialog', template: `
312
+ <div class="nxs-carousel-dialog-flex-wrapper">
313
+ <div class="nxs-carousel-dialog-header">
314
+ <button (click)="dialogRef.close()" mat-icon-button><mat-icon>close</mat-icon></button>
315
+ </div>
316
+ <div [class]="wrapperClass">
317
+ <nxs-carousel [options]="data.options" [images]="data.images"></nxs-carousel>
318
+ </div>
319
+ </div>
320
+ `, encapsulation: ViewEncapsulation.None, styles: [".nxs-carousel-dialog{max-width:98vw!important;width:98vw;height:98vh}.nxs-carousel-dialog .nxs-carousel-dialog-flex-wrapper{display:flex;height:100%;flex-direction:column}.nxs-carousel-dialog .nxs-carousel-dialog-flex-wrapper .nxs-carousel-wrapper{flex:auto}.nxs-carousel-dialog .nxs-carousel-dialog-header{position:relative;display:flex;justify-content:flex-end;padding-bottom:8px}.nxs-carousel-dialog mat-dialog-container{padding:20px}.nxs-carousel-dialog .nxs-carousel-wrapper{width:100%;margin:auto;height:100%}\n"] }]
321
+ }], ctorParameters: function () {
322
+ return [{ type: undefined, decorators: [{
323
+ type: Inject,
324
+ args: [MAT_DIALOG_DATA]
325
+ }] }, { type: i1.MatDialogRef }];
326
+ } });
327
+
328
+ class NxsCarouselModule {
329
+ constructor(matDialog) {
330
+ this.matDialog = matDialog;
331
+ CarouselEvents.openCarouselDialog.subscribe((data) => {
332
+ this.matDialog.open(NxsCarouselDialogComponent, data);
333
+ });
334
+ }
335
+ static forRoot(config) {
336
+ return {
337
+ ngModule: NxsCarouselModule,
338
+ providers: [
339
+ { provide: NxsCarouselModuleConfig, useValue: config },
340
+ ],
341
+ };
342
+ }
343
+ }
344
+ NxsCarouselModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, deps: [{ token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.NgModule });
345
+ NxsCarouselModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, declarations: [NxsCarouselComponent,
346
+ NxsCarouselDialogComponent,
347
+ NxsSwiperTemplateDirective], imports: [CommonModule,
348
+ MatIconModule,
349
+ MatButtonModule,
350
+ MatDialogModule,
351
+ SwiperModule], exports: [NxsCarouselComponent,
352
+ NxsSwiperTemplateDirective] });
353
+ NxsCarouselModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, imports: [CommonModule,
354
+ MatIconModule,
355
+ MatButtonModule,
356
+ MatDialogModule,
357
+ SwiperModule] });
358
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.5", ngImport: i0, type: NxsCarouselModule, decorators: [{
359
+ type: NgModule,
360
+ args: [{
361
+ declarations: [
362
+ NxsCarouselComponent,
363
+ NxsCarouselDialogComponent,
364
+ NxsSwiperTemplateDirective,
365
+ ],
366
+ imports: [
367
+ CommonModule,
368
+ MatIconModule,
369
+ MatButtonModule,
370
+ MatDialogModule,
371
+ SwiperModule,
372
+ ],
373
+ exports: [
374
+ NxsCarouselComponent,
375
+ NxsSwiperTemplateDirective,
376
+ ],
377
+ }]
378
+ }], ctorParameters: function () { return [{ type: i1.MatDialog }]; } });
379
+
380
+ /**
381
+ * Generated bundle index. Do not edit.
382
+ */
383
+
384
+ export { NxsCarouselComponent, NxsCarouselModule, NxsSwiperTemplateDirective };
385
+ //# sourceMappingURL=nextalys-carousel-lib-nxs-carousel.mjs.map