@arcgis/coding-components 4.30.0-next.21 → 4.30.0-next.23
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 +2 -2
- 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/index.esm.js +2 -2
- package/dist/arcgis-coding-components/p-250241d4.entry.js +6 -0
- package/dist/arcgis-coding-components/p-3217369b.js +68 -0
- package/dist/arcgis-coding-components/{p-1451e0cc.js → p-49bca36f.js} +2 -2
- package/dist/arcgis-coding-components/{p-192601ca.js → p-5b2565ca.js} +2 -2
- package/dist/arcgis-coding-components/p-600be247.js +6 -0
- package/dist/arcgis-coding-components/{p-0e7b5896.js → p-64abf203.js} +2 -2
- package/dist/arcgis-coding-components/{p-253f92ea.js → p-68006f08.js} +2 -2
- package/dist/arcgis-coding-components/p-716a8741.js +6 -0
- package/dist/arcgis-coding-components/{p-b177db92.js → p-9b73a641.js} +3 -3
- package/dist/arcgis-coding-components/{p-a63eeed9.js → p-bc0aa910.js} +1 -1
- package/dist/arcgis-coding-components/{p-cb5166f2.js → p-c0185a0d.js} +2 -2
- package/dist/arcgis-coding-components/{p-5583b25d.js → p-d7560609.js} +2 -2
- package/dist/arcgis-coding-components/p-de307b87.js +6 -0
- package/dist/arcgis-coding-components/{p-eb16cce2.js → p-f75b073c.js} +2 -2
- package/dist/arcgis-coding-components/p-ff1c764c.js +7 -0
- package/dist/cjs/Accessor-YDTURKZ7-2cd6deb4.js +1249 -0
- package/dist/cjs/{arcade-defaults-9d57f506.js → arcade-defaults-fb1a3fd7.js} +294 -295
- package/dist/cjs/{arcade-mode-9079b8e0.js → arcade-mode-2560e670.js} +4 -4
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1347 -89
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/chunk-OMA4PI5N-60e6be60.js +1286 -0
- package/dist/cjs/{css-9aa4569b.js → css-f659c186.js} +1 -1
- package/dist/cjs/{cssMode-6f57c416.js → cssMode-6a246ae2.js} +3 -3
- package/dist/cjs/decorators-443AWDOE-fb0006fa.js +120 -0
- package/dist/cjs/{html-95d3a234.js → html-d999957e.js} +3 -3
- package/dist/cjs/{htmlMode-ebd8894d.js → htmlMode-777d5d7e.js} +3 -3
- package/dist/cjs/{index-a3f52cf5.js → index-60fec5d8.js} +42 -4
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-1a01235b.js → javascript-5c4612fc.js} +4 -4
- package/dist/cjs/{jsonMode-26ed7799.js → jsonMode-21544f43.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-9cfeb9a5.js → tsMode-34b259f1.js} +3 -3
- package/dist/cjs/{typescript-f9907455.js → typescript-6f9695a1.js} +3 -3
- package/dist/components/Accessor-YDTURKZ7.js +1247 -0
- package/dist/components/arcade-api.js +9 -15
- package/dist/components/arcade-contribution.js +3 -3
- package/dist/components/arcade-defaults.js +10 -10
- package/dist/components/arcade-mode.js +3 -3
- package/dist/components/arcade-results.js +24 -35
- package/dist/components/arcade-suggestions.js +10 -16
- package/dist/components/arcade-variables.js +11 -20
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +20 -24
- package/dist/components/arcgis-arcade-results.js +1 -1
- package/dist/components/arcgis-arcade-suggestions.js +1 -1
- package/dist/components/arcgis-arcade-variables.js +1 -1
- package/dist/components/arcgis-assets.d.ts +1 -1
- package/dist/components/arcgis-assets.js +1 -1
- package/dist/components/arcgis-code-editor.js +1 -1
- package/dist/components/chunk-3I7AEPTU.js +1290 -0
- package/dist/components/chunk-OMA4PI5N.js +1257 -0
- package/dist/components/code-editor.js +6 -6
- package/dist/components/decorators-443AWDOE.js +109 -0
- package/dist/components/fields.js +40 -39
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +3 -3
- package/dist/components/markdown.js +1 -1
- package/dist/components/utilities.js +3 -3
- package/dist/esm/Accessor-YDTURKZ7-dcaf409b.js +1247 -0
- package/dist/esm/{arcade-defaults-1577045c.js → arcade-defaults-9833f532.js} +286 -285
- package/dist/esm/{arcade-mode-ec8b7890.js → arcade-mode-a9774d50.js} +4 -4
- package/dist/esm/arcgis-arcade-api_6.entry.js +1389 -131
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/chunk-OMA4PI5N-2da97f52.js +1257 -0
- package/dist/esm/{css-6350c0f7.js → css-294de2b5.js} +1 -1
- package/dist/esm/{cssMode-629b1349.js → cssMode-8bf465a1.js} +3 -3
- package/dist/esm/decorators-443AWDOE-8b8ddc71.js +109 -0
- package/dist/esm/{html-979016b0.js → html-df0c0abf.js} +3 -3
- package/dist/esm/{htmlMode-dd504dae.js → htmlMode-379ba474.js} +3 -3
- package/dist/esm/{index-093931a1.js → index-aafc3e0b.js} +42 -5
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-7af48cb1.js → javascript-7f02143c.js} +4 -4
- package/dist/esm/{jsonMode-eb6b41d1.js → jsonMode-0db8e4ac.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-64deb000.js → tsMode-8bd448ad.js} +3 -3
- package/dist/esm/{typescript-c9b14542.js → typescript-a14f4a55.js} +3 -3
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/arcade-api/arcade-api.d.ts +4 -5
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +7 -4
- package/dist/types/components/arcade-results/arcade-results.d.ts +4 -7
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +4 -5
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +4 -6
- package/package.json +12 -12
- package/dist/arcgis-coding-components/p-81935687.js +0 -68
- package/dist/arcgis-coding-components/p-a2190df0.js +0 -7
- package/dist/arcgis-coding-components/p-e8c2933f.entry.js +0 -6
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/stencil.config.d.ts +0 -3
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-inline-url-importer.d.ts +0 -9
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/sass-json-importer.d.ts +0 -19
- package/dist/types/data/actions-runner-1/_work/arcgis-web-components/arcgis-web-components/packages/coding-packages/coding-components/.stencil/support/stencil-monaco-plugins.d.ts +0 -6
|
@@ -3590,6 +3590,31 @@
|
|
|
3590
3590
|
"id": "feature_functions",
|
|
3591
3591
|
"title": "Funzioni feature",
|
|
3592
3592
|
"items": [
|
|
3593
|
+
{
|
|
3594
|
+
"type": "function",
|
|
3595
|
+
"name": "defaultvalue",
|
|
3596
|
+
"bundle": "core",
|
|
3597
|
+
"sinceVersion": "1.26",
|
|
3598
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
3599
|
+
"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.",
|
|
3600
|
+
"examples": "\n##### Esempio\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",
|
|
3601
|
+
"completion": {
|
|
3602
|
+
"label": "DefaultValue",
|
|
3603
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
3604
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
3605
|
+
"insertTextMode": 2,
|
|
3606
|
+
"insertTextFormat": 2,
|
|
3607
|
+
"kind": 3,
|
|
3608
|
+
"documentation": {
|
|
3609
|
+
"kind": "markdown",
|
|
3610
|
+
"value": "**[Versione iniziale 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**Valore restituito**: [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`."
|
|
3611
|
+
}
|
|
3612
|
+
},
|
|
3613
|
+
"parametersInfo": {
|
|
3614
|
+
"min": 3,
|
|
3615
|
+
"max": 3
|
|
3616
|
+
}
|
|
3617
|
+
},
|
|
3593
3618
|
{
|
|
3594
3619
|
"type": "function",
|
|
3595
3620
|
"name": "domain",
|
|
@@ -4363,6 +4363,31 @@
|
|
|
4363
4363
|
"id": "feature_functions",
|
|
4364
4364
|
"title": "フィーチャ関数",
|
|
4365
4365
|
"items": [
|
|
4366
|
+
{
|
|
4367
|
+
"type": "function",
|
|
4368
|
+
"name": "defaultvalue",
|
|
4369
|
+
"bundle": "core",
|
|
4370
|
+
"sinceVersion": "1.26",
|
|
4371
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
4372
|
+
"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.",
|
|
4373
|
+
"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",
|
|
4374
|
+
"completion": {
|
|
4375
|
+
"label": "DefaultValue",
|
|
4376
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
4377
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
4378
|
+
"insertTextMode": 2,
|
|
4379
|
+
"insertTextFormat": 2,
|
|
4380
|
+
"kind": 3,
|
|
4381
|
+
"documentation": {
|
|
4382
|
+
"kind": "markdown",
|
|
4383
|
+
"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`."
|
|
4384
|
+
}
|
|
4385
|
+
},
|
|
4386
|
+
"parametersInfo": {
|
|
4387
|
+
"min": 3,
|
|
4388
|
+
"max": 3
|
|
4389
|
+
}
|
|
4390
|
+
},
|
|
4366
4391
|
{
|
|
4367
4392
|
"type": "function",
|
|
4368
4393
|
"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": "**[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**매개변수**\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`."
|
|
7399
|
+
}
|
|
7400
|
+
},
|
|
7401
|
+
"parametersInfo": {
|
|
7402
|
+
"min": 3,
|
|
7403
|
+
"max": 3
|
|
7404
|
+
}
|
|
7405
|
+
},
|
|
7381
7406
|
{
|
|
7382
7407
|
"type": "function",
|
|
7383
7408
|
"name": "domain",
|
|
@@ -1313,6 +1313,31 @@
|
|
|
1313
1313
|
"id": "feature_functions",
|
|
1314
1314
|
"title": "Elementų funkcijos",
|
|
1315
1315
|
"items": [
|
|
1316
|
+
{
|
|
1317
|
+
"type": "function",
|
|
1318
|
+
"name": "defaultvalue",
|
|
1319
|
+
"bundle": "core",
|
|
1320
|
+
"sinceVersion": "1.26",
|
|
1321
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
1322
|
+
"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.",
|
|
1323
|
+
"examples": "\n##### Pavyzdys\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",
|
|
1324
|
+
"completion": {
|
|
1325
|
+
"label": "DefaultValue",
|
|
1326
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
1327
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
1328
|
+
"insertTextMode": 2,
|
|
1329
|
+
"insertTextFormat": 2,
|
|
1330
|
+
"kind": 3,
|
|
1331
|
+
"documentation": {
|
|
1332
|
+
"kind": "markdown",
|
|
1333
|
+
"value": "**[Nuo versijos 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**Parametrai**\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**Pateikiama reikšmė**: [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`."
|
|
1334
|
+
}
|
|
1335
|
+
},
|
|
1336
|
+
"parametersInfo": {
|
|
1337
|
+
"min": 3,
|
|
1338
|
+
"max": 3
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1316
1341
|
{
|
|
1317
1342
|
"type": "function",
|
|
1318
1343
|
"name": "domain",
|
|
@@ -1313,6 +1313,31 @@
|
|
|
1313
1313
|
"id": "feature_functions",
|
|
1314
1314
|
"title": "Elementu funkcijas",
|
|
1315
1315
|
"items": [
|
|
1316
|
+
{
|
|
1317
|
+
"type": "function",
|
|
1318
|
+
"name": "defaultvalue",
|
|
1319
|
+
"bundle": "core",
|
|
1320
|
+
"sinceVersion": "1.26",
|
|
1321
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
1322
|
+
"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.",
|
|
1323
|
+
"examples": "\n##### Piemērs\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",
|
|
1324
|
+
"completion": {
|
|
1325
|
+
"label": "DefaultValue",
|
|
1326
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
1327
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
1328
|
+
"insertTextMode": 2,
|
|
1329
|
+
"insertTextFormat": 2,
|
|
1330
|
+
"kind": 3,
|
|
1331
|
+
"documentation": {
|
|
1332
|
+
"kind": "markdown",
|
|
1333
|
+
"value": "**[Iepriekšējā versija 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**Uzrādīt vērtību**: [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`."
|
|
1334
|
+
}
|
|
1335
|
+
},
|
|
1336
|
+
"parametersInfo": {
|
|
1337
|
+
"min": 3,
|
|
1338
|
+
"max": 3
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1316
1341
|
{
|
|
1317
1342
|
"type": "function",
|
|
1318
1343
|
"name": "domain",
|
|
@@ -4208,6 +4208,31 @@
|
|
|
4208
4208
|
"id": "feature_functions",
|
|
4209
4209
|
"title": "Geoobjektfunksjoner",
|
|
4210
4210
|
"items": [
|
|
4211
|
+
{
|
|
4212
|
+
"type": "function",
|
|
4213
|
+
"name": "defaultvalue",
|
|
4214
|
+
"bundle": "core",
|
|
4215
|
+
"sinceVersion": "1.26",
|
|
4216
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
4217
|
+
"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.",
|
|
4218
|
+
"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",
|
|
4219
|
+
"completion": {
|
|
4220
|
+
"label": "DefaultValue",
|
|
4221
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
4222
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
4223
|
+
"insertTextMode": 2,
|
|
4224
|
+
"insertTextFormat": 2,
|
|
4225
|
+
"kind": 3,
|
|
4226
|
+
"documentation": {
|
|
4227
|
+
"kind": "markdown",
|
|
4228
|
+
"value": "**[Siden versjon 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**Parametere**\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**Returverdi**: [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`."
|
|
4229
|
+
}
|
|
4230
|
+
},
|
|
4231
|
+
"parametersInfo": {
|
|
4232
|
+
"min": 3,
|
|
4233
|
+
"max": 3
|
|
4234
|
+
}
|
|
4235
|
+
},
|
|
4211
4236
|
{
|
|
4212
4237
|
"type": "function",
|
|
4213
4238
|
"name": "domain",
|
|
@@ -5246,6 +5246,31 @@
|
|
|
5246
5246
|
"id": "feature_functions",
|
|
5247
5247
|
"title": "Objectfuncties",
|
|
5248
5248
|
"items": [
|
|
5249
|
+
{
|
|
5250
|
+
"type": "function",
|
|
5251
|
+
"name": "defaultvalue",
|
|
5252
|
+
"bundle": "core",
|
|
5253
|
+
"sinceVersion": "1.26",
|
|
5254
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
5255
|
+
"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.",
|
|
5256
|
+
"examples": "\n##### Voorbeeld\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",
|
|
5257
|
+
"completion": {
|
|
5258
|
+
"label": "DefaultValue",
|
|
5259
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
5260
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
5261
|
+
"insertTextMode": 2,
|
|
5262
|
+
"insertTextFormat": 2,
|
|
5263
|
+
"kind": 3,
|
|
5264
|
+
"documentation": {
|
|
5265
|
+
"kind": "markdown",
|
|
5266
|
+
"value": "**[Sinds versie 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**Retourwaarde**: [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`."
|
|
5267
|
+
}
|
|
5268
|
+
},
|
|
5269
|
+
"parametersInfo": {
|
|
5270
|
+
"min": 3,
|
|
5271
|
+
"max": 3
|
|
5272
|
+
}
|
|
5273
|
+
},
|
|
5249
5274
|
{
|
|
5250
5275
|
"type": "function",
|
|
5251
5276
|
"name": "domain",
|
|
@@ -5248,6 +5248,31 @@
|
|
|
5248
5248
|
"id": "feature_functions",
|
|
5249
5249
|
"title": "Funkcje obiektowe",
|
|
5250
5250
|
"items": [
|
|
5251
|
+
{
|
|
5252
|
+
"type": "function",
|
|
5253
|
+
"name": "defaultvalue",
|
|
5254
|
+
"bundle": "core",
|
|
5255
|
+
"sinceVersion": "1.26",
|
|
5256
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
5257
|
+
"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.",
|
|
5258
|
+
"examples": "\n##### Przykład\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",
|
|
5259
|
+
"completion": {
|
|
5260
|
+
"label": "DefaultValue",
|
|
5261
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
5262
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
5263
|
+
"insertTextMode": 2,
|
|
5264
|
+
"insertTextFormat": 2,
|
|
5265
|
+
"kind": 3,
|
|
5266
|
+
"documentation": {
|
|
5267
|
+
"kind": "markdown",
|
|
5268
|
+
"value": "**[Od wersji 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**Wartość zwracana**: [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`."
|
|
5269
|
+
}
|
|
5270
|
+
},
|
|
5271
|
+
"parametersInfo": {
|
|
5272
|
+
"min": 3,
|
|
5273
|
+
"max": 3
|
|
5274
|
+
}
|
|
5275
|
+
},
|
|
5251
5276
|
{
|
|
5252
5277
|
"type": "function",
|
|
5253
5278
|
"name": "domain",
|
|
@@ -2071,6 +2071,31 @@
|
|
|
2071
2071
|
"id": "feature_functions",
|
|
2072
2072
|
"title": "Funções de feição",
|
|
2073
2073
|
"items": [
|
|
2074
|
+
{
|
|
2075
|
+
"type": "function",
|
|
2076
|
+
"name": "defaultvalue",
|
|
2077
|
+
"bundle": "core",
|
|
2078
|
+
"sinceVersion": "1.26",
|
|
2079
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2080
|
+
"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.",
|
|
2081
|
+
"examples": "\n##### Exemplo\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",
|
|
2082
|
+
"completion": {
|
|
2083
|
+
"label": "DefaultValue",
|
|
2084
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2085
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2086
|
+
"insertTextMode": 2,
|
|
2087
|
+
"insertTextFormat": 2,
|
|
2088
|
+
"kind": 3,
|
|
2089
|
+
"documentation": {
|
|
2090
|
+
"kind": "markdown",
|
|
2091
|
+
"value": "**[Desde a versão 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**Retornar valor**: [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`."
|
|
2092
|
+
}
|
|
2093
|
+
},
|
|
2094
|
+
"parametersInfo": {
|
|
2095
|
+
"min": 3,
|
|
2096
|
+
"max": 3
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2074
2099
|
{
|
|
2075
2100
|
"type": "function",
|
|
2076
2101
|
"name": "domain",
|
|
@@ -2003,6 +2003,31 @@
|
|
|
2003
2003
|
"id": "feature_functions",
|
|
2004
2004
|
"title": "Funções de Feature",
|
|
2005
2005
|
"items": [
|
|
2006
|
+
{
|
|
2007
|
+
"type": "function",
|
|
2008
|
+
"name": "defaultvalue",
|
|
2009
|
+
"bundle": "core",
|
|
2010
|
+
"sinceVersion": "1.26",
|
|
2011
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2012
|
+
"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.",
|
|
2013
|
+
"examples": "\n##### Exemplo\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",
|
|
2014
|
+
"completion": {
|
|
2015
|
+
"label": "DefaultValue",
|
|
2016
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2017
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2018
|
+
"insertTextMode": 2,
|
|
2019
|
+
"insertTextFormat": 2,
|
|
2020
|
+
"kind": 3,
|
|
2021
|
+
"documentation": {
|
|
2022
|
+
"kind": "markdown",
|
|
2023
|
+
"value": "**[Desde a versão 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 devolução**: [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`."
|
|
2024
|
+
}
|
|
2025
|
+
},
|
|
2026
|
+
"parametersInfo": {
|
|
2027
|
+
"min": 3,
|
|
2028
|
+
"max": 3
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2006
2031
|
{
|
|
2007
2032
|
"type": "function",
|
|
2008
2033
|
"name": "domain",
|
|
@@ -6860,6 +6860,31 @@
|
|
|
6860
6860
|
"id": "feature_functions",
|
|
6861
6861
|
"title": "Funcții obiecte spațiale",
|
|
6862
6862
|
"items": [
|
|
6863
|
+
{
|
|
6864
|
+
"type": "function",
|
|
6865
|
+
"name": "defaultvalue",
|
|
6866
|
+
"bundle": "core",
|
|
6867
|
+
"sinceVersion": "1.26",
|
|
6868
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
6869
|
+
"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.",
|
|
6870
|
+
"examples": "\n##### Exemplu\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",
|
|
6871
|
+
"completion": {
|
|
6872
|
+
"label": "DefaultValue",
|
|
6873
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
6874
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
6875
|
+
"insertTextMode": 2,
|
|
6876
|
+
"insertTextFormat": 2,
|
|
6877
|
+
"kind": 3,
|
|
6878
|
+
"documentation": {
|
|
6879
|
+
"kind": "markdown",
|
|
6880
|
+
"value": "**[De la versiune 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**Returnare versiune**: [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`."
|
|
6881
|
+
}
|
|
6882
|
+
},
|
|
6883
|
+
"parametersInfo": {
|
|
6884
|
+
"min": 3,
|
|
6885
|
+
"max": 3
|
|
6886
|
+
}
|
|
6887
|
+
},
|
|
6863
6888
|
{
|
|
6864
6889
|
"type": "function",
|
|
6865
6890
|
"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",
|
|
@@ -6860,6 +6860,31 @@
|
|
|
6860
6860
|
"id": "feature_functions",
|
|
6861
6861
|
"title": "Prvkové funkcie",
|
|
6862
6862
|
"items": [
|
|
6863
|
+
{
|
|
6864
|
+
"type": "function",
|
|
6865
|
+
"name": "defaultvalue",
|
|
6866
|
+
"bundle": "core",
|
|
6867
|
+
"sinceVersion": "1.26",
|
|
6868
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
6869
|
+
"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.",
|
|
6870
|
+
"examples": "\n##### Prí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",
|
|
6871
|
+
"completion": {
|
|
6872
|
+
"label": "DefaultValue",
|
|
6873
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
6874
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
6875
|
+
"insertTextMode": 2,
|
|
6876
|
+
"insertTextFormat": 2,
|
|
6877
|
+
"kind": 3,
|
|
6878
|
+
"documentation": {
|
|
6879
|
+
"kind": "markdown",
|
|
6880
|
+
"value": "**[Od verzie 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**Návratová 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`."
|
|
6881
|
+
}
|
|
6882
|
+
},
|
|
6883
|
+
"parametersInfo": {
|
|
6884
|
+
"min": 3,
|
|
6885
|
+
"max": 3
|
|
6886
|
+
}
|
|
6887
|
+
},
|
|
6863
6888
|
{
|
|
6864
6889
|
"type": "function",
|
|
6865
6890
|
"name": "domain",
|
|
@@ -1776,6 +1776,31 @@
|
|
|
1776
1776
|
"id": "feature_functions",
|
|
1777
1777
|
"title": "Funkcije geoobjekta",
|
|
1778
1778
|
"items": [
|
|
1779
|
+
{
|
|
1780
|
+
"type": "function",
|
|
1781
|
+
"name": "defaultvalue",
|
|
1782
|
+
"bundle": "core",
|
|
1783
|
+
"sinceVersion": "1.26",
|
|
1784
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
1785
|
+
"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.",
|
|
1786
|
+
"examples": "\n##### Primer\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",
|
|
1787
|
+
"completion": {
|
|
1788
|
+
"label": "DefaultValue",
|
|
1789
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
1790
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
1791
|
+
"insertTextMode": 2,
|
|
1792
|
+
"insertTextFormat": 2,
|
|
1793
|
+
"kind": 3,
|
|
1794
|
+
"documentation": {
|
|
1795
|
+
"kind": "markdown",
|
|
1796
|
+
"value": "**[Od različice 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**Vrnjena vrednost**: [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`."
|
|
1797
|
+
}
|
|
1798
|
+
},
|
|
1799
|
+
"parametersInfo": {
|
|
1800
|
+
"min": 3,
|
|
1801
|
+
"max": 3
|
|
1802
|
+
}
|
|
1803
|
+
},
|
|
1779
1804
|
{
|
|
1780
1805
|
"type": "function",
|
|
1781
1806
|
"name": "domain",
|
|
@@ -2385,6 +2385,31 @@
|
|
|
2385
2385
|
"id": "feature_functions",
|
|
2386
2386
|
"title": "Funkcije geoobjekta",
|
|
2387
2387
|
"items": [
|
|
2388
|
+
{
|
|
2389
|
+
"type": "function",
|
|
2390
|
+
"name": "defaultvalue",
|
|
2391
|
+
"bundle": "core",
|
|
2392
|
+
"sinceVersion": "1.26",
|
|
2393
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2394
|
+
"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.",
|
|
2395
|
+
"examples": "\n##### Primer\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",
|
|
2396
|
+
"completion": {
|
|
2397
|
+
"label": "DefaultValue",
|
|
2398
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2399
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2400
|
+
"insertTextMode": 2,
|
|
2401
|
+
"insertTextFormat": 2,
|
|
2402
|
+
"kind": 3,
|
|
2403
|
+
"documentation": {
|
|
2404
|
+
"kind": "markdown",
|
|
2405
|
+
"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 vrednost**: [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`."
|
|
2406
|
+
}
|
|
2407
|
+
},
|
|
2408
|
+
"parametersInfo": {
|
|
2409
|
+
"min": 3,
|
|
2410
|
+
"max": 3
|
|
2411
|
+
}
|
|
2412
|
+
},
|
|
2388
2413
|
{
|
|
2389
2414
|
"type": "function",
|
|
2390
2415
|
"name": "domain",
|
|
@@ -2471,6 +2471,31 @@
|
|
|
2471
2471
|
"id": "feature_functions",
|
|
2472
2472
|
"title": "Funktioner för geoobjekt",
|
|
2473
2473
|
"items": [
|
|
2474
|
+
{
|
|
2475
|
+
"type": "function",
|
|
2476
|
+
"name": "defaultvalue",
|
|
2477
|
+
"bundle": "core",
|
|
2478
|
+
"sinceVersion": "1.26",
|
|
2479
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
2480
|
+
"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.",
|
|
2481
|
+
"examples": "\n##### Exempel\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",
|
|
2482
|
+
"completion": {
|
|
2483
|
+
"label": "DefaultValue",
|
|
2484
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
2485
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
2486
|
+
"insertTextMode": 2,
|
|
2487
|
+
"insertTextFormat": 2,
|
|
2488
|
+
"kind": 3,
|
|
2489
|
+
"documentation": {
|
|
2490
|
+
"kind": "markdown",
|
|
2491
|
+
"value": "**[Sedan 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**Parametrar**\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ärde**: [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`."
|
|
2492
|
+
}
|
|
2493
|
+
},
|
|
2494
|
+
"parametersInfo": {
|
|
2495
|
+
"min": 3,
|
|
2496
|
+
"max": 3
|
|
2497
|
+
}
|
|
2498
|
+
},
|
|
2474
2499
|
{
|
|
2475
2500
|
"type": "function",
|
|
2476
2501
|
"name": "domain",
|
|
@@ -3550,6 +3550,31 @@
|
|
|
3550
3550
|
"id": "feature_functions",
|
|
3551
3551
|
"title": "ฟังก์ชันฟีเจอร์",
|
|
3552
3552
|
"items": [
|
|
3553
|
+
{
|
|
3554
|
+
"type": "function",
|
|
3555
|
+
"name": "defaultvalue",
|
|
3556
|
+
"bundle": "core",
|
|
3557
|
+
"sinceVersion": "1.26",
|
|
3558
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
3559
|
+
"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.",
|
|
3560
|
+
"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",
|
|
3561
|
+
"completion": {
|
|
3562
|
+
"label": "DefaultValue",
|
|
3563
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
3564
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
3565
|
+
"insertTextMode": 2,
|
|
3566
|
+
"insertTextFormat": 2,
|
|
3567
|
+
"kind": 3,
|
|
3568
|
+
"documentation": {
|
|
3569
|
+
"kind": "markdown",
|
|
3570
|
+
"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`."
|
|
3571
|
+
}
|
|
3572
|
+
},
|
|
3573
|
+
"parametersInfo": {
|
|
3574
|
+
"min": 3,
|
|
3575
|
+
"max": 3
|
|
3576
|
+
}
|
|
3577
|
+
},
|
|
3553
3578
|
{
|
|
3554
3579
|
"type": "function",
|
|
3555
3580
|
"name": "domain",
|
|
@@ -205,6 +205,31 @@
|
|
|
205
205
|
"id": "feature_functions",
|
|
206
206
|
"title": "Detay fonksiyonları",
|
|
207
207
|
"items": [
|
|
208
|
+
{
|
|
209
|
+
"type": "function",
|
|
210
|
+
"name": "defaultvalue",
|
|
211
|
+
"bundle": "core",
|
|
212
|
+
"sinceVersion": "1.26",
|
|
213
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#defaultvalue",
|
|
214
|
+
"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.",
|
|
215
|
+
"examples": "\n##### Örnek\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",
|
|
216
|
+
"completion": {
|
|
217
|
+
"label": "DefaultValue",
|
|
218
|
+
"detail": "DefaultValue(container, fieldName, defaultValue) -> Any",
|
|
219
|
+
"insertText": "DefaultValue(${1:container_}, ${2:fieldName_}, ${3:defaultValue_})$0",
|
|
220
|
+
"insertTextMode": 2,
|
|
221
|
+
"insertTextFormat": 2,
|
|
222
|
+
"kind": 3,
|
|
223
|
+
"documentation": {
|
|
224
|
+
"kind": "markdown",
|
|
225
|
+
"value": "**[Şu versiyondan itibaren 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**Parametreler**\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**Dönüş değeri**: [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`."
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"parametersInfo": {
|
|
229
|
+
"min": 3,
|
|
230
|
+
"max": 3
|
|
231
|
+
}
|
|
232
|
+
},
|
|
208
233
|
{
|
|
209
234
|
"type": "function",
|
|
210
235
|
"name": "domain",
|