@arcgis/coding-components 4.29.0-beta.99 → 4.29.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/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 +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +113 -113
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +19 -19
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +111 -111
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +66 -66
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +3 -3
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +4 -4
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +4 -4
- package/dist/arcgis-coding-components/index.esm.js +2 -2
- package/dist/arcgis-coding-components/{p-e1cb02b3.js → p-0a2edf01.js} +2 -2
- package/dist/arcgis-coding-components/p-11e79992.js +6 -0
- package/dist/arcgis-coding-components/{p-f75beb80.js → p-36e2cbc2.js} +3 -3
- package/dist/arcgis-coding-components/{p-457e3916.js → p-4406b5a8.js} +2 -2
- package/dist/arcgis-coding-components/{p-87d7ad9e.js → p-4eb30e60.js} +1 -1
- package/dist/arcgis-coding-components/{p-7f9d3fdc.js → p-619ca372.js} +1 -1
- package/dist/arcgis-coding-components/{p-7e0e8ecc.js → p-71125c69.js} +2 -2
- package/dist/arcgis-coding-components/{p-0bab0228.js → p-8d7f0979.js} +2 -2
- package/dist/arcgis-coding-components/p-9b8091c1.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ad86a5f5.js → p-bd81fdff.js} +11 -11
- package/dist/arcgis-coding-components/{p-f23f7fee.js → p-ecc8dd8a.js} +2 -2
- package/dist/arcgis-coding-components/{p-4648782b.js → p-f9016c56.js} +2 -2
- package/dist/cjs/{arcade-defaults-5dd9ebb7.js → arcade-defaults-b30ccec8.js} +271 -236
- package/dist/cjs/{arcade-mode-0b4c53a1.js → arcade-mode-eb755260.js} +11 -14
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +160 -184
- package/dist/cjs/arcgis-coding-components.cjs.js +3 -3
- package/dist/cjs/{css-fe7f8980.js → css-9e907aa0.js} +1 -1
- package/dist/cjs/{cssMode-4c9b3a32.js → cssMode-e4189b13.js} +3 -3
- package/dist/cjs/{html-b044fbba.js → html-2582ae43.js} +3 -3
- package/dist/cjs/{htmlMode-956a6ffa.js → htmlMode-0edcf1ee.js} +3 -3
- package/dist/cjs/{index-aaceaf1f.js → index-54d6f9be.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{javascript-6c55ac8b.js → javascript-425c653a.js} +4 -4
- package/dist/cjs/{jsonMode-d83e322c.js → jsonMode-eea03515.js} +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{tsMode-5c5ffa3e.js → tsMode-b92c9221.js} +3 -3
- package/dist/cjs/{typescript-6143656a.js → typescript-cfc1221c.js} +3 -3
- package/dist/components/arcade-api.js +20 -18
- package/dist/components/arcade-contribution.js +9 -8
- package/dist/components/arcade-defaults.js +188 -168
- package/dist/components/arcade-mode.js +10 -12
- package/dist/components/arcade-results.js +29 -83
- package/dist/components/arcade-suggestions.js +15 -12
- package/dist/components/arcade-variables.js +30 -21
- package/dist/components/arcgis-arcade-api.js +1 -1
- package/dist/components/arcgis-arcade-editor.js +61 -49
- 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-code-editor.js +1 -1
- package/dist/components/code-editor.js +1 -1
- package/dist/components/fields.js +37 -23
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +3 -3
- package/dist/components/markdown.js +10 -1
- package/dist/components/utilities.js +4 -4
- package/dist/esm/{arcade-defaults-2d7283d4.js → arcade-defaults-a5dc6132.js} +267 -233
- package/dist/esm/{arcade-mode-a8abe5af.js → arcade-mode-d06b6e4f.js} +11 -14
- package/dist/esm/arcgis-arcade-api_6.entry.js +160 -184
- package/dist/esm/arcgis-coding-components.js +4 -4
- package/dist/esm/{css-d31a02ca.js → css-59b4804d.js} +1 -1
- package/dist/esm/{cssMode-5ee45e91.js → cssMode-2bce7da7.js} +3 -3
- package/dist/esm/{html-5c2e488c.js → html-3ad47fc0.js} +3 -3
- package/dist/esm/{htmlMode-376cd5e8.js → htmlMode-6cb73c91.js} +3 -3
- package/dist/esm/{index-1b265749.js → index-ee54d182.js} +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/{javascript-13ddec2b.js → javascript-8917f926.js} +4 -4
- package/dist/esm/{jsonMode-674e89d6.js → jsonMode-9a1dbf00.js} +3 -3
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{tsMode-4c4398d7.js → tsMode-2caf1509.js} +3 -3
- package/dist/esm/{typescript-b328b622.js → typescript-a3abccc0.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-editor/arcade-editor.d.ts +2 -7
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +0 -1
- package/dist/types/components.d.ts +2 -7
- package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +2 -2
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +2 -2
- package/dist/types/utils/fields.d.ts +1 -0
- package/dist/types/utils/markdown.d.ts +3 -0
- package/dist/types/utils/profile/editor-profile.d.ts +49 -63
- package/dist/types/utils/profile/types.d.ts +122 -1
- package/dist/types/utils/profile/utils.d.ts +22 -9
- package/package.json +8 -8
- package/dist/arcgis-coding-components/p-6d56a4b8.entry.js +0 -6
- package/dist/arcgis-coding-components/p-a75f5087.js +0 -6
- package/dist/components/functional-components.js +0 -15
- package/dist/types/utils/functional-components.d.ts +0 -7
- package/dist/types/utils/json-format.d.ts +0 -1
|
@@ -1703,62 +1703,6 @@
|
|
|
1703
1703
|
}
|
|
1704
1704
|
]
|
|
1705
1705
|
},
|
|
1706
|
-
{
|
|
1707
|
-
"id": "knowledgegraph_functions",
|
|
1708
|
-
"title": "بيت_Knowledge graph functions__________________________لاحقة",
|
|
1709
|
-
"items": [
|
|
1710
|
-
{
|
|
1711
|
-
"type": "function",
|
|
1712
|
-
"name": "knowledgegraphbyportalitem",
|
|
1713
|
-
"bundle": "knowledge-graph",
|
|
1714
|
-
"sinceVersion": "1.26",
|
|
1715
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
|
|
1716
|
-
"description": "بيت_Returns a knowledge graph from a portal item________________________لاحقة.",
|
|
1717
|
-
"examples": "\n##### مثال\n\nبيت_Returns the knowledge graph from the portal item__________________________لاحقة.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
1718
|
-
"completion": {
|
|
1719
|
-
"label": "KnowledgeGraphByPortalItem",
|
|
1720
|
-
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
1721
|
-
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
1722
|
-
"insertTextMode": 2,
|
|
1723
|
-
"insertTextFormat": 2,
|
|
1724
|
-
"kind": 3,
|
|
1725
|
-
"documentation": {
|
|
1726
|
-
"kind": "markdown",
|
|
1727
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nبيت_Returns a knowledge graph from a portal item________________________لاحقة.\n\n**معلمات**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - بيت_The Portal from which to query features_____________________لاحقة.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - بيت_The GUID of the portal item referencing a knowledge graph service. _This value must be a text literal.______________________________________________________لاحقة\n\n**إرجاع القيمة**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
1728
|
-
}
|
|
1729
|
-
},
|
|
1730
|
-
"parametersInfo": {
|
|
1731
|
-
"min": 2,
|
|
1732
|
-
"max": 2
|
|
1733
|
-
}
|
|
1734
|
-
},
|
|
1735
|
-
{
|
|
1736
|
-
"type": "function",
|
|
1737
|
-
"name": "querygraph",
|
|
1738
|
-
"bundle": "knowledge-graph",
|
|
1739
|
-
"sinceVersion": "1.26",
|
|
1740
|
-
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
|
|
1741
|
-
"description": "بيت_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________لاحقة.",
|
|
1742
|
-
"examples": "\n##### مثال\n\nبيت_Queries the knowledge graph for information about the `Student` entities it contains____________________________________________لاحقة.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = 'Eastside Elementary'\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\n",
|
|
1743
|
-
"completion": {
|
|
1744
|
-
"label": "QueryGraph",
|
|
1745
|
-
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
|
|
1746
|
-
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
1747
|
-
"insertTextMode": 2,
|
|
1748
|
-
"insertTextFormat": 2,
|
|
1749
|
-
"kind": 3,
|
|
1750
|
-
"documentation": {
|
|
1751
|
-
"kind": "markdown",
|
|
1752
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nبيت_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________لاحقة.\n\n**معلمات**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - بيت_The knowledge graph to query______________________________لاحقة.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - بيت_The openCypher query to be executed against the knowledge graph_________________________________لاحقة.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - بيت_A dictionary of named query parameters for the openCypher query_________________________________لاحقة. بيت_The parameter names or keys in the dictionary are case-sensitive__________________________________لاحقة. بيت_Parameters accepted depend on the external graph store and can be of type: `Array`, `Date`, `Dictionary`, `Geometry`, `Number, Text`___________________________________________________________________لاحقة\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
1753
|
-
}
|
|
1754
|
-
},
|
|
1755
|
-
"parametersInfo": {
|
|
1756
|
-
"min": 2,
|
|
1757
|
-
"max": 3
|
|
1758
|
-
}
|
|
1759
|
-
}
|
|
1760
|
-
]
|
|
1761
|
-
},
|
|
1762
1706
|
{
|
|
1763
1707
|
"id": "featureset_functions",
|
|
1764
1708
|
"title": "دوال FeatureSet",
|
|
@@ -2269,8 +2213,8 @@
|
|
|
2269
2213
|
"bundle": "data-access",
|
|
2270
2214
|
"sinceVersion": "1.25",
|
|
2271
2215
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
|
|
2272
|
-
"description": "
|
|
2273
|
-
"examples": "\n##### مثال\n\n
|
|
2216
|
+
"description": "يقوم بإنشاء FeatureSet جديد يحتوي على جميع المعالم التي تتطابق مع رمز النوع الفرعي المحدد.",
|
|
2217
|
+
"examples": "\n##### مثال\n\nتصفية المعالم باستخدام رمز النوع الفرعي\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
|
|
2274
2218
|
"completion": {
|
|
2275
2219
|
"label": "FilterBySubtypeCode",
|
|
2276
2220
|
"detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
|
|
@@ -2280,7 +2224,7 @@
|
|
|
2280
2224
|
"kind": 3,
|
|
2281
2225
|
"documentation": {
|
|
2282
2226
|
"kind": "markdown",
|
|
2283
|
-
"value": "**[إصدار متعدد 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\n
|
|
2227
|
+
"value": "**[إصدار متعدد 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيقوم بإنشاء FeatureSet جديد يحتوي على جميع المعالم التي تتطابق مع رمز النوع الفرعي المحدد.\n\n**معلمات**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet أو الطبقة المراد تصفيتها.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - رمز النوع الفرعي المستخدم لتصفية المعالم في FeatureSet أو في الطبقة.\n\n**إرجاع القيمة**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2284
2228
|
}
|
|
2285
2229
|
},
|
|
2286
2230
|
"parametersInfo": {
|
|
@@ -3230,7 +3174,7 @@
|
|
|
3230
3174
|
"bundle": "core",
|
|
3231
3175
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
3232
3176
|
"description": "طرح التاريخين وإرجاع الفرق بالوحدات المحددة.",
|
|
3233
|
-
"examples": "\n##### أمثلة\n\nطرح التاريخين وإرجاع العمر\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\n
|
|
3177
|
+
"examples": "\n##### أمثلة\n\nطرح التاريخين وإرجاع العمر\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nطرح التاريخين وإرجاع الفرق.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
|
|
3234
3178
|
"completion": {
|
|
3235
3179
|
"label": "DateDiff",
|
|
3236
3180
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -4981,8 +4925,8 @@
|
|
|
4981
4925
|
"bundle": "core",
|
|
4982
4926
|
"sinceVersion": "1.26",
|
|
4983
4927
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
4984
|
-
"description": "
|
|
4985
|
-
"examples": "\n##### أمثلة\n\
|
|
4928
|
+
"description": "إرجاع قيمة افتراضية محددة في حال كان المفتاح في الشكل الهندسي غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.",
|
|
4929
|
+
"examples": "\n##### أمثلة\n\nالنقطة التي تحظى بقيمة z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nالنقطة التي لا تحتوي على قيمة z\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
|
|
4986
4930
|
"completion": {
|
|
4987
4931
|
"label": "DefaultValue",
|
|
4988
4932
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -4992,7 +4936,7 @@
|
|
|
4992
4936
|
"kind": 3,
|
|
4993
4937
|
"documentation": {
|
|
4994
4938
|
"kind": "markdown",
|
|
4995
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
4939
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع قيمة افتراضية محددة في حال كان المفتاح في الشكل الهندسي غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**معلمات**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - الشكل الهندسي المدخل المراد التحقق منه.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المفتاح المراد التحقق منه.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ترجع هذه القيمة إن لم يكن المفتاح موجودًا أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nإرجاع القيمة إلى المفتاح المعين في حال تحديده. وإلا، تعود القيمة محددة في \\\"defaultValue\\\"."
|
|
4996
4940
|
}
|
|
4997
4941
|
},
|
|
4998
4942
|
"parametersInfo": {
|
|
@@ -5005,8 +4949,8 @@
|
|
|
5005
4949
|
"name": "defaultvalue",
|
|
5006
4950
|
"bundle": "core",
|
|
5007
4951
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
5008
|
-
"description": "
|
|
5009
|
-
"examples": "\n##### أمثلة\n\
|
|
4952
|
+
"description": "إرجاع قيمة افتراضية محددة في حال كان مفتاح واحد على الأقل في الخصائص المتداخلة للشكل الهندسي غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.",
|
|
4953
|
+
"examples": "\n##### أمثلة\n\nتوجد حلقة وإحداثية وقيمة x جميعهم ويمتلكون قيمة\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nالحلقة غير موجودة.\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nتوجد حلقة وإحداثية لكن قيمة m غير موجودة\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"m\"], 100)\n// returns 100\n```\n\n",
|
|
5010
4954
|
"completion": {
|
|
5011
4955
|
"label": "DefaultValue",
|
|
5012
4956
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -5016,7 +4960,7 @@
|
|
|
5016
4960
|
"kind": 3,
|
|
5017
4961
|
"documentation": {
|
|
5018
4962
|
"kind": "markdown",
|
|
5019
|
-
"value": "
|
|
4963
|
+
"value": "إرجاع قيمة افتراضية محددة في حال كان مفتاح واحد على الأقل في الخصائص المتداخلة للشكل الهندسي غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**معلمات**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - الشكل الهندسي المدخل المراد التحقق منه.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - مصفوفة المفاتيح أو الفهارس المراد التحقق منها في كل مستوى من مستويات بنية الحاوية.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ترجع هذه القيمة إن لم يكن هناك مفتاحًا أو فهرسًا واحدًا على الأقل أو تكون القيمة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nإرجاع القيمة إلى المفتاح المعين أو الفهرس المعين في حال تحديده. وإلا، تعود القيمة محددة في \\\"defaultValue\\\"."
|
|
5020
4964
|
}
|
|
5021
4965
|
},
|
|
5022
4966
|
"parametersInfo": {
|
|
@@ -5181,8 +5125,8 @@
|
|
|
5181
5125
|
"bundle": "geometry",
|
|
5182
5126
|
"sinceVersion": "1.26",
|
|
5183
5127
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
5184
|
-
"description": "
|
|
5185
|
-
"examples": "\n##### مثال\n\
|
|
5128
|
+
"description": "تنتج إحداثية مع خط إدخال حسب المسافة المحددة. تُراعى كل أجزاء الخط عند محاولة العثور على إحداثية في المسافة المحددة. لا تتضمن المسافة فجوات بين مسارات (أو أجزاء) الخط. إذا كانت المسافة غير موجودة مع خط الإدخال، ستكون النتيجة \\\"فارغة\\\".\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._",
|
|
5129
|
+
"examples": "\n##### مثال\n\nتنتج إحداثية متعدد خطوط الإدخال حسب قيمة المسافة المحددة\n\n```arcade\nvar result = DistanceToCoordinate($feature, 1038);\n\nreturn result.coordinate;\n```\n\n",
|
|
5186
5130
|
"completion": {
|
|
5187
5131
|
"label": "DistanceToCoordinate",
|
|
5188
5132
|
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
@@ -5192,7 +5136,7 @@
|
|
|
5192
5136
|
"kind": 3,
|
|
5193
5137
|
"documentation": {
|
|
5194
5138
|
"kind": "markdown",
|
|
5195
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5139
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتنتج إحداثية مع خط إدخال حسب المسافة المحددة. تُراعى كل أجزاء الخط عند محاولة العثور على إحداثية في المسافة المحددة. لا تتضمن المسافة فجوات بين مسارات (أو أجزاء) الخط. إذا كانت المسافة غير موجودة مع خط الإدخال، ستكون النتيجة \\\"فارغة\\\".\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الخط أو المسار الذي يتم اكتشاف الإحداثية من خلاله. عند استخدام معلم كإدخال، لا بد أن يكون الشكل الهندسي للمعلم متعدد الخطوط.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - تستخدم المسافة للعثور على إحداثية مع \\\"خط إدخال\\\" من بداية الخط. تُراعى كل أجزاء الخط عند محاولة العثور على إحداثية في المسافة المحددة. لا تتضمن المسافة فجوات بين مسارات (أو أجزاء) الخط. \n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية. إذا كانت المسافة غير موجودة مع خط الإدخال، ستكون النتيجة \\\"فارغة\\\".\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - إحداثيات نقطة مع \\\"خط الإدخال\\\" حسب قيمة المسافة المحددة.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - تم قياس المسافة المستوية من بداية \\\"خط الإدخال\\\" مع الخط وحتى \\\"الإحداثية\\\". في الأشكال متعددة الخطوط حيث لا تتصل المسارات، لا تشمل قيمة \\\"distanceAlong\\\" مسافة الفجوات بين نقاط البداية والنهاية للمسارات.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - في حال كان الإدخال متعدد الخطوط، يوجد فهرس المسار الذي تنتمي إليه \\\"الإحداثية\\\".\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - الفهرس (المرتبط بالمسار) لمقطع الخط الذي تنتمي إليه \\\"الإحداثية\\\". إذا كانت \\\"الإحداثية\\\" تمثل نقطة قممية لخط الإدخال، فسينتج \\\"segmentId\\\" فهرس للنقطة القممية السابقة. إذا كانت \\\"الإحداثية\\\" أول نقطة قممية لـ \\\"inputLine\\\"، ستكون إذن قيمة \\\"segmentId\\\" \\\"0\\\"."
|
|
5196
5140
|
}
|
|
5197
5141
|
},
|
|
5198
5142
|
"parametersInfo": {
|
|
@@ -5380,8 +5324,8 @@
|
|
|
5380
5324
|
"bundle": "core",
|
|
5381
5325
|
"sinceVersion": "1.26",
|
|
5382
5326
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
5383
|
-
"description": "
|
|
5384
|
-
"examples": "\n##### أمثلة\n\
|
|
5327
|
+
"description": "يوضح ما إذا كان الشكل الهندسي به قيمة في مفتاح أو فهرس محدد.",
|
|
5328
|
+
"examples": "\n##### أمثلة\n\nالنقطة التي تحظى بقيمة z\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nمضلع بمفتاح غير موجود\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
|
|
5385
5329
|
"completion": {
|
|
5386
5330
|
"label": "HasValue",
|
|
5387
5331
|
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
@@ -5391,7 +5335,7 @@
|
|
|
5391
5335
|
"kind": 3,
|
|
5392
5336
|
"documentation": {
|
|
5393
5337
|
"kind": "markdown",
|
|
5394
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5338
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيوضح ما إذا كان الشكل الهندسي به قيمة في مفتاح أو فهرس محدد.\n\n**معلمات**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - الشكل الهندسي المراد التحقق منه.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المفتاح أو الخاصية المراد التحقق منه/ها.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5395
5339
|
}
|
|
5396
5340
|
},
|
|
5397
5341
|
"parametersInfo": {
|
|
@@ -5405,8 +5349,8 @@
|
|
|
5405
5349
|
"bundle": "core",
|
|
5406
5350
|
"sinceVersion": "1.26",
|
|
5407
5351
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
5408
|
-
"description": "
|
|
5409
|
-
"examples": "\n##### أمثلة\n\
|
|
5352
|
+
"description": "يتحقق ما إذا كانت الخاصية أو الفهرس متداخل في العديد من المستويات في شكل هندسي له قيمة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم في كل مستوى. يعود \\\"صحيح\\\" إذا كانت المفاتيح والفهارس في كل مستوى من مستويات البنية موجودة وتشمل قيمة غير فارغة.",
|
|
5353
|
+
"examples": "\n##### أمثلة\n\nتوجد حلقة وإحداثية وقيمة x جميعهم ويمتلكون قيمة\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nالحلقة غير موجودة.\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nتوجد حلقة وإحداثية لكن قيمة m غير موجودة\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,3,\"m\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[0][3].m;\n // there is a coordinate at this location, but it does not have an m value\n}\n```\n\n",
|
|
5410
5354
|
"completion": {
|
|
5411
5355
|
"label": "HasValue",
|
|
5412
5356
|
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
@@ -5416,7 +5360,7 @@
|
|
|
5416
5360
|
"kind": 3,
|
|
5417
5361
|
"documentation": {
|
|
5418
5362
|
"kind": "markdown",
|
|
5419
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5363
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيتحقق ما إذا كانت الخاصية أو الفهرس متداخل في العديد من المستويات في شكل هندسي له قيمة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم في كل مستوى. يعود \\\"صحيح\\\" إذا كانت المفاتيح والفهارس في كل مستوى من مستويات البنية موجودة وتشمل قيمة غير فارغة.\n\n**معلمات**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - القاموس أو المعلم المراد التحقق منه.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - مصفوفة المفاتيح أو الفهارس المراد التحقق منها في كل مستوى من مستويات البنية.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
5420
5364
|
}
|
|
5421
5365
|
},
|
|
5422
5366
|
"parametersInfo": {
|
|
@@ -5606,8 +5550,8 @@
|
|
|
5606
5550
|
"bundle": "geometry",
|
|
5607
5551
|
"sinceVersion": "1.26",
|
|
5608
5552
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
5609
|
-
"description": "
|
|
5610
|
-
"examples": "\n##### مثال\n\
|
|
5553
|
+
"description": "تنتج الإحداثية الأولى مع خط إدخال حسب القياس المحدد أو قيمة m. إذا كان القياس غير موجود مع خط الإدخال، ستكون النتيجة \\\"فارغة\\\". تُراعى كل أجزاء الخط عند محاولة العثور على إحداثية في القياس المحدد. لا يتضمن القياس فجوات بين مسارات (أو أجزاء) الخط.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._",
|
|
5554
|
+
"examples": "\n##### مثال\n\nتنتج إحداثية متعدد خطوط الإدخال حسب قيمة القياس المحدد\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
|
|
5611
5555
|
"completion": {
|
|
5612
5556
|
"label": "MeasureToCoordinate",
|
|
5613
5557
|
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
@@ -5617,7 +5561,7 @@
|
|
|
5617
5561
|
"kind": 3,
|
|
5618
5562
|
"documentation": {
|
|
5619
5563
|
"kind": "markdown",
|
|
5620
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5564
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتنتج الإحداثية الأولى مع خط إدخال حسب القياس المحدد أو قيمة m. إذا كان القياس غير موجود مع خط الإدخال، ستكون النتيجة \\\"فارغة\\\". تُراعى كل أجزاء الخط عند محاولة العثور على إحداثية في القياس المحدد. لا يتضمن القياس فجوات بين مسارات (أو أجزاء) الخط.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الخط أو المسار الذي يتم اكتشاف الإحداثية من خلاله. يجب أن يكون لدى خط الإدخال \\\"hasM\\\" يساوي \\\"صحيح\\\". إذا كان \\\"hasM\\\" خاطئًا، فستكون النتيجة \\\"فارغ\\\". عند استخدام معلم كإدخال، لا بد أن يكون الشكل الهندسي للمعلم متعدد الخطوط.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - القياس أو قيمة m التي يمكن من خلالها العثور على إحداثية مع \\\"inputLine\\\" من بداية الخط. تُراعى كل أجزاء الخط عند محاولة العثور على إحداثية في القياس المحدد. لا يتضمن القياس فجوات بين مسارات (أو أجزاء) الخط.\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية. إذا كان القياس غير موجود مع خط الإدخال، ستكون النتيجة \\\"فارغة\\\".\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - الإحداثية الأولى لنقطة مع \\\"inputLine\\\" حسب قيمة القياس المحدد.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - تم قياس المسافة المستوية من بداية \\\"خط الإدخال\\\" مع الخط وحتى \\\"الإحداثية\\\". في الأشكال متعددة الخطوط حيث لا تتصل المسارات، لا تشمل قيمة \\\"distanceAlong\\\" مسافة الفجوات بين نقاط البداية والنهاية للمسارات.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - في حال كان الإدخال متعدد الخطوط، يوجد فهرس المسار الذي تنتمي إليه \\\"الإحداثية\\\".\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - الفهرس (المرتبط بالمسار) لمقطع الخط الذي تنتمي إليه \\\"الإحداثية\\\". إذا كانت \\\"الإحداثية\\\" تمثل نقطة قممية لخط الإدخال، فسينتج \\\"segmentId\\\" فهرس للنقطة القممية السابقة. إذا كانت \\\"الإحداثية\\\" أول نقطة قممية لـ \\\"inputLine\\\"، ستكون إذن قيمة \\\"segmentId\\\" \\\"0\\\"."
|
|
5621
5565
|
}
|
|
5622
5566
|
},
|
|
5623
5567
|
"parametersInfo": {
|
|
@@ -5741,7 +5685,7 @@
|
|
|
5741
5685
|
"kind": 3,
|
|
5742
5686
|
"documentation": {
|
|
5743
5687
|
"kind": "markdown",
|
|
5744
|
-
"value": "**[إصدار متعدد 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nترجع أقرب إحداثي (وليس قمة) للشكل الهندسي المدخل إلى نقطة البحث. يتضمن القاموس الذي تم إرجاعه أيضًا أقصر مسافة مستوية من نقطة البحث إلى أقرب إحداثي. إذا تقاطعت نقطة البحث مع الشكل الهندسي المدخل، فسيتم إرجاع نقطة البحث كنتيجة بمسافة صفر.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الشكل الهندسي الذي يتم من خلاله الحصول على أقرب إحداثي.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - النقطة التي يتم من خلالها العثور على أقرب إحداثي \\\"inputGeometry\\\".\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - أقرب إحداثيات من \\\"inputGeometry\\\" إلى \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المسافة المستوية من أقرب إحداثي إلى \\\"searchPoint\\\". يمثل هذا أقصر مسافة بين \\\"inputGeometry\\\" و \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
5688
|
+
"value": "**[إصدار متعدد 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nترجع أقرب إحداثي (وليس قمة) للشكل الهندسي المدخل إلى نقطة البحث. يتضمن القاموس الذي تم إرجاعه أيضًا أقصر مسافة مستوية من نقطة البحث إلى أقرب إحداثي. إذا تقاطعت نقطة البحث مع الشكل الهندسي المدخل، فسيتم إرجاع نقطة البحث كنتيجة بمسافة صفر.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الشكل الهندسي الذي يتم من خلاله الحصول على أقرب إحداثي.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - النقطة التي يتم من خلالها العثور على أقرب إحداثي \\\"inputGeometry\\\".\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - أقرب إحداثيات من \\\"inputGeometry\\\" إلى \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المسافة المستوية من أقرب إحداثي إلى \\\"searchPoint\\\". يمثل هذا أقصر مسافة بين \\\"inputGeometry\\\" و \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - العلاقة المكانية بين \\\"نقطة البحث\\\" ومقطع \\\"الشكل الهندسي للإدخال\\\" تؤدي إلى أقرب إحداثية. القيم المحتملة: \n\n\\\"يسار\\\" - توجد \\\"نقطة البحث\\\" على الجانب الأيسر من \\\"الشكل الهندسي للإدخال\\\".\n\n\\\"يمين\\\" - توجد \\\"نقطة البحث\\\" على الجانب الأيمن من \\\"الشكل الهندسي للإدخال\\\".\n\n\\\"مزدوج\\\" - توجد \\\"نقطة البحث\\\" على الجانبين أو أعلى \\\"الشكل الهندسي للإدخال\\\"."
|
|
5745
5689
|
}
|
|
5746
5690
|
},
|
|
5747
5691
|
"parametersInfo": {
|
|
@@ -5766,7 +5710,7 @@
|
|
|
5766
5710
|
"kind": 3,
|
|
5767
5711
|
"documentation": {
|
|
5768
5712
|
"kind": "markdown",
|
|
5769
|
-
"value": "**[إصدار متعدد 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتُرجع أقرب قمة الشكل الهندسي المدخل إلى نقطة البحث. يتضمن القاموس الذي تم إرجاعه المسافة المستوية من نقطة البحث إلى أقرب قمة.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الشكل الهندسي الذي يتم من خلاله الحصول على أقرب قمة.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - النقطة التي يتم من خلالها العثور على أقرب قمة لـ \\\"inputGeometry\\\".\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - موقع النقطة الذي يمثل أقرب قمة من \\\"inputGeometry\\\" إلى \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المسافة المستوية من أقرب قمة للشكل الهندسي المدخل إلى \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
5713
|
+
"value": "**[إصدار متعدد 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتُرجع أقرب قمة الشكل الهندسي المدخل إلى نقطة البحث. يتضمن القاموس الذي تم إرجاعه المسافة المستوية من نقطة البحث إلى أقرب قمة.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الشكل الهندسي الذي يتم من خلاله الحصول على أقرب قمة.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - النقطة التي يتم من خلالها العثور على أقرب قمة لـ \\\"inputGeometry\\\".\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - موقع النقطة الذي يمثل أقرب قمة من \\\"inputGeometry\\\" إلى \\\"searchPoint\\\".\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المسافة المستوية من أقرب قمة للشكل الهندسي المدخل إلى \\\"searchPoint\\\".\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - العلاقة المكانية بين \\\"نقطة البحث\\\" ومقطع \\\"الشكل الهندسي للإدخال\\\" تؤدي إلى أقرب نقطة قممية. القيم المحتملة: \n\n\\\"يسار\\\" - توجد \\\"نقطة البحث\\\" على الجانب الأيسر من \\\"الشكل الهندسي للإدخال\\\".\n\n\\\"يمين\\\" - توجد \\\"نقطة البحث\\\" على الجانب الأيمن من \\\"الشكل الهندسي للإدخال\\\".\n\n\\\"مزدوج\\\" - توجد \\\"نقطة البحث\\\" على الجانبين أو أعلى \\\"الشكل الهندسي للإدخال\\\"."
|
|
5770
5714
|
}
|
|
5771
5715
|
},
|
|
5772
5716
|
"parametersInfo": {
|
|
@@ -5880,8 +5824,8 @@
|
|
|
5880
5824
|
"bundle": "geometry",
|
|
5881
5825
|
"sinceVersion": "1.26",
|
|
5882
5826
|
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
5883
|
-
"description": "
|
|
5884
|
-
"examples": "\n##### مثال\n\
|
|
5827
|
+
"description": "تعيد أقرب إحداثية ومسافة إلى تلك الإحداثية الخاصة بنقطة البحث إلى خط الإدخال.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._",
|
|
5828
|
+
"examples": "\n##### مثال\n\nتنتج المسافة لأقرب إحداثية مع إدخال متعدد الخطوط حسب الموقع المحدد لفتح نافذة منبثقة\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
|
|
5885
5829
|
"completion": {
|
|
5886
5830
|
"label": "PointToCoordinate",
|
|
5887
5831
|
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
@@ -5891,7 +5835,7 @@
|
|
|
5891
5835
|
"kind": 3,
|
|
5892
5836
|
"documentation": {
|
|
5893
5837
|
"kind": "markdown",
|
|
5894
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
5838
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتعيد أقرب إحداثية ومسافة إلى تلك الإحداثية الخاصة بنقطة البحث إلى خط الإدخال.\n\n_أشكال Feature الهندسية في التصور وملفات تعريف التسمية يتم تعميمها وفقًا لدقة مقياس العرض لتحسين أداء الرسم. لذلك، فإن استخدام الشكل الهندسي للمعلم (أي `$feature`) كمدخلات لأي دالة شكل هندسي في هذه السياقات سيرجع نتائج مختلفة على كل مستوى مقياس. ملفات التعريف الأخرى، مثل النافذة المنبثقة، توفر شكل هندسي كامل الدقة._\n\n**معلمات**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - الخط أو المسار الذي يتم من خلاله الحصول على أقرب إحداثية. عند استخدام معلم كإدخال، لا بد أن يكون الشكل الهندسي للمعلم متعدد الخطوط.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - النقطة التي يتم من خلالها العثور على أقرب إحداثية \\\"لخط الإدخال\\\".\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس بالخصائص التالية.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - نقطة الإحداثية التي تمثل أقرب إحداثية مع \\\"inputLine\\\" لـ \\\"searchPoint\\\". إذا كان \\\"hasZ\\\" خطأ في \\\"searchPoint\\\"، سيطبق البحث في إحداثيات x/y وتكون قيمة z مستوفاة.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المسافة المستوية من \\\"searchPoint\\\" إلى \\\"الإحداثية\\\".\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - تم قياس المسافة المستوية من بداية \\\"خط الإدخال\\\" مع الخط وحتى \\\"الإحداثية\\\". في الأشكال متعددة الخطوط حيث لا تتصل المسارات، لا تشمل قيمة \\\"distanceAlong\\\" مسافة الفجوات بين نقاط البداية والنهاية للمسارات.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - في حال كان الإدخال متعدد الخطوط، يوجد فهرس المسار الذي تنتمي إليه \\\"الإحداثية\\\".\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - الفهرس (المرتبط بالمسار) لمقطع الخط الذي تنتمي إليه \\\"الإحداثية\\\". إذا كانت \\\"الإحداثية\\\" تمثل نقطة قممية لخط الإدخال، فسينتج \\\"segmentId\\\" فهرس للنقطة القممية السابقة. إذا كانت \\\"الإحداثية\\\" أول نقطة قممية لـ \\\"inputLine\\\"، ستكون إذن قيمة \\\"segmentId\\\" \\\"0\\\"."
|
|
5895
5839
|
}
|
|
5896
5840
|
},
|
|
5897
5841
|
"parametersInfo": {
|
|
@@ -6312,8 +6256,8 @@
|
|
|
6312
6256
|
"bundle": "core",
|
|
6313
6257
|
"sinceVersion": "1.26",
|
|
6314
6258
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
6315
|
-
"description": "
|
|
6316
|
-
"examples": "\n##### أمثلة\n\
|
|
6259
|
+
"description": "إرجاع قيمة افتراضية محددة في حال كان المفتاح في القاموس غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.",
|
|
6260
|
+
"examples": "\n##### أمثلة\n\nينتج عن DefaultValue قيمة محددة\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is defined, so it is returned\n// returns Jan 24, 2024, 12:00:00 PM system time\n```\n\nينتج عن DefaultValue قيمة افتراضية إذا لم تكن هناك قيمة في المفتاح المحدد.\n\n```arcade\nvar data = {\n time: '',\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is empty, so the default is returned\n// returns \"No time logged\"\n```\n\nينتج عن DefaultValue قيمة افتراضية إذا كان المفتاح غير موجود.\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
|
|
6317
6261
|
"completion": {
|
|
6318
6262
|
"label": "DefaultValue",
|
|
6319
6263
|
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
@@ -6323,7 +6267,7 @@
|
|
|
6323
6267
|
"kind": 3,
|
|
6324
6268
|
"documentation": {
|
|
6325
6269
|
"kind": "markdown",
|
|
6326
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6270
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع قيمة افتراضية محددة في حال كان المفتاح في القاموس غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**معلمات**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - القاموس أو المرفق المراد التحقق منه.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المفتاح المراد التحقق منه.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ترجع هذه القيمة إن لم يكن المفتاح موجودًا أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nإرجاع القيمة إلى المفتاح المعين في حال تحديده. وإلا، ترجع القيمة محددة في \\\"defaultValue\\\"."
|
|
6327
6271
|
}
|
|
6328
6272
|
},
|
|
6329
6273
|
"parametersInfo": {
|
|
@@ -6336,8 +6280,8 @@
|
|
|
6336
6280
|
"name": "defaultvalue",
|
|
6337
6281
|
"bundle": "core",
|
|
6338
6282
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
6339
|
-
"description": "
|
|
6340
|
-
"examples": "\n##### أمثلة\n\
|
|
6283
|
+
"description": "إرجاع قيمة افتراضية محددة في حال كان مفتاح واحد على الأقل في قاموس متداخل غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.",
|
|
6284
|
+
"examples": "\n##### أمثلة\n\nينتج عن DefaultValue قيمة محددة\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], \"No time logged\")\n// value of data.weather.precipitation.value is defined, so it is returned\n// returns 0.4\n```\n\nينتج عن DefaultValue قيمة افتراضية إذا لم تكن هناك قيمة في المفتاح المحدد.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], 0)\n// value of data.weather.precipitation.value is null, so the default is returned\n// returns 0\n```\n\nينتج عن DefaultValue قيمة افتراضية إذا كان المفتاح غير موجود.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"wind\", \"value\"], \"n/a\")\n// the data.weather.wind key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\nتحقق من القيمة الفارغة في مصفوفة داخل قاموس مع مفتاح موجود\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
|
|
6341
6285
|
"completion": {
|
|
6342
6286
|
"label": "DefaultValue",
|
|
6343
6287
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -6347,7 +6291,7 @@
|
|
|
6347
6291
|
"kind": 3,
|
|
6348
6292
|
"documentation": {
|
|
6349
6293
|
"kind": "markdown",
|
|
6350
|
-
"value": "
|
|
6294
|
+
"value": "إرجاع قيمة افتراضية محددة في حال كان مفتاح واحد على الأقل في قاموس متداخل غير موجود أو كانت القيمة الموجودة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**معلمات**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - القاموس أو المرفق المراد التحقق منه.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - مصفوفة المفاتيح أو الفهارس المراد التحقق منها في كل مستوى من مستويات بنية الحاوية.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ترجع هذه القيمة إن لم يكن هناك مفتاحًا أو فهرسًا واحدًا على الأقل أو تكون القيمة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nإرجاع القيمة إلى المفتاح المعين أو الفهرس المعين في حال تحديده. وإلا، تعود القيمة محددة في \\\"defaultValue\\\"."
|
|
6351
6295
|
}
|
|
6352
6296
|
},
|
|
6353
6297
|
"parametersInfo": {
|
|
@@ -6538,8 +6482,8 @@
|
|
|
6538
6482
|
"bundle": "core",
|
|
6539
6483
|
"sinceVersion": "1.20",
|
|
6540
6484
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
6541
|
-
"description": "
|
|
6542
|
-
"examples": "\n##### أمثلة\n\
|
|
6485
|
+
"description": "يشير إلى ما إذا كان القاموس يحتوي على مفتاح معين وما إذا كان لهذا المفتاح قيمة.",
|
|
6486
|
+
"examples": "\n##### أمثلة\n\nقاموس مع مفتاح له قيمة\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nقاموس مع مفتاح ليس له قيمة\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nقاموس بدون المفتاح المقدم\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nقاموس بدون المفتاح المقدم\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
|
|
6543
6487
|
"completion": {
|
|
6544
6488
|
"label": "HasValue",
|
|
6545
6489
|
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
@@ -6549,7 +6493,7 @@
|
|
|
6549
6493
|
"kind": 3,
|
|
6550
6494
|
"documentation": {
|
|
6551
6495
|
"kind": "markdown",
|
|
6552
|
-
"value": "**[إصدار متعدد 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6496
|
+
"value": "**[إصدار متعدد 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيشير إلى ما إذا كان القاموس يحتوي على مفتاح معين وما إذا كان لهذا المفتاح قيمة.\n\n**معلمات**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - القاموس أو المرفق المراد التحقق منه.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المفتاح أو اسم الحقل المراد فحصه.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6553
6497
|
}
|
|
6554
6498
|
},
|
|
6555
6499
|
"parametersInfo": {
|
|
@@ -6563,8 +6507,8 @@
|
|
|
6563
6507
|
"bundle": "core",
|
|
6564
6508
|
"sinceVersion": "1.26",
|
|
6565
6509
|
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
6566
|
-
"description": "
|
|
6567
|
-
"examples": "\n##### أمثلة\n\
|
|
6510
|
+
"description": "تحقق ما إذا كانت الخاصية متداخلة في العديد من المستويات في قاموس يتضمن قيمة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم في كل مستوى. يعود \\\"صحيح\\\" إذا كانت المفاتيح والفهارس في كل مستوى من مستويات البنية موجودة وتشمل قيمة غير فارغة.",
|
|
6511
|
+
"examples": "\n##### أمثلة\n\nتحقق من قاموس بمفتاح يحتوي على قيمة متداخلة\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"value\"])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.value;\n}\n```\n\nتحقق من القيمة في قاموس بمفتاح غير موجود\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 0])){\n // if() evaluates to false (\"values\" does not exist), thus avoiding the block\n return data.weather.precipitation.values;\n}\n```\n\nتحقق من القيمة في مصفوفة داخل قاموس مع مفتاح موجود\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
|
|
6568
6512
|
"completion": {
|
|
6569
6513
|
"label": "HasValue",
|
|
6570
6514
|
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
@@ -6574,7 +6518,7 @@
|
|
|
6574
6518
|
"kind": 3,
|
|
6575
6519
|
"documentation": {
|
|
6576
6520
|
"kind": "markdown",
|
|
6577
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6521
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتحقق ما إذا كانت الخاصية متداخلة في العديد من المستويات في قاموس يتضمن قيمة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم في كل مستوى. يعود \\\"صحيح\\\" إذا كانت المفاتيح والفهارس في كل مستوى من مستويات البنية موجودة وتشمل قيمة غير فارغة.\n\n**معلمات**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment) - القاموس أو المرفق المراد التحقق منه.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - مصفوفة المفاتيح أو الفهارس المراد التحقق منها في كل مستوى من مستويات البنية.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6578
6522
|
}
|
|
6579
6523
|
},
|
|
6580
6524
|
"parametersInfo": {
|
|
@@ -6778,8 +6722,8 @@
|
|
|
6778
6722
|
"bundle": "core",
|
|
6779
6723
|
"sinceVersion": "1.26",
|
|
6780
6724
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
|
|
6781
|
-
"description": "
|
|
6782
|
-
"examples": "\n##### أمثلة\n\
|
|
6725
|
+
"description": "إرجاع قيمة افتراضية محددة ةفي حال كان الفهرس في مصفوفة غير موجودة كانت القيمة الموجودة في الفهرس المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.",
|
|
6726
|
+
"examples": "\n##### أمثلة\n\nمصفوفة ذات قيمة في فهرس معين\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nمصفوفة من دون قيمة في فهرس معين\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nمصفوفة ذات قيمة فارغة في فهرس معين\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
|
|
6783
6727
|
"completion": {
|
|
6784
6728
|
"label": "DefaultValue",
|
|
6785
6729
|
"detail": "DefaultValue(container, index, defaultValue) -> Any",
|
|
@@ -6789,7 +6733,7 @@
|
|
|
6789
6733
|
"kind": 3,
|
|
6790
6734
|
"documentation": {
|
|
6791
6735
|
"kind": "markdown",
|
|
6792
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6736
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع قيمة افتراضية محددة ةفي حال كان الفهرس في مصفوفة غير موجودة كانت القيمة الموجودة في الفهرس المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**معلمات**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - مصفوفة الإدخال المراد التحقق منها.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - الفهرس المراد التحقق منه.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ترجع القيمة إن لم يكن الالفهرس موجودًا أو كانت القيمة الموجودة في الفهرس المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nإرجاع القيمة إلى الفهرس المعين في حال تحديده. وإلا، تعود القيمة محددة في \\\"defaultValue\\\"."
|
|
6793
6737
|
}
|
|
6794
6738
|
},
|
|
6795
6739
|
"parametersInfo": {
|
|
@@ -6802,8 +6746,8 @@
|
|
|
6802
6746
|
"name": "defaultvalue",
|
|
6803
6747
|
"bundle": "core",
|
|
6804
6748
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
|
|
6805
|
-
"description": "
|
|
6806
|
-
"examples": "\n##### أمثلة\n\
|
|
6749
|
+
"description": "يتحقق ما إذا كان الفهرس المتداخل بمستويات عميقة متعددة في مصفوفة متعددة الأبعاد يمتلك قيمة ويعيد هذه القيمة إذا كانت موجودة. وبخلاف ذلك، تعيد هذه الدالة قيمة افتراضية محددة إذا لم يوجد مفتاح متداخل واحد أو فهرس على الأقل أو كانت القيمة الموجودة في المفتاح المحدد أو الفهرس المحدد \\\"فارغة\\\" أو قيمة نصية فارغة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم داخل كل مصفوفة.",
|
|
6750
|
+
"examples": "\n##### أمثلة\n\nمصفوفة ذات قيمة في فهرس متداخل\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 3], \"No data\");\n// returns 1\n```\n\nمصفوفة من دون قيمة في فهرس متداخل\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 10], \"No data\");\n// returns \"No data\"\n```\n\nمصفوفة من دون قيمة في فهرس أصلي\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nمجموعة من القواميس بقيم متداخلة\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nDefaultValue(a, [0, \"weather\",\"precipitation\",\"values\", 6], \"No data\");\n// returns 1\n```\n\n",
|
|
6807
6751
|
"completion": {
|
|
6808
6752
|
"label": "DefaultValue",
|
|
6809
6753
|
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
@@ -6813,7 +6757,7 @@
|
|
|
6813
6757
|
"kind": 3,
|
|
6814
6758
|
"documentation": {
|
|
6815
6759
|
"kind": "markdown",
|
|
6816
|
-
"value": "
|
|
6760
|
+
"value": "يتحقق ما إذا كان الفهرس المتداخل بمستويات عميقة متعددة في مصفوفة متعددة الأبعاد يمتلك قيمة ويعيد هذه القيمة إذا كانت موجودة. وبخلاف ذلك، تعيد هذه الدالة قيمة افتراضية محددة إذا لم يوجد مفتاح متداخل واحد أو فهرس على الأقل أو كانت القيمة الموجودة في المفتاح المحدد أو الفهرس المحدد \\\"فارغة\\\" أو قيمة نصية فارغة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم داخل كل مصفوفة.\n\n**معلمات**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - مصفوفة الإدخال المراد التحقق منها.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - مصفوفة المفاتيح أو الفهارس المراد التحقق منها في كل مستوى من مستويات بنية الحاوية.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - ترجع هذه القيمة إن لم يكن هناك مفتاحًا أو فهرسًا واحدًا على الأقل أو تكون القيمة في المفتاح المحدد \\\"فارغة\\\" أو قيمة نصية فارغة.\n\n**إرجاع القيمة**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nإرجاع القيمة إلى المفتاح المعين أو الفهرس المعين في حال تحديده. وإلا، تعود القيمة محددة في \\\"defaultValue\\\"."
|
|
6817
6761
|
}
|
|
6818
6762
|
},
|
|
6819
6763
|
"parametersInfo": {
|
|
@@ -6980,8 +6924,8 @@
|
|
|
6980
6924
|
"bundle": "core",
|
|
6981
6925
|
"sinceVersion": "1.26",
|
|
6982
6926
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
|
|
6983
|
-
"description": "
|
|
6984
|
-
"examples": "\n##### أمثلة\n\
|
|
6927
|
+
"description": "يشير ما إذا كانت المصفوفة ذات قيمة في الفهرس المعين.",
|
|
6928
|
+
"examples": "\n##### أمثلة\n\nمصفوفة ذات قيمة في فهرس معين\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nمصفوفة من دون قيمة في فهرس معين\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nمصفوفة ذات قيمة فارغة في فهرس معين\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
|
|
6985
6929
|
"completion": {
|
|
6986
6930
|
"label": "HasValue",
|
|
6987
6931
|
"detail": "HasValue(inputArray, index) -> Boolean",
|
|
@@ -6991,7 +6935,7 @@
|
|
|
6991
6935
|
"kind": 3,
|
|
6992
6936
|
"documentation": {
|
|
6993
6937
|
"kind": "markdown",
|
|
6994
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6938
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيشير ما إذا كانت المصفوفة ذات قيمة في الفهرس المعين.\n\n**معلمات**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - المصفوفة المراد التحقق منها.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - الفهرس المراد التحقق منه.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
6995
6939
|
}
|
|
6996
6940
|
},
|
|
6997
6941
|
"parametersInfo": {
|
|
@@ -7005,8 +6949,8 @@
|
|
|
7005
6949
|
"bundle": "core",
|
|
7006
6950
|
"sinceVersion": "1.26",
|
|
7007
6951
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
|
|
7008
|
-
"description": "
|
|
7009
|
-
"examples": "\n##### أمثلة\n\
|
|
6952
|
+
"description": "يتحقق ما إذا كان الفهرس المتداخل بمستويات عميقة متعددة في مصفوفة متعددة الأبعاد يمتلك قيمة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم داخل كل مصفوفة. يعود \\\"صحيح\\\" إذا كانت الفهارس في كل مستوى من مستويات البنية موجودة وتشمل قيمة غير فارغة.",
|
|
6953
|
+
"examples": "\n##### أمثلة\n\nمصفوفة ذات قيمة في فهرس متداخل\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nمصفوفة من دون قيمة في فهرس متداخل\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nمصفوفة من دون قيمة في فهرس أصلي\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nمجموعة من القواميس بقيم متداخلة\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nif(HasValue(a, [0, \"weather\",\"precipitation\",\"values\", 6])){\n // This check succeeds so the value will be returned\n return a[0].weather.precipitation.values[6];\n // returns 1\n}\n```\n\n",
|
|
7010
6954
|
"completion": {
|
|
7011
6955
|
"label": "HasValue",
|
|
7012
6956
|
"detail": "HasValue(inputArray, indexes) -> Boolean",
|
|
@@ -7016,7 +6960,7 @@
|
|
|
7016
6960
|
"kind": 3,
|
|
7017
6961
|
"documentation": {
|
|
7018
6962
|
"kind": "markdown",
|
|
7019
|
-
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
6963
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيتحقق ما إذا كان الفهرس المتداخل بمستويات عميقة متعددة في مصفوفة متعددة الأبعاد يمتلك قيمة. ويتيح ذلك التدريب على بنية متداخلة في خطوة واحدة بدلاً من التحقق من القيم داخل كل مصفوفة. يعود \\\"صحيح\\\" إذا كانت الفهارس في كل مستوى من مستويات البنية موجودة وتشمل قيمة غير فارغة.\n\n**معلمات**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - المصفوفة المراد التحقق منها.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - مصفوفة المفاتيح أو الفهارس المراد التحقق منها في كل مستوى من مستويات البنية.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
7020
6964
|
}
|
|
7021
6965
|
},
|
|
7022
6966
|
"parametersInfo": {
|
|
@@ -7410,7 +7354,7 @@
|
|
|
7410
7354
|
"sinceVersion": "1.7",
|
|
7411
7355
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#domaincode",
|
|
7412
7356
|
"description": "يرجع رمز وصف نطاق مُقترن في معلم.",
|
|
7413
|
-
"examples": "\n##### مثال\n\nطباعة
|
|
7357
|
+
"examples": "\n##### مثال\n\nطباعة رمز النطاق للحقل المسند.\n\n```arcade\nDomainCode($feature, 'Enabled', 'True')\n```\n\n",
|
|
7414
7358
|
"completion": {
|
|
7415
7359
|
"label": "DomainCode",
|
|
7416
7360
|
"detail": "DomainCode(inputFeature, fieldName, value?, subtype?) -> Number,Text",
|
|
@@ -7633,8 +7577,8 @@
|
|
|
7633
7577
|
"bundle": "core",
|
|
7634
7578
|
"sinceVersion": "1.20",
|
|
7635
7579
|
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
7636
|
-
"description": "
|
|
7637
|
-
"examples": "\n##### مثال\n\
|
|
7580
|
+
"description": "يوضح ما إذا كان المعلم يشمل حقل محدد وإذا كان هذا الحقل له قيمة.",
|
|
7581
|
+
"examples": "\n##### مثال\n\nيرجع خاطئًا إذا كانت البيانات الجدولية للمعلم غير موجودة أو كانت فارغة.\n\n```arcade\nif(HasValue($feature, \"population\")){\n return $feature.population / AreaGeodetic($feature)\n}\n// Returns the population density if population is available\n```\n\n",
|
|
7638
7582
|
"completion": {
|
|
7639
7583
|
"label": "HasValue",
|
|
7640
7584
|
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
@@ -7644,7 +7588,7 @@
|
|
|
7644
7588
|
"kind": 3,
|
|
7645
7589
|
"documentation": {
|
|
7646
7590
|
"kind": "markdown",
|
|
7647
|
-
"value": "**[إصدار متعدد 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\
|
|
7591
|
+
"value": "**[إصدار متعدد 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nيوضح ما إذا كان المعلم يشمل حقل محدد وإذا كان هذا الحقل له قيمة.\n\n**معلمات**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - المعلم المراد التحقق منه.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - اسم الحقل المراد التحقق منه.\n\n**إرجاع القيمة**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
7648
7592
|
}
|
|
7649
7593
|
},
|
|
7650
7594
|
"parametersInfo": {
|
|
@@ -7753,5 +7697,61 @@
|
|
|
7753
7697
|
}
|
|
7754
7698
|
}
|
|
7755
7699
|
]
|
|
7700
|
+
},
|
|
7701
|
+
{
|
|
7702
|
+
"id": "knowledge-graph_functions",
|
|
7703
|
+
"title": "دوال رسم المعرفة البياني",
|
|
7704
|
+
"items": [
|
|
7705
|
+
{
|
|
7706
|
+
"type": "function",
|
|
7707
|
+
"name": "knowledgegraphbyportalitem",
|
|
7708
|
+
"bundle": "knowledge-graph",
|
|
7709
|
+
"sinceVersion": "1.26",
|
|
7710
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#knowledgegraphbyportalitem",
|
|
7711
|
+
"description": "إرجاع رسم المعرفة البياني من عنصر البوابة.",
|
|
7712
|
+
"examples": "\n##### مثال\n\nإرجاع رسم المعرفة البياني من عنصر البوابة.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
7713
|
+
"completion": {
|
|
7714
|
+
"label": "KnowledgeGraphByPortalItem",
|
|
7715
|
+
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
7716
|
+
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
7717
|
+
"insertTextMode": 2,
|
|
7718
|
+
"insertTextFormat": 2,
|
|
7719
|
+
"kind": 3,
|
|
7720
|
+
"documentation": {
|
|
7721
|
+
"kind": "markdown",
|
|
7722
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nإرجاع رسم المعرفة البياني من عنصر البوابة.\n\n**معلمات**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - البوابة التي يمكن من خلالها الاستعلام عن المعالم.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المعرف الفريد العالمي لعنصر البوابة الذي يشير إلى خدمة رسم معرفة بياني. _هذه القيمة يجب أن تكون بيانات حرفية لنص._\n\n**إرجاع القيمة**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
7723
|
+
}
|
|
7724
|
+
},
|
|
7725
|
+
"parametersInfo": {
|
|
7726
|
+
"min": 2,
|
|
7727
|
+
"max": 2
|
|
7728
|
+
}
|
|
7729
|
+
},
|
|
7730
|
+
{
|
|
7731
|
+
"type": "function",
|
|
7732
|
+
"name": "querygraph",
|
|
7733
|
+
"bundle": "knowledge-graph",
|
|
7734
|
+
"sinceVersion": "1.26",
|
|
7735
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledge-graph_functions/#querygraph",
|
|
7736
|
+
"description": "الاستعلام عن رسم بياني للمعرفة مع استعلام openCypher وإرجاع مجموعة من الكيانات والعلاقات في رسم بياني إلى جانب خصائصهم.",
|
|
7737
|
+
"examples": "\n##### أمثلة\n\nالاستعلام عن رسم بياني للمعرفة لمعلومات حول كيانات \\\"ألطالب\\\" التي تتضمنها.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = \"Eastside Elementary\"\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\nالاستعلام عن رسم بياني للمعرفة باستخدام معلمات الربط.\n\n```arcade\n// searches for entities with a `name` property that matches the given string in the query parameters\n// OR falls within the given geom bounding box\n// query returns both the supplier and the part that it buys\nvar query = `MATCH (s:Supplier)-[:buys_part]-(p:Part)\n WHERE s.name=$name OR esri.graph.ST_Intersects($geom, s.geometry)\n RETURN s,p`;\n \n var results = QueryGraph(\n $graph,\n query,\n {\n \"name\": \"Supplier 1\",\n \"geom\": Polygon({\n rings: [[\n [38,-78],\n [39,-79],\n [39,-76],\n [-38,-76],\n [-38,-78]\n ]]\n })\n }\n );\n```\n\n",
|
|
7738
|
+
"completion": {
|
|
7739
|
+
"label": "QueryGraph",
|
|
7740
|
+
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Array",
|
|
7741
|
+
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
7742
|
+
"insertTextMode": 2,
|
|
7743
|
+
"insertTextFormat": 2,
|
|
7744
|
+
"kind": 3,
|
|
7745
|
+
"documentation": {
|
|
7746
|
+
"kind": "markdown",
|
|
7747
|
+
"value": "**[إصدار متعدد 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nالاستعلام عن رسم بياني للمعرفة مع استعلام openCypher وإرجاع مجموعة من الكيانات والعلاقات في رسم بياني إلى جانب خصائصهم.\n\n**معلمات**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - رسم المعرفة البيانات المطلوب الاستعلام عنه.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - يُنفذ استعلام openCypher مقابل الرسم البياني للمعرفة.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - قاموس بمعلمات الاستعلام المسماة لاستعلام openCypher. مفاتيح أو أسماء المعلمة في القاموس حساسة لحالة الأحرف. تعتمد المعلمات المقبولة على مخزن الرسم البياني الخارجي ويمكن أن تكون من نوع \\\"مصفوفة\\\" أو \\\"تاريخ\\\" أو \\\"قاموس\\\" أو \\\"شكل هندسي\\\" أو \\\"رقم\\\" أو \\\"نص\\\"\n\n**إرجاع القيمة**: Array"
|
|
7748
|
+
}
|
|
7749
|
+
},
|
|
7750
|
+
"parametersInfo": {
|
|
7751
|
+
"min": 2,
|
|
7752
|
+
"max": 3
|
|
7753
|
+
}
|
|
7754
|
+
}
|
|
7755
|
+
]
|
|
7756
7756
|
}
|
|
7757
7757
|
]
|