@nova-ui/dashboards 12.0.26-4395 → 12.0.26
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/nova-ui-dashboards.umd.js +1 -1
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/components/dashboard/dashboard.component.js +2 -2
- package/esm2015/lib/components/widget/types.js +1 -1
- package/fesm2015/nova-ui-dashboards.js +1 -1
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/components/widget/types.d.ts +1 -0
- package/package.json +3 -3
- package/sdk/atoms/src/lib/components/widget/types.d.ts +1 -0
|
@@ -4879,7 +4879,7 @@
|
|
|
4879
4879
|
provide: DASHBOARD_EVENT_BUS,
|
|
4880
4880
|
useClass: i3.EventBus,
|
|
4881
4881
|
},
|
|
4882
|
-
], viewQueries: [{ propertyName: "gridster", first: true, predicate: i1.GridsterComponent, descendants: true }, { propertyName: "gridsterItems", predicate: i1.GridsterItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<gridster\n class=\"nui-dashboard__gridster\"\n [options]=\"gridsterConfig\"\n (scroll)=\"onGridsterScroll()\"\n>\n <gridster-item\n *ngFor=\"\n let widget of dashboard.widgets | keyvalue: orderWidgets;\n trackBy: trackByFn\n \"\n [item]=\"dashboard.positions[widget.key]\"\n class=\"nui-dashboard__gridster-item\"\n [nuiGridsterItemWidgetId]=\"widget.key\"\n >\n <nui-widget\n *ngIf=\"shouldWidgetRender(widget.key); else emptyWidgetTpl\"\n [widget]=\"widget.value\"\n (widgetChange)=\"onWidgetChange($event)\"\n [attr.widget-id]=\"widget.key\"\n [attr.widget-type]=\"widget.value.type\"\n class=\"w-100 h-100 d-block\"\n >\n </nui-widget>\n </gridster-item>\n</gridster>\n\n<ng-template #emptyWidgetTpl>\n <div class=\"w-100 h-100 d-block\">\n <nui-loading [active]=\"true\"></nui-loading>\n </div>\n</ng-template>\n", styles: [".nui-dashboard__gridster{background-color:var(--nui-color-bg-workspace,#f0f0f0)}.nui-dashboard__gridster .gridster-preview{border-width:4px;border-style:solid;border-color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.nui-dashboard__gridster .gridster-preview:before{background-color:var(--nui-color-selected-contrast,#00c4d2);border-radius:50%;content:\"\";display:block;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px;z-index:1}.nui-dashboard__gridster .gridster-preview:after{color:var(--nui-color-icon-light,#fff);content:\"+\";display:block;font-size:19px;font-weight:bold;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:2}.nui-dashboard__gridster-item{box-shadow:0 0 5px #999;box-shadow:0 0 var(--nui-space-xs, 5px) var(--nui-color-line-dark, #999999);background-color:var(--nui-color-bg-light,#fff)}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler{border-bottom-color:#00c4d2;border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);margin:0;z-index:2000}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler.handle-se{border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);right:2px;bottom:2px}.mobile .nui-dashboard__gridster-item.nui-dashboard__gridster-item{height:auto!important}\n"], components: [{ type: i1__namespace.GridsterComponent, selector: "gridster", inputs: ["options"] }, { type: i1__namespace.GridsterItemComponent, selector: "gridster-item", inputs: ["item"], outputs: ["itemInit", "itemChange", "itemResize"] }, { type: WidgetComponent, selector: "nui-widget", inputs: ["widget"], outputs: ["widgetChange"] }, { type: LoadingComponent, selector: "nui-loading", inputs: ["active"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: GridsterItemWidgetIdDirective, selector: "[nuiGridsterItemWidgetId]", inputs: ["nuiGridsterItemWidgetId"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4882
|
+
], viewQueries: [{ propertyName: "gridster", first: true, predicate: i1.GridsterComponent, descendants: true }, { propertyName: "gridsterItems", predicate: i1.GridsterItemComponent, descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<gridster\n class=\"nui-dashboard__gridster\"\n [options]=\"gridsterConfig\"\n (scroll)=\"onGridsterScroll()\"\n>\n <gridster-item\n *ngFor=\"\n let widget of dashboard.widgets | keyvalue: orderWidgets;\n trackBy: trackByFn\n \"\n [item]=\"dashboard.positions[widget.key]\"\n class=\"nui-dashboard__gridster-item\"\n [nuiGridsterItemWidgetId]=\"widget.key\"\n >\n <nui-widget\n *ngIf=\"shouldWidgetRender(widget.key); else emptyWidgetTpl\"\n [widget]=\"widget.value\"\n (widgetChange)=\"onWidgetChange($event)\"\n [attr.widget-id]=\"widget.key\"\n [attr.widget-type]=\"widget.value.type\"\n [attr.widget-guid]=\"widget.value.uniqueKey\"\n class=\"w-100 h-100 d-block\"\n >\n </nui-widget>\n </gridster-item>\n</gridster>\n\n<ng-template #emptyWidgetTpl>\n <div class=\"w-100 h-100 d-block\">\n <nui-loading [active]=\"true\"></nui-loading>\n </div>\n</ng-template>\n", styles: [".nui-dashboard__gridster{background-color:var(--nui-color-bg-workspace,#f0f0f0)}.nui-dashboard__gridster .gridster-preview{border-width:4px;border-style:solid;border-color:var(--nui-color-selected-contrast,#00c4d2);background-color:var(--nui-color-selected,rgba(0, 196, 210, .1))}.nui-dashboard__gridster .gridster-preview:before{background-color:var(--nui-color-selected-contrast,#00c4d2);border-radius:50%;content:\"\";display:block;height:40px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:40px;z-index:1}.nui-dashboard__gridster .gridster-preview:after{color:var(--nui-color-icon-light,#fff);content:\"+\";display:block;font-size:19px;font-weight:bold;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:2}.nui-dashboard__gridster-item{box-shadow:0 0 5px #999;box-shadow:0 0 var(--nui-space-xs, 5px) var(--nui-color-line-dark, #999999);background-color:var(--nui-color-bg-light,#fff)}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler{border-bottom-color:#00c4d2;border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);margin:0;z-index:2000}.nui-dashboard__gridster-item:hover .gridster-item-resizable-handler.handle-se{border-bottom-color:var(--nui-color-selected-contrast,#00c4d2);right:2px;bottom:2px}.mobile .nui-dashboard__gridster-item.nui-dashboard__gridster-item{height:auto!important}\n"], components: [{ type: i1__namespace.GridsterComponent, selector: "gridster", inputs: ["options"] }, { type: i1__namespace.GridsterItemComponent, selector: "gridster-item", inputs: ["item"], outputs: ["itemInit", "itemChange", "itemResize"] }, { type: WidgetComponent, selector: "nui-widget", inputs: ["widget"], outputs: ["widgetChange"] }, { type: LoadingComponent, selector: "nui-loading", inputs: ["active"] }], directives: [{ type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: GridsterItemWidgetIdDirective, selector: "[nuiGridsterItemWidgetId]", inputs: ["nuiGridsterItemWidgetId"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "keyvalue": i4__namespace.KeyValuePipe }, encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
4883
4883
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: DashboardComponent, decorators: [{
|
|
4884
4884
|
type: i0.Component,
|
|
4885
4885
|
args: [{
|