@vertigis/arcgis-extensions 34.3.0 → 34.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -81,7 +81,7 @@
81
81
  <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
82
82
  <a name="version-1" class="tsd-anchor"></a>
83
83
  <h3><span class="tsd-flag ts-flagConst">Const</span> version</h3>
84
- <div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;34.3.0&quot;</span><span class="tsd-signature-symbol"> = &quot;34.3.0&quot;</span></div>
84
+ <div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;34.3.1&quot;</span><span class="tsd-signature-symbol"> = &quot;34.3.1&quot;</span></div>
85
85
  <aside class="tsd-sources">
86
86
  <ul>
87
87
  <li>Defined in src/version.ts:4</li>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vertigis/arcgis-extensions",
3
3
  "license": "SEE LICENSE IN LICENSE",
4
- "version": "34.3.0",
4
+ "version": "34.3.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://geocortex.visualstudio.com/Geocortex/_git/geocortex-api-ts"
package/support/_query.js CHANGED
@@ -1 +1 @@
1
- import{toFeature}from"../data/Feature.js";import{checkArg}from"../utilities/checkArg.js";import{cancelifyWithAbortSignal}from"./Cancellable.js";export function escape(e){return e.replace(/([%'])/g,"$1$1")}export function concatenateWhereClauses(e,n){return(null==e?void 0:e.length)>0&&(null==n?void 0:n.length)>0?`(${e}) and (${n})`:null!=e?e:n}export function executeQuery(e,n,t,r){return checkArg("query",e).isNotMissing(),checkArg("source",n).isNotMissing(),checkArg("queryable",t).isNotMissing(),e.where=concatenateWhereClauses(t.definitionExpression,e.where),async function*(){const i=e.num;let s=(await cancelifyWithAbortSignal((async n=>t.queryFeatures(e,{signal:n})),r)).features;i>0&&s.length>i&&(s=s.slice(0,i)),yield*s.map((e=>toFeature(e,{source:n})))}()}export async function executeCount(e,n,t,r){checkArg("query",e).isNotMissing(),checkArg("source",n).isNotMissing(),checkArg("queryable",t).isNotMissing(),e.where=concatenateWhereClauses(t.definitionExpression,e.where);const i=e.num;e.num=void 0;let s=await cancelifyWithAbortSignal((async n=>t.queryFeatureCount(e,{signal:n})),r);return i>0&&s>i&&(s=i),{source:n,count:s}}export async function executeCountByQuery(e,n,t,r){checkArg("query",e).isNotMissing(),checkArg("source",n).isNotMissing(),checkArg("queryable",t).isNotMissing(),e.where=concatenateWhereClauses(t.definitionExpression,e.where);const i=e.num;let s=(await cancelifyWithAbortSignal((async n=>t.queryFeatures(e,{signal:n})),r)).features.length;return i>0&&s>i&&(s=i),{source:n,count:s}}
1
+ import{toFeature}from"../data/Feature.js";import{checkArg}from"../utilities/checkArg.js";import{cancelifyWithAbortSignal}from"./Cancellable.js";export function escape(e){return e.replace(/([%'])/g,"$1$1")}export function concatenateWhereClauses(e,t){return(null==e?void 0:e.length)>0&&(null==t?void 0:t.length)>0?`(${e}) and (${t})`:e||t}export function executeQuery(e,t,n,r){return checkArg("query",e).isNotMissing(),checkArg("source",t).isNotMissing(),checkArg("queryable",n).isNotMissing(),e.where=concatenateWhereClauses(n.definitionExpression,e.where),async function*(){const i=e.num;let s=(await cancelifyWithAbortSignal((async t=>n.queryFeatures(e,{signal:t})),r)).features;i>0&&s.length>i&&(s=s.slice(0,i)),yield*s.map((e=>toFeature(e,{source:t})))}()}export async function executeCount(e,t,n,r){checkArg("query",e).isNotMissing(),checkArg("source",t).isNotMissing(),checkArg("queryable",n).isNotMissing(),e.where=concatenateWhereClauses(n.definitionExpression,e.where);const i=e.num;e.num=void 0;let s=await cancelifyWithAbortSignal((async t=>n.queryFeatureCount(e,{signal:t})),r);return i>0&&s>i&&(s=i),{source:t,count:s}}export async function executeCountByQuery(e,t,n,r){checkArg("query",e).isNotMissing(),checkArg("source",t).isNotMissing(),checkArg("queryable",n).isNotMissing(),e.where=concatenateWhereClauses(n.definitionExpression,e.where);const i=e.num;let s=(await cancelifyWithAbortSignal((async t=>n.queryFeatures(e,{signal:t})),r)).features.length;return i>0&&s>i&&(s=i),{source:t,count:s}}
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the Geocortex ArcGIS Extensions API.
3
3
  */
4
- export declare const version = "34.3.0";
4
+ export declare const version = "34.3.1";
package/version.js CHANGED
@@ -1 +1 @@
1
- export const version="34.3.0";
1
+ export const version="34.3.1";