Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pilat-martin committed Sep 4, 2024
1 parent 8f3b88e commit 65d45b1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,9 @@ import { TableSelectableDocsComponent } from "./table-selectable-docs.component"
import { TableWidgetSelectableExampleComponent } from "./table-widget-selectable/table-widget-selectable.example.component";
import { TablePaginatorDocsComponent } from "./table-paginator-docs.component";
import { TableWidgetPaginatorExampleComponent } from "./table-widget-paginator/table-widget-paginator-example.component";
import {
TableWidgetSelectableMultiExampleComponent
} from "./table-widget-selectable/table-widget-selectable-multi/table-widget-selectable-multi.example.component";
import {
TableWidgetSelectableSingleExampleComponent
} from "./table-widget-selectable/table-widget-selectable-single/table-widget-selectable-single.example.component";
import {
TableWidgetSelectableRadioExampleComponent
} from "./table-widget-selectable/table-widget-selectable-radio/table-widget-selectable-radio.example.component";
import { TableWidgetSelectableMultiExampleComponent } from "./table-widget-selectable/table-widget-selectable-multi/table-widget-selectable-multi.example.component";
import { TableWidgetSelectableSingleExampleComponent } from "./table-widget-selectable/table-widget-selectable-single/table-widget-selectable-single.example.component";
import { TableWidgetSelectableRadioExampleComponent } from "./table-widget-selectable/table-widget-selectable-radio/table-widget-selectable-radio.example.component";

const routes: Routes = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ import { HttpClient } from "@angular/common/http";
import {
AfterViewInit,
ChangeDetectionStrategy,
Component, Inject,
Component,
Inject,
OnDestroy,
OnInit,
ViewChild,
Expand Down Expand Up @@ -50,7 +51,9 @@ import {
WidgetClonerService,
WidgetTypesService,
WIDGET_CREATE,
PIZZAGNA_EVENT_BUS, SELECTION, REFRESH,
PIZZAGNA_EVENT_BUS,
SELECTION,
REFRESH,
} from "@nova-ui/dashboards";

import {
Expand Down Expand Up @@ -180,8 +183,6 @@ export class AcmeDashboardComponent
}

public ngOnInit(): void {
this.eventBus.getStream(SELECTION).subscribe(value => console.log("SELECTION:", value));
this.eventBus.getStream(REFRESH).subscribe(value => console.log("REFRESH:", value));
this.widgetTypesService
.getWidgetType("table")
.configurator?.[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

import {GridsterItem} from "angular-gridster2";
import { GridsterItem } from "angular-gridster2";
import moment from "moment/moment";

import {
Expand All @@ -40,12 +40,10 @@ import {
WellKnownProviders,
} from "@nova-ui/dashboards";

import {AcmeProportionalDataSource} from "../data/proportional-datasources";
import {
AcmeTableMockDataSource
} from "../data/table/acme-table-mock-data-source.service";
import {AcmeTimeseriesDataSource} from "../data/timeseries-data-sources";
import {TableSelectionMode} from "../../../../../../bits/dist";
import { AcmeProportionalDataSource } from "../data/proportional-datasources";
import { AcmeTableMockDataSource } from "../data/table/acme-table-mock-data-source.service";
import { AcmeTimeseriesDataSource } from "../data/timeseries-data-sources";
import { TableSelectionMode } from "../../../../../../bits/dist";

export const positions: Record<string, GridsterItem> = {
widget1: {
Expand Down

0 comments on commit 65d45b1

Please sign in to comment.