Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@geocortex/workflow-activities-arcfm

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geocortex/workflow-activities-arcfm - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

2

main.js

@@ -1,1 +0,1 @@

define(["@geocortex/workflow/runtime/activities/core/ChannelProvider","@geocortex/workflow/runtime/Hooks"],(function(e,r){return function(){"use strict";var t={780:function(e,r,t){t.r(r),t.d(r,{main:function(){return u}});var n={};t.r(n),t.d(n,{RunArcFMElectricTrace:function(){return a},RunArcFMGasTrace:function(){return s},RunArcFMWaterTrace:function(){return i}});var o=t(447),c=t(126);let a=class{async execute(e,r,t){var n;const{phasesToTrace:o="Any",serviceUrl:c,traceType:a="Downstream",...s}=e;if(!c)throw new Error("serviceUrl");const l=t.create(void 0,"arcgis");l.request.url=`${e.serviceUrl}/exts/ArcFMMapServer/Electric%20Trace`,l.request.method="POST",l.request.json={f:"json",phasesToTrace:o,traceType:a,...s},await l.send(),r.cancellationToken.finally((function(){l.cancel()}));const i=l.response.payload&&l.getResponseData(l.response.payload);return{results:(null==i?void 0:i.results)||(null===(n=null==i?void 0:i.data)||void 0===n?void 0:n.results)||[]}}};a.suite="uuid:b315619f-794f-43c8-8ea0-9215d346ec41",a.action="uuid:b315619f-794f-43c8-8ea0-9215d346ec41::RunArcFMElectricTrace",a=function(e,r,t,n){var o,c=arguments.length,a=c<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(c<3?o(a):c>3?o(r,t,a):o(r,t))||a);return c>3&&a&&Object.defineProperty(r,t,a),a}([(0,c.activate)(o.ChannelProvider)],a);let s=class{async execute(e,r,t){var n;const{serviceUrl:o,traceType:c="ValveIsolation",...a}=e;if(!o)throw new Error("serviceUrl");const s=t.create(void 0,"arcgis");s.request.url=`${e.serviceUrl}/exts/ArcFMMapServer/Gas%20Trace`,s.request.method="POST",s.request.json={f:"json",traceType:c,...a},await s.send(),r.cancellationToken.finally((function(){s.cancel()}));const l=s.response.payload&&s.getResponseData(s.response.payload);return{results:(null==l?void 0:l.results)||(null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.results)||[]}}};s.suite="uuid:b315619f-794f-43c8-8ea0-9215d346ec41",s.action="uuid:b315619f-794f-43c8-8ea0-9215d346ec41::RunArcFMGasTrace",s=function(e,r,t,n){var o,c=arguments.length,a=c<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(c<3?o(a):c>3?o(r,t,a):o(r,t))||a);return c>3&&a&&Object.defineProperty(r,t,a),a}([(0,c.activate)(o.ChannelProvider)],s);let l,i=class{async execute(e,r,t){var n;const{serviceUrl:o,traceType:c="ValveIsolation",...a}=e;if(!o)throw new Error("serviceUrl");const s=t.create(void 0,"arcgis");s.request.url=`${e.serviceUrl}/exts/ArcFMMapServer/Water%20Trace`,s.request.method="POST",s.request.json={f:"json",traceType:c,...a},await s.send(),r.cancellationToken.finally((function(){s.cancel()}));const l=s.response.payload&&s.getResponseData(s.response.payload);return{results:(null==l?void 0:l.results)||(null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.results)||[]}}};async function u(){return l||(l=Promise.resolve(n),l)}i.suite="uuid:b315619f-794f-43c8-8ea0-9215d346ec41",i.action="uuid:b315619f-794f-43c8-8ea0-9215d346ec41::RunArcFMWaterTrace",i=function(e,r,t,n){var o,c=arguments.length,a=c<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(c<3?o(a):c>3?o(r,t,a):o(r,t))||a);return c>3&&a&&Object.defineProperty(r,t,a),a}([(0,c.activate)(o.ChannelProvider)],i)},126:function(e){e.exports=r},447:function(r){r.exports=e}},n={};function o(e){if(n[e])return n[e].exports;var r=n[e]={exports:{}};return t[e](r,r.exports,o),r.exports}return o.d=function(e,r){for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(780)}()}));
define(["@geocortex/workflow/runtime/activities/core/ChannelProvider","@geocortex/workflow/runtime/Hooks"],(function(e,r){return function(){"use strict";var t={780:function(e,r,t){t.r(r),t.d(r,{main:function(){return u}});var n={};t.r(n),t.d(n,{RunArcFMElectricTrace:function(){return a},RunArcFMGasTrace:function(){return s},RunArcFMWaterTrace:function(){return l}});var o=t(447),c=t(126);let a=class{async execute(e,r,t){var n;const{phasesToTrace:o="Any",serviceUrl:c,traceType:a="Downstream",...s}=e;if(!c)throw new Error("serviceUrl is required");const i=c.replace(/\/*$/,""),l=t.create(void 0,"arcgis");l.request.url=`${i}/exts/ArcFMMapServer/Electric%20Trace`,l.request.method="POST",l.request.json={f:"json",phasesToTrace:o,traceType:a,...s},await l.send(),r.cancellationToken.finally((function(){l.cancel()}));const u=l.response.payload&&l.getResponseData(l.response.payload);return{results:(null==u?void 0:u.results)||(null===(n=null==u?void 0:u.data)||void 0===n?void 0:n.results)||[]}}};a.suite="uuid:b315619f-794f-43c8-8ea0-9215d346ec41",a.action="uuid:b315619f-794f-43c8-8ea0-9215d346ec41::RunArcFMElectricTrace",a=function(e,r,t,n){var o,c=arguments.length,a=c<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(c<3?o(a):c>3?o(r,t,a):o(r,t))||a);return c>3&&a&&Object.defineProperty(r,t,a),a}([(0,c.activate)(o.ChannelProvider)],a);let s=class{async execute(e,r,t){var n;const{serviceUrl:o,traceType:c="ValveIsolation",...a}=e;if(!o)throw new Error("serviceUrl is required");const s=o.replace(/\/*$/,""),i=t.create(void 0,"arcgis");i.request.url=`${s}/exts/ArcFMMapServer/Gas%20Trace`,i.request.method="POST",i.request.json={f:"json",traceType:c,...a},await i.send(),r.cancellationToken.finally((function(){i.cancel()}));const l=i.response.payload&&i.getResponseData(i.response.payload);return{results:(null==l?void 0:l.results)||(null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.results)||[]}}};s.suite="uuid:b315619f-794f-43c8-8ea0-9215d346ec41",s.action="uuid:b315619f-794f-43c8-8ea0-9215d346ec41::RunArcFMGasTrace",s=function(e,r,t,n){var o,c=arguments.length,a=c<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(c<3?o(a):c>3?o(r,t,a):o(r,t))||a);return c>3&&a&&Object.defineProperty(r,t,a),a}([(0,c.activate)(o.ChannelProvider)],s);let i,l=class{async execute(e,r,t){var n;const{serviceUrl:o,traceType:c="ValveIsolation",...a}=e;if(!o)throw new Error("serviceUrl is required");const s=o.replace(/\/*$/,""),i=t.create(void 0,"arcgis");i.request.url=`${s}/exts/ArcFMMapServer/Water%20Trace`,i.request.method="POST",i.request.json={f:"json",traceType:c,...a},await i.send(),r.cancellationToken.finally((function(){i.cancel()}));const l=i.response.payload&&i.getResponseData(i.response.payload);return{results:(null==l?void 0:l.results)||(null===(n=null==l?void 0:l.data)||void 0===n?void 0:n.results)||[]}}};async function u(){return i||(i=Promise.resolve(n),i)}l.suite="uuid:b315619f-794f-43c8-8ea0-9215d346ec41",l.action="uuid:b315619f-794f-43c8-8ea0-9215d346ec41::RunArcFMWaterTrace",l=function(e,r,t,n){var o,c=arguments.length,a=c<3?r:null===n?n=Object.getOwnPropertyDescriptor(r,t):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,r,t,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(c<3?o(a):c>3?o(r,t,a):o(r,t))||a);return c>3&&a&&Object.defineProperty(r,t,a),a}([(0,c.activate)(o.ChannelProvider)],l)},126:function(e){e.exports=r},447:function(r){r.exports=e}},n={};function o(e){if(n[e])return n[e].exports;var r=n[e]={exports:{}};return t[e](r,r.exports,o),r.exports}return o.d=function(e,r){for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(780)}()}));
{
"name": "@geocortex/workflow-activities-arcfm",
"version": "1.2.4",
"description": "ArcFM activities for Geocortex Workflow",
"version": "1.2.5",
"description": "ArcFM activities for VertiGIS Studio Workflow",
"repository": {

@@ -14,3 +14,3 @@ "type": "git",

"VertiGIS",
"Geocortex",
"VertiGIS Studio",
"Workflow",

@@ -17,0 +17,0 @@ "ArcFM",

@@ -6,7 +6,7 @@ # ArcFM Activities

This project contains activities for interacting with the [ArcFM Server REST API](https://resources.arcfmsolution.com/10.2.1d/ServerSDK/webframe.html#topic41788.html) in a [Geocortex Workflow](https://www.geocortex.com/products/geocortex-workflow/).
This project contains activities for interacting with the [ArcFM Server REST API](https://resources.arcfmsolution.com/10.2.1d/ServerSDK/webframe.html#topic41788.html) in a [VertiGIS Studio Workflow](https://www.vertigisstudio.com/products/vertigis-studio-workflow/).
## Usage
To use the ArcFM activities in [Geocortex Workflow Designer](https://apps.geocortex.com/workflow/designer/) you need to register an activity pack and then add the activities to a workflow.
To use the ArcFM activities in [VertiGIS Studio Workflow Designer](https://apps.vertigisstudio.com/workflow/designer/) you need to register an activity pack and then add the activities to a workflow.

@@ -26,3 +26,3 @@ ### Register the ArcFM activity pack

- Tags: Must include `geocortex-workflow-activity-pack`
1. Reload [Geocortex Workflow Designer](https://apps.geocortex.com/workflow/designer/)
1. Reload [VertiGIS Studio Workflow Designer](https://apps.vertigisstudio.com/workflow/designer/)
1. The ArcFM activities will now appear in the activity toolbox in a `ArcFM` category

@@ -32,3 +32,3 @@

This project was bootstrapped with the [Geocortex Workflow SDK](https://github.com/geocortex/vertigis-workflow-sdk). Before you can use your activity pack in the [Geocortex Workflow Designer](https://apps.geocortex.com/workflow/designer/), you will need to [register the activity pack](https://developers.geocortex.com/docs/workflow/sdk-web-overview#register-the-activity-pack).
This project was bootstrapped with the [VertiGIS Studio Workflow SDK](https://github.com/geocortex/vertigis-workflow-sdk). Before you can use your activity pack in the [VertiGIS Studio Workflow Designer](https://apps.vertigisstudio.com/workflow/designer/), you will need to [register the activity pack](https://developers.geocortex.com/docs/workflow/sdk-web-overview#register-the-activity-pack).

@@ -45,3 +45,3 @@ ## Available Scripts

Runs the project in development mode. Your activity pack will be available at [http://localhost:5000/main.js](http://localhost:5000/main.js). The HTTPS certificate of the development server is a self-signed certificate that web browsers will warn about. To work around this open [`https://localhost:5000/main.js`](https://localhost:5000/main.js) in a web browser and allow the invalid certificate as an exception. For creating a locally-trusted HTTPS certificate see the [Configuring a HTTPS Certificate](https://developers.geocortex.com/docs/workflow/sdk-web-overview/#configuring-a-https-certificate) section on the [Geocortex Developer Center](https://developers.geocortex.com/docs/workflow/overview/).
Runs the project in development mode. Your activity pack will be available at [http://localhost:5000/main.js](http://localhost:5000/main.js). The HTTPS certificate of the development server is a self-signed certificate that web browsers will warn about. To work around this open [`https://localhost:5000/main.js`](https://localhost:5000/main.js) in a web browser and allow the invalid certificate as an exception. For creating a locally-trusted HTTPS certificate see the [Configuring a HTTPS Certificate](https://developers.geocortex.com/docs/workflow/sdk-web-overview/#configuring-a-https-certificate) section on the [VertiGIS Studio Developer Center](https://developers.geocortex.com/docs/workflow/overview/).

@@ -58,6 +58,6 @@ ### `npm run lint`

See the [section about deployment](https://developers.geocortex.com/docs/workflow/sdk-web-overview/#deployment) in the [Geocortex Developer Center](https://developers.geocortex.com/docs/workflow/overview/) for more information.
See the [section about deployment](https://developers.geocortex.com/docs/workflow/sdk-web-overview/#deployment) in the [VertiGIS Studio Developer Center](https://developers.geocortex.com/docs/workflow/overview/) for more information.
## Documentation
Find [further documentation on the SDK](https://developers.geocortex.com/docs/workflow/sdk-web-overview/) on the [Geocortex Developer Center](https://developers.geocortex.com/docs/workflow/overview/)
Find [further documentation on the SDK](https://developers.geocortex.com/docs/workflow/sdk-web-overview/) on the [VertiGIS Studio Developer Center](https://developers.geocortex.com/docs/workflow/overview/)

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc