🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

carousel-angular

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carousel-angular - npm Package Compare versions

Comparing version

to
1.5.0

12

lib/carousel.component.d.ts
import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, SimpleChanges } from '@angular/core';
import { Images } from './interfaces';
import { Properties as CarouselProperties } from './interfaces';

@@ -14,3 +13,2 @@ import * as i0 from "@angular/core";

_id: string;
_images: Images;
touches: any;

@@ -23,4 +21,2 @@ landscapeMode: any;

_cellWidth: number | '100%';
_loop: boolean;
_lightDOM: boolean;
isMoving: boolean;

@@ -68,10 +64,4 @@ isNgContent: boolean;

arrowsTheme: 'light' | 'dark';
set images(images: Images & any);
get images(): Images & any;
set cellWidth(value: number | '100%');
set isCounter(value: boolean);
set loop(value: boolean);
get loop(): boolean;
set lightDOM(value: boolean);
get lightDOM(): boolean;
hostClassCarousel: boolean;

@@ -107,3 +97,3 @@ hostStyleHeight: string;

static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "carousel, [carousel]", never, { "id": "id"; "height": "height"; "width": "width"; "autoplay": "autoplay"; "autoplayInterval": "autoplayInterval"; "pauseOnHover": "pauseOnHover"; "dots": "dots"; "borderRadius": "borderRadius"; "margin": "margin"; "objectFit": "objectFit"; "minSwipeDistance": "minSwipeDistance"; "transitionDuration": "transitionDuration"; "transitionTimingFunction": "transitionTimingFunction"; "videoProperties": "videoProperties"; "counterSeparator": "counterSeparator"; "overflowCellsLimit": "overflowCellsLimit"; "listeners": "listeners"; "cellsToShow": "cellsToShow"; "cellsToScroll": "cellsToScroll"; "freeScroll": "freeScroll"; "arrows": "arrows"; "arrowsOutside": "arrowsOutside"; "arrowsTheme": "arrowsTheme"; "images": "images"; "cellWidth": "cellWidth"; "isCounter": "counter"; "loop": "loop"; "lightDOM": "lightDOM"; }, { "events": "events"; }, never, ["*"], false>;
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "carousel, [carousel]", never, { "id": "id"; "height": "height"; "width": "width"; "autoplay": "autoplay"; "autoplayInterval": "autoplayInterval"; "pauseOnHover": "pauseOnHover"; "dots": "dots"; "borderRadius": "borderRadius"; "margin": "margin"; "objectFit": "objectFit"; "minSwipeDistance": "minSwipeDistance"; "transitionDuration": "transitionDuration"; "transitionTimingFunction": "transitionTimingFunction"; "videoProperties": "videoProperties"; "counterSeparator": "counterSeparator"; "overflowCellsLimit": "overflowCellsLimit"; "listeners": "listeners"; "cellsToShow": "cellsToShow"; "cellsToScroll": "cellsToScroll"; "freeScroll": "freeScroll"; "arrows": "arrows"; "arrowsOutside": "arrowsOutside"; "arrowsTheme": "arrowsTheme"; "cellWidth": "cellWidth"; "isCounter": "counter"; }, { "events": "events"; }, never, ["*"], false>;
}

@@ -19,8 +19,4 @@ import { Properties } from './interfaces';

get cellLength(): any;
get cellLengthInLightDOMMode(): any;
get lastCellIndex(): number;
get overflowCellsLimit(): any;
get cellLimit(): any;
get isLightDOM(): boolean;
get images(): any;
get autoplayIsPossible(): boolean;

@@ -33,3 +29,2 @@ get margin(): number;

get numberOfVisibleCells(): any;
get lapCounter(): number;
get slideCounter(): any;

@@ -36,0 +31,0 @@ constructor(properties: Properties, utils: any, cells: any, container: any, slide: any);

@@ -25,9 +25,7 @@ import { Properties as CarouselProperties, Image } from './interfaces';

imageUtils: ImageUtils;
get images(): any;
get cellLength(): number;
get fullCellWidth(): number;
get cellLengthInLightDOMMode(): any;
get cellLengthInLightDOMMode(): number;
get numberOfVisibleCells(): any;
get overflowCellsLimit(): any;
get isLightDOM(): boolean;
constructor(carouselProperties: CarouselProperties, utils: any);

@@ -38,10 +36,4 @@ updateProperties(carouselProperties: CarouselProperties): void;

getCellPositionInContainer(cellIndexInDOMTree: number): number;
getCellIndexInContainer(cellIndexInDOMTree: number): any;
getImage(cellIndex: number): {
image: any;
imageIndex: any;
} | undefined;
getImageIndex(cellIndexInDOMTree: number): any;
setCounter(value: number): void;
init(carouselProperties: CarouselProperties): void;
}

@@ -18,3 +18,2 @@ import { Properties as CarouselProperties } from './interfaces';

get overflowCellsLimit(): any;
get images(): any;
get element(): HTMLElement;

@@ -27,7 +26,5 @@ get freeScroll(): boolean;

get cellLength(): any;
get cellLengthInLightDOMMode(): any;
get tooFewCells(): boolean;
get disabled(): boolean;
get margin(): number;
get isLightDOM(): boolean;
constructor(carouselProperties: CarouselProperties, utils: any, cells: any);

@@ -34,0 +31,0 @@ updateProperties(carouselProperties: CarouselProperties): void;

@@ -5,5 +5,3 @@ export interface Properties {

hostElement: HTMLElement;
images: any;
cellWidth: number;
loop: boolean;
autoplayInterval: number;

@@ -20,3 +18,2 @@ autoplayIsPossible: boolean;

freeScroll: boolean;
lightDOM: boolean;
}

@@ -23,0 +20,0 @@ export interface Images {

@@ -29,5 +29,3 @@ import { Properties as CarouselProperties } from './interfaces';

get overflowCellsLimit(): any;
get images(): any;
get cellLength(): any;
get isLightDOM(): boolean;
constructor(carouselProperties: CarouselProperties, utils: any, cells: any, container: any);

@@ -58,6 +56,4 @@ updateProperties(carouselProperties: CarouselProperties): void;

alignContainerFast(): void;
isLightDOMMode(counter: number): boolean | undefined;
ifLeftDOMModeAtEnd(counter: number): boolean | undefined;
ifLeftDOMModeToBeginning(counter: number): boolean | undefined;
setVisibleWidth(): void;
}
import { Properties as CarouselProperties } from './interfaces';
export declare class Utils {
private carouselProperties;
get images(): any;
get margin(): number;
get overflowCellsLimit(): number;
get isImagesLessCellLimit(): boolean;
get numberOfVisibleCells(): number;

@@ -9,0 +7,0 @@ get visibleCellsOverflowContainer(): boolean;

2

package.json
{
"name": "carousel-angular",
"version": "1.1.0",
"version": "1.5.0",
"description": "A simple carousel component for Angular 14+ based on 'angular-responsive-carousel' by Ivy Laboratory http://ivylab.space",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet