@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
|
@@ -429,7 +429,6 @@
|
|
|
429
429
|
{
|
|
430
430
|
"type": "function",
|
|
431
431
|
"name": "front",
|
|
432
|
-
"disableDocumentation": true,
|
|
433
432
|
"bundle": "core",
|
|
434
433
|
"sinceVersion": "1.12",
|
|
435
434
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -822,7 +821,7 @@
|
|
|
822
821
|
"kind": 3,
|
|
823
822
|
"documentation": {
|
|
824
823
|
"kind": "markdown",
|
|
825
|
-
"value": "**[Desde a versão 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âmetros**\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.
|
|
824
|
+
"value": "**[Desde a versão 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âmetros**\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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
826
825
|
}
|
|
827
826
|
},
|
|
828
827
|
"parametersInfo": {
|
|
@@ -847,7 +846,7 @@
|
|
|
847
846
|
"kind": 3,
|
|
848
847
|
"documentation": {
|
|
849
848
|
"kind": "markdown",
|
|
850
|
-
"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âmetros**\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.
|
|
849
|
+
"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âmetros**\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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
851
850
|
}
|
|
852
851
|
},
|
|
853
852
|
"parametersInfo": {
|
|
@@ -920,7 +919,7 @@
|
|
|
920
919
|
"kind": 3,
|
|
921
920
|
"documentation": {
|
|
922
921
|
"kind": "markdown",
|
|
923
|
-
"value": "**[Desde a versão 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âmetros**\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.
|
|
922
|
+
"value": "**[Desde a versão 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âmetros**\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**Retornar valor**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
924
923
|
}
|
|
925
924
|
},
|
|
926
925
|
"parametersInfo": {
|
|
@@ -1047,7 +1046,7 @@
|
|
|
1047
1046
|
"kind": 3,
|
|
1048
1047
|
"documentation": {
|
|
1049
1048
|
"kind": "markdown",
|
|
1050
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parâmetros**\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.
|
|
1049
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parâmetros**\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**Retornar valor**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1051
1050
|
}
|
|
1052
1051
|
},
|
|
1053
1052
|
"parametersInfo": {
|
|
@@ -1717,7 +1716,7 @@
|
|
|
1717
1716
|
"bundle": "core",
|
|
1718
1717
|
"sinceVersion": "1.24",
|
|
1719
1718
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1720
|
-
"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
|
|
1719
|
+
"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.",
|
|
1721
1720
|
"examples": "\n##### Exemplo\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",
|
|
1722
1721
|
"completion": {
|
|
1723
1722
|
"label": "TimeZone",
|
|
@@ -1728,7 +1727,7 @@
|
|
|
1728
1727
|
"kind": 3,
|
|
1729
1728
|
"documentation": {
|
|
1730
1729
|
"kind": "markdown",
|
|
1731
|
-
"value": "**[Desde a versão 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
|
|
1730
|
+
"value": "**[Desde a versão 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âmetro**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Retornar valor**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1732
1731
|
}
|
|
1733
1732
|
},
|
|
1734
1733
|
"parametersInfo": {
|
|
@@ -1955,7 +1954,7 @@
|
|
|
1955
1954
|
"kind": 3,
|
|
1956
1955
|
"documentation": {
|
|
1957
1956
|
"kind": "markdown",
|
|
1958
|
-
"value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFornece informações sobre o contexto e o ambiente onde a expressão Arcade é executada.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna um dicionário contendo as propriedades abaixo. As propriedades retornadas podem variar com base em onde você está executando a expressão Arcade, portanto, é recomendado usar a função [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) para garantir que a propriedade de ambiente desejada exista.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre versionamento.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O mecanismo que executa a expressão Arcade. Valores possíveis: `web`, `nativo`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão do mecanismo que executa a expressão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre versionamento.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O aplicativo no qual a expressão Arcade é executada. Cabe aos desenvolvedores de aplicativos definir esse valor. Portanto, esta propriedade pode estar vazia dependendo do aplicativo no qual a expressão é executada.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A localidade do cliente ou sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - A referência espacial do contexto Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O ID conhecido da referência espacial."
|
|
1957
|
+
"value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFornece informações sobre o contexto e o ambiente onde a expressão Arcade é executada.\n\n**Retornar valor**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nRetorna um dicionário contendo as propriedades abaixo. As propriedades retornadas podem variar com base em onde você está executando a expressão Arcade, portanto, é recomendado usar a função [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) para garantir que a propriedade de ambiente desejada exista.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre versionamento.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O mecanismo que executa a expressão Arcade. Valores possíveis: `web`, `nativo`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão do mecanismo que executa a expressão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre versionamento.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O aplicativo no qual a expressão Arcade é executada. Cabe aos desenvolvedores de aplicativos definir esse valor. Portanto, esta propriedade pode estar vazia dependendo do aplicativo no qual a expressão é executada.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A localidade do cliente ou sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - A referência espacial do contexto Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O ID conhecido da referência espacial.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
1959
1958
|
}
|
|
1960
1959
|
},
|
|
1961
1960
|
"parametersInfo": {
|
|
@@ -5583,7 +5582,7 @@
|
|
|
5583
5582
|
"bundle": "data-access",
|
|
5584
5583
|
"sinceVersion": "1.24",
|
|
5585
5584
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
5586
|
-
"description": "Returns the related records for a given feature
|
|
5585
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
5587
5586
|
"examples": "\n##### Exemplo\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",
|
|
5588
5587
|
"completion": {
|
|
5589
5588
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -5594,7 +5593,7 @@
|
|
|
5594
5593
|
"kind": 3,
|
|
5595
5594
|
"documentation": {
|
|
5596
5595
|
"kind": "markdown",
|
|
5597
|
-
"value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
5596
|
+
"value": "**[Desde a versão 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âmetros**\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**Retornar valor**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
5598
5597
|
}
|
|
5599
5598
|
},
|
|
5600
5599
|
"parametersInfo": {
|
|
@@ -572,7 +572,7 @@
|
|
|
572
572
|
"kind": 3,
|
|
573
573
|
"documentation": {
|
|
574
574
|
"kind": "markdown",
|
|
575
|
-
"value": "**[Desde a versão 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âmetros**\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.
|
|
575
|
+
"value": "**[Desde a versão 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âmetros**\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 devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
"parametersInfo": {
|
|
@@ -597,7 +597,7 @@
|
|
|
597
597
|
"kind": 3,
|
|
598
598
|
"documentation": {
|
|
599
599
|
"kind": "markdown",
|
|
600
|
-
"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âmetros**\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.
|
|
600
|
+
"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âmetros**\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 devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
601
601
|
}
|
|
602
602
|
},
|
|
603
603
|
"parametersInfo": {
|
|
@@ -670,7 +670,7 @@
|
|
|
670
670
|
"kind": 3,
|
|
671
671
|
"documentation": {
|
|
672
672
|
"kind": "markdown",
|
|
673
|
-
"value": "**[Desde a versão 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âmetros**\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.
|
|
673
|
+
"value": "**[Desde a versão 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âmetros**\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 devolução**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
674
674
|
}
|
|
675
675
|
},
|
|
676
676
|
"parametersInfo": {
|
|
@@ -797,7 +797,7 @@
|
|
|
797
797
|
"kind": 3,
|
|
798
798
|
"documentation": {
|
|
799
799
|
"kind": "markdown",
|
|
800
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parâmetros**\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.
|
|
800
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parâmetros**\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 devolução**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
801
801
|
}
|
|
802
802
|
},
|
|
803
803
|
"parametersInfo": {
|
|
@@ -1467,7 +1467,7 @@
|
|
|
1467
1467
|
"bundle": "core",
|
|
1468
1468
|
"sinceVersion": "1.24",
|
|
1469
1469
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1470
|
-
"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
|
|
1470
|
+
"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.",
|
|
1471
1471
|
"examples": "\n##### Exemplo\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",
|
|
1472
1472
|
"completion": {
|
|
1473
1473
|
"label": "TimeZone",
|
|
@@ -1478,7 +1478,7 @@
|
|
|
1478
1478
|
"kind": 3,
|
|
1479
1479
|
"documentation": {
|
|
1480
1480
|
"kind": "markdown",
|
|
1481
|
-
"value": "**[Desde a versão 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
|
|
1481
|
+
"value": "**[Desde a versão 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âmetro**\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 devolução**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1482
1482
|
}
|
|
1483
1483
|
},
|
|
1484
1484
|
"parametersInfo": {
|
|
@@ -1705,7 +1705,7 @@
|
|
|
1705
1705
|
"kind": 3,
|
|
1706
1706
|
"documentation": {
|
|
1707
1707
|
"kind": "markdown",
|
|
1708
|
-
"value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFornece informações sobre o contexto e o ambiente em que a expressão Arcade é executada.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as propriedades abaixo. As propriedades devolvidas podem variar com base no local onde está a executar a expressão Arcade, pelo que se recomenda a utilização da função [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) para garantir que a propriedade de ambiente pretendida existe.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre o controlo de versões.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O motor que executa a expressão Arcade. Valores possíveis: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão do motor que executa a expressão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre o controlo de versões.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A aplicação na qual a expressão Arcade é executada. Cabe aos programadores das aplicações definir este valor. Por conseguinte, esta propriedade pode estar vazia, consoante a aplicação em que a expressão é executada.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A região do cliente ou sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - A referência espacial do contexto Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O ID conhecido da referência espacial."
|
|
1708
|
+
"value": "**[Desde a versão 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nFornece informações sobre o contexto e o ambiente em que a expressão Arcade é executada.\n\n**Valor de devolução**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nDevolve um dicionário com as propriedades abaixo. As propriedades devolvidas podem variar com base no local onde está a executar a expressão Arcade, pelo que se recomenda a utilização da função [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) para garantir que a propriedade de ambiente pretendida existe.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre o controlo de versões.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - O motor que executa a expressão Arcade. Valores possíveis: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A versão do motor que executa a expressão Arcade. Consulte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) para obter mais informações sobre o controlo de versões.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A aplicação na qual a expressão Arcade é executada. Cabe aos programadores das aplicações definir este valor. Por conseguinte, esta propriedade pode estar vazia, consoante a aplicação em que a expressão é executada.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - A região do cliente ou sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - A referência espacial do contexto Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - O ID conhecido da referência espacial.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
1709
1709
|
}
|
|
1710
1710
|
},
|
|
1711
1711
|
"parametersInfo": {
|
|
@@ -2711,7 +2711,7 @@
|
|
|
2711
2711
|
"bundle": "data-access",
|
|
2712
2712
|
"sinceVersion": "1.24",
|
|
2713
2713
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
2714
|
-
"description": "Returns the related records for a given feature
|
|
2714
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
2715
2715
|
"examples": "\n##### Exemplo\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",
|
|
2716
2716
|
"completion": {
|
|
2717
2717
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -2722,7 +2722,7 @@
|
|
|
2722
2722
|
"kind": 3,
|
|
2723
2723
|
"documentation": {
|
|
2724
2724
|
"kind": "markdown",
|
|
2725
|
-
"value": "**[Desde a versão 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
2725
|
+
"value": "**[Desde a versão 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âmetros**\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 devolução**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
2726
2726
|
}
|
|
2727
2727
|
},
|
|
2728
2728
|
"parametersInfo": {
|
|
@@ -5221,7 +5221,6 @@
|
|
|
5221
5221
|
{
|
|
5222
5222
|
"type": "function",
|
|
5223
5223
|
"name": "front",
|
|
5224
|
-
"disableDocumentation": true,
|
|
5225
5224
|
"bundle": "core",
|
|
5226
5225
|
"sinceVersion": "1.12",
|
|
5227
5226
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"kind": 3,
|
|
167
167
|
"documentation": {
|
|
168
168
|
"kind": "markdown",
|
|
169
|
-
"value": "**[De la versiune 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.
|
|
169
|
+
"value": "**[De la versiune 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**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
"parametersInfo": {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"kind": 3,
|
|
192
192
|
"documentation": {
|
|
193
193
|
"kind": "markdown",
|
|
194
|
-
"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.
|
|
194
|
+
"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**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"parametersInfo": {
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"kind": 3,
|
|
265
265
|
"documentation": {
|
|
266
266
|
"kind": "markdown",
|
|
267
|
-
"value": "**[De la versiune 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.
|
|
267
|
+
"value": "**[De la versiune 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**Returnare versiune**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
"parametersInfo": {
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
"kind": 3,
|
|
392
392
|
"documentation": {
|
|
393
393
|
"kind": "markdown",
|
|
394
|
-
"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.
|
|
394
|
+
"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**Returnare versiune**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
"parametersInfo": {
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
"bundle": "core",
|
|
1062
1062
|
"sinceVersion": "1.24",
|
|
1063
1063
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1064
|
-
"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
|
|
1064
|
+
"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.",
|
|
1065
1065
|
"examples": "\n##### Exemplu\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",
|
|
1066
1066
|
"completion": {
|
|
1067
1067
|
"label": "TimeZone",
|
|
@@ -1072,7 +1072,7 @@
|
|
|
1072
1072
|
"kind": 3,
|
|
1073
1073
|
"documentation": {
|
|
1074
1074
|
"kind": "markdown",
|
|
1075
|
-
"value": "**[De la versiune 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
|
|
1075
|
+
"value": "**[De la versiune 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**Parametru**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Returnare versiune**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1076
1076
|
}
|
|
1077
1077
|
},
|
|
1078
1078
|
"parametersInfo": {
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
"kind": 3,
|
|
1300
1300
|
"documentation": {
|
|
1301
1301
|
"kind": "markdown",
|
|
1302
|
-
"value": "**[De la versiune 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nOferă informații despre contextul și mediul în care se execută expresia Arcade.\n\n**Returnare versiune**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnează un dicționar care conține proprietățile de mai jos. Proprietățile returnate pot varia în funcție de locul în care executați expresia Arcade, așadar se recomandă să folosiți funcția [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) pentru a vă asigura că proprietatea mediului dorit există.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versiunea Arcade. Consultați [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) pentru mai multe informații despre versiune.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Motorul care execută expresia Arcade. Valori posibile: „web”, „nativ”, „jvm”\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versiunea motorului care execută expresia Arcade. Consultați [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) pentru mai multe informații despre versiune.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplicația în care este executată expresia Arcade. Depinde de dezvoltatorii aplicației să seteze această valoare. Prin urmare, această proprietate poate fi goală în funcție de aplicația în care se execută expresia.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Regiunea clientului sau sistemului.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Referința spațială a contextului Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID-ul bine cunoscut al referinței spațiale."
|
|
1302
|
+
"value": "**[De la versiune 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nOferă informații despre contextul și mediul în care se execută expresia Arcade.\n\n**Returnare versiune**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnează un dicționar care conține proprietățile de mai jos. Proprietățile returnate pot varia în funcție de locul în care executați expresia Arcade, așadar se recomandă să folosiți funcția [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) pentru a vă asigura că proprietatea mediului dorit există.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versiunea Arcade. Consultați [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) pentru mai multe informații despre versiune.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Motorul care execută expresia Arcade. Valori posibile: „web”, „nativ”, „jvm”\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versiunea motorului care execută expresia Arcade. Consultați [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) pentru mai multe informații despre versiune.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplicația în care este executată expresia Arcade. Depinde de dezvoltatorii aplicației să seteze această valoare. Prin urmare, această proprietate poate fi goală în funcție de aplicația în care se execută expresia.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Regiunea clientului sau sistemului.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Referința spațială a contextului Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID-ul bine cunoscut al referinței spațiale.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
1303
1303
|
}
|
|
1304
1304
|
},
|
|
1305
1305
|
"parametersInfo": {
|
|
@@ -3466,7 +3466,6 @@
|
|
|
3466
3466
|
{
|
|
3467
3467
|
"type": "function",
|
|
3468
3468
|
"name": "front",
|
|
3469
|
-
"disableDocumentation": true,
|
|
3470
3469
|
"bundle": "core",
|
|
3471
3470
|
"sinceVersion": "1.12",
|
|
3472
3471
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -4710,7 +4709,7 @@
|
|
|
4710
4709
|
"bundle": "data-access",
|
|
4711
4710
|
"sinceVersion": "1.24",
|
|
4712
4711
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
4713
|
-
"description": "Returns the related records for a given feature
|
|
4712
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
4714
4713
|
"examples": "\n##### Exemplu\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",
|
|
4715
4714
|
"completion": {
|
|
4716
4715
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -4721,7 +4720,7 @@
|
|
|
4721
4720
|
"kind": 3,
|
|
4722
4721
|
"documentation": {
|
|
4723
4722
|
"kind": "markdown",
|
|
4724
|
-
"value": "**[De la versiune 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
4723
|
+
"value": "**[De la versiune 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**Returnare versiune**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
4725
4724
|
}
|
|
4726
4725
|
},
|
|
4727
4726
|
"parametersInfo": {
|
|
@@ -2169,7 +2169,7 @@
|
|
|
2169
2169
|
"bundle": "data-access",
|
|
2170
2170
|
"sinceVersion": "1.24",
|
|
2171
2171
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
2172
|
-
"description": "Returns the related records for a given feature
|
|
2172
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
2173
2173
|
"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",
|
|
2174
2174
|
"completion": {
|
|
2175
2175
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -2180,7 +2180,7 @@
|
|
|
2180
2180
|
"kind": 3,
|
|
2181
2181
|
"documentation": {
|
|
2182
2182
|
"kind": "markdown",
|
|
2183
|
-
"value": "**[Начиная с версии 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
2183
|
+
"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)"
|
|
2184
2184
|
}
|
|
2185
2185
|
},
|
|
2186
2186
|
"parametersInfo": {
|
|
@@ -4416,7 +4416,7 @@
|
|
|
4416
4416
|
"kind": 3,
|
|
4417
4417
|
"documentation": {
|
|
4418
4418
|
"kind": "markdown",
|
|
4419
|
-
"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.
|
|
4419
|
+
"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)"
|
|
4420
4420
|
}
|
|
4421
4421
|
},
|
|
4422
4422
|
"parametersInfo": {
|
|
@@ -4441,7 +4441,7 @@
|
|
|
4441
4441
|
"kind": 3,
|
|
4442
4442
|
"documentation": {
|
|
4443
4443
|
"kind": "markdown",
|
|
4444
|
-
"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.
|
|
4444
|
+
"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)"
|
|
4445
4445
|
}
|
|
4446
4446
|
},
|
|
4447
4447
|
"parametersInfo": {
|
|
@@ -4514,7 +4514,7 @@
|
|
|
4514
4514
|
"kind": 3,
|
|
4515
4515
|
"documentation": {
|
|
4516
4516
|
"kind": "markdown",
|
|
4517
|
-
"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.
|
|
4517
|
+
"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)"
|
|
4518
4518
|
}
|
|
4519
4519
|
},
|
|
4520
4520
|
"parametersInfo": {
|
|
@@ -4641,7 +4641,7 @@
|
|
|
4641
4641
|
"kind": 3,
|
|
4642
4642
|
"documentation": {
|
|
4643
4643
|
"kind": "markdown",
|
|
4644
|
-
"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.
|
|
4644
|
+
"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)"
|
|
4645
4645
|
}
|
|
4646
4646
|
},
|
|
4647
4647
|
"parametersInfo": {
|
|
@@ -5311,7 +5311,7 @@
|
|
|
5311
5311
|
"bundle": "core",
|
|
5312
5312
|
"sinceVersion": "1.24",
|
|
5313
5313
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
5314
|
-
"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
|
|
5314
|
+
"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.",
|
|
5315
5315
|
"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",
|
|
5316
5316
|
"completion": {
|
|
5317
5317
|
"label": "TimeZone",
|
|
@@ -5322,7 +5322,7 @@
|
|
|
5322
5322
|
"kind": 3,
|
|
5323
5323
|
"documentation": {
|
|
5324
5324
|
"kind": "markdown",
|
|
5325
|
-
"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
|
|
5325
|
+
"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)"
|
|
5326
5326
|
}
|
|
5327
5327
|
},
|
|
5328
5328
|
"parametersInfo": {
|
|
@@ -5788,7 +5788,6 @@
|
|
|
5788
5788
|
{
|
|
5789
5789
|
"type": "function",
|
|
5790
5790
|
"name": "front",
|
|
5791
|
-
"disableDocumentation": true,
|
|
5792
5791
|
"bundle": "core",
|
|
5793
5792
|
"sinceVersion": "1.12",
|
|
5794
5793
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -6205,7 +6204,7 @@
|
|
|
6205
6204
|
"kind": 3,
|
|
6206
6205
|
"documentation": {
|
|
6207
6206
|
"kind": "markdown",
|
|
6208
|
-
"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. См. [матрицу версий] (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. См. [матрицу версий] (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) - Общепринятый идентификатор (WKID) пространственной
|
|
6207
|
+
"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. См. [матрицу версий] (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. См. [матрицу версий] (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) - Общепринятый идентификатор (WKID) пространственной привязки.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
6209
6208
|
}
|
|
6210
6209
|
},
|
|
6211
6210
|
"parametersInfo": {
|