@openmrs/ngx-formentry 3.0.1-pre.61 → 3.0.1-pre.62

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 (102) hide show
  1. package/bundles/openmrs-ngx-formentry.umd.js +841 -869
  2. package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
  3. package/components/afe-ng-select.component.d.ts +3 -4
  4. package/components/appointments-overview/appointments-overview.component.d.ts +3 -4
  5. package/components/check-box/checkbox.component.d.ts +3 -4
  6. package/components/custom-component-wrapper/custom-component-wrapper.component.d.ts +2 -4
  7. package/components/custom-control-wrapper/custom-control-wrapper.component.d.ts +1 -1
  8. package/components/date-time-picker/date-picker/date-picker.component.d.ts +3 -3
  9. package/components/date-time-picker/date-time-picker.component.d.ts +4 -5
  10. package/components/date-time-picker/picker-modal/modal.component.d.ts +4 -5
  11. package/components/date-time-picker/time-picker/time-picker.component.d.ts +3 -3
  12. package/components/file-upload/file-upload.component.d.ts +2 -2
  13. package/components/input/input.directive.d.ts +4 -4
  14. package/components/input/input.module.d.ts +1 -1
  15. package/components/input/label.component.d.ts +12 -12
  16. package/components/input/text-area.directive.d.ts +4 -4
  17. package/components/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +1 -1
  18. package/components/ngx-pick-datetime/lib/date-time/calendar-body.component.d.ts +5 -9
  19. package/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +2 -5
  20. package/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +6 -10
  21. package/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +3 -6
  22. package/components/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +4 -11
  23. package/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +5 -6
  24. package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +15 -19
  25. package/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +9 -15
  26. package/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +5 -9
  27. package/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +3 -7
  28. package/components/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +2 -5
  29. package/components/ngx-pick-datetime/lib/date-time/timer.component.d.ts +5 -9
  30. package/components/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +15 -16
  31. package/components/ngx-remote-select/ngx-remote-select.component.d.ts +5 -5
  32. package/components/ngx-tabset/components/ngx-tab-set.component.d.ts +2 -2
  33. package/components/ngx-tabset/components/tab.component.d.ts +1 -1
  34. package/components/ngx-tabset/directives/hover-class.directive.d.ts +2 -2
  35. package/components/number-input/number-input.component.d.ts +2 -2
  36. package/components/radio-button/radio.component.d.ts +3 -4
  37. package/components/select/optgroup.directive.d.ts +3 -3
  38. package/components/select/option.directive.d.ts +3 -3
  39. package/components/select/select.component.d.ts +6 -6
  40. package/components/select/select.module.d.ts +1 -1
  41. package/esm2015/components/afe-ng-select.component.js +4 -5
  42. package/esm2015/components/appointments-overview/appointments-overview.component.js +3 -4
  43. package/esm2015/components/check-box/checkbox.component.js +3 -4
  44. package/esm2015/components/custom-component-wrapper/custom-component-wrapper.component.js +3 -4
  45. package/esm2015/components/custom-control-wrapper/custom-control-wrapper.component.js +3 -3
  46. package/esm2015/components/date-time-picker/date-picker/date-picker.component.js +11 -11
  47. package/esm2015/components/date-time-picker/date-time-picker.component.js +7 -8
  48. package/esm2015/components/date-time-picker/picker-modal/modal.component.js +6 -7
  49. package/esm2015/components/date-time-picker/time-picker/time-picker.component.js +11 -11
  50. package/esm2015/components/file-upload/file-upload.component.js +3 -3
  51. package/esm2015/components/file-upload/secure.pipe.js +1 -3
  52. package/esm2015/components/input/input.directive.js +7 -8
  53. package/esm2015/components/input/input.module.js +7 -7
  54. package/esm2015/components/input/label.component.js +18 -19
  55. package/esm2015/components/input/text-area.directive.js +7 -8
  56. package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.component.js +4 -4
  57. package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.module.js +2 -3
  58. package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-body.component.js +13 -20
  59. package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.js +11 -16
  60. package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.js +20 -24
  61. package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.js +14 -19
  62. package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar.component.js +13 -22
  63. package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.js +18 -26
  64. package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.js +61 -53
  65. package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.js +82 -73
  66. package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.js +20 -23
  67. package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.js +6 -11
  68. package/esm2015/components/ngx-pick-datetime/lib/date-time/timer-box.component.js +12 -17
  69. package/esm2015/components/ngx-pick-datetime/lib/date-time/timer.component.js +19 -23
  70. package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog-container.component.js +52 -41
  71. package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +6 -6
  72. package/esm2015/components/ngx-tabset/components/ngx-tab-set.component.js +6 -6
  73. package/esm2015/components/ngx-tabset/components/tab.component.js +3 -3
  74. package/esm2015/components/ngx-tabset/directives/hover-class.directive.js +4 -5
  75. package/esm2015/components/number-input/number-input.component.js +6 -6
  76. package/esm2015/components/radio-button/radio.component.js +3 -4
  77. package/esm2015/components/select/optgroup.directive.js +6 -8
  78. package/esm2015/components/select/option.directive.js +6 -8
  79. package/esm2015/components/select/select.component.js +16 -274
  80. package/esm2015/components/select/select.module.js +7 -7
  81. package/esm2015/form-entry/data-sources/data-sources.js +1 -2
  82. package/esm2015/form-entry/directives/collapse.directive.js +5 -9
  83. package/esm2015/form-entry/directives/{historical-value-directive.js → historical-value.directive.js} +3 -3
  84. package/esm2015/form-entry/error-renderer/error-renderer.component.js +3 -4
  85. package/esm2015/form-entry/expression-runner/expression-runner.js +1 -2
  86. package/esm2015/form-entry/form-entry.module.js +2 -2
  87. package/esm2015/form-entry/form-factory/form.js +1 -5
  88. package/esm2015/form-entry/form-renderer/form-renderer.component.js +9 -10
  89. package/esm2015/form-entry/question-models/interfaces/date-question-options.js +1 -1
  90. package/esm2015/form-entry/value-adapters/encounter.adapter.js +1 -2
  91. package/esm2015/form-entry/value-adapters/obs-adapter-helper.js +1 -6
  92. package/esm2015/form-entry/value-adapters/obs.adapter.js +1 -5
  93. package/esm2015/form-entry/value-adapters/order.adapter.js +1 -2
  94. package/esm2015/form-entry/value-adapters/person-attribute.adapter.js +1 -2
  95. package/fesm2015/openmrs-ngx-formentry.js +637 -927
  96. package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
  97. package/form-entry/directives/collapse.directive.d.ts +1 -1
  98. package/form-entry/directives/{historical-value-directive.d.ts → historical-value.directive.d.ts} +1 -1
  99. package/form-entry/error-renderer/error-renderer.component.d.ts +2 -4
  100. package/form-entry/form-entry.module.d.ts +1 -1
  101. package/form-entry/form-renderer/form-renderer.component.d.ts +1 -1
  102. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Pipe, TemplateRef, Component, Input, ContentChild, Directive, HostListener, EventEmitter, ContentChildren, Output, forwardRef, ViewChild, WrappedValue, InjectionToken, inject, LOCALE_ID, ChangeDetectionStrategy, Optional, Inject, SkipSelf, HostBinding, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
