@arcgis/core 4.32.0-next.20250125 → 4.32.0-next.20250127

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.
Files changed (29) hide show
  1. package/WebLinkChart.js +1 -1
  2. package/applications/ExperienceBuilder/sketchUtils.js +1 -1
  3. package/assets/esri/core/workers/RemoteClient.js +1 -1
  4. package/assets/esri/core/workers/chunks/12f9d2ac23ed2204dd47.js.LICENSE.txt +1 -1
  5. package/assets/esri/core/workers/chunks/{26365ffbd74d62b05671.js → 14e8efc915374959a285.js} +2 -2
  6. package/assets/esri/core/workers/chunks/{26365ffbd74d62b05671.js.LICENSE.txt → 14e8efc915374959a285.js.LICENSE.txt} +1 -1
  7. package/assets/esri/core/workers/chunks/25c8cc30faade043c8dc.js.LICENSE.txt +1 -1
  8. package/assets/esri/core/workers/chunks/308ec51ff4a66f7fcb0d.js.LICENSE.txt +1 -1
  9. package/assets/esri/core/workers/chunks/{0e315796880bb1e3112b.js → 5aee02cd1539344f0d98.js} +1 -1
  10. package/assets/esri/core/workers/chunks/6e8905f20101c1f4509d.js.LICENSE.txt +1 -1
  11. package/assets/esri/core/workers/chunks/72cf9192292e5c85c6df.js.LICENSE.txt +1 -1
  12. package/assets/esri/core/workers/chunks/{2079d6e3da42d1ceb4c5.js → 83fe9a8002a4fc96e534.js} +1 -1
  13. package/assets/esri/core/workers/chunks/b21b152fa15896577242.js.LICENSE.txt +1 -1
  14. package/assets/esri/core/workers/chunks/e4127202c0e412a196f1.js +1 -0
  15. package/interfaces.d.ts +88 -89
  16. package/package.json +2 -2
  17. package/rest/knowledgeGraph/DataModel.js +1 -1
  18. package/rest/knowledgeGraph/FieldIndex.js +1 -1
  19. package/rest/knowledgeGraph/GraphApplyEditsResult.js +1 -1
  20. package/rest/knowledgeGraph/GraphObjectType.js +1 -1
  21. package/rest/knowledgeGraph/GraphProperty.js +1 -1
  22. package/rest/knowledgeGraph/GraphSearchStreaming.js +1 -1
  23. package/rest/knowledgeGraph/KnowledgeGraph.js +1 -1
  24. package/rest/knowledgeGraph/Path.js +1 -1
  25. package/rest/knowledgeGraph/SearchIndex.js +1 -1
  26. package/rest/knowledgeGraph/wasmInterface/wasmToDataModelFactories.js +1 -1
  27. package/support/revision.js +1 -1
  28. package/widgets/Sketch.js +1 -1
  29. package/assets/esri/core/workers/chunks/d6f2a023ddd26a544eb4.js +0 -1
package/WebLinkChart.js CHANGED
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
4
  */
