@datarailsshared/datarailsshared 1.3.8 → 1.3.11

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.
Files changed (35) hide show
  1. package/_datarailsshared.styles.css +4 -0
  2. package/assets/styles/_styles.scss +2 -0
  3. package/bundles/datarailsshared-datarailsshared.umd.js +217 -71
  4. package/bundles/datarailsshared-datarailsshared.umd.js.map +1 -1
  5. package/datarailsshared-datarailsshared-1.3.11.tgz +0 -0
  6. package/datarailsshared-datarailsshared.metadata.json +1 -1
  7. package/esm2015/lib/dr-avatar/dr-avatar.component.js +17 -10
  8. package/esm2015/lib/dr-dropdown/dr-dropdown.component.js +5 -3
  9. package/esm2015/lib/dr-inputs/dr-date-picker/dr-date-picker.component.js +2 -2
  10. package/esm2015/lib/dr-inputs/dr-input/dr-input.component.js +17 -21
  11. package/esm2015/lib/dr-inputs/dr-toggle/dr-toggle.component.js +2 -2
  12. package/esm2015/lib/dr-popover/dr-popover-ref.js +15 -0
  13. package/esm2015/lib/dr-popover/dr-popover.component.js +23 -20
  14. package/esm2015/lib/dr-popover/dr-popover.directive.js +65 -20
  15. package/esm2015/lib/dr-popover/dr-popover.module.js +4 -4
  16. package/esm2015/lib/dr-tabs/dr-tab.component.js +23 -0
  17. package/esm2015/lib/dr-tabs/dr-tabs.component.js +27 -0
  18. package/esm2015/lib/dr-tabs/dr-tabs.module.js +30 -0
  19. package/esm2015/lib/models/popover.js +2 -0
  20. package/esm2015/public-api.js +5 -1
  21. package/fesm2015/datarailsshared-datarailsshared.js +207 -71
  22. package/fesm2015/datarailsshared-datarailsshared.js.map +1 -1
  23. package/lib/dr-avatar/dr-avatar.component.d.ts +4 -2
  24. package/lib/dr-inputs/dr-input/dr-input.component.d.ts +11 -13
  25. package/lib/dr-inputs/dr-toggle/dr-toggle.component.d.ts +1 -1
  26. package/lib/dr-popover/dr-popover-ref.d.ts +12 -0
  27. package/lib/dr-popover/dr-popover.component.d.ts +8 -5
  28. package/lib/dr-popover/dr-popover.directive.d.ts +20 -9
  29. package/lib/dr-tabs/dr-tab.component.d.ts +8 -0
  30. package/lib/dr-tabs/dr-tabs.component.d.ts +10 -0
  31. package/lib/dr-tabs/dr-tabs.module.d.ts +2 -0
  32. package/lib/models/popover.d.ts +1 -0
  33. package/package.json +1 -1
  34. package/public-api.d.ts +4 -0
  35. package/datarailsshared-datarailsshared-1.3.8.tgz +0 -0
