@arcgis/map-components 4.34.0-next.1 → 4.34.0-next.11
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/{R33QVEOL.js → 22UYFIUF.js} +2 -2
- package/dist/cdn/{FSXC25CK.js → 26IWFGIY.js} +2 -2
- package/dist/cdn/{5ZQJE4G7.js → 27NNFMDQ.js} +2 -2
- package/dist/cdn/{XQ5SHXYU.js → 2TH2TGFF.js} +2 -2
- package/dist/cdn/{NR7MHE2C.js → 36V76L4O.js} +2 -2
- package/dist/cdn/37KIEGUM.js +4 -0
- package/dist/cdn/{PI7E2FA7.js → 3FTLUNH6.js} +2 -2
- package/dist/cdn/{LEDULRXD.js → 43LE646O.js} +2 -2
- package/dist/cdn/{WT34MLXU.js → 47OHBP6L.js} +2 -2
- package/dist/cdn/{A3ZUH4XX.js → 4O5TQLV5.js} +2 -2
- package/dist/cdn/4ZOM52TO.js +4 -0
- package/dist/cdn/{53RL6DKS.js → 55YAOCFG.js} +2 -2
- package/dist/cdn/{XUQAYEQ6.js → 5FUCHXBQ.js} +2 -2
- package/dist/cdn/{LNTAENM3.js → 5N76VRE3.js} +2 -2
- package/dist/cdn/{Q4KIAHIP.js → 6BGLAKME.js} +1 -1
- package/dist/cdn/{NUK4LTX5.js → 6CWGK7GK.js} +2 -2
- package/dist/cdn/{WMS5BZ4X.js → 76C5MXVX.js} +2 -2
- package/dist/cdn/{4IVF56FV.js → 77ZOCFGU.js} +2 -2
- package/dist/cdn/{4SMGMTCR.js → 7FEV6CLA.js} +2 -2
- package/dist/cdn/{SUN26GSO.js → A2O4GORB.js} +1 -1
- package/dist/cdn/{BKZWDNEP.js → ADLXQOTP.js} +2 -2
- package/dist/cdn/{E3QCBVRR.js → AMO55OJ4.js} +2 -2
- package/dist/cdn/{ZFGL2KSG.js → ASTB2QVH.js} +1 -1
- package/dist/cdn/{JZCE5XQQ.js → AYIGS3LJ.js} +2 -2
- package/dist/cdn/{T3RJNBCT.js → B2QGWC23.js} +2 -2
- package/dist/cdn/{AO5ZDDOM.js → B3PIXSHU.js} +2 -2
- package/dist/cdn/{F73UZHT5.js → BA25TG5C.js} +2 -2
- package/dist/cdn/{PTWQKH7N.js → BEHMO7NX.js} +2 -2
- package/dist/cdn/{JLQNAXVY.js → BV4KJ55H.js} +2 -2
- package/dist/cdn/{BUAKJ3P3.js → CIWGEKIT.js} +2 -2
- package/dist/cdn/{LPMVG6DA.js → CPEJ4JYK.js} +2 -2
- package/dist/cdn/{QEUOOHFZ.js → CZMOWNQT.js} +2 -2
- package/dist/cdn/{MIZQTTX6.js → DJ67MYWB.js} +2 -2
- package/dist/cdn/{EZOOR7JX.js → DUL424RL.js} +2 -2
- package/dist/cdn/{AKHLLC2Q.js → E5PJXNAD.js} +2 -2
- package/dist/cdn/{ALWX2ALV.js → EN57TVLK.js} +2 -2
- package/dist/cdn/{K7F5M66S.js → EVJHZBHC.js} +2 -2
- package/dist/cdn/{B4VN3JAQ.js → F5HXVQAO.js} +1 -1
- package/dist/cdn/{LLROZ25L.js → FB5GIA3P.js} +2 -2
- package/dist/cdn/{BY42MDY7.js → FIPWG54A.js} +2 -2
- package/dist/cdn/{UA2H4VN5.js → FLXL3G3T.js} +2 -2
- package/dist/cdn/{2S6TIIDB.js → FPNKVZZW.js} +2 -2
- package/dist/cdn/{SNR7KGH5.js → FZCPC7HT.js} +2 -2
- package/dist/cdn/{WXPRTXLW.js → GIVKIK2R.js} +1 -1
- package/dist/cdn/{ER72C6UP.js → GULDE2SJ.js} +2 -2
- package/dist/cdn/{Q4IIAOMJ.js → H2AVTS5Z.js} +2 -2
- package/dist/cdn/{IW6ZQMHZ.js → H7FQIHUP.js} +2 -2
- package/dist/cdn/HCFNUQYM.js +4 -0
- package/dist/cdn/{LR76QGNT.js → HRQRPXI4.js} +2 -2
- package/dist/cdn/{TK5LJKKZ.js → HSYWXNGY.js} +2 -2
- package/dist/cdn/{HCWL6CLW.js → HU4BCPVL.js} +2 -2
- package/dist/cdn/{IISBCUIL.js → IA5T6GVL.js} +1 -1
- package/dist/cdn/{VKE27GIN.js → INRCUKBG.js} +2 -2
- package/dist/cdn/{FMGROXJF.js → IOROYQEE.js} +2 -2
- package/dist/cdn/{WCE2K76D.js → ITZ3AIFK.js} +2 -2
- package/dist/cdn/{47SBNRJH.js → IXLAJIBT.js} +2 -2
- package/dist/cdn/{MWRZPTNS.js → JDAADWMS.js} +2 -2
- package/dist/cdn/{OJLHFLOO.js → JEHZFFFN.js} +2 -2
- package/dist/cdn/JQ7Z55RM.js +4 -0
- package/dist/cdn/{ZS6Q64CO.js → KBKOJD3M.js} +2 -2
- package/dist/cdn/KG2T4JIZ.js +4 -0
- package/dist/cdn/{H53YT2KB.js → KGHZNOAR.js} +2 -2
- package/dist/cdn/{L3VADUDD.js → KOFOS2K4.js} +2 -2
- package/dist/cdn/{EOI2WJEO.js → LADNYOYI.js} +2 -2
- package/dist/cdn/{BQUOVH4M.js → LNHB4KVO.js} +2 -2
- package/dist/cdn/{IHZH53G7.js → MB4OLCQP.js} +2 -2
- package/dist/cdn/{ZQYIIBP4.js → MDTL3SC3.js} +2 -2
- package/dist/cdn/{5QLIBAHX.js → MFGUYCWQ.js} +2 -2
- package/dist/cdn/{QL5NO5VC.js → MGKTKWIO.js} +2 -2
- package/dist/cdn/{YMMFWORE.js → MQRGQ4QM.js} +2 -2
- package/dist/cdn/{NW72HR5Z.js → NBO77VRE.js} +2 -2
- package/dist/cdn/{HUQHZUJP.js → NX2B5N76.js} +2 -2
- package/dist/cdn/{LOAE4AXM.js → O4YHKS25.js} +2 -2
- package/dist/cdn/{CJIDMDZA.js → OKSNE5LR.js} +2 -2
- package/dist/cdn/{YKA3LQRU.js → OMMQU2HM.js} +2 -2
- package/dist/cdn/{OIWINM74.js → OSLYCWET.js} +2 -2
- package/dist/cdn/{HNRED4RD.js → OZS47465.js} +2 -2
- package/dist/cdn/{ZS2434QV.js → PAQPHI6A.js} +2 -2
- package/dist/cdn/{2YDC2H7K.js → Q2YO7SA7.js} +2 -2
- package/dist/cdn/{6BNKLHHO.js → Q73OYWEO.js} +2 -2
- package/dist/cdn/QKQSVNWB.js +4 -0
- package/dist/cdn/{5UBOP6TA.js → QML3CAKY.js} +1 -1
- package/dist/cdn/{ZX3AAZ5M.js → QPLHCOSX.js} +2 -2
- package/dist/cdn/{6V5QZCOZ.js → QUJ2TADI.js} +2 -2
- package/dist/cdn/{CM5BYNTJ.js → QULJXSPW.js} +2 -2
- package/dist/cdn/{VDHVIFNX.js → R27VM7QW.js} +2 -2
- package/dist/cdn/{O3GJVY5K.js → R37RLANU.js} +2 -2
- package/dist/cdn/{F25ZYGOB.js → R4VTOWCT.js} +2 -2
- package/dist/cdn/{G2YUVF2G.js → SSMOYX4N.js} +2 -2
- package/dist/cdn/{GKTOQY3S.js → SSNAE5AG.js} +2 -2
- package/dist/cdn/{RVFPHHL2.js → SX6GY6NP.js} +2 -2
- package/dist/cdn/{KVMUNOT7.js → TM6WVSCR.js} +2 -2
- package/dist/cdn/{4LBD2ITU.js → U3QF7SFT.js} +2 -2
- package/dist/cdn/{P45RF77O.js → UDJ3KMV2.js} +2 -2
- package/dist/cdn/{QBP4ZPEY.js → UEZ6RXYK.js} +2 -2
- package/dist/cdn/{GWKKNXJA.js → UJDRIHHE.js} +2 -2
- package/dist/cdn/{NWMCC632.js → UNLNHQ7G.js} +2 -2
- package/dist/cdn/{EFAEF7BP.js → V6YI3FM7.js} +2 -2
- package/dist/cdn/{WDIX45UN.js → WBNDH3VC.js} +2 -2
- package/dist/cdn/{GD2FOHZY.js → WLJL2YW6.js} +2 -2
- package/dist/cdn/{TWAC5OEP.js → WPMH5KSD.js} +2 -2
- package/dist/cdn/{BU6J42GD.js → WYMOQDWL.js} +2 -2
- package/dist/cdn/{JWWF5QWJ.js → XBRVCQYL.js} +2 -2
- package/dist/cdn/{22XQ7GV5.js → XGXUHDK7.js} +1 -1
- package/dist/cdn/{ZZAJ47QE.js → XHZZR2AJ.js} +2 -2
- package/dist/cdn/XMXD3AH6.js +4 -0
- package/dist/cdn/{DLCZJ6YJ.js → XO4MC5HD.js} +2 -2
- package/dist/cdn/{2PMZSACT.js → XQTYN36K.js} +2 -2
- package/dist/cdn/{EVMSZC42.js → XV7YJNDU.js} +2 -2
- package/dist/cdn/{UKDFYSBU.js → Y3UHULUW.js} +2 -2
- package/dist/cdn/YBXSSS2I.js +4 -0
- package/dist/cdn/{ZV5RZBYN.js → YCSFWBHK.js} +2 -2
- package/dist/cdn/{FXWPUPQW.js → YYRHTFTP.js} +2 -2
- package/dist/cdn/{ZSLEMX43.js → ZAAWM2I2.js} +2 -2
- package/dist/cdn/ZFRKLFRQ.js +4 -0
- package/dist/cdn/{OT64W62R.js → ZLMOQWIJ.js} +2 -2
- package/dist/cdn/{GFZEUBYN.js → ZMUVUFYT.js} +2 -2
- package/dist/cdn/{WHEV5PJT.js → ZQGF5IO5.js} +2 -2
- package/dist/cdn/{QGDMS6EA.js → ZTJHP2SJ.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +123 -128
- package/dist/chunks/async-utils.js +1 -1
- 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 +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- 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 +2 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-attachments/customElement.js +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/customElement.js +1 -1
- 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.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 +2 -8
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- package/dist/components/arcgis-directional-pad/customElement.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.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +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.js +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 +11 -9
- 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 +2 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +15 -15
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +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.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +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.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.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +41 -28
- package/dist/components/arcgis-search/customElement.d.ts +21 -0
- package/dist/components/arcgis-search/customElement.js +12 -12
- 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/SliceViewModel.d.ts +3 -9
- package/dist/components/arcgis-slice/customElement.js +6 -3
- package/dist/components/arcgis-slider/customElement.js +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 +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- 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.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.d.ts +18 -7
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +9 -0
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- 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 +12 -12
- 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.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +222 -48
- package/dist/docs/docs.json +162 -40
- package/dist/docs/vscode.html-custom-data.json +28 -10
- package/dist/docs/web-types.json +23 -15
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -4
- package/dist/support/AnalysisViewModel.d.ts +10 -13
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +3 -3
- package/dist/cdn/4Q6PGIFK.js +0 -4
- package/dist/cdn/DM77T47F.js +0 -4
- package/dist/cdn/G4YI64GR.js +0 -4
- package/dist/cdn/GIRB3I36.js +0 -4
- package/dist/cdn/P5UEKYVM.js +0 -4
- package/dist/cdn/RALVTFOZ.js +0 -4
- package/dist/cdn/RCP73QYR.js +0 -4
- package/dist/cdn/TPS72UKW.js +0 -4
- package/dist/cdn/VGUF7FV6.js +0 -4
package/dist/types/lumina.d.ts
CHANGED
|
@@ -485,11 +485,11 @@ interface LuminaArcgisVersionManagement extends Partial<Pick<ArcgisVersionManage
|
|
|
485
485
|
onarcgisVersioningStateChanged?: EventHandler<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
486
486
|
}
|
|
487
487
|
|
|
488
|
-
interface LuminaArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'
|
|
488
|
+
interface LuminaArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'>>, h.JSX.HTMLAttributes<HTMLArcgisVideoElement> {
|
|
489
489
|
onarcgisViewReadyChange?: EventHandler<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
interface LuminaArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisVideoPlayerElement> {
|
|
492
|
+
interface LuminaArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'followingMode' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisVideoPlayerElement> {
|
|
493
493
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
494
494
|
onarcgisReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
495
495
|
onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -486,11 +486,11 @@ interface PreactArcgisVersionManagement extends Partial<Pick<ArcgisVersionManage
|
|
|
486
486
|
onarcgisVersioningStateChanged?: EventHandler<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
interface PreactArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'
|
|
489
|
+
interface PreactArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'>>, PreactJsx.HTMLAttributes<HTMLArcgisVideoElement> {
|
|
490
490
|
onarcgisViewReadyChange?: EventHandler<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
interface PreactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisVideoPlayerElement> {
|
|
493
|
+
interface PreactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'followingMode' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisVideoPlayerElement> {
|
|
494
494
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
495
495
|
onarcgisReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
496
496
|
onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -486,11 +486,11 @@ interface ReactArcgisVersionManagement extends Partial<Pick<ArcgisVersionManagem
|
|
|
486
486
|
onarcgisVersioningStateChanged?: EventHandler<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
interface ReactArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'
|
|
489
|
+
interface ReactArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'>>, HTMLProps<HTMLArcgisVideoElement> {
|
|
490
490
|
onarcgisViewReadyChange?: EventHandler<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
interface ReactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, HTMLProps<HTMLArcgisVideoPlayerElement> {
|
|
493
|
+
interface ReactArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'followingMode' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, HTMLProps<HTMLArcgisVideoPlayerElement> {
|
|
494
494
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
495
495
|
onarcgisReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
496
496
|
onarcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -486,11 +486,11 @@ interface StencilArcgisVersionManagement extends Partial<Pick<ArcgisVersionManag
|
|
|
486
486
|
onArcgisVersioningStateChanged?: EventHandler<HTMLArcgisVersionManagementElement["arcgisVersioningStateChanged"]>;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
interface StencilArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'
|
|
489
|
+
interface StencilArcgisVideo extends Partial<Pick<ArcgisVideo, 'autoDestroyDisabled' | 'layer'>>, StencilJsx.HTMLAttributes<HTMLArcgisVideoElement> {
|
|
490
490
|
onArcgisViewReadyChange?: EventHandler<HTMLArcgisVideoElement["arcgisViewReadyChange"]>;
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
interface StencilArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisVideoPlayerElement> {
|
|
493
|
+
interface StencilArcgisVideoPlayer extends Partial<Pick<ArcgisVideoPlayer, 'autoDestroyDisabled' | 'followingMode' | 'hideHeader' | 'icon' | 'label' | 'layer' | 'messageOverrides' | 'position' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisVideoPlayerElement> {
|
|
494
494
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisPropertyChange"]>;
|
|
495
495
|
onArcgisReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisReady"]>;
|
|
496
496
|
onArcgisVideoReady?: EventHandler<HTMLArcgisVideoPlayerElement["arcgisVideoReady"]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.34.0-next.
|
|
3
|
+
"version": "4.34.0-next.11",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
46
|
-
"@arcgis/lumina": "4.34.0-next.
|
|
45
|
+
"@arcgis/components-utils": "4.34.0-next.11",
|
|
46
|
+
"@arcgis/lumina": "4.34.0-next.11",
|
|
47
47
|
"tslib": "^2.8.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
package/dist/cdn/4Q6PGIFK.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import e from"./DM77T47F.js";import d from"./4LBD2ITU.js";import"./22XQ7GV5.js";import c from"./2S6TIIDB.js";import{a as $}from"./HCWL6CLW.js";import{a as p}from"./SUN26GSO.js";import b from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as w}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as m,D as f,O as v,P as t,T as _,i as y,j as l}from"./IISBCUIL.js";export default $arcgis.t(([A,{property:O,subclass:C},,,b,,x])=>{var k=y`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,r="arcgis-line-of-sight",n={base:r,actions:`${r}__actions`,container:`${r}__container`,error:`${r}__error`,hint:`${r}__hint`,hintText:`${r}__hint-text`,newAnalysisButton:`${r}__new-analysis-button`},D=Object.defineProperty,S=Object.getOwnPropertyDescriptor,M=(e,s,a,o)=>{for(var i=o>1?void 0:o?S(s,a):s,d=e.length-1,h;d>=0;d--)(h=e[d])&&(i=(o?h(s,a,i):h(i))||i);return o&&i&&D(s,a,i),i},c=class extends x{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Line Of Sight component is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new A}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(e){return await this.analysisView?.place(e)}};M([O({readOnly:!0})],c.prototype,"state",1);c=M([C("esri.components.LineOfSight.LineOfSightViewModel")],c);var L=b(c),u=class extends v{constructor(){super(...arguments),this.viewModel=L(this),this._messages=$({blocking:!0}),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=w()("analysis","state"),this.arcgisReady=m()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,state:32,_supported:16}}static{this.shadowRootOptions=f}static{this.styles=k}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get _supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}render(){return l`<div class=${t({[n.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this._supported)return l`<div class=${t(n.error)}><p>${this._messages.unsupported}</p></div>`;let s=this.viewModel.state,a=s==="creating";return l`<div class=${t(n.container)}>${a?l`<div class=${t(n.hint)}><p class=${t(n.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${t(n.actions)}>${s==="creating"?g({onClick:()=>{this.stop()},children:this._messages.done}):null}${s==="created"?g({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${g({className:n.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:s==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function g({className:e,onClick:s,primary:a,disabled:o,children:i}){return l`<calcite-button .appearance=${a?"solid":"outline-fill"} class=${t(e)} .disabled=${o} @click=${s}>${i}</calcite-button>`}_("arcgis-line-of-sight",u);return u},"analysis/LineOfSightAnalysis","core/accessorSupport/decorators",a,b,c,d,e)
|
package/dist/cdn/DM77T47F.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import a from"./4LBD2ITU.js";import{a as l,b as p}from"./22XQ7GV5.js";export default $arcgis.t(([{forceInteractive:V},g,{property:a,subclass:m},{ignoreAbortErrors:O},{watch:w,whenOnce:f},{a:_,b:d,c:u,d:y}])=>{var A=Object.defineProperty,b=Object.getOwnPropertyDescriptor,n=(t,s,e,o)=>{for(var r=o>1?void 0:o?b(s,e):s,h=t.length-1,c;h>=0;h--)(c=t[h])&&(r=(o?c(s,e,r):c(r))||r);return o&&r&&A(s,e,r),r},i=class extends g{constructor(t={}){super(t),this._operationState="inactive",this._loggedUnsupportedErrorMessage=!1,this._parentChangeFromReconnect=!1,this._startUserOperation=null;let s=t?.analysis;s!=null?this.analysis=s:(this._set("analysis",this.constructAnalysis()),this._set("isAnalysisOwner",!0)),t?.visible!=null&&(this.visible=t.visible)}normalizeCtorArgs(t){let{analysis:s,...e}=t;return e}initialize(){this.addHandles([w(()=>({readyAndNotSupported:this.view!=null&&this.view.ready&&!this.supported}),({readyAndNotSupported:t})=>{t&&!this._loggedUnsupportedErrorMessage&&console.error(this.unsupportedErrorMessage)},{sync:!0,initial:!0}),w(()=>this.analysis?.parent,t=>{!this._parentChangeFromReconnect&&t!==this.view&&this._set("isAnalysisOwner",!1);let s=!this._parentChangeFromReconnect;this._parentChangeFromReconnect=!1,s&&this._scheduleViewReconnect()},{sync:!0}),w(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:t},s)=>{let e=s?.view;t!==e&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(e)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=l(this._reconnectViewTask),this._startUserOperation=l(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this.isAnalysisOwner&&this.analysis?.destroy()}get supported(){return this.view==null||this.view.type===this.supportedViewType}set visible(t){this._set("visible",t),this._analysisView!=null&&(this._analysisView.visible=t)}get active(){return this._startUserOperation?.state===2}get disabled(){return this.view==null||!this.view.ready||!this.supported}set analysis(t){t!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(t),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get isAnalysisOwner(){return this._get("isAnalysisOwner")}get operationState(){return this._operationState}clear(){this.clearAnalysis(),this._startUserOperation=l(this._startUserOperation)}async start(t){if(!this.visible){console.warn("Cannot start analysis when not visible");return}let s={task:null,abort:null,state:0},e=y(async o=>{if(s.state=1,await f(()=>this.ready,o),s.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let r=t?.({signal:o})??this.place({signal:o});await O(r)});return e.promise.finally(()=>{(this._startUserOperation===s||this._startUserOperation==null)&&(this._operationState="inactive")}),s.task=e,s.abort=()=>e.abort(),this._startUserOperation=s,await e.promise}async startNewAnalysis(){this.clear(),await this.start()}async continue(){await this.start()}stop(){this._startUserOperation=l(this._startUserOperation)}onConnectToAnalysisView(t){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let t=y(async s=>{try{await this._reconnectView(s)}catch(e){if(_(s),!u(e)){console.warn("Failed to use analysis in view model",e);return}throw e}finally{t===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=t}async _reconnectView(t){let{view:s}=this,e=s!=null&&s.ready&&this.supported,o=this.analysis;if(this._startUserOperation=v(this._startUserOperation),this._disconnectFromView(s),!e||s==null||o==null)return;if(this.isAnalysisOwner){if(o.parent!=null){console.error("expected owned analysis to have null parent when connecting to view");return}this._parentChangeFromReconnect=!0,s.analyses.add(o)}let r=await s.whenAnalysisView(o);if(this._analysisView=r,d(t)){this._startUserOperation=v(this._startUserOperation);return}r.visible=this.visible,this._forceInteractiveHandle=V(r),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(r)}_disconnectFromView(t){t!=null&&this.isAnalysisOwner&&t.analyses.includes(this.analysis)&&(this._parentChangeFromReconnect=!0,this.analysis.clear(),t.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=p(this._forceInteractiveHandle),this._analysisView=void 0}_setExternalAnalysis(t){this._analysisView!=null&&!this.isAnalysisOwner&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=p(this._forceInteractiveHandle)),this._analysisView=void 0,this._set("isAnalysisOwner",!1),this._set("analysis",t),this._parentChangeFromReconnect=!1}};n([a()],i.prototype,"supported",1);n([a()],i.prototype,"view",2);n([a({type:Boolean,value:!0})],i.prototype,"visible",1);n([a()],i.prototype,"active",1);n([a()],i.prototype,"disabled",1);n([a()],i.prototype,"analysis",1);n([a()],i.prototype,"_analysisView",2);n([a()],i.prototype,"analysisView",1);n([a()],i.prototype,"ready",1);n([a()],i.prototype,"connectingToView",1);n([a({readOnly:!0})],i.prototype,"isAnalysisOwner",1);n([a()],i.prototype,"_reconnectViewTask",2);n([a()],i.prototype,"_forceInteractiveHandle",2);n([a()],i.prototype,"_operationState",2);n([a()],i.prototype,"operationState",1);i=n([m("esri.components.support.AnalysisViewModel")],i);function v(t){return t!=null&&t.state>=2?(t.abort(),null):t}return i},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)
|
package/dist/cdn/G4YI64GR.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import b from"./K7F5M66S.js";import"./5ZQJE4G7.js";import{d as r,e as v,f as l,g}from"./Q4KIAHIP.js";import{A as a,D as w,O as c,T as m,i as o}from"./IISBCUIL.js";export default $arcgis.t(([{watch:h},u,y,V,{a:t,b:s,f:p}])=>{var f=o`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,b=s(y,{}),E=s(u,{}),n=class extends c{constructor(){super(),this._map=b(this),this.view=E(this),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=a(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a(),this.view.ui={components:["attribution"]}}static{this.properties={_map:16,view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:4,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:4,viewingMode:1,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=f}get camera(){return this.view.camera}set camera(i){r(this.camera,i)||(this.view.camera=i)}get cameraFov(){return this.view.camera?.fov}set cameraFov(i){i!=null&&this._mutateCamera(e=>{e.fov=i})}get cameraHeading(){return this.view.camera?.heading}set cameraHeading(i){i!=null&&this._mutateCamera(e=>{e.heading=i})}get cameraPosition(){return this.view.camera?.position}set cameraPosition(i){let e=g(this.view.camera?.position,i);e&&this._mutateCamera(d=>{d.position=e})}get cameraTilt(){return this.view.camera?.tilt}set cameraTilt(i){i!=null&&this._mutateCamera(e=>{e.tilt=i})}get center(){return this.view.center}set center(i){let e=l(i,this.view);e&&(this.view.center=e)}get extent(){return this.view.extent}set extent(i){i&&!this.extent.equals(i)&&(this.view.extent=i)}get gamepad(){return this.view.input.gamepad}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(i){p(this._map,this),this._map.portalItem={id:i},this.view.map=this._map}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale}set scale(i){this.view.scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(i){v(this.viewpoint,i)&&(this.view.viewpoint=i)}get zoom(){return this.view.zoom}set zoom(i){this.view.zoom=i}async addLayer(i,e){this.map.add(i,e)}async addLayers(i,e){this.map.addMany(i,e)}async addTable(i){this.map.tables.add(i)}async addTables(i,e){this.map.tables.addMany(i,e)}async closePopup(){this.view.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view.goTo(i,e)}async hitTest(i,e){return await this.view.hitTest(i,e)}async openPopup(i){await this.view.openPopup(i)}async takeScreenshot(i){return await this.view.takeScreenshot(i)}toMap(i,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}async whenAnalysisView(i){return await this.view.whenAnalysisView(i)}async whenLayerView(i){return await this.view.whenLayerView(i)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container=i.el.childElem}loaded(){this.map||=this._map,this.manager.onLifecycle(()=>[h(()=>this.map,()=>this._map=this.map,{initial:!0,sync:!0}),h(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),h(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_mutateCamera(i){this.view.camera??=new V;let e=this.view.camera;i(e),r(this.view.camera,e)||(this.view.camera=e)}};m("arcgis-scene",n);return n},"core/reactiveUtils","views/SceneView","WebScene","Camera",b)
|
package/dist/cdn/GIRB3I36.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import h from"./DM77T47F.js";import e from"./4LBD2ITU.js";import"./22XQ7GV5.js";import{a as C}from"./Q4IIAOMJ.js";import"./BKZWDNEP.js";import d from"./2S6TIIDB.js";import{a as S}from"./HCWL6CLW.js";import{a as g}from"./SUN26GSO.js";import c from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as M}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as f,D as $,O as L,P as s,R as b,T as w,i as v,j as l}from"./IISBCUIL.js";export default $arcgis.t(([V,{property:d,subclass:B},{ignoreAbortErrors:D},{watch:H},,,k,,E])=>{var O=v`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,I=Object.defineProperty,P=Object.getOwnPropertyDescriptor,o=(e,i,t,u)=>{for(var c=u>1?void 0:u?P(i,t):i,y=e.length-1,h;y>=0;y--)(h=e[y])&&(c=(u?h(i,t,c):h(c))||c);return u&&c&&I(i,t,c),c},x=new Set,n=class extends E{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views.",x.add(this)}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start(t=>e.pickLayerToExclude(t));this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"slicing":this.layersMode==="exclude"?"excludingLayer":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get layersMode(){return this._excludingLayers?"exclude":"none"}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),this.clear(),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new V}};o([d()],n.prototype,"_excludingLayers",2);o([d({readOnly:!0})],n.prototype,"state",1);o([d()],n.prototype,"shape",1);o([d()],n.prototype,"tiltEnabled",1);o([d()],n.prototype,"layersMode",1);o([d()],n.prototype,"excludedLayers",1);o([d()],n.prototype,"excludeGroundSurface",1);n=o([B("esri.components.Slice.SliceViewModel")],n);var r="arcgis-slice",a={base:r,actions:`${r}__actions`,cancelButton:`${r}__cancel-button`,container:`${r}__container`,error:`${r}__error`,excludeButton:`${r}__exclude-button`,hint:`${r}__hint`,hintText:`${r}__hint-text`,layerItem:`${r}__layer-item`,layerList:`${r}__layer-list`,layerListHeading:`${r}__layer-list-title`,newSliceButton:`${r}__clear-button`},j=k(n),m=class extends L{constructor(){super(...arguments),this.viewModel=j(this),this._messages=S(),this._onNewSliceClick=()=>{D(this.viewModel.start())},this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=f()}static{this.properties={_hasVoxelLayers:16,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=$}static{this.styles=O}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}load(){this.manager.onLifecycle(()=>[H(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return l`<div class=${s({[a.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:u,supported:c}=this.viewModel,y=t==="slicing"||t==="excludingLayer";if(!u||!c)return null;c||l`<div class=${s(a.container)}><div class=${s(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:h}=this.viewModel,_=this.excludeGroundSurface,T=h.length>0||_,p=t==="disabled";return l`<div class=${s(a.container)}><div class=${s(a.hint)}>${t==="excludingLayer"?l`<p class=${s(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?l`<p class=${s(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${s(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!y&&T?l`<div class=${s(a.layerList)}>${C({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${N({layers:h.toArray(),excludeGroundSurface:_,onLayerClick:A=>{this.excludedLayers.remove(A)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${s(a.actions)}>${y?null:l`<calcite-button class=${s(a.newSliceButton)} .disabled=${p} @click=${this._onNewSliceClick}>${i.newSlice}</calcite-button>`}${t==="sliced"?l`<calcite-button appearance=outline-fill class=${s(a.excludeButton)} .disabled=${p} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?l`<calcite-button appearance=outline-fill class=${s(a.cancelButton)} .disabled=${p} @click=${()=>{this.viewModel.layersMode==="exclude"&&this.viewModel.stop()}}>${i.cancel}</calcite-button>`:null}</div></div>`}};function G(e){return l`<calcite-list-item class=${s(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function N(e){let i=e.layers.map(t=>G({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(G({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),l`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}w("arcgis-slice",m);return m},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,h)
|
package/dist/cdn/P5UEKYVM.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import{D as o,O as s,T as n,j as t}from"./IISBCUIL.js";export default $arcgis.t(([{watch:p}])=>{function $(i){return i.followingMode==="none"?"circle-disallowed":i.followingMode==="follow-sensor"?"zoom-to-object":i.followingMode==="follow-frame"?"follow":"video"}var c=class extends s{constructor(){super(...arguments),this._disabled=!1}static{this.properties={_disabled:16,viewModel:0,toggleMetadata:0,messages:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[p(()=>this.viewModel.state,e=>{this._disabled=e==="not-ready"||e==="waiting"},{initial:!0})])}render(){let{viewModel:e,messages:l,_disabled:a}=this,r=t`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .label=${l.sensor} @click=${()=>{e.toggleSensorDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .label=${l.sightLine} @click=${()=>{e.toggleSensorSightLineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .label=${l.sensorTrail} @click=${()=>{e.toggleSensorTrailDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .label=${l.frameCenter} @click=${()=>{e.toggleFrameCenterDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .label=${l.frameOutline} @click=${()=>{e.toggleFrameOutlineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.toggleFrameDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${a} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`,d=t`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single-persist><calcite-list-item .label=${l.none} @click=${()=>{e.followingMode="none"}}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.sensor} @click=${()=>{e.followingMode="follow-sensor"}}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.frame} @click=${()=>{e.followingMode="follow-frame"}}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .label=${l.video} @click=${()=>{e.followingMode="follow-both"}} selected><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${a} .icon=${$(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`,m=t`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`,g=t`<calcite-action alignment=center .disabled=${a} icon=feature-details @click=${()=>this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;return t`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[r,d,m,g]}</calcite-action-bar>`}};n("arcgis-video-player-controls-group",c);return c},"core/reactiveUtils")
|
package/dist/cdn/RALVTFOZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import{a as p,b as y}from"./IW6ZQMHZ.js";import f from"./2S6TIIDB.js";import{a as m}from"./HCWL6CLW.js";import{a as _}from"./SUN26GSO.js";import d from"./K7F5M66S.js";import b from"./JWWF5QWJ.js";import{e as u}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as t,D as h,O as c,P as a,T as v,a as l,i as n,j as e}from"./IISBCUIL.js";export default $arcgis.t(([$,{watch:s},,,g])=>{var b=n`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,f="arcgis-video-player",w={base:f,videoView:`${f}__video-view`},M=g($),o=class extends c{constructor(){super(...arguments),this.messages=m({blocking:!0}),this.viewModel=M(this),this._videoViewRef=p(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=u()("state","layer"),this.arcgisReady=t(),this.arcgisVideoReady=t()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,referenceElement:1,position:3,icon:1,state:3,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=b}static{this.shadowRootOptions=h}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[s(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),s(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),s(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0})])}render(){return e`<div class=${a(l(w.base,_.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${a(w.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};v("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",b,d,f)
|
package/dist/cdn/RCP73QYR.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import{b as h,c}from"./ZFGL2KSG.js";import j from"./DM77T47F.js";import i from"./4LBD2ITU.js";import"./22XQ7GV5.js";import e from"./2S6TIIDB.js";import{a as $}from"./HCWL6CLW.js";import{a as p}from"./SUN26GSO.js";import d from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as M}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as w,D as f,O as D,P as b,R as O,T as m,i as g,j as v}from"./IISBCUIL.js";export default $arcgis.t(([z,{isAboveGeodesicDistanceThreshold:A},{getDefaultUnitForView:S},{property:o,subclass:_},{watch:V},,,U,,L])=>{var x=g`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,C=Object.defineProperty,E=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?E(t,s):t,l=e.length-1,d;l>=0;l--)(d=e[l])&&(a=(r?d(t,s,a):d(a))||a);return r&&a&&C(t,s,a),a},i=class extends L{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(V(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,t=e?.mode??"euclidean";if(!this.analysis.valid)return{mode:t,directDistance:c(void 0),horizontalDistance:c(void 0),verticalDistance:c(void 0)};let s=e?.directDistance,r=s!=null&&A(s);return{mode:t??"euclidean",directDistance:c(r?void 0:s),horizontalDistance:c(e?.horizontalDistance),verticalDistance:c(e?.verticalDistance)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>h.includes(t));return e&&e.length>0?e:h.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new z}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([_("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],i);var R="arcgis-direct-line-measurement-3d",T={base:R},k=U(i),u=class extends D{constructor(){super(...arguments),this.viewModel=k(this),this.messages=$({name:"directline-measurement-3d",blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-line",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=w()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:1,unit:1,unitOptions:0}}static{this.shadowRootOptions=f}static{this.styles=x}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){await this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:d}=a;return v`<div aria-label=${t.componentLabel??O} class=${b({[T.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.direct,measurement:l.directDistance},{title:t.horizontal,measurement:l.horizontalDistance},{title:t.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${P=>{this.unit=P.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}},y=class extends u{constructor(){super(),console.warn('arcgis-directline-measurement-3d - this component is deprecated. Use the "arcgis-direct-line-measurement-3d" component instead.')}};m("arcgis-direct-line-measurement-3d",u);m("arcgis-directline-measurement-3d",y);return{ArcgisDirectLineMeasurement3d:u,DeprecatedArcgisDirectLineMeasurement3d:y}},"analysis/DirectLineMeasurementAnalysis","applications/Components/analysisUtils","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
|
package/dist/cdn/TPS72UKW.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import b from"./K7F5M66S.js";import"./5ZQJE4G7.js";import{A as s,D as a,O as r,T as o,i as t}from"./IISBCUIL.js";export default $arcgis.t(([{watch:h},d,c,{b:l}])=>{var n=t`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`,y=l(c,{omitProps:["container","navigation","scale","ui"]}),i=class extends r{constructor(){super(),this.autoDestroyDisabled=!1,this.view=y(this),this.ready=this.view.ready,this.layer=this.view.layer,this.arcgisViewReadyChange=s(),this.view.ui={components:["attribution"]}}static{this.properties={autoDestroyDisabled:5,view:32,ready:4,layer:0,layerUrl:3}}static{this.shadowRootOptions=a}static{this.styles=n}get layerUrl(){return this.layer?.url}set layerUrl(e){this.layer=new d({url:e})}async destroy(){await this.manager.destroy()}load(){let e=this;e.el.childElem=document.createElement("div"),e.el.append(e.el.childElem),this.view.container=e.el.childElem}loaded(){this.manager.onLifecycle(()=>[h(()=>this.layer,()=>{this.layer&&this.view&&(this.view.layer=this.layer,this.layer.loaded||this.layer.load())},{initial:!0}),h(()=>this.view.ready,()=>{this.view.ready&&this.arcgisViewReadyChange.emit()},{initial:this.view.ready})])}};o("arcgis-video",i);return i},"core/reactiveUtils","layers/VideoLayer","views/VideoView",b)
|
package/dist/cdn/VGUF7FV6.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.1 */
|
|
4
|
-
import{a as d,c as m}from"./ZFGL2KSG.js";import j from"./DM77T47F.js";import i from"./4LBD2ITU.js";import"./22XQ7GV5.js";import e from"./2S6TIIDB.js";import{a as $}from"./HCWL6CLW.js";import{a as p}from"./SUN26GSO.js";import c from"./K7F5M66S.js";import a from"./JWWF5QWJ.js";import{e as M}from"./TWAC5OEP.js";import"./5ZQJE4G7.js";import"./Q4KIAHIP.js";import{A as g,D as w,O as f,P as v,R as b,T as O,i as h,j as y}from"./IISBCUIL.js";export default $arcgis.t(([L,{getDefaultUnitForView:S},{property:o,subclass:V},{watch:_},{hasValidAreaResult:C},,,U,,A])=>{var E=h`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,P=Object.defineProperty,R=Object.getOwnPropertyDescriptor,n=(e,t,s,r)=>{for(var a=r>1?void 0:r?R(t,s):t,l=e.length-1,u;l>=0;l--)(u=e[l])&&(a=(r?u(t,s,a):u(a))||a);return r&&a&&P(t,s,a),a},i=class extends A{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Area Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(_(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.geometry==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let{analysisView:e}=this,t=e?.result,s=t?.mode??"euclidean",r=e!=null&&C(e);return{mode:s,area:m(t?.area,r),perimeter:m(t?.perimeter,r)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>d.includes(t));return e&&e.length>0?e:d.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?S(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new L}};n([o({readOnly:!0})],i.prototype,"state",1);n([o({readOnly:!0})],i.prototype,"displayState",1);n([o({readOnly:!0})],i.prototype,"measurement",1);n([o()],i.prototype,"unitOptions",1);n([o()],i.prototype,"_userUnitOptions",2);n([o()],i.prototype,"unit",1);n([o()],i.prototype,"_userUnit",2);n([o({readOnly:!0})],i.prototype,"defaultUnit",1);i=n([V("components.area-measurement-3d.AreaMeasurement3dViewModel")],i);var x="arcgis-area-measurement-3d",k={base:x},T=U(i),c=class extends f{constructor(){super(...arguments),this.viewModel=T(this),this.messages=$({blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-area",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=g()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=w}static{this.styles=E}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:r,viewModel:a}=this,{measurement:l,state:u}=a;return y`<div aria-label=${t.componentLabel??b} class=${v({[k.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.area,measurement:l.area},{title:t.perimeterLength,measurement:l.perimeter}]}><arcgis-unit-select slot=settings .options=${r} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${D=>{this.unit=D.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${u==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};O("arcgis-area-measurement-3d",c);return c},"analysis/AreaMeasurementAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,c,e,i,j)
|