@huntsman-cancer-institute/dashboard 17.9.2 → 17.9.4
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/configure/widget-add.component.mjs +4 -4
- package/esm2022/configure/widget-attribute.component.mjs +4 -4
- package/esm2022/configure/widget-configure.component.mjs +4 -4
- package/esm2022/dashboard.component.mjs +4 -4
- package/esm2022/dashboard.module.mjs +5 -5
- package/esm2022/pipes/has-editable-attributes.pipe.mjs +4 -4
- package/esm2022/services/dashboard-global.service.mjs +4 -4
- package/esm2022/services/dashboard.service.mjs +4 -4
- package/esm2022/widget/widget-container.component.mjs +4 -4
- package/esm2022/widget/widget-host.component.mjs +4 -4
- package/esm2022/widget/widget.component.mjs +4 -4
- package/fesm2022/huntsman-cancer-institute-dashboard.mjs +36 -36
- package/fesm2022/huntsman-cancer-institute-dashboard.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, isDevMode,
|
|
2
|
+
import { InjectionToken, isDevMode, Inject, Injectable, EventEmitter, Output, Component, Input, ViewEncapsulation, Pipe, HostBinding, ViewContainerRef, ViewChild, HostListener, ElementRef, ViewChildren, NgModule } from '@angular/core';
|
|
3
3
|
import * as i2 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i3 from '@angular/forms';
|
|
@@ -10,7 +10,7 @@ import * as i5 from '@ng-bootstrap/ng-bootstrap';
|
|
|
10
10
|
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
|
11
11
|
import * as i2$1 from 'ng2-dragula';
|
|
12
12
|
import { DragulaModule } from 'ng2-dragula';
|
|
13
|
-
import { trigger, state,
|
|
13
|
+
import { trigger, state, transition, style, animate } from '@angular/animations';
|
|
14
14
|
import domtoimage from 'dom-to-image';
|
|
15
15
|
import * as i1 from '@angular/common/http';
|
|
16
16
|
import { HttpParams } from '@angular/common/http';
|
|
@@ -900,10 +900,10 @@ class DashboardService {
|
|
|
900
900
|
getWidgetComponentCreated() {
|
|
901
901
|
return this.widgetComponentCreated;
|
|
902
902
|
}
|
|
903
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
904
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
903
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardService, deps: [{ token: i1.HttpClient }, { token: USER_PROFILE_ENDPOINT }, { token: DASHBOARD_TYPE }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
904
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardService }); }
|
|
905
905
|
}
|
|
906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardService, decorators: [{
|
|
907
907
|
type: Injectable
|
|
908
908
|
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
909
909
|
type: Inject,
|
|
@@ -1053,12 +1053,12 @@ class WidgetComponent {
|
|
|
1053
1053
|
return new Map();
|
|
1054
1054
|
}
|
|
1055
1055
|
}
|
|
1056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1057
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
1056
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetComponent, deps: [{ token: DashboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1057
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetComponent, selector: "widget", outputs: { cardClassEvent: "cardClassEvent" }, ngImport: i0, template: `
|
|
1058
1058
|
<ng-template></ng-template>
|
|
1059
1059
|
`, isInline: true }); }
|
|
1060
1060
|
}
|
|
1061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1061
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetComponent, decorators: [{
|
|
1062
1062
|
type: Component,
|
|
1063
1063
|
args: [{
|
|
1064
1064
|
selector: "widget",
|
|
@@ -1216,8 +1216,8 @@ class WidgetAttributeComponent {
|
|
|
1216
1216
|
this.widgetComponent.config(this.dashboardService.getConfigWidgetComponent().widgetInstance.attributeValueSet.attributeValues);
|
|
1217
1217
|
}
|
|
1218
1218
|
}
|
|
1219
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1220
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
1219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetAttributeComponent, deps: [{ token: DashboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1220
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetAttributeComponent, selector: "widget-attribute", inputs: { idWidgetAttributeValueSet: "idWidgetAttributeValueSet", attribute: "attribute", widgetComponent: "widgetComponent" }, outputs: { changed: "changed" }, usesOnChanges: true, ngImport: i0, template: `
|
|
1221
1221
|
<ng-container *ngIf="init && attributeValues?.length > 0">
|
|
1222
1222
|
<div *ngIf="attribute.dataType === 'string'" class="form-group">
|
|
1223
1223
|
<label for="attr-string" class="bold">{{attribute.name}}</label>
|
|
@@ -1310,7 +1310,7 @@ class WidgetAttributeComponent {
|
|
|
1310
1310
|
</ng-container>
|
|
1311
1311
|
`, isInline: true, styles: [".color-picker,div.color-picker{left:inherit!important;top:inherit!important}.form-control.checkbox{width:inherit;float:left;margin-top:5px;margin-left:4px;margin-right:4px}.graphical-choice{width:64px;padding:5px}.graphical-choice.selected{border:red 1px solid!important;border-radius:10px!important}label.bold{font-weight:700}.form-control.centered{margin-top:auto;margin-bottom:auto}.form-check-input{height:1rem}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i3.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: i3.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.ColorPickerDirective, selector: "[colorPicker]", inputs: ["colorPicker", "cpWidth", "cpHeight", "cpToggle", "cpDisabled", "cpIgnoredElements", "cpFallbackColor", "cpColorMode", "cpCmykEnabled", "cpOutputFormat", "cpAlphaChannel", "cpDisableInput", "cpDialogDisplay", "cpSaveClickOutside", "cpCloseClickOutside", "cpUseRootViewContainer", "cpPosition", "cpPositionOffset", "cpPositionRelativeToArrow", "cpOKButton", "cpOKButtonText", "cpOKButtonClass", "cpCancelButton", "cpCancelButtonText", "cpCancelButtonClass", "cpEyeDropper", "cpPresetLabel", "cpPresetColors", "cpPresetColorsClass", "cpMaxPresetColorsLength", "cpPresetEmptyMessage", "cpPresetEmptyMessageClass", "cpAddColorButton", "cpAddColorButtonText", "cpAddColorButtonClass", "cpRemoveColorButtonClass", "cpArrowPosition", "cpExtraTemplate"], outputs: ["cpInputChange", "cpToggleChange", "cpSliderChange", "cpSliderDragEnd", "cpSliderDragStart", "colorPickerOpen", "colorPickerClose", "colorPickerCancel", "colorPickerSelect", "colorPickerChange", "cpCmykColorChange", "cpPresetColorsChange"], exportAs: ["ngxColorPicker"] }, { kind: "directive", type: i5.NgbDropdown, selector: "[ngbDropdown]", inputs: ["autoClose", "dropdownClass", "open", "placement", "popperOptions", "container", "display"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { kind: "directive", type: i5.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { kind: "directive", type: i5.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
1312
1312
|
}
|
|
1313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetAttributeComponent, decorators: [{
|
|
1314
1314
|
type: Component,
|
|
1315
1315
|
args: [{ selector: "widget-attribute", template: `
|
|
1316
1316
|
<ng-container *ngIf="init && attributeValues?.length > 0">
|
|
@@ -1427,10 +1427,10 @@ class HasEditableAttributesPipe {
|
|
|
1427
1427
|
return false;
|
|
1428
1428
|
});
|
|
1429
1429
|
}
|
|
1430
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1431
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.
|
|
1430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HasEditableAttributesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1431
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: HasEditableAttributesPipe, name: "hasEditableAttributes" }); }
|
|
1432
1432
|
}
|
|
1433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HasEditableAttributesPipe, decorators: [{
|
|
1434
1434
|
type: Pipe,
|
|
1435
1435
|
args: [{
|
|
1436
1436
|
name: "hasEditableAttributes",
|
|
@@ -1593,8 +1593,8 @@ class WidgetConfigureComponent {
|
|
|
1593
1593
|
}
|
|
1594
1594
|
return true;
|
|
1595
1595
|
}
|
|
1596
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1597
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
1596
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfigureComponent, deps: [{ token: DashboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1597
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetConfigureComponent, selector: "widget-configure", host: { properties: { "class": "this.classList" } }, ngImport: i0, template: `
|
|
1598
1598
|
<ng-container *ngIf="widgetInstance && selectedAttributeContainer">
|
|
1599
1599
|
<div class="attribute-container-header-parent">
|
|
1600
1600
|
<ng-template ngFor let-attributeContainer let-i="index" [ngForOf]="attributeContainers | hasEditableAttributes">
|
|
@@ -1622,7 +1622,7 @@ class WidgetConfigureComponent {
|
|
|
1622
1622
|
</ng-container>
|
|
1623
1623
|
`, isInline: true, styles: [".attribute-container-header-parent{border-bottom:black 2px solid;padding-bottom:5px;margin-bottom:5px}.attribute-container-header{display:inline-block;width:35px;background-color:#6af;border:black 1px solid;border-radius:20px;padding:4px;font-size:large;font-weight:700;text-align:center;min-height:35px;vertical-align:top}.attribute-container-header.selected{width:45%}.attribute-container{overflow-y:auto;overflow-x:hidden}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "popperOptions", "triggers", "positionTarget", "container", "disableTooltip", "tooltipClass", "tooltipContext", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { kind: "component", type: WidgetAttributeComponent, selector: "widget-attribute", inputs: ["idWidgetAttributeValueSet", "attribute", "widgetComponent"], outputs: ["changed"] }, { kind: "pipe", type: HasEditableAttributesPipe, name: "hasEditableAttributes" }] }); }
|
|
1624
1624
|
}
|
|
1625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetConfigureComponent, decorators: [{
|
|
1626
1626
|
type: Component,
|
|
1627
1627
|
args: [{ selector: "widget-configure", template: `
|
|
1628
1628
|
<ng-container *ngIf="widgetInstance && selectedAttributeContainer">
|
|
@@ -1776,14 +1776,14 @@ class WidgetHostComponent {
|
|
|
1776
1776
|
this.showIcons = false;
|
|
1777
1777
|
this.renderer.removeClass(this.elementRef.nativeElement, "widget-fullscreen");
|
|
1778
1778
|
}
|
|
1779
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1780
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
1779
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetHostComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.ComponentFactoryResolver }, { token: DashboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1780
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetHostComponent, selector: "widget-host", inputs: { widgetInstance: "widgetInstance" }, viewQueries: [{ propertyName: "widgetHolderRef", first: true, predicate: ["widgetComponent"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: `
|
|
1781
1781
|
<div class="widget-host card-padding" (dblclick)="openConfiguration()">
|
|
1782
1782
|
<ng-container #widgetComponent></ng-container>
|
|
1783
1783
|
</div>
|
|
1784
1784
|
`, isInline: true, styles: [".card-padding{padding:.75rem;border:1px solid rgba(0,0,0,.125);height:100%;background-color:#f8f8fc}.widget-right-corner{float:right;margin-right:0;margin-left:auto}.widget-right-corner.next{padding-right:10px}.widget-right-corner.light{color:#ddd}.no-dropdown-icon.dropdown-toggle:after{display:none}.dropdown-menu{top:0!important;margin-top:-2px}.dropdown-menu.submenu{padding-left:15px;border:none;position:relative}\n"] }); }
|
|
1785
1785
|
}
|
|
1786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetHostComponent, decorators: [{
|
|
1787
1787
|
type: Component,
|
|
1788
1788
|
args: [{ selector: "widget-host", template: `
|
|
1789
1789
|
<div class="widget-host card-padding" (dblclick)="openConfiguration()">
|
|
@@ -1865,8 +1865,8 @@ class WidgetContainerComponent {
|
|
|
1865
1865
|
addWidget() {
|
|
1866
1866
|
this.dashboardService.addWidgetSubject.next(true);
|
|
1867
1867
|
}
|
|
1868
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1869
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
1868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetContainerComponent, deps: [{ token: i0.ElementRef }, { token: DashboardService }, { token: i2$1.DragulaService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1869
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetContainerComponent, selector: "widget-container", inputs: { dashboard: "dashboard", dashboardIndex: "dashboardIndex" }, host: { listeners: { "window:resize": "onResize($event)" }, properties: { "class": "this.classList" } }, ngImport: i0, template: `
|
|
1870
1870
|
<div [id]="'widget-container-' + dashboardIndex"
|
|
1871
1871
|
[dragula]="'widget-container-' + dashboardIndex"
|
|
1872
1872
|
class="d-flex flex-grow-1 flex-wrap y-auto p-3 pb-5">
|
|
@@ -1894,7 +1894,7 @@ class WidgetContainerComponent {
|
|
|
1894
1894
|
</div>
|
|
1895
1895
|
`, isInline: true, styles: [".gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)\";filter:alpha(opacity=80)}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)\";filter:alpha(opacity=20)}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.DragulaDirective, selector: "[dragula]", inputs: ["dragula", "dragulaModel"], outputs: ["dragulaModelChange"] }, { kind: "component", type: WidgetHostComponent, selector: "widget-host", inputs: ["widgetInstance"] }] }); }
|
|
1896
1896
|
}
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetContainerComponent, decorators: [{
|
|
1898
1898
|
type: Component,
|
|
1899
1899
|
args: [{ selector: "widget-container", template: `
|
|
1900
1900
|
<div [id]="'widget-container-' + dashboardIndex"
|
|
@@ -1946,10 +1946,10 @@ class DashboardGlobalService {
|
|
|
1946
1946
|
getActiveDashboardService() {
|
|
1947
1947
|
return this.activeDashboardService;
|
|
1948
1948
|
}
|
|
1949
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
1950
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.
|
|
1949
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardGlobalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1950
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardGlobalService }); }
|
|
1951
1951
|
}
|
|
1952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
1952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardGlobalService, decorators: [{
|
|
1953
1953
|
type: Injectable
|
|
1954
1954
|
}] });
|
|
1955
1955
|
|
|
@@ -2070,8 +2070,8 @@ class WidgetAddComponent {
|
|
|
2070
2070
|
searchWidgets(filter) {
|
|
2071
2071
|
this.widgets = this.dashboardService.getWidgetsByFilter(filter);
|
|
2072
2072
|
}
|
|
2073
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2074
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
2073
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetAddComponent, deps: [{ token: DashboardService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2074
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WidgetAddComponent, selector: "widget-add", inputs: { dashboardIndex: "dashboardIndex" }, viewQueries: [{ propertyName: "widgetConfigureComponent", first: true, predicate: WidgetConfigureComponent, descendants: true }], ngImport: i0, template: `
|
|
2075
2075
|
<div class="overlay" [@openBacksplash]="openState">
|
|
2076
2076
|
<div class="modal-dialog" [@openModal]="openState" role="document">
|
|
2077
2077
|
<div class="modal-header">
|
|
@@ -2204,7 +2204,7 @@ class WidgetAddComponent {
|
|
|
2204
2204
|
])
|
|
2205
2205
|
] }); }
|
|
2206
2206
|
}
|
|
2207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WidgetAddComponent, decorators: [{
|
|
2208
2208
|
type: Component,
|
|
2209
2209
|
args: [{ selector: "widget-add", template: `
|
|
2210
2210
|
<div class="overlay" [@openBacksplash]="openState">
|
|
@@ -2515,8 +2515,8 @@ class DashboardComponent {
|
|
|
2515
2515
|
}
|
|
2516
2516
|
});
|
|
2517
2517
|
}
|
|
2518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2519
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.
|
|
2518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: DashboardService }, { token: DashboardGlobalService }, { token: i2$1.DragulaService }, { token: i5.NgbModal }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2519
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DashboardComponent, selector: "dashboard", host: { properties: { "class": "this.classList" } }, providers: [
|
|
2520
2520
|
DashboardService
|
|
2521
2521
|
], viewQueries: [{ propertyName: "widgetConfigure", first: true, predicate: ["widgetConfigure"], descendants: true }, { propertyName: "widgetContainers", predicate: WidgetContainerComponent, descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
2522
2522
|
<ng-template #confirmDialog let-c="close" let-d="dismiss">
|
|
@@ -2710,7 +2710,7 @@ class DashboardComponent {
|
|
|
2710
2710
|
])
|
|
2711
2711
|
] }); }
|
|
2712
2712
|
}
|
|
2713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardComponent, decorators: [{
|
|
2714
2714
|
type: Component,
|
|
2715
2715
|
args: [{ selector: "dashboard", template: `
|
|
2716
2716
|
<ng-template #confirmDialog let-c="close" let-d="dismiss">
|
|
@@ -2925,8 +2925,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImpor
|
|
|
2925
2925
|
* @since 1.0.0
|
|
2926
2926
|
*/
|
|
2927
2927
|
class DashboardModule {
|
|
2928
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.
|
|
2929
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.
|
|
2928
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2929
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DashboardModule, declarations: [DashboardComponent,
|
|
2930
2930
|
WidgetContainerComponent,
|
|
2931
2931
|
WidgetHostComponent,
|
|
2932
2932
|
WidgetComponent,
|
|
@@ -2944,7 +2944,7 @@ class DashboardModule {
|
|
|
2944
2944
|
WidgetAddComponent,
|
|
2945
2945
|
WidgetConfigureComponent,
|
|
2946
2946
|
WidgetAttributeComponent] }); }
|
|
2947
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.
|
|
2947
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardModule, providers: [
|
|
2948
2948
|
ColorPickerService
|
|
2949
2949
|
], imports: [CommonModule,
|
|
2950
2950
|
FormsModule,
|
|
@@ -2952,7 +2952,7 @@ class DashboardModule {
|
|
|
2952
2952
|
DragulaModule,
|
|
2953
2953
|
NgbModule] }); }
|
|
2954
2954
|
}
|
|
2955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.
|
|
2955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DashboardModule, decorators: [{
|
|
2956
2956
|
type: NgModule,
|
|
2957
2957
|
args: [{
|
|
2958
2958
|
imports: [
|