2
+ import { Injectable, Pipe, TemplateRef, Component, Input, ContentChild, Directive, HostListener, EventEmitter, ContentChildren, Output, forwardRef, ViewChild, WrappedValue, InjectionToken, inject, LOCALE_ID, ChangeDetectionStrategy, HostBinding, Optional, Inject, SkipSelf, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { DOCUMENT, CommonModule } from '@angular/common';
5
- import * as i20 from '@angular/forms';
5
+ import * as i19 from '@angular/forms';
6
6
  import { AbstractControl, FormControl, FormGroup, FormArray, Validators, NG_VALUE_ACCESSOR, NG_VALIDATORS, FormsModule, ReactiveFormsModule, FormBuilder } from '@angular/forms';
7
7
  import { Subject, BehaviorSubject, concat, of, Subscription, defer, merge } from 'rxjs';
8
8
  import moment from 'moment';
@@ -702,7 +702,6 @@ class ExpressionRunner {
702
702
  const runner = this;
703
703
  const runnable = {
704
704
  run: () => {
705
- /* eslint-disable */
706
705
  let scope = {};
707
706
  if (control.uuid) {
708
707
  scope[control.uuid] = control.value;
@@ -1936,7 +1935,6 @@ class DataSources {
1936
1935
  }
1937
1936
  registerDataSource(key, dataSource, unWrap = false) {
1938
1937
  if (unWrap) {
1939
- // eslint-disable-next-line guard-for-in
1940
1938
  for (const o in dataSource) {
1941
1939
  this.registerDataSource(o, dataSource[o], false);
1942
1940
  }
@@ -1965,11 +1963,11 @@ class TabComponent {
1965
1963
  }
1966
1964
  }
1967
1965
  TabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1968
- TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabComponent, selector: "ngx-tab", inputs: { tabTitle: "tabTitle", tabSubTitle: "tabSubTitle", active: "active", disabled: "disabled", bypassDOM: "bypassDOM", customPaneClass: "customPaneClass" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div *ngIf=\"active\" class=\"pane\" [ngClass]=\"customPaneClass\">\n <h4>{{ tabTitle }}</h4>\n <div *ngIf=\"bypassDOM\">\n <ng-container [ngTemplateOutlet]=\"template\"></ng-container>\n </div>\n <div *ngIf=\"!bypassDOM\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["h4{padding-left:1rem;margin-bottom:.5rem}h4:after{content:\"\";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-01)}.pane{background-color:#f4f4f4;margin:.5rem .125rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1966
+ TabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabComponent, selector: "ofe-tab", inputs: { tabTitle: "tabTitle", tabSubTitle: "tabSubTitle", active: "active", disabled: "disabled", bypassDOM: "bypassDOM", customPaneClass: "customPaneClass" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: "<div *ngIf=\"active\" class=\"pane\" [ngClass]=\"customPaneClass\">\n <h4>{{ tabTitle }}</h4>\n <div *ngIf=\"bypassDOM\">\n <ng-container [ngTemplateOutlet]=\"template\"></ng-container>\n </div>\n <div *ngIf=\"!bypassDOM\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: ["h4{padding-left:1rem;margin-bottom:.5rem}h4:after{content:\"\";display:block;width:2rem;padding-top:.188rem;border-bottom:.375rem solid var(--brand-01)}.pane{background-color:#f4f4f4;margin:.5rem .125rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
1969
1967
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TabComponent, decorators: [{
1970
1968
  type: Component,
1971
1969
  args: [{
1972
- selector: 'ngx-tab',
1970
+ selector: 'ofe-tab',
1973
1971
  templateUrl: 'tab.component.html',
1974
1972
  styleUrls: ['./tab.component.css']
1975
1973
  }]
@@ -2002,15 +2000,14 @@ class HoverClassDirective {
2002
2000
  }
2003
2001
  }
2004
2002
  HoverClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HoverClassDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2005
- HoverClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HoverClassDirective, selector: "[hover-class]", inputs: { hoverClass: ["hover-class", "hoverClass"] }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, ngImport: i0 });
2003
+ HoverClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HoverClassDirective, selector: "[ofeHoverClass]", inputs: { hoverClass: "hoverClass" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, ngImport: i0 });
2006
2004
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HoverClassDirective, decorators: [{
2007
2005
  type: Directive,
2008
2006
  args: [{
2009
- selector: '[hover-class]'
2007
+ selector: '[ofeHoverClass]'
2010
2008
  }]
2011
2009
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { hoverClass: [{
2012
- type: Input,
2013
- args: ['hover-class']
2010
+ type: Input
2014
2011
  }], onMouseEnter: [{
2015
2012
  type: HostListener,
2016
2013
  args: ['mouseenter']
@@ -2025,7 +2022,7 @@ class TabSetComponent {
2025
2022
  this.customNavClass = '';
2026
2023
  this.customTabsClass = '';
2027
2024
  this.selectedIndex = 0;
2028
- this.onSelect = new EventEmitter();
2025
+ this.tabSelect = new EventEmitter();
2029
2026
  }
2030
2027
  ngOnChanges(changes) {
2031
2028
  if (changes.selectedIndex && !changes.selectedIndex.firstChange) {
@@ -2052,7 +2049,7 @@ class TabSetComponent {
2052
2049
  this.tabs.toArray().forEach((tab) => (tab.active = false));
2053
2050
  // activate the tab the user has clicked on.
2054
2051
  tabToSelect.active = true;
2055
- this.onSelect.emit(this.tabs.toArray().indexOf(tabToSelect));
2052
+ this.tabSelect.emit(this.tabs.toArray().indexOf(tabToSelect));
2056
2053
  }
2057
2054
  getStatusClasses(active, disabled) {
2058
2055
  if (active) {
@@ -2067,11 +2064,11 @@ class TabSetComponent {
2067
2064
  }
2068
2065
  }
2069
2066
  TabSetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TabSetComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2070
- TabSetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabSetComponent, selector: "ngx-tab-set", inputs: { disableStyle: "disableStyle", customNavClass: "customNavClass", customTabsClass: "customTabsClass", selectedIndex: "selectedIndex" }, outputs: { onSelect: "onSelect" }, queries: [{ propertyName: "tabs", predicate: TabComponent }], usesOnChanges: true, ngImport: i0, template: "<div class=\"tab-container\">\n <div class=\"tab\">\n <button\n hover-class=\"hover\"\n class=\"tablinks completed\"\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class]=\"getStatusClasses(tab.active, tab.disabled)\"\n >\n <span>{{ tab.tabTitle }}</span>\n </button>\n </div>\n <div id=\"tab\" class=\"tab-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".tab-container{overflow-x:hidden;display:flex}.tab{width:10rem;position:fixed}.tab button{font-family:inherit;display:block;background-color:inherit;width:100%;border:none;outline:none;text-align:left;transition:.3s;min-height:2rem;white-space:normal;word-wrap:break-word;margin:0 0 .063rem}.tab button :hover{cursor:pointer}@media screen and (max-width: 768px){.tab button{height:3rem;border-bottom:.0125rem solid var(--open-mrs-background-gray);width:10rem}}.tab button.active.hover{background-color:var(--gray-gray-10)}.tab button.enabled.hover{background-color:var(--gray-gray-10)}.tab button.completed{border-left:.5rem solid var(--inverse-support-02);background-color:var(--color-green-10);font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:#161616}.tab button.active{background-color:#ededed;border-left:.5rem solid #009d9a;font-size:.875rem;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:#161616}.tab button.enabled{background-color:#fff;border-left:.5rem solid #9ef0f0;font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:var(--color-gray-100)}.tab button.error{background-color:var(--color-red-10);border-left:.5rem solid var(--open-mrs-danger-red-60);font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.29;letter-spacing:.16px;color:#da1e28}.tab button.disabled{background-color:#fff;border-left:.5rem solid #dae0e0;font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:var(--gray-gray-30)}.tab button.active.error{background-color:var(--color-red-20);border-left:.5rem solid var(--open-mrs-danger-red-60);font-size:.875rem;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.29;letter-spacing:.16px;color:#da1e28}.tab-content{width:100%;margin-left:10rem}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: HoverClassDirective, selector: "[hover-class]", inputs: ["hover-class"] }] });
2067
+ TabSetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabSetComponent, selector: "ofe-tab-set", inputs: { disableStyle: "disableStyle", customNavClass: "customNavClass", customTabsClass: "customTabsClass", selectedIndex: "selectedIndex" }, outputs: { tabSelect: "tabSelect" }, queries: [{ propertyName: "tabs", predicate: TabComponent }], usesOnChanges: true, ngImport: i0, template: "<div class=\"tab-container\">\n <div class=\"tab\">\n <button\n ofeHoverClass=\"hover\"\n class=\"tablinks completed\"\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class]=\"getStatusClasses(tab.active, tab.disabled)\"\n >\n <span>{{ tab.tabTitle }}</span>\n </button>\n </div>\n <div id=\"tab\" class=\"tab-content\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".tab-container{overflow-x:hidden;display:flex}.tab{width:10rem;position:fixed}.tab button{font-family:inherit;display:block;background-color:inherit;width:100%;border:none;outline:none;text-align:left;transition:.3s;min-height:2rem;white-space:normal;word-wrap:break-word;margin:0 0 .063rem}.tab button :hover{cursor:pointer}@media screen and (max-width: 768px){.tab button{height:3rem;border-bottom:.0125rem solid var(--open-mrs-background-gray);width:10rem}}.tab button.active.hover{background-color:var(--gray-gray-10)}.tab button.enabled.hover{background-color:var(--gray-gray-10)}.tab button.completed{border-left:.5rem solid var(--inverse-support-02);background-color:var(--color-green-10);font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:#161616}.tab button.active{background-color:#ededed;border-left:.5rem solid #009d9a;font-size:.875rem;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:#161616}.tab button.enabled{background-color:#fff;border-left:.5rem solid #9ef0f0;font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:var(--color-gray-100)}.tab button.error{background-color:var(--color-red-10);border-left:.5rem solid var(--open-mrs-danger-red-60);font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.29;letter-spacing:.16px;color:#da1e28}.tab button.disabled{background-color:#fff;border-left:.5rem solid #dae0e0;font-size:.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:.16px;color:var(--gray-gray-30)}.tab button.active.error{background-color:var(--color-red-20);border-left:.5rem solid var(--open-mrs-danger-red-60);font-size:.875rem;font-weight:600;font-stretch:normal;font-style:normal;line-height:1.29;letter-spacing:.16px;color:#da1e28}.tab-content{width:100%;margin-left:10rem}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: HoverClassDirective, selector: "[ofeHoverClass]", inputs: ["hoverClass"] }] });
2071
2068
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TabSetComponent, decorators: [{
2072
2069
  type: Component,
2073
2070
  args: [{
2074
- selector: 'ngx-tab-set',
2071
+ selector: 'ofe-tab-set',
2075
2072
  styleUrls: ['ngx-tab-set.component.scss'],
2076
2073
  templateUrl: 'ngx-tab-set.component.html'
2077
2074
  }]
@@ -2086,7 +2083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2086
2083
  type: Input
2087
2084
  }], selectedIndex: [{
2088
2085
  type: Input
2089
- }], onSelect: [{
2086
+ }], tabSelect: [{
2090
2087
  type: Output
2091
2088
  }] } });
2092
2089
 
@@ -2094,14 +2091,13 @@ class CustomComponentWrapperComponent {
2094
2091
  constructor() {
2095
2092
  this.dark = true;
2096
2093
  }
2097
- ngOnInit() { }
2098
2094
  }
2099
2095
  CustomComponentWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomComponentWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2100
- CustomComponentWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomComponentWrapperComponent, selector: "app-custom-component-wrapper", inputs: { componentConfigs: "componentConfigs", dark: "dark" }, ngImport: i0, template: "<div>\n <ng-template #error>Component Loading failed...</ng-template>\n <ng-template #loading>Loading Component...</ng-template>\n <div *ngFor=\"let componentConfig of componentConfigs\">\n <ax-lazy-element\n *axLazyElementDynamic=\"\n componentConfig.tag;\n url: componentConfig.url;\n module: true;\n errorTemplate: error;\n loadingTemplate: loading\n \"\n [config]=\"componentConfig\"\n [dark]=\"dark\"\n >\n </ax-lazy-element>\n </div>\n</div>\n", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.LazyElementDynamicDirective, selector: "[axLazyElementDynamic]", inputs: ["axLazyElementDynamic", "axLazyElementDynamicUrl", "axLazyElementDynamicLoadingTemplate", "axLazyElementDynamicErrorTemplate", "axLazyElementDynamicModule", "axLazyElementDynamicImportMap"] }] });
2096
+ CustomComponentWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomComponentWrapperComponent, selector: "ofe-custom-component-wrapper", inputs: { componentConfigs: "componentConfigs", dark: "dark" }, ngImport: i0, template: "<div>\n <ng-template #error>Component Loading failed...</ng-template>\n <ng-template #loading>Loading Component...</ng-template>\n <div *ngFor=\"let componentConfig of componentConfigs\">\n <ax-lazy-element\n *axLazyElementDynamic=\"\n componentConfig.tag;\n url: componentConfig.url;\n module: true;\n errorTemplate: error;\n loadingTemplate: loading\n \"\n [config]=\"componentConfig\"\n [dark]=\"dark\"\n >\n </ax-lazy-element>\n </div>\n</div>\n", directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.LazyElementDynamicDirective, selector: "[axLazyElementDynamic]", inputs: ["axLazyElementDynamic", "axLazyElementDynamicUrl", "axLazyElementDynamicLoadingTemplate", "axLazyElementDynamicErrorTemplate", "axLazyElementDynamicModule", "axLazyElementDynamicImportMap"] }] });
2101
2097
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomComponentWrapperComponent, decorators: [{
2102
2098
  type: Component,
2103
2099
  args: [{
2104
- selector: 'app-custom-component-wrapper',
2100
+ selector: 'ofe-custom-component-wrapper',
2105
2101
  templateUrl: 'custom-component-wrapper.component.html'
2106
2102
  }]
2107
2103
  }], propDecorators: { componentConfigs: [{
@@ -2162,7 +2158,7 @@ class CustomControlWrapperComponent {
2162
2158
  }
2163
2159
  }
2164
2160
  CustomControlWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomControlWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2165
- CustomControlWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomControlWrapperComponent, selector: "app-custom-control-wrapper", inputs: { question: "question" }, providers: [
2161
+ CustomControlWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomControlWrapperComponent, selector: "ofe-custom-control-wrapper", inputs: { question: "question" }, providers: [
2166
2162
  {
2167
2163
  provide: NG_VALUE_ACCESSOR,
2168
2164
  multi: true,
@@ -2172,7 +2168,7 @@ CustomControlWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
2172
2168
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CustomControlWrapperComponent, decorators: [{
2173
2169
  type: Component,
2174
2170
  args: [{
2175
- selector: 'app-custom-control-wrapper',
2171
+ selector: 'ofe-custom-control-wrapper',
2176
2172
  templateUrl: 'custom-control-wrapper.component.html',
2177
2173
  providers: [
2178
2174
  {
@@ -2186,26 +2182,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2186
2182
  type: Input
2187
2183
  }] } });
2188
2184
 
2189
- /* eslint-disable @angular-eslint/component-class-suffix */
2190
2185
  /**
2191
- * `ibm-select` provides a styled `select` component.
2186
+ * `ofe-select` provides a styled `select` component.
2192
2187
  *
2193
2188
  * [See demo](../../?path=/story/select--basic)
2194
2189
  *
2195
2190
  * Example:
2196
2191
  *
2197
2192
  * ```
2198
- * <ibm-select [(ngModel)]="model">
2193
+ * <ofe-select [(ngModel)]="model">
2199
2194
  * <option value="default" disabled selected hidden>Choose an option</option>
2200
2195
  * <option value="option1">Option 1</option>
2201
2196
  * <option value="option2">Option 2</option>
2202
2197
  * <option value="option3">Option 3</option>
2203
- * </ibm-select>
2198
+ * </ofe-select>
2204
2199
  * ```
2205
2200
  *
2206
2201
  * <example-url>../../iframe.html?id=select--basic</example-url>
2207
2202
  */
2208
- class Select {
2203
+ class SelectComponent {
2209
2204
  constructor() {
2210
2205
  /**
2211
2206
  * `inline` or `default` select displays
@@ -2218,7 +2213,7 @@ class Select {
2218
2213
  /**
2219
2214
  * Sets the unique ID. Defaults to `select-${total count of selects instantiated}`
2220
2215
  */
2221
- this.id = `select-${Select.selectCount++}`;
2216
+ this.id = `select-${SelectComponent.selectCount++}`;
2222
2217
  /**
2223
2218
  * Number input field render size
2224
2219
  */
@@ -2309,282 +2304,25 @@ class Select {
2309
2304
  /**
2310
2305
  * Tracks the total number of selects instantiated. Used to generate unique IDs
2311
2306
  */
2312
- Select.selectCount = 0;
2313
- Select.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Select, deps: [], target: i0.ɵɵFactoryTarget.Component });
2314
- Select.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: Select, selector: "ibm-select", inputs: { display: "display", label: "label", helperText: "helperText", invalidText: "invalidText", warn: "warn", warnText: "warnText", id: "id", size: "size", disabled: "disabled", skeleton: "skeleton", invalid: "invalid", theme: "theme", ariaLabel: "ariaLabel", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "focusout": "focusOut()" } }, providers: [
2307
+ SelectComponent.selectCount = 0;
2308
+ SelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2309
+ SelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: SelectComponent, selector: "ofe-select", inputs: { display: "display", label: "label", helperText: "helperText", invalidText: "invalidText", warn: "warn", warnText: "warnText", id: "id", size: "size", disabled: "disabled", skeleton: "skeleton", invalid: "invalid", theme: "theme", ariaLabel: "ariaLabel", value: "value" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "focusout": "focusOut()" } }, providers: [
2315
2310
  {
2316
2311
  provide: NG_VALUE_ACCESSOR,
2317
- useExisting: Select,
2312
+ useExisting: SelectComponent,
2318
2313
  multi: true
2319
2314
  }
2320
- ], viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true }], ngImport: i0, template: `
2321
- <div class="cds--form-item">
2322
- <ng-template [ngIf]="skeleton">
2323
- <div *ngIf="label" class="cds--label cds--skeleton"></div>
2324
- <div class="cds--select cds--skeleton"></div>
2325
- </ng-template>
2326
- <div
2327
- *ngIf="!skeleton"
2328
- class="cds--select"
2329
- [ngClass]="{
2330
- 'cds--select--inline': display === 'inline',
2331
- 'cds--select--light': theme === 'light',
2332
- 'cds--select--invalid': invalid,
2333
- 'cds--select--warning': warn,
2334
- 'cds--select--disabled': disabled
2335
- }"
2336
- >
2337
- <label *ngIf="label" [for]="id" class="cds--label">
2338
- <ng-container *ngIf="!isTemplate(label)">{{ label }}</ng-container>
2339
- <ng-template
2340
- *ngIf="isTemplate(label)"
2341
- [ngTemplateOutlet]="label"
2342
- ></ng-template>
2343
- </label>
2344
- <div *ngIf="helperText" class="cds--form__helper-text">
2345
- <ng-container *ngIf="!isTemplate(helperText)">{{
2346
- helperText
2347
- }}</ng-container>
2348
- <ng-template
2349
- *ngIf="isTemplate(helperText)"
2350
- [ngTemplateOutlet]="helperText"
2351
- ></ng-template>
2352
- </div>
2353
- <div
2354
- *ngIf="display === 'inline'; else noInline"
2355
- class="cds--select-input--inline__wrapper"
2356
- >
2357
- <ng-container *ngTemplateOutlet="noInline"></ng-container>
2358
- </div>
2359
- </div>
2360
- </div>
2361
-
2362
- <!-- select element: dynamically projected based on 'display' variant -->
2363
- <ng-template #noInline>
2364
- <div
2365
- class="cds--select-input__wrapper extend"
2366
- [attr.data-invalid]="invalid ? true : null"
2367
- >
2368
- <select
2369
- #select
2370
- [attr.id]="id"
2371
- [attr.aria-label]="ariaLabel"
2372
- [disabled]="disabled"
2373
- (change)="onChange($event)"
2374
- [attr.aria-invalid]="invalid ? 'true' : null"
2375
- class="cds--select-input"
2376
- [ngClass]="{
2377
- 'cds--select-input--xl': size === 'xl',
2378
- 'cds--select-input--sm': size === 'sm'
2379
- }"
2380
- >
2381
- <ng-content></ng-content>
2382
- </select>
2383
- <svg
2384
- focusable="false"
2385
- preserveAspectRatio="xMidYMid meet"
2386
- style="will-change: transform;"
2387
- xmlns="http://www.w3.org/2000/svg"
2388
- class="cds--select__arrow"
2389
- width="16"
2390
- height="16"
2391
- viewBox="0 0 16 16"
2392
- aria-hidden="true"
2393
- >
2394
- <path d="M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"></path>
2395
- </svg>
2396
- <svg
2397
- *ngIf="invalid"
2398
- focusable="false"
2399
- preserveAspectRatio="xMidYMid meet"
2400
- style="will-change: transform;"
2401
- xmlns="http://www.w3.org/2000/svg"
2402
- class="cds--text-input__invalid-icon"
2403
- width="16"
2404
- height="16"
2405
- viewBox="0 0 16 16"
2406
- aria-hidden="true"
2407
- >
2408
- <path
2409
- d="M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"
2410
- ></path>
2411
- <path
2412
- d="M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"
2413
- data-icon-path="inner-path"
2414
- opacity="0"
2415
- ></path>
2416
- </svg>
2417
- </div>
2418
- <div
2419
- *ngIf="invalid && invalidText && !warn"
2420
- role="alert"
2421
- class="cds--form-requirement"
2422
- aria-live="polite"
2423
- >
2424
- <ng-container *ngIf="!isTemplate(invalidText)">{{
2425
- invalidText
2426
- }}</ng-container>
2427
- <ng-template
2428
- *ngIf="isTemplate(invalidText)"
2429
- [ngTemplateOutlet]="invalidText"
2430
- ></ng-template>
2431
- </div>
2432
- <div *ngIf="!invalid && warn" class="cds--form-requirement">
2433
- <ng-container *ngIf="!isTemplate(warnText)">{{
2434
- warnText
2435
- }}</ng-container>
2436
- <ng-template
2437
- *ngIf="isTemplate(warnText)"
2438
- [ngTemplateOutlet]="warnText"
2439
- ></ng-template>
2440
- </div>
2441
- </ng-template>
2442
- `, isInline: true, styles: ["\n .cds--select--inline .cds--form__helper-text {\n order: 4;\n }\n\n .cds--select--inline:not(.cds--select--invalid) .cds--form__helper-text {\n margin-top: 0;\n }\n .cds--select-input__wrapper {\n min-width: 16rem;\n }\n "], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Select, decorators: [{
2315
+ ], viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true }], ngImport: i0, template: "<div class=\"cds--form-item\">\n <ng-template [ngIf]=\"skeleton\">\n <div *ngIf=\"label\" class=\"cds--label cds--skeleton\"></div>\n <div class=\"cds--select cds--skeleton\"></div>\n </ng-template>\n <div\n *ngIf=\"!skeleton\"\n class=\"cds--select\"\n [ngClass]=\"{\n 'cds--select--inline': display === 'inline',\n 'cds--select--light': theme === 'light',\n 'cds--select--invalid': invalid,\n 'cds--select--warning': warn,\n 'cds--select--disabled': disabled\n }\"\n >\n <label *ngIf=\"label\" [for]=\"id\" class=\"cds--label\">\n <ng-container *ngIf=\"!isTemplate(label)\">{{ label }}</ng-container>\n <ng-template\n *ngIf=\"isTemplate(label)\"\n [ngTemplateOutlet]=\"label\"\n ></ng-template>\n </label>\n <div *ngIf=\"helperText\" class=\"cds--form__helper-text\">\n <ng-container *ngIf=\"!isTemplate(helperText)\">{{\n helperText\n }}</ng-container>\n <ng-template\n *ngIf=\"isTemplate(helperText)\"\n [ngTemplateOutlet]=\"helperText\"\n ></ng-template>\n </div>\n <div\n *ngIf=\"display === 'inline'; else noInline\"\n class=\"cds--select-input--inline__wrapper\"\n >\n <ng-container *ngTemplateOutlet=\"noInline\"></ng-container>\n </div>\n </div>\n</div>\n\n<!-- select element: dynamically projected based on 'display' variant -->\n<ng-template #noInline>\n <div\n class=\"cds--select-input__wrapper extend\"\n [attr.data-invalid]=\"invalid ? true : null\"\n >\n <select\n #select\n [attr.id]=\"id\"\n [attr.aria-label]=\"ariaLabel\"\n [disabled]=\"disabled\"\n (change)=\"onChange($event)\"\n [attr.aria-invalid]=\"invalid ? 'true' : null\"\n class=\"cds--select-input\"\n [ngClass]=\"{\n 'cds--select-input--xl': size === 'xl',\n 'cds--select-input--sm': size === 'sm'\n }\"\n >\n <ng-content></ng-content>\n </select>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"cds--select__arrow\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <path d=\"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"></path>\n </svg>\n <svg\n *ngIf=\"invalid\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"cds--text-input__invalid-icon\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\"\n ></path>\n <path\n d=\"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z\"\n data-icon-path=\"inner-path\"\n opacity=\"0\"\n ></path>\n </svg>\n </div>\n <div\n *ngIf=\"invalid && invalidText && !warn\"\n role=\"alert\"\n class=\"cds--form-requirement\"\n aria-live=\"polite\"\n >\n <ng-container *ngIf=\"!isTemplate(invalidText)\">{{\n invalidText\n }}</ng-container>\n <ng-template\n *ngIf=\"isTemplate(invalidText)\"\n [ngTemplateOutlet]=\"invalidText\"\n ></ng-template>\n </div>\n <div *ngIf=\"!invalid && warn\" class=\"cds--form-requirement\">\n <ng-container *ngIf=\"!isTemplate(warnText)\">{{ warnText }}</ng-container>\n <ng-template\n *ngIf=\"isTemplate(warnText)\"\n [ngTemplateOutlet]=\"warnText\"\n ></ng-template>\n </div>\n</ng-template>\n", styles: [".cds--select--inline .cds--form__helper-text{order:4}.cds--select--inline:not(.cds--select--invalid) .cds--form__helper-text{margin-top:0}.cds--select-input__wrapper{min-width:16rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
2316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectComponent, decorators: [{
2444
2317
  type: Component,
2445
2318
  args: [{
2446
- selector: 'ibm-select',
2447
- template: `
2448
- <div class="cds--form-item">
2449
- <ng-template [ngIf]="skeleton">
2450
- <div *ngIf="label" class="cds--label cds--skeleton"></div>
2451
- <div class="cds--select cds--skeleton"></div>
2452
- </ng-template>
2453
- <div
2454
- *ngIf="!skeleton"
2455
- class="cds--select"
2456
- [ngClass]="{
2457
- 'cds--select--inline': display === 'inline',
2458
- 'cds--select--light': theme === 'light',
2459
- 'cds--select--invalid': invalid,
2460
- 'cds--select--warning': warn,
2461
- 'cds--select--disabled': disabled
2462
- }"
2463
- >
2464
- <label *ngIf="label" [for]="id" class="cds--label">
2465
- <ng-container *ngIf="!isTemplate(label)">{{ label }}</ng-container>
2466
- <ng-template
2467
- *ngIf="isTemplate(label)"
2468
- [ngTemplateOutlet]="label"
2469
- ></ng-template>
2470
- </label>
2471
- <div *ngIf="helperText" class="cds--form__helper-text">
2472
- <ng-container *ngIf="!isTemplate(helperText)">{{
2473
- helperText
2474
- }}</ng-container>
2475
- <ng-template
2476
- *ngIf="isTemplate(helperText)"
2477
- [ngTemplateOutlet]="helperText"
2478
- ></ng-template>
2479
- </div>
2480
- <div
2481
- *ngIf="display === 'inline'; else noInline"
2482
- class="cds--select-input--inline__wrapper"
2483
- >
2484
- <ng-container *ngTemplateOutlet="noInline"></ng-container>
2485
- </div>
2486
- </div>
2487
- </div>
2488
-
2489
- <!-- select element: dynamically projected based on 'display' variant -->
2490
- <ng-template #noInline>
2491
- <div
2492
- class="cds--select-input__wrapper extend"
2493
- [attr.data-invalid]="invalid ? true : null"
2494
- >
2495
- <select
2496
- #select
2497
- [attr.id]="id"
2498
- [attr.aria-label]="ariaLabel"
2499
- [disabled]="disabled"
2500
- (change)="onChange($event)"
2501
- [attr.aria-invalid]="invalid ? 'true' : null"
2502
- class="cds--select-input"
2503
- [ngClass]="{
2504
- 'cds--select-input--xl': size === 'xl',
2505
- 'cds--select-input--sm': size === 'sm'
2506
- }"
2507
- >
2508
- <ng-content></ng-content>
2509
- </select>
2510
- <svg
2511
- focusable="false"
2512
- preserveAspectRatio="xMidYMid meet"
2513
- style="will-change: transform;"
2514
- xmlns="http://www.w3.org/2000/svg"
2515
- class="cds--select__arrow"
2516
- width="16"
2517
- height="16"
2518
- viewBox="0 0 16 16"
2519
- aria-hidden="true"
2520
- >
2521
- <path d="M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"></path>
2522
- </svg>
2523
- <svg
2524
- *ngIf="invalid"
2525
- focusable="false"
2526
- preserveAspectRatio="xMidYMid meet"
2527
- style="will-change: transform;"
2528
- xmlns="http://www.w3.org/2000/svg"
2529
- class="cds--text-input__invalid-icon"
2530
- width="16"
2531
- height="16"
2532
- viewBox="0 0 16 16"
2533
- aria-hidden="true"
2534
- >
2535
- <path
2536
- d="M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"
2537
- ></path>
2538
- <path
2539
- d="M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"
2540
- data-icon-path="inner-path"
2541
- opacity="0"
2542
- ></path>
2543
- </svg>
2544
- </div>
2545
- <div
2546
- *ngIf="invalid && invalidText && !warn"
2547
- role="alert"
2548
- class="cds--form-requirement"
2549
- aria-live="polite"
2550
- >
2551
- <ng-container *ngIf="!isTemplate(invalidText)">{{
2552
- invalidText
2553
- }}</ng-container>
2554
- <ng-template
2555
- *ngIf="isTemplate(invalidText)"
2556
- [ngTemplateOutlet]="invalidText"
2557
- ></ng-template>
2558
- </div>
2559
- <div *ngIf="!invalid && warn" class="cds--form-requirement">
2560
- <ng-container *ngIf="!isTemplate(warnText)">{{
2561
- warnText
2562
- }}</ng-container>
2563
- <ng-template
2564
- *ngIf="isTemplate(warnText)"
2565
- [ngTemplateOutlet]="warnText"
2566
- ></ng-template>
2567
- </div>
2568
- </ng-template>
2569
- `,
2570
- styles: [
2571
- `
2572
- .cds--select--inline .cds--form__helper-text {
2573
- order: 4;
2574
- }
2575
-
2576
- .cds--select--inline:not(.cds--select--invalid) .cds--form__helper-text {
2577
- margin-top: 0;
2578
- }
2579
- .cds--select-input__wrapper {
2580
- min-width: 16rem;
2581
- }
2582
- `
2583
- ],
2319
+ selector: 'ofe-select',
2320
+ templateUrl: 'select.component.html',
2321
+ styleUrls: ['./select.component.scss'],
2584
2322
  providers: [
2585
2323
  {
2586
2324
  provide: NG_VALUE_ACCESSOR,
2587
- useExisting: Select,
2325
+ useExisting: SelectComponent,
2588
2326
  multi: true
2589
2327
  }
2590
2328
  ]
@@ -2627,9 +2365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2627
2365
  args: ['focusout']
2628
2366
  }] } });
2629
2367
 
2630
- /* eslint-disable @angular-eslint/component-class-suffix */
2631
2368
  // Using similarity from AsyncPipe to avoid having to pipe |secure|async in HTML.
2632
- // eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
2633
2369
  class SecurePipe {
2634
2370
  constructor(_ref, sanitizer) {
2635
2371
  this._ref = _ref;
@@ -2807,17 +2543,17 @@ class FileUploadComponent {
2807
2543
  }
2808
2544
  }
2809
2545
  FileUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileUploadComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2810
- FileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileUploadComponent, selector: "app-file-upload", inputs: { dataSource: "dataSource" }, providers: [
2546
+ FileUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileUploadComponent, selector: "ofe-file-upload", inputs: { dataSource: "dataSource" }, providers: [
2811
2547
  {
2812
2548
  provide: NG_VALUE_ACCESSOR,
2813
2549
  useExisting: forwardRef(() => FileUploadComponent),
2814
2550
  multi: true
2815
2551
  }
2816
- ], ngImport: i0, template: "<lib-ngx-file-uploader\n [srcUrl]=\"pdfUrl\"\n [formEntry]=\"formEntryMode\"\n [(ngModel)]=\"fileUuid\"\n (_onClear)=\"clearValue()\"\n (uploadData)=\"onFileChange($event)\"\n>\n</lib-ngx-file-uploader>\n<div *ngIf=\"fileUuid\">\n <img\n *ngIf=\"!pdfUploaded\"\n class=\"img-responsive\"\n [src]=\"fileUuid | secure: this.dataSource.fetchFile\"\n alt=\"\"\n />\n</div>\n", styles: ["\n img {\n margin-left: auto;\n margin-right: auto;\n display: block;\n }\n "], components: [{ type: i1$2.NgxFileUploaderComponent, selector: "lib-ngx-file-uploader", inputs: ["singleFile", "formEntry", "srcUrl", "source"], outputs: ["fileChanged", "uploadData", "_onClear"] }], directives: [{ type: i20.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i20.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "secure": SecurePipe } });
2552
+ ], ngImport: i0, template: "<lib-ngx-file-uploader\n [srcUrl]=\"pdfUrl\"\n [formEntry]=\"formEntryMode\"\n [(ngModel)]=\"fileUuid\"\n (_onClear)=\"clearValue()\"\n (uploadData)=\"onFileChange($event)\"\n>\n</lib-ngx-file-uploader>\n<div *ngIf=\"fileUuid\">\n <img\n *ngIf=\"!pdfUploaded\"\n class=\"img-responsive\"\n [src]=\"fileUuid | secure: this.dataSource.fetchFile\"\n alt=\"\"\n />\n</div>\n", styles: ["\n img {\n margin-left: auto;\n margin-right: auto;\n display: block;\n }\n "], components: [{ type: i1$2.NgxFileUploaderComponent, selector: "lib-ngx-file-uploader", inputs: ["singleFile", "formEntry", "srcUrl", "source"], outputs: ["fileChanged", "uploadData", "_onClear"] }], directives: [{ type: i19.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i19.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "secure": SecurePipe } });
2817
2553
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FileUploadComponent, decorators: [{
2818
2554
  type: Component,
2819
2555
  args: [{
2820
- selector: 'app-file-upload',
2556
+ selector: 'ofe-file-upload',
2821
2557
  templateUrl: 'file-upload.component.html',
2822
2558
  providers: [
2823
2559
  {
@@ -2845,14 +2581,14 @@ class RemoteSelectComponent {
2845
2581
  this.renderer = renderer;
2846
2582
  this.remoteOptionsLoading = false;
2847
2583
  this.remoteOptionInput$ = new Subject();
2848
- this.placeholder = 'Search...';
2849
- this.disabled = false;
2850
- this.theme = 'dark';
2851
2584
  this.items = [];
2852
2585
  this.value = [];
2853
2586
  this.loading = false;
2854
2587
  this.searchText = '';
2855
2588
  this.notFoundMsg = 'match no found';
2589
+ this.placeholder = 'Search...';
2590
+ this.disabled = false;
2591
+ this.theme = 'dark';
2856
2592
  this.done = new EventEmitter();
2857
2593
  this.compareItems = (item, selected) => {
2858
2594
  if (item.value && selected.value) {
@@ -2933,17 +2669,17 @@ class RemoteSelectComponent {
2933
2669
  }
2934
2670
  }
2935
2671
  RemoteSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RemoteSelectComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2936
- RemoteSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RemoteSelectComponent, selector: "ngx-remote-select", inputs: { placeholder: "placeholder", componentID: "componentID", disabled: "disabled", theme: "theme", dataSource: "dataSource" }, outputs: { done: "done" }, providers: [
2672
+ RemoteSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RemoteSelectComponent, selector: "ofe-remote-select", inputs: { placeholder: "placeholder", componentID: "componentID", disabled: "disabled", theme: "theme", dataSource: "dataSource" }, outputs: { done: "done" }, providers: [
2937
2673
  {
2938
2674
  provide: NG_VALUE_ACCESSOR,
2939
2675
  useExisting: forwardRef(() => RemoteSelectComponent),
2940
2676
  multi: true
2941
2677
  }
2942
- ], ngImport: i0, template: "<div>\n <ng-select\n [ngClass]=\"{ 'afe-custom': theme === 'light' }\"\n [disabled]=\"disabled\"\n [items]=\"remoteOptions$ | async\"\n bindLabel=\"label\"\n bindValue=\"value\"\n [multiple]=\"false\"\n [hideSelected]=\"true\"\n [compareWith]=\"compareItems\"\n [trackByFn]=\"trackByFn\"\n [loading]=\"loading\"\n typeToSearchText=\"Please enter 2 or more characters\"\n [typeahead]=\"remoteOptionInput$\"\n [(ngModel)]=\"selectedRemoteOptions\"\n (ngModelChange)=\"selected($event)\"\n >\n </ng-select>\n</div>\n", components: [{ type: i1$3.NgSelectComponent, selector: "ng-select", inputs: ["markFirst", "dropdownPosition", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "bufferAmount", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "bindLabel", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "virtualScroll", "openOnEnter", "appendTo", "bindValue", "appearance", "maxSelectedItems", "groupBy", "groupValue", "tabIndex", "typeahead"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i20.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i20.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i1.AsyncPipe } });
2678
+ ], ngImport: i0, template: "<div>\n <ng-select\n [ngClass]=\"{ 'afe-custom': theme === 'light' }\"\n [disabled]=\"disabled\"\n [items]=\"remoteOptions$ | async\"\n bindLabel=\"label\"\n bindValue=\"value\"\n [multiple]=\"false\"\n [hideSelected]=\"true\"\n [compareWith]=\"compareItems\"\n [trackByFn]=\"trackByFn\"\n [loading]=\"loading\"\n typeToSearchText=\"Please enter 2 or more characters\"\n [typeahead]=\"remoteOptionInput$\"\n [(ngModel)]=\"selectedRemoteOptions\"\n (ngModelChange)=\"selected($event)\"\n >\n </ng-select>\n</div>\n", components: [{ type: i1$3.NgSelectComponent, selector: "ng-select", inputs: ["markFirst", "dropdownPosition", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "bufferAmount", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "bindLabel", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "virtualScroll", "openOnEnter", "appendTo", "bindValue", "appearance", "maxSelectedItems", "groupBy", "groupValue", "tabIndex", "typeahead"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i19.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i19.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i1.AsyncPipe } });
2943
2679
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RemoteSelectComponent, decorators: [{
2944
2680
  type: Component,
2945
2681
  args: [{
2946
- selector: 'ngx-remote-select',
2682
+ selector: 'ofe-remote-select',
2947
2683
  templateUrl: 'remote-select.component.html',
2948
2684
  providers: [
2949
2685
  {
@@ -2967,65 +2703,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2967
2703
  type: Input
2968
2704
  }] } });
2969
2705
 
2970
- /**
2971
- * date-time-picker-intl.service
2972
- */
2973
- class OwlDateTimeIntl {
2974
- constructor() {
2975
- /**
2976
- * Stream that emits whenever the labels here are changed. Use this to notify
2977
- * components if the labels have changed after initialization.
2978
- */
2979
- this.changes = new Subject();
2980
- /** A label for the up second button (used by screen readers). */
2981
- this.upSecondLabel = 'Add a second';
2982
- /** A label for the down second button (used by screen readers). */
2983
- this.downSecondLabel = 'Minus a second';
2984
- /** A label for the up minute button (used by screen readers). */
2985
- this.upMinuteLabel = 'Add a minute';
2986
- /** A label for the down minute button (used by screen readers). */
2987
- this.downMinuteLabel = 'Minus a minute';
2988
- /** A label for the up hour button (used by screen readers). */
2989
- this.upHourLabel = 'Add a hour';
2990
- /** A label for the down hour button (used by screen readers). */
2991
- this.downHourLabel = 'Minus a hour';
2992
- /** A label for the previous month button (used by screen readers). */
2993
- this.prevMonthLabel = 'Previous month';
2994
- /** A label for the next month button (used by screen readers). */
2995
- this.nextMonthLabel = 'Next month';
2996
- /** A label for the previous year button (used by screen readers). */
2997
- this.prevYearLabel = 'Previous year';
2998
- /** A label for the next year button (used by screen readers). */
2999
- this.nextYearLabel = 'Next year';
3000
- /** A label for the previous multi-year button (used by screen readers). */
3001
- this.prevMultiYearLabel = 'Previous 21 years';
3002
- /** A label for the next multi-year button (used by screen readers). */
3003
- this.nextMultiYearLabel = 'Next 21 years';
3004
- /** A label for the 'switch to month view' button (used by screen readers). */
3005
- this.switchToMonthViewLabel = 'Change to month view';
3006
- /** A label for the 'switch to year view' button (used by screen readers). */
3007
- this.switchToMultiYearViewLabel = 'Choose month and year';
3008
- /** A label for the cancel button */
3009
- this.cancelBtnLabel = 'Cancel';
3010
- /** A label for the set button */
3011
- this.setBtnLabel = 'Set';
3012
- /** A label for the range 'from' in picker info */
3013
- this.rangeFromLabel = 'From';
3014
- /** A label for the range 'to' in picker info */
3015
- this.rangeToLabel = 'To';
3016
- /** A label for the hour12 button (AM) */
3017
- this.hour12AMLabel = 'AM';
3018
- /** A label for the hour12 button (PM) */
3019
- this.hour12PMLabel = 'PM';
3020
- }
3021
- }
3022
- OwlDateTimeIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3023
- OwlDateTimeIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeIntl, providedIn: 'root' });
3024
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeIntl, decorators: [{
3025
- type: Injectable,
3026
- args: [{ providedIn: 'root' }]
3027
- }] });
3028
-
3029
2706
  /**
3030
2707
  * date-time-adapter.class
3031
2708
  */
@@ -3138,13 +2815,71 @@ class DateTimeAdapter {
3138
2815
  }
3139
2816
  }
3140
2817
 
2818
+ /**
2819
+ * date-time-picker-intl.service
2820
+ */
2821
+ class OwlDateTimeIntl {
2822
+ constructor() {
2823
+ /**
2824
+ * Stream that emits whenever the labels here are changed. Use this to notify
2825
+ * components if the labels have changed after initialization.
2826
+ */
2827
+ this.changes = new Subject();
2828
+ /** A label for the up second button (used by screen readers). */
2829
+ this.upSecondLabel = 'Add a second';
2830
+ /** A label for the down second button (used by screen readers). */
2831
+ this.downSecondLabel = 'Minus a second';
2832
+ /** A label for the up minute button (used by screen readers). */
2833
+ this.upMinuteLabel = 'Add a minute';
2834
+ /** A label for the down minute button (used by screen readers). */
2835
+ this.downMinuteLabel = 'Minus a minute';
2836
+ /** A label for the up hour button (used by screen readers). */
2837
+ this.upHourLabel = 'Add a hour';
2838
+ /** A label for the down hour button (used by screen readers). */
2839
+ this.downHourLabel = 'Minus a hour';
2840
+ /** A label for the previous month button (used by screen readers). */
2841
+ this.prevMonthLabel = 'Previous month';
2842
+ /** A label for the next month button (used by screen readers). */
2843
+ this.nextMonthLabel = 'Next month';
2844
+ /** A label for the previous year button (used by screen readers). */
2845
+ this.prevYearLabel = 'Previous year';
2846
+ /** A label for the next year button (used by screen readers). */
2847
+ this.nextYearLabel = 'Next year';
2848
+ /** A label for the previous multi-year button (used by screen readers). */
2849
+ this.prevMultiYearLabel = 'Previous 21 years';
2850
+ /** A label for the next multi-year button (used by screen readers). */
2851
+ this.nextMultiYearLabel = 'Next 21 years';
2852
+ /** A label for the 'switch to month view' button (used by screen readers). */
2853
+ this.switchToMonthViewLabel = 'Change to month view';
2854
+ /** A label for the 'switch to year view' button (used by screen readers). */
2855
+ this.switchToMultiYearViewLabel = 'Choose month and year';
2856
+ /** A label for the cancel button */
2857
+ this.cancelBtnLabel = 'Cancel';
2858
+ /** A label for the set button */
2859
+ this.setBtnLabel = 'Set';
2860
+ /** A label for the range 'from' in picker info */
2861
+ this.rangeFromLabel = 'From';
2862
+ /** A label for the range 'to' in picker info */
2863
+ this.rangeToLabel = 'To';
2864
+ /** A label for the hour12 button (AM) */
2865
+ this.hour12AMLabel = 'AM';
2866
+ /** A label for the hour12 button (PM) */
2867
+ this.hour12PMLabel = 'PM';
2868
+ }
2869
+ }
2870
+ OwlDateTimeIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeIntl, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2871
+ OwlDateTimeIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeIntl, providedIn: 'root' });
2872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeIntl, decorators: [{
2873
+ type: Injectable,
2874
+ args: [{ providedIn: 'root' }]
2875
+ }] });
2876
+
3141
2877
  /**
3142
2878
  * date-time-format.class
3143
2879
  */
3144
2880
  /** InjectionToken for date time picker that can be used to override default format. */
3145
2881
  const OWL_DATE_TIME_FORMATS = new InjectionToken('OWL_DATE_TIME_FORMATS');
3146
2882
 
3147
- /* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/no-host-metadata-property */
3148
2883
  class CalendarCell {
3149
2884
  constructor(value, displayValue, ariaLabel, enabled, out = false, cellClass = '') {
3150
2885
  this.value = value;
@@ -3159,6 +2894,7 @@ class OwlCalendarBodyComponent {
3159
2894
  constructor(elmRef, ngZone) {
3160
2895
  this.elmRef = elmRef;
3161
2896
  this.ngZone = ngZone;
2897
+ this.owlDTCalendarBodyClass = true;
3162
2898
  /**
3163
2899
  * The cell number of the active cell in the table.
3164
2900
  */
@@ -3174,10 +2910,7 @@ class OwlCalendarBodyComponent {
3174
2910
  /**
3175
2911
  * Emit when a calendar cell is selected
3176
2912
  * */
3177
- this.select = new EventEmitter();
3178
- }
3179
- get owlDTCalendarBodyClass() {
3180
- return true;
2913
+ this.cellSelected = new EventEmitter();
3181
2914
  }
3182
2915
  get isInSingleMode() {
3183
2916
  return this.selectMode === 'single';
@@ -3187,9 +2920,8 @@ class OwlCalendarBodyComponent {
3187
2920
  this.selectMode === 'rangeFrom' ||
3188
2921
  this.selectMode === 'rangeTo');
3189
2922
  }
3190
- ngOnInit() { }
3191
2923
  selectCell(cell) {
3192
- this.select.emit(cell);
2924
+ this.cellSelected.emit(cell);
3193
2925
  }
3194
2926
  isActiveCell(rowIndex, colIndex) {
3195
2927
  const cellNumber = rowIndex * this.numCols + colIndex;
@@ -3261,21 +2993,21 @@ class OwlCalendarBodyComponent {
3261
2993
  }
3262
2994
  }
3263
2995
  OwlCalendarBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlCalendarBodyComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
3264
- OwlCalendarBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlCalendarBodyComponent, selector: "[owl-date-time-calendar-body]", inputs: { activeCell: "activeCell", rows: "rows", numCols: "numCols", cellRatio: "cellRatio", todayValue: "todayValue", selectedValues: "selectedValues", selectMode: "selectMode" }, outputs: { select: "select" }, host: { properties: { "class.owl-dt-calendar-body": "owlDTCalendarBodyClass" } }, exportAs: ["owlDateTimeCalendarBody"], ngImport: i0, template: "<tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\">\n <td\n *ngFor=\"let item of row; let colIndex = index\"\n class=\"owl-dt-calendar-cell {{ item.cellClass }}\"\n [tabindex]=\"isActiveCell(rowIndex, colIndex) ? 0 : -1\"\n [class.owl-dt-calendar-cell-active]=\"isActiveCell(rowIndex, colIndex)\"\n [class.owl-dt-calendar-cell-disabled]=\"!item.enabled\"\n [class.owl-dt-calendar-cell-in-range]=\"isInRange(item.value)\"\n [class.owl-dt-calendar-cell-range-from]=\"isRangeFrom(item.value)\"\n [class.owl-dt-calendar-cell-range-to]=\"isRangeTo(item.value)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-disabled]=\"!item.enabled || null\"\n [style.width.%]=\"100 / numCols\"\n [style.paddingTop.%]=\"(50 * cellRatio) / numCols\"\n [style.paddingBottom.%]=\"(50 * cellRatio) / numCols\"\n (click)=\"selectCell(item)\"\n >\n <span\n class=\"owl-dt-calendar-cell-content\"\n [ngClass]=\"{\n 'owl-dt-calendar-cell-out': item.out,\n 'owl-dt-calendar-cell-today': item.value === todayValue,\n 'owl-dt-calendar-cell-selected': isSelected(item.value)\n }\"\n >\n {{ item.displayValue }}\n </span>\n </td>\n</tr>\n", styles: [""], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2996
+ OwlCalendarBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlCalendarBodyComponent, selector: "[ofe-owl-date-time-calendar-body]", inputs: { activeCell: "activeCell", rows: "rows", numCols: "numCols", cellRatio: "cellRatio", todayValue: "todayValue", selectedValues: "selectedValues", selectMode: "selectMode" }, outputs: { cellSelected: "cellSelected" }, host: { properties: { "class.owl-dt-calendar-body": "this.owlDTCalendarBodyClass" } }, exportAs: ["owlDateTimeCalendarBody"], ngImport: i0, template: "<tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\">\n <td\n *ngFor=\"let item of row; let colIndex = index\"\n class=\"owl-dt-calendar-cell {{ item.cellClass }}\"\n [tabindex]=\"isActiveCell(rowIndex, colIndex) ? 0 : -1\"\n [class.owl-dt-calendar-cell-active]=\"isActiveCell(rowIndex, colIndex)\"\n [class.owl-dt-calendar-cell-disabled]=\"!item.enabled\"\n [class.owl-dt-calendar-cell-in-range]=\"isInRange(item.value)\"\n [class.owl-dt-calendar-cell-range-from]=\"isRangeFrom(item.value)\"\n [class.owl-dt-calendar-cell-range-to]=\"isRangeTo(item.value)\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-disabled]=\"!item.enabled || null\"\n [style.width.%]=\"100 / numCols\"\n [style.paddingTop.%]=\"(50 * cellRatio) / numCols\"\n [style.paddingBottom.%]=\"(50 * cellRatio) / numCols\"\n (click)=\"selectCell(item)\"\n >\n <span\n class=\"owl-dt-calendar-cell-content\"\n [ngClass]=\"{\n 'owl-dt-calendar-cell-out': item.out,\n 'owl-dt-calendar-cell-today': item.value === todayValue,\n 'owl-dt-calendar-cell-selected': isSelected(item.value)\n }\"\n >\n {{ item.displayValue }}\n </span>\n </td>\n</tr>\n", styles: [""], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3265
2997
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlCalendarBodyComponent, decorators: [{
3266
2998
  type: Component,
3267
2999
  args: [{
3268
- selector: '[owl-date-time-calendar-body]',
3000
+ /* eslint-disable-next-line @angular-eslint/component-selector */
3001
+ selector: '[ofe-owl-date-time-calendar-body]',
3269
3002
  exportAs: 'owlDateTimeCalendarBody',
3270
3003
  templateUrl: './calendar-body.component.html',
3271
3004
  styleUrls: ['./calendar-body.component.scss'],
3272
- host: {
3273
- '[class.owl-dt-calendar-body]': 'owlDTCalendarBodyClass'
3274
- },
3275
- preserveWhitespaces: false,
3276
3005
  changeDetection: ChangeDetectionStrategy.OnPush
3277
3006
  }]
3278
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { activeCell: [{
3007
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { owlDTCalendarBodyClass: [{
3008
+ type: HostBinding,
3009
+ args: ['class.owl-dt-calendar-body']
3010
+ }], activeCell: [{
3279
3011
  type: Input
3280
3012
  }], rows: [{
3281
3013
  type: Input
@@ -3289,11 +3021,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
3289
3021
  type: Input
3290
3022
  }], selectMode: [{
3291
3023
  type: Input
3292
- }], select: [{
3024
+ }], cellSelected: [{
3293
3025
  type: Output
3294
3026
  }] } });
3295
3027
 
3296
- /* eslint-disable @angular-eslint/no-host-metadata-property */
3297
3028
  const DAYS_PER_WEEK = 7;
3298
3029
  const WEEKS_PER_VIEW = 6;
3299
3030
  class OwlMonthViewComponent {
@@ -3333,6 +3064,9 @@ class OwlMonthViewComponent {
3333
3064
  /** Emits when any date is activated. */
3334
3065
  this.pickerMomentChange = new EventEmitter();
3335
3066
  }
3067
+ get owlDTCalendarView() {
3068
+ return true;
3069
+ }
3336
3070
  get firstDayOfWeek() {
3337
3071
  return this._firstDayOfWeek;
3338
3072
  }
@@ -3443,9 +3177,6 @@ class OwlMonthViewComponent {
3443
3177
  this.selectMode === 'rangeFrom' ||
3444
3178
  this.selectMode === 'rangeTo');
3445
3179
  }
3446
- get owlDTCalendarView() {
3447
- return true;
3448
- }
3449
3180
  ngOnInit() {
3450
3181
  this.generateWeekDays();
3451
3182
  this.localeSub = this.dateTimeAdapter.localeChanges.subscribe(() => {
@@ -3679,18 +3410,14 @@ class OwlMonthViewComponent {
3679
3410
  }
3680
3411
  }
3681
3412
  OwlMonthViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlMonthViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
3682
- OwlMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlMonthViewComponent, selector: "owl-date-time-month-view", inputs: { hideOtherMonths: "hideOtherMonths", firstDayOfWeek: "firstDayOfWeek", selectMode: "selectMode", selected: "selected", selecteds: "selecteds", pickerMoment: "pickerMoment", dateFilter: "dateFilter", minDate: "minDate", maxDate: "maxDate" }, outputs: { selectedChange: "selectedChange", userSelection: "userSelection", pickerMomentChange: "pickerMomentChange" }, host: { properties: { "class.owl-dt-calendar-view": "owlDTCalendarView" } }, viewQueries: [{ propertyName: "calendarBodyElm", first: true, predicate: OwlCalendarBodyComponent, descendants: true, static: true }], exportAs: ["owlYearView"], ngImport: i0, template: "<table\n class=\"owl-dt-calendar-table owl-dt-calendar-month-table\"\n [class.owl-dt-calendar-only-current-month]=\"hideOtherMonths\"\n>\n <thead class=\"owl-dt-calendar-header\">\n <tr class=\"owl-dt-weekdays\">\n <th\n *ngFor=\"let weekday of weekdays\"\n [attr.aria-label]=\"weekday.long\"\n class=\"owl-dt-weekday\"\n scope=\"col\"\n >\n <span>{{ weekday.short }}</span>\n </th>\n </tr>\n <tr>\n <th\n class=\"owl-dt-calendar-table-divider\"\n aria-hidden=\"true\"\n colspan=\"7\"\n ></th>\n </tr>\n </thead>\n <tbody\n owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"days\"\n [todayValue]=\"todayDate\"\n [selectedValues]=\"selectedDates\"\n [selectMode]=\"selectMode\"\n [activeCell]=\"activeCell\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (select)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n", styles: [""], components: [{ type: OwlCalendarBodyComponent, selector: "[owl-date-time-calendar-body]", inputs: ["activeCell", "rows", "numCols", "cellRatio", "todayValue", "selectedValues", "selectMode"], outputs: ["select"], exportAs: ["owlDateTimeCalendarBody"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3413
+ OwlMonthViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlMonthViewComponent, selector: "ofe-owl-date-time-month-view", inputs: { hideOtherMonths: "hideOtherMonths", firstDayOfWeek: "firstDayOfWeek", selectMode: "selectMode", selected: "selected", selecteds: "selecteds", pickerMoment: "pickerMoment", dateFilter: "dateFilter", minDate: "minDate", maxDate: "maxDate" }, outputs: { selectedChange: "selectedChange", userSelection: "userSelection", pickerMomentChange: "pickerMomentChange" }, host: { properties: { "class.owl-dt-calendar-view": "this.owlDTCalendarView" } }, viewQueries: [{ propertyName: "calendarBodyElm", first: true, predicate: OwlCalendarBodyComponent, descendants: true, static: true }], exportAs: ["owlYearView"], ngImport: i0, template: "<table\n class=\"owl-dt-calendar-table owl-dt-calendar-month-table\"\n [class.owl-dt-calendar-only-current-month]=\"hideOtherMonths\"\n>\n <thead class=\"owl-dt-calendar-header\">\n <tr class=\"owl-dt-weekdays\">\n <th\n *ngFor=\"let weekday of weekdays\"\n [attr.aria-label]=\"weekday.long\"\n class=\"owl-dt-weekday\"\n scope=\"col\"\n >\n <span>{{ weekday.short }}</span>\n </th>\n </tr>\n <tr>\n <th\n class=\"owl-dt-calendar-table-divider\"\n aria-hidden=\"true\"\n colspan=\"7\"\n ></th>\n </tr>\n </thead>\n <tbody\n ofe-owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"days\"\n [todayValue]=\"todayDate\"\n [selectedValues]=\"selectedDates\"\n [selectMode]=\"selectMode\"\n [activeCell]=\"activeCell\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (cellSelected)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n", styles: [""], components: [{ type: OwlCalendarBodyComponent, selector: "[ofe-owl-date-time-calendar-body]", inputs: ["activeCell", "rows", "numCols", "cellRatio", "todayValue", "selectedValues", "selectMode"], outputs: ["cellSelected"], exportAs: ["owlDateTimeCalendarBody"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3683
3414
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlMonthViewComponent, decorators: [{
3684
3415
  type: Component,
3685
3416
  args: [{
3686
- selector: 'owl-date-time-month-view',
3417
+ selector: 'ofe-owl-date-time-month-view',
3687
3418
  exportAs: 'owlYearView',
3688
3419
  templateUrl: './calendar-month-view.component.html',
3689
3420
  styleUrls: ['./calendar-month-view.component.scss'],
3690
- host: {
3691
- '[class.owl-dt-calendar-view]': 'owlDTCalendarView'
3692
- },
3693
- preserveWhitespaces: false,
3694
3421
  changeDetection: ChangeDetectionStrategy.OnPush
3695
3422
  }]
3696
3423
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
@@ -3700,7 +3427,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
3700
3427
  }, {
3701
3428
  type: Inject,
3702
3429
  args: [OWL_DATE_TIME_FORMATS]
3703
- }] }]; }, propDecorators: { hideOtherMonths: [{
3430
+ }] }]; }, propDecorators: { owlDTCalendarView: [{
3431
+ type: HostBinding,
3432
+ args: ['class.owl-dt-calendar-view']
3433
+ }], hideOtherMonths: [{
3704
3434
  type: Input
3705
3435
  }], firstDayOfWeek: [{
3706
3436
  type: Input
@@ -3729,7 +3459,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
3729
3459
  args: [OwlCalendarBodyComponent, { static: true }]
3730
3460
  }] } });
3731
3461
 
3732
- /* eslint-disable @angular-eslint/no-host-metadata-property */
3733
3462
  const MONTHS_PER_YEAR = 12;
3734
3463
  const MONTHS_PER_ROW = 3;
3735
3464
  class OwlYearViewComponent {
@@ -3752,7 +3481,7 @@ class OwlYearViewComponent {
3752
3481
  /**
3753
3482
  * Callback to invoke when a new month is selected
3754
3483
  * */
3755
- this.change = new EventEmitter();
3484
+ this.monthChange = new EventEmitter();
3756
3485
  /**
3757
3486
  * Emits the selected year. This doesn't imply a change on the selected date
3758
3487
  * */
@@ -3763,6 +3492,9 @@ class OwlYearViewComponent {
3763
3492
  this.keyboardEnter = new EventEmitter();
3764
3493
  this.monthNames = this.dateTimeAdapter.getMonthNames('short');
3765
3494
  }
3495
+ get owlDTCalendarView() {
3496
+ return true;
3497
+ }
3766
3498
  get selectMode() {
3767
3499
  return this._selectMode;
3768
3500
  }
@@ -3848,9 +3580,6 @@ class OwlYearViewComponent {
3848
3580
  this.selectMode === 'rangeFrom' ||
3849
3581
  this.selectMode === 'rangeTo');
3850
3582
  }
3851
- get owlDTCalendarView() {
3852
- return true;
3853
- }
3854
3583
  ngOnInit() {
3855
3584
  this.localeSub = this.dateTimeAdapter.localeChanges.subscribe(() => {
3856
3585
  this.generateMonthList();
@@ -3878,7 +3607,7 @@ class OwlYearViewComponent {
3878
3607
  this.monthSelected.emit(firstDateOfMonth);
3879
3608
  const daysInMonth = this.dateTimeAdapter.getNumDaysInMonth(firstDateOfMonth);
3880
3609
  const result = this.dateTimeAdapter.createDate(this.dateTimeAdapter.getYear(this.pickerMoment), month, Math.min(daysInMonth, this.dateTimeAdapter.getDate(this.pickerMoment)), this.dateTimeAdapter.getHours(this.pickerMoment), this.dateTimeAdapter.getMinutes(this.pickerMoment), this.dateTimeAdapter.getSeconds(this.pickerMoment));
3881
- this.change.emit(result);
3610
+ this.monthChange.emit(result);
3882
3611
  }
3883
3612
  /**
3884
3613
  * Handle keydown event on calendar body
@@ -4047,18 +3776,14 @@ class OwlYearViewComponent {
4047
3776
  }
4048
3777
  }
4049
3778
  OwlYearViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlYearViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
4050
- OwlYearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlYearViewComponent, selector: "owl-date-time-year-view", inputs: { selectMode: "selectMode", selected: "selected", selecteds: "selecteds", pickerMoment: "pickerMoment", dateFilter: "dateFilter", minDate: "minDate", maxDate: "maxDate" }, outputs: { change: "change", monthSelected: "monthSelected", pickerMomentChange: "pickerMomentChange", keyboardEnter: "keyboardEnter" }, host: { properties: { "class.owl-dt-calendar-view": "owlDTCalendarView" } }, viewQueries: [{ propertyName: "calendarBodyElm", first: true, predicate: OwlCalendarBodyComponent, descendants: true, static: true }], exportAs: ["owlMonthView"], ngImport: i0, template: "<table class=\"owl-dt-calendar-table owl-dt-calendar-year-table\">\n <thead class=\"owl-dt-calendar-header\">\n <tr>\n <th\n class=\"owl-dt-calendar-table-divider\"\n aria-hidden=\"true\"\n colspan=\"3\"\n ></th>\n </tr>\n </thead>\n <tbody\n owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"months\"\n [numCols]=\"3\"\n [cellRatio]=\"3 / 7\"\n [activeCell]=\"activeCell\"\n [todayValue]=\"todayMonth\"\n [selectedValues]=\"selectedMonths\"\n [selectMode]=\"selectMode\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (select)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n", styles: [""], components: [{ type: OwlCalendarBodyComponent, selector: "[owl-date-time-calendar-body]", inputs: ["activeCell", "rows", "numCols", "cellRatio", "todayValue", "selectedValues", "selectMode"], outputs: ["select"], exportAs: ["owlDateTimeCalendarBody"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3779
+ OwlYearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlYearViewComponent, selector: "ofe-owl-date-time-year-view", inputs: { selectMode: "selectMode", selected: "selected", selecteds: "selecteds", pickerMoment: "pickerMoment", dateFilter: "dateFilter", minDate: "minDate", maxDate: "maxDate" }, outputs: { monthChange: "monthChange", monthSelected: "monthSelected", pickerMomentChange: "pickerMomentChange", keyboardEnter: "keyboardEnter" }, host: { properties: { "class.owl-dt-calendar-view": "this.owlDTCalendarView" } }, viewQueries: [{ propertyName: "calendarBodyElm", first: true, predicate: OwlCalendarBodyComponent, descendants: true, static: true }], exportAs: ["owlMonthView"], ngImport: i0, template: "<table class=\"owl-dt-calendar-table owl-dt-calendar-year-table\">\n <thead class=\"owl-dt-calendar-header\">\n <tr>\n <th\n class=\"owl-dt-calendar-table-divider\"\n aria-hidden=\"true\"\n colspan=\"3\"\n ></th>\n </tr>\n </thead>\n <tbody\n ofe-owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"months\"\n [numCols]=\"3\"\n [cellRatio]=\"3 / 7\"\n [activeCell]=\"activeCell\"\n [todayValue]=\"todayMonth\"\n [selectedValues]=\"selectedMonths\"\n [selectMode]=\"selectMode\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (cellSelected)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n", styles: [""], components: [{ type: OwlCalendarBodyComponent, selector: "[ofe-owl-date-time-calendar-body]", inputs: ["activeCell", "rows", "numCols", "cellRatio", "todayValue", "selectedValues", "selectMode"], outputs: ["cellSelected"], exportAs: ["owlDateTimeCalendarBody"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4051
3780
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlYearViewComponent, decorators: [{
4052
3781
  type: Component,
4053
3782
  args: [{
4054
- selector: 'owl-date-time-year-view',
3783
+ selector: 'ofe-owl-date-time-year-view',
4055
3784
  exportAs: 'owlMonthView',
4056
3785
  templateUrl: './calendar-year-view.component.html',
4057
3786
  styleUrls: ['./calendar-year-view.component.scss'],
4058
- host: {
4059
- '[class.owl-dt-calendar-view]': 'owlDTCalendarView'
4060
- },
4061
- preserveWhitespaces: false,
4062
3787
  changeDetection: ChangeDetectionStrategy.OnPush
4063
3788
  }]
4064
3789
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
@@ -4068,7 +3793,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4068
3793
  }, {
4069
3794
  type: Inject,
4070
3795
  args: [OWL_DATE_TIME_FORMATS]
4071
- }] }]; }, propDecorators: { selectMode: [{
3796
+ }] }]; }, propDecorators: { owlDTCalendarView: [{
3797
+ type: HostBinding,
3798
+ args: ['class.owl-dt-calendar-view']
3799
+ }], selectMode: [{
4072
3800
  type: Input
4073
3801
  }], selected: [{
4074
3802
  type: Input
@@ -4082,7 +3810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4082
3810
  type: Input
4083
3811
  }], maxDate: [{
4084
3812
  type: Input
4085
- }], change: [{
3813
+ }], monthChange: [{
4086
3814
  type: Output
4087
3815
  }], monthSelected: [{
4088
3816
  type: Output
@@ -4095,7 +3823,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4095
3823
  args: [OwlCalendarBodyComponent, { static: true }]
4096
3824
  }] } });
4097
3825
 
4098
- /* eslint-disable @angular-eslint/no-host-metadata-property */
4099
3826
  const YEARS_PER_ROW = 3;
4100
3827
  const YEAR_ROWS = 7;
4101
3828
  class OwlMultiYearViewComponent {
@@ -4112,7 +3839,7 @@ class OwlMultiYearViewComponent {
4112
3839
  /**
4113
3840
  * Callback to invoke when a new month is selected
4114
3841
  * */
4115
- this.change = new EventEmitter();
3842
+ this.monthChange = new EventEmitter();
4116
3843
  /**
4117
3844
  * Emits the selected year. This doesn't imply a change on the selected date
4118
3845
  * */
@@ -4122,6 +3849,12 @@ class OwlMultiYearViewComponent {
4122
3849
  /** Emits when use keyboard enter to select a calendar cell */
4123
3850
  this.keyboardEnter = new EventEmitter();
4124
3851
  }
3852
+ get owlDTCalendarView() {
3853
+ return true;
3854
+ }
3855
+ get owlDTCalendarMultiYearView() {
3856
+ return true;
3857
+ }
4125
3858
  get selectMode() {
4126
3859
  return this._selectMode;
4127
3860
  }
@@ -4229,13 +3962,6 @@ class OwlMultiYearViewComponent {
4229
3962
  get nextButtonLabel() {
4230
3963
  return this.pickerIntl.nextMultiYearLabel;
4231
3964
  }
4232
- get owlDTCalendarView() {
4233
- return true;
4234
- }
4235
- get owlDTCalendarMultiYearView() {
4236
- return true;
4237
- }
4238
- ngOnInit() { }
4239
3965
  ngAfterContentInit() {
4240
3966
  this._todayYear = this.dateTimeAdapter.getYear(this.dateTimeAdapter.now());
4241
3967
  this.generateYearList();
@@ -4252,7 +3978,7 @@ class OwlMultiYearViewComponent {
4252
3978
  const firstDateOfMonth = this.dateTimeAdapter.createDate(year, this.dateTimeAdapter.getMonth(this.pickerMoment), 1);
4253
3979
  const daysInMonth = this.dateTimeAdapter.getNumDaysInMonth(firstDateOfMonth);
4254
3980
  const selected = this.dateTimeAdapter.createDate(year, this.dateTimeAdapter.getMonth(this.pickerMoment), Math.min(daysInMonth, this.dateTimeAdapter.getDate(this.pickerMoment)), this.dateTimeAdapter.getHours(this.pickerMoment), this.dateTimeAdapter.getMinutes(this.pickerMoment), this.dateTimeAdapter.getSeconds(this.pickerMoment));
4255
- this.change.emit(selected);
3981
+ this.monthChange.emit(selected);
4256
3982
  }
4257
3983
  /**
4258
3984
  * Generate the previous year list
@@ -4422,23 +4148,24 @@ class OwlMultiYearViewComponent {
4422
4148
  }
4423
4149
  }
4424
4150
  OwlMultiYearViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlMultiYearViewComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: OwlDateTimeIntl }, { token: DateTimeAdapter, optional: true }], target: i0.ɵɵFactoryTarget.Component });
4425
- OwlMultiYearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlMultiYearViewComponent, selector: "owl-date-time-multi-year-view", inputs: { selectMode: "selectMode", selected: "selected", selecteds: "selecteds", pickerMoment: "pickerMoment", dateFilter: "dateFilter", minDate: "minDate", maxDate: "maxDate" }, outputs: { change: "change", yearSelected: "yearSelected", pickerMomentChange: "pickerMomentChange", keyboardEnter: "keyboardEnter" }, host: { properties: { "class.owl-dt-calendar-view": "owlDTCalendarView", "class.owl-dt-calendar-multi-year-view": "owlDTCalendarMultiYearView" } }, viewQueries: [{ propertyName: "calendarBodyElm", first: true, predicate: OwlCalendarBodyComponent, descendants: true, static: true }], ngImport: i0, template: "<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n [disabled]=\"!previousEnabled()\"\n [attr.aria-label]=\"prevButtonLabel\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"prevYearList($event)\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Left\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546 c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681 l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n<table class=\"owl-dt-calendar-table owl-dt-calendar-multi-year-table\">\n <thead class=\"owl-dt-calendar-header\">\n <tr>\n <th colspan=\"3\">{{ tableHeader }}</th>\n </tr>\n </thead>\n <tbody\n owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"years\"\n [numCols]=\"3\"\n [cellRatio]=\"3 / 7\"\n [activeCell]=\"activeCell\"\n [todayValue]=\"todayYear\"\n [selectedValues]=\"selectedYears\"\n [selectMode]=\"selectMode\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (select)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n [disabled]=\"!nextEnabled()\"\n [attr.aria-label]=\"nextButtonLabel\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"nextYearList($event)\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Right\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n C197.237,120.447,195.534,115.448,191.75,111.689z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n", styles: [""], components: [{ type: OwlCalendarBodyComponent, selector: "[owl-date-time-calendar-body]", inputs: ["activeCell", "rows", "numCols", "cellRatio", "todayValue", "selectedValues", "selectMode"], outputs: ["select"], exportAs: ["owlDateTimeCalendarBody"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4151
+ OwlMultiYearViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlMultiYearViewComponent, selector: "ofe-owl-date-time-multi-year-view", inputs: { selectMode: "selectMode", selected: "selected", selecteds: "selecteds", pickerMoment: "pickerMoment", dateFilter: "dateFilter", minDate: "minDate", maxDate: "maxDate" }, outputs: { monthChange: "monthChange", yearSelected: "yearSelected", pickerMomentChange: "pickerMomentChange", keyboardEnter: "keyboardEnter" }, host: { properties: { "class.owl-dt-calendar-view": "this.owlDTCalendarView", "class.owl-dt-calendar-multi-year-view": "this.owlDTCalendarMultiYearView" } }, viewQueries: [{ propertyName: "calendarBodyElm", first: true, predicate: OwlCalendarBodyComponent, descendants: true, static: true }], ngImport: i0, template: "<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n [disabled]=\"!previousEnabled()\"\n [attr.aria-label]=\"prevButtonLabel\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"prevYearList($event)\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Left\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546 c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681 l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n<table class=\"owl-dt-calendar-table owl-dt-calendar-multi-year-table\">\n <thead class=\"owl-dt-calendar-header\">\n <tr>\n <th colspan=\"3\">{{ tableHeader }}</th>\n </tr>\n </thead>\n <tbody\n ofe-owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"years\"\n [numCols]=\"3\"\n [cellRatio]=\"3 / 7\"\n [activeCell]=\"activeCell\"\n [todayValue]=\"todayYear\"\n [selectedValues]=\"selectedYears\"\n [selectMode]=\"selectMode\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (cellSelected)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n [disabled]=\"!nextEnabled()\"\n [attr.aria-label]=\"nextButtonLabel\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"nextYearList($event)\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Right\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n C197.237,120.447,195.534,115.448,191.75,111.689z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n", styles: [""], components: [{ type: OwlCalendarBodyComponent, selector: "[ofe-owl-date-time-calendar-body]", inputs: ["activeCell", "rows", "numCols", "cellRatio", "todayValue", "selectedValues", "selectMode"], outputs: ["cellSelected"], exportAs: ["owlDateTimeCalendarBody"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4426
4152
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlMultiYearViewComponent, decorators: [{
4427
4153
  type: Component,
4428
4154
  args: [{
4429
- selector: 'owl-date-time-multi-year-view',
4155
+ selector: 'ofe-owl-date-time-multi-year-view',
4430
4156
  templateUrl: './calendar-multi-year-view.component.html',
4431
4157
  styleUrls: ['./calendar-multi-year-view.component.scss'],
4432
- host: {
4433
- '[class.owl-dt-calendar-view]': 'owlDTCalendarView',
4434
- '[class.owl-dt-calendar-multi-year-view]': 'owlDTCalendarMultiYearView'
4435
- },
4436
- preserveWhitespaces: false,
4437
4158
  changeDetection: ChangeDetectionStrategy.OnPush
4438
4159
  }]
4439
4160
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: OwlDateTimeIntl }, { type: DateTimeAdapter, decorators: [{
4440
4161
  type: Optional
4441
- }] }]; }, propDecorators: { selectMode: [{
4162
+ }] }]; }, propDecorators: { owlDTCalendarView: [{
4163
+ type: HostBinding,
4164
+ args: ['class.owl-dt-calendar-view']
4165
+ }], owlDTCalendarMultiYearView: [{
4166
+ type: HostBinding,
4167
+ args: ['class.owl-dt-calendar-multi-year-view']
4168
+ }], selectMode: [{
4442
4169
  type: Input
4443
4170
  }], selected: [{
4444
4171
  type: Input
@@ -4452,7 +4179,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4452
4179
  type: Input
4453
4180
  }], maxDate: [{
4454
4181
  type: Input
4455
- }], change: [{
4182
+ }], monthChange: [{
4456
4183
  type: Output
4457
4184
  }], yearSelected: [{
4458
4185
  type: Output
@@ -4465,7 +4192,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4465
4192
  args: [OwlCalendarBodyComponent, { static: true }]
4466
4193
  }] } });
4467
4194
 
4468
- /* eslint-disable @angular-eslint/no-host-metadata-property */
4469
4195
  class OwlCalendarComponent {
4470
4196
  constructor(elmRef, pickerIntl, ngZone, cdRef, dateTimeAdapter, dateTimeFormats) {
4471
4197
  this.elmRef = elmRef;
@@ -4518,6 +4244,9 @@ class OwlCalendarComponent {
4518
4244
  this.cdRef.markForCheck();
4519
4245
  });
4520
4246
  }
4247
+ get owlDTCalendarClass() {
4248
+ return true;
4249
+ }
4521
4250
  get minDate() {
4522
4251
  return this._minDate;
4523
4252
  }
@@ -4614,13 +4343,6 @@ class OwlCalendarComponent {
4614
4343
  get isMonthView() {
4615
4344
  return this._currentView === 'month';
4616
4345
  }
4617
- /**
4618
- * Bind class 'owl-dt-calendar' to host
4619
- * */
4620
- get owlDTCalendarClass() {
4621
- return true;
4622
- }
4623
- ngOnInit() { }
4624
4346
  ngAfterContentInit() {
4625
4347
  this._currentView = this.startView;
4626
4348
  }
@@ -4752,18 +4474,14 @@ class OwlCalendarComponent {
4752
4474
  }
4753
4475
  }
4754
4476
  OwlCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlCalendarComponent, deps: [{ token: i0.ElementRef }, { token: OwlDateTimeIntl }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
4755
- OwlCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlCalendarComponent, selector: "owl-date-time-calendar", inputs: { minDate: "minDate", maxDate: "maxDate", pickerMoment: "pickerMoment", selected: "selected", selecteds: "selecteds", dateFilter: "dateFilter", firstDayOfWeek: "firstDayOfWeek", selectMode: "selectMode", startView: "startView", hideOtherMonths: "hideOtherMonths" }, outputs: { pickerMomentChange: "pickerMomentChange", selectedChange: "selectedChange", userSelection: "userSelection", yearSelected: "yearSelected", monthSelected: "monthSelected" }, host: { properties: { "class.owl-dt-calendar": "owlDTCalendarClass" } }, exportAs: ["owlDateTimeCalendar"], ngImport: i0, template: "<div class=\"owl-dt-calendar-control\">\n <!-- focus when keyboard tab (http://kizu.ru/en/blog/keyboard-only-focus/#x) -->\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"0\"\n [style.visibility]=\"showControlArrows ? 'visible' : 'hidden'\"\n [disabled]=\"!prevButtonEnabled()\"\n [attr.aria-label]=\"prevButtonLabel\"\n (click)=\"previousClicked()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n <!-- <editor-fold desc=\"SVG Arrow Left\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546 c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681 l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n </button>\n <div class=\"owl-dt-calendar-control-content\">\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-period-button\"\n type=\"button\"\n tabindex=\"0\"\n [attr.aria-label]=\"periodButtonLabel\"\n (click)=\"toggleViews()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ periodButtonText }}\n\n <span\n class=\"owl-dt-control-button-arrow\"\n [style.transform]=\"'rotate(' + (isMonthView ? 0 : 180) + 'deg)'\"\n >\n <!-- <editor-fold desc=\"SVG Arrow\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n width=\"50%\"\n height=\"50%\"\n viewBox=\"0 0 292.362 292.362\"\n style=\"enable-background: new 0 0 292.362 292.362\"\n xml:space=\"preserve\"\n >\n <g>\n <path\n d=\"M286.935,69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952,0-9.233,1.807-12.85,5.424\n C1.807,72.998,0,77.279,0,82.228c0,4.948,1.807,9.229,5.424,12.847l127.907,127.907c3.621,3.617,7.902,5.428,12.85,5.428\n s9.233-1.811,12.847-5.428L286.935,95.074c3.613-3.617,5.427-7.898,5.427-12.847C292.362,77.279,290.548,72.998,286.935,69.377z\"\n />\n </g>\n </svg>\n <!-- </editor-fold> -->\n </span>\n </span>\n </button>\n </div>\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"0\"\n [style.visibility]=\"showControlArrows ? 'visible' : 'hidden'\"\n [disabled]=\"!nextButtonEnabled()\"\n [attr.aria-label]=\"nextButtonLabel\"\n (click)=\"nextClicked()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n <!-- <editor-fold desc=\"SVG Arrow Right\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n C197.237,120.447,195.534,115.448,191.75,111.689z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n </button>\n</div>\n<div\n class=\"owl-dt-calendar-main\"\n cdkMonitorSubtreeFocus\n [ngSwitch]=\"currentView\"\n tabindex=\"-1\"\n>\n <owl-date-time-month-view\n *ngSwitchCase=\"'month'\"\n [pickerMoment]=\"pickerMoment\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n [hideOtherMonths]=\"hideOtherMonths\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (selectedChange)=\"dateSelected($event)\"\n (userSelection)=\"userSelected()\"\n ></owl-date-time-month-view>\n\n <owl-date-time-year-view\n *ngSwitchCase=\"'year'\"\n [pickerMoment]=\"pickerMoment\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n (keyboardEnter)=\"focusActiveCell()\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (monthSelected)=\"selectMonthInYearView($event)\"\n (change)=\"goToDateInView($event, 'month')\"\n ></owl-date-time-year-view>\n\n <owl-date-time-multi-year-view\n *ngSwitchCase=\"'multi-years'\"\n [pickerMoment]=\"pickerMoment\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n (keyboardEnter)=\"focusActiveCell()\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (yearSelected)=\"selectYearInMultiYearView($event)\"\n (change)=\"goToDateInView($event, 'year')\"\n ></owl-date-time-multi-year-view>\n</div>\n", styles: [""], components: [{ type: OwlMonthViewComponent, selector: "owl-date-time-month-view", inputs: ["hideOtherMonths", "firstDayOfWeek", "selectMode", "selected", "selecteds", "pickerMoment", "dateFilter", "minDate", "maxDate"], outputs: ["selectedChange", "userSelection", "pickerMomentChange"], exportAs: ["owlYearView"] }, { type: OwlYearViewComponent, selector: "owl-date-time-year-view", inputs: ["selectMode", "selected", "selecteds", "pickerMoment", "dateFilter", "minDate", "maxDate"], outputs: ["change", "monthSelected", "pickerMomentChange", "keyboardEnter"], exportAs: ["owlMonthView"] }, { type: OwlMultiYearViewComponent, selector: "owl-date-time-multi-year-view", inputs: ["selectMode", "selected", "selecteds", "pickerMoment", "dateFilter", "minDate", "maxDate"], outputs: ["change", "yearSelected", "pickerMomentChange", "keyboardEnter"] }], directives: [{ type: i1$4.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4477
+ OwlCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlCalendarComponent, selector: "ofe-owl-date-time-calendar", inputs: { minDate: "minDate", maxDate: "maxDate", pickerMoment: "pickerMoment", selected: "selected", selecteds: "selecteds", dateFilter: "dateFilter", firstDayOfWeek: "firstDayOfWeek", selectMode: "selectMode", startView: "startView", hideOtherMonths: "hideOtherMonths" }, outputs: { pickerMomentChange: "pickerMomentChange", selectedChange: "selectedChange", userSelection: "userSelection", yearSelected: "yearSelected", monthSelected: "monthSelected" }, host: { properties: { "class.owl-dt-calendar": "this.owlDTCalendarClass" } }, exportAs: ["owlDateTimeCalendar"], ngImport: i0, template: "<div class=\"owl-dt-calendar-control\">\n <!-- focus when keyboard tab (http://kizu.ru/en/blog/keyboard-only-focus/#x) -->\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"0\"\n [style.visibility]=\"showControlArrows ? 'visible' : 'hidden'\"\n [disabled]=\"!prevButtonEnabled()\"\n [attr.aria-label]=\"prevButtonLabel\"\n (click)=\"previousClicked()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n <!-- <editor-fold desc=\"SVG Arrow Left\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546 c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681 l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n </button>\n <div class=\"owl-dt-calendar-control-content\">\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-period-button\"\n type=\"button\"\n tabindex=\"0\"\n [attr.aria-label]=\"periodButtonLabel\"\n (click)=\"toggleViews()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ periodButtonText }}\n\n <span\n class=\"owl-dt-control-button-arrow\"\n [style.transform]=\"'rotate(' + (isMonthView ? 0 : 180) + 'deg)'\"\n >\n <!-- <editor-fold desc=\"SVG Arrow\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n width=\"50%\"\n height=\"50%\"\n viewBox=\"0 0 292.362 292.362\"\n style=\"enable-background: new 0 0 292.362 292.362\"\n xml:space=\"preserve\"\n >\n <g>\n <path\n d=\"M286.935,69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952,0-9.233,1.807-12.85,5.424\n C1.807,72.998,0,77.279,0,82.228c0,4.948,1.807,9.229,5.424,12.847l127.907,127.907c3.621,3.617,7.902,5.428,12.85,5.428\n s9.233-1.811,12.847-5.428L286.935,95.074c3.613-3.617,5.427-7.898,5.427-12.847C292.362,77.279,290.548,72.998,286.935,69.377z\"\n />\n </g>\n </svg>\n <!-- </editor-fold> -->\n </span>\n </span>\n </button>\n </div>\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"0\"\n [style.visibility]=\"showControlArrows ? 'visible' : 'hidden'\"\n [disabled]=\"!nextButtonEnabled()\"\n [attr.aria-label]=\"nextButtonLabel\"\n (click)=\"nextClicked()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n <!-- <editor-fold desc=\"SVG Arrow Right\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n C197.237,120.447,195.534,115.448,191.75,111.689z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n </button>\n</div>\n<div\n class=\"owl-dt-calendar-main\"\n cdkMonitorSubtreeFocus\n [ngSwitch]=\"currentView\"\n tabindex=\"-1\"\n>\n <ofe-owl-date-time-month-view\n *ngSwitchCase=\"'month'\"\n [pickerMoment]=\"pickerMoment\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n [hideOtherMonths]=\"hideOtherMonths\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (selectedChange)=\"dateSelected($event)\"\n (userSelection)=\"userSelected()\"\n ></ofe-owl-date-time-month-view>\n\n <ofe-owl-date-time-year-view\n *ngSwitchCase=\"'year'\"\n [pickerMoment]=\"pickerMoment\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n (keyboardEnter)=\"focusActiveCell()\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (monthSelected)=\"selectMonthInYearView($event)\"\n (monthChange)=\"goToDateInView($event, 'month')\"\n ></ofe-owl-date-time-year-view>\n\n <ofe-owl-date-time-multi-year-view\n *ngSwitchCase=\"'multi-years'\"\n [pickerMoment]=\"pickerMoment\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n (keyboardEnter)=\"focusActiveCell()\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (yearSelected)=\"selectYearInMultiYearView($event)\"\n (monthChange)=\"goToDateInView($event, 'year')\"\n ></ofe-owl-date-time-multi-year-view>\n</div>\n", styles: [""], components: [{ type: OwlMonthViewComponent, selector: "ofe-owl-date-time-month-view", inputs: ["hideOtherMonths", "firstDayOfWeek", "selectMode", "selected", "selecteds", "pickerMoment", "dateFilter", "minDate", "maxDate"], outputs: ["selectedChange", "userSelection", "pickerMomentChange"], exportAs: ["owlYearView"] }, { type: OwlYearViewComponent, selector: "ofe-owl-date-time-year-view", inputs: ["selectMode", "selected", "selecteds", "pickerMoment", "dateFilter", "minDate", "maxDate"], outputs: ["monthChange", "monthSelected", "pickerMomentChange", "keyboardEnter"], exportAs: ["owlMonthView"] }, { type: OwlMultiYearViewComponent, selector: "ofe-owl-date-time-multi-year-view", inputs: ["selectMode", "selected", "selecteds", "pickerMoment", "dateFilter", "minDate", "maxDate"], outputs: ["monthChange", "yearSelected", "pickerMomentChange", "keyboardEnter"] }], directives: [{ type: i1$4.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4756
4478
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlCalendarComponent, decorators: [{
4757
4479
  type: Component,
4758
4480
  args: [{
4759
- selector: 'owl-date-time-calendar',
4481
+ selector: 'ofe-owl-date-time-calendar',
4760
4482
  exportAs: 'owlDateTimeCalendar',
4761
4483
  templateUrl: './calendar.component.html',
4762
4484
  styleUrls: ['./calendar.component.scss'],
4763
- host: {
4764
- '[class.owl-dt-calendar]': 'owlDTCalendarClass'
4765
- },
4766
- preserveWhitespaces: false,
4767
4485
  changeDetection: ChangeDetectionStrategy.OnPush
4768
4486
  }]
4769
4487
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: OwlDateTimeIntl }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
@@ -4773,7 +4491,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4773
4491
  }, {
4774
4492
  type: Inject,
4775
4493
  args: [OWL_DATE_TIME_FORMATS]
4776
- }] }]; }, propDecorators: { minDate: [{
4494
+ }] }]; }, propDecorators: { owlDTCalendarClass: [{
4495
+ type: HostBinding,
4496
+ args: ['class.owl-dt-calendar']
4497
+ }], minDate: [{
4777
4498
  type: Input
4778
4499
  }], maxDate: [{
4779
4500
  type: Input
@@ -4805,6 +4526,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4805
4526
  type: Output
4806
4527
  }] } });
4807
4528
 
4529
+ /**
4530
+ * date-time-picker.animations
4531
+ */
4532
+ const owlDateTimePickerAnimations = {
4533
+ transformPicker: trigger('transformPicker', [
4534
+ state('void', style({ opacity: 0, transform: 'scale(1, 0)' })),
4535
+ state('enter', style({ opacity: 1, transform: 'scale(1, 1)' })),
4536
+ transition('void => enter', group([
4537
+ query('@fadeInPicker', animateChild(), { optional: true }),
4538
+ animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')
4539
+ ])),
4540
+ transition('enter => void', animate('100ms linear', style({ opacity: 0 })))
4541
+ ]),
4542
+ fadeInPicker: trigger('fadeInPicker', [
4543
+ state('enter', style({ opacity: 1 })),
4544
+ state('void', style({ opacity: 0 })),
4545
+ transition('void => enter', animate('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)'))
4546
+ ])
4547
+ };
4548
+
4808
4549
  /**
4809
4550
  * numberFixedLen.pipe
4810
4551
  */
@@ -4831,7 +4572,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4831
4572
  }]
4832
4573
  }] });
4833
4574
 
4834
- /* eslint-disable @angular-eslint/no-host-metadata-property */
4835
4575
  class OwlTimerBoxComponent {
4836
4576
  constructor() {
4837
4577
  this.showDivider = false;
@@ -4841,12 +4581,12 @@ class OwlTimerBoxComponent {
4841
4581
  this.inputStream = new Subject();
4842
4582
  this.inputStreamSub = Subscription.EMPTY;
4843
4583
  }
4844
- get displayValue() {
4845
- return this.boxValue || this.value;
4846
- }
4847
4584
  get owlDTTimerBoxClass() {
4848
4585
  return true;
4849
4586
  }
4587
+ get displayValue() {
4588
+ return this.boxValue || this.value;
4589
+ }
4850
4590
  ngOnInit() {
4851
4591
  this.inputStreamSub = this.inputStream
4852
4592
  .pipe(debounceTime(500), distinctUntilChanged())
@@ -4880,21 +4620,20 @@ class OwlTimerBoxComponent {
4880
4620
  }
4881
4621
  }
4882
4622
  OwlTimerBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlTimerBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
4883
- OwlTimerBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlTimerBoxComponent, selector: "owl-date-time-timer-box", inputs: { showDivider: "showDivider", upBtnAriaLabel: "upBtnAriaLabel", upBtnDisabled: "upBtnDisabled", downBtnAriaLabel: "downBtnAriaLabel", downBtnDisabled: "downBtnDisabled", boxValue: "boxValue", value: "value", min: "min", max: "max", step: "step", inputLabel: "inputLabel" }, outputs: { valueChange: "valueChange", inputChange: "inputChange" }, host: { properties: { "class.owl-dt-timer-box": "owlDTTimerBoxClass" } }, exportAs: ["owlDateTimeTimerBox"], ngImport: i0, template: "<div *ngIf=\"showDivider\" class=\"owl-dt-timer-divider\" aria-hidden=\"true\"></div>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"upBtnDisabled\"\n [attr.aria-label]=\"upBtnAriaLabel\"\n (click)=\"upBtnClicked()\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Up\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 451.847 451.846\"\n style=\"enable-background: new 0 0 451.847 451.846\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n d=\"M248.292,106.406l194.281,194.29c12.365,12.359,12.365,32.391,0,44.744c-12.354,12.354-32.391,12.354-44.744,0\n L225.923,173.529L54.018,345.44c-12.36,12.354-32.395,12.354-44.748,0c-12.359-12.354-12.359-32.391,0-44.75L203.554,106.4\n c6.18-6.174,14.271-9.259,22.369-9.259C234.018,97.141,242.115,100.232,248.292,106.406z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n<label class=\"owl-dt-timer-content\">\n <input\n class=\"owl-dt-timer-input\"\n maxlength=\"2\"\n [value]=\"displayValue | numberFixedLen: 2\"\n (input)=\"handleInputChange(valueInput.value)\"\n #valueInput\n />\n <span class=\"owl-hidden-accessible\">{{ inputLabel }}</span>\n</label>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"downBtnDisabled\"\n [attr.aria-label]=\"downBtnAriaLabel\"\n (click)=\"downBtnClicked()\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Down\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 451.847 451.846\"\n style=\"enable-background: new 0 0 451.847 451.846\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n d=\"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751\n c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0\n c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "numberFixedLen": NumberFixedLenPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4623
+ OwlTimerBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlTimerBoxComponent, selector: "ofe-owl-date-time-timer-box", inputs: { showDivider: "showDivider", upBtnAriaLabel: "upBtnAriaLabel", upBtnDisabled: "upBtnDisabled", downBtnAriaLabel: "downBtnAriaLabel", downBtnDisabled: "downBtnDisabled", boxValue: "boxValue", value: "value", min: "min", max: "max", step: "step", inputLabel: "inputLabel" }, outputs: { valueChange: "valueChange", inputChange: "inputChange" }, host: { properties: { "class.owl-dt-timer-box": "this.owlDTTimerBoxClass" } }, exportAs: ["owlDateTimeTimerBox"], ngImport: i0, template: "<div *ngIf=\"showDivider\" class=\"owl-dt-timer-divider\" aria-hidden=\"true\"></div>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"upBtnDisabled\"\n [attr.aria-label]=\"upBtnAriaLabel\"\n (click)=\"upBtnClicked()\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Up\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 451.847 451.846\"\n style=\"enable-background: new 0 0 451.847 451.846\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n d=\"M248.292,106.406l194.281,194.29c12.365,12.359,12.365,32.391,0,44.744c-12.354,12.354-32.391,12.354-44.744,0\n L225.923,173.529L54.018,345.44c-12.36,12.354-32.395,12.354-44.748,0c-12.359-12.354-12.359-32.391,0-44.75L203.554,106.4\n c6.18-6.174,14.271-9.259,22.369-9.259C234.018,97.141,242.115,100.232,248.292,106.406z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n<label class=\"owl-dt-timer-content\">\n <input\n class=\"owl-dt-timer-input\"\n maxlength=\"2\"\n [value]=\"displayValue | numberFixedLen: 2\"\n (input)=\"handleInputChange(valueInput.value)\"\n #valueInput\n />\n <span class=\"owl-hidden-accessible\">{{ inputLabel }}</span>\n</label>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"-1\"\n [disabled]=\"downBtnDisabled\"\n [attr.aria-label]=\"downBtnAriaLabel\"\n (click)=\"downBtnClicked()\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Down\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 451.847 451.846\"\n style=\"enable-background: new 0 0 451.847 451.846\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n d=\"M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751\n c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0\n c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n", styles: [""], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "numberFixedLen": NumberFixedLenPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
4884
4624
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlTimerBoxComponent, decorators: [{
4885
4625
  type: Component,
4886
4626
  args: [{
4887
4627
  exportAs: 'owlDateTimeTimerBox',
4888
- selector: 'owl-date-time-timer-box',
4628
+ selector: 'ofe-owl-date-time-timer-box',
4889
4629
  templateUrl: './timer-box.component.html',
4890
4630
  styleUrls: ['./timer-box.component.scss'],
4891
- preserveWhitespaces: false,
4892
- changeDetection: ChangeDetectionStrategy.OnPush,
4893
- host: {
4894
- '[class.owl-dt-timer-box]': 'owlDTTimerBoxClass'
4895
- }
4631
+ changeDetection: ChangeDetectionStrategy.OnPush
4896
4632
  }]
4897
- }], ctorParameters: function () { return []; }, propDecorators: { showDivider: [{
4633
+ }], ctorParameters: function () { return []; }, propDecorators: { owlDTTimerBoxClass: [{
4634
+ type: HostBinding,
4635
+ args: ['class.owl-dt-timer-box']
4636
+ }], showDivider: [{
4898
4637
  type: Input
4899
4638
  }], upBtnAriaLabel: [{
4900
4639
  type: Input
@@ -4922,7 +4661,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
4922
4661
  type: Output
4923
4662
  }] } });
4924
4663
 
4925
- /* eslint-disable @angular-eslint/no-host-metadata-property */
4926
4664
  class OwlTimerComponent {
4927
4665
  constructor(ngZone, elmRef, pickerIntl, cdRef, dateTimeAdapter) {
4928
4666
  this.ngZone = ngZone;
@@ -4945,6 +4683,12 @@ class OwlTimerComponent {
4945
4683
  this.stepSecond = 1;
4946
4684
  this.selectedChange = new EventEmitter();
4947
4685
  }
4686
+ get owlDTTimeTabIndex() {
4687
+ return -1;
4688
+ }
4689
+ get owlDTTimerClass() {
4690
+ return true;
4691
+ }
4948
4692
  get pickerMoment() {
4949
4693
  return this._pickerMoment;
4950
4694
  }
@@ -5026,13 +4770,6 @@ class OwlTimerComponent {
5026
4770
  ? this.pickerIntl.hour12PMLabel
5027
4771
  : this.pickerIntl.hour12AMLabel;
5028
4772
  }
5029
- get owlDTTimerClass() {
5030
- return true;
5031
- }
5032
- get owlDTTimeTabIndex() {
5033
- return -1;
5034
- }
5035
- ngOnInit() { }
5036
4773
  /**
5037
4774
  * Focus to the host element
5038
4775
  * */
@@ -5175,24 +4912,25 @@ class OwlTimerComponent {
5175
4912
  }
5176
4913
  }
5177
4914
  OwlTimerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlTimerComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: OwlDateTimeIntl }, { token: i0.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }], target: i0.ɵɵFactoryTarget.Component });
5178
- OwlTimerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlTimerComponent, selector: "owl-date-time-timer", inputs: { pickerMoment: "pickerMoment", minDateTime: "minDateTime", maxDateTime: "maxDateTime", showSecondsTimer: "showSecondsTimer", hour12Timer: "hour12Timer", stepHour: "stepHour", stepMinute: "stepMinute", stepSecond: "stepSecond" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "class.owl-dt-timer": "owlDTTimerClass", "attr.tabindex": "owlDTTimeTabIndex" } }, exportAs: ["owlDateTimeTimer"], ngImport: i0, template: "<owl-date-time-timer-box\n [upBtnAriaLabel]=\"upHourButtonLabel\"\n [downBtnAriaLabel]=\"downHourButtonLabel\"\n [upBtnDisabled]=\"!upHourEnabled()\"\n [downBtnDisabled]=\"!downHourEnabled()\"\n [boxValue]=\"hourBoxValue\"\n [value]=\"hourValue\"\n [min]=\"0\"\n [max]=\"23\"\n [step]=\"stepHour\"\n [inputLabel]=\"'Hour'\"\n (inputChange)=\"setHourValueViaInput($event)\"\n (valueChange)=\"setHourValue($event)\"\n></owl-date-time-timer-box>\n<owl-date-time-timer-box\n [showDivider]=\"true\"\n [upBtnAriaLabel]=\"upMinuteButtonLabel\"\n [downBtnAriaLabel]=\"downMinuteButtonLabel\"\n [upBtnDisabled]=\"!upMinuteEnabled()\"\n [downBtnDisabled]=\"!downMinuteEnabled()\"\n [value]=\"minuteValue\"\n [min]=\"0\"\n [max]=\"59\"\n [step]=\"stepMinute\"\n [inputLabel]=\"'Minute'\"\n (inputChange)=\"setMinuteValue($event)\"\n (valueChange)=\"setMinuteValue($event)\"\n></owl-date-time-timer-box>\n<owl-date-time-timer-box\n *ngIf=\"showSecondsTimer\"\n [showDivider]=\"true\"\n [upBtnAriaLabel]=\"upSecondButtonLabel\"\n [downBtnAriaLabel]=\"downSecondButtonLabel\"\n [upBtnDisabled]=\"!upSecondEnabled()\"\n [downBtnDisabled]=\"!downSecondEnabled()\"\n [value]=\"secondValue\"\n [min]=\"0\"\n [max]=\"59\"\n [step]=\"stepSecond\"\n [inputLabel]=\"'Second'\"\n (inputChange)=\"setSecondValue($event)\"\n (valueChange)=\"setSecondValue($event)\"\n></owl-date-time-timer-box>\n\n<div *ngIf=\"hour12Timer\" class=\"owl-dt-timer-hour12\">\n <button\n class=\"owl-dt-control-button owl-dt-timer-hour12-box\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"setMeridiem($event)\"\n >\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n {{ hour12ButtonLabel }}\n </span>\n </button>\n</div>\n", styles: [""], components: [{ type: OwlTimerBoxComponent, selector: "owl-date-time-timer-box", inputs: ["showDivider", "upBtnAriaLabel", "upBtnDisabled", "downBtnAriaLabel", "downBtnDisabled", "boxValue", "value", "min", "max", "step", "inputLabel"], outputs: ["valueChange", "inputChange"], exportAs: ["owlDateTimeTimerBox"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
4915
+ OwlTimerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlTimerComponent, selector: "ofe-owl-date-time-timer", inputs: { pickerMoment: "pickerMoment", minDateTime: "minDateTime", maxDateTime: "maxDateTime", showSecondsTimer: "showSecondsTimer", hour12Timer: "hour12Timer", stepHour: "stepHour", stepMinute: "stepMinute", stepSecond: "stepSecond" }, outputs: { selectedChange: "selectedChange" }, host: { properties: { "attr.tabindex": "this.owlDTTimeTabIndex", "class.owl-dt-timer": "this.owlDTTimerClass" } }, exportAs: ["owlDateTimeTimer"], ngImport: i0, template: "<ofe-owl-date-time-timer-box\n [upBtnAriaLabel]=\"upHourButtonLabel\"\n [downBtnAriaLabel]=\"downHourButtonLabel\"\n [upBtnDisabled]=\"!upHourEnabled()\"\n [downBtnDisabled]=\"!downHourEnabled()\"\n [boxValue]=\"hourBoxValue\"\n [value]=\"hourValue\"\n [min]=\"0\"\n [max]=\"23\"\n [step]=\"stepHour\"\n [inputLabel]=\"'Hour'\"\n (inputChange)=\"setHourValueViaInput($event)\"\n (valueChange)=\"setHourValue($event)\"\n></ofe-owl-date-time-timer-box>\n<ofe-owl-date-time-timer-box\n [showDivider]=\"true\"\n [upBtnAriaLabel]=\"upMinuteButtonLabel\"\n [downBtnAriaLabel]=\"downMinuteButtonLabel\"\n [upBtnDisabled]=\"!upMinuteEnabled()\"\n [downBtnDisabled]=\"!downMinuteEnabled()\"\n [value]=\"minuteValue\"\n [min]=\"0\"\n [max]=\"59\"\n [step]=\"stepMinute\"\n [inputLabel]=\"'Minute'\"\n (inputChange)=\"setMinuteValue($event)\"\n (valueChange)=\"setMinuteValue($event)\"\n></ofe-owl-date-time-timer-box>\n<ofe-owl-date-time-timer-box\n *ngIf=\"showSecondsTimer\"\n [showDivider]=\"true\"\n [upBtnAriaLabel]=\"upSecondButtonLabel\"\n [downBtnAriaLabel]=\"downSecondButtonLabel\"\n [upBtnDisabled]=\"!upSecondEnabled()\"\n [downBtnDisabled]=\"!downSecondEnabled()\"\n [value]=\"secondValue\"\n [min]=\"0\"\n [max]=\"59\"\n [step]=\"stepSecond\"\n [inputLabel]=\"'Second'\"\n (inputChange)=\"setSecondValue($event)\"\n (valueChange)=\"setSecondValue($event)\"\n></ofe-owl-date-time-timer-box>\n\n<div *ngIf=\"hour12Timer\" class=\"owl-dt-timer-hour12\">\n <button\n class=\"owl-dt-control-button owl-dt-timer-hour12-box\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"setMeridiem($event)\"\n >\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n {{ hour12ButtonLabel }}\n </span>\n </button>\n</div>\n", styles: [""], components: [{ type: OwlTimerBoxComponent, selector: "ofe-owl-date-time-timer-box", inputs: ["showDivider", "upBtnAriaLabel", "upBtnDisabled", "downBtnAriaLabel", "downBtnDisabled", "boxValue", "value", "min", "max", "step", "inputLabel"], outputs: ["valueChange", "inputChange"], exportAs: ["owlDateTimeTimerBox"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5179
4916
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlTimerComponent, decorators: [{
5180
4917
  type: Component,
5181
4918
  args: [{
5182
4919
  exportAs: 'owlDateTimeTimer',
5183
- selector: 'owl-date-time-timer',
4920
+ selector: 'ofe-owl-date-time-timer',
5184
4921
  templateUrl: './timer.component.html',
5185
4922
  styleUrls: ['./timer.component.scss'],
5186
- preserveWhitespaces: false,
5187
- changeDetection: ChangeDetectionStrategy.OnPush,
5188
- host: {
5189
- '[class.owl-dt-timer]': 'owlDTTimerClass',
5190
- '[attr.tabindex]': 'owlDTTimeTabIndex'
5191
- }
4923
+ changeDetection: ChangeDetectionStrategy.OnPush
5192
4924
  }]
5193
4925
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: OwlDateTimeIntl }, { type: i0.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
5194
4926
  type: Optional
5195
- }] }]; }, propDecorators: { pickerMoment: [{
4927
+ }] }]; }, propDecorators: { owlDTTimeTabIndex: [{
4928
+ type: HostBinding,
4929
+ args: ['attr.tabindex']
4930
+ }], owlDTTimerClass: [{
4931
+ type: HostBinding,
4932
+ args: ['class.owl-dt-timer']
4933
+ }], pickerMoment: [{
5196
4934
  type: Input
5197
4935
  }], minDateTime: [{
5198
4936
  type: Input
@@ -5212,27 +4950,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
5212
4950
  type: Output
5213
4951
  }] } });
5214
4952
 
5215
- /**
5216
- * date-time-picker.animations
5217
- */
5218
- const owlDateTimePickerAnimations = {
5219
- transformPicker: trigger('transformPicker', [
5220
- state('void', style({ opacity: 0, transform: 'scale(1, 0)' })),
5221
- state('enter', style({ opacity: 1, transform: 'scale(1, 1)' })),
5222
- transition('void => enter', group([
5223
- query('@fadeInPicker', animateChild(), { optional: true }),
5224
- animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')
5225
- ])),
5226
- transition('enter => void', animate('100ms linear', style({ opacity: 0 })))
5227
- ]),
5228
- fadeInPicker: trigger('fadeInPicker', [
5229
- state('enter', style({ opacity: 1 })),
5230
- state('void', style({ opacity: 0 })),
5231
- transition('void => enter', animate('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)'))
5232
- ])
5233
- };
5234
-
5235
- /* eslint-disable @angular-eslint/no-host-metadata-property */
5236
4953
  class OwlDateTimeContainerComponent {
5237
4954
  constructor(cdRef, elmRef, pickerIntl, dateTimeAdapter) {
5238
4955
  this.cdRef = cdRef;
@@ -5250,6 +4967,33 @@ class OwlDateTimeContainerComponent {
5250
4967
  this.confirmSelected$ = new Subject();
5251
4968
  this.pickerOpened$ = new Subject();
5252
4969
  }
4970
+ get owlDTContainerClass() {
4971
+ return true;
4972
+ }
4973
+ get owlDTPopupContainerClass() {
4974
+ return this.picker.pickerMode === 'popup';
4975
+ }
4976
+ get owlDTDialogContainerClass() {
4977
+ return this.picker.pickerMode === 'dialog';
4978
+ }
4979
+ get owlDTInlineContainerClass() {
4980
+ return this.picker.pickerMode === 'inline';
4981
+ }
4982
+ get owlDTContainerDisabledClass() {
4983
+ return this.picker.disabled;
4984
+ }
4985
+ get owlDTContainerId() {
4986
+ return this.picker.id;
4987
+ }
4988
+ get owlDTContainerAnimation() {
4989
+ return this.picker.pickerMode === 'inline' ? '' : 'enter';
4990
+ }
4991
+ handleContainerAnimationDone(event) {
4992
+ const toState = event.toState;
4993
+ if (toState === 'enter') {
4994
+ this.pickerOpened$.next();
4995
+ }
4996
+ }
5253
4997
  get hidePickerStream() {
5254
4998
  return this.hidePicker$.asObservable();
5255
4999
  }
@@ -5320,40 +5064,12 @@ class OwlDateTimeContainerComponent {
5320
5064
  get containerElm() {
5321
5065
  return this.elmRef.nativeElement;
5322
5066
  }
5323
- get owlDTContainerClass() {
5324
- return true;
5325
- }
5326
- get owlDTPopupContainerClass() {
5327
- return this.picker.pickerMode === 'popup';
5328
- }
5329
- get owlDTDialogContainerClass() {
5330
- return this.picker.pickerMode === 'dialog';
5331
- }
5332
- get owlDTInlineContainerClass() {
5333
- return this.picker.pickerMode === 'inline';
5334
- }
5335
- get owlDTContainerDisabledClass() {
5336
- return this.picker.disabled;
5337
- }
5338
- get owlDTContainerId() {
5339
- return this.picker.id;
5340
- }
5341
- get owlDTContainerAnimation() {
5342
- return this.picker.pickerMode === 'inline' ? '' : 'enter';
5343
- }
5344
- ngOnInit() { }
5345
5067
  ngAfterContentInit() {
5346
5068
  this.initPicker();
5347
5069
  }
5348
5070
  ngAfterViewInit() {
5349
5071
  this.focusPicker();
5350
5072
  }
5351
- handleContainerAnimationDone(event) {
5352
- const toState = event.toState;
5353
- if (toState === 'enter') {
5354
- this.pickerOpened$.next();
5355
- }
5356
- }
5357
5073
  dateSelected(date) {
5358
5074
  let result;
5359
5075
  if (this.picker.isInSingleMode) {
@@ -5567,7 +5283,7 @@ class OwlDateTimeContainerComponent {
5567
5283
  }
5568
5284
  }
5569
5285
  OwlDateTimeContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeContainerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: OwlDateTimeIntl }, { token: DateTimeAdapter, optional: true }], target: i0.ɵɵFactoryTarget.Component });
5570
- OwlDateTimeContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeContainerComponent, selector: "owl-date-time-container", host: { listeners: { "@transformPicker.done": "handleContainerAnimationDone($event)" }, properties: { "class.owl-dt-container": "owlDTContainerClass", "class.owl-dt-popup-container": "owlDTPopupContainerClass", "class.owl-dt-dialog-container": "owlDTDialogContainerClass", "class.owl-dt-inline-container": "owlDTInlineContainerClass", "class.owl-dt-container-disabled": "owlDTContainerDisabledClass", "attr.id": "owlDTContainerId", "@transformPicker": "owlDTContainerAnimation" } }, viewQueries: [{ propertyName: "calendar", first: true, predicate: OwlCalendarComponent, descendants: true }, { propertyName: "timer", first: true, predicate: OwlTimerComponent, descendants: true }], exportAs: ["owlDateTimeContainer"], ngImport: i0, template: "<div\n [cdkTrapFocus]=\"picker.pickerMode !== 'inline'\"\n [@fadeInPicker]=\"picker.pickerMode === 'inline' ? '' : 'enter'\"\n class=\"owl-dt-container-inner\"\n>\n <owl-date-time-calendar\n *ngIf=\"pickerType === 'both' || pickerType === 'calendar'\"\n class=\"owl-dt-container-row\"\n [firstDayOfWeek]=\"picker.firstDayOfWeek\"\n [(pickerMoment)]=\"pickerMoment\"\n [selected]=\"picker.selected\"\n [selecteds]=\"picker.selecteds\"\n [selectMode]=\"picker.selectMode\"\n [minDate]=\"picker.minDateTime\"\n [maxDate]=\"picker.maxDateTime\"\n [dateFilter]=\"picker.dateTimeFilter\"\n [startView]=\"picker.startView\"\n [hideOtherMonths]=\"picker.hideOtherMonths\"\n (yearSelected)=\"picker.selectYear($event)\"\n (monthSelected)=\"picker.selectMonth($event)\"\n (selectedChange)=\"dateSelected($event)\"\n ></owl-date-time-calendar>\n\n <owl-date-time-timer\n *ngIf=\"pickerType === 'both' || pickerType === 'timer'\"\n class=\"owl-dt-container-row\"\n [pickerMoment]=\"pickerMoment\"\n [minDateTime]=\"picker.minDateTime\"\n [maxDateTime]=\"picker.maxDateTime\"\n [showSecondsTimer]=\"picker.showSecondsTimer\"\n [hour12Timer]=\"picker.hour12Timer\"\n [stepHour]=\"picker.stepHour\"\n [stepMinute]=\"picker.stepMinute\"\n [stepSecond]=\"picker.stepSecond\"\n (selectedChange)=\"timeSelected($event)\"\n ></owl-date-time-timer>\n\n <div\n *ngIf=\"picker.isInRangeMode\"\n role=\"radiogroup\"\n class=\"owl-dt-container-info owl-dt-container-row\"\n >\n <div\n role=\"radio\"\n [tabindex]=\"activeSelectedIndex === 0 ? 0 : -1\"\n [attr.aria-checked]=\"activeSelectedIndex === 0\"\n class=\"owl-dt-control owl-dt-container-range owl-dt-container-from\"\n [ngClass]=\"{ 'owl-dt-container-info-active': activeSelectedIndex === 0 }\"\n (click)=\"handleClickOnInfoGroup($event, 0)\"\n (keydown)=\"handleKeydownOnInfoGroup($event, to, 0)\"\n #from\n >\n <span\n class=\"owl-dt-control-content owl-dt-container-range-content\"\n tabindex=\"-1\"\n >\n <span class=\"owl-dt-container-info-label\">{{ fromLabel }}:</span>\n <span class=\"owl-dt-container-info-value\">{{\n fromFormattedValue\n }}</span>\n </span>\n </div>\n <div\n role=\"radio\"\n [tabindex]=\"activeSelectedIndex === 1 ? 0 : -1\"\n [attr.aria-checked]=\"activeSelectedIndex === 1\"\n class=\"owl-dt-control owl-dt-container-range owl-dt-container-to\"\n [ngClass]=\"{ 'owl-dt-container-info-active': activeSelectedIndex === 1 }\"\n (click)=\"handleClickOnInfoGroup($event, 1)\"\n (keydown)=\"handleKeydownOnInfoGroup($event, from, 1)\"\n #to\n >\n <span\n class=\"owl-dt-control-content owl-dt-container-range-content\"\n tabindex=\"-1\"\n >\n <span class=\"owl-dt-container-info-label\">{{ toLabel }}:</span>\n <span class=\"owl-dt-container-info-value\">{{ toFormattedValue }}</span>\n </span>\n </div>\n </div>\n\n <div\n *ngIf=\"showControlButtons\"\n class=\"owl-dt-container-buttons owl-dt-container-row\"\n >\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-container-control-button\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"onCancelClicked($event)\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ cancelLabel }}\n </span>\n </button>\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-container-control-button\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"onSetClicked($event)\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ setLabel }}\n </span>\n </button>\n </div>\n</div>\n", styles: [""], components: [{ type: OwlCalendarComponent, selector: "owl-date-time-calendar", inputs: ["minDate", "maxDate", "pickerMoment", "selected", "selecteds", "dateFilter", "firstDayOfWeek", "selectMode", "startView", "hideOtherMonths"], outputs: ["pickerMomentChange", "selectedChange", "userSelection", "yearSelected", "monthSelected"], exportAs: ["owlDateTimeCalendar"] }, { type: OwlTimerComponent, selector: "owl-date-time-timer", inputs: ["pickerMoment", "minDateTime", "maxDateTime", "showSecondsTimer", "hour12Timer", "stepHour", "stepMinute", "stepSecond"], outputs: ["selectedChange"], exportAs: ["owlDateTimeTimer"] }], directives: [{ type: i1$4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
5286
+ OwlDateTimeContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeContainerComponent, selector: "ofe-owl-date-time-container", host: { listeners: { "@transformPicker.done": "handleContainerAnimationDone($event)" }, properties: { "class.owl-dt-container": "this.owlDTContainerClass", "class.owl-dt-popup-container": "this.owlDTPopupContainerClass", "class.owl-dt-dialog-container": "this.owlDTDialogContainerClass", "class.owl-dt-inline-container": "this.owlDTInlineContainerClass", "class.owl-dt-container-disabled": "this.owlDTContainerDisabledClass", "attr.id": "this.owlDTContainerId", "@transformPicker": "this.owlDTContainerAnimation" } }, viewQueries: [{ propertyName: "calendar", first: true, predicate: OwlCalendarComponent, descendants: true }, { propertyName: "timer", first: true, predicate: OwlTimerComponent, descendants: true }], exportAs: ["owlDateTimeContainer"], ngImport: i0, template: "<div\n [cdkTrapFocus]=\"picker.pickerMode !== 'inline'\"\n [@fadeInPicker]=\"picker.pickerMode === 'inline' ? '' : 'enter'\"\n class=\"owl-dt-container-inner\"\n>\n <ofe-owl-date-time-calendar\n *ngIf=\"pickerType === 'both' || pickerType === 'calendar'\"\n class=\"owl-dt-container-row\"\n [firstDayOfWeek]=\"picker.firstDayOfWeek\"\n [(pickerMoment)]=\"pickerMoment\"\n [selected]=\"picker.selected\"\n [selecteds]=\"picker.selecteds\"\n [selectMode]=\"picker.selectMode\"\n [minDate]=\"picker.minDateTime\"\n [maxDate]=\"picker.maxDateTime\"\n [dateFilter]=\"picker.dateTimeFilter\"\n [startView]=\"picker.startView\"\n [hideOtherMonths]=\"picker.hideOtherMonths\"\n (yearSelected)=\"picker.selectYear($event)\"\n (monthSelected)=\"picker.selectMonth($event)\"\n (selectedChange)=\"dateSelected($event)\"\n ></ofe-owl-date-time-calendar>\n <ofe-owl-date-time-timer\n *ngIf=\"pickerType === 'both' || pickerType === 'timer'\"\n class=\"owl-dt-container-row\"\n [pickerMoment]=\"pickerMoment\"\n [minDateTime]=\"picker.minDateTime\"\n [maxDateTime]=\"picker.maxDateTime\"\n [showSecondsTimer]=\"picker.showSecondsTimer\"\n [hour12Timer]=\"picker.hour12Timer\"\n [stepHour]=\"picker.stepHour\"\n [stepMinute]=\"picker.stepMinute\"\n [stepSecond]=\"picker.stepSecond\"\n (selectedChange)=\"timeSelected($event)\"\n ></ofe-owl-date-time-timer>\n <div\n *ngIf=\"picker.isInRangeMode\"\n role=\"radiogroup\"\n class=\"owl-dt-container-info owl-dt-container-row\"\n >\n <div\n role=\"radio\"\n [tabindex]=\"activeSelectedIndex === 0 ? 0 : -1\"\n [attr.aria-checked]=\"activeSelectedIndex === 0\"\n class=\"owl-dt-control owl-dt-container-range owl-dt-container-from\"\n [ngClass]=\"{ 'owl-dt-container-info-active': activeSelectedIndex === 0 }\"\n (click)=\"handleClickOnInfoGroup($event, 0)\"\n (keydown)=\"handleKeydownOnInfoGroup($event, to, 0)\"\n #from\n >\n <span\n class=\"owl-dt-control-content owl-dt-container-range-content\"\n tabindex=\"-1\"\n >\n <span class=\"owl-dt-container-info-label\">{{ fromLabel }}:</span>\n <span class=\"owl-dt-container-info-value\">{{\n fromFormattedValue\n }}</span>\n </span>\n </div>\n <div\n role=\"radio\"\n [tabindex]=\"activeSelectedIndex === 1 ? 0 : -1\"\n [attr.aria-checked]=\"activeSelectedIndex === 1\"\n class=\"owl-dt-control owl-dt-container-range owl-dt-container-to\"\n [ngClass]=\"{ 'owl-dt-container-info-active': activeSelectedIndex === 1 }\"\n (click)=\"handleClickOnInfoGroup($event, 1)\"\n (keydown)=\"handleKeydownOnInfoGroup($event, from, 1)\"\n #to\n >\n <span\n class=\"owl-dt-control-content owl-dt-container-range-content\"\n tabindex=\"-1\"\n >\n <span class=\"owl-dt-container-info-label\">{{ toLabel }}:</span>\n <span class=\"owl-dt-container-info-value\">{{ toFormattedValue }}</span>\n </span>\n </div>\n </div>\n\n <div\n *ngIf=\"showControlButtons\"\n class=\"owl-dt-container-buttons owl-dt-container-row\"\n >\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-container-control-button\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"onCancelClicked($event)\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ cancelLabel }}\n </span>\n </button>\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-container-control-button\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"onSetClicked($event)\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ setLabel }}\n </span>\n </button>\n </div>\n</div>\n", styles: [""], components: [{ type: OwlCalendarComponent, selector: "ofe-owl-date-time-calendar", inputs: ["minDate", "maxDate", "pickerMoment", "selected", "selecteds", "dateFilter", "firstDayOfWeek", "selectMode", "startView", "hideOtherMonths"], outputs: ["pickerMomentChange", "selectedChange", "userSelection", "yearSelected", "monthSelected"], exportAs: ["owlDateTimeCalendar"] }, { type: OwlTimerComponent, selector: "ofe-owl-date-time-timer", inputs: ["pickerMoment", "minDateTime", "maxDateTime", "showSecondsTimer", "hour12Timer", "stepHour", "stepMinute", "stepSecond"], outputs: ["selectedChange"], exportAs: ["owlDateTimeTimer"] }], directives: [{ type: i1$4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
5571
5287
  owlDateTimePickerAnimations.transformPicker,
5572
5288
  owlDateTimePickerAnimations.fadeInPicker
5573
5289
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -5575,25 +5291,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
5575
5291
  type: Component,
5576
5292
  args: [{
5577
5293
  exportAs: 'owlDateTimeContainer',
5578
- selector: 'owl-date-time-container',
5294
+ selector: 'ofe-owl-date-time-container',
5579
5295
  templateUrl: './date-time-picker-container.component.html',
5580
5296
  styleUrls: ['./date-time-picker-container.component.scss'],
5581
5297
  changeDetection: ChangeDetectionStrategy.OnPush,
5582
- preserveWhitespaces: false,
5583
5298
  animations: [
5584
5299
  owlDateTimePickerAnimations.transformPicker,
5585
5300
  owlDateTimePickerAnimations.fadeInPicker
5586
- ],
5587
- host: {
5588
- '(@transformPicker.done)': 'handleContainerAnimationDone($event)',
5589
- '[class.owl-dt-container]': 'owlDTContainerClass',
5590
- '[class.owl-dt-popup-container]': 'owlDTPopupContainerClass',
5591
- '[class.owl-dt-dialog-container]': 'owlDTDialogContainerClass',
5592
- '[class.owl-dt-inline-container]': 'owlDTInlineContainerClass',
5593
- '[class.owl-dt-container-disabled]': 'owlDTContainerDisabledClass',
5594
- '[attr.id]': 'owlDTContainerId',
5595
- '[@transformPicker]': 'owlDTContainerAnimation'
5596
- }
5301
+ ]
5597
5302
  }]
5598
5303
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: OwlDateTimeIntl }, { type: DateTimeAdapter, decorators: [{
5599
5304
  type: Optional
@@ -5603,6 +5308,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
5603
5308
  }], timer: [{
5604
5309
  type: ViewChild,
5605
5310
  args: [OwlTimerComponent, { static: false }]
5311
+ }], owlDTContainerClass: [{
5312
+ type: HostBinding,
5313
+ args: ['class.owl-dt-container']
5314
+ }], owlDTPopupContainerClass: [{
5315
+ type: HostBinding,
5316
+ args: ['class.owl-dt-popup-container']
5317
+ }], owlDTDialogContainerClass: [{
5318
+ type: HostBinding,
5319
+ args: ['class.owl-dt-dialog-container']
5320
+ }], owlDTInlineContainerClass: [{
5321
+ type: HostBinding,
5322
+ args: ['class.owl-dt-inline-container']
5323
+ }], owlDTContainerDisabledClass: [{
5324
+ type: HostBinding,
5325
+ args: ['class.owl-dt-container-disabled']
5326
+ }], owlDTContainerId: [{
5327
+ type: HostBinding,
5328
+ args: ['attr.id']
5329
+ }], owlDTContainerAnimation: [{
5330
+ type: HostBinding,
5331
+ args: ['@transformPicker']
5332
+ }], handleContainerAnimationDone: [{
5333
+ type: HostListener,
5334
+ args: ['@transformPicker.done', ['$event']]
5606
5335
  }] } });
5607
5336
 
5608
5337
  /**
@@ -5936,7 +5665,6 @@ class OwlDialogRef {
5936
5665
  }
5937
5666
  }
5938
5667
 
5939
- /* eslint-disable @angular-eslint/no-host-metadata-property */
5940
5668
  const zoomFadeIn = {
5941
5669
  opacity: 0,
5942
5670
  transform: 'translateX({{ x }}) translateY({{ y }}) scale({{scale}})'
@@ -5971,15 +5699,12 @@ class OwlDialogContainerComponent extends BasePortalOutlet {
5971
5699
  // This would help us to refocus back to element when the dialog was closed.
5972
5700
  this.elementFocusedBeforeDialogWasOpened = null;
5973
5701
  }
5974
- get config() {
5975
- return this._config;
5702
+ get owlDialogContainerTabIndex() {
5703
+ return -1;
5976
5704
  }
5977
5705
  get owlDialogContainerClass() {
5978
5706
  return true;
5979
5707
  }
5980
- get owlDialogContainerTabIndex() {
5981
- return -1;
5982
- }
5983
5708
  get owlDialogContainerId() {
5984
5709
  return this._config.id;
5985
5710
  }
@@ -5995,7 +5720,23 @@ class OwlDialogContainerComponent extends BasePortalOutlet {
5995
5720
  get owlDialogContainerAnimation() {
5996
5721
  return { value: this.state, params: this.params };
5997
5722
  }
5998
- ngOnInit() { }
5723
+ onAnimationStart(event) {
5724
+ this.isAnimating = true;
5725
+ this.animationStateChanged.emit(event);
5726
+ }
5727
+ onAnimationDone(event) {
5728
+ if (event.toState === 'enter') {
5729
+ this.trapFocus();
5730
+ }
5731
+ else if (event.toState === 'exit') {
5732
+ this.restoreFocus();
5733
+ }
5734
+ this.animationStateChanged.emit(event);
5735
+ this.isAnimating = false;
5736
+ }
5737
+ get config() {
5738
+ return this._config;
5739
+ }
5999
5740
  /**
6000
5741
  * Attach a ComponentPortal as content to this dialog container.
6001
5742
  */
@@ -6015,20 +5756,6 @@ class OwlDialogContainerComponent extends BasePortalOutlet {
6015
5756
  this.calculateZoomOrigin(event);
6016
5757
  }
6017
5758
  }
6018
- onAnimationStart(event) {
6019
- this.isAnimating = true;
6020
- this.animationStateChanged.emit(event);
6021
- }
6022
- onAnimationDone(event) {
6023
- if (event.toState === 'enter') {
6024
- this.trapFocus();
6025
- }
6026
- else if (event.toState === 'exit') {
6027
- this.restoreFocus();
6028
- }
6029
- this.animationStateChanged.emit(event);
6030
- this.isAnimating = false;
6031
- }
6032
5759
  startExitAnimation() {
6033
5760
  this.state = 'exit';
6034
5761
  this.changeDetector.markForCheck();
@@ -6086,7 +5813,7 @@ class OwlDialogContainerComponent extends BasePortalOutlet {
6086
5813
  }
6087
5814
  }
6088
5815
  OwlDialogContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDialogContainerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1$4.FocusTrapFactory }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6089
- OwlDialogContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDialogContainerComponent, selector: "owl-dialog-container", host: { listeners: { "@slideModal.start": "onAnimationStart($event)", "@slideModal.done": "onAnimationDone($event)" }, properties: { "class.owl-dialog-container": "owlDialogContainerClass", "attr.tabindex": "owlDialogContainerTabIndex", "attr.id": "owlDialogContainerId", "attr.role": "owlDialogContainerRole", "attr.aria-labelledby": "owlDialogContainerAriaLabelledby", "attr.aria-describedby": "owlDialogContainerAriaDescribedby", "@slideModal": "owlDialogContainerAnimation" } }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\n", directives: [{ type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [
5816
+ OwlDialogContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDialogContainerComponent, selector: "ofe-owl-dialog-container", host: { listeners: { "@slideModal.start": "onAnimationStart($event)", "@slideModal.done": "onAnimationDone($event)" }, properties: { "attr.tabindex": "this.owlDialogContainerTabIndex", "class.owl-dialog-container": "this.owlDialogContainerClass", "attr.id": "this.owlDialogContainerId", "attr.role": "this.owlDialogContainerRole", "attr.aria-labelledby": "this.owlDialogContainerAriaLabelledby", "attr.aria-describedby": "this.owlDialogContainerAriaDescribedby", "@slideModal": "this.owlDialogContainerAnimation" } }, viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ng-template cdkPortalOutlet></ng-template>\n", directives: [{ type: i2$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [
6090
5817
  trigger('slideModal', [
6091
5818
  transition('void => enter', [
6092
5819
  style(zoomFadeInFrom),
@@ -6113,7 +5840,7 @@ OwlDialogContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
6113
5840
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDialogContainerComponent, decorators: [{
6114
5841
  type: Component,
6115
5842
  args: [{
6116
- selector: 'owl-dialog-container',
5843
+ selector: 'ofe-owl-dialog-container',
6117
5844
  templateUrl: './dialog-container.component.html',
6118
5845
  animations: [
6119
5846
  trigger('slideModal', [
@@ -6138,25 +5865,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
6138
5865
  }),
6139
5866
  transition('enter => exit', [animateChild(), animate(200, style(zoomFadeIn))], { params: { x: '0px', y: '0px', ox: '50%', oy: '50%' } })
6140
5867
  ])
6141
- ],
6142
- host: {
6143
- '(@slideModal.start)': 'onAnimationStart($event)',
6144
- '(@slideModal.done)': 'onAnimationDone($event)',
6145
- '[class.owl-dialog-container]': 'owlDialogContainerClass',
6146
- '[attr.tabindex]': 'owlDialogContainerTabIndex',
6147
- '[attr.id]': 'owlDialogContainerId',
6148
- '[attr.role]': 'owlDialogContainerRole',
6149
- '[attr.aria-labelledby]': 'owlDialogContainerAriaLabelledby',
6150
- '[attr.aria-describedby]': 'owlDialogContainerAriaDescribedby',
6151
- '[@slideModal]': 'owlDialogContainerAnimation'
6152
- }
5868
+ ]
6153
5869
  }]
6154
5870
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i1$4.FocusTrapFactory }, { type: undefined, decorators: [{
6155
5871
  type: Optional
6156
5872
  }, {
6157
5873
  type: Inject,
6158
5874
  args: [DOCUMENT]
6159
- }] }]; }, propDecorators: { portalOutlet: [{
5875
+ }] }]; }, propDecorators: { owlDialogContainerTabIndex: [{
5876
+ type: HostBinding,
5877
+ args: ['attr.tabindex']
5878
+ }], owlDialogContainerClass: [{
5879
+ type: HostBinding,
5880
+ args: ['class.owl-dialog-container']
5881
+ }], owlDialogContainerId: [{
5882
+ type: HostBinding,
5883
+ args: ['attr.id']
5884
+ }], owlDialogContainerRole: [{
5885
+ type: HostBinding,
5886
+ args: ['attr.role']
5887
+ }], owlDialogContainerAriaLabelledby: [{
5888
+ type: HostBinding,
5889
+ args: ['attr.aria-labelledby']
5890
+ }], owlDialogContainerAriaDescribedby: [{
5891
+ type: HostBinding,
5892
+ args: ['attr.aria-describedby']
5893
+ }], owlDialogContainerAnimation: [{
5894
+ type: HostBinding,
5895
+ args: ['@slideModal']
5896
+ }], onAnimationStart: [{
5897
+ type: HostListener,
5898
+ args: ['@slideModal.start', ['$event']]
5899
+ }], onAnimationDone: [{
5900
+ type: HostListener,
5901
+ args: ['@slideModal.done', ['$event']]
5902
+ }], portalOutlet: [{
6160
5903
  type: ViewChild,
6161
5904
  args: [CdkPortalOutlet, { static: true }]
6162
5905
  }] } });
@@ -6410,9 +6153,6 @@ function applyConfigDefaults(config, defaultOptions) {
6410
6153
  return extendObject(new OwlDialogConfig(), config, defaultOptions);
6411
6154
  }
6412
6155
 
6413
- /**
6414
- * date-time-picker.component
6415
- */
6416
6156
  /** Injection token that determines the scroll handling while the dtPicker is open. */
6417
6157
  const OWL_DTPICKER_SCROLL_STRATEGY = new InjectionToken('owl-dtpicker-scroll-strategy');
6418
6158
  /** @docs-private */
@@ -6591,7 +6331,6 @@ class OwlDateTimeComponent extends OwlDateTime {
6591
6331
  get isInRangeMode() {
6592
6332
  return this._dtInput.isInRangeMode;
6593
6333
  }
6594
- ngOnInit() { }
6595
6334
  ngOnDestroy() {
6596
6335
  this.close();
6597
6336
  this.dtInputSub.unsubscribe();
@@ -6874,16 +6613,15 @@ class OwlDateTimeComponent extends OwlDateTime {
6874
6613
  }
6875
6614
  }
6876
6615
  OwlDateTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeComponent, deps: [{ token: i1$5.Overlay }, { token: i0.ViewContainerRef }, { token: OwlDialogService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DTPICKER_SCROLL_STRATEGY }, { token: OWL_DATE_TIME_FORMATS, optional: true }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Component });
6877
- OwlDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeComponent, selector: "owl-date-time", inputs: { backdropClass: "backdropClass", panelClass: "panelClass", startAt: "startAt", pickerType: "pickerType", pickerMode: "pickerMode", disabled: "disabled", opened: "opened", scrollStrategy: "scrollStrategy" }, outputs: { afterPickerClosed: "afterPickerClosed", afterPickerOpen: "afterPickerOpen", yearSelected: "yearSelected", monthSelected: "monthSelected" }, exportAs: ["owlDateTime"], usesInheritance: true, ngImport: i0, template: "", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6616
+ OwlDateTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeComponent, selector: "ofe-owl-date-time", inputs: { backdropClass: "backdropClass", panelClass: "panelClass", startAt: "startAt", pickerType: "pickerType", pickerMode: "pickerMode", disabled: "disabled", opened: "opened", scrollStrategy: "scrollStrategy" }, outputs: { afterPickerClosed: "afterPickerClosed", afterPickerOpen: "afterPickerOpen", yearSelected: "yearSelected", monthSelected: "monthSelected" }, exportAs: ["owlDateTime"], usesInheritance: true, ngImport: i0, template: "", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
6878
6617
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeComponent, decorators: [{
6879
6618
  type: Component,
6880
6619
  args: [{
6881
- selector: 'owl-date-time',
6620
+ selector: 'ofe-owl-date-time',
6882
6621
  exportAs: 'owlDateTime',
6883
6622
  templateUrl: './date-time-picker.component.html',
6884
6623
  styleUrls: ['./date-time-picker.component.scss'],
6885
- changeDetection: ChangeDetectionStrategy.OnPush,
6886
- preserveWhitespaces: false
6624
+ changeDetection: ChangeDetectionStrategy.OnPush
6887
6625
  }]
6888
6626
  }], ctorParameters: function () { return [{ type: i1$5.Overlay }, { type: i0.ViewContainerRef }, { type: OwlDialogService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
6889
6627
  type: Optional
@@ -6926,7 +6664,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
6926
6664
  type: Output
6927
6665
  }] } });
6928
6666
 
6929
- /* eslint-disable @angular-eslint/no-host-metadata-property */
6930
6667
  const OWL_DATETIME_VALUE_ACCESSOR$1 = {
6931
6668
  provide: NG_VALUE_ACCESSOR,
6932
6669
  useExisting: forwardRef(() => OwlDateTimeInputDirective),
@@ -7075,6 +6812,56 @@ class OwlDateTimeInputDirective {
7075
6812
  this.value = this.value;
7076
6813
  });
7077
6814
  }
6815
+ get owlDateTimeInputAriaHaspopup() {
6816
+ return true;
6817
+ }
6818
+ get maxIso8601() {
6819
+ return this.max ? this.dateTimeAdapter.toIso8601(this.max) : null;
6820
+ }
6821
+ get minIso8601() {
6822
+ return this.min ? this.dateTimeAdapter.toIso8601(this.min) : null;
6823
+ }
6824
+ get owlDateTimeInputAriaOwns() {
6825
+ return (this.dtPicker.opened && this.dtPicker.id) || null;
6826
+ }
6827
+ get owlDateTimeInputDisabled() {
6828
+ return this.disabled;
6829
+ }
6830
+ handleBlurOnHost($event) {
6831
+ this.onModelTouched();
6832
+ }
6833
+ handleChangeOnHost($event) {
6834
+ let v;
6835
+ if (this.isInSingleMode) {
6836
+ v = this.value;
6837
+ }
6838
+ else if (this.isInRangeMode) {
6839
+ v = this.values;
6840
+ }
6841
+ this.dateTimeChange.emit({
6842
+ source: this,
6843
+ value: v,
6844
+ input: this.elmRef.nativeElement
6845
+ });
6846
+ }
6847
+ handleInputOnHost($event) {
6848
+ const value = $event.target.value;
6849
+ if (this._selectMode === 'single') {
6850
+ this.changeInputInSingleMode(value);
6851
+ }
6852
+ else if (this._selectMode === 'range') {
6853
+ this.changeInputInRangeMode(value);
6854
+ }
6855
+ else {
6856
+ this.changeInputInRangeFromToMode(value);
6857
+ }
6858
+ }
6859
+ handleKeydownOnHost($event) {
6860
+ if ($event.altKey && $event.keyCode === DOWN_ARROW) {
6861
+ this.dtPicker.open();
6862
+ $event.preventDefault();
6863
+ }
6864
+ }
7078
6865
  /**
7079
6866
  * The date time picker that this input is associated with.
7080
6867
  * */
@@ -7185,21 +6972,6 @@ class OwlDateTimeInputDirective {
7185
6972
  this._selectMode === 'rangeFrom' ||
7186
6973
  this._selectMode === 'rangeTo');
7187
6974
  }
7188
- get owlDateTimeInputAriaHaspopup() {
7189
- return true;
7190
- }
7191
- get owlDateTimeInputAriaOwns() {
7192
- return (this.dtPicker.opened && this.dtPicker.id) || null;
7193
- }
7194
- get minIso8601() {
7195
- return this.min ? this.dateTimeAdapter.toIso8601(this.min) : null;
7196
- }
7197
- get maxIso8601() {
7198
- return this.max ? this.dateTimeAdapter.toIso8601(this.max) : null;
7199
- }
7200
- get owlDateTimeInputDisabled() {
7201
- return this.disabled;
7202
- }
7203
6975
  ngOnInit() {
7204
6976
  if (!this.dtPicker) {
7205
6977
  throw Error(`OwlDateTimePicker: the picker input doesn't have any associated owl-date-time component`);
@@ -7257,44 +7029,6 @@ class OwlDateTimeInputDirective {
7257
7029
  registerOnValidatorChange(fn) {
7258
7030
  this.validatorOnChange = fn;
7259
7031
  }
7260
- /**
7261
- * Open the picker when user hold alt + DOWN_ARROW
7262
- * */
7263
- handleKeydownOnHost(event) {
7264
- if (event.altKey && event.keyCode === DOWN_ARROW) {
7265
- this.dtPicker.open();
7266
- event.preventDefault();
7267
- }
7268
- }
7269
- handleBlurOnHost(event) {
7270
- this.onModelTouched();
7271
- }
7272
- handleInputOnHost(event) {
7273
- const value = event.target.value;
7274
- if (this._selectMode === 'single') {
7275
- this.changeInputInSingleMode(value);
7276
- }
7277
- else if (this._selectMode === 'range') {
7278
- this.changeInputInRangeMode(value);
7279
- }
7280
- else {
7281
- this.changeInputInRangeFromToMode(value);
7282
- }
7283
- }
7284
- handleChangeOnHost(event) {
7285
- let v;
7286
- if (this.isInSingleMode) {
7287
- v = this.value;
7288
- }
7289
- else if (this.isInRangeMode) {
7290
- v = this.values;
7291
- }
7292
- this.dateTimeChange.emit({
7293
- source: this,
7294
- value: v,
7295
- input: this.elmRef.nativeElement
7296
- });
7297
- }
7298
7032
  /**
7299
7033
  * Set the native input property 'value'
7300
7034
  */
@@ -7468,23 +7202,12 @@ class OwlDateTimeInputDirective {
7468
7202
  }
7469
7203
  }
7470
7204
  OwlDateTimeInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
7471
- OwlDateTimeInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeInputDirective, selector: "input[owlDateTime]", inputs: { owlDateTime: "owlDateTime", owlDateTimeFilter: "owlDateTimeFilter", min: "min", max: "max", selectMode: "selectMode", value: "value", values: "values", _disabled: "_disabled", rangeSeparator: "rangeSeparator" }, outputs: { dateTimeChange: "dateTimeChange", dateTimeInput: "dateTimeInput" }, host: { listeners: { "keydown": "handleKeydownOnHost($event)", "blur": "handleBlurOnHost($event)", "input": "handleInputOnHost($event)", "change": "handleChangeOnHost($event)" }, properties: { "attr.aria-haspopup": "owlDateTimeInputAriaHaspopup", "attr.aria-owns": "owlDateTimeInputAriaOwns", "attr.min": "minIso8601", "attr.max": "maxIso8601", "disabled": "owlDateTimeInputDisabled" } }, providers: [OWL_DATETIME_VALUE_ACCESSOR$1, OWL_DATETIME_VALIDATORS], exportAs: ["owlDateTimeInput"], ngImport: i0 });
7205
+ OwlDateTimeInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeInputDirective, selector: "input[owlDateTime]", inputs: { owlDateTime: "owlDateTime", owlDateTimeFilter: "owlDateTimeFilter", min: "min", max: "max", selectMode: "selectMode", value: "value", values: "values", _disabled: "_disabled", rangeSeparator: "rangeSeparator" }, outputs: { dateTimeChange: "dateTimeChange", dateTimeInput: "dateTimeInput" }, host: { listeners: { "blur": "handleBlurOnHost($event)", "change": "handleChangeOnHost($event)", "input": "handleInputOnHost($event)", "keydown": "handleKeydownOnHost($event)" }, properties: { "attr.aria-haspopup": "this.owlDateTimeInputAriaHaspopup", "attr.max": "this.maxIso8601", "attr.min": "this.minIso8601", "attr.aria-owns": "this.owlDateTimeInputAriaOwns", "disabled": "this.owlDateTimeInputDisabled" } }, providers: [OWL_DATETIME_VALUE_ACCESSOR$1, OWL_DATETIME_VALIDATORS], exportAs: ["owlDateTimeInput"], ngImport: i0 });
7472
7206
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeInputDirective, decorators: [{
7473
7207
  type: Directive,
7474
7208
  args: [{
7475
7209
  selector: 'input[owlDateTime]',
7476
7210
  exportAs: 'owlDateTimeInput',
7477
- host: {
7478
- '(keydown)': 'handleKeydownOnHost($event)',
7479
- '(blur)': 'handleBlurOnHost($event)',
7480
- '(input)': 'handleInputOnHost($event)',
7481
- '(change)': 'handleChangeOnHost($event)',
7482
- '[attr.aria-haspopup]': 'owlDateTimeInputAriaHaspopup',
7483
- '[attr.aria-owns]': 'owlDateTimeInputAriaOwns',
7484
- '[attr.min]': 'minIso8601',
7485
- '[attr.max]': 'maxIso8601',
7486
- '[disabled]': 'owlDateTimeInputDisabled'
7487
- },
7488
7211
  providers: [OWL_DATETIME_VALUE_ACCESSOR$1, OWL_DATETIME_VALIDATORS]
7489
7212
  }]
7490
7213
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: DateTimeAdapter, decorators: [{
@@ -7494,7 +7217,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
7494
7217
  }, {
7495
7218
  type: Inject,
7496
7219
  args: [OWL_DATE_TIME_FORMATS]
7497
- }] }]; }, propDecorators: { owlDateTime: [{
7220
+ }] }]; }, propDecorators: { owlDateTimeInputAriaHaspopup: [{
7221
+ type: HostBinding,
7222
+ args: ['attr.aria-haspopup']
7223
+ }], maxIso8601: [{
7224
+ type: HostBinding,
7225
+ args: ['attr.max']
7226
+ }], minIso8601: [{
7227
+ type: HostBinding,
7228
+ args: ['attr.min']
7229
+ }], owlDateTimeInputAriaOwns: [{
7230
+ type: HostBinding,
7231
+ args: ['attr.aria-owns']
7232
+ }], owlDateTimeInputDisabled: [{
7233
+ type: HostBinding,
7234
+ args: ['disabled']
7235
+ }], handleBlurOnHost: [{
7236
+ type: HostListener,
7237
+ args: ['blur', ['$event']]
7238
+ }], handleChangeOnHost: [{
7239
+ type: HostListener,
7240
+ args: ['change', ['$event']]
7241
+ }], handleInputOnHost: [{
7242
+ type: HostListener,
7243
+ args: ['input', ['$event']]
7244
+ }], handleKeydownOnHost: [{
7245
+ type: HostListener,
7246
+ args: ['keydown', ['$event']]
7247
+ }], owlDateTime: [{
7498
7248
  type: Input
7499
7249
  }], owlDateTimeFilter: [{
7500
7250
  type: Input
@@ -7518,12 +7268,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
7518
7268
  type: Output
7519
7269
  }] } });
