@datarailsshared/datarailsshared 1.6.67 → 1.6.69
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/datarailsshared-datarailsshared-1.6.69.tgz +0 -0
- package/esm2022/lib/dr-gallery/dr-gallery.component.mjs +144 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +266 -129
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-gallery/dr-gallery.component.d.ts +31 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/datarailsshared-datarailsshared-1.6.67.tgz +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnChanges, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DrGalleryComponent<T = any> implements OnChanges {
|
|
4
|
+
private cdr;
|
|
5
|
+
template: TemplateRef<{
|
|
6
|
+
$implicit: T;
|
|
7
|
+
}>;
|
|
8
|
+
private _items;
|
|
9
|
+
private _itemsCount;
|
|
10
|
+
readonly defaultTransition = "250ms ease-in-out";
|
|
11
|
+
readonly noTransition = "0ms";
|
|
12
|
+
set items(value: any[]);
|
|
13
|
+
set itemsCount(value: number);
|
|
14
|
+
get items(): any[];
|
|
15
|
+
get itemsCount(): number;
|
|
16
|
+
get centerIndex(): number | null;
|
|
17
|
+
activeIndex: number;
|
|
18
|
+
carouselItems: any[];
|
|
19
|
+
transform: string;
|
|
20
|
+
transition: string;
|
|
21
|
+
ngOnChanges(): void;
|
|
22
|
+
constructor(cdr: ChangeDetectorRef);
|
|
23
|
+
private initializeCarousel;
|
|
24
|
+
getStyle(): Partial<CSSStyleDeclaration>;
|
|
25
|
+
prev(): void;
|
|
26
|
+
next(): void;
|
|
27
|
+
private resetIndexAfterDelay;
|
|
28
|
+
private updateTransform;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DrGalleryComponent<any>, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DrGalleryComponent<any>, "dr-gallery", never, { "items": { "alias": "items"; "required": false; }; "itemsCount": { "alias": "itemsCount"; "required": false; }; }, {}, ["template"], never, true, never>;
|
|
31
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -153,4 +153,5 @@ export { DrTagsConstructorModule } from './lib/dr-tags-constructor/dr-tags-const
|
|
|
153
153
|
export { DrToastrModule } from './lib/dr-toastr/dr-toastr.module';
|
|
154
154
|
export { DrCodeEditorModule } from './lib/dr-code-editor/dr-code-editor.module';
|
|
155
155
|
export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
|
|
156
|
+
export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
|
|
156
157
|
export * from './lib/drawer/public-api';
|
|
Binary file
|