@arcgis/map-components 4.34.0-next.45 → 4.34.0-next.47
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/{XRY45UOL.js → 23DTKLGV.js} +2 -2
- package/dist/cdn/{DTNN2IWZ.js → 2DUZCBPF.js} +2 -2
- package/dist/cdn/{FZGMWFGL.js → 2ED53KZY.js} +2 -2
- package/dist/cdn/{44CQF36M.js → 2RKVHCNO.js} +2 -2
- package/dist/cdn/{E6MZX3W4.js → 2YIPUZ4A.js} +2 -2
- package/dist/cdn/{7LMTNYFS.js → 33LEUURF.js} +2 -2
- package/dist/cdn/3N6KWLXD.js +4 -0
- package/dist/cdn/{PBI3DUEP.js → 3XNW6XFI.js} +2 -2
- package/dist/cdn/{CGEETX3Z.js → 4GTU72JN.js} +2 -2
- package/dist/cdn/{2XO3ATMJ.js → 4PMTOWKP.js} +2 -2
- package/dist/cdn/{AJSQYGQU.js → 4VS6MFZA.js} +1 -1
- package/dist/cdn/{GMZJQNRF.js → 4XP6RXCC.js} +2 -2
- package/dist/cdn/{OKV3HWGP.js → 4ZYPB7TH.js} +2 -2
- package/dist/cdn/{MHHFKG4H.js → 5GWHYJTL.js} +2 -2
- package/dist/cdn/{447OXRIC.js → 5H3UJPGR.js} +2 -2
- package/dist/cdn/{FFI2GIUF.js → 5HXUPRBG.js} +2 -2
- package/dist/cdn/{CJSOZDUS.js → 5SHS5DCT.js} +2 -2
- package/dist/cdn/{7EIRFX6T.js → 5WHHSPWZ.js} +2 -2
- package/dist/cdn/{Y2QUDJ2E.js → 62K34US2.js} +2 -2
- package/dist/cdn/{VCW34XEI.js → 6FWKICPL.js} +2 -2
- package/dist/cdn/6M6YZAXA.js +4 -0
- package/dist/cdn/{X6APG7CM.js → 6N4BMZBB.js} +2 -2
- package/dist/cdn/{2OV6MHV4.js → 6NIO3GRY.js} +2 -2
- package/dist/cdn/{J7QXHWIQ.js → 6QUXGOWH.js} +2 -2
- package/dist/cdn/75M6O6T2.js +6 -0
- package/dist/cdn/{DLRXQ7MD.js → 77Y5D3PT.js} +2 -2
- package/dist/cdn/{YV3MAROH.js → 7B7DF7NE.js} +2 -2
- package/dist/cdn/{UHBETF24.js → 7DRO4V2V.js} +2 -2
- package/dist/cdn/{KRHC4CJM.js → 7GFO4DSE.js} +1 -1
- package/dist/cdn/{NYEXBYWV.js → 7HK3H4S6.js} +2 -2
- package/dist/cdn/{CAA3RQHH.js → 7KEXXWNX.js} +2 -2
- package/dist/cdn/{CV347CAB.js → 7KVNDIJG.js} +2 -2
- package/dist/cdn/{VFMVOW4R.js → 7PYUE46G.js} +2 -2
- package/dist/cdn/{QX4NSXD4.js → 7SP3A32E.js} +2 -2
- package/dist/cdn/{SKJOGHGV.js → 7X3GNYLH.js} +2 -2
- package/dist/cdn/{HVG2MJS3.js → 7XTEK6X6.js} +2 -2
- package/dist/cdn/{6EH4WOYR.js → A7JO2YJX.js} +2 -2
- package/dist/cdn/{MAFOEO5R.js → ACS2QHLV.js} +2 -2
- package/dist/cdn/{PE3HW3QG.js → ARQ2EAAW.js} +2 -2
- package/dist/cdn/{VATKQX32.js → AU2Q73IE.js} +2 -2
- package/dist/cdn/{SNGHTOJM.js → AUBWAUI7.js} +2 -2
- package/dist/cdn/{Z2D2ZLJB.js → BK5J6HIY.js} +1 -1
- package/dist/cdn/{4QYPP76K.js → BQ552A4Y.js} +2 -2
- package/dist/cdn/{SRTXWJEF.js → BQD6XRBZ.js} +2 -2
- package/dist/cdn/{KAIWJSKE.js → C7WECWHS.js} +2 -2
- package/dist/cdn/{H2P74N3O.js → CCTIG3WJ.js} +2 -2
- package/dist/cdn/{63FDT4AV.js → CEGUZAVW.js} +2 -2
- package/dist/cdn/{73SBD3BN.js → CS277SDW.js} +2 -2
- package/dist/cdn/{T5HARAUZ.js → DJOSRQWC.js} +2 -2
- package/dist/cdn/{2YX76B3M.js → DMWL22M7.js} +2 -2
- package/dist/cdn/{EFPNQJ7I.js → DPQJ3RJZ.js} +2 -2
- package/dist/cdn/{IYNLMOFW.js → E4SG7GFA.js} +2 -2
- package/dist/cdn/{Z5KBNBBB.js → EBYAT2FS.js} +2 -2
- package/dist/cdn/{Q3NKUOVY.js → EXZJSLCN.js} +2 -2
- package/dist/cdn/{QQBWIMTB.js → F56ULIWG.js} +1 -1
- package/dist/cdn/{HGL25VBZ.js → F6UR2IFK.js} +2 -2
- package/dist/cdn/{MUAXY75D.js → FOUFZ67O.js} +2 -2
- package/dist/cdn/{BH5K5XJB.js → G4YNLGTS.js} +2 -2
- package/dist/cdn/{VLCXDFUO.js → G4YWRI5P.js} +2 -2
- package/dist/cdn/{KRXDQDTH.js → GIP7LQD2.js} +2 -2
- package/dist/cdn/{5XIBZYRT.js → GJNK5ZU7.js} +2 -2
- package/dist/cdn/{CU3AY4E3.js → GNGPNUT7.js} +2 -2
- package/dist/cdn/{JAAOEO6B.js → GNOMK2JG.js} +2 -2
- package/dist/cdn/{YOF33L5N.js → GQR4WRKR.js} +2 -2
- package/dist/cdn/{6TX4UXFZ.js → GSBLHVTR.js} +2 -2
- package/dist/cdn/{TA3P4BBP.js → GTVOQHKM.js} +2 -2
- package/dist/cdn/{NIK22RZB.js → GUOGHLF7.js} +2 -2
- package/dist/cdn/{4BDX3A5N.js → H2E7YUPR.js} +2 -2
- package/dist/cdn/{SRNJUYPF.js → HAYDIGKT.js} +2 -2
- package/dist/cdn/{GOTF3EWJ.js → HC5RQF5P.js} +2 -2
- package/dist/cdn/{XVYCO5P2.js → HG3CUEKP.js} +2 -2
- package/dist/cdn/{UG2L566Z.js → HJXFTSHB.js} +2 -2
- package/dist/cdn/{DRTFM2QK.js → HQPINIYW.js} +2 -2
- package/dist/cdn/{HQRCEX3W.js → HZQRYD2I.js} +2 -2
- package/dist/cdn/{ZEHEPH2H.js → I4I3K7JM.js} +2 -2
- package/dist/cdn/{NXC3VI4D.js → IH5MOP7U.js} +2 -2
- package/dist/cdn/{K3MLHOGW.js → ILPSQE4L.js} +2 -2
- package/dist/cdn/{ZF573KOB.js → IM73RLWH.js} +2 -2
- package/dist/cdn/{4JKU4IWF.js → IOVKMYLK.js} +2 -2
- package/dist/cdn/{CLL4RUTP.js → ISWLUOVF.js} +1 -1
- package/dist/cdn/{YYXWY5DC.js → IW7Z7N6P.js} +2 -2
- package/dist/cdn/{KKWD45TS.js → JAFMKK5W.js} +1 -1
- package/dist/cdn/{7T2JU4VH.js → JIKCWVAE.js} +2 -2
- package/dist/cdn/{BAKTAIHQ.js → JK4CTZFP.js} +2 -2
- package/dist/cdn/{SGZG6PAC.js → JNXW7G6U.js} +2 -2
- package/dist/cdn/{ACSFXKKQ.js → JQDLIMXA.js} +1 -1
- package/dist/cdn/JSIZWVM2.js +5 -0
- package/dist/cdn/{2ZBTHEYD.js → JU35UKCL.js} +2 -2
- package/dist/cdn/{NXIW4HZE.js → JVQEZQGJ.js} +2 -2
- package/dist/cdn/{WKTH2QJW.js → KAO3XP43.js} +2 -2
- package/dist/cdn/{D7TF7BL7.js → KCMNNPSG.js} +2 -2
- package/dist/cdn/{ZXYA6GSE.js → KME7NBTI.js} +2 -2
- package/dist/cdn/{7G2FFSQN.js → KWUXCKTH.js} +2 -2
- package/dist/cdn/{HQTLQC2F.js → KZ23ZUOA.js} +2 -2
- package/dist/cdn/{3LIOTXVI.js → L57WCVUH.js} +2 -2
- package/dist/cdn/{552WAYUS.js → L6HWNCUG.js} +2 -2
- package/dist/cdn/{YN3NKCD5.js → LM3SQNYE.js} +2 -2
- package/dist/cdn/{SDGL3QKP.js → LY5SLAMR.js} +2 -2
- package/dist/cdn/{HPTDJ43P.js → LZQK6TSN.js} +2 -2
- package/dist/cdn/{PIPTOID5.js → M4WSOD3P.js} +2 -2
- package/dist/cdn/{S4SRY2O5.js → M5TFE6FD.js} +2 -2
- package/dist/cdn/{T5MMXEBU.js → N6YG2DIK.js} +2 -2
- package/dist/cdn/{UBXMBVMP.js → NBZ4I6QI.js} +2 -2
- package/dist/cdn/{PYLXIINP.js → NMVYCLGZ.js} +2 -2
- package/dist/cdn/{2TUHZGZK.js → NNQKATCL.js} +2 -2
- package/dist/cdn/{WYQFQZGX.js → NUQOZ2IO.js} +2 -2
- package/dist/cdn/{M4FZAGOY.js → NYHCVWBD.js} +2 -2
- package/dist/cdn/{E3DND3MN.js → NZV7KCGQ.js} +2 -2
- package/dist/cdn/{TA2IIU3I.js → O3Q6WB7M.js} +2 -2
- package/dist/cdn/{RBS24M4W.js → O4N2WL6K.js} +2 -2
- package/dist/cdn/{L3RF5SDL.js → O7KTAPHF.js} +2 -2
- package/dist/cdn/{BPICVWEW.js → ODBTIV3W.js} +2 -2
- package/dist/cdn/{W55RCCWD.js → OEPVJHFV.js} +2 -2
- package/dist/cdn/OJDAVM4Y.js +4 -0
- package/dist/cdn/{I274BXJU.js → OKQX6HYE.js} +2 -2
- package/dist/cdn/{J2WVUN4J.js → OO4CXJAV.js} +2 -2
- package/dist/cdn/{YHLSZ6KC.js → OTWF4MME.js} +2 -2
- package/dist/cdn/{2VHHIDEZ.js → P67UECUO.js} +2 -2
- package/dist/cdn/{I3NLZZ2A.js → PAYH6U7Z.js} +2 -2
- package/dist/cdn/{RTXZJDTQ.js → PEV5P2TF.js} +2 -2
- package/dist/cdn/{PQBHXFRR.js → PYVOKADN.js} +1 -1
- package/dist/cdn/{LN5FWQQ3.js → QDRATFDF.js} +2 -2
- package/dist/cdn/{4KVITH74.js → QGZZ2AED.js} +2 -2
- package/dist/cdn/{CLAH5QLV.js → QMWU7TIP.js} +2 -2
- package/dist/cdn/{SNR6TDAO.js → QSCBWBGP.js} +2 -2
- package/dist/cdn/{4MC2WY33.js → QWXMH4XM.js} +2 -2
- package/dist/cdn/QXZUSM26.js +4 -0
- package/dist/cdn/{CWO4MWJS.js → R2MSTK6E.js} +2 -2
- package/dist/cdn/{MIBKGMVW.js → RAUYSIEC.js} +2 -2
- package/dist/cdn/{P3KEOS3J.js → RME42VDJ.js} +2 -2
- package/dist/cdn/{QJFWUL4K.js → RX7JFMFZ.js} +2 -2
- package/dist/cdn/{XRXAYHX2.js → SJDBQHUZ.js} +1 -1
- package/dist/cdn/{GXMP3H5Q.js → SOUNUHPU.js} +2 -2
- package/dist/cdn/{WCUKEDU3.js → SR3AS5U2.js} +2 -2
- package/dist/cdn/{XHALCBQ3.js → SZRYEEVN.js} +2 -2
- package/dist/cdn/T5KIEGPQ.js +4 -0
- package/dist/cdn/{LUP5VEAG.js → TNQ54KFY.js} +2 -2
- package/dist/cdn/{AYDD5NK2.js → TO6RDBYH.js} +2 -2
- package/dist/cdn/{47CYZN5D.js → TR7OPQQT.js} +2 -2
- package/dist/cdn/{FNQUMZ2G.js → TTEU33UV.js} +2 -2
- package/dist/cdn/{KM5MXIMJ.js → TVBCXOWM.js} +2 -2
- package/dist/cdn/{M7TOFN4S.js → TXI5QQS7.js} +2 -2
- package/dist/cdn/{7OU5BV5T.js → U2HIA7NG.js} +2 -2
- package/dist/cdn/U75Y77MZ.js +4 -0
- package/dist/cdn/UCUBJUFJ.js +4 -0
- package/dist/cdn/{AL2YRLRC.js → UFHH64IZ.js} +2 -2
- package/dist/cdn/{JZQZE72O.js → UGIY3RK4.js} +2 -2
- package/dist/cdn/{CX4DUVZV.js → ULFTMT65.js} +2 -2
- package/dist/cdn/{RQ372QEP.js → UNOKGSEV.js} +2 -2
- package/dist/cdn/{FWNQTXZC.js → UPGS37AT.js} +2 -2
- package/dist/cdn/{FCP7FRDJ.js → UTQTK55F.js} +2 -2
- package/dist/cdn/{QWVNZRFE.js → VDI55J5H.js} +2 -2
- package/dist/cdn/{EKGA2FGZ.js → VHPR4TXZ.js} +2 -2
- package/dist/cdn/{WQFOHPAB.js → VKOQXDHO.js} +2 -2
- package/dist/cdn/{JEPGMKFX.js → VVDPNFSD.js} +2 -2
- package/dist/cdn/{K3YDZRRK.js → W6HFHLMB.js} +2 -2
- package/dist/cdn/{PL4GLFS3.js → WA4OY2TN.js} +2 -2
- package/dist/cdn/{VX5SQ6SQ.js → WBGWG42Y.js} +2 -2
- package/dist/cdn/{MZR6IKBA.js → WESJ5B7F.js} +2 -2
- package/dist/cdn/{B2DDFFNP.js → WFFV3XJS.js} +2 -2
- package/dist/cdn/{RSVN226M.js → WJS6SW2A.js} +2 -2
- package/dist/cdn/{QKEV5SHD.js → WK7RIEGW.js} +2 -2
- package/dist/cdn/{FHVUOEQX.js → WQXKVKXN.js} +2 -2
- package/dist/cdn/{AUPKVBYK.js → WXIRE574.js} +2 -2
- package/dist/cdn/{CBYC3GGG.js → X3ULVCBX.js} +2 -2
- package/dist/cdn/{T3GKM2DS.js → X4B5MQV5.js} +2 -2
- package/dist/cdn/{PFTV3RNB.js → XE4Z24FM.js} +2 -2
- package/dist/cdn/{DI7ZVAK7.js → XLVV7JEN.js} +2 -2
- package/dist/cdn/{KMU56TC5.js → XPQBCHAS.js} +2 -2
- package/dist/cdn/XUCLXIPW.js +4 -0
- package/dist/cdn/{53OLANCE.js → YBZXFVAR.js} +2 -2
- package/dist/cdn/{A57XKRGQ.js → YGIZLGNZ.js} +2 -2
- package/dist/cdn/{HZ4KOSD5.js → YUKFRCID.js} +2 -2
- package/dist/cdn/{4R2D5KSK.js → Z2HG2334.js} +2 -2
- package/dist/cdn/{2YK5YXVO.js → Z3HOUALW.js} +2 -2
- package/dist/cdn/{24GIWRUQ.js → Z3PR6X4O.js} +2 -2
- package/dist/cdn/{ZPDJ6LIQ.js → Z3Z6KTQX.js} +2 -2
- package/dist/cdn/ZCNYVLFZ.js +4 -0
- package/dist/cdn/{N3VJKCMS.js → ZIQMOTVQ.js} +2 -2
- package/dist/cdn/{CV7JXMTW.js → ZIW2NXVF.js} +2 -2
- package/dist/cdn/{IPMA4XOX.js → ZNXRJCU7.js} +2 -2
- package/dist/cdn/ZU5UPJRZ.js +3 -0
- package/dist/cdn/{QULQKJIM.js → ZUEDCJ22.js} +2 -2
- package/dist/cdn/{NGBKUGJX.js → ZWWZISNB.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +18 -19
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +18 -19
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +14 -15
- package/dist/components/arcgis-bookmarks/customElement.js +19 -20
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.js +15 -16
- package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +12 -13
- package/dist/components/arcgis-directional-pad/customElement.js +20 -21
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +9 -10
- package/dist/components/arcgis-feature-content/customElement.js +8 -9
- package/dist/components/arcgis-feature-element-info/customElement.js +13 -14
- package/dist/components/arcgis-feature-expression/customElement.js +15 -16
- package/dist/components/arcgis-feature-fields/customElement.js +10 -11
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.js +13 -14
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.js +11 -12
- package/dist/components/arcgis-grid-controls/customElement.js +15 -16
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.js +14 -15
- package/dist/components/arcgis-labeled-switch/customElement.js +10 -11
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +13 -14
- package/dist/components/arcgis-link-chart/customElement.js +2 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +17 -18
- package/dist/components/arcgis-locate/customElement.js +15 -16
- package/dist/components/arcgis-map/customElement.js +2 -2
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-measurement-content/customElement.js +12 -13
- package/dist/components/arcgis-navigation-toggle/customElement.js +7 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.js +14 -15
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +2 -2
- package/dist/components/arcgis-print-dpi-input/customElement.js +2 -2
- package/dist/components/arcgis-print-export-button/customElement.js +2 -2
- package/dist/components/arcgis-print-exported-link/customElement.js +24 -25
- package/dist/components/arcgis-print-exports-panel/customElement.js +10 -11
- package/dist/components/arcgis-print-format-select/customElement.js +3 -3
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +9 -10
- package/dist/components/arcgis-print-layout-panel/customElement.js +7 -8
- package/dist/components/arcgis-print-main-panel/customElement.js +5 -6
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +6 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +5 -6
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +13 -14
- package/dist/components/arcgis-print-preview-input/customElement.js +2 -2
- package/dist/components/arcgis-print-scale-section/customElement.js +6 -7
- package/dist/components/arcgis-print-template-select/customElement.js +11 -12
- package/dist/components/arcgis-print-template-selector/customElement.js +9 -10
- package/dist/components/arcgis-scale-bar/customElement.js +3 -3
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.js +2 -2
- package/dist/components/arcgis-search/customElement.js +3 -3
- package/dist/components/arcgis-search-result-renderer/customElement.js +14 -15
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.js +2 -2
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.js +26 -27
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.js +10 -11
- package/dist/components/arcgis-track/customElement.js +14 -15
- package/dist/components/arcgis-unit-select/customElement.js +9 -10
- 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 +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +2 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +5 -6
- package/dist/components/arcgis-version-management-version-properties/customElement.js +6 -7
- package/dist/components/arcgis-video/customElement.js +2 -2
- package/dist/components/arcgis-video-player/customElement.js +17 -18
- package/dist/components/arcgis-video-player-action-bar/customElement.js +11 -12
- package/dist/components/arcgis-video-player-actions-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-controls-group/customElement.js +2 -2
- package/dist/components/arcgis-video-player-metadata/customElement.js +9 -10
- package/dist/components/arcgis-video-player-settings/customElement.js +7 -8
- package/dist/components/arcgis-video-player-slider/customElement.js +6 -7
- package/dist/components/arcgis-weather/customElement.js +14 -15
- package/dist/components/arcgis-zoom/customElement.js +11 -12
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -3
- package/dist/cdn/3SATUVYV.js +0 -4
- package/dist/cdn/ERR75XWY.js +0 -4
- package/dist/cdn/HDSGM4GS.js +0 -6
- package/dist/cdn/JKDLQ4DM.js +0 -5
- package/dist/cdn/NERK4VDA.js +0 -4
- package/dist/cdn/ON4FPRXU.js +0 -4
- package/dist/cdn/P2GTSCII.js +0 -4
- package/dist/cdn/PC4UQZ2G.js +0 -4
- package/dist/cdn/RIZBAI6T.js +0 -4
- package/dist/cdn/RMDH4OPG.js +0 -4
- package/dist/cdn/UVXLQBTE.js +0 -4
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as s } from "lit";
|
|
2
|
+
import { css as L, html as s } from "lit";
|
|
3
3
|
import { createRef as f, ref as m } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
4
|
+
import { LitElement as y, createEvent as r } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const N =
|
|
10
|
-
class U extends
|
|
7
|
+
v4.34.0-next.47 */
|
|
8
|
+
const N = L`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
9
|
+
class U extends y {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this._filterInputElement = f(), this._flowItemElement = f(), this.currentPage = 1, this.selected = !1, this.showBackButton = !1, this.arcgisFlowItemBack = r(), this.arcgisFlowItemClose = r(), this.arcgisGetVersions = r(), this.arcgisManageVersion = r(), this.arcgisNewVersion = r();
|
|
13
12
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { c as g } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as l } from "lit
|
|
2
|
+
import { css as V, html as l } from "lit";
|
|
3
3
|
import { createRef as u, ref as f } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as I } from "@lit/reactive-element/css-tag.js";
|
|
4
|
+
import { LitElement as $, createEvent as d, noShadowRoot as I } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const x =
|
|
10
|
-
class C extends
|
|
7
|
+
v4.34.0-next.47 */
|
|
8
|
+
const x = V`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`;
|
|
9
|
+
class C extends $ {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this._flowItemElement = u(), this._switchToVersion = !0, this._switchToVersionCheckboxElement = u(), this._versionNameInputElement = u(), this.selected = !1, this.showBackButton = !1, this.arcgisAlterVersion = d(), this.arcgisCreateVersion = d(), this.arcgisFlowItemBack = d(), this.arcgisFlowItemClose = d();
|
|
13
12
|
}
|
|
@@ -15,7 +14,7 @@ class C extends V {
|
|
|
15
14
|
this.properties = { selected: 7, showBackButton: 7, versionPropertiesElementProps: 0 };
|
|
16
15
|
}
|
|
17
16
|
static {
|
|
18
|
-
this.shadowRootOptions =
|
|
17
|
+
this.shadowRootOptions = I;
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
20
|
this.styles = x;
|
|
@@ -3,10 +3,10 @@ import { makeAccessorController as s } from "@arcgis/lumina/controllers/accessor
|
|
|
3
3
|
import { watch as e } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import a from "@arcgis/core/views/VideoView.js";
|
|
5
5
|
import { LitElement as r, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
|
-
import { css as l } from "
|
|
6
|
+
import { css as l } from "lit";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.47 */
|
|
10
10
|
const d = l`@layer{arcgis-video{display:block;height:100%;width:100%;.esri-view{height:100%;width:100%}}}`, c = s(a, {
|
|
11
11
|
omitProps: ["container", "navigation", "scale", "ui"]
|
|
12
12
|
});
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as i } from "lit
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { classes as
|
|
5
|
-
import
|
|
2
|
+
import { css as c, html as i } from "lit";
|
|
3
|
+
import { usePropertyChange as v } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { classes as u } from "@arcgis/components-utils";
|
|
5
|
+
import m from "@arcgis/core/widgets/VideoPlayer/VideoPlayerViewModel.js";
|
|
6
6
|
import { watch as t } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
|
-
import { LitElement as
|
|
8
|
-
import { createRef as
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
11
|
-
import { g as
|
|
12
|
-
import { css as V } from "@lit/reactive-element/css-tag.js";
|
|
7
|
+
import { LitElement as g, createEvent as a, noShadowRoot as f, safeClassMap as o } from "@arcgis/lumina";
|
|
8
|
+
import { createRef as p, ref as y } from "lit-html/directives/ref.js";
|
|
9
|
+
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
11
|
+
import { g as V } from "../../chunks/globalCss.js";
|
|
13
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
13
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
16
|
-
const M =
|
|
14
|
+
v4.34.0-next.47 */
|
|
15
|
+
const M = c`@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)}}`, d = "arcgis-video-player", l = {
|
|
17
16
|
base: d,
|
|
18
17
|
videoView: `${d}__video-view`
|
|
19
|
-
}, $ =
|
|
20
|
-
class b extends
|
|
18
|
+
}, $ = w(m);
|
|
19
|
+
class b extends g {
|
|
21
20
|
constructor() {
|
|
22
|
-
super(...arguments), this.messages =
|
|
21
|
+
super(...arguments), this.messages = _({ blocking: !0 }), this.viewModel = $(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 = v()("state", "layer"), this.arcgisReady = a(), this.arcgisVideoReady = a();
|
|
23
22
|
}
|
|
24
23
|
static {
|
|
25
24
|
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, followingMode: 1, layer: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 3, hideHeader: 5 };
|
|
@@ -28,7 +27,7 @@ class b extends m {
|
|
|
28
27
|
this.styles = M;
|
|
29
28
|
}
|
|
30
29
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
30
|
+
this.shadowRootOptions = f;
|
|
32
31
|
}
|
|
33
32
|
get followingMode() {
|
|
34
33
|
return this.viewModel.followingMode;
|
|
@@ -55,7 +54,7 @@ class b extends m {
|
|
|
55
54
|
]);
|
|
56
55
|
}
|
|
57
56
|
render() {
|
|
58
|
-
return i`<div class=${o(
|
|
57
|
+
return i`<div class=${o(u(l.base, V.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>`;
|
|
59
58
|
}
|
|
60
59
|
_renderLoadingScrim() {
|
|
61
60
|
return this._videoViewReady ? null : i`<calcite-scrim .loading=${this.state !== "error"}>${this.state === "error" ? this.messages.errorLoadingLayer : null}</calcite-scrim>`;
|
|
@@ -64,7 +63,7 @@ class b extends m {
|
|
|
64
63
|
return this._isBuffering ? i`<calcite-progress type=indeterminate></calcite-progress>` : null;
|
|
65
64
|
}
|
|
66
65
|
_renderVideoSection() {
|
|
67
|
-
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${
|
|
66
|
+
return i`<div class=${o(l.videoView)}><arcgis-video .layer=${this.layer} .map=${this.viewModel.view?.map} @arcgisViewReadyChange=${() => this.arcgisVideoReady.emit()} ${y(this._videoViewRef)}></arcgis-video></div>`;
|
|
68
67
|
}
|
|
69
68
|
_renderSlider() {
|
|
70
69
|
return i`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue * 100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import { formatDate as
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as l, html as c } from "lit";
|
|
3
|
+
import { formatDate as n } from "@arcgis/core/intl.js";
|
|
4
|
+
import { LitElement as d, safeClassMap as e } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const p =
|
|
7
|
+
v4.34.0-next.47 */
|
|
8
|
+
const p = l`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`, o = "arcgis-video-player", r = {
|
|
10
9
|
playerControlsGroup: `${o}__controls-group`,
|
|
11
10
|
playerTimecode: `${o}__timecode`,
|
|
12
11
|
playerToolbar: `${o}__toolbar`
|
|
13
12
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
13
|
+
function s(a) {
|
|
14
|
+
return n(Math.round(a) * 1e3, { minute: "2-digit", second: "2-digit" });
|
|
16
15
|
}
|
|
17
|
-
class g extends
|
|
16
|
+
class g extends d {
|
|
18
17
|
static {
|
|
19
18
|
this.properties = { viewModel: 0, messages: 0, currentTime: 9, duration: 9, toggleMetadata: 0 };
|
|
20
19
|
}
|
|
@@ -23,10 +22,10 @@ class g extends n {
|
|
|
23
22
|
}
|
|
24
23
|
render() {
|
|
25
24
|
const { messages: i } = this;
|
|
26
|
-
return
|
|
25
|
+
return c`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${i} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${s(this.currentTime)} / ${s(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${i} .toggleMetadata=${() => this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`;
|
|
27
26
|
}
|
|
28
27
|
}
|
|
29
|
-
|
|
28
|
+
t("arcgis-video-player-action-bar", g);
|
|
30
29
|
export {
|
|
31
30
|
g as VideoPlayerActionBar
|
|
32
31
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as i } from "lit
|
|
2
|
+
import { html as i } from "lit";
|
|
3
3
|
import { watch as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { LitElement as p, noShadowRoot as m } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.47 */
|
|
8
8
|
class $ extends p {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._disabled = !1, this._playing = !1;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as t } from "lit
|
|
2
|
+
import { html as t } from "lit";
|
|
3
3
|
import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import { LitElement as m, noShadowRoot as g } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.47 */
|
|
8
8
|
function f(i) {
|
|
9
9
|
return i.followingMode === "none" ? "circle-disallowed" : i.followingMode === "follow-sensor" ? "zoom-to-object" : i.followingMode === "follow-frame" ? "follow" : "video";
|
|
10
10
|
}
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as s } from "lit
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as n, html as s } from "lit";
|
|
3
3
|
import { watch as d } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
4
|
+
import { LitElement as m, safeClassMap as a } from "@arcgis/lumina";
|
|
6
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
9
|
-
const f =
|
|
7
|
+
v4.34.0-next.47 */
|
|
8
|
+
const f = n`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`, o = "arcgis-metadata-table", t = {
|
|
10
9
|
table: o,
|
|
11
10
|
row: `${o}__row`,
|
|
12
11
|
data: `${o}__data`,
|
|
13
12
|
emptyState: `${o}__empty-state`
|
|
14
13
|
};
|
|
15
|
-
class h extends
|
|
14
|
+
class h extends m {
|
|
16
15
|
constructor() {
|
|
17
16
|
super(...arguments), this._disabled = !1, this._hasMetadata = !1, this._missionInfo = {}, this._platformInfo = {}, this._frameInfo = {};
|
|
18
17
|
}
|
|
@@ -35,8 +34,8 @@ class h extends n {
|
|
|
35
34
|
const { metadata: i } = this.viewModel;
|
|
36
35
|
if (this._hasMetadata = !!i, !this._hasMetadata)
|
|
37
36
|
return;
|
|
38
|
-
const { missionInfo: e, platformInfo: c, frameInfo:
|
|
39
|
-
this._missionInfo = e, this._platformInfo = c, this._frameInfo =
|
|
37
|
+
const { missionInfo: e, platformInfo: c, frameInfo: l } = i;
|
|
38
|
+
this._missionInfo = e, this._platformInfo = c, this._frameInfo = l;
|
|
40
39
|
}, { initial: !0 })
|
|
41
40
|
]);
|
|
42
41
|
}
|
|
@@ -45,7 +44,7 @@ class h extends n {
|
|
|
45
44
|
return this._disabled || !this._hasMetadata ? s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>` : s`<calcite-block .heading=${i.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map((e) => s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`;
|
|
46
45
|
}
|
|
47
46
|
}
|
|
48
|
-
|
|
47
|
+
r("arcgis-video-player-metadata", h);
|
|
49
48
|
export {
|
|
50
49
|
h as VideoPlayerMetadata
|
|
51
50
|
};
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as i } from "lit
|
|
2
|
+
import { css as h, html as i } from "lit";
|
|
3
3
|
import a from "@arcgis/core/Color.js";
|
|
4
|
-
import { watch as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
4
|
+
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { LitElement as m } from "@arcgis/lumina";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
10
|
-
const v =
|
|
8
|
+
v4.34.0-next.47 */
|
|
9
|
+
const v = h`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`, $ = ["Auto"], g = [
|
|
11
10
|
{ label: "0.25x", value: 0.25 },
|
|
12
11
|
{ label: "0.5x", value: 0.5 },
|
|
13
12
|
{ label: "1x", value: 1 },
|
|
14
13
|
{ label: "1.5x", value: 1.5 },
|
|
15
14
|
{ label: "2x", value: 2 }
|
|
16
15
|
], s = new a([255, 127, 0]);
|
|
17
|
-
class _ extends
|
|
16
|
+
class _ extends m {
|
|
18
17
|
constructor() {
|
|
19
18
|
super(...arguments), this._color = null, this._speed = "1x", this._quality = "Auto", this._disabled = !1;
|
|
20
19
|
}
|
|
@@ -26,7 +25,7 @@ class _ extends p {
|
|
|
26
25
|
}
|
|
27
26
|
loaded() {
|
|
28
27
|
this.manager.onLifecycle(() => [
|
|
29
|
-
|
|
28
|
+
p(() => this.viewModel.state, (c) => {
|
|
30
29
|
this._disabled = c === "not-ready" || c === "waiting";
|
|
31
30
|
}, { initial: !0 })
|
|
32
31
|
]);
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { LitElement as
|
|
4
|
-
import { css as t } from "@lit/reactive-element/css-tag.js";
|
|
2
|
+
import { css as l, html as c } from "lit";
|
|
3
|
+
import { LitElement as t, safeClassMap as s } from "@arcgis/lumina";
|
|
5
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
5
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
8
|
-
const d =
|
|
6
|
+
v4.34.0-next.47 */
|
|
7
|
+
const d = l`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`, o = "arcgis-video-player", i = {
|
|
9
8
|
progress: `${o}__progress`,
|
|
10
9
|
slider: `${o}__slider`,
|
|
11
10
|
sliderProgressContainer: `${o}__slider-progress-container`
|
|
12
11
|
};
|
|
13
|
-
class p extends
|
|
12
|
+
class p extends t {
|
|
14
13
|
static {
|
|
15
14
|
this.properties = { viewModel: 0, buffered: 9, value: 9 };
|
|
16
15
|
}
|
|
@@ -25,7 +24,7 @@ class p extends c {
|
|
|
25
24
|
}
|
|
26
25
|
render() {
|
|
27
26
|
const { value: r, buffered: e } = this;
|
|
28
|
-
return
|
|
27
|
+
return c`<div class=${s(i.sliderProgressContainer)}><progress class=${s(i.progress)} max=1 .value=${`${e}`}></progress><div class=${s(i.slider)}><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`;
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
a("arcgis-video-player-slider", p);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { c as T } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as o } from "lit
|
|
3
|
-
import { usePropertyChange as
|
|
2
|
+
import { css as W, html as o } from "lit";
|
|
3
|
+
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
4
4
|
import { classes as y } from "@arcgis/components-utils";
|
|
5
|
-
import { nothing as v, safeStyleMap as
|
|
6
|
-
import { u as
|
|
7
|
-
import { m as
|
|
8
|
-
import { H as
|
|
5
|
+
import { nothing as v, safeStyleMap as x, LitElement as S, createEvent as B, noShadowRoot as E, safeClassMap as g } from "@arcgis/lumina";
|
|
6
|
+
import { u as H } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as L } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { H as A } from "../../chunks/heading.js";
|
|
9
9
|
import { g as w } from "../../chunks/globalCss.js";
|
|
10
|
-
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
11
10
|
import D from "@arcgis/core/core/Accessor.js";
|
|
12
11
|
import { property as h, subclass as k } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
12
|
import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
@@ -18,7 +17,7 @@ import $ from "@arcgis/core/views/3d/environment/SnowyWeather.js";
|
|
|
18
17
|
import C from "@arcgis/core/views/3d/environment/SunnyWeather.js";
|
|
19
18
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
19
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
20
|
+
v4.34.0-next.47 */
|
|
22
21
|
const c = "arcgis-weather", d = {
|
|
23
22
|
base: c,
|
|
24
23
|
content: `${c}__content`,
|
|
@@ -28,7 +27,7 @@ const c = "arcgis-weather", d = {
|
|
|
28
27
|
optionsHidden: `${c}__options--hidden`,
|
|
29
28
|
error: `${c}__error`,
|
|
30
29
|
warning: `${c}__warning`
|
|
31
|
-
}, R =
|
|
30
|
+
}, R = W`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`;
|
|
32
31
|
var V = Object.defineProperty, j = Object.getOwnPropertyDescriptor, a = (t, e, s, i) => {
|
|
33
32
|
for (var r = i > 1 ? void 0 : i ? j(e, s) : e, p = t.length - 1, l; p >= 0; p--)
|
|
34
33
|
(l = t[p]) && (r = (i ? l(e, s, r) : l(r)) || r);
|
|
@@ -154,28 +153,28 @@ function u({ label: t, value: e, disabled: s, onChange: i }) {
|
|
|
154
153
|
const l = p.currentTarget.value;
|
|
155
154
|
i?.(l);
|
|
156
155
|
};
|
|
157
|
-
return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${s} style=${
|
|
156
|
+
return o`<calcite-label scale=s>${t}<calcite-slider aria-label=${t ?? v} .disabled=${s} style=${x({
|
|
158
157
|
// Tweaks to make the slider more compact and better-align within the weather component */
|
|
159
158
|
marginInline: "-7px",
|
|
160
159
|
marginBottom: "-7px"
|
|
161
160
|
})} max=1 min=0 step=0.01 .value=${e ?? 0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`;
|
|
162
161
|
}
|
|
163
|
-
const F =
|
|
162
|
+
const F = L(n), I = {
|
|
164
163
|
sunny: "brightness",
|
|
165
164
|
cloudy: "partly-cloudy",
|
|
166
165
|
rainy: "rain",
|
|
167
166
|
snowy: "snow",
|
|
168
167
|
foggy: "fog"
|
|
169
168
|
};
|
|
170
|
-
class q extends
|
|
169
|
+
class q extends S {
|
|
171
170
|
constructor() {
|
|
172
|
-
super(...arguments), this.viewModel = F(this), this.messages =
|
|
171
|
+
super(...arguments), this.viewModel = F(this), this.messages = H(), this.autoDestroyDisabled = !1, this.headingLevel = 4, this.hideHeader = !1, this.icon = "partly-cloudy", this.label = this.messages.componentLabel, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = O()("state"), this.arcgisReady = B();
|
|
173
172
|
}
|
|
174
173
|
static {
|
|
175
174
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 35 };
|
|
176
175
|
}
|
|
177
176
|
static {
|
|
178
|
-
this.shadowRootOptions =
|
|
177
|
+
this.shadowRootOptions = E;
|
|
179
178
|
}
|
|
180
179
|
static {
|
|
181
180
|
this.styles = R;
|
|
@@ -212,7 +211,7 @@ class q extends x {
|
|
|
212
211
|
}
|
|
213
212
|
_renderContent() {
|
|
214
213
|
const { headingLevel: e, messages: s, viewModel: i } = this, r = this._getWarningMessage(), p = i.current, l = i.state === "error";
|
|
215
|
-
return o`${this.hideHeader ? void 0 :
|
|
214
|
+
return o`${this.hideHeader ? void 0 : A({ level: e, children: s.componentLabel })}${l ? o`<div class=${g(d.error)}>${this._getErrorMessage()}</div>` : void 0}<div class=${g(y({ [d.content]: !0, [d.hasError]: l }))}><div aria-label=${s.weatherType ?? v} class=${g(d.selector)} role=radiogroup>${M.map(this._renderWeatherTypeButton, this)}</div>${Object.values(i.weatherByType).map((m) => o`<div class=${g(y({
|
|
216
215
|
[d.options]: !0,
|
|
217
216
|
[d.optionsHidden]: m.type !== p?.type
|
|
218
217
|
}))}>${this._renderOptions(m)}</div>`)}${r ? this._renderWarning(r) : void 0}</div>`;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
2
|
+
import { css as f, html as y } from "lit";
|
|
3
3
|
import { classes as i } from "@arcgis/components-utils";
|
|
4
4
|
import { ignoreAbortErrors as l } from "@arcgis/core/core/promiseUtils.js";
|
|
5
5
|
import { when as m } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
-
import { LitElement as
|
|
7
|
-
import { usePropertyChange as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { css as Z } from "@lit/reactive-element/css-tag.js";
|
|
6
|
+
import { LitElement as g, createEvent as p, noShadowRoot as z, safeClassMap as r, nothing as u } from "@arcgis/lumina";
|
|
7
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
8
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
9
|
+
import { u as Z } from "../../chunks/useView.js";
|
|
11
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
11
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.47 */
|
|
14
13
|
const a = {
|
|
15
14
|
base: "arcgis-zoom",
|
|
16
15
|
horizontalLayout: "arcgis-zoom--horizontal",
|
|
@@ -38,16 +37,16 @@ function d(t) {
|
|
|
38
37
|
const o = t?.animation?.target;
|
|
39
38
|
return (o && "then" in o ? void 0 : o?.scale) ?? t?.scale ?? 0;
|
|
40
39
|
}
|
|
41
|
-
const x =
|
|
42
|
-
class $ extends
|
|
40
|
+
const x = f`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`;
|
|
41
|
+
class $ extends g {
|
|
43
42
|
constructor() {
|
|
44
|
-
super(...arguments), this.messages =
|
|
43
|
+
super(...arguments), this.messages = O({}), this.view = Z(this), this.canZoomIn = !1, this.canZoomOut = !1, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.position = "top-left", this.state = "disabled", this.arcgisPropertyChange = b()("state"), this.arcgisReady = p();
|
|
45
44
|
}
|
|
46
45
|
static {
|
|
47
46
|
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon: 1, label: 1, layout: 3, messageOverrides: 0, position: 1, referenceElement: 1, state: 3 };
|
|
48
47
|
}
|
|
49
48
|
static {
|
|
50
|
-
this.shadowRootOptions =
|
|
49
|
+
this.shadowRootOptions = z;
|
|
51
50
|
}
|
|
52
51
|
static {
|
|
53
52
|
this.styles = x;
|
|
@@ -77,7 +76,7 @@ class $ extends y {
|
|
|
77
76
|
const o = {
|
|
78
77
|
[a.horizontalLayout]: this.layout === "horizontal"
|
|
79
78
|
}, { canZoomIn: e, canZoomOut: s } = this, { zoomIn: n, zoomOut: c } = this.messages;
|
|
80
|
-
return
|
|
79
|
+
return y`<div class=${r(i(a.base, o))}><calcite-button class=${r(i(a.button, a.zoomIn))} .disabled=${!e} icon-start=plus kind=neutral .label=${n} @click=${this.zoomIn} title=${n ?? u}></calcite-button><calcite-button class=${r(i(a.button, a.zoomOut))} .disabled=${!s} icon-start=minus kind=neutral .label=${c} @click=${this.zoomOut} title=${c ?? u}></calcite-button></div>`;
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
82
|
h("arcgis-zoom", $);
|
package/dist/docs/api.json
CHANGED
package/dist/docs/docs.json
CHANGED
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.34.0-next.
|
|
4
|
+
"version": "4.34.0-next.47",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
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.34/esri/copyright.txt for details.
|
|
4
|
-
v4.34.0-next.
|
|
4
|
+
v4.34.0-next.47 */
|
|
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.34/esri/copyright.txt for details.
|
|
5
|
-
v4.34.0-next.
|
|
5
|
+
v4.34.0-next.47 */
|
|
6
6
|
const o = 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"],
|
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.47",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -43,8 +43,9 @@
|
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@amcharts/amcharts5": "^5.13.1",
|
|
46
|
-
"@arcgis/components-utils": "4.34.0-next.
|
|
47
|
-
"@arcgis/lumina": "4.34.0-next.
|
|
46
|
+
"@arcgis/components-utils": "4.34.0-next.47",
|
|
47
|
+
"@arcgis/lumina": "4.34.0-next.47",
|
|
48
|
+
"lit": "^3.3.0",
|
|
48
49
|
"tslib": "^2.8.1"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
package/dist/cdn/3SATUVYV.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.45 */
|
|
4
|
-
import a from"./PQBHXFRR.js";import{b as f}from"./E6MZX3W4.js";import{G as s,R as l,S as i,W as g,t as o,u as r}from"./HDSGM4GS.js";import"./KKWD45TS.js";export default $arcgis.t(([{watch:p},{b:h,k:n}])=>{var v=o`@layer{arcgis-feature-content{display:block}.arcgis-feature-content__loader-container{display:flex;align-items:center;justify-content:center;padding:0;height:150px}.arcgis-feature-content{font-size:var(--calcite-font-size-md)}.arcgis-feature-content h1,.arcgis-feature-content h2,.arcgis-feature-content h3,.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{margin:var(--calcite-spacing-sm) 0;line-height:normal;letter-spacing:0;color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-semibold)}.arcgis-feature-content h1{font-size:var(--calcite-font-size-xxl)}.arcgis-feature-content h2{font-size:var(--calcite-font-size-xl)}.arcgis-feature-content h3{font-size:var(--calcite-font-size-lg)}.arcgis-feature-content h4,.arcgis-feature-content h5,.arcgis-feature-content h6{font-size:var(--calcite-font-size)}.arcgis-widget__heading.arcgis-feature-element-info__title{margin-top:0;margin-bottom:var(--calcite-spacing-xxs);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-lg);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-element-info__description{margin-bottom:var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-content p{margin:0 0 var(--calcite-spacing-xs);font-size:var(--calcite-font-weight-regular)}.arcgis-feature-content p:last-child{margin-block-end:0}.arcgis-feature-content img{max-width:100%;max-height:100%;image-orientation:from-image}.arcgis-feature-content video{max-width:100%;max-height:100%}.arcgis-feature-content figure{margin:0;padding:0}.arcgis-feature-content figcaption{display:block;margin:var(--calcite-spacing-xs) 0 0;padding:0;font-size:var(--calcite-font-size-sm);font-style:italic}.arcgis-feature-content ul,.arcgis-feature-content ol{margin-block:var(--calcite-spacing-sm)}.arcgis-feature-content ul:first-child,.arcgis-feature-content ol:first-child{margin-block-start:0}.arcgis-feature-content a,.arcgis-feature-content a:hover,.arcgis-feature-content a:focus{color:var(--calcite-color-text-link)}}`,d="arcgis-feature-content",m={base:d,loaderContainer:`${d}__loader-container`},c=class extends l{static{this.properties={_loadingPromise:16,_created:16,creator:1,destroyer:0,graphic:0}}static{this.styles=v}static{this.shadowRootOptions=s}loaded(){this.manager.onLifecycle(()=>p(()=>this.creator,t=>{this._destroyContent(),this._createContent(t)},{initial:!0}))}async _createContent(t){let{graphic:e}=this;if(!e||!t)return;let a=n({type:"content",value:t,event:{graphic:e}});this._loadingPromise=a;let u=await a;a===this._loadingPromise&&(this._loadingPromise=void 0,this._created=u)}_destroyContent(){let{_created:t,graphic:e,destroyer:a}=this;t&&e&&(n({type:"content",value:a,event:{graphic:e}}),this._created=null)}_addTargetToAnchors(t){Array.from(t.querySelectorAll("a")).forEach(e=>{h(e.href)&&!e.hasAttribute("target")&&e.setAttribute("target","_blank")})}render(){return r`<div class=${i(m.base)}>${this._loadingPromise?this._renderLoading():this._renderCreated()}</div>`}_renderLoading(){return r`<div class=${i(m.loaderContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderCreated(){let{_created:t}=this;return t instanceof HTMLElement?t:typeof t=="string"?r`<div .innerHTML=${t??""} ${f(this._addTargetToAnchors)}></div>`:null}};g("arcgis-feature-content",c);return c},"core/reactiveUtils",a)
|
package/dist/cdn/ERR75XWY.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.45 */
|
|
4
|
-
import{a as h}from"./VFMVOW4R.js";import{b as y}from"./E6MZX3W4.js";import j from"./FFI2GIUF.js";import{a as R}from"./WYQFQZGX.js";import{a as d}from"./NGBKUGJX.js";import i from"./YOF33L5N.js";import e from"./DLRXQ7MD.js";import{f}from"./E3DND3MN.js";import"./KMU56TC5.js";import{i as w}from"./KRHC4CJM.js";import{D as g,G as b,R as v,S as a,T as _,U as c,W as $,e as p,t as m,u as o}from"./HDSGM4GS.js";import"./KKWD45TS.js";export default $arcgis.t(([{watch:M},S,,,C])=>{var x=[-45,0,45,-90,90,-135,180,135],B={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},E=m`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function k(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var N=C(S),u=class extends v{constructor(){super(...arguments),this.messages=R({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=N(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=f()("state"),this.arcgisReady=g()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=b}static{this.styles=E}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?w(this)?.focus():p(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=k(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return h("directional-buttons-container",o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${y(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-bar>`)}_renderButton(t){let{label:e,iconName:i}=B[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${_(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return h("slider-container",o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`)}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};$("arcgis-directional-pad",u);return u},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,i,j)
|