7520
7270
 
7521
- /* eslint-disable @angular-eslint/no-host-metadata-property */
7522
7271
  class OwlDateTimeTriggerDirective {
7523
7272
  constructor(changeDetector) {
7524
7273
  this.changeDetector = changeDetector;
7525
7274
  this.stateChanges = Subscription.EMPTY;
7526
7275
  }
7276
+ get owlDTTriggerDisabledClass() {
7277
+ return this.disabled;
7278
+ }
7279
+ handleClickOnHost($event) {
7280
+ if (this.dtPicker) {
7281
+ this.dtPicker.open();
7282
+ $event.stopPropagation();
7283
+ }
7284
+ }
7527
7285
  get disabled() {
7528
7286
  return this._disabled === undefined
7529
7287
  ? this.dtPicker.disabled
@@ -7532,10 +7290,6 @@ class OwlDateTimeTriggerDirective {
7532
7290
  set disabled(value) {
7533
7291
  this._disabled = value;
7534
7292
  }
7535
- get owlDTTriggerDisabledClass() {
7536
- return this.disabled;
7537
- }
7538
- ngOnInit() { }
7539
7293
  ngOnChanges(changes) {
7540
7294
  if (changes.datepicker) {
7541
7295
  this.watchStateChanges();
@@ -7547,12 +7301,6 @@ class OwlDateTimeTriggerDirective {
7547
7301
  ngOnDestroy() {
7548
7302
  this.stateChanges.unsubscribe();
7549
7303
  }
7550
- handleClickOnHost(event) {
7551
- if (this.dtPicker) {
7552
- this.dtPicker.open();
7553
- event.stopPropagation();
7554
- }
7555
- }
7556
7304
  watchStateChanges() {
7557
7305
  this.stateChanges.unsubscribe();
7558
7306
  const inputDisabled = this.dtPicker && this.dtPicker.dtInput
@@ -7567,19 +7315,21 @@ class OwlDateTimeTriggerDirective {
7567
7315
  }
7568
7316
  }
7569
7317
  OwlDateTimeTriggerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeTriggerDirective, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
7570
- OwlDateTimeTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeTriggerDirective, selector: "[owlDateTimeTrigger]", inputs: { dtPicker: ["owlDateTimeTrigger", "dtPicker"], disabled: "disabled" }, host: { listeners: { "click": "handleClickOnHost($event)" }, properties: { "class.owl-dt-trigger-disabled": "owlDTTriggerDisabledClass" } }, usesOnChanges: true, ngImport: i0 });
7318
+ OwlDateTimeTriggerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeTriggerDirective, selector: "[ofeOwlDateTimeTrigger]", inputs: { dtPicker: ["ofeOwlDateTimeTrigger", "dtPicker"], disabled: "disabled" }, host: { listeners: { "click": "handleClickOnHost($event)" }, properties: { "class.owl-dt-trigger-disabled": "this.owlDTTriggerDisabledClass" } }, usesOnChanges: true, ngImport: i0 });
7571
7319
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeTriggerDirective, decorators: [{
7572
7320
  type: Directive,
7573
7321
  args: [{
7574
- selector: '[owlDateTimeTrigger]',
7575
- host: {
7576
- '(click)': 'handleClickOnHost($event)',
7577
- '[class.owl-dt-trigger-disabled]': 'owlDTTriggerDisabledClass'
7578
- }
7322
+ selector: '[ofeOwlDateTimeTrigger]'
7579
7323
  }]
7580
7324
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { dtPicker: [{
7581
7325
  type: Input,
7582
- args: ['owlDateTimeTrigger']
7326
+ args: ['ofeOwlDateTimeTrigger']
7327
+ }], owlDTTriggerDisabledClass: [{
7328
+ type: HostBinding,
7329
+ args: ['class.owl-dt-trigger-disabled']
7330
+ }], handleClickOnHost: [{
7331
+ type: HostListener,
7332
+ args: ['click', ['$event']]
7583
7333
  }], disabled: [{
7584
7334
  type: Input
7585
7335
  }] } });
@@ -7622,17 +7372,17 @@ class NgxDatetimeComponent {
7622
7372
  }
7623
7373
  }
7624
7374
  NgxDatetimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NgxDatetimeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7625
- NgxDatetimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NgxDatetimeComponent, selector: "ngx-datetimepicker", inputs: { id: "id", theme: "theme", datePickerFormat: "datePickerFormat", showWeeks: "showWeeks", weeks: "weeks" }, providers: [
7375
+ NgxDatetimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NgxDatetimeComponent, selector: "ofe-ngx-date-time-picker", inputs: { id: "id", theme: "theme", datePickerFormat: "datePickerFormat", showWeeks: "showWeeks", weeks: "weeks" }, providers: [
7626
7376
  {
7627
7377
  provide: NG_VALUE_ACCESSOR,
7628
7378
  useExisting: forwardRef(() => NgxDatetimeComponent),
7629
7379
  multi: true
7630
7380
  }
7631
- ], ngImport: i0, template: "<div class=\"date-time-picker-container\">\n <div\n data-date-picker\n data-date-picker-type=\"single\"\n class=\"cds--date-picker cds--date-picker--single cds--date-picker--light\"\n [ngClass]=\"{\n 'cds--date-picker--light': theme === 'light'\n}\"\n >\n <div class=\"cds--date-picker-container fill\">\n <div class=\"cds--date-picker-input__wrapper\">\n <input\n [disabled]=\"isDisabled\"\n (dateTimeChange)=\"onInput($event)\"\n type=\"text\"\n class=\"cds--date-picker__input fill\"\n [id]=\"id\"\n [value]=\"value\"\n [owlDateTime]=\"dt1\"\n [owlDateTimeTrigger]=\"dt1\"\n placeholder=\"mm/dd/yyyy\"\n data-date-picker-input\n />\n <svg\n [owlDateTimeTrigger]=\"dt1\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n data-date-picker-icon=\"true\"\n class=\"cds--date-picker__icon\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13,2h-2V1h-1v1H6V1H5v1H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V3C14,2.4,13.6,2,13,2z M13,13H3V6h10V13z M13,5H3V3h2v1h1V3h4v1h1V3h2V5z\"\n ></path>\n </svg>\n </div>\n </div>\n </div>\n\n <div\n *ngIf=\"showWeeks\"\n class=\"cds--select some-class week-select-wrapper\"\n [ngClass]=\"{'cds--select--light': theme === 'light'}\"\n >\n <div class=\"cds--select-input__wrapper\">\n <select\n (change)=\"onWeeksSelected($event.target.value)\"\n id=\"select-1\"\n class=\"cds--select-input\"\n >\n <option\n class=\"cds--select-option\"\n value=\"placeholder-item\"\n disabled=\"\"\n hidden=\"\"\n selected=\"\"\n >\n Select Weeks\n </option>\n <option\n class=\"cds--select-option\"\n [value]=\"week\"\n *ngFor=\"let week of weeks\"\n >\n {{week}} Weeks\n </option>\n </select>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n class=\"cds--select__arrow\"\n >\n <path d=\"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"></path>\n </svg>\n </div>\n </div>\n</div>\n<owl-date-time\n [pickerType]=\"datePickerFormat ? datePickerFormat :'calendar'\"\n [disabled]=\"isDisabled\"\n #dt1\n></owl-date-time>\n", styles: [".date-time-picker-container{display:flex;justify-content:space-between}.week-select-wrapper{margin-left:1rem;width:30%}\n"], components: [{ type: OwlDateTimeComponent, selector: "owl-date-time", inputs: ["backdropClass", "panelClass", "startAt", "pickerType", "pickerMode", "disabled", "opened", "scrollStrategy"], outputs: ["afterPickerClosed", "afterPickerOpen", "yearSelected", "monthSelected"], exportAs: ["owlDateTime"] }], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: OwlDateTimeInputDirective, selector: "input[owlDateTime]", inputs: ["owlDateTime", "owlDateTimeFilter", "min", "max", "selectMode", "value", "values", "_disabled", "rangeSeparator"], outputs: ["dateTimeChange", "dateTimeInput"], exportAs: ["owlDateTimeInput"] }, { type: OwlDateTimeTriggerDirective, selector: "[owlDateTimeTrigger]", inputs: ["owlDateTimeTrigger", "disabled"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i20.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i20.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7381
+ ], ngImport: i0, template: "<div class=\"date-time-picker-container\">\n <div\n data-date-picker\n data-date-picker-type=\"single\"\n class=\"cds--date-picker cds--date-picker--single cds--date-picker--light\"\n [ngClass]=\"{\n 'cds--date-picker--light': theme === 'light'\n}\"\n >\n <div class=\"cds--date-picker-container fill\">\n <div class=\"cds--date-picker-input__wrapper\">\n <input\n [disabled]=\"isDisabled\"\n (dateTimeChange)=\"onInput($event)\"\n type=\"text\"\n class=\"cds--date-picker__input fill\"\n [id]=\"id\"\n [value]=\"value\"\n [owlDateTime]=\"dt1\"\n [ofeOwlDateTimeTrigger]=\"dt1\"\n placeholder=\"mm/dd/yyyy\"\n data-date-picker-input\n />\n <svg\n [ofeOwlDateTimeTrigger]=\"dt1\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n data-date-picker-icon=\"true\"\n class=\"cds--date-picker__icon\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13,2h-2V1h-1v1H6V1H5v1H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V3C14,2.4,13.6,2,13,2z M13,13H3V6h10V13z M13,5H3V3h2v1h1V3h4v1h1V3h2V5z\"\n ></path>\n </svg>\n </div>\n </div>\n </div>\n\n <div\n *ngIf=\"showWeeks\"\n class=\"cds--select some-class week-select-wrapper\"\n [ngClass]=\"{'cds--select--light': theme === 'light'}\"\n >\n <div class=\"cds--select-input__wrapper\">\n <select\n (change)=\"onWeeksSelected($event.target.value)\"\n id=\"select-1\"\n class=\"cds--select-input\"\n >\n <option\n class=\"cds--select-option\"\n value=\"placeholder-item\"\n disabled=\"\"\n hidden=\"\"\n selected=\"\"\n >\n Select Weeks\n </option>\n <option\n class=\"cds--select-option\"\n [value]=\"week\"\n *ngFor=\"let week of weeks\"\n >\n {{week}} Weeks\n </option>\n </select>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n class=\"cds--select__arrow\"\n >\n <path d=\"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"></path>\n </svg>\n </div>\n </div>\n</div>\n<ofe-owl-date-time\n [pickerType]=\"datePickerFormat ? datePickerFormat : 'calendar'\"\n [disabled]=\"isDisabled\"\n #dt1\n></ofe-owl-date-time>\n", styles: [".date-time-picker-container{display:flex;justify-content:space-between}.week-select-wrapper{margin-left:1rem;width:30%}\n"], components: [{ type: OwlDateTimeComponent, selector: "ofe-owl-date-time", inputs: ["backdropClass", "panelClass", "startAt", "pickerType", "pickerMode", "disabled", "opened", "scrollStrategy"], outputs: ["afterPickerClosed", "afterPickerOpen", "yearSelected", "monthSelected"], exportAs: ["owlDateTime"] }], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: OwlDateTimeInputDirective, selector: "input[owlDateTime]", inputs: ["owlDateTime", "owlDateTimeFilter", "min", "max", "selectMode", "value", "values", "_disabled", "rangeSeparator"], outputs: ["dateTimeChange", "dateTimeInput"], exportAs: ["owlDateTimeInput"] }, { type: OwlDateTimeTriggerDirective, selector: "[ofeOwlDateTimeTrigger]", inputs: ["ofeOwlDateTimeTrigger", "disabled"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i19.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i19.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
7632
7382
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NgxDatetimeComponent, decorators: [{
7633
7383
  type: Component,
7634
7384
  args: [{
7635
- selector: 'ngx-datetimepicker',
7385
+ selector: 'ofe-ngx-date-time-picker',
7636
7386
  templateUrl: './ngx-datetime-picker.html',
7637
7387
  styleUrls: ['./ngx-datetime-picker.css'],
7638
7388
  providers: [
@@ -7708,7 +7458,7 @@ class NumberInputComponent {
7708
7458
  /**
7709
7459
  * Emits event notifying other classes when a change in state occurs in the input.
7710
7460
  */
7711
- this.change = new EventEmitter();
7461
+ this.numberChange = new EventEmitter();
7712
7462
  /**
7713
7463
  * Sets the decrement label text
7714
7464
  */
@@ -7803,7 +7553,7 @@ class NumberInputComponent {
7803
7553
  const event = new NumberChangeEvent();
7804
7554
  event.source = this;
7805
7555
  event.value = this.value;
7806
- this.change.emit(event);
7556
+ this.numberChange.emit(event);
7807
7557
  this.propagateChange(this.value);
7808
7558
  }
7809
7559
  onNumberInputChange(event) {
@@ -7819,7 +7569,7 @@ class NumberInputComponent {
7819
7569
  */
7820
7570
  NumberInputComponent.numberCount = 0;
7821
7571
  NumberInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumberInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7822
- NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NumberInputComponent, selector: "number-input", inputs: { theme: "theme", disabled: "disabled", skeleton: "skeleton", invalid: "invalid", id: "id", size: "size", required: "required", value: "value", min: "min", max: "max", label: "label", helperText: "helperText", invalidText: "invalidText", step: "step", precision: "precision", warn: "warn", warnText: "warnText", decrementLabel: "decrementLabel", incrementLabel: "incrementLabel" }, outputs: { change: "change" }, host: { listeners: { "focusout": "focusOut()" } }, providers: [
7572
+ NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NumberInputComponent, selector: "ofe-number-input", inputs: { theme: "theme", disabled: "disabled", skeleton: "skeleton", invalid: "invalid", id: "id", size: "size", required: "required", value: "value", min: "min", max: "max", label: "label", helperText: "helperText", invalidText: "invalidText", step: "step", precision: "precision", warn: "warn", warnText: "warnText", decrementLabel: "decrementLabel", incrementLabel: "incrementLabel" }, outputs: { numberChange: "numberChange" }, host: { listeners: { "focusout": "focusOut()" } }, providers: [
7823
7573
  {
7824
7574
  provide: NG_VALUE_ACCESSOR,
7825
7575
  useExisting: forwardRef(() => NumberInputComponent),
@@ -7829,7 +7579,7 @@ NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
7829
7579
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumberInputComponent, decorators: [{
7830
7580
  type: Component,
7831
7581
  args: [{
7832
- selector: 'number-input',
7582
+ selector: 'ofe-number-input',
7833
7583
  templateUrl: 'number-input.component.html',
7834
7584
  providers: [
7835
7585
  {
@@ -7873,7 +7623,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
7873
7623
  type: Input
7874
7624
  }], warnText: [{
7875
7625
  type: Input
7876
- }], change: [{
7626
+ }], numberChange: [{
7877
7627
  type: Output
7878
7628
  }], decrementLabel: [{
7879
7629
  type: Input
@@ -7898,7 +7648,6 @@ class RadioButtonControlComponent {
7898
7648
  return option;
7899
7649
  });
7900
7650
  }
7901
- ngAfterViewInit() { }
7902
7651
  writeValue(value) { }
7903
7652
  registerOnChange(fn) {
7904
7653
  this.onChange = fn;
@@ -7934,7 +7683,7 @@ class RadioButtonControlComponent {
7934
7683
  }
7935
7684
  }
7936
7685
  RadioButtonControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadioButtonControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7937
- RadioButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadioButtonControlComponent, selector: "radio", inputs: { id: "id", selected: "selected", options: "options", allowRadioUnselect: "allowRadioUnselect" }, providers: [
7686
+ RadioButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadioButtonControlComponent, selector: "ofe-radio-button", inputs: { id: "id", selected: "selected", options: "options", allowRadioUnselect: "allowRadioUnselect" }, providers: [
7938
7687
  {
7939
7688
  provide: NG_VALUE_ACCESSOR,
7940
7689
  useExisting: forwardRef(() => RadioButtonControlComponent),
@@ -7944,7 +7693,7 @@ RadioButtonControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
7944
7693
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: RadioButtonControlComponent, decorators: [{
7945
7694
  type: Component,
7946
7695
  args: [{
7947
- selector: 'radio',
7696
+ selector: 'ofe-radio-button',
7948
7697
  templateUrl: './radio.component.html',
7949
7698
  providers: [
7950
7699
  {
@@ -7979,7 +7728,6 @@ class CheckboxControlComponent {
7979
7728
  return option;
7980
7729
  });
7981
7730
  }
7982
- ngAfterViewInit() { }
7983
7731
  writeValue(value) {
7984
7732
  this.value = value;
7985
7733
  }
@@ -8023,7 +7771,7 @@ class CheckboxControlComponent {
8023
7771
  }
8024
7772
  }
8025
7773
  CheckboxControlComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8026
- CheckboxControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CheckboxControlComponent, selector: "checkbox", inputs: { id: "id", options: "options", selected: "selected" }, providers: [
7774
+ CheckboxControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CheckboxControlComponent, selector: "ofe-checkbox", inputs: { id: "id", options: "options", selected: "selected" }, providers: [
8027
7775
  {
8028
7776
  provide: NG_VALUE_ACCESSOR,
8029
7777
  useExisting: forwardRef(() => CheckboxControlComponent),
@@ -8033,7 +7781,7 @@ CheckboxControlComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0
8033
7781
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckboxControlComponent, decorators: [{
8034
7782
  type: Component,
8035
7783
  args: [{
8036
- selector: 'checkbox',
7784
+ selector: 'ofe-checkbox',
8037
7785
  templateUrl: './checkbox.component.html',
8038
7786
  providers: [
8039
7787
  {
@@ -8060,7 +7808,6 @@ class AppointmentsOverviewComponent {
8060
7808
  this.appointments = [];
8061
7809
  this.today = '';
8062
7810
  }
8063
- ngOnInit() { }
8064
7811
  ngOnChanges() {
8065
7812
  this.node.control.valueChanges.subscribe((appointmentDate) => {
8066
7813
  var _a, _b;
@@ -8156,11 +7903,11 @@ class AppointmentsOverviewComponent {
8156
7903
  }
8157
7904
  }
8158
7905
  AppointmentsOverviewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppointmentsOverviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8159
- AppointmentsOverviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppointmentsOverviewComponent, selector: "appointments-overview", inputs: { node: "node" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"showAppointments\" class=\"container\">\n <div *ngIf=\"loadingAppointments\">\n <span *ngIf=\"!appointmentsLoaded && errorLoadingAppointments\"\n >Error checking appointments</span\n >\n <div\n *ngIf=\"loadingAppointments\"\n class=\"cds--inline-loading\"\n aria-live=\"assertive\"\n >\n <div class=\"cds--inline-loading__animation\">\n <div\n aria-atomic=\"true\"\n aria-labelledby=\"loading-id-2\"\n aria-live=\"assertive\"\n class=\"cds--loading cds--loading--small\"\n >\n <label id=\"loading-id-2\" class=\"cds--visually-hidden\"\n >Active loading indicator</label\n ><svg class=\"cds--loading__svg\" viewBox=\"0 0 100 100\">\n <title>Active loading indicator</title>\n <circle\n class=\"cds--loading__background\"\n cx=\"50%\"\n cy=\"50%\"\n r=\"44\"\n ></circle>\n <circle\n class=\"cds--loading__stroke\"\n cx=\"50%\"\n cy=\"50%\"\n r=\"44\"\n ></circle>\n </svg>\n </div>\n </div>\n <div class=\"cds--inline-loading__text\">Loading...</div>\n </div>\n </div>\n\n <div\n class=\"cds--data-table-content\"\n *ngIf=\"appointmentsLoaded && !errorLoadingAppointments\"\n >\n <table class=\"cds--data-table cds--data-table--no-border\">\n <thead>\n <tr>\n <th\n *ngFor=\"let appointment of appointments\"\n scope=\"col\"\n [ngClass]=\"{ active: appointment.date === today }\"\n >\n {{ appointment.date }}\n </th>\n </tr>\n </thead>\n <tbody aria-live=\"polite\">\n <tr>\n <td\n *ngFor=\"let appointment of appointments\"\n [ngClass]=\"{ active: appointment.date === today }\"\n >\n {{ appointment.count }}\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".container{margin-top:.625rem}.active{background-color:#e0e0e0;cursor:pointer}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
7906
+ AppointmentsOverviewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppointmentsOverviewComponent, selector: "ofe-appointments-overview", inputs: { node: "node" }, usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"showAppointments\" class=\"container\">\n <div *ngIf=\"loadingAppointments\">\n <span *ngIf=\"!appointmentsLoaded && errorLoadingAppointments\"\n >Error checking appointments</span\n >\n <div\n *ngIf=\"loadingAppointments\"\n class=\"cds--inline-loading\"\n aria-live=\"assertive\"\n >\n <div class=\"cds--inline-loading__animation\">\n <div\n aria-atomic=\"true\"\n aria-labelledby=\"loading-id-2\"\n aria-live=\"assertive\"\n class=\"cds--loading cds--loading--small\"\n >\n <label id=\"loading-id-2\" class=\"cds--visually-hidden\"\n >Active loading indicator</label\n ><svg class=\"cds--loading__svg\" viewBox=\"0 0 100 100\">\n <title>Active loading indicator</title>\n <circle\n class=\"cds--loading__background\"\n cx=\"50%\"\n cy=\"50%\"\n r=\"44\"\n ></circle>\n <circle\n class=\"cds--loading__stroke\"\n cx=\"50%\"\n cy=\"50%\"\n r=\"44\"\n ></circle>\n </svg>\n </div>\n </div>\n <div class=\"cds--inline-loading__text\">Loading...</div>\n </div>\n </div>\n\n <div\n class=\"cds--data-table-content\"\n *ngIf=\"appointmentsLoaded && !errorLoadingAppointments\"\n >\n <table class=\"cds--data-table cds--data-table--no-border\">\n <thead>\n <tr>\n <th\n *ngFor=\"let appointment of appointments\"\n scope=\"col\"\n [ngClass]=\"{ active: appointment.date === today }\"\n >\n {{ appointment.date }}\n </th>\n </tr>\n </thead>\n <tbody aria-live=\"polite\">\n <tr>\n <td\n *ngFor=\"let appointment of appointments\"\n [ngClass]=\"{ active: appointment.date === today }\"\n >\n {{ appointment.count }}\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n", styles: [".container{margin-top:.625rem}.active{background-color:#e0e0e0;cursor:pointer}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
8160
7907
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AppointmentsOverviewComponent, decorators: [{
8161
7908
  type: Component,
8162
7909
  args: [{
8163
- selector: 'appointments-overview',
7910
+ selector: 'ofe-appointments-overview',
8164
7911
  templateUrl: './appointments-overview.component.html',
8165
7912
  styleUrls: ['./appointments-overview.component.css']
8166
7913
  }]
@@ -8168,107 +7915,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
8168
7915
  type: Input
8169
7916
  }] } });
8170
7917
 
8171
- class HistoricalFieldHelperService {
8172
- getDisplayTextFromOptions(question, valueProperty, displayProperty) {
8173
- let displayText = '';
8174
- const historicalValue = question.historicalDataValue;
8175
- if (_.isArray(historicalValue.value)) {
8176
- let valueConverted = 0;
8177
- _.each(historicalValue.value, (val) => {
8178
- _.each(question.options, (option) => {
8179
- if (option[valueProperty] === val) {
8180
- if (valueConverted === 0) {
8181
- displayText = displayText + option[displayProperty];
8182
- }
8183
- else {
8184
- displayText = displayText + ', ' + option[displayProperty];
8185
- }
8186
- valueConverted++;
8187
- }
8188
- });
8189
- });
8190
- }
8191
- else {
8192
- _.each(question.options, (option) => {
8193
- if (option[valueProperty] === historicalValue.value) {
8194
- displayText = option[displayProperty];
8195
- }
8196
- });
8197
- }
8198
- return displayText;
8199
- }
8200
- }
8201
- HistoricalFieldHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalFieldHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8202
- HistoricalFieldHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalFieldHelperService });
8203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalFieldHelperService, decorators: [{
8204
- type: Injectable
8205
- }] });
8206
-
8207
- class HistoricalValueDirective {
8208
- constructor(historicalFieldHelper) {
8209
- this.historicalFieldHelper = historicalFieldHelper;
8210
- this._nodeChange = new EventEmitter();
8211
- }
8212
- setValue(e) {
8213
- if (e.target.name === 'historyValue') {
8214
- if (this._node &&
8215
- (!this.compareString(this._node.question.renderingType, 'page') ||
8216
- !this.compareString(this._node.question.renderingType, 'section'))) {
8217
- this._node.control.setValue(this._node.question.historicalDataValue.value);
8218
- this._node.question['historicalValue'] = this._node.question.historicalDataValue;
8219
- e.stopPropagation();
8220
- this._nodeChange.emit(this._node);
8221
- }
8222
- }
8223
- }
8224
- compareString(a, b) {
8225
- if (a === b) {
8226
- return true;
8227
- }
8228
- else {
8229
- return false;
8230
- }
8231
- }
8232
- set node(node) {
8233
- if (node) {
8234
- this._node = node;
8235
- if (this._node.question.enableHistoricalValue &&
8236
- !_.isUndefined(this._node.question.historicalDataValue)) {
8237
- const display = { text: '', _date: '' };
8238
- if (this._node.question.renderingType === 'select' ||
8239
- this._node.question.renderingType === 'multi-select' ||
8240
- this._node.question.renderingType === 'single-select') {
8241
- display.text = this.historicalFieldHelper.getDisplayTextFromOptions(this._node.question, 'value', 'label');
8242
- display._date = this._node.question.historicalDataValue.valueDate;
8243
- this._node.question['historicalDisplay'] = display;
8244
- }
8245
- else if (!_.isUndefined(this._node.question.historicalDataValue)) {
8246
- display.text = this._node.question.historicalDataValue.value;
8247
- display._date = this._node.question.historicalDataValue.valueDate;
8248
- this._node.question['historicalDisplay'] = display;
8249
- }
8250
- }
8251
- }
8252
- }
8253
- }
8254
- HistoricalValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalValueDirective, deps: [{ token: HistoricalFieldHelperService }], target: i0.ɵɵFactoryTarget.Directive });
8255
- HistoricalValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HistoricalValueDirective, selector: "[node]", inputs: { _node: "_node", node: "node" }, outputs: { _nodeChange: "_nodeChange" }, host: { listeners: { "click": "setValue($event)" } }, ngImport: i0 });
8256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalValueDirective, decorators: [{
8257
- type: Directive,
8258
- args: [{
8259
- selector: `[node]`
8260
- }]
8261
- }], ctorParameters: function () { return [{ type: HistoricalFieldHelperService }]; }, propDecorators: { _node: [{
8262
- type: Input
8263
- }], _nodeChange: [{
8264
- type: Output
8265
- }], setValue: [{
8266
- type: HostListener,
8267
- args: ['click', ['$event']]
8268
- }], node: [{
8269
- type: Input
8270
- }] } });
8271
-
8272
7918
  const COLLAPSE_ANIMATION_TIMING = '400ms cubic-bezier(0.4,0.0,0.2,1)';
8273
7919
  const expandAnimation = [
8274
7920
  style({ height: 0, visibility: 'hidden' }),
@@ -8279,11 +7925,11 @@ const collapseAnimation = [
8279
7925
  animate(COLLAPSE_ANIMATION_TIMING, style({ height: 0, visibility: 'hidden' }))
8280
7926
  ];
8281
7927
 
8282
- /* eslint-disable @angular-eslint/no-host-metadata-property */
8283
7928
  class CollapseDirective {
8284
7929
  constructor(_el, _renderer, _builder) {
8285
7930
  this._el = _el;
8286
7931
  this._renderer = _renderer;
7932
+ // @HostBinding('class.collapse')
8287
7933
  /** This event fires as soon as content collapses */
8288
7934
  this.collapsed = new EventEmitter();
8289
7935
  /** This event fires when collapsing is started */
@@ -8405,16 +8051,12 @@ class CollapseDirective {
8405
8051
  }
8406
8052
  }
8407
8053
  CollapseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollapseDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1$6.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Directive });
8408
- CollapseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CollapseDirective, selector: "[collapse]", inputs: { display: "display", isAnimated: "isAnimated", collapse: "collapse" }, outputs: { collapsed: "collapsed", collapses: "collapses", expanded: "expanded", expands: "expands" }, host: { properties: { "class.collapse": "this.isCollapse", "class.in": "this.isExpanded", "class.show": "this.isExpanded", "attr.aria-expanded": "this.isExpanded", "attr.aria-hidden": "this.isCollapsed", "class.collapsing": "this.isCollapsing" } }, exportAs: ["bs-collapse"], ngImport: i0 });
8054
+ CollapseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CollapseDirective, selector: "[ofeCollapse]", inputs: { display: "display", isAnimated: "isAnimated", collapse: "collapse" }, outputs: { collapsed: "collapsed", collapses: "collapses", expanded: "expanded", expands: "expands" }, host: { properties: { "class.in": "this.isExpanded", "class.show": "this.isExpanded", "attr.aria-expanded": "this.isExpanded", "attr.aria-hidden": "this.isCollapsed", "class.collapse": "this.isCollapse", "class.collapsing": "this.isCollapsing" } }, exportAs: ["bs-collapse"], ngImport: i0 });
8409
8055
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CollapseDirective, decorators: [{
8410
8056
  type: Directive,
8411
8057
  args: [{
8412
- selector: '[collapse]',
8413
- exportAs: 'bs-collapse',
8414
- // eslint-disable-next-line @angular-eslint/no-host-metadata-property
8415
- host: {
8416
- '[class.collapse]': 'true'
8417
- }
8058
+ selector: '[ofeCollapse]',
8059
+ exportAs: 'bs-collapse'
8418
8060
  }]
8419
8061
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1$6.AnimationBuilder }]; }, propDecorators: { collapsed: [{
8420
8062
  type: Output
@@ -8450,38 +8092,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
8450
8092
  type: Input
8451
8093
  }] } });
8452
8094
 
8453
- /* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
8454
- class Option$1 {
8455
- constructor() {
8456
- this.inputClass = 'cds--select-option';
8457
- }
8458
- }
8459
- Option$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Option$1, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8460
- Option$1.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: Option$1, selector: "option", host: { properties: { "class": "this.inputClass" } }, ngImport: i0 });
8461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Option$1, decorators: [{
8462
- type: Directive,
8463
- args: [{
8464
- // eslint-disable-next-line
8465
- selector: 'option'
8466
- }]
8467
- }], propDecorators: { inputClass: [{
8468
- type: HostBinding,
8469
- args: ['class']
8470
- }] } });
8471
-
8472
- /* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
8473
8095
  /**
8474
8096
  * A directive for applying styling to a textarea element.
8475
8097
  *
8476
8098
  * Example:
8477
8099
  *
8478
8100
  * ```html
8479
- * <textarea ibmTextArea></textarea>
8101
+ * <textarea ofeTextAreaInput></textarea>
8480
8102
  * ```
8481
8103
  *
8482
8104
  * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
8483
8105
  */
8484
- class TextArea {
8106
+ class TextAreaDirective {
8485
8107
  constructor() {
8486
8108
  /**
8487
8109
  * `light` or `dark` input theme
@@ -8495,12 +8117,12 @@ class TextArea {
8495
8117
  return this.theme === 'light';
8496
8118
  }
8497
8119
  }
8498
- TextArea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextArea, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8499
- TextArea.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TextArea, selector: "[ibmTextArea]", inputs: { theme: "theme", invalid: "invalid", skeleton: "skeleton" }, host: { properties: { "class.cds--text-area": "this.baseClass", "class.cds--text-area--invalid": "this.invalid", "class.cds--skeleton": "this.skeleton", "class.cds--text-area--light": "this.isLightTheme" } }, ngImport: i0 });
8500
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextArea, decorators: [{
8120
+ TextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextAreaDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8121
+ TextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TextAreaDirective, selector: "[ofeTextAreaInput]", inputs: { theme: "theme", invalid: "invalid", skeleton: "skeleton" }, host: { properties: { "class.cds--text-area": "this.baseClass", "class.cds--text-area--invalid": "this.invalid", "class.cds--skeleton": "this.skeleton", "class.cds--text-area--light": "this.isLightTheme" } }, ngImport: i0 });
8122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextAreaDirective, decorators: [{
8501
8123
  type: Directive,
8502
8124
  args: [{
8503
- selector: '[ibmTextArea]'
8125
+ selector: '[ofeTextAreaInput]'
8504
8126
  }]
8505
8127
  }], propDecorators: { theme: [{
8506
8128
  type: Input
@@ -8522,19 +8144,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
8522
8144
  args: ['class.cds--text-area--light']
8523
8145
  }] } });
8524
8146
 
8525
- /* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
8526
8147
  /**
8527
8148
  * A directive for applying styling to an input element.
8528
8149
  *
8529
8150
  * Example:
8530
8151
  *
8531
8152
  * ```html
8532
- * <input ibmText/>
8153
+ * <input ofeTextInput/>
8533
8154
  * ```
8534
8155
  *
8535
8156
  * See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
8536
8157
  */
8537
- class TextInput {
8158
+ class TextInputDirective {
8538
8159
  constructor() {
8539
8160
  /**
8540
8161
  * `light` or `dark` input theme
@@ -8559,12 +8180,12 @@ class TextInput {
8559
8180
  return this.theme === 'light';
8560
8181
  }
8561
8182
  }
8562
- TextInput.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextInput, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8563
- TextInput.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TextInput, selector: "[ibmText]", inputs: { theme: "theme", size: "size", invalid: "invalid", warn: "warn", skeleton: "skeleton" }, host: { properties: { "class.cds--text-input": "this.inputClass", "class.cds--text-input--xl": "this.isSizeXl", "class.cds--text-input--sm": "this.isSizeSm", "class.cds--text-input--invalid": "this.invalid", "class.cds--text-input__field-wrapper--warning": "this.warn", "class.cds--skeleton": "this.skeleton", "class.cds--text-input--light": "this.isLightTheme" } }, ngImport: i0 });
8564
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextInput, decorators: [{
8183
+ TextInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
8184
+ TextInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TextInputDirective, selector: "[ofeTextInput]", inputs: { theme: "theme", size: "size", invalid: "invalid", warn: "warn", skeleton: "skeleton" }, host: { properties: { "class.cds--text-input": "this.inputClass", "class.cds--text-input--xl": "this.isSizeXl", "class.cds--text-input--sm": "this.isSizeSm", "class.cds--text-input--invalid": "this.invalid", "class.cds--text-input__field-wrapper--warning": "this.warn", "class.cds--skeleton": "this.skeleton", "class.cds--text-input--light": "this.isLightTheme" } }, ngImport: i0 });
8185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TextInputDirective, decorators: [{
8565
8186
  type: Directive,
8566
8187
  args: [{
8567
- selector: '[ibmText]'
8188
+ selector: '[ofeTextInput]'
8568
8189
  }]
8569
8190
  }], propDecorators: { theme: [{
8570
8191
  type: Input
@@ -8599,6 +8220,107 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
8599
8220
  args: ['class.cds--text-input--light']
8600
8221
  }] } });
8601
8222
 
8223
+ class HistoricalFieldHelperService {
8224
+ getDisplayTextFromOptions(question, valueProperty, displayProperty) {
8225
+ let displayText = '';
8226
+ const historicalValue = question.historicalDataValue;
8227
+ if (_.isArray(historicalValue.value)) {
8228
+ let valueConverted = 0;
8229
+ _.each(historicalValue.value, (val) => {
8230
+ _.each(question.options, (option) => {
8231
+ if (option[valueProperty] === val) {
8232
+ if (valueConverted === 0) {
8233
+ displayText = displayText + option[displayProperty];
8234
+ }
8235
+ else {
8236
+ displayText = displayText + ', ' + option[displayProperty];
8237
+ }
8238
+ valueConverted++;
8239
+ }
8240
+ });
8241
+ });
8242
+ }
8243
+ else {
8244
+ _.each(question.options, (option) => {
8245
+ if (option[valueProperty] === historicalValue.value) {
8246
+ displayText = option[displayProperty];
8247
+ }
8248
+ });
8249
+ }
8250
+ return displayText;
8251
+ }
8252
+ }
8253
+ HistoricalFieldHelperService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalFieldHelperService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8254
+ HistoricalFieldHelperService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalFieldHelperService });
8255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalFieldHelperService, decorators: [{
8256
+ type: Injectable
8257
+ }] });
8258
+
8259
+ class HistoricalValueDirective {
8260
+ constructor(historicalFieldHelper) {
8261
+ this.historicalFieldHelper = historicalFieldHelper;
8262
+ this._nodeChange = new EventEmitter();
8263
+ }
8264
+ setValue(e) {
8265
+ if (e.target.name === 'historyValue') {
8266
+ if (this._node &&
8267
+ (!this.compareString(this._node.question.renderingType, 'page') ||
8268
+ !this.compareString(this._node.question.renderingType, 'section'))) {
8269
+ this._node.control.setValue(this._node.question.historicalDataValue.value);
8270
+ this._node.question['historicalValue'] = this._node.question.historicalDataValue;
8271
+ e.stopPropagation();
8272
+ this._nodeChange.emit(this._node);
8273
+ }
8274
+ }
8275
+ }
8276
+ compareString(a, b) {
8277
+ if (a === b) {
8278
+ return true;
8279
+ }
8280
+ else {
8281
+ return false;
8282
+ }
8283
+ }
8284
+ set node(node) {
8285
+ if (node) {
8286
+ this._node = node;
8287
+ if (this._node.question.enableHistoricalValue &&
8288
+ !_.isUndefined(this._node.question.historicalDataValue)) {
8289
+ const display = { text: '', _date: '' };
8290
+ if (this._node.question.renderingType === 'select' ||
8291
+ this._node.question.renderingType === 'multi-select' ||
8292
+ this._node.question.renderingType === 'single-select') {
8293
+ display.text = this.historicalFieldHelper.getDisplayTextFromOptions(this._node.question, 'value', 'label');
8294
+ display._date = this._node.question.historicalDataValue.valueDate;
8295
+ this._node.question['historicalDisplay'] = display;
8296
+ }
8297
+ else if (!_.isUndefined(this._node.question.historicalDataValue)) {
8298
+ display.text = this._node.question.historicalDataValue.value;
8299
+ display._date = this._node.question.historicalDataValue.valueDate;
8300
+ this._node.question['historicalDisplay'] = display;
8301
+ }
8302
+ }
8303
+ }
8304
+ }
8305
+ }
8306
+ HistoricalValueDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalValueDirective, deps: [{ token: HistoricalFieldHelperService }], target: i0.ɵɵFactoryTarget.Directive });
8307
+ HistoricalValueDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HistoricalValueDirective, selector: "[ofeNode]", inputs: { _node: "_node", node: "node" }, outputs: { _nodeChange: "_nodeChange" }, host: { listeners: { "click": "setValue($event)" } }, ngImport: i0 });
8308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: HistoricalValueDirective, decorators: [{
8309
+ type: Directive,
8310
+ args: [{
8311
+ selector: `[ofeNode]`
8312
+ }]
8313
+ }], ctorParameters: function () { return [{ type: HistoricalFieldHelperService }]; }, propDecorators: { _node: [{
8314
+ type: Input
8315
+ }], _nodeChange: [{
8316
+ type: Output
8317
+ }], setValue: [{
8318
+ type: HostListener,
8319
+ args: ['click', ['$event']]
8320
+ }], node: [{
8321
+ type: Input
8322
+ }] } });
8323
+
8602
8324
  class FormRendererComponent {
8603
8325
  constructor(validationFactory, dataSources, formErrorsService, document) {
8604
8326
  this.validationFactory = validationFactory;
@@ -8799,11 +8521,11 @@ class FormRendererComponent {
8799
8521
  }
8800
8522
  }
8801
8523
  FormRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormRendererComponent, deps: [{ token: ValidationFactory }, { token: DataSources }, { token: FormErrorsService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
8802
- FormRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FormRendererComponent, selector: "form-renderer", inputs: { parentComponent: "parentComponent", node: "node", parentGroup: "parentGroup", theme: "theme", labelMap: "labelMap", controlId: "controlId" }, usesOnChanges: true, ngImport: i0, template: "<!--CONTAINERS-->\n<div *ngIf=\"node.question.renderingType === 'form'\">\n <ngx-tab-set (onSelect)=\"tabSelected($event)\" [selectedIndex]=\"activeTab\">\n <ngx-tab\n [tabTitle]=\"question.label\"\n *ngFor=\"let question of node.question.questions; let i = index\"\n >\n <form-renderer\n [node]=\"node.children[question.key]\"\n [parentComponent]=\"this\"\n [parentGroup]=\"node.control\"\n [labelMap]=\"labelMap\"\n >\n </form-renderer>\n </ngx-tab>\n\n <div *ngIf=\"showErrors()\" class=\"container\">\n <div\n data-notification\n *ngFor=\"let errorNode of errorNodes\"\n class=\"cds--inline-notification cds--inline-notification--error cds--inline-notification--low-contrast pointer\"\n role=\"alert\"\n (click)=\"announceErrorField(errorNode)\"\n >\n <div class=\"cds--inline-notification__details\">\n <div class=\"cds--inline-notification__text-wrapper\">\n <p class=\"cds--inline-notification__title\">\n {{ errorNode.question.label }}\n </p>\n <p class=\"cds--inline-notification__subtitle\">\n {{ getControlError(errorNode) }}\n </p>\n </div>\n </div>\n <button\n tabindex=\"0\"\n class=\"cds--inline-notification__action-button cds--btn cds--btn--sm cds--btn--ghost\"\n type=\"button\"\n >\n Fix\n </button>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"cds--inline-notification__icon\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n ></path>\n <path\n d=\"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n data-icon-path=\"inner-path\"\n opacity=\"0\"\n ></path>\n </svg>\n </div>\n </div>\n </ngx-tab-set>\n</div>\n<div *ngIf=\"node.question.renderingType === 'page'\">\n <!--Page Components-->\n <app-custom-component-wrapper\n [dark]=\"theme === 'light'\"\n [componentConfigs]=\"node.question.componentConfigs\"\n >\n </app-custom-component-wrapper>\n <form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"parentGroup\"\n [labelMap]=\"labelMap\"\n ></form-renderer>\n</div>\n<div *ngIf=\"node.question.renderingType === 'section' && checkSection(node)\">\n <div\n class=\"cds--accordion__item\"\n [ngClass]=\"{ 'cds--accordion__item--active': !isCollapsed }\"\n >\n <button\n class=\"cds--accordion__heading\"\n type=\"button\"\n [attr.aria-expanded]=\"isCollapsed ? 'false' : 'true'\"\n aria-controls=\"accordion-item-0\"\n (click)=\"isCollapsed = !isCollapsed\"\n >\n <svg\n class=\"cds--accordion__arrow\"\n ibmIcon=\"chevron--right\"\n size=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n aria-hidden=\"true\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n >\n <path d=\"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"></path>\n </svg>\n <p class=\"cds--accordion__title\">\n {{ node.question.label }}\n </p>\n </button>\n <div [collapse]=\"isCollapsed\">\n <!--Section Components-->\n <app-custom-component-wrapper\n [dark]=\"theme === 'light'\"\n [componentConfigs]=\"node.question.componentConfigs\"\n >\n </app-custom-component-wrapper>\n <div\n class=\"cds--accordion__content accordion-content-override\"\n [ngClass]=\"{\n 'accordion-content-dark': theme === 'light'\n }\"\n >\n <form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"parentGroup\"\n [labelMap]=\"labelMap\"\n ></form-renderer>\n </div>\n </div>\n </div>\n</div>\n\n<!-- MESSAGES -->\n<div\n *ngIf=\"node.control && node.control.alert && node.control.alert !== ''\"\n class=\"alert alert-warning\"\n>\n <a class=\"close\" data-dismiss=\"alert\">&times;</a> {{ node.control.alert }}\n</div>\n\n<!--CONTROLS-->\n\n<div\n *ngIf=\"node.question.controlType === 0\"\n [formGroup]=\"parentGroup\"\n [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\"\n>\n <app-custom-component-wrapper\n [dark]=\"!(theme === 'light')\"\n [componentConfigs]=\"node.question.componentConfigs\"\n >\n </app-custom-component-wrapper>\n <div class=\"cds--form-item\">\n <!--LEAF CONTROL-->\n <div class=\"question-area\">\n <a\n class=\"form-tooltip pull-right\"\n (click)=\"toggleInformation(node.question.extras.id)\"\n data-placement=\"right\"\n *ngIf=\"\n node.question &&\n node.question.extras.questionInfo &&\n node.question.extras.questionInfo !== '' &&\n node.question.extras.questionInfo !== ' '\n \"\n >\n <i class=\"glyphicon glyphicon-question-sign\" aria-hidden=\"true\"></i>\n </a>\n\n <label\n *ngIf=\"node.question.label\"\n [style.color]=\"hasErrors() ? 'red' : ''\"\n class=\"cds--label\"\n [attr.for]=\"node.question.key\"\n >\n {{ node.question.required ? '*' : '' }}\n {{ node.question.prefix ? node.question.prefix + ' ' : ''\n }}{{ node.question.label }}\n </label>\n\n <div\n *ngIf=\"\n node.question.extras.questionOptions.customControl;\n else nativeControls\n \"\n >\n <app-custom-control-wrapper\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n [question]=\"node.question\"\n >\n </app-custom-control-wrapper>\n </div>\n\n <ng-template #nativeControls>\n <div class=\"afe-control\" [ngSwitch]=\"node.question.renderingType\">\n <ibm-select\n [theme]=\"theme\"\n *ngSwitchCase=\"'select'\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n >\n <option *ngFor=\"let o of node.question.options\" [value]=\"o.value\">\n {{ o.label }}\n </option>\n </ibm-select>\n\n <div *ngSwitchCase=\"'file'\">\n <app-file-upload\n [dataSource]=\"dataSource\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n (fileChanged)=\"upload($event)\"\n >\n </app-file-upload>\n </div>\n\n <textarea\n [theme]=\"theme\"\n ibmTextArea\n [ngClass]=\"{\n 'cds--text-area--light': theme === 'light',\n 'cds--text-area--invalid': !node.control.valid\n }\"\n [placeholder]=\"node.question.placeholder\"\n [rows]=\"node.question.rows\"\n class=\"cds--text-area\"\n *ngSwitchCase=\"'textarea'\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n [readOnly]=\"node.question.extras.readOnly\"\n >\n </textarea>\n\n <ngx-remote-select\n [theme]=\"theme\"\n *ngSwitchCase=\"'remote-select'\"\n [placeholder]=\"node.question.placeholder\"\n tabindex=\"0\"\n [dataSource]=\"dataSource\"\n [componentID]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n ></ngx-remote-select>\n\n <ngx-datetimepicker\n [weeks]=\"node.question.extras.questionOptions.weeksList\"\n [showWeeks]=\"node.question.showWeeksAdder\"\n [theme]=\"theme\"\n [id]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\"\n *ngSwitchCase=\"'date'\"\n [datePickerFormat]=\"node.question.datePickerFormat\"\n >\n </ngx-datetimepicker>\n <ng-select\n [ngClass]=\"{ 'afe-custom': theme === 'light' }\"\n [id]=\"node.question.key + 'id'\"\n *ngSwitchCase=\"'multi-select'\"\n [items]=\"node.question.options\"\n bindLabel=\"label\"\n bindValue=\"value\"\n [multiple]=\"true\"\n placeholder=\"\"\n clearAllText=\"Clear\"\n [formControlName]=\"node.question.key\"\n >\n </ng-select>\n\n <ng-select\n [ngClass]=\"{ 'afe-custom': theme === 'light' }\"\n [id]=\"node.question.key + 'id'\"\n *ngSwitchCase=\"'single-select'\"\n [items]=\"node.question.options\"\n bindLabel=\"label\"\n bindValue=\"value\"\n placeholder=\"\"\n clearAllText=\"Clear\"\n [formControlName]=\"node.question.key\"\n >\n </ng-select>\n\n <number-input\n [theme]=\"theme\"\n *ngSwitchCase=\"'number'\"\n [id]=\"node.question.key + 'id'\"\n [min]=\"node.question.extras.questionOptions.min\"\n [max]=\"node.question.extras.questionOptions.max\"\n [formControlName]=\"node.question.key\"\n [attr.placeholder]=\"node.question.placeholder\"\n >\n </number-input>\n\n <input\n [theme]=\"theme\"\n class=\"cds--text-input\"\n ibmText\n *ngSwitchDefault\n [formControlName]=\"node.question.key\"\n [attr.placeholder]=\"node.question.placeholder\"\n [type]=\"node.question.renderingType\"\n [id]=\"node.question.key + 'id'\"\n [readOnly]=\"node.question.extras.readOnly\"\n />\n\n <div *ngSwitchCase=\"'radio'\">\n <radio [id]=\"node.question.key + 'id'\" [formControlName]=\"node.question.key\"\n [options]=\"node.question.options\" [selected]=\"node.control.value\" [allowRadioUnselect]=\"node.question.allowRadioUnselect\"></radio>\n </div>\n\n <div *ngSwitchCase=\"'checkbox'\">\n <checkbox\n [id]=\"node.question.key + 'id' + controlId\"\n [formControlName]=\"node.question.key\"\n [options]=\"node.question.options\"\n [selected]=\"node.control.value\"\n ></checkbox>\n </div>\n\n <div\n *ngIf=\"\n node.question.enableHistoricalValue &&\n node.question.historicalDisplay\n \"\n style=\"margin-top: 2px\"\n >\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-xs-9\">\n <span class=\"text-warning\">Previous Value: </span>\n <strong>{{ node.question.historicalDisplay?.text }}</strong>\n <span *ngIf=\"node.question.showHistoricalValueDate\">\n <span> | </span>\n <strong class=\"text-primary\"\n >{{ node.question.historicalDisplay?._date | date }}\n </strong>\n <span\n class=\"text-primary\"\n *ngIf=\"\n node.question.historicalDisplay &&\n node.question.historicalDisplay._date\n \"\n >\n ({{\n node.question.historicalDisplay._date | timeAgo\n }})</span\n >\n </span>\n </div>\n <button\n type=\"button\"\n [node]=\"node\"\n [name]=\"'historyValue'\"\n class=\"cds--btn cds--btn--primary cds--btn--sm col-xs-3\"\n >\n Use Value\n </button>\n </div>\n </div>\n </div>\n <appointments-overview [node]=\"node\"></appointments-overview>\n <div *ngIf=\"hasErrors()\">\n <div *ngFor=\"let e of errors()\">\n <span class=\"text-danger\">{{ e }}</span>\n </div>\n </div>\n </div>\n </ng-template>\n\n <div\n class=\"question-info col-md-12 col-lg-12 col-sm-12\"\n id=\"{{ node.question.extras.id }}\"\n *ngIf=\"\n node.question &&\n node.question.extras.questionInfo &&\n node.question.extras.questionInfo !== '' &&\n node.question.extras.questionInfo !== ' '\n \"\n >\n {{ node.question.extras.questionInfo }}\n </div>\n </div>\n </div>\n</div>\n<div\n *ngIf=\"node.question.controlType === 1\"\n [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\"\n>\n <!--ARRAY CONTROL-->\n <div [ngSwitch]=\"node.question.renderingType\">\n <div class=\"well\" style=\"padding: 2px\" *ngSwitchCase=\"'repeating'\">\n <h4 style=\"margin: 2px; font-weight: bold\">{{ node.question.label }}</h4>\n <hr\n style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 2px;\n \"\n />\n <div [ngSwitch]=\"node.question.extras.type\">\n <div *ngSwitchCase=\"'testOrder'\">\n <div *ngFor=\"let child of node.children; let i = index\">\n <form-renderer\n *ngFor=\"let question of child.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"child.children[question.key]\"\n [parentGroup]=\"child.control\"\n [labelMap]=\"labelMap\"\n ></form-renderer>\n <div>{{ child.orderNumber }}</div>\n <button\n type=\"button \"\n class=\"cds--btn cds--btn--danger cds--btn--sm\"\n (click)=\"node.removeAt(i)\"\n >\n Remove\n </button>\n <br />\n <hr\n style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 1px;\n \"\n />\n </div>\n </div>\n\n <div *ngSwitchCase=\"'obsGroup'\" style=\"margin-bottom: 20px\">\n <div *ngFor=\"let child of node.children; let i = index\">\n <form-renderer\n *ngFor=\"let question of child.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"child.children[question.key]\"\n [parentGroup]=\"child.control\"\n [labelMap]=\"labelMap\"\n [controlId]=\"i\"\n ></form-renderer>\n <button\n type=\"button\"\n style=\"width: 100px\"\n class=\"cds--btn cds--btn--danger cds--btn--sm\"\n (click)=\"node.removeAt(i)\"\n >\n Remove\n </button>\n <br />\n <hr\n style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 1px;\n \"\n />\n </div>\n </div>\n </div>\n <button\n type=\"button\"\n class=\"cds--btn cds--btn--primary cds--btn--sm\"\n (click)=\"node.createChildNode()\"\n >\n Add\n </button>\n </div>\n </div>\n</div>\n<div\n *ngIf=\"node.question.controlType === 2\"\n [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\"\n>\n <!--GROUP-->\n <div [ngSwitch]=\"node.question.renderingType\">\n <div *ngSwitchCase=\"'group'\">\n <form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"node.control\"\n [labelMap]=\"labelMap\"\n ></form-renderer>\n </div>\n <div\n *ngSwitchCase=\"'field-set'\"\n style=\"border: 1px solid #eeeeee; padding: 2px; margin: 2px\"\n >\n <form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"node.control\"\n [labelMap]=\"labelMap\"\n ></form-renderer>\n </div>\n </div>\n</div>\n", styles: [".slider{width:auto;margin:30px}.slick-prev:before,.slick-next:before{color:#337ab7}.slick-dots{bottom:-40px}.slick-slide{outline:none}\n", "a{color:#fff;text-decoration:none;font-size:12px;text-transform:uppercase}ul{list-style-type:none;margin:2px auto;position:relative}li{display:block;padding:10px 20px;white-space:nowrap;transition:all .3s ease-in;border-bottom:4px solid transparent}li:hover{border-bottom:4px solid white;opacity:.7;cursor:pointer}.owl-theme .owl-controls .owl-nav{position:absolute;width:100%;top:0}.owl-theme .owl-controls .owl-nav [class*=owl-]{position:absolute;background:none;color:#000}.owl-theme .owl-controls .owl-nav [class*=owl-]:hover{background:none;color:#000}.owl-theme .owl-controls .owl-nav .owl-next{right:0;transform:translate(120%)}.owl-theme .owl-controls .owl-nav .owl-prev{left:0;transform:translate(-120%)}.slick-initialized .swipe-tab-content{position:relative;min-height:365px}@media screen and (min-width: 767px){.slick-initialized .swipe-tab-content{min-height:500px}}.slick-initialized .swipe-tab{display:flex;align-items:center;justify-content:center;height:50px;background:none;border:0;color:#757575;cursor:pointer;text-align:center;border-bottom:2px solid rgba(51,122,183,0);transition:all .5s}.slick-initialized .swipe-tab:hover{color:#337ab7}.slick-initialized .swipe-tab.active-tab{border-bottom-color:#337ab7;color:#337ab7;font-weight:bold}.disabled{opacity:.5;pointer-events:none}.select2-container{margin-top:-5px}.btn{padding:0 12px!important}.form-tooltip{color:#337ab7;display:inline-block}.question-info{opacity:0;height:0px;display:none;transition-duration:opacity 1s ease-out;transtion-delay:.5s;padding-top:2px;padding-bottom:2px;color:#696969;border-style:ridge;border-width:1px;border-color:#337ab7;margin-top:2px}.hide-info{display:none;height:0px}.form-tooltip:hover~.question-info{display:block;opacity:1;height:auto}.form-tooltip .tooltipcontent:after{content:\" \";position:absolute;bottom:100%;right:0%;margin-left:-5px;border-width:5px;border-style:solid;border-top-color:transparent;border-right-color:transparent;border-bottom-color:#337ab7;border-left-color:transparent}ng-select.form-control{padding-top:0;height:auto;padding-bottom:0}.forms-dropdown-menu{max-height:450px;overflow-y:scroll}.no-border{border:0;box-shadow:none}.text-danger{color:var(--cds-support-01, #da1e28)}.error{margin-bottom:3rem}.afe-control{margin-bottom:1.5rem}[hidden]{display:none!important}.accordion-content-dark{background-color:#f4f4f4;padding-right:1rem}.accordion-content-override{box-sizing:content-box}.question-area{width:100%;max-width:18rem}.in-line{display:inline-block;padding-right:.5rem}\n"], components: [{ type: TabSetComponent, selector: "ngx-tab-set", inputs: ["disableStyle", "customNavClass", "customTabsClass", "selectedIndex"], outputs: ["onSelect"] }, { type: TabComponent, selector: "ngx-tab", inputs: ["tabTitle", "tabSubTitle", "active", "disabled", "bypassDOM", "customPaneClass"] }, { type: FormRendererComponent, selector: "form-renderer", inputs: ["parentComponent", "node", "parentGroup", "theme", "labelMap", "controlId"] }, { type: CustomComponentWrapperComponent, selector: "app-custom-component-wrapper", inputs: ["componentConfigs", "dark"] }, { type: CustomControlWrapperComponent, selector: "app-custom-control-wrapper", inputs: ["question"] }, { type: Select, selector: "ibm-select", inputs: ["display", "label", "helperText", "invalidText", "warn", "warnText", "id", "size", "disabled", "skeleton", "invalid", "theme", "ariaLabel", "value"], outputs: ["valueChange"] }, { type: FileUploadComponent, selector: "app-file-upload", inputs: ["dataSource"] }, { type: RemoteSelectComponent, selector: "ngx-remote-select", inputs: ["placeholder", "componentID", "disabled", "theme", "dataSource"], outputs: ["done"] }, { type: NgxDatetimeComponent, selector: "ngx-datetimepicker", inputs: ["id", "theme", "datePickerFormat", "showWeeks", "weeks"] }, { type: i1$3.NgSelectComponent, selector: "ng-select", inputs: ["markFirst", "dropdownPosition", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "bufferAmount", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "bindLabel", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "virtualScroll", "openOnEnter", "appendTo", "bindValue", "appearance", "maxSelectedItems", "groupBy", "groupValue", "tabIndex", "typeahead"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }, { type: NumberInputComponent, selector: "number-input", inputs: ["theme", "disabled", "skeleton", "invalid", "id", "size", "required", "value", "min", "max", "label", "helperText", "invalidText", "step", "precision", "warn", "warnText", "decrementLabel", "incrementLabel"], outputs: ["change"] }, { type: RadioButtonControlComponent, selector: "radio", inputs: ["id", "selected", "options", "allowRadioUnselect"] }, { type: CheckboxControlComponent, selector: "checkbox", inputs: ["id", "options", "selected"] }, { type: AppointmentsOverviewComponent, selector: "appointments-overview", inputs: ["node"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: HistoricalValueDirective, selector: "[node]", inputs: ["_node", "node"], outputs: ["_nodeChange"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: CollapseDirective, selector: "[collapse]", inputs: ["display", "isAnimated", "collapse"], outputs: ["collapsed", "collapses", "expanded", "expands"], exportAs: ["bs-collapse"] }, { type: i20.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i20.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i20.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i20.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i20.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i20.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: Option$1, selector: "option" }, { type: i20.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: TextArea, selector: "[ibmTextArea]", inputs: ["theme", "invalid", "skeleton"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: TextInput, selector: "[ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }], pipes: { "date": i1.DatePipe, "timeAgo": TimeAgoPipe } });
8524
+ FormRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FormRendererComponent, selector: "ofe-form-renderer", inputs: { parentComponent: "parentComponent", node: "node", parentGroup: "parentGroup", theme: "theme", labelMap: "labelMap", controlId: "controlId" }, usesOnChanges: true, ngImport: i0, template: "<!--CONTAINERS-->\n<div *ngIf=\"node.question.renderingType === 'form'\">\n <ofe-tab-set (tabSelect)=\"tabSelected($event)\" [selectedIndex]=\"activeTab\">\n <ofe-tab\n [tabTitle]=\"question.label\"\n *ngFor=\"let question of node.question.questions; let i = index\"\n >\n <ofe-form-renderer\n [node]=\"node.children[question.key]\"\n [parentComponent]=\"this\"\n [parentGroup]=\"node.control\"\n [labelMap]=\"labelMap\"\n >\n </ofe-form-renderer>\n </ofe-tab>\n <div *ngIf=\"showErrors()\" class=\"container\">\n <div\n data-notification\n *ngFor=\"let errorNode of errorNodes\"\n class=\"cds--inline-notification cds--inline-notification--error cds--inline-notification--low-contrast pointer\"\n role=\"alert\"\n (click)=\"announceErrorField(errorNode)\"\n >\n <div class=\"cds--inline-notification__details\">\n <div class=\"cds--inline-notification__text-wrapper\">\n <p class=\"cds--inline-notification__title\">\n {{ errorNode.question.label }}\n </p>\n <p class=\"cds--inline-notification__subtitle\">\n {{ getControlError(errorNode) }}\n </p>\n </div>\n </div>\n <button\n tabindex=\"0\"\n class=\"cds--inline-notification__action-button cds--btn cds--btn--sm cds--btn--ghost\"\n type=\"button\"\n >\n Fix\n </button>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"cds--inline-notification__icon\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n ></path>\n <path\n d=\"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n data-icon-path=\"inner-path\"\n opacity=\"0\"\n ></path>\n </svg>\n </div>\n </div>\n </ofe-tab-set>\n</div>\n<div *ngIf=\"node.question.renderingType === 'page'\">\n <!--Page Components-->\n <ofe-custom-component-wrapper\n [dark]=\"theme === 'light'\"\n [componentConfigs]=\"node.question.componentConfigs\"\n >\n </ofe-custom-component-wrapper>\n <ofe-form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"parentGroup\"\n [labelMap]=\"labelMap\"\n ></ofe-form-renderer>\n</div>\n<div *ngIf=\"node.question.renderingType === 'section' && checkSection(node)\">\n <div\n class=\"cds--accordion__item\"\n [ngClass]=\"{ 'cds--accordion__item--active': !isCollapsed }\"\n >\n <button\n class=\"cds--accordion__heading\"\n type=\"button\"\n [attr.aria-expanded]=\"isCollapsed ? 'false' : 'true'\"\n aria-controls=\"accordion-item-0\"\n (click)=\"isCollapsed = !isCollapsed\"\n >\n <svg\n class=\"cds--accordion__arrow\"\n ibmIcon=\"chevron--right\"\n size=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n aria-hidden=\"true\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n >\n <path d=\"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z\"></path>\n </svg>\n <p class=\"cds--accordion__title\">\n {{ node.question.label }}\n </p>\n </button>\n <div ofeCollapse=\"isCollapsed\">\n <!--Section Components-->\n <ofe-custom-component-wrapper\n [dark]=\"theme === 'light'\"\n [componentConfigs]=\"node.question.componentConfigs\"\n >\n </ofe-custom-component-wrapper>\n <div\n class=\"cds--accordion__content accordion-content-override\"\n [ngClass]=\"{\n 'accordion-content-dark': theme === 'light'\n }\"\n >\n <ofe-form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"parentGroup\"\n [labelMap]=\"labelMap\"\n ></ofe-form-renderer>\n </div>\n </div>\n </div>\n</div>\n\n<!-- MESSAGES -->\n<div\n *ngIf=\"node.control && node.control.alert && node.control.alert !== ''\"\n class=\"alert alert-warning\"\n>\n <a class=\"close\" data-dismiss=\"alert\">&times;</a> {{ node.control.alert }}\n</div>\n\n<!--CONTROLS-->\n\n<div\n *ngIf=\"node.question.controlType === 0\"\n [formGroup]=\"parentGroup\"\n [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\"\n>\n <ofe-custom-component-wrapper\n [dark]=\"!(theme === 'light')\"\n [componentConfigs]=\"node.question.componentConfigs\"\n >\n </ofe-custom-component-wrapper>\n <div class=\"cds--form-item\">\n <!--LEAF CONTROL-->\n <div class=\"question-area\">\n <a\n class=\"form-tooltip pull-right\"\n (click)=\"toggleInformation(node.question.extras.id)\"\n data-placement=\"right\"\n *ngIf=\"\n node.question &&\n node.question.extras.questionInfo &&\n node.question.extras.questionInfo !== '' &&\n node.question.extras.questionInfo !== ' '\n \"\n >\n <i class=\"glyphicon glyphicon-question-sign\" aria-hidden=\"true\"></i>\n </a>\n\n <label\n *ngIf=\"node.question.label\"\n [style.color]=\"hasErrors() ? 'red' : ''\"\n class=\"cds--label\"\n [attr.for]=\"node.question.key\"\n >\n {{ node.question.required ? '*' : '' }}\n {{ node.question.prefix ? node.question.prefix + ' ' : ''\n }}{{ node.question.label }}\n </label>\n\n <div\n *ngIf=\"\n node.question.extras.questionOptions.customControl;\n else nativeControls\n \"\n >\n <ofe-custom-control-wrapper\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n [question]=\"node.question\"\n >\n </ofe-custom-control-wrapper>\n </div>\n\n <ng-template #nativeControls>\n <div class=\"afe-control\" [ngSwitch]=\"node.question.renderingType\">\n <ofe-select\n [theme]=\"theme\"\n *ngSwitchCase=\"'select'\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n >\n <option *ngFor=\"let o of node.question.options\" [value]=\"o.value\">\n {{ o.label }}\n </option>\n </ofe-select>\n\n <div *ngSwitchCase=\"'file'\">\n <ofe-file-upload\n [dataSource]=\"dataSource\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n (fileChanged)=\"upload($event)\"\n >\n </ofe-file-upload>\n </div>\n\n <textarea\n [theme]=\"theme\"\n ofeTextAreaInput\n [ngClass]=\"{\n 'cds--text-area--light': theme === 'light',\n 'cds--text-area--invalid': !node.control.valid\n }\"\n [placeholder]=\"node.question.placeholder\"\n [rows]=\"node.question.rows\"\n class=\"cds--text-area\"\n *ngSwitchCase=\"'textarea'\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n [readOnly]=\"node.question.extras.readOnly\"\n >\n </textarea>\n\n <ofe-remote-select\n [theme]=\"theme\"\n *ngSwitchCase=\"'remote-select'\"\n [placeholder]=\"node.question.placeholder\"\n tabindex=\"0\"\n [dataSource]=\"dataSource\"\n [componentID]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n ></ofe-remote-select>\n\n <ofe-ngx-date-time-picker\n [weeks]=\"node.question.extras.questionOptions.weeksList\"\n [showWeeks]=\"node.question.showWeeksAdder\"\n [theme]=\"theme\"\n [id]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\"\n *ngSwitchCase=\"'date'\"\n [datePickerFormat]=\"node.question.datePickerFormat\"\n >\n </ofe-ngx-date-time-picker>\n <ng-select\n [ngClass]=\"{ 'afe-custom': theme === 'light' }\"\n [id]=\"node.question.key + 'id'\"\n *ngSwitchCase=\"'multi-select'\"\n [items]=\"node.question.options\"\n bindLabel=\"label\"\n bindValue=\"value\"\n [multiple]=\"true\"\n placeholder=\"\"\n clearAllText=\"Clear\"\n [formControlName]=\"node.question.key\"\n >\n </ng-select>\n\n <ng-select\n [ngClass]=\"{ 'afe-custom': theme === 'light' }\"\n [id]=\"node.question.key + 'id'\"\n *ngSwitchCase=\"'single-select'\"\n [items]=\"node.question.options\"\n bindLabel=\"label\"\n bindValue=\"value\"\n placeholder=\"\"\n clearAllText=\"Clear\"\n [formControlName]=\"node.question.key\"\n >\n </ng-select>\n\n <ofe-number-input\n [theme]=\"theme\"\n *ngSwitchCase=\"'number'\"\n [id]=\"node.question.key + 'id'\"\n [min]=\"node.question.extras.questionOptions.min\"\n [max]=\"node.question.extras.questionOptions.max\"\n [formControlName]=\"node.question.key\"\n [attr.placeholder]=\"node.question.placeholder\"\n >\n </ofe-number-input>\n\n <input\n [theme]=\"theme\"\n class=\"cds--text-input\"\n ofeTextInput\n *ngSwitchDefault\n [formControlName]=\"node.question.key\"\n [attr.placeholder]=\"node.question.placeholder\"\n [type]=\"node.question.renderingType\"\n [id]=\"node.question.key + 'id'\"\n [readOnly]=\"node.question.extras.readOnly\"\n />\n\n <div *ngSwitchCase=\"'radio'\">\n <ofe-radio-button\n [id]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\"\n [options]=\"node.question.options\"\n [selected]=\"node.control.value\"\n [allowRadioUnselect]=\"node.question.allowRadioUnselect\"\n ></ofe-radio-button>\n </div>\n\n <div *ngSwitchCase=\"'checkbox'\">\n <ofe-checkbox\n [id]=\"node.question.key + 'id' + controlId\"\n [formControlName]=\"node.question.key\"\n [options]=\"node.question.options\"\n [selected]=\"node.control.value\"\n ></ofe-checkbox>\n </div>\n\n <div\n *ngIf=\"\n node.question.enableHistoricalValue &&\n node.question.historicalDisplay\n \"\n style=\"margin-top: 2px\"\n >\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-xs-9\">\n <span class=\"text-warning\">Previous Value: </span>\n <strong>{{ node.question.historicalDisplay?.text }}</strong>\n <span *ngIf=\"node.question.showHistoricalValueDate\">\n <span> | </span>\n <strong class=\"text-primary\"\n >{{ node.question.historicalDisplay?._date | date }}\n </strong>\n <span\n class=\"text-primary\"\n *ngIf=\"\n node.question.historicalDisplay &&\n node.question.historicalDisplay._date\n \"\n >\n ({{\n node.question.historicalDisplay._date | timeAgo\n }})</span\n >\n </span>\n </div>\n <button\n type=\"button\"\n ofeNode=\"node\"\n [name]=\"'historyValue'\"\n class=\"cds--btn cds--btn--primary cds--btn--sm col-xs-3\"\n >\n Use Value\n </button>\n </div>\n </div>\n </div>\n <ofe-appointments-overview [node]=\"node\"></ofe-appointments-overview>\n <div *ngIf=\"hasErrors()\">\n <div *ngFor=\"let e of errors()\">\n <span class=\"text-danger\">{{ e }}</span>\n </div>\n </div>\n </div>\n </ng-template>\n\n <div\n class=\"question-info col-md-12 col-lg-12 col-sm-12\"\n id=\"{{ node.question.extras.id }}\"\n *ngIf=\"\n node.question &&\n node.question.extras.questionInfo &&\n node.question.extras.questionInfo !== '' &&\n node.question.extras.questionInfo !== ' '\n \"\n >\n {{ node.question.extras.questionInfo }}\n </div>\n </div>\n </div>\n</div>\n<div\n *ngIf=\"node.question.controlType === 1\"\n [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\"\n>\n <!--ARRAY CONTROL-->\n <div [ngSwitch]=\"node.question.renderingType\">\n <div class=\"well\" style=\"padding: 2px\" *ngSwitchCase=\"'repeating'\">\n <h4 style=\"margin: 2px; font-weight: bold\">{{ node.question.label }}</h4>\n <hr\n style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 2px;\n \"\n />\n <div [ngSwitch]=\"node.question.extras.type\">\n <div *ngSwitchCase=\"'testOrder'\">\n <div *ngFor=\"let child of node.children; let i = index\">\n <ofe-form-renderer\n *ngFor=\"let question of child.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"child.children[question.key]\"\n [parentGroup]=\"child.control\"\n [labelMap]=\"labelMap\"\n ></ofe-form-renderer>\n <div>{{ child.orderNumber }}</div>\n <button\n type=\"button \"\n class=\"cds--btn cds--btn--danger cds--btn--sm\"\n (click)=\"node.removeAt(i)\"\n >\n Remove\n </button>\n <br />\n <hr\n style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 1px;\n \"\n />\n </div>\n </div>\n\n <div *ngSwitchCase=\"'obsGroup'\" style=\"margin-bottom: 20px\">\n <div *ngFor=\"let child of node.children; let i = index\">\n <ofe-form-renderer\n *ngFor=\"let question of child.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"child.children[question.key]\"\n [parentGroup]=\"child.control\"\n [labelMap]=\"labelMap\"\n [controlId]=\"i\"\n ></ofe-form-renderer>\n <button\n type=\"button\"\n style=\"width: 100px\"\n class=\"cds--btn cds--btn--danger cds--btn--sm\"\n (click)=\"node.removeAt(i)\"\n >\n Remove\n </button>\n <br />\n <hr\n style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 1px;\n \"\n />\n </div>\n </div>\n </div>\n <button\n type=\"button\"\n class=\"cds--btn cds--btn--primary cds--btn--sm\"\n (click)=\"node.createChildNode()\"\n >\n Add\n </button>\n </div>\n </div>\n</div>\n<div\n *ngIf=\"node.question.controlType === 2\"\n [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\"\n>\n <!--GROUP-->\n <div [ngSwitch]=\"node.question.renderingType\">\n <div *ngSwitchCase=\"'group'\">\n <ofe-form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"node.control\"\n [labelMap]=\"labelMap\"\n ></ofe-form-renderer>\n </div>\n <div\n *ngSwitchCase=\"'field-set'\"\n style=\"border: 1px solid #eeeeee; padding: 2px; margin: 2px\"\n >\n <ofe-form-renderer\n *ngFor=\"let question of node.question.questions\"\n [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\"\n [parentGroup]=\"node.control\"\n [labelMap]=\"labelMap\"\n ></ofe-form-renderer>\n </div>\n </div>\n</div>\n", styles: [".slider{width:auto;margin:30px}.slick-prev:before,.slick-next:before{color:#337ab7}.slick-dots{bottom:-40px}.slick-slide{outline:none}\n", "a{color:#fff;text-decoration:none;font-size:12px;text-transform:uppercase}ul{list-style-type:none;margin:2px auto;position:relative}li{display:block;padding:10px 20px;white-space:nowrap;transition:all .3s ease-in;border-bottom:4px solid transparent}li:hover{border-bottom:4px solid white;opacity:.7;cursor:pointer}.owl-theme .owl-controls .owl-nav{position:absolute;width:100%;top:0}.owl-theme .owl-controls .owl-nav [class*=owl-]{position:absolute;background:none;color:#000}.owl-theme .owl-controls .owl-nav [class*=owl-]:hover{background:none;color:#000}.owl-theme .owl-controls .owl-nav .owl-next{right:0;transform:translate(120%)}.owl-theme .owl-controls .owl-nav .owl-prev{left:0;transform:translate(-120%)}.slick-initialized .swipe-tab-content{position:relative;min-height:365px}@media screen and (min-width: 767px){.slick-initialized .swipe-tab-content{min-height:500px}}.slick-initialized .swipe-tab{display:flex;align-items:center;justify-content:center;height:50px;background:none;border:0;color:#757575;cursor:pointer;text-align:center;border-bottom:2px solid rgba(51,122,183,0);transition:all .5s}.slick-initialized .swipe-tab:hover{color:#337ab7}.slick-initialized .swipe-tab.active-tab{border-bottom-color:#337ab7;color:#337ab7;font-weight:bold}.disabled{opacity:.5;pointer-events:none}.select2-container{margin-top:-5px}.btn{padding:0 12px!important}.form-tooltip{color:#337ab7;display:inline-block}.question-info{opacity:0;height:0px;display:none;transition-duration:opacity 1s ease-out;transtion-delay:.5s;padding-top:2px;padding-bottom:2px;color:#696969;border-style:ridge;border-width:1px;border-color:#337ab7;margin-top:2px}.hide-info{display:none;height:0px}.form-tooltip:hover~.question-info{display:block;opacity:1;height:auto}.form-tooltip .tooltipcontent:after{content:\" \";position:absolute;bottom:100%;right:0%;margin-left:-5px;border-width:5px;border-style:solid;border-top-color:transparent;border-right-color:transparent;border-bottom-color:#337ab7;border-left-color:transparent}ng-select.form-control{padding-top:0;height:auto;padding-bottom:0}.forms-dropdown-menu{max-height:450px;overflow-y:scroll}.no-border{border:0;box-shadow:none}.text-danger{color:var(--cds-support-01, #da1e28)}.error{margin-bottom:3rem}.afe-control{margin-bottom:1.5rem}[hidden]{display:none!important}.accordion-content-dark{background-color:#f4f4f4;padding-right:1rem}.accordion-content-override{box-sizing:content-box}.question-area{width:100%;max-width:18rem}.in-line{display:inline-block;padding-right:.5rem}\n"], components: [{ type: TabSetComponent, selector: "ofe-tab-set", inputs: ["disableStyle", "customNavClass", "customTabsClass", "selectedIndex"], outputs: ["tabSelect"] }, { type: TabComponent, selector: "ofe-tab", inputs: ["tabTitle", "tabSubTitle", "active", "disabled", "bypassDOM", "customPaneClass"] }, { type: FormRendererComponent, selector: "ofe-form-renderer", inputs: ["parentComponent", "node", "parentGroup", "theme", "labelMap", "controlId"] }, { type: CustomComponentWrapperComponent, selector: "ofe-custom-component-wrapper", inputs: ["componentConfigs", "dark"] }, { type: CustomControlWrapperComponent, selector: "ofe-custom-control-wrapper", inputs: ["question"] }, { type: SelectComponent, selector: "ofe-select", inputs: ["display", "label", "helperText", "invalidText", "warn", "warnText", "id", "size", "disabled", "skeleton", "invalid", "theme", "ariaLabel", "value"], outputs: ["valueChange"] }, { type: FileUploadComponent, selector: "ofe-file-upload", inputs: ["dataSource"] }, { type: RemoteSelectComponent, selector: "ofe-remote-select", inputs: ["placeholder", "componentID", "disabled", "theme", "dataSource"], outputs: ["done"] }, { type: NgxDatetimeComponent, selector: "ofe-ngx-date-time-picker", inputs: ["id", "theme", "datePickerFormat", "showWeeks", "weeks"] }, { type: i1$3.NgSelectComponent, selector: "ng-select", inputs: ["markFirst", "dropdownPosition", "loading", "closeOnSelect", "hideSelected", "selectOnTab", "bufferAmount", "selectableGroup", "selectableGroupAsModel", "searchFn", "trackByFn", "clearOnBackspace", "labelForId", "inputAttrs", "readonly", "searchWhileComposing", "minTermLength", "editableSearchTerm", "keyDownFn", "multiple", "addTag", "searchable", "clearable", "isOpen", "items", "compareWith", "clearSearchOnAdd", "bindLabel", "placeholder", "notFoundText", "typeToSearchText", "addTagText", "loadingText", "clearAllText", "virtualScroll", "openOnEnter", "appendTo", "bindValue", "appearance", "maxSelectedItems", "groupBy", "groupValue", "tabIndex", "typeahead"], outputs: ["blur", "focus", "change", "open", "close", "search", "clear", "add", "remove", "scroll", "scrollToEnd"] }, { type: NumberInputComponent, selector: "ofe-number-input", inputs: ["theme", "disabled", "skeleton", "invalid", "id", "size", "required", "value", "min", "max", "label", "helperText", "invalidText", "step", "precision", "warn", "warnText", "decrementLabel", "incrementLabel"], outputs: ["numberChange"] }, { type: RadioButtonControlComponent, selector: "ofe-radio-button", inputs: ["id", "selected", "options", "allowRadioUnselect"] }, { type: CheckboxControlComponent, selector: "ofe-checkbox", inputs: ["id", "options", "selected"] }, { type: AppointmentsOverviewComponent, selector: "ofe-appointments-overview", inputs: ["node"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: CollapseDirective, selector: "[ofeCollapse]", inputs: ["display", "isAnimated", "collapse"], outputs: ["collapsed", "collapses", "expanded", "expands"], exportAs: ["bs-collapse"] }, { type: i19.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i19.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i19.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i19.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i19.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i19.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i19.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: TextAreaDirective, selector: "[ofeTextAreaInput]", inputs: ["theme", "invalid", "skeleton"] }, { type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: TextInputDirective, selector: "[ofeTextInput]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }, { type: HistoricalValueDirective, selector: "[ofeNode]", inputs: ["_node", "node"], outputs: ["_nodeChange"] }], pipes: { "date": i1.DatePipe, "timeAgo": TimeAgoPipe } });
8803
8525
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FormRendererComponent, decorators: [{
8804
8526
  type: Component,
8805
8527
  args: [{
8806
- selector: 'form-renderer',
8528
+ selector: 'ofe-form-renderer',
8807
8529
  templateUrl: 'form-renderer.component.html',
8808
8530
  styleUrls: ['../../style/app.css', './form-renderer.component.css']
8809
8531
  }]
@@ -8882,7 +8604,6 @@ class Form {
8882
8604
  searchNodeByQuestionType(rootNode, questionType, found) {
8883
8605
  if (rootNode instanceof GroupNode) {
8884
8606
  const nodeAsGroup = rootNode;
8885
- // eslint-disable-next-line guard-for-in
8886
8607
  for (const o in nodeAsGroup.children) {
8887
8608
  this.searchNodeByQuestionType(nodeAsGroup.children[o], questionType, found);
8888
8609
  }
@@ -8908,7 +8629,6 @@ class Form {
8908
8629
  }
8909
8630
  if (rootNode instanceof GroupNode) {
8910
8631
  const nodeAsGroup = rootNode;
8911
- // eslint-disable-next-line guard-for-in
8912
8632
  for (const o in nodeAsGroup.children) {
8913
8633
  this.findNodesByQuestionId(nodeAsGroup.children[o], questionId, results);
8914
8634
  }
@@ -8977,7 +8697,6 @@ class Form {
8977
8697
  }
8978
8698
  if (rootNode instanceof GroupNode) {
8979
8699
  const nodeAsGroup = rootNode;
8980
- // eslint-disable-next-line guard-for-in
8981
8700
  for (const o in nodeAsGroup.children) {
8982
8701
  this._updateAlertsForAllControls(nodeAsGroup.children[o]);
8983
8702
  }
@@ -9000,7 +8719,6 @@ class Form {
9000
8719
  }
9001
8720
  if (rootNode instanceof GroupNode) {
9002
8721
  const nodeAsGroup = rootNode;
9003
- // eslint-disable-next-line guard-for-in
9004
8722
  for (const o in nodeAsGroup.children) {
9005
8723
  this._updateHiddenDisabledStateForAllControls(nodeAsGroup.children[o]);
9006
8724
  }
@@ -9019,7 +8737,6 @@ class ErrorRendererComponent {
9019
8737
  this.validationFactory = validationFactory;
9020
8738
  this.formErrorsService = formErrorsService;
9021
8739
  }
9022
- ngOnInit() { }
9023
8740
  showErrors() {
9024
8741
  return !this.form.valid && this.form.showErrors;
9025
8742
  }
@@ -9050,11 +8767,11 @@ class ErrorRendererComponent {
9050
8767
  }
9051
8768
  }
9052
8769
  ErrorRendererComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ErrorRendererComponent, deps: [{ token: ValidationFactory }, { token: FormErrorsService }], target: i0.ɵɵFactoryTarget.Component });
9053
- ErrorRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ErrorRendererComponent, selector: "error-renderer", inputs: { form: "form" }, ngImport: i0, template: "<div *ngIf=\"showErrors()\" class=\"container\">\n <div\n data-notification\n *ngFor=\"let errorNode of errorNodes\"\n class=\"cds--inline-notification cds--inline-notification--error cds--inline-notification--low-contrast pointer\"\n role=\"alert\"\n (click)=\"announceErrorField(errorNode)\"\n >\n <div class=\"cds--inline-notification__details\">\n <div class=\"cds--inline-notification__text-wrapper\">\n <p class=\"cds--inline-notification__title\">\n {{ errorNode.question.label }}\n </p>\n <p class=\"cds--inline-notification__subtitle\">\n {{ getControlError(errorNode) }}\n </p>\n </div>\n </div>\n <button\n tabindex=\"0\"\n class=\"cds--inline-notification__action-button cds--btn cds--btn--sm cds--btn--ghost\"\n type=\"button\"\n >\n Fix\n </button>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"cds--inline-notification__icon\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n ></path>\n <path\n d=\"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n data-icon-path=\"inner-path\"\n opacity=\"0\"\n ></path>\n </svg>\n </div>\n</div>\n", styles: ["ul{list-style:none}.list-group-item{padding:2px 15px;cursor:pointer}ul li:hover{background-color:#fff}h4{margin-top:7px;margin-bottom:7px}.pointer{cursor:pointer}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
8770
+ ErrorRendererComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ErrorRendererComponent, selector: "ofe-error-renderer", inputs: { form: "form" }, ngImport: i0, template: "<div *ngIf=\"showErrors()\" class=\"container\">\n <div\n data-notification\n *ngFor=\"let errorNode of errorNodes\"\n class=\"cds--inline-notification cds--inline-notification--error cds--inline-notification--low-contrast pointer\"\n role=\"alert\"\n (click)=\"announceErrorField(errorNode)\"\n >\n <div class=\"cds--inline-notification__details\">\n <div class=\"cds--inline-notification__text-wrapper\">\n <p class=\"cds--inline-notification__title\">\n {{ errorNode.question.label }}\n </p>\n <p class=\"cds--inline-notification__subtitle\">\n {{ getControlError(errorNode) }}\n </p>\n </div>\n </div>\n <button\n tabindex=\"0\"\n class=\"cds--inline-notification__action-button cds--btn cds--btn--sm cds--btn--ghost\"\n type=\"button\"\n >\n Fix\n </button>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n class=\"cds--inline-notification__icon\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n ></path>\n <path\n d=\"M13.5,14.5l-8-8l1-1l8,8L13.5,14.5z\"\n data-icon-path=\"inner-path\"\n opacity=\"0\"\n ></path>\n </svg>\n </div>\n</div>\n", styles: ["ul{list-style:none}.list-group-item{padding:2px 15px;cursor:pointer}ul li:hover{background-color:#fff}h4{margin-top:7px;margin-bottom:7px}.pointer{cursor:pointer}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
9054
8771
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ErrorRendererComponent, decorators: [{
9055
8772
  type: Component,
9056
8773
  args: [{
9057
- selector: 'error-renderer',
8774
+ selector: 'ofe-error-renderer',
9058
8775
  templateUrl: 'error-renderer.component.html',
9059
8776
  styleUrls: ['./error-renderer.component.css']
9060
8777
  }]
@@ -9131,25 +8848,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9131
8848
  // webpack2_
9132
8849
  class ModalComponent {
9133
8850
  constructor() {
9134
- this.onOverlayClick = new EventEmitter();
8851
+ this.overlayClick = new EventEmitter();
9135
8852
  }
9136
- ngOnInit() { }
9137
8853
  closeModal() {
9138
- this.onOverlayClick.emit(false);
8854
+ this.overlayClick.emit(false);
9139
8855
  }
9140
8856
  }
9141
8857
  ModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9142
- ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ModalComponent, selector: "picker-modal", outputs: { onOverlayClick: "onOverlayClick" }, ngImport: i0, template: "<section class=\"x-modal\">\n <section class=\"modal-overlay\" (click)=\"closeModal()\"></section>\n <section class=\"modal-main\" id=\"section-modal-main\">\n <ng-content></ng-content>\n </section>\n</section>\n", styles: [":host{z-index:9999999999}*,*:before,*:after{box-sizing:border-box}.modal-main{position:absolute;left:19.6%;right:auto;top:auto;z-index:111;background-color:#fff;border:1px solid #d7dad7;border-radius:6px;transform:translate(-50%);box-shadow:0 5px 15px #0000004d}\n"], animations: [], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8858
+ ModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ModalComponent, selector: "ofe-picker-modal", outputs: { overlayClick: "overlayClick" }, ngImport: i0, template: "<section class=\"x-modal\">\n <section class=\"modal-overlay\" (click)=\"closeModal()\"></section>\n <section class=\"modal-main\" id=\"section-modal-main\">\n <ng-content></ng-content>\n </section>\n</section>\n", styles: [":host{z-index:9999999999}*,*:before,*:after{box-sizing:border-box}.modal-main{position:absolute;left:19.6%;right:auto;top:auto;z-index:111;background-color:#fff;border:1px solid #d7dad7;border-radius:6px;transform:translate(-50%);box-shadow:0 5px 15px #0000004d}\n"], animations: [], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9143
8859
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ModalComponent, decorators: [{
9144
8860
  type: Component,
9145
8861
  args: [{
9146
- selector: 'picker-modal',
8862
+ selector: 'ofe-picker-modal',
9147
8863
  templateUrl: './modal.component.html',
9148
8864
  styleUrls: ['./modal.component.css'],
9149
8865
  changeDetection: ChangeDetectionStrategy.OnPush,
9150
8866
  animations: []
9151
8867
  }]
9152
- }], ctorParameters: function () { return []; }, propDecorators: { onOverlayClick: [{
8868
+ }], ctorParameters: function () { return []; }, propDecorators: { overlayClick: [{
9153
8869
  type: Output
9154
8870
  }] } });
9155
8871
 
@@ -9179,8 +8895,8 @@ class DatePickerComponent {
9179
8895
  this.locale = 'en';
9180
8896
  this.viewFormat = 'll';
9181
8897
  this.returnObject = 'js';
9182
- this.onDatePickerCancel = new EventEmitter();
9183
- this.onSelectDate = new EventEmitter();
8898
+ this.datePickerCancel = new EventEmitter();
8899
+ this.dateSelect = new EventEmitter();
9184
8900
  this.onDisplayMonths = false;
9185
8901
  this.onDisplayYears = false;
9186
8902
  this.displayYearsIndex = 0;
@@ -9236,7 +8952,7 @@ class DatePickerComponent {
9236
8952
  const daysDifference = day.diff(this.calendarDate.clone().startOf('date'), 'days');
9237
8953
  day = this.calendarDate.clone().add(daysDifference, 'd');
9238
8954
  const selectedDay = this.parseToReturnObjectType(day);
9239
- this.onSelectDate.emit(selectedDay);
8955
+ this.dateSelect.emit(selectedDay);
9240
8956
  this.cancelDatePicker();
9241
8957
  return;
9242
8958
  }
@@ -9252,17 +8968,17 @@ class DatePickerComponent {
9252
8968
  }
9253
8969
  selectToday() {
9254
8970
  const today = this.parseToReturnObjectType(moment());
9255
- this.onSelectDate.emit(today);
8971
+ this.dateSelect.emit(today);
9256
8972
  this.cancelDatePicker();
9257
8973
  return;
9258
8974
  }
9259
8975
  clearPickDate() {
9260
- this.onSelectDate.emit(null);
8976
+ this.dateSelect.emit(null);
9261
8977
  this.cancelDatePicker();
9262
8978
  return;
9263
8979
  }
9264
8980
  cancelDatePicker() {
9265
- this.onDatePickerCancel.emit(false);
8981
+ this.datePickerCancel.emit(false);
9266
8982
  return;
9267
8983
  }
9268
8984
  generateYears() {
@@ -9331,11 +9047,11 @@ class DatePickerComponent {
9331
9047
  }
9332
9048
  }
9333
9049
  DatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DatePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9334
- DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DatePickerComponent, selector: "date-picker", inputs: { initDate: "initDate", locale: "locale", viewFormat: "viewFormat", returnObject: "returnObject" }, outputs: { onDatePickerCancel: "onDatePickerCancel", onSelectDate: "onSelectDate" }, ngImport: i0, template: "<picker-modal (onOverlayClick)=\"cancelDatePicker()\">\n <div class=\"picker-wrap\">\n <div class=\"picker-box\">\n <div class=\"picker-header\">\n <div class=\"picker-header-nav\">\n <span class=\"nav-prev\" (click)=\"prev()\"></span>\n </div>\n <div class=\"picker-header-content\">\n <div class=\"content\">\n <span (click)=\"showMonthSelection()\" class=\"month\">{{\n calendarDate | moment: 'MMMM'\n }}</span>\n <span class=\"seperator\">|</span>\n <span (click)=\"showYearSelection()\" class=\"year\">{{\n calendarDate | moment: 'YYYY'\n }}</span>\n </div>\n </div>\n <div class=\"picker-header-nav\">\n <span class=\"nav-next\" (click)=\"next()\"></span>\n </div>\n </div>\n <div class=\"picker-calendar\">\n <div\n class=\"picker-calendar-row\"\n *ngIf=\"!onDisplayMonths && !onDisplayYears\"\n >\n <span class=\"picker-weekday\" *ngFor=\"let day of dayNames\">{{\n day\n }}</span>\n </div>\n <div\n class=\"picker-calendar-row\"\n *ngIf=\"!onDisplayMonths && !onDisplayYears\"\n >\n <span\n class=\"picker-day\"\n (click)=\"selectDay(day)\"\n [ngClass]=\"{\n 'out-focus': day.month() !== calendarDate.month(),\n today: day.isSame(today),\n selected: day.isSame(selectedDate)\n }\"\n *ngFor=\"let day of calendarDays\"\n >\n {{ day | moment: 'D' }}\n </span>\n </div>\n <div class=\"picker-calendar-row\" *ngIf=\"onDisplayMonths\">\n <span\n class=\"picker-month\"\n *ngFor=\"let month of monthsShort\"\n (click)=\"selectMonth(month)\"\n [ngClass]=\"{\n selected: month === currentMonth\n }\"\n >\n {{ month }}\n </span>\n </div>\n <div class=\"picker-calendar-row\" *ngIf=\"onDisplayYears\">\n <span\n class=\"picker-year\"\n *ngFor=\"let year of displayYearRange\"\n (click)=\"selectYear(year)\"\n [ngClass]=\"{\n selected: year === currentYear\n }\"\n >\n {{ year }}\n </span>\n </div>\n </div>\n <div class=\"picker-footer\">\n <div class=\"picker-action action-today\" (click)=\"selectToday()\">\n <span class=\"text\">Today</span>\n </div>\n <div class=\"picker-action action-clear\" (click)=\"clearPickDate()\">\n <span class=\"text\">Clear</span>\n </div>\n <div class=\"picker-action action-close\" (click)=\"cancelDatePicker()\">\n <span class=\"text\">Close</span>\n </div>\n </div>\n </div>\n </div>\n</picker-modal>\n", styles: ["*,*:before,*:after{box-sizing:border-box}.picker-wrap{width:95vw;max-width:666px}.picker-box{font-family:\"Open Sans\";min-width:400px!important;padding:.625rem 1rem;-webkit-user-select:none;user-select:none}.picker-header,.picker-footer{font-size:1.333rem;line-height:2.5rem;display:flex;height:2.5rem;width:100%}.picker-header-nav{position:relative;cursor:pointer;width:calc(100% / 8)}.picker-header-nav>*{position:absolute;top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}.picker-header-nav .nav-prev:before,.picker-header-nav .nav-next:before{content:\" \";border-top:.5em solid transparent;border-bottom:.5em solid transparent;border-right:.75em solid #000;width:0;height:0;display:block;margin:0 auto}.picker-header-nav .nav-next:before{border-right:0;border-left:.75em solid #000}.picker-header-content{width:calc(100% * 6 / 8);text-align:center}.picker-header-content .month{font-size:1.778rem;line-height:2.5rem;margin-right:.5rem;font-weight:700}.picker-header-content .year{font-style:italic;color:#999}.picker-calendar{width:100%}.picker-calendar .picker-calendar-row{display:flex;flex-wrap:wrap;width:100%;margin-bottom:.625rem}.picker-calendar .picker-weekday{font-weight:700;text-align:left;color:#999;width:calc(100% / 7)}.picker-calendar .picker-day,.picker-calendar .picker-month,.picker-calendar .picker-year{font-size:1.333rem;line-height:2.5rem;position:relative;height:2.5rem;text-align:center;cursor:pointer;width:calc(100% / 7)}.picker-calendar .picker-day:hover,.picker-calendar .picker-month:hover,.picker-calendar .picker-year:hover{background:#b1dcfb}.picker-calendar .out-focus{color:#ddd}.picker-calendar .out-focus:hover{color:#000}.picker-calendar .selected{background:#0089ec;color:#fff}.picker-calendar .selected:hover{background:#0089ec}.picker-calendar .today:before{content:\" \";position:absolute;top:2px;right:2px;width:0;height:0;border-top:.5em solid #0059bc;border-left:.5em solid transparent}.picker-footer{cursor:pointer}.picker-footer .picker-action{text-align:center;width:calc(100% / 3)}.picker-footer .picker-action:hover{background-color:#b1dcfb}.picker-footer .picker-action .text{padding-left:.8rem}.picker-footer .action-today:before,.picker-footer .action-clear:before,.picker-footer .action-close:before{content:\" \";position:relative;display:inline-block;height:0;width:0}.picker-footer .action-today:before{border-top:.66em solid #0059bc;border-left:.66em solid transparent}.picker-footer .action-clear:before{top:-.5rem;width:1rem;border-top:3px solid #e20}.picker-footer .action-close:before{width:1rem;height:1rem;background:linear-gradient(to bottom,transparent 35%,#777 35%,#777 65%,transparent 65%),linear-gradient(to right,transparent 35%,#777 35%,#777 65%,transparent 65%);transform:rotate(45deg)}\n"], components: [{ type: ModalComponent, selector: "picker-modal", outputs: ["onOverlayClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "moment": MomentPipe } });
9050
+ DatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DatePickerComponent, selector: "ofe-date-picker", inputs: { initDate: "initDate", locale: "locale", viewFormat: "viewFormat", returnObject: "returnObject" }, outputs: { datePickerCancel: "datePickerCancel", dateSelect: "dateSelect" }, ngImport: i0, template: "<ofe-picker-modal (overlayClick)=\"cancelDatePicker()\">\n <div class=\"picker-wrap\">\n <div class=\"picker-box\">\n <div class=\"picker-header\">\n <div class=\"picker-header-nav\">\n <span class=\"nav-prev\" (click)=\"prev()\"></span>\n </div>\n <div class=\"picker-header-content\">\n <div class=\"content\">\n <span (click)=\"showMonthSelection()\" class=\"month\">{{\n calendarDate | moment: 'MMMM'\n }}</span>\n <span class=\"seperator\">|</span>\n <span (click)=\"showYearSelection()\" class=\"year\">{{\n calendarDate | moment: 'YYYY'\n }}</span>\n </div>\n </div>\n <div class=\"picker-header-nav\">\n <span class=\"nav-next\" (click)=\"next()\"></span>\n </div>\n </div>\n <div class=\"picker-calendar\">\n <div\n class=\"picker-calendar-row\"\n *ngIf=\"!onDisplayMonths && !onDisplayYears\"\n >\n <span class=\"picker-weekday\" *ngFor=\"let day of dayNames\">{{\n day\n }}</span>\n </div>\n <div\n class=\"picker-calendar-row\"\n *ngIf=\"!onDisplayMonths && !onDisplayYears\"\n >\n <span\n class=\"picker-day\"\n (click)=\"selectDay(day)\"\n [ngClass]=\"{\n 'out-focus': day.month() !== calendarDate.month(),\n today: day.isSame(today),\n selected: day.isSame(selectedDate)\n }\"\n *ngFor=\"let day of calendarDays\"\n >\n {{ day | moment: 'D' }}\n </span>\n </div>\n <div class=\"picker-calendar-row\" *ngIf=\"onDisplayMonths\">\n <span\n class=\"picker-month\"\n *ngFor=\"let month of monthsShort\"\n (click)=\"selectMonth(month)\"\n [ngClass]=\"{\n selected: month === currentMonth\n }\"\n >\n {{ month }}\n </span>\n </div>\n <div class=\"picker-calendar-row\" *ngIf=\"onDisplayYears\">\n <span\n class=\"picker-year\"\n *ngFor=\"let year of displayYearRange\"\n (click)=\"selectYear(year)\"\n [ngClass]=\"{\n selected: year === currentYear\n }\"\n >\n {{ year }}\n </span>\n </div>\n </div>\n <div class=\"picker-footer\">\n <div class=\"picker-action action-today\" (click)=\"selectToday()\">\n <span class=\"text\">Today</span>\n </div>\n <div class=\"picker-action action-clear\" (click)=\"clearPickDate()\">\n <span class=\"text\">Clear</span>\n </div>\n <div class=\"picker-action action-close\" (click)=\"cancelDatePicker()\">\n <span class=\"text\">Close</span>\n </div>\n </div>\n </div>\n </div>\n</ofe-picker-modal>\n", styles: ["*,*:before,*:after{box-sizing:border-box}.picker-wrap{width:95vw;max-width:666px}.picker-box{font-family:\"Open Sans\";min-width:400px!important;padding:.625rem 1rem;-webkit-user-select:none;user-select:none}.picker-header,.picker-footer{font-size:1.333rem;line-height:2.5rem;display:flex;height:2.5rem;width:100%}.picker-header-nav{position:relative;cursor:pointer;width:calc(100% / 8)}.picker-header-nav>*{position:absolute;top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}.picker-header-nav .nav-prev:before,.picker-header-nav .nav-next:before{content:\" \";border-top:.5em solid transparent;border-bottom:.5em solid transparent;border-right:.75em solid #000;width:0;height:0;display:block;margin:0 auto}.picker-header-nav .nav-next:before{border-right:0;border-left:.75em solid #000}.picker-header-content{width:calc(100% * 6 / 8);text-align:center}.picker-header-content .month{font-size:1.778rem;line-height:2.5rem;margin-right:.5rem;font-weight:700}.picker-header-content .year{font-style:italic;color:#999}.picker-calendar{width:100%}.picker-calendar .picker-calendar-row{display:flex;flex-wrap:wrap;width:100%;margin-bottom:.625rem}.picker-calendar .picker-weekday{font-weight:700;text-align:left;color:#999;width:calc(100% / 7)}.picker-calendar .picker-day,.picker-calendar .picker-month,.picker-calendar .picker-year{font-size:1.333rem;line-height:2.5rem;position:relative;height:2.5rem;text-align:center;cursor:pointer;width:calc(100% / 7)}.picker-calendar .picker-day:hover,.picker-calendar .picker-month:hover,.picker-calendar .picker-year:hover{background:#b1dcfb}.picker-calendar .out-focus{color:#ddd}.picker-calendar .out-focus:hover{color:#000}.picker-calendar .selected{background:#0089ec;color:#fff}.picker-calendar .selected:hover{background:#0089ec}.picker-calendar .today:before{content:\" \";position:absolute;top:2px;right:2px;width:0;height:0;border-top:.5em solid #0059bc;border-left:.5em solid transparent}.picker-footer{cursor:pointer}.picker-footer .picker-action{text-align:center;width:calc(100% / 3)}.picker-footer .picker-action:hover{background-color:#b1dcfb}.picker-footer .picker-action .text{padding-left:.8rem}.picker-footer .action-today:before,.picker-footer .action-clear:before,.picker-footer .action-close:before{content:\" \";position:relative;display:inline-block;height:0;width:0}.picker-footer .action-today:before{border-top:.66em solid #0059bc;border-left:.66em solid transparent}.picker-footer .action-clear:before{top:-.5rem;width:1rem;border-top:3px solid #e20}.picker-footer .action-close:before{width:1rem;height:1rem;background:linear-gradient(to bottom,transparent 35%,#777 35%,#777 65%,transparent 65%),linear-gradient(to right,transparent 35%,#777 35%,#777 65%,transparent 65%);transform:rotate(45deg)}\n"], components: [{ type: ModalComponent, selector: "ofe-picker-modal", outputs: ["overlayClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "moment": MomentPipe } });
9335
9051
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DatePickerComponent, decorators: [{
9336
9052
  type: Component,
9337
9053
  args: [{
9338
- selector: 'date-picker',
9054
+ selector: 'ofe-date-picker',
9339
9055
  templateUrl: './date-picker.component.html',
9340
9056
  styleUrls: ['./date-picker.component.css']
9341
9057
  }]
@@ -9347,9 +9063,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9347
9063
  type: Input
9348
9064
  }], returnObject: [{
9349
9065
  type: Input
9350
- }], onDatePickerCancel: [{
9066
+ }], datePickerCancel: [{
9351
9067
  type: Output
9352
- }], onSelectDate: [{
9068
+ }], dateSelect: [{
9353
9069
  type: Output
9354
9070
  }] } });
9355
9071
 
@@ -9365,8 +9081,8 @@ class TimePickerComponent {
9365
9081
  this.viewFormat = 'hh:mm A';
9366
9082
  this.use12Hour = false;
9367
9083
  this.returnObject = 'js';
9368
- this.onSelectTime = new EventEmitter();
9369
- this.onTimePickerCancel = new EventEmitter();
9084
+ this.timeSelect = new EventEmitter();
9085
+ this.timePickerCancel = new EventEmitter();
9370
9086
  this.hourFormat = 'HH';
9371
9087
  }
9372
9088
  ngOnInit() {
@@ -9407,23 +9123,23 @@ class TimePickerComponent {
9407
9123
  }
9408
9124
  selectTime() {
9409
9125
  const selectTime = this.parseToReturnObjectType(this.time);
9410
- this.onSelectTime.emit(selectTime);
9126
+ this.timeSelect.emit(selectTime);
9411
9127
  this.cancelTimePicker();
9412
9128
  return;
9413
9129
  }
9414
9130
  selectNow() {
9415
9131
  const selectTime = this.parseToReturnObjectType(moment());
9416
- this.onSelectTime.emit(selectTime);
9132
+ this.timeSelect.emit(selectTime);
9417
9133
  this.cancelTimePicker();
9418
9134
  return;
9419
9135
  }
9420
9136
  clearTime() {
9421
- this.onSelectTime.emit(null);
9137
+ this.timeSelect.emit(null);
9422
9138
  this.cancelTimePicker();
9423
9139
  return;
9424
9140
  }
9425
9141
  cancelTimePicker() {
9426
- this.onTimePickerCancel.emit(false);
9142
+ this.timePickerCancel.emit(false);
9427
9143
  return;
9428
9144
  }
9429
9145
  parseToReturnObjectType(time) {
@@ -9448,11 +9164,11 @@ class TimePickerComponent {
9448
9164
  }
9449
9165
  }
9450
9166
  TimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9451
- TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimePickerComponent, selector: "time-picker", inputs: { initTime: "initTime", showSecond: "showSecond", viewFormat: "viewFormat", use12Hour: "use12Hour", returnObject: "returnObject" }, outputs: { onSelectTime: "onSelectTime", onTimePickerCancel: "onTimePickerCancel" }, ngImport: i0, template: "<picker-modal (onOverlayClick)=\"cancelTimePicker()\">\n <div class=\"picker-wrap\">\n <div class=\"picker-box\">\n <div class=\"picker-header\">Time Picker</div>\n <div class=\"picker-table\">\n <ul class=\"picker-table-time\">\n <li class=\"picker-table-number hour\">\n <span class=\"arrow up\" (click)=\"increaseHour()\"></span>\n {{ time | moment: hourFormat }}\n <span class=\"arrow down\" (click)=\"decreaseHour()\"></span>\n </li>\n <li class=\"picker-table-separator\">:</li>\n <li class=\"picker-table-number minute\">\n <span class=\"arrow up\" (click)=\"increaseMinute()\"></span>\n {{ time | moment: 'mm' }}\n <span class=\"arrow down\" (click)=\"decreaseMinute()\"></span>\n </li>\n <li *ngIf=\"showSecond\" class=\"picker-table-separator\">:</li>\n <li *ngIf=\"showSecond\" class=\"picker-table-number second\">\n <span class=\"arrow up\" (click)=\"increaseSecond()\"></span>\n {{ time | moment: 'ss' }}\n <span class=\"arrow down\" (click)=\"decreaseSecond()\"></span>\n </li>\n <li *ngIf=\"use12Hour\" class=\"picker-table-meridiem meridiem\">\n {{ time | moment: 'A' }}\n </li>\n </ul>\n </div>\n <div class=\"picker-footer\">\n <div class=\"picker-action action-now\" (click)=\"selectNow()\">\n <span class=\"text\">Now</span>\n </div>\n <div class=\"picker-action action-confirm\" (click)=\"selectTime()\">\n <span class=\"text\">Confirm</span>\n </div>\n <div class=\"picker-action action-clear\" (click)=\"clearTime()\">\n <span class=\"text\">Clear</span>\n </div>\n <div class=\"picker-action action-close\" (click)=\"cancelTimePicker()\">\n <span class=\"text\">Close</span>\n </div>\n </div>\n </div>\n </div>\n</picker-modal>\n", styles: ["*,*:before,*:after{box-sizing:border-box}.picker-wrap{width:95vw;max-width:40rem;font-family:\"Open Sans\"}.picker-box{width:100%;padding:.625rem 1rem;-webkit-user-select:none;user-select:none}.picker-header,.picker-footer{font-size:1.333rem;line-height:2.5rem;height:2.5rem;width:100%}.picker-header{text-align:center}.picker-table{width:100%;margin:2.5rem 0}.picker-table-time{font-size:2.37rem;line-height:2.5rem;list-style:none;margin:0;padding:0;display:flex;justify-content:center;width:100%;-webkit-user-select:none;user-select:none}.picker-table-number,.picker-table-meridiem,.picker-table-separator{text-align:center}.picker-table-number,.picker-table-meridiem{position:relative;width:20%}.arrow{position:absolute;left:50%;border:solid #777;border-width:0 .2rem .2rem 0;display:inline-block;padding:.25rem;cursor:pointer}.arrow.up{top:-1rem;transform:translate(-50%) rotate(-135deg)}.arrow.down{bottom:-1rem;transform:translate(-50%) rotate(45deg)}.arrow:hover{border-color:#1975d2}.picker-table-separator{width:calc(20% / 3)}.picker-footer{display:flex;justify-content:center;width:100%;cursor:pointer}.picker-footer .picker-action{width:25%;text-align:center}.picker-footer .picker-action:hover{background-color:#b1dcfb}.picker-footer .picker-action .text{padding-left:.8rem}.picker-footer .action-now:before,.picker-footer .action-confirm:before,.picker-footer .action-clear:before,.picker-footer .action-close:before{content:\" \";position:relative;display:inline-block;height:0;width:0}.picker-footer .action-now:before{border-top:.66em solid #0059bc;border-left:.66em solid transparent}.picker-footer .action-confirm:before{width:1rem;height:1rem;border-radius:100%;background-color:#00b5ad}.picker-footer .action-clear:before{top:-.5rem;width:1rem;border-top:3px solid #e20}.picker-footer .action-close:before{width:1rem;height:1rem;background:linear-gradient(to bottom,transparent 35%,#777 35%,#777 65%,transparent 65%),linear-gradient(to right,transparent 35%,#777 35%,#777 65%,transparent 65%);transform:rotate(45deg)}\n"], components: [{ type: ModalComponent, selector: "picker-modal", outputs: ["onOverlayClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "moment": MomentPipe } });
9167
+ TimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TimePickerComponent, selector: "ofe-time-picker", inputs: { initTime: "initTime", showSecond: "showSecond", viewFormat: "viewFormat", use12Hour: "use12Hour", returnObject: "returnObject" }, outputs: { timeSelect: "timeSelect", timePickerCancel: "timePickerCancel" }, ngImport: i0, template: "<ofe-picker-modal (overlayClick)=\"cancelTimePicker()\">\n <div class=\"picker-wrap\">\n <div class=\"picker-box\">\n <div class=\"picker-header\">Time Picker</div>\n <div class=\"picker-table\">\n <ul class=\"picker-table-time\">\n <li class=\"picker-table-number hour\">\n <span class=\"arrow up\" (click)=\"increaseHour()\"></span>\n {{ time | moment: hourFormat }}\n <span class=\"arrow down\" (click)=\"decreaseHour()\"></span>\n </li>\n <li class=\"picker-table-separator\">:</li>\n <li class=\"picker-table-number minute\">\n <span class=\"arrow up\" (click)=\"increaseMinute()\"></span>\n {{ time | moment: 'mm' }}\n <span class=\"arrow down\" (click)=\"decreaseMinute()\"></span>\n </li>\n <li *ngIf=\"showSecond\" class=\"picker-table-separator\">:</li>\n <li *ngIf=\"showSecond\" class=\"picker-table-number second\">\n <span class=\"arrow up\" (click)=\"increaseSecond()\"></span>\n {{ time | moment: 'ss' }}\n <span class=\"arrow down\" (click)=\"decreaseSecond()\"></span>\n </li>\n <li *ngIf=\"use12Hour\" class=\"picker-table-meridiem meridiem\">\n {{ time | moment: 'A' }}\n </li>\n </ul>\n </div>\n <div class=\"picker-footer\">\n <div class=\"picker-action action-now\" (click)=\"selectNow()\">\n <span class=\"text\">Now</span>\n </div>\n <div class=\"picker-action action-confirm\" (click)=\"selectTime()\">\n <span class=\"text\">Confirm</span>\n </div>\n <div class=\"picker-action action-clear\" (click)=\"clearTime()\">\n <span class=\"text\">Clear</span>\n </div>\n <div class=\"picker-action action-close\" (click)=\"cancelTimePicker()\">\n <span class=\"text\">Close</span>\n </div>\n </div>\n </div>\n </div>\n</ofe-picker-modal>\n", styles: ["*,*:before,*:after{box-sizing:border-box}.picker-wrap{width:95vw;max-width:40rem;font-family:\"Open Sans\"}.picker-box{width:100%;padding:.625rem 1rem;-webkit-user-select:none;user-select:none}.picker-header,.picker-footer{font-size:1.333rem;line-height:2.5rem;height:2.5rem;width:100%}.picker-header{text-align:center}.picker-table{width:100%;margin:2.5rem 0}.picker-table-time{font-size:2.37rem;line-height:2.5rem;list-style:none;margin:0;padding:0;display:flex;justify-content:center;width:100%;-webkit-user-select:none;user-select:none}.picker-table-number,.picker-table-meridiem,.picker-table-separator{text-align:center}.picker-table-number,.picker-table-meridiem{position:relative;width:20%}.arrow{position:absolute;left:50%;border:solid #777;border-width:0 .2rem .2rem 0;display:inline-block;padding:.25rem;cursor:pointer}.arrow.up{top:-1rem;transform:translate(-50%) rotate(-135deg)}.arrow.down{bottom:-1rem;transform:translate(-50%) rotate(45deg)}.arrow:hover{border-color:#1975d2}.picker-table-separator{width:calc(20% / 3)}.picker-footer{display:flex;justify-content:center;width:100%;cursor:pointer}.picker-footer .picker-action{width:25%;text-align:center}.picker-footer .picker-action:hover{background-color:#b1dcfb}.picker-footer .picker-action .text{padding-left:.8rem}.picker-footer .action-now:before,.picker-footer .action-confirm:before,.picker-footer .action-clear:before,.picker-footer .action-close:before{content:\" \";position:relative;display:inline-block;height:0;width:0}.picker-footer .action-now:before{border-top:.66em solid #0059bc;border-left:.66em solid transparent}.picker-footer .action-confirm:before{width:1rem;height:1rem;border-radius:100%;background-color:#00b5ad}.picker-footer .action-clear:before{top:-.5rem;width:1rem;border-top:3px solid #e20}.picker-footer .action-close:before{width:1rem;height:1rem;background:linear-gradient(to bottom,transparent 35%,#777 35%,#777 65%,transparent 65%),linear-gradient(to right,transparent 35%,#777 35%,#777 65%,transparent 65%);transform:rotate(45deg)}\n"], components: [{ type: ModalComponent, selector: "ofe-picker-modal", outputs: ["overlayClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "moment": MomentPipe } });
9452
9168
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TimePickerComponent, decorators: [{
9453
9169
  type: Component,
9454
9170
  args: [{
9455
- selector: 'time-picker',
9171
+ selector: 'ofe-time-picker',
9456
9172
  templateUrl: './time-picker.component.html',
9457
9173
  styleUrls: ['./time-picker.component.css']
9458
9174
  }]
@@ -9466,9 +9182,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9466
9182
  type: Input
9467
9183
  }], returnObject: [{
9468
9184
  type: Input
9469
- }], onSelectTime: [{
9185
+ }], timeSelect: [{
9470
9186
  type: Output
9471
- }], onTimePickerCancel: [{
9187
+ }], timePickerCancel: [{
9472
9188
  type: Output
9473
9189
  }] } });
9474
9190
 
@@ -9478,13 +9194,12 @@ class DateTimePickerComponent {
9478
9194
  this.showTime = false;
9479
9195
  this.showWeeks = false;
9480
9196
  this.weeks = [2, 4, 6, 8, 12, 16, 24];
9481
- this.onDateChange = new EventEmitter();
9197
+ this.dateChange = new EventEmitter();
9482
9198
  this.showDatePicker = false;
9483
9199
  this.showTimePicker = false;
9484
9200
  this.onChange = () => { };
9485
9201
  this.onTouched = () => { };
9486
9202
  }
9487
- ngOnInit() { }
9488
9203
  weeksSelected(count) {
9489
9204
  const now = new Date();
9490
9205
  const nextDate = now.setDate(now.getDate() + count * 7);
@@ -9530,7 +9245,7 @@ class DateTimePickerComponent {
9530
9245
  }
9531
9246
  set value(val) {
9532
9247
  this.modelValue = val;
9533
- this.onDateChange.emit(val);
9248
+ this.dateChange.emit(val);
9534
9249
  this.onChange(val);
9535
9250
  this.onTouched();
9536
9251
  }
@@ -9550,17 +9265,17 @@ class DateTimePickerComponent {
9550
9265
  }
9551
9266
  }
9552
9267
  DateTimePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateTimePickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
9553
- DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateTimePickerComponent, selector: "date-time-picker", inputs: { modelValue: "modelValue", showDate: "showDate", showTime: "showTime", showWeeks: "showWeeks", weeks: "weeks" }, outputs: { onDateChange: "onDateChange" }, providers: [
9268
+ DateTimePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DateTimePickerComponent, selector: "ofe-date-time-picker", inputs: { modelValue: "modelValue", showDate: "showDate", showTime: "showTime", showWeeks: "showWeeks", weeks: "weeks" }, outputs: { dateChange: "dateChange" }, providers: [
9554
9269
  {
9555
9270
  provide: NG_VALUE_ACCESSOR,
9556
9271
  useExisting: forwardRef(() => DateTimePickerComponent),
9557
9272
  multi: true
9558
9273
  }
9559
- ], ngImport: i0, template: "<div class=\"row\">\n <div *ngIf=\"!showTime\" class=\"col-xs-12 col-md-12\">\n <input\n *ngIf=\"!showWeeks\"\n type=\"text\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div *ngIf=\"showWeeks\" class=\"input-group\">\n <input\n type=\"text\"\n class=\"form-control\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div class=\"input-group-btn\">\n <button\n type=\"button\"\n class=\"btn btn-default dropdown-toggle\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n Weeks <span class=\"caret\"></span>\n </button>\n <ul class=\"dropdown-menu up\">\n <li (click)=\"weeksSelected(count)\" *ngFor=\"let count of weeks\">\n <span> {{ count }} Weeks</span>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div *ngIf=\"showTime\" class=\"col-xs-8 col-md-8\">\n <input\n *ngIf=\"!showWeeks\"\n type=\"text\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div *ngIf=\"showWeeks\" class=\"input-group\">\n <input\n type=\"text\"\n class=\"form-control\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div class=\"input-group-btn\">\n <button\n type=\"button\"\n class=\"btn btn-default dropdown-toggle\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n Weeks <span class=\"caret\"></span>\n </button>\n <ul class=\"dropdown-menu up\">\n <li (click)=\"weeksSelected(count)\" *ngFor=\"let count of weeks\">\n <span> {{ count }} Weeks</span>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div *ngIf=\"showTime\" class=\"col-xs-4 col-md-4\">\n <input\n type=\"text\"\n class=\"form-control\"\n [value]=\"value | date: 'shortTime'\"\n (focus)=\"toggleTimePicker(true)\"\n readonly\n placeholder=\"Select Time\"\n />\n </div>\n</div>\n<date-picker\n *ngIf=\"showDatePicker\"\n [initDate]=\"value\"\n (onSelectDate)=\"setDate($event)\"\n (onDatePickerCancel)=\"toggleDatePicker($event)\"\n></date-picker>\n\n<time-picker\n *ngIf=\"showTimePicker\"\n [initTime]=\"value\"\n [use12Hour]=\"true\"\n (onSelectTime)=\"setTime($event)\"\n (onTimePickerCancel)=\"toggleTimePicker($event)\"\n></time-picker>\n", styles: ["input[readonly]{background-color:#fff}.up{bottom:100%!important;top:auto!important}.glyphicon{top:1px}\n"], components: [{ type: DatePickerComponent, selector: "date-picker", inputs: ["initDate", "locale", "viewFormat", "returnObject"], outputs: ["onDatePickerCancel", "onSelectDate"] }, { type: TimePickerComponent, selector: "time-picker", inputs: ["initTime", "showSecond", "viewFormat", "use12Hour", "returnObject"], outputs: ["onSelectTime", "onTimePickerCancel"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "date": i1.DatePipe } });
9274
+ ], ngImport: i0, template: "<div class=\"row\">\n <div *ngIf=\"!showTime\" class=\"col-xs-12 col-md-12\">\n <input\n *ngIf=\"!showWeeks\"\n type=\"text\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div *ngIf=\"showWeeks\" class=\"input-group\">\n <input\n type=\"text\"\n class=\"form-control\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div class=\"input-group-btn\">\n <button\n type=\"button\"\n class=\"btn btn-default dropdown-toggle\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n Weeks <span class=\"caret\"></span>\n </button>\n <ul class=\"dropdown-menu up\">\n <li (click)=\"weeksSelected(count)\" *ngFor=\"let count of weeks\">\n <span> {{ count }} Weeks</span>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div *ngIf=\"showTime\" class=\"col-xs-8 col-md-8\">\n <input\n *ngIf=\"!showWeeks\"\n type=\"text\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div *ngIf=\"showWeeks\" class=\"input-group\">\n <input\n type=\"text\"\n class=\"form-control\"\n class=\"form-control\"\n [value]=\"value | date: 'mediumDate'\"\n (focus)=\"toggleDatePicker(true)\"\n readonly\n placeholder=\"Select Date\"\n />\n <div class=\"input-group-btn\">\n <button\n type=\"button\"\n class=\"btn btn-default dropdown-toggle\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n Weeks <span class=\"caret\"></span>\n </button>\n <ul class=\"dropdown-menu up\">\n <li (click)=\"weeksSelected(count)\" *ngFor=\"let count of weeks\">\n <span> {{ count }} Weeks</span>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div *ngIf=\"showTime\" class=\"col-xs-4 col-md-4\">\n <input\n type=\"text\"\n class=\"form-control\"\n [value]=\"value | date: 'shortTime'\"\n (focus)=\"toggleTimePicker(true)\"\n readonly\n placeholder=\"Select Time\"\n />\n </div>\n</div>\n<ofe-date-picker\n *ngIf=\"showDatePicker\"\n [initDate]=\"value\"\n (dateSelect)=\"setDate($event)\"\n (datePickerCancel)=\"toggleDatePicker($event)\"\n></ofe-date-picker>\n\n<ofe-time-picker\n *ngIf=\"showTimePicker\"\n [initTime]=\"value\"\n [use12Hour]=\"true\"\n (timeSelect)=\"setTime($event)\"\n (timePickerCancel)=\"toggleTimePicker($event)\"\n></ofe-time-picker>\n", styles: ["input[readonly]{background-color:#fff}.up{bottom:100%!important;top:auto!important}.glyphicon{top:1px}\n"], components: [{ type: DatePickerComponent, selector: "ofe-date-picker", inputs: ["initDate", "locale", "viewFormat", "returnObject"], outputs: ["datePickerCancel", "dateSelect"] }, { type: TimePickerComponent, selector: "ofe-time-picker", inputs: ["initTime", "showSecond", "viewFormat", "use12Hour", "returnObject"], outputs: ["timeSelect", "timePickerCancel"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "date": i1.DatePipe } });
9560
9275
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: DateTimePickerComponent, decorators: [{
9561
9276
  type: Component,
9562
9277
  args: [{
9563
- selector: 'date-time-picker',
9278
+ selector: 'ofe-date-time-picker',
9564
9279
  templateUrl: './date-time-picker.component.html',
9565
9280
  styleUrls: ['./date-time-picker.component.css'],
9566
9281
  providers: [
@@ -9581,7 +9296,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9581
9296
  type: Input
9582
9297
  }], weeks: [{
9583
9298
  type: Input
9584
- }], onDateChange: [{
9299
+ }], dateChange: [{
9585
9300
  type: Output
9586
9301
  }] } });
9587
9302
 
@@ -9623,7 +9338,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9623
9338
  }]
9624
9339
  }] });
9625
9340
 
9626
- /* eslint-disable @angular-eslint/no-host-metadata-property */
9627
9341
  const OWL_DATETIME_VALUE_ACCESSOR = {
9628
9342
  provide: NG_VALUE_ACCESSOR,
9629
9343
  useExisting: forwardRef(() => OwlDateTimeInlineComponent),
@@ -9659,6 +9373,9 @@ class OwlDateTimeInlineComponent extends OwlDateTime {
9659
9373
  this.onModelChange = () => { };
9660
9374
  this.onModelTouched = () => { };
9661
9375
  }
9376
+ get owlDTInlineClass() {
9377
+ return true;
9378
+ }
9662
9379
  get pickerType() {
9663
9380
  return this._pickerType;
9664
9381
  }
@@ -9705,7 +9422,7 @@ class OwlDateTimeInlineComponent extends OwlDateTime {
9705
9422
  set startAt(date) {
9706
9423
  this._startAt = this.getValidDate(this.dateTimeAdapter.deserialize(date));
9707
9424
  }
9708
- get dateTimeFilter() {
9425
+ get owlDateTimeFilter() {
9709
9426
  return this._dateTimeFilter;
9710
9427
  }
9711
9428
  set dateTimeFilter(filter) {
@@ -9780,9 +9497,6 @@ class OwlDateTimeInlineComponent extends OwlDateTime {
9780
9497
  this._selectMode === 'rangeFrom' ||
9781
9498
  this._selectMode === 'rangeTo');
9782
9499
  }
9783
- get owlDTInlineClass() {
9784
- return true;
9785
- }
9786
9500
  ngOnInit() {
9787
9501
  this.container.picker = this;
9788
9502
  }
@@ -9832,18 +9546,14 @@ class OwlDateTimeInlineComponent extends OwlDateTime {
9832
9546
  }
9833
9547
  }
9834
9548
  OwlDateTimeInlineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeInlineComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
9835
- OwlDateTimeInlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeInlineComponent, selector: "owl-date-time-inline", inputs: { pickerType: "pickerType", disabled: "disabled", selectMode: "selectMode", startAt: "startAt", dateTimeFilter: ["owlDateTimeFilter", "dateTimeFilter"], minDateTime: ["min", "minDateTime"], maxDateTime: ["max", "maxDateTime"], value: "value", values: "values" }, outputs: { yearSelected: "yearSelected", monthSelected: "monthSelected" }, host: { properties: { "class.owl-dt-inline": "owlDTInlineClass" } }, providers: [OWL_DATETIME_VALUE_ACCESSOR], viewQueries: [{ propertyName: "container", first: true, predicate: OwlDateTimeContainerComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<owl-date-time-container></owl-date-time-container>\n", styles: [""], components: [{ type: OwlDateTimeContainerComponent, selector: "owl-date-time-container", exportAs: ["owlDateTimeContainer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9549
+ OwlDateTimeInlineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeInlineComponent, selector: "ofe-owl-date-time-inline", inputs: { pickerType: "pickerType", disabled: "disabled", selectMode: "selectMode", startAt: "startAt", owlDateTimeFilter: "owlDateTimeFilter", min: "min", max: "max", value: "value", values: "values" }, outputs: { yearSelected: "yearSelected", monthSelected: "monthSelected" }, host: { properties: { "class.owl-dt-inline": "this.owlDTInlineClass" } }, providers: [OWL_DATETIME_VALUE_ACCESSOR], viewQueries: [{ propertyName: "container", first: true, predicate: OwlDateTimeContainerComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<ofe-owl-date-time-container></ofe-owl-date-time-container>\n", styles: [""], components: [{ type: OwlDateTimeContainerComponent, selector: "ofe-owl-date-time-container", exportAs: ["owlDateTimeContainer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
9836
9550
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OwlDateTimeInlineComponent, decorators: [{
9837
9551
  type: Component,
9838
9552
  args: [{
9839
- selector: 'owl-date-time-inline',
9553
+ selector: 'ofe-owl-date-time-inline',
9840
9554
  templateUrl: './date-time-inline.component.html',
9841
9555
  styleUrls: ['./date-time-inline.component.scss'],
9842
- host: {
9843
- '[class.owl-dt-inline]': 'owlDTInlineClass'
9844
- },
9845
9556
  changeDetection: ChangeDetectionStrategy.OnPush,
9846
- preserveWhitespaces: false,
9847
9557
  providers: [OWL_DATETIME_VALUE_ACCESSOR]
9848
9558
  }]
9849
9559
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
@@ -9853,7 +9563,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9853
9563
  }, {
9854
9564
  type: Inject,
9855
9565
  args: [OWL_DATE_TIME_FORMATS]
9856
- }] }]; }, propDecorators: { container: [{
9566
+ }] }]; }, propDecorators: { owlDTInlineClass: [{
9567
+ type: HostBinding,
9568
+ args: ['class.owl-dt-inline']
9569
+ }], container: [{
9857
9570
  type: ViewChild,
9858
9571
  args: [OwlDateTimeContainerComponent, { static: true }]
9859
9572
  }], pickerType: [{
@@ -9864,15 +9577,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
9864
9577
  type: Input
9865
9578
  }], startAt: [{
9866
9579
  type: Input
9867
- }], dateTimeFilter: [{
9868
- type: Input,
9869
- args: ['owlDateTimeFilter']
9870
- }], minDateTime: [{
9871
- type: Input,
9872
- args: ['min']
9873
- }], maxDateTime: [{
9874
- type: Input,
9875
- args: ['max']
9580
+ }], owlDateTimeFilter: [{
9581
+ type: Input
9582
+ }], min: [{
9583
+ type: Input
9584
+ }], max: [{
9585
+ type: Input
9876
9586
  }], value: [{
9877
9587
  type: Input
9878
9588
  }], values: [{
@@ -10374,7 +10084,6 @@ NgxDateTimePickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
10374
10084
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NgxDateTimePickerModule, decorators: [{
10375
10085
  type: NgModule,
10376
10086
  args: [{
10377
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
10378
10087
  imports: [
10379
10088
  CommonModule,
10380
10089
  FormsModule,
@@ -10410,7 +10119,6 @@ class AfeNgSelectComponent {
10410
10119
  this.propagateChange = fn;
10411
10120
  }
10412
10121
  registerOnTouched(fn) { }
10413
- ngOnChanges(changes) { }
10414
10122
  ngOnInit() {
10415
10123
  if (this.extras) {
10416
10124
  if (this.extras.originalValue) {
@@ -10450,13 +10158,13 @@ class AfeNgSelectComponent {
10450
10158
  }
10451
10159
  }
10452
10160
  AfeNgSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AfeNgSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10453
- AfeNgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AfeNgSelectComponent, selector: "afe-ng-select", inputs: { dataSource: "dataSource", multiple: "multiple", extras: "extras" }, providers: [
10161
+ AfeNgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AfeNgSelectComponent, selector: "ofe-ng-select", inputs: { dataSource: "dataSource", multiple: "multiple", extras: "extras" }, providers: [
10454
10162
  {
10455
10163
  provide: NG_VALUE_ACCESSOR,
10456
10164
  useExisting: forwardRef(() => AfeNgSelectComponent),
10457
10165
  multi: true
10458
10166
  }
10459
- ], usesOnChanges: true, ngImport: i0, template: `<ng-select
10167
+ ], ngImport: i0, template: `<ng-select
10460
10168
  (searchInputText)="getChangingText($event)"
10461
10169
  (ngModelChange)="onValueChange($event)"
10462
10170
  [options]="question_options"
@@ -10466,7 +10174,7 @@ AfeNgSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
10466
10174
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: AfeNgSelectComponent, decorators: [{
10467
10175
  type: Component,
10468
10176
  args: [{
10469
- selector: 'afe-ng-select',
10177
+ selector: 'ofe-ng-select',
10470
10178
  template: `<ng-select
10471
10179
  (searchInputText)="getChangingText($event)"
10472
10180
  (ngModelChange)="onValueChange($event)"
@@ -12331,7 +12039,6 @@ class ObsAdapterHelper {
12331
12039
  let valueField; // essential memmber
12332
12040
  let dateField; // other member to be manipulated by user
12333
12041
  const nodeAsGroup = node;
12334
- // eslint-disable-next-line guard-for-in
12335
12042
  for (const o in nodeAsGroup.children) {
12336
12043
  if (nodeAsGroup.children[o].question.extras.questionOptions
12337
12044
  .obsField === 'value') {
@@ -12354,7 +12061,6 @@ class ObsAdapterHelper {
12354
12061
  if (node && obs.length > 0) {
12355
12062
  const groupNode = node;
12356
12063
  groupNode.initialValue = obs[0];
12357
- // eslint-disable-next-line guard-for-in
12358
12064
  for (const o in groupNode.children) {
12359
12065
  this.setNodeValue(groupNode.children[o], obs[0].groupMembers);
12360
12066
  }
@@ -12382,7 +12088,6 @@ class ObsAdapterHelper {
12382
12088
  case 'unknown':
12383
12089
  if (node instanceof GroupNode) {
12384
12090
  const groupNode = node;
12385
- // eslint-disable-next-line guard-for-in
12386
12091
  for (const o in groupNode.children) {
12387
12092
  this.setNodeValue(groupNode.children[o], obs);
12388
12093
  }
@@ -12514,7 +12219,6 @@ class ObsAdapterHelper {
12514
12219
  let valueField; // essential memmber
12515
12220
  let dateField; // other member to be manipulated by user
12516
12221
  const nodeAsGroup = node;
12517
- // eslint-disable-next-line guard-for-in
12518
12222
  for (const o in nodeAsGroup.children) {
12519
12223
  if (nodeAsGroup.children[o].question.extras.questionOptions
12520
12224
  .obsField === 'value') {
@@ -12641,7 +12345,6 @@ class ObsAdapterHelper {
12641
12345
  case 'unknown':
12642
12346
  if (node instanceof GroupNode) {
12643
12347
  const groupNode = node;
12644
- // eslint-disable-next-line guard-for-in
12645
12348
  for (const o in groupNode.children) {
12646
12349
  const groupNodePayoad = this.getObsNodePayload(groupNode.children[o]);
12647
12350
  if (Array.isArray(groupNodePayoad) && groupNodePayoad.length > 0) {
@@ -12852,7 +12555,6 @@ class ObsValueAdapter {
12852
12555
  setComplexObsValue(node, payload) {
12853
12556
  let valueField;
12854
12557
  let dateField;
12855
- // eslint-disable-next-line guard-for-in
12856
12558
  for (const o in node.children) {
12857
12559
  if (node.children[o].question.extras.questionOptions
12858
12560
  .obsField === 'value') {
@@ -13053,14 +12755,12 @@ class ObsValueAdapter {
13053
12755
  const newPayload = [];
13054
12756
  for (const obs of payload) {
13055
12757
  const groupPayload = [];
13056
- /* eslint-disable */
13057
12758
  for (let key in obs.value) {
13058
12759
  let concept = key.split(':')[0];
13059
12760
  let value = key.split(':')[1];
13060
12761
  groupPayload.push({ concept: concept, value: value });
13061
12762
  }
13062
12763
  newPayload.push({ concept: groupConcept, groupMembers: groupPayload });
13063
- /* eslint-enable */
13064
12764
  }
13065
12765
  return newPayload;
13066
12766
  }
@@ -13119,7 +12819,6 @@ class ObsValueAdapter {
13119
12819
  processComplexObs(node, obsPayload) {
13120
12820
  let valueField;
13121
12821
  let dateField;
13122
- // eslint-disable-next-line guard-for-in
13123
12822
  for (const o in node.children) {
13124
12823
  if (node.children[o].question.extras.questionOptions
13125
12824
  .obsField === 'value') {
@@ -13441,7 +13140,6 @@ class OrderValueAdapter {
13441
13140
  break;
13442
13141
  case 'repeating':
13443
13142
  if (formNode.children) {
13444
- // eslint-disable-next-line guard-for-in
13445
13143
  for (const node in formNode.children) {
13446
13144
  const question = formNode.children[node].question;
13447
13145
  if (question.extras &&
@@ -13600,7 +13298,6 @@ class EncounterAdapter {
13600
13298
  }
13601
13299
  if (rootNode instanceof GroupNode) {
13602
13300
  const node = rootNode;
13603
- // eslint-disable-next-line guard-for-in
13604
13301
  for (const o in node.children) {
13605
13302
  if (node.children[o] instanceof NodeBase) {
13606
13303
  this._getEncounterNodes(node.children[o], array);
@@ -13695,7 +13392,6 @@ class PersonAttribuAdapter {
13695
13392
  }
13696
13393
  if (rootNode instanceof GroupNode) {
13697
13394
  const node = rootNode;
13698
- // eslint-disable-next-line guard-for-in
13699
13395
  for (const o in node.children) {
13700
13396
  if (node.children[o] instanceof NodeBase) {
13701
13397
  this._getPersonAttributesNodes(node.children[o], array);
@@ -13791,19 +13487,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
13791
13487
  }]
13792
13488
  }] });
13793
13489
 
13794
- /* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
13795
- class OptGroup {
13490
+ class OptionDirective {
13491
+ constructor() {
13492
+ this.inputClass = 'cds--select-option';
13493
+ }
13494
+ }
13495
+ OptionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13496
+ OptionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OptionDirective, selector: "[ofeOption]", host: { properties: { "class": "this.inputClass" } }, ngImport: i0 });
13497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OptionDirective, decorators: [{
13498
+ type: Directive,
13499
+ args: [{
13500
+ selector: '[ofeOption]'
13501
+ }]
13502
+ }], propDecorators: { inputClass: [{
13503
+ type: HostBinding,
13504
+ args: ['class']
13505
+ }] } });
13506
+
13507
+ class OptGroupDirective {
13796
13508
  constructor() {
13797
13509
  this.inputClass = 'cds--select-optgroup';
13798
13510
  }
13799
13511
  }
13800
- OptGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OptGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13801
- OptGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OptGroup, selector: "optgroup", host: { properties: { "class": "this.inputClass" } }, ngImport: i0 });
13802
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OptGroup, decorators: [{
13512
+ OptGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OptGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
13513
+ OptGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OptGroupDirective, selector: "[ofeOptgroup]", host: { properties: { "class": "this.inputClass" } }, ngImport: i0 });
13514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: OptGroupDirective, decorators: [{
13803
13515
  type: Directive,
13804
13516
  args: [{
13805
- // eslint-disable-next-line
13806
- selector: 'optgroup'
13517
+ selector: '[ofeOptgroup]'
13807
13518
  }]
13808
13519
  }], propDecorators: { inputClass: [{
13809
13520
  type: HostBinding,
@@ -13814,43 +13525,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
13814
13525
  class SelectModule {
13815
13526
  }
13816
13527
  SelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13817
- SelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectModule, declarations: [Select, Option$1, OptGroup], imports: [CommonModule, FormsModule], exports: [Select, Option$1, OptGroup] });
13528
+ SelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectModule, declarations: [SelectComponent, OptionDirective, OptGroupDirective], imports: [CommonModule, FormsModule], exports: [SelectComponent, OptionDirective, OptGroupDirective] });
13818
13529
  SelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectModule, imports: [[CommonModule, FormsModule]] });
13819
13530
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SelectModule, decorators: [{
13820
13531
  type: NgModule,
13821
13532
  args: [{
13822
- declarations: [Select, Option$1, OptGroup],
13823
- exports: [Select, Option$1, OptGroup],
13533
+ declarations: [SelectComponent, OptionDirective, OptGroupDirective],
13534
+ exports: [SelectComponent, OptionDirective, OptGroupDirective],
13824
13535
  imports: [CommonModule, FormsModule]
13825
13536
  }]
13826
13537
  }] });
13827
13538
 
13828
- /* eslint-disable @angular-eslint/component-class-suffix */
13829
13539
  /**
13830
13540
  * [See demo](../../?path=/story/input--label)
13831
13541
  *
13832
13542
  * ```html
13833
- * <ibm-label labelState="success">
13543
+ * <ofe-label labelState="success">
13834
13544
  * <label label>Field with success</label>
13835
13545
  * <input type="text" class="input-field">
13836
- * </ibm-label>
13546
+ * </ofe-label>
13837
13547
  *
13838
- * <ibm-label labelState="warning">
13548
+ * <ofe-label labelState="warning">
13839
13549
  * <label label>Field with warning</label>
13840
13550
  * <input type="text" class="input-field">
13841
- * </ibm-label>
13551
+ * </ofe-label>
13842
13552
  *
13843
- * <ibm-label labelState="error">
13553
+ * <ofe-label labelState="error">
13844
13554
  * <label label>Field with error</label>
13845
13555
  * <input type="text" class="input-field">
13846
- * </ibm-label>
13556
+ * </ofe-label>
13847
13557
  * ```
13848
13558
  *
13849
13559
  * <example-url>../../iframe.html?id=input--label</example-url>
13850
13560
  */
13851
- class Label {
13561
+ class LabelComponent {
13852
13562
  /**
13853
- * Creates an instance of Label.
13563
+ * Creates an instance of LabelComponent.
13854
13564
  */
13855
13565
  constructor() {
13856
13566
  /**
@@ -13861,7 +13571,7 @@ class Label {
13861
13571
  * The id of the input item associated with the `Label`. This value is also used to associate the `Label` with
13862
13572
  * its input counterpart through the 'for' attribute.
13863
13573
  */
13864
- this.labelInputID = 'ibm-label-' + Label.labelCounter;
13574
+ this.labelInputID = 'ofe-label-' + LabelComponent.labelCounter;
13865
13575
  /**
13866
13576
  * State of the `Label` will determine the styles applied.
13867
13577
  */
@@ -13879,7 +13589,7 @@ class Label {
13879
13589
  */
13880
13590
  this.warn = false;
13881
13591
  this.labelClass = true;
13882
- Label.labelCounter++;
13592
+ LabelComponent.labelCounter++;
13883
13593
  }
13884
13594
  /**
13885
13595
  * Update wrapper class if a textarea is hosted.
@@ -13907,9 +13617,9 @@ class Label {
13907
13617
  /**
13908
13618
  * Used to build the id of the input item associated with the `Label`.
13909
13619
  */
13910
- Label.labelCounter = 0;
13911
- Label.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Label, deps: [], target: i0.ɵɵFactoryTarget.Component });
13912
- Label.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: Label, selector: "ibm-label", inputs: { labelInputID: "labelInputID", labelState: "labelState", skeleton: "skeleton", helperText: "helperText", invalidText: "invalidText", invalid: "invalid", warn: "warn", warnText: "warnText", ariaLabel: "ariaLabel" }, host: { properties: { "class.cds--form-item": "this.labelClass" } }, queries: [{ propertyName: "textArea", first: true, predicate: TextArea, descendants: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0, template: `
13620
+ LabelComponent.labelCounter = 0;
13621
+ LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13622
+ LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LabelComponent, selector: "ofe-label", inputs: { labelInputID: "labelInputID", labelState: "labelState", skeleton: "skeleton", helperText: "helperText", invalidText: "invalidText", invalid: "invalid", warn: "warn", warnText: "warnText", ariaLabel: "ariaLabel" }, host: { properties: { "class.cds--form-item": "this.labelClass" } }, queries: [{ propertyName: "textArea", first: true, predicate: TextAreaDirective, descendants: true }], viewQueries: [{ propertyName: "wrapper", first: true, predicate: ["wrapper"], descendants: true }], ngImport: i0, template: `
13913
13623
  <label
13914
13624
  [for]="labelInputID"
13915
13625
  [attr.aria-label]="ariaLabel"
@@ -13980,10 +13690,10 @@ Label.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.1
13980
13690
  ></ng-template>
13981
13691
  </div>
13982
13692
  `, isInline: true, directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
13983
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: Label, decorators: [{
13693
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: LabelComponent, decorators: [{
13984
13694
  type: Component,
13985
13695
  args: [{
13986
- selector: 'ibm-label',
13696
+ selector: 'ofe-label',
13987
13697
  template: `
13988
13698
  <label
13989
13699
  [for]="labelInputID"
@@ -14079,7 +13789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
14079
13789
  args: ['wrapper', { static: false }]
14080
13790
  }], textArea: [{
14081
13791
  type: ContentChild,
14082
- args: [TextArea, { static: false }]
13792
+ args: [TextAreaDirective, { static: false }]
14083
13793
  }], labelClass: [{
14084
13794
  type: HostBinding,
14085
13795
  args: ['class.cds--form-item']
@@ -14089,13 +13799,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
14089
13799
  class InputModule {
14090
13800
  }
14091
13801
  InputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14092
- InputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputModule, declarations: [Label, TextInput, TextArea], imports: [CommonModule, FormsModule], exports: [Label, TextInput, TextArea] });
13802
+ InputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputModule, declarations: [LabelComponent, TextInputDirective, TextAreaDirective], imports: [CommonModule, FormsModule], exports: [LabelComponent, TextInputDirective, TextAreaDirective] });
14093
13803
  InputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputModule, imports: [[CommonModule, FormsModule]] });
14094
13804
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: InputModule, decorators: [{
14095
13805
  type: NgModule,
14096
13806
  args: [{
14097
- declarations: [Label, TextInput, TextArea],
14098
- exports: [Label, TextInput, TextArea],
13807
+ declarations: [LabelComponent, TextInputDirective, TextAreaDirective],
13808
+ exports: [LabelComponent, TextInputDirective, TextAreaDirective],
14099
13809
  imports: [CommonModule, FormsModule]
14100
13810
  }]
14101
13811
  }] });