@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.
- package/docs/html/modules/version.html +1 -1
- package/package.json +1 -1
- package/support/_query.js +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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">"34.3.
|
|
84
|
+
<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"34.3.1"</span><span class="tsd-signature-symbol"> = "34.3.1"</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
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,
|
|
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
package/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version="34.3.
|
|
1
|
+
export const version="34.3.1";
|