@openmrs/ngx-formentry 3.0.1-pre.51 → 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.
- package/bundles/openmrs-ngx-formentry.umd.js +841 -869
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/components/afe-ng-select.component.d.ts +3 -4
- package/components/appointments-overview/appointments-overview.component.d.ts +3 -4
- package/components/check-box/checkbox.component.d.ts +3 -4
- package/components/custom-component-wrapper/custom-component-wrapper.component.d.ts +2 -4
- package/components/custom-control-wrapper/custom-control-wrapper.component.d.ts +1 -1
- package/components/date-time-picker/date-picker/date-picker.component.d.ts +3 -3
- package/components/date-time-picker/date-time-picker.component.d.ts +4 -5
- package/components/date-time-picker/picker-modal/modal.component.d.ts +4 -5
- package/components/date-time-picker/time-picker/time-picker.component.d.ts +3 -3
- package/components/file-upload/file-upload.component.d.ts +2 -2
- package/components/input/input.directive.d.ts +4 -4
- package/components/input/input.module.d.ts +1 -1
- package/components/input/label.component.d.ts +12 -12
- package/components/input/text-area.directive.d.ts +4 -4
- package/components/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +1 -1
- package/components/ngx-pick-datetime/lib/date-time/calendar-body.component.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.d.ts +2 -5
- package/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.d.ts +6 -10
- package/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.d.ts +3 -6
- package/components/ngx-pick-datetime/lib/date-time/calendar.component.d.ts +4 -11
- package/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.d.ts +5 -6
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.d.ts +15 -19
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.d.ts +9 -15
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.d.ts +3 -7
- package/components/ngx-pick-datetime/lib/date-time/timer-box.component.d.ts +2 -5
- package/components/ngx-pick-datetime/lib/date-time/timer.component.d.ts +5 -9
- package/components/ngx-pick-datetime/lib/dialog/dialog-container.component.d.ts +15 -16
- package/components/ngx-remote-select/ngx-remote-select.component.d.ts +5 -5
- package/components/ngx-tabset/components/ngx-tab-set.component.d.ts +2 -2
- package/components/ngx-tabset/components/tab.component.d.ts +1 -1
- package/components/ngx-tabset/directives/hover-class.directive.d.ts +2 -2
- package/components/number-input/number-input.component.d.ts +2 -2
- package/components/radio-button/radio.component.d.ts +3 -4
- package/components/select/optgroup.directive.d.ts +3 -3
- package/components/select/option.directive.d.ts +3 -3
- package/components/select/select.component.d.ts +6 -6
- package/components/select/select.module.d.ts +1 -1
- package/esm2015/components/afe-ng-select.component.js +4 -5
- package/esm2015/components/appointments-overview/appointments-overview.component.js +3 -4
- package/esm2015/components/check-box/checkbox.component.js +3 -4
- package/esm2015/components/custom-component-wrapper/custom-component-wrapper.component.js +3 -4
- package/esm2015/components/custom-control-wrapper/custom-control-wrapper.component.js +3 -3
- package/esm2015/components/date-time-picker/date-picker/date-picker.component.js +11 -11
- package/esm2015/components/date-time-picker/date-time-picker.component.js +7 -8
- package/esm2015/components/date-time-picker/picker-modal/modal.component.js +6 -7
- package/esm2015/components/date-time-picker/time-picker/time-picker.component.js +11 -11
- package/esm2015/components/file-upload/file-upload.component.js +3 -3
- package/esm2015/components/file-upload/secure.pipe.js +1 -3
- package/esm2015/components/input/input.directive.js +7 -8
- package/esm2015/components/input/input.module.js +7 -7
- package/esm2015/components/input/label.component.js +18 -19
- package/esm2015/components/input/text-area.directive.js +7 -8
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.component.js +4 -4
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.module.js +2 -3
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-body.component.js +13 -20
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.js +11 -16
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.js +20 -24
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.js +14 -19
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar.component.js +13 -22
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.js +18 -26
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.js +61 -53
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-input.directive.js +82 -73
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-trigger.directive.js +20 -23
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker.component.js +6 -11
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer-box.component.js +12 -17
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer.component.js +19 -23
- package/esm2015/components/ngx-pick-datetime/lib/dialog/dialog-container.component.js +52 -41
- package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +6 -6
- package/esm2015/components/ngx-tabset/components/ngx-tab-set.component.js +6 -6
- package/esm2015/components/ngx-tabset/components/tab.component.js +3 -3
- package/esm2015/components/ngx-tabset/directives/hover-class.directive.js +4 -5
- package/esm2015/components/number-input/number-input.component.js +6 -6
- package/esm2015/components/radio-button/radio.component.js +3 -4
- package/esm2015/components/select/optgroup.directive.js +6 -8
- package/esm2015/components/select/option.directive.js +6 -8
- package/esm2015/components/select/select.component.js +16 -274
- package/esm2015/components/select/select.module.js +7 -7
- package/esm2015/form-entry/data-sources/data-sources.js +1 -2
- package/esm2015/form-entry/directives/collapse.directive.js +5 -9
- package/esm2015/form-entry/directives/{historical-value-directive.js → historical-value.directive.js} +3 -3
- package/esm2015/form-entry/error-renderer/error-renderer.component.js +3 -4
- package/esm2015/form-entry/expression-runner/expression-runner.js +1 -2
- package/esm2015/form-entry/form-entry.module.js +2 -2
- package/esm2015/form-entry/form-factory/form.js +1 -5
- package/esm2015/form-entry/form-renderer/form-renderer.component.js +9 -10
- package/esm2015/form-entry/question-models/interfaces/date-question-options.js +1 -1
- package/esm2015/form-entry/value-adapters/encounter.adapter.js +1 -2
- package/esm2015/form-entry/value-adapters/obs-adapter-helper.js +1 -6
- package/esm2015/form-entry/value-adapters/obs.adapter.js +1 -5
- package/esm2015/form-entry/value-adapters/order.adapter.js +1 -2
- package/esm2015/form-entry/value-adapters/person-attribute.adapter.js +1 -2
- package/fesm2015/openmrs-ngx-formentry.js +637 -927
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/form-entry/directives/collapse.directive.d.ts +1 -1
- package/form-entry/directives/{historical-value-directive.d.ts → historical-value.directive.d.ts} +1 -1
- package/form-entry/error-renderer/error-renderer.component.d.ts +2 -4
- package/form-entry/form-entry.module.d.ts +1 -1
- package/form-entry/form-renderer/form-renderer.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('rxjs'), require('moment'), require('lodash'), require('@angular-extensions/elements'), require('ngx-file-uploader-openmrs'), require('@angular/platform-browser'), require('rxjs/operators'), require('@ng-select/ng-select'), require('@angular/cdk/portal'), require('@angular/cdk/overlay'), require('@angular/cdk/keycodes'), require('@angular/cdk/coercion'), require('@angular/cdk/a11y'), require('@angular/animations'), require('ngx-webcam'), require('@angular/cdk/platform')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@openmrs/ngx-formentry', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'rxjs', 'moment', 'lodash', '@angular-extensions/elements', 'ngx-file-uploader-openmrs', '@angular/platform-browser', 'rxjs/operators', '@ng-select/ng-select', '@angular/cdk/portal', '@angular/cdk/overlay', '@angular/cdk/keycodes', '@angular/cdk/coercion', '@angular/cdk/a11y', '@angular/animations', 'ngx-webcam', '@angular/cdk/platform'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.openmrs = global.openmrs || {}, global.openmrs["ngx-formentry"] = {}), global.ng.core, global.ng.common, global.ng.forms, global.rxjs, global.moment, global.lodash, global["@angular-extensions/elements"], global["ngx-file-uploader-openmrs"], global.ng.platformBrowser, global.rxjs.operators, global["@ng-select/ng-select"], global.ng.cdk.portal, global.ng.cdk.overlay, global.ng.cdk.keycodes, global.ng.cdk.coercion, global.ng.cdk.a11y, global.ng.animations, global["ngx-webcam"], global.ng.cdk.platform));
|
|
5
|
-
})(this, (function (exports, i0, i1,
|
|
5
|
+
})(this, (function (exports, i0, i1, i19, rxjs, moment, _, i2, i1$2, i1$1, operators, i1$3, i2$1, i1$6, keycodes, coercion, i1$4, i1$5, ngxWebcam, i1$7) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
28
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
-
var
|
|
29
|
+
var i19__namespace = /*#__PURE__*/_interopNamespace(i19);
|
|
30
30
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
31
31
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
32
32
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
configurable: true
|
|
606
606
|
});
|
|
607
607
|
ControlRelations.prototype.addRelatedControls = function (relatedTo) {
|
|
608
|
-
if (relatedTo instanceof
|
|
608
|
+
if (relatedTo instanceof i19.AbstractControl) {
|
|
609
609
|
this.relations.push(new ControlRelation(this._relationFor, relatedTo));
|
|
610
610
|
}
|
|
611
611
|
if (relatedTo instanceof Array) {
|
|
@@ -1132,7 +1132,6 @@
|
|
|
1132
1132
|
var runner = this;
|
|
1133
1133
|
var runnable = {
|
|
1134
1134
|
run: function () {
|
|
1135
|
-
/* eslint-disable */
|
|
1136
1135
|
var scope = {};
|
|
1137
1136
|
if (control.uuid) {
|
|
1138
1137
|
scope[control.uuid] = control.value;
|
|
@@ -1400,7 +1399,7 @@
|
|
|
1400
1399
|
_super.prototype.setValue.call(this, value);
|
|
1401
1400
|
};
|
|
1402
1401
|
return AfeFormControl;
|
|
1403
|
-
}(
|
|
1402
|
+
}(i19.FormControl));
|
|
1404
1403
|
|
|
1405
1404
|
var AfeFormGroup = /** @class */ (function (_super) {
|
|
1406
1405
|
__extends(AfeFormGroup, _super);
|
|
@@ -1463,7 +1462,7 @@
|
|
|
1463
1462
|
_super.prototype.setValue.call(this, value);
|
|
1464
1463
|
};
|
|
1465
1464
|
return AfeFormGroup;
|
|
1466
|
-
}(
|
|
1465
|
+
}(i19.FormGroup));
|
|
1467
1466
|
|
|
1468
1467
|
var AfeFormArray = /** @class */ (function (_super) {
|
|
1469
1468
|
__extends(AfeFormArray, _super);
|
|
@@ -1554,7 +1553,7 @@
|
|
|
1554
1553
|
_super.prototype.setValue.call(this, value);
|
|
1555
1554
|
};
|
|
1556
1555
|
return AfeFormArray;
|
|
1557
|
-
}(
|
|
1556
|
+
}(i19.FormArray));
|
|
1558
1557
|
|
|
1559
1558
|
exports.AfeControlType = void 0;
|
|
1560
1559
|
(function (AfeControlType) {
|
|
@@ -2215,14 +2214,14 @@
|
|
|
2215
2214
|
});
|
|
2216
2215
|
Object.defineProperty(ValidationFactory.prototype, "minLengthValidator", {
|
|
2217
2216
|
get: function () {
|
|
2218
|
-
return
|
|
2217
|
+
return i19.Validators.minLength;
|
|
2219
2218
|
},
|
|
2220
2219
|
enumerable: false,
|
|
2221
2220
|
configurable: true
|
|
2222
2221
|
});
|
|
2223
2222
|
Object.defineProperty(ValidationFactory.prototype, "maxLengthValidator", {
|
|
2224
2223
|
get: function () {
|
|
2225
|
-
return
|
|
2224
|
+
return i19.Validators.maxLength;
|
|
2226
2225
|
},
|
|
2227
2226
|
enumerable: false,
|
|
2228
2227
|
configurable: true
|
|
@@ -2502,7 +2501,6 @@
|
|
|
2502
2501
|
DataSources.prototype.registerDataSource = function (key, dataSource, unWrap) {
|
|
2503
2502
|
if (unWrap === void 0) { unWrap = false; }
|
|
2504
2503
|
if (unWrap) {
|
|
2505
|
-
// eslint-disable-next-line guard-for-in
|
|
2506
2504
|
for (var o in dataSource) {
|
|
2507
2505
|
this.registerDataSource(o, dataSource[o], false);
|
|
2508
2506
|
}
|
|
@@ -2533,11 +2531,11 @@
|
|
|
2533
2531
|
return TabComponent;
|
|
2534
2532
|
}());
|
|
2535
2533
|
TabComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TabComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2536
|
-
TabComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabComponent, selector: "
|
|
2534
|
+
TabComponent.ɵcmp = i0__namespace.ɵɵ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: i0.TemplateRef, descendants: true }], ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2537
2535
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TabComponent, decorators: [{
|
|
2538
2536
|
type: i0.Component,
|
|
2539
2537
|
args: [{
|
|
2540
|
-
selector: '
|
|
2538
|
+
selector: 'ofe-tab',
|
|
2541
2539
|
templateUrl: 'tab.component.html',
|
|
2542
2540
|
styleUrls: ['./tab.component.css']
|
|
2543
2541
|
}]
|
|
@@ -2571,15 +2569,14 @@
|
|
|
2571
2569
|
return HoverClassDirective;
|
|
2572
2570
|
}());
|
|
2573
2571
|
HoverClassDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HoverClassDirective, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
2574
|
-
HoverClassDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HoverClassDirective, selector: "[
|
|
2572
|
+
HoverClassDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: HoverClassDirective, selector: "[ofeHoverClass]", inputs: { hoverClass: "hoverClass" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" } }, ngImport: i0__namespace });
|
|
2575
2573
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HoverClassDirective, decorators: [{
|
|
2576
2574
|
type: i0.Directive,
|
|
2577
2575
|
args: [{
|
|
2578
|
-
selector: '[
|
|
2576
|
+
selector: '[ofeHoverClass]'
|
|
2579
2577
|
}]
|
|
2580
2578
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; }, propDecorators: { hoverClass: [{
|
|
2581
|
-
type: i0.Input
|
|
2582
|
-
args: ['hover-class']
|
|
2579
|
+
type: i0.Input
|
|
2583
2580
|
}], onMouseEnter: [{
|
|
2584
2581
|
type: i0.HostListener,
|
|
2585
2582
|
args: ['mouseenter']
|
|
@@ -2594,7 +2591,7 @@
|
|
|
2594
2591
|
this.customNavClass = '';
|
|
2595
2592
|
this.customTabsClass = '';
|
|
2596
2593
|
this.selectedIndex = 0;
|
|
2597
|
-
this.
|
|
2594
|
+
this.tabSelect = new i0.EventEmitter();
|
|
2598
2595
|
}
|
|
2599
2596
|
TabSetComponent.prototype.ngOnChanges = function (changes) {
|
|
2600
2597
|
if (changes.selectedIndex && !changes.selectedIndex.firstChange) {
|
|
@@ -2622,7 +2619,7 @@
|
|
|
2622
2619
|
this.tabs.toArray().forEach(function (tab) { return (tab.active = false); });
|
|
2623
2620
|
// activate the tab the user has clicked on.
|
|
2624
2621
|
tabToSelect.active = true;
|
|
2625
|
-
this.
|
|
2622
|
+
this.tabSelect.emit(this.tabs.toArray().indexOf(tabToSelect));
|
|
2626
2623
|
};
|
|
2627
2624
|
TabSetComponent.prototype.getStatusClasses = function (active, disabled) {
|
|
2628
2625
|
if (active) {
|
|
@@ -2638,11 +2635,11 @@
|
|
|
2638
2635
|
return TabSetComponent;
|
|
2639
2636
|
}());
|
|
2640
2637
|
TabSetComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TabSetComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2641
|
-
TabSetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TabSetComponent, selector: "
|
|
2638
|
+
TabSetComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: HoverClassDirective, selector: "[ofeHoverClass]", inputs: ["hoverClass"] }] });
|
|
2642
2639
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TabSetComponent, decorators: [{
|
|
2643
2640
|
type: i0.Component,
|
|
2644
2641
|
args: [{
|
|
2645
|
-
selector: '
|
|
2642
|
+
selector: 'ofe-tab-set',
|
|
2646
2643
|
styleUrls: ['ngx-tab-set.component.scss'],
|
|
2647
2644
|
templateUrl: 'ngx-tab-set.component.html'
|
|
2648
2645
|
}]
|
|
@@ -2657,7 +2654,7 @@
|
|
|
2657
2654
|
type: i0.Input
|
|
2658
2655
|
}], selectedIndex: [{
|
|
2659
2656
|
type: i0.Input
|
|
2660
|
-
}],
|
|
2657
|
+
}], tabSelect: [{
|
|
2661
2658
|
type: i0.Output
|
|
2662
2659
|
}] } });
|
|
2663
2660
|
|
|
@@ -2665,15 +2662,14 @@
|
|
|
2665
2662
|
function CustomComponentWrapperComponent() {
|
|
2666
2663
|
this.dark = true;
|
|
2667
2664
|
}
|
|
2668
|
-
CustomComponentWrapperComponent.prototype.ngOnInit = function () { };
|
|
2669
2665
|
return CustomComponentWrapperComponent;
|
|
2670
2666
|
}());
|
|
2671
2667
|
CustomComponentWrapperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomComponentWrapperComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2672
|
-
CustomComponentWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomComponentWrapperComponent, selector: "
|
|
2668
|
+
CustomComponentWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomComponentWrapperComponent, selector: "ofe-custom-component-wrapper", inputs: { componentConfigs: "componentConfigs", dark: "dark" }, ngImport: i0__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.LazyElementDynamicDirective, selector: "[axLazyElementDynamic]", inputs: ["axLazyElementDynamic", "axLazyElementDynamicUrl", "axLazyElementDynamicLoadingTemplate", "axLazyElementDynamicErrorTemplate", "axLazyElementDynamicModule", "axLazyElementDynamicImportMap"] }] });
|
|
2673
2669
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomComponentWrapperComponent, decorators: [{
|
|
2674
2670
|
type: i0.Component,
|
|
2675
2671
|
args: [{
|
|
2676
|
-
selector: '
|
|
2672
|
+
selector: 'ofe-custom-component-wrapper',
|
|
2677
2673
|
templateUrl: 'custom-component-wrapper.component.html'
|
|
2678
2674
|
}]
|
|
2679
2675
|
}], propDecorators: { componentConfigs: [{
|
|
@@ -2727,9 +2723,9 @@
|
|
|
2727
2723
|
return CustomControlWrapperComponent;
|
|
2728
2724
|
}());
|
|
2729
2725
|
CustomControlWrapperComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2730
|
-
CustomControlWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomControlWrapperComponent, selector: "
|
|
2726
|
+
CustomControlWrapperComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CustomControlWrapperComponent, selector: "ofe-custom-control-wrapper", inputs: { question: "question" }, providers: [
|
|
2731
2727
|
{
|
|
2732
|
-
provide:
|
|
2728
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
2733
2729
|
multi: true,
|
|
2734
2730
|
useExisting: i0.forwardRef(function () { return CustomControlWrapperComponent; })
|
|
2735
2731
|
}
|
|
@@ -2737,11 +2733,11 @@
|
|
|
2737
2733
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperComponent, decorators: [{
|
|
2738
2734
|
type: i0.Component,
|
|
2739
2735
|
args: [{
|
|
2740
|
-
selector: '
|
|
2736
|
+
selector: 'ofe-custom-control-wrapper',
|
|
2741
2737
|
templateUrl: 'custom-control-wrapper.component.html',
|
|
2742
2738
|
providers: [
|
|
2743
2739
|
{
|
|
2744
|
-
provide:
|
|
2740
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
2745
2741
|
multi: true,
|
|
2746
2742
|
useExisting: i0.forwardRef(function () { return CustomControlWrapperComponent; })
|
|
2747
2743
|
}
|
|
@@ -2751,27 +2747,26 @@
|
|
|
2751
2747
|
type: i0.Input
|
|
2752
2748
|
}] } });
|
|
2753
2749
|
|
|
2754
|
-
/* eslint-disable @angular-eslint/component-class-suffix */
|
|
2755
2750
|
/**
|
|
2756
|
-
* `
|
|
2751
|
+
* `ofe-select` provides a styled `select` component.
|
|
2757
2752
|
*
|
|
2758
2753
|
* [See demo](../../?path=/story/select--basic)
|
|
2759
2754
|
*
|
|
2760
2755
|
* Example:
|
|
2761
2756
|
*
|
|
2762
2757
|
* ```
|
|
2763
|
-
* <
|
|
2758
|
+
* <ofe-select [(ngModel)]="model">
|
|
2764
2759
|
* <option value="default" disabled selected hidden>Choose an option</option>
|
|
2765
2760
|
* <option value="option1">Option 1</option>
|
|
2766
2761
|
* <option value="option2">Option 2</option>
|
|
2767
2762
|
* <option value="option3">Option 3</option>
|
|
2768
|
-
* </
|
|
2763
|
+
* </ofe-select>
|
|
2769
2764
|
* ```
|
|
2770
2765
|
*
|
|
2771
2766
|
* <example-url>../../iframe.html?id=select--basic</example-url>
|
|
2772
2767
|
*/
|
|
2773
|
-
var
|
|
2774
|
-
function
|
|
2768
|
+
var SelectComponent = /** @class */ (function () {
|
|
2769
|
+
function SelectComponent() {
|
|
2775
2770
|
/**
|
|
2776
2771
|
* `inline` or `default` select displays
|
|
2777
2772
|
*/
|
|
@@ -2783,7 +2778,7 @@
|
|
|
2783
2778
|
/**
|
|
2784
2779
|
* Sets the unique ID. Defaults to `select-${total count of selects instantiated}`
|
|
2785
2780
|
*/
|
|
2786
|
-
this.id = "select-" +
|
|
2781
|
+
this.id = "select-" + SelectComponent.selectCount++;
|
|
2787
2782
|
/**
|
|
2788
2783
|
* Number input field render size
|
|
2789
2784
|
*/
|
|
@@ -2811,7 +2806,7 @@
|
|
|
2811
2806
|
this.onChangeHandler = function (_) { };
|
|
2812
2807
|
this.onTouchedHandler = function () { };
|
|
2813
2808
|
}
|
|
2814
|
-
Object.defineProperty(
|
|
2809
|
+
Object.defineProperty(SelectComponent.prototype, "value", {
|
|
2815
2810
|
get: function () {
|
|
2816
2811
|
return this._value;
|
|
2817
2812
|
},
|
|
@@ -2824,7 +2819,7 @@
|
|
|
2824
2819
|
enumerable: false,
|
|
2825
2820
|
configurable: true
|
|
2826
2821
|
});
|
|
2827
|
-
|
|
2822
|
+
SelectComponent.prototype.ngAfterViewInit = function () {
|
|
2828
2823
|
if (this.value !== undefined &&
|
|
2829
2824
|
this.value !== null &&
|
|
2830
2825
|
this.select &&
|
|
@@ -2835,32 +2830,32 @@
|
|
|
2835
2830
|
/**
|
|
2836
2831
|
* Receives a value from the model.
|
|
2837
2832
|
*/
|
|
2838
|
-
|
|
2833
|
+
SelectComponent.prototype.writeValue = function (obj) {
|
|
2839
2834
|
this.value = obj;
|
|
2840
2835
|
};
|
|
2841
2836
|
/**
|
|
2842
2837
|
* Registers a listener that notifies the model when the control updates
|
|
2843
2838
|
*/
|
|
2844
|
-
|
|
2839
|
+
SelectComponent.prototype.registerOnChange = function (fn) {
|
|
2845
2840
|
this.onChangeHandler = fn;
|
|
2846
2841
|
};
|
|
2847
2842
|
/**
|
|
2848
2843
|
* Registers a listener that notifies the model when the control is blurred
|
|
2849
2844
|
*/
|
|
2850
|
-
|
|
2845
|
+
SelectComponent.prototype.registerOnTouched = function (fn) {
|
|
2851
2846
|
this.onTouchedHandler = fn;
|
|
2852
2847
|
};
|
|
2853
2848
|
/**
|
|
2854
2849
|
* Sets the disabled state through the model
|
|
2855
2850
|
*/
|
|
2856
|
-
|
|
2851
|
+
SelectComponent.prototype.setDisabledState = function (isDisabled) {
|
|
2857
2852
|
this.disabled = isDisabled;
|
|
2858
2853
|
};
|
|
2859
2854
|
/**
|
|
2860
2855
|
* Handles the change event from the `select`.
|
|
2861
2856
|
* Sends events to the change handler and emits a `selected` event.
|
|
2862
2857
|
*/
|
|
2863
|
-
|
|
2858
|
+
SelectComponent.prototype.onChange = function (event) {
|
|
2864
2859
|
this.value = event.target.value;
|
|
2865
2860
|
this.onChangeHandler(event.target.value);
|
|
2866
2861
|
this.valueChange.emit(event.target.value);
|
|
@@ -2868,38 +2863,36 @@
|
|
|
2868
2863
|
/**
|
|
2869
2864
|
* Listens for the host blurring, and notifies the model
|
|
2870
2865
|
*/
|
|
2871
|
-
|
|
2866
|
+
SelectComponent.prototype.focusOut = function () {
|
|
2872
2867
|
this.onTouchedHandler();
|
|
2873
2868
|
};
|
|
2874
|
-
|
|
2869
|
+
SelectComponent.prototype.isTemplate = function (value) {
|
|
2875
2870
|
return value instanceof i0.TemplateRef;
|
|
2876
2871
|
};
|
|
2877
|
-
return
|
|
2872
|
+
return SelectComponent;
|
|
2878
2873
|
}());
|
|
2879
2874
|
/**
|
|
2880
2875
|
* Tracks the total number of selects instantiated. Used to generate unique IDs
|
|
2881
2876
|
*/
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2877
|
+
SelectComponent.selectCount = 0;
|
|
2878
|
+
SelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2879
|
+
SelectComponent.ɵcmp = i0__namespace.ɵɵ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: [
|
|
2885
2880
|
{
|
|
2886
|
-
provide:
|
|
2887
|
-
useExisting:
|
|
2881
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
2882
|
+
useExisting: SelectComponent,
|
|
2888
2883
|
multi: true
|
|
2889
2884
|
}
|
|
2890
|
-
], viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true }], ngImport: i0__namespace, template: "
|
|
2891
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
2885
|
+
], viewQueries: [{ propertyName: "select", first: true, predicate: ["select"], descendants: true }], ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
2886
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectComponent, decorators: [{
|
|
2892
2887
|
type: i0.Component,
|
|
2893
2888
|
args: [{
|
|
2894
|
-
selector: '
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
"\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 "
|
|
2898
|
-
],
|
|
2889
|
+
selector: 'ofe-select',
|
|
2890
|
+
templateUrl: 'select.component.html',
|
|
2891
|
+
styleUrls: ['./select.component.scss'],
|
|
2899
2892
|
providers: [
|
|
2900
2893
|
{
|
|
2901
|
-
provide:
|
|
2902
|
-
useExisting:
|
|
2894
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
2895
|
+
useExisting: SelectComponent,
|
|
2903
2896
|
multi: true
|
|
2904
2897
|
}
|
|
2905
2898
|
]
|
|
@@ -2942,9 +2935,7 @@
|
|
|
2942
2935
|
args: ['focusout']
|
|
2943
2936
|
}] } });
|
|
2944
2937
|
|
|
2945
|
-
/* eslint-disable @angular-eslint/component-class-suffix */
|
|
2946
2938
|
// Using similarity from AsyncPipe to avoid having to pipe |secure|async in HTML.
|
|
2947
|
-
// eslint-disable-next-line @angular-eslint/use-pipe-transform-interface
|
|
2948
2939
|
var SecurePipe = /** @class */ (function () {
|
|
2949
2940
|
function SecurePipe(_ref, sanitizer) {
|
|
2950
2941
|
this._ref = _ref;
|
|
@@ -3142,21 +3133,21 @@
|
|
|
3142
3133
|
return FileUploadComponent;
|
|
3143
3134
|
}());
|
|
3144
3135
|
FileUploadComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FileUploadComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3145
|
-
FileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileUploadComponent, selector: "
|
|
3136
|
+
FileUploadComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: FileUploadComponent, selector: "ofe-file-upload", inputs: { dataSource: "dataSource" }, providers: [
|
|
3146
3137
|
{
|
|
3147
|
-
provide:
|
|
3138
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
3148
3139
|
useExisting: i0.forwardRef(function () { return FileUploadComponent; }),
|
|
3149
3140
|
multi: true
|
|
3150
3141
|
}
|
|
3151
|
-
], ngImport: i0__namespace, 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__namespace$2.NgxFileUploaderComponent, selector: "lib-ngx-file-uploader", inputs: ["singleFile", "formEntry", "srcUrl", "source"], outputs: ["fileChanged", "uploadData", "_onClear"] }], directives: [{ type:
|
|
3142
|
+
], ngImport: i0__namespace, 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__namespace$2.NgxFileUploaderComponent, selector: "lib-ngx-file-uploader", inputs: ["singleFile", "formEntry", "srcUrl", "source"], outputs: ["fileChanged", "uploadData", "_onClear"] }], directives: [{ type: i19__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i19__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "secure": SecurePipe } });
|
|
3152
3143
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FileUploadComponent, decorators: [{
|
|
3153
3144
|
type: i0.Component,
|
|
3154
3145
|
args: [{
|
|
3155
|
-
selector: '
|
|
3146
|
+
selector: 'ofe-file-upload',
|
|
3156
3147
|
templateUrl: 'file-upload.component.html',
|
|
3157
3148
|
providers: [
|
|
3158
3149
|
{
|
|
3159
|
-
provide:
|
|
3150
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
3160
3151
|
useExisting: i0.forwardRef(function () { return FileUploadComponent; }),
|
|
3161
3152
|
multi: true
|
|
3162
3153
|
}
|
|
@@ -3174,14 +3165,14 @@
|
|
|
3174
3165
|
this.renderer = renderer;
|
|
3175
3166
|
this.remoteOptionsLoading = false;
|
|
3176
3167
|
this.remoteOptionInput$ = new rxjs.Subject();
|
|
3177
|
-
this.placeholder = 'Search...';
|
|
3178
|
-
this.disabled = false;
|
|
3179
|
-
this.theme = 'dark';
|
|
3180
3168
|
this.items = [];
|
|
3181
3169
|
this.value = [];
|
|
3182
3170
|
this.loading = false;
|
|
3183
3171
|
this.searchText = '';
|
|
3184
3172
|
this.notFoundMsg = 'match no found';
|
|
3173
|
+
this.placeholder = 'Search...';
|
|
3174
|
+
this.disabled = false;
|
|
3175
|
+
this.theme = 'dark';
|
|
3185
3176
|
this.done = new i0.EventEmitter();
|
|
3186
3177
|
this.compareItems = function (item, selected) {
|
|
3187
3178
|
if (item.value && selected.value) {
|
|
@@ -3270,21 +3261,21 @@
|
|
|
3270
3261
|
return RemoteSelectComponent;
|
|
3271
3262
|
}());
|
|
3272
3263
|
RemoteSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RemoteSelectComponent, deps: [{ token: i0__namespace.Renderer2 }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3273
|
-
RemoteSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RemoteSelectComponent, selector: "
|
|
3264
|
+
RemoteSelectComponent.ɵcmp = i0__namespace.ɵɵ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: [
|
|
3274
3265
|
{
|
|
3275
|
-
provide:
|
|
3266
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
3276
3267
|
useExisting: i0.forwardRef(function () { return RemoteSelectComponent; }),
|
|
3277
3268
|
multi: true
|
|
3278
3269
|
}
|
|
3279
|
-
], ngImport: i0__namespace, 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__namespace$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__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type:
|
|
3270
|
+
], ngImport: i0__namespace, 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__namespace$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__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i19__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i19__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i1__namespace.AsyncPipe } });
|
|
3280
3271
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RemoteSelectComponent, decorators: [{
|
|
3281
3272
|
type: i0.Component,
|
|
3282
3273
|
args: [{
|
|
3283
|
-
selector: '
|
|
3274
|
+
selector: 'ofe-remote-select',
|
|
3284
3275
|
templateUrl: 'remote-select.component.html',
|
|
3285
3276
|
providers: [
|
|
3286
3277
|
{
|
|
3287
|
-
provide:
|
|
3278
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
3288
3279
|
useExisting: i0.forwardRef(function () { return RemoteSelectComponent; }),
|
|
3289
3280
|
multi: true
|
|
3290
3281
|
}
|
|
@@ -3487,7 +3478,6 @@
|
|
|
3487
3478
|
return DateTimeAdapter;
|
|
3488
3479
|
}());
|
|
3489
3480
|
|
|
3490
|
-
/* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/no-host-metadata-property */
|
|
3491
3481
|
var CalendarCell = /** @class */ (function () {
|
|
3492
3482
|
function CalendarCell(value, displayValue, ariaLabel, enabled, out, cellClass) {
|
|
3493
3483
|
if (out === void 0) { out = false; }
|
|
@@ -3505,6 +3495,7 @@
|
|
|
3505
3495
|
function OwlCalendarBodyComponent(elmRef, ngZone) {
|
|
3506
3496
|
this.elmRef = elmRef;
|
|
3507
3497
|
this.ngZone = ngZone;
|
|
3498
|
+
this.owlDTCalendarBodyClass = true;
|
|
3508
3499
|
/**
|
|
3509
3500
|
* The cell number of the active cell in the table.
|
|
3510
3501
|
*/
|
|
@@ -3520,15 +3511,8 @@
|
|
|
3520
3511
|
/**
|
|
3521
3512
|
* Emit when a calendar cell is selected
|
|
3522
3513
|
* */
|
|
3523
|
-
this.
|
|
3514
|
+
this.cellSelected = new i0.EventEmitter();
|
|
3524
3515
|
}
|
|
3525
|
-
Object.defineProperty(OwlCalendarBodyComponent.prototype, "owlDTCalendarBodyClass", {
|
|
3526
|
-
get: function () {
|
|
3527
|
-
return true;
|
|
3528
|
-
},
|
|
3529
|
-
enumerable: false,
|
|
3530
|
-
configurable: true
|
|
3531
|
-
});
|
|
3532
3516
|
Object.defineProperty(OwlCalendarBodyComponent.prototype, "isInSingleMode", {
|
|
3533
3517
|
get: function () {
|
|
3534
3518
|
return this.selectMode === 'single';
|
|
@@ -3545,9 +3529,8 @@
|
|
|
3545
3529
|
enumerable: false,
|
|
3546
3530
|
configurable: true
|
|
3547
3531
|
});
|
|
3548
|
-
OwlCalendarBodyComponent.prototype.ngOnInit = function () { };
|
|
3549
3532
|
OwlCalendarBodyComponent.prototype.selectCell = function (cell) {
|
|
3550
|
-
this.
|
|
3533
|
+
this.cellSelected.emit(cell);
|
|
3551
3534
|
};
|
|
3552
3535
|
OwlCalendarBodyComponent.prototype.isActiveCell = function (rowIndex, colIndex) {
|
|
3553
3536
|
var cellNumber = rowIndex * this.numCols + colIndex;
|
|
@@ -3621,21 +3604,21 @@
|
|
|
3621
3604
|
return OwlCalendarBodyComponent;
|
|
3622
3605
|
}());
|
|
3623
3606
|
OwlCalendarBodyComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlCalendarBodyComponent, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3624
|
-
OwlCalendarBodyComponent.ɵcmp = i0__namespace.ɵɵ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: {
|
|
3607
|
+
OwlCalendarBodyComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
3625
3608
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlCalendarBodyComponent, decorators: [{
|
|
3626
3609
|
type: i0.Component,
|
|
3627
3610
|
args: [{
|
|
3628
|
-
|
|
3611
|
+
/* eslint-disable-next-line @angular-eslint/component-selector */
|
|
3612
|
+
selector: '[ofe-owl-date-time-calendar-body]',
|
|
3629
3613
|
exportAs: 'owlDateTimeCalendarBody',
|
|
3630
3614
|
templateUrl: './calendar-body.component.html',
|
|
3631
3615
|
styleUrls: ['./calendar-body.component.scss'],
|
|
3632
|
-
host: {
|
|
3633
|
-
'[class.owl-dt-calendar-body]': 'owlDTCalendarBodyClass'
|
|
3634
|
-
},
|
|
3635
|
-
preserveWhitespaces: false,
|
|
3636
3616
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3637
3617
|
}]
|
|
3638
|
-
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.NgZone }]; }, propDecorators: {
|
|
3618
|
+
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.NgZone }]; }, propDecorators: { owlDTCalendarBodyClass: [{
|
|
3619
|
+
type: i0.HostBinding,
|
|
3620
|
+
args: ['class.owl-dt-calendar-body']
|
|
3621
|
+
}], activeCell: [{
|
|
3639
3622
|
type: i0.Input
|
|
3640
3623
|
}], rows: [{
|
|
3641
3624
|
type: i0.Input
|
|
@@ -3649,11 +3632,10 @@
|
|
|
3649
3632
|
type: i0.Input
|
|
3650
3633
|
}], selectMode: [{
|
|
3651
3634
|
type: i0.Input
|
|
3652
|
-
}],
|
|
3635
|
+
}], cellSelected: [{
|
|
3653
3636
|
type: i0.Output
|
|
3654
3637
|
}] } });
|
|
3655
3638
|
|
|
3656
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
3657
3639
|
var DAYS_PER_WEEK = 7;
|
|
3658
3640
|
var WEEKS_PER_VIEW = 6;
|
|
3659
3641
|
var OwlMonthViewComponent = /** @class */ (function () {
|
|
@@ -3693,6 +3675,13 @@
|
|
|
3693
3675
|
/** Emits when any date is activated. */
|
|
3694
3676
|
this.pickerMomentChange = new i0.EventEmitter();
|
|
3695
3677
|
}
|
|
3678
|
+
Object.defineProperty(OwlMonthViewComponent.prototype, "owlDTCalendarView", {
|
|
3679
|
+
get: function () {
|
|
3680
|
+
return true;
|
|
3681
|
+
},
|
|
3682
|
+
enumerable: false,
|
|
3683
|
+
configurable: true
|
|
3684
|
+
});
|
|
3696
3685
|
Object.defineProperty(OwlMonthViewComponent.prototype, "firstDayOfWeek", {
|
|
3697
3686
|
get: function () {
|
|
3698
3687
|
return this._firstDayOfWeek;
|
|
@@ -3856,13 +3845,6 @@
|
|
|
3856
3845
|
enumerable: false,
|
|
3857
3846
|
configurable: true
|
|
3858
3847
|
});
|
|
3859
|
-
Object.defineProperty(OwlMonthViewComponent.prototype, "owlDTCalendarView", {
|
|
3860
|
-
get: function () {
|
|
3861
|
-
return true;
|
|
3862
|
-
},
|
|
3863
|
-
enumerable: false,
|
|
3864
|
-
configurable: true
|
|
3865
|
-
});
|
|
3866
3848
|
OwlMonthViewComponent.prototype.ngOnInit = function () {
|
|
3867
3849
|
var _this = this;
|
|
3868
3850
|
this.generateWeekDays();
|
|
@@ -4099,18 +4081,14 @@
|
|
|
4099
4081
|
return OwlMonthViewComponent;
|
|
4100
4082
|
}());
|
|
4101
4083
|
OwlMonthViewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlMonthViewComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4102
|
-
OwlMonthViewComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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 (
|
|
4084
|
+
OwlMonthViewComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
4103
4085
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlMonthViewComponent, decorators: [{
|
|
4104
4086
|
type: i0.Component,
|
|
4105
4087
|
args: [{
|
|
4106
|
-
selector: 'owl-date-time-month-view',
|
|
4088
|
+
selector: 'ofe-owl-date-time-month-view',
|
|
4107
4089
|
exportAs: 'owlYearView',
|
|
4108
4090
|
templateUrl: './calendar-month-view.component.html',
|
|
4109
4091
|
styleUrls: ['./calendar-month-view.component.scss'],
|
|
4110
|
-
host: {
|
|
4111
|
-
'[class.owl-dt-calendar-view]': 'owlDTCalendarView'
|
|
4112
|
-
},
|
|
4113
|
-
preserveWhitespaces: false,
|
|
4114
4092
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
4115
4093
|
}]
|
|
4116
4094
|
}], ctorParameters: function () {
|
|
@@ -4122,7 +4100,10 @@
|
|
|
4122
4100
|
type: i0.Inject,
|
|
4123
4101
|
args: [OWL_DATE_TIME_FORMATS]
|
|
4124
4102
|
}] }];
|
|
4125
|
-
}, propDecorators: {
|
|
4103
|
+
}, propDecorators: { owlDTCalendarView: [{
|
|
4104
|
+
type: i0.HostBinding,
|
|
4105
|
+
args: ['class.owl-dt-calendar-view']
|
|
4106
|
+
}], hideOtherMonths: [{
|
|
4126
4107
|
type: i0.Input
|
|
4127
4108
|
}], firstDayOfWeek: [{
|
|
4128
4109
|
type: i0.Input
|
|
@@ -4151,7 +4132,6 @@
|
|
|
4151
4132
|
args: [OwlCalendarBodyComponent, { static: true }]
|
|
4152
4133
|
}] } });
|
|
4153
4134
|
|
|
4154
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
4155
4135
|
var MONTHS_PER_YEAR = 12;
|
|
4156
4136
|
var MONTHS_PER_ROW = 3;
|
|
4157
4137
|
var OwlYearViewComponent = /** @class */ (function () {
|
|
@@ -4174,7 +4154,7 @@
|
|
|
4174
4154
|
/**
|
|
4175
4155
|
* Callback to invoke when a new month is selected
|
|
4176
4156
|
* */
|
|
4177
|
-
this.
|
|
4157
|
+
this.monthChange = new i0.EventEmitter();
|
|
4178
4158
|
/**
|
|
4179
4159
|
* Emits the selected year. This doesn't imply a change on the selected date
|
|
4180
4160
|
* */
|
|
@@ -4185,6 +4165,13 @@
|
|
|
4185
4165
|
this.keyboardEnter = new i0.EventEmitter();
|
|
4186
4166
|
this.monthNames = this.dateTimeAdapter.getMonthNames('short');
|
|
4187
4167
|
}
|
|
4168
|
+
Object.defineProperty(OwlYearViewComponent.prototype, "owlDTCalendarView", {
|
|
4169
|
+
get: function () {
|
|
4170
|
+
return true;
|
|
4171
|
+
},
|
|
4172
|
+
enumerable: false,
|
|
4173
|
+
configurable: true
|
|
4174
|
+
});
|
|
4188
4175
|
Object.defineProperty(OwlYearViewComponent.prototype, "selectMode", {
|
|
4189
4176
|
get: function () {
|
|
4190
4177
|
return this._selectMode;
|
|
@@ -4314,13 +4301,6 @@
|
|
|
4314
4301
|
enumerable: false,
|
|
4315
4302
|
configurable: true
|
|
4316
4303
|
});
|
|
4317
|
-
Object.defineProperty(OwlYearViewComponent.prototype, "owlDTCalendarView", {
|
|
4318
|
-
get: function () {
|
|
4319
|
-
return true;
|
|
4320
|
-
},
|
|
4321
|
-
enumerable: false,
|
|
4322
|
-
configurable: true
|
|
4323
|
-
});
|
|
4324
4304
|
OwlYearViewComponent.prototype.ngOnInit = function () {
|
|
4325
4305
|
var _this = this;
|
|
4326
4306
|
this.localeSub = this.dateTimeAdapter.localeChanges.subscribe(function () {
|
|
@@ -4349,7 +4329,7 @@
|
|
|
4349
4329
|
this.monthSelected.emit(firstDateOfMonth);
|
|
4350
4330
|
var daysInMonth = this.dateTimeAdapter.getNumDaysInMonth(firstDateOfMonth);
|
|
4351
4331
|
var 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));
|
|
4352
|
-
this.
|
|
4332
|
+
this.monthChange.emit(result);
|
|
4353
4333
|
};
|
|
4354
4334
|
/**
|
|
4355
4335
|
* Handle keydown event on calendar body
|
|
@@ -4519,18 +4499,14 @@
|
|
|
4519
4499
|
return OwlYearViewComponent;
|
|
4520
4500
|
}());
|
|
4521
4501
|
OwlYearViewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlYearViewComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4522
|
-
OwlYearViewComponent.ɵcmp = i0__namespace.ɵɵ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: {
|
|
4502
|
+
OwlYearViewComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
4523
4503
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlYearViewComponent, decorators: [{
|
|
4524
4504
|
type: i0.Component,
|
|
4525
4505
|
args: [{
|
|
4526
|
-
selector: 'owl-date-time-year-view',
|
|
4506
|
+
selector: 'ofe-owl-date-time-year-view',
|
|
4527
4507
|
exportAs: 'owlMonthView',
|
|
4528
4508
|
templateUrl: './calendar-year-view.component.html',
|
|
4529
4509
|
styleUrls: ['./calendar-year-view.component.scss'],
|
|
4530
|
-
host: {
|
|
4531
|
-
'[class.owl-dt-calendar-view]': 'owlDTCalendarView'
|
|
4532
|
-
},
|
|
4533
|
-
preserveWhitespaces: false,
|
|
4534
4510
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
4535
4511
|
}]
|
|
4536
4512
|
}], ctorParameters: function () {
|
|
@@ -4542,7 +4518,10 @@
|
|
|
4542
4518
|
type: i0.Inject,
|
|
4543
4519
|
args: [OWL_DATE_TIME_FORMATS]
|
|
4544
4520
|
}] }];
|
|
4545
|
-
}, propDecorators: {
|
|
4521
|
+
}, propDecorators: { owlDTCalendarView: [{
|
|
4522
|
+
type: i0.HostBinding,
|
|
4523
|
+
args: ['class.owl-dt-calendar-view']
|
|
4524
|
+
}], selectMode: [{
|
|
4546
4525
|
type: i0.Input
|
|
4547
4526
|
}], selected: [{
|
|
4548
4527
|
type: i0.Input
|
|
@@ -4556,7 +4535,7 @@
|
|
|
4556
4535
|
type: i0.Input
|
|
4557
4536
|
}], maxDate: [{
|
|
4558
4537
|
type: i0.Input
|
|
4559
|
-
}],
|
|
4538
|
+
}], monthChange: [{
|
|
4560
4539
|
type: i0.Output
|
|
4561
4540
|
}], monthSelected: [{
|
|
4562
4541
|
type: i0.Output
|
|
@@ -4569,7 +4548,6 @@
|
|
|
4569
4548
|
args: [OwlCalendarBodyComponent, { static: true }]
|
|
4570
4549
|
}] } });
|
|
4571
4550
|
|
|
4572
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
4573
4551
|
var YEARS_PER_ROW = 3;
|
|
4574
4552
|
var YEAR_ROWS = 7;
|
|
4575
4553
|
var OwlMultiYearViewComponent = /** @class */ (function () {
|
|
@@ -4586,7 +4564,7 @@
|
|
|
4586
4564
|
/**
|
|
4587
4565
|
* Callback to invoke when a new month is selected
|
|
4588
4566
|
* */
|
|
4589
|
-
this.
|
|
4567
|
+
this.monthChange = new i0.EventEmitter();
|
|
4590
4568
|
/**
|
|
4591
4569
|
* Emits the selected year. This doesn't imply a change on the selected date
|
|
4592
4570
|
* */
|
|
@@ -4596,6 +4574,20 @@
|
|
|
4596
4574
|
/** Emits when use keyboard enter to select a calendar cell */
|
|
4597
4575
|
this.keyboardEnter = new i0.EventEmitter();
|
|
4598
4576
|
}
|
|
4577
|
+
Object.defineProperty(OwlMultiYearViewComponent.prototype, "owlDTCalendarView", {
|
|
4578
|
+
get: function () {
|
|
4579
|
+
return true;
|
|
4580
|
+
},
|
|
4581
|
+
enumerable: false,
|
|
4582
|
+
configurable: true
|
|
4583
|
+
});
|
|
4584
|
+
Object.defineProperty(OwlMultiYearViewComponent.prototype, "owlDTCalendarMultiYearView", {
|
|
4585
|
+
get: function () {
|
|
4586
|
+
return true;
|
|
4587
|
+
},
|
|
4588
|
+
enumerable: false,
|
|
4589
|
+
configurable: true
|
|
4590
|
+
});
|
|
4599
4591
|
Object.defineProperty(OwlMultiYearViewComponent.prototype, "selectMode", {
|
|
4600
4592
|
get: function () {
|
|
4601
4593
|
return this._selectMode;
|
|
@@ -4768,21 +4760,6 @@
|
|
|
4768
4760
|
enumerable: false,
|
|
4769
4761
|
configurable: true
|
|
4770
4762
|
});
|
|
4771
|
-
Object.defineProperty(OwlMultiYearViewComponent.prototype, "owlDTCalendarView", {
|
|
4772
|
-
get: function () {
|
|
4773
|
-
return true;
|
|
4774
|
-
},
|
|
4775
|
-
enumerable: false,
|
|
4776
|
-
configurable: true
|
|
4777
|
-
});
|
|
4778
|
-
Object.defineProperty(OwlMultiYearViewComponent.prototype, "owlDTCalendarMultiYearView", {
|
|
4779
|
-
get: function () {
|
|
4780
|
-
return true;
|
|
4781
|
-
},
|
|
4782
|
-
enumerable: false,
|
|
4783
|
-
configurable: true
|
|
4784
|
-
});
|
|
4785
|
-
OwlMultiYearViewComponent.prototype.ngOnInit = function () { };
|
|
4786
4763
|
OwlMultiYearViewComponent.prototype.ngAfterContentInit = function () {
|
|
4787
4764
|
this._todayYear = this.dateTimeAdapter.getYear(this.dateTimeAdapter.now());
|
|
4788
4765
|
this.generateYearList();
|
|
@@ -4799,7 +4776,7 @@
|
|
|
4799
4776
|
var firstDateOfMonth = this.dateTimeAdapter.createDate(year, this.dateTimeAdapter.getMonth(this.pickerMoment), 1);
|
|
4800
4777
|
var daysInMonth = this.dateTimeAdapter.getNumDaysInMonth(firstDateOfMonth);
|
|
4801
4778
|
var 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));
|
|
4802
|
-
this.
|
|
4779
|
+
this.monthChange.emit(selected);
|
|
4803
4780
|
};
|
|
4804
4781
|
/**
|
|
4805
4782
|
* Generate the previous year list
|
|
@@ -4971,25 +4948,26 @@
|
|
|
4971
4948
|
return OwlMultiYearViewComponent;
|
|
4972
4949
|
}());
|
|
4973
4950
|
OwlMultiYearViewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlMultiYearViewComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: OwlDateTimeIntl }, { token: DateTimeAdapter, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
4974
|
-
OwlMultiYearViewComponent.ɵcmp = i0__namespace.ɵɵ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: {
|
|
4951
|
+
OwlMultiYearViewComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
4975
4952
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlMultiYearViewComponent, decorators: [{
|
|
4976
4953
|
type: i0.Component,
|
|
4977
4954
|
args: [{
|
|
4978
|
-
selector: 'owl-date-time-multi-year-view',
|
|
4955
|
+
selector: 'ofe-owl-date-time-multi-year-view',
|
|
4979
4956
|
templateUrl: './calendar-multi-year-view.component.html',
|
|
4980
4957
|
styleUrls: ['./calendar-multi-year-view.component.scss'],
|
|
4981
|
-
host: {
|
|
4982
|
-
'[class.owl-dt-calendar-view]': 'owlDTCalendarView',
|
|
4983
|
-
'[class.owl-dt-calendar-multi-year-view]': 'owlDTCalendarMultiYearView'
|
|
4984
|
-
},
|
|
4985
|
-
preserveWhitespaces: false,
|
|
4986
4958
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
4987
4959
|
}]
|
|
4988
4960
|
}], ctorParameters: function () {
|
|
4989
4961
|
return [{ type: i0__namespace.ChangeDetectorRef }, { type: OwlDateTimeIntl }, { type: DateTimeAdapter, decorators: [{
|
|
4990
4962
|
type: i0.Optional
|
|
4991
4963
|
}] }];
|
|
4992
|
-
}, propDecorators: {
|
|
4964
|
+
}, propDecorators: { owlDTCalendarView: [{
|
|
4965
|
+
type: i0.HostBinding,
|
|
4966
|
+
args: ['class.owl-dt-calendar-view']
|
|
4967
|
+
}], owlDTCalendarMultiYearView: [{
|
|
4968
|
+
type: i0.HostBinding,
|
|
4969
|
+
args: ['class.owl-dt-calendar-multi-year-view']
|
|
4970
|
+
}], selectMode: [{
|
|
4993
4971
|
type: i0.Input
|
|
4994
4972
|
}], selected: [{
|
|
4995
4973
|
type: i0.Input
|
|
@@ -5003,7 +4981,7 @@
|
|
|
5003
4981
|
type: i0.Input
|
|
5004
4982
|
}], maxDate: [{
|
|
5005
4983
|
type: i0.Input
|
|
5006
|
-
}],
|
|
4984
|
+
}], monthChange: [{
|
|
5007
4985
|
type: i0.Output
|
|
5008
4986
|
}], yearSelected: [{
|
|
5009
4987
|
type: i0.Output
|
|
@@ -5016,7 +4994,6 @@
|
|
|
5016
4994
|
args: [OwlCalendarBodyComponent, { static: true }]
|
|
5017
4995
|
}] } });
|
|
5018
4996
|
|
|
5019
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
5020
4997
|
var OwlCalendarComponent = /** @class */ (function () {
|
|
5021
4998
|
function OwlCalendarComponent(elmRef, pickerIntl, ngZone, cdRef, dateTimeAdapter, dateTimeFormats) {
|
|
5022
4999
|
var _this = this;
|
|
@@ -5070,6 +5047,13 @@
|
|
|
5070
5047
|
_this.cdRef.markForCheck();
|
|
5071
5048
|
});
|
|
5072
5049
|
}
|
|
5050
|
+
Object.defineProperty(OwlCalendarComponent.prototype, "owlDTCalendarClass", {
|
|
5051
|
+
get: function () {
|
|
5052
|
+
return true;
|
|
5053
|
+
},
|
|
5054
|
+
enumerable: false,
|
|
5055
|
+
configurable: true
|
|
5056
|
+
});
|
|
5073
5057
|
Object.defineProperty(OwlCalendarComponent.prototype, "minDate", {
|
|
5074
5058
|
get: function () {
|
|
5075
5059
|
return this._minDate;
|
|
@@ -5223,17 +5207,6 @@
|
|
|
5223
5207
|
enumerable: false,
|
|
5224
5208
|
configurable: true
|
|
5225
5209
|
});
|
|
5226
|
-
Object.defineProperty(OwlCalendarComponent.prototype, "owlDTCalendarClass", {
|
|
5227
|
-
/**
|
|
5228
|
-
* Bind class 'owl-dt-calendar' to host
|
|
5229
|
-
* */
|
|
5230
|
-
get: function () {
|
|
5231
|
-
return true;
|
|
5232
|
-
},
|
|
5233
|
-
enumerable: false,
|
|
5234
|
-
configurable: true
|
|
5235
|
-
});
|
|
5236
|
-
OwlCalendarComponent.prototype.ngOnInit = function () { };
|
|
5237
5210
|
OwlCalendarComponent.prototype.ngAfterContentInit = function () {
|
|
5238
5211
|
this._currentView = this.startView;
|
|
5239
5212
|
};
|
|
@@ -5367,18 +5340,14 @@
|
|
|
5367
5340
|
return OwlCalendarComponent;
|
|
5368
5341
|
}());
|
|
5369
5342
|
OwlCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlCalendarComponent, deps: [{ token: i0__namespace.ElementRef }, { token: OwlDateTimeIntl }, { token: i0__namespace.NgZone }, { token: i0__namespace.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5370
|
-
OwlCalendarComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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 (
|
|
5343
|
+
OwlCalendarComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace$4.CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: ["cdkFocusChange"] }, { type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
5371
5344
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlCalendarComponent, decorators: [{
|
|
5372
5345
|
type: i0.Component,
|
|
5373
5346
|
args: [{
|
|
5374
|
-
selector: 'owl-date-time-calendar',
|
|
5347
|
+
selector: 'ofe-owl-date-time-calendar',
|
|
5375
5348
|
exportAs: 'owlDateTimeCalendar',
|
|
5376
5349
|
templateUrl: './calendar.component.html',
|
|
5377
5350
|
styleUrls: ['./calendar.component.scss'],
|
|
5378
|
-
host: {
|
|
5379
|
-
'[class.owl-dt-calendar]': 'owlDTCalendarClass'
|
|
5380
|
-
},
|
|
5381
|
-
preserveWhitespaces: false,
|
|
5382
5351
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5383
5352
|
}]
|
|
5384
5353
|
}], ctorParameters: function () {
|
|
@@ -5390,7 +5359,10 @@
|
|
|
5390
5359
|
type: i0.Inject,
|
|
5391
5360
|
args: [OWL_DATE_TIME_FORMATS]
|
|
5392
5361
|
}] }];
|
|
5393
|
-
}, propDecorators: {
|
|
5362
|
+
}, propDecorators: { owlDTCalendarClass: [{
|
|
5363
|
+
type: i0.HostBinding,
|
|
5364
|
+
args: ['class.owl-dt-calendar']
|
|
5365
|
+
}], minDate: [{
|
|
5394
5366
|
type: i0.Input
|
|
5395
5367
|
}], maxDate: [{
|
|
5396
5368
|
type: i0.Input
|
|
@@ -5422,6 +5394,26 @@
|
|
|
5422
5394
|
type: i0.Output
|
|
5423
5395
|
}] } });
|
|
5424
5396
|
|
|
5397
|
+
/**
|
|
5398
|
+
* date-time-picker.animations
|
|
5399
|
+
*/
|
|
5400
|
+
var owlDateTimePickerAnimations = {
|
|
5401
|
+
transformPicker: i1$5.trigger('transformPicker', [
|
|
5402
|
+
i1$5.state('void', i1$5.style({ opacity: 0, transform: 'scale(1, 0)' })),
|
|
5403
|
+
i1$5.state('enter', i1$5.style({ opacity: 1, transform: 'scale(1, 1)' })),
|
|
5404
|
+
i1$5.transition('void => enter', i1$5.group([
|
|
5405
|
+
i1$5.query('@fadeInPicker', i1$5.animateChild(), { optional: true }),
|
|
5406
|
+
i1$5.animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')
|
|
5407
|
+
])),
|
|
5408
|
+
i1$5.transition('enter => void', i1$5.animate('100ms linear', i1$5.style({ opacity: 0 })))
|
|
5409
|
+
]),
|
|
5410
|
+
fadeInPicker: i1$5.trigger('fadeInPicker', [
|
|
5411
|
+
i1$5.state('enter', i1$5.style({ opacity: 1 })),
|
|
5412
|
+
i1$5.state('void', i1$5.style({ opacity: 0 })),
|
|
5413
|
+
i1$5.transition('void => enter', i1$5.animate('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)'))
|
|
5414
|
+
])
|
|
5415
|
+
};
|
|
5416
|
+
|
|
5425
5417
|
/**
|
|
5426
5418
|
* numberFixedLen.pipe
|
|
5427
5419
|
*/
|
|
@@ -5451,7 +5443,6 @@
|
|
|
5451
5443
|
}]
|
|
5452
5444
|
}] });
|
|
5453
5445
|
|
|
5454
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
5455
5446
|
var OwlTimerBoxComponent = /** @class */ (function () {
|
|
5456
5447
|
function OwlTimerBoxComponent() {
|
|
5457
5448
|
this.showDivider = false;
|
|
@@ -5461,16 +5452,16 @@
|
|
|
5461
5452
|
this.inputStream = new rxjs.Subject();
|
|
5462
5453
|
this.inputStreamSub = rxjs.Subscription.EMPTY;
|
|
5463
5454
|
}
|
|
5464
|
-
Object.defineProperty(OwlTimerBoxComponent.prototype, "
|
|
5455
|
+
Object.defineProperty(OwlTimerBoxComponent.prototype, "owlDTTimerBoxClass", {
|
|
5465
5456
|
get: function () {
|
|
5466
|
-
return
|
|
5457
|
+
return true;
|
|
5467
5458
|
},
|
|
5468
5459
|
enumerable: false,
|
|
5469
5460
|
configurable: true
|
|
5470
5461
|
});
|
|
5471
|
-
Object.defineProperty(OwlTimerBoxComponent.prototype, "
|
|
5462
|
+
Object.defineProperty(OwlTimerBoxComponent.prototype, "displayValue", {
|
|
5472
5463
|
get: function () {
|
|
5473
|
-
return
|
|
5464
|
+
return this.boxValue || this.value;
|
|
5474
5465
|
},
|
|
5475
5466
|
enumerable: false,
|
|
5476
5467
|
configurable: true
|
|
@@ -5510,21 +5501,20 @@
|
|
|
5510
5501
|
return OwlTimerBoxComponent;
|
|
5511
5502
|
}());
|
|
5512
5503
|
OwlTimerBoxComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlTimerBoxComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5513
|
-
OwlTimerBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "numberFixedLen": NumberFixedLenPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
5504
|
+
OwlTimerBoxComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "numberFixedLen": NumberFixedLenPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
5514
5505
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlTimerBoxComponent, decorators: [{
|
|
5515
5506
|
type: i0.Component,
|
|
5516
5507
|
args: [{
|
|
5517
5508
|
exportAs: 'owlDateTimeTimerBox',
|
|
5518
|
-
selector: 'owl-date-time-timer-box',
|
|
5509
|
+
selector: 'ofe-owl-date-time-timer-box',
|
|
5519
5510
|
templateUrl: './timer-box.component.html',
|
|
5520
5511
|
styleUrls: ['./timer-box.component.scss'],
|
|
5521
|
-
|
|
5522
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5523
|
-
host: {
|
|
5524
|
-
'[class.owl-dt-timer-box]': 'owlDTTimerBoxClass'
|
|
5525
|
-
}
|
|
5512
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5526
5513
|
}]
|
|
5527
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
5514
|
+
}], ctorParameters: function () { return []; }, propDecorators: { owlDTTimerBoxClass: [{
|
|
5515
|
+
type: i0.HostBinding,
|
|
5516
|
+
args: ['class.owl-dt-timer-box']
|
|
5517
|
+
}], showDivider: [{
|
|
5528
5518
|
type: i0.Input
|
|
5529
5519
|
}], upBtnAriaLabel: [{
|
|
5530
5520
|
type: i0.Input
|
|
@@ -5552,7 +5542,6 @@
|
|
|
5552
5542
|
type: i0.Output
|
|
5553
5543
|
}] } });
|
|
5554
5544
|
|
|
5555
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
5556
5545
|
var OwlTimerComponent = /** @class */ (function () {
|
|
5557
5546
|
function OwlTimerComponent(ngZone, elmRef, pickerIntl, cdRef, dateTimeAdapter) {
|
|
5558
5547
|
this.ngZone = ngZone;
|
|
@@ -5575,6 +5564,20 @@
|
|
|
5575
5564
|
this.stepSecond = 1;
|
|
5576
5565
|
this.selectedChange = new i0.EventEmitter();
|
|
5577
5566
|
}
|
|
5567
|
+
Object.defineProperty(OwlTimerComponent.prototype, "owlDTTimeTabIndex", {
|
|
5568
|
+
get: function () {
|
|
5569
|
+
return -1;
|
|
5570
|
+
},
|
|
5571
|
+
enumerable: false,
|
|
5572
|
+
configurable: true
|
|
5573
|
+
});
|
|
5574
|
+
Object.defineProperty(OwlTimerComponent.prototype, "owlDTTimerClass", {
|
|
5575
|
+
get: function () {
|
|
5576
|
+
return true;
|
|
5577
|
+
},
|
|
5578
|
+
enumerable: false,
|
|
5579
|
+
configurable: true
|
|
5580
|
+
});
|
|
5578
5581
|
Object.defineProperty(OwlTimerComponent.prototype, "pickerMoment", {
|
|
5579
5582
|
get: function () {
|
|
5580
5583
|
return this._pickerMoment;
|
|
@@ -5712,21 +5715,6 @@
|
|
|
5712
5715
|
enumerable: false,
|
|
5713
5716
|
configurable: true
|
|
5714
5717
|
});
|
|
5715
|
-
Object.defineProperty(OwlTimerComponent.prototype, "owlDTTimerClass", {
|
|
5716
|
-
get: function () {
|
|
5717
|
-
return true;
|
|
5718
|
-
},
|
|
5719
|
-
enumerable: false,
|
|
5720
|
-
configurable: true
|
|
5721
|
-
});
|
|
5722
|
-
Object.defineProperty(OwlTimerComponent.prototype, "owlDTTimeTabIndex", {
|
|
5723
|
-
get: function () {
|
|
5724
|
-
return -1;
|
|
5725
|
-
},
|
|
5726
|
-
enumerable: false,
|
|
5727
|
-
configurable: true
|
|
5728
|
-
});
|
|
5729
|
-
OwlTimerComponent.prototype.ngOnInit = function () { };
|
|
5730
5718
|
/**
|
|
5731
5719
|
* Focus to the host element
|
|
5732
5720
|
* */
|
|
@@ -5871,26 +5859,27 @@
|
|
|
5871
5859
|
return OwlTimerComponent;
|
|
5872
5860
|
}());
|
|
5873
5861
|
OwlTimerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlTimerComponent, deps: [{ token: i0__namespace.NgZone }, { token: i0__namespace.ElementRef }, { token: OwlDateTimeIntl }, { token: i0__namespace.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
5874
|
-
OwlTimerComponent.ɵcmp = i0__namespace.ɵɵ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: { "
|
|
5862
|
+
OwlTimerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
5875
5863
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlTimerComponent, decorators: [{
|
|
5876
5864
|
type: i0.Component,
|
|
5877
5865
|
args: [{
|
|
5878
5866
|
exportAs: 'owlDateTimeTimer',
|
|
5879
|
-
selector: 'owl-date-time-timer',
|
|
5867
|
+
selector: 'ofe-owl-date-time-timer',
|
|
5880
5868
|
templateUrl: './timer.component.html',
|
|
5881
5869
|
styleUrls: ['./timer.component.scss'],
|
|
5882
|
-
|
|
5883
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5884
|
-
host: {
|
|
5885
|
-
'[class.owl-dt-timer]': 'owlDTTimerClass',
|
|
5886
|
-
'[attr.tabindex]': 'owlDTTimeTabIndex'
|
|
5887
|
-
}
|
|
5870
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5888
5871
|
}]
|
|
5889
5872
|
}], ctorParameters: function () {
|
|
5890
5873
|
return [{ type: i0__namespace.NgZone }, { type: i0__namespace.ElementRef }, { type: OwlDateTimeIntl }, { type: i0__namespace.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
|
|
5891
5874
|
type: i0.Optional
|
|
5892
5875
|
}] }];
|
|
5893
|
-
}, propDecorators: {
|
|
5876
|
+
}, propDecorators: { owlDTTimeTabIndex: [{
|
|
5877
|
+
type: i0.HostBinding,
|
|
5878
|
+
args: ['attr.tabindex']
|
|
5879
|
+
}], owlDTTimerClass: [{
|
|
5880
|
+
type: i0.HostBinding,
|
|
5881
|
+
args: ['class.owl-dt-timer']
|
|
5882
|
+
}], pickerMoment: [{
|
|
5894
5883
|
type: i0.Input
|
|
5895
5884
|
}], minDateTime: [{
|
|
5896
5885
|
type: i0.Input
|
|
@@ -5910,26 +5899,6 @@
|
|
|
5910
5899
|
type: i0.Output
|
|
5911
5900
|
}] } });
|
|
5912
5901
|
|
|
5913
|
-
/**
|
|
5914
|
-
* date-time-picker.animations
|
|
5915
|
-
*/
|
|
5916
|
-
var owlDateTimePickerAnimations = {
|
|
5917
|
-
transformPicker: i1$5.trigger('transformPicker', [
|
|
5918
|
-
i1$5.state('void', i1$5.style({ opacity: 0, transform: 'scale(1, 0)' })),
|
|
5919
|
-
i1$5.state('enter', i1$5.style({ opacity: 1, transform: 'scale(1, 1)' })),
|
|
5920
|
-
i1$5.transition('void => enter', i1$5.group([
|
|
5921
|
-
i1$5.query('@fadeInPicker', i1$5.animateChild(), { optional: true }),
|
|
5922
|
-
i1$5.animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')
|
|
5923
|
-
])),
|
|
5924
|
-
i1$5.transition('enter => void', i1$5.animate('100ms linear', i1$5.style({ opacity: 0 })))
|
|
5925
|
-
]),
|
|
5926
|
-
fadeInPicker: i1$5.trigger('fadeInPicker', [
|
|
5927
|
-
i1$5.state('enter', i1$5.style({ opacity: 1 })),
|
|
5928
|
-
i1$5.state('void', i1$5.style({ opacity: 0 })),
|
|
5929
|
-
i1$5.transition('void => enter', i1$5.animate('400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)'))
|
|
5930
|
-
])
|
|
5931
|
-
};
|
|
5932
|
-
|
|
5933
5902
|
var OwlDateTimeContainerComponent = /** @class */ (function () {
|
|
5934
5903
|
function OwlDateTimeContainerComponent(cdRef, elmRef, pickerIntl, dateTimeAdapter) {
|
|
5935
5904
|
this.cdRef = cdRef;
|
|
@@ -5947,6 +5916,61 @@
|
|
|
5947
5916
|
this.confirmSelected$ = new rxjs.Subject();
|
|
5948
5917
|
this.pickerOpened$ = new rxjs.Subject();
|
|
5949
5918
|
}
|
|
5919
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerClass", {
|
|
5920
|
+
get: function () {
|
|
5921
|
+
return true;
|
|
5922
|
+
},
|
|
5923
|
+
enumerable: false,
|
|
5924
|
+
configurable: true
|
|
5925
|
+
});
|
|
5926
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTPopupContainerClass", {
|
|
5927
|
+
get: function () {
|
|
5928
|
+
return this.picker.pickerMode === 'popup';
|
|
5929
|
+
},
|
|
5930
|
+
enumerable: false,
|
|
5931
|
+
configurable: true
|
|
5932
|
+
});
|
|
5933
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTDialogContainerClass", {
|
|
5934
|
+
get: function () {
|
|
5935
|
+
return this.picker.pickerMode === 'dialog';
|
|
5936
|
+
},
|
|
5937
|
+
enumerable: false,
|
|
5938
|
+
configurable: true
|
|
5939
|
+
});
|
|
5940
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTInlineContainerClass", {
|
|
5941
|
+
get: function () {
|
|
5942
|
+
return this.picker.pickerMode === 'inline';
|
|
5943
|
+
},
|
|
5944
|
+
enumerable: false,
|
|
5945
|
+
configurable: true
|
|
5946
|
+
});
|
|
5947
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerDisabledClass", {
|
|
5948
|
+
get: function () {
|
|
5949
|
+
return this.picker.disabled;
|
|
5950
|
+
},
|
|
5951
|
+
enumerable: false,
|
|
5952
|
+
configurable: true
|
|
5953
|
+
});
|
|
5954
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerId", {
|
|
5955
|
+
get: function () {
|
|
5956
|
+
return this.picker.id;
|
|
5957
|
+
},
|
|
5958
|
+
enumerable: false,
|
|
5959
|
+
configurable: true
|
|
5960
|
+
});
|
|
5961
|
+
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerAnimation", {
|
|
5962
|
+
get: function () {
|
|
5963
|
+
return this.picker.pickerMode === 'inline' ? '' : 'enter';
|
|
5964
|
+
},
|
|
5965
|
+
enumerable: false,
|
|
5966
|
+
configurable: true
|
|
5967
|
+
});
|
|
5968
|
+
OwlDateTimeContainerComponent.prototype.handleContainerAnimationDone = function (event) {
|
|
5969
|
+
var toState = event.toState;
|
|
5970
|
+
if (toState === 'enter') {
|
|
5971
|
+
this.pickerOpened$.next();
|
|
5972
|
+
}
|
|
5973
|
+
};
|
|
5950
5974
|
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "hidePickerStream", {
|
|
5951
5975
|
get: function () {
|
|
5952
5976
|
return this.hidePicker$.asObservable();
|
|
@@ -6069,68 +6093,12 @@
|
|
|
6069
6093
|
enumerable: false,
|
|
6070
6094
|
configurable: true
|
|
6071
6095
|
});
|
|
6072
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerClass", {
|
|
6073
|
-
get: function () {
|
|
6074
|
-
return true;
|
|
6075
|
-
},
|
|
6076
|
-
enumerable: false,
|
|
6077
|
-
configurable: true
|
|
6078
|
-
});
|
|
6079
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTPopupContainerClass", {
|
|
6080
|
-
get: function () {
|
|
6081
|
-
return this.picker.pickerMode === 'popup';
|
|
6082
|
-
},
|
|
6083
|
-
enumerable: false,
|
|
6084
|
-
configurable: true
|
|
6085
|
-
});
|
|
6086
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTDialogContainerClass", {
|
|
6087
|
-
get: function () {
|
|
6088
|
-
return this.picker.pickerMode === 'dialog';
|
|
6089
|
-
},
|
|
6090
|
-
enumerable: false,
|
|
6091
|
-
configurable: true
|
|
6092
|
-
});
|
|
6093
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTInlineContainerClass", {
|
|
6094
|
-
get: function () {
|
|
6095
|
-
return this.picker.pickerMode === 'inline';
|
|
6096
|
-
},
|
|
6097
|
-
enumerable: false,
|
|
6098
|
-
configurable: true
|
|
6099
|
-
});
|
|
6100
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerDisabledClass", {
|
|
6101
|
-
get: function () {
|
|
6102
|
-
return this.picker.disabled;
|
|
6103
|
-
},
|
|
6104
|
-
enumerable: false,
|
|
6105
|
-
configurable: true
|
|
6106
|
-
});
|
|
6107
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerId", {
|
|
6108
|
-
get: function () {
|
|
6109
|
-
return this.picker.id;
|
|
6110
|
-
},
|
|
6111
|
-
enumerable: false,
|
|
6112
|
-
configurable: true
|
|
6113
|
-
});
|
|
6114
|
-
Object.defineProperty(OwlDateTimeContainerComponent.prototype, "owlDTContainerAnimation", {
|
|
6115
|
-
get: function () {
|
|
6116
|
-
return this.picker.pickerMode === 'inline' ? '' : 'enter';
|
|
6117
|
-
},
|
|
6118
|
-
enumerable: false,
|
|
6119
|
-
configurable: true
|
|
6120
|
-
});
|
|
6121
|
-
OwlDateTimeContainerComponent.prototype.ngOnInit = function () { };
|
|
6122
6096
|
OwlDateTimeContainerComponent.prototype.ngAfterContentInit = function () {
|
|
6123
6097
|
this.initPicker();
|
|
6124
6098
|
};
|
|
6125
6099
|
OwlDateTimeContainerComponent.prototype.ngAfterViewInit = function () {
|
|
6126
6100
|
this.focusPicker();
|
|
6127
6101
|
};
|
|
6128
|
-
OwlDateTimeContainerComponent.prototype.handleContainerAnimationDone = function (event) {
|
|
6129
|
-
var toState = event.toState;
|
|
6130
|
-
if (toState === 'enter') {
|
|
6131
|
-
this.pickerOpened$.next();
|
|
6132
|
-
}
|
|
6133
|
-
};
|
|
6134
6102
|
OwlDateTimeContainerComponent.prototype.dateSelected = function (date) {
|
|
6135
6103
|
var result;
|
|
6136
6104
|
if (this.picker.isInSingleMode) {
|
|
@@ -6345,7 +6313,7 @@
|
|
|
6345
6313
|
return OwlDateTimeContainerComponent;
|
|
6346
6314
|
}());
|
|
6347
6315
|
OwlDateTimeContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeContainerComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: OwlDateTimeIntl }, { token: DateTimeAdapter, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6348
|
-
OwlDateTimeContainerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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
|
|
6316
|
+
OwlDateTimeContainerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace$4.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
|
|
6349
6317
|
owlDateTimePickerAnimations.transformPicker,
|
|
6350
6318
|
owlDateTimePickerAnimations.fadeInPicker
|
|
6351
6319
|
], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
@@ -6353,25 +6321,14 @@
|
|
|
6353
6321
|
type: i0.Component,
|
|
6354
6322
|
args: [{
|
|
6355
6323
|
exportAs: 'owlDateTimeContainer',
|
|
6356
|
-
selector: 'owl-date-time-container',
|
|
6324
|
+
selector: 'ofe-owl-date-time-container',
|
|
6357
6325
|
templateUrl: './date-time-picker-container.component.html',
|
|
6358
6326
|
styleUrls: ['./date-time-picker-container.component.scss'],
|
|
6359
6327
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6360
|
-
preserveWhitespaces: false,
|
|
6361
6328
|
animations: [
|
|
6362
6329
|
owlDateTimePickerAnimations.transformPicker,
|
|
6363
6330
|
owlDateTimePickerAnimations.fadeInPicker
|
|
6364
|
-
]
|
|
6365
|
-
host: {
|
|
6366
|
-
'(@transformPicker.done)': 'handleContainerAnimationDone($event)',
|
|
6367
|
-
'[class.owl-dt-container]': 'owlDTContainerClass',
|
|
6368
|
-
'[class.owl-dt-popup-container]': 'owlDTPopupContainerClass',
|
|
6369
|
-
'[class.owl-dt-dialog-container]': 'owlDTDialogContainerClass',
|
|
6370
|
-
'[class.owl-dt-inline-container]': 'owlDTInlineContainerClass',
|
|
6371
|
-
'[class.owl-dt-container-disabled]': 'owlDTContainerDisabledClass',
|
|
6372
|
-
'[attr.id]': 'owlDTContainerId',
|
|
6373
|
-
'[@transformPicker]': 'owlDTContainerAnimation'
|
|
6374
|
-
}
|
|
6331
|
+
]
|
|
6375
6332
|
}]
|
|
6376
6333
|
}], ctorParameters: function () {
|
|
6377
6334
|
return [{ type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: OwlDateTimeIntl }, { type: DateTimeAdapter, decorators: [{
|
|
@@ -6383,6 +6340,30 @@
|
|
|
6383
6340
|
}], timer: [{
|
|
6384
6341
|
type: i0.ViewChild,
|
|
6385
6342
|
args: [OwlTimerComponent, { static: false }]
|
|
6343
|
+
}], owlDTContainerClass: [{
|
|
6344
|
+
type: i0.HostBinding,
|
|
6345
|
+
args: ['class.owl-dt-container']
|
|
6346
|
+
}], owlDTPopupContainerClass: [{
|
|
6347
|
+
type: i0.HostBinding,
|
|
6348
|
+
args: ['class.owl-dt-popup-container']
|
|
6349
|
+
}], owlDTDialogContainerClass: [{
|
|
6350
|
+
type: i0.HostBinding,
|
|
6351
|
+
args: ['class.owl-dt-dialog-container']
|
|
6352
|
+
}], owlDTInlineContainerClass: [{
|
|
6353
|
+
type: i0.HostBinding,
|
|
6354
|
+
args: ['class.owl-dt-inline-container']
|
|
6355
|
+
}], owlDTContainerDisabledClass: [{
|
|
6356
|
+
type: i0.HostBinding,
|
|
6357
|
+
args: ['class.owl-dt-container-disabled']
|
|
6358
|
+
}], owlDTContainerId: [{
|
|
6359
|
+
type: i0.HostBinding,
|
|
6360
|
+
args: ['attr.id']
|
|
6361
|
+
}], owlDTContainerAnimation: [{
|
|
6362
|
+
type: i0.HostBinding,
|
|
6363
|
+
args: ['@transformPicker']
|
|
6364
|
+
}], handleContainerAnimationDone: [{
|
|
6365
|
+
type: i0.HostListener,
|
|
6366
|
+
args: ['@transformPicker.done', ['$event']]
|
|
6386
6367
|
}] } });
|
|
6387
6368
|
|
|
6388
6369
|
/**
|
|
@@ -6802,9 +6783,9 @@
|
|
|
6802
6783
|
_this.elementFocusedBeforeDialogWasOpened = null;
|
|
6803
6784
|
return _this;
|
|
6804
6785
|
}
|
|
6805
|
-
Object.defineProperty(OwlDialogContainerComponent.prototype, "
|
|
6786
|
+
Object.defineProperty(OwlDialogContainerComponent.prototype, "owlDialogContainerTabIndex", {
|
|
6806
6787
|
get: function () {
|
|
6807
|
-
return
|
|
6788
|
+
return -1;
|
|
6808
6789
|
},
|
|
6809
6790
|
enumerable: false,
|
|
6810
6791
|
configurable: true
|
|
@@ -6816,13 +6797,6 @@
|
|
|
6816
6797
|
enumerable: false,
|
|
6817
6798
|
configurable: true
|
|
6818
6799
|
});
|
|
6819
|
-
Object.defineProperty(OwlDialogContainerComponent.prototype, "owlDialogContainerTabIndex", {
|
|
6820
|
-
get: function () {
|
|
6821
|
-
return -1;
|
|
6822
|
-
},
|
|
6823
|
-
enumerable: false,
|
|
6824
|
-
configurable: true
|
|
6825
|
-
});
|
|
6826
6800
|
Object.defineProperty(OwlDialogContainerComponent.prototype, "owlDialogContainerId", {
|
|
6827
6801
|
get: function () {
|
|
6828
6802
|
return this._config.id;
|
|
@@ -6858,7 +6832,27 @@
|
|
|
6858
6832
|
enumerable: false,
|
|
6859
6833
|
configurable: true
|
|
6860
6834
|
});
|
|
6861
|
-
OwlDialogContainerComponent.prototype.
|
|
6835
|
+
OwlDialogContainerComponent.prototype.onAnimationStart = function (event) {
|
|
6836
|
+
this.isAnimating = true;
|
|
6837
|
+
this.animationStateChanged.emit(event);
|
|
6838
|
+
};
|
|
6839
|
+
OwlDialogContainerComponent.prototype.onAnimationDone = function (event) {
|
|
6840
|
+
if (event.toState === 'enter') {
|
|
6841
|
+
this.trapFocus();
|
|
6842
|
+
}
|
|
6843
|
+
else if (event.toState === 'exit') {
|
|
6844
|
+
this.restoreFocus();
|
|
6845
|
+
}
|
|
6846
|
+
this.animationStateChanged.emit(event);
|
|
6847
|
+
this.isAnimating = false;
|
|
6848
|
+
};
|
|
6849
|
+
Object.defineProperty(OwlDialogContainerComponent.prototype, "config", {
|
|
6850
|
+
get: function () {
|
|
6851
|
+
return this._config;
|
|
6852
|
+
},
|
|
6853
|
+
enumerable: false,
|
|
6854
|
+
configurable: true
|
|
6855
|
+
});
|
|
6862
6856
|
/**
|
|
6863
6857
|
* Attach a ComponentPortal as content to this dialog container.
|
|
6864
6858
|
*/
|
|
@@ -6878,20 +6872,6 @@
|
|
|
6878
6872
|
this.calculateZoomOrigin(event);
|
|
6879
6873
|
}
|
|
6880
6874
|
};
|
|
6881
|
-
OwlDialogContainerComponent.prototype.onAnimationStart = function (event) {
|
|
6882
|
-
this.isAnimating = true;
|
|
6883
|
-
this.animationStateChanged.emit(event);
|
|
6884
|
-
};
|
|
6885
|
-
OwlDialogContainerComponent.prototype.onAnimationDone = function (event) {
|
|
6886
|
-
if (event.toState === 'enter') {
|
|
6887
|
-
this.trapFocus();
|
|
6888
|
-
}
|
|
6889
|
-
else if (event.toState === 'exit') {
|
|
6890
|
-
this.restoreFocus();
|
|
6891
|
-
}
|
|
6892
|
-
this.animationStateChanged.emit(event);
|
|
6893
|
-
this.isAnimating = false;
|
|
6894
|
-
};
|
|
6895
6875
|
OwlDialogContainerComponent.prototype.startExitAnimation = function () {
|
|
6896
6876
|
this.state = 'exit';
|
|
6897
6877
|
this.changeDetector.markForCheck();
|
|
@@ -6951,7 +6931,7 @@
|
|
|
6951
6931
|
return OwlDialogContainerComponent;
|
|
6952
6932
|
}(i2$1.BasePortalOutlet));
|
|
6953
6933
|
OwlDialogContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDialogContainerComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: i1__namespace$4.FocusTrapFactory }, { token: i1.DOCUMENT, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
6954
|
-
OwlDialogContainerComponent.ɵcmp = i0__namespace.ɵɵ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: { "
|
|
6934
|
+
OwlDialogContainerComponent.ɵcmp = i0__namespace.ɵɵ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: i2$1.CdkPortalOutlet, descendants: true, static: true }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-template cdkPortalOutlet></ng-template>\n", directives: [{ type: i2__namespace$1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [
|
|
6955
6935
|
i1$5.trigger('slideModal', [
|
|
6956
6936
|
i1$5.transition('void => enter', [
|
|
6957
6937
|
i1$5.style(zoomFadeInFrom),
|
|
@@ -6978,7 +6958,7 @@
|
|
|
6978
6958
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDialogContainerComponent, decorators: [{
|
|
6979
6959
|
type: i0.Component,
|
|
6980
6960
|
args: [{
|
|
6981
|
-
selector: 'owl-dialog-container',
|
|
6961
|
+
selector: 'ofe-owl-dialog-container',
|
|
6982
6962
|
templateUrl: './dialog-container.component.html',
|
|
6983
6963
|
animations: [
|
|
6984
6964
|
i1$5.trigger('slideModal', [
|
|
@@ -7003,18 +6983,7 @@
|
|
|
7003
6983
|
}),
|
|
7004
6984
|
i1$5.transition('enter => exit', [i1$5.animateChild(), i1$5.animate(200, i1$5.style(zoomFadeIn))], { params: { x: '0px', y: '0px', ox: '50%', oy: '50%' } })
|
|
7005
6985
|
])
|
|
7006
|
-
]
|
|
7007
|
-
host: {
|
|
7008
|
-
'(@slideModal.start)': 'onAnimationStart($event)',
|
|
7009
|
-
'(@slideModal.done)': 'onAnimationDone($event)',
|
|
7010
|
-
'[class.owl-dialog-container]': 'owlDialogContainerClass',
|
|
7011
|
-
'[attr.tabindex]': 'owlDialogContainerTabIndex',
|
|
7012
|
-
'[attr.id]': 'owlDialogContainerId',
|
|
7013
|
-
'[attr.role]': 'owlDialogContainerRole',
|
|
7014
|
-
'[attr.aria-labelledby]': 'owlDialogContainerAriaLabelledby',
|
|
7015
|
-
'[attr.aria-describedby]': 'owlDialogContainerAriaDescribedby',
|
|
7016
|
-
'[@slideModal]': 'owlDialogContainerAnimation'
|
|
7017
|
-
}
|
|
6986
|
+
]
|
|
7018
6987
|
}]
|
|
7019
6988
|
}], ctorParameters: function () {
|
|
7020
6989
|
return [{ type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: i1__namespace$4.FocusTrapFactory }, { type: undefined, decorators: [{
|
|
@@ -7023,7 +6992,34 @@
|
|
|
7023
6992
|
type: i0.Inject,
|
|
7024
6993
|
args: [i1.DOCUMENT]
|
|
7025
6994
|
}] }];
|
|
7026
|
-
}, propDecorators: {
|
|
6995
|
+
}, propDecorators: { owlDialogContainerTabIndex: [{
|
|
6996
|
+
type: i0.HostBinding,
|
|
6997
|
+
args: ['attr.tabindex']
|
|
6998
|
+
}], owlDialogContainerClass: [{
|
|
6999
|
+
type: i0.HostBinding,
|
|
7000
|
+
args: ['class.owl-dialog-container']
|
|
7001
|
+
}], owlDialogContainerId: [{
|
|
7002
|
+
type: i0.HostBinding,
|
|
7003
|
+
args: ['attr.id']
|
|
7004
|
+
}], owlDialogContainerRole: [{
|
|
7005
|
+
type: i0.HostBinding,
|
|
7006
|
+
args: ['attr.role']
|
|
7007
|
+
}], owlDialogContainerAriaLabelledby: [{
|
|
7008
|
+
type: i0.HostBinding,
|
|
7009
|
+
args: ['attr.aria-labelledby']
|
|
7010
|
+
}], owlDialogContainerAriaDescribedby: [{
|
|
7011
|
+
type: i0.HostBinding,
|
|
7012
|
+
args: ['attr.aria-describedby']
|
|
7013
|
+
}], owlDialogContainerAnimation: [{
|
|
7014
|
+
type: i0.HostBinding,
|
|
7015
|
+
args: ['@slideModal']
|
|
7016
|
+
}], onAnimationStart: [{
|
|
7017
|
+
type: i0.HostListener,
|
|
7018
|
+
args: ['@slideModal.start', ['$event']]
|
|
7019
|
+
}], onAnimationDone: [{
|
|
7020
|
+
type: i0.HostListener,
|
|
7021
|
+
args: ['@slideModal.done', ['$event']]
|
|
7022
|
+
}], portalOutlet: [{
|
|
7027
7023
|
type: i0.ViewChild,
|
|
7028
7024
|
args: [i2$1.CdkPortalOutlet, { static: true }]
|
|
7029
7025
|
}] } });
|
|
@@ -7545,7 +7541,6 @@
|
|
|
7545
7541
|
enumerable: false,
|
|
7546
7542
|
configurable: true
|
|
7547
7543
|
});
|
|
7548
|
-
OwlDateTimeComponent.prototype.ngOnInit = function () { };
|
|
7549
7544
|
OwlDateTimeComponent.prototype.ngOnDestroy = function () {
|
|
7550
7545
|
this.close();
|
|
7551
7546
|
this.dtInputSub.unsubscribe();
|
|
@@ -7833,16 +7828,15 @@
|
|
|
7833
7828
|
return OwlDateTimeComponent;
|
|
7834
7829
|
}(OwlDateTime));
|
|
7835
7830
|
OwlDateTimeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeComponent, deps: [{ token: i1__namespace$5.Overlay }, { token: i0__namespace.ViewContainerRef }, { token: OwlDialogService }, { token: i0__namespace.NgZone }, { token: i0__namespace.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DTPICKER_SCROLL_STRATEGY }, { token: OWL_DATE_TIME_FORMATS, optional: true }, { token: i1.DOCUMENT, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
7836
|
-
OwlDateTimeComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "", styles: [""], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
7831
|
+
OwlDateTimeComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "", styles: [""], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
7837
7832
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeComponent, decorators: [{
|
|
7838
7833
|
type: i0.Component,
|
|
7839
7834
|
args: [{
|
|
7840
|
-
selector: 'owl-date-time',
|
|
7835
|
+
selector: 'ofe-owl-date-time',
|
|
7841
7836
|
exportAs: 'owlDateTime',
|
|
7842
7837
|
templateUrl: './date-time-picker.component.html',
|
|
7843
7838
|
styleUrls: ['./date-time-picker.component.scss'],
|
|
7844
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
7845
|
-
preserveWhitespaces: false
|
|
7839
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
7846
7840
|
}]
|
|
7847
7841
|
}], ctorParameters: function () {
|
|
7848
7842
|
return [{ type: i1__namespace$5.Overlay }, { type: i0__namespace.ViewContainerRef }, { type: OwlDialogService }, { type: i0__namespace.NgZone }, { type: i0__namespace.ChangeDetectorRef }, { type: DateTimeAdapter, decorators: [{
|
|
@@ -7887,14 +7881,13 @@
|
|
|
7887
7881
|
type: i0.Output
|
|
7888
7882
|
}] } });
|
|
7889
7883
|
|
|
7890
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
7891
7884
|
var OWL_DATETIME_VALUE_ACCESSOR$1 = {
|
|
7892
|
-
provide:
|
|
7885
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
7893
7886
|
useExisting: i0.forwardRef(function () { return OwlDateTimeInputDirective; }),
|
|
7894
7887
|
multi: true
|
|
7895
7888
|
};
|
|
7896
7889
|
var OWL_DATETIME_VALIDATORS = {
|
|
7897
|
-
provide:
|
|
7890
|
+
provide: i19.NG_VALIDATORS,
|
|
7898
7891
|
useExisting: i0.forwardRef(function () { return OwlDateTimeInputDirective; }),
|
|
7899
7892
|
multi: true
|
|
7900
7893
|
};
|
|
@@ -8009,7 +8002,7 @@
|
|
|
8009
8002
|
: { owlDateTimeRange: true };
|
|
8010
8003
|
};
|
|
8011
8004
|
/** The combined form control validator for this input. */
|
|
8012
|
-
this.validator =
|
|
8005
|
+
this.validator = i19.Validators.compose([
|
|
8013
8006
|
this.parseValidator,
|
|
8014
8007
|
this.minValidator,
|
|
8015
8008
|
this.maxValidator,
|
|
@@ -8037,6 +8030,76 @@
|
|
|
8037
8030
|
_this.value = _this.value;
|
|
8038
8031
|
});
|
|
8039
8032
|
}
|
|
8033
|
+
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTimeInputAriaHaspopup", {
|
|
8034
|
+
get: function () {
|
|
8035
|
+
return true;
|
|
8036
|
+
},
|
|
8037
|
+
enumerable: false,
|
|
8038
|
+
configurable: true
|
|
8039
|
+
});
|
|
8040
|
+
Object.defineProperty(OwlDateTimeInputDirective.prototype, "maxIso8601", {
|
|
8041
|
+
get: function () {
|
|
8042
|
+
return this.max ? this.dateTimeAdapter.toIso8601(this.max) : null;
|
|
8043
|
+
},
|
|
8044
|
+
enumerable: false,
|
|
8045
|
+
configurable: true
|
|
8046
|
+
});
|
|
8047
|
+
Object.defineProperty(OwlDateTimeInputDirective.prototype, "minIso8601", {
|
|
8048
|
+
get: function () {
|
|
8049
|
+
return this.min ? this.dateTimeAdapter.toIso8601(this.min) : null;
|
|
8050
|
+
},
|
|
8051
|
+
enumerable: false,
|
|
8052
|
+
configurable: true
|
|
8053
|
+
});
|
|
8054
|
+
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTimeInputAriaOwns", {
|
|
8055
|
+
get: function () {
|
|
8056
|
+
return (this.dtPicker.opened && this.dtPicker.id) || null;
|
|
8057
|
+
},
|
|
8058
|
+
enumerable: false,
|
|
8059
|
+
configurable: true
|
|
8060
|
+
});
|
|
8061
|
+
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTimeInputDisabled", {
|
|
8062
|
+
get: function () {
|
|
8063
|
+
return this.disabled;
|
|
8064
|
+
},
|
|
8065
|
+
enumerable: false,
|
|
8066
|
+
configurable: true
|
|
8067
|
+
});
|
|
8068
|
+
OwlDateTimeInputDirective.prototype.handleBlurOnHost = function ($event) {
|
|
8069
|
+
this.onModelTouched();
|
|
8070
|
+
};
|
|
8071
|
+
OwlDateTimeInputDirective.prototype.handleChangeOnHost = function ($event) {
|
|
8072
|
+
var v;
|
|
8073
|
+
if (this.isInSingleMode) {
|
|
8074
|
+
v = this.value;
|
|
8075
|
+
}
|
|
8076
|
+
else if (this.isInRangeMode) {
|
|
8077
|
+
v = this.values;
|
|
8078
|
+
}
|
|
8079
|
+
this.dateTimeChange.emit({
|
|
8080
|
+
source: this,
|
|
8081
|
+
value: v,
|
|
8082
|
+
input: this.elmRef.nativeElement
|
|
8083
|
+
});
|
|
8084
|
+
};
|
|
8085
|
+
OwlDateTimeInputDirective.prototype.handleInputOnHost = function ($event) {
|
|
8086
|
+
var value = $event.target.value;
|
|
8087
|
+
if (this._selectMode === 'single') {
|
|
8088
|
+
this.changeInputInSingleMode(value);
|
|
8089
|
+
}
|
|
8090
|
+
else if (this._selectMode === 'range') {
|
|
8091
|
+
this.changeInputInRangeMode(value);
|
|
8092
|
+
}
|
|
8093
|
+
else {
|
|
8094
|
+
this.changeInputInRangeFromToMode(value);
|
|
8095
|
+
}
|
|
8096
|
+
};
|
|
8097
|
+
OwlDateTimeInputDirective.prototype.handleKeydownOnHost = function ($event) {
|
|
8098
|
+
if ($event.altKey && $event.keyCode === keycodes.DOWN_ARROW) {
|
|
8099
|
+
this.dtPicker.open();
|
|
8100
|
+
$event.preventDefault();
|
|
8101
|
+
}
|
|
8102
|
+
};
|
|
8040
8103
|
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTime", {
|
|
8041
8104
|
/**
|
|
8042
8105
|
* The date time picker that this input is associated with.
|
|
@@ -8196,41 +8259,6 @@
|
|
|
8196
8259
|
enumerable: false,
|
|
8197
8260
|
configurable: true
|
|
8198
8261
|
});
|
|
8199
|
-
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTimeInputAriaHaspopup", {
|
|
8200
|
-
get: function () {
|
|
8201
|
-
return true;
|
|
8202
|
-
},
|
|
8203
|
-
enumerable: false,
|
|
8204
|
-
configurable: true
|
|
8205
|
-
});
|
|
8206
|
-
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTimeInputAriaOwns", {
|
|
8207
|
-
get: function () {
|
|
8208
|
-
return (this.dtPicker.opened && this.dtPicker.id) || null;
|
|
8209
|
-
},
|
|
8210
|
-
enumerable: false,
|
|
8211
|
-
configurable: true
|
|
8212
|
-
});
|
|
8213
|
-
Object.defineProperty(OwlDateTimeInputDirective.prototype, "minIso8601", {
|
|
8214
|
-
get: function () {
|
|
8215
|
-
return this.min ? this.dateTimeAdapter.toIso8601(this.min) : null;
|
|
8216
|
-
},
|
|
8217
|
-
enumerable: false,
|
|
8218
|
-
configurable: true
|
|
8219
|
-
});
|
|
8220
|
-
Object.defineProperty(OwlDateTimeInputDirective.prototype, "maxIso8601", {
|
|
8221
|
-
get: function () {
|
|
8222
|
-
return this.max ? this.dateTimeAdapter.toIso8601(this.max) : null;
|
|
8223
|
-
},
|
|
8224
|
-
enumerable: false,
|
|
8225
|
-
configurable: true
|
|
8226
|
-
});
|
|
8227
|
-
Object.defineProperty(OwlDateTimeInputDirective.prototype, "owlDateTimeInputDisabled", {
|
|
8228
|
-
get: function () {
|
|
8229
|
-
return this.disabled;
|
|
8230
|
-
},
|
|
8231
|
-
enumerable: false,
|
|
8232
|
-
configurable: true
|
|
8233
|
-
});
|
|
8234
8262
|
OwlDateTimeInputDirective.prototype.ngOnInit = function () {
|
|
8235
8263
|
if (!this.dtPicker) {
|
|
8236
8264
|
throw Error("OwlDateTimePicker: the picker input doesn't have any associated owl-date-time component");
|
|
@@ -8289,44 +8317,6 @@
|
|
|
8289
8317
|
OwlDateTimeInputDirective.prototype.registerOnValidatorChange = function (fn) {
|
|
8290
8318
|
this.validatorOnChange = fn;
|
|
8291
8319
|
};
|
|
8292
|
-
/**
|
|
8293
|
-
* Open the picker when user hold alt + DOWN_ARROW
|
|
8294
|
-
* */
|
|
8295
|
-
OwlDateTimeInputDirective.prototype.handleKeydownOnHost = function (event) {
|
|
8296
|
-
if (event.altKey && event.keyCode === keycodes.DOWN_ARROW) {
|
|
8297
|
-
this.dtPicker.open();
|
|
8298
|
-
event.preventDefault();
|
|
8299
|
-
}
|
|
8300
|
-
};
|
|
8301
|
-
OwlDateTimeInputDirective.prototype.handleBlurOnHost = function (event) {
|
|
8302
|
-
this.onModelTouched();
|
|
8303
|
-
};
|
|
8304
|
-
OwlDateTimeInputDirective.prototype.handleInputOnHost = function (event) {
|
|
8305
|
-
var value = event.target.value;
|
|
8306
|
-
if (this._selectMode === 'single') {
|
|
8307
|
-
this.changeInputInSingleMode(value);
|
|
8308
|
-
}
|
|
8309
|
-
else if (this._selectMode === 'range') {
|
|
8310
|
-
this.changeInputInRangeMode(value);
|
|
8311
|
-
}
|
|
8312
|
-
else {
|
|
8313
|
-
this.changeInputInRangeFromToMode(value);
|
|
8314
|
-
}
|
|
8315
|
-
};
|
|
8316
|
-
OwlDateTimeInputDirective.prototype.handleChangeOnHost = function (event) {
|
|
8317
|
-
var v;
|
|
8318
|
-
if (this.isInSingleMode) {
|
|
8319
|
-
v = this.value;
|
|
8320
|
-
}
|
|
8321
|
-
else if (this.isInRangeMode) {
|
|
8322
|
-
v = this.values;
|
|
8323
|
-
}
|
|
8324
|
-
this.dateTimeChange.emit({
|
|
8325
|
-
source: this,
|
|
8326
|
-
value: v,
|
|
8327
|
-
input: this.elmRef.nativeElement
|
|
8328
|
-
});
|
|
8329
|
-
};
|
|
8330
8320
|
/**
|
|
8331
8321
|
* Set the native input property 'value'
|
|
8332
8322
|
*/
|
|
@@ -8501,23 +8491,12 @@
|
|
|
8501
8491
|
return OwlDateTimeInputDirective;
|
|
8502
8492
|
}());
|
|
8503
8493
|
OwlDateTimeInputDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeInputDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
8504
|
-
OwlDateTimeInputDirective.ɵdir = i0__namespace.ɵɵ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: { "
|
|
8494
|
+
OwlDateTimeInputDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
8505
8495
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeInputDirective, decorators: [{
|
|
8506
8496
|
type: i0.Directive,
|
|
8507
8497
|
args: [{
|
|
8508
8498
|
selector: 'input[owlDateTime]',
|
|
8509
8499
|
exportAs: 'owlDateTimeInput',
|
|
8510
|
-
host: {
|
|
8511
|
-
'(keydown)': 'handleKeydownOnHost($event)',
|
|
8512
|
-
'(blur)': 'handleBlurOnHost($event)',
|
|
8513
|
-
'(input)': 'handleInputOnHost($event)',
|
|
8514
|
-
'(change)': 'handleChangeOnHost($event)',
|
|
8515
|
-
'[attr.aria-haspopup]': 'owlDateTimeInputAriaHaspopup',
|
|
8516
|
-
'[attr.aria-owns]': 'owlDateTimeInputAriaOwns',
|
|
8517
|
-
'[attr.min]': 'minIso8601',
|
|
8518
|
-
'[attr.max]': 'maxIso8601',
|
|
8519
|
-
'[disabled]': 'owlDateTimeInputDisabled'
|
|
8520
|
-
},
|
|
8521
8500
|
providers: [OWL_DATETIME_VALUE_ACCESSOR$1, OWL_DATETIME_VALIDATORS]
|
|
8522
8501
|
}]
|
|
8523
8502
|
}], ctorParameters: function () {
|
|
@@ -8529,7 +8508,34 @@
|
|
|
8529
8508
|
type: i0.Inject,
|
|
8530
8509
|
args: [OWL_DATE_TIME_FORMATS]
|
|
8531
8510
|
}] }];
|
|
8532
|
-
}, propDecorators: {
|
|
8511
|
+
}, propDecorators: { owlDateTimeInputAriaHaspopup: [{
|
|
8512
|
+
type: i0.HostBinding,
|
|
8513
|
+
args: ['attr.aria-haspopup']
|
|
8514
|
+
}], maxIso8601: [{
|
|
8515
|
+
type: i0.HostBinding,
|
|
8516
|
+
args: ['attr.max']
|
|
8517
|
+
}], minIso8601: [{
|
|
8518
|
+
type: i0.HostBinding,
|
|
8519
|
+
args: ['attr.min']
|
|
8520
|
+
}], owlDateTimeInputAriaOwns: [{
|
|
8521
|
+
type: i0.HostBinding,
|
|
8522
|
+
args: ['attr.aria-owns']
|
|
8523
|
+
}], owlDateTimeInputDisabled: [{
|
|
8524
|
+
type: i0.HostBinding,
|
|
8525
|
+
args: ['disabled']
|
|
8526
|
+
}], handleBlurOnHost: [{
|
|
8527
|
+
type: i0.HostListener,
|
|
8528
|
+
args: ['blur', ['$event']]
|
|
8529
|
+
}], handleChangeOnHost: [{
|
|
8530
|
+
type: i0.HostListener,
|
|
8531
|
+
args: ['change', ['$event']]
|
|
8532
|
+
}], handleInputOnHost: [{
|
|
8533
|
+
type: i0.HostListener,
|
|
8534
|
+
args: ['input', ['$event']]
|
|
8535
|
+
}], handleKeydownOnHost: [{
|
|
8536
|
+
type: i0.HostListener,
|
|
8537
|
+
args: ['keydown', ['$event']]
|
|
8538
|
+
}], owlDateTime: [{
|
|
8533
8539
|
type: i0.Input
|
|
8534
8540
|
}], owlDateTimeFilter: [{
|
|
8535
8541
|
type: i0.Input
|
|
@@ -8553,12 +8559,24 @@
|
|
|
8553
8559
|
type: i0.Output
|
|
8554
8560
|
}] } });
|
|
8555
8561
|
|
|
8556
|
-
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
8557
8562
|
var OwlDateTimeTriggerDirective = /** @class */ (function () {
|
|
8558
8563
|
function OwlDateTimeTriggerDirective(changeDetector) {
|
|
8559
8564
|
this.changeDetector = changeDetector;
|
|
8560
8565
|
this.stateChanges = rxjs.Subscription.EMPTY;
|
|
8561
8566
|
}
|
|
8567
|
+
Object.defineProperty(OwlDateTimeTriggerDirective.prototype, "owlDTTriggerDisabledClass", {
|
|
8568
|
+
get: function () {
|
|
8569
|
+
return this.disabled;
|
|
8570
|
+
},
|
|
8571
|
+
enumerable: false,
|
|
8572
|
+
configurable: true
|
|
8573
|
+
});
|
|
8574
|
+
OwlDateTimeTriggerDirective.prototype.handleClickOnHost = function ($event) {
|
|
8575
|
+
if (this.dtPicker) {
|
|
8576
|
+
this.dtPicker.open();
|
|
8577
|
+
$event.stopPropagation();
|
|
8578
|
+
}
|
|
8579
|
+
};
|
|
8562
8580
|
Object.defineProperty(OwlDateTimeTriggerDirective.prototype, "disabled", {
|
|
8563
8581
|
get: function () {
|
|
8564
8582
|
return this._disabled === undefined
|
|
@@ -8571,14 +8589,6 @@
|
|
|
8571
8589
|
enumerable: false,
|
|
8572
8590
|
configurable: true
|
|
8573
8591
|
});
|
|
8574
|
-
Object.defineProperty(OwlDateTimeTriggerDirective.prototype, "owlDTTriggerDisabledClass", {
|
|
8575
|
-
get: function () {
|
|
8576
|
-
return this.disabled;
|
|
8577
|
-
},
|
|
8578
|
-
enumerable: false,
|
|
8579
|
-
configurable: true
|
|
8580
|
-
});
|
|
8581
|
-
OwlDateTimeTriggerDirective.prototype.ngOnInit = function () { };
|
|
8582
8592
|
OwlDateTimeTriggerDirective.prototype.ngOnChanges = function (changes) {
|
|
8583
8593
|
if (changes.datepicker) {
|
|
8584
8594
|
this.watchStateChanges();
|
|
@@ -8590,12 +8600,6 @@
|
|
|
8590
8600
|
OwlDateTimeTriggerDirective.prototype.ngOnDestroy = function () {
|
|
8591
8601
|
this.stateChanges.unsubscribe();
|
|
8592
8602
|
};
|
|
8593
|
-
OwlDateTimeTriggerDirective.prototype.handleClickOnHost = function (event) {
|
|
8594
|
-
if (this.dtPicker) {
|
|
8595
|
-
this.dtPicker.open();
|
|
8596
|
-
event.stopPropagation();
|
|
8597
|
-
}
|
|
8598
|
-
};
|
|
8599
8603
|
OwlDateTimeTriggerDirective.prototype.watchStateChanges = function () {
|
|
8600
8604
|
var _this = this;
|
|
8601
8605
|
this.stateChanges.unsubscribe();
|
|
@@ -8612,19 +8616,21 @@
|
|
|
8612
8616
|
return OwlDateTimeTriggerDirective;
|
|
8613
8617
|
}());
|
|
8614
8618
|
OwlDateTimeTriggerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeTriggerDirective, deps: [{ token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
8615
|
-
OwlDateTimeTriggerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OwlDateTimeTriggerDirective, selector: "[
|
|
8619
|
+
OwlDateTimeTriggerDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
8616
8620
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeTriggerDirective, decorators: [{
|
|
8617
8621
|
type: i0.Directive,
|
|
8618
8622
|
args: [{
|
|
8619
|
-
selector: '[
|
|
8620
|
-
host: {
|
|
8621
|
-
'(click)': 'handleClickOnHost($event)',
|
|
8622
|
-
'[class.owl-dt-trigger-disabled]': 'owlDTTriggerDisabledClass'
|
|
8623
|
-
}
|
|
8623
|
+
selector: '[ofeOwlDateTimeTrigger]'
|
|
8624
8624
|
}]
|
|
8625
8625
|
}], ctorParameters: function () { return [{ type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { dtPicker: [{
|
|
8626
8626
|
type: i0.Input,
|
|
8627
|
-
args: ['
|
|
8627
|
+
args: ['ofeOwlDateTimeTrigger']
|
|
8628
|
+
}], owlDTTriggerDisabledClass: [{
|
|
8629
|
+
type: i0.HostBinding,
|
|
8630
|
+
args: ['class.owl-dt-trigger-disabled']
|
|
8631
|
+
}], handleClickOnHost: [{
|
|
8632
|
+
type: i0.HostListener,
|
|
8633
|
+
args: ['click', ['$event']]
|
|
8628
8634
|
}], disabled: [{
|
|
8629
8635
|
type: i0.Input
|
|
8630
8636
|
}] } });
|
|
@@ -8668,22 +8674,22 @@
|
|
|
8668
8674
|
return NgxDatetimeComponent;
|
|
8669
8675
|
}());
|
|
8670
8676
|
NgxDatetimeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxDatetimeComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8671
|
-
NgxDatetimeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NgxDatetimeComponent, selector: "ngx-
|
|
8677
|
+
NgxDatetimeComponent.ɵcmp = i0__namespace.ɵɵ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: [
|
|
8672
8678
|
{
|
|
8673
|
-
provide:
|
|
8679
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
8674
8680
|
useExisting: i0.forwardRef(function () { return NgxDatetimeComponent; }),
|
|
8675
8681
|
multi: true
|
|
8676
8682
|
}
|
|
8677
|
-
], ngImport: i0__namespace, 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 [
|
|
8683
|
+
], ngImport: i0__namespace, 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__namespace.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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i19__namespace.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i19__namespace.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
8678
8684
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxDatetimeComponent, decorators: [{
|
|
8679
8685
|
type: i0.Component,
|
|
8680
8686
|
args: [{
|
|
8681
|
-
selector: 'ngx-
|
|
8687
|
+
selector: 'ofe-ngx-date-time-picker',
|
|
8682
8688
|
templateUrl: './ngx-datetime-picker.html',
|
|
8683
8689
|
styleUrls: ['./ngx-datetime-picker.css'],
|
|
8684
8690
|
providers: [
|
|
8685
8691
|
{
|
|
8686
|
-
provide:
|
|
8692
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
8687
8693
|
useExisting: i0.forwardRef(function () { return NgxDatetimeComponent; }),
|
|
8688
8694
|
multi: true
|
|
8689
8695
|
}
|
|
@@ -8757,7 +8763,7 @@
|
|
|
8757
8763
|
/**
|
|
8758
8764
|
* Emits event notifying other classes when a change in state occurs in the input.
|
|
8759
8765
|
*/
|
|
8760
|
-
this.
|
|
8766
|
+
this.numberChange = new i0.EventEmitter();
|
|
8761
8767
|
/**
|
|
8762
8768
|
* Sets the decrement label text
|
|
8763
8769
|
*/
|
|
@@ -8856,7 +8862,7 @@
|
|
|
8856
8862
|
var event = new NumberChangeEvent();
|
|
8857
8863
|
event.source = this;
|
|
8858
8864
|
event.value = this.value;
|
|
8859
|
-
this.
|
|
8865
|
+
this.numberChange.emit(event);
|
|
8860
8866
|
this.propagateChange(this.value);
|
|
8861
8867
|
};
|
|
8862
8868
|
NumberInputComponent.prototype.onNumberInputChange = function (event) {
|
|
@@ -8873,9 +8879,9 @@
|
|
|
8873
8879
|
*/
|
|
8874
8880
|
NumberInputComponent.numberCount = 0;
|
|
8875
8881
|
NumberInputComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8876
|
-
NumberInputComponent.ɵcmp = i0__namespace.ɵɵ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: {
|
|
8882
|
+
NumberInputComponent.ɵcmp = i0__namespace.ɵɵ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: [
|
|
8877
8883
|
{
|
|
8878
|
-
provide:
|
|
8884
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
8879
8885
|
useExisting: i0.forwardRef(function () { return NumberInputComponent; }),
|
|
8880
8886
|
multi: true
|
|
8881
8887
|
}
|
|
@@ -8883,11 +8889,11 @@
|
|
|
8883
8889
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputComponent, decorators: [{
|
|
8884
8890
|
type: i0.Component,
|
|
8885
8891
|
args: [{
|
|
8886
|
-
selector: 'number-input',
|
|
8892
|
+
selector: 'ofe-number-input',
|
|
8887
8893
|
templateUrl: 'number-input.component.html',
|
|
8888
8894
|
providers: [
|
|
8889
8895
|
{
|
|
8890
|
-
provide:
|
|
8896
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
8891
8897
|
useExisting: i0.forwardRef(function () { return NumberInputComponent; }),
|
|
8892
8898
|
multi: true
|
|
8893
8899
|
}
|
|
@@ -8927,7 +8933,7 @@
|
|
|
8927
8933
|
type: i0.Input
|
|
8928
8934
|
}], warnText: [{
|
|
8929
8935
|
type: i0.Input
|
|
8930
|
-
}],
|
|
8936
|
+
}], numberChange: [{
|
|
8931
8937
|
type: i0.Output
|
|
8932
8938
|
}], decrementLabel: [{
|
|
8933
8939
|
type: i0.Input
|
|
@@ -8953,7 +8959,6 @@
|
|
|
8953
8959
|
return option;
|
|
8954
8960
|
});
|
|
8955
8961
|
};
|
|
8956
|
-
RadioButtonControlComponent.prototype.ngAfterViewInit = function () { };
|
|
8957
8962
|
RadioButtonControlComponent.prototype.writeValue = function (value) { };
|
|
8958
8963
|
RadioButtonControlComponent.prototype.registerOnChange = function (fn) {
|
|
8959
8964
|
this.onChange = fn;
|
|
@@ -8992,9 +8997,9 @@
|
|
|
8992
8997
|
return RadioButtonControlComponent;
|
|
8993
8998
|
}());
|
|
8994
8999
|
RadioButtonControlComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioButtonControlComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8995
|
-
RadioButtonControlComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: RadioButtonControlComponent, selector: "radio", inputs: { id: "id", selected: "selected", options: "options", allowRadioUnselect: "allowRadioUnselect" }, providers: [
|
|
9000
|
+
RadioButtonControlComponent.ɵcmp = i0__namespace.ɵɵ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: [
|
|
8996
9001
|
{
|
|
8997
|
-
provide:
|
|
9002
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
8998
9003
|
useExisting: i0.forwardRef(function () { return RadioButtonControlComponent; }),
|
|
8999
9004
|
multi: true
|
|
9000
9005
|
}
|
|
@@ -9002,11 +9007,11 @@
|
|
|
9002
9007
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioButtonControlComponent, decorators: [{
|
|
9003
9008
|
type: i0.Component,
|
|
9004
9009
|
args: [{
|
|
9005
|
-
selector: 'radio',
|
|
9010
|
+
selector: 'ofe-radio-button',
|
|
9006
9011
|
templateUrl: './radio.component.html',
|
|
9007
9012
|
providers: [
|
|
9008
9013
|
{
|
|
9009
|
-
provide:
|
|
9014
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
9010
9015
|
useExisting: i0.forwardRef(function () { return RadioButtonControlComponent; }),
|
|
9011
9016
|
multi: true
|
|
9012
9017
|
}
|
|
@@ -9038,7 +9043,6 @@
|
|
|
9038
9043
|
return option;
|
|
9039
9044
|
});
|
|
9040
9045
|
};
|
|
9041
|
-
CheckboxControlComponent.prototype.ngAfterViewInit = function () { };
|
|
9042
9046
|
CheckboxControlComponent.prototype.writeValue = function (value) {
|
|
9043
9047
|
this.value = value;
|
|
9044
9048
|
};
|
|
@@ -9087,9 +9091,9 @@
|
|
|
9087
9091
|
return CheckboxControlComponent;
|
|
9088
9092
|
}());
|
|
9089
9093
|
CheckboxControlComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxControlComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9090
|
-
CheckboxControlComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CheckboxControlComponent, selector: "checkbox", inputs: { id: "id", options: "options", selected: "selected" }, providers: [
|
|
9094
|
+
CheckboxControlComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: CheckboxControlComponent, selector: "ofe-checkbox", inputs: { id: "id", options: "options", selected: "selected" }, providers: [
|
|
9091
9095
|
{
|
|
9092
|
-
provide:
|
|
9096
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
9093
9097
|
useExisting: i0.forwardRef(function () { return CheckboxControlComponent; }),
|
|
9094
9098
|
multi: true
|
|
9095
9099
|
}
|
|
@@ -9097,11 +9101,11 @@
|
|
|
9097
9101
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxControlComponent, decorators: [{
|
|
9098
9102
|
type: i0.Component,
|
|
9099
9103
|
args: [{
|
|
9100
|
-
selector: 'checkbox',
|
|
9104
|
+
selector: 'ofe-checkbox',
|
|
9101
9105
|
templateUrl: './checkbox.component.html',
|
|
9102
9106
|
providers: [
|
|
9103
9107
|
{
|
|
9104
|
-
provide:
|
|
9108
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
9105
9109
|
useExisting: i0.forwardRef(function () { return CheckboxControlComponent; }),
|
|
9106
9110
|
multi: true
|
|
9107
9111
|
}
|
|
@@ -9124,7 +9128,6 @@
|
|
|
9124
9128
|
this.appointments = [];
|
|
9125
9129
|
this.today = '';
|
|
9126
9130
|
}
|
|
9127
|
-
AppointmentsOverviewComponent.prototype.ngOnInit = function () { };
|
|
9128
9131
|
AppointmentsOverviewComponent.prototype.ngOnChanges = function () {
|
|
9129
9132
|
var _this = this;
|
|
9130
9133
|
this.node.control.valueChanges.subscribe(function (appointmentDate) {
|
|
@@ -9151,196 +9154,87 @@
|
|
|
9151
9154
|
.startOf('week')
|
|
9152
9155
|
.add(1, 'day')
|
|
9153
9156
|
.format('YYYY-MM-DD');
|
|
9154
|
-
var endDate = moment__default["default"](appointmentDate)
|
|
9155
|
-
.endOf('week')
|
|
9156
|
-
.subtract(1, 'day')
|
|
9157
|
-
.format('YYYY-MM-DD');
|
|
9158
|
-
_this.today = moment__default["default"](appointmentDate).format('DD-MM-YYYY');
|
|
9159
|
-
// create 5 week days
|
|
9160
|
-
var scheduledAppointments_1 = [];
|
|
9161
|
-
var programTypes = [
|
|
9162
|
-
'781d85b0-1359-11df-a1f1-0026b9348838',
|
|
9163
|
-
'781d897a-1359-11df-a1f1-0026b9348838',
|
|
9164
|
-
'96047aaf-7ab3-45e9-be6a-b61810fe617d',
|
|
9165
|
-
'c19aec66-1a40-4588-9b03-b6be55a8dd1d',
|
|
9166
|
-
'f7793d42-11ac-4cfd-9b35-e0a21a7a7c31',
|
|
9167
|
-
'334c9e98-173f-4454-a8ce-f80b20b7fdf0',
|
|
9168
|
-
'96ba279b-b23b-4e78-aba9-dcbd46a96b7b',
|
|
9169
|
-
'781d8880-1359-11df-a1f1-0026b9348838'
|
|
9170
|
-
];
|
|
9171
|
-
var programTypeParams = programTypes.join();
|
|
9172
|
-
for (var i = 1; i <= 5; i++) {
|
|
9173
|
-
scheduledAppointments_1.push({
|
|
9174
|
-
date: moment__default["default"](appointmentDate)
|
|
9175
|
-
.startOf('week')
|
|
9176
|
-
.add(i, 'day')
|
|
9177
|
-
.format('DD-MM-YYYY'),
|
|
9178
|
-
count: 0
|
|
9179
|
-
});
|
|
9180
|
-
}
|
|
9181
|
-
dataSource
|
|
9182
|
-
.getMonthlySchedule({
|
|
9183
|
-
startDate: startDate,
|
|
9184
|
-
endDate: endDate,
|
|
9185
|
-
limit: 5,
|
|
9186
|
-
locationUuids: locationUuid,
|
|
9187
|
-
programType: programTypeParams
|
|
9188
|
-
})
|
|
9189
|
-
.subscribe(function (_c) {
|
|
9190
|
-
var results = _c.results;
|
|
9191
|
-
_this.appointmentsLoaded = true;
|
|
9192
|
-
_this.loadingAppointments = false;
|
|
9193
|
-
scheduledAppointments_1.map(function (appointment, index) {
|
|
9194
|
-
appointment.count =
|
|
9195
|
-
results[index] !== undefined
|
|
9196
|
-
? results[index].count.scheduled
|
|
9197
|
-
: 0;
|
|
9198
|
-
});
|
|
9199
|
-
_this.appointments = scheduledAppointments_1;
|
|
9200
|
-
}, function (error) {
|
|
9201
|
-
_this.loadingAppointments = false;
|
|
9202
|
-
_this.errorLoadingAppointments = true;
|
|
9203
|
-
_this.showAppointments = false;
|
|
9204
|
-
console.error(error);
|
|
9205
|
-
});
|
|
9206
|
-
}
|
|
9207
|
-
else {
|
|
9208
|
-
_this.showAppointments = false;
|
|
9209
|
-
_this.errorLoadingAppointments = true;
|
|
9210
|
-
}
|
|
9211
|
-
}
|
|
9212
|
-
}
|
|
9213
|
-
});
|
|
9214
|
-
};
|
|
9215
|
-
AppointmentsOverviewComponent.prototype.resetProperties = function () {
|
|
9216
|
-
this.loadingAppointments = false;
|
|
9217
|
-
this.appointmentsLoaded = false;
|
|
9218
|
-
this.errorLoadingAppointments = false;
|
|
9219
|
-
this.showAppointments = false;
|
|
9220
|
-
this.appointments = [];
|
|
9221
|
-
this.today = '';
|
|
9222
|
-
};
|
|
9223
|
-
return AppointmentsOverviewComponent;
|
|
9224
|
-
}());
|
|
9225
|
-
AppointmentsOverviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppointmentsOverviewComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9226
|
-
AppointmentsOverviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppointmentsOverviewComponent, selector: "appointments-overview", inputs: { node: "node" }, usesOnChanges: true, ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
9227
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppointmentsOverviewComponent, decorators: [{
|
|
9228
|
-
type: i0.Component,
|
|
9229
|
-
args: [{
|
|
9230
|
-
selector: 'appointments-overview',
|
|
9231
|
-
templateUrl: './appointments-overview.component.html',
|
|
9232
|
-
styleUrls: ['./appointments-overview.component.css']
|
|
9233
|
-
}]
|
|
9234
|
-
}], ctorParameters: function () { return []; }, propDecorators: { node: [{
|
|
9235
|
-
type: i0.Input
|
|
9236
|
-
}] } });
|
|
9237
|
-
|
|
9238
|
-
var HistoricalFieldHelperService = /** @class */ (function () {
|
|
9239
|
-
function HistoricalFieldHelperService() {
|
|
9240
|
-
}
|
|
9241
|
-
HistoricalFieldHelperService.prototype.getDisplayTextFromOptions = function (question, valueProperty, displayProperty) {
|
|
9242
|
-
var displayText = '';
|
|
9243
|
-
var historicalValue = question.historicalDataValue;
|
|
9244
|
-
if (___namespace.isArray(historicalValue.value)) {
|
|
9245
|
-
var valueConverted_1 = 0;
|
|
9246
|
-
___namespace.each(historicalValue.value, function (val) {
|
|
9247
|
-
___namespace.each(question.options, function (option) {
|
|
9248
|
-
if (option[valueProperty] === val) {
|
|
9249
|
-
if (valueConverted_1 === 0) {
|
|
9250
|
-
displayText = displayText + option[displayProperty];
|
|
9251
|
-
}
|
|
9252
|
-
else {
|
|
9253
|
-
displayText = displayText + ', ' + option[displayProperty];
|
|
9254
|
-
}
|
|
9255
|
-
valueConverted_1++;
|
|
9256
|
-
}
|
|
9257
|
-
});
|
|
9258
|
-
});
|
|
9259
|
-
}
|
|
9260
|
-
else {
|
|
9261
|
-
___namespace.each(question.options, function (option) {
|
|
9262
|
-
if (option[valueProperty] === historicalValue.value) {
|
|
9263
|
-
displayText = option[displayProperty];
|
|
9264
|
-
}
|
|
9265
|
-
});
|
|
9266
|
-
}
|
|
9267
|
-
return displayText;
|
|
9268
|
-
};
|
|
9269
|
-
return HistoricalFieldHelperService;
|
|
9270
|
-
}());
|
|
9271
|
-
HistoricalFieldHelperService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalFieldHelperService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9272
|
-
HistoricalFieldHelperService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalFieldHelperService });
|
|
9273
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalFieldHelperService, decorators: [{
|
|
9274
|
-
type: i0.Injectable
|
|
9275
|
-
}] });
|
|
9276
|
-
|
|
9277
|
-
var HistoricalValueDirective = /** @class */ (function () {
|
|
9278
|
-
function HistoricalValueDirective(historicalFieldHelper) {
|
|
9279
|
-
this.historicalFieldHelper = historicalFieldHelper;
|
|
9280
|
-
this._nodeChange = new i0.EventEmitter();
|
|
9281
|
-
}
|
|
9282
|
-
HistoricalValueDirective.prototype.setValue = function (e) {
|
|
9283
|
-
if (e.target.name === 'historyValue') {
|
|
9284
|
-
if (this._node &&
|
|
9285
|
-
(!this.compareString(this._node.question.renderingType, 'page') ||
|
|
9286
|
-
!this.compareString(this._node.question.renderingType, 'section'))) {
|
|
9287
|
-
this._node.control.setValue(this._node.question.historicalDataValue.value);
|
|
9288
|
-
this._node.question['historicalValue'] = this._node.question.historicalDataValue;
|
|
9289
|
-
e.stopPropagation();
|
|
9290
|
-
this._nodeChange.emit(this._node);
|
|
9291
|
-
}
|
|
9292
|
-
}
|
|
9293
|
-
};
|
|
9294
|
-
HistoricalValueDirective.prototype.compareString = function (a, b) {
|
|
9295
|
-
if (a === b) {
|
|
9296
|
-
return true;
|
|
9297
|
-
}
|
|
9298
|
-
else {
|
|
9299
|
-
return false;
|
|
9300
|
-
}
|
|
9301
|
-
};
|
|
9302
|
-
Object.defineProperty(HistoricalValueDirective.prototype, "node", {
|
|
9303
|
-
set: function (node) {
|
|
9304
|
-
if (node) {
|
|
9305
|
-
this._node = node;
|
|
9306
|
-
if (this._node.question.enableHistoricalValue &&
|
|
9307
|
-
!___namespace.isUndefined(this._node.question.historicalDataValue)) {
|
|
9308
|
-
var display = { text: '', _date: '' };
|
|
9309
|
-
if (this._node.question.renderingType === 'select' ||
|
|
9310
|
-
this._node.question.renderingType === 'multi-select' ||
|
|
9311
|
-
this._node.question.renderingType === 'single-select') {
|
|
9312
|
-
display.text = this.historicalFieldHelper.getDisplayTextFromOptions(this._node.question, 'value', 'label');
|
|
9313
|
-
display._date = this._node.question.historicalDataValue.valueDate;
|
|
9314
|
-
this._node.question['historicalDisplay'] = display;
|
|
9157
|
+
var endDate = moment__default["default"](appointmentDate)
|
|
9158
|
+
.endOf('week')
|
|
9159
|
+
.subtract(1, 'day')
|
|
9160
|
+
.format('YYYY-MM-DD');
|
|
9161
|
+
_this.today = moment__default["default"](appointmentDate).format('DD-MM-YYYY');
|
|
9162
|
+
// create 5 week days
|
|
9163
|
+
var scheduledAppointments_1 = [];
|
|
9164
|
+
var programTypes = [
|
|
9165
|
+
'781d85b0-1359-11df-a1f1-0026b9348838',
|
|
9166
|
+
'781d897a-1359-11df-a1f1-0026b9348838',
|
|
9167
|
+
'96047aaf-7ab3-45e9-be6a-b61810fe617d',
|
|
9168
|
+
'c19aec66-1a40-4588-9b03-b6be55a8dd1d',
|
|
9169
|
+
'f7793d42-11ac-4cfd-9b35-e0a21a7a7c31',
|
|
9170
|
+
'334c9e98-173f-4454-a8ce-f80b20b7fdf0',
|
|
9171
|
+
'96ba279b-b23b-4e78-aba9-dcbd46a96b7b',
|
|
9172
|
+
'781d8880-1359-11df-a1f1-0026b9348838'
|
|
9173
|
+
];
|
|
9174
|
+
var programTypeParams = programTypes.join();
|
|
9175
|
+
for (var i = 1; i <= 5; i++) {
|
|
9176
|
+
scheduledAppointments_1.push({
|
|
9177
|
+
date: moment__default["default"](appointmentDate)
|
|
9178
|
+
.startOf('week')
|
|
9179
|
+
.add(i, 'day')
|
|
9180
|
+
.format('DD-MM-YYYY'),
|
|
9181
|
+
count: 0
|
|
9182
|
+
});
|
|
9183
|
+
}
|
|
9184
|
+
dataSource
|
|
9185
|
+
.getMonthlySchedule({
|
|
9186
|
+
startDate: startDate,
|
|
9187
|
+
endDate: endDate,
|
|
9188
|
+
limit: 5,
|
|
9189
|
+
locationUuids: locationUuid,
|
|
9190
|
+
programType: programTypeParams
|
|
9191
|
+
})
|
|
9192
|
+
.subscribe(function (_c) {
|
|
9193
|
+
var results = _c.results;
|
|
9194
|
+
_this.appointmentsLoaded = true;
|
|
9195
|
+
_this.loadingAppointments = false;
|
|
9196
|
+
scheduledAppointments_1.map(function (appointment, index) {
|
|
9197
|
+
appointment.count =
|
|
9198
|
+
results[index] !== undefined
|
|
9199
|
+
? results[index].count.scheduled
|
|
9200
|
+
: 0;
|
|
9201
|
+
});
|
|
9202
|
+
_this.appointments = scheduledAppointments_1;
|
|
9203
|
+
}, function (error) {
|
|
9204
|
+
_this.loadingAppointments = false;
|
|
9205
|
+
_this.errorLoadingAppointments = true;
|
|
9206
|
+
_this.showAppointments = false;
|
|
9207
|
+
console.error(error);
|
|
9208
|
+
});
|
|
9315
9209
|
}
|
|
9316
|
-
else
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
this._node.question['historicalDisplay'] = display;
|
|
9210
|
+
else {
|
|
9211
|
+
_this.showAppointments = false;
|
|
9212
|
+
_this.errorLoadingAppointments = true;
|
|
9320
9213
|
}
|
|
9321
9214
|
}
|
|
9322
9215
|
}
|
|
9323
|
-
}
|
|
9324
|
-
|
|
9325
|
-
|
|
9326
|
-
|
|
9327
|
-
|
|
9216
|
+
});
|
|
9217
|
+
};
|
|
9218
|
+
AppointmentsOverviewComponent.prototype.resetProperties = function () {
|
|
9219
|
+
this.loadingAppointments = false;
|
|
9220
|
+
this.appointmentsLoaded = false;
|
|
9221
|
+
this.errorLoadingAppointments = false;
|
|
9222
|
+
this.showAppointments = false;
|
|
9223
|
+
this.appointments = [];
|
|
9224
|
+
this.today = '';
|
|
9225
|
+
};
|
|
9226
|
+
return AppointmentsOverviewComponent;
|
|
9328
9227
|
}());
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
9332
|
-
type: i0.
|
|
9228
|
+
AppointmentsOverviewComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppointmentsOverviewComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9229
|
+
AppointmentsOverviewComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AppointmentsOverviewComponent, selector: "ofe-appointments-overview", inputs: { node: "node" }, usesOnChanges: true, ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
9230
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AppointmentsOverviewComponent, decorators: [{
|
|
9231
|
+
type: i0.Component,
|
|
9333
9232
|
args: [{
|
|
9334
|
-
selector:
|
|
9233
|
+
selector: 'ofe-appointments-overview',
|
|
9234
|
+
templateUrl: './appointments-overview.component.html',
|
|
9235
|
+
styleUrls: ['./appointments-overview.component.css']
|
|
9335
9236
|
}]
|
|
9336
|
-
}], ctorParameters: function () { return [
|
|
9337
|
-
type: i0.Input
|
|
9338
|
-
}], _nodeChange: [{
|
|
9339
|
-
type: i0.Output
|
|
9340
|
-
}], setValue: [{
|
|
9341
|
-
type: i0.HostListener,
|
|
9342
|
-
args: ['click', ['$event']]
|
|
9343
|
-
}], node: [{
|
|
9237
|
+
}], ctorParameters: function () { return []; }, propDecorators: { node: [{
|
|
9344
9238
|
type: i0.Input
|
|
9345
9239
|
}] } });
|
|
9346
9240
|
|
|
@@ -9358,6 +9252,7 @@
|
|
|
9358
9252
|
function CollapseDirective(_el, _renderer, _builder) {
|
|
9359
9253
|
this._el = _el;
|
|
9360
9254
|
this._renderer = _renderer;
|
|
9255
|
+
// @HostBinding('class.collapse')
|
|
9361
9256
|
/** This event fires as soon as content collapses */
|
|
9362
9257
|
this.collapsed = new i0.EventEmitter();
|
|
9363
9258
|
/** This event fires when collapsing is started */
|
|
@@ -9491,16 +9386,12 @@
|
|
|
9491
9386
|
return CollapseDirective;
|
|
9492
9387
|
}());
|
|
9493
9388
|
CollapseDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CollapseDirective, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.Renderer2 }, { token: i1__namespace$6.AnimationBuilder }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
9494
|
-
CollapseDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CollapseDirective, selector: "[
|
|
9389
|
+
CollapseDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
9495
9390
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CollapseDirective, decorators: [{
|
|
9496
9391
|
type: i0.Directive,
|
|
9497
9392
|
args: [{
|
|
9498
|
-
selector: '[
|
|
9499
|
-
exportAs: 'bs-collapse'
|
|
9500
|
-
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
9501
|
-
host: {
|
|
9502
|
-
'[class.collapse]': 'true'
|
|
9503
|
-
}
|
|
9393
|
+
selector: '[ofeCollapse]',
|
|
9394
|
+
exportAs: 'bs-collapse'
|
|
9504
9395
|
}]
|
|
9505
9396
|
}], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.Renderer2 }, { type: i1__namespace$6.AnimationBuilder }]; }, propDecorators: { collapsed: [{
|
|
9506
9397
|
type: i0.Output
|
|
@@ -9536,40 +9427,19 @@
|
|
|
9536
9427
|
type: i0.Input
|
|
9537
9428
|
}] } });
|
|
9538
9429
|
|
|
9539
|
-
/* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
|
|
9540
|
-
var Option$1 = /** @class */ (function () {
|
|
9541
|
-
function Option() {
|
|
9542
|
-
this.inputClass = 'cds--select-option';
|
|
9543
|
-
}
|
|
9544
|
-
return Option;
|
|
9545
|
-
}());
|
|
9546
|
-
Option$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Option$1, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
9547
|
-
Option$1.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: Option$1, selector: "option", host: { properties: { "class": "this.inputClass" } }, ngImport: i0__namespace });
|
|
9548
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: Option$1, decorators: [{
|
|
9549
|
-
type: i0.Directive,
|
|
9550
|
-
args: [{
|
|
9551
|
-
// eslint-disable-next-line
|
|
9552
|
-
selector: 'option'
|
|
9553
|
-
}]
|
|
9554
|
-
}], propDecorators: { inputClass: [{
|
|
9555
|
-
type: i0.HostBinding,
|
|
9556
|
-
args: ['class']
|
|
9557
|
-
}] } });
|
|
9558
|
-
|
|
9559
|
-
/* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
|
|
9560
9430
|
/**
|
|
9561
9431
|
* A directive for applying styling to a textarea element.
|
|
9562
9432
|
*
|
|
9563
9433
|
* Example:
|
|
9564
9434
|
*
|
|
9565
9435
|
* ```html
|
|
9566
|
-
* <textarea
|
|
9436
|
+
* <textarea ofeTextAreaInput></textarea>
|
|
9567
9437
|
* ```
|
|
9568
9438
|
*
|
|
9569
9439
|
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
|
|
9570
9440
|
*/
|
|
9571
|
-
var
|
|
9572
|
-
function
|
|
9441
|
+
var TextAreaDirective = /** @class */ (function () {
|
|
9442
|
+
function TextAreaDirective() {
|
|
9573
9443
|
/**
|
|
9574
9444
|
* `light` or `dark` input theme
|
|
9575
9445
|
*/
|
|
@@ -9578,21 +9448,21 @@
|
|
|
9578
9448
|
this.invalid = false;
|
|
9579
9449
|
this.skeleton = false;
|
|
9580
9450
|
}
|
|
9581
|
-
Object.defineProperty(
|
|
9451
|
+
Object.defineProperty(TextAreaDirective.prototype, "isLightTheme", {
|
|
9582
9452
|
get: function () {
|
|
9583
9453
|
return this.theme === 'light';
|
|
9584
9454
|
},
|
|
9585
9455
|
enumerable: false,
|
|
9586
9456
|
configurable: true
|
|
9587
9457
|
});
|
|
9588
|
-
return
|
|
9458
|
+
return TextAreaDirective;
|
|
9589
9459
|
}());
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
9460
|
+
TextAreaDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextAreaDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
9461
|
+
TextAreaDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
9462
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextAreaDirective, decorators: [{
|
|
9593
9463
|
type: i0.Directive,
|
|
9594
9464
|
args: [{
|
|
9595
|
-
selector: '[
|
|
9465
|
+
selector: '[ofeTextAreaInput]'
|
|
9596
9466
|
}]
|
|
9597
9467
|
}], propDecorators: { theme: [{
|
|
9598
9468
|
type: i0.Input
|
|
@@ -9614,20 +9484,19 @@
|
|
|
9614
9484
|
args: ['class.cds--text-area--light']
|
|
9615
9485
|
}] } });
|
|
9616
9486
|
|
|
9617
|
-
/* eslint-disable @angular-eslint/component-class-suffix, @angular-eslint/directive-class-suffix */
|
|
9618
9487
|
/**
|
|
9619
9488
|
* A directive for applying styling to an input element.
|
|
9620
9489
|
*
|
|
9621
9490
|
* Example:
|
|
9622
9491
|
*
|
|
9623
9492
|
* ```html
|
|
9624
|
-
* <input
|
|
9493
|
+
* <input ofeTextInput/>
|
|
9625
9494
|
* ```
|
|
9626
9495
|
*
|
|
9627
9496
|
* See the [vanilla carbon docs](http://www.carbondesignsystem.com/components/text-input/code) for more detail.
|
|
9628
9497
|
*/
|
|
9629
|
-
var
|
|
9630
|
-
function
|
|
9498
|
+
var TextInputDirective = /** @class */ (function () {
|
|
9499
|
+
function TextInputDirective() {
|
|
9631
9500
|
/**
|
|
9632
9501
|
* `light` or `dark` input theme
|
|
9633
9502
|
*/
|
|
@@ -9641,35 +9510,35 @@
|
|
|
9641
9510
|
this.warn = false;
|
|
9642
9511
|
this.skeleton = false;
|
|
9643
9512
|
}
|
|
9644
|
-
Object.defineProperty(
|
|
9513
|
+
Object.defineProperty(TextInputDirective.prototype, "isSizeXl", {
|
|
9645
9514
|
get: function () {
|
|
9646
9515
|
return this.size === 'xl';
|
|
9647
9516
|
},
|
|
9648
9517
|
enumerable: false,
|
|
9649
9518
|
configurable: true
|
|
9650
9519
|
});
|
|
9651
|
-
Object.defineProperty(
|
|
9520
|
+
Object.defineProperty(TextInputDirective.prototype, "isSizeSm", {
|
|
9652
9521
|
get: function () {
|
|
9653
9522
|
return this.size === 'sm';
|
|
9654
9523
|
},
|
|
9655
9524
|
enumerable: false,
|
|
9656
9525
|
configurable: true
|
|
9657
9526
|
});
|
|
9658
|
-
Object.defineProperty(
|
|
9527
|
+
Object.defineProperty(TextInputDirective.prototype, "isLightTheme", {
|
|
9659
9528
|
get: function () {
|
|
9660
9529
|
return this.theme === 'light';
|
|
9661
9530
|
},
|
|
9662
9531
|
enumerable: false,
|
|
9663
9532
|
configurable: true
|
|
9664
9533
|
});
|
|
9665
|
-
return
|
|
9534
|
+
return TextInputDirective;
|
|
9666
9535
|
}());
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
9536
|
+
TextInputDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextInputDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
9537
|
+
TextInputDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
9538
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextInputDirective, decorators: [{
|
|
9670
9539
|
type: i0.Directive,
|
|
9671
9540
|
args: [{
|
|
9672
|
-
selector: '[
|
|
9541
|
+
selector: '[ofeTextInput]'
|
|
9673
9542
|
}]
|
|
9674
9543
|
}], propDecorators: { theme: [{
|
|
9675
9544
|
type: i0.Input
|
|
@@ -9704,6 +9573,115 @@
|
|
|
9704
9573
|
args: ['class.cds--text-input--light']
|
|
9705
9574
|
}] } });
|
|
9706
9575
|
|
|
9576
|
+
var HistoricalFieldHelperService = /** @class */ (function () {
|
|
9577
|
+
function HistoricalFieldHelperService() {
|
|
9578
|
+
}
|
|
9579
|
+
HistoricalFieldHelperService.prototype.getDisplayTextFromOptions = function (question, valueProperty, displayProperty) {
|
|
9580
|
+
var displayText = '';
|
|
9581
|
+
var historicalValue = question.historicalDataValue;
|
|
9582
|
+
if (___namespace.isArray(historicalValue.value)) {
|
|
9583
|
+
var valueConverted_1 = 0;
|
|
9584
|
+
___namespace.each(historicalValue.value, function (val) {
|
|
9585
|
+
___namespace.each(question.options, function (option) {
|
|
9586
|
+
if (option[valueProperty] === val) {
|
|
9587
|
+
if (valueConverted_1 === 0) {
|
|
9588
|
+
displayText = displayText + option[displayProperty];
|
|
9589
|
+
}
|
|
9590
|
+
else {
|
|
9591
|
+
displayText = displayText + ', ' + option[displayProperty];
|
|
9592
|
+
}
|
|
9593
|
+
valueConverted_1++;
|
|
9594
|
+
}
|
|
9595
|
+
});
|
|
9596
|
+
});
|
|
9597
|
+
}
|
|
9598
|
+
else {
|
|
9599
|
+
___namespace.each(question.options, function (option) {
|
|
9600
|
+
if (option[valueProperty] === historicalValue.value) {
|
|
9601
|
+
displayText = option[displayProperty];
|
|
9602
|
+
}
|
|
9603
|
+
});
|
|
9604
|
+
}
|
|
9605
|
+
return displayText;
|
|
9606
|
+
};
|
|
9607
|
+
return HistoricalFieldHelperService;
|
|
9608
|
+
}());
|
|
9609
|
+
HistoricalFieldHelperService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalFieldHelperService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
9610
|
+
HistoricalFieldHelperService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalFieldHelperService });
|
|
9611
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalFieldHelperService, decorators: [{
|
|
9612
|
+
type: i0.Injectable
|
|
9613
|
+
}] });
|
|
9614
|
+
|
|
9615
|
+
var HistoricalValueDirective = /** @class */ (function () {
|
|
9616
|
+
function HistoricalValueDirective(historicalFieldHelper) {
|
|
9617
|
+
this.historicalFieldHelper = historicalFieldHelper;
|
|
9618
|
+
this._nodeChange = new i0.EventEmitter();
|
|
9619
|
+
}
|
|
9620
|
+
HistoricalValueDirective.prototype.setValue = function (e) {
|
|
9621
|
+
if (e.target.name === 'historyValue') {
|
|
9622
|
+
if (this._node &&
|
|
9623
|
+
(!this.compareString(this._node.question.renderingType, 'page') ||
|
|
9624
|
+
!this.compareString(this._node.question.renderingType, 'section'))) {
|
|
9625
|
+
this._node.control.setValue(this._node.question.historicalDataValue.value);
|
|
9626
|
+
this._node.question['historicalValue'] = this._node.question.historicalDataValue;
|
|
9627
|
+
e.stopPropagation();
|
|
9628
|
+
this._nodeChange.emit(this._node);
|
|
9629
|
+
}
|
|
9630
|
+
}
|
|
9631
|
+
};
|
|
9632
|
+
HistoricalValueDirective.prototype.compareString = function (a, b) {
|
|
9633
|
+
if (a === b) {
|
|
9634
|
+
return true;
|
|
9635
|
+
}
|
|
9636
|
+
else {
|
|
9637
|
+
return false;
|
|
9638
|
+
}
|
|
9639
|
+
};
|
|
9640
|
+
Object.defineProperty(HistoricalValueDirective.prototype, "node", {
|
|
9641
|
+
set: function (node) {
|
|
9642
|
+
if (node) {
|
|
9643
|
+
this._node = node;
|
|
9644
|
+
if (this._node.question.enableHistoricalValue &&
|
|
9645
|
+
!___namespace.isUndefined(this._node.question.historicalDataValue)) {
|
|
9646
|
+
var display = { text: '', _date: '' };
|
|
9647
|
+
if (this._node.question.renderingType === 'select' ||
|
|
9648
|
+
this._node.question.renderingType === 'multi-select' ||
|
|
9649
|
+
this._node.question.renderingType === 'single-select') {
|
|
9650
|
+
display.text = this.historicalFieldHelper.getDisplayTextFromOptions(this._node.question, 'value', 'label');
|
|
9651
|
+
display._date = this._node.question.historicalDataValue.valueDate;
|
|
9652
|
+
this._node.question['historicalDisplay'] = display;
|
|
9653
|
+
}
|
|
9654
|
+
else if (!___namespace.isUndefined(this._node.question.historicalDataValue)) {
|
|
9655
|
+
display.text = this._node.question.historicalDataValue.value;
|
|
9656
|
+
display._date = this._node.question.historicalDataValue.valueDate;
|
|
9657
|
+
this._node.question['historicalDisplay'] = display;
|
|
9658
|
+
}
|
|
9659
|
+
}
|
|
9660
|
+
}
|
|
9661
|
+
},
|
|
9662
|
+
enumerable: false,
|
|
9663
|
+
configurable: true
|
|
9664
|
+
});
|
|
9665
|
+
return HistoricalValueDirective;
|
|
9666
|
+
}());
|
|
9667
|
+
HistoricalValueDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalValueDirective, deps: [{ token: HistoricalFieldHelperService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
9668
|
+
HistoricalValueDirective.ɵdir = i0__namespace.ɵɵ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__namespace });
|
|
9669
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: HistoricalValueDirective, decorators: [{
|
|
9670
|
+
type: i0.Directive,
|
|
9671
|
+
args: [{
|
|
9672
|
+
selector: "[ofeNode]"
|
|
9673
|
+
}]
|
|
9674
|
+
}], ctorParameters: function () { return [{ type: HistoricalFieldHelperService }]; }, propDecorators: { _node: [{
|
|
9675
|
+
type: i0.Input
|
|
9676
|
+
}], _nodeChange: [{
|
|
9677
|
+
type: i0.Output
|
|
9678
|
+
}], setValue: [{
|
|
9679
|
+
type: i0.HostListener,
|
|
9680
|
+
args: ['click', ['$event']]
|
|
9681
|
+
}], node: [{
|
|
9682
|
+
type: i0.Input
|
|
9683
|
+
}] } });
|
|
9684
|
+
|
|
9707
9685
|
var FormRendererComponent = /** @class */ (function () {
|
|
9708
9686
|
function FormRendererComponent(validationFactory, dataSources, formErrorsService, document) {
|
|
9709
9687
|
this.validationFactory = validationFactory;
|
|
@@ -9913,11 +9891,11 @@
|
|
|
9913
9891
|
return FormRendererComponent;
|
|
9914
9892
|
}());
|
|
9915
9893
|
FormRendererComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormRendererComponent, deps: [{ token: ValidationFactory }, { token: DataSources }, { token: FormErrorsService }, { token: i1.DOCUMENT }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9916
|
-
FormRendererComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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\">×</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__namespace$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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: HistoricalValueDirective, selector: "[node]", inputs: ["_node", "node"], outputs: ["_nodeChange"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: CollapseDirective, selector: "[collapse]", inputs: ["display", "isAnimated", "collapse"], outputs: ["collapsed", "collapses", "expanded", "expands"], exportAs: ["bs-collapse"] }, { type: i20__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i20__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i20__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i20__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i20__namespace.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i20__namespace.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: Option$1, selector: "option" }, { type: i20__namespace.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__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: TextInput, selector: "[ibmText]", inputs: ["theme", "size", "invalid", "warn", "skeleton"] }], pipes: { "date": i1__namespace.DatePipe, "timeAgo": TimeAgoPipe } });
|
|
9894
|
+
FormRendererComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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\">×</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__namespace$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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: CollapseDirective, selector: "[ofeCollapse]", inputs: ["display", "isAnimated", "collapse"], outputs: ["collapsed", "collapses", "expanded", "expands"], exportAs: ["bs-collapse"] }, { type: i19__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i19__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i19__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i19__namespace.FormControlName, selector: "[formControlName]", inputs: ["disabled", "formControlName", "ngModel"], outputs: ["ngModelChange"] }, { type: i1__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i19__namespace.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i19__namespace.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i19__namespace.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__namespace.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__namespace.DatePipe, "timeAgo": TimeAgoPipe } });
|
|
9917
9895
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormRendererComponent, decorators: [{
|
|
9918
9896
|
type: i0.Component,
|
|
9919
9897
|
args: [{
|
|
9920
|
-
selector: 'form-renderer',
|
|
9898
|
+
selector: 'ofe-form-renderer',
|
|
9921
9899
|
templateUrl: 'form-renderer.component.html',
|
|
9922
9900
|
styleUrls: ['../../style/app.css', './form-renderer.component.css']
|
|
9923
9901
|
}]
|
|
@@ -9945,7 +9923,6 @@
|
|
|
9945
9923
|
this.validationFactory = validationFactory;
|
|
9946
9924
|
this.formErrorsService = formErrorsService;
|
|
9947
9925
|
}
|
|
9948
|
-
ErrorRendererComponent.prototype.ngOnInit = function () { };
|
|
9949
9926
|
ErrorRendererComponent.prototype.showErrors = function () {
|
|
9950
9927
|
return !this.form.valid && this.form.showErrors;
|
|
9951
9928
|
};
|
|
@@ -9982,11 +9959,11 @@
|
|
|
9982
9959
|
return ErrorRendererComponent;
|
|
9983
9960
|
}());
|
|
9984
9961
|
ErrorRendererComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ErrorRendererComponent, deps: [{ token: ValidationFactory }, { token: FormErrorsService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
9985
|
-
ErrorRendererComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ErrorRendererComponent, selector: "error-renderer", inputs: { form: "form" }, ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
9962
|
+
ErrorRendererComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ErrorRendererComponent, selector: "ofe-error-renderer", inputs: { form: "form" }, ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
9986
9963
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ErrorRendererComponent, decorators: [{
|
|
9987
9964
|
type: i0.Component,
|
|
9988
9965
|
args: [{
|
|
9989
|
-
selector: 'error-renderer',
|
|
9966
|
+
selector: 'ofe-error-renderer',
|
|
9990
9967
|
templateUrl: 'error-renderer.component.html',
|
|
9991
9968
|
styleUrls: ['./error-renderer.component.css']
|
|
9992
9969
|
}]
|
|
@@ -10000,12 +9977,12 @@
|
|
|
10000
9977
|
return NumberInputModule;
|
|
10001
9978
|
}());
|
|
10002
9979
|
NumberInputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
10003
|
-
NumberInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputModule, declarations: [NumberInputComponent], imports: [i1.CommonModule,
|
|
10004
|
-
NumberInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputModule, providers: [], imports: [[i1.CommonModule,
|
|
9980
|
+
NumberInputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputModule, declarations: [NumberInputComponent], imports: [i1.CommonModule, i19.FormsModule], exports: [NumberInputComponent] });
|
|
9981
|
+
NumberInputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputModule, providers: [], imports: [[i1.CommonModule, i19.FormsModule]] });
|
|
10005
9982
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NumberInputModule, decorators: [{
|
|
10006
9983
|
type: i0.NgModule,
|
|
10007
9984
|
args: [{
|
|
10008
|
-
imports: [i1.CommonModule,
|
|
9985
|
+
imports: [i1.CommonModule, i19.FormsModule],
|
|
10009
9986
|
exports: [NumberInputComponent],
|
|
10010
9987
|
declarations: [NumberInputComponent],
|
|
10011
9988
|
providers: []
|
|
@@ -10037,13 +10014,13 @@
|
|
|
10037
10014
|
}());
|
|
10038
10015
|
RemoteFileUploadModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RemoteFileUploadModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
10039
10016
|
RemoteFileUploadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RemoteFileUploadModule, declarations: [FileUploadComponent], imports: [i1.CommonModule,
|
|
10040
|
-
|
|
10017
|
+
i19.FormsModule,
|
|
10041
10018
|
SharedModule,
|
|
10042
10019
|
ngxWebcam.WebcamModule,
|
|
10043
10020
|
i1$2.NgxFileUploaderModule], exports: [FileUploadComponent] });
|
|
10044
10021
|
RemoteFileUploadModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RemoteFileUploadModule, providers: [], imports: [[
|
|
10045
10022
|
i1.CommonModule,
|
|
10046
|
-
|
|
10023
|
+
i19.FormsModule,
|
|
10047
10024
|
SharedModule,
|
|
10048
10025
|
ngxWebcam.WebcamModule,
|
|
10049
10026
|
i1$2.NgxFileUploaderModule
|
|
@@ -10053,7 +10030,7 @@
|
|
|
10053
10030
|
args: [{
|
|
10054
10031
|
imports: [
|
|
10055
10032
|
i1.CommonModule,
|
|
10056
|
-
|
|
10033
|
+
i19.FormsModule,
|
|
10057
10034
|
SharedModule,
|
|
10058
10035
|
ngxWebcam.WebcamModule,
|
|
10059
10036
|
i1$2.NgxFileUploaderModule
|
|
@@ -10072,26 +10049,25 @@
|
|
|
10072
10049
|
// webpack2_
|
|
10073
10050
|
var ModalComponent = /** @class */ (function () {
|
|
10074
10051
|
function ModalComponent() {
|
|
10075
|
-
this.
|
|
10052
|
+
this.overlayClick = new i0.EventEmitter();
|
|
10076
10053
|
}
|
|
10077
|
-
ModalComponent.prototype.ngOnInit = function () { };
|
|
10078
10054
|
ModalComponent.prototype.closeModal = function () {
|
|
10079
|
-
this.
|
|
10055
|
+
this.overlayClick.emit(false);
|
|
10080
10056
|
};
|
|
10081
10057
|
return ModalComponent;
|
|
10082
10058
|
}());
|
|
10083
10059
|
ModalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ModalComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
10084
|
-
ModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ModalComponent, selector: "picker-modal", outputs: {
|
|
10060
|
+
ModalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ModalComponent, selector: "ofe-picker-modal", outputs: { overlayClick: "overlayClick" }, ngImport: i0__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
10085
10061
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ModalComponent, decorators: [{
|
|
10086
10062
|
type: i0.Component,
|
|
10087
10063
|
args: [{
|
|
10088
|
-
selector: 'picker-modal',
|
|
10064
|
+
selector: 'ofe-picker-modal',
|
|
10089
10065
|
templateUrl: './modal.component.html',
|
|
10090
10066
|
styleUrls: ['./modal.component.css'],
|
|
10091
10067
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
10092
10068
|
animations: []
|
|
10093
10069
|
}]
|
|
10094
|
-
}], ctorParameters: function () { return []; }, propDecorators: {
|
|
10070
|
+
}], ctorParameters: function () { return []; }, propDecorators: { overlayClick: [{
|
|
10095
10071
|
type: i0.Output
|
|
10096
10072
|
}] } });
|
|
10097
10073
|
|
|
@@ -10124,8 +10100,8 @@
|
|
|
10124
10100
|
this.locale = 'en';
|
|
10125
10101
|
this.viewFormat = 'll';
|
|
10126
10102
|
this.returnObject = 'js';
|
|
10127
|
-
this.
|
|
10128
|
-
this.
|
|
10103
|
+
this.datePickerCancel = new i0.EventEmitter();
|
|
10104
|
+
this.dateSelect = new i0.EventEmitter();
|
|
10129
10105
|
this.onDisplayMonths = false;
|
|
10130
10106
|
this.onDisplayYears = false;
|
|
10131
10107
|
this.displayYearsIndex = 0;
|
|
@@ -10182,7 +10158,7 @@
|
|
|
10182
10158
|
var daysDifference = day.diff(this.calendarDate.clone().startOf('date'), 'days');
|
|
10183
10159
|
day = this.calendarDate.clone().add(daysDifference, 'd');
|
|
10184
10160
|
var selectedDay = this.parseToReturnObjectType(day);
|
|
10185
|
-
this.
|
|
10161
|
+
this.dateSelect.emit(selectedDay);
|
|
10186
10162
|
this.cancelDatePicker();
|
|
10187
10163
|
return;
|
|
10188
10164
|
};
|
|
@@ -10198,17 +10174,17 @@
|
|
|
10198
10174
|
};
|
|
10199
10175
|
DatePickerComponent.prototype.selectToday = function () {
|
|
10200
10176
|
var today = this.parseToReturnObjectType(moment__default["default"]());
|
|
10201
|
-
this.
|
|
10177
|
+
this.dateSelect.emit(today);
|
|
10202
10178
|
this.cancelDatePicker();
|
|
10203
10179
|
return;
|
|
10204
10180
|
};
|
|
10205
10181
|
DatePickerComponent.prototype.clearPickDate = function () {
|
|
10206
|
-
this.
|
|
10182
|
+
this.dateSelect.emit(null);
|
|
10207
10183
|
this.cancelDatePicker();
|
|
10208
10184
|
return;
|
|
10209
10185
|
};
|
|
10210
10186
|
DatePickerComponent.prototype.cancelDatePicker = function () {
|
|
10211
|
-
this.
|
|
10187
|
+
this.datePickerCancel.emit(false);
|
|
10212
10188
|
return;
|
|
10213
10189
|
};
|
|
10214
10190
|
DatePickerComponent.prototype.generateYears = function () {
|
|
@@ -10278,11 +10254,11 @@
|
|
|
10278
10254
|
return DatePickerComponent;
|
|
10279
10255
|
}());
|
|
10280
10256
|
DatePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DatePickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
10281
|
-
DatePickerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: DatePickerComponent, selector: "date-picker", inputs: { initDate: "initDate", locale: "locale", viewFormat: "viewFormat", returnObject: "returnObject" }, outputs: {
|
|
10257
|
+
DatePickerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], pipes: { "moment": MomentPipe } });
|
|
10282
10258
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DatePickerComponent, decorators: [{
|
|
10283
10259
|
type: i0.Component,
|
|
10284
10260
|
args: [{
|
|
10285
|
-
selector: 'date-picker',
|
|
10261
|
+
selector: 'ofe-date-picker',
|
|
10286
10262
|
templateUrl: './date-picker.component.html',
|
|
10287
10263
|
styleUrls: ['./date-picker.component.css']
|
|
10288
10264
|
}]
|
|
@@ -10294,9 +10270,9 @@
|
|
|
10294
10270
|
type: i0.Input
|
|
10295
10271
|
}], returnObject: [{
|
|
10296
10272
|
type: i0.Input
|
|
10297
|
-
}],
|
|
10273
|
+
}], datePickerCancel: [{
|
|
10298
10274
|
type: i0.Output
|
|
10299
|
-
}],
|
|
10275
|
+
}], dateSelect: [{
|
|
10300
10276
|
type: i0.Output
|
|
10301
10277
|
}] } });
|
|
10302
10278
|
|
|
@@ -10312,8 +10288,8 @@
|
|
|
10312
10288
|
this.viewFormat = 'hh:mm A';
|
|
10313
10289
|
this.use12Hour = false;
|
|
10314
10290
|
this.returnObject = 'js';
|
|
10315
|
-
this.
|
|
10316
|
-
this.
|
|
10291
|
+
this.timeSelect = new i0.EventEmitter();
|
|
10292
|
+
this.timePickerCancel = new i0.EventEmitter();
|
|
10317
10293
|
this.hourFormat = 'HH';
|
|
10318
10294
|
}
|
|
10319
10295
|
TimePickerComponent.prototype.ngOnInit = function () {
|
|
@@ -10354,23 +10330,23 @@
|
|
|
10354
10330
|
};
|
|
10355
10331
|
TimePickerComponent.prototype.selectTime = function () {
|
|
10356
10332
|
var selectTime = this.parseToReturnObjectType(this.time);
|
|
10357
|
-
this.
|
|
10333
|
+
this.timeSelect.emit(selectTime);
|
|
10358
10334
|
this.cancelTimePicker();
|
|
10359
10335
|
return;
|
|
10360
10336
|
};
|
|
10361
10337
|
TimePickerComponent.prototype.selectNow = function () {
|
|
10362
10338
|
var selectTime = this.parseToReturnObjectType(moment__default["default"]());
|
|
10363
|
-
this.
|
|
10339
|
+
this.timeSelect.emit(selectTime);
|
|
10364
10340
|
this.cancelTimePicker();
|
|
10365
10341
|
return;
|
|
10366
10342
|
};
|
|
10367
10343
|
TimePickerComponent.prototype.clearTime = function () {
|
|
10368
|
-
this.
|
|
10344
|
+
this.timeSelect.emit(null);
|
|
10369
10345
|
this.cancelTimePicker();
|
|
10370
10346
|
return;
|
|
10371
10347
|
};
|
|
10372
10348
|
TimePickerComponent.prototype.cancelTimePicker = function () {
|
|
10373
|
-
this.
|
|
10349
|
+
this.timePickerCancel.emit(false);
|
|
10374
10350
|
return;
|
|
10375
10351
|
};
|
|
10376
10352
|
TimePickerComponent.prototype.parseToReturnObjectType = function (time) {
|
|
@@ -10396,11 +10372,11 @@
|
|
|
10396
10372
|
return TimePickerComponent;
|
|
10397
10373
|
}());
|
|
10398
10374
|
TimePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TimePickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
10399
|
-
TimePickerComponent.ɵcmp = i0__namespace.ɵɵ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: {
|
|
10375
|
+
TimePickerComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "moment": MomentPipe } });
|
|
10400
10376
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TimePickerComponent, decorators: [{
|
|
10401
10377
|
type: i0.Component,
|
|
10402
10378
|
args: [{
|
|
10403
|
-
selector: 'time-picker',
|
|
10379
|
+
selector: 'ofe-time-picker',
|
|
10404
10380
|
templateUrl: './time-picker.component.html',
|
|
10405
10381
|
styleUrls: ['./time-picker.component.css']
|
|
10406
10382
|
}]
|
|
@@ -10414,9 +10390,9 @@
|
|
|
10414
10390
|
type: i0.Input
|
|
10415
10391
|
}], returnObject: [{
|
|
10416
10392
|
type: i0.Input
|
|
10417
|
-
}],
|
|
10393
|
+
}], timeSelect: [{
|
|
10418
10394
|
type: i0.Output
|
|
10419
|
-
}],
|
|
10395
|
+
}], timePickerCancel: [{
|
|
10420
10396
|
type: i0.Output
|
|
10421
10397
|
}] } });
|
|
10422
10398
|
|
|
@@ -10426,13 +10402,12 @@
|
|
|
10426
10402
|
this.showTime = false;
|
|
10427
10403
|
this.showWeeks = false;
|
|
10428
10404
|
this.weeks = [2, 4, 6, 8, 12, 16, 24];
|
|
10429
|
-
this.
|
|
10405
|
+
this.dateChange = new i0.EventEmitter();
|
|
10430
10406
|
this.showDatePicker = false;
|
|
10431
10407
|
this.showTimePicker = false;
|
|
10432
10408
|
this.onChange = function () { };
|
|
10433
10409
|
this.onTouched = function () { };
|
|
10434
10410
|
}
|
|
10435
|
-
DateTimePickerComponent.prototype.ngOnInit = function () { };
|
|
10436
10411
|
DateTimePickerComponent.prototype.weeksSelected = function (count) {
|
|
10437
10412
|
var now = new Date();
|
|
10438
10413
|
var nextDate = now.setDate(now.getDate() + count * 7);
|
|
@@ -10479,7 +10454,7 @@
|
|
|
10479
10454
|
},
|
|
10480
10455
|
set: function (val) {
|
|
10481
10456
|
this.modelValue = val;
|
|
10482
|
-
this.
|
|
10457
|
+
this.dateChange.emit(val);
|
|
10483
10458
|
this.onChange(val);
|
|
10484
10459
|
this.onTouched();
|
|
10485
10460
|
},
|
|
@@ -10503,22 +10478,22 @@
|
|
|
10503
10478
|
return DateTimePickerComponent;
|
|
10504
10479
|
}());
|
|
10505
10480
|
DateTimePickerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DateTimePickerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
10506
|
-
DateTimePickerComponent.ɵcmp = i0__namespace.ɵɵ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: {
|
|
10481
|
+
DateTimePickerComponent.ɵcmp = i0__namespace.ɵɵ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: [
|
|
10507
10482
|
{
|
|
10508
|
-
provide:
|
|
10483
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
10509
10484
|
useExisting: i0.forwardRef(function () { return DateTimePickerComponent; }),
|
|
10510
10485
|
multi: true
|
|
10511
10486
|
}
|
|
10512
|
-
], ngImport: i0__namespace, 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 (
|
|
10487
|
+
], ngImport: i0__namespace, 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__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "date": i1__namespace.DatePipe } });
|
|
10513
10488
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DateTimePickerComponent, decorators: [{
|
|
10514
10489
|
type: i0.Component,
|
|
10515
10490
|
args: [{
|
|
10516
|
-
selector: 'date-time-picker',
|
|
10491
|
+
selector: 'ofe-date-time-picker',
|
|
10517
10492
|
templateUrl: './date-time-picker.component.html',
|
|
10518
10493
|
styleUrls: ['./date-time-picker.component.css'],
|
|
10519
10494
|
providers: [
|
|
10520
10495
|
{
|
|
10521
|
-
provide:
|
|
10496
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
10522
10497
|
useExisting: i0.forwardRef(function () { return DateTimePickerComponent; }),
|
|
10523
10498
|
multi: true
|
|
10524
10499
|
}
|
|
@@ -10534,7 +10509,7 @@
|
|
|
10534
10509
|
type: i0.Input
|
|
10535
10510
|
}], weeks: [{
|
|
10536
10511
|
type: i0.Input
|
|
10537
|
-
}],
|
|
10512
|
+
}], dateChange: [{
|
|
10538
10513
|
type: i0.Output
|
|
10539
10514
|
}] } });
|
|
10540
10515
|
|
|
@@ -10551,16 +10526,16 @@
|
|
|
10551
10526
|
TimePickerComponent,
|
|
10552
10527
|
ModalComponent,
|
|
10553
10528
|
MomentPipe,
|
|
10554
|
-
DateTimePickerComponent], imports: [i1.CommonModule,
|
|
10529
|
+
DateTimePickerComponent], imports: [i1.CommonModule, i19.FormsModule], exports: [DatePickerComponent,
|
|
10555
10530
|
TimePickerComponent,
|
|
10556
10531
|
ModalComponent,
|
|
10557
10532
|
MomentPipe,
|
|
10558
10533
|
DateTimePickerComponent] });
|
|
10559
|
-
DateTimePickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DateTimePickerModule, providers: [], imports: [[i1.CommonModule,
|
|
10534
|
+
DateTimePickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DateTimePickerModule, providers: [], imports: [[i1.CommonModule, i19.FormsModule]] });
|
|
10560
10535
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: DateTimePickerModule, decorators: [{
|
|
10561
10536
|
type: i0.NgModule,
|
|
10562
10537
|
args: [{
|
|
10563
|
-
imports: [i1.CommonModule,
|
|
10538
|
+
imports: [i1.CommonModule, i19.FormsModule],
|
|
10564
10539
|
declarations: [
|
|
10565
10540
|
DatePickerComponent,
|
|
10566
10541
|
TimePickerComponent,
|
|
@@ -10580,7 +10555,7 @@
|
|
|
10580
10555
|
}] });
|
|
10581
10556
|
|
|
10582
10557
|
var OWL_DATETIME_VALUE_ACCESSOR = {
|
|
10583
|
-
provide:
|
|
10558
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
10584
10559
|
useExisting: i0.forwardRef(function () { return OwlDateTimeInlineComponent; }),
|
|
10585
10560
|
multi: true
|
|
10586
10561
|
};
|
|
@@ -10616,6 +10591,13 @@
|
|
|
10616
10591
|
_this.onModelTouched = function () { };
|
|
10617
10592
|
return _this;
|
|
10618
10593
|
}
|
|
10594
|
+
Object.defineProperty(OwlDateTimeInlineComponent.prototype, "owlDTInlineClass", {
|
|
10595
|
+
get: function () {
|
|
10596
|
+
return true;
|
|
10597
|
+
},
|
|
10598
|
+
enumerable: false,
|
|
10599
|
+
configurable: true
|
|
10600
|
+
});
|
|
10619
10601
|
Object.defineProperty(OwlDateTimeInlineComponent.prototype, "pickerType", {
|
|
10620
10602
|
get: function () {
|
|
10621
10603
|
return this._pickerType;
|
|
@@ -10678,10 +10660,14 @@
|
|
|
10678
10660
|
enumerable: false,
|
|
10679
10661
|
configurable: true
|
|
10680
10662
|
});
|
|
10681
|
-
Object.defineProperty(OwlDateTimeInlineComponent.prototype, "
|
|
10663
|
+
Object.defineProperty(OwlDateTimeInlineComponent.prototype, "owlDateTimeFilter", {
|
|
10682
10664
|
get: function () {
|
|
10683
10665
|
return this._dateTimeFilter;
|
|
10684
10666
|
},
|
|
10667
|
+
enumerable: false,
|
|
10668
|
+
configurable: true
|
|
10669
|
+
});
|
|
10670
|
+
Object.defineProperty(OwlDateTimeInlineComponent.prototype, "dateTimeFilter", {
|
|
10685
10671
|
set: function (filter) {
|
|
10686
10672
|
this._dateTimeFilter = filter;
|
|
10687
10673
|
},
|
|
@@ -10798,13 +10784,6 @@
|
|
|
10798
10784
|
enumerable: false,
|
|
10799
10785
|
configurable: true
|
|
10800
10786
|
});
|
|
10801
|
-
Object.defineProperty(OwlDateTimeInlineComponent.prototype, "owlDTInlineClass", {
|
|
10802
|
-
get: function () {
|
|
10803
|
-
return true;
|
|
10804
|
-
},
|
|
10805
|
-
enumerable: false,
|
|
10806
|
-
configurable: true
|
|
10807
|
-
});
|
|
10808
10787
|
OwlDateTimeInlineComponent.prototype.ngOnInit = function () {
|
|
10809
10788
|
this.container.picker = this;
|
|
10810
10789
|
};
|
|
@@ -10855,18 +10834,14 @@
|
|
|
10855
10834
|
return OwlDateTimeInlineComponent;
|
|
10856
10835
|
}(OwlDateTime));
|
|
10857
10836
|
OwlDateTimeInlineComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeInlineComponent, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: DateTimeAdapter, optional: true }, { token: OWL_DATE_TIME_FORMATS, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
10858
|
-
OwlDateTimeInlineComponent.ɵcmp = i0__namespace.ɵɵ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",
|
|
10837
|
+
OwlDateTimeInlineComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, 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__namespace.ChangeDetectionStrategy.OnPush });
|
|
10859
10838
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OwlDateTimeInlineComponent, decorators: [{
|
|
10860
10839
|
type: i0.Component,
|
|
10861
10840
|
args: [{
|
|
10862
|
-
selector: 'owl-date-time-inline',
|
|
10841
|
+
selector: 'ofe-owl-date-time-inline',
|
|
10863
10842
|
templateUrl: './date-time-inline.component.html',
|
|
10864
10843
|
styleUrls: ['./date-time-inline.component.scss'],
|
|
10865
|
-
host: {
|
|
10866
|
-
'[class.owl-dt-inline]': 'owlDTInlineClass'
|
|
10867
|
-
},
|
|
10868
10844
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
10869
|
-
preserveWhitespaces: false,
|
|
10870
10845
|
providers: [OWL_DATETIME_VALUE_ACCESSOR]
|
|
10871
10846
|
}]
|
|
10872
10847
|
}], ctorParameters: function () {
|
|
@@ -10878,7 +10853,10 @@
|
|
|
10878
10853
|
type: i0.Inject,
|
|
10879
10854
|
args: [OWL_DATE_TIME_FORMATS]
|
|
10880
10855
|
}] }];
|
|
10881
|
-
}, propDecorators: {
|
|
10856
|
+
}, propDecorators: { owlDTInlineClass: [{
|
|
10857
|
+
type: i0.HostBinding,
|
|
10858
|
+
args: ['class.owl-dt-inline']
|
|
10859
|
+
}], container: [{
|
|
10882
10860
|
type: i0.ViewChild,
|
|
10883
10861
|
args: [OwlDateTimeContainerComponent, { static: true }]
|
|
10884
10862
|
}], pickerType: [{
|
|
@@ -10889,15 +10867,12 @@
|
|
|
10889
10867
|
type: i0.Input
|
|
10890
10868
|
}], startAt: [{
|
|
10891
10869
|
type: i0.Input
|
|
10892
|
-
}],
|
|
10893
|
-
type: i0.Input
|
|
10894
|
-
|
|
10895
|
-
|
|
10896
|
-
|
|
10897
|
-
|
|
10898
|
-
}], maxDateTime: [{
|
|
10899
|
-
type: i0.Input,
|
|
10900
|
-
args: ['max']
|
|
10870
|
+
}], owlDateTimeFilter: [{
|
|
10871
|
+
type: i0.Input
|
|
10872
|
+
}], min: [{
|
|
10873
|
+
type: i0.Input
|
|
10874
|
+
}], max: [{
|
|
10875
|
+
type: i0.Input
|
|
10901
10876
|
}], value: [{
|
|
10902
10877
|
type: i0.Input
|
|
10903
10878
|
}], values: [{
|
|
@@ -11413,22 +11388,21 @@
|
|
|
11413
11388
|
}());
|
|
11414
11389
|
NgxDateTimePickerModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxDateTimePickerModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
11415
11390
|
NgxDateTimePickerModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxDateTimePickerModule, declarations: [NgxDatetimeComponent], imports: [i1.CommonModule,
|
|
11416
|
-
|
|
11391
|
+
i19.FormsModule,
|
|
11417
11392
|
OwlDateTimeModule,
|
|
11418
11393
|
OwlNativeDateTimeModule], exports: [NgxDatetimeComponent] });
|
|
11419
11394
|
NgxDateTimePickerModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxDateTimePickerModule, providers: [], imports: [[
|
|
11420
11395
|
i1.CommonModule,
|
|
11421
|
-
|
|
11396
|
+
i19.FormsModule,
|
|
11422
11397
|
OwlDateTimeModule,
|
|
11423
11398
|
OwlNativeDateTimeModule
|
|
11424
11399
|
]] });
|
|
11425
11400
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxDateTimePickerModule, decorators: [{
|
|
11426
11401
|
type: i0.NgModule,
|
|
11427
11402
|
args: [{
|
|
11428
|
-
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
|
|
11429
11403
|
imports: [
|
|
11430
11404
|
i1.CommonModule,
|
|
11431
|
-
|
|
11405
|
+
i19.FormsModule,
|
|
11432
11406
|
OwlDateTimeModule,
|
|
11433
11407
|
OwlNativeDateTimeModule
|
|
11434
11408
|
],
|
|
@@ -11463,7 +11437,6 @@
|
|
|
11463
11437
|
this.propagateChange = fn;
|
|
11464
11438
|
};
|
|
11465
11439
|
AfeNgSelectComponent.prototype.registerOnTouched = function (fn) { };
|
|
11466
|
-
AfeNgSelectComponent.prototype.ngOnChanges = function (changes) { };
|
|
11467
11440
|
AfeNgSelectComponent.prototype.ngOnInit = function () {
|
|
11468
11441
|
var _this = this;
|
|
11469
11442
|
if (this.extras) {
|
|
@@ -11507,21 +11480,21 @@
|
|
|
11507
11480
|
return AfeNgSelectComponent;
|
|
11508
11481
|
}());
|
|
11509
11482
|
AfeNgSelectComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AfeNgSelectComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
11510
|
-
AfeNgSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AfeNgSelectComponent, selector: "
|
|
11483
|
+
AfeNgSelectComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: AfeNgSelectComponent, selector: "ofe-ng-select", inputs: { dataSource: "dataSource", multiple: "multiple", extras: "extras" }, providers: [
|
|
11511
11484
|
{
|
|
11512
|
-
provide:
|
|
11485
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
11513
11486
|
useExisting: i0.forwardRef(function () { return AfeNgSelectComponent; }),
|
|
11514
11487
|
multi: true
|
|
11515
11488
|
}
|
|
11516
|
-
],
|
|
11489
|
+
], ngImport: i0__namespace, template: "<ng-select\n (searchInputText)=\"getChangingText($event)\"\n (ngModelChange)=\"onValueChange($event)\"\n [options]=\"question_options\"\n [multiple]=\"multiple\"\n >\n </ng-select> ", isInline: true, components: [{ type: i1__namespace$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"] }] });
|
|
11517
11490
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: AfeNgSelectComponent, decorators: [{
|
|
11518
11491
|
type: i0.Component,
|
|
11519
11492
|
args: [{
|
|
11520
|
-
selector: '
|
|
11493
|
+
selector: 'ofe-ng-select',
|
|
11521
11494
|
template: "<ng-select\n (searchInputText)=\"getChangingText($event)\"\n (ngModelChange)=\"onValueChange($event)\"\n [options]=\"question_options\"\n [multiple]=\"multiple\"\n >\n </ng-select> ",
|
|
11522
11495
|
providers: [
|
|
11523
11496
|
{
|
|
11524
|
-
provide:
|
|
11497
|
+
provide: i19.NG_VALUE_ACCESSOR,
|
|
11525
11498
|
useExisting: i0.forwardRef(function () { return AfeNgSelectComponent; }),
|
|
11526
11499
|
multi: true
|
|
11527
11500
|
}
|
|
@@ -11982,7 +11955,6 @@
|
|
|
11982
11955
|
var _this = this;
|
|
11983
11956
|
if (rootNode instanceof GroupNode) {
|
|
11984
11957
|
var nodeAsGroup = rootNode;
|
|
11985
|
-
// eslint-disable-next-line guard-for-in
|
|
11986
11958
|
for (var o in nodeAsGroup.children) {
|
|
11987
11959
|
this.searchNodeByQuestionType(nodeAsGroup.children[o], questionType, found);
|
|
11988
11960
|
}
|
|
@@ -12009,7 +11981,6 @@
|
|
|
12009
11981
|
}
|
|
12010
11982
|
if (rootNode instanceof GroupNode) {
|
|
12011
11983
|
var nodeAsGroup = rootNode;
|
|
12012
|
-
// eslint-disable-next-line guard-for-in
|
|
12013
11984
|
for (var o in nodeAsGroup.children) {
|
|
12014
11985
|
this.findNodesByQuestionId(nodeAsGroup.children[o], questionId, results);
|
|
12015
11986
|
}
|
|
@@ -12088,7 +12059,6 @@
|
|
|
12088
12059
|
}
|
|
12089
12060
|
if (rootNode instanceof GroupNode) {
|
|
12090
12061
|
var nodeAsGroup = rootNode;
|
|
12091
|
-
// eslint-disable-next-line guard-for-in
|
|
12092
12062
|
for (var o in nodeAsGroup.children) {
|
|
12093
12063
|
this._updateAlertsForAllControls(nodeAsGroup.children[o]);
|
|
12094
12064
|
}
|
|
@@ -12112,7 +12082,6 @@
|
|
|
12112
12082
|
}
|
|
12113
12083
|
if (rootNode instanceof GroupNode) {
|
|
12114
12084
|
var nodeAsGroup = rootNode;
|
|
12115
|
-
// eslint-disable-next-line guard-for-in
|
|
12116
12085
|
for (var o in nodeAsGroup.children) {
|
|
12117
12086
|
this._updateHiddenDisabledStateForAllControls(nodeAsGroup.children[o]);
|
|
12118
12087
|
}
|
|
@@ -13748,7 +13717,6 @@
|
|
|
13748
13717
|
break;
|
|
13749
13718
|
case 'repeating':
|
|
13750
13719
|
if (formNode.children) {
|
|
13751
|
-
// eslint-disable-next-line guard-for-in
|
|
13752
13720
|
for (var node in formNode.children) {
|
|
13753
13721
|
var question = formNode.children[node].question;
|
|
13754
13722
|
if (question.extras &&
|
|
@@ -13888,7 +13856,6 @@
|
|
|
13888
13856
|
var dateField = // other member to be manipulated by user
|
|
13889
13857
|
void 0; // other member to be manipulated by user
|
|
13890
13858
|
var nodeAsGroup = node;
|
|
13891
|
-
// eslint-disable-next-line guard-for-in
|
|
13892
13859
|
for (var o in nodeAsGroup.children) {
|
|
13893
13860
|
if (nodeAsGroup.children[o].question.extras.questionOptions
|
|
13894
13861
|
.obsField === 'value') {
|
|
@@ -13911,7 +13878,6 @@
|
|
|
13911
13878
|
if (node && obs.length > 0) {
|
|
13912
13879
|
var groupNode = node;
|
|
13913
13880
|
groupNode.initialValue = obs[0];
|
|
13914
|
-
// eslint-disable-next-line guard-for-in
|
|
13915
13881
|
for (var o in groupNode.children) {
|
|
13916
13882
|
this.setNodeValue(groupNode.children[o], obs[0].groupMembers);
|
|
13917
13883
|
}
|
|
@@ -13939,7 +13905,6 @@
|
|
|
13939
13905
|
case 'unknown':
|
|
13940
13906
|
if (node instanceof GroupNode) {
|
|
13941
13907
|
var groupNode = node;
|
|
13942
|
-
// eslint-disable-next-line guard-for-in
|
|
13943
13908
|
for (var o in groupNode.children) {
|
|
13944
13909
|
this.setNodeValue(groupNode.children[o], obs);
|
|
13945
13910
|
}
|
|
@@ -14071,7 +14036,6 @@
|
|
|
14071
14036
|
var valueField; // essential memmber
|
|
14072
14037
|
var dateField; // other member to be manipulated by user
|
|
14073
14038
|
var nodeAsGroup = node;
|
|
14074
|
-
// eslint-disable-next-line guard-for-in
|
|
14075
14039
|
for (var o in nodeAsGroup.children) {
|
|
14076
14040
|
if (nodeAsGroup.children[o].question.extras.questionOptions
|
|
14077
14041
|
.obsField === 'value') {
|
|
@@ -14201,7 +14165,6 @@
|
|
|
14201
14165
|
case 'unknown':
|
|
14202
14166
|
if (node instanceof GroupNode) {
|
|
14203
14167
|
var groupNode = node;
|
|
14204
|
-
// eslint-disable-next-line guard-for-in
|
|
14205
14168
|
for (var o in groupNode.children) {
|
|
14206
14169
|
var groupNodePayoad = this.getObsNodePayload(groupNode.children[o]);
|
|
14207
14170
|
if (Array.isArray(groupNodePayoad) && groupNodePayoad.length > 0) {
|
|
@@ -14428,7 +14391,6 @@
|
|
|
14428
14391
|
ObsValueAdapter.prototype.setComplexObsValue = function (node, payload) {
|
|
14429
14392
|
var valueField;
|
|
14430
14393
|
var dateField;
|
|
14431
|
-
// eslint-disable-next-line guard-for-in
|
|
14432
14394
|
for (var o in node.children) {
|
|
14433
14395
|
if (node.children[o].question.extras.questionOptions
|
|
14434
14396
|
.obsField === 'value') {
|
|
@@ -14741,14 +14703,12 @@
|
|
|
14741
14703
|
for (var payload_1 = __values(payload), payload_1_1 = payload_1.next(); !payload_1_1.done; payload_1_1 = payload_1.next()) {
|
|
14742
14704
|
var obs = payload_1_1.value;
|
|
14743
14705
|
var groupPayload = [];
|
|
14744
|
-
/* eslint-disable */
|
|
14745
14706
|
for (var key in obs.value) {
|
|
14746
14707
|
var concept = key.split(':')[0];
|
|
14747
14708
|
var value = key.split(':')[1];
|
|
14748
14709
|
groupPayload.push({ concept: concept, value: value });
|
|
14749
14710
|
}
|
|
14750
14711
|
newPayload.push({ concept: groupConcept, groupMembers: groupPayload });
|
|
14751
|
-
/* eslint-enable */
|
|
14752
14712
|
}
|
|
14753
14713
|
}
|
|
14754
14714
|
catch (e_12_1) { e_12 = { error: e_12_1 }; }
|
|
@@ -14826,7 +14786,6 @@
|
|
|
14826
14786
|
ObsValueAdapter.prototype.processComplexObs = function (node, obsPayload) {
|
|
14827
14787
|
var valueField;
|
|
14828
14788
|
var dateField;
|
|
14829
|
-
// eslint-disable-next-line guard-for-in
|
|
14830
14789
|
for (var o in node.children) {
|
|
14831
14790
|
if (node.children[o].question.extras.questionOptions
|
|
14832
14791
|
.obsField === 'value') {
|
|
@@ -15169,7 +15128,6 @@
|
|
|
15169
15128
|
}
|
|
15170
15129
|
if (rootNode instanceof GroupNode) {
|
|
15171
15130
|
var node = rootNode;
|
|
15172
|
-
// eslint-disable-next-line guard-for-in
|
|
15173
15131
|
for (var o in node.children) {
|
|
15174
15132
|
if (node.children[o] instanceof NodeBase) {
|
|
15175
15133
|
this._getEncounterNodes(node.children[o], array);
|
|
@@ -15267,7 +15225,6 @@
|
|
|
15267
15225
|
}
|
|
15268
15226
|
if (rootNode instanceof GroupNode) {
|
|
15269
15227
|
var node = rootNode;
|
|
15270
|
-
// eslint-disable-next-line guard-for-in
|
|
15271
15228
|
for (var o in node.children) {
|
|
15272
15229
|
if (node.children[o] instanceof NodeBase) {
|
|
15273
15230
|
this._getPersonAttributesNodes(node.children[o], array);
|
|
@@ -15295,12 +15252,12 @@
|
|
|
15295
15252
|
return NgxRemoteSelectModule;
|
|
15296
15253
|
}());
|
|
15297
15254
|
NgxRemoteSelectModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxRemoteSelectModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
15298
|
-
NgxRemoteSelectModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxRemoteSelectModule, declarations: [RemoteSelectComponent], imports: [i1.CommonModule, i1$3.NgSelectModule,
|
|
15299
|
-
NgxRemoteSelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxRemoteSelectModule, providers: [], imports: [[i1.CommonModule, i1$3.NgSelectModule,
|
|
15255
|
+
NgxRemoteSelectModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxRemoteSelectModule, declarations: [RemoteSelectComponent], imports: [i1.CommonModule, i1$3.NgSelectModule, i19.FormsModule], exports: [RemoteSelectComponent] });
|
|
15256
|
+
NgxRemoteSelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxRemoteSelectModule, providers: [], imports: [[i1.CommonModule, i1$3.NgSelectModule, i19.FormsModule]] });
|
|
15300
15257
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NgxRemoteSelectModule, decorators: [{
|
|
15301
15258
|
type: i0.NgModule,
|
|
15302
15259
|
args: [{
|
|
15303
|
-
imports: [i1.CommonModule, i1$3.NgSelectModule,
|
|
15260
|
+
imports: [i1.CommonModule, i1$3.NgSelectModule, i19.FormsModule],
|
|
15304
15261
|
exports: [RemoteSelectComponent],
|
|
15305
15262
|
declarations: [RemoteSelectComponent],
|
|
15306
15263
|
providers: []
|
|
@@ -15313,14 +15270,14 @@
|
|
|
15313
15270
|
return CheckboxModule;
|
|
15314
15271
|
}());
|
|
15315
15272
|
CheckboxModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
15316
|
-
CheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxModule, declarations: [CheckboxControlComponent], imports: [i1.CommonModule,
|
|
15317
|
-
CheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxModule, imports: [[i1.CommonModule,
|
|
15273
|
+
CheckboxModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxModule, declarations: [CheckboxControlComponent], imports: [i1.CommonModule, i19.FormsModule], exports: [CheckboxControlComponent] });
|
|
15274
|
+
CheckboxModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxModule, imports: [[i1.CommonModule, i19.FormsModule]] });
|
|
15318
15275
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CheckboxModule, decorators: [{
|
|
15319
15276
|
type: i0.NgModule,
|
|
15320
15277
|
args: [{
|
|
15321
15278
|
declarations: [CheckboxControlComponent],
|
|
15322
15279
|
exports: [CheckboxControlComponent],
|
|
15323
|
-
imports: [i1.CommonModule,
|
|
15280
|
+
imports: [i1.CommonModule, i19.FormsModule]
|
|
15324
15281
|
}]
|
|
15325
15282
|
}] });
|
|
15326
15283
|
|
|
@@ -15330,14 +15287,14 @@
|
|
|
15330
15287
|
return RadioModule;
|
|
15331
15288
|
}());
|
|
15332
15289
|
RadioModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
15333
|
-
RadioModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioModule, declarations: [RadioButtonControlComponent], imports: [i1.CommonModule,
|
|
15334
|
-
RadioModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioModule, imports: [[i1.CommonModule,
|
|
15290
|
+
RadioModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioModule, declarations: [RadioButtonControlComponent], imports: [i1.CommonModule, i19.FormsModule], exports: [RadioButtonControlComponent] });
|
|
15291
|
+
RadioModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioModule, imports: [[i1.CommonModule, i19.FormsModule]] });
|
|
15335
15292
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: RadioModule, decorators: [{
|
|
15336
15293
|
type: i0.NgModule,
|
|
15337
15294
|
args: [{
|
|
15338
15295
|
declarations: [RadioButtonControlComponent],
|
|
15339
15296
|
exports: [RadioButtonControlComponent],
|
|
15340
|
-
imports: [i1.CommonModule,
|
|
15297
|
+
imports: [i1.CommonModule, i19.FormsModule]
|
|
15341
15298
|
}]
|
|
15342
15299
|
}] });
|
|
15343
15300
|
|
|
@@ -15376,20 +15333,36 @@
|
|
|
15376
15333
|
}]
|
|
15377
15334
|
}] });
|
|
15378
15335
|
|
|
15379
|
-
|
|
15380
|
-
|
|
15381
|
-
|
|
15336
|
+
var OptionDirective = /** @class */ (function () {
|
|
15337
|
+
function OptionDirective() {
|
|
15338
|
+
this.inputClass = 'cds--select-option';
|
|
15339
|
+
}
|
|
15340
|
+
return OptionDirective;
|
|
15341
|
+
}());
|
|
15342
|
+
OptionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OptionDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
15343
|
+
OptionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OptionDirective, selector: "[ofeOption]", host: { properties: { "class": "this.inputClass" } }, ngImport: i0__namespace });
|
|
15344
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OptionDirective, decorators: [{
|
|
15345
|
+
type: i0.Directive,
|
|
15346
|
+
args: [{
|
|
15347
|
+
selector: '[ofeOption]'
|
|
15348
|
+
}]
|
|
15349
|
+
}], propDecorators: { inputClass: [{
|
|
15350
|
+
type: i0.HostBinding,
|
|
15351
|
+
args: ['class']
|
|
15352
|
+
}] } });
|
|
15353
|
+
|
|
15354
|
+
var OptGroupDirective = /** @class */ (function () {
|
|
15355
|
+
function OptGroupDirective() {
|
|
15382
15356
|
this.inputClass = 'cds--select-optgroup';
|
|
15383
15357
|
}
|
|
15384
|
-
return
|
|
15358
|
+
return OptGroupDirective;
|
|
15385
15359
|
}());
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
15360
|
+
OptGroupDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OptGroupDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
15361
|
+
OptGroupDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: OptGroupDirective, selector: "[ofeOptgroup]", host: { properties: { "class": "this.inputClass" } }, ngImport: i0__namespace });
|
|
15362
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: OptGroupDirective, decorators: [{
|
|
15389
15363
|
type: i0.Directive,
|
|
15390
15364
|
args: [{
|
|
15391
|
-
|
|
15392
|
-
selector: 'optgroup'
|
|
15365
|
+
selector: '[ofeOptgroup]'
|
|
15393
15366
|
}]
|
|
15394
15367
|
}], propDecorators: { inputClass: [{
|
|
15395
15368
|
type: i0.HostBinding,
|
|
@@ -15403,45 +15376,44 @@
|
|
|
15403
15376
|
return SelectModule;
|
|
15404
15377
|
}());
|
|
15405
15378
|
SelectModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
15406
|
-
SelectModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectModule, declarations: [
|
|
15407
|
-
SelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectModule, imports: [[i1.CommonModule,
|
|
15379
|
+
SelectModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectModule, declarations: [SelectComponent, OptionDirective, OptGroupDirective], imports: [i1.CommonModule, i19.FormsModule], exports: [SelectComponent, OptionDirective, OptGroupDirective] });
|
|
15380
|
+
SelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectModule, imports: [[i1.CommonModule, i19.FormsModule]] });
|
|
15408
15381
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: SelectModule, decorators: [{
|
|
15409
15382
|
type: i0.NgModule,
|
|
15410
15383
|
args: [{
|
|
15411
|
-
declarations: [
|
|
15412
|
-
exports: [
|
|
15413
|
-
imports: [i1.CommonModule,
|
|
15384
|
+
declarations: [SelectComponent, OptionDirective, OptGroupDirective],
|
|
15385
|
+
exports: [SelectComponent, OptionDirective, OptGroupDirective],
|
|
15386
|
+
imports: [i1.CommonModule, i19.FormsModule]
|
|
15414
15387
|
}]
|
|
15415
15388
|
}] });
|
|
15416
15389
|
|
|
15417
|
-
/* eslint-disable @angular-eslint/component-class-suffix */
|
|
15418
15390
|
/**
|
|
15419
15391
|
* [See demo](../../?path=/story/input--label)
|
|
15420
15392
|
*
|
|
15421
15393
|
* ```html
|
|
15422
|
-
* <
|
|
15394
|
+
* <ofe-label labelState="success">
|
|
15423
15395
|
* <label label>Field with success</label>
|
|
15424
15396
|
* <input type="text" class="input-field">
|
|
15425
|
-
* </
|
|
15397
|
+
* </ofe-label>
|
|
15426
15398
|
*
|
|
15427
|
-
* <
|
|
15399
|
+
* <ofe-label labelState="warning">
|
|
15428
15400
|
* <label label>Field with warning</label>
|
|
15429
15401
|
* <input type="text" class="input-field">
|
|
15430
|
-
* </
|
|
15402
|
+
* </ofe-label>
|
|
15431
15403
|
*
|
|
15432
|
-
* <
|
|
15404
|
+
* <ofe-label labelState="error">
|
|
15433
15405
|
* <label label>Field with error</label>
|
|
15434
15406
|
* <input type="text" class="input-field">
|
|
15435
|
-
* </
|
|
15407
|
+
* </ofe-label>
|
|
15436
15408
|
* ```
|
|
15437
15409
|
*
|
|
15438
15410
|
* <example-url>../../iframe.html?id=input--label</example-url>
|
|
15439
15411
|
*/
|
|
15440
|
-
var
|
|
15412
|
+
var LabelComponent = /** @class */ (function () {
|
|
15441
15413
|
/**
|
|
15442
|
-
* Creates an instance of
|
|
15414
|
+
* Creates an instance of LabelComponent.
|
|
15443
15415
|
*/
|
|
15444
|
-
function
|
|
15416
|
+
function LabelComponent() {
|
|
15445
15417
|
/**
|
|
15446
15418
|
* The class of the wrapper
|
|
15447
15419
|
*/
|
|
@@ -15450,7 +15422,7 @@
|
|
|
15450
15422
|
* The id of the input item associated with the `Label`. This value is also used to associate the `Label` with
|
|
15451
15423
|
* its input counterpart through the 'for' attribute.
|
|
15452
15424
|
*/
|
|
15453
|
-
this.labelInputID = '
|
|
15425
|
+
this.labelInputID = 'ofe-label-' + LabelComponent.labelCounter;
|
|
15454
15426
|
/**
|
|
15455
15427
|
* State of the `Label` will determine the styles applied.
|
|
15456
15428
|
*/
|
|
@@ -15468,12 +15440,12 @@
|
|
|
15468
15440
|
*/
|
|
15469
15441
|
this.warn = false;
|
|
15470
15442
|
this.labelClass = true;
|
|
15471
|
-
|
|
15443
|
+
LabelComponent.labelCounter++;
|
|
15472
15444
|
}
|
|
15473
15445
|
/**
|
|
15474
15446
|
* Update wrapper class if a textarea is hosted.
|
|
15475
15447
|
*/
|
|
15476
|
-
|
|
15448
|
+
LabelComponent.prototype.ngAfterContentInit = function () {
|
|
15477
15449
|
if (this.textArea) {
|
|
15478
15450
|
this.wrapperClass = 'cds--text-area__wrapper';
|
|
15479
15451
|
}
|
|
@@ -15481,7 +15453,7 @@
|
|
|
15481
15453
|
/**
|
|
15482
15454
|
* Sets the id on the input item associated with the `Label`.
|
|
15483
15455
|
*/
|
|
15484
|
-
|
|
15456
|
+
LabelComponent.prototype.ngAfterViewInit = function () {
|
|
15485
15457
|
if (this.wrapper) {
|
|
15486
15458
|
var inputElement = this.wrapper.nativeElement.querySelector('input,textarea,div');
|
|
15487
15459
|
if (inputElement) {
|
|
@@ -15489,21 +15461,21 @@
|
|
|
15489
15461
|
}
|
|
15490
15462
|
}
|
|
15491
15463
|
};
|
|
15492
|
-
|
|
15464
|
+
LabelComponent.prototype.isTemplate = function (value) {
|
|
15493
15465
|
return value instanceof i0.TemplateRef;
|
|
15494
15466
|
};
|
|
15495
|
-
return
|
|
15467
|
+
return LabelComponent;
|
|
15496
15468
|
}());
|
|
15497
15469
|
/**
|
|
15498
15470
|
* Used to build the id of the input item associated with the `Label`.
|
|
15499
15471
|
*/
|
|
15500
|
-
|
|
15501
|
-
|
|
15502
|
-
|
|
15503
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type:
|
|
15472
|
+
LabelComponent.labelCounter = 0;
|
|
15473
|
+
LabelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LabelComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
15474
|
+
LabelComponent.ɵcmp = i0__namespace.ɵɵ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__namespace, template: "\n <label\n [for]=\"labelInputID\"\n [attr.aria-label]=\"ariaLabel\"\n class=\"cds--label\"\n [ngClass]=\"{\n 'cds--skeleton': skeleton\n }\"\n >\n <ng-content></ng-content>\n </label>\n <div\n [class]=\"wrapperClass\"\n [ngClass]=\"{\n 'cds--text-input__field-wrapper--warning': warn\n }\"\n [attr.data-invalid]=\"invalid ? true : null\"\n #wrapper\n >\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 <ng-content select=\"input,textarea,div\"></ng-content>\n </div>\n <div\n *ngIf=\"!skeleton && helperText && !invalid && !warn\"\n class=\"cds--form__helper-text\"\n >\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 *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\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 ", isInline: true, directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }] });
|
|
15475
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LabelComponent, decorators: [{
|
|
15504
15476
|
type: i0.Component,
|
|
15505
15477
|
args: [{
|
|
15506
|
-
selector: '
|
|
15478
|
+
selector: 'ofe-label',
|
|
15507
15479
|
template: "\n <label\n [for]=\"labelInputID\"\n [attr.aria-label]=\"ariaLabel\"\n class=\"cds--label\"\n [ngClass]=\"{\n 'cds--skeleton': skeleton\n }\"\n >\n <ng-content></ng-content>\n </label>\n <div\n [class]=\"wrapperClass\"\n [ngClass]=\"{\n 'cds--text-input__field-wrapper--warning': warn\n }\"\n [attr.data-invalid]=\"invalid ? true : null\"\n #wrapper\n >\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 <ng-content select=\"input,textarea,div\"></ng-content>\n </div>\n <div\n *ngIf=\"!skeleton && helperText && !invalid && !warn\"\n class=\"cds--form__helper-text\"\n >\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 *ngIf=\"!warn && invalid\" class=\"cds--form-requirement\">\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 "
|
|
15508
15480
|
}]
|
|
15509
15481
|
}], ctorParameters: function () { return []; }, propDecorators: { labelInputID: [{
|
|
@@ -15529,7 +15501,7 @@
|
|
|
15529
15501
|
args: ['wrapper', { static: false }]
|
|
15530
15502
|
}], textArea: [{
|
|
15531
15503
|
type: i0.ContentChild,
|
|
15532
|
-
args: [
|
|
15504
|
+
args: [TextAreaDirective, { static: false }]
|
|
15533
15505
|
}], labelClass: [{
|
|
15534
15506
|
type: i0.HostBinding,
|
|
15535
15507
|
args: ['class.cds--form-item']
|
|
@@ -15542,14 +15514,14 @@
|
|
|
15542
15514
|
return InputModule;
|
|
15543
15515
|
}());
|
|
15544
15516
|
InputModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InputModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
15545
|
-
InputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InputModule, declarations: [
|
|
15546
|
-
InputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InputModule, imports: [[i1.CommonModule,
|
|
15517
|
+
InputModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InputModule, declarations: [LabelComponent, TextInputDirective, TextAreaDirective], imports: [i1.CommonModule, i19.FormsModule], exports: [LabelComponent, TextInputDirective, TextAreaDirective] });
|
|
15518
|
+
InputModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InputModule, imports: [[i1.CommonModule, i19.FormsModule]] });
|
|
15547
15519
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: InputModule, decorators: [{
|
|
15548
15520
|
type: i0.NgModule,
|
|
15549
15521
|
args: [{
|
|
15550
|
-
declarations: [
|
|
15551
|
-
exports: [
|
|
15552
|
-
imports: [i1.CommonModule,
|
|
15522
|
+
declarations: [LabelComponent, TextInputDirective, TextAreaDirective],
|
|
15523
|
+
exports: [LabelComponent, TextInputDirective, TextAreaDirective],
|
|
15524
|
+
imports: [i1.CommonModule, i19.FormsModule]
|
|
15553
15525
|
}]
|
|
15554
15526
|
}] });
|
|
15555
15527
|
|
|
@@ -15559,13 +15531,13 @@
|
|
|
15559
15531
|
return CustomControlWrapperModule;
|
|
15560
15532
|
}());
|
|
15561
15533
|
CustomControlWrapperModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
15562
|
-
CustomControlWrapperModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperModule, declarations: [CustomControlWrapperComponent], imports: [i1.CommonModule,
|
|
15563
|
-
CustomControlWrapperModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperModule, providers: [], imports: [[i1.CommonModule,
|
|
15534
|
+
CustomControlWrapperModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperModule, declarations: [CustomControlWrapperComponent], imports: [i1.CommonModule, i19.FormsModule, i2.LazyElementsModule], exports: [CustomControlWrapperComponent] });
|
|
15535
|
+
CustomControlWrapperModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperModule, providers: [], imports: [[i1.CommonModule, i19.FormsModule, i2.LazyElementsModule]] });
|
|
15564
15536
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: CustomControlWrapperModule, decorators: [{
|
|
15565
15537
|
type: i0.NgModule,
|
|
15566
15538
|
args: [{
|
|
15567
15539
|
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
|
|
15568
|
-
imports: [i1.CommonModule,
|
|
15540
|
+
imports: [i1.CommonModule, i19.FormsModule, i2.LazyElementsModule],
|
|
15569
15541
|
exports: [CustomControlWrapperComponent],
|
|
15570
15542
|
declarations: [CustomControlWrapperComponent],
|
|
15571
15543
|
providers: []
|
|
@@ -15604,7 +15576,7 @@
|
|
|
15604
15576
|
ErrorRendererComponent,
|
|
15605
15577
|
TimeAgoPipe,
|
|
15606
15578
|
CollapseDirective], imports: [i1.CommonModule,
|
|
15607
|
-
|
|
15579
|
+
i19.ReactiveFormsModule,
|
|
15608
15580
|
SelectModule,
|
|
15609
15581
|
i1$3.NgSelectModule,
|
|
15610
15582
|
NumberInputModule,
|
|
@@ -15624,7 +15596,7 @@
|
|
|
15624
15596
|
DateTimePickerModule,
|
|
15625
15597
|
NgxDateTimePickerModule] });
|
|
15626
15598
|
FormEntryModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FormEntryModule, providers: [
|
|
15627
|
-
|
|
15599
|
+
i19.FormBuilder,
|
|
15628
15600
|
FormControlService,
|
|
15629
15601
|
FormErrorsService,
|
|
15630
15602
|
ValidationFactory,
|
|
@@ -15646,7 +15618,7 @@
|
|
|
15646
15618
|
DebugModeService
|
|
15647
15619
|
], imports: [[
|
|
15648
15620
|
i1.CommonModule,
|
|
15649
|
-
|
|
15621
|
+
i19.ReactiveFormsModule,
|
|
15650
15622
|
SelectModule,
|
|
15651
15623
|
i1$3.NgSelectModule,
|
|
15652
15624
|
NumberInputModule,
|
|
@@ -15670,7 +15642,7 @@
|
|
|
15670
15642
|
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA],
|
|
15671
15643
|
imports: [
|
|
15672
15644
|
i1.CommonModule,
|
|
15673
|
-
|
|
15645
|
+
i19.ReactiveFormsModule,
|
|
15674
15646
|
SelectModule,
|
|
15675
15647
|
i1$3.NgSelectModule,
|
|
15676
15648
|
NumberInputModule,
|
|
@@ -15697,7 +15669,7 @@
|
|
|
15697
15669
|
CollapseDirective
|
|
15698
15670
|
],
|
|
15699
15671
|
providers: [
|
|
15700
|
-
|
|
15672
|
+
i19.FormBuilder,
|
|
15701
15673
|
FormControlService,
|
|
15702
15674
|
FormErrorsService,
|
|
15703
15675
|
ValidationFactory,
|