@arcgis/coding-components 4.30.0-next.8 → 4.31.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +2 -4
- package/dist/arcgis-coding-components/arcgis-coding-components.css +1 -1
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +25 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ar.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bg.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.bs.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ca.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.cs.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.da.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.de.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.el.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.es.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.et.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fi.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.fr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.he.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.hu.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.id.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.it.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ja.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ko.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lt.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.lv.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nb.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.nl.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pl.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-BR.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.pt-PT.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ro.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.ru.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sk.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sl.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.sv.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.th.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.tr.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.uk.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.vi.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-CN.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-HK.json +2 -0
- package/dist/arcgis-coding-components/assets/arcade-language/t9n/profile.t9n.zh-TW.json +2 -0
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +2 -2
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +1 -1
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +1 -1
- package/dist/arcgis-coding-components/index.esm.js +3 -3
- package/dist/arcgis-coding-components/{p-2db3fc64.js → p-25960980.js} +3 -3
- package/dist/arcgis-coding-components/{p-eba1532d.js → p-3fb3347e.js} +3 -3
- package/dist/arcgis-coding-components/{p-1be5d1e3.js → p-4b079737.js} +3 -3
- package/dist/arcgis-coding-components/p-52fc1b44.js +7 -0
- package/dist/arcgis-coding-components/{p-c07e13b5.js → p-73af647c.js} +4 -4
- package/dist/arcgis-coding-components/p-75571c31.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-c56ad593.js → p-a333eca1.js} +4 -4
- package/dist/arcgis-coding-components/{p-a1824310.js → p-b0f66fd8.js} +3 -3
- package/dist/arcgis-coding-components/{p-387fc534.js → p-bd97ed67.js} +4 -4
- package/dist/arcgis-coding-components/p-c07f51a4.js +68 -0
- package/dist/arcgis-coding-components/{p-c671d2bf.js → p-d34c7a85.js} +3 -3
- package/dist/arcgis-coding-components/{p-5748bf4f.js → p-f32a81b3.js} +2 -2
- package/dist/cjs/{arcade-defaults-965e518f.js → arcade-defaults-fa428ea6.js} +621 -249
- package/dist/cjs/{arcade-mode-d5e8a53f.js → arcade-mode-75d2c139.js} +46 -52
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1561 -290
- package/dist/cjs/arcgis-coding-components.cjs.js +4 -4
- package/dist/cjs/{css-c160c8ba.js → css-c5819912.js} +2 -2
- package/dist/cjs/{cssMode-aeef664b.js → cssMode-555a44d1.js} +4 -4
- package/dist/cjs/{html-5af7df92.js → html-2bff0c65.js} +4 -4
- package/dist/cjs/{htmlMode-cab67fdd.js → htmlMode-77c4a499.js} +4 -4
- package/dist/cjs/{index-f65c651a.js → index-f61a8dce.js} +41 -5
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{javascript-e19bbbf3.js → javascript-70a512ed.js} +5 -5
- package/dist/cjs/{jsonMode-d7bc09c2.js → jsonMode-0a74131c.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{tsMode-f1863db3.js → tsMode-8cb776f7.js} +4 -4
- package/dist/cjs/{typescript-bc515b09.js → typescript-2695cf9d.js} +4 -4
- package/dist/components/arcade-api.js +22 -33
- package/dist/components/arcade-contribution.js +73 -14
- package/dist/components/arcade-defaults.js +132 -150
- package/dist/components/arcade-mode.js +45 -51
- package/dist/components/arcade-results.js +48 -61
- package/dist/components/arcade-suggestions.js +24 -34
- package/dist/components/arcade-variables.js +23 -37
- package/dist/components/arcgis-arcade-api.js +2 -2
- package/dist/components/arcgis-arcade-editor.js +61 -151
- package/dist/components/arcgis-arcade-results.js +2 -2
- package/dist/components/arcgis-arcade-suggestions.js +2 -2
- package/dist/components/arcgis-arcade-variables.js +2 -2
- package/dist/components/arcgis-assets.d.ts +2 -2
- package/dist/components/arcgis-assets.js +2 -2
- package/dist/components/arcgis-code-editor.js +2 -2
- package/dist/components/chunk-63RMNUHL.js +1275 -0
- package/dist/components/code-editor.js +71 -79
- package/dist/components/fields.js +46 -46
- package/dist/components/index.js +2 -2
- package/dist/components/index2.js +390 -4
- package/dist/components/markdown.js +10 -12
- package/dist/components/useT9n.js +35 -0
- package/dist/components/utilities.js +4 -4
- package/dist/esm/{arcade-defaults-916efe71.js → arcade-defaults-ef553659.js} +604 -236
- package/dist/esm/{arcade-mode-ae564848.js → arcade-mode-f534f6f8.js} +46 -52
- package/dist/esm/arcgis-arcade-api_6.entry.js +1561 -290
- package/dist/esm/arcgis-coding-components.js +5 -5
- package/dist/esm/{css-16e746d3.js → css-34fa13c1.js} +2 -2
- package/dist/esm/{cssMode-92ac5593.js → cssMode-8758c994.js} +4 -4
- package/dist/esm/{html-44d7e611.js → html-c2757f30.js} +4 -4
- package/dist/esm/{htmlMode-d42d5f00.js → htmlMode-64bfdd08.js} +4 -4
- package/dist/esm/{index-faa20c76.js → index-7be467d0.js} +41 -5
- package/dist/esm/index.js +4 -4
- package/dist/esm/{javascript-7e015ca6.js → javascript-7cb6a2cd.js} +5 -5
- package/dist/esm/{jsonMode-0e712976.js → jsonMode-728cfcab.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{tsMode-9fe641b9.js → tsMode-f3c09a15.js} +4 -4
- package/dist/esm/{typescript-ccf21d8e.js → typescript-a359e263.js} +4 -4
- package/dist/loader/cdn.js +2 -2
- package/dist/loader/index.cjs.js +2 -2
- package/dist/loader/index.es2017.js +2 -2
- package/dist/loader/index.js +2 -2
- package/dist/types/components/arcade-api/arcade-api.d.ts +6 -7
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +18 -12
- package/dist/types/components/arcade-results/arcade-results.d.ts +6 -9
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +7 -8
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +6 -8
- package/dist/types/components/code-editor/code-editor.d.ts +23 -13
- package/dist/types/components.d.ts +57 -35
- package/dist/types/controllers/useT9n.d.ts +1 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +3 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/arcade-editor.stories.d.ts +27 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/arcade-editor/editorContext.d.ts +11 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/internal/code-editor/code-editor.stories.d.ts +6 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stories/reference/stories/arcade-editor.stories.d.ts +9 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +9 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +19 -0
- package/dist/types/data/actions-runner-2/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +6 -0
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +1 -1
- package/dist/types/utils/profile/types.d.ts +15 -13
- package/dist/types/utils/profile/utils.d.ts +1 -3
- package/package.json +21 -21
- package/dist/arcgis-coding-components/p-85bf5222.entry.js +0 -6
- package/dist/arcgis-coding-components/p-a5a18422.js +0 -68
- package/dist/arcgis-coding-components/p-b3439e53.js +0 -7
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
# ArcGIS Maps SDK for JavaScript - Coding Components
|
|
2
|
-
|
|
3
|
-
**No Esri Technical Support during beta.**
|
|
1
|
+
# ArcGIS Maps SDK for JavaScript - Coding Components
|
|
4
2
|
|
|
5
3
|
This package offers a series of components that provide tools, resources, code editors or utilities that can be used to assist with build applications with the ArcGIS Maps SDK for JavaScript.
|
|
6
4
|
|
|
@@ -10,7 +8,7 @@ Refer to the [ArcGIS Maps SDK for JavaScript components documentation](https://d
|
|
|
10
8
|
|
|
11
9
|
## License
|
|
12
10
|
|
|
13
|
-
COPYRIGHT ©
|
|
11
|
+
COPYRIGHT © 2024 Esri
|
|
14
12
|
|
|
15
13
|
All rights reserved under the copyright laws of the United States and applicable international laws, treaties, and conventions.
|
|
16
14
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--
|
|
1
|
+
:root{--arcgis-arcade-editor-comment:#606060;--arcgis-arcade-editor-constant:#9809C8;--arcgis-arcade-editor-date:#296389;--arcgis-arcade-editor-identifier:#0000B3;--arcgis-arcade-editor-keyword:#BF4900;--arcgis-arcade-editor-number:#136D3D;--arcgis-arcade-editor-string:#A31515}.calcite-mode-dark{--arcgis-arcade-editor-comment:#BFBFBF;--arcgis-arcade-editor-constant:#CDBAEA;--arcgis-arcade-editor-date:#97A6CE;--arcgis-arcade-editor-identifier:#9FD4F3;--arcgis-arcade-editor-keyword:#EEAA5A;--arcgis-arcade-editor-number:#AAD04B;--arcgis-arcade-editor-string:#F2877B}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
-
* See https://js.arcgis.com/4.
|
|
4
|
-
* v4.
|
|
3
|
+
* See https://js.arcgis.com/4.31/esri/copyright.txt for details.
|
|
4
|
+
* v4.31.0-next.0
|
|
5
5
|
*/
|
|
6
|
-
import{p as e,b as t}from"./p-
|
|
6
|
+
import{p as e,b as t}from"./p-52fc1b44.js";export{s as setNonce}from"./p-52fc1b44.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-75571c31",[[0,"arcgis-arcade-editor",{profile:[16],script:[1025],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"],editorOptions:[16],editorInstance:[16],messages:[32],_preparingProfile:[32],_editorProfile:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64],updateThemeColors:[64]},null,{profile:["_profileChanged"],testData:["_testDataChanged"],snippets:["_snippetChanged"]}],[1,"arcgis-arcade-api",{hideDocumentationActions:[4,"hide-documentation-actions"],modelId:[1,"model-id"],_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]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]},null,{suggestions:["suggestionsPropChanged"]}],[1,"arcgis-arcade-variables",{loading:[4],modelId:[1,"model-id"],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]},null,{modelId:["modelIdPropChanged"]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],options:[16],editorInstance:[16],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]},null,{language:["languagePropChange"],modelId:["modelIdPropChange"],options:["optionsPropChange"]}]]]],e)));
|
|
@@ -7322,6 +7322,31 @@
|
|
|
7322
7322
|
"id": "feature_functions",
|
|
7323
7323
|
"title": "دوال المعلم",
|
|
7324
7324
|
"items": [
|
|
7325
|
+
{
|
|
7326
|
+
"type": "function",
|
|
7327
|
+
"name": "defaultvalue",
|
|
7328
|
+
"bundle": "core",
|
|
7329
|
+
"sinceVersion": "1.26",
|
|
7330
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
7331
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
7332
|
+
"examples": "\n##### مثال\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
7333
|
+
"completion": {
|
|
7334
|
+
"label": "DefaultValue",
|
|
7335
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
7336
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
7337
|
+
"insertTextMode": 2,
|
|
7338
|
+
"insertTextFormat": 2,
|
|
7339
|
+
"kind": 3,
|
|
7340
|
+
"documentation": {
|
|
7341
|
+
"kind": "markdown",
|
|
7342
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**معلمات**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
7343
|
+
}
|
|
7344
|
+
},
|
|
7345
|
+
"parametersInfo": {
|
|
7346
|
+
"min": 3,
|
|
7347
|
+
"max": 3
|
|
7348
|
+
}
|
|
7349
|
+
},
|
|
7325
7350
|
{
|
|
7326
7351
|
"type": "function",
|
|
7327
7352
|
"name": "domain",
|
|
@@ -7094,6 +7094,31 @@
|
|
|
7094
7094
|
"id": "feature_functions",
|
|
7095
7095
|
"title": "Функции на обект",
|
|
7096
7096
|
"items": [
|
|
7097
|
+
{
|
|
7098
|
+
"type": "function",
|
|
7099
|
+
"name": "defaultvalue",
|
|
7100
|
+
"bundle": "core",
|
|
7101
|
+
"sinceVersion": "1.26",
|
|
7102
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
7103
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
7104
|
+
"examples": "\n##### Пример\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
7105
|
+
"completion": {
|
|
7106
|
+
"label": "DefaultValue",
|
|
7107
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
7108
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
7109
|
+
"insertTextMode": 2,
|
|
7110
|
+
"insertTextFormat": 2,
|
|
7111
|
+
"kind": 3,
|
|
7112
|
+
"documentation": {
|
|
7113
|
+
"kind": "markdown",
|
|
7114
|
+
"value": "**[От версия 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Параметри**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Стойност за връщане**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
7115
|
+
}
|
|
7116
|
+
},
|
|
7117
|
+
"parametersInfo": {
|
|
7118
|
+
"min": 3,
|
|
7119
|
+
"max": 3
|
|
7120
|
+
}
|
|
7121
|
+
},
|
|
7097
7122
|
{
|
|
7098
7123
|
"type": "function",
|
|
7099
7124
|
"name": "domain",
|
|
@@ -3026,6 +3026,31 @@
|
|
|
3026
3026
|
"id": "feature_functions",
|
|
3027
3027
|
"title": "Funkcije geoobjekta",
|
|
3028
3028
|
"items": [
|
|
3029
|
+
{
|
|
3030
|
+
"type": "function",
|
|
3031
|
+
"name": "defaultvalue",
|
|
3032
|
+
"bundle": "core",
|
|
3033
|
+
"sinceVersion": "1.26",
|
|
3034
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
3035
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
3036
|
+
"examples": "\n##### Primjer\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
3037
|
+
"completion": {
|
|
3038
|
+
"label": "DefaultValue",
|
|
3039
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
3040
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
3041
|
+
"insertTextMode": 2,
|
|
3042
|
+
"insertTextFormat": 2,
|
|
3043
|
+
"kind": 3,
|
|
3044
|
+
"documentation": {
|
|
3045
|
+
"kind": "markdown",
|
|
3046
|
+
"value": "**[Od verzije 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parametri**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Povratna vrijednost**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
"parametersInfo": {
|
|
3050
|
+
"min": 3,
|
|
3051
|
+
"max": 3
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3029
3054
|
{
|
|
3030
3055
|
"type": "function",
|
|
3031
3056
|
"name": "domain",
|
|
@@ -149,6 +149,31 @@
|
|
|
149
149
|
"id": "feature_functions",
|
|
150
150
|
"title": "Funcions d'entitats",
|
|
151
151
|
"items": [
|
|
152
|
+
{
|
|
153
|
+
"type": "function",
|
|
154
|
+
"name": "defaultvalue",
|
|
155
|
+
"bundle": "core",
|
|
156
|
+
"sinceVersion": "1.26",
|
|
157
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
158
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
159
|
+
"examples": "\n##### Exemple\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
160
|
+
"completion": {
|
|
161
|
+
"label": "DefaultValue",
|
|
162
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
163
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
164
|
+
"insertTextMode": 2,
|
|
165
|
+
"insertTextFormat": 2,
|
|
166
|
+
"kind": 3,
|
|
167
|
+
"documentation": {
|
|
168
|
+
"kind": "markdown",
|
|
169
|
+
"value": "**[A partir de la versió 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Paràmetres**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Valor de retorn**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"parametersInfo": {
|
|
173
|
+
"min": 3,
|
|
174
|
+
"max": 3
|
|
175
|
+
}
|
|
176
|
+
},
|
|
152
177
|
{
|
|
153
178
|
"type": "function",
|
|
154
179
|
"name": "domain",
|
|
@@ -2266,6 +2266,31 @@
|
|
|
2266
2266
|
"id": "feature_functions",
|
|
2267
2267
|
"title": "Funkce prvků",
|
|
2268
2268
|
"items": [
|
|
2269
|
+
{
|
|
2270
|
+
"type": "function",
|
|
2271
|
+
"name": "defaultvalue",
|
|
2272
|
+
"bundle": "core",
|
|
2273
|
+
"sinceVersion": "1.26",
|
|
2274
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2275
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
2276
|
+
"examples": "\n##### Příklad\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
2277
|
+
"completion": {
|
|
2278
|
+
"label": "DefaultValue",
|
|
2279
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2280
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2281
|
+
"insertTextMode": 2,
|
|
2282
|
+
"insertTextFormat": 2,
|
|
2283
|
+
"kind": 3,
|
|
2284
|
+
"documentation": {
|
|
2285
|
+
"kind": "markdown",
|
|
2286
|
+
"value": "**[Od verze 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parametry**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Vrácená hodnota**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
"parametersInfo": {
|
|
2290
|
+
"min": 3,
|
|
2291
|
+
"max": 3
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2269
2294
|
{
|
|
2270
2295
|
"type": "function",
|
|
2271
2296
|
"name": "domain",
|
|
@@ -6062,6 +6062,31 @@
|
|
|
6062
6062
|
"id": "feature_functions",
|
|
6063
6063
|
"title": "Objektfunktioner",
|
|
6064
6064
|
"items": [
|
|
6065
|
+
{
|
|
6066
|
+
"type": "function",
|
|
6067
|
+
"name": "defaultvalue",
|
|
6068
|
+
"bundle": "core",
|
|
6069
|
+
"sinceVersion": "1.26",
|
|
6070
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
6071
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
6072
|
+
"examples": "\n##### Eksempel\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
6073
|
+
"completion": {
|
|
6074
|
+
"label": "DefaultValue",
|
|
6075
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
6076
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
6077
|
+
"insertTextMode": 2,
|
|
6078
|
+
"insertTextFormat": 2,
|
|
6079
|
+
"kind": 3,
|
|
6080
|
+
"documentation": {
|
|
6081
|
+
"kind": "markdown",
|
|
6082
|
+
"value": "**[Siden version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parametre**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Returværdi**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
6083
|
+
}
|
|
6084
|
+
},
|
|
6085
|
+
"parametersInfo": {
|
|
6086
|
+
"min": 3,
|
|
6087
|
+
"max": 3
|
|
6088
|
+
}
|
|
6089
|
+
},
|
|
6065
6090
|
{
|
|
6066
6091
|
"type": "function",
|
|
6067
6092
|
"name": "domain",
|
|
@@ -2386,6 +2386,31 @@
|
|
|
2386
2386
|
"id": "feature_functions",
|
|
2387
2387
|
"title": "Feature-Funktionen",
|
|
2388
2388
|
"items": [
|
|
2389
|
+
{
|
|
2390
|
+
"type": "function",
|
|
2391
|
+
"name": "defaultvalue",
|
|
2392
|
+
"bundle": "core",
|
|
2393
|
+
"sinceVersion": "1.26",
|
|
2394
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2395
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
2396
|
+
"examples": "\n##### Beispiel\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
2397
|
+
"completion": {
|
|
2398
|
+
"label": "DefaultValue",
|
|
2399
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2400
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2401
|
+
"insertTextMode": 2,
|
|
2402
|
+
"insertTextFormat": 2,
|
|
2403
|
+
"kind": 3,
|
|
2404
|
+
"documentation": {
|
|
2405
|
+
"kind": "markdown",
|
|
2406
|
+
"value": "**[Seit Version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parameter**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Rückgabewert**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"parametersInfo": {
|
|
2410
|
+
"min": 3,
|
|
2411
|
+
"max": 3
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2389
2414
|
{
|
|
2390
2415
|
"type": "function",
|
|
2391
2416
|
"name": "domain",
|
|
@@ -7378,6 +7378,31 @@
|
|
|
7378
7378
|
"id": "feature_functions",
|
|
7379
7379
|
"title": "Συναρτήσεις στοιχείων",
|
|
7380
7380
|
"items": [
|
|
7381
|
+
{
|
|
7382
|
+
"type": "function",
|
|
7383
|
+
"name": "defaultvalue",
|
|
7384
|
+
"bundle": "core",
|
|
7385
|
+
"sinceVersion": "1.26",
|
|
7386
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
7387
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
7388
|
+
"examples": "\n##### Παράδειγμα\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
7389
|
+
"completion": {
|
|
7390
|
+
"label": "DefaultValue",
|
|
7391
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
7392
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
7393
|
+
"insertTextMode": 2,
|
|
7394
|
+
"insertTextFormat": 2,
|
|
7395
|
+
"kind": 3,
|
|
7396
|
+
"documentation": {
|
|
7397
|
+
"kind": "markdown",
|
|
7398
|
+
"value": "**[Από την έκδοση 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Παράμετροι**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Τιμή επιστροφής**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
7399
|
+
}
|
|
7400
|
+
},
|
|
7401
|
+
"parametersInfo": {
|
|
7402
|
+
"min": 3,
|
|
7403
|
+
"max": 3
|
|
7404
|
+
}
|
|
7405
|
+
},
|
|
7381
7406
|
{
|
|
7382
7407
|
"type": "function",
|
|
7383
7408
|
"name": "domain",
|
|
@@ -2386,6 +2386,31 @@
|
|
|
2386
2386
|
"id": "feature_functions",
|
|
2387
2387
|
"title": "Feature functions",
|
|
2388
2388
|
"items": [
|
|
2389
|
+
{
|
|
2390
|
+
"type": "function",
|
|
2391
|
+
"name": "defaultvalue",
|
|
2392
|
+
"bundle": "core",
|
|
2393
|
+
"sinceVersion": "1.26",
|
|
2394
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2395
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
2396
|
+
"examples": "\n##### Example\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
2397
|
+
"completion": {
|
|
2398
|
+
"label": "DefaultValue",
|
|
2399
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2400
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2401
|
+
"insertTextMode": 2,
|
|
2402
|
+
"insertTextFormat": 2,
|
|
2403
|
+
"kind": 3,
|
|
2404
|
+
"documentation": {
|
|
2405
|
+
"kind": "markdown",
|
|
2406
|
+
"value": "**[Since version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parameters**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Return value**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
2407
|
+
}
|
|
2408
|
+
},
|
|
2409
|
+
"parametersInfo": {
|
|
2410
|
+
"min": 3,
|
|
2411
|
+
"max": 3
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2389
2414
|
{
|
|
2390
2415
|
"type": "function",
|
|
2391
2416
|
"name": "domain",
|
|
@@ -488,6 +488,31 @@
|
|
|
488
488
|
"id": "feature_functions",
|
|
489
489
|
"title": "Funciones de entidades",
|
|
490
490
|
"items": [
|
|
491
|
+
{
|
|
492
|
+
"type": "function",
|
|
493
|
+
"name": "defaultvalue",
|
|
494
|
+
"bundle": "core",
|
|
495
|
+
"sinceVersion": "1.26",
|
|
496
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
497
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
498
|
+
"examples": "\n##### Ejemplo\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
499
|
+
"completion": {
|
|
500
|
+
"label": "DefaultValue",
|
|
501
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
502
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
503
|
+
"insertTextMode": 2,
|
|
504
|
+
"insertTextFormat": 2,
|
|
505
|
+
"kind": 3,
|
|
506
|
+
"documentation": {
|
|
507
|
+
"kind": "markdown",
|
|
508
|
+
"value": "**[A partir de la versión 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parámetros**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Valor de retorno**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"parametersInfo": {
|
|
512
|
+
"min": 3,
|
|
513
|
+
"max": 3
|
|
514
|
+
}
|
|
515
|
+
},
|
|
491
516
|
{
|
|
492
517
|
"type": "function",
|
|
493
518
|
"name": "domain",
|
|
@@ -4824,6 +4824,31 @@
|
|
|
4824
4824
|
"id": "feature_functions",
|
|
4825
4825
|
"title": "Objekti funktsioonid",
|
|
4826
4826
|
"items": [
|
|
4827
|
+
{
|
|
4828
|
+
"type": "function",
|
|
4829
|
+
"name": "defaultvalue",
|
|
4830
|
+
"bundle": "core",
|
|
4831
|
+
"sinceVersion": "1.26",
|
|
4832
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
4833
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
4834
|
+
"examples": "\n##### Näide\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
4835
|
+
"completion": {
|
|
4836
|
+
"label": "DefaultValue",
|
|
4837
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
4838
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
4839
|
+
"insertTextMode": 2,
|
|
4840
|
+
"insertTextFormat": 2,
|
|
4841
|
+
"kind": 3,
|
|
4842
|
+
"documentation": {
|
|
4843
|
+
"kind": "markdown",
|
|
4844
|
+
"value": "**[Alates versioonist 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parameetrid**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Tagastusväärtus**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
4845
|
+
}
|
|
4846
|
+
},
|
|
4847
|
+
"parametersInfo": {
|
|
4848
|
+
"min": 3,
|
|
4849
|
+
"max": 3
|
|
4850
|
+
}
|
|
4851
|
+
},
|
|
4827
4852
|
{
|
|
4828
4853
|
"type": "function",
|
|
4829
4854
|
"name": "domain",
|
|
@@ -3044,6 +3044,31 @@
|
|
|
3044
3044
|
"id": "feature_functions",
|
|
3045
3045
|
"title": "Kohdefunktiot",
|
|
3046
3046
|
"items": [
|
|
3047
|
+
{
|
|
3048
|
+
"type": "function",
|
|
3049
|
+
"name": "defaultvalue",
|
|
3050
|
+
"bundle": "core",
|
|
3051
|
+
"sinceVersion": "1.26",
|
|
3052
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
3053
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
3054
|
+
"examples": "\n##### Esimerkki\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
3055
|
+
"completion": {
|
|
3056
|
+
"label": "DefaultValue",
|
|
3057
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
3058
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
3059
|
+
"insertTextMode": 2,
|
|
3060
|
+
"insertTextFormat": 2,
|
|
3061
|
+
"kind": 3,
|
|
3062
|
+
"documentation": {
|
|
3063
|
+
"kind": "markdown",
|
|
3064
|
+
"value": "**[Lähtien versiosta 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parametrit**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Palauta arvo**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
3065
|
+
}
|
|
3066
|
+
},
|
|
3067
|
+
"parametersInfo": {
|
|
3068
|
+
"min": 3,
|
|
3069
|
+
"max": 3
|
|
3070
|
+
}
|
|
3071
|
+
},
|
|
3047
3072
|
{
|
|
3048
3073
|
"type": "function",
|
|
3049
3074
|
"name": "domain",
|
|
@@ -149,6 +149,31 @@
|
|
|
149
149
|
"id": "feature_functions",
|
|
150
150
|
"title": "Fonctions d’entités",
|
|
151
151
|
"items": [
|
|
152
|
+
{
|
|
153
|
+
"type": "function",
|
|
154
|
+
"name": "defaultvalue",
|
|
155
|
+
"bundle": "core",
|
|
156
|
+
"sinceVersion": "1.26",
|
|
157
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
158
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
159
|
+
"examples": "\n##### Exemple\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
160
|
+
"completion": {
|
|
161
|
+
"label": "DefaultValue",
|
|
162
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
163
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
164
|
+
"insertTextMode": 2,
|
|
165
|
+
"insertTextFormat": 2,
|
|
166
|
+
"kind": 3,
|
|
167
|
+
"documentation": {
|
|
168
|
+
"kind": "markdown",
|
|
169
|
+
"value": "**[Depuis la version 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Paramètres**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Valeur de retour**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"parametersInfo": {
|
|
173
|
+
"min": 3,
|
|
174
|
+
"max": 3
|
|
175
|
+
}
|
|
176
|
+
},
|
|
152
177
|
{
|
|
153
178
|
"type": "function",
|
|
154
179
|
"name": "domain",
|
|
@@ -3673,6 +3673,31 @@
|
|
|
3673
3673
|
"id": "feature_functions",
|
|
3674
3674
|
"title": "פונקציות ישות",
|
|
3675
3675
|
"items": [
|
|
3676
|
+
{
|
|
3677
|
+
"type": "function",
|
|
3678
|
+
"name": "defaultvalue",
|
|
3679
|
+
"bundle": "core",
|
|
3680
|
+
"sinceVersion": "1.26",
|
|
3681
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
3682
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
3683
|
+
"examples": "\n##### דוגמה\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
3684
|
+
"completion": {
|
|
3685
|
+
"label": "DefaultValue",
|
|
3686
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
3687
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
3688
|
+
"insertTextMode": 2,
|
|
3689
|
+
"insertTextFormat": 2,
|
|
3690
|
+
"kind": 3,
|
|
3691
|
+
"documentation": {
|
|
3692
|
+
"kind": "markdown",
|
|
3693
|
+
"value": "**[מאז גרסה 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**פרמטרים**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**ערך החזרה**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3696
|
+
"parametersInfo": {
|
|
3697
|
+
"min": 3,
|
|
3698
|
+
"max": 3
|
|
3699
|
+
}
|
|
3700
|
+
},
|
|
3676
3701
|
{
|
|
3677
3702
|
"type": "function",
|
|
3678
3703
|
"name": "domain",
|
|
@@ -3026,6 +3026,31 @@
|
|
|
3026
3026
|
"id": "feature_functions",
|
|
3027
3027
|
"title": "Funkcije geoobjekta",
|
|
3028
3028
|
"items": [
|
|
3029
|
+
{
|
|
3030
|
+
"type": "function",
|
|
3031
|
+
"name": "defaultvalue",
|
|
3032
|
+
"bundle": "core",
|
|
3033
|
+
"sinceVersion": "1.26",
|
|
3034
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
3035
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
3036
|
+
"examples": "\n##### Primjer\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
3037
|
+
"completion": {
|
|
3038
|
+
"label": "DefaultValue",
|
|
3039
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
3040
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
3041
|
+
"insertTextMode": 2,
|
|
3042
|
+
"insertTextFormat": 2,
|
|
3043
|
+
"kind": 3,
|
|
3044
|
+
"documentation": {
|
|
3045
|
+
"kind": "markdown",
|
|
3046
|
+
"value": "**[Od verzije 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Parametri**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Povratna vrijednost**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
3047
|
+
}
|
|
3048
|
+
},
|
|
3049
|
+
"parametersInfo": {
|
|
3050
|
+
"min": 3,
|
|
3051
|
+
"max": 3
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3029
3054
|
{
|
|
3030
3055
|
"type": "function",
|
|
3031
3056
|
"name": "domain",
|
|
@@ -7378,6 +7378,31 @@
|
|
|
7378
7378
|
"id": "feature_functions",
|
|
7379
7379
|
"title": "Vektoroselem-függvények",
|
|
7380
7380
|
"items": [
|
|
7381
|
+
{
|
|
7382
|
+
"type": "function",
|
|
7383
|
+
"name": "defaultvalue",
|
|
7384
|
+
"bundle": "core",
|
|
7385
|
+
"sinceVersion": "1.26",
|
|
7386
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
7387
|
+
"description": "Returns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.",
|
|
7388
|
+
"examples": "\n##### Példa\n\nReturn \"n/a\" if feature attribute does not exist or is empty\n\n```arcade\nDefaultValue($feature, \"population\", \"n/a\")\n// Returns the population value if available\n// or n/a if not available\n```\n\n",
|
|
7389
|
+
"completion": {
|
|
7390
|
+
"label": "DefaultValue",
|
|
7391
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
7392
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
7393
|
+
"insertTextMode": 2,
|
|
7394
|
+
"insertTextFormat": 2,
|
|
7395
|
+
"kind": 3,
|
|
7396
|
+
"documentation": {
|
|
7397
|
+
"kind": "markdown",
|
|
7398
|
+
"value": "**[A következő verziótól: 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a field name in a feature does not exist or the value at the specified field is `null` or an empty text value.\n\n**Paraméterek**\n\n- **container**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The input feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the field name does not exist or the value at the specified field is `null` or an empty text value.\n\n**Visszatérési érték**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value for the specified field if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
7399
|
+
}
|
|
7400
|
+
},
|
|
7401
|
+
"parametersInfo": {
|
|
7402
|
+
"min": 3,
|
|
7403
|
+
"max": 3
|
|
7404
|
+
}
|
|
7405
|
+
},
|
|
7381
7406
|
{
|
|
7382
7407
|
"type": "function",
|
|
7383
7408
|
"name": "domain",
|