@arcgis/coding-components 4.28.0-beta.10 → 4.28.0-beta.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +51 -52
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +9 -10
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +19 -19
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-acbdd63d.entry.js → p-0058a559.entry.js} +1 -1
- package/dist/arcgis-coding-components/{p-d4923085.js → p-0a1c12bc.js} +1 -1
- package/dist/arcgis-coding-components/p-23a9d01f.js +62 -0
- package/dist/arcgis-coding-components/{p-c4665951.js → p-833d7d5d.js} +1 -1
- package/dist/arcgis-coding-components/{p-8ffe58f2.js → p-86c7337f.js} +2 -2
- package/dist/arcgis-coding-components/{p-358ed87a.js → p-b98f37e4.js} +1 -1
- package/dist/arcgis-coding-components/{p-c1ebad13.js → p-d0a7fde3.js} +1 -1
- package/dist/arcgis-coding-components/{p-30774b8f.js → p-d8a77530.js} +2 -2
- package/dist/arcgis-coding-components/p-e255a13c.js +1 -0
- package/dist/arcgis-coding-components/{p-cff113f1.js → p-fdd3f4de.js} +1 -1
- package/dist/cjs/{arcade-defaults-fe6b2490.js → arcade-defaults-4a9774c6.js} +267 -581
- package/dist/cjs/{arcade-mode-684d2b36.js → arcade-mode-c040c92c.js} +3 -5
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +34 -34
- package/dist/cjs/{cssMode-67c943a9.js → cssMode-2b1f78c9.js} +1 -1
- package/dist/cjs/{html-98e131a9.js → html-0c87581b.js} +1 -1
- package/dist/cjs/{htmlMode-900fc9a2.js → htmlMode-007d54b7.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-5baa3db6.js → javascript-8cef2a6b.js} +2 -2
- package/dist/cjs/{jsonMode-bd64dcac.js → jsonMode-d7517de7.js} +1 -1
- package/dist/cjs/{tsMode-d958fede.js → tsMode-d3684fd5.js} +1 -1
- package/dist/cjs/{typescript-5ebad4f3.js → typescript-99122582.js} +1 -1
- package/dist/components/arcade-api.js +6 -6
- package/dist/components/arcade-contribution.js +2 -2
- package/dist/components/arcade-defaults.js +9 -9
- package/dist/components/arcade-mode.js +3 -5
- package/dist/components/arcade-results.js +12 -12
- package/dist/components/arcade-suggestions.js +4 -4
- package/dist/components/arcade-variables.js +5 -5
- package/dist/components/arcgis-arcade-editor.js +15 -15
- package/dist/components/code-editor.js +6 -6
- package/dist/components/index2.js +2 -316
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-1023126c.js → arcade-defaults-93ecbfa3.js} +255 -569
- package/dist/esm/arcade-mode-48ac843d.js +594 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +34 -34
- package/dist/esm/{cssMode-eff7de28.js → cssMode-9d4a5968.js} +1 -1
- package/dist/esm/{html-9661ece4.js → html-bbd01073.js} +1 -1
- package/dist/esm/{htmlMode-482b86a1.js → htmlMode-16f49bff.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-90f59381.js → javascript-d9d37aa3.js} +2 -2
- package/dist/esm/{jsonMode-334ce784.js → jsonMode-5f32debe.js} +1 -1
- package/dist/esm/{tsMode-28b98722.js → tsMode-dc4e785a.js} +1 -1
- package/dist/esm/{typescript-aec431cc.js → typescript-52f0d258.js} +1 -1
- package/package.json +13 -13
- package/dist/arcgis-coding-components/p-5d8443b7.js +0 -62
- package/dist/arcgis-coding-components/p-e464f3a9.js +0 -1
- package/dist/esm/arcade-mode-b060035b.js +0 -596
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as t}from"./p-0fa0a06d.js";export{s as setNonce}from"./p-0fa0a06d.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-
|
|
1
|
+
import{p as e,b as t}from"./p-0fa0a06d.js";export{s as setNonce}from"./p-0fa0a06d.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-0058a559",[[0,"arcgis-arcade-editor",{profile:[16],script:[1],testData:[16],suggestions:[16],snippets:[16],hideDocumentationActions:[4,"hide-documentation-actions"],hideSideBar:[4,"hide-side-bar"],sideActionBarExpanded:[1540,"side-action-bar-expanded"],openedSidePanel:[1537,"opened-side-panel"],_locale:[32],_t9nStrings:[32],_standaloneCodeEditor:[32],_preparingProfile:[32],_editorProfile:[32],_showExecutionPanel:[32],_resultPanel:[32],_executingScript:[32],_consoleLogs:[32],_executionResult:[32],getScript:[64],setFocus:[64],getEditorInstance:[64],getTestResult:[64],getOutputType:[64],updateThemeColors:[64]}],[1,"arcgis-arcade-api",{hideDocumentationActions:[4,"hide-documentation-actions"],modelId:[1,"model-id"],_locale:[32],_t9nStrings:[32],_selectedApiItem:[32],_filterValue:[32],_colorizeStyle:[32],_preparingApi:[32],_apiLibrary:[32]}],[1,"arcgis-arcade-results",{loading:[4],openedResultPanel:[1537,"opened-result-panel"],result:[16],consoleLogs:[16],_locale:[32],_t9nStrings:[32]}],[1,"arcgis-arcade-suggestions",{suggestions:[16],_locale:[32],_t9nStrings:[32],_selectedSuggestion:[32],_filterValue:[32],_colorizeStyle:[32]}],[1,"arcgis-arcade-variables",{loading:[4],modelId:[1,"model-id"],_locale:[32],_t9nStrings:[32],_mutationCounter:[32],_flowItemRenderers:[32],_filterValue:[32]}],[0,"arcgis-code-editor",{value:[1],language:[1],modelId:[1,"model-id"],getValue:[64],setValue:[64],insertText:[64],insertSnippet:[64],getEditorInstance:[64],setFocus:[64]}]]]],e)));
|
|
@@ -2138,7 +2138,7 @@
|
|
|
2138
2138
|
"bundle": "data-access",
|
|
2139
2139
|
"sinceVersion": "1.24",
|
|
2140
2140
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
2141
|
-
"description": "Returns the related records for a given feature
|
|
2141
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
2142
2142
|
"examples": "\n##### مثال\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
2143
2143
|
"completion": {
|
|
2144
2144
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -2149,7 +2149,7 @@
|
|
|
2149
2149
|
"kind": 3,
|
|
2150
2150
|
"documentation": {
|
|
2151
2151
|
"kind": "markdown",
|
|
2152
|
-
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
2152
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**معلمات**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**إرجاع القيمة**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2153
2153
|
}
|
|
2154
2154
|
},
|
|
2155
2155
|
"parametersInfo": {
|
|
@@ -2934,7 +2934,7 @@
|
|
|
2934
2934
|
"kind": 3,
|
|
2935
2935
|
"documentation": {
|
|
2936
2936
|
"kind": "markdown",
|
|
2937
|
-
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**معلمات**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
2937
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**معلمات**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2938
2938
|
}
|
|
2939
2939
|
},
|
|
2940
2940
|
"parametersInfo": {
|
|
@@ -2959,7 +2959,7 @@
|
|
|
2959
2959
|
"kind": 3,
|
|
2960
2960
|
"documentation": {
|
|
2961
2961
|
"kind": "markdown",
|
|
2962
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**معلمات**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
2962
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**معلمات**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
2963
2963
|
}
|
|
2964
2964
|
},
|
|
2965
2965
|
"parametersInfo": {
|
|
@@ -3032,7 +3032,7 @@
|
|
|
3032
3032
|
"kind": 3,
|
|
3033
3033
|
"documentation": {
|
|
3034
3034
|
"kind": "markdown",
|
|
3035
|
-
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**معلمات**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
3035
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**معلمات**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**إرجاع القيمة**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3036
3036
|
}
|
|
3037
3037
|
},
|
|
3038
3038
|
"parametersInfo": {
|
|
@@ -3159,7 +3159,7 @@
|
|
|
3159
3159
|
"kind": 3,
|
|
3160
3160
|
"documentation": {
|
|
3161
3161
|
"kind": "markdown",
|
|
3162
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**معلمات**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
3162
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**معلمات**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**إرجاع القيمة**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3163
3163
|
}
|
|
3164
3164
|
},
|
|
3165
3165
|
"parametersInfo": {
|
|
@@ -3829,7 +3829,7 @@
|
|
|
3829
3829
|
"bundle": "core",
|
|
3830
3830
|
"sinceVersion": "1.24",
|
|
3831
3831
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
3832
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
3832
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
3833
3833
|
"examples": "\n##### مثال\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
3834
3834
|
"completion": {
|
|
3835
3835
|
"label": "TimeZone",
|
|
@@ -3840,7 +3840,7 @@
|
|
|
3840
3840
|
"kind": 3,
|
|
3841
3841
|
"documentation": {
|
|
3842
3842
|
"kind": "markdown",
|
|
3843
|
-
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
3843
|
+
"value": "**[إصدار متعدد 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**المعلمة**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**إرجاع القيمة**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
3844
3844
|
}
|
|
3845
3845
|
},
|
|
3846
3846
|
"parametersInfo": {
|
|
@@ -4473,7 +4473,7 @@
|
|
|
4473
4473
|
"kind": 3,
|
|
4474
4474
|
"documentation": {
|
|
4475
4475
|
"kind": "markdown",
|
|
4476
|
-
"value": "**[إصدار متعدد 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتوفر معلومات حول السياق والبيئة التي يتم فيها تنفيذ تعبير Arcade.\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس يحتوي على الخصائص أدناه. قد تختلف الخصائص التي يتم إرجاعها بناءً على مكان تشغيل تعبير Arcade، لذلك يوصى باستخدام دالة [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) لضمان وجود خاصية البيئة المطلوبة.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - إصدار Arcade. راجع [version matrix] (https://developers.arcgis.com/arcade/guide/version-matrix/) للحصول على مزيد من المعلومات حول تعيين الإصدار.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المحرك الذي ينفذ تعبير Arcade. القيم المحتملة: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - إصدار المحرك الذي ينفذ تعبير Arcade. راجع [version matrix] (https://developers.arcgis.com/arcade/guide/version-matrix/) للحصول على مزيد من المعلومات حول تعيين الإصدار.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - التطبيق الذي يتم فيه تشغيل تعبير Arcade. الأمر متروك لمطوري التطبيقات لتعيين هذه القيمة. لذلك، قد تكون هذه الخاصية فارغة اعتمادًا على التطبيق الذي يتم تنفيذ التعبير فيه.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - الإعدادات المحلية للعميل أو للنظام.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - الإسناد المكاني لسياق Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المعرف المعروف للإسناد
|
|
4476
|
+
"value": "**[إصدار متعدد 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nتوفر معلومات حول السياق والبيئة التي يتم فيها تنفيذ تعبير Arcade.\n\n**إرجاع القيمة**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nتُرجع قاموس يحتوي على الخصائص أدناه. قد تختلف الخصائص التي يتم إرجاعها بناءً على مكان تشغيل تعبير Arcade، لذلك يوصى باستخدام دالة [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) لضمان وجود خاصية البيئة المطلوبة.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - إصدار Arcade. راجع [version matrix] (https://developers.arcgis.com/arcade/guide/version-matrix/) للحصول على مزيد من المعلومات حول تعيين الإصدار.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - المحرك الذي ينفذ تعبير Arcade. القيم المحتملة: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - إصدار المحرك الذي ينفذ تعبير Arcade. راجع [version matrix] (https://developers.arcgis.com/arcade/guide/version-matrix/) للحصول على مزيد من المعلومات حول تعيين الإصدار.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - التطبيق الذي يتم فيه تشغيل تعبير Arcade. الأمر متروك لمطوري التطبيقات لتعيين هذه القيمة. لذلك، قد تكون هذه الخاصية فارغة اعتمادًا على التطبيق الذي يتم تنفيذ التعبير فيه.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - الإعدادات المحلية للعميل أو للنظام.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - الإسناد المكاني لسياق Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - المعرف المعروف للإسناد المكاني.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
4477
4477
|
}
|
|
4478
4478
|
},
|
|
4479
4479
|
"parametersInfo": {
|
|
@@ -6563,7 +6563,6 @@
|
|
|
6563
6563
|
{
|
|
6564
6564
|
"type": "function",
|
|
6565
6565
|
"name": "front",
|
|
6566
|
-
"disableDocumentation": true,
|
|
6567
6566
|
"bundle": "core",
|
|
6568
6567
|
"sinceVersion": "1.12",
|
|
6569
6568
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -3391,7 +3391,7 @@
|
|
|
3391
3391
|
"kind": 3,
|
|
3392
3392
|
"documentation": {
|
|
3393
3393
|
"kind": "markdown",
|
|
3394
|
-
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
3394
|
+
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Параметри**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3395
3395
|
}
|
|
3396
3396
|
},
|
|
3397
3397
|
"parametersInfo": {
|
|
@@ -3416,7 +3416,7 @@
|
|
|
3416
3416
|
"kind": 3,
|
|
3417
3417
|
"documentation": {
|
|
3418
3418
|
"kind": "markdown",
|
|
3419
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Параметри**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
3419
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Параметри**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3420
3420
|
}
|
|
3421
3421
|
},
|
|
3422
3422
|
"parametersInfo": {
|
|
@@ -3489,7 +3489,7 @@
|
|
|
3489
3489
|
"kind": 3,
|
|
3490
3490
|
"documentation": {
|
|
3491
3491
|
"kind": "markdown",
|
|
3492
|
-
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Параметри**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
3492
|
+
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Параметри**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Стойност за връщане**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
3493
3493
|
}
|
|
3494
3494
|
},
|
|
3495
3495
|
"parametersInfo": {
|
|
@@ -3616,7 +3616,7 @@
|
|
|
3616
3616
|
"kind": 3,
|
|
3617
3617
|
"documentation": {
|
|
3618
3618
|
"kind": "markdown",
|
|
3619
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Параметри**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
3619
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Параметри**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Стойност за връщане**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
3620
3620
|
}
|
|
3621
3621
|
},
|
|
3622
3622
|
"parametersInfo": {
|
|
@@ -4286,7 +4286,7 @@
|
|
|
4286
4286
|
"bundle": "core",
|
|
4287
4287
|
"sinceVersion": "1.24",
|
|
4288
4288
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
4289
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
4289
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
4290
4290
|
"examples": "\n##### Пример\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
4291
4291
|
"completion": {
|
|
4292
4292
|
"label": "TimeZone",
|
|
@@ -4297,7 +4297,7 @@
|
|
|
4297
4297
|
"kind": 3,
|
|
4298
4298
|
"documentation": {
|
|
4299
4299
|
"kind": "markdown",
|
|
4300
|
-
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
4300
|
+
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Параметър**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Стойност за връщане**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
4301
4301
|
}
|
|
4302
4302
|
},
|
|
4303
4303
|
"parametersInfo": {
|
|
@@ -4763,7 +4763,6 @@
|
|
|
4763
4763
|
{
|
|
4764
4764
|
"type": "function",
|
|
4765
4765
|
"name": "front",
|
|
4766
|
-
"disableDocumentation": true,
|
|
4767
4766
|
"bundle": "core",
|
|
4768
4767
|
"sinceVersion": "1.12",
|
|
4769
4768
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -5180,7 +5179,7 @@
|
|
|
5180
5179
|
"kind": 3,
|
|
5181
5180
|
"documentation": {
|
|
5182
5181
|
"kind": "markdown",
|
|
5183
|
-
"value": "**[От версия 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПредоставя информация за контекста и средата, където се изпълнява Аркадният израз.\n\n**Стойност за връщане**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВръща речник, съдържащ свойствата по-долу. Върнатите свойства може да варират в зависимост от това къде изпълнявате Аркадния израз, така че се препоръчва да използвате функцията [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) за да се гарантира, че желаното свойство на средата съществува.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версията на Arcade. Вижте [матрицата на версиите](https://developers.arcgis.com/arcade/guide/version-matrix/) за повече информация относно управлението на версии.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Машината, изпълняваща Аркадния израз. Възможни стойности: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версията на машината, изпълняваща Аркадния израз. Вижте [матрицата на версиите](https://developers.arcgis.com/arcade/guide/version-matrix/) за повече информация относно управлението на версии.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Приложението, в което се изпълнява Аркадният израз. От разработчиците на приложения зависи да зададат тази стойност. Следователно това свойство може да е празно в зависимост от приложението, в което се изпълнява изразът.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Мястото на клиента или системата.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Проекцията от контекста на Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Добре известният идентификатор на
|
|
5182
|
+
"value": "**[От версия 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nПредоставя информация за контекста и средата, където се изпълнява Аркадният израз.\n\n**Стойност за връщане**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nВръща речник, съдържащ свойствата по-долу. Върнатите свойства може да варират в зависимост от това къде изпълнявате Аркадния израз, така че се препоръчва да използвате функцията [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) за да се гарантира, че желаното свойство на средата съществува.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версията на Arcade. Вижте [матрицата на версиите](https://developers.arcgis.com/arcade/guide/version-matrix/) за повече информация относно управлението на версии.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Машината, изпълняваща Аркадния израз. Възможни стойности: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версията на машината, изпълняваща Аркадния израз. Вижте [матрицата на версиите](https://developers.arcgis.com/arcade/guide/version-matrix/) за повече информация относно управлението на версии.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Приложението, в което се изпълнява Аркадният израз. От разработчиците на приложения зависи да зададат тази стойност. Следователно това свойство може да е празно в зависимост от приложението, в което се изпълнява изразът.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Мястото на клиента или системата.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Проекцията от контекста на Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Добре известният идентификатор на проекцията.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
5184
5183
|
}
|
|
5185
5184
|
},
|
|
5186
5185
|
"parametersInfo": {
|
|
@@ -6062,7 +6061,7 @@
|
|
|
6062
6061
|
"bundle": "data-access",
|
|
6063
6062
|
"sinceVersion": "1.24",
|
|
6064
6063
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
6065
|
-
"description": "Returns the related records for a given feature
|
|
6064
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
6066
6065
|
"examples": "\n##### Пример\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
6067
6066
|
"completion": {
|
|
6068
6067
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -6073,7 +6072,7 @@
|
|
|
6073
6072
|
"kind": 3,
|
|
6074
6073
|
"documentation": {
|
|
6075
6074
|
"kind": "markdown",
|
|
6076
|
-
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
6075
|
+
"value": "**[От версия 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Параметри**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Стойност за връщане**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
6077
6076
|
}
|
|
6078
6077
|
},
|
|
6079
6078
|
"parametersInfo": {
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"kind": 3,
|
|
198
198
|
"documentation": {
|
|
199
199
|
"kind": "markdown",
|
|
200
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
200
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrijednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
201
201
|
}
|
|
202
202
|
},
|
|
203
203
|
"parametersInfo": {
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"kind": 3,
|
|
223
223
|
"documentation": {
|
|
224
224
|
"kind": "markdown",
|
|
225
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
225
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrijednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
"parametersInfo": {
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
"kind": 3,
|
|
296
296
|
"documentation": {
|
|
297
297
|
"kind": "markdown",
|
|
298
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametri**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
298
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametri**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrijednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
301
|
"parametersInfo": {
|
|
@@ -422,7 +422,7 @@
|
|
|
422
422
|
"kind": 3,
|
|
423
423
|
"documentation": {
|
|
424
424
|
"kind": "markdown",
|
|
425
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
425
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrijednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
426
426
|
}
|
|
427
427
|
},
|
|
428
428
|
"parametersInfo": {
|
|
@@ -1092,7 +1092,7 @@
|
|
|
1092
1092
|
"bundle": "core",
|
|
1093
1093
|
"sinceVersion": "1.24",
|
|
1094
1094
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1095
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1095
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
1096
1096
|
"examples": "\n##### Primjer\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
1097
1097
|
"completion": {
|
|
1098
1098
|
"label": "TimeZone",
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
"kind": 3,
|
|
1104
1104
|
"documentation": {
|
|
1105
1105
|
"kind": "markdown",
|
|
1106
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1106
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parametar**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Povratna vrijednost**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1107
1107
|
}
|
|
1108
1108
|
},
|
|
1109
1109
|
"parametersInfo": {
|
|
@@ -3244,7 +3244,7 @@
|
|
|
3244
3244
|
"kind": 3,
|
|
3245
3245
|
"documentation": {
|
|
3246
3246
|
"kind": "markdown",
|
|
3247
|
-
"value": "**[Od verzije 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPruža informacije o kontekstu i okruženju gdje se izvršava izraz Arcade.\n\n**Povratna vrijednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVrača rječnik koji sadrži svojstva navedena u nastavku. Vraćena svojstva mogu se razlikovati ovisno o tome izvršavate li izraz Arcade, tako da se preporučuje upotreba funkcije [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) kako bi se osiguralo da svojstvo željenog okruženja postoji.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzija programa Arcade. Više informacija o verzijama potražite u [matrici verzija](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Engine koji izvršava Arcade izraz. Moguće vrijednosti: \\\"web\\\", \\\"native\\\", \\\"jvm\\\"\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzija za engine koji izvršava izraz Arcade. Više informacija o verzijama potražite u [matrici verzija](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikacija u kojoj se provodi Arcade izraz. Razvojni programeri aplikacije trebaju postaviti tu vrijednost. Zbog toga ovo svojstvo može biti prazno, ovisno o aplikciji u kojoj se izraz izvršava.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Regionalna postavka klijenta ili sustava.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Prostorna referenca Arcade konteksta.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Dobro poznati ID prostorne reference."
|
|
3247
|
+
"value": "**[Od verzije 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPruža informacije o kontekstu i okruženju gdje se izvršava izraz Arcade.\n\n**Povratna vrijednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVrača rječnik koji sadrži svojstva navedena u nastavku. Vraćena svojstva mogu se razlikovati ovisno o tome izvršavate li izraz Arcade, tako da se preporučuje upotreba funkcije [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) kako bi se osiguralo da svojstvo željenog okruženja postoji.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzija programa Arcade. Više informacija o verzijama potražite u [matrici verzija](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Engine koji izvršava Arcade izraz. Moguće vrijednosti: \\\"web\\\", \\\"native\\\", \\\"jvm\\\"\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzija za engine koji izvršava izraz Arcade. Više informacija o verzijama potražite u [matrici verzija](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikacija u kojoj se provodi Arcade izraz. Razvojni programeri aplikacije trebaju postaviti tu vrijednost. Zbog toga ovo svojstvo može biti prazno, ovisno o aplikciji u kojoj se izraz izvršava.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Regionalna postavka klijenta ili sustava.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Prostorna referenca Arcade konteksta.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Dobro poznati ID prostorne reference.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
3248
3248
|
}
|
|
3249
3249
|
},
|
|
3250
3250
|
"parametersInfo": {
|
|
@@ -3538,7 +3538,6 @@
|
|
|
3538
3538
|
{
|
|
3539
3539
|
"type": "function",
|
|
3540
3540
|
"name": "front",
|
|
3541
|
-
"disableDocumentation": true,
|
|
3542
3541
|
"bundle": "core",
|
|
3543
3542
|
"sinceVersion": "1.12",
|
|
3544
3543
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -4659,7 +4658,7 @@
|
|
|
4659
4658
|
"bundle": "data-access",
|
|
4660
4659
|
"sinceVersion": "1.24",
|
|
4661
4660
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
4662
|
-
"description": "Returns the related records for a given feature
|
|
4661
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
4663
4662
|
"examples": "\n##### Primjer\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
4664
4663
|
"completion": {
|
|
4665
4664
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -4670,7 +4669,7 @@
|
|
|
4670
4669
|
"kind": 3,
|
|
4671
4670
|
"documentation": {
|
|
4672
4671
|
"kind": "markdown",
|
|
4673
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
4672
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Povratna vrijednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
4674
4673
|
}
|
|
4675
4674
|
},
|
|
4676
4675
|
"parametersInfo": {
|
|
@@ -521,7 +521,7 @@
|
|
|
521
521
|
"kind": 3,
|
|
522
522
|
"documentation": {
|
|
523
523
|
"kind": "markdown",
|
|
524
|
-
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Paràmetres**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
524
|
+
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Paràmetres**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorn**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
525
525
|
}
|
|
526
526
|
},
|
|
527
527
|
"parametersInfo": {
|
|
@@ -546,7 +546,7 @@
|
|
|
546
546
|
"kind": 3,
|
|
547
547
|
"documentation": {
|
|
548
548
|
"kind": "markdown",
|
|
549
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Paràmetres**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
549
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Paràmetres**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorn**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
550
550
|
}
|
|
551
551
|
},
|
|
552
552
|
"parametersInfo": {
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
"kind": 3,
|
|
620
620
|
"documentation": {
|
|
621
621
|
"kind": "markdown",
|
|
622
|
-
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Paràmetres**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
622
|
+
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Paràmetres**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorn**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
623
623
|
}
|
|
624
624
|
},
|
|
625
625
|
"parametersInfo": {
|
|
@@ -746,7 +746,7 @@
|
|
|
746
746
|
"kind": 3,
|
|
747
747
|
"documentation": {
|
|
748
748
|
"kind": "markdown",
|
|
749
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Paràmetres**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
749
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Paràmetres**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Valor de retorn**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
750
750
|
}
|
|
751
751
|
},
|
|
752
752
|
"parametersInfo": {
|
|
@@ -1416,7 +1416,7 @@
|
|
|
1416
1416
|
"bundle": "core",
|
|
1417
1417
|
"sinceVersion": "1.24",
|
|
1418
1418
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1419
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1419
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
1420
1420
|
"examples": "\n##### Exemple\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
1421
1421
|
"completion": {
|
|
1422
1422
|
"label": "TimeZone",
|
|
@@ -1427,7 +1427,7 @@
|
|
|
1427
1427
|
"kind": 3,
|
|
1428
1428
|
"documentation": {
|
|
1429
1429
|
"kind": "markdown",
|
|
1430
|
-
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1430
|
+
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Paràmetre**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Valor de retorn**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1431
1431
|
}
|
|
1432
1432
|
},
|
|
1433
1433
|
"parametersInfo": {
|
|
@@ -1654,7 +1654,7 @@
|
|
|
1654
1654
|
"kind": 3,
|
|
1655
1655
|
"documentation": {
|
|
1656
1656
|
"kind": "markdown",
|
|
1657
|
-
"value": "**[A partir de la versió 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nProporciona informació sobre el context i l'entorn on s'executa l'expressió de l'Arcade.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari que conté les propietats següents. Les propietats retornades poden variar en funció d'on executeu l'expressió de l'Arcade, així que es recomana fer servir la funció [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) per assegurar-vos que existeixi la propietat d'entorn desitjada.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versió de l'Arcade. Consulteu la [matriu de versions](https://developers.arcgis.com/arcade/guide/version-matrix/) per obtenir més informació sobre les versions.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Motor que executa l'expressió de l'Arcade. Valors possibles: `web`, `native` i `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versió del motor que executa l'expressió de l'Arcade. Consulteu la [matriu de versions](https://developers.arcgis.com/arcade/guide/version-matrix/) per obtenir més informació sobre les versions.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplicació on s'executa l'expressió de l'Arcade. Aquest valor l'han de definir els desenvolupadors de l'aplicació. Per tant, pot ser que aquesta propietat sigui buida en funció de l'aplicació on s'executi aquesta expressió.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Configuració regional del client o del sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Referència espacial del context de l'Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID conegut de la referència espacial."
|
|
1657
|
+
"value": "**[A partir de la versió 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nProporciona informació sobre el context i l'entorn on s'executa l'expressió de l'Arcade.\n\n**Valor de retorn**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna un diccionari que conté les propietats següents. Les propietats retornades poden variar en funció d'on executeu l'expressió de l'Arcade, així que es recomana fer servir la funció [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) per assegurar-vos que existeixi la propietat d'entorn desitjada.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versió de l'Arcade. Consulteu la [matriu de versions](https://developers.arcgis.com/arcade/guide/version-matrix/) per obtenir més informació sobre les versions.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Motor que executa l'expressió de l'Arcade. Valors possibles: `web`, `native` i `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versió del motor que executa l'expressió de l'Arcade. Consulteu la [matriu de versions](https://developers.arcgis.com/arcade/guide/version-matrix/) per obtenir més informació sobre les versions.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplicació on s'executa l'expressió de l'Arcade. Aquest valor l'han de definir els desenvolupadors de l'aplicació. Per tant, pot ser que aquesta propietat sigui buida en funció de l'aplicació on s'executi aquesta expressió.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Configuració regional del client o del sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Referència espacial del context de l'Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID conegut de la referència espacial.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
1658
1658
|
}
|
|
1659
1659
|
},
|
|
1660
1660
|
"parametersInfo": {
|
|
@@ -2305,7 +2305,7 @@
|
|
|
2305
2305
|
"bundle": "data-access",
|
|
2306
2306
|
"sinceVersion": "1.24",
|
|
2307
2307
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
2308
|
-
"description": "Returns the related records for a given feature
|
|
2308
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
2309
2309
|
"examples": "\n##### Exemple\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
2310
2310
|
"completion": {
|
|
2311
2311
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -2316,7 +2316,7 @@
|
|
|
2316
2316
|
"kind": 3,
|
|
2317
2317
|
"documentation": {
|
|
2318
2318
|
"kind": "markdown",
|
|
2319
|
-
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
2319
|
+
"value": "**[A partir de la versió 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Paràmetres**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Valor de retorn**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2320
2320
|
}
|
|
2321
2321
|
},
|
|
2322
2322
|
"parametersInfo": {
|
|
@@ -4846,7 +4846,6 @@
|
|
|
4846
4846
|
{
|
|
4847
4847
|
"type": "function",
|
|
4848
4848
|
"name": "front",
|
|
4849
|
-
"disableDocumentation": true,
|
|
4850
4849
|
"bundle": "core",
|
|
4851
4850
|
"sinceVersion": "1.12",
|
|
4852
4851
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|