@huntsman-cancer-institute/navigation 17.14.1 → 17.14.3
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/esm2022/components/search-list/search-list-controller.component.mjs +12 -7
- package/esm2022/components/search-list/search-list.component.mjs +17 -5
- package/esm2022/components/ul-nav.component.mjs +3 -3
- package/fesm2022/huntsman-cancer-institute-navigation.mjs +29 -12
- package/fesm2022/huntsman-cancer-institute-navigation.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -47,7 +47,7 @@ let UlNavComponent = class UlNavComponent extends NavComponent {
|
|
|
47
47
|
<ul [id]="id + '-ul'" class="hci-ul {{ulClass}}">
|
|
48
48
|
<ng-container #containerRef></ng-container>
|
|
49
49
|
</ul>
|
|
50
|
-
`, isInline: true, styles: [".hci-dic-ul-class{color:var(--
|
|
50
|
+
`, isInline: true, styles: [".hci-dic-ul-class{color:var(--white-lightest);background-color:var(--bluewarm-dark)}\n"] }); }
|
|
51
51
|
};
|
|
52
52
|
UlNavComponent = __decorate([
|
|
53
53
|
ComponentType("UlNavComponent"),
|
|
@@ -64,7 +64,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
64
64
|
<ul [id]="id + '-ul'" class="hci-ul {{ulClass}}">
|
|
65
65
|
<ng-container #containerRef></ng-container>
|
|
66
66
|
</ul>
|
|
67
|
-
`, styles: [".hci-dic-ul-class{color:var(--
|
|
67
|
+
`, styles: [".hci-dic-ul-class{color:var(--white-lightest);background-color:var(--bluewarm-dark)}\n"] }]
|
|
68
68
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: i1.NavigationService }, { type: i0.ChangeDetectorRef }], propDecorators: { ulClass: [{
|
|
69
69
|
type: Input
|
|
70
70
|
}], containerRefSetter: [{
|
|
@@ -74,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12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lhbGl6ZWQoKSB7XHJcbiAgICBpZiAodGhpcy5hZnRlclZpZXdJbml0ICYmIHRoaXMuY29udGFpbmVyUmVmKSB7XHJcbiAgICAgIHRoaXMuaW5pdGlhbGl6ZWQgPSB0cnVlO1xyXG4gICAgICB0aGlzLnVwZGF0ZUNvbmZpZyh0aGlzLmNvbmZpZyk7XHJcbiAgICAgIHRoaXMuY2hhbmdlRGV0ZWN0b3JSZWYuZGV0ZWN0Q2hhbmdlcygpO1xyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgZ2V0Q29udGFpbmVyKGNvbnRhaW5lcj86IHN0cmluZyk6IFZpZXdDb250YWluZXJSZWYge1xyXG4gICAgcmV0dXJuIHRoaXMuY29udGFpbmVyUmVmO1xyXG4gIH1cclxuXHJcbiAgc2V0Q29uZmlnKGNvbmZpZyk6IHZvaWQge1xyXG4gICAgc3VwZXIuc2V0Q29uZmlnKGNvbmZpZyk7XHJcbiAgfVxyXG5cclxuICB1cGRhdGVDb25maWcoY29uZmlnKTogdm9pZCB7XHJcbiAgICBzdXBlci51cGRhdGVDb25maWcoY29uZmlnKTtcclxuXHJcbiAgICBpZiAoY29uZmlnLnVsQ2xhc3MpIHtcclxuICAgICAgdGhpcy51bENsYXNzID0gY29uZmlnLnVsQ2xhc3M7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -817,7 +817,7 @@ let UlNavComponent = class UlNavComponent extends NavComponent {
|
|
|
817
817
|
<ul [id]="id + '-ul'" class="hci-ul {{ulClass}}">
|
|
818
818
|
<ng-container #containerRef></ng-container>
|
|
819
819
|
</ul>
|
|
820
|
-
`, isInline: true, styles: [".hci-dic-ul-class{color:var(--
|
|
820
|
+
`, isInline: true, styles: [".hci-dic-ul-class{color:var(--white-lightest);background-color:var(--bluewarm-dark)}\n"] }); }
|
|
821
821
|
};
|
|
822
822
|
UlNavComponent = __decorate$b([
|
|
823
823
|
ComponentType("UlNavComponent"),
|
|
@@ -833,7 +833,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
833
833
|
<ul [id]="id + '-ul'" class="hci-ul {{ulClass}}">
|
|
834
834
|
<ng-container #containerRef></ng-container>
|
|
835
835
|
</ul>
|
|
836
|
-
`, styles: [".hci-dic-ul-class{color:var(--
|
|
836
|
+
`, styles: [".hci-dic-ul-class{color:var(--white-lightest);background-color:var(--bluewarm-dark)}\n"] }]
|
|
837
837
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: NavigationService }, { type: i0.ChangeDetectorRef }], propDecorators: { ulClass: [{
|
|
838
838
|
type: Input
|
|
839
839
|
}], containerRefSetter: [{
|
|
@@ -2313,7 +2313,12 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
|
|
|
2313
2313
|
this.boundFilters = [];
|
|
2314
2314
|
this.boundAdvancedSearchFilters = [];
|
|
2315
2315
|
for (let filterField of this.filterByAllowedFields) {
|
|
2316
|
-
|
|
2316
|
+
let dataType = "string";
|
|
2317
|
+
let field = this.fields.find(x => x.field == filterField);
|
|
2318
|
+
if (field && field.type) {
|
|
2319
|
+
dataType = field.type.toLowerCase();
|
|
2320
|
+
}
|
|
2321
|
+
this.boundFilters.push(new HciFilterDto(filterField, dataType, undefined, undefined, "L", false));
|
|
2317
2322
|
}
|
|
2318
2323
|
for (let filterField of this.advancedSearchFields) {
|
|
2319
2324
|
this.boundAdvancedSearchFilters.push(new HciFilterDto(filterField, "string", undefined, undefined, "L", false));
|
|
@@ -2367,7 +2372,7 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
|
|
|
2367
2372
|
return;
|
|
2368
2373
|
}
|
|
2369
2374
|
for (let filter of this.boundFilters) {
|
|
2370
|
-
if (filter.value instanceof Date) {
|
|
2375
|
+
if (filter.value instanceof Date || (filter.getDataType() == 'date' && filter.value && !isNaN(new Date(filter.value).getTime()))) {
|
|
2371
2376
|
filter.valid = true;
|
|
2372
2377
|
}
|
|
2373
2378
|
else if (filter.value && filter.value.length > 0) {
|
|
@@ -2643,7 +2648,7 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
|
|
|
2643
2648
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: SearchListControllerComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }, { token: NavigationGlobalService }, { token: NavigationService, optional: true }, { token: i3$3.HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2644
2649
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: SearchListControllerComponent, selector: "hci-search-list-controller", inputs: { showTitle: "showTitle", buttonTemplate: "buttonTemplate", inputMultiline: "inputMultiline", searchOptionsWidth: "searchOptionsWidth", fields: "fields", customStyles: "customStyles", basicSearch: "basicSearch", advancedSearch: "advancedSearch", filterByAllowedFields: "filterByAllowedFields", quickSearchFields: "quickSearchFields", advancedSearchFields: "advancedSearchFields", sortByAllowedFields: "sortByAllowedFields", sorts: "sorts", showQuickSearchOptions: "showQuickSearchOptions", showAdvancedSearchOptions: "showAdvancedSearchOptions", searchTypeArray: "searchTypeArray", searchType: "searchType", searchTypeSelected: "searchTypeSelected", basicSearchHeader: "basicSearchHeader", globalSearchPlaceholder: "globalSearchPlaceholder", globalSearchValidator: "globalSearchValidator", buttonRowTemplate: "buttonRowTemplate", searchSortingOptions: "searchSortingOptions", labelText: "labelText" }, outputs: { searchListChange: "searchListChange" }, host: { listeners: { "document:click": "documentClick($event,$event.target)" } }, exportAs: ["searchListControllerComponent"], usesInheritance: true, ngImport: i0, template: `
|
|
2645
2650
|
<div id="search-title" class="d-flex flex-column">
|
|
2646
|
-
<div *ngIf="showTitle" class="d-flex ps-2 hci-
|
|
2651
|
+
<div *ngIf="showTitle" class="d-flex ps-2 hci-search-list-controller-color">
|
|
2647
2652
|
<div *ngIf="showBackButton" class="me-auto ms-1 backButton">
|
|
2648
2653
|
<button (click)="backButtonClicked()" aria-label="hci-ng-sidebar-back-button">
|
|
2649
2654
|
<i class="fas fa-angle-double-left"></i>
|
|
@@ -3059,7 +3064,7 @@ let SearchListControllerComponent = class SearchListControllerComponent extends
|
|
|
3059
3064
|
</mat-button-toggle-group>
|
|
3060
3065
|
</div>
|
|
3061
3066
|
</div>
|
|
3062
|
-
`, isInline: true, styles: ["select{padding:.25em 0 .25em .25em;outline-offset:-1px;border:0;color:#8a9499;font-size:.8rem;background-color:#fff}.search-box{border:none;border-right:.1px solid #5B6266;padding-left:.5rem!important;color:var(--grey-darkest);font-size:.8rem}.search-options{border-radius:10px}.search-button:enabled{width:30%;min-height:2rem;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);margin:0;color:var(--white-lightest);border:1px solid var(--bluewarm-dark)}.search-button:hover{background:linear-gradient(0deg,var(--bluewarm-meddark) 0%,var(--bluewarm-dark) 100%);color:var(--white-lightest);border:1px solid var(--bluewarm-darker)}.search-button:disabled{width:30%;opacity:.5;cursor:not-allowed;box-shadow:none;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);border:1px solid var(--bluewarm-dark);color:var(--white-lightest)}.global-search{align-items:center;width:100%;border-radius:2px;border:.04em solid var(--greywarm-dark)}.tab-title-class{display:flex;height:50px;background:#d3d3d3}.tab-pane{width:min-content!important}.search-options.expanded{height:fit-content}.backButton .fa-angle-double-left{color:#fff}.svg-inline--fas fa-angle-double-left{color:#fff}.sort-item{display:flex;color:#000}.sort-icon{width:1.5rem}.sort-text:hover{cursor:pointer}.hci-
|
|
3067
|
+
`, isInline: true, styles: ["select{padding:.25em 0 .25em .25em;outline-offset:-1px;border:0;color:#8a9499;font-size:.8rem;background-color:#fff}.search-box{border:none;border-right:.1px solid #5B6266;padding-left:.5rem!important;color:var(--grey-darkest);font-size:.8rem}.search-options{border-radius:10px}.search-button:enabled{width:30%;min-height:2rem;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);margin:0;color:var(--white-lightest);border:1px solid var(--bluewarm-dark)}.search-button:hover{background:linear-gradient(0deg,var(--bluewarm-meddark) 0%,var(--bluewarm-dark) 100%);color:var(--white-lightest);border:1px solid var(--bluewarm-darker)}.search-button:disabled{width:30%;opacity:.5;cursor:not-allowed;box-shadow:none;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);border:1px solid var(--bluewarm-dark);color:var(--white-lightest)}.global-search{align-items:center;width:100%;border-radius:2px;border:.04em solid var(--greywarm-dark)}.tab-title-class{display:flex;height:50px;background:#d3d3d3}.tab-pane{width:min-content!important}.search-options.expanded{height:fit-content}.backButton .fa-angle-double-left{color:#fff}.svg-inline--fas fa-angle-double-left{color:#fff}.sort-item{display:flex;color:#000}.sort-icon{width:1.5rem}.sort-text:hover{cursor:pointer}.hci-search-list-controller-color{color:var(--white-lightest)!important}.textarea-search-box{align-content:center;width:100%;min-height:30px}.multiline-search-button{height:100%;max-width:3rem;min-width:3rem}.filter-sorting-panel{margin-top:30px}.disabled-button{opacity:.5;cursor:not-allowed;box-shadow:none;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);border:1px solid var(--bluewarm-dark);color:var(--white-lightest)}.nav-container{display:flex!important;flex-wrap:nowrap}.no-user-select-text{-webkit-user-select:none;-ms-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3$2.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { kind: "directive", type: i3$2.NgbNav, selector: "[ngbNav]", inputs: ["activeId", "animation", "destroyOnHide", "orientation", "roles", "keyboard"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { kind: "directive", type: i3$2.NgbNavItem, selector: "[ngbNavItem]", inputs: ["destroyOnHide", "disabled", "domId", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { kind: "directive", type: i3$2.NgbNavLink, selector: "a[ngbNavLink]" }, { kind: "directive", type: i3$2.NgbNavLinkBase, selector: "[ngbNavLink]" }, { kind: "component", type: i3$2.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { kind: "directive", type: i7.MatButtonToggleGroup, selector: "mat-button-toggle-group", inputs: ["appearance", "name", "vertical", "value", "multiple", "disabled"], outputs: ["valueChange", "change"], exportAs: ["matButtonToggleGroup"] }, { kind: "component", type: i7.MatButtonToggle, selector: "mat-button-toggle", inputs: ["disableRipple", "aria-label", "aria-labelledby", "id", "name", "value", "tabIndex", "appearance", "checked", "disabled"], outputs: ["change"], exportAs: ["matButtonToggle"] }, { kind: "component", type: i8.MatLegacyFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i8.MatLegacyLabel, selector: "mat-label" }, { kind: "directive", type: i8.MatLegacySuffix, selector: "[matSuffix]" }, { kind: "directive", type: i9.MatLegacyInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", exportAs: ["matInput"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i11.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i11.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i12.MatLegacyCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i13.MatLegacySelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i14.MatLegacyOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: RIRippleEffectDirective, selector: "[riRippleEffect]", inputs: ["hostClass", "rippleClass"] }] }); }
|
|
3063
3068
|
};
|
|
3064
3069
|
SearchListControllerComponent = __decorate$3([
|
|
3065
3070
|
ComponentType("SearchListControllerComponent"),
|
|
@@ -3075,7 +3080,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
3075
3080
|
type: Component,
|
|
3076
3081
|
args: [{ selector: "hci-search-list-controller", exportAs: "searchListControllerComponent", template: `
|
|
3077
3082
|
<div id="search-title" class="d-flex flex-column">
|
|
3078
|
-
<div *ngIf="showTitle" class="d-flex ps-2 hci-
|
|
3083
|
+
<div *ngIf="showTitle" class="d-flex ps-2 hci-search-list-controller-color">
|
|
3079
3084
|
<div *ngIf="showBackButton" class="me-auto ms-1 backButton">
|
|
3080
3085
|
<button (click)="backButtonClicked()" aria-label="hci-ng-sidebar-back-button">
|
|
3081
3086
|
<i class="fas fa-angle-double-left"></i>
|
|
@@ -3491,7 +3496,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
3491
3496
|
</mat-button-toggle-group>
|
|
3492
3497
|
</div>
|
|
3493
3498
|
</div>
|
|
3494
|
-
`, styles: ["select{padding:.25em 0 .25em .25em;outline-offset:-1px;border:0;color:#8a9499;font-size:.8rem;background-color:#fff}.search-box{border:none;border-right:.1px solid #5B6266;padding-left:.5rem!important;color:var(--grey-darkest);font-size:.8rem}.search-options{border-radius:10px}.search-button:enabled{width:30%;min-height:2rem;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);margin:0;color:var(--white-lightest);border:1px solid var(--bluewarm-dark)}.search-button:hover{background:linear-gradient(0deg,var(--bluewarm-meddark) 0%,var(--bluewarm-dark) 100%);color:var(--white-lightest);border:1px solid var(--bluewarm-darker)}.search-button:disabled{width:30%;opacity:.5;cursor:not-allowed;box-shadow:none;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);border:1px solid var(--bluewarm-dark);color:var(--white-lightest)}.global-search{align-items:center;width:100%;border-radius:2px;border:.04em solid var(--greywarm-dark)}.tab-title-class{display:flex;height:50px;background:#d3d3d3}.tab-pane{width:min-content!important}.search-options.expanded{height:fit-content}.backButton .fa-angle-double-left{color:#fff}.svg-inline--fas fa-angle-double-left{color:#fff}.sort-item{display:flex;color:#000}.sort-icon{width:1.5rem}.sort-text:hover{cursor:pointer}.hci-
|
|
3499
|
+
`, styles: ["select{padding:.25em 0 .25em .25em;outline-offset:-1px;border:0;color:#8a9499;font-size:.8rem;background-color:#fff}.search-box{border:none;border-right:.1px solid #5B6266;padding-left:.5rem!important;color:var(--grey-darkest);font-size:.8rem}.search-options{border-radius:10px}.search-button:enabled{width:30%;min-height:2rem;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);margin:0;color:var(--white-lightest);border:1px solid var(--bluewarm-dark)}.search-button:hover{background:linear-gradient(0deg,var(--bluewarm-meddark) 0%,var(--bluewarm-dark) 100%);color:var(--white-lightest);border:1px solid var(--bluewarm-darker)}.search-button:disabled{width:30%;opacity:.5;cursor:not-allowed;box-shadow:none;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);border:1px solid var(--bluewarm-dark);color:var(--white-lightest)}.global-search{align-items:center;width:100%;border-radius:2px;border:.04em solid var(--greywarm-dark)}.tab-title-class{display:flex;height:50px;background:#d3d3d3}.tab-pane{width:min-content!important}.search-options.expanded{height:fit-content}.backButton .fa-angle-double-left{color:#fff}.svg-inline--fas fa-angle-double-left{color:#fff}.sort-item{display:flex;color:#000}.sort-icon{width:1.5rem}.sort-text:hover{cursor:pointer}.hci-search-list-controller-color{color:var(--white-lightest)!important}.textarea-search-box{align-content:center;width:100%;min-height:30px}.multiline-search-button{height:100%;max-width:3rem;min-width:3rem}.filter-sorting-panel{margin-top:30px}.disabled-button{opacity:.5;cursor:not-allowed;box-shadow:none;background:linear-gradient(0deg,var(--bluewarm-dark) 30%,var(--bluewarm-meddark) 100%);border:1px solid var(--bluewarm-dark);color:var(--white-lightest)}.nav-container{display:flex!important;flex-wrap:nowrap}.no-user-select-text{-webkit-user-select:none;-ms-user-select:none;user-select:none}\n"] }]
|
|
3495
3500
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: NavigationGlobalService }, { type: NavigationService, decorators: [{
|
|
3496
3501
|
type: Optional
|
|
3497
3502
|
}] }, { type: i3$3.HttpClient }, { type: i0.ChangeDetectorRef }], propDecorators: { showTitle: [{
|
|
@@ -4020,6 +4025,7 @@ let SearchListComponent = class SearchListComponent extends NavComponent {
|
|
|
4020
4025
|
if (this.filters && this.filters.length > 0) {
|
|
4021
4026
|
let include = true;
|
|
4022
4027
|
for (let filter of this.filters) {
|
|
4028
|
+
console.log("filter:", filter);
|
|
4023
4029
|
if (!filter.valid) {
|
|
4024
4030
|
continue;
|
|
4025
4031
|
}
|
|
@@ -4028,7 +4034,18 @@ let SearchListComponent = class SearchListComponent extends NavComponent {
|
|
|
4028
4034
|
continue;
|
|
4029
4035
|
}
|
|
4030
4036
|
else {
|
|
4031
|
-
let filterValues
|
|
4037
|
+
let filterValues;
|
|
4038
|
+
if (filter.getDataType() == "date") {
|
|
4039
|
+
if (Array.isArray(filter.getValue())) {
|
|
4040
|
+
filterValues = filter.getValue();
|
|
4041
|
+
}
|
|
4042
|
+
else {
|
|
4043
|
+
filterValues = [filter.getValue()];
|
|
4044
|
+
}
|
|
4045
|
+
}
|
|
4046
|
+
else {
|
|
4047
|
+
filterValues = filter.getValue().split(",");
|
|
4048
|
+
}
|
|
4032
4049
|
let filterFields = filter.getField().split(" or ");
|
|
4033
4050
|
let innerInclude = false;
|
|
4034
4051
|
for (let field of filterFields) {
|
|
@@ -4042,7 +4059,7 @@ let SearchListComponent = class SearchListComponent extends NavComponent {
|
|
|
4042
4059
|
}
|
|
4043
4060
|
else if (row[field] && row[field] instanceof Date || filter.getDataType() == "date") {
|
|
4044
4061
|
for (let value of filterValues) {
|
|
4045
|
-
if (value instanceof Date) {
|
|
4062
|
+
if (value != undefined && (value instanceof Date || !isNaN(new Date(value).getTime()))) {
|
|
4046
4063
|
if ((new Date(row[field])).getTime() == (new Date(value)).getTime()) {
|
|
4047
4064
|
innerInclude = true;
|
|
4048
4065
|
break;
|
|
@@ -4794,7 +4811,7 @@ let SearchListComponent = class SearchListComponent extends NavComponent {
|
|
|
4794
4811
|
<div class="font-weight-bold me-auto">{{getGroupDisplay(rowGroup)}}</div>
|
|
4795
4812
|
</div>
|
|
4796
4813
|
</ng-template>
|
|
4797
|
-
`, isInline: true, styles: [".results-count{background-color:var(--bluewarm-
|
|
4814
|
+
`, isInline: true, styles: [".results-count{background-color:var(--bluewarm-dark);color:var(--white-lightest);font-size:17.3px;padding-left:18px;box-shadow:0 1px 10px 3px var(--greycool-meddarker);z-index:1}.format-bottom-padding{padding-bottom:25px}:host::ng-deep div[id^=row-]:nth-child(2n){background-color:var(--white-medium)!important}:host::ng-deep div[id^=row-]:nth-child(odd){background-color:var(--white-lightest)!important}:host::ng-deep div[id^=row-]{border:0!important}:host::ng-deep div.row-parent.active{color:#fff!important;background-color:var(--bluewarmvivid-medlight)!important}:host::ng-deep .ri-sidebar-cell{background-color:transparent!important}\n"], dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i5$1.BusyComponent, selector: "hci-busy", inputs: ["busy", "busySubjects", "getBusySubjects", "parentSelector", "rootClass", "icon", "iconSize", "showIcon", "mxAuto", "myAuto", "text", "template", "config"] }] }); }
|
|
4798
4815
|
};
|
|
4799
4816
|
SearchListComponent = __decorate$2([
|
|
4800
4817
|
ComponentType("SearchListComponent"),
|
|
@@ -4977,7 +4994,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
4977
4994
|
<div class="font-weight-bold me-auto">{{getGroupDisplay(rowGroup)}}</div>
|
|
4978
4995
|
</div>
|
|
4979
4996
|
</ng-template>
|
|
4980
|
-
`, styles: [".results-count{background-color:var(--bluewarm-
|
|
4997
|
+
`, styles: [".results-count{background-color:var(--bluewarm-dark);color:var(--white-lightest);font-size:17.3px;padding-left:18px;box-shadow:0 1px 10px 3px var(--greycool-meddarker);z-index:1}.format-bottom-padding{padding-bottom:25px}:host::ng-deep div[id^=row-]:nth-child(2n){background-color:var(--white-medium)!important}:host::ng-deep div[id^=row-]:nth-child(odd){background-color:var(--white-lightest)!important}:host::ng-deep div[id^=row-]{border:0!important}:host::ng-deep div.row-parent.active{color:#fff!important;background-color:var(--bluewarmvivid-medlight)!important}:host::ng-deep .ri-sidebar-cell{background-color:transparent!important}\n"] }]
|
|
4981
4998
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ComponentFactoryResolver }, { type: NavigationGlobalService }, { type: NavigationService, decorators: [{
|
|
4982
4999
|
type: Optional
|
|
4983
5000
|
}] }, { type: i0.ChangeDetectorRef }], propDecorators: { controller: [{
|