5
- import{_ as t}from"./chunks/tslib.es6.js";import e from"./WebDocument2D.js";import r from"./core/Error.js";import{property as i}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import"./core/Logger.js";import"./core/RandomLCG.js";import{subclass as a}from"./core/accessorSupport/decorators/subclass.js";import{getDefaultChronologicalOverlayLayerId as n,getChronologicalOverlay as o}from"./layers/knowledgeGraph/supportUtils.js";import s from"./linkChart/LayoutSettings.js";import h from"./linkChart/LinkChartProperties.js";import l from"./linkChart/NonspatialDataDisplay.js";import c from"./webmap/InitialViewProperties.js";import{currentVersion as p}from"./webmap/utils.js";import{Version as y}from"./webmap/Version.js";var u;const L={currentVersion:p,createInitialViewProperties:()=>new c,parseVersion:y.parse,itemType:"Web Link Chart",name:"linkchart",origin:"link-chart"};let k=u=class extends e{constructor(t){super(t),this.mapType="webLinkChart",this.linkChartProperties=new h}get activeLinkChartLayer(){return this.layers.find((({type:t})=>"link-chart"===t))}get context(){return L}async applyLayout(t="organic-standard",e){return this.linkChartProperties.layoutType=t,e?.layoutSettings?.chronologicalLayoutSettings&&e.layoutSettings.organicLayoutSettings||!this.linkChartProperties.layoutSettings?this.linkChartProperties.layoutSettings=e?.layoutSettings:this.linkChartProperties.layoutSettings=new s({organicLayoutSettings:e?.layoutSettings?.organicLayoutSettings??this.linkChartProperties.layoutSettings?.organicLayoutSettings,chronologicalLayoutSettings:e?.layoutSettings?.chronologicalLayoutSettings??this.linkChartProperties.layoutSettings?.chronologicalLayoutSettings}),this.activeLinkChartLayer?.applyNewLinkChartLayout(t,e)}changeNonspatialDataDisplay(t){this.activeLinkChartLayer&&(this.linkChartProperties.nonspatialDataDisplay||(this.linkChartProperties.nonspatialDataDisplay=new l),this.linkChartProperties.nonspatialDataDisplay.mode=t)}async addRecords(t,e){return this.activeLinkChartLayer?.addRecords(t,e)}async removeRecords(t){return this.activeLinkChartLayer?.removeRecords(t)??[]}async expand(t,e){const r=await(this.activeLinkChartLayer?.expand(t,e));return r?.records??[]}async refreshLinkChartData(t){return this.activeLinkChartLayer?.refreshLinkChartCache(t)}async connectBetweenEntities(t,e){const r=await(this.activeLinkChartLayer?.connectBetweenEntities(t,e));return r?.records??[]}async connectFromEntities(t,e){const r=await(this.activeLinkChartLayer?.connectFromEntities(t,e));return r?.records??[]}getMemberIdsByType(t){return this.activeLinkChartLayer?Array.from(this.activeLinkChartLayer.dataManager.sublayerCaches.get(t)?.keys()??[]):[]}get diagramNodesExtent(){return this.activeLinkChartLayer?.linkChartExtent}get entityCount(){return this.activeLinkChartLayer?.entityLinkChartDiagramLookup.size??0}get relationshipCount(){return this.activeLinkChartLayer?.relationshipLinkChartDiagramLookup.size??0}get knowledgeGraph(){return this.activeLinkChartLayer?.knowledgeGraph}add(t,e){if(this.activeLinkChartLayer&&"type"in t&&"link-chart"===t.type)throw new r("linkchart:one-link-chart-layer","Web Link Charts can only have one Link Chart Layer, another cannot be added");if(super.add(t,e),"type"in t&&"link-chart"===t.type){const e=t.initializationLinkChartConfig?.layoutMode;e&&(this.linkChartProperties.layoutType=e);const r=t.initializationLinkChartConfig?.layoutSettings;r&&(this.linkChartProperties.layoutSettings=r)}}static fromJSON(t){if(t)return new u({resourceInfo:t});throw new r("linkchart:empty-resource","Expected a JSON resource but got nothing")}handleChronologicalOverlay(){if(!this.activeLinkChartLayer)return;const t=this.activeLinkChartLayer,e=this.findLayerById(n());if(e&&this.remove(e),"chronological-mono-timeline"===this.linkChartProperties.layoutType||"chronological-multi-timeline"===this.linkChartProperties.layoutType){const e=o(t);this.add(e,0)}}};t([i({readOnly:!0})],k.prototype,"activeLinkChartLayer",null),t([i({json:{write:!0}})],k.prototype,"mapType",void 0),t([i({type:h,nonNullable:!0,json:{write:!0}})],k.prototype,"linkChartProperties",void 0),t([i({readOnly:!0})],k.prototype,"diagramNodesExtent",null),t([i({readOnly:!0})],k.prototype,"entityCount",null),t([i({readOnly:!0})],k.prototype,"relationshipCount",null),t([i({readOnly:!0})],k.prototype,"knowledgeGraph",null),k=u=t([a("esri.WebLinkChart")],k);const C=k;export{C as default};
5
+ import{_ as t}from"./chunks/tslib.es6.js";import r from"./WebDocument2D.js";import e from"./core/Error.js";import{property as a}from"./core/accessorSupport/decorators/property.js";import"./core/has.js";import"./core/Logger.js";import"./core/RandomLCG.js";import{subclass as i}from"./core/accessorSupport/decorators/subclass.js";import{getDefaultChronologicalOverlayLayerId as n,getChronologicalOverlay as o}from"./layers/knowledgeGraph/supportUtils.js";import h from"./linkChart/LayoutSettings.js";import s from"./linkChart/LinkChartProperties.js";import l from"./linkChart/NonspatialDataDisplay.js";import c from"./webmap/InitialViewProperties.js";import{currentVersion as y}from"./webmap/utils.js";import{Version as k}from"./webmap/Version.js";var p;const L={currentVersion:y,createInitialViewProperties:()=>new c,parseVersion:k.parse,itemType:"Web Link Chart",name:"linkchart",origin:"link-chart"};let u=p=class extends r{constructor(t){super(t),this.mapType="webLinkChart",this.linkChartProperties=new s}get activeLinkChartLayer(){return this.layers.find((({type:t})=>"link-chart"===t))}get context(){return L}async applyLayout(t="organic-standard",r){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.linkChartProperties.layoutType=t,r?.layoutSettings?.chronologicalLayoutSettings&&r.layoutSettings.organicLayoutSettings||!this.linkChartProperties.layoutSettings?this.linkChartProperties.layoutSettings=r?.layoutSettings:this.linkChartProperties.layoutSettings=new h({organicLayoutSettings:r?.layoutSettings?.organicLayoutSettings??this.linkChartProperties.layoutSettings?.organicLayoutSettings,chronologicalLayoutSettings:r?.layoutSettings?.chronologicalLayoutSettings??this.linkChartProperties.layoutSettings?.chronologicalLayoutSettings}),this.activeLinkChartLayer.applyNewLinkChartLayout(t,r)}changeNonspatialDataDisplay(t){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");this.linkChartProperties.nonspatialDataDisplay||(this.linkChartProperties.nonspatialDataDisplay=new l),this.linkChartProperties.nonspatialDataDisplay.mode=t}async addRecords(t,r){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.addRecords(t,r)}async removeRecords(t){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.removeRecords(t)}async expand(t,r){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");const a=await this.activeLinkChartLayer.expand(t,r);return a?.records??[]}async refreshLinkChartData(t){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.refreshLinkChartCache(t)}async connectBetweenEntities(t,r){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");const a=await this.activeLinkChartLayer.connectBetweenEntities(t,r);return a?.records??[]}async connectFromEntities(t,r){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");const a=await this.activeLinkChartLayer.connectFromEntities(t,r);return a?.records??[]}getMemberIdsByType(t){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return Array.from(this.activeLinkChartLayer?.dataManager.sublayerCaches.get(t)?.keys()??[])}get diagramNodesExtent(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.linkChartExtent}get entityCount(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.entityLinkChartDiagramLookup.size}get relationshipCount(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer.relationshipLinkChartDiagramLookup.size}get knowledgeGraph(){if(!this.activeLinkChartLayer)throw new e("WebLinkChart:no-link-chart-layer","No link chart layer found");return this.activeLinkChartLayer?.knowledgeGraph}add(t,r){if(this.activeLinkChartLayer&&"type"in t&&"link-chart"===t.type)throw new e("linkchart:one-link-chart-layer","Web Link Charts can only have one Link Chart Layer, another cannot be added");if(super.add(t,r),"type"in t&&"link-chart"===t.type){const r=t.initializationLinkChartConfig?.layoutMode;r&&(this.linkChartProperties.layoutType=r);const e=t.initializationLinkChartConfig?.layoutSettings;e&&(this.linkChartProperties.layoutSettings=e)}}static fromJSON(t){if(t)return new p({resourceInfo:t});throw new e("linkchart:empty-resource","Expected a JSON resource but got nothing")}handleChronologicalOverlay(){if(!this.activeLinkChartLayer)return;const t=this.activeLinkChartLayer,r=this.findLayerById(n());if(r&&this.remove(r),"chronological-mono-timeline"===this.linkChartProperties.layoutType||"chronological-multi-timeline"===this.linkChartProperties.layoutType){const r=o(t);this.add(r,0)}}};t([a({readOnly:!0})],u.prototype,"activeLinkChartLayer",null),t([a({json:{write:!0}})],u.prototype,"mapType",void 0),t([a({type:s,nonNullable:!0,json:{write:!0}})],u.prototype,"linkChartProperties",void 0),t([a({readOnly:!0})],u.prototype,"diagramNodesExtent",null),t([a({readOnly:!0})],u.prototype,"entityCount",null),t([a({readOnly:!0})],u.prototype,"relationshipCount",null),t([a({readOnly:!0})],u.prototype,"knowledgeGraph",null),u=p=t([i("esri.WebLinkChart")],u);const C=u;export{C as default};
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.32/esri/copyright.txt for details.
4
4
  */
5
- function n(n,t,o){return n.customToolOptions=t,o&&(n.customActions=o),n}function t(n){n.dismissFloatingElements()}function o(n,t){return n.barStyle=t,n}function e(n,t){return n.selectionManagementStyle=t,n}export{t as dismissFloatingElements,o as setBarStyle,n as setCustomTools,e as setSelectionManagementStyle};
5
+ function o(o,t,n){return o.customToolOptions=t,n&&(o.customActions=n),o}function t(o){o.dismissFloatingElements()}function n(o,t){return o.contextualToolLocation=t,o}export{t as dismissFloatingElements,n as setContextualToolLocation,o as setCustomTools};