@arcgis/coding-components 1.0.0-beta.11 → 1.0.0-beta.12
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/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +2 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -2
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-ed254359.js → p-00c0b964.js} +1 -1
- package/dist/arcgis-coding-components/{p-616bcc2c.js → p-0f471c2c.js} +1 -1
- package/dist/arcgis-coding-components/{p-4d7cdaf4.js → p-2daa5deb.js} +1 -1
- package/dist/arcgis-coding-components/{p-b866ffa3.js → p-65933e8a.js} +1 -1
- package/dist/arcgis-coding-components/{p-2eee5b07.js → p-92019d78.js} +7 -7
- package/dist/arcgis-coding-components/{p-ee4aaf72.js → p-bcd478e3.js} +1 -1
- package/dist/arcgis-coding-components/{p-41feaa6e.js → p-be85ec3d.js} +1 -1
- package/dist/arcgis-coding-components/{p-63d6d128.js → p-bf83cfac.js} +1 -1
- package/dist/arcgis-coding-components/p-dd2d53e7.entry.js +1 -0
- package/dist/arcgis-coding-components/{p-c14a46af.js → p-f1b6ba59.js} +1 -1
- package/dist/cjs/{arcade-defaults-f77b7bae.js → arcade-defaults-990ceb0a.js} +51 -33
- package/dist/cjs/{arcade-mode-4b1d5adc.js → arcade-mode-6a101da0.js} +1 -1
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +40 -10
- package/dist/cjs/{cssMode-c21a8b34.js → cssMode-ef738198.js} +1 -1
- package/dist/cjs/{html-baddeebf.js → html-e97a8c1e.js} +1 -1
- package/dist/cjs/{htmlMode-3ca73779.js → htmlMode-0afb8251.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-4226e8d4.js → javascript-09fbcb7d.js} +2 -2
- package/dist/cjs/{jsonMode-4496d6b9.js → jsonMode-9a315af5.js} +1 -1
- package/dist/cjs/{tsMode-6fa6f2f6.js → tsMode-000c3471.js} +1 -1
- package/dist/cjs/{typescript-5b6bab68.js → typescript-a9f8ce6c.js} +1 -1
- package/dist/components/arcade-api.js +2 -1
- package/dist/components/arcade-defaults.js +3 -23
- package/dist/components/arcade-results.js +40 -10
- package/dist/components/arcade-suggestions.js +2 -1
- package/dist/components/arcade-variables.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/fields.js +125 -0
- package/dist/components/index2.js +282 -32
- package/dist/components/utilities.js +2 -334
- package/dist/esm/{arcade-defaults-24670a1d.js → arcade-defaults-a8808d6a.js} +52 -33
- package/dist/esm/{arcade-mode-dc10ed9f.js → arcade-mode-6c8aff99.js} +1 -1
- package/dist/esm/arcgis-arcade-api_6.entry.js +40 -10
- package/dist/esm/{cssMode-0ae84348.js → cssMode-e19675cf.js} +1 -1
- package/dist/esm/{html-c18864a6.js → html-0e2f7c2f.js} +1 -1
- package/dist/esm/{htmlMode-426699f2.js → htmlMode-a4dd6993.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-982f2d73.js → javascript-9d754452.js} +2 -2
- package/dist/esm/{jsonMode-170e0a0e.js → jsonMode-cfafe91a.js} +1 -1
- package/dist/esm/{tsMode-99d2e8e5.js → tsMode-612386a7.js} +1 -1
- package/dist/esm/{typescript-de4f8a27.js → typescript-a17e2ba3.js} +1 -1
- package/dist/types/utils/arcade-executor.d.ts +35 -3
- package/dist/types/utils/fields.d.ts +10 -0
- package/dist/types/utils/profile/types.d.ts +2 -2
- package/dist/types/utils/utilities.d.ts +0 -6
- package/package.json +8 -8
- package/dist/arcgis-coding-components/p-9a6baa15.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-0fa0a06d.js";export{s as setNonce}from"./p-0fa0a06d.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-
|
|
1
|
+
import{p as e,b as t}from"./p-0fa0a06d.js";export{s as setNonce}from"./p-0fa0a06d.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-dd2d53e7",[[0,"arcgis-arcade-editor",{profile:[16],script:[1],testData:[16],suggestions:[16],snippets:[16],hideDocumentationActions:[4,"hide-documentation-actions"],hideSideBar:[4,"hide-side-bar"],sideActionBarExpanded:[1540,"side-action-bar-expanded"],openedSidePanel:[1537,"opened-side-panel"],_locale:[32],_t9nStrings:[32],_standaloneCodeEditor:[32],_preparingProfile:[32],_editorProfile:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64],getOutputType:[64],updateThemeColors:[64]}],[1,"arcgis-arcade-api",{hideDocumentationActions:[4,"hide-documentation-actions"],modelId:[1,"model-id"],_locale:[32],_t9nStrings:[32],_selectedApiItem:[32],_filterValue:[32],_colorizeStyle:[32],_preparingApi:[32],_apiLibrary:[32]}],[1,"arcgis-arcade-results",{loading:[4],openedResultPanel:[1537,"opened-result-panel"],result:[16],consoleLogs:[16],_locale:[32],_t9nStrings:[32]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_locale:[32],_t9nStrings:[32],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]}],[1,"arcgis-arcade-variables",{loading:[4],modelId:[1,"model-id"],_locale:[32],_t9nStrings:[32],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]}]]]],e)));
|
|
@@ -2836,7 +2836,7 @@
|
|
|
2836
2836
|
"kind": 3,
|
|
2837
2837
|
"documentation": {
|
|
2838
2838
|
"kind": "markdown",
|
|
2839
|
-
"value": "Returns the lowest value for a given numeric field from a [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset).\n\n**Parameters**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - A FeatureSet on which to perform the
|
|
2839
|
+
"value": "Returns the lowest value for a given numeric field from a [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset).\n\n**Parameters**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - A FeatureSet on which to perform the operation.\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Specifies the name of a numeric field or SQL92 expression for which the statistic will be calculated from the input FeatureSet.\n\n**Return value**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
2840
2840
|
}
|
|
2841
2841
|
},
|
|
2842
2842
|
"parametersInfo": {
|
|
@@ -4107,7 +4107,7 @@
|
|
|
4107
4107
|
"sinceVersion": "1.23",
|
|
4108
4108
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#nearestcoordinate",
|
|
4109
4109
|
"description": "Returns the nearest coordinate (not vertex) of the input geometry to the search point. The returned dictionary also includes the shortest planar distance from the search point to the nearest coordinate. If the search point intersects the input geometry, then the search point is returned as the result with a distance of zero.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
|
|
4110
|
-
"examples": "\n##### Example\n\nReturns the nearest
|
|
4110
|
+
"examples": "\n##### Example\n\nReturns the nearest coordinate from the input polygon along with the distance to that coordinate\n\n```arcade\nvar buildings = FeatureSetByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n 0,\n ['*'],\n true\n);\n\nvar nearestBuilding = First(Intersects(buildings, BufferGeodetic($feature, 100, \"feet\")));\n\nvar result = NearestCoordinate(nearestBuilding, $feature);\n\nreturn result.distance;\n\n// or\n\nreturn result.coordinate;\n```\n\n",
|
|
4111
4111
|
"completion": {
|
|
4112
4112
|
"label": "NearestCoordinate",
|
|
4113
4113
|
"detail": "NearestCoordinate(inputGeometry, searchPoint) -> Dictionary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./p-
|
|
1
|
+
import{a as o}from"./p-92019d78.js";import"./p-0fa0a06d.js";const r={setProfileForModel:o.setProfileForModel.bind(o)};export{r as arcade}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t}from"./p-
|
|
1
|
+
import{r as t}from"./p-92019d78.js";import"./p-0fa0a06d.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t,r as e}from"./p-92019d78.js";import"./p-0fa0a06d.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
|