@openmrs/ngx-formentry 3.0.1-pre.19 → 3.0.1-pre.25
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 +78 -83
- package/bundles/openmrs-ngx-formentry.umd.js.map +1 -1
- package/bundles/openmrs-ngx-formentry.umd.min.js +1 -1
- package/bundles/openmrs-ngx-formentry.umd.min.js.map +1 -1
- package/components/check-box/checkbox.component.d.ts +1 -0
- package/components/ngx-datetime-picker/ngx-datetime-picker.component.d.ts +1 -0
- package/components/ngx-tabset/components/{tab-set.d.ts → ngx-tab-set.component.d.ts} +2 -2
- package/components/ngx-tabset/components/{tab.d.ts → tab.component.d.ts} +0 -0
- package/esm2015/components/appointments-overview/appointments-overview.component.js +2 -2
- package/esm2015/components/check-box/checkbox.component.js +3 -2
- package/esm2015/components/custom-component-wrapper/custom-component-wrapper.component.js +2 -2
- package/esm2015/components/custom-control-wrapper/custom-control-wrapper.component.js +2 -2
- package/esm2015/components/ngx-datetime-picker/ngx-datetime-picker.component.js +4 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-body.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-month-view.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-multi-year-view.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar-year-view.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/calendar.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-inline.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time-picker-container.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/date-time.class.js +1 -1
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer-box.component.js +2 -2
- package/esm2015/components/ngx-pick-datetime/lib/date-time/timer.component.js +2 -2
- package/esm2015/components/ngx-remote-select/ngx-remote-select.component.js +2 -2
- package/esm2015/components/ngx-tabset/components/ngx-tab-set.component.js +67 -0
- package/esm2015/components/ngx-tabset/components/tab.component.js +26 -0
- package/esm2015/components/ngx-tabset/modules/ngx-tabset.module.js +5 -5
- package/esm2015/components/number-input/number-input.component.js +2 -2
- package/esm2015/form-entry/error-renderer/error-renderer.component.js +2 -2
- package/esm2015/form-entry/form-factory/form-node.js +1 -1
- package/esm2015/form-entry/form-factory/question.factory.js +26 -1
- package/esm2015/form-entry/form-renderer/form-renderer.component.js +4 -37
- package/esm2015/form-entry/question-models/interfaces/base-options.js +1 -1
- package/esm2015/form-entry/question-models/question-base.js +1 -1
- package/esm2015/form-entry/services/historical-encounter-data.service.js +2 -2
- package/esm2015/openmrs-ngx-formentry.js +14 -15
- package/fesm2015/openmrs-ngx-formentry.js +60 -254
- package/fesm2015/openmrs-ngx-formentry.js.map +1 -1
- package/form-entry/form-renderer/form-renderer.component.d.ts +1 -1
- package/form-entry/question-models/interfaces/base-options.d.ts +1 -0
- package/form-entry/question-models/question-base.d.ts +3 -0
- package/openmrs-ngx-formentry.d.ts +23 -24
- package/openmrs-ngx-formentry.metadata.json +1 -1
- package/package.json +1 -1
- package/styles/ngx-formentry.css +1 -1
- package/esm2015/components/ngx-tabset/components/tab-set.js +0 -67
- package/esm2015/components/ngx-tabset/components/tab.js +0 -35
- package/esm2015/form-entry/form-renderer/form-renderer.component.css.js +0 -182
- package/form-entry/form-renderer/form-renderer.component.css.d.ts +0 -1
|
@@ -1917,188 +1917,6 @@ FormControlService.ctorParameters = () => [
|
|
|
1917
1917
|
{ type: AlertsFactory }
|
|
1918
1918
|
];
|
|
1919
1919
|
|
|
1920
|
-
const DEFAULT_STYLES = `a {
|
|
1921
|
-
color: white;
|
|
1922
|
-
text-decoration: none;
|
|
1923
|
-
font-size: 12px;
|
|
1924
|
-
text-transform: uppercase;
|
|
1925
|
-
}
|
|
1926
|
-
|
|
1927
|
-
ul {
|
|
1928
|
-
list-style-type: none;
|
|
1929
|
-
margin: 2px auto;
|
|
1930
|
-
position: relative;
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
li {
|
|
1934
|
-
display: block;
|
|
1935
|
-
padding: 10px 20px;
|
|
1936
|
-
white-space: nowrap;
|
|
1937
|
-
transition: all 0.3s ease-in;
|
|
1938
|
-
border-bottom: 4px solid transparent;
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
|
-
li:hover {
|
|
1942
|
-
border-bottom: 4px solid white;
|
|
1943
|
-
opacity: 0.7;
|
|
1944
|
-
cursor: pointer;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
.owl-theme .owl-controls .owl-nav {
|
|
1948
|
-
position: absolute;
|
|
1949
|
-
width: 100%;
|
|
1950
|
-
top: 0;
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
.owl-theme .owl-controls .owl-nav [class*="owl-"] {
|
|
1954
|
-
position: absolute;
|
|
1955
|
-
background: none;
|
|
1956
|
-
color: black;
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
.owl-theme .owl-controls .owl-nav [class*="owl-"]:hover {
|
|
1960
|
-
background: none;
|
|
1961
|
-
color: black;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
.owl-theme .owl-controls .owl-nav .owl-next {
|
|
1965
|
-
right: 0;
|
|
1966
|
-
transform: translate(120%);
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
.owl-theme .owl-controls .owl-nav .owl-prev {
|
|
1970
|
-
left: 0;
|
|
1971
|
-
transform: translate(-120%);
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
.slick-initialized .swipe-tab-content {
|
|
1975
|
-
position: relative;
|
|
1976
|
-
min-height: 365px;
|
|
1977
|
-
}
|
|
1978
|
-
@media screen and (min-width: 767px) {
|
|
1979
|
-
.slick-initialized .swipe-tab-content {
|
|
1980
|
-
min-height: 500px;
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1983
|
-
.slick-initialized .swipe-tab {
|
|
1984
|
-
display: flex;
|
|
1985
|
-
align-items: center;
|
|
1986
|
-
justify-content: center;
|
|
1987
|
-
height: 50px;
|
|
1988
|
-
background: none;
|
|
1989
|
-
border: 0;
|
|
1990
|
-
color: #757575;
|
|
1991
|
-
cursor: pointer;
|
|
1992
|
-
text-align: center;
|
|
1993
|
-
border-bottom: 2px solid rgba(51, 122, 183, 0);
|
|
1994
|
-
transition: all 0.5s;
|
|
1995
|
-
}
|
|
1996
|
-
.slick-initialized .swipe-tab:hover {
|
|
1997
|
-
color: #337AB7;
|
|
1998
|
-
}
|
|
1999
|
-
.slick-initialized .swipe-tab.active-tab {
|
|
2000
|
-
border-bottom-color: #337AB7;
|
|
2001
|
-
color: #337AB7;
|
|
2002
|
-
font-weight: bold;
|
|
2003
|
-
}
|
|
2004
|
-
|
|
2005
|
-
.disabled {
|
|
2006
|
-
opacity: .5;
|
|
2007
|
-
pointer-events: none;
|
|
2008
|
-
}
|
|
2009
|
-
|
|
2010
|
-
.select2-container {
|
|
2011
|
-
margin-top: -5px;
|
|
2012
|
-
}
|
|
2013
|
-
|
|
2014
|
-
.btn {
|
|
2015
|
-
padding: 0px 12px !important;
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
|
-
.form-tooltip{
|
|
2019
|
-
color:rgb(51, 122, 183);
|
|
2020
|
-
display: inline-block;
|
|
2021
|
-
}
|
|
2022
|
-
.question-info{
|
|
2023
|
-
opacity:0;
|
|
2024
|
-
height:0px;
|
|
2025
|
-
display: none;
|
|
2026
|
-
transition-duration: opacity 1s ease-out;
|
|
2027
|
-
transtion-delay: 0.5s;
|
|
2028
|
-
padding-top: 2px;
|
|
2029
|
-
padding-bottom: 2px;
|
|
2030
|
-
color: #696969;
|
|
2031
|
-
border-style: ridge;
|
|
2032
|
-
border-width: 1px;
|
|
2033
|
-
border-color: #337ab7;
|
|
2034
|
-
margin-top: 2px;
|
|
2035
|
-
}
|
|
2036
|
-
.hide-info{
|
|
2037
|
-
display:none;
|
|
2038
|
-
height:0px;
|
|
2039
|
-
}
|
|
2040
|
-
.form-tooltip:hover ~ .question-info {
|
|
2041
|
-
display:block;
|
|
2042
|
-
opacity:1;
|
|
2043
|
-
height:auto;
|
|
2044
|
-
}
|
|
2045
|
-
.form-tooltip .tooltipcontent::after {
|
|
2046
|
-
content: " ";
|
|
2047
|
-
position: absolute;
|
|
2048
|
-
bottom: 100%; /* At the top of the tooltip */
|
|
2049
|
-
right: 0%;
|
|
2050
|
-
margin-left: -5px;
|
|
2051
|
-
border-width: 5px;
|
|
2052
|
-
border-style: solid;
|
|
2053
|
-
border-top-color: transparent;
|
|
2054
|
-
border-right-color: transparent;
|
|
2055
|
-
border-bottom-color: #337ab7;
|
|
2056
|
-
border-left-color: transparent;
|
|
2057
|
-
}
|
|
2058
|
-
|
|
2059
|
-
ng-select.form-control {
|
|
2060
|
-
padding-top: 0;
|
|
2061
|
-
height: auto;
|
|
2062
|
-
padding-bottom: 0;
|
|
2063
|
-
}
|
|
2064
|
-
|
|
2065
|
-
.forms-dropdown-menu {
|
|
2066
|
-
max-height: 450px;
|
|
2067
|
-
overflow-y: scroll;
|
|
2068
|
-
}
|
|
2069
|
-
.no-border {
|
|
2070
|
-
border: 0;
|
|
2071
|
-
box-shadow: none;
|
|
2072
|
-
}
|
|
2073
|
-
.text-danger{
|
|
2074
|
-
color: var(--cds-support-01, #da1e28);
|
|
2075
|
-
}
|
|
2076
|
-
.error{
|
|
2077
|
-
margin-bottom: 3rem;
|
|
2078
|
-
}
|
|
2079
|
-
.afe-control{
|
|
2080
|
-
margin-bottom: 1.5rem;
|
|
2081
|
-
}
|
|
2082
|
-
[hidden] {
|
|
2083
|
-
display: none !important;
|
|
2084
|
-
}
|
|
2085
|
-
.accordion-content-dark {
|
|
2086
|
-
background-color: #f4f4f4;
|
|
2087
|
-
padding-right: 1rem;
|
|
2088
|
-
}
|
|
2089
|
-
.accordion-content-override{
|
|
2090
|
-
|
|
2091
|
-
box-sizing: content-box;
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
.question-area {
|
|
2095
|
-
width: 100%;
|
|
2096
|
-
display: flex;
|
|
2097
|
-
justify-content:flex-start;
|
|
2098
|
-
flex-direction: column;
|
|
2099
|
-
}
|
|
2100
|
-
`;
|
|
2101
|
-
|
|
2102
1920
|
class DataSources {
|
|
2103
1921
|
constructor() {
|
|
2104
1922
|
this._dataSources = {};
|
|
@@ -2128,10 +1946,6 @@ DataSources.decorators = [
|
|
|
2128
1946
|
];
|
|
2129
1947
|
DataSources.ctorParameters = () => [];
|
|
2130
1948
|
|
|
2131
|
-
// import { concat, of, Observable, Subject, BehaviorSubject } from 'rxjs';
|
|
2132
|
-
// import * as _ from 'lodash';
|
|
2133
|
-
// import { debounceTime, distinctUntilChanged, tap, switchMap, catchError, map } from 'rxjs/operators';
|
|
2134
|
-
// import { QuestionBase } from '../question-models';
|
|
2135
1949
|
class FormRendererComponent {
|
|
2136
1950
|
constructor(validationFactory, dataSources, formErrorsService, document) {
|
|
2137
1951
|
this.validationFactory = validationFactory;
|
|
@@ -2182,30 +1996,7 @@ class FormRendererComponent {
|
|
|
2182
1996
|
if (this.node &&
|
|
2183
1997
|
this.node.question.extras &&
|
|
2184
1998
|
this.node.question.renderingType === 'remote-select') {
|
|
2185
|
-
// let selectQuestion = this.node.form.searchNodeByQuestionId(this.node.question.key)[0];
|
|
2186
1999
|
this.dataSource = this.dataSources.dataSources[this.node.question.dataSource];
|
|
2187
|
-
/*
|
|
2188
|
-
let defaltValues = of([]);
|
|
2189
|
-
if (this.dataSource.resolveSelectedValue(selectQuestion.control.value)) {
|
|
2190
|
-
defaltValues = this.dataSource.resolveSelectedValue(selectQuestion.control.value).pipe(
|
|
2191
|
-
catchError(() => of([])), // empty list on error
|
|
2192
|
-
);
|
|
2193
|
-
}
|
|
2194
|
-
this.items$ = concat(
|
|
2195
|
-
defaltValues,
|
|
2196
|
-
this.itemsInput$.pipe(
|
|
2197
|
-
debounceTime(200),
|
|
2198
|
-
distinctUntilChanged(),
|
|
2199
|
-
tap(() => this.itemsLoading = true),
|
|
2200
|
-
switchMap(term => this.dataSource.searchOptions(term).pipe(
|
|
2201
|
-
catchError(() => of([])), // empty list on error
|
|
2202
|
-
tap(() => {
|
|
2203
|
-
this.itemsLoading = false
|
|
2204
|
-
})
|
|
2205
|
-
))
|
|
2206
|
-
)
|
|
2207
|
-
);
|
|
2208
|
-
*/
|
|
2209
2000
|
if (this.dataSource && this.node.question.dataSourceOptions) {
|
|
2210
2001
|
this.dataSource.dataSourceOptions = this.node.question.dataSourceOptions;
|
|
2211
2002
|
}
|
|
@@ -2216,8 +2007,6 @@ class FormRendererComponent {
|
|
|
2216
2007
|
this.node.question.extras &&
|
|
2217
2008
|
this.node.question.renderingType === 'file') {
|
|
2218
2009
|
this.dataSource = this.dataSources.dataSources[this.node.question.dataSource];
|
|
2219
|
-
// console.log('Key', this.node.question);
|
|
2220
|
-
// console.log('Data source', this.dataSource);
|
|
2221
2010
|
}
|
|
2222
2011
|
}
|
|
2223
2012
|
loadLabels() {
|
|
@@ -2305,12 +2094,10 @@ class FormRendererComponent {
|
|
|
2305
2094
|
}, 200);
|
|
2306
2095
|
}
|
|
2307
2096
|
onDateChanged(node) {
|
|
2308
|
-
// console.log('Node', node);
|
|
2309
2097
|
this.node = node;
|
|
2310
2098
|
}
|
|
2311
2099
|
upload(event) {
|
|
2312
|
-
//
|
|
2313
|
-
// console.log('Data', this.dataSource);
|
|
2100
|
+
// TO DO Add upload functionality
|
|
2314
2101
|
}
|
|
2315
2102
|
toggleInformation(infoId) {
|
|
2316
2103
|
const e = document.getElementById(infoId);
|
|
@@ -2332,8 +2119,8 @@ class FormRendererComponent {
|
|
|
2332
2119
|
FormRendererComponent.decorators = [
|
|
2333
2120
|
{ type: Component, args: [{
|
|
2334
2121
|
selector: 'form-renderer',
|
|
2335
|
-
template: "<!--CONTAINERS-->\n<div *ngIf=\"node.question.renderingType === 'form'\">\n <ngx-tabset (onSelect)=\"tabSelected($event)\" [selectedIndex]=\"activeTab\">\n <ngx-tab [tabTitle]=\"question.label\" *ngFor=\"let question of node.question.questions; let i = index\">\n <form-renderer [node]=\"node.children[question.key]\" [parentComponent]=\"this\" [parentGroup]=\"node.control\" [labelMap]=\"labelMap\">\n </form-renderer>\n </ngx-tab>\n <error-renderer [form]=\"node.form\"></error-renderer>\n </ngx-tabset>\n\n</div>\n<div *ngIf=\"node.question.renderingType === 'page'\">\n <!--Page Components-->\n <app-custom-component-wrapper [dark]=\"theme === 'light'\" [componentConfigs]=\"node.question.componentConfigs\">\n </app-custom-component-wrapper>\n <form-renderer *ngFor=\"let question of node.question.questions\" [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\" [parentGroup]=\"parentGroup\" [labelMap]=\"labelMap\"></form-renderer>\n</div>\n<div *ngIf=\"node.question.renderingType === 'section' && checkSection(node)\">\n <div class=\"cds--accordion__item\" [ngClass]=\"{ 'cds--accordion__item--active': !isCollapsed }\">\n <button class=\"cds--accordion__heading\" type=\"button\" [attr.aria-expanded]=\"isCollapsed ? 'false' : 'true'\"\n aria-controls=\"accordion-item-0\" (click)=\"isCollapsed = !isCollapsed\">\n <svg class=\"cds--accordion__arrow\" ibmIcon=\"chevron--right\" size=\"16\" xmlns=\"http://www.w3.org/2000/svg\"\n focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" aria-hidden=\"true\" width=\"16\" height=\"16\"\n viewBox=\"0 0 16 16\">\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 [dark]=\"(theme === 'light')\" [componentConfigs]=\"node.question.componentConfigs\">\n </app-custom-component-wrapper>\n <div class=\"cds--accordion__content accordion-content-override\" [ngClass]=\"{\n 'accordion-content-dark': theme === 'light'}\">\n <form-renderer *ngFor=\"let question of node.question.questions\" [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\" [parentGroup]=\"parentGroup\" [labelMap]=\"labelMap\"></form-renderer>\n </div>\n </div>\n </div>\n</div>\n\n<!-- MESSAGES -->\n<div *ngIf=\"node.control && node.control.alert && node.control.alert !== ''\" class=\"alert alert-warning\">\n <a class=\"close\" data-dismiss=\"alert\">×</a> {{ node.control.alert }}\n</div>\n\n<!--CONTROLS-->\n\n\n<div *ngIf=\"node.question.controlType === 0\" [formGroup]=\"parentGroup\" [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\">\n <app-custom-component-wrapper [dark]=\"!(theme === 'light')\" [componentConfigs]=\"node.question.componentConfigs\">\n </app-custom-component-wrapper>\n <div class=\"cds--form-item\">\n <!--LEAF CONTROL-->\n <div class=\"question-area\">\n <a class=\"form-tooltip pull-right\" (click)=\"toggleInformation(node.question.extras.id)\" 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 <i class=\"glyphicon glyphicon-question-sign\" aria-hidden=\"true\"></i>\n </a>\n\n <label *ngIf=\"node.question.label\" [style.color]=\"hasErrors() ? 'red' : ''\" class=\"cds--label\"\n [attr.for]=\"node.question.key\">\n {{ node.question.required ? '*' : '' }} {{ node.question.label }}\n </label>\n\n <div *ngIf=\"node.question.extras.questionOptions.customControl; else nativeControls\">\n <app-custom-control-wrapper [formControlName]=\"node.question.key\" [id]=\"node.question.key + 'id'\"\n [question]=\"node.question\">\n </app-custom-control-wrapper>\n </div>\n\n <ng-template #nativeControls>\n <div class=\"afe-control\" [ngSwitch]=\"node.question.renderingType\">\n <ibm-select [theme]=\"theme\" *ngSwitchCase=\"'select'\" [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\">\n <option *ngFor=\"let o of node.question.options\" [value]=\"o.value\">\n {{ o.label }}\n </option>\n </ibm-select>\n\n <!-- <app-file-upload *ngSwitchCase=\"'file'\" [dataSource]=\"dataSource\" [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\" (fileChanged)=\"upload($event)\">\n </app-file-upload> -->\n <div *ngSwitchCase=\"'file'\">\n <app-file-upload [dataSource]=\"dataSource\" [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\" (fileChanged)=\"upload($event)\">\n </app-file-upload>\n </div>\n\n <textarea [theme]=\"theme\" ibmTextArea [ngClass]=\"{\n 'cds--text-area--light': theme === 'light',\n 'cds--text-area--invalid': !node.control.valid\n }\" [placeholder]=\"node.question.placeholder\" [rows]=\"node.question.rows\" class=\"cds--text-area\"\n *ngSwitchCase=\"'textarea'\" [formControlName]=\"node.question.key\" [id]=\"node.question.key + 'id'\"\n [readOnly]=\"node.question.extras.readOnly\">\n </textarea>\n\n <ngx-remote-select [theme]=\"theme\" *ngSwitchCase=\"'remote-select'\" [placeholder]=\"node.question.placeholder\"\n tabindex=\"0\" [dataSource]=\"dataSource\" [componentID]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\" [id]=\"node.question.key + 'id'\"></ngx-remote-select>\n\n <ngx-datetimepicker [weeks]=\"node.question.extras.questionOptions.weeksList\"\n [showWeeks]=\"node.question.showWeeksAdder\" [theme]=\"theme\" [id]=\"node.question.key + 'id'\"\n [formControlName]=\"node.question.key\" *ngSwitchCase=\"'date'\">\n </ngx-datetimepicker>\n <ng-select [ngClass]=\"{'afe-custom': theme === 'light'}\" [id]=\"node.question.key + 'id'\"\n *ngSwitchCase=\"'multi-select'\" [items]=\"node.question.options\" bindLabel=\"label\" bindValue=\"value\"\n [multiple]=\"true\" placeholder=\"\" clearAllText=\"Clear\" [formControlName]=\"node.question.key\">\n </ng-select>\n\n <ng-select [ngClass]=\"{'afe-custom': theme === 'light'}\" [id]=\"node.question.key + 'id'\"\n *ngSwitchCase=\"'single-select'\" [items]=\"node.question.options\" bindLabel=\"label\" bindValue=\"value\"\n placeholder=\"\" clearAllText=\"Clear\" [formControlName]=\"node.question.key\">\n </ng-select>\n\n <number-input [theme]=\"theme\" *ngSwitchCase=\"'number'\" [id]=\"node.question.key + 'id'\"\n [min]=\"node.question.extras.questionOptions.min\" [max]=\"node.question.extras.questionOptions.max\"\n [formControlName]=\"node.question.key\" [attr.placeholder]=\"node.question.placeholder\">\n </number-input>\n\n <input [theme]=\"theme\" class=\"cds--text-input\" ibmText *ngSwitchDefault [formControlName]=\"node.question.key\"\n [attr.placeholder]=\"node.question.placeholder\" [type]=\"node.question.renderingType\"\n [id]=\"node.question.key + 'id'\" [readOnly]=\"node.question.extras.readOnly\"/>\n\n <div *ngSwitchCase=\"'radio'\">\n <div *ngFor=\"let o of node.question.options\">\n <label class=\"form-control no-border\">\n <input type=\"radio\" [formControlName]=\"node.question.key\" [id]=\"node.question.key + 'id'\"\n [value]=\"o.value\" />\n {{ o.label }}\n </label>\n </div>\n </div>\n\n <div *ngSwitchCase=\"'checkbox'\">\n <checkbox [id]=\"node.question.key + 'id'\" [formControlName]=\"node.question.key\"\n [options]=\"node.question.options\" [selected]=\"node.control.value\"></checkbox>\n </div>\n\n <div *ngIf=\"\n node.question.enableHistoricalValue && node.question.historicalDisplay\n \" style=\"margin-top: 2px\">\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\">{{ node.question.historicalDisplay?._date }}\n </strong>\n <span class=\"text-primary\" *ngIf=\"\n node.question.historicalDisplay &&\n node.question.historicalDisplay._date\n \">\n ({{ node.question.historicalDisplay._date | timeAgo }})</span>\n </span>\n </div>\n <button type=\"button\" [node]=\"node\" [name]=\"'historyValue'\"\n class=\"cds--btn cds--btn--primary cds--btn--sm col-xs-3\">\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\n\n <div class=\"question-info col-md-12 col-lg-12 col-sm-12\" id=\"{{ node.question.extras.id }}\" *ngIf=\"\n node.question &&\n node.question.extras.questionInfo &&\n node.question.extras.questionInfo !== '' &&\n node.question.extras.questionInfo !== ' '\n \">\n {{ node.question.extras.questionInfo }}\n </div>\n </div>\n </div>\n</div>\n<div *ngIf=\"node.question.controlType === 1\" [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\">\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 style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 2px;\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 *ngFor=\"let question of child.question.questions\" [parentComponent]=\"this\"\n [node]=\"child.children[question.key]\" [parentGroup]=\"child.control\" [labelMap]=\"labelMap\"></form-renderer>\n <div>{{ child.orderNumber }}</div>\n <button type=\"button \" class=\"cds--btn cds--btn--danger cds--btn--sm\" (click)=\"node.removeAt(i)\">\n Remove\n </button>\n <br />\n <hr style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 1px;\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 *ngFor=\"let question of child.question.questions\" [parentComponent]=\"this\"\n [node]=\"child.children[question.key]\" [parentGroup]=\"child.control\" [labelMap]=\"labelMap\"></form-renderer>\n <button type=\"button \" class=\"cds--btn cds--btn--danger cds--btn--sm\" (click)=\"node.removeAt(i)\">\n Remove\n </button>\n <br />\n <hr style=\"\n margin-left: -2px;\n margin-right: -2px;\n margin-bottom: 4px;\n margin-top: 8px;\n border-width: 1px;\n \" />\n </div>\n </div>\n </div>\n <button type=\"button\" class=\"cds--btn cds--btn--primary\" (click)=\"node.createChildNode()\">\n Add\n </button>\n </div>\n </div>\n</div>\n<div *ngIf=\"node.question.controlType === 2\" [hidden]=\"node.control.hidden\"\n [ngClass]=\"{ disabled: node.control.disabled }\">\n <!--GROUP-->\n <div [ngSwitch]=\"node.question.renderingType\">\n <div *ngSwitchCase=\"'group'\">\n <form-renderer *ngFor=\"let question of node.question.questions\" [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\" [parentGroup]=\"node.control\" [labelMap]=\"labelMap\"></form-renderer>\n </div>\n <div *ngSwitchCase=\"'field-set'\" style=\"border: 1px solid #eeeeee; padding: 2px; margin: 2px\">\n <form-renderer *ngFor=\"let question of node.question.questions\" [parentComponent]=\"this\"\n [node]=\"node.children[question.key]\" [parentGroup]=\"node.control\" [labelMap]=\"labelMap\"></form-renderer>\n </div>\n </div>\n</div>\n",
|
|
2336
|
-
styles: [
|
|
2122
|
+
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 <error-renderer [form]=\"node.form\"></error-renderer>\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 <div\n *ngFor=\"let o of node.question.options\"\n [ngClass]=\"{\n 'in-line': node.question.orientation === 'horizontal'\n }\"\n >\n <label class=\"form-control no-border\">\n <input\n type=\"radio\"\n [formControlName]=\"node.question.key\"\n [id]=\"node.question.key + 'id'\"\n [value]=\"o.value\"\n />\n {{ o.label }}\n </label>\n </div>\n </div>\n\n <div *ngSwitchCase=\"'checkbox'\">\n <checkbox\n [id]=\"node.question.key + 'id'\"\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 ></form-renderer>\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 </div>\n <button\n type=\"button\"\n class=\"cds--btn cds--btn--primary\"\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",
|
|
2123
|
+
styles: [".slider{width:auto;margin:30px}.slick-next:before,.slick-prev:before{color:#337ab7}.slick-dots{bottom:-40px}.slick-slide{outline:none}", "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 #fff;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:700}.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;transition-duration:opacity 1s ease-out;transtion-delay:.5s;padding-top:2px;padding-bottom:2px;color:#696969;border:1px ridge #337ab7;margin-top:2px}.hide-info,.question-info{height:0;display:none}.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:5px solid transparent;border-bottom-color:#337ab7}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}"]
|
|
2337
2124
|
},] }
|
|
2338
2125
|
];
|
|
2339
2126
|
FormRendererComponent.ctorParameters = () => [
|
|
@@ -2578,7 +2365,7 @@ class ErrorRendererComponent {
|
|
|
2578
2365
|
ErrorRendererComponent.decorators = [
|
|
2579
2366
|
{ type: Component, args: [{
|
|
2580
2367
|
selector: 'error-renderer',
|
|
2581
|
-
template: "<div *ngIf=\"showErrors()\" class=\"container\">\n <div
|
|
2368
|
+
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",
|
|
2582
2369
|
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}"]
|
|
2583
2370
|
},] }
|
|
2584
2371
|
];
|
|
@@ -3016,7 +2803,7 @@ NumberInputComponent.numberCount = 0;
|
|
|
3016
2803
|
NumberInputComponent.decorators = [
|
|
3017
2804
|
{ type: Component, args: [{
|
|
3018
2805
|
selector: 'number-input',
|
|
3019
|
-
template: "<div
|
|
2806
|
+
template: "<div\n data-numberinput\n [attr.data-invalid]=\"invalid ? true : null\"\n class=\"cds--number\"\n [ngClass]=\"{\n 'cds--number--light': theme === 'light',\n 'cds--number--nolabel': !label,\n 'cds--number--helpertext': helperText,\n 'cds--skeleton': skeleton,\n 'cds--number--sm': size === 'sm',\n 'cds--number--xl': size === 'xl'\n }\"\n>\n <div\n class=\"cds--number__input-wrapper\"\n [ngClass]=\"{\n 'cds--number__input-wrapper--warning': warn\n }\"\n >\n <input\n type=\"number\"\n [id]=\"id\"\n [value]=\"value\"\n [attr.min]=\"min\"\n [attr.max]=\"max\"\n [attr.step]=\"step\"\n [disabled]=\"disabled\"\n [required]=\"required\"\n (input)=\"onNumberInputChange($event)\"\n />\n <div class=\"cds--number__controls\">\n <button\n type=\"button\"\n class=\"cds--number__control-btn down-icon\"\n (click)=\"onDecrement()\"\n title=\"Decrement number\"\n [attr.aria-label]=\"decrementLabel\"\n tabindex=\"-1\"\n >\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 32 32\"\n aria-hidden=\"true\"\n class=\"down-icon\"\n >\n <path d=\"M8 15H24V17H8z\"></path>\n </svg>\n </button>\n <div class=\"cds--number__rule-divider\"></div>\n <button\n type=\"button\"\n class=\"cds--number__control-btn up-icon\"\n (click)=\"onIncrement()\"\n title=\"Increment number\"\n [attr.aria-label]=\"incrementLabel\"\n tabindex=\"-1\"\n >\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 32 32\"\n aria-hidden=\"true\"\n class=\"up-icon\"\n >\n <path\n d=\"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z\"\n ></path>\n </svg>\n </button>\n <div class=\"cds--number__rule-divider\"></div>\n </div>\n </div>\n <div *ngIf=\"helperText && !invalid && !warn\" 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 *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</div>\n",
|
|
3020
2807
|
providers: [
|
|
3021
2808
|
{
|
|
3022
2809
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -3762,6 +3549,7 @@ class NgxDatetimeComponent {
|
|
|
3762
3549
|
this.isDisabled = false;
|
|
3763
3550
|
this.id = '';
|
|
3764
3551
|
this.theme = 'dark';
|
|
3552
|
+
this.datePickerFormat = '';
|
|
3765
3553
|
this.showWeeks = false;
|
|
3766
3554
|
this.onChange = (_) => { };
|
|
3767
3555
|
this.onTouch = () => { };
|
|
@@ -3795,7 +3583,7 @@ class NgxDatetimeComponent {
|
|
|
3795
3583
|
NgxDatetimeComponent.decorators = [
|
|
3796
3584
|
{ type: Component, args: [{
|
|
3797
3585
|
selector: 'ngx-datetimepicker',
|
|
3798
|
-
template: "<div class=\"date-time-picker-container\">\n
|
|
3586
|
+
template: "<div class=\"date-time-picker-container\">\n <div\n data-date-picker\n data-date-picker-type=\"single\"\n class=\"cds--date-picker cds--date-picker--single cds--date-picker--light\"\n [ngClass]=\"{\n 'cds--date-picker--light': theme === 'light'\n}\"\n >\n <div class=\"cds--date-picker-container fill\">\n <div class=\"cds--date-picker-input__wrapper\">\n <input\n [disabled]=\"isDisabled\"\n (dateTimeChange)=\"onInput($event)\"\n type=\"text\"\n class=\"cds--date-picker__input fill\"\n [id]=\"id\"\n [value]=\"value\"\n [owlDateTime]=\"dt1\"\n [owlDateTimeTrigger]=\"dt1\"\n placeholder=\"mm/dd/yyyy\"\n data-date-picker-input\n />\n <svg\n [owlDateTimeTrigger]=\"dt1\"\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n style=\"will-change: transform\"\n xmlns=\"http://www.w3.org/2000/svg\"\n data-date-picker-icon=\"true\"\n class=\"cds--date-picker__icon\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M13,2h-2V1h-1v1H6V1H5v1H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V3C14,2.4,13.6,2,13,2z M13,13H3V6h10V13z M13,5H3V3h2v1h1V3h4v1h1V3h2V5z\"\n ></path>\n </svg>\n </div>\n </div>\n </div>\n\n <div\n *ngIf=\"showWeeks\"\n class=\"cds--select some-class week-select-wrapper\"\n [ngClass]=\"{'cds--select--light': theme === 'light'}\"\n >\n <div class=\"cds--select-input__wrapper\">\n <select\n (change)=\"onWeeksSelected($event.target.value)\"\n id=\"select-1\"\n class=\"cds--select-input\"\n >\n <option\n class=\"cds--select-option\"\n value=\"placeholder-item\"\n disabled=\"\"\n hidden=\"\"\n selected=\"\"\n >\n Select Weeks\n </option>\n <option\n class=\"cds--select-option\"\n [value]=\"week\"\n *ngFor=\"let week of weeks\"\n >\n {{week}} Weeks\n </option>\n </select>\n <svg\n focusable=\"false\"\n preserveAspectRatio=\"xMidYMid meet\"\n xmlns=\"http://www.w3.org/2000/svg\"\n fill=\"currentColor\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden=\"true\"\n class=\"cds--select__arrow\"\n >\n <path d=\"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z\"></path>\n </svg>\n </div>\n </div>\n</div>\n<owl-date-time\n [pickerType]=\"datePickerFormat ? datePickerFormat :'calendar'\"\n [disabled]=\"isDisabled\"\n #dt1\n></owl-date-time>\n",
|
|
3799
3587
|
providers: [
|
|
3800
3588
|
{
|
|
3801
3589
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -3809,6 +3597,7 @@ NgxDatetimeComponent.decorators = [
|
|
|
3809
3597
|
NgxDatetimeComponent.propDecorators = {
|
|
3810
3598
|
id: [{ type: Input }],
|
|
3811
3599
|
theme: [{ type: Input }],
|
|
3600
|
+
datePickerFormat: [{ type: Input }],
|
|
3812
3601
|
showWeeks: [{ type: Input }],
|
|
3813
3602
|
weeks: [{ type: Input }]
|
|
3814
3603
|
};
|
|
@@ -4278,7 +4067,7 @@ OwlCalendarComponent.decorators = [
|
|
|
4278
4067
|
{ type: Component, args: [{
|
|
4279
4068
|
selector: 'owl-date-time-calendar',
|
|
4280
4069
|
exportAs: 'owlDateTimeCalendar',
|
|
4281
|
-
template: "<div class=\"owl-dt-calendar-control\">\n
|
|
4070
|
+
template: "<div class=\"owl-dt-calendar-control\">\n <!-- focus when keyboard tab (http://kizu.ru/en/blog/keyboard-only-focus/#x) -->\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"0\"\n [style.visibility]=\"showControlArrows ? 'visible' : 'hidden'\"\n [disabled]=\"!prevButtonEnabled()\"\n [attr.aria-label]=\"prevButtonLabel\"\n (click)=\"previousClicked()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n <!-- <editor-fold desc=\"SVG Arrow Left\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546 c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681 l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n </button>\n <div class=\"owl-dt-calendar-control-content\">\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-period-button\"\n type=\"button\"\n tabindex=\"0\"\n [attr.aria-label]=\"periodButtonLabel\"\n (click)=\"toggleViews()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ periodButtonText }}\n\n <span\n class=\"owl-dt-control-button-arrow\"\n [style.transform]=\"'rotate(' + (isMonthView ? 0 : 180) + 'deg)'\"\n >\n <!-- <editor-fold desc=\"SVG Arrow\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n width=\"50%\"\n height=\"50%\"\n viewBox=\"0 0 292.362 292.362\"\n style=\"enable-background: new 0 0 292.362 292.362\"\n xml:space=\"preserve\"\n >\n <g>\n <path\n d=\"M286.935,69.377c-3.614-3.617-7.898-5.424-12.848-5.424H18.274c-4.952,0-9.233,1.807-12.85,5.424\n C1.807,72.998,0,77.279,0,82.228c0,4.948,1.807,9.229,5.424,12.847l127.907,127.907c3.621,3.617,7.902,5.428,12.85,5.428\n s9.233-1.811,12.847-5.428L286.935,95.074c3.613-3.617,5.427-7.898,5.427-12.847C292.362,77.279,290.548,72.998,286.935,69.377z\"\n />\n </g>\n </svg>\n <!-- </editor-fold> -->\n </span>\n </span>\n </button>\n </div>\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-control-arrow-button\"\n type=\"button\"\n tabindex=\"0\"\n [style.visibility]=\"showControlArrows ? 'visible' : 'hidden'\"\n [disabled]=\"!nextButtonEnabled()\"\n [attr.aria-label]=\"nextButtonLabel\"\n (click)=\"nextClicked()\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n <!-- <editor-fold desc=\"SVG Arrow Right\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n C197.237,120.447,195.534,115.448,191.75,111.689z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n </button>\n</div>\n<div\n class=\"owl-dt-calendar-main\"\n cdkMonitorSubtreeFocus\n [ngSwitch]=\"currentView\"\n tabindex=\"-1\"\n>\n <owl-date-time-month-view\n *ngSwitchCase=\"'month'\"\n [pickerMoment]=\"pickerMoment\"\n [firstDayOfWeek]=\"firstDayOfWeek\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n [hideOtherMonths]=\"hideOtherMonths\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (selectedChange)=\"dateSelected($event)\"\n (userSelection)=\"userSelected()\"\n ></owl-date-time-month-view>\n\n <owl-date-time-year-view\n *ngSwitchCase=\"'year'\"\n [pickerMoment]=\"pickerMoment\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n (keyboardEnter)=\"focusActiveCell()\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (monthSelected)=\"selectMonthInYearView($event)\"\n (change)=\"goToDateInView($event, 'month')\"\n ></owl-date-time-year-view>\n\n <owl-date-time-multi-year-view\n *ngSwitchCase=\"'multi-years'\"\n [pickerMoment]=\"pickerMoment\"\n [selected]=\"selected\"\n [selecteds]=\"selecteds\"\n [selectMode]=\"selectMode\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [dateFilter]=\"dateFilter\"\n (keyboardEnter)=\"focusActiveCell()\"\n (pickerMomentChange)=\"handlePickerMomentChange($event)\"\n (yearSelected)=\"selectYearInMultiYearView($event)\"\n (change)=\"goToDateInView($event, 'year')\"\n ></owl-date-time-multi-year-view>\n</div>\n",
|
|
4282
4071
|
host: {
|
|
4283
4072
|
'[class.owl-dt-calendar]': 'owlDTCalendarClass'
|
|
4284
4073
|
},
|
|
@@ -4569,7 +4358,7 @@ OwlTimerComponent.decorators = [
|
|
|
4569
4358
|
{ type: Component, args: [{
|
|
4570
4359
|
exportAs: 'owlDateTimeTimer',
|
|
4571
4360
|
selector: 'owl-date-time-timer',
|
|
4572
|
-
template: "<owl-date-time-timer-box\n
|
|
4361
|
+
template: "<owl-date-time-timer-box\n [upBtnAriaLabel]=\"upHourButtonLabel\"\n [downBtnAriaLabel]=\"downHourButtonLabel\"\n [upBtnDisabled]=\"!upHourEnabled()\"\n [downBtnDisabled]=\"!downHourEnabled()\"\n [boxValue]=\"hourBoxValue\"\n [value]=\"hourValue\"\n [min]=\"0\"\n [max]=\"23\"\n [step]=\"stepHour\"\n [inputLabel]=\"'Hour'\"\n (inputChange)=\"setHourValueViaInput($event)\"\n (valueChange)=\"setHourValue($event)\"\n></owl-date-time-timer-box>\n<owl-date-time-timer-box\n [showDivider]=\"true\"\n [upBtnAriaLabel]=\"upMinuteButtonLabel\"\n [downBtnAriaLabel]=\"downMinuteButtonLabel\"\n [upBtnDisabled]=\"!upMinuteEnabled()\"\n [downBtnDisabled]=\"!downMinuteEnabled()\"\n [value]=\"minuteValue\"\n [min]=\"0\"\n [max]=\"59\"\n [step]=\"stepMinute\"\n [inputLabel]=\"'Minute'\"\n (inputChange)=\"setMinuteValue($event)\"\n (valueChange)=\"setMinuteValue($event)\"\n></owl-date-time-timer-box>\n<owl-date-time-timer-box\n *ngIf=\"showSecondsTimer\"\n [showDivider]=\"true\"\n [upBtnAriaLabel]=\"upSecondButtonLabel\"\n [downBtnAriaLabel]=\"downSecondButtonLabel\"\n [upBtnDisabled]=\"!upSecondEnabled()\"\n [downBtnDisabled]=\"!downSecondEnabled()\"\n [value]=\"secondValue\"\n [min]=\"0\"\n [max]=\"59\"\n [step]=\"stepSecond\"\n [inputLabel]=\"'Second'\"\n (inputChange)=\"setSecondValue($event)\"\n (valueChange)=\"setSecondValue($event)\"\n></owl-date-time-timer-box>\n\n<div *ngIf=\"hour12Timer\" class=\"owl-dt-timer-hour12\">\n <button\n class=\"owl-dt-control-button owl-dt-timer-hour12-box\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"setMeridiem($event)\"\n >\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n {{ hour12ButtonLabel }}\n </span>\n </button>\n</div>\n",
|
|
4573
4362
|
preserveWhitespaces: false,
|
|
4574
4363
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4575
4364
|
host: {
|
|
@@ -4956,7 +4745,7 @@ OwlDateTimeContainerComponent.decorators = [
|
|
|
4956
4745
|
{ type: Component, args: [{
|
|
4957
4746
|
exportAs: 'owlDateTimeContainer',
|
|
4958
4747
|
selector: 'owl-date-time-container',
|
|
4959
|
-
template: "<div
|
|
4748
|
+
template: "<div\n [cdkTrapFocus]=\"picker.pickerMode !== 'inline'\"\n [@fadeInPicker]=\"picker.pickerMode === 'inline' ? '' : 'enter'\"\n class=\"owl-dt-container-inner\"\n>\n <owl-date-time-calendar\n *ngIf=\"pickerType === 'both' || pickerType === 'calendar'\"\n class=\"owl-dt-container-row\"\n [firstDayOfWeek]=\"picker.firstDayOfWeek\"\n [(pickerMoment)]=\"pickerMoment\"\n [selected]=\"picker.selected\"\n [selecteds]=\"picker.selecteds\"\n [selectMode]=\"picker.selectMode\"\n [minDate]=\"picker.minDateTime\"\n [maxDate]=\"picker.maxDateTime\"\n [dateFilter]=\"picker.dateTimeFilter\"\n [startView]=\"picker.startView\"\n [hideOtherMonths]=\"picker.hideOtherMonths\"\n (yearSelected)=\"picker.selectYear($event)\"\n (monthSelected)=\"picker.selectMonth($event)\"\n (selectedChange)=\"dateSelected($event)\"\n ></owl-date-time-calendar>\n\n <owl-date-time-timer\n *ngIf=\"pickerType === 'both' || pickerType === 'timer'\"\n class=\"owl-dt-container-row\"\n [pickerMoment]=\"pickerMoment\"\n [minDateTime]=\"picker.minDateTime\"\n [maxDateTime]=\"picker.maxDateTime\"\n [showSecondsTimer]=\"picker.showSecondsTimer\"\n [hour12Timer]=\"picker.hour12Timer\"\n [stepHour]=\"picker.stepHour\"\n [stepMinute]=\"picker.stepMinute\"\n [stepSecond]=\"picker.stepSecond\"\n (selectedChange)=\"timeSelected($event)\"\n ></owl-date-time-timer>\n\n <div\n *ngIf=\"picker.isInRangeMode\"\n role=\"radiogroup\"\n class=\"owl-dt-container-info owl-dt-container-row\"\n >\n <div\n role=\"radio\"\n [tabindex]=\"activeSelectedIndex === 0 ? 0 : -1\"\n [attr.aria-checked]=\"activeSelectedIndex === 0\"\n class=\"owl-dt-control owl-dt-container-range owl-dt-container-from\"\n [ngClass]=\"{ 'owl-dt-container-info-active': activeSelectedIndex === 0 }\"\n (click)=\"handleClickOnInfoGroup($event, 0)\"\n (keydown)=\"handleKeydownOnInfoGroup($event, to, 0)\"\n #from\n >\n <span\n class=\"owl-dt-control-content owl-dt-container-range-content\"\n tabindex=\"-1\"\n >\n <span class=\"owl-dt-container-info-label\">{{ fromLabel }}:</span>\n <span class=\"owl-dt-container-info-value\">{{\n fromFormattedValue\n }}</span>\n </span>\n </div>\n <div\n role=\"radio\"\n [tabindex]=\"activeSelectedIndex === 1 ? 0 : -1\"\n [attr.aria-checked]=\"activeSelectedIndex === 1\"\n class=\"owl-dt-control owl-dt-container-range owl-dt-container-to\"\n [ngClass]=\"{ 'owl-dt-container-info-active': activeSelectedIndex === 1 }\"\n (click)=\"handleClickOnInfoGroup($event, 1)\"\n (keydown)=\"handleKeydownOnInfoGroup($event, from, 1)\"\n #to\n >\n <span\n class=\"owl-dt-control-content owl-dt-container-range-content\"\n tabindex=\"-1\"\n >\n <span class=\"owl-dt-container-info-label\">{{ toLabel }}:</span>\n <span class=\"owl-dt-container-info-value\">{{ toFormattedValue }}</span>\n </span>\n </div>\n </div>\n\n <div\n *ngIf=\"showControlButtons\"\n class=\"owl-dt-container-buttons owl-dt-container-row\"\n >\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-container-control-button\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"onCancelClicked($event)\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ cancelLabel }}\n </span>\n </button>\n <button\n class=\"owl-dt-control owl-dt-control-button owl-dt-container-control-button\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"onSetClicked($event)\"\n >\n <span\n class=\"owl-dt-control-content owl-dt-control-button-content\"\n tabindex=\"-1\"\n >\n {{ setLabel }}\n </span>\n </button>\n </div>\n</div>\n",
|
|
4960
4749
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4961
4750
|
preserveWhitespaces: false,
|
|
4962
4751
|
animations: [
|
|
@@ -7012,7 +6801,7 @@ OwlCalendarBodyComponent.decorators = [
|
|
|
7012
6801
|
{ type: Component, args: [{
|
|
7013
6802
|
selector: '[owl-date-time-calendar-body]',
|
|
7014
6803
|
exportAs: 'owlDateTimeCalendarBody',
|
|
7015
|
-
template: "<tr *ngFor=\"let row of rows; let rowIndex = index\" role=\"row\">\n
|
|
6804
|
+
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",
|
|
7016
6805
|
host: {
|
|
7017
6806
|
'[class.owl-dt-calendar-body]': 'owlDTCalendarBodyClass'
|
|
7018
6807
|
},
|
|
@@ -7425,7 +7214,7 @@ OwlMonthViewComponent.decorators = [
|
|
|
7425
7214
|
{ type: Component, args: [{
|
|
7426
7215
|
selector: 'owl-date-time-month-view',
|
|
7427
7216
|
exportAs: 'owlYearView',
|
|
7428
|
-
template: "<table
|
|
7217
|
+
template: "<table\n class=\"owl-dt-calendar-table owl-dt-calendar-month-table\"\n [class.owl-dt-calendar-only-current-month]=\"hideOtherMonths\"\n>\n <thead class=\"owl-dt-calendar-header\">\n <tr class=\"owl-dt-weekdays\">\n <th\n *ngFor=\"let weekday of weekdays\"\n [attr.aria-label]=\"weekday.long\"\n class=\"owl-dt-weekday\"\n scope=\"col\"\n >\n <span>{{ weekday.short }}</span>\n </th>\n </tr>\n <tr>\n <th\n class=\"owl-dt-calendar-table-divider\"\n aria-hidden=\"true\"\n colspan=\"7\"\n ></th>\n </tr>\n </thead>\n <tbody\n owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"days\"\n [todayValue]=\"todayDate\"\n [selectedValues]=\"selectedDates\"\n [selectMode]=\"selectMode\"\n [activeCell]=\"activeCell\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (select)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n",
|
|
7429
7218
|
host: {
|
|
7430
7219
|
'[class.owl-dt-calendar-view]': 'owlDTCalendarView'
|
|
7431
7220
|
},
|
|
@@ -7776,7 +7565,7 @@ OwlYearViewComponent.decorators = [
|
|
|
7776
7565
|
{ type: Component, args: [{
|
|
7777
7566
|
selector: 'owl-date-time-year-view',
|
|
7778
7567
|
exportAs: 'owlMonthView',
|
|
7779
|
-
template: "<table class=\"owl-dt-calendar-table owl-dt-calendar-year-table\">\n
|
|
7568
|
+
template: "<table class=\"owl-dt-calendar-table owl-dt-calendar-year-table\">\n <thead class=\"owl-dt-calendar-header\">\n <tr>\n <th\n class=\"owl-dt-calendar-table-divider\"\n aria-hidden=\"true\"\n colspan=\"3\"\n ></th>\n </tr>\n </thead>\n <tbody\n owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"months\"\n [numCols]=\"3\"\n [cellRatio]=\"3 / 7\"\n [activeCell]=\"activeCell\"\n [todayValue]=\"todayMonth\"\n [selectedValues]=\"selectedMonths\"\n [selectMode]=\"selectMode\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (select)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n",
|
|
7780
7569
|
host: {
|
|
7781
7570
|
'[class.owl-dt-calendar-view]': 'owlDTCalendarView'
|
|
7782
7571
|
},
|
|
@@ -8134,7 +7923,7 @@ class OwlMultiYearViewComponent {
|
|
|
8134
7923
|
OwlMultiYearViewComponent.decorators = [
|
|
8135
7924
|
{ type: Component, args: [{
|
|
8136
7925
|
selector: 'owl-date-time-multi-year-view',
|
|
8137
|
-
template: "<button
|
|
7926
|
+
template: "<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n [disabled]=\"!previousEnabled()\"\n [attr.aria-label]=\"prevButtonLabel\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"prevYearList($event)\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Left\"> -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n version=\"1.1\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n width=\"100%\"\n height=\"100%\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M96.633,125.369l95.053-94.533c7.101-7.055,7.101-18.492,0-25.546 c-7.1-7.054-18.613-7.054-25.714,0L58.989,111.689c-3.784,3.759-5.487,8.759-5.238,13.68c-0.249,4.922,1.454,9.921,5.238,13.681 l106.983,106.398c7.101,7.055,18.613,7.055,25.714,0c7.101-7.054,7.101-18.491,0-25.544L96.633,125.369z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n<table class=\"owl-dt-calendar-table owl-dt-calendar-multi-year-table\">\n <thead class=\"owl-dt-calendar-header\">\n <tr>\n <th colspan=\"3\">{{ tableHeader }}</th>\n </tr>\n </thead>\n <tbody\n owl-date-time-calendar-body\n role=\"grid\"\n [rows]=\"years\"\n [numCols]=\"3\"\n [cellRatio]=\"3 / 7\"\n [activeCell]=\"activeCell\"\n [todayValue]=\"todayYear\"\n [selectedValues]=\"selectedYears\"\n [selectMode]=\"selectMode\"\n (keydown)=\"handleCalendarKeydown($event)\"\n (select)=\"selectCalendarCell($event)\"\n ></tbody>\n</table>\n<button\n class=\"owl-dt-control-button owl-dt-control-arrow-button\"\n [disabled]=\"!nextEnabled()\"\n [attr.aria-label]=\"nextButtonLabel\"\n type=\"button\"\n tabindex=\"0\"\n (click)=\"nextYearList($event)\"\n>\n <span class=\"owl-dt-control-button-content\" tabindex=\"-1\">\n <!-- <editor-fold desc=\"SVG Arrow Right\"> -->\n <svg\n version=\"1.1\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n x=\"0px\"\n y=\"0px\"\n viewBox=\"0 0 250.738 250.738\"\n style=\"enable-background: new 0 0 250.738 250.738\"\n xml:space=\"preserve\"\n >\n <path\n style=\"fill-rule: evenodd; clip-rule: evenodd\"\n d=\"M191.75,111.689L84.766,5.291c-7.1-7.055-18.613-7.055-25.713,0\n c-7.101,7.054-7.101,18.49,0,25.544l95.053,94.534l-95.053,94.533c-7.101,7.054-7.101,18.491,0,25.545\n c7.1,7.054,18.613,7.054,25.713,0L191.75,139.05c3.784-3.759,5.487-8.759,5.238-13.681\n C197.237,120.447,195.534,115.448,191.75,111.689z\"\n />\n </svg>\n <!-- </editor-fold> -->\n </span>\n</button>\n",
|
|
8138
7927
|
host: {
|
|
8139
7928
|
'[class.owl-dt-calendar-view]': 'owlDTCalendarView',
|
|
8140
7929
|
'[class.owl-dt-calendar-multi-year-view]': 'owlDTCalendarMultiYearView'
|
|
@@ -8216,7 +8005,7 @@ OwlTimerBoxComponent.decorators = [
|
|
|
8216
8005
|
{ type: Component, args: [{
|
|
8217
8006
|
exportAs: 'owlDateTimeTimerBox',
|
|
8218
8007
|
selector: 'owl-date-time-timer-box',
|
|
8219
|
-
template: "<div *ngIf=\"showDivider\" class=\"owl-dt-timer-divider\" aria-hidden=\"true\"></div>\n<button
|
|
8008
|
+
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",
|
|
8220
8009
|
preserveWhitespaces: false,
|
|
8221
8010
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8222
8011
|
host: {
|
|
@@ -8476,7 +8265,7 @@ class OwlDateTimeInlineComponent extends OwlDateTime {
|
|
|
8476
8265
|
OwlDateTimeInlineComponent.decorators = [
|
|
8477
8266
|
{ type: Component, args: [{
|
|
8478
8267
|
selector: 'owl-date-time-inline',
|
|
8479
|
-
template: "<owl-date-time-container></owl-date-time-container
|
|
8268
|
+
template: "<owl-date-time-container></owl-date-time-container>\n",
|
|
8480
8269
|
host: {
|
|
8481
8270
|
'[class.owl-dt-inline]': 'owlDTInlineClass'
|
|
8482
8271
|
},
|
|
@@ -9582,7 +9371,7 @@ class HistoricalEncounterDataService {
|
|
|
9582
9371
|
if (answers.length > 0) {
|
|
9583
9372
|
return {
|
|
9584
9373
|
value: answers[0],
|
|
9585
|
-
valueDate: moment(object.encounterDatetime).format('
|
|
9374
|
+
valueDate: moment(object.encounterDatetime).format('YYYY-MM-DDTHH:mm:ss')
|
|
9586
9375
|
};
|
|
9587
9376
|
}
|
|
9588
9377
|
}
|
|
@@ -9750,6 +9539,7 @@ class QuestionFactory {
|
|
|
9750
9539
|
toSelectQuestion(schemaQuestion) {
|
|
9751
9540
|
const question = new SelectQuestion({ options: [], type: '', key: '' });
|
|
9752
9541
|
question.label = schemaQuestion.label;
|
|
9542
|
+
question.prefix = schemaQuestion.prefix;
|
|
9753
9543
|
question.key = schemaQuestion.id;
|
|
9754
9544
|
question.componentConfigs = schemaQuestion.componentConfigs || [];
|
|
9755
9545
|
question.options = schemaQuestion.questionOptions.answers.map(function (obj) {
|
|
@@ -9785,6 +9575,7 @@ class QuestionFactory {
|
|
|
9785
9575
|
key: ''
|
|
9786
9576
|
});
|
|
9787
9577
|
question.label = schemaQuestion.label;
|
|
9578
|
+
question.prefix = schemaQuestion.prefix;
|
|
9788
9579
|
question.key = schemaQuestion.id;
|
|
9789
9580
|
question.renderingType = 'number';
|
|
9790
9581
|
question.placeholder = schemaQuestion.questionOptions.placeholder;
|
|
@@ -9811,6 +9602,7 @@ class QuestionFactory {
|
|
|
9811
9602
|
key: ''
|
|
9812
9603
|
});
|
|
9813
9604
|
question.label = schemaQuestion.label;
|
|
9605
|
+
question.prefix = schemaQuestion.prefix;
|
|
9814
9606
|
question.key = schemaQuestion.id;
|
|
9815
9607
|
question.renderingType = 'number';
|
|
9816
9608
|
question.placeholder = schemaQuestion.questionOptions.placeholder || '';
|
|
@@ -9855,8 +9647,10 @@ class QuestionFactory {
|
|
|
9855
9647
|
return question;
|
|
9856
9648
|
}
|
|
9857
9649
|
toEncounterDatetimeQuestion(schemaQuestion) {
|
|
9650
|
+
var _a;
|
|
9858
9651
|
const question = new DateQuestion({ type: '', key: '' });
|
|
9859
9652
|
question.label = schemaQuestion.label;
|
|
9653
|
+
question.prefix = schemaQuestion.prefix;
|
|
9860
9654
|
question.renderingType = 'date';
|
|
9861
9655
|
question.key = schemaQuestion.id;
|
|
9862
9656
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -9871,6 +9665,7 @@ class QuestionFactory {
|
|
|
9871
9665
|
};
|
|
9872
9666
|
question.showTime = true;
|
|
9873
9667
|
question.componentConfigs = schemaQuestion.componentConfigs || [];
|
|
9668
|
+
question.datePickerFormat = (_a = schemaQuestion.datePickerFormat) !== null && _a !== void 0 ? _a : 'calendar';
|
|
9874
9669
|
this.copyProperties(mappings, schemaQuestion, question);
|
|
9875
9670
|
this.addDisableOrHideProperty(schemaQuestion, question);
|
|
9876
9671
|
this.addAlertProperty(schemaQuestion, question);
|
|
@@ -9881,8 +9676,10 @@ class QuestionFactory {
|
|
|
9881
9676
|
toCheckBoxQuestion(schemaQuestion) {
|
|
9882
9677
|
const question = new CheckBoxQuestion({ options: [], type: '', key: '' });
|
|
9883
9678
|
question.label = schemaQuestion.label;
|
|
9679
|
+
question.prefix = schemaQuestion.prefix;
|
|
9884
9680
|
question.key = schemaQuestion.id;
|
|
9885
9681
|
question.extras = schemaQuestion;
|
|
9682
|
+
question.orientation = schemaQuestion.questionOptions.orientation;
|
|
9886
9683
|
question.options = schemaQuestion.questionOptions.answers.map((obj) => {
|
|
9887
9684
|
return {
|
|
9888
9685
|
label: obj.label,
|
|
@@ -9912,6 +9709,7 @@ class QuestionFactory {
|
|
|
9912
9709
|
key: ''
|
|
9913
9710
|
});
|
|
9914
9711
|
question.label = schemaQuestion.label;
|
|
9712
|
+
question.prefix = schemaQuestion.prefix;
|
|
9915
9713
|
question.key = schemaQuestion.id;
|
|
9916
9714
|
question.options = schemaQuestion.questionOptions.answers.map(function (obj) {
|
|
9917
9715
|
return {
|
|
@@ -9944,6 +9742,7 @@ class QuestionFactory {
|
|
|
9944
9742
|
key: ''
|
|
9945
9743
|
});
|
|
9946
9744
|
question.label = schemaQuestion.label;
|
|
9745
|
+
question.prefix = schemaQuestion.prefix;
|
|
9947
9746
|
question.key = schemaQuestion.id;
|
|
9948
9747
|
question.placeholder = schemaQuestion.questionOptions.placeholder;
|
|
9949
9748
|
question.isExpanded = schemaQuestion.isExpanded;
|
|
@@ -9971,6 +9770,7 @@ class QuestionFactory {
|
|
|
9971
9770
|
key: ''
|
|
9972
9771
|
});
|
|
9973
9772
|
question.label = schemaQuestion.label;
|
|
9773
|
+
question.prefix = schemaQuestion.prefix;
|
|
9974
9774
|
question.key = schemaQuestion.id;
|
|
9975
9775
|
question.renderingType = 'text';
|
|
9976
9776
|
question.placeholder = schemaQuestion.questionOptions.placeholder;
|
|
@@ -9993,6 +9793,7 @@ class QuestionFactory {
|
|
|
9993
9793
|
toFileUploadQuestion(schemaQuestion) {
|
|
9994
9794
|
const question = new FileUploadQuestion({ type: '', key: '' });
|
|
9995
9795
|
question.label = schemaQuestion.label;
|
|
9796
|
+
question.prefix = schemaQuestion.prefix;
|
|
9996
9797
|
question.key = schemaQuestion.id;
|
|
9997
9798
|
question.renderingType = 'file';
|
|
9998
9799
|
question.dataSource = 'file';
|
|
@@ -10014,6 +9815,7 @@ class QuestionFactory {
|
|
|
10014
9815
|
toDrugQuestion(schemaQuestion) {
|
|
10015
9816
|
const question = new SelectQuestion({ options: [], type: '', key: '' });
|
|
10016
9817
|
question.label = schemaQuestion.label;
|
|
9818
|
+
question.prefix = schemaQuestion.prefix;
|
|
10017
9819
|
question.key = schemaQuestion.id;
|
|
10018
9820
|
question.renderingType = 'remote-select';
|
|
10019
9821
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10035,6 +9837,7 @@ class QuestionFactory {
|
|
|
10035
9837
|
toProblemQuestion(schemaQuestion) {
|
|
10036
9838
|
const question = new SelectQuestion({ options: [], type: '', key: '' });
|
|
10037
9839
|
question.label = schemaQuestion.label;
|
|
9840
|
+
question.prefix = schemaQuestion.prefix;
|
|
10038
9841
|
question.key = schemaQuestion.id;
|
|
10039
9842
|
question.renderingType = 'remote-select';
|
|
10040
9843
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10056,6 +9859,7 @@ class QuestionFactory {
|
|
|
10056
9859
|
toConceptAnswerSelect(schemaQuestion) {
|
|
10057
9860
|
const question = new SelectQuestion({ options: [], type: '', key: '' });
|
|
10058
9861
|
question.label = schemaQuestion.label;
|
|
9862
|
+
question.prefix = schemaQuestion.prefix;
|
|
10059
9863
|
question.key = schemaQuestion.id;
|
|
10060
9864
|
question.renderingType = 'remote-select';
|
|
10061
9865
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10085,6 +9889,7 @@ class QuestionFactory {
|
|
|
10085
9889
|
key: ''
|
|
10086
9890
|
});
|
|
10087
9891
|
question.label = schemaQuestion.label;
|
|
9892
|
+
question.prefix = schemaQuestion.prefix;
|
|
10088
9893
|
question.questions = this.getChildrenQuestionModels(schemaQuestion.questions);
|
|
10089
9894
|
question.key = schemaQuestion.id;
|
|
10090
9895
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10111,6 +9916,7 @@ class QuestionFactory {
|
|
|
10111
9916
|
toGroupQuestion(schemaQuestion) {
|
|
10112
9917
|
const question = new QuestionGroup({ questions: [], type: '', key: '' });
|
|
10113
9918
|
question.label = schemaQuestion.label;
|
|
9919
|
+
question.prefix = schemaQuestion.prefix;
|
|
10114
9920
|
question.questions = this.getChildrenQuestionModels(schemaQuestion.questions);
|
|
10115
9921
|
question.key = schemaQuestion.id;
|
|
10116
9922
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10131,6 +9937,7 @@ class QuestionFactory {
|
|
|
10131
9937
|
toPageQuestion(schemaQuestion) {
|
|
10132
9938
|
const question = new QuestionGroup({ questions: [], type: '', key: '' });
|
|
10133
9939
|
question.label = schemaQuestion.label;
|
|
9940
|
+
question.prefix = schemaQuestion.prefix;
|
|
10134
9941
|
question.key = schemaQuestion.label;
|
|
10135
9942
|
question.renderingType = 'page';
|
|
10136
9943
|
question.controlType = AfeControlType.None;
|
|
@@ -10145,6 +9952,7 @@ class QuestionFactory {
|
|
|
10145
9952
|
const question = new QuestionGroup({ questions: [], type: '', key: '' });
|
|
10146
9953
|
question.label = schemaQuestion.label;
|
|
10147
9954
|
question.key = schemaQuestion.label;
|
|
9955
|
+
question.prefix = schemaQuestion.prefix;
|
|
10148
9956
|
question.renderingType = 'form';
|
|
10149
9957
|
question.controlType = AfeControlType.AfeFormGroup;
|
|
10150
9958
|
question.extras = schemaQuestion;
|
|
@@ -10158,6 +9966,7 @@ class QuestionFactory {
|
|
|
10158
9966
|
toSectionQuestion(schemaQuestion) {
|
|
10159
9967
|
const question = new QuestionGroup({ questions: [], type: '', key: '' });
|
|
10160
9968
|
question.label = schemaQuestion.label;
|
|
9969
|
+
question.prefix = schemaQuestion.prefix;
|
|
10161
9970
|
question.key = schemaQuestion.label;
|
|
10162
9971
|
question.renderingType = 'section';
|
|
10163
9972
|
question.controlType = AfeControlType.None;
|
|
@@ -10175,6 +9984,7 @@ class QuestionFactory {
|
|
|
10175
9984
|
resolveFunction: function () { }
|
|
10176
9985
|
});
|
|
10177
9986
|
question.label = schemaQuestion.label;
|
|
9987
|
+
question.prefix = schemaQuestion.prefix;
|
|
10178
9988
|
question.key = schemaQuestion.id;
|
|
10179
9989
|
question.renderingType = 'remote-select';
|
|
10180
9990
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10203,6 +10013,7 @@ class QuestionFactory {
|
|
|
10203
10013
|
resolveFunction: function () { }
|
|
10204
10014
|
});
|
|
10205
10015
|
question.label = schemaQuestion.label;
|
|
10016
|
+
question.prefix = schemaQuestion.prefix;
|
|
10206
10017
|
question.key = schemaQuestion.id;
|
|
10207
10018
|
question.renderingType = 'remote-select';
|
|
10208
10019
|
question.validators = this.addValidators(schemaQuestion);
|
|
@@ -10236,6 +10047,7 @@ class QuestionFactory {
|
|
|
10236
10047
|
resolveFunction: function () { }
|
|
10237
10048
|
});
|
|
10238
10049
|
question.label = schemaQuestion.label;
|
|
10050
|
+
question.prefix = schemaQuestion.prefix;
|
|
10239
10051
|
question.key = schemaQuestion.id;
|
|
10240
10052
|
question.renderingType = schemaQuestion.type;
|
|
10241
10053
|
question.renderingType = 'remote-select';
|
|
@@ -10266,6 +10078,7 @@ class QuestionFactory {
|
|
|
10266
10078
|
rendering: ''
|
|
10267
10079
|
});
|
|
10268
10080
|
question.label = schemaQuestion.label;
|
|
10081
|
+
question.prefix = schemaQuestion.prefix;
|
|
10269
10082
|
question.key = schemaQuestion.id;
|
|
10270
10083
|
question.validators = this.addValidators(schemaQuestion);
|
|
10271
10084
|
question.extras = schemaQuestion;
|
|
@@ -10400,6 +10213,7 @@ class QuestionFactory {
|
|
|
10400
10213
|
const converted = {};
|
|
10401
10214
|
converted.type = 'complex-obs';
|
|
10402
10215
|
converted.label = schemaQuestion.label;
|
|
10216
|
+
converted.prefix = schemaQuestion.prefix;
|
|
10403
10217
|
converted.id = 'complex_' + schemaQuestion.id;
|
|
10404
10218
|
converted.questionOptions = {};
|
|
10405
10219
|
converted.questionOptions.concept = schemaQuestion.questionOptions.concept;
|
|
@@ -12261,7 +12075,7 @@ class RemoteSelectComponent {
|
|
|
12261
12075
|
RemoteSelectComponent.decorators = [
|
|
12262
12076
|
{ type: Component, args: [{
|
|
12263
12077
|
selector: 'ngx-remote-select',
|
|
12264
|
-
template: "<div>\n <ng-select
|
|
12078
|
+
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",
|
|
12265
12079
|
providers: [
|
|
12266
12080
|
{
|
|
12267
12081
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -12401,7 +12215,7 @@ class AppointmentsOverviewComponent {
|
|
|
12401
12215
|
AppointmentsOverviewComponent.decorators = [
|
|
12402
12216
|
{ type: Component, args: [{
|
|
12403
12217
|
selector: 'appointments-overview',
|
|
12404
|
-
template: "<div *ngIf=\"showAppointments\" class=\"container\">\n <div *ngIf=\"loadingAppointments\">\n <span *ngIf=\"!appointmentsLoaded && errorLoadingAppointments\">Error checking appointments</span>\n <div
|
|
12218
|
+
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",
|
|
12405
12219
|
styles: [".container{margin-top:.625rem}.active{background-color:#e0e0e0;cursor:pointer}"]
|
|
12406
12220
|
},] }
|
|
12407
12221
|
];
|
|
@@ -12470,7 +12284,7 @@ class CheckboxControlComponent {
|
|
|
12470
12284
|
CheckboxControlComponent.decorators = [
|
|
12471
12285
|
{ type: Component, args: [{
|
|
12472
12286
|
selector: 'checkbox',
|
|
12473
|
-
template: "<fieldset class=\"cds--fieldset\">\n <div
|
|
12287
|
+
template: "<fieldset class=\"cds--fieldset\">\n <div\n class=\"cds--form-item cds--checkbox-wrapper\"\n *ngFor=\"let option of options; let i = index\"\n >\n <input\n type=\"checkbox\"\n class=\"cds--checkbox\"\n [id]=\"i + id\"\n [checked]=\"option.checked\"\n (change)=\"selectOpt(option, $event)\"\n [value]=\"option.value\"\n />\n <label [for]=\"i + id\" class=\"cds--checkbox-label\">\n <span class=\"cds--checkbox-label-text\">{{ option.label }}</span>\n </label>\n </div>\n</fieldset>\n",
|
|
12474
12288
|
providers: [
|
|
12475
12289
|
{
|
|
12476
12290
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -12481,6 +12295,7 @@ CheckboxControlComponent.decorators = [
|
|
|
12481
12295
|
},] }
|
|
12482
12296
|
];
|
|
12483
12297
|
CheckboxControlComponent.propDecorators = {
|
|
12298
|
+
id: [{ type: Input }],
|
|
12484
12299
|
options: [{ type: Input }],
|
|
12485
12300
|
selected: [{ type: Input }]
|
|
12486
12301
|
};
|
|
@@ -12506,17 +12321,8 @@ class TabComponent {
|
|
|
12506
12321
|
TabComponent.decorators = [
|
|
12507
12322
|
{ type: Component, args: [{
|
|
12508
12323
|
selector: 'ngx-tab',
|
|
12509
|
-
template:
|
|
12510
|
-
|
|
12511
|
-
<h4>{{ tabTitle }}</h4>
|
|
12512
|
-
<div *ngIf="bypassDOM">
|
|
12513
|
-
<ng-container [ngTemplateOutlet]="template"></ng-container>
|
|
12514
|
-
</div>
|
|
12515
|
-
<div *ngIf="!bypassDOM">
|
|
12516
|
-
<ng-content></ng-content>
|
|
12517
|
-
</div>
|
|
12518
|
-
</div>
|
|
12519
|
-
`
|
|
12324
|
+
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",
|
|
12325
|
+
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}"]
|
|
12520
12326
|
},] }
|
|
12521
12327
|
];
|
|
12522
12328
|
TabComponent.propDecorators = {
|
|
@@ -12529,7 +12335,7 @@ TabComponent.propDecorators = {
|
|
|
12529
12335
|
template: [{ type: ContentChild, args: [TemplateRef,] }]
|
|
12530
12336
|
};
|
|
12531
12337
|
|
|
12532
|
-
class
|
|
12338
|
+
class TabSetComponent {
|
|
12533
12339
|
constructor() {
|
|
12534
12340
|
this.disableStyle = false;
|
|
12535
12341
|
this.customNavClass = '';
|
|
@@ -12578,14 +12384,14 @@ class TabsetComponent {
|
|
|
12578
12384
|
}
|
|
12579
12385
|
}
|
|
12580
12386
|
}
|
|
12581
|
-
|
|
12387
|
+
TabSetComponent.decorators = [
|
|
12582
12388
|
{ type: Component, args: [{
|
|
12583
|
-
selector: 'ngx-
|
|
12584
|
-
template: "<div class=\"tab-container\">\n <div class=\"tab\">\n <button
|
|
12585
|
-
styles: [".tab-container{overflow-x:hidden;display:flex
|
|
12389
|
+
selector: 'ngx-tab-set',
|
|
12390
|
+
template: "<div class=\"tab-container\">\n <div class=\"tab\">\n <button\n hover-class=\"hover\"\n class=\"tablinks completed\"\n *ngFor=\"let tab of tabs\"\n (click)=\"selectTab(tab)\"\n [class]=\"getStatusClasses(tab.active, tab.disabled)\"\n >\n <span>{{ tab.tabTitle }}</span>\n </button>\n </div>\n <div id=\"tab\" class=\"tab-content\">\n <ng-content></ng-content>\n </div>\n</div>\n",
|
|
12391
|
+
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,.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-weight:400}.tab button.active,.tab button.completed{font-size:.875rem;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-weight:600}.tab button.enabled{background-color:#fff;border-left:.5rem solid #9ef0f0;line-height:1.43;color:var(--color-gray-100)}.tab button.enabled,.tab button.error{font-size:.875rem;font-weight:400;font-stretch:normal;font-style:normal;letter-spacing:.16px}.tab button.error{background-color:var(--color-red-10);border-left:.5rem solid var(--open-mrs-danger-red-60);line-height:1.29;color:#da1e28}.tab button.disabled{background-color:#fff;border-left:.5rem solid #dae0e0;font-weight:400;line-height:1.43;color:var(--gray-gray-30)}.tab button.active.error,.tab button.disabled{font-size:.875rem;font-stretch:normal;font-style:normal;letter-spacing:.16px}.tab button.active.error{background-color:var(--color-red-20);border-left:.5rem solid var(--open-mrs-danger-red-60);font-weight:600;line-height:1.29;color:#da1e28}.tab-content{width:100%;margin-left:10rem}"]
|
|
12586
12392
|
},] }
|
|
12587
12393
|
];
|
|
12588
|
-
|
|
12394
|
+
TabSetComponent.propDecorators = {
|
|
12589
12395
|
tabs: [{ type: ContentChildren, args: [TabComponent,] }],
|
|
12590
12396
|
disableStyle: [{ type: Input }],
|
|
12591
12397
|
customNavClass: [{ type: Input }],
|
|
@@ -12641,8 +12447,8 @@ class NgxTabSetModule {
|
|
|
12641
12447
|
}
|
|
12642
12448
|
NgxTabSetModule.decorators = [
|
|
12643
12449
|
{ type: NgModule, args: [{
|
|
12644
|
-
declarations: [TabComponent,
|
|
12645
|
-
exports: [TabComponent,
|
|
12450
|
+
declarations: [TabComponent, TabSetComponent, HoverClassDirective],
|
|
12451
|
+
exports: [TabComponent, TabSetComponent],
|
|
12646
12452
|
imports: [CommonModule]
|
|
12647
12453
|
},] }
|
|
12648
12454
|
];
|
|
@@ -13314,7 +13120,7 @@ class CustomControlWrapperComponent {
|
|
|
13314
13120
|
CustomControlWrapperComponent.decorators = [
|
|
13315
13121
|
{ type: Component, args: [{
|
|
13316
13122
|
selector: 'app-custom-control-wrapper',
|
|
13317
|
-
template: "<div>\n
|
|
13123
|
+
template: "<div>\n <ng-template #error>Loading failed...</ng-template>\n <ng-template #loading>Loading...</ng-template>\n <ax-lazy-element\n *axLazyElementDynamic=\"\n customControlConfig.tag;\n url: customControlConfig.url;\n module: true;\n errorTemplate: error;\n loadingTemplate: loading\n \"\n [question]=\"question\"\n [value]=\"value\"\n [disabled]=\"disabled\"\n (on-change)=\"onValueChange($event)\"\n [config]=\"config\"\n >\n </ax-lazy-element>\n</div>\n",
|
|
13318
13124
|
providers: [
|
|
13319
13125
|
{
|
|
13320
13126
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -13349,7 +13155,7 @@ class CustomComponentWrapperComponent {
|
|
|
13349
13155
|
CustomComponentWrapperComponent.decorators = [
|
|
13350
13156
|
{ type: Component, args: [{
|
|
13351
13157
|
selector: 'app-custom-component-wrapper',
|
|
13352
|
-
template: "<div>\n
|
|
13158
|
+
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"
|
|
13353
13159
|
},] }
|
|
13354
13160
|
];
|
|
13355
13161
|
CustomComponentWrapperComponent.propDecorators = {
|
|
@@ -13457,5 +13263,5 @@ var RenderingType;
|
|
|
13457
13263
|
* Generated bundle index. Do not edit.
|
|
13458
13264
|
*/
|
|
13459
13265
|
|
|
13460
|
-
export { AfeControlType, AfeFormArray, AfeFormControl, AfeFormGroup, CheckBoxQuestion, ConditionalValidationModel, ControlRelationsFactory, DataSources, DateQuestion, DateTimePickerModule, DateValidationModel, EncounterAdapter, FileUploadQuestion, Form, FormControlService, FormEntryModule, FormErrorsService, FormFactory, FormSchemaCompiler, HistoricalEncounterDataService, JsExpressionHelper, JsExpressionValidationModel, MaxValidationModel, MinValidationModel, MultiSelectQuestion, NestedQuestion, NgxDateTimePickerModule, ObsAdapterHelper, ObsValueAdapter, Option$1 as Option, OrderValueAdapter, Pair, PersonAttribuAdapter, QuestionBase, QuestionFactory, QuestionGroup, RenderingType, RepeatingQuestion, SelectQuestion, TestOrderQuestion, TextAreaInputQuestion, TextInputQuestion, UiSelectQuestion, ValidationFactory, ValidationModel, SelectModule as ɵa, Select as ɵb, OWL_DIALOG_SCROLL_STRATEGY as ɵba, OWL_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY as ɵbb, OWL_DIALOG_SCROLL_STRATEGY_PROVIDER as ɵbc, OWL_DIALOG_DEFAULT_OPTIONS as ɵbd, OwlDialogService as ɵbe, OwlDialogConfig as ɵbf, OwlCalendarComponent as ɵbg, OWL_DATE_TIME_FORMATS as ɵbi, OwlDateTimeIntl as ɵbj, OWL_DATE_TIME_LOCALE as ɵbk, OWL_DATE_TIME_LOCALE_FACTORY as ɵbl, DateTimeAdapter as ɵbm, OwlTimerComponent as ɵbn, OwlDateTimeTriggerDirective as ɵbo, OWL_DATETIME_VALUE_ACCESSOR$1 as ɵbp, OWL_DATETIME_VALIDATORS as ɵbq, OwlDateTimeInputDirective as ɵbr, OWL_DTPICKER_SCROLL_STRATEGY as ɵbs, OWL_DTPICKER_SCROLL_STRATEGY_PROVIDER_FACTORY as ɵbt, OWL_DTPICKER_SCROLL_STRATEGY_PROVIDER as ɵbu, OwlDateTimeComponent as ɵbv, OwlDateTime as ɵbw, OWL_DATETIME_VALUE_ACCESSOR as ɵbx, OwlDateTimeInlineComponent as ɵby, OwlDateTimeContainerComponent as ɵbz, Option as ɵc, owlDateTimePickerAnimations as ɵca, OwlMultiYearViewComponent as ɵcb, OwlCalendarBodyComponent as ɵcc, OwlYearViewComponent as ɵcd, OwlMonthViewComponent as ɵce, OwlTimerBoxComponent as ɵcf, NumberFixedLenPipe as ɵcg, NativeDateTimeModule as ɵch, OwlNativeDateTimeModule as ɵci, NativeDateTimeAdapter as ɵcj, OWL_NATIVE_DATE_TIME_FORMATS as ɵck, NgxDatetimeComponent as ɵcl, CustomControlWrapperModule as ɵcm, CustomControlWrapperComponent as ɵcn, CustomComponentWrapperModule as ɵco, CustomComponentWrapperComponent as ɵcp, NgxTabSetModule as ɵcq, TabComponent as ɵcr,
|
|
13266
|
+
export { AfeControlType, AfeFormArray, AfeFormControl, AfeFormGroup, CheckBoxQuestion, ConditionalValidationModel, ControlRelationsFactory, DataSources, DateQuestion, DateTimePickerModule, DateValidationModel, EncounterAdapter, FileUploadQuestion, Form, FormControlService, FormEntryModule, FormErrorsService, FormFactory, FormSchemaCompiler, HistoricalEncounterDataService, JsExpressionHelper, JsExpressionValidationModel, MaxValidationModel, MinValidationModel, MultiSelectQuestion, NestedQuestion, NgxDateTimePickerModule, ObsAdapterHelper, ObsValueAdapter, Option$1 as Option, OrderValueAdapter, Pair, PersonAttribuAdapter, QuestionBase, QuestionFactory, QuestionGroup, RenderingType, RepeatingQuestion, SelectQuestion, TestOrderQuestion, TextAreaInputQuestion, TextInputQuestion, UiSelectQuestion, ValidationFactory, ValidationModel, SelectModule as ɵa, Select as ɵb, OWL_DIALOG_SCROLL_STRATEGY as ɵba, OWL_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY as ɵbb, OWL_DIALOG_SCROLL_STRATEGY_PROVIDER as ɵbc, OWL_DIALOG_DEFAULT_OPTIONS as ɵbd, OwlDialogService as ɵbe, OwlDialogConfig as ɵbf, OwlCalendarComponent as ɵbg, OWL_DATE_TIME_FORMATS as ɵbi, OwlDateTimeIntl as ɵbj, OWL_DATE_TIME_LOCALE as ɵbk, OWL_DATE_TIME_LOCALE_FACTORY as ɵbl, DateTimeAdapter as ɵbm, OwlTimerComponent as ɵbn, OwlDateTimeTriggerDirective as ɵbo, OWL_DATETIME_VALUE_ACCESSOR$1 as ɵbp, OWL_DATETIME_VALIDATORS as ɵbq, OwlDateTimeInputDirective as ɵbr, OWL_DTPICKER_SCROLL_STRATEGY as ɵbs, OWL_DTPICKER_SCROLL_STRATEGY_PROVIDER_FACTORY as ɵbt, OWL_DTPICKER_SCROLL_STRATEGY_PROVIDER as ɵbu, OwlDateTimeComponent as ɵbv, OwlDateTime as ɵbw, OWL_DATETIME_VALUE_ACCESSOR as ɵbx, OwlDateTimeInlineComponent as ɵby, OwlDateTimeContainerComponent as ɵbz, Option as ɵc, owlDateTimePickerAnimations as ɵca, OwlMultiYearViewComponent as ɵcb, OwlCalendarBodyComponent as ɵcc, OwlYearViewComponent as ɵcd, OwlMonthViewComponent as ɵce, OwlTimerBoxComponent as ɵcf, NumberFixedLenPipe as ɵcg, NativeDateTimeModule as ɵch, OwlNativeDateTimeModule as ɵci, NativeDateTimeAdapter as ɵcj, OWL_NATIVE_DATE_TIME_FORMATS as ɵck, NgxDatetimeComponent as ɵcl, CustomControlWrapperModule as ɵcm, CustomControlWrapperComponent as ɵcn, CustomComponentWrapperModule as ɵco, CustomComponentWrapperComponent as ɵcp, NgxTabSetModule as ɵcq, TabComponent as ɵcr, TabSetComponent as ɵcs, HoverClassDirective as ɵct, FormRendererComponent as ɵcu, AfeNgSelectComponent as ɵcv, AppointmentsOverviewComponent as ɵcw, HistoricalValueDirective as ɵcx, HistoricalFieldHelperService as ɵcy, ErrorRendererComponent as ɵcz, OptGroup as ɵd, TimeAgoPipe as ɵda, CollapseDirective as ɵdb, HidersDisablersFactory as ɵdc, ExpressionRunner as ɵdd, DebugModeService as ɵde, AlertsFactory as ɵdf, NumberInputModule as ɵe, NumberInputComponent as ɵf, InputModule as ɵg, Label as ɵh, TextArea as ɵi, TextInput as ɵj, DatePickerComponent as ɵk, TimePickerComponent as ɵl, ModalComponent as ɵm, MomentPipe as ɵn, DateTimePickerComponent as ɵo, NgxRemoteSelectModule as ɵp, RemoteSelectComponent as ɵq, RemoteFileUploadModule as ɵr, SharedModule as ɵs, SecurePipe as ɵt, FileUploadComponent as ɵu, CheckboxModule as ɵv, CheckboxControlComponent as ɵw, OwlDateTimeModule as ɵx, OwlDialogModule as ɵy, OwlDialogContainerComponent as ɵz };
|
|
13461
13267
|
//# sourceMappingURL=openmrs-ngx-formentry.js.map
|