Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the histogram & table to the hello world #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
},
"private": true,
"dependencies": {
"@ag-grid-community/all-modules": "^26.2.0",
"@ag-grid-community/angular": "^26.2.0",
"@ag-grid-community/core": "^26.2.1",
"@fortawesome/fontawesome-free": "^5.14.0",
"@ng-select/ng-select": "^8.3.0",
"ag-charts-angular": "^7.3.0",
"ag-charts-community": "^7.3.0",
"ag-grid-angular": "^26.2.0",
"ag-grid-community": "^26.2.0",
"angular2-csv": "0.2.5",
"@angular-architects/module-federation": "^14.3.12",
"@angular/animations": "~13.3.0",
"@angular/common": "~13.3.0",
Expand All @@ -21,6 +31,7 @@
"@angular/platform-browser-dynamic": "~13.3.0",
"@angular/router": "~13.3.0",
"ngx-bootstrap": "^5.6.2",
"ngx-clipboard": "^12.3.0",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
Expand Down
Submodule sms-ui-suite added at 2cf30b
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export class Constants {
public static readonly OCCURRENCES_VALUE_FILTER_THRESHOLD = 10
public static readonly CSV_ICON = 'fas fa-download'
}
Original file line number Diff line number Diff line change
@@ -1 +1,33 @@
<p>general-route-module works!</p>
<ng-container *ngIf="data">
<div class="row">
<div class="col-sm-6">
<sms-card [cardBody]="tableTemplate"></sms-card>
</div>
<div class="col-sm-6">
<sms-card [cardBody]="graphTemplate"></sms-card>
</div>
</div>
</ng-container>

<ng-template #tableTemplate>
<app-inventory-general-table [data]="table_Data"
[componentInfo]="componentInfo"
[autoSize]="true"
[rightAdditionalTemplate]="rightAdditionalTemplate"
[isDataLoading]="isReloading"
></app-inventory-general-table>
</ng-template>

<ng-template #rightAdditionalTemplate>
<div class="control-btns-template control-btns-wrapper">
<button class="refresh-button btn btn-primary"
title="Refresh"
(click)="loadData(true)">
<i class="fa fa-sync" [class.fa-spin]="isReloading"></i>
</button>
</div>
</ng-template>

<ng-template #graphTemplate>
<app-generic-histogram [histogramData]="data.graph_data.histogram" [rawData]="table_Data"></app-generic-histogram>
</ng-template>
Loading