@arcgis/coding-components 4.29.0-beta.11 → 4.29.0-beta.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +6 -2
- package/dist/arcgis-coding-components/arcgis-coding-components.esm.js +6 -1
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-api/t9n/arcade-api.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-editor/t9n/arcade-editor.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +492 -27
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.en.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nb.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +14 -2
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ar.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bg.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.bs.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ca.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.cs.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.da.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.de.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.el.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.en.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.es.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.et.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fi.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.fr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.he.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.hu.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.id.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.it.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ja.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ko.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lt.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.lv.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nb.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.nl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-BR.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.pt-PT.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ro.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.ru.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sk.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sl.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.sv.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.th.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.tr.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.uk.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.vi.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-CN.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-HK.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-results/t9n/arcade-results.t9n.zh-TW.json +13 -13
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ar.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bg.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.bs.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ca.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.cs.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.da.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.de.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.el.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.en.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.es.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.et.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fi.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.fr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.he.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.hu.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.id.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.it.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ja.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ko.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lt.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.lv.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nb.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.nl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-BR.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.pt-PT.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ro.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.ru.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sk.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sl.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.sv.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.th.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.tr.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.uk.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.vi.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-CN.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-HK.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-suggestions/t9n/arcade-suggestions.t9n.zh-TW.json +6 -6
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ar.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bg.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.bs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ca.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.cs.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.da.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.de.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.el.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.en.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.es.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.et.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.fr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.he.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.hu.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.id.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.it.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ja.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ko.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lt.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.lv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nb.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.nl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-BR.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.pt-PT.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ro.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.ru.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sl.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.sv.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.th.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.tr.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.uk.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.vi.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-CN.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-HK.json +8 -8
- package/dist/arcgis-coding-components/assets/arcade-variables/t9n/arcade-variables.t9n.zh-TW.json +8 -8
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +30 -31
- package/dist/arcgis-coding-components/assets/code-editor/css.worker.js +30 -34
- package/dist/arcgis-coding-components/assets/code-editor/editor.worker.js +7 -8
- package/dist/arcgis-coding-components/assets/code-editor/html.worker.js +18 -20
- package/dist/arcgis-coding-components/assets/code-editor/json.worker.js +21 -22
- package/dist/arcgis-coding-components/assets/code-editor/ts.worker.js +79 -80
- package/dist/arcgis-coding-components/index.esm.js +6 -1
- package/dist/arcgis-coding-components/p-048612c6.js +7 -0
- package/dist/arcgis-coding-components/p-1d4f926f.js +6 -0
- package/dist/arcgis-coding-components/{p-443fe20e.js → p-4344b240.js} +7 -2
- package/dist/arcgis-coding-components/{p-9a164b63.js → p-43b95b3a.js} +8 -3
- package/dist/arcgis-coding-components/{p-cfff9500.js → p-5ca96f1c.js} +6 -1
- package/dist/arcgis-coding-components/{p-9dd33d3e.js → p-6f61a758.js} +7 -2
- package/dist/arcgis-coding-components/p-9c1279fa.js +68 -0
- package/dist/arcgis-coding-components/p-be21051e.entry.js +6 -0
- package/dist/arcgis-coding-components/{p-ff06e912.js → p-daef9c50.js} +7 -2
- package/dist/arcgis-coding-components/{p-b83db734.js → p-dfb57db2.js} +7 -2
- package/dist/arcgis-coding-components/{p-b3500466.js → p-e5c84ef0.js} +7 -2
- package/dist/arcgis-coding-components/{p-310f0408.js → p-e625cdc1.js} +7 -2
- package/dist/cjs/{arcade-defaults-e128d6d9.js → arcade-defaults-4a4ff48e.js} +13204 -11292
- package/dist/cjs/arcade-mode-e8a048dc.js +604 -0
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +1484 -1408
- package/dist/cjs/arcgis-coding-components.cjs.js +8 -3
- package/dist/cjs/{css-7229b372.js → css-66caa3cb.js} +6 -1
- package/dist/cjs/{cssMode-8c1d563a.js → cssMode-82651023.js} +8 -3
- package/dist/cjs/{html-ead03bbb.js → html-2c47fd86.js} +8 -3
- package/dist/cjs/{htmlMode-5e1a0115.js → htmlMode-9582a9b2.js} +8 -3
- package/dist/cjs/{index-f8a85eb8.js → index-7156ebfa.js} +395 -101
- package/dist/cjs/index.cjs.js +7 -2
- package/dist/cjs/{javascript-3fe2de06.js → javascript-f35b0dc5.js} +9 -4
- package/dist/cjs/{jsonMode-8b4b19f9.js → jsonMode-632b6048.js} +8 -3
- package/dist/cjs/loader.cjs.js +8 -12
- package/dist/cjs/{tsMode-b9491227.js → tsMode-c6f1ab1f.js} +8 -3
- package/dist/cjs/{typescript-524fddbc.js → typescript-9e1f35cb.js} +8 -3
- package/dist/components/arcade-api.js +170 -162
- package/dist/components/arcade-contribution.js +75 -65
- package/dist/components/arcade-defaults.js +1425 -1270
- package/dist/components/arcade-mode.js +521 -515
- package/dist/components/arcade-results.js +479 -426
- package/dist/components/arcade-suggestions.js +138 -131
- package/dist/components/arcade-variables.js +167 -153
- package/dist/components/arcgis-arcade-api.d.ts +2 -2
- package/dist/components/arcgis-arcade-api.js +5 -0
- package/dist/components/arcgis-arcade-editor.d.ts +2 -2
- package/dist/components/arcgis-arcade-editor.js +413 -387
- package/dist/components/arcgis-arcade-results.d.ts +2 -2
- package/dist/components/arcgis-arcade-results.js +5 -0
- package/dist/components/arcgis-arcade-suggestions.d.ts +2 -2
- package/dist/components/arcgis-arcade-suggestions.js +5 -0
- package/dist/components/arcgis-arcade-variables.d.ts +2 -2
- package/dist/components/arcgis-arcade-variables.js +5 -0
- package/dist/components/arcgis-code-editor.d.ts +2 -2
- package/dist/components/arcgis-code-editor.js +5 -0
- package/dist/components/code-editor.js +255 -250
- package/dist/components/fields.js +104 -77
- package/dist/components/functional-components.js +6 -1
- package/dist/components/index.d.ts +5 -8
- package/dist/components/index.js +6 -7
- package/dist/components/index2.js +7 -2
- package/dist/components/markdown.js +33 -28
- package/dist/components/utilities.js +26 -21
- package/dist/esm/{arcade-defaults-a34c2e51.js → arcade-defaults-0f350eac.js} +13196 -11284
- package/dist/esm/arcade-mode-e87281c6.js +600 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +1484 -1408
- package/dist/esm/arcgis-coding-components.js +9 -4
- package/dist/esm/{css-ff1e9f8c.js → css-368560db.js} +6 -1
- package/dist/esm/{cssMode-cb48c437.js → cssMode-9c59d807.js} +8 -3
- package/dist/esm/{html-e7c0bd60.js → html-1ffd663e.js} +8 -3
- package/dist/esm/{htmlMode-46638b7f.js → htmlMode-341ef75a.js} +8 -3
- package/dist/esm/{index-d4ec142a.js → index-585dc89e.js} +395 -101
- package/dist/esm/index.js +7 -2
- package/dist/esm/{javascript-2229cd63.js → javascript-91416769.js} +9 -4
- package/dist/esm/{jsonMode-08a2f0d2.js → jsonMode-ccf7e27b.js} +8 -3
- package/dist/esm/loader.js +8 -12
- package/dist/esm/{tsMode-46d0d8e8.js → tsMode-45a0fdf5.js} +8 -3
- package/dist/esm/{typescript-88a09694.js → typescript-7ab173c1.js} +8 -3
- package/dist/loader/cdn.js +5 -1
- package/dist/loader/index.cjs.js +5 -1
- package/dist/loader/index.d.ts +2 -2
- package/dist/loader/index.es2017.js +5 -1
- package/dist/loader/index.js +5 -1
- package/dist/types/components/arcade-api/arcade-api.d.ts +42 -41
- package/dist/types/components/arcade-api/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-editor/arcade-editor.d.ts +129 -133
- package/dist/types/components/arcade-editor/t9n-types.d.ts +6 -6
- package/dist/types/components/arcade-results/arcade-results.d.ts +46 -50
- package/dist/types/components/arcade-results/t9n-types.d.ts +11 -11
- package/dist/types/components/arcade-suggestions/arcade-suggestions.d.ts +37 -36
- package/dist/types/components/arcade-suggestions/t9n-types.d.ts +4 -4
- package/dist/types/components/arcade-variables/arcade-variables.d.ts +42 -42
- package/dist/types/components/arcade-variables/t9n-types.d.ts +6 -6
- package/dist/types/components/code-editor/code-editor.d.ts +74 -74
- package/dist/types/components.d.ts +87 -12
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +61 -17
- package/dist/types/utils/arcade-executor.d.ts +89 -81
- package/dist/types/utils/arcade-monaco/arcade-contribution.d.ts +1 -1
- package/dist/types/utils/arcade-monaco/arcade-defaults.d.ts +69 -68
- package/dist/types/utils/arcade-monaco/arcade-language-features.d.ts +27 -26
- package/dist/types/utils/arcade-monaco/arcade-mode.d.ts +10 -10
- package/dist/types/utils/arcade-monaco/arcade-theme.d.ts +9 -8
- package/dist/types/utils/arcade-monaco/arcade-worker-manager.d.ts +11 -11
- package/dist/types/utils/arcade-monaco/arcade.worker.d.ts +16 -14
- package/dist/types/utils/arcade-monaco/types.d.ts +31 -33
- package/dist/types/utils/colorize.d.ts +1 -1
- package/dist/types/utils/editor-suggestions.d.ts +24 -24
- package/dist/types/utils/fields.d.ts +1 -0
- package/dist/types/utils/functional-components.d.ts +2 -2
- package/dist/types/utils/markdown.d.ts +1 -1
- package/dist/types/utils/profile/editor-profile.d.ts +187 -196
- package/dist/types/utils/profile/types.d.ts +230 -109
- package/dist/types/utils/profile/utils.d.ts +31 -14
- package/dist/types/utils/utilities.d.ts +2 -2
- package/package.json +26 -42
- package/dist/arcgis-coding-components/p-0fa0a06d.js +0 -2
- package/dist/arcgis-coding-components/p-1b0246cd.entry.js +0 -1
- package/dist/arcgis-coding-components/p-236ce4a1.js +0 -62
- package/dist/arcgis-coding-components/p-3664ab2a.js +0 -1
- package/dist/cjs/arcade-mode-8bf7a14b.js +0 -598
- package/dist/esm/arcade-mode-c5a69066.js +0 -594
- package/dist/esm/polyfills/css-shim.js +0 -1
|
@@ -300,6 +300,57 @@
|
|
|
300
300
|
"max": 1
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
|
+
[
|
|
304
|
+
{
|
|
305
|
+
"type": "function",
|
|
306
|
+
"name": "defaultvalue",
|
|
307
|
+
"bundle": "core",
|
|
308
|
+
"sinceVersion": "1.26",
|
|
309
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue1",
|
|
310
|
+
"description": "Returns a specified default value if an index in an array does not exist or the value at the specified index is `null` or an empty text value.",
|
|
311
|
+
"examples": "\n##### Contoh\n\nArray with value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 4, \"No data\");\n// returns 901\n```\n\nArray with no value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 5, \"No data\");\n// returns \"No data\"\n```\n\nArray with a null value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nDefaultValue(a, 2, \"No data\");\n// returns \"No data\"\n```\n\n",
|
|
312
|
+
"completion": {
|
|
313
|
+
"label": "DefaultValue",
|
|
314
|
+
"detail": "DefaultValue(container, index, defaultValue) -> Any",
|
|
315
|
+
"insertText": "DefaultValue(${1:container_}, ${2:index_}, ${3:defaultValue_})$0",
|
|
316
|
+
"insertTextMode": 2,
|
|
317
|
+
"insertTextFormat": 2,
|
|
318
|
+
"kind": 3,
|
|
319
|
+
"documentation": {
|
|
320
|
+
"kind": "markdown",
|
|
321
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if an index in an array does not exist or the value at the specified index is `null` or an empty text value.\n\n**Parameter**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the index does not exist or the value at the specified index is `null` or an empty text value.\n\n**Nilai kembali**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified index if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"parametersInfo": {
|
|
325
|
+
"min": 3,
|
|
326
|
+
"max": 3
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"type": "function",
|
|
331
|
+
"name": "defaultvalue",
|
|
332
|
+
"bundle": "core",
|
|
333
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#defaultvalue2",
|
|
334
|
+
"description": "Checks whether an index nested several levels deep in a multidimensional array has a value and returns that value if present. Otherwise, this function returns a specified default value if at least one of the nested keys or indices does not exist or the value at the specified key or index is `null` or an empty text value. This allows you to drill into a nested structure in one step rather than check values within each array.",
|
|
335
|
+
"examples": "\n##### Contoh\n\nArray with a value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 3], \"No data\");\n// returns 1\n```\n\nArray with no value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [2, 10], \"No data\");\n// returns \"No data\"\n```\n\nArray with no value at the parent index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nDefaultValue(a, [10, 3], \"No data\");\n// returns \"No data\"\n```\n\nArray of dictionaries with nested values\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nDefaultValue(a, [0, \"weather\",\"precipitation\",\"values\", 6], \"No data\");\n// returns 1\n```\n\n",
|
|
336
|
+
"completion": {
|
|
337
|
+
"label": "DefaultValue",
|
|
338
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
339
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
340
|
+
"insertTextMode": 2,
|
|
341
|
+
"insertTextFormat": 2,
|
|
342
|
+
"kind": 3,
|
|
343
|
+
"documentation": {
|
|
344
|
+
"kind": "markdown",
|
|
345
|
+
"value": "Checks whether an index nested several levels deep in a multidimensional array has a value and returns that value if present. Otherwise, this function returns a specified default value if at least one of the nested keys or indices does not exist or the value at the specified key or index is `null` or an empty text value. This allows you to drill into a nested structure in one step rather than check values within each array.\n\n**Parameter**\n\n- **container**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The input array to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Nilai kembali**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"parametersInfo": {
|
|
349
|
+
"min": 3,
|
|
350
|
+
"max": 3
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
],
|
|
303
354
|
[
|
|
304
355
|
{
|
|
305
356
|
"type": "function",
|
|
@@ -451,6 +502,58 @@
|
|
|
451
502
|
"max": 1
|
|
452
503
|
}
|
|
453
504
|
},
|
|
505
|
+
[
|
|
506
|
+
{
|
|
507
|
+
"type": "function",
|
|
508
|
+
"name": "hasvalue",
|
|
509
|
+
"bundle": "core",
|
|
510
|
+
"sinceVersion": "1.26",
|
|
511
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue1",
|
|
512
|
+
"description": "Indicates whether an array has a value at the given index.",
|
|
513
|
+
"examples": "\n##### Contoh\n\nArray with value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 4);\n// returns true\n```\n\nArray with no value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 5);\n// returns false\n```\n\nArray with a null value at the given index\n\n```arcade\nvar a = [23,4,null,36,901]\nHasValue(a, 2);\n// returns false\n```\n\n",
|
|
514
|
+
"completion": {
|
|
515
|
+
"label": "HasValue",
|
|
516
|
+
"detail": "HasValue(inputArray, index) -> Boolean",
|
|
517
|
+
"insertText": "HasValue(${1:inputArray_}, ${2:index_})$0",
|
|
518
|
+
"insertTextMode": 2,
|
|
519
|
+
"insertTextFormat": 2,
|
|
520
|
+
"kind": 3,
|
|
521
|
+
"documentation": {
|
|
522
|
+
"kind": "markdown",
|
|
523
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether an array has a value at the given index.\n\n**Parameter**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **index**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index to check.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"parametersInfo": {
|
|
527
|
+
"min": 2,
|
|
528
|
+
"max": 2
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"type": "function",
|
|
533
|
+
"name": "hasvalue",
|
|
534
|
+
"bundle": "core",
|
|
535
|
+
"sinceVersion": "1.26",
|
|
536
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#hasvalue2",
|
|
537
|
+
"description": "Checks whether an index nested several levels deep in a multidimensional array has a value. This allows you to drill into a nested structure in one step rather than check values within each array. Returns `true` if the indexes at each level of the structure exist and include a non-null value.",
|
|
538
|
+
"examples": "\n##### Contoh\n\nArray with a value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 4]);\n// returns true\n```\n\nArray with no value at the nested index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [2, 10]);\n// returns false\n```\n\nArray with no value at the parent index\n\n```arcade\nvar a = [23,4,[0,0,1,1,0],36,901]\nHasValue(a, [10, 5]);\n// returns false\n```\n\nArray of dictionaries with nested values\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nvar a = [ data, data2, data3 ]\nif(HasValue(a, [0, \"weather\",\"precipitation\",\"values\", 6])){\n // This check succeeds so the value will be returned\n return a[0].weather.precipitation.values[6];\n // returns 1\n}\n```\n\n",
|
|
539
|
+
"completion": {
|
|
540
|
+
"label": "HasValue",
|
|
541
|
+
"detail": "HasValue(inputArray, indexes) -> Boolean",
|
|
542
|
+
"insertText": "HasValue(${1:inputArray_}, ${2:indexes_})$0",
|
|
543
|
+
"insertTextMode": 2,
|
|
544
|
+
"insertTextFormat": 2,
|
|
545
|
+
"kind": 3,
|
|
546
|
+
"documentation": {
|
|
547
|
+
"kind": "markdown",
|
|
548
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChecks whether an index nested several levels deep in a multidimensional array has a value. This allows you to drill into a nested structure in one step rather than check values within each array. Returns `true` if the indexes at each level of the structure exist and include a non-null value.\n\n**Parameter**\n\n- **inputArray**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Any](https://developers.arcgis.com/arcade/guide/types/#any)> - The array to check.\n- **indexes**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
"parametersInfo": {
|
|
552
|
+
"min": 2,
|
|
553
|
+
"max": 2
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
],
|
|
454
557
|
{
|
|
455
558
|
"type": "function",
|
|
456
559
|
"name": "includes",
|
|
@@ -1390,6 +1493,31 @@
|
|
|
1390
1493
|
"max": 2
|
|
1391
1494
|
}
|
|
1392
1495
|
},
|
|
1496
|
+
{
|
|
1497
|
+
"type": "function",
|
|
1498
|
+
"name": "filterbysubtypecode",
|
|
1499
|
+
"bundle": "data-access",
|
|
1500
|
+
"sinceVersion": "1.25",
|
|
1501
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#filterbysubtypecode",
|
|
1502
|
+
"description": "ng_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________ny.",
|
|
1503
|
+
"examples": "\n##### Contoh\n\nng_Filter features with the subtype code____________________ny\n\n```arcade\n// Returns all features that have the given subtype code\nFilterBySubtypeCode($layer, 5)\n```\n\n",
|
|
1504
|
+
"completion": {
|
|
1505
|
+
"label": "FilterBySubtypeCode",
|
|
1506
|
+
"detail": "FilterBySubtypeCode(features, subtypeCode) -> FeatureSet",
|
|
1507
|
+
"insertText": "FilterBySubtypeCode(${1:features_}, ${2:subtypeCode_})$0",
|
|
1508
|
+
"insertTextMode": 2,
|
|
1509
|
+
"insertTextFormat": 2,
|
|
1510
|
+
"kind": 3,
|
|
1511
|
+
"documentation": {
|
|
1512
|
+
"kind": "markdown",
|
|
1513
|
+
"value": "**[Sejak versi 1.25](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nng_Creates a new FeatureSet with all the features matching the given subtype code_________________________________________ny.\n\n**Parameter**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - ng_The FeatureSet, or layer, to filter___________________ny.\n- **subtypeCode**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ng_The subtype code used to filter features in the FeatureSet or layer___________________________________ny.\n\n**Nilai kembali**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"parametersInfo": {
|
|
1517
|
+
"min": 2,
|
|
1518
|
+
"max": 2
|
|
1519
|
+
}
|
|
1520
|
+
},
|
|
1393
1521
|
{
|
|
1394
1522
|
"type": "function",
|
|
1395
1523
|
"name": "first",
|
|
@@ -1623,7 +1751,7 @@
|
|
|
1623
1751
|
"sinceVersion": "1.14",
|
|
1624
1752
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#length3d",
|
|
1625
1753
|
"description": "Mengembalikan panjang planar (Cartesian) FeatureSet input dengan mempertimbangkan tinggi atau informasi Z. Geometri yang diberikan ke fungsi ini harus memiliki sistem koordinat yang diproyeksikan. Jika referensi spasial tidak mencantumkan nilai untuk unit Z, maka hasilnya akan ditampilkan dalam meter. Perlu diingat bahwa tidak semua klien (seperti seri 3.x ArcGIS API for JavaScript) mendukung permintaan nilai Z bahkan jika data berisi informasi Z.\n\n_Fitur geometri dalam profil visualisasi dan pelabelan digeneralisasi menurut resolusi skala tampilan untuk meningkatkan kinerja gambar. Oleh karenanya, menggunakan fitur geometri (mis. `$feature`) sebagai input terhadap fungsi geometri dalam konteks ini akan menampilkan hasil berbeda di setiap level skala. Profil lain, seperti jendela sembul, memberikan geometri beresolusi penuh._",
|
|
1626
|
-
"examples": "\n##### Contoh\n\nMenampilkan panjang 3D fitur layer dalam meter\n\n```arcade\
|
|
1754
|
+
"examples": "\n##### Contoh\n\nMenampilkan panjang 3D fitur layer dalam meter\n\n```arcade\nLength3D($layer, 'meters')\n```\n\n",
|
|
1627
1755
|
"completion": {
|
|
1628
1756
|
"label": "Length3D",
|
|
1629
1757
|
"detail": "Length3D(features, unit?) -> Number",
|
|
@@ -2241,6 +2369,31 @@
|
|
|
2241
2369
|
"max": 1
|
|
2242
2370
|
}
|
|
2243
2371
|
},
|
|
2372
|
+
{
|
|
2373
|
+
"type": "function",
|
|
2374
|
+
"name": "hasvalue",
|
|
2375
|
+
"bundle": "core",
|
|
2376
|
+
"sinceVersion": "1.20",
|
|
2377
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/feature_functions/#hasvalue",
|
|
2378
|
+
"description": "Indicates whether a feature has a given field and if that field has a value.",
|
|
2379
|
+
"examples": "\n##### Contoh\n\nReturn false if feature attribute does not exist or is empty\n\n```arcade\nif(HasValue($feature, \"population\")){\n return $feature.population / AreaGeodetic($feature)\n}\n// Returns the population density if population is available\n```\n\n",
|
|
2380
|
+
"completion": {
|
|
2381
|
+
"label": "HasValue",
|
|
2382
|
+
"detail": "HasValue(inputFeature, fieldName) -> Boolean",
|
|
2383
|
+
"insertText": "HasValue(${1:inputFeature_}, ${2:fieldName_})$0",
|
|
2384
|
+
"insertTextMode": 2,
|
|
2385
|
+
"insertTextFormat": 2,
|
|
2386
|
+
"kind": 3,
|
|
2387
|
+
"documentation": {
|
|
2388
|
+
"kind": "markdown",
|
|
2389
|
+
"value": "**[Sejak versi 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether a feature has a given field and if that field has a value.\n\n**Parameter**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature to check.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The field name to check.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
2390
|
+
}
|
|
2391
|
+
},
|
|
2392
|
+
"parametersInfo": {
|
|
2393
|
+
"min": 2,
|
|
2394
|
+
"max": 2
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2244
2397
|
{
|
|
2245
2398
|
"type": "function",
|
|
2246
2399
|
"name": "schema",
|
|
@@ -2753,6 +2906,57 @@
|
|
|
2753
2906
|
"max": 2
|
|
2754
2907
|
}
|
|
2755
2908
|
},
|
|
2909
|
+
[
|
|
2910
|
+
{
|
|
2911
|
+
"type": "function",
|
|
2912
|
+
"name": "defaultvalue",
|
|
2913
|
+
"bundle": "core",
|
|
2914
|
+
"sinceVersion": "1.26",
|
|
2915
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue1",
|
|
2916
|
+
"description": "Returns a specified default value if a key in a geometry does not exist or the value at the specified key is `null` or an empty text value.",
|
|
2917
|
+
"examples": "\n##### Contoh\n\nPoint that has a z-value\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is true\n// returns the value of Geometry($feature).z\n```\n\nPoint that does not have a z-value\n\n```arcade\nDefaultValue(Geometry($feature), \"z\", 1000)\n// Geometry($feature).hasZ is false\n// returns 1000\n```\n\n",
|
|
2918
|
+
"completion": {
|
|
2919
|
+
"label": "DefaultValue",
|
|
2920
|
+
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
2921
|
+
"insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
|
|
2922
|
+
"insertTextMode": 2,
|
|
2923
|
+
"insertTextFormat": 2,
|
|
2924
|
+
"kind": 3,
|
|
2925
|
+
"documentation": {
|
|
2926
|
+
"kind": "markdown",
|
|
2927
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a key in a geometry does not exist or the value at the specified key is `null` or an empty text value.\n\n**Parameter**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the key does not exist or the value at the specified key is `null` or an empty text value.\n\n**Nilai kembali**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
2928
|
+
}
|
|
2929
|
+
},
|
|
2930
|
+
"parametersInfo": {
|
|
2931
|
+
"min": 3,
|
|
2932
|
+
"max": 3
|
|
2933
|
+
}
|
|
2934
|
+
},
|
|
2935
|
+
{
|
|
2936
|
+
"type": "function",
|
|
2937
|
+
"name": "defaultvalue",
|
|
2938
|
+
"bundle": "core",
|
|
2939
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#defaultvalue2",
|
|
2940
|
+
"description": "Returns a specified default value if at least one of the keys in a geometry's nested properties does not exist or the value at the specified key is `null` or an empty text value.",
|
|
2941
|
+
"examples": "\n##### Contoh\n\nRing, coordinate, and x value all exist and have a value\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"z\"], 1000)\n// returns 100\n```\n\nRing does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",2,0,\"z\"], 1000)\n// returns 1000\n```\n\nRing and coordinate exist, but m-value does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nreturn DefaultValue(shape, [\"rings\",0,0,\"m\"], 100)\n// returns 100\n```\n\n",
|
|
2942
|
+
"completion": {
|
|
2943
|
+
"label": "DefaultValue",
|
|
2944
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
2945
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
2946
|
+
"insertTextMode": 2,
|
|
2947
|
+
"insertTextFormat": 2,
|
|
2948
|
+
"kind": 3,
|
|
2949
|
+
"documentation": {
|
|
2950
|
+
"kind": "markdown",
|
|
2951
|
+
"value": "Returns a specified default value if at least one of the keys in a geometry's nested properties does not exist or the value at the specified key is `null` or an empty text value.\n\n**Parameter**\n\n- **container**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The input geometry to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Nilai kembali**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
"parametersInfo": {
|
|
2955
|
+
"min": 3,
|
|
2956
|
+
"max": 3
|
|
2957
|
+
}
|
|
2958
|
+
}
|
|
2959
|
+
],
|
|
2756
2960
|
{
|
|
2757
2961
|
"type": "function",
|
|
2758
2962
|
"name": "densify",
|
|
@@ -2903,6 +3107,31 @@
|
|
|
2903
3107
|
"max": 3
|
|
2904
3108
|
}
|
|
2905
3109
|
},
|
|
3110
|
+
{
|
|
3111
|
+
"type": "function",
|
|
3112
|
+
"name": "distancetocoordinate",
|
|
3113
|
+
"bundle": "geometry",
|
|
3114
|
+
"sinceVersion": "1.26",
|
|
3115
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#distancetocoordinate",
|
|
3116
|
+
"description": "Returns a coordinate along an input line based on a given distance. If the distance is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
|
|
3117
|
+
"examples": "\n##### Contoh\n\nReturns the coordinate of the input polyline based on the given distance value\n\n```arcade\nvar result = DistanceToCoordinate(Geometry($feature), 1038);\n\nreturn result.coordinate;\n```\n\n",
|
|
3118
|
+
"completion": {
|
|
3119
|
+
"label": "DistanceToCoordinate",
|
|
3120
|
+
"detail": "DistanceToCoordinate(inputLine, inputDistance) -> Dictionary",
|
|
3121
|
+
"insertText": "DistanceToCoordinate(${1:inputLine_}, ${2:inputDistance_})$0",
|
|
3122
|
+
"insertTextMode": 2,
|
|
3123
|
+
"insertTextFormat": 2,
|
|
3124
|
+
"kind": 3,
|
|
3125
|
+
"documentation": {
|
|
3126
|
+
"kind": "markdown",
|
|
3127
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a coordinate along an input line based on a given distance. If the distance is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._\n\n**Parameter**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputDistance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The distance used to find the coordinate along `inputLine` from the start of the line.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturns a dictionary with the following properties. If the distance is not found along the input line, then the result will be `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The coordinates of a point along `inputLine` based on the given distance value. The `searchPoint` must have `hasZ` equal to `true` for the resulting `coordinate` to include a z value.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the start of the `inputLine` measured along the line to the `coordinate`.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - In the case of a polyline input, the index of the path to which the `coordinate` belongs.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index (relative to the path) of the line segment to which the `coordinate` belongs. If `coordinate` represents a vertex of the input line, then `segmentId` will return the index of the previous vertex. If `coordinate` is the first vertex of `inputLine`, then the value of `segmentId` will be `0`."
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
"parametersInfo": {
|
|
3131
|
+
"min": 2,
|
|
3132
|
+
"max": 2
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
2906
3135
|
{
|
|
2907
3136
|
"type": "function",
|
|
2908
3137
|
"name": "envelopeintersects",
|
|
@@ -3076,6 +3305,58 @@
|
|
|
3076
3305
|
"max": 1
|
|
3077
3306
|
}
|
|
3078
3307
|
},
|
|
3308
|
+
[
|
|
3309
|
+
{
|
|
3310
|
+
"type": "function",
|
|
3311
|
+
"name": "hasvalue",
|
|
3312
|
+
"bundle": "core",
|
|
3313
|
+
"sinceVersion": "1.26",
|
|
3314
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue1",
|
|
3315
|
+
"description": "Indicates whether a geometry has a value at a given key or index.",
|
|
3316
|
+
"examples": "\n##### Contoh\n\nPoint that has a z value\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Point\"){\n return HasValue(Geometry($feature), \"z\")\n // returns true\n}\n```\n\nPolygon with key that does not exist\n\n```arcade\nif( TypeOf(Geometry($feature)) == \"Polygon\"){\n return HasValue(Geometry($feature), \"verticalCoordinateSystem\")\n // returns false\n}\n```\n\n",
|
|
3317
|
+
"completion": {
|
|
3318
|
+
"label": "HasValue",
|
|
3319
|
+
"detail": "HasValue(inputGeometry, key) -> Boolean",
|
|
3320
|
+
"insertText": "HasValue(${1:inputGeometry_}, ${2:key_})$0",
|
|
3321
|
+
"insertTextMode": 2,
|
|
3322
|
+
"insertTextFormat": 2,
|
|
3323
|
+
"kind": 3,
|
|
3324
|
+
"documentation": {
|
|
3325
|
+
"kind": "markdown",
|
|
3326
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether a geometry has a value at a given key or index.\n\n**Parameter**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The geometry to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or property name to check.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3327
|
+
}
|
|
3328
|
+
},
|
|
3329
|
+
"parametersInfo": {
|
|
3330
|
+
"min": 2,
|
|
3331
|
+
"max": 2
|
|
3332
|
+
}
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"type": "function",
|
|
3336
|
+
"name": "hasvalue",
|
|
3337
|
+
"bundle": "core",
|
|
3338
|
+
"sinceVersion": "1.26",
|
|
3339
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#hasvalue2",
|
|
3340
|
+
"description": "Checks whether a property or index nested several levels deep in a geometry has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.",
|
|
3341
|
+
"examples": "\n##### Contoh\n\nRing, coordinate, and x value all exist and have a value\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,0,\"x\"])){\n // if() evaluates to true, thus executing the return\n return shape.rings[0][0].x;\n // returns -97.06138\n}\n```\n\nRing does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",2,0,\"x\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[2][0].x;\n // polygon only has one ring; there is not a third ring\n}\n```\n\nRing and coordinate exist, but m value does not exist\n\n```arcade\n// polygon with one ring\nvar shape = Polygon({\n rings: [[\n Point({ x: -97.06138, y: 32.837, z: 100, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06133, y: 32.836, z: 50, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06124, y: 32.834, z: 20, hasZ: true, spatialReference: { wkid: 102100 } }),\n Point({ x: -97.06127, y: 32.832, z: 0, hasZ: true, spatialReference: { wkid: 102100 } })\n ]],\n hasZ: true,\n spatialReference: { wkid: 102100 }\n});\n\nif(HasValue(shape, [\"rings\",0,3,\"m\"])){\n // if() evaluates to false, thus not executing the return\n return shape.rings[0][3].m;\n // there is a coordinate at this location, but it does not have an m value\n}\n```\n\n",
|
|
3342
|
+
"completion": {
|
|
3343
|
+
"label": "HasValue",
|
|
3344
|
+
"detail": "HasValue(inputGeometry, keys) -> Boolean",
|
|
3345
|
+
"insertText": "HasValue(${1:inputGeometry_}, ${2:keys_})$0",
|
|
3346
|
+
"insertTextMode": 2,
|
|
3347
|
+
"insertTextFormat": 2,
|
|
3348
|
+
"kind": 3,
|
|
3349
|
+
"documentation": {
|
|
3350
|
+
"kind": "markdown",
|
|
3351
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChecks whether a property or index nested several levels deep in a geometry has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.\n\n**Parameter**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) - The dictionary or feature to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
"parametersInfo": {
|
|
3355
|
+
"min": 2,
|
|
3356
|
+
"max": 2
|
|
3357
|
+
}
|
|
3358
|
+
}
|
|
3359
|
+
],
|
|
3079
3360
|
{
|
|
3080
3361
|
"type": "function",
|
|
3081
3362
|
"name": "intersection",
|
|
@@ -3251,6 +3532,31 @@
|
|
|
3251
3532
|
"max": 2
|
|
3252
3533
|
}
|
|
3253
3534
|
},
|
|
3535
|
+
{
|
|
3536
|
+
"type": "function",
|
|
3537
|
+
"name": "measuretocoordinate",
|
|
3538
|
+
"bundle": "geometry",
|
|
3539
|
+
"sinceVersion": "1.26",
|
|
3540
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#measuretocoordinate",
|
|
3541
|
+
"description": "Returns a coordinate along an input line based on a given measure, or m-value. If the measure is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
|
|
3542
|
+
"examples": "\n##### Contoh\n\nReturns the coordinate of the input polyline based on the given measure value\n\n```arcade\nvar result = MeasureToCoordinate(Geometry($feature), 110);\n\nreturn result.coordinate;\n```\n\n",
|
|
3543
|
+
"completion": {
|
|
3544
|
+
"label": "MeasureToCoordinate",
|
|
3545
|
+
"detail": "MeasureToCoordinate(inputLine, inputMeasure) -> Dictionary",
|
|
3546
|
+
"insertText": "MeasureToCoordinate(${1:inputLine_}, ${2:inputMeasure_})$0",
|
|
3547
|
+
"insertTextMode": 2,
|
|
3548
|
+
"insertTextFormat": 2,
|
|
3549
|
+
"kind": 3,
|
|
3550
|
+
"documentation": {
|
|
3551
|
+
"kind": "markdown",
|
|
3552
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a coordinate along an input line based on a given measure, or m-value. If the measure is not found along the input line, then the result will be `null`.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._\n\n**Parameter**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to find a coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **inputMeasure**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The measure, or m-value, from which to find a coordinate along `inputLine` from the start of the line.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturns a dictionary with the following properties. If the measure is not found along the input line, then the result will be `null`.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The coordinates of a point along `inputLine` based on the given measure value. The `searchPoint` must have `hasZ` equal to `true` for the resulting `coordinate` to include a z value.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the start of the `inputLine` measured along the line to the `coordinate`.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - In the case of a polyline input, the index of the path to which the `coordinate` belongs.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index (relative to the path) of the line segment to which the `coordinate` belongs. If `coordinate` represents a vertex of the input line, then `segmentId` will return the index of the previous vertex. If `coordinate` is the first vertex of `inputLine`, then the value of `segmentId` will be `0`."
|
|
3553
|
+
}
|
|
3554
|
+
},
|
|
3555
|
+
"parametersInfo": {
|
|
3556
|
+
"min": 2,
|
|
3557
|
+
"max": 2
|
|
3558
|
+
}
|
|
3559
|
+
},
|
|
3254
3560
|
{
|
|
3255
3561
|
"type": "function",
|
|
3256
3562
|
"name": "multiparttosinglepart",
|
|
@@ -3367,7 +3673,7 @@
|
|
|
3367
3673
|
"kind": 3,
|
|
3368
3674
|
"documentation": {
|
|
3369
3675
|
"kind": "markdown",
|
|
3370
|
-
"value": "**[Sejak versi 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan koordinat terdekat (bukan puncak) dari geometri input ke titik pencarian. Kamus yang dikembalikan juga menyertakan jarak planar terpendek dari titik pencarian ke koordinat terdekat. Jika titik pencarian memotong geometri input, maka titik pencarian dikembalikan sebagai hasil dengan jarak nol.\n\n_Fitur geometri dalam profil visualisasi dan pelabelan digeneralisasi menurut resolusi skala tampilan untuk meningkatkan kinerja gambar. Oleh karenanya, menggunakan fitur geometri (mis. `$feature`) sebagai input terhadap fungsi geometri dalam konteks ini akan menampilkan hasil berbeda di setiap level skala. Profil lain, seperti jendela sembul, memberikan geometri beresolusi penuh._\n\n**Parameter**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometri untuk mendapatkan koordinat terdekat.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Titik untuk menemukan koordinat terdekat dari `inputGeometry`.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nMengembalikan kamus dengan properti berikut.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Koordinat terdekat dari `inputGeometry` ke `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jarak planar dari koordinat terdekat ke `searchPoint`. Ini mewakili jarak terpendek antara `inputGeometry` dan `searchPoint
|
|
3676
|
+
"value": "**[Sejak versi 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan koordinat terdekat (bukan puncak) dari geometri input ke titik pencarian. Kamus yang dikembalikan juga menyertakan jarak planar terpendek dari titik pencarian ke koordinat terdekat. Jika titik pencarian memotong geometri input, maka titik pencarian dikembalikan sebagai hasil dengan jarak nol.\n\n_Fitur geometri dalam profil visualisasi dan pelabelan digeneralisasi menurut resolusi skala tampilan untuk meningkatkan kinerja gambar. Oleh karenanya, menggunakan fitur geometri (mis. `$feature`) sebagai input terhadap fungsi geometri dalam konteks ini akan menampilkan hasil berbeda di setiap level skala. Profil lain, seperti jendela sembul, memberikan geometri beresolusi penuh._\n\n**Parameter**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometri untuk mendapatkan koordinat terdekat.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Titik untuk menemukan koordinat terdekat dari `inputGeometry`.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nMengembalikan kamus dengan properti berikut.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Koordinat terdekat dari `inputGeometry` ke `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jarak planar dari koordinat terdekat ke `searchPoint`. Ini mewakili jarak terpendek antara `inputGeometry` dan `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
3371
3677
|
}
|
|
3372
3678
|
},
|
|
3373
3679
|
"parametersInfo": {
|
|
@@ -3392,7 +3698,7 @@
|
|
|
3392
3698
|
"kind": 3,
|
|
3393
3699
|
"documentation": {
|
|
3394
3700
|
"kind": "markdown",
|
|
3395
|
-
"value": "**[Sejak versi 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan puncak terdekat dari geometri input ke titik pencarian. Kamus yang dikembalikan menyertakan jarak planar dari titik pencarian ke puncak terdekat.\n\n_Fitur geometri dalam profil visualisasi dan pelabelan digeneralisasi menurut resolusi skala tampilan untuk meningkatkan kinerja gambar. Oleh karenanya, menggunakan fitur geometri (mis. `$feature`) sebagai input terhadap fungsi geometri dalam konteks ini akan menampilkan hasil berbeda di setiap level skala. Profil lain, seperti jendela sembul, memberikan geometri beresolusi penuh._\n\n**Parameter**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometri untuk mendapatkan puncak terdekat.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Titik untuk menemukan puncak terdekat dari `inputGeometry`.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nMengembalikan kamus dengan properti berikut.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Lokasi titik yang mewakili puncak terdekat dari `inputGeometry` ke `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jarak planar dari puncak terdekat geometri input ke `searchPoint
|
|
3701
|
+
"value": "**[Sejak versi 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nMengembalikan puncak terdekat dari geometri input ke titik pencarian. Kamus yang dikembalikan menyertakan jarak planar dari titik pencarian ke puncak terdekat.\n\n_Fitur geometri dalam profil visualisasi dan pelabelan digeneralisasi menurut resolusi skala tampilan untuk meningkatkan kinerja gambar. Oleh karenanya, menggunakan fitur geometri (mis. `$feature`) sebagai input terhadap fungsi geometri dalam konteks ini akan menampilkan hasil berbeda di setiap level skala. Profil lain, seperti jendela sembul, memberikan geometri beresolusi penuh._\n\n**Parameter**\n\n- **inputGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometri untuk mendapatkan puncak terdekat.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Titik untuk menemukan puncak terdekat dari `inputGeometry`.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nMengembalikan kamus dengan properti berikut.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - Lokasi titik yang mewakili puncak terdekat dari `inputGeometry` ke `searchPoint`.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jarak planar dari puncak terdekat geometri input ke `searchPoint`.\n- **sideOfLine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
3396
3702
|
}
|
|
3397
3703
|
},
|
|
3398
3704
|
"parametersInfo": {
|
|
@@ -3500,6 +3806,31 @@
|
|
|
3500
3806
|
}
|
|
3501
3807
|
}
|
|
3502
3808
|
],
|
|
3809
|
+
{
|
|
3810
|
+
"type": "function",
|
|
3811
|
+
"name": "pointtocoordinate",
|
|
3812
|
+
"bundle": "geometry",
|
|
3813
|
+
"sinceVersion": "1.26",
|
|
3814
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/geometry_functions/#pointtocoordinate",
|
|
3815
|
+
"description": "Returns the nearest coordinate and distance to that coordinate of the search point to the input line.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._",
|
|
3816
|
+
"examples": "\n##### Contoh\n\nReturns the distance to the nearest coordinate along the input polyline based on the clicked location to open a popup\n\n```arcade\nvar result;\n\nif (TypeOf($userInput) == \"Point\"){\n result = PointToCoordinate(Geometry($feature), $userInput);\n}\n\nreturn result.distanceAlong;\n```\n\n",
|
|
3817
|
+
"completion": {
|
|
3818
|
+
"label": "PointToCoordinate",
|
|
3819
|
+
"detail": "PointToCoordinate(inputLine, searchPoint) -> Dictionary",
|
|
3820
|
+
"insertText": "PointToCoordinate(${1:inputLine_}, ${2:searchPoint_})$0",
|
|
3821
|
+
"insertTextMode": 2,
|
|
3822
|
+
"insertTextFormat": 2,
|
|
3823
|
+
"kind": 3,
|
|
3824
|
+
"documentation": {
|
|
3825
|
+
"kind": "markdown",
|
|
3826
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the nearest coordinate and distance to that coordinate of the search point to the input line.\n\n_Feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry._\n\n**Parameter**\n\n- **inputLine**: [Polyline](https://developers.arcgis.com/arcade/guide/types/#polyline) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Point](https://developers.arcgis.com/arcade/guide/types/#point)> \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The line or path from which to get the nearest coordinate. When using a Feature as input, the feature's geometry must be a polyline.\n- **searchPoint**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point from which to find the nearest coordinate of the `inputLine`.\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturns a dictionary with the following properties.\n\n- **coordinate**: [Point](https://developers.arcgis.com/arcade/guide/types/#point) - The point coordinate representing the nearest coordinate along the `inputLine` to the `searchPoint`. The `searchPoint` must have `hasZ` equal to `true` for the resulting `coordinate` to include a z value.\n- **distance**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the `searchPoint` to the `coordinate`.\n- **distanceAlong**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The planar distance from the start of the `inputLine` measured along the line to the `coordinate`.\n- **partId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - In the case of a polyline input, the index of the path to which the `coordinate` belongs.\n- **segmentId**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The index (relative to the path) of the line segment to which the `coordinate` belongs. If `coordinate` represents a vertex of the input line, then `segmentId` will return the index of the previous vertex. If `coordinate` is the first vertex of `inputLine`, then the value of `segmentId` will be `0`."
|
|
3827
|
+
}
|
|
3828
|
+
},
|
|
3829
|
+
"parametersInfo": {
|
|
3830
|
+
"min": 2,
|
|
3831
|
+
"max": 2
|
|
3832
|
+
}
|
|
3833
|
+
},
|
|
3503
3834
|
[
|
|
3504
3835
|
{
|
|
3505
3836
|
"type": "function",
|
|
@@ -4063,7 +4394,7 @@
|
|
|
4063
4394
|
"sinceVersion": "1.12",
|
|
4064
4395
|
"link": "https://developers.arcgis.com/arcade/function-reference/track_functions/#trackdistanceat",
|
|
4065
4396
|
"description": "Jumlah jarak yang ditempuh antar pengamatan dari pengamatan pertama hingga pengamatan saat ini ditambah nilai yang telah ditentukan.",
|
|
4066
|
-
"examples": "\n##### Contoh\n\nTrek Anda memiliki enam fitur, seperti yang terlihat di atas. Ekspresi ini mengembalikan nilai untuk setiap fitur saat ini dalam trek. Pada contoh pertama, kita memeriksa hasil saat dievaluasi pada fitur 2 (p2) dengan nilai indeks 2. Perhitungannya adalah `30 + 80 + 60 = 170`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\nTrek Anda memiliki enam fitur, seperti yang terlihat di atas. Ekspresi ini mengembalikan nilai untuk setiap fitur saat ini dalam trek. Pada contoh berikut, kita memeriksa hasil saat dievaluasi pada fitur 4 (p4) dengan nilai indeks 4. Perhitungannya adalah `25 + 35 + 30 + 80 + 60 = 230`.\n\n```arcade\nTrackDistanceAt(
|
|
4397
|
+
"examples": "\n##### Contoh\n\nTrek Anda memiliki enam fitur, seperti yang terlihat di atas. Ekspresi ini mengembalikan nilai untuk setiap fitur saat ini dalam trek. Pada contoh pertama, kita memeriksa hasil saat dievaluasi pada fitur 2 (p2) dengan nilai indeks 2. Perhitungannya adalah `30 + 80 + 60 = 170`.\n\n```arcade\nTrackDistanceAt(2)\n// returns 170\n```\n\nTrek Anda memiliki enam fitur, seperti yang terlihat di atas. Ekspresi ini mengembalikan nilai untuk setiap fitur saat ini dalam trek. Pada contoh berikut, kita memeriksa hasil saat dievaluasi pada fitur 4 (p4) dengan nilai indeks 4. Perhitungannya adalah `25 + 35 + 30 + 80 + 60 = 230`.\n\n```arcade\nTrackDistanceAt(4)\n// returns 230\n```\n\n",
|
|
4067
4398
|
"completion": {
|
|
4068
4399
|
"label": "TrackDistanceAt",
|
|
4069
4400
|
"detail": "TrackDistanceAt(index) -> Number",
|
|
@@ -4312,6 +4643,57 @@
|
|
|
4312
4643
|
"id": "dictionary_functions",
|
|
4313
4644
|
"title": "Fungsi kamus",
|
|
4314
4645
|
"items": [
|
|
4646
|
+
[
|
|
4647
|
+
{
|
|
4648
|
+
"type": "function",
|
|
4649
|
+
"name": "defaultvalue",
|
|
4650
|
+
"bundle": "core",
|
|
4651
|
+
"sinceVersion": "1.26",
|
|
4652
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue1",
|
|
4653
|
+
"description": "Returns a specified default value if a key in a dictionary does not exist or the value at the specified key is `null` or an empty text value.",
|
|
4654
|
+
"examples": "\n##### Contoh\n\nDefaultValue returns a defined value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is defined, so it is returned\n// returns Jan 24, 2024, 12:00:00 PM system time\n```\n\nDefaultValue returns a default if there is no value at the specified key.\n\n```arcade\nvar data = {\n time: '',\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, \"time\", \"No time logged\")\n// value of data.time is empty, so the default is returned\n// returns \"No time logged\"\n```\n\nDefaultValue returns a default if the key does not exist.\n\n```arcade\nvar data = {\n time: ''\n}\n\nDefaultValue(data, \"conditions\", \"n/a\")\n// the conditions key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\n",
|
|
4655
|
+
"completion": {
|
|
4656
|
+
"label": "DefaultValue",
|
|
4657
|
+
"detail": "DefaultValue(container, key, defaultValue) -> Any",
|
|
4658
|
+
"insertText": "DefaultValue(${1:container_}, ${2:key_}, ${3:defaultValue_})$0",
|
|
4659
|
+
"insertTextMode": 2,
|
|
4660
|
+
"insertTextFormat": 2,
|
|
4661
|
+
"kind": 3,
|
|
4662
|
+
"documentation": {
|
|
4663
|
+
"kind": "markdown",
|
|
4664
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns a specified default value if a key in a dictionary does not exist or the value at the specified key is `null` or an empty text value.\n\n**Parameter**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The input dictionary to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key to check.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if the key does not exist or the value at the specified key is `null` or an empty text value.\n\n**Nilai kembali**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
4665
|
+
}
|
|
4666
|
+
},
|
|
4667
|
+
"parametersInfo": {
|
|
4668
|
+
"min": 3,
|
|
4669
|
+
"max": 3
|
|
4670
|
+
}
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
"type": "function",
|
|
4674
|
+
"name": "defaultvalue",
|
|
4675
|
+
"bundle": "core",
|
|
4676
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#defaultvalue2",
|
|
4677
|
+
"description": "Returns a specified default value if at least one of the keys in a nested dictionary does not exist or the value at the specified key is `null` or an empty text value.",
|
|
4678
|
+
"examples": "\n##### Contoh\n\nDefaultValue returns a defined value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], \"No time logged\")\n// value of data.weather.precipitation.value is defined, so it is returned\n// returns 0.4\n```\n\nDefaultValue returns a default if there is no value at the specified key.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"value\"], 0)\n// value of data.weather.precipitation.value is null, so the default is returned\n// returns 0\n```\n\nDefaultValue returns a default if the key does not exist.\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: null,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nDefaultValue(data, [\"weather\", \"wind\", \"value\"], \"n/a\")\n// the data.weather.wind key does not exist, so the default is returned\n// returns \"n/a\"\n```\n\nCheck null value in an array within a dictionary with key that exists\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nDefaultValue(data, [\"weather\", \"precipitation\", \"values\", 3], 0)\n// the value data.weather.precipitation.values[3] is null, so the default is returned\n// returns 0\n```\n\n",
|
|
4679
|
+
"completion": {
|
|
4680
|
+
"label": "DefaultValue",
|
|
4681
|
+
"detail": "DefaultValue(container, keys, defaultValue) -> Any",
|
|
4682
|
+
"insertText": "DefaultValue(${1:container_}, ${2:keys_}, ${3:defaultValue_})$0",
|
|
4683
|
+
"insertTextMode": 2,
|
|
4684
|
+
"insertTextFormat": 2,
|
|
4685
|
+
"kind": 3,
|
|
4686
|
+
"documentation": {
|
|
4687
|
+
"kind": "markdown",
|
|
4688
|
+
"value": "Returns a specified default value if at least one of the keys in a nested dictionary does not exist or the value at the specified key is `null` or an empty text value.\n\n**Parameter**\n\n- **container**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The input dictionary to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the container's structure.\n- **defaultValue**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) - This value is returned if at least one of the keys or indices does not exist or the value at the specified key is `null` or an empty text value.\n\n**Nilai kembali**: [Any](https://developers.arcgis.com/arcade/guide/types/#any) \nReturns the value at the specified key or index if defined. Otherwise, returns the value specified in `defaultValue`."
|
|
4689
|
+
}
|
|
4690
|
+
},
|
|
4691
|
+
"parametersInfo": {
|
|
4692
|
+
"min": 3,
|
|
4693
|
+
"max": 3
|
|
4694
|
+
}
|
|
4695
|
+
}
|
|
4696
|
+
],
|
|
4315
4697
|
[
|
|
4316
4698
|
{
|
|
4317
4699
|
"type": "function",
|
|
@@ -4487,31 +4869,58 @@
|
|
|
4487
4869
|
"max": 2
|
|
4488
4870
|
}
|
|
4489
4871
|
},
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
"
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
"
|
|
4507
|
-
|
|
4872
|
+
[
|
|
4873
|
+
{
|
|
4874
|
+
"type": "function",
|
|
4875
|
+
"name": "hasvalue",
|
|
4876
|
+
"bundle": "core",
|
|
4877
|
+
"sinceVersion": "1.20",
|
|
4878
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue1",
|
|
4879
|
+
"description": "Indicates whether a dictionary has a given key and if that key has a value.",
|
|
4880
|
+
"examples": "\n##### Contoh\n\nDictionary with key that has a value\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', 18519);\nHasValue(d, 'Cobourg');\n// returns true\n```\n\nDictionary with key that does not have a value\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000', 'Cobourg', null);\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDictionary without the provided key\n\n```arcade\nvar d = Dictionary('Port Hope', 16214, 'Grafton', '<1000');\nHasValue(d, 'Cobourg');\n// returns false\n```\n\nDictionary without the provided key\n\n```arcade\nif ( HasValue( Schema($feature).fields[0], \"domain\" ) ) {\n // Do something with the value if true\n}\n```\n\n",
|
|
4881
|
+
"completion": {
|
|
4882
|
+
"label": "HasValue",
|
|
4883
|
+
"detail": "HasValue(inputDictionary, key) -> Boolean",
|
|
4884
|
+
"insertText": "HasValue(${1:inputDictionary_}, ${2:key_})$0",
|
|
4885
|
+
"insertTextMode": 2,
|
|
4886
|
+
"insertTextFormat": 2,
|
|
4887
|
+
"kind": 3,
|
|
4888
|
+
"documentation": {
|
|
4889
|
+
"kind": "markdown",
|
|
4890
|
+
"value": "**[Sejak versi 1.20](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nIndicates whether a dictionary has a given key and if that key has a value.\n\n**Parameter**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The dictionary to check.\n- **key**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The key or field name to check.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4891
|
+
}
|
|
4892
|
+
},
|
|
4893
|
+
"parametersInfo": {
|
|
4894
|
+
"min": 2,
|
|
4895
|
+
"max": 2
|
|
4508
4896
|
}
|
|
4509
4897
|
},
|
|
4510
|
-
|
|
4511
|
-
"
|
|
4512
|
-
"
|
|
4898
|
+
{
|
|
4899
|
+
"type": "function",
|
|
4900
|
+
"name": "hasvalue",
|
|
4901
|
+
"bundle": "core",
|
|
4902
|
+
"sinceVersion": "1.26",
|
|
4903
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue2",
|
|
4904
|
+
"description": "Checks whether a property nested several levels deep in a dictionary has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.",
|
|
4905
|
+
"examples": "\n##### Contoh\n\nCheck dictionary with key that has a nested value\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"value\"])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.value;\n}\n```\n\nCheck value in a dictionary with key that does not exist\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n weather: {\n precipitation: {\n type: \"rain\",\n value: 0.4,\n unit: \"inches\"\n },\n temperature: {\n value: 50,\n unit: \"f\"\n },\n conditions: {\n description: \"Overcast\"\n }\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 0])){\n // if() evaluates to false (\"values\" does not exist), thus avoiding the block\n return data.weather.precipitation.values;\n}\n```\n\nCheck value in an array within a dictionary with key that does exist\n\n```arcade\nvar data = {\n time: Date(2024, 0, 24, 12),\n interval: 1,\n intervalUnit: \"days\",\n weather: {\n precipitation: {\n type: \"rain\",\n values: [0.4, 0, 0, null, 0.1, 0.8, 1],\n unit: \"inches\"\n },\n temperature: {\n values: [50, 50, 51, 52, 55, 49, 51],\n unit: \"f\"\n },\n }\n}\n\nif(HasValue(data, [\"weather\",\"precipitation\",\"values\", 6])){\n // if() evaluates to true, thus executing the return\n return data.weather.precipitation.values[6];\n}\n```\n\n",
|
|
4906
|
+
"completion": {
|
|
4907
|
+
"label": "HasValue",
|
|
4908
|
+
"detail": "HasValue(inputDictionary, keys) -> Boolean",
|
|
4909
|
+
"insertText": "HasValue(${1:inputDictionary_}, ${2:keys_})$0",
|
|
4910
|
+
"insertTextMode": 2,
|
|
4911
|
+
"insertTextFormat": 2,
|
|
4912
|
+
"kind": 3,
|
|
4913
|
+
"documentation": {
|
|
4914
|
+
"kind": "markdown",
|
|
4915
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChecks whether a property nested several levels deep in a dictionary has a value. This allows you to drill into a nested structure in one step rather than check values at each level. Returns `true` if the keys and indexes at each level of the structure exist and include a non-null value.\n\n**Parameter**\n\n- **inputDictionary**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - The dictionary to check.\n- **keys**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)> - An array of the keys or indexes to check in each level of the structure.\n\n**Nilai kembali**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean)"
|
|
4916
|
+
}
|
|
4917
|
+
},
|
|
4918
|
+
"parametersInfo": {
|
|
4919
|
+
"min": 2,
|
|
4920
|
+
"max": 2
|
|
4921
|
+
}
|
|
4513
4922
|
}
|
|
4514
|
-
|
|
4923
|
+
]
|
|
4515
4924
|
]
|
|
4516
4925
|
},
|
|
4517
4926
|
{
|
|
@@ -5898,7 +6307,7 @@
|
|
|
5898
6307
|
"bundle": "core",
|
|
5899
6308
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#datediff1",
|
|
5900
6309
|
"description": "Mengurangi dua Tanggal, dan menghasilkan perbedaan dalam unit yang ditentukan.",
|
|
5901
|
-
"examples": "\n##### Contoh\n\nMengurangi dua Tanggal dan menghasilkan umur\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\
|
|
6310
|
+
"examples": "\n##### Contoh\n\nMengurangi dua Tanggal dan menghasilkan umur\n\n```arcade\nvar startDate = Date($feature.startDateField);\nvar endDate = Date($feature.endDateField);\nvar age = DateDiff(endDate, startDate, 'years');\nreturn age;\n```\n\nng_Subtracts two Dates and returns the difference_________________________ny.\n\n```arcade\nvar startDate = Date(2022,2,23,2,23,22,0, \"America/New_York\"); // Mar 23, 2022, 2:23:22 AM EDT\nvar endDate = Date(2022,2,23,5,23,22,0, \"unknown\"); // Mar 23, 2022, 5:23:22 AM\n\nDateDiff(endDate, startDate, 'hours')\n// returns 3, since the Date with an unknown time zone is assumed to be New York time before the difference is calculated\n\nDateDiff(endDate, startDate, 'hours', \"America/Los_Angeles\");\n// returns 6, since the Date with an unknown time zone is now considered to be Los Angeles time before the difference is calculated\n```\n\n",
|
|
5902
6311
|
"completion": {
|
|
5903
6312
|
"label": "DateDiff",
|
|
5904
6313
|
"detail": "DateDiff(date1, date2, units?, timeZone?) -> Number",
|
|
@@ -7288,5 +7697,61 @@
|
|
|
7288
7697
|
}
|
|
7289
7698
|
}
|
|
7290
7699
|
]
|
|
7700
|
+
},
|
|
7701
|
+
{
|
|
7702
|
+
"id": "knowledgegraph_functions",
|
|
7703
|
+
"title": "ng_Knowledge graph functions__________________________ny",
|
|
7704
|
+
"items": [
|
|
7705
|
+
{
|
|
7706
|
+
"type": "function",
|
|
7707
|
+
"name": "knowledgegraphbyportalitem",
|
|
7708
|
+
"bundle": "knowledge-graph",
|
|
7709
|
+
"sinceVersion": "1.26",
|
|
7710
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#knowledgegraphbyportalitem",
|
|
7711
|
+
"description": "ng_Returns a knowledge graph from a portal item________________________ny.",
|
|
7712
|
+
"examples": "\n##### Contoh\n\nng_Returns the knowledge graph from the portal item__________________________ny.\n\n```arcade\nvar knowledgeGraph = KnowledgeGraphByPortalItem(\n Portal('https://www.arcgis.com'),\n '7b1fb95ab77f40bf8aa09c8b59045449',\n);\n```\n\n",
|
|
7713
|
+
"completion": {
|
|
7714
|
+
"label": "KnowledgeGraphByPortalItem",
|
|
7715
|
+
"detail": "KnowledgeGraphByPortalItem(portalObject, itemId) -> KnowledgeGraph",
|
|
7716
|
+
"insertText": "KnowledgeGraphByPortalItem(${1:portalObject_}, ${2:itemId_})$0",
|
|
7717
|
+
"insertTextMode": 2,
|
|
7718
|
+
"insertTextFormat": 2,
|
|
7719
|
+
"kind": 3,
|
|
7720
|
+
"documentation": {
|
|
7721
|
+
"kind": "markdown",
|
|
7722
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nng_Returns a knowledge graph from a portal item________________________ny.\n\n**Parameter**\n\n- **portalObject**: [Portal](https://developers.arcgis.com/arcade/guide/types/#portal) - ng_The Portal from which to query features_____________________ny.\n- **itemId**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ng_The GUID of the portal item referencing a knowledge graph service. _This value must be a text literal.______________________________________________________ny\n\n**Nilai kembali**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph)"
|
|
7723
|
+
}
|
|
7724
|
+
},
|
|
7725
|
+
"parametersInfo": {
|
|
7726
|
+
"min": 2,
|
|
7727
|
+
"max": 2
|
|
7728
|
+
}
|
|
7729
|
+
},
|
|
7730
|
+
{
|
|
7731
|
+
"type": "function",
|
|
7732
|
+
"name": "querygraph",
|
|
7733
|
+
"bundle": "knowledge-graph",
|
|
7734
|
+
"sinceVersion": "1.26",
|
|
7735
|
+
"link": "https://developers.arcgis.com/arcade/function-reference/knowledgegraph_functions/#querygraph",
|
|
7736
|
+
"description": "ng_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ny.",
|
|
7737
|
+
"examples": "\n##### Contoh\n\nng_Queries the knowledge graph for information about the `Student` entities it contains____________________________________________ny.\n\n```arcade\nvar results = QueryGraph(\n knowledgeGraph,\n 'MATCH (p:Student)-[e:EnrolledAt]->(s:School)\n WHERE s.name = 'Eastside Elementary'\n RETURN p,e,s.principal,s.numStaff\n LIMIT 1');\n\nreturn Text(results);\n```\n\n",
|
|
7738
|
+
"completion": {
|
|
7739
|
+
"label": "QueryGraph",
|
|
7740
|
+
"detail": "QueryGraph(graph, openCypherQuery, queryParameters?) -> Dictionary",
|
|
7741
|
+
"insertText": "QueryGraph(${1:graph_}, ${2:openCypherQuery_})$0",
|
|
7742
|
+
"insertTextMode": 2,
|
|
7743
|
+
"insertTextFormat": 2,
|
|
7744
|
+
"kind": 3,
|
|
7745
|
+
"documentation": {
|
|
7746
|
+
"kind": "markdown",
|
|
7747
|
+
"value": "**[Sejak versi 1.26](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nng_Queries a knowledge graph with an openCypher query and returns the set of entities and relationships in a graph, along with their properties________________________________________________________________________ny.\n\n**Parameter**\n\n- **graph**: [KnowledgeGraph](https://developers.arcgis.com/arcade/guide/types/#knowledgegraph) - ng_The knowledge graph to query______________________________ny.\n- **openCypherQuery**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ng_The openCypher query to be executed against the knowledge graph_________________________________ny.\n- **queryParameters** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - ng_A dictionary of named query parameters for the openCypher query_________________________________ny. ng_The parameter names or keys in the dictionary are case-sensitive__________________________________ny. ng_Parameters accepted depend on the external graph store and can be of type: `Array`, `Date`, `Dictionary`, `Geometry`, `Number, Text`___________________________________________________________________ny\n\n**Nilai kembali**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)"
|
|
7748
|
+
}
|
|
7749
|
+
},
|
|
7750
|
+
"parametersInfo": {
|
|
7751
|
+
"min": 2,
|
|
7752
|
+
"max": 3
|
|
7753
|
+
}
|
|
7754
|
+
}
|
|
7755
|
+
]
|
|
7291
7756
|
}
|
|
7292
7757
|
]
|