@arcgis/coding-components 5.1.0-next.97 → 5.1.0-next.99
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/cdn/{YTQ4K7PQ.js → BWQEBSSL.js} +2 -2
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/arcade-debugger-console/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +2 -2
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-arcade-coding-assistant/customElement.js +21 -20
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"breakpoints":"ı_Breakpoints____________İ","breakpointposition":"ı_{position} of {count}______________________İ","nocontent":"ı_No content_____________________İ","scope":"ı_Scope___________İ","notpaused":"ı_Not paused_____________________İ","global":"ı_Global_____________İ","local":"ı_Local___________İ","nolocalscope":"ı_No local scope_______________İ","loadpreview":"ı_Load preview_____________İ","loading":"ı_Loading_______________İ","loaderror":"ı_Unable to load data_____________________İ.","nopreviewloaded":"ı_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________İ.","loadingpreview":"ı_Loading preview________________İ","nopreviewrows":"ı_No preview rows available___________________________İ.","previewloaderror":"ı_Unable to load preview________________________İ.","previewunavailable":"ı_This preview is no longer available in the current paused state_________________________________İ.","showmore":"ı_Show more___________________İ","uninitialized":"ı_uninitialized______________İ"}
|
|
1
|
+
{"breakpoints":"ı_Breakpoints____________İ","breakpointposition":"ı_{position} of {count}______________________İ","nocontent":"ı_No content_____________________İ","scope":"ı_Scope___________İ","notpaused":"ı_Not paused_____________________İ","profile":"ı_Profile_______________İ","global":"ı_Global_____________İ","local":"ı_Local___________İ","nolocalscope":"ı_No local scope_______________İ","empty":"ı_Empty___________İ","loadpreview":"ı_Load preview_____________İ","loading":"ı_Loading_______________İ","loaderror":"ı_Unable to load data_____________________İ.","nopreviewloaded":"ı_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________İ.","loadingpreview":"ı_Loading preview________________İ","nopreviewrows":"ı_No preview rows available___________________________İ.","previewloaderror":"ı_Unable to load preview________________________İ.","previewunavailable":"ı_This preview is no longer available in the current paused state_________________________________İ.","showmore":"ı_Show more___________________İ","uninitialized":"ı_uninitialized______________İ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"breakpoints":"ґ_Breakpoints____________Ї","breakpointposition":"ґ_{position} of {count}______________________Ї","nocontent":"ґ_No content_____________________Ї","scope":"ґ_Scope___________Ї","notpaused":"ґ_Not paused_____________________Ї","global":"ґ_Global_____________Ї","local":"ґ_Local___________Ї","nolocalscope":"ґ_No local scope_______________Ї","loadpreview":"ґ_Load preview_____________Ї","loading":"ґ_Loading_______________Ї","loaderror":"ґ_Unable to load data_____________________Ї.","nopreviewloaded":"ґ_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________Ї.","loadingpreview":"ґ_Loading preview________________Ї","nopreviewrows":"ґ_No preview rows available___________________________Ї.","previewloaderror":"ґ_Unable to load preview________________________Ї.","previewunavailable":"ґ_This preview is no longer available in the current paused state_________________________________Ї.","showmore":"ґ_Show more___________________Ї","uninitialized":"ґ_uninitialized______________Ї"}
|
|
1
|
+
{"breakpoints":"ґ_Breakpoints____________Ї","breakpointposition":"ґ_{position} of {count}______________________Ї","nocontent":"ґ_No content_____________________Ї","scope":"ґ_Scope___________Ї","notpaused":"ґ_Not paused_____________________Ї","profile":"ґ_Profile_______________Ї","global":"ґ_Global_____________Ї","local":"ґ_Local___________Ї","nolocalscope":"ґ_No local scope_______________Ї","empty":"ґ_Empty___________Ї","loadpreview":"ґ_Load preview_____________Ї","loading":"ґ_Loading_______________Ї","loaderror":"ґ_Unable to load data_____________________Ї.","nopreviewloaded":"ґ_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________Ї.","loadingpreview":"ґ_Loading preview________________Ї","nopreviewrows":"ґ_No preview rows available___________________________Ї.","previewloaderror":"ґ_Unable to load preview________________________Ї.","previewunavailable":"ґ_This preview is no longer available in the current paused state_________________________________Ї.","showmore":"ґ_Show more___________________Ї","uninitialized":"ґ_uninitialized______________Ї"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"breakpoints":"Đ_Breakpoints____________ớ","breakpointposition":"Đ_{position} of {count}______________________ớ","nocontent":"Đ_No content_____________________ớ","scope":"Đ_Scope___________ớ","notpaused":"Đ_Not paused_____________________ớ","global":"Đ_Global_____________ớ","local":"Đ_Local___________ớ","nolocalscope":"Đ_No local scope_______________ớ","loadpreview":"Đ_Load preview_____________ớ","loading":"Đ_Loading_______________ớ","loaderror":"Đ_Unable to load data_____________________ớ.","nopreviewloaded":"Đ_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________ớ.","loadingpreview":"Đ_Loading preview________________ớ","nopreviewrows":"Đ_No preview rows available___________________________ớ.","previewloaderror":"Đ_Unable to load preview________________________ớ.","previewunavailable":"Đ_This preview is no longer available in the current paused state_________________________________ớ.","showmore":"Đ_Show more___________________ớ","uninitialized":"Đ_uninitialized______________ớ"}
|
|
1
|
+
{"breakpoints":"Đ_Breakpoints____________ớ","breakpointposition":"Đ_{position} of {count}______________________ớ","nocontent":"Đ_No content_____________________ớ","scope":"Đ_Scope___________ớ","notpaused":"Đ_Not paused_____________________ớ","profile":"Đ_Profile_______________ớ","global":"Đ_Global_____________ớ","local":"Đ_Local___________ớ","nolocalscope":"Đ_No local scope_______________ớ","empty":"Đ_Empty___________ớ","loadpreview":"Đ_Load preview_____________ớ","loading":"Đ_Loading_______________ớ","loaderror":"Đ_Unable to load data_____________________ớ.","nopreviewloaded":"Đ_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________ớ.","loadingpreview":"Đ_Loading preview________________ớ","nopreviewrows":"Đ_No preview rows available___________________________ớ.","previewloaderror":"Đ_Unable to load preview________________________ớ.","previewunavailable":"Đ_This preview is no longer available in the current paused state_________________________________ớ.","showmore":"Đ_Show more___________________ớ","uninitialized":"Đ_uninitialized______________ớ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"breakpoints":"试_Breakpoints____________验","breakpointposition":"试_{position} of {count}______________________验","nocontent":"试_No content_____________________验","scope":"试_Scope___________验","notpaused":"试_Not paused_____________________验","global":"试_Global_____________验","local":"试_Local___________验","nolocalscope":"试_No local scope_______________验","loadpreview":"试_Load preview_____________验","loading":"试_Loading_______________验","loaderror":"试_Unable to load data_____________________验.","nopreviewloaded":"试_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________验.","loadingpreview":"试_Loading preview________________验","nopreviewrows":"试_No preview rows available___________________________验.","previewloaderror":"试_Unable to load preview________________________验.","previewunavailable":"试_This preview is no longer available in the current paused state_________________________________验.","showmore":"试_Show more___________________验","uninitialized":"试_uninitialized______________验"}
|
|
1
|
+
{"breakpoints":"试_Breakpoints____________验","breakpointposition":"试_{position} of {count}______________________验","nocontent":"试_No content_____________________验","scope":"试_Scope___________验","notpaused":"试_Not paused_____________________验","profile":"试_Profile_______________验","global":"试_Global_____________验","local":"试_Local___________验","nolocalscope":"试_No local scope_______________验","empty":"试_Empty___________验","loadpreview":"试_Load preview_____________验","loading":"试_Loading_______________验","loaderror":"试_Unable to load data_____________________验.","nopreviewloaded":"试_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________验.","loadingpreview":"试_Loading preview________________验","nopreviewrows":"试_No preview rows available___________________________验.","previewloaderror":"试_Unable to load preview________________________验.","previewunavailable":"试_This preview is no longer available in the current paused state_________________________________验.","showmore":"试_Show more___________________验","uninitialized":"试_uninitialized______________验"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"breakpoints":"試_Breakpoints____________驗","breakpointposition":"試_{position} of {count}______________________驗","nocontent":"試_No content_____________________驗","scope":"試_Scope___________驗","notpaused":"試_Not paused_____________________驗","global":"試_Global_____________驗","local":"試_Local___________驗","nolocalscope":"試_No local scope_______________驗","loadpreview":"試_Load preview_____________驗","loading":"試_Loading_______________驗","loaderror":"試_Unable to load data_____________________驗.","nopreviewloaded":"試_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________驗.","loadingpreview":"試_Loading preview________________驗","nopreviewrows":"試_No preview rows available___________________________驗.","previewloaderror":"試_Unable to load preview________________________驗.","previewunavailable":"試_This preview is no longer available in the current paused state_________________________________驗.","showmore":"試_Show more___________________驗","uninitialized":"試_uninitialized______________驗"}
|
|
1
|
+
{"breakpoints":"試_Breakpoints____________驗","breakpointposition":"試_{position} of {count}______________________驗","nocontent":"試_No content_____________________驗","scope":"試_Scope___________驗","notpaused":"試_Not paused_____________________驗","profile":"試_Profile_______________驗","global":"試_Global_____________驗","local":"試_Local___________驗","nolocalscope":"試_No local scope_______________驗","empty":"試_Empty___________驗","loadpreview":"試_Load preview_____________驗","loading":"試_Loading_______________驗","loaderror":"試_Unable to load data_____________________驗.","nopreviewloaded":"試_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________驗.","loadingpreview":"試_Loading preview________________驗","nopreviewrows":"試_No preview rows available___________________________驗.","previewloaderror":"試_Unable to load preview________________________驗.","previewunavailable":"試_This preview is no longer available in the current paused state_________________________________驗.","showmore":"試_Show more___________________驗","uninitialized":"試_uninitialized______________驗"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"breakpoints":"試_Breakpoints____________驗","breakpointposition":"試_{position} of {count}______________________驗","nocontent":"試_No content_____________________驗","scope":"試_Scope___________驗","notpaused":"試_Not paused_____________________驗","global":"試_Global_____________驗","local":"試_Local___________驗","nolocalscope":"試_No local scope_______________驗","loadpreview":"試_Load preview_____________驗","loading":"試_Loading_______________驗","loaderror":"試_Unable to load data_____________________驗.","nopreviewloaded":"試_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________驗.","loadingpreview":"試_Loading preview________________驗","nopreviewrows":"試_No preview rows available___________________________驗.","previewloaderror":"試_Unable to load preview________________________驗.","previewunavailable":"試_This preview is no longer available in the current paused state_________________________________驗.","showmore":"試_Show more___________________驗","uninitialized":"試_uninitialized______________驗"}
|
|
1
|
+
{"breakpoints":"試_Breakpoints____________驗","breakpointposition":"試_{position} of {count}______________________驗","nocontent":"試_No content_____________________驗","scope":"試_Scope___________驗","notpaused":"試_Not paused_____________________驗","profile":"試_Profile_______________驗","global":"試_Global_____________驗","local":"試_Local___________驗","nolocalscope":"試_No local scope_______________驗","empty":"試_Empty___________驗","loadpreview":"試_Load preview_____________驗","loading":"試_Loading_______________驗","loaderror":"試_Unable to load data_____________________驗.","nopreviewloaded":"試_Select a FeatureSet variable in the Scope tab and choose 'Load preview' to inspect sample rows_________________________________________________驗.","loadingpreview":"試_Loading preview________________驗","nopreviewrows":"試_No preview rows available___________________________驗.","previewloaderror":"試_Unable to load preview________________________驗.","previewunavailable":"試_This preview is no longer available in the current paused state_________________________________驗.","showmore":"試_Show more___________________驗","uninitialized":"試_uninitialized______________驗"}
|
|
@@ -17381,7 +17381,7 @@ $.add = (t, e, r, n) => {
|
|
|
17381
17381
|
}), $.add("wasm-simd", () => {
|
|
17382
17382
|
const t = [0, 97, 115, 109, 1, 0, 0, 0, 1, 5, 1, 96, 0, 1, 123, 3, 2, 1, 0, 10, 10, 1, 8, 0, 65, 0, 253, 15, 253, 98, 11];
|
|
17383
17383
|
return WebAssembly.validate(new Uint8Array(t));
|
|
17384
|
-
}), $.add("esri-atomics", "Atomics" in er), $.add("esri-workers", "Worker" in er), $.add("web-feat:cache", "caches" in er), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("min-workers-pool-size", 2), $.add("max-workers-pool-size", $("esri-mobile") ? 3 : 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-allow-editable", !1), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-max-page-size", 8e3), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("featurelayer-pbf-true-curves", !0), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("featurelayer-relative-time-queries-enabled", !0), $.add("featurelayer-relative-time-queries-bin-window-public", 1), $.add("featurelayer-relative-time-queries-bin-window-private", 60), $.add("parquetlayer-full-query-feature-count", 2e4), $.add("parquetlayer-hittest-max-feature-count", 1), $.add("parquetlayer-persistence-enabled", !1), $.add("parquetlayer-cache-enabled", !0), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 50), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 10), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:analysis-drawtool-line-of-sight", !1), $.add("enable-feature:analysis-drawtool-line-of-sight-placement-visuals", !1), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:analysis-new-viewshed-tool", !1), $.add("enable-feature:basemap-groundlayers", !0), $.add("enable-feature:im-shading", !0), $.add("enable-feature:im-vertex-normals", !0), !$("host-webworker") && $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
17384
|
+
}), $.add("esri-atomics", "Atomics" in er), $.add("esri-workers", "Worker" in er), $.add("web-feat:cache", "caches" in er), $.add("esri-workers-arraybuffer-transfer", !$("safari") || Number($("safari")) >= 12), $.add("min-workers-pool-size", 2), $.add("max-workers-pool-size", $("esri-mobile") ? 3 : 8), $.add("featurelayer-simplify-thresholds", [0.5, 0.5, 0.5, 0.5]), $.add("featurelayer-simplify-payload-size-factors", [1, 1, 4]), $.add("featurelayer-animation-enabled", !0), $.add("featurelayer-hybrid-tile-enabled", !0), $.add("featurelayer-snapshot-enabled", !0), $.add("featurelayer-snapshot-initial-tolerance", 0), $.add("featurelayer-snapshot-point-min-threshold", 8e4), $.add("featurelayer-snapshot-point-max-threshold", 4e5), $.add("featurelayer-snapshot-multipoint-min-threshold", 2e4), $.add("featurelayer-snapshot-multipoint-max-threshold", 1e5), $.add("featurelayer-snapshot-polygon-min-threshold", 2e3), $.add("featurelayer-snapshot-polygon-max-threshold", 2e3), $.add("featurelayer-snapshot-polyline-min-threshold", 2e3), $.add("featurelayer-snapshot-polyline-max-threshold", 2e3), $.add("featurelayer-snapshot-max-vertex-count", 25e4), $.add("featurelayer-snapshot-non-hosted-exceedslimit-enabled", !0), $.add("featurelayer-snapshot-concurrency", 4), $.add("featurelayer-snapshot-allow-editable", !1), $.add("featurelayer-snapshot-coverage", 0.1), $.add("featurelayer-query-max-depth", 4), $.add("featurelayer-query-max-page-size", 8e3), $.add("featurelayer-query-pausing-enabled", !1), $.add("featurelayer-query-tile-concurrency", 4), $.add("featurelayer-query-tile-max-features", 6e5), $.add("featurelayer-advanced-symbols", !1), $.add("featurelayer-pbf", !0), $.add("featurelayer-pbf-statistics", !1), $.add("featurelayer-pbf-true-curves", !0), $.add("feature-layers-workers", !0), $.add("feature-polyline-generalization-factor", 1), $.add("featurelayer-relative-time-queries-enabled", !0), $.add("featurelayer-relative-time-queries-bin-window-public", 1), $.add("featurelayer-relative-time-queries-bin-window-private", 60), $.add("parquetlayer-full-query-feature-count", 2e4), $.add("parquetlayer-hittest-max-feature-count", 1), $.add("parquetlayer-persistence-enabled", !1), $.add("parquetlayer-cache-enabled", !0), $.add("mapview-transitions-duration", 200), $.add("mapview-essential-goto-duration", 200), $.add("mapview-srswitch-adjust-rotation-scale-threshold", 24e6), $.add("mapserver-pbf-version-support", 10.81), $.add("mapservice-popup-identify-max-tolerance", 20), $.add("request-queue-concurrency-global", 50), $.add("request-queue-concurrency-hosted", 16), $.add("request-queue-concurrency-non-hosted", 10), $.add("curve-densification-coarse-segments", 128), $.add("curve-densification-max-segments", 2e3), $.add("curve-densification-min-segments", 3), $.add("curve-densification-pixel-deviation", 0.5), $.add("view-readyState-waiting-delay", 1e3), $.add("gradient-depth-bias", 0.01), $.add("gradient-depth-epsilon", 1e-8), $.add("enable-feature:analysis-drawtool-line-of-sight", !1), $.add("enable-feature:analysis-drawtool-line-of-sight-placement-visuals", !1), $.add("enable-feature:esri-compress-textures", !0), $.add("enable-feature:analysis-new-viewshed-tool", !1), $.add("enable-feature:basemap-groundlayers", !0), $.add("enable-feature:im-shading", !0), $.add("enable-feature:im-vertex-normals", !0), !$("host-webworker") && $("host-browser") && ($.add("esri-csp-restrictions", () => {
|
|
17385
17385
|
try {
|
|
17386
17386
|
new Function();
|
|
17387
17387
|
} catch {
|
|
@@ -18248,7 +18248,7 @@ function se(t, e, r, n) {
|
|
|
18248
18248
|
const cr = { apiKey: void 0, apiKeys: { scopes: [] }, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
|
|
18249
18249
|
if (globalThis.esriConfig && (H4(cr, globalThis.esriConfig, !0), delete cr.has), !cr.assetsPath) {
|
|
18250
18250
|
{
|
|
18251
|
-
const t = "5.1.0-next.
|
|
18251
|
+
const t = "5.1.0-next.96";
|
|
18252
18252
|
cr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
18253
18253
|
}
|
|
18254
18254
|
cr.defaultAssetsPath = cr.assetsPath;
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{J as s,v as e}from"./REL6OK2I.js";import"./Y3KOWWO5.js";import"./3TTFCHAA.js";var r=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./
|
|
2
|
+
import{J as s,v as e}from"./REL6OK2I.js";import"./Y3KOWWO5.js";import"./3TTFCHAA.js";var r=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./BWQEBSSL.js"),"appVersion,assistantsEnabled,closed,closePanel:,disableQuestionAnswerLogging,editorRef:,feedbackServiceUrl,helpBase,insertText:,portalUrl,serviceUrl;destroy"],"arcgis-arcade-debugger-console":[()=>import("./PPV6RAZ3.js"),"debuggerStore:,modelId"],"arcgis-arcade-debugger-output":[()=>import("./7NI24N24.js"),"debuggerStore:,result:"],"arcgis-arcade-editor":[()=>import("./WP6BSOSW.js"),"arcadeAssistant:,customPanels:,editorInstance:,editorOptions:,enableDebugger,hideDocumentationActions,hideSideBar,messageOverrides:,messages:,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getTestResult,setFocus"],"arcgis-arcade-results":[()=>import("./363GMMQ6.js"),"consoleLogs:,hideHeader,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./WL2QW4SI.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./GHTOL7NB.js"),"editorInstance:,editorOptions:,language,modelId,value;insertSnippet,insertText,setFocus"],"arcgis-code-editor-shell":[()=>import("./WN4UL6U4.js")],"arcgis-code-viewer":[()=>import("./TSZHSRGH.js"),"language,lineNumbers,round"],"arcgis-editor-variables":[()=>import("./UCX6WHKQ.js"),"closed,heading,loading,messageOverrides:,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./NWLOXWV6.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./SATQDL5P.js"),"hideSideBar,messageOverrides:,messages:,profile:,script;setFocus"],"arcgis-sql-layer-editor":[()=>import("./GVMVHGSK.js"),"editorInstance:,editorOptions:,hideSideBar,messageOverrides:,messages:,openedSidePanel,profile:,script;setFocus"]});r({resourcesUrl:import.meta.url});var i=new CSSStyleSheet;i.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor,arcgis-sql-layer-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,i];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as ae } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as se, html as d } from "lit";
|
|
4
|
-
import { nothing as
|
|
4
|
+
import { nothing as V, safeClassMap as ne, LitElement as re } from "@arcgis/lumina";
|
|
5
5
|
import { ref as ce, createRef as le } from "lit/directives/ref.js";
|
|
6
6
|
import de from "@arcgis/core/identity/IdentityManager.js";
|
|
7
7
|
import { u as pe } from "../../chunks/useT9n.js";
|
|
8
|
-
import { b as
|
|
8
|
+
import { b as D } from "../../chunks/arcade-defaults.js";
|
|
9
9
|
import N from "@arcgis/core/request.js";
|
|
10
10
|
import { e as ue, a as he } from "../../chunks/utilities.js";
|
|
11
11
|
import { repeat as X } from "lit/directives/repeat.js";
|
|
@@ -69,14 +69,14 @@ async function ke(i) {
|
|
|
69
69
|
}
|
|
70
70
|
const l = u.data;
|
|
71
71
|
r.push(l);
|
|
72
|
-
const v = l.conversationId,
|
|
72
|
+
const v = l.conversationId, q = l.inquiryId;
|
|
73
73
|
let $ = l.sequenceNumber;
|
|
74
74
|
async function T() {
|
|
75
75
|
let b = 0;
|
|
76
76
|
const g = 100;
|
|
77
77
|
for (; b < g; ) {
|
|
78
78
|
await new Promise((S) => setTimeout(S, 1e3));
|
|
79
|
-
const x = Se(v, $,
|
|
79
|
+
const x = Se(v, $, q);
|
|
80
80
|
let k;
|
|
81
81
|
try {
|
|
82
82
|
k = await N(p, {
|
|
@@ -89,8 +89,8 @@ async function ke(i) {
|
|
|
89
89
|
responseType: "json"
|
|
90
90
|
});
|
|
91
91
|
} catch (S) {
|
|
92
|
-
const P = S, oe = P.details?.rawResponse || P.message || String(S),
|
|
93
|
-
throw
|
|
92
|
+
const P = S, oe = P.details?.rawResponse || P.message || String(S), _ = O(oe);
|
|
93
|
+
throw _ ? new A(_) : S;
|
|
94
94
|
}
|
|
95
95
|
const y = k.data;
|
|
96
96
|
if (y.context?.kind === "ArcgisErrorAsContext" && y.context.error)
|
|
@@ -177,15 +177,15 @@ function Re({ popoverContent: i, messages: e }) {
|
|
|
177
177
|
return d`<calcite-action icon=information slot=header-actions-end id=legal-disclaimer text></calcite-action><calcite-popover reference-element=legal-disclaimer .label=${e.legaldisclaimer ?? "Legal disclaimer"} placement=bottom auto-close focus-trap-disabled><div class="contained">${i}</div></calcite-popover>`;
|
|
178
178
|
}
|
|
179
179
|
function Fe({ errorMessage: i, slot: e }) {
|
|
180
|
-
return d`<div class="error-display"><calcite-input-message id=error-message status=invalid icon=exclamation-mark-triangle scale=m slot=${e ??
|
|
180
|
+
return d`<div class="error-display"><calcite-input-message id=error-message status=invalid icon=exclamation-mark-triangle scale=m slot=${e ?? V}>${i}</calcite-input-message></div>`;
|
|
181
181
|
}
|
|
182
182
|
function Me({ active: i, setActive: e, messages: t }) {
|
|
183
183
|
return d`<calcite-alert slot=alerts .open=${i} placement=bottom kind=success icon=check-circle-f auto-close @calciteAlertClose=${() => e(!1)} .label=${t.expressionapplied ?? "Expression applied"}><div slot=message>${t.expressionapplied ?? "Expression applied to editor."}</div></calcite-alert>`;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Ve({ context: i, messages: e }) {
|
|
186
186
|
return i ? d`<div class="gaps">${i.profileId && d`<calcite-popover auto-close placement=top .label=${(e.profilecontextlabel ?? "Profile context: {profileId}").replace("{profileId}", i.profileId)} reference-element=profile-context-button class="context-popover contained-popover-or-tooltip"><p>${(e.profilecontextlabel ?? "Profile context: {profileId}").replace("{profileId}", i.profileId)}</p></calcite-popover><calcite-button round kind=neutral icon-start=map-information id=profile-context-button scale=s></calcite-button>` || ""}</div>` : null;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function qe({ isDisabled: i, isReadOnly: e, setQuestion: t, setIsViewingResult: o, textAreaRef: a, question: n, errorMessage: c, setErrorMessage: p, promptValidationMessage: r, setPromptValidationMessage: s, submitQuestion: u, messages: l, mode: v, assistantRef: q, context: $, contextReducedNoticeDismissed: T, setContextReducedNoticeDismissed: I }) {
|
|
189
189
|
const b = $?.contextTooLarge ?? !1, g = Ie({
|
|
190
190
|
promptValidationMessage: r,
|
|
191
191
|
errorMessage: c,
|
|
@@ -197,7 +197,7 @@ function Ve({ isDisabled: i, isReadOnly: e, setQuestion: t, setIsViewingResult:
|
|
|
197
197
|
});
|
|
198
198
|
return d`<div class="text-area-wrapper">${Ce({ notices: g })}<calcite-text-area scale=s resize=vertical .readOnly=${i || e} class=${ne(g.length ? "submission-text-area" : "submission-text-area round-top")} .placeholder=${l.askaquestion ?? `Specify the calculation or logic you need in an Arcade expression. (e.g., 'Return "Yes" if value > 10')`} .value=${n} @calciteTextAreaInput=${(x) => {
|
|
199
199
|
Te(x.target), t(x.target.value);
|
|
200
|
-
}} ${ce(a)}><div class="submission-actions-wrapper" slot=footer-start><div class="submission-actions">${$ &&
|
|
200
|
+
}} ${ce(a)}><div class="submission-actions-wrapper" slot=footer-start><div class="submission-actions">${$ && Ve({ context: $, messages: l }) || ""}<div class="align-inline-end gaps"><calcite-button round kind=neutral .hidden=${v !== "refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid scale=s .disabled=${i} @click=${async () => {
|
|
201
201
|
o(!1), t("");
|
|
202
202
|
}} .label=${l.startover ?? "Start Over"} class="hidden-above-380" id=small-start-over-button></calcite-button><calcite-tooltip reference-element=small-start-over-button placement=top-start class="hidden-above-380">${l.startover ?? "Start Over"}</calcite-tooltip><calcite-button round kind=neutral .hidden=${v !== "refine"} icon-start=arrow-left icon-flip-rtl=both appearance=solid .disabled=${i} @click=${async () => {
|
|
203
203
|
o(!1), t("");
|
|
@@ -215,14 +215,14 @@ function Ve({ isDisabled: i, isReadOnly: e, setQuestion: t, setIsViewingResult:
|
|
|
215
215
|
s(void 0), await u();
|
|
216
216
|
}} class="hidden-above-380" .label=${v === "prompt" ? l.ask ?? "Generate" : l.refine ?? "Refine"}></calcite-button><calcite-tooltip reference-element=small-submit-button placement=top-start class="hidden-above-380">${v === "prompt" ? l.ask ?? "Generate" : l.refine ?? "Refine"}</calcite-tooltip></div></div></div></calcite-text-area></div>`;
|
|
217
217
|
}
|
|
218
|
-
const Pe = "https://www.esri.com/en-us/privacy/privacy-statements/privacy-supplement",
|
|
219
|
-
function
|
|
218
|
+
const Pe = "https://www.esri.com/en-us/privacy/privacy-statements/privacy-supplement", _e = "https://www.esri.com/en-us/privacy/privacy-statements";
|
|
219
|
+
function De({ setOpen: i, messages: e, feedback: t, learnMoreUrl: o, setFeedback: a, onSubmit: n }) {
|
|
220
220
|
return t.active ? d`<calcite-sheet class="feedback-sheet" .label=${e.feedback ?? "Feedback"} slot=sheets display-mode=float position=block-end .open=${t.active} @calciteSheetClose=${() => i(!1)}><calcite-panel .heading=${e.submitfeedback ?? "Submit feedback to Esri"} scale=s><div class="feedback-content"><calcite-text-area scale=s resize=vertical .value=${t.text} @calciteTextAreaInput=${(c) => a({ ...t, text: c.target.value })} .disabled=${t.submitting} .placeholder=${e.donotincludepersonalinfo ?? "Do not include personal or sensitive information"} rows=3></calcite-text-area><calcite-label layout=inline scale=s class="terms-label"><calcite-checkbox scale=l .checked=${t.termsAccepted} @calciteCheckboxChange=${(c) => {
|
|
221
221
|
a({ ...t, termsAccepted: c.target.checked });
|
|
222
|
-
}} .disabled=${t.submitting}></calcite-checkbox><span>${C((e.agreement ?? "I agree to the {EsriPrivacyStatement} (and {Supplement}).").replace("{EsriPrivacyStatement}", `<calcite-link href=${
|
|
222
|
+
}} .disabled=${t.submitting}></calcite-checkbox><span>${C((e.agreement ?? "I agree to the {EsriPrivacyStatement} (and {Supplement}).").replace("{EsriPrivacyStatement}", `<calcite-link href=${_e} target="_blank">${e.esriprivacystatement ?? "Esri Privacy Statement"}</calcite-link>`).replace("{Supplement}", `<calcite-link href=${Pe} target="_blank">${e.supplement ?? "Supplement"}</calcite-link>`))}</span></calcite-label><calcite-notice scale=s open closable><span slot=message>${C((e.feedbackhelps ?? "Your feedback will be used to improve Esri products and services. {LearnMore} about how this data is used.").replace("{LearnMore}", `<calcite-link href=${o} target="_blank">${e.learnmore ?? "Learn more"}</calcite-link>`))}</span></calcite-notice></div><div slot=footer class="feedback-footer"><calcite-button kind=neutral appearance=outline @click=${() => i(!1)} .disabled=${t.submitting}>${e.cancel ?? "Cancel"}</calcite-button><calcite-button @click=${n} .disabled=${!t.termsAccepted || t.submitting} .loading=${t.submitting} data-testid=submit-feedback-button>${e.submit ?? "Submit"}</calcite-button></div></calcite-panel></calcite-sheet>` : null;
|
|
223
223
|
}
|
|
224
224
|
function z({ assistantsEnabled: i, messages: e, slot: t, helpTopicUrl: o }) {
|
|
225
|
-
return d`<calcite-block .label=${e.assistantinformation ?? "Assistant information"} slot=${t ??
|
|
225
|
+
return d`<calcite-block .label=${e.assistantinformation ?? "Assistant information"} slot=${t ?? V} expanded class="info-block" scale=s><div class="info-heading-row"><h1 class="info-heading">${e.introducing ?? "Introducing Arcade Assistant (beta)"}</h1><calcite-chip .label=${e.new ?? "New"} kind=brand scale=s>${e.new ?? "New"}</calcite-chip></div>${i ? d`<p>${e.capabilities ?? "The assistant uses artificial intelligence to generate Arcade expressions."}</p><p>${e.keepinmind ?? "Keep in mind the following:"}<ul><li>${e.beconsise ?? "Be concise, but also clear in your request"}</li><li>${e.avoidambiguity ?? "Avoid ambiguity and vagueness"}</li><li>${e.moredetails ?? "you do not need to use exact field names in your instructions, but more detail is generally better"}</li></ul>${C((e.seedocumentation ?? "Please see the {documentation} for more information, including limitations and additional resources.").replace("{documentation}", `<calcite-link href=${o} target="_blank">${e.documentation ?? "documentation"}</calcite-link>`))}</p>` : d`<p>${e.useofassistant ?? "The assistant uses artificial intelligence to generate Arcade expressions. To enable Arcade Assistant (beta), the following must be true:"}</p><ul><li>${e.enabledinorg ?? "AI assistants are enabled in the organization settings"}</li><li>${e.enabledbetaapps ?? "Beta apps and capabilities are not blocked"}</li><li>${e.enabledroleprivilege ?? "Your role privilege allows you to use AI assistants"}</li></ul>`}</calcite-block>`;
|
|
226
226
|
}
|
|
227
227
|
function Ne({ messages: i, onProceed: e, onExit: t, helpTopicUrl: o }) {
|
|
228
228
|
return d`<calcite-dialog close-disabled placement=top .heading=${i.welcome ?? "Welcome to the new assistant experience"} slot=dialogs open width-scale=m id=welcome-dialog><h3 class="unstyled-h3">${i.beforeyougetstarted ?? "Before you get started be aware:"}</h3><ul><li>${i.maybeincorrect ?? "AI generated code may occasionally be incorrect or biased. Review carefully."}</li><li>${C((i.pleasereadhelp ?? "Read the Arcade Assistant (beta) {helpTopic} to get started and learn details on security, privacy and limitations.").replace("{helpTopic}", `<calcite-link href=${o} target="_blank">${i.helptopic ?? "help topic"}</calcite-link>`))}</li></ul><calcite-button id=welcome-proceed slot=footer-end @click=${e}>${i.proceed ?? "Proceed"}</calcite-button><calcite-button id=welcome-decline slot=footer-start @click=${t} kind=neutral>${i.exit ?? "Exit"}</calcite-button></calcite-dialog>`;
|
|
@@ -246,7 +246,7 @@ function j({ hidden: i = !1, expanded: e = !1, messages: t, cards: o, heading: a
|
|
|
246
246
|
}
|
|
247
247
|
const Le = ({ card: i, messages: e }) => {
|
|
248
248
|
const t = me(), o = `response-chip-profile-${i.conversationId}-${t}`, a = (e.profilecontextlabel ?? "Profile context: {profileId}").replace("{profileId}", i.profileId);
|
|
249
|
-
return d`<calcite-tooltip .referenceElement=${o} placement=top-start class="contained-popover-or-tooltip">${a}</calcite-tooltip><calcite-chip .label=${i.profileId} scale=s appearance=outline icon=map-information id=${o ??
|
|
249
|
+
return d`<calcite-tooltip .referenceElement=${o} placement=top-start class="contained-popover-or-tooltip">${a}</calcite-tooltip><calcite-chip .label=${i.profileId} scale=s appearance=outline icon=map-information id=${o ?? V}>${i.profileId}</calcite-chip>`;
|
|
250
250
|
}, H = (i) => i.type === "featureSet";
|
|
251
251
|
function te(i) {
|
|
252
252
|
return i && i !== "dataCatalogDatastore" ? i : void 0;
|
|
@@ -603,7 +603,7 @@ class Ze extends re {
|
|
|
603
603
|
e().catch((t) => {
|
|
604
604
|
w("error", this, "Error setting initial context.", { detail: { error: t } });
|
|
605
605
|
}), this.manager.onLifecycle(() => {
|
|
606
|
-
const t =
|
|
606
|
+
const t = D.onModelContextDidChange(async () => {
|
|
607
607
|
e().catch((a) => {
|
|
608
608
|
w("error", this, "Error setting context.", { detail: { error: a } });
|
|
609
609
|
});
|
|
@@ -712,7 +712,8 @@ class Ze extends re {
|
|
|
712
712
|
kind: Ke,
|
|
713
713
|
context: {
|
|
714
714
|
profile_id: n.profileId,
|
|
715
|
-
metadata: [n.metadata]
|
|
715
|
+
metadata: [n.metadata],
|
|
716
|
+
editor_code: a.getValue()
|
|
716
717
|
}
|
|
717
718
|
}
|
|
718
719
|
});
|
|
@@ -770,7 +771,7 @@ class Ze extends re {
|
|
|
770
771
|
}
|
|
771
772
|
async getProfileAndMetadata(e) {
|
|
772
773
|
let t = Q;
|
|
773
|
-
const o =
|
|
774
|
+
const o = D.getEditorProfileForModel(e);
|
|
774
775
|
o?.loaded || await o?.loadSource();
|
|
775
776
|
const a = this.editorRef.profile;
|
|
776
777
|
a && "id" in a && (t = a.id);
|
|
@@ -794,7 +795,7 @@ ${e}` : "";
|
|
|
794
795
|
const e = this.viewState.viewMode === "result", t = this.getHistoryCards();
|
|
795
796
|
return this.assistantsEnabled ? d`<calcite-flow><calcite-flow-item closable heading-level=2 .heading=${this.messages.arcadeassistant ?? "Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${this.viewState.splashActive && d`<calcite-scrim></calcite-scrim>` || ""}${Ee({ messages: this.messages })}${Re({ messages: this.messages, popoverContent: z({ assistantsEnabled: this.assistantsEnabled, messages: this.messages, helpTopicUrl: this.usingTheAssitantDocUrl }) })}<calcite-shell class="unstyled-shell">${this.viewState.splashActive && Ne({ messages: this.messages, onProceed: () => {
|
|
796
797
|
this.updateViewState({ splashActive: !1 });
|
|
797
|
-
}, helpTopicUrl: this.assistantOverviewDocUrl, onExit: (o) => this.closePanel?.(o) }) || ""}${Me({ active: this.viewState.confirmationActive, setActive: (o) => this.updateViewState({ confirmationActive: o }), messages: this.messages })}${
|
|
798
|
+
}, helpTopicUrl: this.assistantOverviewDocUrl, onExit: (o) => this.closePanel?.(o) }) || ""}${Me({ active: this.viewState.confirmationActive, setActive: (o) => this.updateViewState({ confirmationActive: o }), messages: this.messages })}${qe({ isDisabled: this.viewState.isSubmitting, isReadOnly: !1, setQuestion: this.setQuestionState, setIsViewingResult: (o) => this.updateViewState({ viewMode: o ? "result" : "prompt" }), mode: e ? "refine" : "prompt", textAreaRef: this.textAreaRef, question: this.viewState.question, errorMessage: this.viewState.errorMessage, setErrorMessage: (o) => this.updateViewState({ errorMessage: o }), promptValidationMessage: this.viewState.promptValidationMessage, setPromptValidationMessage: (o) => this.updateViewState({ promptValidationMessage: o }), submitQuestion: this.submitQuestion.bind(this), assistantRef: this.el, messages: this.messages, context: this.viewState.context, contextReducedNoticeDismissed: this.viewState.contextReducedNoticeDismissed, setContextReducedNoticeDismissed: (o) => this.updateViewState({ contextReducedNoticeDismissed: o }) })}<calcite-block-group .label=${this.messages.interactiveblocks ?? "interactive blocks"}>${!e && !this.viewState.isSubmitting && Ue({ messages: this.messages, suggestions: [this.messages.prompsuggestion1 ?? "", this.messages.prompsuggestion2 ?? ""], onSuggestionClick: this.onSuggestionClick }) || ""}<calcite-block .hidden=${!this.viewState.isSubmitting} .heading=${this.messages.generatingresponse ?? "Generating response..."}></calcite-block>${j({
|
|
798
799
|
expanded: e,
|
|
799
800
|
messages: this.messages,
|
|
800
801
|
collapsible: !0,
|
|
@@ -819,7 +820,7 @@ ${e}` : "";
|
|
|
819
820
|
heading: this.messages.recentprompts ?? "Recent prompts",
|
|
820
821
|
hidden: this.viewState.isSubmitting || this.viewState.history.length === 0,
|
|
821
822
|
onCopyCode: this.onCopyCode.bind(this)
|
|
822
|
-
})}</calcite-block-group>${this.viewState.feedback.active ?
|
|
823
|
+
})}</calcite-block-group>${this.viewState.feedback.active ? De({ setOpen: this.handleFeedbackSheetClose, messages: this.messages, onSubmit: this.handleFeedbackSubmit, feedback: this.viewState.feedback, setFeedback: this.setFeedbackState, learnMoreUrl: this.assistantOverviewDocUrl }) : null}</calcite-shell></calcite-flow-item></calcite-flow>` : d`<calcite-flow><calcite-flow-item .selected=${!e} closable heading-level=2 .heading=${this.messages.arcadeassistant ?? "Arcade assistant"} @calciteFlowItemClose=${this.handleClose}>${z({ slot: "content-top", messages: this.messages, assistantsEnabled: this.assistantsEnabled, helpTopicUrl: this.usingTheAssitantDocUrl })}</calcite-flow-item></calcite-flow>`;
|
|
823
824
|
}
|
|
824
825
|
}
|
|
825
826
|
ae("arcgis-arcade-coding-assistant", Ze);
|