@arcgis/ai-components 5.2.0-next.105 → 5.2.0-next.107
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/dist/agent-utils/BaseAgent.js +1 -1
- package/dist/agent-utils/FunctionAgent.js +1 -1
- package/dist/agent-utils/LLMAgent.js +42 -41
- package/dist/agent-utils/WorkflowAgent.js +1 -1
- package/dist/agent-utils/index.js +1 -1
- package/dist/agent-utils/middlewares/humanInTheLoop.js +1 -1
- package/dist/agent-utils/middlewares/middleware.js +1 -1
- package/dist/agent-utils/middlewares/trace.js +6 -6
- package/dist/agent-utils/middlewares/types.js +1 -1
- package/dist/agent-utils/tools/FunctionTool.js +1 -1
- package/dist/agent-utils/workflows/ConditionalWorkflow.js +1 -1
- package/dist/agent-utils/workflows/LoopWorkflow.js +1 -1
- package/dist/agent-utils/workflows/ParallelWorkflow.js +1 -1
- package/dist/agent-utils/workflows/RouterWorkflow.js +1 -1
- package/dist/agent-utils/workflows/SequentialWorkflow.js +1 -1
- package/dist/agent-utils/workflows/SwitchWorkflow.js +1 -1
- package/dist/agents/runtime/skill/createSkillAgent.d.ts +31 -0
- package/dist/agents/runtime/skill/createSkillAgent.js +260 -0
- package/dist/agents/runtime/skill/loadAgentSkills.d.ts +16 -0
- package/dist/agents/runtime/skill/types.d.ts +28 -0
- package/dist/agents/runtime/skill/types.js +2 -0
- package/dist/agents/tools/filter/clearFilters/adapter.js +1 -1
- package/dist/agents/tools/filter/resetMap/adapter.js +1 -1
- package/dist/agents/tools/filter/setFeatureEffect/adapter.js +21 -20
- package/dist/agents/tools/help/listFields/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToAddress/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToBookmark/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToFeatures/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToFullExtent/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToHomeExtent/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToLayer/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToScale/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToViewpoint/adapter.js +1 -1
- package/dist/agents/tools/navigation/goToZoom/adapter.js +1 -1
- package/dist/agents/tools/query/getAttribute/adapter.js +1 -1
- package/dist/agents/tools/query/getStatistics/adapter.js +5 -4
- package/dist/agents/tools/query/getTopFeatures/adapter.js +5 -4
- package/dist/agents/tools/query/queryFeatures/adapter.js +5 -4
- package/dist/agents/tools/search/findRelevantFields/adapter.js +1 -1
- package/dist/agents/tools/search/findRelevantLayers/adapter.js +1 -1
- package/dist/agents/tools/shared/resolveToolArtifact.d.ts +22 -0
- package/dist/agents/tools/shared/resolveToolArtifact.js +20 -0
- package/dist/agents/tools/shared/types.d.ts +22 -0
- package/dist/agents/tools/shared/types.js +6 -0
- package/dist/cdn/25MBI4PD.js +2 -0
- package/dist/cdn/{LLUGJKAQ.js → 275FFTBE.js} +2 -2
- package/dist/cdn/2F4TPWZQ.js +2 -0
- package/dist/cdn/{HKOGIZDQ.js → 2LVYAXHG.js} +19 -19
- package/dist/cdn/{5MK44FNO.js → 2NRCE53B.js} +2 -2
- package/dist/cdn/{R2PQVY4O.js → 2WXXSZP5.js} +2 -2
- package/dist/cdn/{APFZY4PI.js → 3KNLFIM3.js} +2 -2
- package/dist/cdn/{NNXISHCA.js → 3PPXAIRE.js} +3 -3
- package/dist/cdn/{FUF3NAU7.js → 45BDE3MG.js} +2 -2
- package/dist/cdn/{VOKXKU7M.js → 477I66FH.js} +10 -10
- package/dist/cdn/4CFCV47G.js +2 -0
- package/dist/cdn/{TPULIO6I.js → 4IWDBEMN.js} +2 -2
- package/dist/cdn/{G2EGT3CF.js → 4OI4QEV7.js} +2 -2
- package/dist/cdn/{2W7LK4HA.js → 4UAREC76.js} +2 -2
- package/dist/cdn/{HHFNQR6Z.js → 4VBOTWC3.js} +2 -2
- package/dist/cdn/{RLEHNAIA.js → 4YOG5F3W.js} +1 -1
- package/dist/cdn/5X23DDDZ.js +2 -0
- package/dist/cdn/65ZACLYB.js +2 -0
- package/dist/cdn/{HDACNIZF.js → 6KWGSXIN.js} +2 -2
- package/dist/cdn/{O4NVW75A.js → 6MRTZ4OM.js} +2 -2
- package/dist/cdn/{DKZYPPJV.js → 77NAJM5H.js} +2 -2
- package/dist/cdn/{NEV6OZN3.js → 7DOYUO7L.js} +2 -2
- package/dist/cdn/{EYOWRGDP.js → 7JJX6VGI.js} +2 -2
- package/dist/cdn/{ONQ6JSBJ.js → A6LBMS7A.js} +1 -1
- package/dist/cdn/{ZDV4K4WG.js → AP3KPOHN.js} +2 -2
- package/dist/cdn/AUCKEB52.js +2 -0
- package/dist/cdn/B3HXSEBN.js +2 -0
- package/dist/cdn/{6ECRQVHY.js → BAKJLCYO.js} +2 -2
- package/dist/cdn/BJMGT6GV.js +19 -0
- package/dist/cdn/{HAEFC2SJ.js → BTOBEN7Q.js} +2 -2
- package/dist/cdn/BTTCBEPW.js +2 -0
- package/dist/cdn/{UZLQALHY.js → BVUCNXC5.js} +1 -1
- package/dist/cdn/{RFVZ7KCG.js → CAOMMQSY.js} +1 -1
- package/dist/cdn/{P4GFYBBO.js → CBYBFBD3.js} +2 -2
- package/dist/cdn/{VLLZ2FFU.js → CKUUYQLO.js} +2 -2
- package/dist/cdn/{MWYBF3F3.js → CSE6BHOJ.js} +2 -2
- package/dist/cdn/{7BCQMK6D.js → CX2HJ67C.js} +2 -2
- package/dist/cdn/EELMDCPV.js +2 -0
- package/dist/cdn/{7VUSIGEM.js → EGRRZTF6.js} +2 -2
- package/dist/cdn/EHYDAEGL.js +2 -0
- package/dist/cdn/{C4JT4S5E.js → EK3PM4L5.js} +2 -2
- package/dist/cdn/{PYGX4HN7.js → ENAEE4UU.js} +2 -2
- package/dist/cdn/EXMEB4X2.js +2 -0
- package/dist/cdn/{FG647IP6.js → EYGZJKVD.js} +2 -2
- package/dist/cdn/{4RDNI22D.js → FK2CVSXW.js} +5 -5
- package/dist/cdn/FLUI6GCU.js +2 -0
- package/dist/cdn/{ZU2FHVNK.js → FPH52WOH.js} +2 -2
- package/dist/cdn/FRYS2PZJ.js +2 -0
- package/dist/cdn/FSLQCZRN.js +2 -0
- package/dist/cdn/{PQ2DPOFM.js → FTTLFIBV.js} +2 -2
- package/dist/cdn/{NZSOJ726.js → FV6FHLYW.js} +2 -2
- package/dist/cdn/{WGO5SER7.js → G24MNC7D.js} +2 -2
- package/dist/cdn/{6OOZSZRJ.js → GN56DOYL.js} +2 -2
- package/dist/cdn/{ROQGPAR5.js → HIJGY4GU.js} +2 -2
- package/dist/cdn/{BL273EGZ.js → HMMYCSOK.js} +2 -2
- package/dist/cdn/{OE3GW5LE.js → HNTSDY3J.js} +2 -2
- package/dist/cdn/HQOK6DDH.js +2 -0
- package/dist/cdn/{K2R6XVK3.js → HV7MVIQV.js} +2 -2
- package/dist/cdn/I3SUE2TR.js +2 -0
- package/dist/cdn/{VAXH6RUQ.js → I72ST4JR.js} +2 -2
- package/dist/cdn/{FYZATVB3.js → IHUWQOMK.js} +2 -2
- package/dist/cdn/{J6A4AS7E.js → JMXXRRKQ.js} +2 -2
- package/dist/cdn/{5HBAJ57P.js → JPXEMNPR.js} +2 -2
- package/dist/cdn/{UHEYPSOR.js → JYNHWJUZ.js} +2 -2
- package/dist/cdn/KAX4A7SF.js +2 -0
- package/dist/cdn/{5ZFUGNRN.js → KBSXHSBX.js} +2 -2
- package/dist/cdn/{CCC6LBMY.js → KKCLHXHG.js} +1 -1
- package/dist/cdn/L2HLFWCV.js +72 -0
- package/dist/cdn/{LK7ZIQW6.js → L3BTURBA.js} +2 -2
- package/dist/cdn/{IBZ2NEAO.js → LBTGOMCT.js} +2 -2
- package/dist/cdn/{34O57OGV.js → LLY5A2E2.js} +1 -1
- package/dist/cdn/{Z5W4V7RC.js → LXIKAXUT.js} +2 -2
- package/dist/cdn/{AI6DYOKR.js → M2U456J5.js} +3 -3
- package/dist/cdn/{KWD2ECTM.js → M3KKORBG.js} +2 -2
- package/dist/cdn/M5B6X46F.js +2 -0
- package/dist/cdn/{SDWWUWAF.js → MZUDIQQH.js} +2 -2
- package/dist/cdn/{CEKOEHB3.js → NNPA3NLK.js} +2 -2
- package/dist/cdn/{MXTXJKFE.js → NPWLYHMU.js} +2 -2
- package/dist/cdn/NV7CL4S3.js +2 -0
- package/dist/cdn/{3UEKINYC.js → OALQBAZR.js} +2 -2
- package/dist/cdn/{RHYNE5OE.js → OF3TAARW.js} +1 -1
- package/dist/cdn/{F5NIRETW.js → P53TDER7.js} +2 -2
- package/dist/cdn/{SXM4NUT5.js → PJLGCS33.js} +2 -2
- package/dist/cdn/{BXQ4I5HB.js → PJPP6LOS.js} +3 -3
- package/dist/cdn/PUZ6RAFQ.js +2 -0
- package/dist/cdn/{IHP25JWI.js → QAX6UF4L.js} +2 -2
- package/dist/cdn/{JEBRN3EU.js → QTEPFTAU.js} +2 -2
- package/dist/cdn/ROS22KOA.js +2 -0
- package/dist/cdn/RPOFBIE7.js +2 -0
- package/dist/cdn/{COH3QXWG.js → S5GFNIHC.js} +3 -3
- package/dist/cdn/SBNNJ5WA.js +2 -0
- package/dist/cdn/SI22EJLC.js +2 -0
- package/dist/cdn/{5WYRJMBW.js → SJMAKF4P.js} +2 -2
- package/dist/cdn/{6P44KOKX.js → SKCUGZ7G.js} +2 -2
- package/dist/cdn/{V6HOUZPZ.js → SNG3WODY.js} +2 -2
- package/dist/cdn/{22KHSDJI.js → STOGCXJH.js} +2 -2
- package/dist/cdn/SUC2MIGE.js +2 -0
- package/dist/cdn/SXYKNDOF.js +2 -0
- package/dist/cdn/SZ2L5556.js +2 -0
- package/dist/cdn/{Y7XD7ZRD.js → T6W6F4TF.js} +2 -2
- package/dist/cdn/{WKTQVBFJ.js → TFAJNKBC.js} +2 -2
- package/dist/cdn/{R74ZHFA6.js → TLPZELG3.js} +1 -1
- package/dist/cdn/{2O4DON37.js → TNLFUXIB.js} +2 -2
- package/dist/cdn/{YEZ3AMNX.js → TXZQZR3I.js} +2 -2
- package/dist/cdn/UGIHS7OA.js +2 -0
- package/dist/cdn/{UDRKUVZP.js → UX457AQR.js} +2 -2
- package/dist/cdn/{ICBIUFK7.js → V266DJ5V.js} +2 -2
- package/dist/cdn/{FDOMMK2M.js → V4PJMCJZ.js} +1 -1
- package/dist/cdn/{7VAQUCBU.js → V52GSTOC.js} +2 -2
- package/dist/cdn/VGLBH473.js +2 -0
- package/dist/cdn/{WSWB3B7B.js → VHNTHPH7.js} +2 -2
- package/dist/cdn/{KITIP6J2.js → VK6CCPTG.js} +2 -2
- package/dist/cdn/{AOVJ34QE.js → VLPELJUS.js} +2 -2
- package/dist/cdn/VT5EWFH7.js +2 -0
- package/dist/cdn/{J6SZIQJA.js → VXLKTQ36.js} +2 -2
- package/dist/cdn/W54XYT2A.js +2 -0
- package/dist/cdn/{7SRLZQVC.js → X42ACC66.js} +2 -2
- package/dist/cdn/{CP5BVGJU.js → XNUWVZN7.js} +2 -2
- package/dist/cdn/XOTPSCNF.js +2 -0
- package/dist/cdn/XRVGYRXL.js +14 -0
- package/dist/cdn/{ANRQWYU2.js → XV7RMYLR.js} +2 -2
- package/dist/cdn/{5K5ZY267.js → XVJFPZTW.js} +2 -2
- package/dist/cdn/XZF7Y6B2.js +2 -0
- package/dist/cdn/Y4ZOB6UH.js +2 -0
- package/dist/cdn/Y6CV2NZR.js +2 -0
- package/dist/cdn/YMJKT5OK.js +2 -0
- package/dist/cdn/{655YIKL3.js → YOW3YKWR.js} +3 -3
- package/dist/cdn/{OKVLGJAG.js → ZA7ZU2F7.js} +2 -2
- package/dist/cdn/{EWLXNGKH.js → ZJWR4W2S.js} +16 -16
- package/dist/cdn/ZWIKFBOU.js +2 -0
- package/dist/cdn/ZY3JQCZQ.js +179 -0
- package/dist/cdn/agent-utils/index.js +2 -2
- package/dist/cdn/agent-utils/middlewares/humanInTheLoop.js +2 -2
- package/dist/cdn/agent-utils/middlewares/middleware.js +2 -2
- package/dist/cdn/agent-utils/middlewares/trace.js +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/BaseWorkflow.js +1 -1
- package/dist/chunks/SKILL.js +5 -0
- package/dist/chunks/SKILL2.js +5 -0
- package/dist/chunks/SKILL3.js +22 -0
- package/dist/chunks/SKILL4.js +5 -0
- package/dist/chunks/adapter.js +138 -141
- package/dist/chunks/aiFactory.js +94 -0
- package/dist/chunks/arcgisKnowledgeGraph.js +15 -14
- package/dist/chunks/arcgisToolRegistry.js +88 -0
- package/dist/chunks/arcgis_knowledge_current_lc_context.js +1 -1
- package/dist/chunks/arcgis_knowledge_current_map_context.js +1 -1
- package/dist/chunks/arcgis_knowledge_cypher_query_prompt.js +1 -1
- package/dist/chunks/arcgis_knowledge_lucene_generation_prompt.js +1 -1
- package/dist/chunks/arcgis_knowledge_summarize_result_prompt.js +1 -1
- package/dist/chunks/arcgis_knowledge_tool_prompt.js +1 -1
- package/dist/chunks/baseAgentState.js +3 -3
- package/dist/chunks/converterUtils.js +1 -1
- package/dist/chunks/dataExplorationAgent.js +19 -0
- package/dist/chunks/data_explore_filter_prompt.js +1 -1
- package/dist/chunks/data_explore_query_prompt.js +1 -1
- package/dist/chunks/embeddings.worker.js +1 -1
- package/dist/chunks/fetchAgentContext.js +1 -1
- package/dist/chunks/fetchService.js +1 -1
- package/dist/chunks/fieldStatistics.js +1 -1
- package/dist/chunks/field_descriptions_prompt.js +1 -1
- package/dist/chunks/formatFeatureAttributes.js +1 -1
- package/dist/chunks/generateLayerDescriptions.js +182 -269
- package/dist/chunks/graph.js +1 -1
- package/dist/chunks/helpAgent.js +34 -0
- package/dist/chunks/help_prompt.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/intent_prompt.js +1 -1
- package/dist/chunks/layerStylingGraph.js +92 -77
- package/dist/chunks/layer_descriptions_prompt.js +1 -1
- package/dist/chunks/layer_styling_prompt.js +1 -1
- package/dist/chunks/mergeWhereClauses.js +1 -1
- package/dist/chunks/navigationAgent.js +27 -0
- package/dist/chunks/navigation_intent_prompt.js +1 -1
- package/dist/chunks/navigation_tool_prompt.js +1 -1
- package/dist/chunks/orchestrator.js +14 -13
- package/dist/chunks/requireAgentServices.js +11 -0
- package/dist/chunks/resolvePointGeometryFilter.js +12 -12
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/slottableRequestUtils.js +1 -1
- package/dist/chunks/state.js +1 -1
- package/dist/chunks/summarize_query_response_prompt.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/components/arcgis-assistant/customElement.js +1 -1
- package/dist/components/arcgis-assistant-agent/customElement.js +130 -212
- package/dist/components/arcgis-assistant-chat/customElement.js +1 -1
- package/dist/components/arcgis-assistant-chat-entry/customElement.js +1 -1
- package/dist/components/arcgis-assistant-data-exploration-agent/customElement.js +18 -7
- package/dist/components/arcgis-assistant-help-agent/customElement.js +4 -2
- package/dist/components/arcgis-assistant-interrupt/customElement.js +1 -1
- package/dist/components/arcgis-assistant-interrupt-preview/customElement.js +1 -1
- package/dist/components/arcgis-assistant-knowledge-agent/customElement.js +2 -1
- package/dist/components/arcgis-assistant-layer-styling-agent/customElement.js +2 -1
- package/dist/components/arcgis-assistant-message/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-block/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-feedback/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-footer/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-loading/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-log/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-read-aloud/customElement.js +1 -1
- package/dist/components/arcgis-assistant-message-text/customElement.js +1 -1
- package/dist/components/arcgis-assistant-navigation-agent/customElement.js +19 -8
- package/dist/components/arcgis-assistant-speech-input/customElement.js +1 -1
- package/dist/components/arcgis-assistant-suggested-prompts/customElement.js +1 -1
- package/dist/components/arcgis-assistant-user-message/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/orchestrator/models/types.d.ts +1 -0
- package/dist/orchestrator/providers/arcgis/aiFactory.d.ts +15 -0
- package/dist/orchestrator/registry/agentRegistry.d.ts +33 -0
- package/dist/orchestrator/types/types.d.ts +17 -0
- package/dist/utils/index.d.ts +13 -3
- package/dist/utils/index.js +707 -83
- package/package.json +9 -5
- package/dist/cdn/2EY3BQQX.js +0 -2
- package/dist/cdn/2NDBI2VA.js +0 -156
- package/dist/cdn/434TAA3J.js +0 -2
- package/dist/cdn/4OGR5QKS.js +0 -2
- package/dist/cdn/5X7EG7D2.js +0 -2
- package/dist/cdn/6FCU2KJP.js +0 -2
- package/dist/cdn/7BJ4JKLG.js +0 -2
- package/dist/cdn/7HS5KX3J.js +0 -2
- package/dist/cdn/7UUYJTKT.js +0 -2
- package/dist/cdn/7V6OSTFC.js +0 -2
- package/dist/cdn/7VYYQ7BT.js +0 -2
- package/dist/cdn/ACJTJLZN.js +0 -2
- package/dist/cdn/AKD5UOVX.js +0 -2
- package/dist/cdn/C7LGDNB3.js +0 -14
- package/dist/cdn/CGJINV7H.js +0 -2
- package/dist/cdn/CJMUJXPL.js +0 -2
- package/dist/cdn/D2SS763Z.js +0 -2
- package/dist/cdn/FJO4KNOZ.js +0 -2
- package/dist/cdn/G3SF6U2U.js +0 -2
- package/dist/cdn/G6CR7JVM.js +0 -22
- package/dist/cdn/GL7BPKBN.js +0 -2
- package/dist/cdn/JO5ETMPS.js +0 -2
- package/dist/cdn/NYJYRCGA.js +0 -2
- package/dist/cdn/PUHRBGKB.js +0 -2
- package/dist/cdn/Q57QWN5W.js +0 -2
- package/dist/cdn/QUKNPVAF.js +0 -2
- package/dist/cdn/RBE55SWR.js +0 -2
- package/dist/cdn/SWH6ZHD4.js +0 -18
- package/dist/cdn/SZ2QSSB3.js +0 -2
- package/dist/cdn/T4RIGOXB.js +0 -2
- package/dist/cdn/VXFQANGJ.js +0 -2
- package/dist/cdn/W4JQDITQ.js +0 -36
- package/dist/cdn/XX6GHMNR.js +0 -2
- package/dist/cdn/YLVJA4ZE.js +0 -2
- package/dist/cdn/ZOEMBHRF.js +0 -2
- package/dist/cdn/ZRVZMPFN.js +0 -2
- package/dist/chunks/dataExplorationGraph.js +0 -254
- package/dist/chunks/helpGraph.js +0 -133
- package/dist/chunks/navigationGraph.js +0 -290
- package/dist/chunks/toolCallResponse.js +0 -33
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { ChatOpenAI as E, OpenAIEmbeddings as U } from "@langchain/openai";
|
|
3
|
+
import p from "@arcgis/core/portal/Portal.js";
|
|
4
|
+
import h from "@arcgis/core/request.js";
|
|
5
|
+
import b from "@arcgis/core/identity/IdentityManager.js";
|
|
6
|
+
import { generateGuid as I } from "@arcgis/toolkit/string";
|
|
7
|
+
import q from "@arcgis/core/config.js";
|
|
8
|
+
const y = {
|
|
9
|
+
advanced: "gpt-5.6-sol",
|
|
10
|
+
default: "gpt-5.6-terra",
|
|
11
|
+
fast: "gpt-5.6-luna"
|
|
12
|
+
}, w = {
|
|
13
|
+
default: "text-embedding-ada-002"
|
|
14
|
+
}, f = /* @__PURE__ */ new Map();
|
|
15
|
+
let i = null;
|
|
16
|
+
const R = () => {
|
|
17
|
+
const t = p.getDefault().helperServices;
|
|
18
|
+
if (!t?.aiModels?.url)
|
|
19
|
+
throw new Error("AI Models Service URL is not defined in the portal's helper services.");
|
|
20
|
+
return t.aiModels.url;
|
|
21
|
+
}, S = async (e) => {
|
|
22
|
+
const t = R();
|
|
23
|
+
f.size === 0 && (i || (i = (async () => {
|
|
24
|
+
try {
|
|
25
|
+
(await h(`${t}/models`)).data.models.forEach((s) => f.set(s.name, s));
|
|
26
|
+
} catch (r) {
|
|
27
|
+
throw i = null, r;
|
|
28
|
+
}
|
|
29
|
+
})()), await i);
|
|
30
|
+
const o = f.get(e);
|
|
31
|
+
if (!o)
|
|
32
|
+
throw new Error(`Model '${e}' is not available in the discovery service.`);
|
|
33
|
+
return o.endpoint;
|
|
34
|
+
}, C = async (e = "default") => await S(y[e]), A = async (e = "default") => await S(w[e]), k = (e) => typeof e == "string" && e.length > 0 ? e : void 0, D = () => I(), F = (e) => typeof e != "string" || e.trim().length === 0 ? "MapsSDK" : `MapsSDK - ${e.trim()}`, K = (e) => {
|
|
35
|
+
const t = e?.configurable;
|
|
36
|
+
return {
|
|
37
|
+
conversationId: k(t?.thread_id),
|
|
38
|
+
abortSignal: e?.signal,
|
|
39
|
+
requestId: D(),
|
|
40
|
+
requestSource: F(q.applicationName)
|
|
41
|
+
};
|
|
42
|
+
}, L = (e) => {
|
|
43
|
+
if (e == null || typeof e == "string" || e instanceof FormData || e instanceof HTMLFormElement)
|
|
44
|
+
return e;
|
|
45
|
+
if (e instanceof URLSearchParams)
|
|
46
|
+
return e.toString();
|
|
47
|
+
throw new TypeError(`Unsupported request body type: ${Object.prototype.toString.call(e)}`);
|
|
48
|
+
}, v = async ({ config: e }) => {
|
|
49
|
+
const t = p.getDefault(), o = await b.getCredential(`${t.url}/sharing`);
|
|
50
|
+
return async (r, n) => {
|
|
51
|
+
const { conversationId: s, abortSignal: c, requestId: g, requestSource: l } = K(e), a = new Headers(n?.headers);
|
|
52
|
+
for (const m of [...a.keys()]) {
|
|
53
|
+
const u = m.toLowerCase();
|
|
54
|
+
(u === "authorization" || u === "api-key" || u.startsWith("x-stainless-")) && a.delete(m);
|
|
55
|
+
}
|
|
56
|
+
const d = o?.token;
|
|
57
|
+
d && d.length > 0 && a.set("X-Esri-Authorization", `Bearer ${d}`), t.isPortal || (l && l.length > 0 && a.set("X-Esri-Request-Source", l), s && s.length > 0 && a.set("X-Esri-Conversation-Id", s), g.length > 0 && a.set("X-Esri-Request-Id", g));
|
|
58
|
+
const M = c && n?.signal ? AbortSignal.any([c, n.signal]) : n?.signal ?? c;
|
|
59
|
+
return (await h(r instanceof Request ? r.url : r.toString(), {
|
|
60
|
+
body: L(n?.body),
|
|
61
|
+
headers: Object.fromEntries(a),
|
|
62
|
+
responseType: "native",
|
|
63
|
+
signal: M
|
|
64
|
+
})).data;
|
|
65
|
+
};
|
|
66
|
+
}, B = async (e = {}) => {
|
|
67
|
+
const { modelTier: t = "default", config: o } = e, r = y[t], n = await C(t);
|
|
68
|
+
return new E({
|
|
69
|
+
modelName: r,
|
|
70
|
+
apiKey: "dummy-key",
|
|
71
|
+
configuration: {
|
|
72
|
+
baseURL: n,
|
|
73
|
+
fetch: await v({ config: o })
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
}, j = async (e = {}) => {
|
|
77
|
+
const { tier: t = "default", config: o } = e, r = w[t], n = await A(t);
|
|
78
|
+
return new U({
|
|
79
|
+
modelName: r,
|
|
80
|
+
apiKey: "dummy-key",
|
|
81
|
+
configuration: {
|
|
82
|
+
baseURL: n,
|
|
83
|
+
fetch: await v({ config: o })
|
|
84
|
+
},
|
|
85
|
+
batchSize: 2048,
|
|
86
|
+
maxConcurrency: 10
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
export {
|
|
90
|
+
w as E,
|
|
91
|
+
j as a,
|
|
92
|
+
B as c,
|
|
93
|
+
A as g
|
|
94
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { StateGraph as x, START as k, END as c, Command as b } from "@langchain/langgraph/web";
|
|
3
|
-
import { a as K, c as _,
|
|
3
|
+
import { a as K, c as _, g as T, b as A, d as S, s as M, q as v, e as u, f as q, t as g, h as C, G as E, i as m } from "./adapter.js";
|
|
4
4
|
import "@arcgis/core/identity/IdentityManager.js";
|
|
5
5
|
import "@arcgis/core/portal/Portal.js";
|
|
6
6
|
import "@arcgis/core/request.js";
|
|
7
7
|
import "@arcgis/toolkit/string";
|
|
8
|
-
import {
|
|
8
|
+
import { i as G, a as N } from "./generateLayerDescriptions.js";
|
|
9
9
|
import { AIMessage as y } from "@langchain/core/messages";
|
|
10
10
|
import "@langchain/core/callbacks/dispatch/web";
|
|
11
11
|
import "@langchain/core/callbacks/base";
|
|
@@ -13,9 +13,10 @@ import "@langchain/openai";
|
|
|
13
13
|
import "@arcgis/core/config.js";
|
|
14
14
|
import "@arcgis/core/core/reactiveUtils.js";
|
|
15
15
|
import "@arcgis/core/layers/FeatureLayer.js";
|
|
16
|
-
import { ToolNode as
|
|
17
|
-
import { s as p, a as
|
|
16
|
+
import { ToolNode as R } from "@langchain/langgraph/prebuilt";
|
|
17
|
+
import { s as p, a as L } from "./index.js";
|
|
18
18
|
import "@langchain/core/prompts";
|
|
19
|
+
import { r as z } from "./requireAgentServices.js";
|
|
19
20
|
const w = [
|
|
20
21
|
K,
|
|
21
22
|
_,
|
|
@@ -31,13 +32,13 @@ async function D(e, t) {
|
|
|
31
32
|
userRequest: e.agentExecutionContext.userRequest,
|
|
32
33
|
priorSteps: e.agentExecutionContext.priorSteps,
|
|
33
34
|
contextType: s
|
|
34
|
-
}, r = await
|
|
35
|
+
}, r = await G({
|
|
35
36
|
promptText: o,
|
|
36
37
|
messages: e.arcgisKnowledgeMessages,
|
|
37
38
|
inputVariables: n,
|
|
38
39
|
tools: w,
|
|
39
40
|
config: t
|
|
40
|
-
}), l = (r.tool_calls?.length ?? 0) > 0, a = typeof r.text == "string" ? r.text.trim() : "", i = a.length > 0, d = r.
|
|
41
|
+
}), l = (r.tool_calls?.length ?? 0) > 0, a = typeof r.text == "string" ? r.text.trim() : "", i = a.length > 0, d = r.content.toString();
|
|
41
42
|
return !l && (s === "map" || s === "knowledgeGraph") ? {
|
|
42
43
|
...e,
|
|
43
44
|
arcgisKnowledgeMessages: [...e.arcgisKnowledgeMessages, r],
|
|
@@ -70,7 +71,7 @@ function $(e) {
|
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
73
|
async function I(e, t) {
|
|
73
|
-
const o = new
|
|
74
|
+
const o = new R(w, { handleToolErrors: !1 });
|
|
74
75
|
try {
|
|
75
76
|
const s = await o.invoke(
|
|
76
77
|
{
|
|
@@ -104,7 +105,7 @@ async function I(e, t) {
|
|
|
104
105
|
t
|
|
105
106
|
);
|
|
106
107
|
const r = n.filter((a) => typeof a != "string").map((a) => `- Called Tool: ${a.toolName}, Status: ${a.status}`), l = n[0];
|
|
107
|
-
return l && F(l) && await
|
|
108
|
+
return l && F(l) && await L($(l), t), {
|
|
108
109
|
...e,
|
|
109
110
|
outputMessage: r.join(`
|
|
110
111
|
`),
|
|
@@ -129,19 +130,19 @@ async function I(e, t) {
|
|
|
129
130
|
}
|
|
130
131
|
const V = (e, t) => (
|
|
131
132
|
//agent services (ex: embeddingsWorker) would go in the array below, if required.
|
|
132
|
-
|
|
133
|
+
z([], "ArcgisKnowledge Agent")(e, t)
|
|
133
134
|
);
|
|
134
135
|
async function O(e, t) {
|
|
135
136
|
const s = (e.arcgisKnowledgeToolResult ?? []).map((d) => ({
|
|
136
137
|
...d,
|
|
137
138
|
details: void 0
|
|
138
139
|
// Remove details to avoid overwhelming the LLM with too much info
|
|
139
|
-
})), { knowledgeGraph: n } = await
|
|
140
|
+
})), { knowledgeGraph: n } = await C(t), r = E.getDataModelTypesSummary(n.dataModel), l = {
|
|
140
141
|
assignedTask: e.agentExecutionContext.assignedTask,
|
|
141
142
|
userRequest: e.agentExecutionContext.userRequest,
|
|
142
143
|
toolResult: s,
|
|
143
144
|
dataModelSummary: r
|
|
144
|
-
}, a = await
|
|
145
|
+
}, a = await N({
|
|
145
146
|
promptText: await u("arcgis_knowledge_summarize_result_prompt"),
|
|
146
147
|
modelTier: "default",
|
|
147
148
|
inputVariables: l,
|
|
@@ -218,7 +219,7 @@ _example: "Discover and add all the relationships originating at 'Entity E' to t
|
|
|
218
219
|
_example: "Show me all entities with a name similar to 'Smith' and add them to the link chart"_
|
|
219
220
|
_example: "Find reports in my graph that have a title similar to 'Quarterly Earnings'"_
|
|
220
221
|
_example: "Find John Smith and all people he has made phone calls to in the last year"_
|
|
221
|
-
_example: "What is the average age of all people who work for Esri?"_`,
|
|
222
|
+
_example: "What is the average age of all people who work for Esri?"_`, ce = {
|
|
222
223
|
id: "arcgisKnowledge",
|
|
223
224
|
name: "ArcgisKnowledge Agent",
|
|
224
225
|
description: J,
|
|
@@ -226,5 +227,5 @@ _example: "What is the average age of all people who work for Esri?"_`, de = {
|
|
|
226
227
|
workspace: m
|
|
227
228
|
};
|
|
228
229
|
export {
|
|
229
|
-
|
|
230
|
+
ce as A
|
|
230
231
|
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
const a = /* @__PURE__ */ new Map([
|
|
3
|
+
[
|
|
4
|
+
"clearFilters",
|
|
5
|
+
async () => (await import("../agents/tools/filter/clearFilters/adapter.js")).clearFiltersTool
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
"resetMap",
|
|
9
|
+
async () => (await import("../agents/tools/filter/resetMap/adapter.js")).resetMapTool
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
"setFeatureEffect",
|
|
13
|
+
async () => (await import("../agents/tools/filter/setFeatureEffect/adapter.js")).setFeatureEffectTool
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
"listLayerFields",
|
|
17
|
+
async () => (await import("../agents/tools/help/listFields/adapter.js")).listLayerFieldsTool
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"goToAddress",
|
|
21
|
+
async () => (await import("../agents/tools/navigation/goToAddress/adapter.js")).goToAddressTool
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
"goToBookmark",
|
|
25
|
+
async () => (await import("../agents/tools/navigation/goToBookmark/adapter.js")).goToBookmarkTool
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
"goToFeatures",
|
|
29
|
+
async () => (await import("../agents/tools/navigation/goToFeatures/adapter.js")).goToFeaturesTool
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
"goToFullExtent",
|
|
33
|
+
async () => (await import("../agents/tools/navigation/goToFullExtent/adapter.js")).goToFullExtentTool
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
"goToHomeExtent",
|
|
37
|
+
async () => (await import("../agents/tools/navigation/goToHomeExtent/adapter.js")).goToHomeExtentTool
|
|
38
|
+
],
|
|
39
|
+
[
|
|
40
|
+
"goToLayer",
|
|
41
|
+
async () => (await import("../agents/tools/navigation/goToLayer/adapter.js")).goToLayerTool
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
"goToScale",
|
|
45
|
+
async () => (await import("../agents/tools/navigation/goToScale/adapter.js")).goToScaleTool
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
"goToViewpoint",
|
|
49
|
+
async () => (await import("../agents/tools/navigation/goToViewpoint/adapter.js")).goToViewpointTool
|
|
50
|
+
],
|
|
51
|
+
[
|
|
52
|
+
"goToZoom",
|
|
53
|
+
async () => (await import("../agents/tools/navigation/goToZoom/adapter.js")).goToZoomTool
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
"findRelevantFields",
|
|
57
|
+
async () => (await import("../agents/tools/search/findRelevantFields/adapter.js")).findRelevantFieldsTool
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
"findRelevantLayers",
|
|
61
|
+
async () => (await import("../agents/tools/search/findRelevantLayers/adapter.js")).findRelevantLayersTool
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
"getAttribute",
|
|
65
|
+
async () => (await import("../agents/tools/query/getAttribute/adapter.js")).getAttributeTool
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
"getStatistics",
|
|
69
|
+
async () => (await import("../agents/tools/query/getStatistics/adapter.js")).getStatisticsTool
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
"getTopFeatures",
|
|
73
|
+
async () => (await import("../agents/tools/query/getTopFeatures/adapter.js")).getTopFeaturesTool
|
|
74
|
+
],
|
|
75
|
+
[
|
|
76
|
+
"queryFeatures",
|
|
77
|
+
async () => (await import("../agents/tools/query/queryFeatures/adapter.js")).queryFeaturesTool
|
|
78
|
+
]
|
|
79
|
+
]);
|
|
80
|
+
async function e(o) {
|
|
81
|
+
const t = a.get(o);
|
|
82
|
+
if (!t)
|
|
83
|
+
throw new Error(`"${o}" tool not found`);
|
|
84
|
+
return await t();
|
|
85
|
+
}
|
|
86
|
+
export {
|
|
87
|
+
e as r
|
|
88
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const e = `## Membership Bind Parameters
|
|
3
3
|
|
|
4
4
|
The current link chart contains a subset of entities and relationships from the database. Their membership is available to Cypher queries as lists of string identifiers through these bind parameters:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const e = `## Membership Bind Parameters
|
|
3
3
|
|
|
4
4
|
The current map contains a subset of entities and relationships from the database. Their membership is available to Cypher queries as lists of string identifiers through these bind parameters:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const e = `## ArcgisKnowledge Agent - Lucene Generation for Graph Search
|
|
3
3
|
|
|
4
4
|
You are an assistant that generates a lucene query for graph query searching.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const n = `# ArcGIS Knowledge Agent — Action Summary
|
|
3
3
|
|
|
4
4
|
You are a Knowledge Graph assistant that has executed tool calls to answer a user request.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const e = `# ArcgisKnowledge Tool Instructions
|
|
3
3
|
|
|
4
4
|
You are an assistant that helps users answer questions and perform operations on their knowledge graph, map or link chart. You have been assigned the task below, which must be achieved by calling a single tool.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { Annotation as r } from "@langchain/langgraph/web";
|
|
3
3
|
const a = (e, t) => t, c = (e, t) => ({
|
|
4
4
|
...e,
|
|
@@ -50,9 +50,9 @@ ${s}`;
|
|
|
50
50
|
}), g = () => i();
|
|
51
51
|
export {
|
|
52
52
|
i as a,
|
|
53
|
-
|
|
53
|
+
o as b,
|
|
54
54
|
d as c,
|
|
55
|
-
|
|
55
|
+
g as d,
|
|
56
56
|
c as m,
|
|
57
57
|
a as r
|
|
58
58
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
|
+
import { createSkillAgent as e } from "../agents/runtime/skill/createSkillAgent.js";
|
|
3
|
+
const t = [
|
|
4
|
+
async () => (await import("./SKILL.js")).default,
|
|
5
|
+
async () => (await import("./SKILL2.js")).default
|
|
6
|
+
], r = e({
|
|
7
|
+
id: "dataExploration",
|
|
8
|
+
name: "Data Exploration Agent",
|
|
9
|
+
description: "Explores feature-layer data and applies data-driven map filters using on-demand query and filter skills.",
|
|
10
|
+
skillLoaders: t,
|
|
11
|
+
modelTier: "default",
|
|
12
|
+
systemPrompt: "You are an ArcGIS data exploration agent.",
|
|
13
|
+
instructions: "A request can require both query and filter skills. Treat show, display, highlight, map, filter, reveal, emphasize, include, or exclude as visual map intent when the request targets matching features. For visual map intent, do not stop after query. First use query to identify/count the matching features, then load the filter skill and call setFeatureEffect with the same layer, where clause, geometry filter, extent setting, or object IDs. Use only tool results to describe data or map changes.",
|
|
14
|
+
fallbackMessage: "Data exploration request completed.",
|
|
15
|
+
failureMessage: "I couldn't complete the data exploration request."
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
r as D
|
|
19
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const e = `# ArcGIS Online Map Viewer — Layer Filter Tool Calling Assistant
|
|
3
3
|
|
|
4
4
|
You are an assistant that helps manage layer filters and visual effects for **ArcGIS Online Map Viewer** by selecting and calling the appropriate tool.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const e = `# ArcGIS JavaScript SDK FeatureLayerView Query Assistant
|
|
3
3
|
|
|
4
4
|
You are a GIS assistant that generates query parameters for the ArcGIS JavaScript SDK FeatureLayerView \`queryFeatures()\` method.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
const o = `(function(){"use strict";const h=(a,r)=>{if(a.length!==r.length)throw new Error("Vectors must be the same length");let c=0,t=0,e=0;for(let n=0;n<a.length;++n){const s=a[n],l=r[n];c+=s*l,t+=s*s,e+=l*l}const i=Math.sqrt(t*e);if(i===0)return 0;const m=c/i;return Math.max(-1,Math.min(1,m))},f=(a,r,c=.6)=>{const t=[],e=[...a];for(;t.length<r&&e.length>0;){let i=-1,m=-1/0;for(let n=0;n<e.length;n++){const s=e[n].score,l=t.length===0?0:Math.max(...t.map(o=>h(e[n].vector,o.vector))),d=c*s-(1-c)*l;d>m&&(m=d,i=n)}t.push(e[i]),e.splice(i,1)}return t.map(({name:i,score:m})=>({name:i,score:m}))};let p=[];const u=new Map,v=12,y=10,M=a=>{p=a.layers.map(r=>({id:r.id,vector:r.vector}))},E=a=>{u.clear();for(const r of a.layers){const c=r.fields.map(t=>({name:t.name,vector:t.vector}));u.set(r.id,c)}};globalThis.addEventListener("message",a=>{(async()=>{const{type:r,webmapEmbeddings:c,layerIdForFieldsSearch:t=[],requestId:e,precomputedEmbedding:i,minScore:m=0,topResults:n=v}=a.data;switch(r){case"generateEmbeddings":{c&&(M(c),E(c)),globalThis.postMessage("completed");break}case"layerSearch":{if(p.length>0)try{const s=p.map(o=>({id:o.id,vector:o.vector,score:h(i,o.vector)})),d=f(s.map(o=>({name:o.id,vector:o.vector,score:o.score})),y).map(({name:o,score:b})=>({id:o,score:b}));globalThis.postMessage({requestId:e,results:d})}catch(s){globalThis.postMessage({requestId:e,results:[],error:s instanceof Error?s.message:"Calculation error"})}else globalThis.postMessage({requestId:e,results:[],error:"Layer embeddings not initialized"});break}case"fieldSearch":{if(t.length>0)try{const s=t.map(l=>{const d=u.get(l);if(!d)return{layerId:l,results:[]};const o=d.map(g=>({name:g.name,vector:g.vector,score:h(i,g.vector)})).filter(({score:g})=>g>=m),b=f(o,n);return{layerId:l,results:b}});globalThis.postMessage({requestId:e,results:s})}catch(s){globalThis.postMessage({requestId:e,results:[],error:s instanceof Error?s.message:"Field search calculation error"})}break}default:console.warn("Unknown message type:",r)}})()})})();
|
|
3
3
|
`, s = typeof self < "u" && self.Blob && new Blob(["(self.URL || self.webkitURL).revokeObjectURL(self.location.href);", o], { type: "text/javascript;charset=utf-8" });
|
|
4
4
|
function a(r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import v from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
|
|
3
3
|
import L from "@arcgis/core/smartMapping/statistics/uniqueValues.js";
|
|
4
4
|
const $ = 10, b = ["string", "small-integer", "integer"], w = async (u, e, { includeSummaryStatistics: d = !0, includeUniqueValues: y = !0 } = {}) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
|
|
2
2
|
import { formatDateOnly as F, convertDateFormatToIntlOptions as m, formatTimeOnly as T, formatDate as p } from "@arcgis/core/intl.js";
|
|
3
3
|
const w = /* @__PURE__ */ new Set([
|
|
4
4
|
"date",
|