@arcgis/map-components 4.33.0-next.136 → 4.33.0-next.138
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/{2BWNKFZW.js → 2ICV3ZP6.js} +2 -2
- package/dist/cdn/{F5IQLE3G.js → 2RYHZPSQ.js} +2 -2
- package/dist/cdn/{IMWUONNH.js → 2TBOD7GJ.js} +2 -2
- package/dist/cdn/{U6NUSLXQ.js → 3F4Z4TXU.js} +2 -2
- package/dist/cdn/3HNXL7RL.js +4 -0
- package/dist/cdn/{WKVMC47S.js → 3MPFDWBN.js} +2 -2
- package/dist/cdn/{7AMN2VPJ.js → 3PXEJNET.js} +2 -2
- package/dist/cdn/{UCIYMFVJ.js → 3RYCWP6E.js} +2 -2
- package/dist/cdn/{BP57OBWN.js → 4KXQH47P.js} +2 -2
- package/dist/cdn/{LOBFBGWD.js → 4NU2LEDY.js} +2 -2
- package/dist/cdn/{AKYPLUTO.js → 54A6QQ5P.js} +2 -2
- package/dist/cdn/{URLKREBV.js → 5DLF2FRD.js} +2 -2
- package/dist/cdn/{AH2ZG75G.js → 5J7OJ4Z6.js} +2 -2
- package/dist/cdn/{XBHXC4AC.js → 5KYPK2BL.js} +2 -2
- package/dist/cdn/{PX235H7X.js → 5PFB6EGX.js} +2 -2
- package/dist/cdn/{CLSVAQ4G.js → 6Q5DEPLW.js} +2 -2
- package/dist/cdn/{JXRFEX3Q.js → 6VOXDT2D.js} +2 -2
- package/dist/cdn/{EYI6GI7E.js → 73CNLONW.js} +2 -2
- package/dist/cdn/{SQ7IRME2.js → 7C6JQ4XM.js} +2 -2
- package/dist/cdn/{VZVTX75Y.js → 7FFIVQF6.js} +2 -2
- package/dist/cdn/{JRGKAE6F.js → 7Q2OQGBB.js} +2 -2
- package/dist/cdn/{X2X6B3YN.js → A4ZNGLT2.js} +2 -2
- package/dist/cdn/{ET44LS3A.js → A575HHDP.js} +2 -2
- package/dist/cdn/A5AIKEDX.js +4 -0
- package/dist/cdn/{62NRGBON.js → AIYUDCDQ.js} +2 -2
- package/dist/cdn/AV6YUXI6.js +4 -0
- package/dist/cdn/BNCLTRYH.js +4 -0
- package/dist/cdn/{GBCKXZW6.js → BQYQ3LTP.js} +2 -2
- package/dist/cdn/{WIWG2LGN.js → BZ5KBRTH.js} +2 -2
- package/dist/cdn/{3G3LVX2U.js → C677Z3XS.js} +2 -2
- package/dist/cdn/C722QWYO.js +4 -0
- package/dist/cdn/{IPRFR6DT.js → CUDJHVRU.js} +2 -2
- package/dist/cdn/{5CTZNTHB.js → CV2IWESX.js} +2 -2
- package/dist/cdn/{JAN5HG3G.js → D7MSIIVJ.js} +2 -2
- package/dist/cdn/{ADGC7BZI.js → DJAPPGGB.js} +2 -2
- package/dist/cdn/{MUQ32RUE.js → EDORIH5N.js} +2 -2
- package/dist/cdn/EL4W5FAJ.js +4 -0
- package/dist/cdn/{X5H4BNWJ.js → FOVCH7VW.js} +2 -2
- package/dist/cdn/{VKJE37GQ.js → FY5ET4WM.js} +2 -2
- package/dist/cdn/{TRTMNVI6.js → G7FA2SZX.js} +2 -2
- package/dist/cdn/{DTVBVHKG.js → GDRUHH5B.js} +2 -2
- package/dist/cdn/{GOBTKC4E.js → GEVMX2UO.js} +2 -2
- package/dist/cdn/{WTYFC75N.js → GURMXFUT.js} +2 -2
- package/dist/cdn/{WNJVX6RI.js → GY5GZLXV.js} +2 -2
- package/dist/cdn/{6JC2Q2KY.js → HBVJIRGN.js} +2 -2
- package/dist/cdn/{57J7ZHCC.js → HCS23COA.js} +2 -2
- package/dist/cdn/{X3ZJJBIA.js → HMR3LZEC.js} +2 -2
- package/dist/cdn/{J3TOTWFC.js → HT7HVKXJ.js} +2 -2
- package/dist/cdn/{K2ITHZ7S.js → HUYGZMDR.js} +2 -2
- package/dist/cdn/HXOPYRM2.js +4 -0
- package/dist/cdn/{YMUJRFGB.js → IH32IEWT.js} +2 -2
- package/dist/cdn/{OQPILQIR.js → JGCDGP2X.js} +2 -2
- package/dist/cdn/JR37HKLZ.js +4 -0
- package/dist/cdn/{WQ3BAHLE.js → JYTTN5LU.js} +2 -2
- package/dist/cdn/{3XXP6T6D.js → KEI26URD.js} +1 -1
- package/dist/cdn/{Q6MBU3KQ.js → KM5OVC7O.js} +2 -2
- package/dist/cdn/{RRAN3GV5.js → L5J24G5M.js} +2 -2
- package/dist/cdn/L66H2ALJ.js +4 -0
- package/dist/cdn/{XDT45WCB.js → LIQITLFR.js} +2 -2
- package/dist/cdn/{JM6NPZAW.js → LNOMQKUY.js} +2 -2
- package/dist/cdn/{7D6VNKHP.js → LQEPXN57.js} +2 -2
- package/dist/cdn/{GURL6AVS.js → LT4K76AI.js} +2 -2
- package/dist/cdn/LUWRRPTC.js +4 -0
- package/dist/cdn/{BA4MEMIO.js → MEUUSKT3.js} +2 -2
- package/dist/cdn/{XKZ3QPCQ.js → MNSXEFSD.js} +2 -2
- package/dist/cdn/{HBIM6ODS.js → MUPWF5M2.js} +2 -2
- package/dist/cdn/N36AOA4W.js +4 -0
- package/dist/cdn/{4S3FYMV3.js → N4JEEG6U.js} +2 -2
- package/dist/cdn/{IGZF7C2L.js → NA7YRW3M.js} +2 -2
- package/dist/cdn/{47MNULJ4.js → NHSTTG5C.js} +1 -1
- package/dist/cdn/{VIIEZ6AL.js → NIB3ARH5.js} +2 -2
- package/dist/cdn/{3XNP3PSG.js → O7YEMKLH.js} +2 -2
- package/dist/cdn/{XGKSB2HZ.js → P2ORI2MU.js} +2 -2
- package/dist/cdn/{5ZIN5VIU.js → P4OU64OH.js} +2 -2
- package/dist/cdn/{MLGAD27T.js → PRZRGIJO.js} +2 -2
- package/dist/cdn/{MAJRJT3G.js → Q2G3EZNU.js} +2 -2
- package/dist/cdn/{CHXEQ2UW.js → Q3DX3LMR.js} +2 -2
- package/dist/cdn/{O374NYBD.js → QBPIXB5K.js} +2 -2
- package/dist/cdn/{EUDGCLCR.js → QINX3JDV.js} +2 -2
- package/dist/cdn/{U7BSTI4W.js → QXPX2NPW.js} +2 -2
- package/dist/cdn/{PCRMIW56.js → RN2REPX3.js} +2 -2
- package/dist/cdn/{PE52DDMH.js → RPQOQQSL.js} +2 -2
- package/dist/cdn/RSXOP3R5.js +6 -0
- package/dist/cdn/{NJEGSU4S.js → S7S6ARM2.js} +2 -2
- package/dist/cdn/{BLCGQIIG.js → SNF6PQDA.js} +2 -2
- package/dist/cdn/{FWH2SDOO.js → SPPQB6HJ.js} +2 -2
- package/dist/cdn/{7IV7MLK2.js → ST2CRGPM.js} +2 -2
- package/dist/cdn/{KVVOGNVV.js → SUEDRTNE.js} +2 -2
- package/dist/cdn/{34PJWM5S.js → SW63GGTX.js} +2 -2
- package/dist/cdn/{FC2AIUU4.js → T5JY4NUR.js} +1 -1
- package/dist/cdn/{2ELONJFJ.js → TBKYTCWV.js} +2 -2
- package/dist/cdn/{EXVPDO2O.js → TGOTZ7AI.js} +2 -2
- package/dist/cdn/{OSJ6OFRU.js → TLXRUB2I.js} +2 -2
- package/dist/cdn/{RP2AVIBP.js → TN3WLCHJ.js} +1 -1
- package/dist/cdn/{CPTQQPY2.js → U2DRGZMR.js} +2 -2
- package/dist/cdn/{7HU7RIXG.js → UERCPIN5.js} +2 -2
- package/dist/cdn/{6J2EHGJB.js → UFB7UU6E.js} +1 -1
- package/dist/cdn/{PF6QUHKZ.js → UHZ772ND.js} +2 -2
- package/dist/cdn/UT2TU4IE.js +4 -0
- package/dist/cdn/{YZGU7UEH.js → UTX6MR4S.js} +2 -2
- package/dist/cdn/{24WBASSH.js → V7RU2UNT.js} +2 -2
- package/dist/cdn/{25GIHOAR.js → VBIWNOWT.js} +2 -2
- package/dist/cdn/{YXE7BY2K.js → VCEXQIAL.js} +2 -2
- package/dist/cdn/{2OCYM3OK.js → VKAIYWB6.js} +2 -2
- package/dist/cdn/{6E5B576C.js → VUGWIA5S.js} +2 -2
- package/dist/cdn/{IHGISFTT.js → VXE3QTOJ.js} +2 -2
- package/dist/cdn/{FZW76KJQ.js → WTLPSGCB.js} +2 -2
- package/dist/cdn/{JU5LW5WD.js → XDDWEQM3.js} +2 -2
- package/dist/cdn/XGAGBN4O.js +4 -0
- package/dist/cdn/{NWKOHTGA.js → XJG23KZB.js} +2 -2
- package/dist/cdn/{YKYALGDF.js → XQWUSMGI.js} +2 -2
- package/dist/cdn/{I2HLEB6L.js → XTNP3TJF.js} +2 -2
- package/dist/cdn/{RDNLBAOK.js → YB6ZBOCX.js} +2 -2
- package/dist/cdn/{LEOKJPJQ.js → YCQPBKUP.js} +2 -2
- package/dist/cdn/{HHQII7OF.js → YXY5RVBB.js} +2 -2
- package/dist/cdn/{UZBOO73Z.js → ZBFPM6CM.js} +2 -2
- package/dist/cdn/{SYEDGBKA.js → ZD62VL5V.js} +2 -2
- package/dist/cdn/ZEX2ON7O.js +4 -0
- package/dist/cdn/{4XMFLJJI.js → ZO4WI4NO.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +66 -77
- package/dist/chunks/async-utils.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +5 -5
- package/dist/chunks/measurementUtils.js +50 -0
- package/dist/chunks/runtime.js +8 -6
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +45 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +17 -56
- package/dist/components/arcgis-area-measurement-3d/customElement.js +155 -17
- package/dist/components/arcgis-area-measurement-3d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-3d/index.js +3 -0
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/css.d.ts +1 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +13 -12
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +47 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +68 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +194 -0
- package/dist/components/arcgis-direct-line-measurement-3d/index.d.ts +4 -0
- package/dist/components/arcgis-direct-line-measurement-3d/index.js +4 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +34 -33
- package/dist/components/arcgis-directional-pad/index.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/index.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/LineOfSightViewModel.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +16 -16
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +16 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +36 -28
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +3 -0
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +3 -0
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +20 -0
- package/dist/components/arcgis-measurement-content/customElement.js +59 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +37 -37
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +14 -8
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +3 -2
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +4 -5
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +988 -242
- package/dist/docs/docs.json +854 -273
- package/dist/docs/vscode.html-custom-data.json +159 -15
- package/dist/docs/web-types.json +253 -79
- package/dist/index.d.ts +23 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -4
- package/dist/support/AnalysisViewModel.d.ts +26 -39
- package/dist/support/maybe.d.ts +2 -2
- package/dist/support/measurementUtils.d.ts +19 -0
- package/dist/types/lumina.d.ts +11 -4
- package/dist/types/preact.d.ts +12 -4
- package/dist/types/react.d.ts +13 -4
- package/dist/types/stencil.d.ts +11 -4
- package/package.json +3 -4
- package/dist/cdn/2U3NM53O.js +0 -4
- package/dist/cdn/4OH6ZQSR.js +0 -6
- package/dist/cdn/5OJGMLTM.js +0 -4
- package/dist/cdn/EQLVXNT2.js +0 -4
- package/dist/cdn/ESYIRKJZ.js +0 -4
- package/dist/cdn/HAKRJX2P.js +0 -4
- package/dist/cdn/IBQZQ7NO.js +0 -4
- package/dist/cdn/KI5QKUMW.js +0 -4
- package/dist/cdn/MCMV52SD.js +0 -4
- package/dist/cdn/Q3IHR5JP.js +0 -4
- package/dist/cdn/SEORCENQ.js +0 -4
- package/dist/cdn/Y4BGHULQ.js +0 -4
- package/dist/cdn/YW35NM5X.js +0 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +0 -98
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +0 -37
- /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.d.ts +0 -0
- /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,8 @@ import type { ArcgisCoordinateConversion } from "./components/arcgis-coordinate-
|
|
|
12
12
|
import type { ArcgisDaylight } from "./components/arcgis-daylight";
|
|
13
13
|
import type { ArcgisDirectionalPad } from "./components/arcgis-directional-pad";
|
|
14
14
|
import type { ArcgisDirections } from "./components/arcgis-directions";
|
|
15
|
-
import type { ArcgisDirectLineMeasurement3d } from "./components/arcgis-
|
|
15
|
+
import type { ArcgisDirectLineMeasurement3d } from "./components/arcgis-direct-line-measurement-3d";
|
|
16
|
+
import type { DeprecatedArcgisDirectLineMeasurement3d } from "./components/arcgis-direct-line-measurement-3d";
|
|
16
17
|
import type { ArcgisDistanceMeasurement2d } from "./components/arcgis-distance-measurement-2d";
|
|
17
18
|
import type { ArcgisEditor } from "./components/arcgis-editor";
|
|
18
19
|
import type { ArcgisElevationProfile } from "./components/arcgis-elevation-profile";
|
|
@@ -144,6 +145,11 @@ export interface ArcgisDirectionsCustomEvent<T> extends CustomEvent<T> {
|
|
|
144
145
|
target: HTMLArcgisDirectionsElement;
|
|
145
146
|
currentTarget: HTMLArcgisDirectionsElement;
|
|
146
147
|
}
|
|
148
|
+
export interface ArcgisDirectLineMeasurement3dCustomEvent<T> extends CustomEvent<T> {
|
|
149
|
+
detail: T;
|
|
150
|
+
target: HTMLArcgisDirectLineMeasurement3dElement;
|
|
151
|
+
currentTarget: HTMLArcgisDirectLineMeasurement3dElement;
|
|
152
|
+
}
|
|
147
153
|
export interface ArcgisDirectlineMeasurement3dCustomEvent<T> extends CustomEvent<T> {
|
|
148
154
|
detail: T;
|
|
149
155
|
target: HTMLArcgisDirectlineMeasurement3dElement;
|
|
@@ -413,6 +419,7 @@ declare global {
|
|
|
413
419
|
"arcgis-daylight": HTMLArcgisDaylightElement;
|
|
414
420
|
"arcgis-directional-pad": HTMLArcgisDirectionalPadElement;
|
|
415
421
|
"arcgis-directions": HTMLArcgisDirectionsElement;
|
|
422
|
+
"arcgis-direct-line-measurement-3d": HTMLArcgisDirectLineMeasurement3dElement;
|
|
416
423
|
"arcgis-directline-measurement-3d": HTMLArcgisDirectlineMeasurement3dElement;
|
|
417
424
|
"arcgis-distance-measurement-2d": HTMLArcgisDistanceMeasurement2dElement;
|
|
418
425
|
"arcgis-editor": HTMLArcgisEditorElement;
|
|
@@ -654,12 +661,25 @@ declare global {
|
|
|
654
661
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
655
662
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
656
663
|
}
|
|
657
|
-
interface
|
|
664
|
+
interface HTMLArcgisDirectLineMeasurement3dElementEventMap {
|
|
658
665
|
"arcgisPropertyChange": ArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"];
|
|
659
666
|
"arcgisReady": ArcgisDirectLineMeasurement3d["arcgisReady"]["detail"];
|
|
660
667
|
}
|
|
661
668
|
|
|
662
|
-
interface
|
|
669
|
+
interface HTMLArcgisDirectLineMeasurement3dElement extends ArcgisDirectLineMeasurement3d {
|
|
670
|
+
addEventListener<K extends keyof HTMLArcgisDirectLineMeasurement3dElementEventMap>(type: K, listener: (this: HTMLArcgisDirectLineMeasurement3dElement, ev: ArcgisDirectLineMeasurement3dCustomEvent<HTMLArcgisDirectLineMeasurement3dElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
671
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
672
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
673
|
+
removeEventListener<K extends keyof HTMLArcgisDirectLineMeasurement3dElementEventMap>(type: K, listener: (this: HTMLArcgisDirectLineMeasurement3dElement, ev: ArcgisDirectLineMeasurement3dCustomEvent<HTMLArcgisDirectLineMeasurement3dElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
674
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
675
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
676
|
+
}
|
|
677
|
+
interface HTMLArcgisDirectlineMeasurement3dElementEventMap {
|
|
678
|
+
"arcgisPropertyChange": DeprecatedArcgisDirectLineMeasurement3d["arcgisPropertyChange"]["detail"];
|
|
679
|
+
"arcgisReady": DeprecatedArcgisDirectLineMeasurement3d["arcgisReady"]["detail"];
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
interface HTMLArcgisDirectlineMeasurement3dElement extends DeprecatedArcgisDirectLineMeasurement3d {
|
|
663
683
|
addEventListener<K extends keyof HTMLArcgisDirectlineMeasurement3dElementEventMap>(type: K, listener: (this: HTMLArcgisDirectlineMeasurement3dElement, ev: ArcgisDirectlineMeasurement3dCustomEvent<HTMLArcgisDirectlineMeasurement3dElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
664
684
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
665
685
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
4
|
+
v4.33.0-next.138 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.138 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
@@ -19,7 +19,8 @@ const a = t(e, {
|
|
|
19
19
|
"arcgis-daylight": [() => import("./components/arcgis-daylight/customElement.js"), "autoDestroyDisabled,currentSeason,dateOrSeason,dayPlaying,headingLevel,hideDatePicker,hideHeader,hidePlayButtons,hideShadowsToggle,hideSunLightingToggle,hideTimezone,icon,label,playSpeedMultiplier,position,referenceElement,timeSliderSteps,yearPlaying;destroy"],
|
|
20
20
|
"arcgis-directional-pad": [() => import("./components/arcgis-directional-pad/customElement.js"), "autoDestroyDisabled,disabled,hideDirectionalButtons,icon,label,messageOverrides:,position,referenceElement,showRotationResetButton,showRotationSlider,state,visualScale;destroy"],
|
|
21
21
|
"arcgis-directions": [() => import("./components/arcgis-directions/customElement.js"), "apiKey,autoDestroyDisabled,goToOverride:,headingLevel,hideLayerDetails,hideSaveAsButton,hideSaveButton,icon,label,lastRoute:,layer:,maxStops,position,referenceElement,routeLayerItemId,searchProperties:,state,unit,useDefaultRouteLayer;destroy,getDirections,save,saveAs,zoomToRoute"],
|
|
22
|
-
"arcgis-
|
|
22
|
+
"arcgis-direct-line-measurement-3d": [() => import("./components/arcgis-direct-line-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
23
|
+
"arcgis-directline-measurement-3d": [() => import("./components/arcgis-direct-line-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
23
24
|
"arcgis-distance-measurement-2d": [() => import("./components/arcgis-distance-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
|
|
24
25
|
"arcgis-editor": [() => import("./components/arcgis-editor/customElement.js"), "activeWorkflow:,autoDestroyDisabled,headingLevel,hideCreateFeaturesSection,hideEditFeaturesSection,hideLabelsToggle,hideSnappingControlsElementsEnabledToggle,hideSnappingControlsElementsFeatureEnabledToggle,hideSnappingControlsElementsLayerList,hideSnappingControlsElementsSelfEnabledToggle,hideTooltipsToggle,icon,label,labelOptions:,layerInfos:,position,referenceElement,showSnappingControlsElementsHeader,snappingOptions:,state,supportingWidgetDefaults:,tooltipOptions:;cancelWorkflow,deleteFeatureFromWorkflow,destroy,startCreateFeaturesWorkflowAtFeatureCreation,startCreateFeaturesWorkflowAtFeatureTypeSelection,startUpdateWorkflowAtFeatureEdit,startUpdateWorkflowAtFeatureSelection,startUpdateWorkflowAtMultipleFeatureSelection"],
|
|
25
26
|
"arcgis-elevation-profile": [() => import("./components/arcgis-elevation-profile/customElement.js"), "autoDestroyDisabled,effectiveUnits:,hideChart,hideClearButton,hideLegend,hideSelectButton,hideSettingsButton,hideSketchButton,hideUniformChartScalingToggle,hideUnitSelector,highlightEnabled,hoveredChartPosition,icon,input:,label,position,profiles:,progress:,referenceElement,state,uniformChartScaling,unit,unitOptions:;destroy,start,stop"],
|
|
@@ -37,9 +38,9 @@ const a = t(e, {
|
|
|
37
38
|
"arcgis-layer-list": [() => import("./components/arcgis-layer-list/customElement.js"), "autoDestroyDisabled,catalogLayerList:,catalogOptions:,closed,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,headingLevel,hideCatalogLayerList,hideFlow,hideStatusIndicators,icon,knowledgeGraphOptions:,label,listItemCreatedFunction:,minDragEnabledItems,minFilterItems,openedLayers:,operationalItems:,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,state,tableList:,visibilityAppearance;destroy,triggerAction"],
|
|
38
39
|
"arcgis-layer-list-item": [() => import("./components/arcgis-layer-list-item/customElement.js"), "activeItem:,autoDestroyDisabled,canMove:,css:,displayMode,dragEnabled,handleAction:,handleCatalogOpen:,handlePanelOpen:,handleSelectedDragItemLayerUidChange:,handleTablesOpen:,handleTooltipReferenceChange:,hideCatalogLayerList,hideFlow,hideStatusIndicators,item:,layerTablesEnabled:,listModeDisabled,parent:,parentTitles:,rootGroupUid,selectedDragItemLayerUid,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,showTemporaryTableIndicators,visibilityAppearance;destroy"],
|
|
39
40
|
"arcgis-legend": [() => import("./components/arcgis-legend/customElement.js"), "activeLayerInfos:,autoDestroyDisabled,basemapLegendVisible,headingLevel,hideLayersNotInCurrentView,icon,label,layerInfos:,legendStyle,position,referenceElement,respectLayerDefinitionExpression,respectLayerVisibilityDisabled,state;destroy"],
|
|
40
|
-
"arcgis-line-of-sight": [() => import("./components/arcgis-line-of-sight/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,messageOverrides:,position,referenceElement,state
|
|
41
|
+
"arcgis-line-of-sight": [() => import("./components/arcgis-line-of-sight/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,messageOverrides:,position,referenceElement,state:;clear,continue,destroy,start,stop"],
|
|
41
42
|
"arcgis-link-chart": [() => import("./components/arcgis-link-chart/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,displayFilterDisabled,extent:,fatalError:,graphics:,highlights:,interacting:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,popup:,popupDisabled,ready:,resizeAlign,resolution:,rotation,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,timeZone,updating:,view:,viewpoint:,zoom;addLayer,addLayers,closePopup,destroy,goTo,openPopup,tryFatalErrorRecovery,viewOnReady,whenLayerView;toMap,toScreen"],
|
|
42
|
-
"arcgis-link-chart-layout-switcher": [() => import("./components/arcgis-link-chart-layout-switcher/customElement.js"), "autoDestroyDisabled,icon,label,layout:,messageOverrides:,position,preventExtentUpdate,referenceElement,state;destroy,switchLayout"],
|
|
43
|
+
"arcgis-link-chart-layout-switcher": [() => import("./components/arcgis-link-chart-layout-switcher/customElement.js"), "appearance,autoDestroyDisabled,closeOnSelectDisabled,icon,label,layout:,messageOverrides:,position,preventExtentUpdate,referenceElement,state;destroy,switchLayout"],
|
|
43
44
|
"arcgis-locate": [() => import("./components/arcgis-locate/customElement.js"), "autoDestroyDisabled,geolocationOptions:,goToLocationDisabled,goToOverride:,graphic:,icon,label,messageOverrides:,popupDisabled,position,referenceElement,scale,state;cancelLocate,destroy,locate"],
|
|
44
45
|
"arcgis-map": [() => import("./components/arcgis-map/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,displayFilterDisabled,extent:,fatalError:,floors:,gamepad:,graphics:,ground,highlightOptions:,highlights:,interacting:,ipsInfo:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,popup:,popupDisabled,ready:,resizeAlign,resolution:,rotation,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,timeZone,updating:,view:,viewpoint:,visibleArea:,zoom;addLayer,addLayers,addTable,addTables,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,viewOnReady,whenLayerView;toMap,toScreen"],
|
|
45
46
|
"arcgis-measurement": [() => import("./components/arcgis-measurement/customElement.js"), "activeTool,activeWidget:,areaUnit,autoDestroyDisabled,icon,label,linearUnit,position,referenceElement,state;clear,destroy,startMeasurement"],
|
|
@@ -73,6 +74,7 @@ const a = t(e, {
|
|
|
73
74
|
"arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,hasVoxelLayers:,headingLevel,icon,label,messageOverrides:,position,referenceElement,shape:,state,tiltEnabled;clear,destroy,start"],
|
|
74
75
|
"arcgis-slider": [() => import("./components/arcgis-slider/customElement.js"), "autoDestroyDisabled,draggableSegmentsEnabled,effectiveMax,effectiveMin,effectiveSegmentElements:,icon,label,labelElements:,labelInputsEnabled,labels:,layout,max,maxLabelElement:,min,minLabelElement:,position,precision,rangeLabelInputsEnabled,referenceElement,segmentElements:,snapOnClickEnabled,state,steps,syncedSegmentsEnabled,thumbElements:,thumbsConstrained,tickConfigs:,tickElements:,trackElement:,values;destroy"],
|
|
75
76
|
"arcgis-labeled-switch": [() => import("./components/arcgis-labeled-switch/customElement.js"), "checked,disabled,hint,hintIcon,hintKind,label;destroy"],
|
|
77
|
+
"arcgis-measurement-content": [() => import("./components/arcgis-measurement-content/customElement.js"), "hintLabel,items:,state,unsupportedLabel"],
|
|
76
78
|
"arcgis-swipe": [() => import("./components/arcgis-swipe/customElement.js"), "autoDestroyDisabled,direction,disabled,hideDivider,hideHandle,icon,label,leadingLayers:,messageOverrides:,position,referenceElement,state,swipePosition,trailingLayers:;destroy"],
|
|
77
79
|
"arcgis-table-list": [() => import("./components/arcgis-table-list/customElement.js"), "autoDestroyDisabled,closed,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,hideFlow,hideStatusIndicators,icon,label,listItemCreatedFunction:,minDragEnabledItems,minFilterItems,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryTableIndicators,state,tableItems:;destroy"],
|
|
78
80
|
"arcgis-time-slider": [() => import("./components/arcgis-time-slider/customElement.js"), "actions:,autoDestroyDisabled,disabled,effectiveStops:,fullTimeExtent:,icon,label,layout,loop,mode,playRate,position,referenceElement,state,stops:,tickConfigs:,timeExtent:,timeVisible,timeZone;applyTimeSliderSettings,destroy,next,play,previous,stop,updateWebDocument"],
|
|
@@ -1,38 +1,33 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
-
import { default as AnalysisBase } from '@arcgis/core/analysis/Analysis';
|
|
3
|
-
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
2
|
import { default as Accessor } from '@arcgis/core/core/Accessor.js';
|
|
5
|
-
import {
|
|
6
|
-
import { default as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import { default as ViewshedAnalysisView3D } from '@arcgis/core/views/3d/analysis/ViewshedAnalysisView3D.js';
|
|
11
|
-
export interface ConstructProperties<ViewType extends SceneView, AnalysisType extends AnalysisBase> {
|
|
12
|
-
analysis: AnalysisType | nullish;
|
|
13
|
-
view: nullish | ViewType;
|
|
3
|
+
import { AnalysisUnion, AnalysisViewUnion } from '@arcgis/core/unionTypes.js';
|
|
4
|
+
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
5
|
+
export interface ConstructProperties<ViewType extends SceneView, AnalysisType extends AnalysisUnion> {
|
|
6
|
+
analysis?: AnalysisType;
|
|
7
|
+
view?: ViewType;
|
|
14
8
|
visible: boolean;
|
|
15
9
|
}
|
|
16
|
-
export
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}>;
|
|
10
|
+
export type AnalysisMap = {
|
|
11
|
+
[Key in AnalysisUnion["type"]]: Extract<AnalysisUnion, {
|
|
12
|
+
type: Key;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
export type AnalysisViewMap = {
|
|
16
|
+
[Key in keyof AnalysisMap]: Extract<AnalysisViewUnion, {
|
|
17
|
+
analysis: {
|
|
18
|
+
type: Key;
|
|
19
|
+
};
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
export type AnalysisViewFor<Analysis extends AnalysisUnion> = AnalysisViewMap[Analysis["type"]];
|
|
27
23
|
type OperationState = "active" | "inactive";
|
|
28
24
|
export declare abstract class AnalysisViewModel<IViewType extends SceneView, AnalysisType extends __esri.AnalysisUnion> extends Accessor implements ConstructProperties<IViewType, AnalysisType> {
|
|
29
25
|
constructor(properties?: Partial<ConstructProperties<IViewType, AnalysisType>>);
|
|
30
26
|
protected normalizeCtorArgs(properties: Partial<ConstructProperties<IViewType, AnalysisType>>): HashMap<unknown>;
|
|
31
|
-
private _loggedUnsupportedErrorMessage;
|
|
32
27
|
protected initialize(): void;
|
|
33
28
|
destroy(): void;
|
|
34
29
|
get supported(): boolean;
|
|
35
|
-
view
|
|
30
|
+
view?: IViewType;
|
|
36
31
|
set visible(v: boolean);
|
|
37
32
|
get active(): boolean;
|
|
38
33
|
get disabled(): boolean;
|
|
@@ -40,20 +35,21 @@ export declare abstract class AnalysisViewModel<IViewType extends SceneView, Ana
|
|
|
40
35
|
* Analysis data object.
|
|
41
36
|
*/
|
|
42
37
|
set analysis(v: AnalysisType);
|
|
43
|
-
protected _analysisView
|
|
44
|
-
get analysisView():
|
|
38
|
+
protected _analysisView?: AnalysisViewFor<AnalysisType>;
|
|
39
|
+
get analysisView(): AnalysisViewFor<AnalysisType> | undefined;
|
|
45
40
|
get ready(): boolean;
|
|
46
41
|
get connectingToView(): boolean;
|
|
47
42
|
/**
|
|
48
43
|
* If the viewmodel owns the analysis, it will remove and destroy it when the view model is destroyed.
|
|
49
44
|
*/
|
|
50
45
|
get isAnalysisOwner(): boolean;
|
|
51
|
-
private _reconnectViewTask
|
|
52
|
-
private _forceInteractiveHandle
|
|
46
|
+
private _reconnectViewTask?;
|
|
47
|
+
private _forceInteractiveHandle?;
|
|
53
48
|
private _operationState;
|
|
54
49
|
get operationState(): OperationState;
|
|
55
50
|
protected abstract readonly supportedViewType: "2d" | "3d";
|
|
56
|
-
|
|
51
|
+
protected abstract readonly unsupportedErrorMessage: string;
|
|
52
|
+
private _loggedUnsupportedErrorMessage;
|
|
57
53
|
/**
|
|
58
54
|
* Breaks the loop of:
|
|
59
55
|
* analysis.parent change event
|
|
@@ -87,7 +83,7 @@ export declare abstract class AnalysisViewModel<IViewType extends SceneView, Ana
|
|
|
87
83
|
* The function will be called each time the view becomes ready, the internal Layer of
|
|
88
84
|
* the view model has been added to the map and the analysis view of the analysis has been created.
|
|
89
85
|
*/
|
|
90
|
-
protected onConnectToAnalysisView(_analysisView:
|
|
86
|
+
protected onConnectToAnalysisView(_analysisView: AnalysisViewFor<AnalysisType>): void;
|
|
91
87
|
/**
|
|
92
88
|
* A callback used by view models that manage an analysis.
|
|
93
89
|
*
|
|
@@ -99,14 +95,5 @@ export declare abstract class AnalysisViewModel<IViewType extends SceneView, Ana
|
|
|
99
95
|
private _reconnectView;
|
|
100
96
|
private _disconnectFromView;
|
|
101
97
|
private _setExternalAnalysis;
|
|
102
|
-
/**
|
|
103
|
-
* Reset the analysis and tool to a state that will allow the interactive creation of a fresh analysis.
|
|
104
|
-
* The 'start()' method uses 'tool.created' to determine when the tool can be deactivated, so we must
|
|
105
|
-
* also reset that property here.
|
|
106
|
-
*
|
|
107
|
-
* In the future this should happen in the creation methods on analysis views:
|
|
108
|
-
* https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/43397
|
|
109
|
-
*/
|
|
110
|
-
private _resetInteractiveCreationState;
|
|
111
98
|
}
|
|
112
99
|
export {};
|
package/dist/support/maybe.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Nil } from '@arcgis/components-utils';
|
|
|
4
4
|
*/
|
|
5
5
|
export declare function abortMaybe<T extends {
|
|
6
6
|
abort: () => void;
|
|
7
|
-
}>(object: Nil | T):
|
|
7
|
+
}>(object: Nil | T): undefined;
|
|
8
8
|
export declare function removeMaybe<T extends {
|
|
9
9
|
remove: () => void;
|
|
10
|
-
}>(object: Nil | T):
|
|
10
|
+
}>(object: Nil | T): undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
import { default as QuantityFormatter } from '@arcgis/core/applications/Components/QuantityFormatter.js';
|
|
3
|
+
export type MeasurementModeString = "euclidean" | "geodesic";
|
|
4
|
+
export type Quantity = __esri.Area | __esri.Length;
|
|
5
|
+
export type MeasurementState = "disabled" | "measured" | "measuring" | "ready" | "unsupported";
|
|
6
|
+
export type MeasurementValue<T extends Quantity = Quantity> = {
|
|
7
|
+
state: "available";
|
|
8
|
+
value: T;
|
|
9
|
+
} | {
|
|
10
|
+
state: "invalid";
|
|
11
|
+
value?: never;
|
|
12
|
+
} | {
|
|
13
|
+
state: "unavailable";
|
|
14
|
+
value?: never;
|
|
15
|
+
};
|
|
16
|
+
export declare const measurementAreaUnits: ("square-millimeters" | "square-centimeters" | "square-decimeters" | "square-meters" | "square-kilometers" | "square-inches" | "square-feet" | "square-yards" | "square-miles" | "square-nautical-miles" | "square-us-feet" | "acres" | "ares" | "hectares" | "imperial" | "metric")[];
|
|
17
|
+
export declare const measurementLengthUnits: ("imperial" | "metric" | "millimeters" | "centimeters" | "decimeters" | "meters" | "kilometers" | "inches" | "feet" | "yards" | "miles" | "nautical-miles" | "us-feet")[];
|
|
18
|
+
export declare function getMeasurementValue<T extends Quantity>(value: nullish | T, valid?: boolean): MeasurementValue<T>;
|
|
19
|
+
export declare function formatQuantity(formatter: QuantityFormatter, quantity: Quantity): string;
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ import type { ArcgisCoordinateConversion } from "../components/arcgis-coordinate
|
|
|
13
13
|
import type { ArcgisDaylight } from "../components/arcgis-daylight";
|
|
14
14
|
import type { ArcgisDirectionalPad } from "../components/arcgis-directional-pad";
|
|
15
15
|
import type { ArcgisDirections } from "../components/arcgis-directions";
|
|
16
|
-
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-
|
|
16
|
+
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
|
+
import type { DeprecatedArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
18
|
import type { ArcgisDistanceMeasurement2d } from "../components/arcgis-distance-measurement-2d";
|
|
18
19
|
import type { ArcgisEditor } from "../components/arcgis-editor";
|
|
19
20
|
import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
|
|
@@ -70,7 +71,7 @@ interface LuminaArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasureme
|
|
|
70
71
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
|
-
interface LuminaArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisAreaMeasurement3dElement> {
|
|
74
|
+
interface LuminaArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisAreaMeasurement3dElement> {
|
|
74
75
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisPropertyChange"]>;
|
|
75
76
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisReady"]>;
|
|
76
77
|
}
|
|
@@ -142,7 +143,12 @@ interface LuminaArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
|
|
|
142
143
|
onarcgisReady?: EventHandler<HTMLArcgisDirectionsElement["arcgisReady"]>;
|
|
143
144
|
}
|
|
144
145
|
|
|
145
|
-
interface
|
|
146
|
+
interface LuminaArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisDirectLineMeasurement3dElement> {
|
|
147
|
+
onarcgisPropertyChange?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
148
|
+
onarcgisReady?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisReady"]>;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
interface LuminaArcgisDirectlineMeasurement3d extends Partial<Pick<DeprecatedArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, h.JSX.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
|
|
146
152
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
147
153
|
onarcgisReady?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisReady"]>;
|
|
148
154
|
}
|
|
@@ -268,7 +274,7 @@ interface LuminaArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestr
|
|
|
268
274
|
}
|
|
269
275
|
type ArcgisLinkChartSetterTypes = ArcgisLinkChart["_setterTypes"]
|
|
270
276
|
|
|
271
|
-
interface LuminaArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'autoDestroyDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
277
|
+
interface LuminaArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'appearance' | 'autoDestroyDisabled' | 'closeOnSelectDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
272
278
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisPropertyChange"]>;
|
|
273
279
|
onarcgisReady?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisReady"]>;
|
|
274
280
|
onarcgisSwitchLayout?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisSwitchLayout"]>;
|
|
@@ -516,6 +522,7 @@ declare module "@arcgis/lumina" {
|
|
|
516
522
|
"arcgis-daylight": LuminaArcgisDaylight;
|
|
517
523
|
"arcgis-directional-pad": LuminaArcgisDirectionalPad;
|
|
518
524
|
"arcgis-directions": LuminaArcgisDirections;
|
|
525
|
+
"arcgis-direct-line-measurement-3d": LuminaArcgisDirectLineMeasurement3d;
|
|
519
526
|
"arcgis-directline-measurement-3d": LuminaArcgisDirectlineMeasurement3d;
|
|
520
527
|
"arcgis-distance-measurement-2d": LuminaArcgisDistanceMeasurement2d;
|
|
521
528
|
"arcgis-editor": LuminaArcgisEditor;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ import type { ArcgisCoordinateConversion } from "../components/arcgis-coordinate
|
|
|
13
13
|
import type { ArcgisDaylight } from "../components/arcgis-daylight";
|
|
14
14
|
import type { ArcgisDirectionalPad } from "../components/arcgis-directional-pad";
|
|
15
15
|
import type { ArcgisDirections } from "../components/arcgis-directions";
|
|
16
|
-
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-
|
|
16
|
+
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
|
+
import type { DeprecatedArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
18
|
import type { ArcgisDistanceMeasurement2d } from "../components/arcgis-distance-measurement-2d";
|
|
18
19
|
import type { ArcgisEditor } from "../components/arcgis-editor";
|
|
19
20
|
import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
|
|
@@ -71,7 +72,7 @@ interface PreactArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasureme
|
|
|
71
72
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
interface PreactArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisAreaMeasurement3dElement> {
|
|
75
|
+
interface PreactArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisAreaMeasurement3dElement> {
|
|
75
76
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisPropertyChange"]>;
|
|
76
77
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisReady"]>;
|
|
77
78
|
}
|
|
@@ -143,7 +144,12 @@ interface PreactArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
|
|
|
143
144
|
onarcgisReady?: EventHandler<HTMLArcgisDirectionsElement["arcgisReady"]>;
|
|
144
145
|
}
|
|
145
146
|
|
|
146
|
-
interface
|
|
147
|
+
interface PreactArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisDirectLineMeasurement3dElement> {
|
|
148
|
+
onarcgisPropertyChange?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
149
|
+
onarcgisReady?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisReady"]>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface PreactArcgisDirectlineMeasurement3d extends Partial<Pick<DeprecatedArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, PreactJsx.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
|
|
147
153
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
148
154
|
onarcgisReady?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisReady"]>;
|
|
149
155
|
}
|
|
@@ -269,7 +275,7 @@ interface PreactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestr
|
|
|
269
275
|
}
|
|
270
276
|
type ArcgisLinkChartSetterTypes = ArcgisLinkChart["_setterTypes"]
|
|
271
277
|
|
|
272
|
-
interface PreactArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'autoDestroyDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
278
|
+
interface PreactArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'appearance' | 'autoDestroyDisabled' | 'closeOnSelectDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
273
279
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisPropertyChange"]>;
|
|
274
280
|
onarcgisReady?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisReady"]>;
|
|
275
281
|
onarcgisSwitchLayout?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisSwitchLayout"]>;
|
|
@@ -517,6 +523,7 @@ declare module 'preact' {
|
|
|
517
523
|
"arcgis-daylight": PreactArcgisDaylight;
|
|
518
524
|
"arcgis-directional-pad": PreactArcgisDirectionalPad;
|
|
519
525
|
"arcgis-directions": PreactArcgisDirections;
|
|
526
|
+
"arcgis-direct-line-measurement-3d": PreactArcgisDirectLineMeasurement3d;
|
|
520
527
|
"arcgis-directline-measurement-3d": PreactArcgisDirectlineMeasurement3d;
|
|
521
528
|
"arcgis-distance-measurement-2d": PreactArcgisDistanceMeasurement2d;
|
|
522
529
|
"arcgis-editor": PreactArcgisEditor;
|
|
@@ -585,6 +592,7 @@ declare module 'preact' {
|
|
|
585
592
|
"arcgis-daylight": PreactArcgisDaylight;
|
|
586
593
|
"arcgis-directional-pad": PreactArcgisDirectionalPad;
|
|
587
594
|
"arcgis-directions": PreactArcgisDirections;
|
|
595
|
+
"arcgis-direct-line-measurement-3d": PreactArcgisDirectLineMeasurement3d;
|
|
588
596
|
"arcgis-directline-measurement-3d": PreactArcgisDirectlineMeasurement3d;
|
|
589
597
|
"arcgis-distance-measurement-2d": PreactArcgisDistanceMeasurement2d;
|
|
590
598
|
"arcgis-editor": PreactArcgisEditor;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ import type { ArcgisCoordinateConversion } from "../components/arcgis-coordinate
|
|
|
13
13
|
import type { ArcgisDaylight } from "../components/arcgis-daylight";
|
|
14
14
|
import type { ArcgisDirectionalPad } from "../components/arcgis-directional-pad";
|
|
15
15
|
import type { ArcgisDirections } from "../components/arcgis-directions";
|
|
16
|
-
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-
|
|
16
|
+
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
|
+
import type { DeprecatedArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
18
|
import type { ArcgisDistanceMeasurement2d } from "../components/arcgis-distance-measurement-2d";
|
|
18
19
|
import type { ArcgisEditor } from "../components/arcgis-editor";
|
|
19
20
|
import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
|
|
@@ -71,7 +72,7 @@ interface ReactArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasuremen
|
|
|
71
72
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
interface ReactArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, HTMLProps<HTMLArcgisAreaMeasurement3dElement> {
|
|
75
|
+
interface ReactArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, HTMLProps<HTMLArcgisAreaMeasurement3dElement> {
|
|
75
76
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisPropertyChange"]>;
|
|
76
77
|
onarcgisReady?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisReady"]>;
|
|
77
78
|
}
|
|
@@ -143,7 +144,12 @@ interface ReactArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey'
|
|
|
143
144
|
onarcgisReady?: EventHandler<HTMLArcgisDirectionsElement["arcgisReady"]>;
|
|
144
145
|
}
|
|
145
146
|
|
|
146
|
-
interface
|
|
147
|
+
interface ReactArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, HTMLProps<HTMLArcgisDirectLineMeasurement3dElement> {
|
|
148
|
+
onarcgisPropertyChange?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
149
|
+
onarcgisReady?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisReady"]>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface ReactArcgisDirectlineMeasurement3d extends Partial<Pick<DeprecatedArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, HTMLProps<HTMLArcgisDirectlineMeasurement3dElement> {
|
|
147
153
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
148
154
|
onarcgisReady?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisReady"]>;
|
|
149
155
|
}
|
|
@@ -269,7 +275,7 @@ interface ReactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestro
|
|
|
269
275
|
}
|
|
270
276
|
type ArcgisLinkChartSetterTypes = ArcgisLinkChart["_setterTypes"]
|
|
271
277
|
|
|
272
|
-
interface ReactArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'autoDestroyDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, HTMLProps<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
278
|
+
interface ReactArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'appearance' | 'autoDestroyDisabled' | 'closeOnSelectDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, HTMLProps<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
273
279
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisPropertyChange"]>;
|
|
274
280
|
onarcgisReady?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisReady"]>;
|
|
275
281
|
onarcgisSwitchLayout?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisSwitchLayout"]>;
|
|
@@ -517,6 +523,7 @@ declare module "react" {
|
|
|
517
523
|
"arcgis-daylight": ReactArcgisDaylight;
|
|
518
524
|
"arcgis-directional-pad": ReactArcgisDirectionalPad;
|
|
519
525
|
"arcgis-directions": ReactArcgisDirections;
|
|
526
|
+
"arcgis-direct-line-measurement-3d": ReactArcgisDirectLineMeasurement3d;
|
|
520
527
|
"arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
|
|
521
528
|
"arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
|
|
522
529
|
"arcgis-editor": ReactArcgisEditor;
|
|
@@ -587,6 +594,7 @@ declare module "react/jsx-runtime" {
|
|
|
587
594
|
"arcgis-daylight": ReactArcgisDaylight;
|
|
588
595
|
"arcgis-directional-pad": ReactArcgisDirectionalPad;
|
|
589
596
|
"arcgis-directions": ReactArcgisDirections;
|
|
597
|
+
"arcgis-direct-line-measurement-3d": ReactArcgisDirectLineMeasurement3d;
|
|
590
598
|
"arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
|
|
591
599
|
"arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
|
|
592
600
|
"arcgis-editor": ReactArcgisEditor;
|
|
@@ -657,6 +665,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
657
665
|
"arcgis-daylight": ReactArcgisDaylight;
|
|
658
666
|
"arcgis-directional-pad": ReactArcgisDirectionalPad;
|
|
659
667
|
"arcgis-directions": ReactArcgisDirections;
|
|
668
|
+
"arcgis-direct-line-measurement-3d": ReactArcgisDirectLineMeasurement3d;
|
|
660
669
|
"arcgis-directline-measurement-3d": ReactArcgisDirectlineMeasurement3d;
|
|
661
670
|
"arcgis-distance-measurement-2d": ReactArcgisDistanceMeasurement2d;
|
|
662
671
|
"arcgis-editor": ReactArcgisEditor;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -13,7 +13,8 @@ import type { ArcgisCoordinateConversion } from "../components/arcgis-coordinate
|
|
|
13
13
|
import type { ArcgisDaylight } from "../components/arcgis-daylight";
|
|
14
14
|
import type { ArcgisDirectionalPad } from "../components/arcgis-directional-pad";
|
|
15
15
|
import type { ArcgisDirections } from "../components/arcgis-directions";
|
|
16
|
-
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-
|
|
16
|
+
import type { ArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
|
+
import type { DeprecatedArcgisDirectLineMeasurement3d } from "../components/arcgis-direct-line-measurement-3d";
|
|
17
18
|
import type { ArcgisDistanceMeasurement2d } from "../components/arcgis-distance-measurement-2d";
|
|
18
19
|
import type { ArcgisEditor } from "../components/arcgis-editor";
|
|
19
20
|
import type { ArcgisElevationProfile } from "../components/arcgis-elevation-profile";
|
|
@@ -71,7 +72,7 @@ interface StencilArcgisAreaMeasurement2d extends Partial<Pick<ArcgisAreaMeasurem
|
|
|
71
72
|
onArcgisReady?: EventHandler<HTMLArcgisAreaMeasurement2dElement["arcgisReady"]>;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
interface StencilArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisAreaMeasurement3dElement> {
|
|
75
|
+
interface StencilArcgisAreaMeasurement3d extends Partial<Pick<ArcgisAreaMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisAreaMeasurement3dElement> {
|
|
75
76
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisPropertyChange"]>;
|
|
76
77
|
onArcgisReady?: EventHandler<HTMLArcgisAreaMeasurement3dElement["arcgisReady"]>;
|
|
77
78
|
}
|
|
@@ -143,7 +144,12 @@ interface StencilArcgisDirections extends Partial<Pick<ArcgisDirections, 'apiKey
|
|
|
143
144
|
onArcgisReady?: EventHandler<HTMLArcgisDirectionsElement["arcgisReady"]>;
|
|
144
145
|
}
|
|
145
146
|
|
|
146
|
-
interface
|
|
147
|
+
interface StencilArcgisDirectLineMeasurement3d extends Partial<Pick<ArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisDirectLineMeasurement3dElement> {
|
|
148
|
+
onArcgisPropertyChange?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
149
|
+
onArcgisReady?: EventHandler<HTMLArcgisDirectLineMeasurement3dElement["arcgisReady"]>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface StencilArcgisDirectlineMeasurement3d extends Partial<Pick<DeprecatedArcgisDirectLineMeasurement3d, 'autoDestroyDisabled' | 'icon' | 'label' | 'position' | 'referenceElement' | 'state' | 'unit' | 'unitOptions'>>, StencilJsx.HTMLAttributes<HTMLArcgisDirectlineMeasurement3dElement> {
|
|
147
153
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisPropertyChange"]>;
|
|
148
154
|
onArcgisReady?: EventHandler<HTMLArcgisDirectlineMeasurement3dElement["arcgisReady"]>;
|
|
149
155
|
}
|
|
@@ -269,7 +275,7 @@ interface StencilArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDest
|
|
|
269
275
|
}
|
|
270
276
|
type ArcgisLinkChartSetterTypes = ArcgisLinkChart["_setterTypes"]
|
|
271
277
|
|
|
272
|
-
interface StencilArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'autoDestroyDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
278
|
+
interface StencilArcgisLinkChartLayoutSwitcher extends Partial<Pick<ArcgisLinkChartLayoutSwitcher, 'appearance' | 'autoDestroyDisabled' | 'closeOnSelectDisabled' | 'icon' | 'label' | 'messageOverrides' | 'position' | 'preventExtentUpdate' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisLinkChartLayoutSwitcherElement> {
|
|
273
279
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisPropertyChange"]>;
|
|
274
280
|
onArcgisReady?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisReady"]>;
|
|
275
281
|
onArcgisSwitchLayout?: EventHandler<HTMLArcgisLinkChartLayoutSwitcherElement["arcgisSwitchLayout"]>;
|
|
@@ -515,6 +521,7 @@ interface ExposedElements {
|
|
|
515
521
|
"arcgis-daylight": StencilArcgisDaylight;
|
|
516
522
|
"arcgis-directional-pad": StencilArcgisDirectionalPad;
|
|
517
523
|
"arcgis-directions": StencilArcgisDirections;
|
|
524
|
+
"arcgis-direct-line-measurement-3d": StencilArcgisDirectLineMeasurement3d;
|
|
518
525
|
"arcgis-directline-measurement-3d": StencilArcgisDirectlineMeasurement3d;
|
|
519
526
|
"arcgis-distance-measurement-2d": StencilArcgisDistanceMeasurement2d;
|
|
520
527
|
"arcgis-editor": StencilArcgisEditor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.138",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,9 +42,8 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis/components-
|
|
46
|
-
"@arcgis/
|
|
47
|
-
"@arcgis/lumina": "4.33.0-next.136",
|
|
45
|
+
"@arcgis/components-utils": "4.33.0-next.138",
|
|
46
|
+
"@arcgis/lumina": "4.33.0-next.138",
|
|
48
47
|
"tslib": "^2.8.1"
|
|
49
48
|
},
|
|
50
49
|
"peerDependencies": {
|
package/dist/cdn/2U3NM53O.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.136 */
|
|
4
|
-
import d from"./CHXEQ2UW.js";import c from"./5OJGMLTM.js";import b from"./2BWNKFZW.js";import{e as n}from"./VKJE37GQ.js";import"./WIWG2LGN.js";import"./RP2AVIBP.js";import{A as s,D as o,O as a,T as h,i as e}from"./4OH6ZQSR.js";export default $arcgis.t(([l,,{f:r},d])=>{var m=e`@layer{arcgis-time-slider{display:block}}`,c=d(l),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=m}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}};h("arcgis-time-slider",i);return i},"widgets/TimeSlider",b,c,d)
|