@vertigis/arcgis-extensions 39.4.4 → 40.0.0

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.
@@ -3164,6 +3164,10 @@
3164
3164
  "description": "Indicates whether a layer can be created from this item using [Layer.fromPortalItem()](esri-layers-Layer.html#fromPortalItem).\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html#isLayer)",
3165
3165
  "type": "boolean"
3166
3166
  },
3167
+ "isOrgItem": {
3168
+ "description": "Indicates whether this item and the user whose credential was used to fetch this item belong to the same ArcGIS Enterprise Portal or ArcGIS Online Organization.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html#isOrgItem)",
3169
+ "type": "boolean"
3170
+ },
3167
3171
  "itemControl": {
3168
3172
  "description": "Indicates whether an item can be updated and deleted.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalItem.html#itemControl)",
3169
3173
  "enum": [
@@ -3311,6 +3315,7 @@
3311
3315
  "id",
3312
3316
  "initialized",
3313
3317
  "isLayer",
3318
+ "isOrgItem",
3314
3319
  "itemControl",
3315
3320
  "itemPageUrl",
3316
3321
  "itemUrl",
@@ -10,7 +10,9 @@ declare module "@arcgis/core/core/accessorSupport/Property" {
10
10
  constructor(properties: Properties, propertyName: string, metadata: unknown);
11
11
  propertyName: string;
12
12
  properties: Properties;
13
- observe(observer: unknown): IHandle;
13
+ observerObject: {
14
+ observe(observer: unknown): IHandle;
15
+ };
14
16
  invalidate(): void;
15
17
  commit(): void;
16
18
  }
@@ -234,7 +236,7 @@ declare namespace __esri {
234
236
  usesGeometry: boolean | number;
235
237
  }
236
238
 
237
- // ESRI426 - Check if the extended interfaces below are still necessary.
239
+ // ESRI427 - Check if the extended interfaces below are still necessary.
238
240
 
239
241
  export interface SceneLayer {
240
242
  associatedLayer: __esri.FeatureLayer;
@@ -188,7 +188,7 @@ raised.</li>
188
188
  <div class="tsd-comment tsd-typography"><p>Provides AsyncIterable functionality.</p>
189
189
  </div>
190
190
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncIterator</span><span class="tsd-signature-symbol">&lt;</span><a href="data_Feature.Feature.html" class="tsd-signature-type" data-tsd-kind="Class">Feature</a><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
191
- <p>Implementation of AsyncIterable.__@asyncIterator@4367</p></aside></li></ul></section>
191
+ <p>Implementation of AsyncIterable.__@asyncIterator@4381</p></aside></li></ul></section>
192
192
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-protected"><a id="_getSerializableProperties" class="tsd-anchor"></a>
193
193
  <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagProtected">Protected</code> <span>_get<wbr/>Serializable<wbr/>Properties</span><a href="#_getSerializableProperties" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
194
194
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-protected">
@@ -88,7 +88,7 @@ completely independently of one another.</p>
88
88
  <div class="tsd-comment tsd-typography"><p>An iterator that returns the items in the queue.</p>
89
89
  </div>
90
90
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">AsyncIterator</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
91
- <p>Implementation of AsyncIterable.__@asyncIterator@4367</p></aside></li></ul></section>
91
+ <p>Implementation of AsyncIterable.__@asyncIterator@4381</p></aside></li></ul></section>
92
92
  <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="add" class="tsd-anchor"></a>
93
93
  <h3 class="tsd-anchor-link"><span>add</span><a href="#add" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
94
94
  <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@@ -19,7 +19,7 @@
19
19
  <h1>Function fromEsriApiFeatureLayerCapabilities</h1></div>
20
20
  <section class="tsd-panel">
21
21
  <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
22
- <li class="tsd-signature tsd-anchor-link" id="fromEsriApiFeatureLayerCapabilities">from<wbr/>Esri<wbr/>Api<wbr/>Feature<wbr/>Layer<wbr/>Capabilities<span class="tsd-signature-symbol">(</span>capabilities<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CSVLayerCapabilities</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FeatureLayerCapabilities</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#fromEsriApiFeatureLayerCapabilities" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
22
+ <li class="tsd-signature tsd-anchor-link" id="fromEsriApiFeatureLayerCapabilities">from<wbr/>Esri<wbr/>Api<wbr/>Feature<wbr/>Layer<wbr/>Capabilities<span class="tsd-signature-symbol">(</span>capabilities<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">CSVLayerCapabilities</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Capabilities</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#fromEsriApiFeatureLayerCapabilities" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
23
23
  <li class="tsd-description">
24
24
  <div class="tsd-comment tsd-typography"><p>Converts an Esri JavaScript API capabilities object to the equivalent
25
25
  Portal JSON capabilities string.</p>
@@ -28,7 +28,7 @@ Portal JSON capabilities string.</p>
28
28
  <h4 class="tsd-parameters-title">Parameters</h4>
29
29
  <ul class="tsd-parameter-list">
30
30
  <li>
31
- <h5>capabilities: <span class="tsd-signature-type">CSVLayerCapabilities</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">FeatureLayerCapabilities</span></h5>
31
+ <h5>capabilities: <span class="tsd-signature-type">CSVLayerCapabilities</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Capabilities</span></h5>
32
32
  <div class="tsd-comment tsd-typography"><p>The capabilities to convert.</p>
33
33
  </div></li></ul></div>
34
34
  <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section></div>
@@ -16,7 +16,7 @@
16
16
  <li><a href="../modules/support_esri.html">support/esri</a></li>
17
17
  <li><a href="support_esri.FeatureLayerApplyEdits.html">FeatureLayerApplyEdits</a></li></ul>
18
18
  <h1>Type alias FeatureLayerApplyEdits</h1></div>
19
- <div class="tsd-signature">Feature<wbr/>Layer<wbr/>Apply<wbr/>Edits<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__esri.FeatureLayerApplyEditsEdits</span></div></div>
19
+ <div class="tsd-signature">Feature<wbr/>Layer<wbr/>Apply<wbr/>Edits<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__esri.FeatureLayerBaseApplyEditsEdits</span></div></div>
20
20
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
21
21
  <div class="tsd-navigation settings">
22
22
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -16,7 +16,7 @@
16
16
  <li><a href="../modules/support_esri.html">support/esri</a></li>
17
17
  <li><a href="support_esri.FeatureLayerCapabilities.html">FeatureLayerCapabilities</a></li></ul>
18
18
  <h1>Type alias FeatureLayerCapabilities</h1></div>
19
- <div class="tsd-signature">Feature<wbr/>Layer<wbr/>Capabilities<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__esri.FeatureLayerCapabilities</span></div></div>
19
+ <div class="tsd-signature">Feature<wbr/>Layer<wbr/>Capabilities<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__esri.Capabilities</span></div></div>
20
20
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
21
21
  <div class="tsd-navigation settings">
22
22
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -16,7 +16,7 @@
16
16
  <li><a href="../modules/version.html">version</a></li>
17
17
  <li><a href="version.version.html">version</a></li></ul>
18
18
  <h1>Variable version<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
19
- <div class="tsd-signature">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;39.4.4&quot;</span><span class="tsd-signature-symbol"> = &quot;39.4.4&quot;</span></div>
19
+ <div class="tsd-signature">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;40.0.0&quot;</span><span class="tsd-signature-symbol"> = &quot;40.0.0&quot;</span></div>
20
20
  <div class="tsd-comment tsd-typography"><p>The current version of the Geocortex ArcGIS Extensions API.</p>
21
21
  </div></div>
22
22
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
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": "39.4.4",
4
+ "version": "40.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://dev.azure.com/vertigis/Studio/_git/arcgis-extensions-ts"
@@ -105,15 +105,9 @@
105
105
  "whatwg-fetch": "3.6.2"
106
106
  },
107
107
  "peerDependencies": {
108
- "@arcgis/core": "~4.25.5",
108
+ "@arcgis/core": "~4.26.5",
109
109
  "tslib": "^2.3.1"
110
110
  },
111
- "overridesComments": {
112
- "luxon": "There is an audit issue with version ~3.0.4 that @arcgis/core depends on. When the latter is upgraded, check if this can be removed."
113
- },
114
- "overrides": {
115
- "luxon": "~3.2.1"
116
- },
117
111
  "type": "module",
118
112
  "simple-git-hooks": {
119
113
  "pre-commit": "npx lint-staged"
@@ -1 +1 @@
1
- import t from"@arcgis/core/core/Evented";import{Property as e}from"@arcgis/core/core/accessorSupport/Property";import{trackAccess as o}from"@arcgis/core/core/accessorSupport/tracking";const s=new WeakMap;export class Observable extends t{constructor(){super();const t=new Map,r=new Proxy(this,{get(s,r,i){let n=t.get(r);return n||(n=new e({host:i},String(r),{}),t.set(r,n)),o(n),Reflect.get(s,r,i)},set(e,o,s,r){Reflect.set(e,o,s,r);const i=t.get(o);return i&&(i.invalidate(),i.commit()),!0}});return s.set(r,t),r}watch(t,e,o=!1){const s=[].concat(t),r=[];for(const t of s){const[s,i]=t.split(/\.(.*)/);if(i?.length){let n;const c=this[s];c&&"function"==typeof c.watch&&(n=c.watch(i,((o,s)=>{e(o,s,t,this)}),o));const h=this._watchProperty(s,i,((s,r)=>{n&&n.remove(),s&&"function"==typeof s.watch&&(n=s.watch(i,((o,s)=>{e(o,s,t,this)}),o));const c="function"==typeof r?.get?r.get(i):void 0,h=this.get(t);e(h,c,t,this)}),o);r.push({remove:()=>{h.remove(),n&&n.remove()}})}else r.push(this._watchProperty(s,"",e,o))}return 1===r.length?r[0]:{remove:()=>r.forEach((t=>t.remove()))}}get(t){if(!t)return;const e=t.split(".");let o=this;for(;o&&"object"==typeof o&&e.length;)o=o[e.shift()];return e.length?void 0:o}set(t,e){if(!t)return this;if("string"==typeof t){const o=t.split(".");let s=this;for(;s&&"object"==typeof s&&o.length>1;)s=s[o.shift()];s&&"object"==typeof s&&(s[o[0]]=e)}else for(const e of Object.keys(t))this.set(e,t[e]);return this}notifyChange(t){const e=s.get(this).get(t);e&&(e.invalidate(),e.commit())}_watchProperty(t,o,n,c){const h=c?new r:new i;h.callback=n,h.oldValue=this[t];const a=s.get(this);let l=a.get(t);return l||(l=new e({host:this},String(t),{}),a.set(t,l)),h.property=l,l.observe(h)}_notifyChange(t,e=!1){console.warn("Observable._notifyChange() is deprecated and will be removed in a future update. Use notifyChange() instead."),this.notifyChange(t)}}class r{onInvalidated(){}onCommitted(){const t=this.property.properties.host,{propertyName:e}=this.property,o=t[e];this.oldValue!==o&&(this.callback(o,this.oldValue,e,t),this.oldValue=o)}}class i{constructor(){this._notifyPending=!1}onInvalidated(){}onCommitted(){this._notifyPending||(this._notifyPending=!0,setTimeout((()=>{this._notifyPending=!1;const t=this.property.properties.host,{propertyName:e}=this.property,o=t[e];this.oldValue!==o&&(this.callback(o,this.oldValue,e,t),this.oldValue=o)}),0))}}
1
+ import t from"@arcgis/core/core/Evented";import{Property as e}from"@arcgis/core/core/accessorSupport/Property";import{trackAccess as o}from"@arcgis/core/core/accessorSupport/tracking";const s=new WeakMap;export class Observable extends t{constructor(){super();const t=new Map,r=new Proxy(this,{get(s,r,i){let n=t.get(r);return n||(n=new e({host:i},String(r),{}),t.set(r,n)),o(n.observerObject),Reflect.get(s,r,i)},set(e,o,s,r){Reflect.set(e,o,s,r);const i=t.get(o);return i&&(i.invalidate(),i.commit()),!0}});return s.set(r,t),r}watch(t,e,o=!1){const s=[].concat(t),r=[];for(const t of s){const[s,i]=t.split(/\.(.*)/);if(i?.length){let n;const c=this[s];c&&"function"==typeof c.watch&&(n=c.watch(i,((o,s)=>{e(o,s,t,this)}),o));const h=this._watchProperty(s,i,((s,r)=>{n&&n.remove(),s&&"function"==typeof s.watch&&(n=s.watch(i,((o,s)=>{e(o,s,t,this)}),o));const c="function"==typeof r?.get?r.get(i):void 0,h=this.get(t);e(h,c,t,this)}),o);r.push({remove:()=>{h.remove(),n&&n.remove()}})}else r.push(this._watchProperty(s,"",e,o))}return 1===r.length?r[0]:{remove:()=>r.forEach((t=>t.remove()))}}get(t){if(!t)return;const e=t.split(".");let o=this;for(;o&&"object"==typeof o&&e.length;)o=o[e.shift()];return e.length?void 0:o}set(t,e){if(!t)return this;if("string"==typeof t){const o=t.split(".");let s=this;for(;s&&"object"==typeof s&&o.length>1;)s=s[o.shift()];s&&"object"==typeof s&&(s[o[0]]=e)}else for(const e of Object.keys(t))this.set(e,t[e]);return this}notifyChange(t){const e=s.get(this).get(t);e&&(e.invalidate(),e.commit())}_watchProperty(t,o,n,c){const h=c?new r:new i;h.callback=n,h.oldValue=this[t];const a=s.get(this);let l=a.get(t);return l||(l=new e({host:this},String(t),{}),a.set(t,l)),h.property=l,l.observerObject.observe(h)}_notifyChange(t,e=!1){console.warn("Observable._notifyChange() is deprecated and will be removed in a future update. Use notifyChange() instead."),this.notifyChange(t)}}class r{onInvalidated(){}onCommitted(){const t=this.property.properties.host,{propertyName:e}=this.property,o=t[e];this.oldValue!==o&&(this.callback(o,this.oldValue,e,t),this.oldValue=o)}}class i{constructor(){this._notifyPending=!1}onInvalidated(){}onCommitted(){this._notifyPending||(this._notifyPending=!0,setTimeout((()=>{this._notifyPending=!1;const t=this.property.properties.host,{propertyName:e}=this.property,o=t[e];this.oldValue!==o&&(this.callback(o,this.oldValue,e,t),this.oldValue=o)}),0))}}
package/support/esri.d.ts CHANGED
@@ -42,8 +42,8 @@ export type PopupTemplateProperties = __esri.PopupTemplateProperties;
42
42
  export type CSVLayerCapabilities = __esri.CSVLayerCapabilities;
43
43
  export type FieldProperties = __esri.FieldProperties;
44
44
  export type FeatureLayerElevationInfo = __esri.FeatureLayerBaseElevationInfo;
45
- export type FeatureLayerApplyEdits = __esri.FeatureLayerApplyEditsEdits;
46
- export type FeatureLayerCapabilities = __esri.FeatureLayerCapabilities;
45
+ export type FeatureLayerApplyEdits = __esri.FeatureLayerBaseApplyEditsEdits;
46
+ export type FeatureLayerCapabilities = __esri.Capabilities;
47
47
  export type FeatureEditResult = __esri.FeatureEditResult;
48
48
  export type LayerViewCreateEvent = __esri.ViewLayerviewCreateEvent;
49
49
  export type LayerViewDestroyEvent = __esri.ViewLayerviewDestroyEvent;
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 = "39.4.4";
4
+ export declare const version = "40.0.0";
package/version.js CHANGED
@@ -1 +1 @@
1
- export const version="39.4.4";
1
+ export const version="40.0.0";