From ff3a9717c5ab91dc9e1698dbec7cb62ae9089ec0 Mon Sep 17 00:00:00 2001 From: Katherine Brown Date: Tue, 15 Oct 2024 15:09:54 -0500 Subject: [PATCH] rebased onto develop --- .../lib/arc-admin/arc-admin.component.html | 302 ++++++------------ .../lib/arc-admin/arc-admin.component.scss | 30 +- .../src/lib/arc-admin/arc-admin.component.ts | 63 +++- .../lib/arc-event/arc-event.component.html | 19 +- .../lib/arc-layer/arc-layer.component.html | 65 +++- .../lib/arc-layer/arc-layer.component.scss | 6 +- 6 files changed, 248 insertions(+), 237 deletions(-) diff --git a/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html b/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html index 29b876af6..10eb5d38b 100644 --- a/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html +++ b/plugins/arcgis/web-app/projects/main/src/lib/arc-admin/arc-admin.component.html @@ -1,7 +1,5 @@

ArcGIS Configuration

-
- @@ -73,199 +71,111 @@

ArcGIS Configuration

- - - - - -
-
-

Attributes

-

MAGE Field to ArcGIS Attribute mappings.

-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Observation Id Field - - {{config.observationIdField}}
Id Separator - - {{config.idSeparator}}
Event Id Field - - {{config.eventIdField}}
Last Edited Date Field - - {{config.lastEditedDateField}}
Event Name Field - - {{config.eventNameField}}
User Id Field - - {{config.userIdField}}
Username Field - - {{config.usernameField}}
User Display Name Field - - {{config.userDisplayNameField}}
Device Id Field - - {{config.deviceIdField}}
Created At Field - - {{config.createdAtField}}
Last Modified Field - - {{config.lastModifiedField}}
Geometry Type Field - - {{config.geometryType}}
-
+ + +
+ + + Attributes + MAGE Field to ArcGIS Attribute mappings. + + +
+
+
+ + Observation Id Field + + The ArcGIS layer text field attribute name to store the MAGE observation id + +
+
+ + Id Separator + + When event id field is not configured, the separator combining observation ids and event ids in the observation id field + +
+
+ + Event Id Field + + The ArcGIS layer integer field attribute name to store the MAGE event id + +
+
+ + Last Edited Date Field + + The last edited date field attribute name on the ArcGIS layer + +
+
+ + Event Name Field + + The ArcGIS layer text field attribute name to store the MAGE event name + +
+
+ + User Id Field + + The ArcGIS layer text field attribute name to store the MAGE user id + +
+
+ + Username Field + + The ArcGIS layer text field attribute name to store the MAGE username + +
+
+ + User Display Name Field + + The ArcGIS layer text field attribute name to store the MAGE user display name + +
+
+ + Device Id Field + + The ArcGIS layer text field attribute name to store the MAGE device id + +
+
+ + Created At Field + + The ArcGIS layer date time field attribute name to store the MAGE created at date + +
+
+ + Last Modified Field + + The ArcGIS layer date time field attribute name to store the MAGE last modified date (may be the + same as last edited date field if editable) + +
+
+ + Geometry Type Field + + The ArcGIS layer text field attribute name to store the Esri geometry type + +
+
+ + +
+
+
+
+
+
Field Mappings
+ +
+

ArcGIS layers that MAGE event named {{currentEditingEvent.name}} is synchronizing

@@ -48,4 +54,5 @@

ArcGIS layers that MAGE event named {{currentEditingEvent.nam - \ No newline at end of file + +

\ No newline at end of file diff --git a/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.html b/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.html index 931d1c6e6..a64820431 100644 --- a/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.html +++ b/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.html @@ -1,9 +1,13 @@
+ + + + Feature Layers + + Add ArcGIS feature service urls and layers to synchronize MAGE data to. + +
-
-

Feature Layers

-

Add ArcGIS feature service urls and layers to sychronize MAGE data to.

-
@@ -31,7 +35,56 @@

Feature Layers

{{layer.layer}}
-
+ - \ No newline at end of file + + +

Add ArcGIS Feature Service

+
+ +

Edit ArcGIS Feature Service

+
+ +
+ + URL + + + URL is required + + + + Token + + +
+

Layers

+ +
+
+ + {{arcLayer.name}} +
+
+
+ + + + +
+ +

Delete feature service?

+
+ {{currentUrl}} +
+
+ + + + +
+ + diff --git a/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.scss b/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.scss index 0336d7fab..b4b3333cb 100644 --- a/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.scss +++ b/plugins/arcgis/web-app/projects/main/src/lib/arc-layer/arc-layer.component.scss @@ -83,4 +83,8 @@ section { height: inherit; line-height: inherit; width: inherit; -} \ No newline at end of file +} + +mat-card { + margin-bottom: 16px; + } \ No newline at end of file