@datarailsshared/datarailsshared 1.6.65 → 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.
@@ -14,8 +14,11 @@ export declare class DialogWrapperComponent implements AfterViewInit, OnDestroy
14
14
  isLoading: boolean;
15
15
  saving$: BehaviorSubject<boolean>;
16
16
  destroy$: Subject<any>;
17
+ isMaximized: boolean;
18
+ readonly isMaximized$: BehaviorSubject<boolean>;
17
19
  constructor(dialogRef: MatDialogRef<DialogWrapperComponent>, cdr: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver, dialogData: DataProp);
18
20
  ngAfterViewInit(): Error;
21
+ toggleMaximize(): void;
19
22
  closeDialog(data?: any): void;
20
23
  enableAcceptButton(): void;
21
24
  onDecline(): void;
@@ -9,6 +9,7 @@ export interface DialogData<T = any> extends DialogConfig {
9
9
  title?: string;
10
10
  searchable?: boolean;
11
11
  clearable?: boolean;
12
+ showMaximizeBtn?: boolean;
12
13
  subtitle?: string;
13
14
  content?: any;
14
15
  contentIcon?: {
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.6.65",
3
+ "version": "1.6.69",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
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';