@arcgis/coding-components 5.2.0-next.4 → 5.2.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{4G3EYLJY.js → 2YYB74Y3.js} +1 -1
- package/dist/cdn/{WWVPYM5B.js → 4HJRS4I7.js} +1 -1
- package/dist/cdn/DOCWTXKZ.js +12 -0
- package/dist/cdn/HBKQDGYR.js +2 -0
- package/dist/cdn/{QW7OA32G.js → HDEGIRFB.js} +1 -1
- package/dist/cdn/{HRM2JUGO.js → HQPGLNWP.js} +1 -1
- package/dist/cdn/I3XXIRZX.js +2 -0
- package/dist/cdn/ID5LCA7T.js +2 -0
- package/dist/cdn/{LUJKYDO7.js → IL7DUQH7.js} +1 -1
- package/dist/cdn/JEBRK3DP.js +2 -0
- package/dist/cdn/MZMKV7FA.js +2 -0
- package/dist/cdn/{IETP57KJ.js → NKDL6NEF.js} +1 -1
- package/dist/cdn/NL736YG3.js +6 -0
- package/dist/cdn/{3CHKFCKR.js → SFHJYB2X.js} +1 -1
- package/dist/cdn/{O3PQD5N5.js → SYW5WY2N.js} +1 -1
- package/dist/cdn/{CA3GVMWI.js → UDPKHTMC.js} +1 -1
- package/dist/cdn/UQRZDUGL.js +2 -0
- package/dist/cdn/{QGBZYXBS.js → XMXK333I.js} +1 -1
- package/dist/cdn/{QUR4WECO.js → XWUEYP6T.js} +1 -1
- package/dist/cdn/assets/arcade-language/api/arcade-api.t9n.en.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.ar.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.bg.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.bs.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.ca.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.cs.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.da.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.de.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.el.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.es.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.et.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.fi.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.fr.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.he.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.hr.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.hu.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.id.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.it.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.ja.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.ko.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.lt.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.lv.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.nl.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.no.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.pl.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.pt-BR.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.pt-PT.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.ro.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.ru.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.sk.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.sl.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.sr.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.sv.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.th.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.tr.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.uk.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.vi.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.zh-CN.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.zh-HK.json +1 -1
- package/dist/cdn/assets/arcade-language/profiles/arcade-profiles.t9n.zh-TW.json +1 -1
- package/dist/cdn/assets/code-editor/sql-expr.worker.js +2 -2
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/arcade-defaults.js +56 -54
- package/dist/chunks/fields.js +18 -14
- package/dist/chunks/language-defaults-base.js +230 -221
- package/dist/chunks/sql-expr-defaults.js +63 -59
- package/dist/components/arcgis-arcade-debugger-console/customElement.js +6 -6
- package/dist/components/arcgis-arcade-editor/customElement.d.ts +38 -3
- package/dist/components/arcgis-arcade-editor/customElement.js +147 -151
- package/dist/components/arcgis-code-editor-shell/customElement.js +5 -5
- package/dist/components/arcgis-editor-variables/customElement.js +12 -6
- package/dist/components/arcgis-sql-expression-editor/customElement.d.ts +11 -0
- package/dist/components/arcgis-sql-expression-editor/customElement.js +5 -5
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +6 -6
- package/dist/cdn/4N67XYKO.js +0 -2
- package/dist/cdn/B5A6XU2C.js +0 -2
- package/dist/cdn/CQTJWVFM.js +0 -6
- package/dist/cdn/G5IXPOCO.js +0 -2
- package/dist/cdn/RMVHO2AH.js +0 -12
- package/dist/cdn/RO6RHW6I.js +0 -2
- package/dist/cdn/TWEJITWD.js +0 -2
- package/dist/cdn/ZTCCL565.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"Minimalist","id":"minimalist","bundles":["core","data-access","geometry","portal-access"],"variables":[]},{"name":"Aggregate Field","id":"aggregate-field","bundles":["core","geometry"],"variables":[{"name":"$feature","description":"包含在匯聚圖徵中的個別圖徵。 這提供了對圖徵的所有欄位屬性的存取。","type":"feature"}]},{"name":"Alias","id":"alias","bundles":["core","geometry"],"variables":[{"name":"$value","type":"number","description":"需要文字別名的數值。"},{"name":"$feature","type":"feature","description":"需要文字別名的圖徵。"}]},{"name":"Attribute rule calculation","id":"attribute-rule-calculation","bundles":["core","data-access","database","geometry","portal-access","ai"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$featureSet","type":"featureSet","description":"與評估表達式的 $feature 在相同的表格中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行指令碼的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Attribute rule constraint","id":"attribute-rule-constraint","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$featureSet","type":"featureSet","description":"與評估表達式的 $feature 在相同的表格中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行指令碼的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Attribute rule validation","id":"attribute-rule-validation","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$featureSet","type":"featureSet","description":"與評估表達式的 $feature 在相同的表格中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行指令碼的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"}]},{"name":"Dashboard indicator formatting","id":"dashboard-indicator-formatting","bundles":["core"],"variables":[{"name":"$datapoint","type":"feature","description":"正在為視覺元素評估的資料點。"},{"name":"$reference","type":"dictionary","description":"正在為視覺元素評估的參考值。","properties":[]}]},{"name":"Dashboard list formatting","id":"dashboard-list-formatting","bundles":["core"],"variables":[{"name":"$datapoint","type":"feature","description":"正在為視覺元素評估的資料點。"}]},{"name":"Dashboard table formatting","id":"dashboard-table-formatting","bundles":["core"],"variables":[{"name":"$datapoint","type":"feature","description":"正在為視覺元素評估的資料點。"},{"name":"$rowindex","type":"number","description":"表格中列的位置 (從零開始)。"}]},{"name":"Dashboard data","id":"dashboard-data","bundles":["core","geometry","data-access","portal-access","knowledge-graph"],"variables":[]},{"name":"Data Pipelines","id":"data-pipelines","bundles":["core","geometry"],"variables":[{"name":"$record","type":"dictionary","description":"試_Provides access to dataset record fields. This is a generic dictionary of attribute/value pairs representing a record from any data source, including Feature Layer sources. Records coming from Feature Layers will not be represented as features. Therefore, information about the feature service layer will not be directly available from the record_______________________________________________________________________________________________________________________________________________________________________________驗.","properties":[]}]},{"name":"Dictionary renderer","id":"dictionary-renderer","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"要在地圖上繪製的圖徵。"},{"name":"$config","type":"dictionary","description":"配置值的字典。","properties":[]}]},{"name":"Experience Builder data","id":"experience-builder-data","bundles":["core","data-access","geometry","portal-access"],"variables":[]},{"name":"Experience Builder list item widget formatting","id":"experience-builder-list-item-widget-formatting","bundles":["core"],"variables":[{"name":"$feature","type":"feature","description":"表示清單項目中的圖徵。"}]},{"name":"Experience Builder widget formatting","id":"experience-builder-widget-formatting","bundles":["core","data-access"],"variables":[{"name":"$dataSources","type":"dictionary","description":"widget 使用的資料來源。 這是包含鍵-值配對的字典,其中每個索引鍵都是一個資料來源 ID (例如 `dataSource_1-187acf797e1-layer-5-selection`)。","properties":[]}]},{"name":"Feature Display Title","id":"feature-display-title","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"要在 UI 中顯示標題的圖徵或列。"}]},{"name":"Feature Z","id":"feature-z","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"需要 Z 值的圖徵。"}]},{"name":"Field calculation","id":"field-calculation","bundles":["core","data-access","geometry","portal-access","knowledge-graph","ai"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行計算的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"}]},{"name":"Field mapping","id":"field-mapping","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$sourceFeature","type":"feature","description":"現場地圖的來源圖徵。"},{"name":"$targetFeature","type":"feature","description":"現場地圖的目標圖徵。"},{"name":"$sourceLayer","type":"featureSet","description":"與 $sourcefeature 在相同圖層中的圖徵集合。"},{"name":"$targetLayer","type":"featureSet","description":"與 $targetfeature 在相同圖層中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"正在執行的 Arcade 表達式的地圖中的圖層集合。"},{"name":"$sourceDatastore","type":"featureSetCollection","description":"與 $sourcelayer 在相同資料儲存庫中的圖層集合。"},{"name":"$targetDatastore","type":"featureSetCollection","description":"與 $targetlayer 在相同資料儲存庫中的圖層集合。"}]},{"name":"Form Attachment Filename Calculation","id":"form-attachment-filename-calculation","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$featureset","type":"featureSet","description":"與 $feature 在相同表格中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"與 $feature 在相同地圖中的圖徵服務圖層集合。"},{"name":"$formElement","type":"dictionary","description":"表單元素的相關資訊。","properties":[{"name":"attachmentKeyword","type":"text","description":"用於識別附件內容的文字值。 當使用表單附加檔案時,此屬性可用於確定附件的新檔案名稱。"},{"name":"label","type":"text","description":"用來指示元素表示內容的文字值。"},{"name":"description","type":"text","description":"詳細說明元素的文字值。"}]}]},{"name":"Form calculation","id":"form-calculation","bundles":["core","data-access","geometry","portal-access","ai"],"variables":[{"name":"$feature","type":"feature","description":"公開圖徵的屬性以用於計算"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$featureset","type":"featureSet","description":"與 $feature 在相同表格中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"與 $feature 在相同地圖中的圖徵服務圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Form Constraint","id":"form-constraint","bundles":["core","geometry","data-access","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在為限制評估的圖徵。"},{"name":"$originalFeature","type":"feature","description":"圖徵的先前狀態。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$featureset","type":"featureSet","description":"與 $feature 在相同表格中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"與 $feature 在相同地圖中的圖徵服務圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Geoanalytics","id":"geoanalytics","bundles":["core","geometry","track"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"}]},{"name":"Geotrigger notification","id":"geotrigger-notification","bundles":["core","geometry","data-access"],"variables":[{"name":"$feedFeature","type":"feature","description":"導致 geotrigger 啟動的輸入圖徵 (例如裝置位置或圖徵)。 此圖徵必須包括一個幾何 (通常是一個點) 和一個具有以下屬性的固定結構描述: `course` (以順時針方向度為單位的位置路線,0 為真北) 和 `horizontalaccuracy` (位置的水平精度,以公尺為單位)。"},{"name":"$fenceFeature","type":"feature","description":"進入或退出並導致 Geotrigger 啟動的圍欄圖徵 (例如感興趣區域)。"},{"name":"$fenceLayer","type":"featureSet","description":"與 $fenceFeature 在相同圖層中的圖徵集合。"},{"name":"$fenceNotificationType","type":"text","description":"對發生的事件描述 -「已進入」或「已退出」。"}]},{"name":"Imagery popup","id":"popup-imagery","bundles":["core","geometry"],"variables":[{"name":"$pixel","type":"pixel","description":"目前視圖中顯示的影像圖層的像素值和其他與像素相關的資訊(例如分類類別),包括虛擬點陣欄位。"},{"name":"$imageCollectionItem","type":"feature","description":"所選圖像集合項目的中繼資料,包含由『$pixel』表示的像素。 如果沒有關聯的圖像集合,則此值將為『null』。"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"}]},{"name":"Imagery popup element","id":"popup-element-imagery","bundles":["core","geometry"],"variables":[{"name":"$pixel","type":"pixel","description":"目前視圖中顯示的影像圖層的像素值和其他與像素相關的資訊(例如分類類別),包括虛擬點陣欄位。"},{"name":"$imageCollectionItem","type":"feature","description":"所選圖像集合項目的中繼資料,包含以『$pixel』表示的像素。 如果沒有關聯的圖像集合,則此值將為『null』。"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"}]},{"name":"Labeling","id":"labeling","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"要在地圖上繪製其標籤的圖徵。"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知標籤時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知標籤時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Layout","id":"layout","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"其值可能顯示在版面配置中的圖徵。"}]},{"name":"Location update constraint","id":"location-update-constraint","bundles":["core","geometry"],"variables":[{"name":"$locationupdate","type":"dictionary","description":"正在評估限制的位置更新圖徵 (例如來自 GPS)。","properties":[{"name":"course","type":"number","description":"該位置的路線以順時針度數為單位,0 表示真北。"},{"name":"horizontalaccuracy","type":"number","description":"位置的水平準確度 (公尺)。"},{"name":"verticalaccuracy","type":"number","description":"位置的垂直準確度 (公尺)。"},{"name":"velocity","type":"number","description":"位置的速度 (公尺/秒)。"}]}]},{"name":"Model Builder","id":"model-builder","bundles":["core","geometry","data-access","portal-access"],"variables":[{"name":"$variables","type":"dictionary","description":"包含變數名稱和值的字典。","properties":[]}]},{"name":"Measure visualization","id":"measure-visualization","bundles":["core","geometry"],"variables":[{"name":"$measure","type":"number","description":"標記位置的插值 M 值。"},{"name":"$feature","type":"feature","description":"要在地圖上繪製的圖徵。"},{"name":"$view","type":"dictionary","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"}],"description":""}]},{"name":"Popup","id":"popup","bundles":["core","data-access","geometry","portal-access","knowledge-graph"],"variables":[{"name":"$feature","type":"feature","description":"提供對要在視圖中顯示其快顯視窗之圖徵的屬性和幾何存取。"},{"name":"$layer","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同圖層的圖徵集合。","type":"featureSet"},{"name":"$map","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同地圖的圖層集合。 如果快顯視窗不與地圖關聯,則此值可能為 `null`。","type":"featureSetCollection"},{"name":"$datastore","description":"與在視圖中顯示其快顯視窗的 $feature 相同的圖徵服務或資料庫中的圖層集合。","type":"featureSetCollection"},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"},{"name":"$graph","description":"圖徵相關的知識圖。 如果沒有可用的知識圖,該值將為 `null`。","type":"knowledgeGraph"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Popup element","id":"popup-element","bundles":["core","data-access","geometry","portal-access","knowledge-graph"],"variables":[{"name":"$feature","type":"feature","description":"提供對要在視圖中顯示其快顯視窗之圖徵的屬性和幾何存取。"},{"name":"$layer","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同圖層的圖徵集合。","type":"featureSet"},{"name":"$map","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同地圖的圖層集合。 如果快顯視窗不與地圖關聯,則此值可能為 `null`。","type":"featureSetCollection"},{"name":"$datastore","description":"與在視圖中顯示其快顯視窗的 $feature 相同的圖徵服務或資料庫中的圖層集合。","type":"featureSetCollection"},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"},{"name":"$graph","description":"圖徵相關的知識圖。 如果沒有可用的知識圖,該值將為 `null`。","type":"knowledgeGraph"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Popup feature reduction","id":"popup-feature-reduction","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"提供對叢集或裝箱快顯視窗中定義的匯聚欄位存取。"},{"name":"$aggregatedFeatures","description":"一個 FeatureSet,包含由叢集或 bin 表示的所有圖徵。","type":"featureSet"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Popup element feature reduction","id":"popup-element-feature-reduction","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"提供對叢集或裝箱快顯視窗中定義的匯聚欄位存取。"},{"name":"$aggregatedFeatures","description":"一個 FeatureSet,包含由叢集或 bin 表示的所有圖徵。","type":"featureSet"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Quick Capture","id":"quick-capture","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"公開圖徵的屬性以用於計算。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$map","type":"featureSetCollection","description":"QuickCapture 專案使用的地圖中的圖徵服務圖層集合。 此變數可為 `null`。"}]},{"name":"Tasks","id":"tasks","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","description":"任務正在評估的圖徵。","type":"feature"},{"name":"$datastore","description":"與任務評估的 $feature 相同的圖徵服務或資料庫中的圖層集合。","type":"featureSetCollection"}]},{"name":"Velocity","id":"velocity","bundles":["core","geometry","track"],"variables":[{"name":"$feature","type":"feature","description":"正在具有單一輸入的分析工具中,計算、評估或操作的圖徵。"},{"name":"$target","type":"feature","description":"在具有兩個輸入的分析工具中,正在對圖徵進行評估以進行篩選或豐富。"},{"name":"$join","type":"feature","description":"在具有兩個輸入的分析工具中,為評估或豐富目標圖徵提供值的圖徵。"},{"name":"$analytic","type":"dictionary","description":"與分析相關的時間值,例如開始時間、最後結束時間等。","properties":[]}]},{"name":"Visualization","id":"visualization","bundles":["core","geometry"],"variables":[{"name":"$feature","description":"要在地圖上繪製的圖徵。","type":"feature"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知視覺化時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知視覺化時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Voxel popup","id":"popup-voxel","bundles":["core"],"variables":[{"name":"$voxel","type":"voxel","description":"提供對場景中要彈出顯示的三維像素屬性的存取。"}]},{"name":"Voxel popup element","id":"popup-element-voxel","bundles":["core"],"variables":[{"name":"$voxel","type":"voxel","description":"提供對場景中要彈出顯示的三維像素屬性的存取。"}]}]
|
|
1
|
+
[{"name":"Minimalist","id":"minimalist","bundles":["core","data-access","geometry","portal-access"],"variables":[]},{"name":"Aggregate Field","id":"aggregate-field","bundles":["core","geometry"],"variables":[{"name":"$feature","description":"包含在匯聚圖徵中的個別圖徵。 這提供了對圖徵的所有欄位屬性的存取。","type":"feature"}]},{"name":"Alias","id":"alias","bundles":["core","geometry"],"variables":[{"name":"$value","type":"number","description":"需要文字別名的數值。"},{"name":"$feature","type":"feature","description":"需要文字別名的圖徵。"}]},{"name":"Attribute rule calculation","id":"attribute-rule-calculation","bundles":["core","data-access","database","geometry","portal-access","ai"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$featureSet","type":"featureSet","description":"與評估表達式的 $feature 在相同的表格中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行指令碼的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Attribute rule constraint","id":"attribute-rule-constraint","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$featureSet","type":"featureSet","description":"與評估表達式的 $feature 在相同的表格中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行指令碼的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Attribute rule validation","id":"attribute-rule-validation","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$featureSet","type":"featureSet","description":"與評估表達式的 $feature 在相同的表格中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行指令碼的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"}]},{"name":"Dashboard indicator formatting","id":"dashboard-indicator-formatting","bundles":["core"],"variables":[{"name":"$datapoint","type":"feature","description":"正在為視覺元素評估的資料點。"},{"name":"$reference","type":"dictionary","description":"正在為視覺元素評估的參考值。","properties":[]}]},{"name":"Dashboard list formatting","id":"dashboard-list-formatting","bundles":["core"],"variables":[{"name":"$datapoint","type":"feature","description":"正在為視覺元素評估的資料點。"}]},{"name":"Dashboard table formatting","id":"dashboard-table-formatting","bundles":["core"],"variables":[{"name":"$datapoint","type":"feature","description":"正在為視覺元素評估的資料點。"},{"name":"$rowindex","type":"number","description":"表格中列的位置 (從零開始)。"}]},{"name":"Dashboard data","id":"dashboard-data","bundles":["core","geometry","data-access","portal-access","knowledge-graph"],"variables":[]},{"name":"Data Pipelines","id":"data-pipelines","bundles":["core","geometry"],"variables":[{"name":"$record","type":"dictionary","description":"試_Provides access to dataset record fields. This is a generic dictionary of attribute/value pairs representing a record from any data source, including feature layer sources. Records coming from Feature Layers will not be represented as features. Therefore, information about the feature service layer will not be directly available from the record_______________________________________________________________________________________________________________________________________________________________________________驗.","properties":[]}]},{"name":"Dictionary renderer","id":"dictionary-renderer","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"要在地圖上繪製的圖徵。"},{"name":"$config","type":"dictionary","description":"配置值的字典。","properties":[]}]},{"name":"Experience Builder data","id":"experience-builder-data","bundles":["core","data-access","geometry","portal-access"],"variables":[]},{"name":"Experience Builder list item widget formatting","id":"experience-builder-list-item-widget-formatting","bundles":["core"],"variables":[{"name":"$feature","type":"feature","description":"表示清單項目中的圖徵。"}]},{"name":"Experience Builder widget formatting","id":"experience-builder-widget-formatting","bundles":["core","data-access"],"variables":[{"name":"$dataSources","type":"dictionary","description":"widget 使用的資料來源。 這是包含鍵-值配對的字典,其中每個索引鍵都是一個資料來源 ID (例如 `dataSource_1-187acf797e1-layer-5-selection`)。","properties":[]}]},{"name":"Feature Display Title","id":"feature-display-title","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"要在 UI 中顯示標題的圖徵或列。"}]},{"name":"Feature Z","id":"feature-z","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"需要 Z 值的圖徵。"}]},{"name":"Field calculation","id":"field-calculation","bundles":["core","data-access","geometry","portal-access","knowledge-graph","ai"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$datastore","type":"featureSetCollection","description":"與執行計算的 $feature 在相同的圖徵服務或資料庫中的圖層集合。"}]},{"name":"Field mapping","id":"field-mapping","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$sourceFeature","type":"feature","description":"現場地圖的來源圖徵。"},{"name":"$targetFeature","type":"feature","description":"現場地圖的目標圖徵。"},{"name":"$sourceLayer","type":"featureSet","description":"與 $sourcefeature 在相同圖層中的圖徵集合。"},{"name":"$targetLayer","type":"featureSet","description":"與 $targetfeature 在相同圖層中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"正在執行的 Arcade 表達式的地圖中的圖層集合。"},{"name":"$sourceDatastore","type":"featureSetCollection","description":"與 $sourcelayer 在相同資料儲存庫中的圖層集合。"},{"name":"$targetDatastore","type":"featureSetCollection","description":"與 $targetlayer 在相同資料儲存庫中的圖層集合。"}]},{"name":"Form Attachment Filename Calculation","id":"form-attachment-filename-calculation","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$featureset","type":"featureSet","description":"與 $feature 在相同表格中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"與 $feature 在相同地圖中的圖徵服務圖層集合。"},{"name":"$formElement","type":"dictionary","description":"表單元素的相關資訊。","properties":[{"name":"attachmentKeyword","type":"text","description":"用於識別附件內容的文字值。 當使用表單附加檔案時,此屬性可用於確定附件的新檔案名稱。"},{"name":"label","type":"text","description":"用來指示元素表示內容的文字值。"},{"name":"description","type":"text","description":"詳細說明元素的文字值。"}]}]},{"name":"Form calculation","id":"form-calculation","bundles":["core","data-access","geometry","portal-access","ai"],"variables":[{"name":"$feature","type":"feature","description":"公開圖徵的屬性以用於計算"},{"name":"$originalFeature","type":"feature","description":"正在計算之圖徵的先前狀態。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$featureset","type":"featureSet","description":"與 $feature 在相同表格中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"與 $feature 在相同地圖中的圖徵服務圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Form Constraint","id":"form-constraint","bundles":["core","geometry","data-access","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"正在為限制評估的圖徵。"},{"name":"$originalFeature","type":"feature","description":"圖徵的先前狀態。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$featureset","type":"featureSet","description":"與 $feature 在相同表格中的圖徵集合。"},{"name":"$map","type":"featureSetCollection","description":"與 $feature 在相同地圖中的圖徵服務圖層集合。"},{"name":"$editcontext","type":"dictionary","properties":[{"name":"editType","type":"text","description":"指示編輯事件是 INSERT、UPDATE、DELETE 還是 NA (不適用)。"}],"description":""}]},{"name":"Geoanalytics","id":"geoanalytics","bundles":["core","geometry","track"],"variables":[{"name":"$feature","type":"feature","description":"正在計算的圖徵。"}]},{"name":"Geotrigger notification","id":"geotrigger-notification","bundles":["core","geometry","data-access"],"variables":[{"name":"$feedFeature","type":"feature","description":"導致 geotrigger 啟動的輸入圖徵 (例如裝置位置或圖徵)。 此圖徵必須包括一個幾何 (通常是一個點) 和一個具有以下屬性的固定結構描述: `course` (以順時針方向度為單位的位置路線,0 為真北) 和 `horizontalaccuracy` (位置的水平精度,以公尺為單位)。"},{"name":"$fenceFeature","type":"feature","description":"進入或退出並導致 Geotrigger 啟動的圍欄圖徵 (例如感興趣區域)。"},{"name":"$fenceLayer","type":"featureSet","description":"與 $fenceFeature 在相同圖層中的圖徵集合。"},{"name":"$fenceNotificationType","type":"text","description":"對發生的事件描述 -「已進入」或「已退出」。"}]},{"name":"Imagery popup","id":"popup-imagery","bundles":["core","geometry"],"variables":[{"name":"$pixel","type":"pixel","description":"目前視圖中顯示的影像圖層的像素值和其他與像素相關的資訊(例如分類類別),包括虛擬點陣欄位。"},{"name":"$imageCollectionItem","type":"feature","description":"所選圖像集合項目的中繼資料,包含由『$pixel』表示的像素。 如果沒有關聯的圖像集合,則此值將為『null』。"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"}]},{"name":"Imagery popup element","id":"popup-element-imagery","bundles":["core","geometry"],"variables":[{"name":"$pixel","type":"pixel","description":"目前視圖中顯示的影像圖層的像素值和其他與像素相關的資訊(例如分類類別),包括虛擬點陣欄位。"},{"name":"$imageCollectionItem","type":"feature","description":"所選圖像集合項目的中繼資料,包含以『$pixel』表示的像素。 如果沒有關聯的圖像集合,則此值將為『null』。"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"}]},{"name":"Labeling","id":"labeling","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"要在地圖上繪製其標籤的圖徵。"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知標籤時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知標籤時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Layout","id":"layout","bundles":["core","geometry"],"variables":[{"name":"$feature","type":"feature","description":"其值可能顯示在版面配置中的圖徵。"}]},{"name":"Location update constraint","id":"location-update-constraint","bundles":["core","geometry"],"variables":[{"name":"$locationupdate","type":"dictionary","description":"正在評估限制的位置更新圖徵 (例如來自 GPS)。","properties":[{"name":"course","type":"number","description":"該位置的路線以順時針度數為單位,0 表示真北。"},{"name":"horizontalaccuracy","type":"number","description":"位置的水平準確度 (公尺)。"},{"name":"verticalaccuracy","type":"number","description":"位置的垂直準確度 (公尺)。"},{"name":"velocity","type":"number","description":"位置的速度 (公尺/秒)。"}]}]},{"name":"Model Builder","id":"model-builder","bundles":["core","geometry","data-access","portal-access"],"variables":[{"name":"$variables","type":"dictionary","description":"包含變數名稱和值的字典。","properties":[]}]},{"name":"Measure visualization","id":"measure-visualization","bundles":["core","geometry"],"variables":[{"name":"$measure","type":"number","description":"標記位置的插值 M 值。"},{"name":"$feature","type":"feature","description":"要在地圖上繪製的圖徵。"},{"name":"$view","type":"dictionary","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"}],"description":""}]},{"name":"Popup","id":"popup","bundles":["core","data-access","geometry","portal-access","knowledge-graph"],"variables":[{"name":"$feature","type":"feature","description":"提供對要在視圖中顯示其快顯視窗之圖徵的屬性和幾何存取。"},{"name":"$layer","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同圖層的圖徵集合。","type":"featureSet"},{"name":"$map","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同地圖的圖層集合。 如果快顯視窗不與地圖關聯,則此值可能為 `null`。","type":"featureSetCollection"},{"name":"$datastore","description":"與在視圖中顯示其快顯視窗的 $feature 相同的圖徵服務或資料庫中的圖層集合。","type":"featureSetCollection"},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"},{"name":"$graph","description":"圖徵相關的知識圖。 如果沒有可用的知識圖,該值將為 `null`。","type":"knowledgeGraph"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Popup element","id":"popup-element","bundles":["core","data-access","geometry","portal-access","knowledge-graph"],"variables":[{"name":"$feature","type":"feature","description":"提供對要在視圖中顯示其快顯視窗之圖徵的屬性和幾何存取。"},{"name":"$layer","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同圖層的圖徵集合。","type":"featureSet"},{"name":"$map","description":"與在視圖中顯示其快顯視窗的 $feature 位於相同地圖的圖層集合。 如果快顯視窗不與地圖關聯,則此值可能為 `null`。","type":"featureSetCollection"},{"name":"$datastore","description":"與在視圖中顯示其快顯視窗的 $feature 相同的圖徵服務或資料庫中的圖層集合。","type":"featureSetCollection"},{"name":"$userInput","description":"表示使用者對快顯視窗之輸入的幾何。 一般而言,這表示使用者在地圖中按一下或輕點以啟動快顯視窗的位置。 在某些情況下,此值可能為點、範圍或 `null`,因為快顯視窗並不總是從地圖互動中開啟。 因此,建議在使用之前檢查此值的幾何類型。","type":"geometry"},{"name":"$graph","description":"圖徵相關的知識圖。 如果沒有可用的知識圖,該值將為 `null`。","type":"knowledgeGraph"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Popup feature reduction","id":"popup-feature-reduction","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"提供對叢集或裝箱快顯視窗中定義的匯聚欄位存取。"},{"name":"$aggregatedFeatures","description":"一個 FeatureSet,包含由叢集或 bin 表示的所有圖徵。","type":"featureSet"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Popup element feature reduction","id":"popup-element-feature-reduction","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"提供對叢集或裝箱快顯視窗中定義的匯聚欄位存取。"},{"name":"$aggregatedFeatures","description":"一個 FeatureSet,包含由叢集或 bin 表示的所有圖徵。","type":"featureSet"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知下拉式清單時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Quick Capture","id":"quick-capture","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","type":"feature","description":"公開圖徵的屬性以用於計算。"},{"name":"$layer","type":"featureSet","description":"與 $feature 在相同圖層中的圖徵集合。"},{"name":"$datastore","type":"featureSetCollection","description":"與 $feature 在相同的圖徵服務或資料庫中的圖層集合。"},{"name":"$map","type":"featureSetCollection","description":"QuickCapture 專案使用的地圖中的圖徵服務圖層集合。 此變數可為 `null`。"}]},{"name":"Tasks","id":"tasks","bundles":["core","data-access","geometry","portal-access"],"variables":[{"name":"$feature","description":"任務正在評估的圖徵。","type":"feature"},{"name":"$datastore","description":"與任務評估的 $feature 相同的圖徵服務或資料庫中的圖層集合。","type":"featureSetCollection"}]},{"name":"Velocity","id":"velocity","bundles":["core","geometry","track"],"variables":[{"name":"$feature","type":"feature","description":"正在具有單一輸入的分析工具中,計算、評估或操作的圖徵。"},{"name":"$target","type":"feature","description":"在具有兩個輸入的分析工具中,正在對圖徵進行評估以進行篩選或豐富。"},{"name":"$join","type":"feature","description":"在具有兩個輸入的分析工具中,為評估或豐富目標圖徵提供值的圖徵。"},{"name":"$analytic","type":"dictionary","description":"與分析相關的時間值,例如開始時間、最後結束時間等。","properties":[]}]},{"name":"Visualization","id":"visualization","bundles":["core","geometry"],"variables":[{"name":"$feature","description":"要在地圖上繪製的圖徵。","type":"feature"},{"name":"$view","type":"dictionary","description":"視圖中可用的屬性。","properties":[{"name":"scale","type":"number","description":"傳回表達式評估時地圖的比例。"},{"name":"timeProperties","type":"dictionary","properties":[{"name":"currentStart","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的開始時間。 當使用時間滑桿,根據日期欄位更新時間感知視覺化時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示開始時間是從時間的開頭 (含) 起算。"},{"name":"currentEnd","type":"date","description":"表達式估計時時間滑桿元件所指示的地圖時間範圍的結束時間。 當使用時間滑桿,根據日期欄位更新時間感知視覺化時,此值會動態更新 (並可能觸發 Arcade 表達式重新執行)。 `null` 值表示結束時間不確定,沒有結束。"},{"name":"startIncluded","type":"boolean","description":"指示 `currentStart` 日期是否包含在地圖的目前時間範圍內。"},{"name":"endIncluded","type":"boolean","description":"指示 `currentEnd` 日期是否包含在地圖的目前時間範圍內。"}],"description":""}]}]},{"name":"Voxel popup","id":"popup-voxel","bundles":["core"],"variables":[{"name":"$voxel","type":"voxel","description":"提供對場景中要彈出顯示的三維像素屬性的存取。"}]},{"name":"Voxel popup element","id":"popup-element-voxel","bundles":["core"],"variables":[{"name":"$voxel","type":"voxel","description":"提供對場景中要彈出顯示的三維像素屬性的存取。"}]}]
|
|
@@ -10656,7 +10656,7 @@ const c8 = (t, e) => {
|
|
|
10656
10656
|
case "column-reference":
|
|
10657
10657
|
{
|
|
10658
10658
|
const r = e.find((n) => n.name === t.column);
|
|
10659
|
-
if (r)
|
|
10659
|
+
if (r && r.type !== "geometry")
|
|
10660
10660
|
return f8(r);
|
|
10661
10661
|
}
|
|
10662
10662
|
return t.type;
|
|
@@ -18278,7 +18278,7 @@ function se(t, e, r, n) {
|
|
|
18278
18278
|
const cr = { apiKey: void 0, apiKeys: { scopes: [] }, applicationName: "", applicationUrl: globalThis.location?.href, assetsPath: "", fontsUrl: "https://static.arcgis.com/fonts", geometryServiceUrl: "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer", geoRSSServiceUrl: "https://utility.arcgis.com/sharing/rss", kmlServiceUrl: "https://utility.arcgis.com/sharing/kml", userPrivilegesApplied: !0, portalUrl: "https://www.arcgis.com", respectPrefersReducedMotion: !0, routeServiceUrl: "https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World", workers: { loaderConfig: { has: {}, paths: {}, map: {}, packages: [] } }, request: { crossOriginNoCorsDomains: null, httpsDomains: ["arcgis.com", "arcgisonline.com", "esrikr.com", "premiumservices.blackbridge.com", "esripremium.accuweather.com", "gbm.digitalglobe.com", "firstlook.digitalglobe.com", "msi.digitalglobe.com"], interceptors: [], internalInterceptors: [], maxUrlLength: 2e3, priority: "high", proxyRules: [], proxyUrl: null, timeout: 62e3, trustedServers: [], useIdentity: !0 }, log: { interceptors: [], level: null } };
|
|
18279
18279
|
if (globalThis.esriConfig && (Q4(cr, globalThis.esriConfig, !0), delete cr.has), !cr.assetsPath) {
|
|
18280
18280
|
{
|
|
18281
|
-
const t = "5.1.0-next.
|
|
18281
|
+
const t = "5.1.0-next.120";
|
|
18282
18282
|
cr.assetsPath = `https://cdn.jsdelivr.net/npm/@arcgis/core@${t}/assets`;
|
|
18283
18283
|
}
|
|
18284
18284
|
cr.defaultAssetsPath = cr.assetsPath;
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{J as s,v as e}from"./XU7YAUUX.js";import"./VGOFAQ7A.js";import"./H6RQVSYM.js";var
|
|
2
|
+
import{J as s,v as e}from"./XU7YAUUX.js";import"./VGOFAQ7A.js";import"./H6RQVSYM.js";var i=e(s,{"arcgis-arcade-coding-assistant":[()=>import("./XMXK333I.js"),"appVersion,closed,closePanel:,diagnostics:,disableQuestionAnswerLogging,editorRef:,feedbackServiceUrl,helpBase,insertText:,portalUrl,promptingEnabled,serviceUrl;destroy,openPrompt"],"arcgis-arcade-debugger-console":[()=>import("./IL7DUQH7.js"),"debuggerStore:,modelId"],"arcgis-arcade-debugger-output":[()=>import("./P3LG4UGD.js"),"debuggerStore:,result:"],"arcgis-arcade-editor":[()=>import("./JEBRK3DP.js"),"arcadeAssistant:,customPanels:,disableAssistant,editorInstance:,editorOptions:,enableDebugger,externalExecutor:,hideDocumentationActions,hideSideBar,messageOverrides:,messages:,openedSidePanel,profile:,script,sideActionBarExpanded,snippets:,suggestions:,testData:;getTestResult,openArcadeAssistant,setFocus"],"arcgis-arcade-results":[()=>import("./2YYB74Y3.js"),"consoleLogs:,hideHeader,loading,openedResultPanel,result:"],"arcgis-arcade-suggestions":[()=>import("./2DNHMHBF.js"),"closed,suggestions:"],"arcgis-code-editor":[()=>import("./HDEGIRFB.js"),"editorInstance:,editorOptions:,language,modelId,value;insertSnippet,insertText,setFocus"],"arcgis-code-editor-shell":[()=>import("./HBKQDGYR.js")],"arcgis-code-viewer":[()=>import("./4HJRS4I7.js"),"language,lineNumbers,round"],"arcgis-editor-variables":[()=>import("./I3XXIRZX.js"),"closed,heading,hideDescriptions,loading,messageOverrides:,modelId,variable:"],"arcgis-language-api-panel":[()=>import("./BXEZA6TW.js"),"apiLibrary:,closed,hideDocumentationActions,languageId,loading"],"arcgis-sql-expression-editor":[()=>import("./ID5LCA7T.js"),"hideDescriptionsInFieldsPanel,hideSideBar,messageOverrides:,messages:,profile:,script;setFocus"],"arcgis-sql-layer-editor":[()=>import("./SYW5WY2N.js"),"editorInstance:,editorOptions:,hideSideBar,messageOverrides:,messages:,openedSidePanel,profile:,script;setFocus"]});i({resourcesUrl:import.meta.url});var r=new CSSStyleSheet;r.replaceSync("@layer{:not([hydrated]):is(arcgis-arcade-editor,arcgis-code-editor,arcgis-code-editor-shell,arcgis-code-viewer,arcgis-sql-expression-editor,arcgis-sql-layer-editor){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,r];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,s)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { g as v, f as F, m as M, L as S, E as
|
|
3
|
-
import { i as h, a as
|
|
2
|
+
import { g as v, f as F, m as M, L as S, E as A } from "./language-defaults-base.js";
|
|
3
|
+
import { i as h, a as L, b as k, c as E, d as I, e as C, f as P } from "./utils.js";
|
|
4
4
|
import { supportedLocales as j, fetchT9nStringsBundle as $ } from "@arcgis/toolkit/intl";
|
|
5
5
|
import { g as T } from "./runtime.js";
|
|
6
|
-
import { CompletionItemKind as w, InsertTextFormat as
|
|
6
|
+
import { CompletionItemKind as w, InsertTextFormat as p, InsertTextMode as f } from "vscode-languageserver-types";
|
|
7
7
|
import { getDeclaredPixelMembers as B } from "@arcgis/core/applications/Components/arcadeEditorUtils.js";
|
|
8
8
|
import "@arcgis/toolkit/type";
|
|
9
9
|
async function K(e) {
|
|
10
|
-
const { apiVersion: i, bundles: t, hiddenApiItems:
|
|
11
|
-
return { apiVersion: i, bundles: t, variables:
|
|
10
|
+
const { apiVersion: i, bundles: t, hiddenApiItems: s } = e.toEditorProfileDefinition(), o = await b(e.dictionaryVariables.filter(P));
|
|
11
|
+
return { apiVersion: i, bundles: t, variables: o, hiddenApiItems: s?.map((a) => a.toLowerCase()) };
|
|
12
12
|
}
|
|
13
13
|
async function b(e, i = w.Variable) {
|
|
14
14
|
return await Promise.all(
|
|
@@ -32,67 +32,69 @@ async function b(e, i = w.Variable) {
|
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
function _(e, i) {
|
|
35
|
-
const { name: t, type:
|
|
35
|
+
const { name: t, type: s } = e, o = e.getDescription(), a = i === w.Field ? v(t, !1) : t;
|
|
36
36
|
return {
|
|
37
37
|
name: t,
|
|
38
|
-
description:
|
|
39
|
-
type:
|
|
38
|
+
description: o,
|
|
39
|
+
type: s,
|
|
40
40
|
completion: {
|
|
41
41
|
label: t,
|
|
42
42
|
detail: t,
|
|
43
43
|
insertText: a,
|
|
44
44
|
insertTextMode: f.asIs,
|
|
45
|
-
insertTextFormat:
|
|
45
|
+
insertTextFormat: p.PlainText,
|
|
46
46
|
kind: i,
|
|
47
|
-
documentation: { kind: "markdown", value:
|
|
47
|
+
documentation: { kind: "markdown", value: o }
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
async function q(e, i) {
|
|
52
|
-
const t = await e.loadSource(), { name:
|
|
53
|
-
label:
|
|
54
|
-
detail:
|
|
55
|
-
insertText:
|
|
52
|
+
const t = await e.loadSource(), { name: s } = e, o = e.getDescription(), a = {
|
|
53
|
+
label: s,
|
|
54
|
+
detail: s,
|
|
55
|
+
insertText: s,
|
|
56
56
|
insertTextMode: f.asIs,
|
|
57
|
-
insertTextFormat:
|
|
57
|
+
insertTextFormat: p.PlainText,
|
|
58
58
|
kind: i
|
|
59
59
|
}, n = {
|
|
60
|
-
name:
|
|
61
|
-
description:
|
|
60
|
+
name: s,
|
|
61
|
+
description: o,
|
|
62
62
|
type: "dictionary",
|
|
63
63
|
properties: [],
|
|
64
64
|
completion: a
|
|
65
65
|
};
|
|
66
66
|
if (!t)
|
|
67
67
|
return n;
|
|
68
|
-
const [r, c] = F(t.fields,
|
|
68
|
+
const [r, c] = F(t.fields, o, {
|
|
69
|
+
includeAliases: !0
|
|
70
|
+
});
|
|
69
71
|
return n.properties = r, a.documentation = { kind: "markdown", value: c }, n;
|
|
70
72
|
}
|
|
71
73
|
async function z(e, i) {
|
|
72
|
-
const t = await e.loadSource(),
|
|
73
|
-
if (
|
|
74
|
+
const t = await e.loadSource(), s = e.toProfileVariableDefinition();
|
|
75
|
+
if (s.type !== "pixel")
|
|
74
76
|
throw new Error("Incorrect definition passed to pixel variable");
|
|
75
|
-
const { name:
|
|
76
|
-
label:
|
|
77
|
-
detail:
|
|
78
|
-
insertText:
|
|
77
|
+
const { name: o } = e, a = e.getDescription(), n = {
|
|
78
|
+
label: o,
|
|
79
|
+
detail: o,
|
|
80
|
+
insertText: o,
|
|
79
81
|
insertTextMode: f.asIs,
|
|
80
|
-
insertTextFormat:
|
|
82
|
+
insertTextFormat: p.PlainText,
|
|
81
83
|
kind: i
|
|
82
84
|
}, r = {
|
|
83
|
-
name:
|
|
85
|
+
name: o,
|
|
84
86
|
description: a,
|
|
85
87
|
type: "dictionary",
|
|
86
88
|
properties: [],
|
|
87
89
|
completion: n
|
|
88
90
|
};
|
|
89
|
-
if (!t || !
|
|
91
|
+
if (!t || !s.definition)
|
|
90
92
|
return r;
|
|
91
93
|
const c = await B(t), [d, l] = M(c, a);
|
|
92
94
|
return r.properties = d, n.documentation = { kind: "markdown", value: l }, r;
|
|
93
95
|
}
|
|
94
96
|
async function O(e, i) {
|
|
95
|
-
const { name: t, dictionaryVariables:
|
|
97
|
+
const { name: t, dictionaryVariables: s } = e, o = e.getDescription(), a = s.reduce((n, r) => {
|
|
96
98
|
n !== "" && (n += `
|
|
97
99
|
|
|
98
100
|
`), n += `**${r.name}**
|
|
@@ -100,19 +102,19 @@ ${r.type}`;
|
|
|
100
102
|
const c = r.getDescription();
|
|
101
103
|
return c && (n += `
|
|
102
104
|
${c}`), n;
|
|
103
|
-
},
|
|
105
|
+
}, o);
|
|
104
106
|
return {
|
|
105
107
|
name: t,
|
|
106
|
-
description:
|
|
108
|
+
description: o,
|
|
107
109
|
type: "dictionary",
|
|
108
110
|
// TODO(editor-profile): remove filter once we have a arcade-specific editor profile type that doesn't include SQL-layer-specific variables.
|
|
109
|
-
properties: await b(
|
|
111
|
+
properties: await b(s.filter(P), w.Field),
|
|
110
112
|
completion: {
|
|
111
113
|
label: t,
|
|
112
114
|
detail: t,
|
|
113
115
|
insertText: t,
|
|
114
116
|
insertTextMode: f.asIs,
|
|
115
|
-
insertTextFormat:
|
|
117
|
+
insertTextFormat: p.PlainText,
|
|
116
118
|
kind: i,
|
|
117
119
|
documentation: { kind: "markdown", value: a }
|
|
118
120
|
}
|
|
@@ -134,8 +136,8 @@ async function y(e = "en") {
|
|
|
134
136
|
const x = /* @__PURE__ */ new Map();
|
|
135
137
|
function Q(e, i) {
|
|
136
138
|
const t = /* @__PURE__ */ new Map();
|
|
137
|
-
return i.forEach((
|
|
138
|
-
t.set(
|
|
139
|
+
return i.forEach((s) => {
|
|
140
|
+
t.set(s.id, s);
|
|
139
141
|
}), x.set(e, t), t;
|
|
140
142
|
}
|
|
141
143
|
async function U(e, i = "en") {
|
|
@@ -171,8 +173,8 @@ async function J(e, i = "en") {
|
|
|
171
173
|
const t = await U(e.id, i);
|
|
172
174
|
if (!t)
|
|
173
175
|
return;
|
|
174
|
-
const
|
|
175
|
-
Object.entries(
|
|
176
|
+
const s = e.definitions, o = new Map(
|
|
177
|
+
Object.entries(s).map(([n, r]) => [n.toLowerCase(), r])
|
|
176
178
|
), a = {
|
|
177
179
|
bundles: [...t.bundles],
|
|
178
180
|
variables: [],
|
|
@@ -181,7 +183,7 @@ async function J(e, i = "en") {
|
|
|
181
183
|
return t.variables.forEach((n) => {
|
|
182
184
|
if (e.disabledVariables?.includes(n.name))
|
|
183
185
|
return;
|
|
184
|
-
const r =
|
|
186
|
+
const r = o.get(n.name.toLowerCase());
|
|
185
187
|
switch (n.type) {
|
|
186
188
|
case "dictionary":
|
|
187
189
|
return a.variables.push(
|
|
@@ -200,7 +202,7 @@ async function J(e, i = "en") {
|
|
|
200
202
|
case "featureSet":
|
|
201
203
|
return k(r) ? a.variables.push({ ...n, type: n.type, definition: r }) : void 0;
|
|
202
204
|
case "featureSetCollection":
|
|
203
|
-
return
|
|
205
|
+
return L(r) ? a.variables.push({ ...n, type: n.type, definition: r }) : void 0;
|
|
204
206
|
default:
|
|
205
207
|
return a.variables.push(m(n));
|
|
206
208
|
}
|
|
@@ -258,40 +260,40 @@ class X extends S {
|
|
|
258
260
|
* @param locale The locale to use for the model context.
|
|
259
261
|
* @returns The EditorProfile for the model.
|
|
260
262
|
*/
|
|
261
|
-
async setProfileForModel(i, t,
|
|
262
|
-
const
|
|
263
|
-
const c = t, d = h(c) ? await J(c,
|
|
264
|
-
|
|
263
|
+
async setProfileForModel(i, t, s = { locale: "en" }) {
|
|
264
|
+
const o = this._getApiKey(i), n = (this.#e.get(o) || Promise.resolve()).then(async () => {
|
|
265
|
+
const c = t, d = h(c) ? await J(c, s.locale) : c, l = await $(
|
|
266
|
+
s.locale,
|
|
265
267
|
T("./assets/editor-profile/t9n"),
|
|
266
268
|
"messages."
|
|
267
269
|
);
|
|
268
270
|
if (!l)
|
|
269
|
-
throw new Error(`Failed to load the language bundle for ${
|
|
271
|
+
throw new Error(`Failed to load the language bundle for ${s.locale}`);
|
|
270
272
|
this.disposeForModel(i);
|
|
271
|
-
const g = new
|
|
273
|
+
const g = new A(
|
|
272
274
|
d,
|
|
273
275
|
l,
|
|
274
|
-
|
|
276
|
+
s.locale,
|
|
275
277
|
W
|
|
276
278
|
);
|
|
277
|
-
this._modelToProfileMap.set(
|
|
279
|
+
this._modelToProfileMap.set(o, g);
|
|
278
280
|
const D = await K(g);
|
|
279
281
|
this.updateApiContextForModel(i, {
|
|
280
|
-
locale:
|
|
282
|
+
locale: s.locale,
|
|
281
283
|
profile: D,
|
|
282
|
-
snippets:
|
|
284
|
+
snippets: s.snippets
|
|
283
285
|
});
|
|
284
286
|
}), r = n.finally(() => {
|
|
285
|
-
this.#e.get(
|
|
287
|
+
this.#e.get(o) === r && this.#e.delete(o);
|
|
286
288
|
});
|
|
287
|
-
return this.#e.set(
|
|
289
|
+
return this.#e.set(o, r), await n;
|
|
288
290
|
}
|
|
289
291
|
}
|
|
290
|
-
const
|
|
291
|
-
setProfileForModel:
|
|
292
|
-
getApiLibraryForModel:
|
|
292
|
+
const u = new X(), re = {
|
|
293
|
+
setProfileForModel: u.setProfileForModel.bind(u),
|
|
294
|
+
getApiLibraryForModel: u.getApiLibraryForModel.bind(u)
|
|
293
295
|
};
|
|
294
296
|
export {
|
|
295
297
|
re as a,
|
|
296
|
-
|
|
298
|
+
u as b
|
|
297
299
|
};
|
package/dist/chunks/fields.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
const
|
|
2
|
+
const a = "cube";
|
|
3
3
|
function u(e, t) {
|
|
4
4
|
switch (e.type) {
|
|
5
5
|
case "oid":
|
|
@@ -15,9 +15,9 @@ function u(e, t) {
|
|
|
15
15
|
case "guid":
|
|
16
16
|
return "key";
|
|
17
17
|
case "string":
|
|
18
|
-
if (t?.some((
|
|
19
|
-
const
|
|
20
|
-
return
|
|
18
|
+
if (t?.some((r) => r.name === e.name && r.type === "array")) {
|
|
19
|
+
const r = t?.find((c) => c.name === e.name);
|
|
20
|
+
return r && n(r) && n(r) ? s(r.elementType.type) : "double-float-set";
|
|
21
21
|
}
|
|
22
22
|
return "string";
|
|
23
23
|
case "date":
|
|
@@ -39,7 +39,7 @@ function i(e) {
|
|
|
39
39
|
case "text":
|
|
40
40
|
return "string";
|
|
41
41
|
case "array":
|
|
42
|
-
return
|
|
42
|
+
return n(e) ? s(e.elementType.type) : a;
|
|
43
43
|
case "date":
|
|
44
44
|
return "date-time";
|
|
45
45
|
case "dateOnly":
|
|
@@ -47,10 +47,10 @@ function i(e) {
|
|
|
47
47
|
case "time":
|
|
48
48
|
return "clock";
|
|
49
49
|
default:
|
|
50
|
-
return
|
|
50
|
+
return a;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function l(e) {
|
|
53
|
+
function l(e, t = {}) {
|
|
54
54
|
switch (e.type) {
|
|
55
55
|
case "small-integer":
|
|
56
56
|
case "integer":
|
|
@@ -70,13 +70,15 @@ function l(e) {
|
|
|
70
70
|
return "dateOnly";
|
|
71
71
|
case "time-only":
|
|
72
72
|
return "time";
|
|
73
|
+
case "geometry":
|
|
74
|
+
return t.supportGeometryFields ? "geometry" : "text";
|
|
73
75
|
default:
|
|
74
76
|
return "text";
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
|
-
function o(e) {
|
|
78
|
-
return (e ?? []).filter((
|
|
79
|
-
switch (
|
|
79
|
+
function o(e, t) {
|
|
80
|
+
return (e ?? []).filter((r) => {
|
|
81
|
+
switch (r.type) {
|
|
80
82
|
case "string":
|
|
81
83
|
case "small-integer":
|
|
82
84
|
case "integer":
|
|
@@ -92,15 +94,17 @@ function o(e) {
|
|
|
92
94
|
case "guid":
|
|
93
95
|
case "global-id":
|
|
94
96
|
return !0;
|
|
97
|
+
case "geometry":
|
|
98
|
+
return t?.supportGeometry ?? !1;
|
|
95
99
|
default:
|
|
96
100
|
return !1;
|
|
97
101
|
}
|
|
98
102
|
});
|
|
99
103
|
}
|
|
100
|
-
function
|
|
104
|
+
function y(e) {
|
|
101
105
|
return e.alias || e.name;
|
|
102
106
|
}
|
|
103
|
-
function
|
|
107
|
+
function n(e) {
|
|
104
108
|
if (typeof e == "object" && e !== null && "elementType" in e) {
|
|
105
109
|
const t = e.elementType;
|
|
106
110
|
return typeof t == "object" && t !== null && "type" in t && typeof t.type == "string";
|
|
@@ -114,12 +118,12 @@ function s(e) {
|
|
|
114
118
|
case "number":
|
|
115
119
|
return "double-float-set";
|
|
116
120
|
default:
|
|
117
|
-
return
|
|
121
|
+
return a;
|
|
118
122
|
}
|
|
119
123
|
}
|
|
120
124
|
export {
|
|
121
125
|
l as a,
|
|
122
|
-
|
|
126
|
+
y as b,
|
|
123
127
|
u as f,
|
|
124
128
|
i as m,
|
|
125
129
|
o as s
|