@datarailsshared/datarailsshared 1.4.27 → 1.4.29-tigers

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.
@@ -1,10 +1,6 @@
1
- import { OnInit } from '@angular/core';
2
- export declare class ISpinnerOptions extends DOMRect {
3
- size: 'small' | 'medium' | 'big' | 'giant';
4
- }
5
- export declare class DrSpinnerComponent implements OnInit {
6
- height: string;
1
+ import { ISpinnerOptions } from '../models/spinnerOptions';
2
+ export declare class DrSpinnerComponent {
7
3
  private _options;
8
4
  set options(data: ISpinnerOptions);
9
- ngOnInit(): void;
5
+ get options(): ISpinnerOptions;
10
6
  }
@@ -1,4 +1,5 @@
1
1
  import { ComponentFactoryResolver, ElementRef, OnChanges, OnDestroy, Renderer2, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import { SpinnerSize, SpinnerType } from '../models/spinnerOptions';
2
3
  export declare class DrSpinnerDirective implements OnChanges, OnDestroy {
3
4
  private componentFactoryResolver;
4
5
  private viewContainerRef;
@@ -7,7 +8,8 @@ export declare class DrSpinnerDirective implements OnChanges, OnDestroy {
7
8
  private _document;
8
9
  contentCmpRef: any;
9
10
  drSpinner: any;
10
- drSpinnerSize: 'small' | 'medium' | 'big' | 'giant';
11
+ drSpinnerSize: SpinnerSize;
12
+ drSpinnerType: SpinnerType;
11
13
  constructor(componentFactoryResolver: ComponentFactoryResolver, viewContainerRef: ViewContainerRef, el: ElementRef, rdr: Renderer2, _document: any);
12
14
  ngOnChanges(changes: SimpleChanges): void;
13
15
  ngOnDestroy(): void;
@@ -0,0 +1,14 @@
1
+ export declare enum SpinnerType {
2
+ LOGO = "logo",
3
+ CIRCLE = "circle"
4
+ }
5
+ export declare enum SpinnerSize {
6
+ SMALL = "small",
7
+ MEDIUM = "medium",
8
+ BIG = "big",
9
+ GIANT = "giant"
10
+ }
11
+ export interface ISpinnerOptions extends DOMRect {
12
+ spinnerType?: SpinnerType;
13
+ spinnerSize?: SpinnerSize;
14
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.4.27",
3
+ "version": "1.4.29-tigers",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -39,6 +39,7 @@ export * from './lib/dr-accordion/accordion-item-body.component';
39
39
  export * from './lib/dr-inputs/dr-model-debounce-change.directive';
40
40
  export * from './lib/models/datePicker';
41
41
  export { TAG_TYPES, ITag, IDateTag, IListTag, ITagForServer } from './lib/models/serverTags';
42
+ export { ISpinnerOptions, SpinnerType, SpinnerSize } from './lib/models/spinnerOptions';
42
43
  export { ElPosition, IDropdown, IDropdownItem, IDropdownActionIcon, IDropdownCoordinate, IDropdownCallEvent, IDropdownAction } from './lib/models/dropdown';
43
44
  export { DrPopoverRef, IDrPopoverComponentModel, Point, DrPopoverConfig, IPopoverManualClosing, DrPopoverAlignment, DrPopoverAlignmentDimension, } from './lib/models/popover';
44
45
  export { DateTagModule } from './lib/date-tags/date-tag.module';