nextalys-carousel 0.0.61 → 0.0.63
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/{esm2015/common-types.js → esm2020/common-types.mjs} +0 -0
- package/{esm2015/lib/nxs-carousel/common-types.js → esm2020/lib/nxs-carousel/common-types.mjs} +0 -0
- package/esm2020/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.mjs +5 -0
- package/esm2020/lib/nxs-carousel/nxs-carousel/carousel-events.mjs +5 -0
- package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.mjs +51 -0
- package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.mjs +2 -0
- package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.mjs +256 -0
- package/esm2020/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.mjs +68 -0
- package/esm2020/lib/nxs-carousel/nxs-carousel/swiper-directives.mjs +13 -0
- package/{esm2015/lib/nxs-carousel/public-api-carousel.js → esm2020/lib/nxs-carousel/public-api-carousel.mjs} +2 -1
- package/{esm2015/lib/nxs-carousel-mock/common-types.js → esm2020/lib/nxs-carousel-mock/common-types.mjs} +0 -0
- package/esm2020/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.mjs +5 -0
- package/esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.mjs +44 -0
- package/esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.mjs +38 -0
- 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
- package/esm2020/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.mjs +13 -0
- package/{esm2015/lib/nxs-carousel-mock/public-api-carousel-mock.js → esm2020/lib/nxs-carousel-mock/public-api-carousel-mock.mjs} +2 -1
- package/{esm2015/nextalys-carousel.js → esm2020/nextalys-carousel.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.mjs +101 -0
- package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.mjs.map +1 -0
- package/fesm2015/nextalys-carousel-lib-nxs-carousel.mjs +395 -0
- package/fesm2015/nextalys-carousel-lib-nxs-carousel.mjs.map +1 -0
- package/fesm2015/{nextalys-carousel.js → nextalys-carousel.mjs} +1 -1
- package/fesm2015/nextalys-carousel.mjs.map +1 -0
- package/fesm2020/nextalys-carousel-lib-nxs-carousel-mock.mjs +101 -0
- package/fesm2020/nextalys-carousel-lib-nxs-carousel-mock.mjs.map +1 -0
- package/fesm2020/nextalys-carousel-lib-nxs-carousel.mjs +382 -0
- package/fesm2020/nextalys-carousel-lib-nxs-carousel.mjs.map +1 -0
- package/fesm2020/nextalys-carousel.mjs +14 -0
- package/fesm2020/nextalys-carousel.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/lib/nxs-carousel/index.d.ts +6 -0
- package/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.d.ts.map +1 -1
- package/lib/nxs-carousel/nxs-carousel/carousel-events.d.ts +12 -0
- package/lib/nxs-carousel/nxs-carousel/carousel-events.d.ts.map +1 -0
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.d.ts +5 -7
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.d.ts.map +1 -1
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.d.ts +6 -0
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.d.ts.map +1 -1
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.d.ts +3 -0
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.d.ts.map +1 -1
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.d.ts +15 -0
- package/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.d.ts.map +1 -1
- package/lib/nxs-carousel/nxs-carousel/swiper-directives.d.ts +3 -0
- package/lib/nxs-carousel/nxs-carousel/swiper-directives.d.ts.map +1 -1
- package/lib/nxs-carousel/public-api-carousel.d.ts +1 -0
- package/lib/nxs-carousel/public-api-carousel.d.ts.map +1 -1
- package/lib/nxs-carousel-mock/index.d.ts +6 -0
- package/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.d.ts.map +1 -1
- package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.d.ts +3 -0
- package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.d.ts.map +1 -1
- package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.d.ts +7 -0
- package/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.d.ts.map +1 -1
- package/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.d.ts +3 -0
- package/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.d.ts.map +1 -1
- package/lib/nxs-carousel-mock/public-api-carousel-mock.d.ts +1 -0
- package/lib/nxs-carousel-mock/public-api-carousel-mock.d.ts.map +1 -1
- package/nextalys-carousel.d.ts.map +1 -1
- package/package.json +37 -9
- package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.js +0 -103
- package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.js.map +0 -1
- package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.min.js +0 -2
- package/bundles/nextalys-carousel-lib-nxs-carousel-mock.umd.min.js.map +0 -1
- package/bundles/nextalys-carousel-lib-nxs-carousel.umd.js +0 -674
- package/bundles/nextalys-carousel-lib-nxs-carousel.umd.js.map +0 -1
- package/bundles/nextalys-carousel-lib-nxs-carousel.umd.min.js +0 -16
- package/bundles/nextalys-carousel-lib-nxs-carousel.umd.min.js.map +0 -1
- package/bundles/nextalys-carousel.umd.js +0 -25
- package/bundles/nextalys-carousel.umd.js.map +0 -1
- package/bundles/nextalys-carousel.umd.min.js +0 -2
- package/bundles/nextalys-carousel.umd.min.js.map +0 -1
- package/esm2015/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.js +0 -8
- package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel-dialog.component.js +0 -33
- package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel-types.js +0 -2
- package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel.component.js +0 -253
- package/esm2015/lib/nxs-carousel/nxs-carousel/nxs-carousel.module.js +0 -41
- package/esm2015/lib/nxs-carousel/nxs-carousel/swiper-directives.js +0 -9
- package/esm2015/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.js +0 -7
- package/esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.component.js +0 -37
- package/esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/nxs-carousel-mock.module.js +0 -31
- package/esm2015/lib/nxs-carousel-mock/nxs-carousel-mock/swiper-directives.js +0 -9
- package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.js +0 -85
- package/fesm2015/nextalys-carousel-lib-nxs-carousel-mock.js.map +0 -1
- package/fesm2015/nextalys-carousel-lib-nxs-carousel.js +0 -333
- package/fesm2015/nextalys-carousel-lib-nxs-carousel.js.map +0 -1
- package/fesm2015/nextalys-carousel.js.map +0 -1
- package/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.d.ts +0 -8
- package/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.metadata.json +0 -1
- package/lib/nxs-carousel/package.json +0 -11
- package/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.d.ts +0 -7
- package/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.metadata.json +0 -1
- package/lib/nxs-carousel-mock/package.json +0 -11
- package/nextalys-carousel.d.ts +0 -5
- package/nextalys-carousel.metadata.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextalys-carousel-lib-nxs-carousel.mjs","sources":["../../lib/nxs-carousel/swiper-directives.ts","../../lib/common-types.ts","../../lib/nxs-carousel/carousel-events.ts","../../lib/nxs-carousel/nxs-carousel.component.ts","../../lib/nxs-carousel/nxs-carousel.component.html","../../lib/nxs-carousel/nxs-carousel-dialog.component.ts","../../lib/nxs-carousel/nxs-carousel.module.ts","../../lib/nextalys-carousel-lib-nxs-carousel.ts"],"sourcesContent":["import { Directive } from \"@angular/core\";\n\n@Directive({\n selector: '[nxsSwiperTemplate]',\n})\nexport class NxsSwiperTemplateDirective { }\n","\nexport interface NxsCarouselImage {\n alt?: string;\n src: string;\n}\nexport class NxsCarouselModuleConfig {\n debug?: boolean = false;\n}","import { NxsEvent } from \"nextalys-js-helpers\";\nimport { NxsCarouselDialogData } from \"./nxs-carousel-types\";\n\nexport class CarouselEvents {\n static openCarouselDialog = new NxsEvent<{\n data: NxsCarouselDialogData;\n panelClass: string;\n width?: string;\n height?: string;\n disableClose: boolean;\n }>();\n}","import { Component, ViewEncapsulation, Input, ViewChild, Output, EventEmitter, PLATFORM_ID, Inject, Optional, NgZone, ContentChildren, TemplateRef, InjectionToken } from '@angular/core';\nimport { NxsCarouselDialogData, NxsCarouselOptions } from './nxs-carousel-types';\nimport { MatDialog } from '@angular/material/dialog';\nimport { isPlatformBrowser } from '@angular/common';\nimport { EventsCollector } from 'nextalys-js-helpers/dist/events';\n// import Swiper core and required modules\nimport SwiperCore, { Navigation, Pagination, Autoplay, Lazy, Swiper, SwiperOptions, Thumbs } from 'swiper';\n//Virtual,Scrollbar,A11y\nimport { SwiperComponent } from 'swiper/angular';\nimport { NxsSwiperTemplateDirective } from './swiper-directives';\nimport { NxsCarouselImage, NxsCarouselModuleConfig } from '../common-types';\nimport { CarouselEvents } from './carousel-events';\n\n// install Swiper modules\nSwiperCore.use([Navigation, Pagination, Autoplay, Lazy, Thumbs]);\n@Component({\n selector: 'nxs-carousel',\n templateUrl: './nxs-carousel.component.html',\n styleUrls: ['./nxs-carousel.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class NxsCarouselComponent {\n @ContentChildren(NxsSwiperTemplateDirective, { read: TemplateRef })\n contents!: TemplateRef<HTMLElement>;\n @ViewChild('swiper', { static: false })\n swiperComponent?: SwiperComponent;\n @Input()\n lazy = true;\n private eventsCollector = new EventsCollector();\n\n @Input()\n public images: NxsCarouselImage[];\n options: NxsCarouselOptions = null;\n thumbnailsOptions: SwiperOptions = null;\n @Input('options')\n set setOptions(val: NxsCarouselOptions) {\n this.options = this.setDefaultOptions(val, false);\n this.setThumbnailsOptions();\n }\n @Input()\n hasHtmlContent = false;\n slidesCount: number = 0;\n private swiperInstance: Swiper;\n thumbnailsSwiperInstance: Swiper;\n\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 private matDialog: MatDialog,\n private zone: NgZone,\n @Inject(PLATFORM_ID) private platformId: any,\n @Optional() private config?: NxsCarouselModuleConfig,\n\n ) {\n if (!this.config)\n this.config = { debug: false };\n this.isBrowser = isPlatformBrowser(this.platformId);\n this.log('constructor - isBrowser', this.isBrowser);\n this.options = this.setDefaultOptions(undefined, false);\n }\n private log(...args: any[]) {\n if (!this.config.debug)\n return;\n console.log('[NxsCarousel]', ...args);\n }\n private destroy() {\n if (!this.isBrowser) {\n return;\n }\n this.eventsCollector?.unsubscribeAll();\n }\n ngOnDestroy(): void {\n this.destroy();\n }\n ngAfterViewInit(): void {\n // console.log('thi.contents', this.contents);\n // this.initSlides();\n // this.createSlider(true);\n }\n getMainSliderHeight() {\n if (!this.options)\n return '';\n if (this.options.nxsThumbnails && this.options.nxsThumbnails.show) {\n if (this.options.nxsThumbnails.onMainSlider) {\n return '100%';\n }\n else if (this.options.nxsThumbnails.percentHeight) {\n return (100 - this.options.nxsThumbnails.percentHeight) + '%';\n }\n }\n return '';\n }\n private setDefaultOptions(options: NxsCarouselOptions, forDialog: boolean) {\n if (!options && forDialog) {\n options = {\n nxsShowNavigationBullets: true, loop: true, nxsThumbnails: { show: true }, effect: 'slide', nxsShowNavigationArrows: true, nxsShowImagesCount: true,\n lazy: this.lazy,\n };\n }\n else if (!options) {\n options = {\n nxsShowNavigationBullets: true, loop: true,\n nxsThumbnails: { show: false }, effect: 'slide', nxsShowNavigationArrows: true, nxsShowImagesCount: false, nxsCarouselDialogOptions: {},\n lazy: this.lazy,\n };\n }\n if (options.nxsCarouselDialogOptions) {\n if (typeof options.nxsCarouselDialogOptions.nxsThumbnails === 'undefined')\n options.nxsCarouselDialogOptions.nxsThumbnails = { show: false };\n if (typeof options.nxsCarouselDialogOptions.effect === 'undefined')\n options.nxsCarouselDialogOptions.effect = 'slide';\n if (typeof options.nxsCarouselDialogOptions.nxsShowNavigationArrows === 'undefined')\n options.nxsCarouselDialogOptions.nxsShowNavigationArrows = true;\n\n if (!!options.nxsCarouselDialogOptions.nxsThumbnails?.show) {\n if (typeof options.nxsCarouselDialogOptions.nxsThumbnails.percentHeight === 'undefined')\n options.nxsCarouselDialogOptions.nxsThumbnails.percentHeight = 20;\n if (typeof options.nxsCarouselDialogOptions.nxsThumbnails.perView === 'undefined')\n options.nxsCarouselDialogOptions.nxsThumbnails.perView = 10;\n options.nxsCarouselDialogOptions.nxsThumbnails.breakpoints = {\n 640: {\n slidesPerView: 5,\n },\n 768: {\n slidesPerView: 7,\n },\n 1024: {\n slidesPerView: 8,\n },\n };\n }\n }\n if (!options.nxsThumbnails)\n options.nxsThumbnails = { show: false };\n\n if (options.nxsThumbnails.show && typeof options.nxsThumbnails.percentHeight === 'undefined')\n options.nxsThumbnails.percentHeight = 20;\n\n if (options.nxsThumbnails.show && typeof options.nxsThumbnails.perView === 'undefined')\n options.nxsThumbnails.perView = 10;\n\n\n if (forDialog)\n options.nxsfullscreenOnClick = false;\n if (options.nxsThumbnails.onMainSlider)\n options.nxsShowNavigationBullets = false;\n\n if (typeof options.lazy === 'undefined')\n options.lazy = true;\n\n if (typeof options.navigation === 'undefined')\n options.navigation = true;\n if (typeof options.pagination === 'undefined')\n options.pagination = { clickable: true };\n\n if (options.nxsShowNavigationBullets === false) {\n options.pagination = false;\n }\n // console.log(\"Log ~ file: nxs-carousel.component.ts ~ line 272 ~ NxsCarouselComponent ~ setDefaultOptions ~ options\", options);\n\n return options;\n }\n\n private setThumbnailsOptions() {\n if (!!this.options?.nxsThumbnails?.show) {\n this.thumbnailsOptions = {\n slidesPerView: this.options.nxsThumbnails.perView,\n loop: false,\n freeMode: true,\n // watchSlidesVisibility: true,\n watchSlidesProgress: true,\n breakpoints: this.options.nxsThumbnails.breakpoints,\n // spaceBetween: 10,\n };\n if (this.lazy) {\n // Disable preloading of all images\n this.thumbnailsOptions.preloadImages = false;\n // Enable lazy loading\n this.thumbnailsOptions.lazy = true;\n }\n // console.log(\"Log ~ file: nxs-carousel.component.ts ~ line 184 ~ NxsCarouselComponent ~ setThumbnailsOptions ~ this.thumbnailsOptions.lazy\", this.thumbnailsOptions.lazy);\n\n // this.thumbnailsSliderInstance = new Swiper(this.nxsThumbnailsSliderContainer.nativeElement, thumbnailsOptions);\n // this.options.thumbs = { swiper: this.thumbnailsSliderInstance };\n }\n }\n public showFullScreenCarousel(images: NxsCarouselImage[], wrapperClass?: string) {\n this.options.nxsCarouselDialogOptions = this.setDefaultOptions(this.options.nxsCarouselDialogOptions, true);\n const data: NxsCarouselDialogData = { images, wrapperClass, options: this.options.nxsCarouselDialogOptions };\n CarouselEvents.openCarouselDialog?.emit({\n data,\n panelClass: 'nxs-carousel-dialog',\n width: !!this.options.nxsCarouselDialogSize ? this.options.nxsCarouselDialogSize.width : undefined,\n height: !!this.options.nxsCarouselDialogSize ? this.options.nxsCarouselDialogSize.height : undefined,\n disableClose: !this.options.nxsCarouselDialogExitable,\n });\n }\n goToSlide(index: number, speed?: number) {\n this.swiperInstance?.slideTo(index, speed);\n }\n next() {\n this.swiperInstance?.slideNext();\n }\n previous() {\n this.swiperInstance?.slidePrev();\n }\n onSwiperThumbnails(instance: Swiper) {\n if (this.options?.nxsThumbnails?.show)\n this.thumbnailsSwiperInstance = instance;\n else\n this.thumbnailsSwiperInstance = null;\n\n // if (this.options?.nxsThumbnails?.show) {\n // const optionsClone = MainHelpers.cloneObject(this.options);\n // optionsClone.thumbs = { swiper: this.thumbnailsSwiperInstance };\n // // this.options = optionsClone;\n // // this.options = { ...this.options, thumbs: { swiper: this.thumbnailsSwiperInstance } };\n // console.log(\"Log ~ file: nxs-carousel.component.ts ~ line 416 ~ NxsCarouselComponent ~ onSwiperThumbnails ~ this.options \", this.options);\n // this.options.thumbs = { swiper: this.thumbnailsSwiperInstance };\n // }\n }\n onSwiper(instance: Swiper) {\n this.log('swiper ready - instance', instance);\n this.swiperInstance = instance;\n this.swiperInstance.on('click', (swiperInstance, evt) => {\n // console.log(\"Log ~ file: nxs-carousel.component.ts ~ line 392 ~ NxsCarouselComponent ~ this.swiperInstance.on ~ evt\", evt);\n const target = evt.target as HTMLElement;\n if (target.className.indexOf('nxs-carousel-button') !== -1 || target.className.indexOf('swiper-pagination') !== -1)\n return;\n this.runInZone(() => {\n this.slideClick.next(evt);\n if (this.options.nxsfullscreenOnClick && this.images && this.images.length && !this.hasHtmlContent) {\n this.showFullScreenCarousel(this.images, 'fullscreen-carousel');\n }\n });\n\n });\n }\n private runInZone<T extends (...args: any[]) => void>(callback: T, ...args: any[]) {\n if (!this.zone) {\n callback(args);\n }\n return this.zone.run(() => callback(args));\n }\n\n onSlideChange(instances: Swiper[]) {\n // this.swiperInstance = instance;\n // this.log('slide change - instance', instance);\n this.runInZone(() => {\n this.currentSlide = this.swiperInstance?.realIndex || 0;\n this.log('slide change - currentSlide', this.currentSlide);\n this.slideChange.next(this.currentSlide);\n });\n }\n}\n","<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>","import { Component, Inject, ViewEncapsulation } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { NxsCarouselDialogData } from './nxs-carousel-types';\n\n@Component({\n selector: 'nxs-carousel-dialog',\n template: `\n <div class=\"nxs-carousel-dialog-flex-wrapper\">\n <div class=\"nxs-carousel-dialog-header\">\n <button (click)=\"dialogRef.close()\" mat-icon-button><mat-icon>close</mat-icon></button>\n </div>\n <div [class]=\"wrapperClass\">\n <nxs-carousel [options]=\"data.options\" [images]=\"data.images\"></nxs-carousel>\n </div>\n</div>\n `,\n styleUrls: ['./nxs-carousel-dialog.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class NxsCarouselDialogComponent {\n static dialogOpened = false;\n public wrapperClass: string = 'nxs-carousel-wrapper';\n constructor(\n @Inject(MAT_DIALOG_DATA) public data: NxsCarouselDialogData,\n public dialogRef: MatDialogRef<NxsCarouselDialogComponent>,\n ) {\n if (data.wrapperClass)\n this.wrapperClass += ' ' + data.wrapperClass;\n\n this.dialogRef.afterOpened().subscribe(\n () => {\n NxsCarouselDialogComponent.dialogOpened = true;\n }\n );\n this.dialogRef.afterClosed().subscribe(\n () => {\n NxsCarouselDialogComponent.dialogOpened = false;\n }\n );\n }\n}\n","import { NgModule, ModuleWithProviders } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NxsCarouselDialogComponent } from './nxs-carousel-dialog.component';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatDialog, MatDialogModule } from '@angular/material/dialog';\nimport { NxsCarouselComponent } from './nxs-carousel.component';\nimport { SwiperModule } from 'swiper/angular';\nimport { NxsSwiperTemplateDirective } from './swiper-directives';\nimport { NxsCarouselModuleConfig } from '../common-types';\nimport { CarouselEvents } from './carousel-events';\n\n@NgModule({\n declarations: [\n NxsCarouselComponent,\n NxsCarouselDialogComponent,\n NxsSwiperTemplateDirective,\n ],\n imports: [\n CommonModule,\n MatIconModule,\n MatButtonModule,\n MatDialogModule,\n SwiperModule,\n ],\n exports: [\n NxsCarouselComponent,\n NxsSwiperTemplateDirective,\n ],\n})\nexport class NxsCarouselModule {\n\n constructor(\n private matDialog: MatDialog,\n ) {\n CarouselEvents.openCarouselDialog.subscribe((data) => {\n if (NxsCarouselDialogComponent.dialogOpened) {\n return;\n }\n this.matDialog.open(NxsCarouselDialogComponent, data);\n });\n }\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';\n"],"names":["i2.NxsCarouselModuleConfig","i3","i4.NxsCarouselComponent"],"mappings":";;;;;;;;;;;;;;;;MAKa,0BAA0B,CAAA;;uHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;2GAA1B,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;AAClC,iBAAA,CAAA;;;MCCY,uBAAuB,CAAA;AAApC,IAAA,WAAA,GAAA;QACI,IAAK,CAAA,KAAA,GAAa,KAAK,CAAC;KAC3B;AAAA;;MCJY,cAAc,CAAA;;AAChB,cAAA,CAAA,kBAAkB,GAAG,IAAI,QAAQ,EAMpC;;ACGR;AACA,UAAU,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,C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;;AC7BD;;AAEG;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
class NxsCarouselModuleConfig {
|
|
2
|
+
constructor() {
|
|
3
|
+
this.debug = false;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
// export * from './lib/nxs-carousel/nxs-carousel.component';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Generated bundle index. Do not edit.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export { NxsCarouselModuleConfig };
|
|
14
|
+
//# sourceMappingURL=nextalys-carousel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextalys-carousel.mjs","sources":["../../lib/common-types.ts","../../lib/public-api.ts","../../lib/nextalys-carousel.ts"],"sourcesContent":["\nexport interface NxsCarouselImage {\n alt?: string;\n src: string;\n}\nexport class NxsCarouselModuleConfig {\n debug?: boolean = false;\n}","// export * from './lib/nxs-carousel/nxs-carousel.component';\n// export * from './lib/nxs-carousel/nxs-carousel.module';\n// export * from './lib/nxs-carousel/nxs-carousel-types';\nexport * from './common-types';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"MAKa,uBAAuB,CAAA;AAApC,IAAA,WAAA,GAAA;QACI,IAAK,CAAA,KAAA,GAAa,KAAK,CAAC;KAC3B;AAAA;;ACPD;;ACAA;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nextalys-carousel-lib-nxs-carousel.d.ts","sourceRoot":"","sources":["../../../lib/nextalys-carousel-lib-nxs-carousel.ts"],"names":[],"mappings":"AAAA;;GAEG
|
|
1
|
+
{"version":3,"file":"nextalys-carousel-lib-nxs-carousel.d.ts","sourceRoot":"","sources":["../../../lib/nextalys-carousel-lib-nxs-carousel.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NxsEvent } from "nextalys-js-helpers";
|
|
2
|
+
import { NxsCarouselDialogData } from "./nxs-carousel-types";
|
|
3
|
+
export declare class CarouselEvents {
|
|
4
|
+
static openCarouselDialog: NxsEvent<{
|
|
5
|
+
data: NxsCarouselDialogData;
|
|
6
|
+
panelClass: string;
|
|
7
|
+
width?: string;
|
|
8
|
+
height?: string;
|
|
9
|
+
disableClose: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=carousel-events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel-events.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/carousel-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,qBAAa,cAAc;IACvB,MAAM,CAAC,kBAAkB;cACf,qBAAqB;oBACf,MAAM;gBACV,MAAM;iBACL,MAAM;sBACD,OAAO;OACpB;CACR"}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
export interface NxsCarouselDialogData {
|
|
5
|
-
images: NxsCarouselImage[];
|
|
6
|
-
options?: NxsCarouselOptions;
|
|
7
|
-
wrapperClass?: string;
|
|
8
|
-
}
|
|
2
|
+
import { NxsCarouselDialogData } from './nxs-carousel-types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
9
4
|
export declare class NxsCarouselDialogComponent {
|
|
10
5
|
data: NxsCarouselDialogData;
|
|
11
6
|
dialogRef: MatDialogRef<NxsCarouselDialogComponent>;
|
|
7
|
+
static dialogOpened: boolean;
|
|
12
8
|
wrapperClass: string;
|
|
13
9
|
constructor(data: NxsCarouselDialogData, dialogRef: MatDialogRef<NxsCarouselDialogComponent>);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsCarouselDialogComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxsCarouselDialogComponent, "nxs-carousel-dialog", never, {}, {}, never, never, false>;
|
|
14
12
|
}
|
|
15
13
|
//# sourceMappingURL=nxs-carousel-dialog.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nxs-carousel-dialog.component.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"nxs-carousel-dialog.component.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel-dialog.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;;AAE7D,qBAea,0BAA0B;IAIC,IAAI,EAAE,qBAAqB;IACpD,SAAS,EAAE,YAAY,CAAC,0BAA0B,CAAC;IAJ9D,MAAM,CAAC,YAAY,UAAS;IACrB,YAAY,EAAE,MAAM,CAA0B;gBAEjB,IAAI,EAAE,qBAAqB,EACpD,SAAS,EAAE,YAAY,CAAC,0BAA0B,CAAC;yCALrD,0BAA0B;2CAA1B,0BAA0B;CAqBtC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SwiperOptions } from "swiper";
|
|
2
|
+
import { NxsCarouselImage } from "../common-types";
|
|
2
3
|
export interface NxsCarouselOptions extends SwiperOptions {
|
|
3
4
|
nxsShowNavigationBullets?: boolean;
|
|
4
5
|
nxsShowNavigationArrows?: boolean;
|
|
@@ -28,4 +29,9 @@ export interface NxsCarouselOptions extends SwiperOptions {
|
|
|
28
29
|
height: string;
|
|
29
30
|
};
|
|
30
31
|
}
|
|
32
|
+
export interface NxsCarouselDialogData {
|
|
33
|
+
images: NxsCarouselImage[];
|
|
34
|
+
options?: NxsCarouselOptions;
|
|
35
|
+
wrapperClass?: string;
|
|
36
|
+
}
|
|
31
37
|
//# sourceMappingURL=nxs-carousel-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nxs-carousel-types.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"nxs-carousel-types.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAEnD,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACrD,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,aAAa,CAAC,EAAE;QACZ,IAAI,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,OAAO,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE;YAC3F,CAAC,IAAI,EAAE,MAAM,GAAG;gBACZ,YAAY,CAAC,EAAE,MAAM,CAAC;gBACtB,aAAa,EAAE,MAAM,GAAG,MAAM,CAAC;aAClC,CAAC;SACL,CAAC;KACL,CAAC;IACF,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;OAGG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,wBAAwB,CAAC,EAAE,kBAAkB,CAAC;IAC9C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,qBAAqB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;KAAE,CAAC;CAC9D;AAGD,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -4,6 +4,7 @@ import { MatDialog } from '@angular/material/dialog';
|
|
|
4
4
|
import { Swiper, SwiperOptions } from 'swiper';
|
|
5
5
|
import { SwiperComponent } from 'swiper/angular';
|
|
6
6
|
import { NxsCarouselImage, NxsCarouselModuleConfig } from '../common-types';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class NxsCarouselComponent {
|
|
8
9
|
private matDialog;
|
|
9
10
|
private zone;
|
|
@@ -41,5 +42,7 @@ export declare class NxsCarouselComponent {
|
|
|
41
42
|
onSwiper(instance: Swiper): void;
|
|
42
43
|
private runInZone;
|
|
43
44
|
onSlideChange(instances: Swiper[]): void;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsCarouselComponent, [null, null, null, { optional: true; }]>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxsCarouselComponent, "nxs-carousel", never, { "lazy": "lazy"; "images": "images"; "setOptions": "options"; "hasHtmlContent": "hasHtmlContent"; }, { "slideChange": "slideChange"; "slideClick": "slideClick"; }, ["contents"], never, false>;
|
|
44
47
|
}
|
|
45
48
|
//# sourceMappingURL=nxs-carousel.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nxs-carousel.component.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0D,YAAY,EAAiC,MAAM,EAAmB,WAAW,
|
|
1
|
+
{"version":3,"file":"nxs-carousel.component.d.ts","sourceRoot":"","sources":["../../../../lib/nxs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AmB;IAanB,OAAO,CAAC,iBAAiB;IAuEzB,OAAO,CAAC,oBAAoB;IAuBrB,sBAAsB,CAAC,MAAM,EAAE,gBAAgB,EAAE,EAAE,YAAY,CAAC,EAAE,MAAM;IAW/E,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAGvC,IAAI;IAGJ,QAAQ;IAGR,kBAAkB,CAAC,QAAQ,EAAE,MAAM;IAenC,QAAQ,CAAC,QAAQ,EAAE,MAAM;IAiBzB,OAAO,CAAC,SAAS;IAOjB,aAAa,CAAC,SAAS,EAAE,MAAM,EAAE;yCArOxB,oBAAoB;2CAApB,oBAAoB;CA8OhC"}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
3
|
import { NxsCarouselModuleConfig } from '../common-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./nxs-carousel.component";
|
|
6
|
+
import * as i2 from "./nxs-carousel-dialog.component";
|
|
7
|
+
import * as i3 from "./swiper-directives";
|
|
8
|
+
import * as i4 from "@angular/common";
|
|
9
|
+
import * as i5 from "@angular/material/icon";
|
|
10
|
+
import * as i6 from "@angular/material/button";
|
|
11
|
+
import * as i7 from "@angular/material/dialog";
|
|
12
|
+
import * as i8 from "swiper/angular";
|
|
3
13
|
export declare class NxsCarouselModule {
|
|
14
|
+
private matDialog;
|
|
15
|
+
constructor(matDialog: MatDialog);
|
|
4
16
|
static forRoot(config?: NxsCarouselModuleConfig): ModuleWithProviders<NxsCarouselModule>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsCarouselModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NxsCarouselModule, [typeof i1.NxsCarouselComponent, typeof i2.NxsCarouselDialogComponent, typeof i3.NxsSwiperTemplateDirective], [typeof i4.CommonModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.MatDialogModule, typeof i8.SwiperModule], [typeof i1.NxsCarouselComponent, typeof i3.NxsSwiperTemplateDirective]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NxsCarouselModule>;
|
|
5
20
|
}
|
|
6
21
|
//# sourceMappingURL=nxs-carousel.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nxs-carousel.module.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,mBAAmB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"nxs-carousel.module.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/nxs-carousel.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAK9D,OAAO,EAAE,SAAS,EAAmB,MAAM,0BAA0B,CAAC;AAItE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;;;;;;;;;;AAG1D,qBAkBa,iBAAiB;IAGtB,OAAO,CAAC,SAAS;gBAAT,SAAS,EAAE,SAAS;WASlB,OAAO,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC;yCAZtF,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAoB7B"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class NxsSwiperTemplateDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsSwiperTemplateDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NxsSwiperTemplateDirective, "[nxsSwiperTemplate]", never, {}, {}, never, never, false>;
|
|
2
5
|
}
|
|
3
6
|
//# sourceMappingURL=swiper-directives.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swiper-directives.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/swiper-directives.ts"],"names":[],"mappings":"AAEA,qBAGa,0BAA0B;CAAI"}
|
|
1
|
+
{"version":3,"file":"swiper-directives.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel/swiper-directives.ts"],"names":[],"mappings":";AAEA,qBAGa,0BAA0B;yCAA1B,0BAA0B;2CAA1B,0BAA0B;CAAI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api-carousel.d.ts","sourceRoot":"","sources":["../../../lib/public-api-carousel.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-api-carousel.d.ts","sourceRoot":"","sources":["../../../lib/public-api-carousel.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC;AACtD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nextalys-carousel-lib-nxs-carousel-mock.d.ts","sourceRoot":"","sources":["../../../lib/nextalys-carousel-lib-nxs-carousel-mock.ts"],"names":[],"mappings":"AAAA;;GAEG
|
|
1
|
+
{"version":3,"file":"nextalys-carousel-lib-nxs-carousel-mock.d.ts","sourceRoot":"","sources":["../../../lib/nextalys-carousel-lib-nxs-carousel-mock.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,4BAA4B,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { NxsCarouselImage } from '../common-types';
|
|
3
3
|
import { NxsCarouselOptions } from './nxs-carousel-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class NxsCarouselComponent {
|
|
5
6
|
lazy: boolean;
|
|
6
7
|
images: NxsCarouselImage[];
|
|
@@ -15,5 +16,7 @@ export declare class NxsCarouselComponent {
|
|
|
15
16
|
goToSlide(index: number, speed?: number): void;
|
|
16
17
|
next(): void;
|
|
17
18
|
previous(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsCarouselComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NxsCarouselComponent, "nxs-carousel", never, { "lazy": "lazy"; "images": "images"; "options": "options"; "hasHtmlContent": "hasHtmlContent"; }, { "slideChange": "slideChange"; "slideClick": "slideClick"; }, never, never, false>;
|
|
18
21
|
}
|
|
19
22
|
//# sourceMappingURL=nxs-carousel-mock.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nxs-carousel-mock.component.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel-mock/nxs-carousel-mock.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,YAAY,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC
|
|
1
|
+
{"version":3,"file":"nxs-carousel-mock.component.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel-mock/nxs-carousel-mock.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,YAAY,EAAE,MAAM,eAAe,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;;AAC1D,qBAMa,oBAAoB;IAE7B,IAAI,UAAQ;IAEL,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAElC,OAAO,EAAE,kBAAkB,CAAQ;IAEnC,cAAc,UAAS;IACvB,WAAW,EAAE,MAAM,CAAK;IAExB,WAAW,uBAA8B;IAClC,YAAY,SAAK;IAExB,UAAU,uDAA8D;IACxE,SAAS,UAAS;;IAMlB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM;IAEvC,IAAI;IAEJ,QAAQ;yCAzBC,oBAAoB;2CAApB,oBAAoB;CA2BhC"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { ModuleWithProviders } from "@angular/core";
|
|
2
2
|
import { NxsCarouselModuleConfig } from '../common-types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./nxs-carousel-mock.component";
|
|
5
|
+
import * as i2 from "./swiper-directives";
|
|
6
|
+
import * as i3 from "@angular/common";
|
|
3
7
|
export declare class NxsCarouselModule {
|
|
4
8
|
static forRoot(config?: NxsCarouselModuleConfig): ModuleWithProviders<NxsCarouselModule>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsCarouselModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NxsCarouselModule, [typeof i1.NxsCarouselComponent, typeof i2.NxsSwiperTemplateDirective], [typeof i3.CommonModule], [typeof i1.NxsCarouselComponent, typeof i2.NxsSwiperTemplateDirective]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NxsCarouselModule>;
|
|
5
12
|
}
|
|
6
13
|
//# sourceMappingURL=nxs-carousel-mock.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nxs-carousel-mock.module.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel-mock/nxs-carousel-mock.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC
|
|
1
|
+
{"version":3,"file":"nxs-carousel-mock.module.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel-mock/nxs-carousel-mock.module.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAY,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;;;;;AAI1D,qBAaa,iBAAiB;WACZ,OAAO,CAAC,MAAM,CAAC,EAAE,uBAAuB,GAAG,mBAAmB,CAAC,iBAAiB,CAAC;yCADtF,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAS7B"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare class NxsSwiperTemplateDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NxsSwiperTemplateDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NxsSwiperTemplateDirective, "[nxsSwiperTemplate]", never, {}, {}, never, never, false>;
|
|
2
5
|
}
|
|
3
6
|
//# sourceMappingURL=swiper-directives.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swiper-directives.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel-mock/swiper-directives.ts"],"names":[],"mappings":"AAEA,qBAGa,0BAA0B;CAAI"}
|
|
1
|
+
{"version":3,"file":"swiper-directives.d.ts","sourceRoot":"","sources":["../../../../lib/nxs-carousel-mock/swiper-directives.ts"],"names":[],"mappings":";AAEA,qBAGa,0BAA0B;yCAA1B,0BAA0B;2CAA1B,0BAA0B;CAAI"}
|
|
@@ -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
|
+
export * from './nxs-carousel-mock/swiper-directives';
|
|
4
5
|
//# sourceMappingURL=public-api-carousel-mock.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-api-carousel-mock.d.ts","sourceRoot":"","sources":["../../../lib/public-api-carousel-mock.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC"}
|
|
1
|
+
{"version":3,"file":"public-api-carousel-mock.d.ts","sourceRoot":"","sources":["../../../lib/public-api-carousel-mock.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,wCAAwC,CAAC;AACvD,cAAc,uCAAuC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nextalys-carousel.d.ts","sourceRoot":"","sources":["../lib/nextalys-carousel.ts"],"names":[],"mappings":"AAAA;;GAEG
|
|
1
|
+
{"version":3,"file":"nextalys-carousel.d.ts","sourceRoot":"","sources":["../lib/nextalys-carousel.ts"],"names":[],"mappings":"AAAA;;GAEG;;AAEH,cAAc,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextalys-carousel",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.63",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"swiper": "^8.2.4",
|
|
6
|
-
"tslib": "^2.
|
|
6
|
+
"tslib": "^2.3.0"
|
|
7
|
+
},
|
|
8
|
+
"module": "fesm2015/nextalys-carousel.mjs",
|
|
9
|
+
"es2020": "fesm2020/nextalys-carousel.mjs",
|
|
10
|
+
"esm2020": "esm2020/nextalys-carousel.mjs",
|
|
11
|
+
"fesm2020": "fesm2020/nextalys-carousel.mjs",
|
|
12
|
+
"fesm2015": "fesm2015/nextalys-carousel.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"esm2020": "./esm2020/nextalys-carousel.mjs",
|
|
21
|
+
"es2020": "./fesm2020/nextalys-carousel.mjs",
|
|
22
|
+
"es2015": "./fesm2015/nextalys-carousel.mjs",
|
|
23
|
+
"node": "./fesm2015/nextalys-carousel.mjs",
|
|
24
|
+
"default": "./fesm2020/nextalys-carousel.mjs"
|
|
25
|
+
},
|
|
26
|
+
"./lib/nxs-carousel-mock": {
|
|
27
|
+
"types": "./lib/nxs-carousel-mock/index.d.ts",
|
|
28
|
+
"esm2020": "./esm2020/lib/nxs-carousel-mock/nextalys-carousel-lib-nxs-carousel-mock.mjs",
|
|
29
|
+
"es2020": "./fesm2020/nextalys-carousel-lib-nxs-carousel-mock.mjs",
|
|
30
|
+
"es2015": "./fesm2015/nextalys-carousel-lib-nxs-carousel-mock.mjs",
|
|
31
|
+
"node": "./fesm2015/nextalys-carousel-lib-nxs-carousel-mock.mjs",
|
|
32
|
+
"default": "./fesm2020/nextalys-carousel-lib-nxs-carousel-mock.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./lib/nxs-carousel": {
|
|
35
|
+
"types": "./lib/nxs-carousel/index.d.ts",
|
|
36
|
+
"esm2020": "./esm2020/lib/nxs-carousel/nextalys-carousel-lib-nxs-carousel.mjs",
|
|
37
|
+
"es2020": "./fesm2020/nextalys-carousel-lib-nxs-carousel.mjs",
|
|
38
|
+
"es2015": "./fesm2015/nextalys-carousel-lib-nxs-carousel.mjs",
|
|
39
|
+
"node": "./fesm2015/nextalys-carousel-lib-nxs-carousel.mjs",
|
|
40
|
+
"default": "./fesm2020/nextalys-carousel-lib-nxs-carousel.mjs"
|
|
41
|
+
}
|
|
7
42
|
},
|
|
8
|
-
"main": "bundles/nextalys-carousel.umd.js",
|
|
9
|
-
"module": "fesm2015/nextalys-carousel.js",
|
|
10
|
-
"es2015": "fesm2015/nextalys-carousel.js",
|
|
11
|
-
"esm2015": "esm2015/nextalys-carousel.js",
|
|
12
|
-
"fesm2015": "fesm2015/nextalys-carousel.js",
|
|
13
|
-
"typings": "nextalys-carousel.d.ts",
|
|
14
|
-
"metadata": "nextalys-carousel.metadata.json",
|
|
15
43
|
"sideEffects": false
|
|
16
44
|
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('nextalys-carousel/lib/nxs-carousel-mock', ['exports', '@angular/core', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['nextalys-carousel'] = global['nextalys-carousel'] || {}, global['nextalys-carousel'].lib = global['nextalys-carousel'].lib || {}, global['nextalys-carousel'].lib['nxs-carousel-mock'] = {}), global.ng.core, global.ng.common));
|
|
5
|
-
}(this, (function (exports, core, common) { 'use strict';
|
|
6
|
-
|
|
7
|
-
var NxsCarouselComponent = /** @class */ (function () {
|
|
8
|
-
function NxsCarouselComponent() {
|
|
9
|
-
this.lazy = true;
|
|
10
|
-
this.options = null;
|
|
11
|
-
this.hasHtmlContent = false;
|
|
12
|
-
this.slidesCount = 0;
|
|
13
|
-
this.slideChange = new core.EventEmitter();
|
|
14
|
-
this.currentSlide = 0;
|
|
15
|
-
this.slideClick = new core.EventEmitter();
|
|
16
|
-
this.isBrowser = false;
|
|
17
|
-
}
|
|
18
|
-
NxsCarouselComponent.prototype.goToSlide = function (index, speed) {
|
|
19
|
-
};
|
|
20
|
-
NxsCarouselComponent.prototype.next = function () {
|
|
21
|
-
};
|
|
22
|
-
NxsCarouselComponent.prototype.previous = function () {
|
|
23
|
-
};
|
|
24
|
-
return NxsCarouselComponent;
|
|
25
|
-
}());
|
|
26
|
-
NxsCarouselComponent.decorators = [
|
|
27
|
-
{ type: core.Component, args: [{
|
|
28
|
-
selector: 'nxs-carousel',
|
|
29
|
-
template: 'SWIPER MOCK',
|
|
30
|
-
// styleUrls: ['./nxs-carousel.component.scss'],
|
|
31
|
-
encapsulation: core.ViewEncapsulation.None
|
|
32
|
-
},] }
|
|
33
|
-
];
|
|
34
|
-
NxsCarouselComponent.ctorParameters = function () { return []; };
|
|
35
|
-
NxsCarouselComponent.propDecorators = {
|
|
36
|
-
lazy: [{ type: core.Input }],
|
|
37
|
-
images: [{ type: core.Input }],
|
|
38
|
-
options: [{ type: core.Input }],
|
|
39
|
-
hasHtmlContent: [{ type: core.Input }],
|
|
40
|
-
slideChange: [{ type: core.Output }],
|
|
41
|
-
slideClick: [{ type: core.Output }]
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
var NxsCarouselModuleConfig = /** @class */ (function () {
|
|
45
|
-
function NxsCarouselModuleConfig() {
|
|
46
|
-
this.debug = false;
|
|
47
|
-
}
|
|
48
|
-
return NxsCarouselModuleConfig;
|
|
49
|
-
}());
|
|
50
|
-
|
|
51
|
-
var NxsSwiperTemplateDirective = /** @class */ (function () {
|
|
52
|
-
function NxsSwiperTemplateDirective() {
|
|
53
|
-
}
|
|
54
|
-
return NxsSwiperTemplateDirective;
|
|
55
|
-
}());
|
|
56
|
-
NxsSwiperTemplateDirective.decorators = [
|
|
57
|
-
{ type: core.Directive, args: [{
|
|
58
|
-
selector: '[nxsSwiperTemplate]',
|
|
59
|
-
},] }
|
|
60
|
-
];
|
|
61
|
-
|
|
62
|
-
var NxsCarouselModule = /** @class */ (function () {
|
|
63
|
-
function NxsCarouselModule() {
|
|
64
|
-
}
|
|
65
|
-
NxsCarouselModule.forRoot = function (config) {
|
|
66
|
-
return {
|
|
67
|
-
ngModule: NxsCarouselModule,
|
|
68
|
-
providers: [
|
|
69
|
-
{ provide: NxsCarouselModuleConfig, useValue: config },
|
|
70
|
-
]
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
return NxsCarouselModule;
|
|
74
|
-
}());
|
|
75
|
-
NxsCarouselModule.decorators = [
|
|
76
|
-
{ type: core.NgModule, args: [{
|
|
77
|
-
imports: [
|
|
78
|
-
common.CommonModule,
|
|
79
|
-
],
|
|
80
|
-
declarations: [
|
|
81
|
-
NxsCarouselComponent,
|
|
82
|
-
NxsSwiperTemplateDirective,
|
|
83
|
-
],
|
|
84
|
-
exports: [
|
|
85
|
-
NxsCarouselComponent,
|
|
86
|
-
NxsSwiperTemplateDirective,
|
|
87
|
-
],
|
|
88
|
-
},] }
|
|
89
|
-
];
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Generated bundle index. Do not edit.
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
exports.NxsCarouselComponent = NxsCarouselComponent;
|
|
96
|
-
exports.NxsCarouselModule = NxsCarouselModule;
|
|
97
|
-
exports.ɵa = NxsSwiperTemplateDirective;
|
|
98
|
-
exports.ɵb = NxsCarouselModuleConfig;
|
|
99
|
-
|
|
100
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
101
|
-
|
|
102
|
-
})));
|
|
103
|
-
//# sourceMappingURL=nextalys-carousel-lib-nxs-carousel-mock.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nextalys-carousel-lib-nxs-carousel-mock.umd.js","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\nexport {NxsCarouselModuleConfig as ɵb} from './common-types';\nexport {NxsSwiperTemplateDirective as ɵa} from './nxs-carousel-mock/swiper-directives';"],"names":["EventEmitter","Component","ViewEncapsulation","Input","Output","Directive","NgModule","CommonModule"],"mappings":";;;;;;;QA0BI;YAfA,SAAI,GAAG,IAAI,CAAC;YAIZ,YAAO,GAAuB,IAAI,CAAC;YAEnC,mBAAc,GAAG,KAAK,CAAC;YACvB,gBAAW,GAAW,CAAC,CAAC;YAExB,gBAAW,GAAG,IAAIA,iBAAY,EAAU,CAAC;YAClC,iBAAY,GAAG,CAAC,CAAC;YAExB,eAAU,GAAG,IAAIA,iBAAY,EAA0C,CAAC;YACxE,cAAS,GAAG,KAAK,CAAC;SAKjB;QACD,wCAAS,GAAT,UAAU,KAAa,EAAE,KAAc;SACtC;QACD,mCAAI,GAAJ;SACC;QACD,uCAAQ,GAAR;SACC;;;;gBAhCJC,cAAS,SAAC;oBACP,QAAQ,EAAE,cAAc;oBACxB,QAAQ,EAAE,aAAa;;oBAEvB,aAAa,EAAEC,sBAAiB,CAAC,IAAI;iBACxC;;;;uBAEIC,UAAK;yBAELA,UAAK;0BAELA,UAAK;iCAELA,UAAK;8BAGLC,WAAM;6BAGNA,WAAM;;;;QCjBX;YACI,UAAK,GAAa,KAAK,CAAC;SAC3B;sCAAA;KAAA;;;QCFD;;;;;gBAHCC,cAAS,SAAC;oBACP,QAAQ,EAAE,qBAAqB;iBAClC;;;;QCeD;;QACkB,yBAAO,GAAd,UAAe,MAAgC;YAClD,OAAO;gBACH,QAAQ,EAAE,iBAAiB;gBAC3B,SAAS,EAAE;oBACP,EAAE,OAAO,EAAE,uBAAuB,EAAE,QAAQ,EAAE,MAAM,EAAE;iBACzD;aACJ,CAAC;SACL;;;;gBArBJC,aAAQ,SAAC;oBACN,OAAO,EAAE;wBACLC,mBAAY;qBACf;oBACD,YAAY,EAAE;wBACV,oBAAoB;wBACpB,0BAA0B;qBAC7B;oBACD,OAAO,EAAE;wBACL,oBAAoB;wBACpB,0BAA0B;qBAC7B;iBACJ;;;IClBD;;;;;;;;;;;;;;;"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("nextalys-carousel/lib/nxs-carousel-mock",["exports","@angular/core","@angular/common"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["nextalys-carousel"]=e["nextalys-carousel"]||{},e["nextalys-carousel"].lib=e["nextalys-carousel"].lib||{},e["nextalys-carousel"].lib["nxs-carousel-mock"]={}),e.ng.core,e.ng.common)}(this,(function(e,t,o){"use strict";var n=function(){function e(){this.lazy=!0,this.options=null,this.hasHtmlContent=!1,this.slidesCount=0,this.slideChange=new t.EventEmitter,this.currentSlide=0,this.slideClick=new t.EventEmitter,this.isBrowser=!1}return e.prototype.goToSlide=function(e,t){},e.prototype.next=function(){},e.prototype.previous=function(){},e}();n.decorators=[{type:t.Component,args:[{selector:"nxs-carousel",template:"SWIPER MOCK",encapsulation:t.ViewEncapsulation.None}]}],n.ctorParameters=function(){return[]},n.propDecorators={lazy:[{type:t.Input}],images:[{type:t.Input}],options:[{type:t.Input}],hasHtmlContent:[{type:t.Input}],slideChange:[{type:t.Output}],slideClick:[{type:t.Output}]};var r=function(){this.debug=!1},s=function(){};s.decorators=[{type:t.Directive,args:[{selector:"[nxsSwiperTemplate]"}]}];var i=function(){function e(){}return e.forRoot=function(t){return{ngModule:e,providers:[{provide:r,useValue:t}]}},e}();i.decorators=[{type:t.NgModule,args:[{imports:[o.CommonModule],declarations:[n,s],exports:[n,s]}]}],e.NxsCarouselComponent=n,e.NxsCarouselModule=i,e.ɵa=s,e.ɵb=r,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
|
-
//# sourceMappingURL=nextalys-carousel-lib-nxs-carousel-mock.umd.min.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"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"],"names":["NxsCarouselComponent","this","lazy","options","hasHtmlContent","slidesCount","slideChange","EventEmitter","currentSlide","slideClick","isBrowser","prototype","goToSlide","index","speed","next","previous","Component","args","selector","template","encapsulation","ViewEncapsulation","None","Input","Output","debug","Directive","NxsCarouselModule","forRoot","config","ngModule","providers","provide","NxsCarouselModuleConfig","useValue","NgModule","imports","CommonModule","declarations","NxsSwiperTemplateDirective","exports"],"mappings":"8iBA0BI,SAAAA,IAfAC,KAAAC,MAAO,EAIPD,KAAAE,QAA8B,KAE9BF,KAAAG,gBAAiB,EACjBH,KAAAI,YAAsB,EAEtBJ,KAAAK,YAAc,IAAIC,EAAAA,aACXN,KAAAO,aAAe,EAEtBP,KAAAQ,WAAa,IAAIF,EAAAA,aACjBN,KAAAS,WAAY,SAMZV,EAAAW,UAAAC,UAAA,SAAUC,EAAeC,KAEzBd,EAAAW,UAAAI,KAAA,aAEAf,EAAAW,UAAAK,SAAA,sCA/BHC,EAAAA,UAASC,KAAA,CAAC,CACPC,SAAU,eACVC,SAAU,cAEVC,cAAeC,EAAAA,kBAAkBC,6EAGhCC,EAAAA,sBAEAA,EAAAA,uBAEAA,EAAAA,8BAEAA,EAAAA,2BAGAC,EAAAA,2BAGAA,EAAAA,gBCjBL,WACIxB,KAAAyB,OAAkB,KCDtB,iCAHCC,EAAAA,UAAST,KAAA,CAAC,CACPC,SAAU,2CCgBd,SAAAS,YACkBA,EAAAC,QAAP,SAAeC,GAClB,MAAO,CACHC,SAAUH,EACVI,UAAW,CACP,CAAEC,QAASC,EAAyBC,SAAUL,+BAlB7DM,EAAAA,SAAQlB,KAAA,CAAC,CACNmB,QAAS,CACLC,EAAAA,cAEJC,aAAc,CACVvC,EACAwC,GAEJC,QAAS,CACLzC,EACAwC","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}"]}
|