Skip to content

Commit 20d445c

Browse files
committed
Merge branch 'develop' of https://github.com/ngageoint/mage-server into 6.5.1-beta
2 parents c296e55 + 514fc7f commit 20d445c

File tree

51 files changed

+6664
-1936
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+6664
-1936
lines changed

package-lock.json

Lines changed: 37 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

service/npm-shrinkwrap.json

Lines changed: 20 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

service/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"fs-extra": "4.0.3",
5252
"geojson": "0.5.0",
5353
"geojson-validation": "1.0.2",
54-
"json2csv": "4.5.4",
54+
"json2csv": "5.0.7",
5555
"jsonwebtoken": "9.0.2",
5656
"lodash": "4.17.21",
5757
"mgrs": "1.0.0",
@@ -93,7 +93,7 @@
9393
"@types/express": "4.17.21",
9494
"@types/express-serve-static-core": "4.19.6",
9595
"@types/fs-extra": "8.1.5",
96-
"@types/json2csv": "4.5.1",
96+
"@types/json2csv": "5.0.7",
9797
"@types/lodash": "4.17.16",
9898
"@types/mocha": "7.0.2",
9999
"@types/multer": "1.4.12",

web-app/admin/src/app/admin/admin-event/admin-event-form/admin-event-form-preview/admin-event-form-preview.component.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ export class AdminEventFormPreviewComponent implements OnChanges {
1111
@Input() formDefinition: any[];
1212
@Output() onClose = new EventEmitter<void>();
1313

14-
constructor(public dialog: MatDialog) {}
14+
constructor(public dialog: MatDialog) { }
1515

16-
ngOnChanges(changes: SimpleChanges): void {
16+
ngOnChanges(): void {
1717
if (this.formDefinition) {
1818
this.openDialog()
1919
}
2020
}
2121

2222
openDialog(): void {
2323
const dialog = this.dialog.open(AdminEventFormPreviewDialogComponent, {
24-
data: this.formDefinition,
25-
minWidth: 400,
26-
autoFocus: false
24+
data: this.formDefinition,
25+
width: '600px',
26+
maxWidth: '90vw'
2727
})
28-
28+
2929
dialog.afterClosed().subscribe(() => {
3030
this.onClose.emit();
3131
});
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { NgModule } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
import { ReactiveFormsModule, FormsModule } from '@angular/forms';
4+
import { MatDialogModule } from '@angular/material/dialog';
5+
import { MatButtonModule } from '@angular/material/button';
6+
7+
import { AdminEventFormPreviewComponent } from './admin-event-form-preview/admin-event-form-preview.component';
8+
import { AdminEventFormPreviewDialogComponent } from './admin-event-form-preview/admin-event-form-preview-dialog.component';
9+
import { ObservationModule } from '../../../observation/observation.module';
10+
11+
@NgModule({
12+
declarations: [
13+
AdminEventFormPreviewComponent,
14+
AdminEventFormPreviewDialogComponent
15+
],
16+
imports: [
17+
CommonModule,
18+
FormsModule,
19+
ReactiveFormsModule,
20+
MatDialogModule,
21+
MatButtonModule,
22+
ObservationModule
23+
],
24+
exports: [
25+
AdminEventFormPreviewComponent,
26+
AdminEventFormPreviewDialogComponent
27+
]
28+
})
29+
export class AdminEventFormModule { }
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
import { NgModule } from '@angular/core';
2+
import { CommonModule } from '@angular/common';
3+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4+
import { RouterModule } from '@angular/router';
5+
6+
import { MatButtonModule } from '@angular/material/button';
7+
import { MatCardModule } from '@angular/material/card';
8+
import { MatChipsModule } from '@angular/material/chips';
9+
import { MatTableModule } from '@angular/material/table';
10+
import { MatPaginatorModule } from '@angular/material/paginator';
11+
import { MatSortModule } from '@angular/material/sort';
12+
import { MatDialogModule } from '@angular/material/dialog';
13+
import { MatDividerModule } from '@angular/material/divider';
14+
import { MatSelectModule } from '@angular/material/select';
15+
import { MatTooltipModule } from '@angular/material/tooltip';
16+
import { DragDropModule } from '@angular/cdk/drag-drop';
17+
import { MatFormFieldModule } from '@angular/material/form-field';
18+
import { MatInputModule } from '@angular/material/input';
19+
import { MatCheckboxModule } from '@angular/material/checkbox';
20+
import { MatIconModule } from '@angular/material/icon';
21+
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
22+
23+
import { CoreModule } from '../../core/core.module';
24+
import { AdminBreadcrumbModule } from '../admin-breadcrumb/admin-breadcrumb.module';
25+
import { AdminEventFormModule } from './admin-event-form/admin-event-form.module';
26+
27+
import { EventDetailsComponent } from './event-details/event-details.component';
28+
import { DeleteEventComponent } from './delete-event/delete-event.component';
29+
import { CreateFormDialogComponent } from './create-form/create-form.component';
30+
import { EventDashboardComponent } from './dashboard/event-dashboard.component';
31+
import { MatOptionModule } from '@angular/material/core';
32+
import { EventService } from 'src/app/event/event.service';
33+
import { CreateEventDialogComponent } from './create-event/create-event.component';
34+
35+
@NgModule({
36+
declarations: [
37+
EventDashboardComponent,
38+
CreateEventDialogComponent,
39+
EventDetailsComponent,
40+
DeleteEventComponent,
41+
CreateFormDialogComponent
42+
],
43+
imports: [
44+
CommonModule,
45+
FormsModule,
46+
CoreModule,
47+
ReactiveFormsModule,
48+
RouterModule,
49+
CoreModule,
50+
AdminBreadcrumbModule,
51+
AdminEventFormModule,
52+
MatButtonModule,
53+
MatCardModule,
54+
MatChipsModule,
55+
MatTableModule,
56+
MatPaginatorModule,
57+
MatSortModule,
58+
MatDialogModule,
59+
MatFormFieldModule,
60+
MatDividerModule,
61+
MatIconModule,
62+
MatInputModule,
63+
MatButtonModule,
64+
MatCheckboxModule,
65+
MatIconModule,
66+
MatProgressSpinnerModule,
67+
AdminBreadcrumbModule,
68+
MatSelectModule,
69+
MatOptionModule,
70+
MatTooltipModule,
71+
MatTableModule,
72+
MatPaginatorModule,
73+
DragDropModule
74+
],
75+
exports: [
76+
EventDashboardComponent,
77+
EventDetailsComponent
78+
],
79+
providers: [
80+
EventService
81+
]
82+
})
83+
export class AdminEventsModule { }

0 commit comments

Comments
 (0)