@@ -1,14 +1,15 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, Input, Output, ChangeDetectionStrategy, ChangeDetectorRef, forwardRef, ElementRef, Renderer2, ContentChild, HostBinding, TemplateRef, Directive, HostListener, ComponentFactoryResolver, ViewContainerRef, Inject, ViewChild, Optional, Injectable, Pipe, NgModule } from '@angular/core';
2
+ import { EventEmitter, Component, ViewEncapsulation, Input, Output, ChangeDetectionStrategy, ChangeDetectorRef, forwardRef, ElementRef, Renderer2, HostBinding, ContentChild, TemplateRef, Directive, HostListener, ComponentFactoryResolver, ViewContainerRef, Inject, ViewChild, Optional, Injector, Injectable, Pipe, ContentChildren, NgModule } from '@angular/core';
3
3
  import { FormControl, NG_VALUE_ACCESSOR, NgControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
4
4
  import { DateAdapter, MAT_DATE_LOCALE, MAT_DATE_FORMATS, MatNativeDateModule } from '@angular/material/core';
5
5
  import { MomentDateAdapter, MAT_MOMENT_DATE_ADAPTER_OPTIONS, MatMomentDateModule } from '@angular/material-moment-adapter';
6
6
  import * as momentImported from 'moment';
7
7
  import { transition, style, animate, trigger } from '@angular/animations';
8
- import { Overlay, OverlayPositionBuilder } from '@angular/cdk/overlay';
8
+ import { Overlay, OverlayPositionBuilder, OverlayConfig } from '@angular/cdk/overlay';
9
9
  import { ComponentPortal } from '@angular/cdk/portal';
10
10
  import { DOCUMENT, CommonModule } from '@angular/common';
11
11
  import { Subject } from 'rxjs';
12
+ import { first } from 'rxjs/operators';
12
13
  import { MatDatepickerModule } from '@angular/material/datepicker';
13
14
  import { MatFormFieldModule } from '@angular/material/form-field';
14
15
  import { MatInputModule } from '@angular/material/input';
@@ -16,6 +17,7 @@ import { MatSelectModule } from '@angular/material/select';
16
17
  import { MatButtonToggleModule } from '@angular/material/button-toggle';
17
18
  import { NgSelectModule } from '@ng-select/ng-select';
18
19
  import { MatTooltipModule } from '@angular/material/tooltip';
20
+ import { MatTabsModule } from '@angular/material/tabs';
19
21
 
20
22
  // import {*} from ""
21
23
  class DateTagComponent {
@@ -885,6 +887,11 @@ class DrInputComponent {
885
887
  this.elementRef = elementRef;
886
888
  this.renderer = renderer;
887
889
  this.cdr = cdr;
890
+ this.type = 'string';
891
+ this.placeholder = '';
892
+ this.readonly = false;
893
+ this.clearable = false;
894
+ this.blur = new EventEmitter();
888
895
  this.value = null;
889
896
  this._disabled = null;
890
897
  this._elementClass = [];
@@ -892,25 +899,18 @@ class DrInputComponent {
892
899
  show: false,
893
900
  showOnFocus: false,
894
901
  focusSet: false,
895
- checkFocusOut: (target, element) => { return true; },
902
+ checkFocusOut: (target, element) => true,
896
903
  text: 'Save'
897
904
  };
898
- this.onChange = () => { };
899
- this.onTouched = () => { };
900
- this.type = 'string';
901
- this.placeholder = '';
902
- this.readonly = false;
903
- this.clearable = false;
904
- this.min = null;
905
- this.max = null;
906
905
  this.searchHandler = new EventEmitter();
907
906
  this.buttonHandler = new EventEmitter();
908
907
  this.tabindex = -1;
908
+ this.onChange = () => { };
909
+ this.onTouched = () => { };
909
910
  }
910
911
  set disabled(value) {
911
912
  this.setDisabledState(value);
912
913
  }
913
- ;
914
914
  set buttonOptions(value) {
915
915
  var _a, _b;
916
916
  if (value) {
@@ -934,7 +934,6 @@ class DrInputComponent {
934
934
  }
935
935
  this.cdr.markForCheck();
936
936
  }
937
- ;
938
937
  get elementClass() {
939
938
  return this._elementClass.join(' ');
940
939
  }
@@ -997,14 +996,14 @@ class DrInputComponent {
997
996
  DrInputComponent.decorators = [
998
997
  { type: Component, args: [{
999
998
  selector: 'dr-input',
1000
- template: "<ng-content select=\"[prefixIcon]\"></ng-content>\r\n<input [(ngModel)]=\"value\"\r\n (ngModelChange)=\"updateChanges()\"\r\n (blur)=\"onTouched()\"\r\n [disabled]=\"_disabled\"\r\n [readonly]=\"readonly\"\r\n [type]=\"type\"\r\n [placeholder]=\"placeholder\"\r\n [matDatepicker]=\"matDatePicker\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n>\r\n<span class=\"clear-icon\" (click)=\"writeValue(null)\"></span>\r\n<span *ngIf=\"type === 'search'\" class=\"search-icon\" (click)=\"onSearchClicked($event)\"></span>\r\n<ng-content select=\"[suffixIcon]\"></ng-content>\r\n<button *ngIf=\"_buttonOptions.show || (_buttonOptions.showOnFocus && _buttonOptions.focusSet)\"\r\n (click)=\"onButtonClicked($event)\">\r\n {{_buttonOptions.text}}\r\n</button>\r\n",
999
+ template: "<ng-content select=\"[prefixIcon]\"></ng-content>\r\n<input [(ngModel)]=\"value\"\r\n (ngModelChange)=\"updateChanges()\"\r\n (blur)=\"blur.emit(value); onTouched()\"\r\n [disabled]=\"_disabled\"\r\n [readonly]=\"readonly\"\r\n [type]=\"type\"\r\n [placeholder]=\"placeholder\"\r\n [name]=\"name\"\r\n>\r\n<span class=\"clear-icon\" (click)=\"writeValue(null)\"></span>\r\n<span *ngIf=\"type === 'search'\" class=\"search-icon\" (click)=\"onSearchClicked($event)\"></span>\r\n<ng-content select=\"[suffixIcon]\"></ng-content>\r\n<button *ngIf=\"_buttonOptions.show || (_buttonOptions.showOnFocus && _buttonOptions.focusSet)\"\r\n (click)=\"onButtonClicked($event)\">\r\n {{_buttonOptions.text}}\r\n</button>\r\n",
1001
1000
  providers: [{
1002
1001
  provide: NG_VALUE_ACCESSOR,
1003
1002
  useExisting: forwardRef(() => DrInputComponent),
1004
1003
  multi: true
1005
1004
  }],
1006
1005
  changeDetection: ChangeDetectionStrategy.OnPush,
1007
- styles: [":host{position:relative;width:100%;display:flex;flex-direction:row;min-height:32px;height:32px;font-size:14px;font-family:\"Nunito Sans\",sans-serif;border:1px solid #C3C4CE;border-radius:6px;color:#85889c;padding:0 8px;overflow:hidden}:host:hover{border-color:#85889c}:host:focus-within{border-color:#21b8f1!important;color:#151b3f}:host.disabled{pointer-events:none;border:none;color:#85889c;background:#E5E6EA}:host.ng-valid.ng-dirty{border-color:#03a678}:host.ng-invalid.ng-dirty:not(:focus-within){border-color:#de2833!important}:host.ng-untouched.ng-valid{border-color:#c3c4ce}:host input{display:flex;flex-grow:1;height:100%;border:none;padding:4px 0;text-align:left}:host input:disabled{border:none;color:#85889c;background:transparent}:host input::-webkit-search-decoration,:host input::-webkit-search-cancel-button,:host input::-webkit-search-results-button,:host input::-webkit-search-results-decoration{-webkit-appearance:none}:host .clear-icon{visibility:hidden}:host.clearable .clear-icon,:host.ng-touched.ng-invalid .clear-icon{visibility:visible;content:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91783 5.00001L9.03353 1.88395C9.11924 1.79818 9.16651 1.68374 9.16665 1.56171C9.16665 1.43962 9.11937 1.32504 9.03353 1.2394L8.76047 0.966415C8.67463 0.880433 8.56023 0.833344 8.43808 0.833344C8.31612 0.833344 8.20166 0.880433 8.11582 0.966415L5.00013 4.08227L1.88428 0.966415C1.79858 0.880433 1.68404 0.833344 1.56196 0.833344C1.44001 0.833344 1.32556 0.880433 1.23985 0.966415L0.966646 1.2394C0.788869 1.41719 0.788869 1.70637 0.966646 1.88395L4.08242 5.00001L0.966646 8.11593C0.880873 8.20184 0.833677 8.31628 0.833677 8.43831C0.833677 8.56034 0.880873 8.67478 0.966646 8.76062L1.23978 9.03361C1.32548 9.11952 1.44 9.16668 1.56188 9.16668C1.68397 9.16668 1.7985 9.11952 1.88421 9.03361L5.00005 5.91769L8.11575 9.03361C8.20159 9.11952 8.31605 9.16668 8.438 9.16668H8.43815C8.56017 9.16668 8.67456 9.11952 8.7604 9.03361L9.03346 8.76062C9.11916 8.67484 9.16643 8.56034 9.16643 8.43831C9.16643 8.31628 9.11916 8.20184 9.03346 8.116L5.91783 5.00001Z\" fill=\"%2351566F\"/></svg> ');margin:auto 8px;cursor:pointer}:host span+span,:host span+img{margin-left:0}:host.search-type{padding:0 16px;border-radius:16px}:host.search-type.ng-valid{border-color:#c3c4ce}:host.search-type .search-icon{content:url('data:image/svg+xml; utf8, <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.5816 10.2097C11.4878 10.1157 11.3605 10.0629 11.2277 10.0629H10.8175C10.7473 10.0629 10.6799 10.035 10.6303 9.98534C10.5322 9.88724 10.527 9.73044 10.6132 9.62178C11.4154 8.6112 11.8925 7.33534 11.8925 5.94625C11.8925 2.66209 9.23042 0 5.94625 0C2.66209 0 0 2.66209 0 5.94625C0 9.23042 2.66209 11.8925 5.94625 11.8925C7.33523 11.8925 8.611 11.4155 9.62155 10.6172C9.7304 10.5312 9.88711 10.5366 9.9852 10.6347C10.0349 10.6845 10.0629 10.7519 10.0629 10.8223V11.2277C10.0629 11.3605 10.1157 11.4878 10.2097 11.5816L14.2834 15.6472C14.4787 15.8421 14.795 15.8419 14.9901 15.6468L15.6468 14.9901C15.8419 14.795 15.8421 14.4787 15.6472 14.2834L11.5816 10.2097ZM5.94625 10.0629C3.67296 10.0629 1.82962 8.21955 1.82962 5.94625C1.82962 3.67296 3.67296 1.82962 5.94625 1.82962C8.21955 1.82962 10.0629 3.67296 10.0629 5.94625C10.0629 8.21955 8.21955 10.0629 5.94625 10.0629Z\" fill=\"%23BCBCBC\"/></svg> ');margin:auto 0 auto 8px;cursor:pointer}:host.with-button{padding-right:0}:host.with-button button{color:#0061ff;background:#F6F7F8;height:100%;width:auto;padding:0 8px;display:flex;align-items:center;border:none;border-left:1px solid #C3C4CE}:host ::ng-deep img[prefixIcon],:host ::ng-deep img[suffixIcon],:host ::ng-deep i[prefixIcon],:host ::ng-deep i[suffixIcon]{position:relative;margin:auto 8px}:host ::ng-deep img[prefixIcon],:host ::ng-deep i[prefixIcon]{margin-left:0}:host ::ng-deep img[suffixIcon],:host ::ng-deep i[suffixIcon]{margin-right:0}\n"]
1006
+ styles: [":host{position:relative;width:100%;display:flex;flex-direction:row;min-height:32px;height:32px;font-size:14px;font-family:\"Nunito Sans\",sans-serif;border:1px solid #C3C4CE;border-radius:6px;color:#85889c;padding:0 8px;overflow:hidden;outline:none}:host:hover{border-color:#85889c}:host:focus-within{border-color:#21b8f1!important;color:#151b3f}:host.disabled{pointer-events:none;border:none;color:#85889c;background:#E5E6EA}:host.ng-valid.ng-dirty{border-color:#03a678}:host.ng-invalid.ng-dirty:not(:focus-within){border-color:#de2833!important}:host.ng-untouched.ng-valid{border-color:#c3c4ce}:host input{display:flex;flex-grow:1;height:100%;border:none;padding:4px 0;text-align:left}:host input:disabled{border:none;color:#85889c;background:transparent}:host input::-webkit-search-decoration,:host input::-webkit-search-cancel-button,:host input::-webkit-search-results-button,:host input::-webkit-search-results-decoration{-webkit-appearance:none}:host .clear-icon{visibility:hidden}:host.clearable .clear-icon,:host.ng-touched.ng-invalid .clear-icon{visibility:visible;content:url('data:image/svg+xml; utf8, <svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.91783 5.00001L9.03353 1.88395C9.11924 1.79818 9.16651 1.68374 9.16665 1.56171C9.16665 1.43962 9.11937 1.32504 9.03353 1.2394L8.76047 0.966415C8.67463 0.880433 8.56023 0.833344 8.43808 0.833344C8.31612 0.833344 8.20166 0.880433 8.11582 0.966415L5.00013 4.08227L1.88428 0.966415C1.79858 0.880433 1.68404 0.833344 1.56196 0.833344C1.44001 0.833344 1.32556 0.880433 1.23985 0.966415L0.966646 1.2394C0.788869 1.41719 0.788869 1.70637 0.966646 1.88395L4.08242 5.00001L0.966646 8.11593C0.880873 8.20184 0.833677 8.31628 0.833677 8.43831C0.833677 8.56034 0.880873 8.67478 0.966646 8.76062L1.23978 9.03361C1.32548 9.11952 1.44 9.16668 1.56188 9.16668C1.68397 9.16668 1.7985 9.11952 1.88421 9.03361L5.00005 5.91769L8.11575 9.03361C8.20159 9.11952 8.31605 9.16668 8.438 9.16668H8.43815C8.56017 9.16668 8.67456 9.11952 8.7604 9.03361L9.03346 8.76062C9.11916 8.67484 9.16643 8.56034 9.16643 8.43831C9.16643 8.31628 9.11916 8.20184 9.03346 8.116L5.91783 5.00001Z\" fill=\"%2351566F\"/></svg> ');margin:auto 8px;cursor:pointer}:host span+span,:host span+img{margin-left:0}:host.search-type{padding:0 16px;border-radius:16px}:host.search-type.ng-valid{border-color:#c3c4ce}:host.search-type .search-icon{content:url('data:image/svg+xml; utf8, <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.5816 10.2097C11.4878 10.1157 11.3605 10.0629 11.2277 10.0629H10.8175C10.7473 10.0629 10.6799 10.035 10.6303 9.98534C10.5322 9.88724 10.527 9.73044 10.6132 9.62178C11.4154 8.6112 11.8925 7.33534 11.8925 5.94625C11.8925 2.66209 9.23042 0 5.94625 0C2.66209 0 0 2.66209 0 5.94625C0 9.23042 2.66209 11.8925 5.94625 11.8925C7.33523 11.8925 8.611 11.4155 9.62155 10.6172C9.7304 10.5312 9.88711 10.5366 9.9852 10.6347C10.0349 10.6845 10.0629 10.7519 10.0629 10.8223V11.2277C10.0629 11.3605 10.1157 11.4878 10.2097 11.5816L14.2834 15.6472C14.4787 15.8421 14.795 15.8419 14.9901 15.6468L15.6468 14.9901C15.8419 14.795 15.8421 14.4787 15.6472 14.2834L11.5816 10.2097ZM5.94625 10.0629C3.67296 10.0629 1.82962 8.21955 1.82962 5.94625C1.82962 3.67296 3.67296 1.82962 5.94625 1.82962C8.21955 1.82962 10.0629 3.67296 10.0629 5.94625C10.0629 8.21955 8.21955 10.0629 5.94625 10.0629Z\" fill=\"%23BCBCBC\"/></svg> ');margin:auto 0 auto 8px;cursor:pointer}:host.with-button{padding-right:0}:host.with-button button{color:#0061ff;background:#F6F7F8;height:100%;width:auto;padding:0 8px;display:flex;align-items:center;border:none;border-left:1px solid #C3C4CE}:host ::ng-deep img[prefixIcon],:host ::ng-deep img[suffixIcon],:host ::ng-deep i[prefixIcon],:host ::ng-deep i[suffixIcon]{position:relative;margin:auto 8px}:host ::ng-deep img[prefixIcon],:host ::ng-deep i[prefixIcon]{margin-left:0}:host ::ng-deep img[suffixIcon],:host ::ng-deep i[suffixIcon]{margin-right:0}\n"]
1008
1007
  },] }
1009
1008
  ];
1010
1009
  DrInputComponent.ctorParameters = () => [
@@ -1013,21 +1012,20 @@ DrInputComponent.ctorParameters = () => [
1013
1012
  { type: ChangeDetectorRef }
1014
1013
  ];
1015
1014
  DrInputComponent.propDecorators = {
1015
+ disabled: [{ type: Input }],
1016
+ buttonOptions: [{ type: Input }],
1016
1017
  type: [{ type: Input }],
1018
+ name: [{ type: Input }],
1017
1019
  placeholder: [{ type: Input }],
1018
1020
  readonly: [{ type: Input }],
1019
1021
  clearable: [{ type: Input }],
1020
- min: [{ type: Input }],
1021
- max: [{ type: Input }],
1022
- matDatePicker: [{ type: Input }],
1023
- disabled: [{ type: Input }],
1024
- buttonOptions: [{ type: Input }],
1022
+ blur: [{ type: Output }],
1023
+ elementClass: [{ type: HostBinding, args: ['class',] }],
1025
1024
  searchHandler: [{ type: Output }],
1026
1025
  buttonHandler: [{ type: Output }],
1027
1026
  prefixIcon: [{ type: ContentChild, args: ['prefix', { static: false },] }],
1028
1027
  suffixIcon: [{ type: ContentChild, args: ['suffix', { static: false },] }],
1029
- tabindex: [{ type: HostBinding, args: ['tabindex',] }],
1030
- elementClass: [{ type: HostBinding, args: ['class',] }]
1028
+ tabindex: [{ type: HostBinding, args: ['tabindex',] }]
1031
1029
  };
1032
1030
 
1033
1031
  class DrSelectComponent {
@@ -1094,22 +1092,29 @@ DrSelectComponent.propDecorators = {
1094
1092
 
1095
1093
  class DrAvatarComponent {
1096
1094
  constructor() {
1097
- this.users = [];
1098
1095
  this.userClicked = new EventEmitter();
1096
+ this.parsedUsers = [];
1097
+ }
1098
+ set users(user) {
1099
+ if (user) {
1100
+ this.parsedUsers = this.parseUsers(user);
1101
+ }
1099
1102
  }
1100
1103
  ngOnChanges(changes) {
1101
- var _a;
1102
- if (changes.users && ((_a = changes.users.currentValue) === null || _a === void 0 ? void 0 : _a.length)) {
1103
- this.getFirstUsers().forEach((user, index) => user.class = `icon-${index}`);
1104
+ if (changes.users) {
1105
+ this.getFirstUsers().forEach((user) => user.class = `icon-${this.getRandomValue(5)}`);
1104
1106
  this.getLastUsers().forEach((user) => user.class = `icon-${this.getRandomValue(5)}`);
1105
1107
  }
1106
1108
  }
1109
+ parseUsers(value) {
1110
+ return Array.isArray(value) ? value : Array.of(value);
1111
+ }
1107
1112
  getFirstUsers() {
1108
- return this.users.slice(0, 2);
1113
+ return this.parsedUsers.slice(0, 2);
1109
1114
  }
1110
1115
  getLastUsers() {
1111
- if (this.users.length > 2) {
1112
- return this.users.slice(2, this.users.length - 1);
1116
+ if (this.parsedUsers.length > 2) {
1117
+ return this.parsedUsers.slice(2, this.parsedUsers.length - 1);
1113
1118
  }
1114
1119
  return [];
1115
1120
  }
@@ -1120,7 +1125,7 @@ class DrAvatarComponent {
1120
1125
  DrAvatarComponent.decorators = [
1121
1126
  { type: Component, args: [{
1122
1127
  selector: 'dr-avatar',
1123
- template: "<div class=\"users-section\">\r\n <div class=\"users-section__user\"\r\n [class]=\"user.class\"\r\n *ngFor=\"let user of getFirstUsers()\"\r\n (click)=\"userClicked.emit()\"\r\n [matTooltip]=\"user.first_name + ' ' + user.last_name\"\r\n [matTooltipPosition]=\"'below'\">\r\n {{user.first_name[0] + user.last_name[0]}}\r\n </div>\r\n\r\n <div class=\"users-section__user icon-2\" *ngIf=\"users.length > 2\"\r\n [drTooltip]=\"usersTemplate\"\r\n [drTooltipPosition]=\"'bottom'\">\r\n {{getLastUsers().length}}\r\n </div>\r\n</div>\r\n\r\n<ng-template #usersTemplate>\r\n <div *ngFor=\"let user of getLastUsers()\" class=\"users-popover-item\">\r\n <div class=\"users-section__user\"\r\n (click)=\"userClicked.emit()\"\r\n [class]=\"user.class\">\r\n {{user.first_name[0] + user.last_name[0]}}\r\n </div>\r\n <span class=\"username\">\r\n {{user.first_name + ' ' + user.last_name}}\r\n </span>\r\n </div>\r\n</ng-template>\r\n",
1128
+ template: "<div class=\"users-section\">\r\n <div class=\"users-section__user\"\r\n [class]=\"user.class\"\r\n *ngFor=\"let user of getFirstUsers()\"\r\n (click)=\"userClicked.emit()\"\r\n [matTooltip]=\"user.first_name + ' ' + user.last_name\"\r\n [matTooltipPosition]=\"'below'\">\r\n {{user.first_name[0] + user.last_name[0]}}\r\n </div>\r\n\r\n <div class=\"users-section__user icon-2\" *ngIf=\"parsedUsers.length > 2\"\r\n [drTooltip]=\"usersTemplate\"\r\n [drTooltipPosition]=\"'bottom'\">\r\n {{getLastUsers().length}}\r\n </div>\r\n</div>\r\n\r\n<ng-template #usersTemplate>\r\n <div *ngFor=\"let user of getLastUsers()\" class=\"users-popover-item\">\r\n <div class=\"users-section__user\"\r\n (click)=\"userClicked.emit()\"\r\n [class]=\"user.class\">\r\n {{user.first_name[0] + user.last_name[0]}}\r\n </div>\r\n <span class=\"username\">\r\n {{user.first_name + ' ' + user.last_name}}\r\n </span>\r\n </div>\r\n</ng-template>\r\n",
1124
1129
  changeDetection: ChangeDetectionStrategy.OnPush,
1125
1130
  styles: [":host{width:auto}.users-section{display:flex;position:absolute;height:28px;top:5px}.users-popover-item{display:flex;align-items:center;margin:12px}.users-popover-item .username{color:#51566f;font-size:14px}.users-popover-item .users-section__user{margin-right:8px}.users-section__user{display:flex;justify-content:center;align-items:center;height:28px;width:28px;border-radius:14px;background:red;color:#fff;font-size:12px}.users-section__user.icon-0{background-color:#7b61ff}.users-section__user.icon-1{background-color:#21b8f1}.users-section__user.icon-2{background-color:#2969b0}.users-section__user.icon-3{background-color:#51566f}.users-section__user.icon-4{background-color:#0061ff}.users-section__user:hover{cursor:pointer}.users-section__user:not(:first-child){margin-left:4px}\n"]
1126
1131
  },] }
@@ -1390,7 +1395,7 @@ DrToggleComponent.decorators = [
1390
1395
  { provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }
1391
1396
  ],
1392
1397
  changeDetection: ChangeDetectionStrategy.OnPush,
1393
- styles: [":host{display:flex;justify-content:space-between;align-items:center}:host .toggle-container.disabled{pointer-events:none}:host .toggle-container.disabled .toggle-body{background-color:#8f9bb329!important}:host .toggle-container.disabled .toggle-body i{background:rgba(143,155,179,.24)!important}:host .toggle-container.success input:checked+span.toggle-body{background-color:#03a678}:host .toggle-container input{display:none}:host .toggle-container input:checked+span.toggle-body>i,:host .toggle-container input:checked+span.toggle-body:active>i{margin-left:16px}:host .toggle-container input:checked+span.toggle-body{background-color:#579bf2}:host .toggle-container .toggle-body{cursor:pointer;display:block;width:30px;height:16px;margin:7px auto;border-radius:15px;transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;background-color:#aeb5bb}:host .toggle-container .toggle-body:active{background-color:#a6b9cb}:host .toggle-container .toggle-body-wrapper{display:flex;flex-direction:column}:host .toggle-container .toggle-body i{height:12px;width:12px;background:#fff;display:inline-block;border-radius:100px;margin-top:1.8px;margin-left:1.5px;transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;pointer-events:none}\n"]
1398
+ styles: [":host{display:flex;justify-content:space-between;align-items:center}:host .toggle-container.disabled{pointer-events:none}:host .toggle-container.disabled .toggle-body{background-color:#8f9bb329!important}:host .toggle-container.disabled .toggle-body i{background:rgba(143,155,179,.24)!important}:host .toggle-container.success input:checked+span.toggle-body{background-color:#03a678}:host .toggle-container input{display:none}:host .toggle-container input:checked+span.toggle-body>i,:host .toggle-container input:checked+span.toggle-body:active>i{margin-left:16px}:host .toggle-container input:checked+span.toggle-body{background-color:#579bf2}:host .toggle-container .toggle-body{cursor:pointer;display:block;width:30px;height:16px;margin:7px auto;border-radius:15px;transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;background-color:#aeb5bb;line-height:1}:host .toggle-container .toggle-body:active{background-color:#a6b9cb}:host .toggle-container .toggle-body-wrapper{display:flex;flex-direction:column}:host .toggle-container .toggle-body i{height:12px;width:12px;background:#fff;display:inline-block;border-radius:100px;margin-top:2px;margin-left:1.5px;transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;pointer-events:none}\n"]
1394
1399
  },] }
1395
1400
  ];
1396
1401
  DrToggleComponent.ctorParameters = () => [
@@ -1661,7 +1666,7 @@ class DrDatePickerComponent {
1661
1666
  DrDatePickerComponent.decorators = [
1662
1667
  { type: Component, args: [{
1663
1668
  selector: 'new-dr-date-picker',
1664
- template: " <dr-input\r\n (click)=\"datePicker.open()\"\r\n [(ngModel)]=\"value\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [placeholder]=\"placeholder\"\r\n [matDatePicker]=\"datePicker\"\r\n [drDatePickerFormat]=\"_format\"\r\n [readonly]=\"readonly\"\r\n ></dr-input>\r\n <mat-datepicker\r\n #datePicker startView=\"{{_lastView}}\"\r\n (yearSelected)=\"chosenYearHandler($event, datePicker)\"\r\n (monthSelected)=\"chosenMonthHandler($event, datePicker)\">\r\n </mat-datepicker>\r\n\r\n",
1669
+ template: " <dr-input\r\n (click)=\"datePicker.open()\"\r\n [(ngModel)]=\"value\"\r\n [placeholder]=\"placeholder\"\r\n [drDatePickerFormat]=\"_format\"\r\n [readonly]=\"readonly\"\r\n ></dr-input>\r\n <mat-datepicker\r\n #datePicker startView=\"{{_lastView}}\"\r\n (yearSelected)=\"chosenYearHandler($event, datePicker)\"\r\n (monthSelected)=\"chosenMonthHandler($event, datePicker)\">\r\n </mat-datepicker>\r\n\r\n",
1665
1670
  changeDetection: ChangeDetectionStrategy.OnPush,
1666
1671
  providers: [
1667
1672
  { provide: NG_VALUE_ACCESSOR, useExisting: DrDatePickerComponent, multi: true }
@@ -1723,36 +1728,50 @@ DrDatePickerFormatDirective.propDecorators = {
1723
1728
  datePickerFormat: [{ type: Input, args: ['drDatePickerFormat',] }]
1724
1729
  };
1725
1730
 
1731
+ class DrPopoverRef {
1732
+ constructor(overlayRef) {
1733
+ this.overlayRef = overlayRef;
1734
+ this.onClose$ = new Subject();
1735
+ this.onClose = this.onClose$.asObservable();
1736
+ }
1737
+ close(res) {
1738
+ this.overlayRef.detach();
1739
+ this.overlayRef.dispose();
1740
+ this.onClose$.next(res);
1741
+ this.onClose$.complete();
1742
+ }
1743
+ }
1744
+
1726
1745
  class DrPopoverComponent {
1727
- constructor(cdr, componentFactoryResolver, elementRef) {
1746
+ constructor(cdr, componentFactoryResolver, viewContainerRef, elementRef, popoverRef) {
1728
1747
  this.cdr = cdr;
1729
1748
  this.componentFactoryResolver = componentFactoryResolver;
1749
+ this.viewContainerRef = viewContainerRef;
1730
1750
  this.elementRef = elementRef;
1751
+ this.popoverRef = popoverRef;
1731
1752
  this.class = '';
1732
1753
  this.isContentTemplate = false;
1733
1754
  }
1734
1755
  set popoverContainer(template) {
1735
1756
  this.isContentTemplate = this.content instanceof TemplateRef;
1736
1757
  if (!this.isContentTemplate) {
1737
- this.componentRef = template.createComponent(this.componentFactoryResolver.resolveComponentFactory(this.content));
1738
- this.componentRef.instance['closePopover'] = this.closePopover;
1739
- for (let key in this.contentContext) {
1740
- this.componentRef.instance[key] = this.contentContext[key];
1741
- }
1742
- }
1743
- else {
1744
- this.contentContext.closePopover = this.closePopover;
1758
+ this.componentRef = this.viewContainerRef.createComponent(this.componentFactoryResolver.resolveComponentFactory(this.content));
1759
+ Object.assign(this.componentRef.instance, this.contentContext);
1760
+ template.nativeElement.appendChild(this.componentRef.location.nativeElement);
1745
1761
  }
1746
1762
  this.cdr.detectChanges();
1747
1763
  }
1748
- ;
1749
- removeOutside(e) {
1750
- const isTargetHost = this.hostRef.nativeElement === e.target;
1764
+ clickOutside(e) {
1765
+ const isTargetHost = this.hostRef.nativeElement === e.target || this.hostRef.nativeElement.contains(e.target);
1751
1766
  const isTargetInPopover = this.elementRef.nativeElement.contains(e.target);
1752
1767
  const isTargetInDatepicker = e.target.closest('mat-datepicker-popup');
1753
1768
  const isTargetInSelect = e.target.closest('ng-dropdown-panel');
1754
- if (!isTargetHost && !isTargetInPopover && !isTargetInDatepicker && !isTargetInSelect) {
1755
- this.closePopover();
1769
+ if (!isTargetHost
1770
+ && !isTargetInPopover
1771
+ && !isTargetInDatepicker
1772
+ && !isTargetInSelect
1773
+ && !this.manualClosing) {
1774
+ this.popoverRef.close();
1756
1775
  }
1757
1776
  }
1758
1777
  }
@@ -1763,56 +1782,62 @@ DrPopoverComponent.decorators = [
1763
1782
  animations: [
1764
1783
  trigger('popover', POPUP_ANIMATION),
1765
1784
  ],
1766
- styles: [".dr-popover{display:flex;background:#fff;border:1px solid #E5E5E5;border-radius:5px;box-sizing:border-box;box-shadow:0 4px 14px #0003;font-size:12px;color:#545a6b;max-height:100vh;max-width:100vw}\n"]
1785
+ styles: [".dr-popover{display:flex;background:#fff;border:1px solid #E5E5E5;border-radius:5px;box-sizing:border-box;box-shadow:0 4px 14px #0003;font-size:12px;color:#545a6b;max-height:100vh;max-width:100vw;overflow:auto}\n"]
1767
1786
  },] }
1768
1787
  ];
1769
1788
  DrPopoverComponent.ctorParameters = () => [
1770
1789
  { type: ChangeDetectorRef },
1771
1790
  { type: ComponentFactoryResolver },
1772
- { type: ElementRef }
1791
+ { type: ViewContainerRef },
1792
+ { type: ElementRef },
1793
+ { type: DrPopoverRef }
1773
1794
  ];
1774
1795
  DrPopoverComponent.propDecorators = {
1775
1796
  content: [{ type: Input }],
1776
1797
  contentContext: [{ type: Input }],
1777
1798
  class: [{ type: Input }],
1778
1799
  hostRef: [{ type: Input }],
1779
- closePopover: [{ type: Input }],
1780
- popoverContainer: [{ type: ViewChild, args: ['popoverContainer', { read: ViewContainerRef },] }],
1781
- removeOutside: [{ type: HostListener, args: ['document:mouseup', ['$event'],] }]
1800
+ manualClosing: [{ type: Input }],
1801
+ popoverContainer: [{ type: ViewChild, args: ['popoverContainer', { read: ElementRef },] }],
1802
+ clickOutside: [{ type: HostListener, args: ['document:mouseup', ['$event'],] }]
1782
1803
  };
1783
1804
 
1784
1805
  class DrPopoverDirective {
1785
- constructor(overlay, vcRef, resolver, overlayPositionBuilder, elementRef) {
1806
+ constructor(overlay, overlayPositionBuilder, elementRef, injector) {
1786
1807
  this.overlay = overlay;
1787
- this.vcRef = vcRef;
1788
- this.resolver = resolver;
1789
1808
  this.overlayPositionBuilder = overlayPositionBuilder;
1790
1809
  this.elementRef = elementRef;
1810
+ this.injector = injector;
1791
1811
  this.contentContext = {};
1792
1812
  this.position = 'bottom';
1793
1813
  this.class = '';
1814
+ this.overlayConfig = {};
1815
+ this.popoverClose = new EventEmitter();
1816
+ this.showStateChange = new EventEmitter();
1794
1817
  }
1795
1818
  show() {
1819
+ var _a;
1796
1820
  if (this.overlayRef) {
1797
1821
  this.destroyPopover();
1798
1822
  }
1799
1823
  else {
1800
1824
  this.renderPopover();
1825
+ this.showStateChange.emit({ isShown: (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached() });
1801
1826
  }
1802
1827
  }
1803
1828
  renderPopover() {
1804
1829
  var _a;
1805
- const positionStrategy = this.overlayPositionBuilder.flexibleConnectedTo(this.elementRef)
1806
- .withPositions([POPUP_POSITIONS[this.position]]);
1807
- this.overlayRef = this.overlay.create({ positionStrategy });
1808
- if (!((_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) && this.content) {
1809
- this.contentRef = this.overlayRef.attach(new ComponentPortal(DrPopoverComponent));
1810
- this.contentRef.instance.content = this.content;
1811
- this.contentRef.instance.contentContext = this.contentContext;
1812
- this.contentRef.instance.class = this.class + ' ' + this.position;
1813
- this.contentRef.instance.hostRef = this.elementRef;
1814
- this.contentRef.instance.closePopover = this.destroyPopover.bind(this);
1815
- }
1830
+ if (((_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) || !this.content)
1831
+ return;
1832
+ this.overlayRef = this.createOverlay(this.overlayConfig || {});
1833
+ this.drPopoverRef = new DrPopoverRef(this.overlayRef);
1834
+ this.drPopoverRef.onClose.pipe(first()).subscribe((res) => {
1835
+ var _a;
1836
+ this.destroyPopover();
1837
+ this.popoverClose.emit(res);
1838
+ this.showStateChange.emit({ isShown: !!((_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.hasAttached()) });
1839
+ });
1840
+ this.attachOverlayContainer();
1816
1841
  }
1817
1842
  destroyPopover() {
1818
1843
  if (this.overlayRef) {
@@ -1823,6 +1848,42 @@ class DrPopoverDirective {
1823
1848
  this.contentRef.destroy();
1824
1849
  this.contentRef = null;
1825
1850
  }
1851
+ if (this.drPopoverRef) {
1852
+ this.drPopoverRef.close();
1853
+ this.drPopoverRef = null;
1854
+ }
1855
+ }
1856
+ attachOverlayContainer() {
1857
+ const componentPortal = new ComponentPortal(DrPopoverComponent, null, this.createInjector(this.drPopoverRef));
1858
+ this.contentRef = this.overlayRef.attach(componentPortal);
1859
+ this.drPopoverRef.componentRef = this.contentRef;
1860
+ this.contentRef.instance.content = this.content;
1861
+ this.contentRef.instance.contentContext = Object.assign(Object.assign({}, this.contentContext), { closePopover: this.destroyPopover.bind(this) });
1862
+ this.contentRef.instance.class = this.class + ' ' + this.position;
1863
+ this.contentRef.instance.manualClosing = this.manualClosing;
1864
+ this.contentRef.instance.hostRef = this.elementRef;
1865
+ }
1866
+ createOverlay(config) {
1867
+ const overlayConfig = this.getOverlayConfig(config);
1868
+ return this.overlay.create(overlayConfig);
1869
+ }
1870
+ getOverlayConfig(config) {
1871
+ const positionStrategy = this.overlayPositionBuilder
1872
+ .flexibleConnectedTo(this.elementRef)
1873
+ .withPositions([POPUP_POSITIONS[this.position]]);
1874
+ const overlayConfig = new OverlayConfig({
1875
+ hasBackdrop: false,
1876
+ panelClass: config === null || config === void 0 ? void 0 : config.panelClass,
1877
+ scrollStrategy: this.overlay.scrollStrategies.noop(),
1878
+ positionStrategy,
1879
+ });
1880
+ return overlayConfig;
1881
+ }
1882
+ createInjector(previewOverlayRef) {
1883
+ const injectionTokens = [
1884
+ { provide: DrPopoverRef, useValue: previewOverlayRef },
1885
+ ];
1886
+ return Injector.create({ providers: injectionTokens, parent: this.injector });
1826
1887
  }
1827
1888
  ngOnDestroy() {
1828
1889
  this.destroyPopover();
@@ -1835,16 +1896,19 @@ DrPopoverDirective.decorators = [
1835
1896
  ];
1836
1897
  DrPopoverDirective.ctorParameters = () => [
1837
1898
  { type: Overlay },
1838
- { type: ViewContainerRef },
1839
- { type: ComponentFactoryResolver },
1840
1899
  { type: OverlayPositionBuilder },
1841
- { type: ElementRef }
1900
+ { type: ElementRef },
1901
+ { type: Injector }
1842
1902
  ];
1843
1903
  DrPopoverDirective.propDecorators = {
1844
1904
  content: [{ type: Input, args: ['drPopover',] }],
1845
1905
  contentContext: [{ type: Input, args: ['drPopoverContext',] }],
1846
1906
  position: [{ type: Input, args: ['drPopoverPosition',] }],
1847
1907
  class: [{ type: Input, args: ['drPopoverClass',] }],
1908
+ overlayConfig: [{ type: Input, args: ['drPopoverOverlayConfig',] }],
1909
+ manualClosing: [{ type: Input, args: ['drPopoverManualClosing',] }],
1910
+ popoverClose: [{ type: Output, args: ['drPopoverClose',] }],
1911
+ showStateChange: [{ type: Output, args: ['drPopoverShowStateChange',] }],
1848
1912
  show: [{ type: HostListener, args: ['click',] }]
1849
1913
  };
1850
1914
 
@@ -1915,8 +1979,10 @@ class DrDropdownComponent {
1915
1979
  }
1916
1980
  }
1917
1981
  tooltipToShow(act) {
1918
- return act.toolTipIfDisabled && this.disabled(act) && act.toolTip
1919
- || act.toolTip && !act.toolTipIfDisabled ? act.toolTip : act.title;
1982
+ if (act.toolTipIfDisabled || this.disabled(act) || !act.toolTip) {
1983
+ return '';
1984
+ }
1985
+ return act.toolTip ? act.toolTip : act.title;
1920
1986
  }
1921
1987
  action(act) {
1922
1988
  if (!this.disabled(act)) {
@@ -2116,6 +2182,53 @@ DrDropdownItemShowPipe.decorators = [
2116
2182
  },] }
2117
2183
  ];
2118
2184
 
2185
+ class DrTabComponent {
2186
+ constructor() { }
2187
+ ngOnInit() {
2188
+ }
2189
+ }
2190
+ DrTabComponent.decorators = [
2191
+ { type: Component, args: [{
2192
+ selector: 'dr-tab',
2193
+ template: `
2194
+ <ng-template>
2195
+ <ng-content></ng-content>
2196
+ </ng-template>
2197
+ `
2198
+ },] }
2199
+ ];
2200
+ DrTabComponent.ctorParameters = () => [];
2201
+ DrTabComponent.propDecorators = {
2202
+ label: [{ type: Input }],
2203
+ disabled: [{ type: Input }],
2204
+ contentTemplate: [{ type: ViewChild, args: [TemplateRef,] }]
2205
+ };
2206
+
2207
+ class DrTabsComponent {
2208
+ constructor() {
2209
+ this.selectedTab = 0;
2210
+ this.selectedTabChange = new EventEmitter();
2211
+ }
2212
+ selectedIndexChange($event) {
2213
+ this.selectedTab = $event;
2214
+ this.selectedTabChange.emit($event);
2215
+ }
2216
+ }
2217
+ DrTabsComponent.decorators = [
2218
+ { type: Component, args: [{
2219
+ selector: 'dr-tabs',
2220
+ template: "<mat-tab-group disableRipple [selectedIndex]=\"selectedTab\"\r\n (selectedIndexChange)=\"selectedIndexChange($event)\"\r\n [class.with-radio]=\"withRadio\">\r\n <mat-tab *ngFor=\"let tab of tabsContentList; let index = index\" label=\"{{tab.label}}\" [disabled]=\"tab.disabled\" >\r\n <ng-container *ngIf=\"withRadio\">\r\n <ng-template mat-tab-label>\r\n <dr-radio-button [value]=\"index\"\r\n [(ngModel)]=\"selectedTab\">\r\n </dr-radio-button>\r\n {{tab.label}}\r\n </ng-template>\r\n </ng-container>\r\n\r\n <ng-container *ngTemplateOutlet=\"tab.contentTemplate\" ></ng-container>\r\n </mat-tab>\r\n</mat-tab-group>\r\n",
2221
+ styles: [":host{width:100%}:host ::ng-deep .mat-tab-group,:host ::ng-deep .mat-tab-body-wrapper{height:100%}:host ::ng-deep .mat-tab-nav-bar,:host ::ng-deep .mat-tab-header{border-bottom:1px solid #D5DAE5}:host ::ng-deep .mat-tab-labels{padding:0 17px}:host ::ng-deep .mat-tab-label{padding:0 8px;min-width:0;height:38px;opacity:1}:host ::ng-deep .mat-tab-label:not(:last-child){margin-right:21px}:host ::ng-deep .mat-tab-label-active .mat-tab-label-content{color:#579bf2;font-weight:700}:host ::ng-deep .mat-tab-label-content{font-weight:400;font-size:14px;line-height:22px;color:#51566f;font-family:\"Nunito Sans\",sans-serif}:host ::ng-deep .mat-ink-bar{height:3px;border-radius:5px;background-color:#579bf2!important}:host ::ng-deep .with-radio .mat-tab-labels{padding:0;margin-bottom:8px}:host ::ng-deep .with-radio .mat-tab-label{padding:8px 16px;min-width:0;flex-grow:1;justify-content:start;height:38px;opacity:1}:host ::ng-deep .with-radio .mat-tab-label:not(:last-child){margin-right:8px}:host ::ng-deep .with-radio .mat-tab-label-active{background:#F6F7F8;border-radius:3px}:host ::ng-deep .with-radio .mat-tab-label-active .mat-tab-label-content{color:#0c142b;font-weight:600}:host ::ng-deep .with-radio .mat-ink-bar{display:none!important}\n"]
2222
+ },] }
2223
+ ];
2224
+ DrTabsComponent.ctorParameters = () => [];
2225
+ DrTabsComponent.propDecorators = {
2226
+ selectedTab: [{ type: Input }],
2227
+ withRadio: [{ type: Input }],
2228
+ selectedTabChange: [{ type: Output }],
2229
+ tabsContentList: [{ type: ContentChildren, args: [DrTabComponent,] }]
2230
+ };
2231
+
2119
2232
  const components$2 = [DateTagComponent,
2120
2233
  DayTagComponent,
2121
2234
  WeekTagComponent,
@@ -2302,11 +2415,34 @@ DrDropdownModule.decorators = [
2302
2415
  },] }
2303
2416
  ];
2304
2417
 
2418
+ class DrTabsModule {
2419
+ }
2420
+ DrTabsModule.decorators = [
2421
+ { type: NgModule, args: [{
2422
+ imports: [
2423
+ CommonModule,
2424
+ MatTabsModule,
2425
+ FormsModule,
2426
+ ReactiveFormsModule,
2427
+ DrInputsModule
2428
+ ],
2429
+ exports: [
2430
+ DrTabsComponent,
2431
+ DrTabComponent
2432
+ ],
2433
+ providers: [],
2434
+ declarations: [
2435
+ DrTabsComponent,
2436
+ DrTabComponent
2437
+ ],
2438
+ },] }
2439
+ ];
2440
+
2305
2441
  /* components */
2306
2442
 
2307
2443
  /**
2308
2444
  * Generated bundle index. Do not edit.
2309
2445
  */
2310
2446
 
2311
- export { AnyTagComponent, CheckboxComponent, DateTagComponent, DateTagModule, DayTagComponent, DrAvatarComponent, DrAvatarModule, DrButtonComponent, DrDatePickerComponent, DrDatePickerFormatDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownPositionDirective, DrDropdownService, DrInputComponent, DrInputsModule, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrSelectComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrTagComponent, DrTagModule, DrToggleComponent, DrTooltipDirective, DrTooltipModule, ForecastTagComponent, ISpinnerOptions, ListTagComponent, ListTagModule, MonthTagComponent, QuarterTagComponent, RadioButtonComponent, TooltipComponent, WeekTagComponent, YearTagComponent, components$2 as ɵa, POPUP_ANIMATION as ɵb, CustomDateFormat as ɵc };
2447
+ export { AnyTagComponent, CheckboxComponent, DateTagComponent, DateTagModule, DayTagComponent, DrAvatarComponent, DrAvatarModule, DrButtonComponent, DrDatePickerComponent, DrDatePickerFormatDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownPositionDirective, DrDropdownService, DrInputComponent, DrInputsModule, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrSelectComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagModule, DrToggleComponent, DrTooltipDirective, DrTooltipModule, ForecastTagComponent, ISpinnerOptions, ListTagComponent, ListTagModule, MonthTagComponent, QuarterTagComponent, RadioButtonComponent, TooltipComponent, WeekTagComponent, YearTagComponent, components$2 as ɵa, POPUP_ANIMATION as ɵb, CustomDateFormat as ɵc };
2312
2448
  //# sourceMappingURL=datarailsshared-datarailsshared.js.map